]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
e8edb55f5c91afebe91bf0efc4b2aa8d66620dfc
[lyx.git] / src / ChangeLog
1 2005-12-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2
3         * lyxrc.C: set default_papersize to PAPER_DEFAULT;
4         handle PAPER_DEFAULT in LyXRC::read and LyXRC::write (bug 2148).
5         * paper.h: dispose dead PAPER_PACKAGES enum.
6
7 2005-12-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
8
9         * Makefile.am (OTHERLIBS): add SOCKET_LIBS in case we compile
10         without X support.
11
12 2005-12-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
13
14         * exporter.C (Export): Don't try to copy a file if it does not exist
15         (bug 1888)
16
17 2005-12-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
18
19         * text2.C (makeFontEntriesLayoutSpecific): remove.
20         (setLayout): adapt.
21
22         * text.C (insertChar): remove bogus caching of fonts (did not do
23         anything). 
24
25         * text2.C (LyXText): initialize current_font to ALL_INHERIT (was
26         ALL_SANE). (bug 2146)
27
28 2005-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
29
30         * rowpainter.C (paintFirst): fix centering of
31         LABEL_CENTERED_TOP_ENVIRONMENT. 
32
33 2005-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
34
35         * BufferView.C (mouseSetCursor): new method. Calls
36         deleteEmptyParagraphMechanism if necessary.
37
38         * lyxtext.h: make deleteEmptyParagraphMechanism public.
39
40         * text3.C (dispatch/LFUN_MOUSE_PRESS): use
41         BufferView::mouseSetCursor (bug 2109).
42         (dispatch/LFUN_PASTE): remove #warning that is now irrelevant.
43
44 2005-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>  
45
46         * text3.C (dispatch/LFUN_INDEX_INSERT): when a selection is set,
47         do not remove it (this inset behaves differently from the others).
48
49 2005-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
50
51         Fix bug 2096.
52         
53         * BufferView_pimpl.C (getStatus): it is only possible to insert a
54         file in a text inset.
55
56         * buffer.C (readDocument): remove pit argument and code releated
57         to it; set the inset owner correctly (unrelated, but useful).
58         (readFile): get rid of pit argument.
59
60         * CutAndPaste.C (pasteSelectionHelper): use a ParagraphList and a
61         textclass instead of a selection index.
62         (pasteParagraphList): new function.
63         (pasteSelection): make it a wrapper around pasteParagraphList.
64
65         * BufferView_pimpl.C (MenuInsertLyXFile): use
66         cap::pasteParagraphList to insert a file.
67
68 2005-11-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
69
70         * buffer_funcs.C (bufferErrors): prevent endless loop (bug 2121)
71
72 2005-11-17  Michael Gerz  <michael.gerz@teststep.org>
73
74         * exporter.C: fix typo in text message
75
76 2005-11-28  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
77
78         * text2.C (setLayout): move recUndo call to other setLayout method
79         * tabular.C (toggleFixedWidth): new, handle cell width changes
80         * tabular.C (setColumnPWidth): move some code from insettabular.C here
81         and use toggleFixedWidth
82         * tabular.C (setMColumnPWidth): ditto
83
84 2005-11-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
85
86         * paragraph.C (asString): use new inset->textString method (fix
87         bug 2089) 
88
89 2005-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
90
91         * CutAndPaste.C (numberOfSelections): new helper function.
92
93         * lyxfunc.C (getStatus): remove support for LFUN_COPY and LFUN_CUT.
94
95         * text3.C (getStatus): move code for LFUN_CUT and LFUN_COPY from
96         LyXFunc::getStatus; implement LFUN_PASTE.
97
98 2005-11-17  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
99
100         * dociterator.[Ch]: new member realInset() that returns the cell
101         for tabulars and the inset for the rest (bug 1952).
102         * undo.C (textUndoOrRedo): use realInset when resetting insetOwner
103         (bug 1952).
104
105 2005-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
106
107         * text.C (leftMargin): honor the NextNoIndent tag in layouts.
108
109 2005-11-17  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
110
111         * lyxfunc.C:
112         * paragraph.C:
113         * text3.C: InsetBase::forceDefaultParagraphs now takes a cell as
114         argument.
115
116 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
117
118         * text.C (redoParagraph): Fix bug 1966: cursor doesn't go to next
119         line after typing ctrl-enter
120
121 2005-11-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
122
123         * bufferview_funcs.C (coordOffset): fix the fix for bug 2094, as
124         math insets do not return a proper editable() state yet (bug 2124).
125
126 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
127
128         * BufferView_pimpl.[Ch]: Fix bug 1814: better scroll behaviour for 
129         docs containing very large paragraphs.
130
131 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
132
133         * cursor.C (selectionBegin, selectionEnd):
134         * text.C (drawSelection): Fix bug 2115: assertion when anchor and 
135         cursor at different depths.
136
137 2005-11-03  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
138
139         * bufferview_funcs.C (coordOffset): do not call cursorPos
140         for collapsed collapsables (fix bug 2094).
141
142 2005-11-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
143
144         * paragraph.C (fontSpan): make sure that the FontSpan does not
145         span across beginOfBody (bug 1947).
146
147 2005-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
148
149         * lyxlength.h: undefine macros that clash with solaris/x86 (bug 992)
150
151 2005-11-03  Michael Gerz  <michael.gerz@teststep.org>
152
153         * messages.C: fix crash and localization on MinGW/Windows platform
154
155 2005-11-02  Angus Leeming  <leeming@lyx.org>
156
157         * Bidi.C:
158         * lyxtextclass.C: trivial fixes to some MSVS warnings.
159
160 2005-10-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
161
162         * text3.C (getStatus): re-enable disabled code. (bug 2081)
163
164         * BranchList.h (empty): constify.
165
166 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
167
168         * text3.C (getStatus): 
169         * MenuBackend.C (expandBranches): take the branch list from the
170         master document (bug 2092).
171         
172         * MenuBackend.C (expandBranches): 
173         * bufferparams.C (writeFile): use BranchList type.
174
175 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
176
177         * text3.C (dispatch, getStatus): 
178         * LyXAction.C (init): 
179         * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
180
181 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
182
183         * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
184
185 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
186
187         * text.C (insertChar): do not reset boundary (bug 2061)
188
189 2005-10-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
190
191         * dociterator.C (updateInsets): new method. Updates the inset_
192         cache of all the slices of the iterator.
193
194         * text2.C (deleteEmptyParagraphMechanism): compare also containing
195         insets when comparing pit/pos; pass the right cursor to
196         recordUndo; when a paragraph has been deleted, compare `old.top()' to
197         the right cursor slice of `cur'; use updateInsets on cur to make
198         sure that the inset caches are correct; general cleanup.
199
200 2005-10-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
201
202         * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
203         dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
204         containg inset. If this does not work, the same command will be
205         sent to other insets down the queue by LCursor::dispatch. (bug 2066)
206
207         * lyxfunc.C (dispatch): make sure the cursor is correct when doing
208         a dispatch.
209
210 2005-10-20  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
211
212         * lyxtextclass.C (Read): convert layout file if the format is wrong
213         * lyxtextclass.C (layout2layout): new, needed for the above
214
215 2005-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
216
217         * messages.C: do not forget to include <cerrno>.
218
219 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
220
221         * dociterator.h (StableDocIterator): add access to pos().
222         * undo.C (samePar): new method to check if two
223         iterators are in the same paragraph
224         * undo.C (recordUndo): check for samePar instead of cell identity
225         (which includes pos() and is too strict) (fixes bug 2097)
226
227 2005-10-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
228
229         * text.C (setCursorFromCoordinates): return a bool telling whether
230         dEPM triggered.
231
232         * text3.C (cursorPrevious): update if needed after
233         setCursorFromCoordinates (when dEPM triggered).
234
235         * text2.C (cursorDown, cursorUp): make sure to reset the anchor
236         (otherwise the anchor may be completely wrong and make dEPM assert).
237
238 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
239
240         * buffer.C: version upgrade to 245.
241         * bufferparams.C: remove \quotes_times (bug 2090).
242         * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
243         quotation marks as default.
244
245 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
246
247         * CutAndPaste.C (nrOfParagraphs): remove (unused)
248         * CutAndPaste.C (cutSelection): Remove debug message
249         * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
250         undo information and only copy if this is a real cut
251         * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
252         call
253         * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
254         (bug 2059)
255         * CutAndPaste.C (eraseSelection): prevent cursor corruption
256         * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
257         superflous cur.selection() setting
258         * CutAndPaste.[Ch] (grabSelection): take a const cursor
259         * cursor.C (selectionAsString): implement mathed case ((bug 2059)
260
261 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
262
263         * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
264         change anything.
265
266 2005-10-11  Martin Vermeer  <martin.vermeer@hut.fi>
267
268         * BufferView_pimpl.C: comment layout change
269
270 2005-10-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
271
272         * LyXAction.C:
273         * lfuns.h:
274         * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
275         by bibliography managers (bug 2071).
276
277 2005-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
278
279         * BufferView_pimpl.C (update): choose arguments to update call so
280         that single-par update works most times
281         * text3.C (dispatch): carefully tune updating separately for
282         whole-screen and current-paragraph
283         * rowpainter.C (paintText): 1) replace painting by caching for
284         the two extra paragraphs, because we can;
285         2) suppress greying out of areas below/above drawn area in case of
286         single-par refresh
287         * lyxfunc.C (dispatch): remove superfluous update
288         * LyXAction.[Ch]: introduce SingleParUpdate
289
290 2005-10-05  Angus Leeming  <leeming@lyx.org>
291
292         * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
293         always initialised before use.
294
295         * text.C (setHeightOfRow): squash warning about comparison
296         of signed and unsigned types.
297
298 2005-10-03  Martin Vermeer  <martin.vermeer@hut.fi>
299
300         * text.C (cursorX): two fixes involving RtL text drawing
301
302 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
303
304         * cursor.C (erase): fix 'clever' UI hack. It was activated for all
305         items, not only large ones (part of bug 2057)
306
307 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
308
309         * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
310         argument, use "newcommand".
311
312 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
313
314         * cursor.C (setSelection): do not open collapsable insets;
315         the insets do by themselves now (autoopen).
316
317 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
318
319         * buffer.C: format is up to 244.
320
321 2005-09-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
322
323         * text.C (redoParagraph): fix calcultation of inset width wrt 
324         leftMargin (bug 1957).
325
326         * text3.C (dispatch): leave inset to the right when hitting ESC 
327         (bug 2034).
328
329 2005-09-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
330
331         * text2.C: 
332         * text.C: 
333         * factory.C:
334         * messages.C: include <boost/current_function.hpp> 
335
336 2005-09-12  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
337
338         * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
339         when command is internal. (bug 1941)
340
341 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
342
343         * text2.C (cursorRight): do not honor boundary when at the end of
344         a paragraph. (bug 2010 again)
345
346 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
347
348         * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
349
350 2005-09-19  Martin Vermeer  <martin.vermeer@hut.fi>
351
352         * rowpainter.C (paintText): fix RtL space width display bug (2029)
353
354 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
355
356         * text2.C (setCursor): remove the unused 'boundary' parameter for
357         the CursorSlice version; adapt the LCursor version.
358
359         * lyxrc.C (write): 
360         * paragraph_pimpl.C (markErased): 
361         * cursor.C (bruteFind2, bruteFond3): fix warnings.
362
363 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
364
365         * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
366         as is already done for "chapter".
367
368 2005-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
369
370         * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
371         textclass; do not record undo if nothing is changed.
372
373 2005-09-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
374
375         * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
376
377 2005-09-14  Michael Gerz  <michael.gerz@teststep.org>
378
379         * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
380
381 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
382
383         * BufferView_pimpl.C (setBuffer): when one wants to set the layout
384         combox, it is necessary to search for the topmost paragraph in the
385         cursor stack (bug 1926)
386
387 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
388
389         * text2.C (cursorEnd, cursorRight): do not set boundary to true at
390         end of paragraph. (bug 2010)
391
392 2005-09-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
393
394         * text.C (leftMargin): check for inInset == 0
395
396 2005-09-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
397
398         * text.C (leftMargin): test for insetbase's new neverIndent()
399         bool instead of listing each and every inset that does not
400         wish par indendation.
401
402 2005-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
403
404         * buffer_funcs.C (setCounter): put the code to compute enum label
405         here (where it belongs).
406
407         * counters.C (enumLabel): move code to buffer_funcs.C.
408
409 2005-09-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
410
411         * outputparams.[Ch]: store local_font instead of local_language
412         * paragraph.C (simpleTeXOnePar): adapt to the change above
413
414 2005-09-08  Martin Vermeer  <martin.vermeer@hut.fi>
415
416         * buffer_funcs.C:
417         * counters.[Ch]: clean up special code for Hebrew.
418
419 2005-09-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
420
421         * lyxfunc.C (lookupChange): fix code when cursor depth is greater
422         than 2.
423
424 2005-09-08  Angus Leeming  <leeming@lyx.org>
425
426         * ispell.C:
427         * lyxrc.C: correct grammar describing invocation of the
428         spellchecker.
429
430 2005-08-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
431
432         * text.C (read): remove unused variable.
433         (readParToken): remove static Change variable (never good in
434         recursive settings...); add it as a parameter instead.
435
436         * paragraph_pimpl.C (acceptChange): make debug info conditional.
437
438         * metricsinfo.C (PainterInfo): add new member erased_.
439
440         * rowpainter.C (RowPainter): add erased_ member, initialized from
441         PainterInfo. 
442         (paintInset): pass erased_ to Inset::draw.
443
444         * lyxfunc.C (lookupChange): new function. Tells whether change 
445         tracking is disabled at a given postion.
446         (getStatus): disable some actions when in deleted text with change
447         tracking. 
448
449 2005-08-03  John Levon  <levon@movementarian.org>
450         
451         * tabular.C (appendColumn, setMultiColumn): adapt to change to
452         InsetText::clear().
453
454         * paragraph_pimpl.C (markErased): add bool argument and handle it.
455         Also make sure to mark insets recursively.
456         (rejectChange, erase): be recursive
457
458         * paragraph.C (markErased): add bool argument.
459 2005-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
460
461         * lyxfind.C (findNextChange): tiny cleanup.
462
463         * BufferView_pimpl.C (trackChanges): avoid crash when stopping
464         change tracking with the cursor in an inset; make sure the first
465         change is not skipped.
466
467 2005-09-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
468
469         * CutAndPaste.[Ch]: new methods dirtyTabularStack and 
470         tabularStackDirty to work around bug 1919 (tabular needs
471         to know whether its own cell paste buffer or the one of 
472         texted is newer.
473         * CutAndPaste.C: mark tabular_stack_ clean after copy.
474
475 2005-08-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
476
477         * text2.C (cursorEnd): check for empty text (fixes bug 1998)
478
479 2005-08-19  Lars Gullik Bjønnes  <larsbj@gullik.net>
480
481         * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
482         use old deleteion algorithm when changetracking is on.
483
484 2005-08-18  Martin Vermeer  <martin.vermeer@hut.fi>
485
486         * messages.C (get): add debug output.
487
488 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
489
490         * text.C (cursorX): fix bug 1965: cursor movement at
491         line end broken in RtL.
492         (drawSelection): fix bug 1970: drawing of single-line 
493         selection broken for RtL.
494
495 2005-07-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
496
497         bug 465.
498
499         * dociterator.h (clear, push_back, pop_back): change from
500         protected to public.
501
502         * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
503         and changed to just return the value of the item depth; take a
504         ParIterator as argument; take the itemdepth at outer nesting level
505         in account if necessary; cleanup and comment the code.
506         (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
507         and changed to just return true if reset is needed; take a
508         ParIterator as argument; cleanup and comment the code.
509         (setCounter): adapt to above changes.
510
511 2005-07-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
512
513         * text3.C (dispatch): make debug message optional
514
515 2005-08-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
516
517         * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
518         inset. (bug 1963)
519
520 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
521
522         * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
523
524 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
525
526         * text.C (insertChar):
527         * text2.C (deleteEmptyParagraphMechanism): take care whether 
528         a blank has been deleted (in change tracking mode) (bug 1254).
529
530 2005-07-20  John Levon  <levon@movementarian.org>
531
532         * text2.C (insertStringAsLines): remove old dubious code,
533         fixing bug 1939.
534
535 2005-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
536
537         * MenuBackend.C (expandToc): use Floating::listName() as title of
538         the floats submenus.
539
540 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
541
542         * toc.[Ch]: Do not use translatable strings (bug 1870).
543
544 2005-07-20  John Levon  <levon@movementarian.org>
545
546         * tabular.C: fix 1748 - setting multicolumn adds
547           left line to the first cell
548
549 2005-07-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
550
551         bug 1920
552         * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
553         pars in one go.
554
555 2005-07-18  Lars Gullik Bjønnes  <larsbj@lyx.org>
556
557         * messages.C: supress some lyxerr messages
558
559 2005-07-18  Juergen Vigna  <jug@lyx.org>
560
561         * text.C (drawSelection): honor boundary when asking for cursorX.
562
563 2005-07-17  José Matos  <jamatos@fc.up.pt>
564
565         * tabular.C (recalculateMulticolumns): fix handling of one column
566         tables.
567
568 2005-07-17  Juergen Vigna  <jug@lyx.org>
569
570         * text.C (Delete, backspace): fixed so that paragraph with the
571         same layout can be merged by Delete/Backspace.
572
573 2005-07-17  Michael Schmitt  <michael.schmitt@teststep.org>
574
575         * text.C (readParToken): fix spelling.
576
577 2005-07-17  Martin Vermeer  <martin.vermeer@hut.fi>
578
579         * text2.C: fix counter update for DEPM problem reported by
580         Georg Baum
581
582 2005-07-17  Juergen Vigna  <jug@lyx.org>
583
584         * BufferView_pimpl.C (setBuffer): save/restore the
585         cursor/selection when switching buffers
586
587         * buffer.h: 
588         * buffer.C (saveCursor): add saveDocumentIterators to save the
589         cursor when switching buffer.
590
591 2005-07-17  Michael Schmitt  <michqel.schmitt@teststep.org>
592
593         * debug.C: fix typo
594         * buffer.C: clarify message
595         
596 2005-07-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
597
598         * dociterator.C (DocIterator): fix initialization order
599
600 2005-07-17  Juergen Vigna  <jug@lyx.org>
601
602         * text2.C (cursorHome): 
603         * text.C (drawSelection, cursorX): 
604         * dociterator.C (textRow): add boundary to getRow() call
605
606         * paragraph.C (getRow): implementation of below
607
608         * paragraph.h: add parameter boundary for getRow() function
609
610 2005-07-17  José Matos  <jamatos@fc.up.pt>
611
612         * buffer.C:
613         * bufferparams.[Ch]:
614         * tex-strings.[Ch]: new file format, remove support for a4.sty,
615         a4wide.sty and a4widemargins.
616
617 2005-07-17  Juergen Vigna  <jug@lyx.org>
618
619         * text2.C (cursorLeft): fix one of error
620
621 2005-07-17  Juergen Vigna  <jug@lyx.org>
622
623         * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
624                    cursorEnd):
625         more fixes for boundary handling
626
627         * text3.C (dispatch): don't reset cursor if boundary has changed
628         on cursor movement.
629
630 2005-07-16  Juergen Vigna  <jug@lyx.org>
631
632         * text2.C (getColumnNearX): hopefully got it right now,
633         check if we are on column 0 for special case.
634
635 2005-07-16  Juergen Vigna  <jug@lyx.org>
636
637         * text2.C (getColumnNearX): handle special case Newline Inset
638
639         * text.C (singleWidth): Just remove bogus check
640
641 2005-07-16  Michael Schmitt  <michael.schmitt@teststep.org>
642
643         * funcrequest.C (split): avoid reading uninitialized char c
644
645 2005-07-16  José Matos  <jamatos@fc.up.pt>
646
647         * buffer.C:
648         * converter.C:
649         * lyxrc.C:
650         * paper.h:
651         * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
652         single papersize variable.
653
654 2005-07-16  Juergen Vigna  <jug@lyx.org>
655
656         * text3.C (dispatch): honor boundary when checking if a cursor
657         movement has been done
658
659         * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown) 
660         (setCursor, setCursorIntern): fix cursor movement with boundary
661
662 2005-07-16  Juergen Vigna  <jug@lyx.org>
663
664         * text.C (currentState): output the actual Boundary
665
666 2005-07-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
667
668         * factory.C (createInset): fix bad logic for tabular creation
669
670 2005-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
671
672         * lyx_main.C (init): change some reLyX reference to tex2lyx
673
674 2005-07-16  Juergen Vigna  <jug@lyx.org>
675
676         * dociterator.C (DocIterator): initialize boundary
677
678 2005-07-16  Juergen Vigna  <jug@lyx.org>
679
680         * text2.C (getColumnNearX): Consider rows without trailing blank.  
681
682 2005-07-16  André Pönitz  <poenitz@gmx.net>
683
684         * lyxfont.h: Change order of declarations to give the compiler
685         a better chance to inline things
686
687         * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
688         questions on unsaved docs for better scritability
689
690 2005-07-16  André Pönitz  <poenitz@gmx.net>
691
692         * paragraph.h (getChar): remove asserts as the same kind of security
693         can be achieved by using a suitable standard library implementation
694         and the function was in the critical path (25.9% in profiler)
695
696 2005-07-16  Juergen Vigna  <jug@lyx.org>
697
698         * cursor.C (bruteFind2):
699         * bufferview_funcs.C (coordOffset): 
700         * text.C (cursorX,cursorY): Handle cursor position after last char
701         in row before a inset which uses a whole row.
702
703 2005-07-15  José Matos <jamatos@lyx.org>
704
705         * output_plaintext.[Ch] (writeFileAscii): control reference title
706         printing.
707         (asciiParagraph): noparbreak was already deal and was incorrectly
708         used.
709
710 2005-07-15  Juergen Vigna <jug@lyx.org>
711
712         * lyxfunc.C (dispatch): save and restore the cursor after a
713         textclass switch.
714
715 2005-07-15  Lars Gullik Bjønnes <lgb@tandberg.net>
716
717         * text.C (backspace): bug 806 for empty keepempty paragraphs we
718         change the layout to default before letting DEPM do its thing.
719
720         * paragraph_funcs.C (breakParagraph): dont reset the layout on
721         keepEmpty paragraphs
722
723         * text.C (setCursorFromCoordinates): add a debug statement
724
725         * text2.C (getColumnNearX): bug 1825 make sure that we don't
726         return a pos that is not on the row
727
728         * output_latex.C (TeXDeeper): get rid of potential dereferencing
729         of past the end iterator
730
731 2005-07-14  André Pönitz  <poenitz@gmx.net>
732
733         * undo.C (recordUndoFullBuffer): implement undo for
734         textclass switches
735
736 2005-07-14  André Pönitz  <poenitz@gmx.net>
737
738         * cursor.C (setSelection): open insets when selection is set there
739         to avoid crashs with cold coord cache
740
741 2005-07-14  André Pönitz  <poenitz@gmx.net>
742
743         * trans_mgr.C (insert): move cursor to the right after inserting
744         a char.
745
746 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
747
748         * BufferView_pimpl.C (update): dampen some of the debug blabbering
749         * factory.C (readInset): ditto
750         * text.C, text2.C: ditto
751
752 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
753
754         * buffer.C: format incremented to 242. There is no file format per
755         se, but the "frenchb" language has been removed from lib/language
756         and has to be translated to "french" by lyx2lyx.
757
758 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
759
760         * cursor_slice.h, dociterator.h: add some documentation
761         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
762
763 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
764
765         * text.C (leftMargin): do not add identation to display() style
766         insets, because they are always centered (bug 1293).
767
768 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
769
770         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
771         formatted_time methods in support/lyxtime.
772
773 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
774
775         * toc.[Ch]: new method getGuiName, which is used by the frontends 
776         to set the toc combo (fixes bug 1870). Make TOC string translatable.
777
778 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
779
780         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
781         StableDocIterator const &)
782         * undo.C (recordUndo): use the above instead of cell.size() comparison
783         (fixes bug 1808; instructed by Andr�.
784
785 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
786
787         * cursor_slice.h: 
788         * dociterator.h: Fix the assert when copying rows/cols in math
789
790 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
791
792         * BufferView_pimpl.C:
793         * LyXAction.C:
794         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
795
796         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
797         (findInset): new functions, refactored from goto Inset that return 
798         the position of a certain inset without setting the buffer's cursor
799         (by Jean-Marc); 
800         (gotoInset): rewrite to call findInset and then set the cursor
801         (by Jean-Marc).
802
803 2005-06-16  Angus Leeming  <leeming@lyx.org>
804
805         * lyxrc.C (output, read): wrap all input and output of paths with
806         calls to os::internal_path and os::external_path, respectively.
807         (output): wrap bind_file inside quotes.
808
809         * format.C (view): enable the viewer to use the '$$s' placeholder.
810
811 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
812
813         * LColor.[Ch] (getFromLaTeXName): new
814
815 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
816
817         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
818
819 2005-06-14  Angus Leeming  <leeming@lyx.org>
820
821         * lyx_main.C (init): ensure that the LyX binary dir is the first
822         element in the PATH on non-POSIX builds.
823
824 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
825
826         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
827
828 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
829
830         * rowpainter.C (paintInset, paintHebrewComposeChar)
831         (paintArabicComposeChar, paintChars): add a LyXFont argument.
832         (paintChars): use getFontSpan to reduce calls to getFont to a
833         minimum; use Paragraph::lookupChange instead of isXXXText.
834         (paintForeignMark): rename LyXFont argument.
835         (paintFromPos): pass a LyXFont object to the various paintXXX
836         methods.
837
838         * FontIterator.C (FontIterator, operator++): use
839         Paragraph::getFontSpan
840
841         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
842         version that returns the font span as a pair.
843
844 2005-06-09  Angus Leeming  <leeming@lyx.org>
845
846         * converter.C (convert): Don't forget "outfile = real_outfile" as
847         the final step in a conversion where the input and output file names
848         are the same. Otherwise, future conversion steps won't work...
849
850 2005-06-09  Angus Leeming  <leeming@lyx.org>
851
852         * lyxsocket.C: remove stub code as it isn't needed by
853         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
854
855 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
856
857         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
858         effectively disabled -x
859
860 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
861
862         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
863         when it actually makes sense.
864
865 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
866
867         * BufferView_pimpl.C: revert to showCursor in connection with
868         Lars's front-end stack
869
870 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
871
872         * text.C (redoParagraph): move cursor right after a bibitem
873         has been inserted.
874
875         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
876
877 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
878
879         * buffer_funcs.C (bufferErrors): fix computation of the end of an
880         error range.
881
882 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
883
884         * BufferView.[Ch] (update):
885         * BufferView_pimpl.[Ch] (update, metrics):
886         * dimension.h (operator==):
887         * lyxfunc.C (dispatch):
888         * metricsinfo.h (ViewMetricsInfo):
889         * rowpainter.C (paintText):
890         * lyxtext.h:
891         * text.C (redoParagraph):
892         * text3.C (dispatch): Make LyX only repaint current paragraph in
893         case of character insert --> speedup. Also fix cursor draw
894         artifacts
895
896 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
897
898         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
899         avoid a crash (bug 1891)
900
901 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
902
903         Fix bug 1892:
904
905         * text2.C (getStringToIndex): constify cur argument.
906
907         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
908         argument has been given
909         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
910         try to invoke LFUN_INSET_APPLY).
911
912         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
913         if no inset was created by doInsertInset
914         (doInsertInset): return true if an inset has been inserted.
915
916 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
917
918         * vspace.C (asGUIName): new method. A version of the space
919         suitable for showing on screen.
920
921 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
922
923         * MenuBackend.C:
924         * lyxrc.C: rename "ASCII" to "Plain Text"
925
926 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
927
928         * buffer_funcs.C (expandLabel): take a Buffer as argument;
929         translate the labelstring.
930         (setCounter): translate labelstring as needed.
931
932         * output_docbook.C (makeCommand): fix expandLabel invokation
933
934 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
935
936         * BufferView.C: fix dialog title
937
938 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
939
940         * lyx_main.C (priv_exec): fix logic error with help from Angus
941         * lyx_main.C (parse_execute): set is_gui = false and remove now
942         obsolete comment about a segfault
943
944 2005-05-18  Angus Leeming  <leeming@lyx.org>
945
946         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
947
948 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
949
950         * tabular.[hC]: added setCellInset to fix tabular paste.
951
952 2005-05-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
953
954         * buffer.C (save): check if destination is writable before trying
955         to copy a file
956
957 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
958
959         * BufferView_pimpl.C (update): fix processEvents -caused update
960         recursion bug
961
962 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
963
964         * buffer_funcs.C (setCounter): fix test for numbering of
965         environments.
966
967         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
968         depth correctly; use optional argument when it exists
969
970         * lyxtextclass.C: remove unused MaxCounterTags enum
971         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
972         (max_toclevel, min_toclevel): new methods.
973
974         * MenuBackend.C (expandToc2): fix case where depth is smaller than
975         the smallest depth in toc.
976
977         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
978         layouts that should not appear in a table of contents.
979
980 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
981
982         * cursor.h (undispatched, noUpdate): add comments from Andr�
983 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
984
985         * lfuns.h:
986         * LyXAction.C:
987         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
988
989 2005-05-07  André Pönitz  <poenitz@gmx.net>
990
991         * cursor.[Ch] (leaveInset): new function
992
993 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
994
995         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
996
997 2005-05-04  Angus Leeming  <leeming@lyx.org>
998
999         * lyxfunc.C (getStatus): disable the spell checker dialog if
1000         none of USE_[AIP]SPELL are defined.
1001
1002 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
1003
1004         * tabular.C (setWidthOfCell): remove obsolete comment
1005
1006 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
1007
1008         * paragraph.C (bibitem):
1009         * buffer_funcs.C (setCounter):
1010         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
1011
1012 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1013
1014         * text3.C (getStatus): immediately return after setOnOff
1015
1016         * rowpainter.C: fix drawing of appendix start
1017
1018 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1019
1020         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
1021         SwitchBetweenClasses and remove the unused return value.
1022         Handle character styles, too
1023
1024 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
1025
1026         * factory.C (createInset): handle undefined character styles
1027
1028 2005-05-02  Angus Leeming  <leeming@lyx.org>
1029
1030         * buffer.C: protect the #include of utime.h with a preprocessor
1031         guard.
1032
1033 2005-05-02  Angus Leeming  <leeming@lyx.org>
1034
1035         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
1036         function so that auto-saving works, albeit in a blocking manner.
1037
1038         * Makefile.am: make compilation of the client sub directory, of
1039         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
1040         on conditionals set at configure time.
1041
1042         * SpellBase.[Ch]: no longer an abstract base class. Instead,
1043         it can be compiled in its own right but has no-op functionality.
1044
1045         * aspell.C, pspell.C: remove preprocessor guards. The files should
1046         be compiled only if the necessary functionality exists.
1047
1048         * lyxserver.C, lyxsocket.C: disable on Windows.
1049
1050 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
1051
1052         * text.C (leftMargin): Fix the parindent use bug (1764)
1053         by dirty trick
1054
1055 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
1056
1057         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
1058         argument.
1059
1060 2005-04-25  Angus Leeming  <leeming@lyx.org>
1061
1062         * Bidi.[Ch]:
1063         * coordcache.[Ch]:
1064         * ispell.C:
1065         * lyxserver.C:
1066         * mover.C:
1067         * pch.h:
1068         include <config.h> in .C files, not .h ones.
1069         add licence blurb.
1070         protect headers inside preprocessor guards.
1071
1072 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1073
1074         * FuncStatus.h (StatusCodes): document
1075
1076 2005-04-21  André Pönitz  <poenitz@gmx.net>
1077
1078         * FuncStatus.h (enabled, onoff): document
1079
1080 2005-04-19  Angus Leeming  <leeming@lyx.org>
1081
1082         * BufferView_pimpl.C (cursorToggle): no longer test whether
1083         any child processes have been reaped before calling
1084         handleCompletedProcesses().
1085
1086 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
1087
1088         * text3.C (dispatch): fix, finally fix, the language problem in
1089         new lyxtexts, without disabling on-the-fly font changes (Helge's
1090         bug report)
1091
1092 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1093
1094         * text3.C (dispatch): set cursor on double/triple click events
1095         (bug 1811)
1096
1097 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1098
1099         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
1100         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
1101
1102         * rowpainter.C (paintFirst): simplify the code a little bit. In
1103         particular, remove the test for secnumdepth.
1104         * text.C (setHeightOfRow): only allocate space for chapter number
1105         when updateCounters provided an actual label, instead of looking
1106         at secnumdepth directly.
1107
1108         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
1109
1110         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
1111         paragraphs when secnumdepth is large enough or, for environments,
1112         when they are not the first in a sequence.
1113
1114 2005-04-17  Angus Leeming  <leeming@lyx.org>
1115
1116         * buffer.C (makeLaTeXFile): replace code to manipulate a path
1117         containing space and '~' characters with a call to latex_path().
1118
1119 2005-04-17  Angus Leeming  <leeming@lyx.org>
1120
1121         * converter.C (convert): protect all args of convertDefault.sh
1122         script with quotes.
1123
1124 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1125
1126         * text3.C (dispatch): change the layout to "Caption" after inserting
1127         a float.
1128
1129 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1130
1131         * text3.C (dispatch): fix language problem in newly created
1132         textinsets (and main text) in non-english docs
1133
1134 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1135
1136         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
1137         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
1138         * text3.C (getStatus): disable LFUN_INSET_MODIFY
1139
1140 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1141
1142         * lyxtext.h:
1143         * text.C (metrics):
1144         * text2.C (getFont):
1145         * rowpainter.C (getFont): Fix metrics bug introduced by inset
1146         fonts fix
1147
1148 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1149
1150         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
1151         output of \item arguments without trailing text.
1152
1153 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1154
1155         * FontIterator.C (operator*): avoid a copy of the font.
1156
1157 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1158
1159         * rowpainter.C (getFont): fix language bug from previous fix
1160
1161 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1162
1163         * rowpainter.C (RowPainter, getFont): fix font inside inset
1164         (bugs 1766, 1809)
1165
1166 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
1167
1168         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1169         preventing inserted font, deco, delim insets jumping to start of
1170         surrounding inset.
1171
1172 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1173
1174         * lyxfunc.C (dispatch): translate message before sending it to the
1175         minibuffer.
1176
1177 2005-03-29  Angus Leeming  <leeming@lyx.org>
1178
1179         * lyx_main.C (priv_exec): call os::internal_path on each file passed
1180         to LyX on the command line.
1181
1182 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
1183
1184         * vc-backend.C: use QuoteName to protect file names wherever
1185         necessary.
1186
1187 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
1188
1189         * buffer.[Ch]:
1190         * BranchList.h: fix bugs 1844,1845: document settings don't
1191         stick
1192
1193 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1194
1195         * lyxrc.C (setDefaults, read, output, getDescription): add support
1196         for tex_allows_spaces.
1197
1198         * exporter.C (Export): allows files in directory containing spaces
1199         if tex_allows_spaces is true.
1200
1201         * buffer.C (makeLaTeXFile): if the document path contains spaces,
1202         output it in double quotes.
1203
1204 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1205
1206         * rowpainter.C: use default text height for drawing change tracker
1207         strikeout lines.
1208
1209 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1210
1211         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1212
1213 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1214
1215         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1216         directory is missing.
1217
1218 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
1219
1220         * text2.C: fixed the fix, extended to other case.
1221
1222 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
1223
1224         * text2.C: fix for cursor up/down stuck in math [bug 1792]
1225
1226 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
1227
1228         * text2.C (cursorUp): get rid of a crash
1229         * text.C (x2pos): add an assert
1230
1231 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1232
1233         * lyxfunc.C (getStatus): fix warning when assertions are disabled
1234
1235         * text3.C:
1236         * lyxfunc.C:
1237         * dociterator.C: include <boost/current_function.hpp>, which is
1238         needed when assertions are disabled.
1239
1240 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1241
1242         * text2.C: fix for stuck cursor when traversing two
1243         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1244
1245 2005-02-25  Andreas Vox  <avox@arcor.de>
1246
1247         * output_docbook.C (makeParagraph): suppress trailing newline
1248         after a run of paragraphs
1249
1250 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1251
1252         * paragraph.C: fix for confused change tracker when pasting
1253         text that begins with a lineseparator. [bug 1827]
1254         (setChange(0, Change::INSERTED);)
1255
1256         * paragraph_funcs.C: fix for lost changes on triple-paste
1257         in change tracking mode [bug 1827] (par.setChange()).
1258
1259 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1260
1261         * text2.C (updateCounters, setCounter, expandLabel): move to
1262         buffer_funcs.
1263
1264         * buffer_funcs.C (updateCounters): turn into a free standing
1265         function and add a buffer parameter. Remove dead code for tracking
1266         labelstring change.
1267         (setCounter): change into a free-standing function which gets a
1268         dociterator as argument. Use this iterator to fix captions in a
1269         simple way. When no float is found above the caption, use the
1270         labelstring of the caption layout as default.
1271
1272         * text.C (breakParagraph, backspace):
1273         * text2.C (init, setLayout, changeDepth):
1274         * text3.C (dispatch):
1275         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1276         updateCounters.
1277
1278         * dociterator.C (forwardPar): make it much faster by calling
1279         forwardPos() only when really necessary.
1280
1281         * output_docbook.C (makeCommand): adapt to expandLabel move.
1282
1283         * cursor.C: remove unused variable
1284
1285 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1286
1287         * paragraph_funcs.C: fix crash when pasting insets in change
1288         tracking mode [bug 1277] (honour change type in moveItem).
1289
1290 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1291
1292         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1293
1294 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1295
1296         * BufferView.C (setCursor): change to use a DocIterator.
1297         (gotoLabel): use BufferView::setCursor (other part of bug 781).
1298         (putSelectionAt): adapt to BufferView::setCursor change.
1299
1300         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1301         moved here from LyXText and rewritten to use proper cursor
1302         methods. Fixes bug 1787, 616 and 835.
1303
1304         * BufferView_pimpl.C (restorePosition): set the cursor correctly
1305         when inside an inset (part of bug 781).
1306         (dispatch): adapt to change of BufferView::setCursor.
1307         (getStatus, dispatch): handle LFUN_GOTOERROR,
1308         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1309
1310         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1311         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1312         * text3.C (gotoNextInset, gotoInset): removed.
1313
1314 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1315
1316         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1317
1318 2005-02-15  Angus Leeming  <leeming@lyx.org>
1319
1320         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1321         can be used meaningfully in a comparison.
1322
1323 2005-02-13  André Pönitz  <poenitz@gmx.net>
1324
1325         * bufferview_funcs.C (coordOffset): improve cursor drawing
1326
1327 2005-02-13  André Pönitz  <poenitz@gmx.net>
1328
1329         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1330         * Cursor.C (dispatch): use fixIfBroken
1331         * lyxfunc.C (getStatus): use fixIfBroken
1332
1333 2005-02-15  Angus Leeming  <leeming@lyx.org>
1334
1335         * lyx_main.C (error_handler):
1336         * lyxfunc.C:
1337         * lyxrc.C (setDefaults):
1338         s/GetEnv/getEnv/.
1339         #include "environment.h".
1340
1341         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1342
1343 2005-02-15  Angus Leeming  <leeming@lyx.org>
1344
1345         * lyxserver.C (startPipe): squash MSVC warning "local variable
1346         'fd' used without having been initialized".
1347
1348 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1349
1350         * BufferView_pimpl.C: revert accidental commit.
1351
1352 2005-02-14  André Pönitz  <poenitz@gmx.net>
1353
1354         * dociterator.[Ch]: new member forwardPosNoDescent(),
1355         which doesn't enter nested insets.
1356         * text2.C (setFont): use forwardPosNoDescent() instead
1357         of ForwardPos() (fixes crash on font change).
1358
1359 2005-02-13  Angus Leeming  <leeming@lyx.org>
1360
1361         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1362         only if lyxrc.path_prefix is not empty.
1363
1364 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1365
1366         * bufferparams.C (readGraphicsDriver): prevent crash
1367
1368 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1369
1370         * text2.C (setCounter): check for inInset() == 0
1371
1372 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1373
1374         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1375         but use update() to get correct screen display; use convert
1376         instead of istringstream.
1377         (getStatus): handle LFUN_GOTO_PARAGRAPH
1378
1379         * lyxfunc.C (dispatch, getStatus): do not handle
1380         LFUN_GOTO_PARAGRAPH here.
1381
1382 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1383
1384         * text3.C (dispatch): size() -> depth()
1385
1386         * text2.C: remove some debug output
1387
1388         * paragraph.C: ws changes only
1389
1390         * lyxfunc.C (getStatus): size() -> depth()
1391
1392         * dociterator.h (clear, push_back, pop_back, internalData,
1393         operator[], resize, empty): new functions
1394         Make StableDocIterator and operator== be friends. Don't inherit
1395         from std::vector use a privat class variable slices_ instead.
1396         Modify to fit.
1397
1398         * dociterator.C: update because of not inheriting from std::vector
1399         anymore. Call explictly to slices_ instead. Use depth() instead of
1400         size() and top() instead of back()
1401
1402         * cursor.C: chagne size() -> depth and back() -> top(). Also
1403         remove some direct operator[](i) calls in favour of foo[i]
1404         (getFont): remove some dead code
1405
1406         * bufferview_funcs.C (coordOffset): size() -> depth()
1407
1408         * buffer.C: ws changes only
1409
1410         * CutAndPaste.C (eraseSelection): back() -> top()
1411
1412         * BufferView_pimpl.C (selectionRequested): back() -> top()
1413
1414         * BufferView.C (setCursor): size() -> depth()
1415
1416 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1417
1418         * text3.C (cursorPrevious): return true if depm changed something
1419         (cursorNext): ditto
1420         (dispatch): rename sl to oldTopSlice, remove moving use the new
1421         NoUpdate func attrib instead. Make sure that needsUpdate is set
1422         for function that have NoUpdate, but where depm might have changed
1423         the buffer anyway.
1424
1425         * text2.C (cursorLeft): make us return true if depm changed
1426         something
1427         (cursorRight): ditto
1428         (cursorUpParagraph): ditto
1429         (curosrDownParagraph): ditto
1430         (cursorUp, cursorDown): ditto, make sure to read comments in code
1431         (deleteEmptyParagraphMechanism): remove an assert, also return
1432         true if just a single char was deleted.
1433
1434         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1435         cursor that we modify, to avoid modifying an active cursor before
1436         we call setCursor. This allows depm to run. Also return true if
1437         depm deleted something.
1438
1439         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1440         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1441         cursorDownParagraph, cursorPrevious and cursorNext, return true if
1442         something was changed in the buffer because of them (ie. depm run)
1443
1444         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1445         debug messages. Make update by default be false. Make sure that
1446         the result of update is retained throught several calls down to
1447         dispatch.
1448
1449         * LyXAction.h: add a new func_attrib: NoUpdate
1450
1451         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1452         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1453         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1454         and LFUN_WORDLEFT
1455         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1456
1457 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1458
1459         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1460         bv_->owner(), bv_->buffer() by direct references to the private
1461         members.
1462         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1463         (getStatus): isSavedPosition() is in BufferView::Pimpl.
1464         (fitCursor): center() is in BufferView::Pimpl.
1465         (getStatus, trackChanges, dispatch): no need for a temporary buf
1466         variable
1467         (fitCursor, workAreaDispatch): use workarea().workheight()
1468
1469 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1470
1471         * CutAndPaste.C (pasteSelectionHelper): fix a crash
1472
1473 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1474
1475         * buffer.C: format up to 241.
1476         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1477         break if pasting into ERT
1478         * lyxfunc.C (getStatus): suppress mathpanel and
1479         LFUN_DIALOG_SHOW_NEW_INSET in ERT
1480
1481 2005-02-01  Angus Leeming  <leeming@lyx.org>
1482
1483         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1484
1485 2005-02-01  Angus Leeming  <leeming@lyx.org>
1486
1487         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1488         calling fs::is_directory().
1489
1490 2005-01-31  Angus Leeming  <leeming@lyx.org>
1491
1492         * lyx_main.C (priv_exec): specify explicitly the relative location
1493         of the top level build directory when run in-place.
1494
1495 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1496
1497         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1498         LyXText containing the cursor, not the top-level one.
1499
1500         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1501         true.
1502         (insertStringAsLines): rename par to pit; use temporary variable
1503         par to hold a Paragraph; do not store par.layout() in a variable,
1504         since the pointer may die when breaking paragraphs; pass pars to
1505         breakParagraph() instead of Buffer::paragraphs().
1506
1507 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1508
1509         * lyxlex_pimpl.h: #include <fstream>.
1510
1511         * BufferView.[Ch] (getLyXText): add a const version.
1512
1513         * BufferView_pimpl.C: add debug aids.
1514
1515         * RowList_fwd.h:
1516         * buffer.h:
1517         * lyxrow.h:
1518         * paragraph_funcs.h: add commentary explaining what the class does.
1519
1520
1521         * coordcache.[Ch]: add lots of commentary.
1522         (startUpdating, doneUpdating): debug aids.
1523         (arrays, insets, parPos, getParPos): accessors to private data.
1524
1525         * cursor_slice.[Ch] (text): add a const version.
1526         * dociterator.[Ch] (text, innerText): add const versions.
1527
1528         * lyxtext.h (breakParagraph): change the keep_layout arg to a
1529         bool.
1530
1531         * paragraph.C (getRow, pos2ros): add asserts.
1532
1533         * paragraph.h: add commentary. Lots of.
1534
1535         * paragraph.[Ch] (metrucs, draw): removed.
1536
1537         * cursor.C:
1538         * rowpainter.[Ch]: const-correct changes.
1539
1540         * text.C: various obvious clean-ups. Removal of ancient cruft.
1541         Bug fixes, even.
1542
1543 2005-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
1544
1545         * vc-backend.C (find_file): rewrite to use boost.filesystem
1546         (scanMaster): ditto
1547
1548         * main.C (main): set default name check for boost.filesystem to
1549         no check
1550
1551         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1552         (open): ditto
1553         (doImport): ditto
1554         (actOnUpdatedPrefs): ditto
1555
1556         * lyx_main.C (init): rewrite to use boost.filesystem
1557         (queryUserLyXDir): ditto
1558
1559         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1560         (getContentsOfAsciiFile): ditto
1561
1562         * lastfiles.C (readFile): rewrite to use boost.filesystem
1563
1564         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1565
1566         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1567         (loadLyXFile): ditto
1568
1569         * buffer.C (Buffer): adjust for destroydir
1570         (getLogName): rewrite to use boost.filesystem
1571         (setFileName): ditto
1572         (save): use fs::copy_file (from fs_extras)
1573
1574         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1575
1576         * LaTeX.C (run): rewrite to use boost.filesystem
1577         (scanAuxFiles): ditto
1578         (handleFoundFile): ditto
1579
1580 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1581
1582         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1583
1584         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1585
1586 2005-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1587
1588         * lyxlayout.[Ch]: change some vars from float to double
1589
1590         * buffer.C (readFile): make a local var const
1591
1592         * Several files: use convert<> instead of atoi,strToXXX and friends
1593
1594 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1595
1596         * LaTeXFeatures.[Ch]: Add a static list packages_ that
1597         holds the contents of packages.lst. New functions getAvailable
1598         and isAvailable to parse and check that list, resp.
1599
1600         * LyXAction.C:
1601         * lfuns.h:
1602         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1603
1604         * bufferparams.[Ch]: new param output_changes.
1605
1606         * Buffer.C: increase file format to 240.
1607         Use output_changes and isVailable.
1608
1609         * changes.[Ch]:
1610         * paragraph.C:
1611         * paragraph_pimpl.C: Use output_changes and isVailable.
1612
1613 2005-01-23  Angus Leeming  <leeming@lyx.org>
1614
1615         * output_latex.C: #include "insetbibitem.h", rather than
1616         forward declare function bibitemWidest.
1617
1618 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
1619
1620         * lyx_main.C (init): make it compile on the Mac.
1621
1622 2005-01-20  Angus Leeming  <leeming@lyx.org>
1623
1624         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1625         (setLyXMisc): (char string literal) != (char string literal) is
1626         performing a comparison on the addresses. Convert one operand
1627         explicitly to string to guarantee expected behaviour.
1628         From MSVC warning.
1629
1630 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1631
1632         * buffer.C:
1633         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1634
1635         * output_plaintext.C: remove unneeded #include gzstream.h.
1636
1637 2005-01-20  Angus Leeming  <leeming@lyx.org>
1638
1639         * SpellBase.h: rename some of the elements of the Result enum.
1640
1641         * aspell_local.h:
1642         * ispell.h:
1643         * pspell.h:
1644         * aspell.C (check):
1645         * ispell.C (check):
1646         * pspell.C (check): ditto
1647
1648 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1649
1650         * buffer.C: add #include <fstream>.
1651
1652         * lyx_main.C (init): Compile fix.
1653
1654         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1655
1656 2005-01-20  Angus Leeming  <leeming@lyx.org>
1657
1658         * mover.h: change commentary to reflect the changed meaning of
1659         the $$s placeholder.
1660
1661 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1662
1663         * output_linuxdoc.C (linuxdocParagraphs): silence warning
1664
1665         * lyxfind.C (MatchString::operator()): remove bogus semicolon
1666
1667 2005-01-20  Angus Leeming  <leeming@lyx.org>
1668
1669         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1670         printing diagnostic data by not dereferecing an iterator past the
1671         end.
1672
1673 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1674
1675         * buffer.C (readHeader): use "&&" rather than "and".
1676
1677         * lyxserver.h (inPipeName, outPipeName): make these const.
1678
1679 2005-01-19  Angus Leeming  <leeming@lyx.org>
1680
1681         * lyx_main.C (error_handler, init): protect SIGHUP with
1682         #ifdef SIGHUP guards.
1683
1684 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1685
1686         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1687
1688 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1689
1690         * text.C (setHeightOfRow): add a margin at the top and bottom of
1691         the document (bug 1761)
1692
1693 2005-01-17  Angus Leeming  <leeming@lyx.org>
1694
1695         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1696         with "python ". Workaround for a brain-dead Windows.
1697
1698 2005-01-16  Angus Leeming  <leeming@lyx.org>
1699
1700         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1701         for MacOSX and Windows to use prependEnvPath.
1702         Strip out the hard-coded block to add elements to the PATH for
1703         MacOSX and replace it with a call to prependEnvPath using the
1704         contents of LyXRC::path_prefix.
1705         (queryUserLyXDir): strip out the code to run reconfigure, instead
1706         returning a boolean indicating the necessity to do so.
1707         (reconfigureUserLyXDir): contains the code to reconfigure the
1708         user support directory. Is now called after the various LyXRC data
1709         files have been read.
1710
1711         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1712
1713 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1714
1715         * converter.[Ch] (convert): take a new parameter try_default. Use
1716         a default converter (imagemagick) if try_default is true.
1717
1718 2005-01-13  Angus Leeming  <leeming@lyx.org>
1719
1720         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1721         os::cygwin_path_fix.
1722         (write): output LyXRC::cygwin_path_fix as necessary.
1723
1724 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
1725
1726         * lyxrc.h:
1727         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1728
1729 2005-01-12  Angus Leeming  <leeming@lyx.org>
1730
1731         * lyx_main.C (init): set the PATH variable to include the
1732         directory containing the LyX binary when running on Mac or Windows.
1733
1734 2005-01-12  Angus Leeming  <leeming@lyx.org>
1735
1736         * lyx_main.C (init): remove cruft that purports to set the locale
1737         dir. It doesn't and is not needed anyway.
1738
1739 2005-01-10  Angus Leeming  <leeming@lyx.org>
1740
1741         * Makefile.am: remove the lyx_main.C special casing.
1742
1743         * BufferView_pimpl.C:
1744         * bufferlist.C:
1745         * exporter.C:
1746         * lyx_cb.C:
1747         * lyx_main.C:
1748         * lyxfunc.C:
1749         * messages.C: use support/package.h to provide the paths to the
1750         various directories used by LyX.
1751
1752 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1753
1754         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1755         layout if pasting into an empty paragraph)
1756
1757 2005-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1758
1759         * tex-accent.C: add <string>
1760
1761 2005-01-06  José Matos  <jamatos@lyx.org>
1762
1763         * ParagraphParameters.C (write): put every parameter in its own line.
1764         * paragraph.C (write): reduce number of consecutive empty lines exported.
1765         * buffer.C (LYX_FORMAT): increase file format to 239.
1766
1767 2005-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1768
1769         * everywhere: change support/tostr.h -> support/convert.h
1770
1771         * tabular.C: make all write_attributes templates, tostr -> convert
1772
1773         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1774         (emptyTag): and -> &&, and fix type for ret from getChar
1775         (getFirstWord): fix type for ret from getChar
1776         (onlyText): and -> &&
1777         (simpleDocBookOnePar): and not -> && !, fix type for ret from
1778         getChar
1779
1780         * toc.C (goTo, action):
1781         * text3.C (dispatch):
1782         * text.C (currentState):
1783         * tex-accent.C (DoAccent):
1784         * sgml.C:
1785         * lyxrc.C:
1786         * lyxfunc.C (menuNew):
1787         * lyxfinc.C (replace):
1788         * counters.C (laberItem):
1789         * bufferview_funcs.C (font2string):
1790         * bufferparams.C (writeFile):
1791         * buffer.C (readFile):
1792         * Spacing.C (set):
1793         * MenuBackend.C: tostr -> convert
1794
1795         * LaTeX.C (runMessage): fix format
1796         (scanAuxFiles): tostr -> convert
1797
1798         * BufferView_pimpl.C (savePosition): fix format
1799         (restorePosition): ditto
1800         (dispatch): ditto
1801
1802 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1803
1804         * Spacing.[Ch]: New method getValueAsString().
1805
1806         * Spacing.[Ch]:
1807         * bufferparams.C:
1808         * ParagraphParameters.C:
1809         * lyxlayout.C:
1810         * text.C:
1811         * text3.C: store/read spacing value as string.
1812
1813         * rowpainter.C: change float value (spacing_val) to double.
1814
1815         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1816         broken custom document spacing).
1817
1818 2005-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
1819
1820         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1821         namespace, also more use of temp references and const
1822
1823         * cursor.[Ch] (getStatus): move to lyxfunc.C
1824
1825         * bufferparams.C: reformat slightly
1826
1827         * bufferview_funcs.C (font2string): constify arg
1828
1829         * changes.C:
1830         * converter.C:
1831         * counters.C:
1832         * bufferlist.C:
1833         * buffer_funcs.C: (many funcs): constify arg on function
1834         definitions, also make more local vars const, also add ASSERTS on
1835         pointer args.
1836
1837         * buffer.C (LYX_FORMAT): put const in correct place
1838         (many funcs): constify arg on function definitions, also make
1839         more local vars const
1840
1841         * aspell_local.h: remove "struct" from typdef setup
1842
1843         * aspell.C (check): make word_ok const
1844         (nextMiss): simplify slightly
1845         (error): ditto
1846
1847 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1848
1849         * lyxrc.[Ch]: store all float values as strings.
1850         use int (not float) for lyxrc.dpi.
1851
1852 2005-01-04  Angus Leeming  <leeming@lyx.org>
1853
1854         * lyx_cb.C (Reconfigure):
1855         * lyx_main.C (queryUserLyXDir):
1856         to run the <system_lyxdir>/configure correctly on Windows, prefix
1857         the path to the script with "sh " when generating the string that
1858         is passed to system().
1859
1860 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1861
1862         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1863
1864 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1865
1866         * lyxlength.C (asLatexString): get rid of setprecision
1867
1868 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1869
1870         * text2.C (setLayout): remove unused variable endpit.
1871         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1872
1873         * paragraph.C (onlyText): remove unused variable style.
1874
1875         * cursor.C (bruteFind): remove unused variables beg and end.
1876
1877         * Makefile.am (dist_noinset_DATA): not needed anymore
1878
1879         * cheaders/*: remove.
1880
1881 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1882
1883         * text3.C: fix LFUN_MATH_MODE.
1884
1885 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1886
1887         * buffer_funcs.C (countWords): new function. Counts words between
1888         two iterators.
1889
1890         * BufferView_pimpl.C (getStatus, dispatch): handle
1891         LFUN_WORDS_COUNT.
1892
1893         * LyXAction.C (init):
1894         * lfuns.h: add LFUN_WORDS_COUNT.
1895
1896 2004-12-19  Angus Leeming  <leeming@lyx.org>
1897
1898         * buffer.C (save): s/slashify_path/internal_path/.
1899
1900 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1901
1902         * lyxfind.C (findChange): do not search for end of pars, because
1903         the change tracker cannot handle this (fixes bug 1719).
1904
1905 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1906
1907         * paragraph.[Ch] (autoBreakRows): remove
1908
1909         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1910
1911         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1912         avoid using the paragraph one
1913
1914         * text2.C (LyXText, insertStringAsLines): adjust
1915
1916 2004-12-16  Angus Leeming  <leeming@lyx.org>
1917
1918         * bufferlist.C:
1919         * lyx_main.C:
1920         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1921
1922 2004-12-14  Angus Leeming  <leeming@lyx.org>
1923
1924         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1925
1926         * bufferlist.C (emergencyWrite):
1927         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1928         GetEnvPath("HOME").
1929
1930 2004-12-14  Angus Leeming  <leeming@lyx.org>
1931
1932         * main.C: (main): no longer pass pointers to os::init.
1933
1934 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1935
1936         * undo.C (textUndoOrRedo): simplify logic, fix a crash
1937         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1938
1939 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1940
1941         * lyxfunc.C:
1942         * text3.C: remove selection_possible global flag
1943
1944 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1945
1946         * text2.C (getSelectionSpan): remove
1947         (changeDepth, changeDepthAllowed): adjust
1948
1949 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
1950
1951         * Makefile.am (BOOST_LIBS): use boost variables
1952
1953 2004-12-03  José Matos  <jamatos@lyx.org>
1954
1955         * buffer.C: format up to 238.
1956
1957 2004-12-03  José Matos  <jamatos@lyx.org>
1958
1959         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1960
1961 2004-12-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1962
1963         * cursor.C (goUpDown): remove call to idxUpDown2
1964
1965 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1966
1967         * tabular.[Ch]: use size_t-like types for cell, row and column
1968         indices
1969
1970 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1971
1972         * lyxfunc.C (getStatus): do not lose previous information when
1973         calling BufferView::getStatus; do not set a default "Command
1974         disabled" message at the beginning, but just before returning.
1975
1976 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1977
1978         * cursor.h (getStatus): add better comment from src/cursor.C
1979
1980 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1981
1982         * text3.C (getStatus): return false when the lfun is not handled
1983
1984 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1985
1986         * broken_headers.h: remove
1987
1988         * Makefile.am (lyx_SOURCES): remove broken_headers.h
1989
1990 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1991
1992         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1993         offset_ref accessors
1994
1995         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1996         top_y_, merge fitcursor with update
1997         (updateScrollbar, scrollDocView, fitCursor, center, update): new
1998         coord scheme
1999         (metrics): introduce
2000         (workAreaDispatch): adapt to new coord scheme
2001         (redoCurrentBuffer): remove
2002
2003         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
2004
2005         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
2006         CurStatus enum.
2007
2008         * coordcache.[Ch]: add paragraph cache and helpers
2009
2010         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
2011         adjust everywhere
2012
2013         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
2014         (targetX, setTargetX): introduce
2015
2016         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
2017         baseline -> ascent, as the rest of lyx
2018
2019         * lyxtext.h: remove redoParagraphs, updateParPositions,
2020         fullRebreak, redoParagraphInternal. move dist to anon namespace in
2021         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
2022         have ascent/descent (ascent is ascent of first par)
2023
2024         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
2025         step of BufferView
2026
2027         * paragraph.[Ch]: unify dimension handling with the rest of lyx
2028
2029         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
2030
2031         * pariterator.C: fix infinite loop introduced in par->pit renaming
2032
2033         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
2034         in insets and LyXText, draw two off-screen paragraphs using
2035         NullPainter, and adapt to new coord scheme
2036
2037         * text.C:
2038         * text2.C:
2039         * text3.C: adapt lfun handlers to the new coord scheme, which
2040         means: there's only guaranteed coord information for onscreen pars
2041         plus one above and one below. This implies that one can do search
2042         from y coordinates in the range [-1,workHeight]
2043
2044 2004-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2045
2046         * rename a lot of InsetOld to InsetBase
2047
2048 2004-11-25  Angus Leeming  <leeming@lyx.org>
2049
2050         * BufferView_pimpl.C:
2051         * lyx_cb.C:
2052         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
2053
2054 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2055
2056         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
2057         call BufferView::getStatus if LCursor::getStatus did nothing
2058         (setStatusMessage, getStatusMessage): removed.
2059
2060         * FuncStatus.C (message): new methods. Used to provide an error
2061         message indicating why a command is disabled.
2062         (clear, |=, FuncStatus): update for message.
2063
2064 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2065
2066         * lyxfunc.C (dispatch): always call sendDispatchMessage
2067
2068 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2069
2070         * BufferView.C:
2071         * BufferView_pimpl.C:
2072         * CutAndPaste.C:
2073         * FontIterator.C:
2074         * buffer.C:
2075         * cursor.C:
2076         * cursor_slice.[Ch]:
2077         * dociterator.[Ch]:
2078         * lyxfind.C:
2079         * paragraph_funcs.C:
2080         * pariterator.C:
2081         * rowpainter.C:
2082         * text.C:
2083         * text2.C:
2084         * text3.C:
2085         * undo.C: par->pit renaming
2086
2087 2004-11-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2088
2089         * tabular.C (cellstruct): use initialization, store a shared_ptr
2090         to insettext instead of the insettext directly, adjust to fit.
2091         (operator=):  new function
2092         (swap): new function
2093         (rowstruct): use initialization
2094         (columnstruct): use initialization
2095         (ltType): use initialization
2096
2097
2098         * lyxlength.h (swap): new function
2099
2100         * LColor.[Ch] (operator=): use the common semantics
2101
2102 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2103
2104         * lyxfind.C (findNextChange): update the bufferview after setting
2105         the selection.
2106
2107 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2108
2109         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
2110         number of InsetOptArgs has already been inserted.
2111
2112         * output_latex.C (latexOptArgInsets): new method. This outputs all
2113         the optarg insets, up to the limit defined in the layout file.
2114         (optArgInset): removed
2115         (TeXOnePar): call latexOptArgInsets; correctly update texrow
2116
2117 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2118
2119         * paragraph.C (isLetter): remove special spellchecker-related
2120         code; return true also for digits
2121         (isWord, isKomma): remove
2122
2123         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
2124         * lyxfind.C (MatchString()): use isLetter instead of isWord
2125
2126 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2127
2128         * pariterator.h (operatir=): comment out un-implemented member
2129         function.
2130
2131         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
2132         static cast.
2133
2134 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2135
2136         * lyxfont.h: include LColor.h to satisfy concept checks.
2137
2138 2004-11-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2139
2140         * pariterator.h: add typdefs for value_type, difference_type,
2141         pointer and reference to satisfy concept checks. Also add default
2142         constructor for same reason.
2143
2144         * pariterator.C (operator++): add post-increment operator to
2145         satisfy concept checks.
2146
2147         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
2148         checks.
2149
2150         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
2151
2152         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
2153         checks. Also rename base_type to BaseType to follow naming
2154         standard better.
2155
2156         * FloatList.h: include Floating.h to satisfy concept checks.
2157
2158 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2159
2160         * lyxfunc.C (getStatus): when the origin of the request is menu or
2161         toolbar, and the LyXView does not have focus, do as if there was
2162         no buffer (bug 1720)
2163
2164         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2165         FuncRequest to individual entries of LFUN_SEQUENCE
2166
2167 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2168
2169         * output_latex.C (TeXOnePar): override runparams.moving_arg
2170         according to the needprotect value of the current paragraph (bug
2171         1739)
2172
2173         * paragraph.C (simpleTeXOnePar): no need to override
2174         runparams.moving_args here
2175
2176 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
2177
2178         * vspace.C: fix off-by-one-error, related to fix #1682
2179
2180 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2181
2182         * lengthcommon.C: a more general fix for bug 1682
2183
2184 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2185
2186         * text.C (backspace): fix crash
2187
2188 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2189
2190         * format.[Ch] (getFormatFromFile): new method
2191         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2192
2193 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2194
2195         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2196
2197 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2198
2199         * lyxfunc.C (dispatch): remove the verbose argument
2200         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2201         instead
2202
2203         * kbmap.C (defkey): set the origin of func to KEYBOARD
2204
2205         * MenuBackend.C (MenuItem):
2206         * ToolbarBackend.C (add): set the origin of func to UI
2207
2208         * funcrequest.[Ch]: add origin member, which indicates which part
2209         of LyX requests an action
2210
2211 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2212
2213         * converter.C (move): don't lie in the error message
2214         * converter.h (isReachable, move): document
2215
2216 2004-11-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2217
2218         * buffer.C: remove unused using lyx::support::atoi
2219         * paragraph_funcs.C: ditto
2220
2221 2004-11-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2222
2223         * bufferlist.C (exists): use bind and equal_to instead of
2224         compare_memfun
2225         (getBuffer): ditto
2226         * lyxtextclasslist.C (NumberOfClass): ditto
2227
2228         * cursor.C (insert): use for_each instead of explicit for loop
2229
2230         * bufferlist.C (getFileNames): use std::transform and
2231         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2232
2233         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2234         for loop
2235
2236         * buffer.C (changeLanguage): use for_each instead of explicit for
2237         loop
2238         (hasParWithID): implement using getParFromID
2239
2240         * LaTeXFeatures.C: ws change only
2241
2242         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2243         to cleanup a bit.
2244
2245         * BufferView_pimpl.C (trackChanges): use for_each instead of
2246         expilicit for loop
2247
2248 2004-11-04  André Pönitz  <poenitz@gmx.net>
2249
2250         * undo.h:
2251         * undo.C (textUndoOrRedo): fix crash when creating undo information.
2252
2253         * dociterator.C (asDocIterator): use hard assert again.
2254
2255 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2256
2257         * lyxlength.C (asLatexString): rewrite so that it does not use
2258         snprintf anymore
2259
2260 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2261
2262         * text3.C (specialChar, dispatch): make sure cursor moves to the
2263         right after inserting an inset
2264
2265 2004-11-02  José Matos  <jamatos@lyx.org>
2266
2267         * output_docbook.C (docbook):
2268         * paragraph.C (getID):
2269         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2270         garantee that the output is always legal.
2271
2272         * tabular.C (docbook):
2273         * outputprams.[Ch]: remove mixed contents.
2274
2275 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2276
2277         * text2.C (setCounter): prevent endless loop
2278
2279 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2280
2281         * exporter.C (copyFile): use the mover instead of support::copy()
2282         * exporter.C (Export): pass format and latex name to copyFile()
2283         * exporter.h (addExternalFile): document
2284         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2285
2286 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2287
2288         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2289
2290 2004-10-30  José Matos  <jamatos@lyx.org>
2291
2292         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2293         text and no inset or font change. This allows to use CDATA
2294         sections just for the whole paragraph.
2295
2296 2004-10-30  José Matos  <jamatos@lyx.org>
2297
2298         * paragraph.C (getFirstWord): remove unused variable.
2299
2300 2004-10-30  José Matos  <jamatos@lyx.org>
2301
2302         * paragraph.C (getFirstWord): the content should always be escaped
2303         there.
2304         (simpleDocBookOnePar):
2305         * output_docbook.C (makeEnvironment): replace reference to CDATA
2306         to style pass_thru.
2307
2308 2004-10-30  José Matos  <jamatos@lyx.org>
2309
2310         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2311
2312 2004-10-30  José Matos  <jamatos@lyx.org>
2313
2314         * output_docbook.C (makeParagraphs):
2315         * paragraph.[Ch] (emptyTag): for docbook and company, if the
2316         standard paragraph has only a given type of content drop the wrapper.
2317
2318 2004-10-29  José Matos  <jamatos@lyx.org>
2319
2320         * output_docbook.C (makeEnvironment):
2321         * sgml.C (openTag):
2322         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2323
2324 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
2325
2326         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2327         (cleanID): sanitize any id.
2328
2329 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2330
2331         * buffer.C, lyxlex_pimpl.C:
2332         * lyxlex_pimpl.C (setFile):
2333         s/getExtFromContents/getFormatFromContents/
2334
2335 2004-10-28  José Matos  <jamatos@lyx.org>
2336
2337         * output_docbook.C (makeEnvironment): move id to broadest possible
2338         scope.
2339
2340         * sgml.C (openTag): apply substitution of <> for all attributes.
2341
2342 2004-10-28  José Matos  <jamatos@lyx.org>
2343
2344         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2345         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2346         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2347
2348         * sgml.[Ch]: new version for open and closeTag for paragraph and
2349         for strings. Now they handle the ids of paragraphs.
2350
2351 2004-10-26  Angus Leeming  <leeming@lyx.org>
2352
2353         * Makefile.am: add mover.[Ch].
2354
2355         * converter.C (convert, move): use the new Movers to move external
2356         files to the temp directory.
2357
2358         * lyx_main.C (init): ensure that the global system_movers data
2359         is initialised.
2360
2361         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2362         preferences file.
2363
2364         * mover.[Ch]: new files, defining a Mover as a utility to move an
2365         external file between directories and, if necessary, manipulate this
2366         file using a helper script.
2367
2368 2004-10-25  José Matos  <jamatos@lyx.org>
2369
2370         * output_docbook.C (makeCommand): merge two if's that tested the
2371         same condition.
2372
2373 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2374
2375         * sgml.C (escapeString): fix warning in a better way
2376
2377 2004-10-25  José Matos  <jamatos@lyx.org>
2378
2379         * sgml.C (escapeString): import the require boosts header file for
2380         tie, and avoid a signed unsigned comparison.
2381
2382 2004-10-25  José Matos  <jamatos@lyx.org>
2383
2384         * sgml.h: add #include <string>
2385
2386 2004-10-25  José Matos  <jamatos@lyx.org>
2387
2388         * sgml.[Ch] (escapeString): new function to escape all the string.
2389
2390 2004-10-24  José Matos  <jamatos@lyx.org>
2391
2392         * paragraph.[Ch] (getFirstWord): new function to get the first
2393         word. Useful for description.
2394         (simpleDocBookOnePar): remove depth argument, add another that
2395         says where to start the paragraph.
2396
2397         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2398         use the new functions to fix cleanly the support for descriptions.
2399
2400 2004-10-24  José Matos  <jamatos@lyx.org>
2401
2402         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2403         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2404         * output_linuxdoc.C (linuxdocParagraphs):
2405         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2406         add buffer as argument.
2407
2408 2004-10-24  José Matos  <jamatos@lyx.org>
2409
2410         * output_docbook.C (makeEnvironment, searchEnvironment): place
2411         CDATA inside paragraphs and fix scope for listitems.
2412
2413 2004-10-24  José Matos  <jamatos@lyx.org>
2414
2415         * output_docbook.C: remove using statement for stack.
2416
2417 2004-10-23  José Matos  <jamatos@lyx.org>
2418
2419         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2420         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2421         docbook. The new scheme is recursive and makes use of iterators, the
2422         same as latex export works.
2423         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2424         directly with the paragraph contents. This code was moved up to
2425         output_docbook.C (docbookParagraphs).
2426         * sgml.C (openTag, closeTag): removed unneeded newlines.
2427         (closeEnvTags) removed.
2428
2429 2004-10-23  André Pönitz  <poenitz@gmx.net>
2430
2431         * undo.C (textUndoOrRedo):
2432         * dociterator.C (asDocIterator): work around crash
2433
2434         * cursor.C (getStatus): replace ASSERT by more verbose error message
2435           and manual correction of the problem. Should increase stability
2436           while providing more sensible information.
2437
2438 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2439
2440         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2441
2442         * bufferlist.C (previous, next): new methods
2443
2444         * lfuns.h:
2445         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2446
2447 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
2448
2449         * buffer.C (makeDocBookFile): add dsssl stylesheet control
2450         entities to preamble.
2451
2452 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2453
2454         * messages.C (Pimpl): strip off translation context information
2455
2456 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2457
2458         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2459         the cursor is correct (bug 1694)
2460
2461 2004-10-13  José Matos  <jamatos@lyx.org>
2462
2463         * output_docbook.C (docbookParagraphs): fix closing tags in the
2464         end of the document.
2465
2466 2004-10-09  José Matos  <jamatos@lyx.org>
2467
2468         * buffer.C: format up to 237.
2469         * bufferparams.C (write): use tostr to convert booleans to strings.
2470
2471 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
2472
2473         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2474
2475 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
2476
2477         * LaTeX.C: implement use of babel language in xindy.
2478
2479 2004-10-05  José Matos  <jamatos@lyx.org>
2480
2481         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2482         Add new translators to help reading and writing the lyx file.
2483
2484 2004-10-05  José Matos  <jamatos@lyx.org>
2485
2486         * ParagraphParameters.C (read):
2487         * text.C (readParToken): replace nexToken by more appropriate lex
2488         methods.
2489
2490 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
2491
2492         * LaTeX.C (runMakeIndex):
2493         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2494         (usually 'makeindex') configurable.
2495
2496         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2497         with a variable rather than with a number.
2498
2499 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2500
2501         * output_latex.C (TeXOnePar): make sure font setting is the first
2502         thing that gets output (and the last at the end). Should fix bug
2503         1404.
2504
2505 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2506
2507         * pch.h: use proper signal include
2508
2509         * LaTeX.h: Use preferred calling of Boost.Signal
2510         * buffer.h: ditto
2511
2512 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2513
2514         * pch.h: dont include <boost/function/function0.hpp>
2515
2516         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2517
2518         * paragraph_pimpl.h: remove usage of ShareContainer
2519
2520         * paragraph_pimpl.C: remove initialization of ShareContainer.
2521
2522 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2523
2524         Fix bug #1666
2525
2526         * BufferView.C (putSelectionAt): change the semantics when
2527         backwards == true: now, this just swaps cursor and anchor wrt the
2528         forward case
2529
2530         * BufferView.h (putSelectionAt): add some documentation
2531
2532         * lyxfind.C (findBackwards): rewrite using while(). In particular,
2533         make sure backwardChar is done at least once (to avoid getting
2534         stuck)
2535         (findNextChange): use putSelectionAt in the forward direction
2536         (operator()): use Paragraph::isWord
2537
2538 2004-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2539
2540         * Spacing.C (set): c_str fix
2541
2542 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2543
2544         * lyx_cb.C (Reconfigure): quote the name of configure script in
2545         case it contains spaces
2546
2547 2004-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2548
2549         * client: new dir
2550
2551         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2552         (BOOST_LIBS): use top_buildir when looking for the file
2553
2554 2004-08-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2555
2556         * pch.h: do not use include boost/format.hpp, multiple symbols
2557                 will result (gcc bug)
2558
2559
2560 2004-08-23  José Matos  <jamatos@lyx.org>
2561
2562         * bufferparams.C (readToken): fix reading of the author field.
2563
2564 2004-08-20  José Matos  <jamatos@lyx.org>
2565
2566         * lyxrc.C: remove support/translator.h inclusion since it is not used.
2567
2568 2004-08-20  José Matos  <jamatos@lyx.org>
2569
2570         * lyxlex.[Ch] (findToken): remove function.
2571
2572         * ParagraphParameters.C (findToken):
2573         * bufferparams.C (findToken): replace call for previous function
2574         with local copy. This local function has one more argument, the
2575         read string argument.
2576
2577 2004-08-16  José Matos  <jamatos@lyx.org>
2578
2579         * ParagraphParameters.C (write):
2580         * Spacing.C (writeFile):
2581         * bufferparams.C (writeLaTeX):
2582         * lyx_cb.C (Reconfigure):
2583         * paragraph.C (write):
2584         * tabular.C (write): remove unnecessary space at end of line.
2585
2586
2587 2004-08-16  José Matos  <jamatos@lyx.org>
2588
2589         * text.C (readParagraph): remove debug message.
2590
2591 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2592
2593         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2594         crash
2595
2596         * output_plaintext.C (asciiParagraph): set depth correctly
2597
2598         * outputparams.h: add member depth
2599
2600         * paragraph_funcs.C (ownerPar): remove.
2601
2602         * text2.C (setCounter): remove first_pit; comment out some
2603         non-working code that uses ownerPar
2604
2605         * BufferView.C (getParentLanguage): remove. Not used anymore, and
2606         uses ownerPar
2607
2608 2004-08-16  José Matos  <jamatos@lyx.org>
2609
2610         * text.C (readParToken, readParagraph, read): report all unknown tokens.
2611         For the same level of importance use the same chanel to report problems.
2612         (read): add code to deal with \begin_body and \end_body.
2613
2614
2615 2004-08-15  José Matos  <jamatos@lyx.org>
2616
2617         * lyxlex.C (getString): fix comment, buffer::readBody is now
2618         buffer:readDocument.
2619
2620         * tex-strings.C (string_papersize): Default -> default,
2621         Custom -> custom, for consistency with other options.
2622
2623 2004-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2624
2625         * pch.h: new file
2626
2627         * Makefile.am: support pch
2628
2629 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2630
2631         * text.C (readParToken): remove the static LyXFont variable and
2632         pass it as a parameter instead. This fixes a nasty bug where an
2633         inset will be inserted with a bad font in some situations
2634         (readParagraph): adapt
2635
2636         * text2.C (setCounter): reduce number of calls to pars_[pit]
2637
2638         * text.C (singleWidth): add an assert, fix a test
2639
2640         * rowpainter.C (paintText): reduce number of calls to singleWidth
2641
2642         * paragraph.C (isHfill):
2643         (isNewline): ws only
2644
2645 2004-08-14  André Pönitz  <poenitz@gmx.net>
2646
2647         * text.C:
2648         * text2.C:
2649         * rowpainter.C:
2650         * lyxtext.h (several functions): use a Paragraph & argument
2651         instead of par_type
2652
2653 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2654
2655         * metricsinfo.h: add a new field ltr_pos to PainterInfo
2656
2657         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2658
2659         * text.C (singleWidth): remove useless test
2660
2661 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2662
2663         * tabular.h: remove bogus comments
2664
2665         * tabular.C (getDescentOfRow):
2666         (isPartOfMultiColumn): add assertions
2667
2668         * lyxlength.C (inPixels): remove #warning
2669
2670 2004-08-14  André Pönitz  <poenitz@gmx.net>
2671
2672         * paragraph.h: inline getChar()
2673
2674         * BufferView.h: remove unused declarations
2675
2676 2004-08-14  José Matos  <jamatos@lyx.org>
2677
2678         * Buffer.[Ch] (readDocument): new name for old readBody.
2679         * Buffer.C: new file format, new keywords: \begin_document,
2680         \begin_header, \begin_body, \end_body.
2681
2682         * bufferparams.C (readToken): replace all calls to lex.nextToken
2683         by lex.next(). Do the same to eatLine except where really needed.
2684
2685         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2686         line when writing to the lyx file.
2687
2688         * output_plaintext.C (asciiParagraph): fix Bibliography style
2689         handling.
2690
2691         * text.C (read): fix end of file handling.
2692
2693 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2694
2695         * MenuBackend.C (Menu::operator[]): new method to access
2696         individual menu items
2697         (Menu::hasFunc): new method. search for an item that corresponds
2698         to a given func
2699         (MenuBackend::specialMenu): new method
2700         (MenuBackend::expand): if a special menu has been set, skip
2701         entries whose func() appears in this menu
2702
2703 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2704
2705         * text3.C: use Debug::DEBUG a bit more
2706
2707         * text.C (leftMargin): try to simplify a tiny bit change var x to
2708         l_margin. Dont output the wide margins always.
2709         (rightMargin): no margin in inner texts
2710
2711         * rowpainter.h (nestMargin): new func
2712         (changebarMargin): new func
2713         (rightMargin): new func
2714
2715         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2716         now functions.
2717         (paintLast): ditto
2718
2719         * factory.C (createInset): modify setDrawFrame
2720
2721         * cursor.C: use Debug::DEBUG a bit more
2722
2723 2004-08-14  André Pönitz  <poenitz@gmx.net>
2724
2725         * coordcache.[Ch]:
2726         * Makefile.am: new files to accomodate an 'external' (x,y)-position
2727         cache for all insets in (at least partially) visible (top-level)
2728         paragraphs.
2729
2730         * BufferView_pimpl.C: reset external coord cache before every update.
2731         This means the coord cache only contains valid entries.
2732
2733 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2734
2735         bug 1096
2736         * BufferView_pimpl.C (getInsetByCode): move function out of class
2737         and change in to a template in anon namespace. Also fix to do what
2738         suits us better.
2739
2740 2004-08-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
2741
2742         bug 1305
2743         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2744         of char
2745         (breakParagraph): rename par to par_offset and use a local
2746         reference. Add code to keep the language over a rebreak.
2747         (breakParagraphConservative): rename par to par_offset, use a
2748         local reference
2749         (mergeParagraph): ditto
2750         (outerHook): ditto
2751         (isFirstInSequence): ditto
2752         (outerFont): rename pit to par_offset
2753
2754         * paragraph.C: ws change
2755         * paragraph.h: ditto
2756         * text3.C: ditto
2757         * text.C: ditto
2758
2759 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2760
2761         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2762         treatment for ']'
2763
2764         * paragraph.C (simpleTeXOnePar): when we have a \item with
2765         optional argument, enclose the argument with curly brackets (in
2766         case it contains a closing square bracket)
2767
2768         * text2.C (editXY):
2769         * text2.C (editXY):
2770         * text3.C (checkInsetHit): constify
2771
2772 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2773
2774         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2775         documents (bug 1629)
2776
2777 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2778
2779         Fix toggling of collapsable insets with the mouse (bug 1558)
2780
2781         * lyxfunc.C (dispatch): adapt to LCursor changes
2782
2783         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2784         make sure that dispatch is not invoked twice
2785
2786         * cursor.C (needsUpdate): new method
2787         (dispatch): return void
2788         (result): new method, to access the DispatchResult of the cursor.
2789
2790 2004-08-13  José Matos  <jamatos@lyx.org>
2791
2792         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2793
2794 2004-08-13  André Pönitz  <poenitz@gmx.net>
2795
2796         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2797
2798         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2799           multiple cells
2800
2801 2004-08-12  André Pönitz  <poenitz@gmx.net>
2802
2803         * text3.C: take out the 'cursor right' form insertInset and only
2804         do it in those places when it is really needed. Fixes crash on
2805         C-m...
2806
2807 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2808
2809         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2810
2811         * BufferView_pimpl.C (setBuffer): initialize the current font of
2812         the underlying LyXText
2813
2814 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2815
2816         * kbsequence.C (print): use UI native formatting for menu
2817         shortcuts
2818
2819         * text.C (insertChar): call Paragraph::insertChar with a font
2820         argument (cosmetic)
2821
2822         * paragraph.C (insertInset, insertChar): the version that takes a
2823         LyXFont argument is now a wrapper around the other one (the
2824         opposite used to be true).
2825
2826         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2827         argument. Font setting is done in Paragraph now.
2828
2829 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2830
2831         * outputparams.h: add new members intitle and lang.
2832
2833         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2834         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2835
2836 2004-08-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2837
2838         * text3.C (dispatch): remove special handling of button 4 and 5,
2839         it is now taken care of in the frontend code.
2840
2841 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2842
2843         * Spacing.h: add <string> (STLPort compile fix)
2844
2845 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2846
2847         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2848
2849 2004-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2850
2851         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2852         to bool.
2853
2854         * converter.C (showMessage): inherit from unary_function, make
2855         operator() const.
2856
2857         * buffer.C (writeFile): initialize retval
2858
2859         * InsetList.h: rename private variable list to list_
2860         * InsetList.[Ch]: adjust accordingly.
2861
2862 2004-07-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2863
2864         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2865         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2866         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2867         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2868         * ParagraphParameters.C, LaTeXFeatures.C: replace
2869         "support/std_sstream.h" with <sstream>
2870
2871 2004-07-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2872
2873         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2874         * lyxsocket.C (LyXServerSocket): ditto
2875         (serverCallback): ditto
2876
2877 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2878
2879         * LaTeXFeatures.C: check release date when loading jurabib.
2880
2881 2004-07-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2882
2883         * lyxserver.C (startPipe): call register_socket_callback
2884         (endPipe): call unregister_socket_callback
2885
2886 2004-07-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2887
2888         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2889         (LyXServerSocket): register the callback
2890         (LyXServerSocket): unregister the callback
2891         (fd): delete function
2892         (serverCallback): improve error checking and setup the callbacks.
2893         (dataCallback): change arg to fd.
2894         (writeln): new func (copied fro the client socket) used for server
2895         write to client.
2896         (LyXDataSocket): simplify
2897         (~LyXDataSocket): close ann unregiser callback
2898         (server): delete function
2899         (fd): delete function
2900         (readln): small changes, improve some std::string usage
2901         (writeln): constify a bit
2902
2903 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2904
2905         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2906         Qt frontend
2907
2908 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2909
2910         * BufferView_pimpl.C (setBuffer): set the layout combox value only
2911         after it has been populated
2912
2913 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2914
2915         * text2.C (insertInset): move cursor when inserting inset.
2916
2917 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2918
2919         * kbmap.C (findbindings): a couple of new methods. returns a
2920         container of kb_sequence objects. The real work is done by the
2921         private recursive version
2922         (printbindings): uses findbindings to print out a bracketed list
2923         of bindings (renamed from findbinding).
2924
2925         * MenuBackend.C (binding): use kb_keymap::findbindings
2926
2927         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2928
2929 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2930
2931         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2932
2933 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2934
2935         * paragraph.C (isWord): return true on insets that report
2936         isLetter().
2937
2938         * text.C (getWord): use Paragraph::isWord to decide what is in a
2939         word and what is not; fix bug 1609.
2940
2941 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2942
2943         * tex-strings.C: add "none" to string_paperpackages[], fixes
2944         off-by-one-error in the paperpackage selection.
2945
2946         * lyxlex.[Ch]:
2947         * tex-strings.[Ch]: char const * string[n]
2948         -> char const * const string[]
2949
2950 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2951
2952         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2953         command, return early.
2954
2955 2004-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2956
2957         * debug.h: add DEBUG to enum and fix size of ANY.
2958
2959         * debug.C: add support for Debug::DEBUG
2960         (showTags): cast errorTags.level to unsigned int
2961
2962         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2963         (redoCurrentBuffer): ditto
2964         (updateScrollbar): ditto
2965         * cursor.C (dispatch): ditto
2966         * text2.C (setLayout): ditto
2967         (setFont): ditto
2968         (updateCounters): ditto
2969         (editXY): ditto
2970         (deleteEmptyParagraphMechanism): ditto
2971
2972 2004-06-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
2973
2974         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2975         annotations to cleanup the Makefile slightly.
2976
2977 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2978
2979         * lyxrc.C: do not set user_email to a default value but use empty
2980         instead. The entry used to be translated, which does not work
2981         since at the point where lyxrc is constructed there is no
2982         translation service available
2983
2984         * messages.C (getLocaleDir): remove and use directly
2985         lyx_localedir() instead
2986
2987 2004-06-02  Angus Leeming  <leeming@lyx.org>
2988
2989         Fix crash caused by dereferencing null pointer 'exportdata' in
2990         OutputParams by creating a new ExportData variable on the heap,
2991         storing it in a boost::shared_ptr.
2992         The crash was triggered when generating an Instant Preview
2993         of an external inset.
2994
2995         * Makefile.am: add outputparams.C
2996
2997         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2998         (c-tor): allocate memory to it.
2999
3000         * exporter.C (c-tor): associated changes.
3001
3002 2004-06-01  Angus Leeming  <leeming@lyx.org>
3003
3004         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
3005         contains data before calling isInset(0). (Bug 1513.)
3006
3007 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3008
3009         * exporter.C (checkOverwrite): new method
3010         * exporter.C (copyFile): new method
3011         * exporter.C (Export): copy referenced files to the document dir
3012         * exporter.[Ch]: new class ExportedFile
3013         * exporter.[Ch]: new class ExportData. Contains currently the
3014         names of referenced external files
3015         * outputparams.h: add exportdata member.
3016
3017 2004-05-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3018
3019         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
3020         version.C-tmp
3021
3022 2004-05-19  Angus Leeming  <leeming@lyx.org>
3023
3024         * LaTeXFeatures.C:
3025         * ToolbarBackend.C:
3026         * bufferparams.C:
3027         * lyxfunc.C: small changes due to the introduction of namespace
3028         lyx::frontend and the moving of namespace biblio to lyx::biblio.
3029
3030 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
3031
3032         * text3.C (dispatch): supress update when only moving the cursor
3033         * cursor.C (selHandle): remove commented code
3034
3035 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3036
3037         * paragraph.C (startTeXParParams): correct column count
3038         * CutAndPaste.C (pasteSelection): remove const_cast
3039         * output_docbook.C (docbookParagraphs): remove const_cast
3040         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
3041         const_cast and return ParagraphList::const_iterator
3042         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
3043         * output_plaintext.C (writeFileAscii): remove const_cast
3044         * paragraph.[Ch] (simpleTeXOnePar): make const
3045         * paragraph_funcs.C (outerPar): use const iterators
3046         * paragraph_pimpl.C (validate): use const iterators
3047         * text.C (setHeightOfRow): use const iterators
3048
3049 2004-05-17  Angus Leeming  <leeming@lyx.org>
3050
3051         * lfuns.h:
3052         * LyXAction.C (init): new LFUN_INSET_REFRESH.
3053
3054         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
3055         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
3056         if the citation engine has changed.
3057
3058 2004-05-14  José Matos  <jamatos@lyx.org>
3059
3060         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
3061         if the textclass does not provide it. Have it different for sgml and
3062         xml.
3063         support the language of document.
3064         * output_docbook.C (docbookParagraphs):
3065         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
3066         first anchor as the id of the paragraph, remove special case code.
3067         * sgml.C (escapeChar): escape only < & >.
3068
3069 2004-05-14  Angus Leeming  <leeming@lyx.org>
3070
3071         * bufferparams.h: move biblio::CiteEngine enum here to minimize
3072         dependencies on src/frontends/controllers/biblio.h. Define a
3073         CiteEngine_enum wrapper class to enable the enum to be forward
3074         declared.
3075
3076 2004-05-12  Angus Leeming  <leeming@lyx.org>
3077
3078         * buffer.C: up LYX_FORMAT to 234.
3079         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
3080         use_numerical_citations with a single biblio::CiteEngine cite_engine
3081         variable.
3082         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
3083
3084 2004-05-13  José Matos  <jamatos@lyx.org>
3085
3086         * converter.h:
3087         * converter.C (Converter, readFlags): add xml member.
3088         * outputparams.h: add XML flavor.
3089         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
3090
3091 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3092
3093         * lyxfunc.C (dispatch):
3094         (getStatus): fix handling of LFUN_SEQUENCE
3095
3096 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3097
3098         * debug.C (showLevel): do not forget the end-of-line marker
3099
3100 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3101
3102         * kbmap.C (read): do not stop parsing a bind file when an error
3103         occurs (bug 1575)
3104
3105 2004-04-29  Angus Leeming  <leeming@lyx.org>
3106
3107         * cursor.C:
3108         * factory.C:
3109         * pariterator.C:
3110         * text2.C: wrap a bunch of #warning statements
3111         inside #ifdef WITH_WARNINGS blocks.
3112
3113 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3114
3115         * buffer.C: increment format to 233.
3116
3117 2004-04-28  Angus Leeming  <leeming@lyx.org>
3118
3119         * BufferView_pimpl.C:
3120         * lyxfunc.C:
3121         * text3.C:
3122         s/updateToolbar()/updateToolbars()/
3123         s/Toolbar.h/Toolbars.h/
3124
3125 2004-04-28  Angus Leeming  <leeming@lyx.org>
3126
3127         * BufferView.[Ch] (c-tor):
3128         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
3129         No longer passes these data to the WorkArea generator.
3130
3131 2004-04-28  Angus Leeming  <leeming@lyx.org>
3132
3133         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
3134
3135 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3136
3137         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
3138
3139 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3140
3141         * output_latex.C (TeXEnvironment): make sure that there is a line
3142         break before \end{foo} for the last paragraph of a document
3143         (TeXOnePar): if the paragraph is at the end of the document (or
3144         inset) and the language has to be reset, then make sure that the
3145         line break is _before_ the language command, not after (fixes bug
3146         1225); also make sure that the language reset command is the first
3147         thing after the paragraph (to ensure proper nesting of
3148         environments and thus fix bug 1404)
3149
3150 2004-04-21  John Levon  <levon@movementarian.org>
3151
3152         * ToolbarBackend.h:
3153         * ToolbarBackend.C: make "name" be a programmatic name
3154         and a gui_name field.
3155
3156         * lyxfunc.C: display the minibuffer on M-x
3157
3158 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3159
3160         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3161         (bug 1526)
3162
3163 2004-04-19  Angus Leeming  <leeming@lyx.org>
3164
3165         * BufferView_pimpl.C (setBuffer): changed preview interface.
3166
3167         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3168         possible values.
3169
3170 2004-04-19  John Levon  <levon@movementarian.org>
3171
3172         * BufferView_pimpl.C:
3173         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3174
3175 2004-04-05  Angus Leeming  <leeming@lyx.org>
3176
3177         * text.C (redoParagraphs): add call to updateCounters(), thereby
3178         fixing the missing "Figure #:" label from the caption of a
3179         figure float.
3180
3181 2004-04-13  Angus Leeming  <leeming@lyx.org>
3182
3183         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3184         cursor is clicked out of an inset.
3185
3186 2004-04-13  Angus Leeming  <leeming@lyx.org>
3187
3188         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3189         than an InsetOld one.
3190
3191 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3192
3193         * format.[Ch]: add editor to Format
3194         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3195         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3196
3197 2004-04-08  André Pönitz  <poenitz@gmx.net>
3198
3199         * metricsinfo.h: remove PainterInfo::width member
3200
3201 2004-04-08  Angus Leeming  <leeming@lyx.org>
3202
3203         * lyx_sty.C (boldsymbol_def): modify so that it outputs
3204         "\providecommand" rather than "\newcommand", thereby preventing
3205         clashes with packages that define "\boldsymbol" themselves.
3206         Eg, beamer.
3207
3208 2004-04-08  Angus Leeming  <leeming@lyx.org>
3209
3210         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3211         thereby squashing an unnecessary warning.
3212
3213 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3214
3215         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3216         setBuffer()
3217
3218 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
3219
3220         * BufferView.C (setCursor): call redoParagraph (some insets could
3221         have been opened)
3222         (putSelectionAt): remove the 'double update' trick
3223
3224         * BufferView_pimpl.C (fitCursor): call refreshPar
3225         (workAreaDispatch): remove an uneeded update call
3226         (dispatch): remove some manual update calls
3227
3228         * cursor.[Ch]: remove cached_y_, updatePos
3229         (selHandle): set noUpdate when appropriate
3230
3231         * lyxfunc.C (dispatch): track if we need an update
3232
3233         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3234
3235         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3236         (paintSelection): cheap optimization, do not call cursorX when not
3237         needed
3238         (paintPars): change signature
3239         (refreshPar): add
3240         (paintText): adjust
3241         (paintTextInset): adjust
3242
3243         * text.C: adjust
3244
3245 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3246
3247         * lengthcommon.C: compilation fix: remove explicit array size from
3248         unit_name[] and friends
3249
3250 2004-04-05  Angus Leeming  <leeming@lyx.org>
3251
3252         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3253
3254         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3255         present only for the preferences dialog.
3256         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3257
3258 2004-04-05  Angus Leeming  <leeming@lyx.org>
3259
3260         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3261         to enable the frontends to export changes to lyxrc correctly.
3262
3263         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3264
3265 2004-04-07  André Pönitz  <poenitz@gmx.net>
3266
3267         * cursor.[Ch] (selClear, adjust): remove math
3268
3269         * cursor_slice.C: more agressive assert
3270
3271         * lyxfunc.C:
3272         * BufferView_pimpl.C: rework mouse event dispatch
3273
3274         * dociterator.C:
3275         * paragraph.C:
3276         * text2.C:
3277         * text3.C: adjust
3278
3279 2004-04-05  André Pönitz  <poenitz@gmx.net>
3280
3281         * cursor.[Ch] (valign, halign...): remove unneeded functions
3282
3283 2004-04-05  Angus Leeming  <leeming@lyx.org>
3284
3285         * lyxlength.[Ch] (unit_name et al.): const-correct.
3286
3287 2004-04-05  Angus Leeming  <leeming@lyx.org>
3288
3289         * BufferView_pimpl.C:
3290         * buffer.C:
3291         * counters.C:
3292         * cursor.C:
3293         * lyxfunc.C
3294         * paragraph.C:
3295         * pariterator.C:
3296         * text.C:
3297         * text2.C:
3298         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3299
3300 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3301
3302         * text3.C (getStatus): add LFUN_BEGINNINGBUF
3303
3304 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3305
3306         * lyxfind.C: add a couple of inTexted() tests + other small fixes
3307         * BufferView_pimpl.[Ch] (getStatus)
3308         * BufferView.[Ch] (getStatus): add
3309         * lyxfunc.C (getStatus): move lfuns handled in
3310         BufferView::dispatch to te function above
3311         * Cursor.C (setSelection): set selection() = true
3312
3313 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3314
3315         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3316
3317 2004-03-31  Angus Leeming  <leeming@lyx.org>
3318
3319         * lyxfunc.C (dispatch): Fall through to the generic
3320         Dialogs::show("preamble").
3321
3322 2004-03-31  Angus Leeming  <leeming@lyx.org>
3323
3324         * lyxfunc.C (dispatch): Fall through to the generic
3325         Dialogs::show("spellchecker").
3326
3327 2004-03-31  Angus Leeming  <leeming@lyx.org>
3328
3329         * lyxfunc.C (getStatus, dispatch): changed invocation of the
3330         preferences dialog.
3331
3332 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3333
3334         * BufferView.C
3335         * cursor.[Ch]
3336         * dociterator.[Ch]:
3337         * insetiterator.[Ch]:
3338         * lyxfind.C:
3339         * lyxfunc.C:
3340         * pariterator.[Ch]:
3341         * text2.C:
3342         * undo.[Ch]: s/DocumentIterator/DocIterator/g
3343
3344 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3345
3346         * BufferView.C (setCursor, putSelectionAt): call edit to open the
3347         insets where we are putting the cursor.
3348
3349 2004-03-31  Angus Leeming  <leeming@lyx.org>
3350
3351         * lfuns.h:
3352         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3353
3354         * lyxrc.[Ch] (read, write): overloaded member functions taking
3355         a std::[io]stream arguments.
3356
3357         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3358
3359 2004-03-31  Angus Leeming  <leeming@lyx.org>
3360
3361         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3362         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3363
3364         * lyxtextclass.C (load): if the text class couldn't be loaded, then
3365         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3366
3367 2004-03-31  Angus Leeming  <leeming@lyx.org>
3368
3369         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3370         the LFUN_ALL_INSETS_TOGGLE code.
3371
3372 2004-03-30  Angus Leeming  <leeming@lyx.org>
3373
3374         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3375         has died. Fall through to the generic Dialogs::show("document").
3376
3377 2004-03-30  Angus Leeming  <leeming@lyx.org>
3378
3379         * lfuns.h:
3380         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3381         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3382
3383         * lyxfunc.C (getStatus, dispatch): define the actions for these
3384         lfuns. Little more than a cut and pste job from ControlDocument.C
3385
3386         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3387
3388 2004-03-30  Angus Leeming  <leeming@lyx.org>
3389
3390         * lfuns.h:
3391         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3392         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3393
3394         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3395         open/closed state of ollapsable insets. Usage:
3396
3397         all-inset-toggle <state> <name>, where
3398         <state> == "open" || "closed" || "toggle" and
3399         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3400
3401         * lyxtext.h, text2.C (toggleInset): removed.
3402
3403         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3404         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3405         now passes LFUN_INSET_TOGGLE to the found inset.
3406
3407         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3408         is now invoked as "all-insets-toggle toggle branch".
3409
3410 2004-03-30  Angus Leeming  <leeming@lyx.org>
3411
3412         * dociterator.C:
3413         * insetiterator.C:
3414         * pariterator.[Ch]: added/corrected header blurb.
3415
3416 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
3417
3418         * dociterator.[Ch]: add an inset_ member
3419         (backwardPos): implemented
3420         (backwardPos, forwardPos): use inset_ when the stack is empty.
3421         (doc_iterator_begin, doc_iterator_end): implemented
3422         * pariterator.[Ch]: adjust, add begin, end
3423         * insetiterator.[Ch]: adjust, add begin, end
3424         * cursor.C:
3425         * document.C:
3426         * BufferView.C:
3427         * BufferView_pimpl.C:
3428         * CutAndPaste.C: adjust
3429
3430 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3431
3432         * buffer.C: increment file format to 232.
3433         * LaTeXFeatures.C: add bibtopic package.
3434         * bufferparams.[Ch]: param \use_bibtopic.
3435
3436         * lyxrc.[Ch]: add lyxrc bibtex_command
3437         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3438
3439         * buffer.C: increment file format to 231.
3440
3441 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3442
3443         * dociterator.C: implement forwardPar
3444         * iterators.[Ch]: remove, replaced by
3445         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3446         * BufferView.C:
3447         * BufferView_pimpl.C:
3448         * CutAndPaste.C:
3449         * buffer.C:
3450         * bufferview_funcs.C:
3451         * cursor.C:
3452         * lyxfind.C
3453         * lyxfunc.C
3454         * paragraph_funcs.C
3455         * toc.C:
3456         * Makefile.am: adjust
3457
3458 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3459
3460         * CutAndPaste.C (pasteSelection): fix 2 crashes
3461         (eraseSelection): fix a crash
3462         * paragraph_funcs.C: remove a warning
3463
3464 2004-03-28  Angus Leeming  <leeming@lyx.org>
3465
3466         * lfuns.h:
3467         * LyXAction.C (init): new LFUN_PRINT.
3468
3469         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3470
3471 2004-03-27  Angus Leeming  <leeming@lyx.org>
3472
3473         * lfuns.h:
3474         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3475
3476         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3477
3478 2004-03-27  Angus Leeming  <leeming@lyx.org>
3479
3480         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3481         insetlist always contains non-null pointers to insets.
3482
3483 2004-03-26  Angus Leeming  <leeming@lyx.org>
3484
3485         * src/BufferView_pimpl.C:
3486         * src/CutAndPaste.C:
3487         * src/buffer.C:
3488         * src/iterators.C:
3489         * src/output_plaintext.C:
3490         * src/outputparams.h:
3491         * src/paragraph_funcs.C:
3492         * src/rowpainter.C:
3493         * src/text.C:
3494         * src/text2.C:
3495         * src/frontends/controllers/ControlErrorList.C:
3496         * src/frontends/gtk/FileDialogPrivate.C:
3497         * src/frontends/gtk/GPainter.C:
3498         * src/frontends/gtk/GToolbar.C:
3499         * src/frontends/qt2/QRef.C:
3500         * src/mathed/math_scriptinset.C: squash compiler warnings.
3501
3502 2004-03-26  Angus Leeming  <leeming@lyx.org>
3503
3504         * ispell.C (LaunchIspell::start):
3505         * lyx_cb.C (AutoSaveBuffer::start):
3506         invoke run(DontWait) rather than runNonBlocking().
3507
3508 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
3509
3510         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3511
3512 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3513
3514         * kbsequence.C (print): adjust
3515
3516         * kbmap.C (printKeySym): rename and change signature
3517         (printKey): use LyXKeySym::print()
3518
3519 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
3520
3521         * undo.C: add using std::advance to compile for stlport
3522
3523 2004-03-24  Angus Leeming  <leeming@lyx.org>
3524
3525         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3526         it leads to a crash when no buffer is present.
3527
3528 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3529             Martin Vermeer  <martin.vermeer@hut.fi>
3530
3531         * lyxfunc.C (dispatch):
3532         * bufferparams.C (readToken): use the new LColor::setColor
3533
3534         * LColor.[Ch] (setColor): new version that takes two strings as
3535         argument and creates a new color entry if necessary
3536
3537 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3538
3539         * buffer.C (makeLaTeXFile): if the main latex file that is
3540         processed is usually a subdocument of some master, then pretend
3541         for a while that it is actually the master
3542
3543 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3544
3545         * buffer.C (getLabelList):
3546         (getBibkeyList): use getMasterBuffer()
3547         (getMasterBuffer): new method. Returns the main document in the
3548         case where one is using included documents.
3549
3550 2004-03-25  André Pönitz  <poenitz@gmx.net>
3551
3552         * Makefile.am:
3553         * iterators.[Ch]:
3554         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3555
3556         * ParagraphList_fwd.h: change ParagraphList to a std::vector
3557
3558         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3559         text*.C over here. Rename namespace CutAndPaste to lyx::cap
3560
3561         * ParameterStruct.h: merge with ParagraphParameters
3562
3563         * lyxtext.h: remove LyXText::parOffset() and getPar()
3564
3565         * text3.C: Remove all 'manual' update calls. We do now one per user
3566         interaction which is completely sufficient.
3567
3568         * Bidi.C:
3569         * BufferView.[Ch]:
3570         * BufferView_pimpl.C:
3571         * FontIterator.[Ch]:
3572         * MenuBackend.C:
3573         * ParagraphParameters.[Ch]:
3574         * buffer.C:
3575         * buffer.h:
3576         * bufferlist.C:
3577         * cursor.[Ch]:
3578         * cursor_slice.[Ch]:
3579         * dociterator.[Ch]:
3580         * errorlist.[Ch]:
3581         * factory.C:
3582         * lfuns.h:
3583         * lyxfind.C:
3584         * lyxfunc.C:
3585         * output_docbook.[Ch]:
3586         * output_latex.[Ch]:
3587         * output_linuxdoc.[Ch]:
3588         * output_plaintext.[Ch]:
3589         * paragraph.[Ch]:
3590         * paragraph_funcs.[Ch]:
3591         * paragraph_pimpl.[Ch]:
3592         * rowpainter.C:
3593         * tabular.[Ch]:
3594         * text.C:
3595         * text2.C:
3596         * toc.C:
3597         * undo.[Ch]: adjust
3598
3599         * frontends/controllers/ControlDocument.C:
3600         * frontends/controllers/ControlErrorList.C:
3601         * frontends/controllers/ControlSpellchecker.C:
3602         * insets/inset.C:
3603         * insets/inset.h:
3604         * insets/insetbase.h:
3605         * insets/insetbibitem.C:
3606         * insets/insetbox.C:
3607         * insets/insetbranch.C:
3608         * insets/insetcaption.C:
3609         * insets/insetcharstyle.C:
3610         * insets/insetcharstyle.h:
3611         * insets/insetcollapsable.C:
3612         * insets/insetcollapsable.h:
3613         * insets/insetert.C:
3614         * insets/insetfloat.C:
3615         * insets/insetfoot.C:
3616         * insets/insetmarginal.C:
3617         * insets/insetnote.C:
3618         * insets/insetoptarg.C:
3619         * insets/insettabular.C:
3620         * insets/insettext.C:
3621         * insets/insettext.h:
3622         * insets/insetwrap.C:
3623         * mathed/math_mboxinset.C:
3624         * mathed/math_nestinset.C:
3625         * mathed/math_scriptinset.C:
3626         * mathed/math_scriptinset.h:
3627         * support/types.h:
3628
3629 2004-03-24  Angus Leeming  <leeming@lyx.org>
3630
3631         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3632         deal with any child processes that have finished but are waiting to
3633         communicate this fact to the rest of LyX.
3634
3635 2004-03-24  Angus Leeming  <leeming@lyx.org>
3636
3637         64-bit compile fixes.
3638
3639         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3640         (c-tor): pass lyx::pos_types rather than ints.
3641
3642         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3643         lyx::pos_type.
3644
3645         * text.C (Delete): compile fix.
3646         (getPar): ensure that function declaration is the same as that in
3647         the header file.
3648
3649 2004-03-23  Angus Leeming  <leeming@lyx.org>
3650
3651         * ispell.C (LaunchIspell):
3652         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3653         a boost::shred_ptr rather than a std::auto_ptr.
3654
3655 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3656
3657         * lyxfunc.C (getStatus): handle read-only buffers correctly;
3658         handle LFUN_FILE_INSERT_*
3659
3660         * lyxrc.C (setDefaults, getDescription, output, read):
3661         * lyxrc.h: remove ps_command
3662
3663 2004-03-22  Angus Leeming  <leeming@lyx.org>
3664
3665         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3666         Ensure that error_handler is processed once only and that all data
3667         is saved before attempting to output any warning messages.
3668
3669         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3670
3671 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
3672
3673         * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3674
3675 2004-03-19  André Pönitz  <poenitz@gmx.net>
3676
3677         * cursor.[Ch] (reset): take main text inset as argument
3678
3679         * BufferView: adjust
3680         * BufferView_pimpl.C: adjust
3681
3682         * paragraph.[Ch]: fix completely broken operator=()
3683
3684 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3685
3686         * LColor.C (getFromLyXName): make sure that the color name is used
3687         as lowercase.
3688
3689 2004-03-17  Angus Leeming  <leeming@lyx.org>
3690
3691         * lfuns.h:
3692         * LyXAction.C (init): remove LFUN_FORKS_KILL.
3693
3694         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3695         dialog and to kill a forked process.
3696
3697 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3698
3699         * text2.C (setCursorFromCoordinates): fix font problem
3700
3701 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3702
3703         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3704         bogus "rebuild cursor" code
3705
3706 2004-03-11  André Pönitz  <poenitz@gmx.net>
3707
3708         * buffer.[Ch]: use InsetText instead of LyXText as container for
3709         the main lyx text.
3710
3711         * dociterator.[Ch]: drop the BufferView * member which is not needed
3712         anymore after the change to buffer.C
3713
3714         * paragraph_funcs.C:
3715         * text.C:
3716         * text2.C:
3717         * BufferView.[Ch]:
3718         * BufferView_pimpl.[Ch]:
3719         * cursor.[Ch]:
3720         * cursor_slice.[Ch]: adjust
3721
3722         * text3.C: fix bug in mathDispatch
3723
3724 2004-03-08  André Pönitz  <poenitz@gmx.net>
3725
3726         * undo.[Ch]: use 'StableDocumentIterator' as base for
3727         the Undo struct.
3728
3729 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3730
3731         * LaTeXFeatures.C:
3732         * bufferparams.[Ch]: add jurabib support and param.
3733
3734         * LaTeX.C: add FIXME/comment.
3735
3736 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3737
3738         * buffer.C: increment file format to 230.
3739
3740 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
3741
3742         * cursor.C (dispatch): avoid infinite loops
3743
3744 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3745
3746         * rowpainter.C (paintSelection): fix x coordinates
3747
3748 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3749
3750         * text.C (rowBreakPoint): fix breaking before displayed insets
3751
3752 2004-03-01  André Pönitz  <poenitz@gmx.net>
3753
3754         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3755
3756         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3757
3758         * Makefile.am:
3759         * BufferView.C:
3760         * BufferView_pimpl.C:
3761         * buffer.C:
3762         * lyxfind.C:
3763         * lyxfunc.C:
3764         * text.C:
3765         * text2.C:
3766         * text3.C: adjust
3767
3768 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3769
3770         * lyxtext.h:
3771         * text.C:
3772         * text2.C:
3773         * rowpainter.C:
3774         * BufferView_pimpl.C: rename textwidth -> maxwidth,
3775         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3776
3777 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3778
3779         * Bidi.[Ch] (computeTables): const correctness
3780         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3781         fill_hfill, fill_label_hfill and x from Row
3782         * lyxtext.h: prepareToPrint returns a RowMetrics
3783         * rowPainter.C: adjust
3784         * text.C (prepareToPrint): use width, not textWidth. adjust
3785         (redoParagraphInternal, cursorX): adjust
3786         * text2.C (getColumnNearX): adjust
3787         (init): put a default value to the top LyXText::width
3788
3789 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3790
3791         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3792
3793 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3794
3795         * lyxtext.h: add FontIterator class
3796
3797         * text.C (FontIterator, operator*, operator->, operator++): add
3798         (rowBreakPoint, setRowWidth): adjust (fixing a
3799         rebreaking bug)
3800
3801 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3802
3803         * BufferView_pimpl.C (workAreaDispatch): allow also
3804         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3805
3806 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
3807
3808         * text.C (rowBreakPoint): fix a bug showing with very large insets
3809
3810 2004-02-25  André Pönitz  <poenitz@gmx.net>
3811
3812         * text3.C:
3813         * cursor.[Ch]: move some mathed specific code to mathed
3814
3815 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3816
3817         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3818         use_tempdir in preferences
3819         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3820         tempfile creation
3821         * lyx_main.C: ensure that tempdir is valid
3822         * lyxlex.h: correct typo
3823         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3824         * paragraph.[Ch] (isMultiLingual): make const
3825         * cursor.[Ch] (openable): make const
3826
3827 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3828
3829         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3830
3831 2004-02-20  André Pönitz  <poenitz@gmx.net>
3832
3833         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3834
3835         * cursor.[Ch]: prepare for localized getStatus()
3836
3837         * lyxtext.h:
3838         * tabular.C:
3839         * text.C:
3840         * text2.C:
3841         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
3842
3843 2004-02-20  André Pönitz  <poenitz@gmx.net>
3844
3845         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3846
3847 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3848
3849         * text2.C (setCursorFromCoordinates): switch to absolute coords
3850         (cursorUp): adjust
3851         (cursorDown): adjust
3852         * text3.C (dispatch): adjust
3853
3854 2004-02-16  André Pönitz  <poenitz@gmx.net>
3855
3856         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3857           insets/ChangeLog)
3858
3859         * cursor_slice.[Ch]: remove unneeded acessor function
3860
3861         * lyxtext.h: rename rtl() to isRTL()
3862
3863         * rowpainter.C:
3864         * tabular.C:
3865         * text.C:
3866         * text2.C:
3867         * text3.C: adjust
3868
3869 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3870
3871         * rowpainter.C (paintSelection): coord fix
3872
3873 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
3874
3875         * Spacing.C: compile fix
3876
3877 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3878
3879         * cursor.C (dispatch): restore current_ before returning
3880
3881 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3882
3883         * text2.C (cursorUp, cursorDown): fix coords
3884         (moveUp): fix crash
3885
3886 2004-02-12  André Pönitz  <poenitz@gmx.net>
3887
3888         * lyxtext.h:
3889         * text.C:
3890         * text2.C:
3891         * text3.C: add LCursor & parameter to most cursor movement functions
3892           remove usage of LyXText::cursorRow() and cursorPar()
3893
3894         * cursor.[Ch]: add textRow() needed members
3895
3896         * BufferView.C:
3897         * BufferView_pimpl.C:
3898         * paragraph.[Ch]:
3899         * BufferView.C:
3900         * BufferView_pimpl.C: adjust
3901
3902 2004-02-11  André Pönitz  <poenitz@gmx.net>
3903
3904         * lyxfunc.C:
3905         * BufferView.[Ch]:
3906         * BufferView_pimpl.C: shift undo/redo handling
3907
3908         * cursor.[Ch]: fix mathed crash
3909
3910         * lyxfind.C:
3911         * lyxtext.h: move selectionAsText to LCursor
3912
3913         * output_latex.C:
3914         * paragraph.C:
3915         * text.C:
3916         * text2.C:
3917         * text3.C: adjust
3918
3919         * rowpainter.C: fix excessive drawing
3920
3921 2004-02-06  André Pönitz  <poenitz@gmx.net>
3922
3923         * BufferView.[Ch]:
3924         * BufferView_pimpl.[Ch]:
3925         * text3.C: move some text specific LFUN handling
3926
3927 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
3928
3929         * text3.C (checkInsetHit): adjust coords
3930         * text2.C (getColumnNearX): adjust coords
3931         (edit): adjust coords
3932         * text.C (getRowNearY): add two asserts
3933
3934 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
3935
3936         * converter.C:
3937         * format.C: add using std::distance to compile on gcc 2.95/stlport
3938
3939 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
3940
3941         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3942
3943 2004-02-04  André Pönitz  <poenitz@gmx.net>
3944
3945         * BufferView.[Ch] (insertInset):
3946         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3947
3948         * text2.C:
3949         * text3.C: adjust
3950
3951 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3952
3953         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3954         on the default clause of the switch
3955         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3956         wasn't catched by LCursor::dispatch
3957
3958 2004-02-03  André Pönitz  <poenitz@gmx.net>
3959
3960         * BufferView.C:
3961         * cursor.[Ch]: some additional asserts
3962
3963         * undo.[Ch]: remove LyXText dependency in interface
3964
3965         * lyxfunc.C: adjust
3966
3967         * lyxtext.h (firstPar, lastPar): remove dead functions
3968
3969         * text.C:
3970         * text2.C:
3971         * text3.C:
3972         * paragraph.[Ch]: adjust
3973
3974 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3975
3976         * lyxfind.C (find): fix argument order in call to ::find
3977
3978 2004-02-02  André Pönitz  <poenitz@gmx.net>
3979
3980         * cursor.[Ch]: remove direct access to anchor
3981
3982         * text.C: remove findText() hack
3983
3984 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3985
3986         * iterators.[Ch] (lockPath): remove in favour of...
3987         * BufferView.[Ch] (setCursor): this addition
3988         * BufferView.C (putSelectionAt): adjust
3989         * undo.C (performUndoOrRedo): adjust
3990         * lyxfunc.C (dispatch): adjust
3991
3992 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3993
3994         * iterators.C (lockPath): add a missing slice
3995         * undo.C (performUndoOrRedo): remove redundant positioning code
3996
3997 2004-02-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3998
3999         * vc-backend.C (scanMaster): ";" -> ';'
4000
4001 2004-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4002
4003         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
4004         std::binary_function
4005
4006         * lyxtextclass.C (compare_name): rename to...
4007         (LayoutNamesEqual): ...this
4008
4009         * lyxlex_pimpl.C (compare_tags): inherit from
4010         std::binary_function, put back into anon namespace
4011
4012         * lyxfind.C (MatchString): inherig from std::binary_function
4013         (findChange): use empty() istead of !size()
4014
4015         * format.C (FormatNamesEqual): new functor
4016         (getFormat): use it
4017         (getNumber): use it
4018         (add): use it
4019         (erase): use it
4020         (setViewer): use it
4021
4022         * converter.C (compare_Converter): rename to...
4023         (ConverterEqual): ...this, and fixup a bit.
4024         (getConverter): use it, and make function const
4025         (getNumber): use it, and make function const
4026         (add): use it
4027         (erase): use it:
4028
4029         * bufferlist.C: add using boost::bind
4030
4031         * MenuBackend.C (MenuNamesEqual): new functor
4032         (hasMenu): use it, and make function const
4033         (hasSubmenu): use nested bind to get rid of compare_memfun.
4034
4035 2004-01-30  André Pönitz  <poenitz@gmx.net>
4036
4037         * BufferView_pimpl.C:
4038         * cursor.C:
4039         * cursor.h:
4040         * cursor_slice.[Ch]:
4041         * lyxfunc.C:
4042         * lyxtext.h:
4043         * paragraph_funcs.C:
4044         * paragraph_funcs.h:
4045         * rowpainter.C:
4046         * text.C:
4047         * text2.C:
4048         * text3.C: move some of the edit(x,y) handling to the insets
4049         some coordinate changes.
4050
4051 2004-01-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4052
4053         * text.C: add using statements for std::advance and std::distance
4054
4055         * paragraph.C: add using statement for std::distance
4056
4057         * lyxfind.C: add using statement for std::advance
4058
4059         * cursor.C (region): remove std:: from swap
4060         (openable): use nucleus in stead of operator->
4061
4062         * BufferView.C: add using statements for std::distance and std::swap
4063
4064 2004-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4065
4066         * iterators.C: Remove the pimple, move the needed structures to
4067         the header file. Create accessor for the positions stack.
4068         (asPosIterator): remove function
4069
4070         * PosIterator.C (PosIterator): move constructors to top of file
4071         (PosIterator): reimplement the constructor taking a ParIterator in
4072         terms of setFrom.
4073         (setFrom): new function
4074         (operator!=): inline it
4075
4076 2004-01-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4077
4078         * lyxfind.C (replaceAll): use std::advance
4079
4080         * iterators.h: inherit from std::iterator.
4081
4082         * PosIterator.C (advance, distance): remove
4083         * PosIterator.h: interit from std::iterator.
4084
4085 2004-01-26  André Pönitz  <poenitz@gmx.net>
4086
4087         * BufferView.[Ch]:
4088         * BufferView_pimpl.[Ch]:
4089         * InsetList.[Ch]:
4090         * PosIterator.[Ch]:
4091         * buffer.h:
4092         * bufferview_funcs.C:
4093         * cursor.[Ch]:
4094         * cursor_slice.h:
4095         * factory.[Ch]:
4096         * iterators.[Ch]:
4097         * lyxfind.C:
4098         * lyxfunc.C:
4099         * lyxtext.h:
4100         * output_docbook.C:
4101         * output_latex.C:
4102         * output_linuxdoc.C:
4103         * output_plaintext.C:
4104         * paragraph.[Ch]:
4105         * paragraph_funcs.[Ch]:
4106         * paragraph_pimpl.[Ch]:
4107         * rowpainter.C:
4108         * tabular.C:
4109         * tabular.h:
4110         * text.C:
4111         * text2.C:
4112         * text3.C: more IU:  dumps most of the rest of the mathcursor
4113     implementation into cursor.[Ch]; "globalize" a bit of it.
4114
4115 2004-01-25  Angus Leeming  <leeming@lyx.org>
4116
4117         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
4118
4119 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4120
4121         * LaTeXFeatures.h: add nice_ and nice() const
4122         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
4123
4124 2004-01-20  André Pönitz  <poenitz@gmx.net>
4125
4126         * BufferView.[Ch]:
4127         * BufferView_pimpl.C:
4128         * PosIterator.C:
4129         * bufferview_funcs.C:
4130         * cursor.[Ch]:
4131         * cursor_slice.[Ch]:
4132         * factory.C:
4133         * iterators.C:
4134         * lyx_cb.C:
4135         * lyxfind.C:
4136         * lyxfunc.C:
4137         * lyxtext.h:
4138         * rowpainter.C:
4139         * text.C:
4140         * text2.C:
4141         * text3.C:
4142         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
4143           LCursor and mathcursor parts to LCursor and InsetBase.
4144
4145 2004-01-15  André Pönitz  <poenitz@gmx.net>
4146
4147         * cursor_slice.[Ch]: add a few covienience functions
4148
4149         * funcrequest.[Ch]: remove BufferView * member
4150
4151         * BufferView_pimpl.C:
4152         * cursor.C:
4153         * factory.[Ch]:
4154         * lyxfind.[Ch]:
4155         * lyxfunc.C:
4156         * lyxtext.h:
4157         * text3.C:
4158         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4159
4160 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
4161
4162         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4163         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4164
4165 2004-01-13  André Pönitz  <poenitz@gmx.net>
4166
4167         * textcursor.[Ch]:
4168         * lyxtext.h: hide cursor and selection anchor behind accessor function
4169
4170         * BufferView.C:
4171         * BufferView_pimpl.[Ch]:
4172         * PosIterator.C:
4173         * bufferview_funcs.C:
4174         * cursor.h:
4175         * lyxfind.C:
4176         * lyxfunc.C:
4177         * text.C:
4178         * text2.C:
4179         * text3.C:
4180         * undo.C: adjust
4181
4182         * cursor.h:
4183         * cursor_slice.[Ch]: some integer type changes for inset unification
4184
4185         * lyxcursor.[hC]: remove, it's CursorSlice now.
4186
4187         * Makefile.am:
4188         * BufferView_pimpl.[Ch]:
4189         * bufferview_funcs.C:
4190         * cursor_slice.C:
4191         * lyxtext.h:
4192         * text.C:
4193         * text2.C:
4194         * text3.C:
4195         * textcursor.[Ch]: adjust
4196
4197 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
4198
4199         * text2.C (undoSpan): add and use
4200         * text.C (breakParagraph): use undoSpan (fix bug 578)
4201         * lyxtext.h: adjust
4202
4203 2004-01-08  Angus Leeming  <leeming@lyx.org>
4204
4205         * BufferView_pimpl.C (MenuInsertLyXFile):
4206         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4207         * lyxfunc.C (menuNew, open, doImport):
4208         FileFilterList change to the FileDialog open and save functions.
4209
4210 2004-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4211
4212         * ShareContainer.h: make isEqual and isUnique adaptable
4213
4214         * CutAndPaste.C: make resetOwnerAndChanges adaptable
4215
4216 2004-01-07  Angus Leeming  <leeming@lyx.org>
4217
4218         * LyXAction.C:
4219         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4220
4221         * BufferView_pimpl.C (dispatch): act on these LFUNs.
4222
4223         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4224         functions replacing find, replace and replaceAll.
4225
4226         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4227         LFUN_WORDFIND(FORWARD|BACKWARD).
4228
4229 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4230
4231         * text.C (breakParagraph): remove an outdated #warning
4232
4233 2004-01-07  André Pönitz  <poenitz@gmx.net>
4234
4235         * lyxfind.C: somewhat clearer logic
4236
4237         * text.C: prevent crash in cursorX on unitialized row cache
4238
4239 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4240
4241         * lyxcursor.[Ch] (operator>): add
4242         * textcursor.C (selStart, selEnd): use std::min and std::max
4243
4244 2004-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4245
4246         * Chktex.C: include boost/format.hpp
4247
4248 2004-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4249
4250         * InsetList.C: replace functor MathcIt with adaptable functor
4251         InsetTablePosLess
4252         (insetIterator): modify accordingly
4253
4254         * BranchList.h: move the BranchNamesEqual functor here from...
4255         * BranchList.C: ... to here
4256
4257         * BranchList.C: new BranchListEqual fuctor, use it. Remove
4258         SameName and match.
4259         (add): replace a finding loop with std::find_if.
4260
4261 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
4262
4263         * output_docbook.C: moving LatexParam functionality into
4264         .layout files
4265
4266 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4267
4268         * buffer.C: increment format to 229.
4269
4270 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
4271
4272         * LaTeXFeatures.C:
4273         * lyx_sty.[Ch]: remove minipageindent_def
4274
4275         * LyXAction.C:
4276         * factory.C:
4277         * lfuns.h:
4278         * lyxfunc.C:
4279         * text3.C: remove LFUN_INSET_MINIPAGE
4280
4281 2003-12-28  Angus Leeming  <leeming@lyx.org>
4282
4283         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4284
4285 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
4286
4287         * text2.C (setParagraph): fix off-by-one crash
4288
4289 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
4290
4291         * output_docbook.C: header stuff for AGU
4292
4293 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
4294
4295         * text2.C (redoCursor): remove
4296         * text.C:
4297         * text3.C:
4298         * BufferView_pimpl.C: remove calls to redoCursor and
4299         setCursor(cursor.par(), cursor.pos()) all around
4300
4301 2003-12-15  Angus Leeming  <leeming@lyx.org>
4302
4303         * buffer.C: up the format to 228.
4304
4305 2003-12-15  André Pönitz  <poenitz@gmx.net>
4306
4307         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4308         slices
4309
4310         * Makefile.am:
4311
4312         * BufferView_pimpl.C:
4313         * cursor.[Ch]:
4314         * lyxcursor.[Ch]:
4315         * rowpainter.[Ch]:
4316         * lyxtext.h:
4317         * text.C:
4318         * text2.C:
4319         * text3.C: adjust
4320
4321 2003-12-15  Angus Leeming  <leeming@lyx.org>
4322
4323         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4324         than getFromGUIName to manipulate the color.
4325
4326 2003-12-14  Angus Leeming  <leeming@lyx.org>
4327
4328         * BranchList.[Ch]: minimize the API.
4329         (Branch::getBranch, getColor): now return a 'const &'.
4330         (Branch::setSelected) now returns a bool set to true if the
4331         selection status changes.
4332         (BranchList::clear, size, getColor, setColor, setSelected,
4333         allBranches, allSelected, separator): removed.
4334         (BranchList::find): new functions, returning the Branch with
4335         the given name.
4336         (BranchList::add, remove): return a bool indicating that
4337         the operation was successful.
4338
4339         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4340         new InsetBranch::isBranchSlected member function.
4341
4342         * LColor.[Ch]: mimimize the API.
4343         (fill): renamed as addColor and made private.
4344         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4345         versions of these functions taking a string arg have been removed.
4346
4347         * bufferparams.C (readToken):
4348         * lyxfunc.C (dispatch):
4349         * lyxrc.C (read): changes due to the altered BranchList and
4350         LColor APIs.
4351
4352         * factory.C (createInset, readInset): changes due to altered
4353         InsetBranch c-tor.
4354
4355 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4356
4357         * factory.C:
4358         * lyxfunc.C: remove insetminipage. "minipage-insert"
4359         now produces a frameless minipage box inset.
4360
4361 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4362
4363         * textcursor.[Ch] (selStart,selEnd): add new methods
4364         remove selection::start, end, use LyXCursor::operator<
4365         * lyxcursor.[Ch] (operator<): add
4366         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4367         * BufferView.[Ch] (unsetXSel): add
4368         * text2.C (clearSelection): use unsetXSel,adjust
4369         * text.C: adjust
4370         * text3.C: adjust
4371         * rowpainter.C: adjust
4372         * bufferview_funcs.C (put_selection_at): adjust
4373
4374 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4375
4376         * BufferView_pimpl.C: small coord. correction
4377
4378 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4379
4380         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4381         dragging over the splash screen.
4382
4383 2003-12-11  Angus Leeming  <leeming@lyx.org>
4384
4385         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4386         as it is now handled in LyXText::dispatch.
4387
4388         * text3.C (doInsertInset): remove a level of nesting.
4389
4390 2003-12-11  Angus Leeming  <leeming@lyx.org>
4391
4392         * factory.C (createInset): changes due to the changed interface to
4393         InsetCommandMailer::string2params.
4394
4395 2003-12-10  Angus Leeming  <leeming@lyx.org>
4396
4397         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4398         'dialog-show-new-inset <inset name>'
4399
4400 2003-12-10  Angus Leeming  <leeming@lyx.org>
4401
4402         * buffer.C: up the format to 227.
4403
4404         * factory.C: the box inset is now identified simply by 'Box'.
4405
4406 2003-12-10  Angus Leeming  <leeming@lyx.org>
4407
4408         * buffer.C: up the format to 226.
4409
4410         * factory.C: the note inset is now identified simply by 'Note'.
4411
4412 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
4413
4414         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4415         when a pit is enough. Standarize a couple of loops.
4416
4417 2003-12-05  Angus Leeming  <leeming@lyx.org>
4418
4419         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4420         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4421         data to the re-worked "log" dialog.
4422
4423 2003-12-03  André Pönitz  <poenitz@gmx.net>
4424
4425         * PosIterator.C:
4426         * iterators.C:
4427         * lyxtext.h:
4428         * output_latex.C:
4429         * paragraph_funcs.C:
4430         * text.C:
4431         * text2.C: use Inset::getText instead of Inset::getParagraph
4432
4433 2003-12-03  André Pönitz  <poenitz@gmx.net>
4434
4435         * buffer.[Ch]:
4436         * lyxtext.h:
4437         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4438         InsetText::read() as LyXText::read()
4439
4440 2003-12-02  Angus Leeming  <leeming@lyx.org>
4441
4442         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4443         type. Add a comment in the implementation that the function uses
4444         the stream's bad() function rather than fail() as the std::streams
4445         would do.
4446
4447 2003-12-02  André Pönitz  <poenitz@gmx.net>
4448
4449         * lyxlex.[Ch]: make interface more similar to std::stream
4450
4451         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4452
4453 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
4454
4455         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4456
4457 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
4458
4459         * vspace.[Ch]: remove VSpace::NONE
4460
4461 2003-12-01  André Pönitz  <poenitz@gmx.net>
4462
4463         * buffer.[Ch]:
4464         * lyxtext.h: move ParagraphList member to LyXText
4465         rename LyXText::ownerParagraphs to LyXText::paragraph
4466
4467         * CutAndPaste.C:
4468         * bufferview_funcs.C:
4469         * iterators.[Ch]:
4470         * lyx_cb.C:
4471         * paragraph.C:
4472         * rowpainter.C:
4473         * tabular.C:
4474         * text.C:
4475         * text2.C:
4476         * text3.C: adjust
4477
4478         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4479
4480         * undo.C: fix cursor positioning
4481
4482 2003-12-01  John Levon  <levon@movementarian.org>
4483
4484         * BufferView_pimpl.C: fix a crash on exit with
4485         a buffer open
4486
4487 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
4488
4489         * BranchList.C: fix setSelected() method.
4490
4491 2003-11-28  André Pönitz  <poenitz@gmx.net>
4492
4493         * ParagraphParameters.[Ch]:
4494         * ParameterStruct.h: remove space above/below from Paragraph to
4495          InsetVSpace
4496
4497         * BufferView_pimpl.C:
4498         * factory.C:
4499         * lyxfunc.C:
4500         * lyxtext.h:
4501         * output_latex.C:
4502         * paragraph.C:
4503         * paragraph_funcs.C:
4504         * rowpainter.[Ch]:
4505         * text.C:
4506         * text2.C:
4507         * text3.C: adjust
4508
4509 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
4510
4511         * factory.C: Syntax change for CharStyles
4512
4513 2003-11-28  André Pönitz  <poenitz@gmx.net>
4514
4515         * BufferView.[Ch]:
4516         * BufferView.[Ch]:
4517         * buffer.[Ch]:
4518         * buffer.[Ch]: move LyXText member
4519
4520 2003-11-28  André Pönitz  <poenitz@gmx.net>
4521
4522         * BufferView.[Ch]: make LyXText * text a private member
4523
4524         * BufferView_pimpl.C:
4525         * cursor.C:
4526         * iterators.C:
4527         * lyx_cb.C:
4528         * lyxfind.C:
4529         * lyxtext.h:
4530         * rowpainter.[Ch]:
4531         * text.C:
4532         * text2.C:
4533         * undo.C: adjust
4534
4535         * output_plaintext.C: cleanup
4536
4537 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4538
4539         * buffer.C:
4540         * lyxtextclass.[Ch]: parametrize SGML document header
4541
4542 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4543
4544         * converter.[Ch]:
4545         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4546         getFlavor().
4547
4548 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
4549
4550         * text2.C (setFont): rework using PosIterator (no more recursive)
4551         (setCharFont): no more needed
4552         (setLayout): no more selection cursors fiddling (done by redoCursor)
4553         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4554         destroy remaining ones)
4555
4556 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
4557
4558         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4559         * lyxtext.h: ditto
4560         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4561         selection cursors
4562         * lyxfunc.C: adjust
4563         * text3.C: adjust + re-allow multi par depth changes
4564         * textcursor.C: simplify a bit
4565
4566 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
4567
4568         * src/buffer.C:
4569         * src/lyxlayout.C:
4570         * src/lyxlayout.h:
4571         * src/lyxtext.h:
4572         * src/output_docbook.C:
4573         * src/output_latex.C:
4574         * src/paragraph.C:
4575         * src/paragraph.h:
4576         * src/sgml.C:
4577         * src/sgml.h:
4578         * src/text2.C: Introducing a number of tags parametrizing various
4579         XML formats that we may want to support
4580
4581 2003-11-25  André Pönitz  <poenitz@gmx.net>
4582
4583         * InsetList.[Ch] (begein, end): inline as suggested by profiler
4584
4585         * lyxtext.h (leftMargin/rightMargin): simplify interface
4586
4587         * rowpainter.C:
4588         * text.C:
4589         * text2.C:
4590         * text3.C: adjust
4591
4592 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4593
4594         * lyxfunc.C (dispatch): propogate the bibtex databases from the
4595         master file to any child files. Fixes bug 546.
4596
4597 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4598
4599         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4600
4601 2003-11-24  André Pönitz  <poenitz@gmx.net>
4602
4603         * rowpainter.C: simplification
4604
4605         * text2.C (updateCounters): remove call to redoParagraph on
4606         changed labels as this is far too expensive.
4607
4608 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4609
4610         * converter.C (convert): fix a crash: this function gets
4611         called with buffer == 0 from importer code.
4612
4613 2003-11-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4614
4615         * text3.C (cursorPrevious): make sure that we do not compare
4616         iterators form different containers.
4617         (cursorNext): ditto
4618
4619         * rowpainter.C (paintSelection): make sure that we do not compare
4620         iterators from different containers.
4621
4622         * text3.C (dispatch): [PRIOR] make sure that we do not compare
4623         iterators from different ParagraphList containers.
4624         [NEXT] ditto
4625
4626         * text2.C (LyXText): change order of initialization slightly
4627         (operator=): new function. copy all variables except cache_par_
4628         (moveUp): make sure that we do not compare iterators from
4629         different ParagraphList constainers.
4630         (moveDown): ditto
4631
4632         * text.C (firstPar): new function
4633         (lastPar): new function
4634         (endPar): new function
4635
4636         * lyxtext.h: move things around and group public functions, public
4637         variables, private functions, private variables
4638
4639 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
4640
4641         * factory.C: change call to InsetERT constructor to avoid
4642         additional invocation of method status
4643         * text2.C (toggleInset): remove redundant update() call
4644         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4645         instead of a Bufferview pointer
4646
4647 2003-11-21  André Pönitz  <poenitz@gmx.net>
4648
4649         * rowpainter.C: simplification
4650
4651 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4652
4653         * text3.C (dispatch): make possible to extend a word/row selection
4654         with the mouse
4655
4656 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4657
4658         * lyxtext.h: x0_,y0_ -> xo_,yo_
4659         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4660         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4661         * rowpainter.C (paintRows): paint full paragraphs
4662
4663 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4664
4665         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4666         screen coordinates)
4667
4668 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4669
4670         * lyxtext.h: add x0_, y0_
4671         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4672         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4673
4674 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
4675
4676         * text2.C (setCursorIntern): move the x_target update here *
4677         * text3.C: change some bv() to true/false in calls to
4678         cursorUp/Down/Right/Left
4679         * cursor.C: use helper function.
4680
4681 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4682
4683         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4684         * paragraph_funcs.[Ch]: correct comment
4685         * rowpainter.C: do not paint selections away from bv->cursor()
4686         Fix a long standing selection painting bug.
4687         * text3.C: generalize mouse-selection code to LyXTexts other that
4688         top one
4689         * textcursor.C: do not use y coords if we can use par offsets
4690
4691 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4692
4693         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4694         cursor position after e.g. inset insert)
4695
4696 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
4697
4698         * lyxfind.C (replace): adjust to locking removal + some
4699         code simplification
4700
4701 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
4702
4703         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4704         of the path
4705
4706 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
4707
4708         * lyxlayout.[Ch]:
4709         * output_docbook.C: XML sanitation: new layout
4710         parameters InnerTag and CommandDepth
4711
4712 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
4713
4714         * BufferView_pimpl.C:
4715         * factory.C:
4716         * text3.C: Fix the insertion and modification of button-style
4717         insets
4718
4719 2003-11-13  André Pönitz  <poenitz@gmx.net>
4720
4721         * InsetList.[Ch]: remove deleteLyXText
4722
4723         * paragraph.[Ch]: cache beginOfBody position
4724
4725         * Bidi.C:
4726         * text.C:
4727         * text2.C:
4728         * text3.C: remove superfluous update() calls
4729
4730         * vspace.C: cleanup
4731
4732 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
4733
4734         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4735         * BufferView.C (fitLockedInsetCursor): remove
4736         * cursor.[Ch] (getDim): add
4737         * text.C (getRowNearY): add faster version
4738         * text3.C: remove some update calls
4739
4740 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
4741
4742         * LaTeXFeatures.C:
4743         * LyXAction.C:
4744         * MenuBackend.C:
4745         * MenuBackend.h:
4746         * dispatchresult.h:
4747         * factory.C:
4748         * lfuns.h:
4749         * lyxfunc.C:
4750         * lyxtextclass.C:
4751         * lyxtextclass.h:
4752         * text3.C: The Character Style /XML short element patch.
4753
4754 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
4755
4756         * text3.C:
4757         * factory.C: Small step to solving 'unable to insert some insets'
4758         problem
4759
4760 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
4761
4762         * cursor.[Ch] (updatePos): new function for updating the y
4763         position of the tip inset
4764         * bufferview_funcs.C (put_selection_at):
4765         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4766
4767 2003-11-11  André Pönitz  <poenitz@gmx.net>
4768
4769         * text.C: remove big comment on invalid Paragraph pointers as it is
4770         not valid anymore
4771
4772 2003-11-11  André Pönitz  <poenitz@gmx.net>
4773
4774         * text_funcs.[Ch]: merge with ...
4775
4776         * text.C: ... this
4777
4778         * lyxtext.h:
4779         * text2.C:
4780         * text3.C: adjust
4781
4782         * Makefile.am: remove text_funcs.[Ch]
4783
4784 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
4785
4786         * cursor.C (getPos): return absolute cached y coord
4787
4788         * BufferView_pimpl.C (fitCursor): new simplistic code
4789         (workAreaDispatch): add a fitCursor call
4790
4791 2003-11-10  André Pönitz  <poenitz@gmx.net>
4792
4793         * BufferView.[Ch]:
4794         * BufferView_pimpl.[Ch]: merge update() and updateInset()
4795
4796 2003-11-10  André Pönitz  <poenitz@gmx.net>
4797
4798         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4799         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4800         indicate that the cursor needs to leave an inset
4801
4802         * lyxtext.h: remove inset locking
4803
4804         * cursor.[Ch]: re-implement functionality provided by inset locking
4805
4806         * BufferView.[Ch]:
4807         * BufferView_pimpl.[Ch]:
4808         * LyXAction.C:
4809         * bufferview_funcs.[Ch]:
4810         * factory.C:
4811         * funcrequest.[Ch]:
4812         * iterators.C:
4813         * lyx_cb.C:
4814         * lyxfind.C:
4815         * lyxfunc.C:
4816         * text.C:
4817         * text2.C:
4818         * text3.C:
4819         * undo.C: adjust
4820
4821 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
4822
4823         * PosIterator.[Ch]: replace the stack with a vector, add inset
4824         accesor
4825         * iterators.[C]: adjust
4826
4827 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4828
4829         * lyxfind.C (replaceAll): mark the buffer dirty if something was
4830         replaced
4831         * paragraph_funcs.C (readParToken): put the correct id in the
4832         error item, not the id of the top paragraph
4833
4834 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4835
4836         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4837         * bufferview_funcs.C (put_selection_at): use the above
4838
4839 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4840
4841         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4842
4843 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4844
4845         * output_linuxdoc.h:
4846         * output_plaintext.h:
4847         * output.h:
4848         * output_docbook.h: add #include statements
4849
4850 2003-11-05  José Matos  <jamatos@lyx.org>
4851
4852         * output_docbook.[Ch]:
4853         * output_latex.[Ch]:
4854         * output_linuxdoc.[Ch]:
4855         * output_plaintext.[Ch]: New files for output formats.
4856         * output.[Ch]: New file for helper functions.
4857
4858         * buffer.[Ch]:
4859         * paragraph_funcs.[Ch]: output functions moved to new files.
4860
4861         * outputparams.h: rename of latexrunparams.h
4862
4863         * LaTeX.[Ch]:
4864         * buffer.[Ch]:
4865         * bufferlist.[Ch]:
4866         * converter.[Ch]:
4867         * exporter.C:
4868         * paragraph.[Ch]:
4869         * paragraph_funcs.[Ch]:
4870         * paragraph_pimpl.[Ch]:
4871         * tabular.[Ch]: rename ascii to plaintext
4872         and LatexRunParams to OutputParams.
4873
4874 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4875
4876         * iterators.[Ch] (text): require bv argument
4877         * undo.C (recordUndo):
4878         * lyxfunc.C (dispatch):
4879         * bufferview_funcs.C (put_selection_at): adjust
4880
4881 2003-11-05  Jo� Luis M. Assirati  <assirati@fma.if.usp.br>
4882
4883         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4884
4885 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4886
4887         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4888         nestings
4889
4890 2003-11-04  André Pönitz  <poenitz@gmx.net>
4891
4892         * cursor.[Ch]: restructure
4893
4894         * BufferView.[Ch]:
4895         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4896
4897         * iterators.[Ch] (asCursor): remove
4898
4899         * lfuns.h: remove LFUN_INSET_EDIT
4900
4901         * lyxfunc.C:
4902         * tabular.C:
4903         * text.C:
4904         * text2.C:
4905         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4906
4907 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4908
4909         * lyxfind.[Ch]: complete overhaul
4910         * BufferView_pimpl.C:
4911         * lyxfunc.C: adjust
4912         * paragraph.[Ch] (insert): add
4913
4914 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4915
4916         * BufferView.[Ch]:
4917         * lyxtext.h:
4918         * text.C: remove dead spellcheck code
4919
4920 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4921
4922         * dispatchresult.h: add a val setter
4923
4924         * cursor.C (dispatch): use a tempvar for data_[i]
4925
4926 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4927
4928         * PosIterator.[Ch]: compile fix
4929
4930 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4931
4932         * text.C (cursorPar): deactivate the cursor cache
4933
4934 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4935
4936         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4937
4938 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4939
4940         * text3.C (dispatch): adjust for new DisptchResult semantics.
4941
4942         * lyxfunc.C (dispatch): handle update when return from
4943         Cursor::dispatch, adjust for new DispatchResult semantics.
4944
4945         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4946         DispatchResult(true) mean to not update. Add class functions for
4947         setting dispatched and update, as well as reading.
4948
4949         * cursor.C (dispatch): don't handle update here
4950
4951 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4952
4953         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4954         * trans_mgr.C: adjust
4955
4956         * paragraph_funcs.C (readParToken): exception safety
4957
4958         * lyxvc.h: store the vcs pointer in a scoped_ptr
4959         * lyxvc.C: adjust
4960
4961         * lyxsocket.C (serverCallback): exception safety
4962
4963         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4964
4965         * ispell.C (clone): make it return a auto_ptr
4966
4967         * factory.C (createInset): exception safety
4968         (readInset): exception safety
4969
4970         * bufferlist.C (newBuffer): exception safety
4971
4972         * Thesaurus.C (Thesaurus): use initialization for aik_
4973
4974         * MenuBackend.C (expandToc): exception safety.
4975
4976 2003-11-03  André Pönitz  <poenitz@gmx.net>
4977
4978         * buffer.C:
4979         * buffer.h:
4980         * bufferview_funcs.C: remove getInsetFromId()
4981
4982         * lyxcursor.[Ch]:
4983         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4984
4985         * lyxfunc.C:
4986         * text2.C:
4987         * text3.C: adjust
4988
4989 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4990
4991         * PosIterator.C (distance, advance): new
4992         * bufferview_funcs.[Ch] (put_selection_at): new
4993         * iterators.[Ch] (lockPath): new
4994
4995 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
4996
4997         * iterators.[Ch] (asPosIterator): added
4998         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4999         * PosIterator.[Ch]: added
5000
5001 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5002
5003         * text3.C:
5004         * lyxfunc.C:
5005         * cursor.C (dispatch):
5006         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
5007
5008         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
5009         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
5010         contructor, add a class function dispatched. Remove operator>=
5011
5012 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5013
5014         * debug.C: only use the default constructor for debugstream
5015         (lyxerr) here.
5016
5017         * main.C (main): include debug.h and setup the lyxerr streambuf
5018         here.
5019
5020 2003-10-31  José Matos  <jamatos@lyx.org>
5021
5022         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
5023
5024         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
5025         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
5026         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5027         * paragraph_pimpl.C (simpleTeXSpecialC):
5028         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
5029         add LatexRunParams argument.
5030
5031         * exporter.C (Export): change call accordingly.
5032
5033         * latexrunparams.h: add new member to take care of the other backends.
5034 2003-10-30  José Matos  <jamatos@lyx.org>
5035
5036         * buffer.C (makeLinuxDocFile, makeDocBookFile):
5037         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5038         factorise code for paragraph output.
5039         * buffer.[Ch]:
5040         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
5041         move functions.
5042
5043 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5044
5045         * text3.C (dispatch):
5046         * lyxfunc.C (dispatch):
5047         * cursor.C (dispatch):
5048         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
5049
5050         * dispatchresult.h: make the dispatch_result_t ctor explicit
5051
5052 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
5053
5054         * sgml.[Ch]:
5055         * buffer.C: small refactoring of docbook stuff
5056
5057 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5058
5059         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
5060         meaning.
5061
5062 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5063
5064         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
5065         operator dispatch_result_t, and operators for == != and >=
5066
5067         * cursor.C (dispatch): adjust for operator dispatch_result_t
5068         removal. comment out call to update
5069
5070         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
5071
5072 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5073
5074         * text3.C:
5075         * text2.C:
5076         * text.C:
5077         * lyxtext.h:
5078         * lyxfunc.C:
5079         * cursor.C:
5080         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
5081         (dispatch):
5082
5083         * dispatchresult.h: new file, DispatchResult broken out of
5084         insets/insetbase.h
5085
5086         * Makefile.am (lyx_SOURCES): add dispatchresult.h
5087
5088 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
5089
5090         * text.C (rowBreakPoint): put a hack inside #if 0
5091
5092 2003-10-28  André Pönitz  <poenitz@gmx.net>
5093
5094         * lyxtext.h:
5095         * metricsinfo.C:
5096         * paragraph_funcs.C:
5097         * rowpainter.C:
5098         * text.C:
5099         * text2.C: general cleanup (lots of small stuff)
5100
5101 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
5102
5103         * text2.C (cursorEnd): simple fix to the "end key goes to one
5104         before the end on last row" bug
5105
5106 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5107
5108         * text.C (backspace): fix the "zombie characters"
5109
5110 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5111
5112         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
5113
5114 2003-10-27  André Pönitz  <poenitz@gmx.net>
5115
5116         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
5117
5118         * factory.C: handle new InsetPagebreak, InsetLine
5119
5120         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
5121         and move handling into new InsetPagebreak, InsetLine
5122
5123         * BufferView_pimpl.C:
5124         * LyXAction.C:
5125         * ParagraphParameters.C:
5126         * ParameterStruct.h:
5127         * lyxfunc.C:
5128         * lyxtext.h:
5129         * paragraph.C:
5130         * paragraph.h:
5131         * paragraph_funcs.C:
5132         * paragraph_pimpl.C:
5133         * rowpainter.C:
5134         * text.C:
5135         * text2.C:
5136         * text3.C: adjust
5137
5138 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5139
5140         * text.C:
5141         * lyxrow_funcs.[Ch]:
5142         * Bidi.C:
5143         * paragraph.C:
5144         * lyxtext.h:
5145         * rowpainter.C:
5146         * text2.C:
5147         * text3.C: remove lastPos uses in favour of Row::endpos
5148
5149 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5150
5151         * undo.C (performUndoOrRedo): fix two crashes by setting a
5152         cursor by hand and reordering some calls. Use bv->lockInset instead
5153         of inset->edit because the latter loses cursor information
5154
5155 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
5156
5157         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5158         by Martin
5159         (rowBreakPoint): fix width. change point to point + 1.
5160         Add a missing check.
5161
5162 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
5163
5164         * MenuBackend.C:
5165         * lyxfunc.C: fix (at least partly) the problems
5166         with the Nav menu and headers inside branch insets
5167         reported by Kayvan
5168
5169 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
5170
5171         * paragraph.C (getChar): add strong asserts
5172
5173         * lyxrow_funcs.C (lastPos): remove hideous hack
5174
5175         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5176         (fill): adjust to that (avoid an infinite loop)
5177
5178 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5179
5180         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5181
5182 2003-10-23  André Pönitz  <poenitz@gmx.net>
5183
5184         * RowList_fwd.h: change list<> to vector<> to gain speed
5185         after suggestion from Alfredo
5186
5187 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5188
5189         * lyxtext.h: move the bidi stuff from here...
5190         * text.C: and here
5191         * text2.C: and here
5192         * Bidi.[Ch]: ... to here
5193
5194 2003-10-23  André Pönitz  <poenitz@gmx.net>
5195
5196         * lyxtext.h:
5197         * text.C (isLastRow, isFirstRow): new functions
5198
5199         * paragraph.h: new width cache member
5200
5201         * rowpainter.C: replace RowList::iterator with Row & where possible
5202
5203         * lyxfunc.C: replace several view()->text with a single call
5204
5205         * toc.C: fix 'unused' warning
5206
5207 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5208
5209         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5210         when woring with stream::pos_type
5211         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5212
5213 2003-10-22  André Pönitz  <poenitz@gmx.net>
5214
5215         * lyxtext.h:
5216         * text.C: use Row & instead of RowList::iterator
5217
5218         * lyxrow.h: rename end() to endpos()
5219
5220         * rowpainter.C:
5221         * text.C:
5222         * text2.C: adjust
5223
5224 2003-10-22  Angus Leeming  <leeming@lyx.org>
5225
5226         * buffer.[Ch] (fully_loaded): new member function, returning true
5227         only when the file has been loaded fully.
5228         Used to prevent the premature generation of previews and by the
5229         citation inset to prevent computation of the natbib-style label.
5230
5231         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5232         templates are all set up.
5233
5234         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5235
5236 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
5237
5238         * text.C: fixed an "oops" in the "is a bit silly"
5239         bug fix
5240
5241 2003-10-21  André Pönitz  <poenitz@gmx.net>
5242
5243         * FuncStatus.[Ch]: small stuff, whitespace
5244
5245         * lyxfont.[Ch]: operator<<() for debug reasons
5246
5247         * lyxfunc.C:
5248         * lyxrow_funcs.C:
5249         * lyxtext.h: whitespace, spelling
5250
5251         * paragraph.C: naming of variables
5252
5253         * text.C:
5254         * text2.C: small stuff
5255
5256
5257 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
5258
5259         * text.C: (1) finish off the inset display() work;
5260         (2) fix the "is a bit silly" bug (accessing char
5261         past end of par).
5262
5263 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
5264
5265         * text.C: re-introduce display() for insets, fixing the
5266         various bugs (stretch of line above, math inset
5267         positioning, ...)
5268
5269 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5270
5271         * text.C (rightMargin): remove spurious semicolon
5272
5273         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5274         1415)
5275
5276 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
5277
5278         * text3.C: fix one crash due to wrong cursor def
5279
5280 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5281
5282         * vc-backend.C (scanMaster): make the regex static
5283
5284         * LaTeX.C (scanAuxFile): make the regexs static
5285
5286         * text3.C (doInsertInset, dispatch, dispatch):
5287         * text2.C (cursorUp, cursorDown):
5288         * text.C (selectNextWordToSpellcheck):
5289         * BufferView_pimpl.C (dispatch):
5290         * lyxfunc.C (dispatch):  localDispatch -> dispatch
5291
5292 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5293
5294         * lyxsocket.C: include <cerrno>
5295
5296 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5297
5298         * lyxfunc.C (dispatch): remove textcache stuff
5299
5300         * bufferlist.C (release): remove textcache stuff
5301         (closeAll): ditto
5302
5303         * TextCache.C: delete file
5304         * TextCache.h: delete file
5305
5306         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5307
5308         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5309         delete of the bv_->text.
5310         (resizeCurrentBuffer): remove texcache stuff
5311         (workAreaResize): ditto
5312
5313 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5314
5315         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5316         action.
5317
5318 2003-10-16  André Pönitz  <poenitz@gmx.net>
5319
5320         * lyxrow.[Ch]:
5321         * paragraph.h:
5322         * rowpainter.C:
5323         * text.C:
5324         * text2.C:
5325         * text3.C: speed up by storing y positions per paragraph plus per-row
5326         offset instead of having a 'full' y position in the row.
5327
5328 2003-10-15  André Pönitz  <poenitz@gmx.net>
5329
5330         * iterators.[Ch]:
5331         * iterators.[Ch]:
5332         * undo.[Ch]: make undo aware of inner insets
5333
5334 2003-10-14  Angus Leeming  <leeming@lyx.org>
5335
5336         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5337         static member functions LyX::ref() and LyX::cref.
5338         (lastfiles): new accessor functions for the new lastfiles_ member var.
5339         (addLyXView, views_): add a new LyXView to the list of views_.
5340         (updateInset): loop over all LyXViews to call their own updateInset
5341         member function, returning a pointer to the Buffer owning the inset.
5342
5343         * BufferView_pimpl.C (loadLyXFile):
5344         * MenuBackend.C (expandLastfiles):
5345         * bufferlist.C (MenuWrite, QuitLyX):
5346         lastfiles is no longer a global variable.
5347         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5348
5349         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5350         static function. Access through LyX::cref().emergencyCleanup().
5351
5352 2003-10-14  André Pönitz  <poenitz@gmx.net>
5353
5354         * iterators.[Ch]: new direct access to innermost LyXText and Inset
5355
5356         * undo.[Ch]: restoring part of 'undo in insets'
5357
5358         * Makefile.am:
5359         * undo_funcs.[Ch]: merge with undo.[Ch]
5360
5361         * tabular.C: small cleansing stuff
5362
5363 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
5364
5365         * paragraph_funcs.C (readParToken): report unknown insets as error
5366         boxes. Use the outer paragraph as location (also for unknown
5367         tokens).
5368
5369         * factory.C (readInset): do not abort on reading an unknown inset.
5370         Eat it and return 0.
5371
5372 2003-10-13  Angus Leeming  <leeming@lyx.org>
5373
5374         * lyx_main.C (LyX): remove call to setDisplayTranslator().
5375
5376         * lyxrc.C: displayTranslator is now a function,
5377         declared in GraphicsTypes.h.
5378
5379 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5380
5381         * format.C: new placeholder $$a to pass the socket address.
5382
5383         * bufferlist.[Ch]: new function getBufferFromTmp.
5384
5385         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5386           files in the temporary dir.
5387
5388 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5389
5390         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5391
5392         * Makefile.am: add lyxsocket.[Ch].
5393
5394         * lyx_main.C (error_handler): handle SIGPIPE.
5395
5396 2003-10-13  André Pönitz  <poenitz@gmx.net>
5397
5398         * BufferView_pimpl.C:
5399         * lyxtext.h:
5400         * text.C:
5401         * text2.C:
5402         * text3.C:
5403         * undo_funcs.[Ch]: use paroffset_type instead of
5404           ParagraphList::iterators to prevent multiple conversion
5405           (and get a more robust interface)
5406
5407 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5408
5409         * lyxfunc.C (dispatch): RESULT -> dispatch_result
5410         * lyxtext.h: ditto
5411         * text3.C (dispatch): ditto
5412
5413 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5414
5415         * LaTeX.C (handleFoundFile): move the static to smaller scope,
5416         move the onlyfile, use onlyfile instead of foundfile in a couple
5417         of places.
5418
5419         * DepTable.C (update): flush the error stream a bit more
5420
5421 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5422
5423         * lyxserver.C (callback): adjust
5424
5425         * lyxfunc.C (getStatus): add a missing brace in commented code
5426         (ensureBufferClean): reindent
5427         (dispatch): delete version taking a string
5428
5429 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5430
5431         * LaTeX.C (deplog): move found file handlig from here...
5432         (handleFoundFile): .. to new function here.
5433         (deplog): make sure to discover several files mentioned on the
5434         same log line.
5435
5436 2003-10-10  André Pönitz  <poenitz@gmx.net>
5437
5438         * lyxfunc.C:
5439         * lyxtext.h:
5440         * tabular.C:
5441         * text.C:
5442         * text2.C:
5443         * text3.C: fix some of the tabular crashes
5444
5445 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5446
5447         * MenuBackend.C (binding): put debug message into Debug::KBMAP
5448
5449         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5450
5451 2003-10-09  André Pönitz  <poenitz@gmx.net>
5452
5453         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5454
5455         * BufferView.C:
5456         * BufferView_pimpl.C:
5457         * bufferview_funcs.C:
5458         * lyx_cb.C:
5459         * lyxcursor.C:
5460         * lyxfind.C:
5461         * lyxfunc.C:
5462         * lyxtext.h:
5463         * text.C:
5464         * text2.C:
5465         * text3.C:
5466         * text_funcs.[Ch]:
5467         * textcursor.[Ch]:
5468         * undo_funcs.C: adjust
5469
5470 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5471
5472         * text2.C (incrementItemDepth): new function, use a backtracking
5473         algorithm to discover the correct item depth.
5474         (resetEnumCounterIfNeeded): new function, use a backtracking
5475         algorithm to discover if counter reset is needed.
5476         (setCounter): use them. Simplify a bit. Add different labels for
5477         different item depths for itemize.
5478
5479         * paragraph.C (Paragraph): remove initialization of enumdepth
5480         (operator=): ditto
5481
5482         * paragraph.h: get rid of enumdepth, and use itemdepth both for
5483         enumerate and itemize. Change the type of itemdepth to signed char.
5484
5485 2003-10-08  André Pönitz  <poenitz@gmx.net>
5486
5487         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5488           thing assignable.
5489         * text.C:
5490         * text2.C: adjust
5491
5492         * tabular.[Ch]: fix crash after 'row-insert'
5493
5494 2003-10-08  Angus Leeming  <leeming@lyx.org>
5495
5496         Fix doxygen warnings.
5497
5498         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5499         Remove CutAndPaste:: prefix from header file declaration.
5500
5501         * LColor.h (fill): remove LColor:: prefix from declaration.
5502
5503         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5504         use lyx::depth_type rather than Paragraph::depth_type so that
5505         header file and .C file match.
5506
5507         * converter.h (intToFormat): remove Converters:: prefix from declaration.
5508
5509         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5510         * aspell.C: \file aspell_local.C -> \file aspell.C
5511         * gettext.C: \file gettext.C -> \file src/gettext.C
5512         * gettext.h: \file gettext.h -> \file src/gettext.h
5513         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5514         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5515         * text.C: \file text.C -> \file src/text.C
5516
5517         * toc.C: move comment so that doxygen is not confused.
5518
5519 2003-10-07  Angus Leeming  <leeming@lyx.org>
5520
5521         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5522
5523 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5524
5525         * aspell.C:
5526         * aspell_local.h: add forgotten std::string's.
5527
5528 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5529
5530         * LaTeXFeatures.C:
5531         * LyXAction.C:
5532         * factory.C:
5533         * lfuns.h:
5534         * lyxfunc.C:
5535         * text3.C: The Box patch. Fancybox support, minipage, parbox
5536
5537 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5538
5539         * CutAndPaste.h:
5540         * DepTable.h:
5541         * FloatList.h:
5542         * LaTeXFeatures.h:
5543         * ParagraphParameters.h:
5544         * TextCache.h:
5545         * Thesaurus.h:
5546         * bufferlist.h:
5547         * exporter.h:
5548         * importer.h:
5549         * lastfiles.h:
5550         * lyxfind.h:
5551         * lyxfont.h:
5552         * lyxlex.h:
5553         * lyxtextclasslist.h:
5554         * messages.h:
5555         * paragraph.h:
5556         * paragraph_pimpl.C:
5557         * textcursor.h: add <string> and other small fixes to make Lars'
5558         std::string patch compile with STLport.
5559
5560 2003-10-06  Angus Leeming  <leeming@lyx.org>
5561
5562         * LColor.h: Add missing #include <string>.
5563
5564 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5565
5566         * All most all file in all subdirs: Make <string> be the prefered
5567         way of getting to std::string, add using declarations.
5568
5569 2003-10-06  André Pönitz  <poenitz@gmx.net>
5570
5571         * metricsinfo.C: initialize LyXFont before changing attribute.
5572         (fixes the 'math in \emph is upright' bug)
5573
5574 2003-10-06  André Pönitz  <poenitz@gmx.net>
5575
5576         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5577
5578 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
5579
5580         * graph.C:
5581         * paragraph_pimpl.C: Small fixes to build using STLport
5582
5583 2003-10-02  André Pönitz  <poenitz@gmx.net>
5584
5585         * lyxfunc.C:
5586         * text3.C: move handling of LFUN_DEPTH *; fix #1360
5587
5588 2003-10-01  André Pönitz  <poenitz@gmx.net>
5589
5590         * factory.C: assert early
5591
5592 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5593
5594         * lyx_main.C: remove the global debug object
5595
5596         * debug.h: adjust for new debugstream
5597
5598         * debug.C: adjust for new debugstream and keep the global debug
5599         object here.
5600
5601 2003-09-22  Angus Leeming  <leeming@lyx.org>
5602
5603         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5604         of g++ which otherwise complain that the scoped_ptr destructor can't delete
5605         an incomplete class LyXFont.
5606
5607 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
5608
5609         * factory.C: bug fix in branches
5610
5611 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5612
5613         * lyxfunc.C (processKeySym): adjust
5614         (dispatch): adjust
5615         (dispatch): change arg name from ev to func, adjust
5616         (sendDispatchMessage): ditto
5617
5618         * lyx_main.C (defaultKeyBindings): adjust keybindings
5619         (deadKeyBindings): ditto
5620
5621         * kbsequence.C (addkey): return a FuncRequest
5622
5623         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5624
5625         * kbmap.C (bind): take a FuncRequest as arg, adjust
5626         (read): adjust
5627         (lookup): adjust
5628         (defkey): change to take a FuncRequest as arg, adjust
5629         (findbinding): take a FuncRequest as arg, adjust.
5630
5631         * funcrequest.h (operator=): added
5632
5633         * funcrequest.C (FuncRequest): default kb_action changed from
5634         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5635
5636         * buffer.C (dispatch): simplify
5637         (dispatch): adjust to take a FuncRequest as arg, adjust
5638
5639         * boost.C (assertion_failed): change assertion message slightly
5640
5641         * ToolbarBackend.C (read): simplify
5642
5643         * MenuBackend.C (binding): adjust call to findbinding, add a
5644         message if no binding is found.
5645         (read): simplify
5646         (expandToc): correct by adding a empty FuncRequest
5647
5648         * LyXAction.C: include <boost/assert.hpp>
5649         (isPseudoAction): delete function
5650         (LookupFunc): change name to...
5651         (lookupFunc): this. change return type to FuncRequest.
5652         (getActionName): take kb_action as arg, simplify
5653         (funcHasFlag): add an assert, simplify.
5654
5655 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5656
5657         * toc.C (action): return a FuncRequest, simplify
5658
5659         * lyxfunc.C (processKeySym): adjust
5660         (getStatus): delete version that takes an int.
5661         (getStatus): adjust
5662         (dispatch): delete version that takes action as int
5663         (dispatch): adjust
5664         (sendDispatchMessage): simplify and adjust
5665
5666         * funcrequest.C (getArg): take unsigned int as arg
5667
5668         * ToolbarBackend.C (read): adjust
5669         (add): delete version that takes func as a string.
5670         (getIton): take a FuncRequest as arg
5671
5672         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5673         action.
5674
5675         * MenuBackend.C (MenuItem): add a new construct that only takes a
5676         Kind, simplify the constructor use for submenus.
5677         (add): adjust
5678         (expandLastfiles): adjust
5679         (expandDocuments): adjust
5680         (expandFormats): adjust
5681         (expandFloatListInsert): adjust
5682         (expandFloatInsert): adjust
5683         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5684
5685         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5686         Remove class variables lyx_pseudo_map and lyx_arg_map
5687
5688         * LyXAction.C (searchActionArg): delete function
5689         (getPseudoAction): delete function
5690         (retrieveActionArg): delete function
5691         (LookupFunc): make it return kb_action, simplify.
5692         (getActionName): simplify
5693
5694         * factory.C (createInset): fix new bug
5695
5696 2003-09-19  Angus Leeming  <leeming@lyx.org>
5697
5698         * CutAndPaste.C (pasteSelection): remove fudge used to set the
5699         masterFilename_ parameter in the include inset.
5700
5701         * factory.C (createInset): changes due to the changes to InsetInclude.
5702
5703 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5704
5705         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5706
5707 2003-09-18  Angus Leeming  <leeming@lyx.org>
5708
5709         * buffer.C:
5710         * BufferView.C: pass the buffer when calling Inset::getLabelList,
5711         Inset::fillWithBibKeys.
5712         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5713
5714 2003-09-18  Angus Leeming  <leeming@lyx.org>
5715
5716         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5717         variables.
5718         (ctor): pass and store a 'Buffer const &'
5719         (buffer): new member function.
5720
5721         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5722         '*this' to the LaTeXFeatures ctor.
5723
5724 2003-09-18  Angus Leeming  <leeming@lyx.org>
5725
5726         * LColor.h:
5727         * lyxfont.C:
5728         * lyxfont.h:
5729         * lyxtext.h:
5730         * text.C: rename EnumLColor as LColor_color.
5731
5732 2003-09-18  Angus Leeming  <leeming@lyx.org>
5733
5734         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5735         remove #include "insets/insetbase.h" from cursor.h.
5736
5737 2003-09-18  Angus Leeming  <leeming@lyx.org>
5738
5739         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5740         InsetOld_code to remove #include "inset.h".
5741
5742         * iterators.C: add #include "insets/inset.h"
5743
5744 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
5745
5746         * BufferView.C: remove more locking stuff that apparently doesn't
5747         do anything sensible.
5748
5749 2003-09-16  André Pönitz  <poenitz@gmx.net>
5750
5751         * paragraph.[Ch]:
5752         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5753           performance boost.
5754
5755 2003-09-16  Angus Leeming  <leeming@lyx.org>
5756
5757         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5758
5759         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5760         arg/return type.
5761
5762         * paragraph.h: remove #include "lyxfont.h". Forward declare
5763         LyXFont_size.
5764
5765 2003-09-16  Angus Leeming  <leeming@lyx.org>
5766
5767         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5768         of support/textutils.h.
5769         (isWord): move the contents of support/textutils.h's IsWordChar here.
5770
5771         * buffer.C:
5772         * lyxfind.C:
5773         * rowpainter.C:
5774         * text.C:
5775         * text2.C: add #include "paragraph.h".
5776
5777         * rowpainter.C:
5778         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5779
5780 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5781
5782         * main.C:
5783         * lyx_main.C:
5784         * lyx_cb.C:
5785         * buffer.C:
5786         * LaTeX.C: use namespace alias for lyx::support::os
5787
5788 2003-09-16  Angus Leeming  <leeming@lyx.org>
5789
5790         * bufferparams.C:
5791         * bufferview_funcs.C:
5792         * factory.C:
5793         * lyxfunc.C:
5794         * paragraph_pimpl.C:
5795         * rowpainter.C:
5796         * text.C: add #include "LColor.h".
5797
5798 2003-09-16  Angus Leeming  <leeming@lyx.org>
5799
5800         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5801         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5802         return LyXFont &.
5803         Store the FontBits::color variable as an int rather than as an
5804         LColor::colorso that we can move LColor.h out of the lyxfont.h header
5805         file.
5806
5807         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5808         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5809         string calls together.
5810
5811         * lyxrc.C: add #include "LColor.h".
5812
5813 2003-09-15  Angus Leeming  <leeming@lyx.org>
5814
5815         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5816         a cow_ptr.
5817
5818 2003-09-15  Angus Leeming  <leeming@lyx.org>
5819
5820         * LColor.h: add an EnumLColor wrapper for LColor::color.
5821
5822         * lyxfont.[Ch] (color, setColor, realColor):
5823         * lyxtext.h, text.C (backgroundColor):
5824         pass EnumLColor args to/from the functions, rather than LColor::color
5825         ones.
5826
5827         * lyxfont.h:
5828         * lyxtext.h: forward declare EnumLColor.
5829
5830         * lyx_main.C: add #include "LColor.h".
5831
5832 2003-09-15  Angus Leeming  <leeming@lyx.org>
5833
5834         * .cvsignore: add lyx-gtk.
5835
5836 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5837
5838         * Chktex.C
5839         * LaTeX.C
5840         * LaTeXFeatures.C
5841         * ParagraphParameters.C
5842         * Spacing.C
5843         * buffer.C
5844         * bufferparams.C
5845         * bufferview_funcs.C
5846         * chset.C
5847         * counters.C
5848         * funcrequest.C
5849         * lyxfont.C
5850         * lyxgluelength.C
5851         * lyxlength.C
5852         * paragraph.C
5853         * paragraph_funcs.C
5854         * text3.C
5855         * vc-backend.C: remove usage of STRCONV
5856
5857 2003-09-15  Angus Leeming  <leeming@lyx.org>
5858
5859         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5860         explicitly define the color passed to the painter.
5861
5862 2003-09-15  Angus Leeming  <leeming@lyx.org>
5863
5864         * bufferparams.C (BufferParams): reorder member initializers to avoid
5865         compiler warning.
5866
5867 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
5868
5869         * CutAndPaste.C (pasteSelection): remove an outdated #warning
5870         * text.C (updateRowPositions): remove an unusual nop
5871
5872 2003-09-12  André Pönitz  <poenitz@gmx.net>
5873
5874         * BufferView_pimpl.C:
5875         * Bullet.C:
5876         * layout.h:
5877         * lyxfunc.C:
5878         * lyxlayout.[Ch]:
5879         * lyxtextclass.C:
5880         * rowpainter.C:
5881         * text.C:
5882         * text2.C:
5883         * Counters.[Ch]: finish the 'automatic counters' job
5884
5885 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5886
5887         * aspell.C: include <boost/assert.cpp> (compile fix)
5888
5889 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
5890
5891         * boost.C (assertion_failed): use lyx::support::abort instead of
5892         assert.
5893
5894 2003-09-10  Angus Leeming  <leeming@lyx.org>
5895
5896         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5897         with their _fwd progeny.
5898
5899 2003-09-09  Angus Leeming  <leeming@lyx.org>
5900
5901         134 files throughtout the source tree: replace 'using namespace abc;'
5902         directives with the appropriate 'using abc::xyz;' declarations.
5903
5904 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5905
5906         * boost.C (emergencyCleanup): moved here from LAssert.c
5907         (assertion_failed): new function, called by BOOST_ASSERT
5908
5909         * several files: change Assert to BOOST_ASSERT
5910
5911 2003-09-09  Angus Leeming  <leeming@lyx.org>
5912
5913         * buffer.[Ch]: Add an Impl class and move Buffer's member
5914         variables into it. As a result move several header files out of
5915         buffer.h.
5916
5917         Add header files to lots of .C files all over the tree as a result.
5918
5919 2003-09-09  Angus Leeming  <leeming@lyx.org>
5920
5921         * buffer.[Ch]: make Buffer's member variables private. Add
5922         accessor functions.
5923
5924         Lots of changes all over the tree as a result.
5925
5926 2003-09-08  Angus Leeming  <leeming@lyx.org>
5927
5928         * graph.C: #include <config.h>.
5929
5930 2003-09-08  Angus Leeming  <leeming@lyx.org>
5931
5932         * BranchList.C:
5933         * BufferView.C:
5934         * BufferView_pimpl.C:
5935         * CutAndPaste.C:
5936         * DepTable.C:
5937         * LaTeX.C:
5938         * LaTeXFeatures.C:
5939         * LyXAction.C:
5940         * MenuBackend.C:
5941         * TextCache.C:
5942         * aspell.C:
5943         * buffer.C:
5944         * bufferlist.C:
5945         * changes.C:
5946         * chset.C:
5947         * converter.C:
5948         * counters.C:
5949         * debug.C:
5950         * graph.C:
5951         * ispell.C:
5952         * lyx_cb.C:
5953         * lyxfind.C:
5954         * lyxfunc.C:
5955         * lyxlex_pimpl.C:
5956         * lyxrc.C:
5957         * lyxrow.C:
5958         * paragraph.C:
5959         * rowpainter.C:
5960         * texrow.C:
5961         * text.C:
5962         * text2.C:
5963         * toc.C: remove redundant using directives.
5964
5965 2003-09-07  Angus Leeming  <leeming@lyx.org>
5966
5967         * LaTeXFeatures.h: remove #include "support/types.h".
5968         * ToolbarBackend.h: remove #include <algorithm>.
5969         * changes.h: remove #include <ctime>.
5970         * debug.h: remove #include <iosfwd>.
5971         * graph.h: remove #include "support/std_string.h".
5972         * lyx_main.h: remove #include <csignal>.
5973         * lyxlex_pimpl.h: remove #include <fstream>.
5974         * sgml.h: remove #include <algorithm>, <utility>.
5975         * toc.h: remove #include "support/std_ostream.h".
5976         Add #include <iosfwd>.
5977
5978 2003-09-07  Angus Leeming  <leeming@lyx.org>
5979
5980         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5981
5982         * converter.h: forward declare LatexRunParams.
5983         * encoding.h: remove #include "lyxrc.h".
5984         * lyxtext.h: remove #include "LColor.h".
5985         * lyxtextclass.h: remove #include "support/types.h".
5986         * trans.h: remove #include "tex-accent.h".
5987         * trans_mgr.h: remove #include "tex-accent.h".
5988         * insets/inset.h: remove #include "support/types.h", <vector>.
5989         * insets/insetcollapsable.h: remove #include "LColor.h".
5990         * insets/insetinclude.h: remove #include "dimension.h".
5991         * insets/insetlatexaccent.h: remove #include "dimension.h".
5992         * insets/insetoptarg.h:: remove #include "insettext.h".
5993         * insets/insettext.h: remove #include "dimension.h",
5994         <boost/shared_ptr.hpp>
5995
5996         * insets/renderers.h: add #include "dimension.h".
5997         * insets/updatableinset.h: add #include "support/types.h".
5998
5999         * many .C files: Associated changes.
6000
6001 2003-09-06  Angus Leeming  <leeming@lyx.org>
6002
6003         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
6004         one, inside testInvariant.
6005
6006         * PrinterParams.C: new file.
6007         * PrinterParams.[Ch]: move the function bodies out of line.
6008
6009 2003-09-06  Angus Leeming  <leeming@lyx.org>
6010
6011         * ParagraphParameters.h: forward declare ParameterStruct rather than
6012         including its header file.
6013         (depth): moved out-of-line.
6014
6015 2003-09-06  Angus Leeming  <leeming@lyx.org>
6016
6017         * BufferView_pimpl.h:
6018         * kbmap.h:
6019         * kbsequence.h:
6020         * lyxfunc.h: forward declare LyXKeySym rather than
6021         #include "frontends/LyXKeySym.h".
6022
6023         * BufferView_pimpl.C:
6024         * kbmap.C:
6025         * kbsequence.C:
6026         * lyxfunc.C: associated changes.
6027
6028 2003-09-06  Angus Leeming  <leeming@lyx.org>
6029
6030         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6031         As a result, can remove the #include "insets/inset.h" from BufferView.h
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         * buffer_funcs.C:
6041         * buffer.h:
6042         * bufferlist.C:
6043         * BufferView.C:
6044         * bufferview_funcs.C:
6045         * BufferView_pimpl.C:
6046         * CutAndPaste.C:
6047         * lyx_cb.C:
6048         * lyxfunc.C:
6049         * paragraph.h:
6050         * ParagraphParameters.C:
6051         * tabular.C:
6052         * text3.C:
6053         * toc.C:
6054         * undo_funcs.C:
6055         * frontends/controllers/ControlDocument.C:
6056         * insets/insetcaption.C: rearrange the #includes into some sort of
6057         coherent order.
6058
6059         * buffer.h: remove #includes ErrorList.h, undo.h
6060
6061 2003-09-06  Angus Leeming  <leeming@lyx.org>
6062
6063         * support/types.h: add a 'depth_type' typedef, used to store the
6064         nesting depth of a paragraph.
6065
6066         * paragraph.h:
6067         * ParameterStruct.h: use this lyx::depth_type typedef rather than
6068         defining explicitly.
6069
6070         * buffer.h:
6071         * paragraph_funcs.h:
6072         * ParagraphParameters.h:
6073         * sgml.h: use lyx::depth_type rather than Paragraph or
6074         ParameterStruct's depth_type.
6075
6076         * buffer.h
6077         * paragraph_funcs.h: no need to #include paragraph.h anymore.
6078
6079         * BufferView.C:
6080         * BufferView_pimpl.C:
6081         * CutAndPaste.C:
6082         * ParagraphParameters.C:
6083         * buffer_funcs.C:
6084         * bufferlist.C:
6085         * bufferview_funcs.C:
6086         * lyx_cb.C:
6087         * lyxfunc.C:
6088         * tabular.C:
6089         * text3.C:
6090         * toc.C:
6091         * undo_funcs.C:
6092         * frontends/LyXView.C:
6093         * frontends/controllers/ControlDocument.C:
6094         * frontends/controllers/ControlErrorList.C:
6095         * insets/insetbibitem.C:
6096         * insets/insetbranch.C:
6097         * insets/insetcaption.C:
6098         * insets/insetcollapsable.C:
6099         * insets/insetenv.C:
6100         * insets/insetert.C:
6101         * insets/insetfloat.C:
6102         * insets/insetfoot.C:
6103         * insets/insetfootlike.C:
6104         * insets/insetnewline.C:
6105         * insets/insetquotes.C:
6106         * insets/insettabular.C:
6107         * insets/insettext.C:
6108         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
6109
6110         * frontends/controllers/ControlChanges.C: #include "changes.h".
6111
6112 2003-09-06  Angus Leeming  <leeming@lyx.org>
6113
6114         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
6115         than #including paragraph.h.
6116
6117         * ParagraphList.h:
6118         * RowList.h: deleted. Superfluous.
6119
6120         * CutAndPaste.h:
6121         * iterators.h:
6122         * lyxcursor.h:
6123         * lyxtext.h:
6124         * text_funcs.h:
6125         * undo.h:
6126         * undo_funcs.h:
6127         * insets/inset.h:
6128         * insets/insettext.h: use ParagraphList_fwd.h rather than
6129         ParagraphList.h.
6130
6131         * paragraph.h: don't forward declare ParagraphList.
6132
6133         * buffer.h:
6134         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
6135         rather than ParagraphList.h. paragraph.h is still needed for the
6136         Paragraph::depth_type parameters.
6137
6138         * textcursor.h: enable it to compile stand-alone in light of the
6139         above changes.
6140
6141         * bufferview_funcs.C:
6142         * iterators.C:
6143         * lyxfunc.C:
6144         * lyxrow_funcs.C:
6145         * paragraph.C:
6146         * rowpainter.C:
6147         * text.C:
6148         * text2.C:
6149         * text3.C:
6150         * text_funcs.C:
6151         * textcursor.C:
6152         * undo.C:
6153         * frontends/controllers/ControlParagraph.C:
6154         * frontends/controllers/ControlTabular.C:
6155         * insets/insetmarginal.C:
6156         * insets/insetminipage.C:
6157         * insets/insetnote.C:
6158         * insets/insetoptarg.C: add header files needed to compile again.
6159
6160 2003-09-06  Angus Leeming  <leeming@lyx.org>
6161
6162         * RowList_fwd.h: new file, forward-declaring Row rather than
6163         #including lyxrow.h.
6164
6165         * lyxrow_funcs.h:
6166         * lyxtext.h:
6167         * paragraph.h:
6168         * insets/insettext.h: use it instead of RowList.h
6169
6170         * bufferview_funcs.C:
6171         * lyxfunc.C:
6172         * lyxrow_funcs.C:
6173         * paragraph.C:
6174         * rowpainter.C:
6175         * text.C:
6176         * text2.C:
6177         * text3.C: #include "RowList.h".
6178
6179 2003-09-05  Angus Leeming  <leeming@lyx.org>
6180
6181         * factory.C (createInset):
6182         * vspace.C (c-tor): replace sscanf call with an istringstream.
6183         * ispell.C: re-add missing HP/UX headers.
6184         * lyxserver.C: re-add missing  os2 headers.
6185
6186 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
6187
6188         * BranchList.C:
6189         * graph.C:
6190         * ispell.C:
6191         * lastfiles.C:
6192         * lyx_cb.C:
6193         * lyxserver.C:
6194         * texrow.C:
6195         * text3.C: re-add missing system headers, needed for 2.95.2.
6196
6197 2003-09-05  Angus Leeming  <leeming@lyx.org>
6198
6199         Changes most place everywhere due to the removal of using directives
6200         from support/std_sstream.h.
6201
6202 2003-09-05  Angus Leeming  <leeming@lyx.org>
6203
6204         Replace LString.h with support/std_string.h,
6205         Lsstream.h with support/std_sstream.h,
6206         support/LIstream.h with support/std_istream.h,
6207         support/LOstream.h with support/std_ostream.h.
6208
6209         Changes resulting throughout the tree.
6210
6211 2003-09-05  Angus Leeming  <leeming@lyx.org>
6212
6213         * sgml.h: ensure that the header file can be compiled stand-alone.
6214         * *.C: strip out redundant #includes. (320 in total.)
6215
6216 2003-09-04  Angus Leeming  <leeming@lyx.org>
6217
6218         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6219         here (from getPackages).
6220
6221         * debug.[Ch]: add a new EXTERNAL tag.
6222
6223 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6224
6225         * text2.C (cursorEnd): simplify
6226         (setCursor): adjust
6227         (getColumnNearX): adjust
6228
6229         * text.C (computeBidiTables): adjust
6230         (fill): adjust
6231
6232         * rowpainter.C (paintChars): adjust
6233         (paintSelection): adjust
6234         (paintChangeBar): adjust
6235         (paintText): adjust
6236
6237         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6238         lastPos instead.
6239         (numberOfSeparators): adjust
6240
6241 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6242
6243         * LyXAction.C:
6244         * box.[Ch]:
6245         * lfuns.h:
6246         * lyxfunc.C:
6247         * text3.C: Restricts the mouse click functionality
6248         of insets like bibtex, include, toc and floatlist to the visible
6249         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6250         up the dialogs. Cursor has to be in front of the inset (i.e.
6251         start of row) for this to function.
6252
6253 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6254
6255         * bufferview_funcs.C (currentState): output row information
6256
6257 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6258
6259         * bufferview_funcs.C (currentState): output paragraph position
6260
6261 2003-09-04  Angus Leeming  <leeming@lyx.org>
6262
6263         * FloatList.h: move out #include "Floating.h".
6264         * LaTeX.h: move out #include "DepTable.h".
6265         * LyXAction.h: move out #include "funcrequest.h".
6266         * buffer.h: move out #include "author.h", "iterators.h".
6267         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6268         * lyx_main.h: move out #include "errorlist.h".
6269         * lyxfunc.h: move out #include "FuncStatus.h".
6270         * lyxtext: move out #include "lyxcursor.h".
6271         * paragraph_pimpl.h: move out #include "counters.h".
6272
6273 2003-09-03  Angus Leeming  <leeming@lyx.org>
6274
6275         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6276         preamble_snippets list, enabling us to add snippets to the preamble
6277         only if the snippet was not there already.
6278
6279 2003-09-04  Angus Leeming  <leeming@lyx.org>
6280
6281         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6282
6283 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6284
6285         * lyxfunc.C (dispatch): if fitCursor did something be sure to
6286         update
6287
6288 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6289
6290         * BranchList.C: point fix, earlier forgotten
6291
6292 2003-09-02  Angus Leeming  <leeming@lyx.org>
6293
6294         * box.C (contains): renamed from 'contained' after a fantastic
6295         amount of hot air.
6296
6297 2003-09-02  John Levon  <levon@movementarian.org>
6298
6299         * BufferView.C:
6300         * lyxcursor.h:
6301         * lyxcursor.C:
6302         * lyxfunc.C:
6303         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6304
6305 2003-09-02  John Levon  <levon@movementarian.org>
6306
6307         * text2.C: simplification of cursorEnd(), including partial
6308         fix for bug 1376
6309
6310 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6311
6312         * buffer.C (readFile): add a space
6313
6314 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
6315
6316         * BufferView_pimpl.C (update): remove bogus fitCursor() call
6317
6318 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6319
6320         * buffer.C (readFile): new function, take a filename and a
6321         ParagraphList::iterator
6322         (readFile): adjust
6323         (readFile): adjust, make it private. don't use setStream, make
6324         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6325         always contain the filename.
6326
6327         * BufferView.C (insertLyXFile): simplify and make it work for
6328         gzipped files.
6329
6330 2003-08-30  John Levon  <levon@movementarian.org>
6331
6332         * Makefile.am: fix dist (from Kayvan)
6333
6334 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6335
6336         * most files: change to use const Buffer refs
6337
6338 2003-08-27  André Pönitz  <poenitz@gmx.net>
6339
6340         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6341         on top of ownerPar().
6342
6343 2003-08-27  John Levon  <levon@movementarian.org>
6344
6345         * funcrequest.C: properly initialise POD members
6346
6347 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6348
6349         * lyxtext.h (top_y): move top_y from here
6350         * text.C:
6351         * text2.C:
6352         * text3.C:
6353         * BufferView.[Ch]:
6354         * BufferView_pimpl.[Ch]: to here
6355         * frontends/screen.C:
6356         * insets/insettabular.C:
6357         * insets/insettext.C: adjust
6358         * rowpainter.[Ch] (paintRows): remove LyXText & argument
6359
6360 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6361
6362         * BufferView.[Ch]:
6363         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6364
6365 2003-08-26  André Pönitz  <poenitz@gmx.net>
6366
6367         * paragraph_func.[Ch] (outerPar): new function
6368
6369         * paragraph.C:
6370         * paragraph_funcs.C:
6371         * paragraph_funcs.h:
6372         * paragraph_pimpl.C:
6373         * text2.C: remove Inset::par_owner
6374
6375 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
6376
6377         * lyxrow_funcs.C:
6378         * lyxtext.h:
6379         * text.C:
6380         * text2.C: eliminates the needFullRow/display() stuff
6381         altogether, putting the logic in metrics/draw in the insets.
6382
6383 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
6384
6385         * text2.C (redoParagraphInternal, redoParagraphs):
6386         * text.C (redoParagraph): add a call to updateRowPositions at the
6387         end of each 'metrics-like' call. Remove all others.
6388         (getRow): remove the 'y-computing' version.
6389         (getRowNearY): do not compute nor return the real y. Solve the
6390         'y < 0' problem and simplify.
6391
6392 2003-08-22  Angus Leeming  <leeming@lyx.org>
6393
6394         * *.[Ch]: clean-up of licence and author blurbs.
6395         Also move config.h out of a few .h files and into a few .C files.
6396
6397 2003-08-22  André Pönitz  <poenitz@gmx.net>
6398
6399         * lyxrow.[Ch]: add x_ and *fill_ members
6400
6401         * lyxtext.h:
6402         * text.C:
6403         * rowpainter.C:
6404         * text2.C: adjust/remove prepareToPrint() calls
6405
6406 2003-08-22  André Pönitz  <poenitz@gmx.net>
6407
6408         * lyxrow.[Ch]: add  end_ member
6409
6410         * lyxrow_funcs.C: use LyXRow::end_
6411
6412         * lyxtext.h (singleWidth): add LyXFont parameter
6413
6414         * rowpainter.C:
6415         * text2.C: adjust LyXText::singleWidth() calls
6416
6417         * text.C (redoParagraph): simplify row breaking logic
6418
6419
6420 2003-08-19  André Pönitz  <poenitz@gmx.net>
6421
6422         * funcrequest.C: initialize button_ member
6423
6424         * text3.C:
6425         * rowpainter.[Ch]: interface consolidation
6426
6427 2003-08-18  André Pönitz  <poenitz@gmx.net>
6428
6429         * BufferView.C:
6430         * BufferView_pimpl.C:
6431         * lyxfind.C:
6432         * paragraph_funcs.C:
6433         * rowpainter.C:
6434         * text3.C: remove LyXScreen::draw() and fitCursor calls
6435
6436         * BranchList.h: remove spurious semicolons
6437
6438         * MenuBackend.C: fix branchlist related crash
6439
6440 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
6441
6442         * BranchList.[Ch]:
6443         * InsetList.[Ch]:
6444         * LColor.[Ch]:
6445         * LyXAction.C:
6446         * Makefile.am:
6447         * MenuBackend.[Ch]:
6448         * bufferparams.[Ch]:
6449         * factory.C:
6450         * lfuns.h:
6451         * lyxfunc.C:
6452         * text3.C: implements the 'branch inset'
6453         idea. This allows the output of various versions of a document
6454         from a single source version, selectively outputing or suppressing
6455         output of parts of the text.
6456         This implementation contains a 'branch list editor' in a separate
6457         tab of the document settings dialog. Branches are user definable
6458         and have a "display colour" to distinguish them on-screen.
6459
6460         ColorHandler was somewhat cleaned up.
6461         (1) make possible a dynamically growing LColor list by allowing
6462         the graphic context cache to grow along (vector);
6463         (2) eliminate an IMHO unnecessary step in colour allocation.
6464
6465 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
6466
6467         * BufferView_pimpl.C: compile fix
6468
6469 2003-08-15  André Pönitz  <poenitz@gmx.net>
6470
6471         * rowpainter.C: remove extra metrics calls
6472
6473         * lyxtext.h: merge the two constructors into a single one,
6474           pass reference to owner's par list
6475
6476         * BufferView_pimpl.C:
6477         * text.C:
6478         * text2.C: adjust
6479
6480 2003-08-15  André Pönitz  <poenitz@gmx.net>
6481
6482         * lyxrow_funcs.[Ch]:
6483         * lyxtext.h:
6484         * paragraph.h:
6485         * paragraph_funcs.C:
6486         * rowpainter.C:
6487         * text.C:
6488         * text2.C:
6489         * text3.C:
6490         * text_funcs.C: split LyXText::rowlist_ into individual
6491         Paragraph::rows_ chunks
6492
6493         * BufferView.[Ch]:
6494         * BufferView_pimpl.[Ch]:
6495         * lyxfind.C:
6496         * lyxtext.h:
6497         * text3.C: remove toggleSelection()
6498
6499 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
6500
6501         * bufferlist.C: beautify two alerts (shorter text of buttons)
6502         * buffer.C: Remove redundant ' ' from message
6503         * tabular.h:
6504         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6505         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6506         rename VALIGN_CENTER to VALIGN_MIDDLE
6507
6508 2003-08-11  André Pönitz  <poenitz@gmx.net>
6509
6510         * lyxtext.h (getPar):
6511         * text.C: new function
6512
6513 2003-08-11  André Pönitz  <poenitz@gmx.net>
6514
6515         * Makefile.am:
6516         * tracer.[Ch]: remove unneeded files
6517
6518         * InsetList.[Ch]: remove resizeInsetsLyXText()
6519
6520         * lyxtext.h:
6521         * text.C:
6522         * text2.C:
6523         * text3.C: merge insertParagraphs() and appendParagraph()
6524         remove breakAgain(), update()
6525
6526         * BufferView_pimpl.[Ch]:
6527         * bufferview_funcs.[Ch]:
6528         * lyxfunc.C:
6529         * paragraph.[Ch]:
6530         * rowpainter.C:
6531         * tabular.C: adjust after text & InsetList changes.
6532
6533 2003-08-08  André Pönitz  <poenitz@gmx.net>
6534
6535         * text.C (insertChar, backspace): replace rowlist fiddling
6536         with rebreak of full par
6537
6538         * lyxtext.h:
6539         * text.C (breakAgainOneRow, redoHeightOfParagraph,
6540         checkParagraph, updateInset): removed
6541
6542 2003-08-07  André Pönitz  <poenitz@gmx.net>
6543
6544         * paragraph.C:
6545         * text3.C: merge some LFUN handlers, remove dead code
6546
6547 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6548
6549         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6550
6551 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
6552
6553         * text2.C (DEPM): fix part of bug 1255 and 1256
6554
6555 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6556
6557         * BufferView_pimpl.C (workAreaDispatch): change to use
6558         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6559         that are no mouse related.
6560
6561 2003-08-05  André Pönitz  <poenitz@gmx.net>
6562
6563         * BufferView.[Ch]:
6564         * BufferView_pimpl.[Ch]:
6565         * bufferview_funcs.C:
6566         * text2.C:
6567         * text3.C: rip out "deep update"
6568
6569         * textcursor.[Ch] (last_sel_cursor): remove unused member
6570
6571 2003-08-04  André Pönitz  <poenitz@gmx.net>
6572
6573         * BufferView.[Ch]:
6574         * BufferView_pimpl.[Ch]:
6575         * ParagraphParameters.C:
6576         * bufferview_funcs.C:
6577         * lyx_cb.C:
6578         * lyxfind.C:
6579         * lyxfunc.C:
6580         * text.C:
6581         * text2.C:
6582         * text3.C: replace "complicated" BufferView::update(...) calls with
6583         simpler ones.
6584
6585         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6586
6587 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
6588
6589         * Makefile.am (lyx_SOURCES): add paper.h
6590
6591 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6592
6593         * Makefile.am: move things around so that both lyx-qt and
6594         lyx-xforms can be built (according to --with-frontend). Then lyx
6595         is a symbolic link to lyx-[firstfrontend]
6596
6597 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
6598
6599         * Always use std::endl with lyxerr
6600
6601 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
6602
6603         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6604
6605 2003-08-01  André Pönitz  <poenitz@gmx.net>
6606
6607         * BufferView.[Ch]:
6608         * BufferView_pimpl.[Ch]:
6609         * lyxfunc.C:
6610         * text3.C: merge BufferView::repaint() and BufferView::update()
6611
6612 2003-08-01  José Matos  <jamatos@lyx.org>
6613
6614         * buffer.[Ch]: file_format is no longer a buffer data element.
6615
6616 2003-08-01  André Pönitz  <poenitz@gmx.net>
6617
6618         * BufferView.C:
6619         * lyxtext.h:
6620         * text.C:
6621         * text2.C: make redoParagraph more independent of current cursor
6622
6623         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6624         * text.C:
6625         * text2.C: remove unneeded members
6626
6627 2003-07-30  André Pönitz  <poenitz@gmx.net>
6628
6629         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6630
6631         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6632           create a single function...
6633
6634         * paragraph_funcs.C (moveItem): ... here.
6635
6636         * text.C:
6637           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6638
6639 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
6640
6641         * LColor.[Ch]: Add comment and greyedout logical colors.
6642
6643 2003-07-30  André Pönitz  <poenitz@gmx.net>
6644
6645         * tabular.C: don't use Assert too heavily. This crashes where it
6646           shouldn't
6647
6648 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
6649
6650         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6651         is disabled (bug 1232)
6652
6653 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6654
6655         * factory.C: limited 'arg' scope
6656
6657 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6658
6659         * factory.C: fixed Note submenu issues
6660
6661 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6662
6663         * factory.C: submenu for Note/Comment/Greyedout
6664
6665 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
6666
6667         * lyx_main.C (LyX):
6668         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6669
6670 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
6671
6672         * LaTeXFeatures.C:
6673         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6674         greyedout. Patch provided by Jürgen Spitzmüller.
6675
6676 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6677
6678         * kbmap.C (read): fix error message when reading bind files
6679
6680 2003-07-29  Angus Leeming  <leeming@lyx.org>
6681
6682         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6683         certainly does not do what it purports to do. I am doing it, and
6684         us, a favour by killing it.
6685
6686 2003-07-28  José Matos  <jamatos@lyx.org>
6687
6688         * buffer.C (readBody, do_writeFile):
6689         * paragraph.C(readParagraph): \end_document replaces \the_end.
6690
6691 2003-07-29  André Pönitz  <poenitz@gmx.net>
6692
6693         * BufferView.[Ch]:
6694         * BufferView_pimpl.[Ch]:
6695         * lyxfunc.C:
6696         * text2.C:
6697         * text3.C:
6698         * textcursor.[Ch]: remove toggleToggle & Co
6699
6700 2003-07-28  José Matos  <jamatos@fep.up.pt>
6701
6702         * buffer.C (readParagraph):
6703         * params_func (readParToken, readParagraph):
6704         * paragraph.C (write): \layout -> \begin_layout.
6705
6706 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6707
6708         * lyxlex_pimpl.C (setFile): clean up slightly.
6709
6710         * bufferparams.h: add compressed var
6711
6712         * buffer_funcs.C (readFile): adjust for LyXLex change
6713         (newFile): ditto + simplify
6714
6715         * buffer.C (writeFile): handle writing of compressed files
6716
6717         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6718         Check if the file is compressed and set a bufferparm if so.
6719
6720         * Makefile.am (lyx_LDADD): remove explicit -lz
6721
6722 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6723
6724         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6725         makeDocBookFile): put the real LyX version in the first line of
6726         the file
6727
6728         * version.h:
6729         * version.C.in: remove lyx_docversion
6730
6731         * tabular.C (write_attribute): add a template-based version to
6732         write enums properly
6733
6734 2003-07-28  André Pönitz  <poenitz@gmx.net>
6735
6736         * lyxtext.h:
6737         * text.C:
6738         * text2.C:
6739         * text3.C: use doubles again for x-coordinates. They are needed.
6740
6741 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6742
6743         * messages.C (getLocaleDir): use lyx_localedir()
6744
6745         * lyxlex_pimpl.C (setFile): compress stuff
6746
6747         * buffer.C (writeFile): add some compression stuff
6748         (do_writeFile): new func, dont call expliti close... will this
6749         breake anything?
6750
6751         * Makefile.am (lyx_LDADD): add -lz
6752
6753 2003-07-28  José Matos  <jamatos@fep.up.pt>
6754
6755         * buffer.C: increment file format.
6756         * paragraph_funcs (readParagraph, readParToken):
6757         * paragraph.C (readParagraph): add \end_layout.
6758
6759 2003-07-27  Angus Leeming  <leeming@lyx.org>
6760
6761         * Makefile.am: remove special casing for configure-time setting of
6762         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6763
6764         * lyx_main.C (init): remove all Jean-Marc's magic setting of
6765         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6766
6767 2003-07-26  André Pönitz  <poenitz@gmx.net>
6768
6769         * paragraph_func.[Ch]:
6770         * paragraph.C (realizeFont): inline it whereever it is used
6771
6772         * rowpainter.C:
6773         * text.C:
6774         * text2.C:
6775         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6776
6777
6778 2003-07-26  André Pönitz  <poenitz@gmx.net>
6779
6780         *       lyxtext.h:
6781         * text.C:
6782         * text2.C: get rid of LyXText::need_break_row
6783
6784 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6785
6786         * toc.[Ch]: put namespace toc inside namespace lyx
6787
6788         * MenuBackend.C (expandToc2): adjust for lyx::toc
6789         (expandToc): ditto
6790
6791         * lyxfunc.C (dispatch): adjust for lyx::find
6792
6793         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6794         lyx::find instead. Reorganize a bit.
6795         (LyXReplace): rename to replace
6796         (LyXFind): rename to find
6797
6798         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6799         (dispatch): ditto
6800
6801 2003-07-26  André Pönitz  <poenitz@gmx.net>
6802
6803         * text.C (setHeightOfRow): restrict scope of temporary variable
6804
6805         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
6806           code (never has been used?)
6807
6808 2003-07-27  Asger Alstrup  <alstrup@local>
6809
6810         * text.C (fill): Optimise algorithm to exploit that we can reuse
6811         the LyXFont for many characters.
6812         (setHeightOfRow): Same thing.
6813         (rowBreakPoint): Same thing.
6814
6815 2003-07-26  Asger Alstrup  <alstrup@local>
6816
6817         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6818
6819         * text.C (singleWidth): Spurious font copying in hot-spot
6820         singleWidth avoided. Reorder tests for arabic for efficiency.
6821
6822         * text.C (fill): handle empty paragraphs better.
6823
6824 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6825
6826         * ispell.C:
6827         * encoding.h: add includes
6828
6829         * lyxrc.C: remove reading of bind files
6830
6831         * lyx_main.C (init): setup bindings and menus only if we have a
6832         gui.
6833
6834         * kbmap.C (read): new method. Do the actual reading of bind
6835         files.
6836
6837         * converter.C (dvipdfm_options):
6838         * bufferparams.C:
6839         * lyxrc.C (read):
6840         (output): adapt PAPER_* enums.
6841
6842         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6843
6844         * bufferparams.h: remove paper-related enums from there
6845
6846         * paper.h: New file. A trivial header file to hold paper-related
6847         enums. It should later expand to contain many paper-related
6848         horrors access.
6849
6850         * lyxrc.C: declare extern displayTranslator
6851
6852 2003-07-27  José Matos  <jamatos@fep.up.pt>
6853
6854         * tabular.[Ch] (linuxdoc): add support for tables and figures
6855         (linuxdoc).
6856
6857 2003-07-27  José Matos  <jamatos@fep.up.pt>
6858
6859         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6860         consistency in both functions.
6861         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6862
6863 2003-07-26  Asger Alstrup  <alstrup@local>
6864
6865         * rowpainter.C (paintRows): Change algorithm to work directly on
6866         the insets rather than asking every character in the document
6867         whether its an inset.
6868
6869 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
6870
6871         * buffer.C (openFileWrite): factorize some code
6872
6873 2003-07-26  Angus Leeming  <leeming@lyx.org>
6874
6875         * lyx_cb.C:
6876         * lyx_main.[Ch]: replace occurances of system_tempdir with
6877         os::getTmpDir().
6878
6879 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6880
6881         * rename Inset to InsetOld
6882
6883 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
6884
6885         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6886         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6887         which I think is a bit clearer. EDIT is gone, since it was
6888         premature optimisation, and broken for mathed anyway.
6889         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6890         with cursor positioning in insets as well (math insets still do not
6891         work, but that's a different story anyway.) It mysteriously
6892         crashes sometimes with undo in the first paragraph, but I'm fairly
6893         confident that this is a compiler bug.
6894
6895 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6896
6897         * paragraph.C (Paragraph): adjust for new clone return type
6898         (operator==): ditto
6899         (copyIntoMinibuffer): ditto
6900
6901 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
6902
6903         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6904         by not having a special case, and always doing a full rebreak of
6905         the document after undo.
6906
6907 2003-07-23  Angus Leeming  <leeming@lyx.org>
6908
6909         * factory.C (createInset): InsetExternal::setParams now takes a
6910         Buffer const * arg.
6911
6912 2003-07-23  Angus Leeming  <leeming@lyx.org>
6913
6914         * factory.C (createInset): changed interface to the external and
6915         graphics mailers' string2params functions.
6916
6917 2003-07-23  Angus Leeming  <leeming@lyx.org>
6918
6919         * factory.C (createInset): pass a
6920         Buffer const * parameter to InsetExternalMailer's string2params.
6921
6922 2003-07-22  John Levon  <levon@movementarian.org>
6923
6924         * Thesaurus.h: include the right aiksaurus header
6925
6926 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6927
6928         * MenuBackend.C (expand): check menu shortcuts unconditionally
6929
6930 2003-07-21  Angus Leeming  <leeming@lyx.org>
6931
6932         * factory.C (createInset): pass a
6933         buffer_path parameter to InsetGraphicsMailer's string2params.
6934
6935 2003-07-21  Angus Leeming  <leeming@lyx.org>
6936
6937         * BufferView_pimpl.C (buffer):
6938         * buffer.C (d-tor):
6939         * lyx_main.C (LyX):
6940         * lyxfunc.C (dispatch):
6941         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6942         rather than the grfx shortcut.
6943
6944 2003-07-21  André Pönitz  <poenitz@gmx.net>
6945
6946         * rowpainter.C: remove unused variables
6947
6948         * tabular_funcs.C:
6949         * tabular_funcs.h: move to tabular.C
6950         * Makefile.am: adjust
6951
6952         * tabular.[Ch]: basic optical cleaning
6953
6954         * author.h: pass references, not values
6955
6956 2003-07-18  André Pönitz  <poenitz@gmx.net>
6957
6958         * lyxtext.h:
6959         * metricsinfo.C:
6960         * metricsinfo.h:
6961         * rowpainter.C:
6962         * text.C:
6963         * text2.C:
6964         * text3.C: two-phase drawing for InsetText and InsetTabular
6965         some float -> int changes.
6966
6967 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6968
6969         * lyx_main.C: fix the fix
6970
6971 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6972
6973         * lyx_main.C: fix a crash in batch mode if no files specified
6974         * converter.C: ws
6975
6976 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
6977
6978         * format.[Ch] (papersize): moved to BufferParams
6979         * converter.[Ch] (dvips_options): moved to BufferParams
6980         (dvipdfm_options): moved to anon namespace
6981         * bufferparams.[Ch]: added above functions.
6982
6983 2003-07-17  André Pönitz  <poenitz@gmx.net>
6984
6985         * lyxtext.h:
6986         * rowpainter.C:
6987         * text2.C: don't call inset->update() anymore
6988
6989         * metricsinfo.[Ch]: add convenience constructor
6990
6991 2003-07-16  André Pönitz  <poenitz@gmx.net>
6992
6993         * lyxcursor.[Ch]:
6994         * lyxfunc.[Ch]:
6995         * text.C:
6996         * text2.C: replace the LyXCursor::irow_ member with
6997          on-demand computation of the value
6998
6999 2003-07-16  John Levon  <levon@movementarian.org>
7000
7001         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
7002
7003 2003-07-15  André Pönitz  <poenitz@gmx.net>
7004
7005         * text.C:
7006         * text2.C: remove no more needed refresh_row
7007
7008 2003-07-15  André Pönitz  <poenitz@gmx.net>
7009
7010         * lyxtext.h:
7011         * rowpainter.C:
7012         * text2.C:
7013         * text3.C: refresh_status tristate -> need_update bool
7014
7015 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
7016
7017         * lyxtext.h (init): remove reinit argument (act as if always true)
7018         * text2.C: adjust to that
7019
7020 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7021
7022         * bufferview_funcs.[Ch]: introduce function replaceSelection()
7023         * text3.C: use it to delete selections in some cases
7024         (bugs 441, 673, 702, 954).
7025
7026 2003-07-14  André Pönitz  <poenitz@gmx.net>
7027
7028         * rowpainter.[Ch]: reduce interface
7029
7030 2003-07-14  André Pönitz  <poenitz@gmx.net>
7031
7032         * BufferView_pimpl.C:
7033         * text2.C: adjust after removing unused BufferView * argument
7034
7035 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
7036
7037         * text2.C (init): fix a crash fired on resize
7038
7039 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
7040
7041         * buffer.[Ch]: added new closing signal
7042         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
7043         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
7044         BufferView::Pimpl via the closing the signal
7045
7046 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
7047
7048         * buffer.[Ch]: take out all bv-related from buffer
7049         * BufferView.C:
7050         * BufferView_pimpl.[Ch]: connect to new signals
7051         * CutAndPaste.C: removed useless asserts
7052         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
7053         * lyxvc.[Ch]:
7054         * vc-backend.[Ch]:
7055         * lyxfunc.C: moved view-related funciontality from vc here
7056         * paragraph.C: removed outdated comments
7057         * text.C: ws
7058
7059 2003-07-10  André Pönitz  <poenitz@gmx.net>
7060
7061         * BufferView_pimpl.C:
7062         * tabular.h:
7063         * tabular_funcs.C:
7064         * text.C:
7065         * text2.C: remove InsetText::InnerCache, clean up consequences
7066
7067 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
7068
7069         * ispell.C: fix two typos in error messages
7070
7071 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
7072
7073         * Extend Note inset to other forms of annotation like Comment
7074         and Greyedout. Right button click gives dialog.
7075
7076         Files modified or added (+):
7077
7078         * insetnote.[Ch]
7079         * FormNote.[Ch]      +
7080         * ControlNote.[Ch]   +
7081         * form_note.fd       +
7082         * Makefile.am in frontends/xforms, frontends/xforms/forms,
7083         frontends/controllers
7084         * xforms/Dialogs.C
7085         * factory.C
7086
7087 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7088
7089         * aspell.C: add missing namespace lyx::support
7090
7091 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
7092
7093         * BufferView.[Ch] (newFile): Add
7094         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
7095         * LaTeX.[Ch] (message): added this signal and use it
7096         * buffer.[Ch] (busy, message): added these signals and use them
7097         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
7098         * converter.C:
7099         * exporter.C:
7100         * format.C:
7101         * importer.C: use buffer signals instead of direct bv calling
7102         * lyx_cb.[Ch] (ShowMessage): removed
7103         * lyx_main.C:
7104         * lyxfunc.C:
7105         * paragraph_funcs.C:
7106         * text2.C: use buffer signals
7107
7108 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7109
7110         * introduce namespace lyx::graphics
7111
7112 2003-07-02  André Pönitz  <poenitz@gmx.net>
7113
7114         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
7115
7116 2003-07-01  André Pönitz  <poenitz@gmx.net>
7117
7118         * text.C:
7119         * text2.C:
7120         * text3.C:
7121         * text_funcs.[Ch]:
7122         * textcursor.h:
7123         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
7124           text*.C to text_func.C
7125
7126 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7127
7128         * introduce namespace lyx::support
7129
7130 2003-06-30  André Pönitz  <poenitz@gmx.net>
7131
7132         * Chktex.C:
7133         * funcrequest.C:
7134         * lyxtext.h:
7135         * text.C: re-enable --with-included-string
7136
7137 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7138
7139         * textcursor.C: add <config.h>
7140
7141         * text.C (getWord): remove const from word_location arg
7142
7143         * lyxvc.C (getLogFile): fix const type order
7144
7145         * lyxtext.h: remove const from word_location arg, add arg name
7146
7147         * lyxlayout.h: currect type on labeltype.
7148
7149         * importer.C: correct \file
7150
7151         * converter.C (intToFormat): use std:: on ret val, ws changes
7152
7153         * bufferlist.h: correct \file
7154
7155         * buffer.C (makeLinuxDocFile): fix const type order
7156         (makeDocBookFile): ditto
7157         (fillWithBibKeys): use std:: on stdlib args.
7158
7159         * CutAndPaste.C: fix authors.
7160         (availableSelections): use std:: on return vector
7161
7162 2003-06-27  André Pönitz  <poenitz@gmx.net>
7163
7164         * BufferView_pimpl.C:
7165         * bufferview_funcs.C:
7166         * lyxcursor.C:
7167         * lyxcursor.h:
7168         * lyxfunc.C:
7169         * lyxtext.h:
7170         * rowpainter.C:
7171         * text.C:
7172         * text2.C:
7173         * text3.C: remove LyXCursor::row_ member
7174
7175         * lyxtext.h:
7176         * text.C: rename fullRebreak() to partialRebreak() and implement
7177           a fullRebreak() that really bereks fully
7178
7179         * textcursor.h: new struct for cursor-related data
7180
7181 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
7182
7183         * lyx_main.C (LyX): get full path of document loaded on the
7184         command line
7185
7186 2003-06-26  André Pönitz  <poenitz@gmx.net>
7187
7188         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7189           remove unused/broken operator>,<,>=.
7190
7191         *       text.C: remove only use of broken operator<= in an Assert().
7192
7193 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7194
7195         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7196         moved errorlist_.clear to showErrorList
7197
7198 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7199
7200         * converter.C (scanLog, runLaTeX):
7201         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7202         move the bv->showErrorList call to the callers
7203         * lyxfunc.C: i.e. here...
7204         * text2.C: and here
7205         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7206         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7207         namespace, the second to...
7208         * buffer_funcs (BufferFormat, parseErrors): added
7209         * errorlist.C (ErrorList(TeXErrors const &)): removed
7210
7211 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7212
7213         * ToolbarBackend.C (getIcon): complain when icon cannot be found
7214
7215 2003-06-24  "Garst R. Reese" <reese@isn.net>
7216
7217         * debug.C: fix typo
7218
7219 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7220
7221         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7222
7223         * version.C.in: change docversion to 1.4
7224
7225 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
7226
7227         * buffer.C: fix a bug just introduced
7228
7229 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
7230
7231         * buffer.[Ch]: added the parseError signal and use it, removed
7232         sgmlError
7233         * BufferView.[Ch] (addError): moved to ...
7234         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7235         to the Buffer::parseError signal to catch (guess what) parse errors
7236         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7237
7238 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
7239
7240         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7241         ability to create a buffer and to return an existing one from
7242         the list. Moved these functions to...
7243         * buffer_funcs.[Ch]: added
7244         * BufferView.[Ch] (loadLyXFile): added
7245         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7246         job removed from bufferlist::loadLyXFile.
7247         * buffer.C (setReadOnly): make it work without view
7248         (i.e added an if (users))
7249
7250 2003-06-19  Angus Leeming  <leeming@lyx.org>
7251
7252         * lfuns.h:
7253         * LyXAction.C (init):
7254         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7255         with LFUN_DIALOG_SHOW <name> <data>.
7256
7257 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7258
7259         * CutAndPaste.C (availableSelections): small compilation fix for
7260         ancient (gcc 2.9x) compilers
7261
7262 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
7263
7264         * text3.C (cursorNext): add tmp var
7265
7266         * text2.C (updateCounters): for function calling out of for clause
7267         (replaceSelectionWithString): ditto
7268         (insertStringAsParagraphs): ditto
7269         (getColumnNearX): add tmp var
7270         (setCursorFromCoordinates): add tmp var
7271         (cursorDownParagraph): add tmp var
7272         (deleteEmptyParagraphMechanism): add tmp var
7273
7274         * text.C (insertChar): add tmp var
7275
7276         * rowpainter.C (paintDepthBar): add tmp var
7277
7278         * CutAndPaste.C (availableSelections): potentially check all
7279         paragraphs in a cut to fill the shown strings.
7280
7281 2003-06-18  André Pönitz  <poenitz@gmx.net>
7282
7283         * kbmap.[Ch]: use vector<> instead of list<>
7284
7285 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
7286
7287         * text3.C (dispatch): handle arg to LFUN_PASTE, call
7288         pasteSelection with index
7289
7290         * text2.C (pasteSelection): modify, call pasteSelection with index
7291
7292         * paragraph.C (asString): reimplement version with no interval to
7293         call the one with interval.
7294
7295         * lyxtext.h: add index arg to pasteSelection
7296
7297         * MenuBackend.C (MenuItem): handle PasteRecent
7298         (Menu::read::Menutags): add md_pasterecent
7299         (read): handle it
7300         (expandPasteRecent): new function
7301         (expand): use it
7302
7303         * MenuBackend.h: add PasteRecent to MenuItem::Kind
7304
7305         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7306         the limited stack
7307         (availableSelections): new function
7308
7309 2003-06-17  Angus Leeming  <leeming@lyx.org>
7310
7311         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7312
7313 2003-06-17  Angus Leeming  <leeming@lyx.org>
7314
7315         * lfuns.h:
7316         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7317
7318         * lyxfunc.C (dispatch): invoke it.
7319
7320 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7321
7322         * iterators.C (operator++, ParPosition): reintroduce some
7323         const_cast for the benefit of older compilers.
7324
7325 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7326
7327         * text3.C (dispatch): do not modify clipboard when doing
7328         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7329         LFUN_DELETE_SKIP on a selection selection
7330
7331 2003-06-16  André Pönitz  <poenitz@gmx.net>
7332
7333         * BufferView.C:
7334         * buffer.C:
7335         * buffer.h:
7336         * paragraph.C:
7337         * tabular.[Ch]: IU of clone() and getLabelList();
7338
7339 2003-06-13  André Pönitz  <poenitz@gmx.net>
7340
7341         * tabular.h: compactification
7342
7343 2003-06-12  André Pönitz  <poenitz@gmx.net>
7344
7345         * tabular.C:
7346         * tabular.h:
7347         * tabular_funcs.h: some renaming plus whitespace
7348
7349 2003-06-12  André Pönitz  <poenitz@gmx.net>
7350
7351         * BufferView.C:
7352         * BufferView_pimpl.C:
7353         * CutAndPaste.C:
7354         * buffer.C:
7355         * iterators.[Ch]:
7356         * lyxfunc.C:
7357         * text.C:
7358         * toc.C: Return a Paragraph & for ParIterator::operator*()
7359
7360 2003-06-11  John Levon  <levon@movementarian.org>
7361
7362         * lyx_main.C:
7363         * ToolbarBackend.h:
7364         * ToolbarBackend.C: add "Toolbars" section and
7365         put the flags there
7366
7367 2003-06-10  Angus Leeming  <leeming@lyx.org>
7368
7369         * lfuns.h:
7370         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7371
7372         * lyxfunc.C (dispatch): invoke it.
7373
7374 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7375
7376         * main.C: protect <ios> with HAVE_IOS
7377         (main): protect sync_with_stdio with HAVE_IOS
7378
7379 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
7380
7381         * text2.C (cutSelection): adjust
7382         (pasteSelection): adjust
7383
7384         * messages.C: handle get of empty string
7385
7386         * main.C (main): use sync_with_stdio(false)
7387
7388         * lyxfunc.C (dispatch): adjust
7389
7390         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7391         (WriteAs): remove unneeded BufferView arg.
7392
7393         * bufferparams.h: use correct types on papersize, papersize2 and
7394         paperpackage.
7395
7396         * bufferparams.C (readToken): adjust for type
7397         (writeLaTeX): add missing cases to switch.
7398
7399         * bufferlist.C (quitWriteBuffer): adjust
7400         (close): adjust
7401
7402         * buffer.C (asciiParagraph): remove some commented code.
7403
7404         * CutAndPaste.C: remove current_view extern variable.
7405         (cutSelection): add BufferParams arg.
7406         (eraseSelection): add BufferParams arg.
7407         (pasteSelection): add Buffer const & arg
7408
7409 2003-06-07  John Levon  <levon@movementarian.org>
7410
7411         * buffer.C:
7412         * paragraph_funcs.C:
7413         * paragraph_pimpl.C:
7414         * text.C:
7415         * text2.C:
7416         * paragraph.h:
7417         * paragraph.C: allow InsetERT to freely space lines,
7418         and some consolidation of code
7419
7420 2003-06-06  José Matos  <jamatos@fep.up.pt>
7421
7422         * buffer.C (makeDocBookFile): fix bug #821
7423
7424 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
7425
7426         * BufferView_pimpl.C (dispatch): use Dialogs::visible
7427
7428 2003-06-04  Angus Leeming  <leeming@lyx.org>
7429
7430         * buffer.C: bump format to 224.
7431
7432 2003-06-05  André Pönitz  <poenitz@gmx.net>
7433
7434         * text2.C (redoParagraphs): remove two const_cast<>
7435
7436 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
7437
7438         * ParagraphList.h: remove last remnants of NO_STD_LIST
7439
7440 2003-06-03  Angus Leeming  <leeming@lyx.org>
7441
7442         * factory.C (createInset): small change to the way InsetExternal's params
7443         are set.
7444
7445 2003-06-04  André Pönitz  <poenitz@gmx.net>
7446
7447         * buffer.h: use Undo directly instead of shared_ptr<Undo>
7448
7449         * paragraph_pimpl.h:
7450         * paragraph.[Ch]: some Inset -> UpdatableInset changes
7451
7452         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7453
7454         * undo_funcs.C: make some simple cases of undo work again
7455
7456 2003-06-03  John Levon  <levon@movementarian.org>
7457
7458         * ispell.C: HPUX doesn't have sys/select.h
7459         (from Albert Chin)
7460
7461 2003-06-03  John Levon  <levon@movementarian.org>
7462
7463         * CutAndPaste.C: update tabular and include inset
7464         buffer references
7465
7466         * buffer.h:
7467         * paragraph.h:
7468         * paragraph.C: remove owningBuffer(), don't pass Buffer
7469         to clone()
7470
7471         * factory.C: insetGraphicsParams changed
7472
7473 2003-06-02  John Levon  <levon@movementarian.org>
7474
7475         * LyXAction.C:
7476         * factory.C:
7477         * lfuns.h:
7478         * lyxfunc.C:
7479         * text3.C: remove insetparent
7480
7481 2003-06-02  John Levon  <levon@movementarian.org>
7482
7483         * buffer.h:
7484         * buffer.C: fix inset_iterator.end(), move out of line
7485         (bug 1149)
7486
7487 2003-06-01  John Levon  <levon@movementarian.org>
7488
7489         * text3.C: use a proper cut/paste when doing inset
7490         insert (from Jürgen Spitzmüller)
7491
7492 2003-06-01  John Levon  <levon@movementarian.org>
7493
7494         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7495
7496 2003-05-30  André Pönitz  <poenitz@gmx.net>
7497
7498         * rowpainter.C: unify second drawing phase
7499
7500 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7501
7502         * trans_mgr.C: remove one case of current_view
7503
7504         * text2.C (cursorBottom): delete NO_STD_LIST stuff
7505
7506         * paragraph_funcs.h: remove paragraph.h include
7507
7508         * paragraph.h: delete NO_STD_LIST stuff
7509
7510         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7511
7512         * buffer.h: remove paragraph.h include
7513
7514         * ParagraphList.C: delete file
7515
7516         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7517
7518         * toc.C (getTocList): adjust
7519
7520         * paragraph_pimpl.C (validate): adjust
7521
7522         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7523
7524         * paragraph.C (Paragraph): adjust
7525         (getPositionOfInset): use const_iterator, adjust
7526         (bibitem): use const_iterator, adjust
7527         (setInsetOwner): adjust
7528
7529         * iterators.C (operator++): adjust
7530
7531         * InsetList.[Ch]: Replace selfmade iterator with standard
7532         vector::iterator also introduce const_iterator. Remove getPos,
7533         getInset and setInset from InsetTable. Adjust accordingly.
7534
7535         * BufferView.C (lockInset): adjust
7536         (ChangeInsets): adjust
7537
7538         * tabular.[Ch]: delete commented same_id functions
7539
7540 2003-05-28  John Levon  <levon@movementarian.org>
7541
7542         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7543
7544 2003-05-28  André Pönitz  <poenitz@gmx.net>
7545
7546         * metricsinfo.[Ch]: remove 'fullredraw' member
7547
7548 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
7549
7550         * lyxtextclass.C (operator): remove caching.
7551
7552 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7553
7554         * text3.C: adjust
7555
7556         * text2.C (cursorBottom): adjust
7557         (setCounter): use ParagraphList::find, adjust
7558
7559         * text.C (workWidth): use ParagraphList::find, adjust
7560
7561         * lyxcursor.C (LyXCursor): adjust
7562
7563         * buffer.C (inset_iterator): adjust
7564
7565         * ParagraphList.h: make iterator(value_type) private, make
7566         ParagraphList a friend of iterator.
7567
7568         * ParagraphList.C (find): new function
7569
7570         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7571
7572 2003-05-27  André Pönitz  <poenitz@gmx.net>
7573
7574         * dimension.[Ch]: a -> asc, d -> des, w -> wid
7575
7576 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7577
7578         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7579
7580 2003-05-26  John Levon  <levon@movementarian.org>
7581
7582         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7583
7584 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7585
7586         * remove same_id from function signatures, adjust.
7587
7588 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7589
7590         * undo_funcs.C (createUndo): use the id functions directly, adjust.
7591
7592         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7593
7594         * paragraph.C (Paragraph): get rid of same_ids parameter
7595
7596         * ParagraphList.C (insert): adjust
7597         (push_back): adjust
7598
7599 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7600
7601         * paragraph_funcs.C (breakParagraph): adjust
7602         (breakParagraphConservative): adjust
7603
7604         * buffer.C (readParagraph): adjust
7605
7606         * ParagraphList.C (insert): take a reference instead of a pointer
7607         (insert): adjust
7608
7609         * paragraph.[Ch] (id): new function
7610
7611         * bufferlist.C (newFile): adjust
7612
7613         * ParagraphList.C (ParagraphList): adjust
7614         (assign): adjust
7615         (push_back): take a reference instead of a pointer.
7616
7617         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7618
7619         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7620         instead.
7621
7622         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7623         set else use old code.
7624
7625         * ParagraphList.C: remove all NO_NEXT code and only compile this
7626         code of NO_STD_LIST is set.
7627
7628 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7629
7630         * BufferView_pimpl.C:
7631         * TextCache.C:
7632         * TextCache.h:
7633         * bufferlist.C:
7634         * errorlist.h:
7635         * format.C:
7636         * format.h:
7637         * graph.C:
7638         * lyxfunc.C:
7639         * lyxrc.C:
7640         * graphics/GraphicsConverter.C:
7641         * graphics/PreviewLoader.C: header adjustment
7642
7643 2003-05-23  Angus Leeming  <leeming@lyx.org>
7644
7645         * LaTeXFeatures.[Ch] (useBabel): new method.
7646         * bufferparams.C (writeLaTeX): use it.
7647
7648 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7649
7650         * ParagraphList.h (set): remove unused function.
7651
7652 2003-05-23  André Pönitz  <poenitz@gmx.net>
7653
7654         * BufferView.C:
7655         * BufferView_pimpl.C:
7656         * buffer.C:
7657         * buffer.h:
7658         * lyxfunc.C:
7659         * undo_funcs.C: setUndo reworked
7660
7661         * iterators.[Ch]: add access to topmost ParagraphList
7662
7663         * lyxtext.[Ch] (workWidth): add a const
7664
7665 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7666
7667         * texrow.[Ch] (increasePos): remove function
7668         * exporter.C (export): removed unused var and outdated comment
7669
7670 2003-05-23  Angus Leeming  <leeming@lyx.org>
7671
7672         * latexrunparams.h: rename fragile as moving_arg.
7673         * paragraph.C (simpleTeXOnePar): ditto.
7674         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7675
7676 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7677
7678         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7679         (createUndo): ditto
7680         (textUndoOrRedo): comment out a currently unused var.
7681
7682         * paragraph.h (NO_NEXT): enable NO_NEXT
7683
7684         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7685
7686         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7687
7688         * exporter.C (Export): adjust for removeAutoInsets removal.
7689
7690         * buffer.C (runChktex): adjust for removeAutoInsets removal.
7691
7692         * LyXAction.C (init): remove LFUN_REMOVEERRORS
7693
7694         * BufferView.[Ch] (removeAutoInsets): delete function
7695
7696 2003-05-22  Angus Leeming  <leeming@lyx.org>
7697
7698         * latexrunparams.h: add a free_spacing variable.
7699
7700         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7701         to pass moving_arg, as the data is stored in runparams.fragile.
7702
7703         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7704         to Inset::latexOptional or to simpleTeXOnePar.
7705
7706         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7707         free_spacing arg to Inset::latexOptional.
7708
7709         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7710         free_spacing arg.
7711
7712 2003-05-22  Angus Leeming  <leeming@lyx.org>
7713
7714         * latexrunparams.h: add fragile and use_babel variables.
7715
7716         * bufferparams.[Ch] (writeLaTeX): return use_babel.
7717         * buffer.C (makeLaTeXFile): store this returned value in
7718         runparams.use_babel, thus passing it to the inset::latex methods.
7719
7720         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7721         simpleTeXSpecialChars as it is now stored in runparams.fragile.
7722
7723         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7724         longer has a fragile arg, as it is stored in runparams.fragile.
7725
7726         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7727         moving_arg parameter as the data is stored in runparams.fragile.
7728
7729         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7730         a fragile parameter as the data is stored in runparams.fragile.
7731
7732 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7733
7734         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7735
7736 2003-05-22  Angus Leeming  <leeming@lyx.org>
7737
7738         * latexrunparams.h: add a 'bool nice' which defaults to false.
7739
7740         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7741         now encapsulated within runparams.
7742
7743         * bufferlist.C (updateIncludedTeXfiles):
7744         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7745
7746 2003-05-22  Angus Leeming  <leeming@lyx.org>
7747
7748         * latexrunparams.h: new file containing struct LatexRunParams.
7749         * Makefile.am: add new file.
7750
7751         * LaTeX.[Ch] (c-tor, run):
7752         * buffer.[Ch] (makeLaTeXFile):
7753         * bufferlist.[Ch] (updateIncludedTeXfiles):
7754         * converter.C (convert, scanLog):
7755         * converter.[Ch] (runLaTeX):
7756         * exporter.C (Export):
7757         * paragraph.[Ch] (simpleTeXOnePar):
7758         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7759         * paragraph_funcs.[Ch] (latexParagraphs):
7760         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7761         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7762         pass around a LatexRunParams parameter.
7763
7764 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7765
7766         * paragraph.[Ch]: remove unused constructor
7767
7768         * ParagraphList.C (erase): new function, taking two iterators
7769
7770 2003-05-22  André Pönitz  <poenitz@gmx.net>
7771
7772         * undo_funcs.C: remove duplicated code
7773
7774         * iterator.[Ch]: operator=
7775
7776 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7777
7778         * tabular.C (SetMultiColumn): ws changes
7779
7780         * rowpainter.C (paintFirst): get rid of a ->previous
7781
7782         * lyx_cb.C (getPossibleLabel): parlist simplification
7783
7784         * BufferView.C (ChangeInsets): simplify slightly.
7785
7786 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7787
7788         * LyXAction.C: new lfun space-insert, kill protected-space-insert
7789         * lfuns.h: new LFUN_SPACE
7790         * lyxfunc.C: protected space has a new lfun
7791         * paragraph_funcs.C: read new space insets
7792         * text3.C:
7793         * factory.C: handle new space insets
7794
7795 2003-05-22  André Pönitz  <poenitz@gmx.net>
7796
7797         * BufferView.C:
7798         * BufferView_pimpl.C:
7799         * buffer.[Ch]:
7800         * lyxfunc.C:
7801         * undo_funcs.C: return a ParIterator from getParFromID.
7802
7803         * iterators.[Ch]: add two const's
7804
7805 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7806
7807         * toc.C (getTocList): adjust
7808
7809         * iterators.[Ch]: rework for parlist
7810
7811         * buffer.C (par_iterator_begin): adjust
7812         (par_iterator_end): adjust
7813
7814         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7815
7816         * BufferView.C (removeAutoInsets): adjust
7817         (ChangeInsets): adjust
7818
7819 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
7820
7821         * text.C (top_y): fix bug 1110
7822
7823 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
7824
7825         * errorlist.[Ch]: added
7826         * buffer.C:
7827         * BufferView.[Ch]:
7828         * BufferView_pimpl.C:
7829         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7830         instead
7831
7832 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7833
7834         * Makefile.am: ensure that lyx is relinked upon changes to the
7835         various "convenience" libs.
7836
7837 2003-05-20  Angus Leeming  <leeming@lyx.org>
7838
7839         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7840         files are compiled in alphabetical order again.
7841
7842         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7843
7844 2003-05-19  Angus Leeming  <leeming@lyx.org>
7845
7846         * gettext.[Ch]: remove "char const * _(char const *)".
7847
7848 2003-05-19  André Pönitz  <poenitz@gmx.net>
7849
7850         * dimension.[Ch]: promote from mathed/dimension.[Ch]
7851
7852         * Makefile.am:
7853         * BufferView.C:
7854         * DepTable.h:
7855         * LaTeXFeatures.C:
7856         * buffer.C:
7857         * lyxfont.C:
7858         * lyxlex.h:
7859         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7860
7861 2003-05-19  André Pönitz  <poenitz@gmx.net>
7862
7863         * buffer.C:
7864         * lyxlayout.[Ch]:
7865         * lyxtextclass.[Ch]:
7866         * paragraph.C:
7867         * paragraph_funcs.[Ch]:
7868         * text2.C:
7869         * text3.C: more insetenv work
7870
7871 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
7872
7873         * ParagraphParameters.C (params2string): small bug fixed
7874
7875 2003-05-16  André Pönitz  <poenitz@gmx.net>
7876
7877         * debug.C:
7878         * bufferview_funcs.C: patch from Kornel Benko to prevent
7879           crash when _(...) is called twice in a statement
7880
7881 2003-05-16  André Pönitz  <poenitz@gmx.net>
7882
7883         * BufferView.C:
7884         * lyxfunc.C:
7885         * text.C:
7886         * text2.C:
7887         * text3.C:
7888         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7889
7890 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
7891
7892         * lyx_main.C (init): remove spurious static_cast
7893
7894 2003-05-14  André Pönitz  <poenitz@gmx.net>
7895
7896         * BufferView.C: fix format string
7897
7898 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
7899
7900         * BufferView.[Ch] (insertErrors): removed
7901         * BufferView.[Ch] (showErrorList): added
7902         * buffer.C (runChkTeX):
7903         * converter.C (scanLog): call showErrorList instead of inserterrors
7904
7905 2003-05-13  André Pönitz  <poenitz@gmx.net>
7906
7907         * BufferView_pimpl.C:
7908         * buffer.C:
7909         * bufferview_func.C:
7910         * MenuBackend.C:
7911         * lyxfunc.C:
7912         * lyxrc.C:
7913         * tex-accent.C:
7914         * text3.C:
7915         * toc.C:
7916         * tabular_funcs.h: tostr() from its own header
7917
7918         * ParagraphParameters.C:
7919         * ToolbarBackend.C:
7920         * bufferparams.C:
7921         * format.C:
7922         * lyxlex_pimpl.C:
7923         * text3.C: STRCONV()
7924
7925 2003-05-12  André Pönitz  <poenitz@gmx.net>
7926
7927         * BufferView.C:
7928         * BufferView_pimpl.C:
7929         * CutAndPaste.C:
7930         * LaTeX.C:
7931         * LaTeXFeatures.C:
7932         * ParagraphParameters.C:
7933         * buffer.C:
7934         * bufferlist.C:
7935         * bufferparams.C:
7936         * bufferview_funcs.C:
7937         * converter.C:
7938         * counters.C:
7939         * debug.C:
7940         * exporter.C:
7941         * format.C:
7942         * importer.C:
7943         * lyx_cb.C:
7944         * lyx_main.C:
7945         * lyxfont.C:
7946         * lyxfunc.C:
7947         * lyxvc.C:
7948         * paragraph.C:
7949         * paragraph_funcs.C:
7950         * tabular.C:
7951         * tabular_funcs.C:
7952         * text2.C:
7953         * text3.C:  boost::format -> bformat  all over the place
7954
7955
7956 2003-05-09  André Pönitz  <poenitz@gmx.net>
7957
7958         * LColor.[Ch]: Pimpl the #include <map> away
7959
7960 2003-05-09  John Levon  <levon@movementarian.org>
7961
7962         * bufferlist.C: never remove emergency saves
7963
7964 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7965
7966         * Makefile.am: better lib building
7967
7968 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
7969
7970         * texrow.[Ch]: remove dependency on Paragraph and just store a id
7971         instead.
7972         * paragraph_pimpl.C (simpleTeXBlanks): adjust
7973         (simpleTeXSpecialChars): adjust
7974         (simpleTeXSpecialChars): adjust
7975         * paragraph.C (simpleTeXOnePar): adjust
7976         * buffer.C (makeLaTeXFile): adjust
7977
7978         * Makefile.am (BOOST_LIBS): allow boost as system lib.
7979
7980         * text2.C (changeDepth): parlist cleanup
7981         (getColumnNearX): ditto
7982
7983         * rowpainter.C (getLabelFont): parlist cleanup
7984
7985         * bufferlist.C (newFile): parlist cleanup
7986
7987         * CutAndPaste.C (eraseSelection): parlist cleanup
7988
7989         * BufferView_pimpl.C (trackChanges): parlist cleanup
7990         (dispatch): ditto
7991
7992         * BufferView.C (lockInset): parlist cleanup.
7993         (ChangeInsets): ditto
7994
7995 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7996
7997         * CutAndPaste.h: Update file header.
7998
7999         * CutAndPaste.C: Update file header.
8000         Store the parts cut out of the Document in a limited_stack.
8001         (copySelection): adjust
8002         (pasteSelection): new function, takes the index in the limited stack.
8003         (nrOfParagraphs): adjust
8004         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
8005         simplify error inset insertion.
8006         (checkPastePossible): adjust
8007
8008 2003-05-06  John Levon  <levon@movementarian.org>
8009
8010         * text2.C: don't cast wrap inset to float
8011
8012 2003-05-05  André Pönitz  <poenitz@gmx.net>
8013
8014         * iterator.C:
8015         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
8016
8017         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
8018           few naked Paragraph *.
8019
8020 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
8021
8022         * bufferparams.C: Output warning if a document with missing
8023         TeX document class is loaded
8024         * exporter.C: Disable TeX exports if the document class is missing
8025         * lyxtextclass.C:
8026         * lyxtextclass.h:
8027         * lyxtextclasslist.C: Handle new textclass.lst format; new method
8028         isTeXClassAvailable()
8029
8030 2003-05-03  John Levon  <levon@movementarian.org>
8031
8032         * BufferView.h:
8033         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
8034         explicit cursor show/hide
8035
8036         * BufferView_pimpl.h:
8037         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
8038         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
8039
8040         * lyxfunc.C: hide cursor before dispatching.
8041
8042         * lyx_cb.C:
8043         * lyxfind.C:
8044         * text.C:
8045         * text3.C: remove explicit cursor hides
8046
8047 2003-05-02  André Pönitz  <poenitz@gmx.net>
8048
8049         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
8050
8051         * undo_funcs.C:
8052         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
8053           linked lists
8054
8055         * text2.C: tiny whitespace
8056
8057 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8058
8059         * undo_funcs.C: almost only ws changes.
8060
8061         * ParagraphList.C (splice): just return if pl is empty.
8062
8063 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8064
8065         * ParagraphList.C (splice): new function.
8066
8067         * CutAndPaste.C (pasteSelection): use it
8068
8069 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8070
8071         * CutAndPaste.C (pasteSelection): remove the last next and
8072         previous from this file.
8073
8074 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8075
8076         * CutAndPaste.C (pasteSelection): more clean up, user proper
8077         ParagraphList functions for pasteing.
8078
8079         * ParagraphList.C (insert): new function, three arg insert
8080
8081 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8082
8083         * ParagraphList.C (insert): new function, three arg insert
8084
8085         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
8086         not on paragraphs.
8087
8088 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8089
8090         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
8091
8092 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8093
8094         * CutAndPaste.C (pasteSelection): remove some unneeded code.
8095
8096 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8097
8098         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
8099         (copySelection): clean up a bit.
8100         (pasteSelection): use make_pair
8101
8102         * ParagraphList.C (ParagraphList): implement copy constructor
8103         (operator=): implement, base on copy constructor.
8104         (assign): new func
8105
8106         * paragraph.C (erase): return a bool
8107
8108         * paragraph_pimpl.C (erasePos): remove function, move contents...
8109         (erase): ... here. Return a bool.
8110         (erase): call erase instead of erasePos.
8111
8112 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
8113
8114         * ParagraphList.h: define PitPosPair
8115         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
8116         ParagraphList, fix a bug on pasting multiple pars
8117         * text2.C: change interface to C&P
8118
8119 2003-04-30  André Pönitz  <poenitz@gmx.net>
8120
8121         * undo_func.C: revert part of yesterday's patch 2
8122
8123 2003-04-30  John Levon  <levon@movementarian.org>
8124
8125         * LColor.C: s/tabular/table/
8126
8127 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8128
8129         * text3.C (dispatch): do not convert iterator -> pointer
8130         * undo_funcs.C (setCursorParUndo): ditto
8131         * text_funcs.C (transposeChars): ditto
8132
8133         * text2.C (setLayout): ws changes only
8134
8135         * text.C (breakParagraph): do not convert iterator -> pointer
8136         (insertChar): ditto
8137         (acceptChange): ditto
8138         (rejectChange): ditto
8139         (changeCase): ditto
8140         (Delete): ditto
8141         (backspace): ditto
8142
8143         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
8144         pointer
8145
8146 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8147
8148         * text3.C (gotoInset): YABG (yet another bad getChar)
8149
8150 2003-04-29  André Pönitz  <poenitz@gmx.net>
8151
8152         * paragraph.h: make operator= private unimplemented as long as
8153           it is unusable
8154
8155         * ParagraphList.C: whitespace
8156
8157         * paragraph.[Ch]:
8158         * paragraph_pimpl.[Ch]:
8159         * paragraph_funcs.C:
8160         * CutAndPaste.C:
8161         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
8162
8163         * text2.C:
8164           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8165
8166 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8167
8168         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8169         * paragraph.[Ch] (erase):
8170         * paragraph_pimpl.[Ch] (erase): change return type and value
8171         * text2.C (cutSelection): some rework
8172
8173 2003-04-28  John Levon  <levon@movementarian.org>
8174
8175         * bufferlist.C: changes for unsaved changes dialog
8176
8177 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8178
8179         * bufferlist.C (newFile): set language (messages_) for new
8180         documents also.
8181
8182         * buffer.C (readFile): ws changes only.
8183
8184 2003-04-28  André Pönitz  <poenitz@gmx.net>
8185
8186         * undo_funcs.C:
8187         * lyxfunc.C:
8188         * buffer.[Ch]:
8189         * BufferView_pimpl.C:
8190         * BufferView.C: getParFromID related ParagraphList::iterator changes
8191
8192 2003-04-28  André Pönitz  <poenitz@gmx.net>
8193
8194         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8195           Changes
8196
8197 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8198
8199         * messages.C: remove one more localedir class variable.
8200
8201 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8202
8203         * messages.C (getLocaleDir): singleton generation function
8204         (Pimpl): use it.
8205         (Messages): add a default constructor.
8206
8207         * main.C (main): do not setup localedir here, do not call
8208         gettext_init.
8209
8210         * gettext.C (_): use it.
8211         (gettext_init): delete funciton
8212
8213 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8214
8215         * gettext.C (getLyXMessages): new singleton generating function.
8216
8217         * buffer.C (updateDocLang): adjust
8218
8219         * Makefile.am (messages.o): add target
8220         (main.o): remove target
8221
8222 2003-04-27  John Levon  <levon@movementarian.org>
8223
8224         * bufferlist.C:
8225         * lyx_cb.C:
8226         * lyxfunc.C:
8227         * lyxvc.C: specify cancel button in Alert::prompt
8228
8229 2003-04-26  John Levon  <levon@movementarian.org>
8230
8231         * text3.C:
8232         * lyxfunc.C:
8233         * lfuns.h:
8234         * LyXAction.C: add LFUN_INSET_SETTINGS
8235
8236         * lyxfunc.C: don't enable tabular-feature when there's
8237         just any locking inset
8238
8239 2003-04-26  John Levon  <levon@movementarian.org>
8240
8241         * bufferlist.C: re-add Cancel to buffer close question
8242
8243         * lyxfunc.C: fix import UI a bit
8244
8245 2003-04-25  John Levon  <levon@movementarian.org>
8246
8247         * gettext.C: remove the broken asserts for now
8248
8249 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8250
8251         * messages.C: make case where setlocale cannot comply work better.
8252
8253         * buffer.C (updateDocLang): new function
8254         (changeLanguage): use it
8255         (readFile): use it
8256
8257         * text2.C (setCounter): use B_ a bit.
8258
8259         * lyxlayout.C (Read): be sure to trim the label strings.
8260
8261         * messages.C (Messages): fix typo in comment
8262
8263         * buffer.C (readFile): set message_ after file is loaded.
8264         (makeDocBookFile): remove double return
8265         (changeLanguage): reset message_ upon language change.
8266         (B_): new func, use this to get translated buffer strings.
8267
8268         * main.C: add myself and Jean Marc as authors.
8269
8270 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8271
8272         * messages.[hC]: pimplify Messages, and three different pimpls to be
8273         used in different circumstances.
8274
8275         * gettext.[Ch]: change for use with new message code.
8276
8277 2003-04-24 André Pönitz <poenitz@gmx.net>
8278
8279         * factory.C: support for eqref
8280
8281 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
8282
8283         * messages.[Ch]: add missing char
8284
8285         * Makefile.am (lyx_SOURCES): add messages.[Ch]
8286
8287         * messages.[Ch]: New files
8288
8289 2003-04-18  John Levon  <levon@movementarian.org>
8290
8291         * BufferView.h:
8292         * BufferView.C:
8293         * BufferView_pimpl.C:
8294         * lfuns.h:
8295         * LyXAction.C:
8296         * lyxtext.h:
8297         * text2.C: remove layout-copy/paste (bug 778)
8298
8299 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8300
8301         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8302
8303 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8304
8305         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8306         if they succeed. Act accordingly.
8307
8308 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8309
8310         * text2.C (setCharFont): adjust
8311         (setCounter): adjust
8312         (insertStringAsLines): adjust
8313
8314         * text.C (leftMargin): adjust
8315         (setHeightOfRow): adjust
8316
8317         * rowpainter.C (paintFirst): adjust
8318         (paintLast): adjust
8319
8320         * paragraph_funcs.C (depthHook): ParagraphList::iterators
8321         (outerHook): ditto
8322         (isFirstInSequence): ditto
8323         (getEndLabel): ditto
8324         (outerFont): adjust
8325
8326         * paragraph.C (getParLanguage): comment out some hard stuff.
8327
8328         * buffer.C (insertStringAsLines): take a ParagraphList as arg
8329         (sgmlError): ditto
8330         (simpleDocBookOnePar): ditto
8331         (makeDocBookFile): use ParagraphList::iterator
8332
8333         * CutAndPaste.C (pasteSelection): adjust
8334
8335 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8336
8337         * text2.C (getFont): adjust
8338         (getLayoutFont): adjust
8339         (getLabelFont): adjust
8340
8341         * paragraph_funcs.C (TeXOnePar): adjust
8342
8343         * buffer.C (simpleLinuxDocOnePar): adjust
8344         (simpleDocBookOnePar): adjust
8345
8346         * CutAndPaste.C (pasteSelection): adjust
8347
8348         * BufferView.C (getEncoding): adjust
8349
8350         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8351
8352 2003-04-16  John Levon  <levon@movementarian.org>
8353
8354         * lyxfind.C: use parlist stuff for search/changes
8355
8356 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8357
8358         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8359
8360         * text2.C (deleteEmptyParagraphMechanism): adjust
8361
8362         * text2.[Ch] (ownerParagraph): delete func (both of them
8363
8364 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8365
8366         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8367
8368 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8369
8370         * ParagraphList.C: prepare for NO_NEXT
8371
8372 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8373
8374         * text2.C (getFont): adjust
8375         (getLayoutFont): adjust
8376         (getLabelFont): adjust
8377
8378         * paragraph.C (getFont): adjust
8379         (getLabelFont): adjust
8380         (getLayoutFont): adjust
8381
8382         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8383
8384 2003-04-15  John Levon  <levon@movementarian.org>
8385
8386         From Angus Leeming
8387
8388         * lyx_main.C: handle Include in .ui files
8389
8390 2003-04-15  John Levon  <levon@movementarian.org>
8391
8392         * MenuBackend.C: make the doc files length shorter
8393
8394         * ToolbarBackend.h:
8395         * ToolbarBackend.C: handle toolbar placement flags,
8396         Minibuffer
8397
8398 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8399
8400         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8401         adjust
8402
8403         * paragraph_funcs.C (TeXOnePar): adjust
8404
8405         * paragraph.C (getLabelFont): add outerfont arg, adjust
8406         (getLayoutFont): ditto
8407         (simpleTeXOnePar): adjust
8408
8409         * paragraph_pimpl.C (realizeFont): delete func
8410
8411 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
8412
8413         * text2.C (beforeFullRowInset): added a bad getchar check, removed
8414         row argument, constify cur argument.
8415
8416 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8417
8418         * text2.C (getFont): adjust
8419         (getLayoutFont): adjust
8420         (getLabelFont): adjust
8421
8422         * paragraph_funcs.C (TeXOnePar): adjust
8423         (outerFont): new func...
8424         (realizeFont): ...moved out from here, changed this to facilitate
8425         transition
8426
8427         * paragraph.C (getFont): take outerfont as arg, adjust
8428         (simpleTeXOnePar): add outerfont arg, adjust
8429
8430         * buffer.C (simpleLinuxDocOnePar): adjust
8431         (simpleDocBookOnePar): adjust
8432
8433         * CutAndPaste.C (pasteSelection): adjust
8434
8435         * BufferView.C (getEncoding): adjust
8436
8437 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8438
8439         * text2.C (setCharFont): adjust
8440         (setCounter): adjust
8441
8442         * text.C (leftMargin): adjust
8443         (setHeightOfRow): adjust
8444
8445         * rowpainter.C (paintFirst): adjust
8446         (paintLast): adjust
8447
8448         * paragraph_pimpl.C (realizeFont): adjust
8449
8450         * paragraph.C (isFirstInSequence): move from here...
8451         * paragraph_funcs.C (isFirstInSequence): ...to here
8452
8453         * paragraph.C (outerHook): move from here...
8454         * paragraph_funcs.C (outerHook): ...to here
8455
8456         * paragraph.C (depthHook): move from here...
8457         * paragraph_funcs.C (depthHook): ...to here
8458
8459         * paragraph.C (getEndLabel): move from here...
8460         * paragraph_funcs.C (getEndLabel): ...to here
8461
8462         * text2.C (realizeFont): move from here...
8463         * paragraph_funcs.C (realizeFont): ...to here
8464
8465 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8466
8467         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8468
8469 2003-04-14  Angus Leeming  <leeming@lyx.org>
8470
8471         * LColor.[Ch]: scrap LColor mathcursor.
8472
8473 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8474
8475         * lyxlex.[Ch] (text): delete function
8476         * trans.C (Load): adjust
8477         * paragraph_funcs.C (readParToken): adjust
8478
8479 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8480
8481         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8482         vector<char> instead of a char[].
8483
8484         * lyxlex_pimpl.C (getString): adjust
8485         (next): adjust
8486         (lex): use getString
8487         (eatLine): adjust
8488         (nextToken): adjust
8489
8490         * lyxlex.C (text): use pimpl_->getString()
8491         (getBool): ditto
8492         (findToken): ditto
8493
8494 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8495
8496         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8497         (makeFontEntriesLayoutSpecific): temp var for par.size()
8498         (setLayout): temp var for ownerParagraphs().end()
8499         (fullRebreak): temp var for rows().end()
8500         (selectionAsString): temp var for boost::next(startpit), realize
8501         that the while really is a regular for loop.
8502         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8503         setCursor in one place.
8504         (setParagraph): temp vr for ownerParagraphs().end()
8505         (updateCounters): make the while loop a for loop
8506         (cutSelection): temp var for ownerParagraphs().end()
8507         (updateInset): make the do {} while() a regular for loop
8508         (getCursorX): use temp vars
8509         (setCurrentFont): use temp vars
8510         (getColumnNearX): use temp vars
8511
8512 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8513
8514         * text.C (transformChar): use temp var for getChar
8515         (computeBidiTables): use temp var for row->par()
8516         (fill): move temp vars for row->par() and pit->layout() earlier in
8517         the function.
8518         (labelFill): use temp var for row->par()
8519         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8520         asc and desc, realize that pit never changes and that firstpit is
8521         just a duplicate and not needed. Exchange rit->par() with pit in a
8522         lot of places.
8523         (breakAgain): use a temp var for boost::next(rit)
8524         (breakAgainOneRow): ditto
8525         (breakParagraph): use a temp var for rows().begin()
8526         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8527         (cursorRightOneWord): use temp var for cursor.par() and
8528         cursor.pos(), remove usage of tmpcursor.
8529         (cursorLeftOneWord): use temp var for cursor.par() and
8530         cursor.pos() only set cur at end of function.
8531
8532 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8533
8534         * text.C, text2.C: exchange all usage of Paragraph::next with
8535         boost::next(ParagraphList::iterator)
8536
8537         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8538
8539         * text2.C (cursorTop): simplify implementation
8540         (cursorBottom): ditto
8541         (setParagraph): use ParagraphList::iterator
8542         (setCurrentFont): adjust
8543         (getColumnNearX): adjust
8544         (cursorRight): adjust
8545         (cursorLeft): remove usage of Paragraph::previous
8546         (cursorUpParagraph): ditto
8547         (deleteEmptyParagraphMechanism): slight cleanup
8548
8549         * text.C (isBoundary): take a Paragraph const & instead of a
8550         pointer as arg.
8551         (addressBreakPoint): ditto
8552         (leftMargin): remove usage of Paragraph::previous.
8553         (setHeightOfRow): ditto
8554         (cursorLeftOneWord): ditto
8555         (selectNextWordToSpellcheck): ditto
8556         (Delete): ditto
8557         (backspace): ditto
8558         (breakParagraph): remove one usage of Paragraph::next
8559         (redoParagraph): ditto
8560         (acceptChange): ditto
8561         (insertChar): adjust
8562         (rowBreakPoint): adjust
8563
8564         * bufferview_funcs.C (toggleAndShow): adjust
8565
8566 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
8567
8568         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8569         methods to access it.
8570         * lyxtext.h:
8571         * text.C: Added updateRowPositions to compute all row positions.
8572         Make top_y and getRowNearY() to use the cached y position
8573
8574 2003-04-11  John Levon  <levon@movementarian.org>
8575
8576         * text.C (rowBreakPoint): reintroduce the labelEnd
8577         checks, code copied from the row fill stuff. Deep voodoo.
8578
8579         * text.C (fill): add a comment and debugging for the
8580         next poor soul.
8581
8582 2003-04-11  John Levon  <levon@movementarian.org>
8583
8584         * text.C: make sure fullrow insets get wrapped to the next line,
8585         even when they're in a manual label
8586
8587 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8588
8589         * text2.C (insertParagraph): make it take ParagraphList::iterator
8590         as arg.
8591         (setLayout): make it return ParagraphList::iterator
8592         (redoParagraphs): ditto
8593         (setCounter): ditto
8594         (checkParagraph): ditto
8595
8596         * text.C (getRow): make getrow take ParagraphList::iterator as arg
8597
8598         * text2.C: adjust several funcs.
8599         (realizeFont): take a ParagraphList::iterator as arg.
8600         (getLayoutFont): ditto
8601         (getLabelFont): ditto
8602         (setCharFont): ditto
8603
8604         * text.C: adjust several funcs.
8605
8606 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8607
8608         * text.C (selectNextWordToSpellcheck): don't accidentally
8609         skip insets
8610
8611 2003-04-10  John Levon  <levon@movementarian.org>
8612
8613         * ToolbarBackend.C (getIcon): special handling for
8614         LFUN_MATH_DELIM
8615
8616 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8617
8618         * text2.C (cursorRight): a getChar assert fixed
8619
8620 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8621
8622         * text2.C (getFont): change to take a ParagraphList::iterator
8623         instead of Paragraph*
8624         Adjust several functions.
8625
8626         * text.C (transformChar): change to take a ParagraphList::iterator
8627         instead of Paragraph*
8628         (singleWidth): ditto
8629         Adjust several functions.
8630
8631         * rowpainter.C: adjust several functions
8632         * rowpainter.h:store a ParagraphList::iterator and not a
8633         Paragraph&.
8634
8635
8636 2003-04-09  John Levon  <levon@movementarian.org>
8637
8638         * lyxfunc.C:
8639         * lfuns.h:
8640         * LyXAction.h:
8641         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8642         and the "help" bits as well
8643
8644 2003-04-09  John Levon  <levon@movementarian.org>
8645
8646         * ToolbarBackend.h:
8647         * ToolbarBackend.C: allow multiple toolbars
8648
8649 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8650
8651         * undo_funcs.C (setCursorParUndo): adjust
8652
8653         * text_funcs.C (transposeChars): adjust
8654
8655         * text3.C (gotoNextInset): adjust
8656         (dispatch): adjust
8657
8658         * text2.C (setLayout): adjust
8659         (changeDepth): adjust
8660         (setFont): adjust
8661         (redoParagraphs): adjust
8662         (selectionAsString): adjust
8663         (setParagraph): adjust
8664         (insertInset): adjust
8665         (cutSelection): adjust
8666         (copySelection): adjust
8667         (pasteSelection): adjust
8668         (insertStringAsLines): adjust
8669         (updateInset): adjust
8670         (setCursor): change to take a ParagraphList::iterator parameter
8671         (setCursorIntern): change to take a ParagraphList::iterator parameter
8672         (setCurrentFont): adjust
8673         (cursorLeft): adjust
8674         (cursorRight): adjust
8675         (deleteEmptyParagraphMechanism): adjust
8676
8677         * text.C (breakParagraph): adjust
8678         (insertChar): adjust
8679         (acceptChange): adjust
8680         (rejectChange): adjust
8681         (selectNextWordToSpellcheck): adjust
8682         (changeCase): adjust
8683         (Delete): adjust
8684         (backspace): adjust
8685
8686         * lyxfind.C (SearchForward): adjust
8687         (SearchBackward): adjust
8688         (nextChange): adjust
8689
8690         * lyxcursor.C (par): adjust
8691
8692         * lyxcursor.h: store a ParagraphList::iterator instead of a
8693         Paragraph*
8694
8695         * lyx_cb.C (getPossibleLabel): adjust
8696
8697         * bufferview_funcs.C (toggleAndShow): adjust
8698
8699         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8700         (dispatch): adjust
8701
8702         * BufferView.C (removeAutoInsets): adjust
8703         (lockedInsetStoreUndo): adjust
8704
8705 2003-04-09  John Levon  <levon@movementarian.org>
8706
8707         * ToolbarBackend.C: try icon without argument
8708         if with argument fails
8709
8710 2003-04-08  John Levon  <levon@movementarian.org>
8711
8712         * ToolbarBackend.h:
8713         * ToolbarBackend.C: add getIcon(), handle tooltip,
8714         and change from "Icon" to "Item".
8715
8716 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8717
8718         * BufferView.C (lockInset): another bad getchar crunched
8719
8720 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8721
8722         * text2.C (changeDepth): do not setUndo on test_only (make undo work
8723         again)
8724
8725 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
8726
8727         * lyxfind.C (searchForward, searchBackwards): bug 782
8728
8729 2003-04-07  John Levon  <levon@movementarian.org>
8730
8731         * paragraph.C: remove dead comment
8732
8733         * text.C: remove troublesome depth-fiddling code
8734         in leftMargin() and rightMargin() (bug 1017)
8735
8736         * text.C: fix breaking of rows in nested lists
8737         (bug 1004)
8738
8739         * text2.C (updateCounters): fix up depth values
8740         (bug 1013)
8741
8742 2003-04-07  John Levon  <levon@movementarian.org>
8743
8744         * BufferView_pimpl.C: clear message when doc finishes resizing,
8745         and after a mouse event
8746
8747         * lyxfunc.C: clear message after exiting inset
8748
8749 2003-04-07  John Levon  <levon@movementarian.org>
8750
8751         * bufferview_funcs.C: show math status not outside
8752         status in the statusbar
8753
8754 2003-04-07  John Levon  <levon@movementarian.org>
8755
8756         * lyxfunc.C: note status changed after a depth change
8757
8758 2003-04-04  Angus Leeming  <leeming@lyx.org>
8759
8760         * LaTeX.h: move AuxInfo operator==, != out of line.
8761         Remove LaTeX virtual destructor; nothing derives from it.
8762         Move operator()() out of public area and rename it startscript().
8763         Change protected for private.
8764
8765 2003-04-04  Angus Leeming  <leeming@lyx.org>
8766
8767         * lyxfunc.C:
8768         * text2.C: remove unneeded #includes.
8769
8770 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8771
8772         * text2.C (dEPM): fix the heigth of the next row
8773
8774 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8775
8776         * text.C: squashed an invalid getChar requester + some ws changes
8777
8778 2003-04-03  John Levon  <levon@movementarian.org>
8779
8780         * bufferview_funcs.h:
8781         * bufferview_funcs.C:
8782         * lyxfunc.C:
8783         * lyxtext.h:
8784         * text2.C: make getStatus work for the env depth lfuns
8785
8786 2003-04-03  John Levon  <levon@movementarian.org>
8787
8788         * bufferview_funcs.h:
8789         * bufferview_funcs.C:
8790         * lyxfunc.C:
8791         * lyxtext.h:
8792         * text2.C: parlistize decDepth(), by merging it with incDepth()
8793
8794 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8795
8796         * lyxrow.h: store a ParagraphList::iterator instead of a
8797         Paragraph* and adjust other class functions to suit.
8798
8799         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8800         above.
8801
8802 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8803
8804         * text2.C (setCursor): do not anchor to cursor row for the time being
8805
8806 2003-04-02  John Levon  <levon@movementarian.org>
8807
8808         * LyXAction.C:
8809         * lfuns.h:
8810         * lyx_main.C:
8811         * lyxtext.h:
8812         * text.C:
8813         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8814
8815 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8816
8817         * paragraph.h: make ParagraphList and ParagraphList::iterator
8818         friends of Paragraph.
8819
8820         * buffer.C (makeLinuxDocFile): move towards ParagraphList
8821
8822         * ParagraphList.C: Use the private next_ and previous_ from
8823         Paragraph.
8824
8825 2003-04-01  John Levon  <levon@movementarian.org>
8826
8827         * ToolbarBackend.h:
8828         * ToolbarBackend.C:
8829         * Makefile.am: rename, remove defaults gunk
8830
8831         * MenuBackend.h:
8832         * MenuBackend.C: remove defaults gunk
8833
8834         * Languages.h:
8835         * Languages.C: remove defaults gunk
8836
8837         * lyx_main.h:
8838         * lyx_main.C: error out if files couldn't be found.
8839
8840 2003-04-02  John Levon  <levon@movementarian.org>
8841
8842         * text2.C: make incDepth() use parlist
8843
8844 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8845
8846         * undo_funcs.C (firstUndoParagraph): adjust
8847
8848         * text3.C (gotoInset): adjust
8849         (dispatch): adjust, and rewrite loop.
8850
8851         * text2.C (init): adjust, and rewrite loop.
8852         (redoParagraphs): adjust
8853         (updateInset): adjust, and rewrite loop.
8854         (deleteEmptyParagraphMechanism): adjust
8855
8856         * tabular.C (LyXTabular): adjust
8857         (SetMultiColumn): adjust
8858         (TeXRow): adjust
8859
8860         * lyxtext.[Ch] (ownerParagraph): delete function
8861         (ownerParagraphs): new function returns a ParagraphList.
8862
8863         * BufferView.C (removeAutoInsets): adjust
8864         (insertErrors): adjust
8865         (setCursorFromRow): adjust
8866
8867 2003-04-01  Angus Leeming  <leeming@lyx.org>
8868
8869         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8870         in the frontends.
8871
8872 2003-04-02  John Levon  <levon@movementarian.org>
8873
8874         * lyxtext.h:
8875         * text.C:
8876         * Makefile.am:
8877         * text_funcs.h:
8878         * text_funcs.C: make transposeChars a free function
8879
8880         * lyxrow_funcs.C: remove wrong comment
8881
8882 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8883
8884         * lyxtext.h: adjust
8885         * rowpainter.C: adjust
8886         * text.C: adjust
8887         * text2.C: adjust
8888         * text3.C: adjust
8889
8890         * lyxrow_funcs. [Ch]: new files
8891
8892         * lyxrow.[Ch]: remove next and previous pointers
8893         (next,previous): remove accessor functions
8894         (isParEnd): move to lyxrow_funcs
8895         (lastPos): move to lyxrow_funcs
8896         (nextRowIsAllInset): move to lyxrow_funcs
8897         (lastPrintablePos): move to lyxrow_funcs
8898         (numberOfSeparators): move to lyxrow_funcs
8899         (numberOfHfills): move to lyxrow_funcs
8900         (numberOfLabelHfills): move to lyxrow_funcs
8901         (hfillExpansion): move to lyxrow_funcs
8902
8903         * lyxfunc.C: adjust
8904
8905         * bufferview_funcs.C (toggleAndShow): adjust
8906
8907         * RowList.h: Remove class RowList from file leave just a
8908         std::list<Row>.
8909
8910         * RowList.C: delete file
8911
8912         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8913         and lyxrow_funcs.h
8914
8915 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8916
8917         * text3.C (cursorPrevious): adjust
8918         (cursorNext): adjust
8919         (dispatch): adjust
8920
8921         * text2.C (redoHeightOfParagraph): adjust
8922         (redoDrawingOfParagraph): adjust
8923         (setCursor): adjust
8924
8925         * text.C (breakParagraph): adjust
8926         (insertChar): adjust
8927         (backspace): adjust
8928
8929         * rowpainter.C (RowPainter): adjust
8930         (leftMargin): simplify and adjust
8931         (most rowpainter functions): adjust.
8932
8933         * rowpainter.h: store the row as RowList::iterator not as Row*
8934
8935         * lyxcursor.C (row): taka RowList::iterator as arg
8936         (irow): ditto
8937
8938         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8939         of Row*.
8940
8941 2003-04-01  Angus Leeming  <leeming@lyx.org>
8942
8943         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8944         stuff like bool Bool.
8945
8946 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8947
8948         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8949         rewrite a loop
8950
8951 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8952
8953         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8954         RowList::iterator.
8955
8956         * lyxtext.h (rows): drop one version and leve a const variant that
8957         returns a RowList::iterator.
8958
8959 2003-03-31  Angus Leeming  <leeming@lyx.org>
8960
8961         * text.C (fill): ensure that the signature is the same as that in the
8962         header file.
8963
8964 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
8965
8966         * text2.C (redoParagraphs): adjust
8967         (updateCounters): adjust
8968         (checkParagraph): adjust
8969         (getColumnNearX): adjust and reformat a bit.
8970
8971         * text.C (top_y): adjust
8972         (workWidth): adjust
8973         (leftMargin): adjust
8974         (prepareToPrint): adjust
8975         (getRow): adjust
8976         (getRowNearY): adjust
8977
8978         * lyxtext.h: make rowlist_ mutable.
8979
8980         * RowList.h: add const_iterator
8981         * RowList.C: adjust for RowList::const_iterator.
8982
8983         * text2.C (getCursorX): make it take a RowList::iterator as arg,
8984         adjust.
8985
8986 2003-03-31  John Levon  <levon@movementarian.org>
8987
8988         * lyxrc.h:
8989         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8990
8991         * lyx_main.C: set default fonts from using lyx_gui funcs
8992
8993         * exporter.C: pdf_mode moved from lyxrc
8994
8995         * lyx_cb.C:
8996         * lyxfunc.C: changes from above
8997
8998 2003-03-31  John Levon  <levon@movementarian.org>
8999
9000         * lyx_main.C: fix to the last fix
9001
9002 2003-03-31  John Levon  <levon@movementarian.org>
9003
9004         * bufferlist.C: "Load original" -> "Load Original"
9005
9006         * converter.C:
9007         * exporter.C:
9008         * importer.C:
9009         * lyx_main.C:
9010         * format.C: more Alert cleanups
9011
9012 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
9013
9014         * text2.C (removeParagraph): make it take a RowList::iterator as
9015         arg, adjust.
9016         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
9017         (postRowPaint): make it take a RowList::iterator as arg, adjust.
9018
9019         * text.C (anchor_row): make it take a RowList::iterator as arg,
9020         adjust.
9021         (computeBidiTables): make it take a const reference to Row instead
9022         of Row pointer, adjust.
9023         (leftMargin): make it take a RowList::iterator as arg, adjust.
9024         (rowBreakPoint): adjust
9025         (breakAgainOneRow): make it take a RowList::iterator as arg,
9026         adjust.
9027         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
9028
9029         * bufferview_funcs.C (toggleAndShow): adjust
9030
9031 2003-03-30  John Levon  <levon@movementarian.org>
9032
9033         * Makefile.am:
9034         * BoostFormat.h:
9035         * boost-inst.C: moved to support
9036
9037         * several files: changes as a result
9038
9039 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
9040
9041         * text2.C (LyXText): adjust.
9042         (init): adjust
9043         (removeRow): make it take a RowList::iterator as arg, adjust.
9044         (fullRebreak): adjust
9045         (deleteEmptyParagraphMechanism): adjust
9046         (clearPaint): adjust
9047         (postPaint): adjust
9048
9049         * text.C (top_y): adjust
9050         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
9051         (breakAgain): make it take a RowList::iterator as arg, adjust.
9052         (breakParagraph): adjust
9053         (insertChar): adjust
9054         (backspace): adjust
9055
9056         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
9057         need_break_row, and refresh_row.
9058
9059         * text3.C (dispatch): adjust
9060
9061         * text2.C (checkParagraph): adjust
9062         (setCursor): adjust
9063         (setCursorFromCoordinates): adjust
9064
9065         * text.C (top_y): adjust
9066         (workWidth): adjust
9067         (getRow): make it return a RowList::iterator, adjust
9068         (getRowNearY): make it return a RowList::iterator, adjust
9069
9070         * text2.C (init): adjust
9071         (insertRow): remove function
9072         (insertParagraph): adjust
9073         (redoParagraphs): adjust
9074         (fullRebreak): adjust
9075         (updateCounters): adjust
9076
9077         * text.C (top_y): rewrite to use RowList iterators.
9078         (top_y): adjust
9079         (setHeightOfRow): rewrite to sue RowList iterators.
9080         (appendParagraph): adjust
9081         (breakAgain): adjust
9082         (breakAgainOneRow): adjust
9083         (breakParagraph): adjust
9084         (getRow): adjust
9085         (getRowNearY): adjust, and remove commented code.
9086
9087         * lyxtext.h (firstRow): delete function
9088         (lastRow): delete function
9089         (rows): new function (const and non-const versions.)
9090         (insertRow): delete function
9091
9092         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
9093
9094 2003-03-29  John Levon  <levon@movementarian.org>
9095
9096         * BufferView_pimpl.C: always update scrollbar top
9097         because pasting text when we're anchored could mean we
9098         miss an update altogether
9099
9100 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9101
9102         * text2.C (init): use rowlist_.end() and not 0.
9103         (insertRow): change to take a RowList::iterator as arg, adjust
9104         for this.
9105         (insertParagraph): change to take a RowList::iterator as arg,
9106         adjust for this.
9107         (redoParagraphs): remove some debug msgs.
9108
9109         * text.C (appendParagraph): change to take a RowList::iterator
9110         arg, adjust for this.
9111         (breakAgain): add an assert
9112         (breakAgainOneRow): ditto
9113
9114 2003-03-29  John Levon  <levon@movementarian.org>
9115
9116         * text2.C: do not clear selection after inc/decDepth
9117         (bug 550)
9118
9119 2003-03-29  John Levon  <levon@movementarian.org>
9120
9121         * BufferView.C:
9122         * buffer.C: fix broken strerrors according to Lars
9123
9124 2003-03-29  John Levon  <levon@movementarian.org>
9125
9126         * converters.C: more Alert cleanups
9127
9128 2003-03-29  John Levon  <levon@movementarian.org>
9129
9130         * bufferview_funcs.C: remove pointless Alert
9131
9132         * buffer.C: fix confusing error message when
9133         a template is chmoded 000
9134
9135 2003-03-29  John Levon  <levon@movementarian.org>
9136
9137         * BufferView.C:
9138         * BufferView.h:
9139         * BufferView_pimpl.C: Alert fixes
9140
9141         * Makefile.am:
9142         * tabular.C:
9143         * tabular-old.C: remove unused table compat reading
9144
9145 2003-03-29  John Levon  <levon@movementarian.org>
9146
9147         * BufferView.C:
9148         * buffer.C:
9149         * lyx_cb.h:
9150         * lyx_cb.C: more Alert cleanups
9151
9152         * lyxfunc.C: don't allow chktex if not latex document
9153
9154 2003-03-29  John Levon  <levon@movementarian.org>
9155
9156         * lyx_cb.C:
9157         * BufferView.C:
9158         * buffer.C: warnings pushed down from support/,
9159         kill err_alert
9160
9161 2003-03-29  John Levon  <levon@movementarian.org>
9162
9163         * lyxfunc.C: safety check for C-r (revert)
9164
9165 2003-03-29  John Levon  <levon@movementarian.org>
9166
9167         * bufferlist.h:
9168         * bufferlist.C: several UI fixes using Alert::prompt.
9169         Fix the pointless looping quit code. Fix stupid revert
9170         behaviour (bug 938)
9171
9172         * lyxvc.h:
9173         * lyxvc.C:
9174         * lyx_cb.C: use Alert::prompt
9175
9176         * lyx_main.C: remove a silly question
9177
9178         * lyxfunc.C: remove a couple of silly questions,
9179         use Alert::prompt
9180
9181 2003-03-28  John Levon  <levon@movementarian.org>
9182
9183         * text2.C: fix bug 974 (End on empty par)
9184
9185 2003-03-28  John Levon  <levon@movementarian.org>
9186
9187         * BufferView_pimpl.C:
9188         * LyXAction.C:
9189         * lfuns.h: remove do-nothing math greek lfuns
9190
9191 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9192
9193         * lyxgluelength.h (isValidGlueLength): add default arg on
9194         parameter 2. Remove default arg from friend in class.
9195
9196         * lyxlength.h (isValidLength): add default arg on parameter 2.
9197         Remove default arg from friend in class.
9198
9199         * text2.C (LyXText): adjust, initialize refresh_row.
9200         (init): adjust
9201         (removeRow): adjust
9202         (insertRow): adjust
9203         (insertParagraph): adjst
9204         (redoParagraphs): adjust
9205         (fullRebreak): adjust
9206         (updateCounters): adjust
9207         (deleteEmptyParagraphMechanism): first attempt at fixing a
9208         crashing bug.
9209
9210         * text.C (top_y): adjust
9211         (setHeightOfRow): adjust
9212         (getRow): adjust
9213         (getRowNearY): adjust
9214
9215         * lyxtext.h: include RowList.h
9216         (~LyXText): not needed anymore, deleted.
9217         (firstRow): modify for RowList
9218         (lastRow): new function
9219         Delete firstrow and lastrow class variables, add a Rowlist
9220         rowlist_ class variable.
9221
9222         * lyxrow.C (lastPos): use empty() and not !size() to check if a
9223         paragraph is empty.
9224
9225         * RowList.C (insert): fix case where it == begin().
9226
9227 2003-03-26  Angus Leeming  <leeming@lyx.org>
9228
9229         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9230         the thesaurus dialog.
9231
9232 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
9233
9234         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9235
9236         * RowList.[Ch]: new files
9237
9238         * ParagraphList.C (erase): handle the case where it == begin
9239         correctly.
9240
9241 2003-03-25  John Levon  <levon@movementarian.org>
9242
9243         * Makefile.am:
9244         * aspell_local.h:
9245         * aspell.C: add new aspell support
9246
9247         * lyxrc.h:
9248         * lyxrc.C: Make use_pspell be use_spell_lib. Always
9249         have it accessible.
9250
9251 2003-03-25  Angus Leeming  <leeming@lyx.org>
9252
9253         * lfuns.h:
9254         * LyXAction.C (init): new LFUN_INSET_INSERT.
9255
9256         * BufferView_pimpl.C (dispatch): split out part of the
9257         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9258
9259         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9260         LFUN_INSET_APPLY.
9261
9262 2003-03-25  Angus Leeming  <leeming@lyx.org>
9263
9264         * lyxfunc.C (dispatch): changes to the Dialogs interface.
9265
9266 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
9267
9268         * text2.C:
9269         * text3.C: remove useless row->height(0)
9270
9271 2003-03-25  John Levon  <levon@movementarian.org>
9272
9273         * lyxtext.h:
9274         * text2.C:
9275         * text3.C: rename the refreshing stuff to better names
9276
9277 2003-03-24  John Levon  <levon@movementarian.org>
9278
9279         * BufferView_pimpl.h:
9280         * BufferView_pimpl.C: update layout choice on a mouse
9281         press/release
9282
9283 2003-03-23  John Levon  <levon@movementarian.org>
9284
9285         * Makefile.am: fix commandtags.h reference
9286
9287 2003-03-22  John Levon  <levon@movementarian.org>
9288
9289         * BufferView_pimpl.C:
9290         * lyxtext.h:
9291         * rowpainter.C:
9292         * rowpainter.h:
9293         * text.C:
9294         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9295
9296 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
9297
9298         * lyxtext.h:
9299         * text.C: take the rtl methods out of line
9300
9301 2003-03-21 André Pönitz <poenitz@gmx.net>
9302
9303         * metricsinfo.[Ch]: new files containing structures to be passed around
9304         during the two-phase-drawing...
9305
9306 2003-03-21 André Pönitz <poenitz@gmx.net>
9307
9308         * lyxtextclass.C: read 'environment' tag.
9309
9310 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
9311
9312         * text2.C (removeRow): fix bug 964
9313
9314 2003-03-20  John Levon  <levon@movementarian.org>
9315
9316         * rowpainter.C:
9317         * text.C:
9318         * text2.C: paint cleanups. Inset::update() dropped font
9319         parameter
9320
9321 2003-03-19  John Levon  <levon@movementarian.org>
9322
9323         * lyxfunc.C: only fitcursor/markDirty if available()
9324
9325 2003-03-19  John Levon  <levon@movementarian.org>
9326
9327         * commandtags.h: rename to ...
9328
9329         * lfuns.h: ... this, and renumber / cleanup
9330
9331 2003-03-19  John Levon  <levon@movementarian.org>
9332
9333         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9334         fit the cursor after an lfun
9335
9336         * BufferView.h:
9337         * BufferView.C:
9338         * BufferView_pimpl.h:
9339         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9340
9341         * LyXAction.C: layout-character should have ReadOnly
9342
9343         * ParagraphParameters.C:
9344         * buffer.C:
9345         * bufferview_funcs.C:
9346         * lyx_cb.C:
9347         * lyxfind.C:
9348         * lyxtext.h:
9349         * text.C:
9350         * text2.C:
9351         * text3.C:
9352         * undo_funcs.C: changes from above
9353
9354 2003-03-18  John Levon  <levon@movementarian.org>
9355
9356         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9357         remove it from update()
9358
9359         * lyxfunc.C: update layout choice after an lfun
9360
9361         * text3.C: remove extra updateLayoutChoice()s
9362
9363 2003-03-18  John Levon  <levon@movementarian.org>
9364
9365         * text.C: top_y change means full repaint, fix
9366         a drawing bug with cursor movement
9367
9368 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9369
9370         * lyxtext.h:
9371         * text.C:
9372         * text2.C: anchor row on setCursor
9373
9374 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9375
9376         * lyxtext.h: remove almost all mutable keywords
9377         * text.C:
9378         * text2.C:
9379         * text3.C: remove const keywords accordingly
9380
9381 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9382
9383         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9384         anon namespace
9385         (TeXEnvironment): ditto
9386         (TeXOnePar): ditto
9387
9388 2003-03-17  John Levon  <levon@movementarian.org>
9389
9390         * text.C (rowBreakPoint): remove attempt to fix displayed
9391         math insets inside a manual label
9392
9393 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9394
9395         * lyxtext.h: remove BufferView* as first arg from almost all class
9396         functions.
9397         * other files: adjust.
9398
9399 2003-03-17  John Levon  <levon@movementarian.org>
9400
9401         * lyxtext.h:
9402         * undo_funcs.C:
9403         * text2.C: more paint cleanups
9404
9405         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9406
9407         * rowpainter.h:
9408         * rowpainter.C: remove "smart" background painting code
9409
9410 2003-03-16  John Levon  <levon@movementarian.org>
9411
9412         * lyxtext.h:
9413         * text.C:
9414         * text2.C:
9415         * text3.C: add helper functions for setting refresh_row/y
9416
9417 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
9418
9419         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9420         newline inset which *can* get inserted in the pass_thru layouts.
9421         This is primarily for literate documents.
9422
9423 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
9424
9425         * buffer.C: increment LYX_FORMAT to 223
9426
9427 2003-03-14 André Pönitz <poenitz@gmx.net>
9428
9429         * textclass.h: prepare for environment handling, ws changes
9430         * lyxlayout.C: read latexheader and latexfooter tags
9431
9432 2003-03-14  John Levon  <levon@movementarian.org>
9433
9434         * text2.C: rewrite ::status() a bit
9435
9436 2003-03-13  John Levon  <levon@movementarian.org>
9437
9438         * lyxtext.h: add some docs
9439
9440 2003-03-13  John Levon  <levon@movementarian.org>
9441
9442         * lyxtext.h:
9443         * text.C:
9444         * text2.C:
9445         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9446
9447 2003-03-13  John Levon  <levon@movementarian.org>
9448
9449         * text3.C: fix appendix redrawing
9450
9451 2003-03-13  John Levon  <levon@movementarian.org>
9452
9453         * text.C (setHeightOfRow):
9454         * rowpainter.h:
9455         * rowpainter.C: make appendix mark have the text
9456           "Appendix" so the user knows what it is
9457
9458         * LColor.h:
9459         * LColor.C: s/appendixline/appendix/ from above
9460
9461 2003-03-13  John Levon  <levon@movementarian.org>
9462
9463         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9464
9465         * text.C: fix a getChar(pos) bug properly
9466
9467 2003-03-13  Angus Leeming  <leeming@lyx.org>
9468
9469         * commandtags.h:
9470         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9471         Probably only temporary. Let's see how things pan out.
9472
9473         * BufferView.C (unlockInset):
9474         * BufferView_pimpl.C (fitCursor):
9475         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9476
9477         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9478         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9479
9480         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9481         new functions that convert ParagraphParameters to and from a string.
9482
9483         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9484         BufferView::Pimpl's dispatch.
9485         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9486
9487 2003-03-13 André Pönitz <poenitz@gmx.net>
9488
9489         * lyxfunc.C:
9490         * text3.C:
9491         * factory.C: make it aware of InsetEnv
9492
9493 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
9494
9495         * text2.C (setCursor): never ask for one past last
9496         (setCursor): add some debugging messages.
9497
9498         * text.C (singleWidth): never ask for one past last
9499         (singleWidth): ditto
9500         (leftMargin): ditto
9501         (rightMargin): ditto
9502         (rowBreakPoint): ditto
9503         (setHeightOfRow): ditto
9504         (prepareToPrint): ditto
9505
9506         * rowpainter.C (paintBackground): never ask for one past last
9507         (paintText): never ask for one past last
9508
9509         * paragraph_pimpl.C (getChar): make the assert stricter, never
9510         allow the one past last pos to be taken
9511
9512         * paragraph.C (getChar): ws changes only
9513
9514         * lyxrow.C (nextRowIsAllInset): never ask for one past last
9515         (numberOfSeparators): ditto
9516         (numberOfHfills): ditto
9517
9518 2003-03-12  John Levon  <levon@movementarian.org>
9519
9520         * author.h:
9521         * author.C:
9522         * bufferparams.h:
9523         * bufferparams.C:
9524         * paragraph_funcs.C: fix per-buffer authorlists
9525
9526 2003-03-12  John Levon  <levon@movementarian.org>
9527
9528         * text.C: fix newline in right address
9529
9530 2003-03-12  Angus Leeming  <leeming@lyx.org>
9531
9532         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9533         duplicate those in LyXFunc::dispatch.
9534
9535         * commandtags.h:
9536         * LyXAction.C:
9537         * ToolbarDefaults.C:
9538         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9539         Add LFUN_FONTFREE_UPDATE.
9540
9541         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9542         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9543
9544         * bufferview_func.[Ch]: several new functions to facilliate
9545         transfer of data to and from the character dialog.
9546
9547 2003-03-12  John Levon  <levon@movementarian.org>
9548
9549         * buffer.C:
9550         * paragraph.h:
9551         * paragraph.C:
9552         * paragraph_funcs.C:
9553         * paragraph_pimpl.C:
9554         * sgml.C:
9555         * tabular.C:
9556         * text.C:
9557         * text3.C: remove META_NEWLINE in favour of an inset
9558
9559         * rowpainter.h:
9560         * rowpainter.C: remove paintNewline (done by inset)
9561
9562 2003-03-12  John Levon  <levon@movementarian.org>
9563
9564         * paragraph_pimpl.C: complain about bad getChar()s
9565         for a while at least
9566
9567 2003-03-12  John Levon  <levon@movementarian.org>
9568
9569         * buffer.h:
9570         * buffer.C: move paragraph read into a separate function,
9571         a little renaming to reflect that.
9572
9573         * bufferparams.h:
9574         * bufferparams.C: remove the author_ids map, not necessary now
9575
9576         * factory.h:
9577         * factory.C: moved Buffer::readInset to here
9578
9579         * paragraph_funcs.h:
9580         * paragraph_funcs.C: readParagraph free function moved from
9581         buffer.C
9582
9583         * tabular.C: name change
9584
9585 2003-03-12  John Levon  <levon@movementarian.org>
9586
9587         * buffer.C:
9588         * ParagraphParameters.C: move par params input to
9589         a read() method
9590
9591         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9592         behave like a normal read from the stream wrt reading
9593         a line vs. a \\token
9594
9595 2003-03-12  John Levon  <levon@movementarian.org>
9596
9597         * paragraph.C:
9598         * ParagraphParameters.h:
9599         * ParagraphParameters.C: move output code to a
9600         ::write() method
9601
9602 2003-03-12  John Levon  <levon@movementarian.org>
9603
9604         * BufferView.C (insertLyXFile):
9605         * buffer.h:
9606         * buffer.C:
9607         * tabular.C: use a parlist iterator for creating the
9608           document.
9609
9610 2003-03-12  John Levon  <levon@movementarian.org>
9611
9612         * buffer.C: make current_change static local not
9613           static file-scope
9614
9615 2003-03-12  John Levon  <levon@movementarian.org>
9616
9617         * buffer.C: fix insertStringAsLines for change tracking
9618
9619 2003-03-12  John Levon  <levon@movementarian.org>
9620
9621         * BufferView.C:
9622         * tabular.C:
9623         * buffer.h:
9624         * buffer.C:
9625         * bufferparams.h:
9626         * bufferparams.C: move author list into params. Rename some
9627           functions. Move the header reading into a separate token
9628           loop. Move the header token reading into BufferParams.
9629
9630 2003-03-12  John Levon  <levon@movementarian.org>
9631
9632         * changes.C: put debug inside lyxerr.debugging() checks
9633
9634 2003-03-11 André Pönitz <poenitz@gmx.net>
9635
9636         * factory.C: make it aware of InsetHFill
9637
9638 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9639
9640         * buffer.C (latexParagraphs): move function from here...
9641         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9642         args.
9643
9644 2003-03-10  Angus Leeming  <leeming@lyx.org>
9645
9646         * LyXAction.C (init): fix bug in poplating array with multiple entries
9647         with the same LFUN (spotted by JMarc).
9648
9649 2003-03-10  John Levon  <levon@movementarian.org>
9650
9651         * text.C:
9652         * text2.C: move getColumnNearX() near its
9653         only call site
9654
9655 2003-03-10  John Levon  <levon@movementarian.org>
9656
9657         * text.C: fix break before a minipage
9658
9659 2003-03-10  John Levon  <levon@movementarian.org>
9660
9661         * text.C: fix the last commit
9662
9663 2003-03-09  John Levon  <levon@movementarian.org>
9664
9665         * lyxtext.h:
9666         * text.C:
9667         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9668         bug 365 (don't break before insets unless needed). Don't
9669         return a value > last under any circumstances.
9670
9671 2003-03-09  Angus Leeming  <leeming@lyx.org>
9672
9673         * BufferView_pimpl.C (trackChanges, dispatch): call
9674         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9675
9676 2003-03-09  Angus Leeming  <leeming@lyx.org>
9677
9678         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9679         than Dialogs::showAboutlyx().
9680
9681 2003-03-09  Angus Leeming  <leeming@lyx.org>
9682
9683         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9684         than Dialogs::showTabularCreate().
9685
9686 2003-03-09  John Levon  <levon@movementarian.org>
9687
9688         * lyxtext.h:
9689         * text.C:
9690         * text2.C: 3rd arg to nextBreakPoint was always the same.
9691           Use references.
9692
9693 2003-03-08  John Levon  <levon@movementarian.org>
9694
9695         * lyxrow.C:
9696         * paragraph.C:
9697         * paragraph.h:
9698         * rowpainter.C:
9699         * text.C:
9700         * text2.C: Remove the "main" bit from the "main body"
9701           notion.
9702
9703 2003-03-08  John Levon  <levon@movementarian.org>
9704
9705         * text.C (leftMargin): The left margin of an empty
9706         manual label paragraph should not include the label width
9707         string length.
9708
9709         * text.C (prepareToPrint): don't attempt to measure hfills
9710         for empty manual label paragraphs - the answer should be 0
9711
9712 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9713
9714         * CutAndPaste.C: remove commented code and reindent.
9715
9716 2003-03-08  John Levon  <levon@movementarian.org>
9717
9718         * lyxfunc.h:
9719         * lyxfunc.C: move reloadBuffer()
9720
9721         * BufferView.h:
9722         * BufferView.C: to here
9723
9724         * lyxvc.C: add comment
9725
9726         * vc-backend.h:
9727         * vc-backend.C: call bv->reload() to avoid
9728           getStatus() check on MENURELOAD
9729
9730 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
9731
9732         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9733         to an old format .dep file.
9734
9735 2003-03-07  Angus Leeming  <leeming@lyx.org>
9736
9737         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9738         when the LFUN_MOUSE_RELEASE should have been handled by
9739         inset->localDispatch.
9740
9741 2003-03-07  Angus Leeming  <leeming@lyx.org>
9742
9743         * BufferView_pimpl.C (dispatch):
9744         * LyXAction.C (init):
9745         * ToolbarDefaults.C (init):
9746         * commandtags.h:
9747         * lyxfunc.C (getStatus):
9748         remove LFUN_INSET_GRAPHICS.
9749
9750         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9751
9752 2003-03-07  Angus Leeming  <leeming@lyx.org>
9753
9754         * commandtags.h:
9755         * LyXAction.C (init):
9756         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9757
9758         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9759
9760         * commandtags.h:
9761         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9762
9763         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9764         localDispatch method LFUN_INSET_DIALOG_UPDATE.
9765
9766 2003-03-07  Angus Leeming  <leeming@lyx.org>
9767
9768         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9769         remove "ert".
9770
9771 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9772
9773         * ParagraphList.C (front): new function
9774         (back): implement
9775
9776 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
9777
9778         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9779         and top_row_offset_. removed var first_y.
9780         * text.C (top_y):
9781         * text2.C (LyXText, removeRow):
9782         * text3.C:
9783         * BufferView_pimpl.C:
9784         use these methods instead of using first_y
9785
9786 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9787
9788         * text2.C (pasteSelection): adjust for checkPastePossible
9789
9790         * CutAndPaste.C: remove Paragraph * buf and replace with
9791         ParagraphList paragraphs.
9792         (DeleteBuffer): delete
9793         (cutSelection): change the tc type to textclass_type
9794         (copySelection): change the tc type to textclass_type
9795         (copySelection): adjust for ParagraphList
9796         (pasteSelection): change the tc type to textclass_type
9797         (pasteSelection): adjust for Paragraphlist
9798         (nrOfParagraphs): simplify for ParagraphList
9799         (checkPastePossible): simplify for ParagraphList
9800         (checkPastePossible): remove unused arg
9801
9802         * ParagraphList.C (insert): handle the case where there are no
9803         paragraphs yet.
9804
9805         * CutAndPaste.h: make CutAndPaste a namespace.
9806
9807         * text3.C (dispatch): adjust
9808
9809         * text.C (breakParagraph): add a ParagraphList as arg
9810
9811         * paragraph_funcs.C (breakParagraph): change to take a
9812         BufferParams and a ParagraphList as args.
9813         (breakParagraphConservative): ditto
9814         (mergeParagraph): ditto
9815         (TeXDeeper): add a ParagraphList arg
9816         (TeXEnvironment): ditto
9817         (TeXOnePar): ditto
9818
9819         * buffer.C (readLyXformat2): adjust
9820         (insertStringAsLines): adjust
9821         (latexParagraphs): adjust
9822
9823         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9824         (cutSelection): adjust
9825         (pasteSelection): adjust
9826
9827         * BufferView_pimpl.C (insertInset): adjust
9828
9829 2003-03-05  Angus Leeming  <leeming@lyx.org>
9830
9831         * commandtags.h:
9832         * LyXAction.C (init):
9833         * BufferView_pimpl.C (dispatch):
9834         * lyxfunc.C (getStatus):
9835         remove LFUN_CHILD_INSERT.
9836
9837         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9838
9839 2003-03-05  Angus Leeming  <leeming@lyx.org>
9840
9841         * commandtags.h:
9842         * LyXAction.C (init):
9843         * src/factory.C (createInset):
9844         * lyxfunc.C (getStatus):
9845         * text3.C (dispatch):
9846         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9847
9848         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9849
9850 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9851
9852         * ParagraphList.C (insert): handle insert right before end()
9853         (erase): fix cases where it can be first or last paragraph.
9854
9855 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9856
9857         * paragraph_funcs.C (TeXEnvironment): remove all usage of
9858         Paragraph::next and Paragraph::previous
9859         (TeXOnePar): ditto
9860
9861         * text.C (breakParagraph): adjust
9862
9863         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9864         BufferParams& as arg.
9865         (breakParagraph): use ParagraphList::insert
9866         (breakParagraphConservative): take a Buffer* instead of a
9867         BufferParams& as arg.
9868         (breakParagraphConservative): use ParagraphList::insert.
9869
9870         * buffer.C (insertStringAsLines): un-const it
9871         (insertStringAsLines): adjust
9872
9873         * ParagraphList.C (insert): new function
9874
9875         * CutAndPaste.C (pasteSelection): adjust
9876
9877         * text.C (backspace): adjust
9878
9879         * tabular.C (SetMultiColumn): adjust
9880
9881         * CutAndPaste.C (cutSelection): adjust
9882         (pasteSelection): adjust
9883
9884         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9885         Buffer const * as arg
9886
9887         * ParagraphList.C (erase): new function
9888         * paragraph_funcs.C (mergeParagraph): use it
9889         (mergeParagraph): make it take a Buffer* instead of a
9890         BufferParams* as arg
9891
9892         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9893         as arg
9894         (breakParagraphConservative): ditto
9895
9896         * paragraph.h: remove the breakParagraph friend
9897
9898         * paragraph.C (eraseIntern): new function
9899         (setChange): new function
9900
9901         * paragraph_funcs.C (mergeParagraph): make it take a
9902         ParagraphList::iterator instead of a Paragraph *, adjust
9903         accordingly.
9904
9905         * paragraph.h: move an #endif so that the change tracking stuff
9906         also works in the NO_NEXT case.
9907
9908 2003-03-04  Angus Leeming  <leeming@lyx.org>
9909
9910         * commandtags.h:
9911         * LyXAction.C: new LFUN_INSET_MODIFY.
9912
9913         * BufferView_pimpl.C (dispatch): if an inset is found to be open
9914         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9915
9916 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9917
9918         * several files: ws changes only
9919
9920         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9921         (TeXEnvironment): ditto
9922         (TeXDeeper): ditto
9923
9924         * buffer.C (makeLaTeXFile): adjust
9925         (latexParagraphs): make it take ParagraphList::iterator as args
9926
9927 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9928
9929         * buffer.C (latexParagraphs): adjust
9930
9931         * paragraph.C (TeXOnePar): move function...
9932         (optArgInset): move function...
9933         (TeXEnvironment): move function...
9934         * paragraph_pimpl.C (TeXDeeper): move function...
9935         * paragraph_funcs.C: ...here
9936
9937         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9938
9939 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9940
9941         * buffer.C (readInset): remove compability code for old Figure and
9942         InsetInfo insets
9943
9944 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9945
9946         * buffer.C: ws changes
9947         (readInset):
9948
9949         * BufferView_pimpl.C: ditto
9950         * author.C: ditto
9951         * buffer.h: ditto
9952         * bufferlist.h: ditto
9953         * changes.h: ditto
9954         * lyxfunc.C: ditto
9955
9956 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
9957
9958         * converter.[Ch]: split into itself +
9959         * graph.[Ch]
9960         * format.[Ch]
9961         * Makefile.am: += graph.[Ch] + format.[Ch]
9962         * MenuBackend.C
9963         * buffer.C
9964         * exporter.C
9965         * importer.C
9966         * lyx_main.C
9967         * lyxfunc.C
9968         * lyxrc.C: added #include "format.h"
9969
9970 2003-02-27  Angus Leeming  <leeming@lyx.org>
9971
9972         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9973           a label.
9974
9975         * factory.C (createInset): add "label" to the factory.
9976
9977         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9978           string and do no more.
9979
9980 2003-02-27  Angus Leeming  <leeming@lyx.org>
9981
9982         * commandtags.h:
9983         * LyXAction.C (init):
9984         * factory.C (createInset):
9985         * BufferView_pimpl.C (dispatch):
9986           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9987
9988         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9989
9990         * lyxfunc.C (dispatch):
9991         * text3.C (dispatch): pass name to params2string.
9992
9993 2003-02-26  Angus Leeming  <leeming@lyx.org>
9994
9995         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9996           blocks together.
9997           Rearrange the ~includes. Strip out the unnecessary ones.
9998
9999         * factory.C (createInset): reformat.
10000           create new insets for the various LFUN_XYZ_APPLY lfuns.
10001
10002 2003-02-26  John Levon  <levon@movementarian.org>
10003
10004         * lyxrow.h:
10005         * lyxrow.C: add isParStart,isParEnd helpers
10006
10007         * paragraph.h: make isInserted/DeletedText take refs
10008
10009         * paragraph_funcs.h:
10010         * paragraph_funcs.C: remove #if 0'd code
10011
10012         * lyxtext.h:
10013         * text3.C:
10014         * text2.C:
10015         * text.C: use lyxrow helpers above.
10016           Move draw and paint routines to RowPainter.
10017           Make several methods use refs not pointers.
10018           Make backgroundColor() const.
10019           Add markChangeInDraw(), isInInset().
10020           Merge changeRegionCase into changeCase.
10021           Make workWidth() shouldn't-happen code into an Assert.
10022
10023         * rowpainter.h:
10024         * rowpainter.C: new class for painting a row.
10025
10026         * vspace.h:
10027         * vspace.C: make inPixels take a ref
10028
10029 2003-02-26  Angus Leeming  <leeming@lyx.org>
10030
10031         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
10032         LFUN_REF_APPLY.
10033
10034 2003-02-25  John Levon  <levon@movementarian.org>
10035
10036         * ispell.C: give the forked command a more accurate name
10037
10038 2003-02-22  John Levon  <levon@movementarian.org>
10039
10040         * toc.h:
10041         * toc.C: make TocItem store an id not a Paragraph *
10042           (bug #913)
10043
10044 2003-02-21  Angus Leeming  <leeming@lyx.org>
10045
10046         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
10047           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
10048           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
10049           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
10050           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
10051           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
10052
10053         * BufferView_pimpl.C (dispatch):
10054         * LyXAction.C (init):
10055         * factory.C (createInset):
10056         * lyxfunc.C (getStatus, dispatch):
10057         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
10058
10059 2003-02-21  Angus Leeming  <leeming@lyx.org>
10060
10061         * BufferView_pimpl.C (MenuInsertLyXFile):
10062         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
10063         * lyxfunc.C (menuNew, open, doImport):
10064           no longer pass a LyXView & to fileDlg.
10065
10066 2003-02-21  Angus Leeming  <leeming@lyx.org>
10067
10068         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
10069         * LyXAction.C: change, BIBKEY to BIBITEM.
10070         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
10071         Change InsetBibKey to InsetBibitem.
10072         Change BIBKEY_CODE to BIBITEM_CODE.
10073         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10074         * factory.C: replace insetbib.h with insetbibitem.h.
10075         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10076         * paragraph.C: replace insetbib.h with insetbibitem.h.
10077         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
10078         Change bibkey() to bibitem().
10079         * text.C: remove insetbib.h.
10080         * text2.C: replace insetbib.h with insetbibitem.h.
10081         change bibkey() to bibitem().
10082         * text3.C: remove insetbib.h.
10083         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10084
10085 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10086
10087         * lyxrc.C (output): enclose user email in quotes (in case there are
10088         several words)
10089
10090 2003-02-18  John Levon  <levon@movementarian.org>
10091
10092         * buffer.h: add std::
10093
10094 2003-02-17  John Levon  <levon@movementarian.org>
10095
10096         * SpellBase.h:
10097         * ispell.h:
10098         * ispell.C:
10099         * pspell.h:
10100         * pspell.C: reworking. Especially in ispell, a large
10101           number of clean ups and bug fixes.
10102
10103         * lyxfunc.C: fix revert to behave sensibly
10104
10105 2003-02-17 André Pönitz <poenitz@gmx.net>
10106
10107         * LyXAction.C:
10108         * commandtags.h: new LFUN_INSERT_BIBKEY
10109
10110         * layout.h:
10111         * lyxlayout.C:
10112         * buffer.C:
10113         * factory.C:
10114         * text.C:
10115         * text2.C:
10116         * text3.C:
10117         * paragraph.[Ch]:
10118         * paragraph_func.C: remove special bibkey handling
10119
10120 2003-02-17  John Levon  <levon@movementarian.org>
10121
10122         * text.C (Delete): fix case where delete at the end of
10123           the very first paragraph would not merge the pars
10124
10125 2003-02-17  John Levon  <levon@movementarian.org>
10126
10127         * lyxrow.C: fix lastPrintablePos()
10128
10129 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10130
10131         * bufferparams.C (writeLaTeX): add a std:here
10132
10133         * buffer.C: and remove a using directive there
10134
10135 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10136
10137         * buffer.C (makeLaTeXFile): move the code that generates the
10138           preamble...
10139
10140         * bufferparams.C (writeLaTeX): ... in this new method
10141
10142         * LaTeXFeatures.C (getEncodingSet): make const
10143           (getLanguages): make const
10144
10145         * MenuBackend.C (binding): returns the binding associated to this
10146           action
10147           (add): sets the status of each item by calling getStatus. Adds
10148           some intelligence.
10149           (read): add support for OptSubMenu
10150           (expand): remove extra separator at the end of expanded menu
10151
10152 2003-02-15  John Levon  <levon@movementarian.org>
10153
10154         * BufferView.C:
10155         * BufferView_pimpl.C:
10156         * bufferlist.h:
10157         * bufferlist.C: remove pointless BufferStorage bloat. Remove
10158           inset code that had no actual effect. Remove unneeded status
10159           code.
10160
10161 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10162
10163         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10164           in preamble
10165
10166 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
10167
10168         * text.C (drawLengthMarker): also draw an arrow marker for
10169           symbolic lengths (medskip...)
10170
10171 2003-02-14  John Levon  <levon@movementarian.org>
10172
10173         * tabular.h:
10174         * tabular.C: better method names
10175
10176 2003-02-14  John Levon  <levon@movementarian.org>
10177
10178         * BufferView_pimpl.C:
10179         * bufferlist.C:
10180         * buffer.C:
10181         * converter.C:
10182         * lyx_cb.C:
10183         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10184           it's a more accurate name. Remove some pointless uses.
10185
10186 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10187
10188         * text2.C (LyXText): change order of initilizers to shut off
10189           warnings
10190
10191 2003-02-14  John Levon  <levon@movementarian.org>
10192
10193         * buffer.C: use ParIterator for getParFromID()
10194
10195         * paragraph.h:
10196         * paragraph.C:
10197         * paragraph_pimpl.h:
10198         * paragraph_pimpl.C: remove unused getParFromID()
10199
10200 2003-02-14  John Levon  <levon@movementarian.org>
10201
10202         * buffer.C: remove some very old #if 0'd parse code
10203
10204 2003-02-13  John Levon  <levon@movementarian.org>
10205
10206         * text.h:
10207         * text.C:
10208         * text2.C: move hfillExpansion(), numberOfSeparators(),
10209           rowLast(), rowLastPrintable(), numberofHfills(),
10210           numberOfLabelHfills() ...
10211
10212         * lyxrow.h:
10213         * lyxrow.C: ... to member functions here.
10214
10215         * paragraph.h:
10216         * paragraph.C:
10217         * lyxtext.h:
10218         * text.C: remove LyXText::beginningOfMainBody(), and call
10219           p->beginningOfMainBody() directly. Move the check for
10220           LABEL_MANUAL into the latter.
10221
10222         * text.h:
10223         * text.C:
10224         * text2.C:
10225         * vspace.C:
10226         * BufferView.h:
10227         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10228
10229         * text.h:
10230         * text.C:
10231         * text2.C:
10232         * text3.C:
10233         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10234           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10235
10236 2003-02-13  John Levon  <levon@movementarian.org>
10237
10238         * CutAndPaste.C: remove debug
10239
10240 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10241
10242         * paragraph.C (asString): remove two unused variables
10243
10244         * lyxtextclass.C (readTitleType):
10245           (Read):
10246           (LyXTextClass): handle new members titletype_ and titlename_
10247
10248         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10249
10250 2003-02-09  John Levon  <levon@movementarian.org>
10251
10252         * buffer.h:
10253         * buffer.C: replace hand-coded list with a map for the dep clean
10254
10255 2003-02-08  John Levon  <levon@movementarian.org>
10256
10257         * LaTeX.C: consolidate code into showRunMessage() helper
10258
10259 2003-02-08  John Levon  <levon@movementarian.org>
10260
10261         * lyxfind.C:
10262         * lyxtext.h:
10263         * text2.C:
10264         * BufferView.C: change setSelectionOverString() to setSelectionRange()
10265           and pass the size in explicitly
10266
10267         * BufferView_pimpl.h:
10268         * BufferView_pimpl.C:
10269         * BufferView.h:
10270         * BufferView.C: add getCurrentChange()
10271
10272         * BufferView_pimpl.h:
10273         * BufferView_pimpl.C: handle change lfuns
10274
10275         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10276           for changes. Mark pasted paragraphs as new.
10277
10278         * support/lyxtime.h:
10279         * support/lyxtime.C:
10280         * DepTable.C: abstract time_t as lyx::time_type
10281
10282         * LColor.h:
10283         * LColor.C: add colours for new text, deleted text, changebars
10284
10285         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10286           package use "usenames" option.
10287
10288         * commandtags.h:
10289         * lyxfunc.C:
10290         * LyXAction.C: add change lfuns
10291
10292         * Makefile.am:
10293         * author.h:
10294         * author.C: author handling
10295
10296         * buffer.h:
10297         * buffer.C: add a per-buffer author list, with first entry as
10298           current author. Handle new .lyx tokens for change tracking. Output
10299           author list to .lyx file. Output dvipost stuff to .tex preamble.
10300           Bump lyx format to 222.
10301
10302         * bufferlist.h:
10303         * bufferlist.C: add setCurrentAuthor() to reset current author details
10304           in all buffers.
10305
10306         * bufferparams.h:
10307         * bufferparams.C: add param for tracking
10308
10309         * bufferview_funcs.C: output change info in minibuffer
10310
10311         * Makefile.am:
10312         * changes.h:
10313         * changes.C: add change-tracking structure
10314
10315         * debug.h:
10316         * debug.C: add CHANGES debug flag
10317
10318         * lyxfind.h:
10319         * lyxfind.C: add code for finding the next change piece
10320
10321         * lyxrc.h:
10322         * lyxrc.C: add user_name and user_email
10323
10324         * lyxrow.h:
10325         * lyxrow.C: add a metric for the top of the text line
10326
10327         * lyxtext.h:
10328         * text.C: implement accept/rejectChange()
10329
10330         * lyxtext.h:
10331         * text.C: paint changebars. Paint new/deleted text in the chosen
10332         colours. Strike through deleted text.
10333
10334         * paragraph.h:
10335         * paragraph.C:
10336         * paragraph_pimpl.h:
10337         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10338           in the current change to the insert functions. Rework erase to
10339           mark text as deleted, adding an eraseIntern() and a range-based
10340           erase(). Implement per-paragraph change lookup and
10341           accept/reject.
10342
10343         * paragraph_funcs.C: Fixup paste for change tracking.
10344
10345         * tabular.C: mark added row/columns as new.
10346
10347         * text.C: fix rowLast() to never return -1. Don't allow
10348           spellchecking of deleted text. Track transpose changes. Don't
10349           allow paragraph break or merge where appropriate.
10350
10351         * text2.C: leave cursor at end of selection after a cut.
10352
10353 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10354
10355         * text.C (getLengthMarkerHeight):
10356         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10357         visible on screen too.
10358
10359 2003-02-07  John Levon  <levon@movementarian.org>
10360
10361         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10362
10363 2003-02-05  Angus Leeming  <leeming@lyx.org>
10364
10365         * lyxserver.C (read_ready): revert my patch of 11 September last year
10366         as it sends PC cpu through the roof. Presumably this means that
10367         the lyxserver will no longer run on an Alpha...
10368
10369 2003-01-30  Angus Leeming  <leeming@lyx.org>
10370
10371         * factory.C (createInset): create an InsetCommandParam of type "index"
10372         and use it to 'do the right thing'.
10373
10374         * text2.C (getStringToIndex): ensure that cursor position is always
10375         reset to the reset_cursor position.
10376
10377 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10378
10379         * lyxfunc.C (getStatus): "buffer-export custom" should never be
10380         disabled.
10381
10382 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
10383
10384         * bufferview.C:
10385         * lyxcb.C:
10386         * lyxfunc.C: Output messages with identical spelling, punctuation,
10387         and spaces
10388
10389 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
10390
10391         * MenuBackend.C (expandFormats): List only viewable export formats
10392         in "View" menu
10393
10394         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10395         message
10396
10397         * lyxfunc.C (getStatus): Make sure that formats other than
10398         "fax" can also be disabled
10399
10400 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10401
10402         * text3.C (dispatch): put the lfuns that insert insets in 3
10403         groups, and call doInsertInset with appropriate arguments.
10404         (doInsertInset): new function, that creates an inset and inserts
10405         it according to some boolean parameters.
10406
10407 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
10408
10409         * buffer.C (readFile): remember to pass on 'par' when calling
10410         readFile recursively.
10411
10412 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10413
10414         * MenuBackend.C (expandFormats): add "..." to import formats.
10415
10416 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
10417
10418         * paragraph.C (asString): Remove XForms RTL hacks.
10419
10420 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
10421         * buffer.C: fix typo
10422
10423 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10424
10425         * Makefile.am (LIBS): delete var
10426         (lyx_LDADD): add @LIBS@ here instead.
10427
10428 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
10429
10430         * Clarify the meaning of "wheel mouse jump"
10431
10432 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10433
10434         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10435         tabular in a float
10436
10437 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10438
10439         * importer.C (Loaders): do not preallocate 3 elements in the
10440         vector, since one ends up with 6 elements otherwise
10441
10442 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10443
10444         * DepTable.C (write): write the file name as last element of the
10445         .dep file (because it may contain spaces)
10446         (read): read info in the right order
10447
10448 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10449
10450         * paragraph_pimpl.C (simpleTeXBlanks):
10451         (simpleTeXSpecialChars):
10452         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10453
10454         * tabular.C (latex): add some missing case statements. Reindent.
10455
10456         * MenuBackend.C (expandToc): remove unused variable.
10457
10458 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
10459
10460         * LColor.C:
10461         * LaTeX.C:
10462         * LyXAction.C:
10463         * MenuBackend.C:
10464         * buffer.C:
10465         * exporter.C:
10466         * lyxfunc.C:
10467         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10468         and the like.
10469
10470 2003-01-05  John Levon  <levon@movementarian.org>
10471
10472         * BufferView.h:
10473         * BufferView.C: add getEncoding()
10474
10475         * kbsequence.h:
10476         * kbsequence.C: do not store last keypress
10477
10478         * lyxfunc.h:
10479         * lyxfunc.C: store last keypress here instead. Pass encoding
10480           to getISOEncoded()
10481
10482 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10483
10484         * lyx_main.C (init): remove annoying error message when following
10485         symbolic links (bug #780)
10486
10487 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10488
10489         * text.C (insertChar):
10490         * lyxrc.C (getDescription): remove extra spaces
10491
10492 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10493
10494         * lyxrc.C (getDescription): remove extra spaces
10495
10496 2002-12-20  John Levon  <levon@movementarian.org>
10497
10498         * text3.C: hack fix for page up/down across tall rows
10499
10500 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10501
10502         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10503         not been invoked
10504
10505 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10506
10507         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10508         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10509         thesaurus is not compiled in
10510
10511 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
10512
10513         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
10514
10515 2002-12-16  Angus Leeming  <leeming@lyx.org>
10516
10517         * lyxrc.[Ch]:
10518         * lyx_main.C (init): remove override_x_deadkeys stuff.
10519
10520 2002-12-12  John Levon  <levon@movementarian.org>
10521
10522         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10523           insert. Only remove shift modifier under strict
10524           circumstances.
10525
10526 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
10527
10528         * MenuBackend.C (expandToc): fix crash.
10529
10530 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
10531
10532         * MenuBackend.C (expandToc): gettext on float names.
10533
10534 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
10535
10536         * lyxlength.[Ch]: set default unit to UNIT_NONE,
10537         implement bool empty() [bug 490]
10538
10539 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10540
10541         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10542
10543 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10544
10545         * several files: ws changes
10546
10547 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10548
10549         * text2.C (setCounter): clean up a bit, use boost.format.
10550         (updateCounters): initialize par upon declaration.
10551
10552         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10553         if the layout exists. We do not just store the layout any more.
10554         (SwitchLayoutsBetweenClasses): use boost.format
10555
10556 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10557
10558         * converter.C (convert): if from and to files are the same, use a
10559         temporary files as intermediary
10560
10561 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10562
10563         * commandtags.h:
10564         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10565
10566 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10567
10568         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10569
10570 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
10571
10572         * tabular.C (asciiPrintCell): use string(size, char) instead of
10573         explicit loop.
10574
10575         * sgml.C (openTag): fix order of arguments to string constructor
10576         (closeTag): ditto
10577
10578         * lyxfunc.C (dispatch): use boost.format
10579
10580         * lots of files: change "c" -> 'c'
10581
10582 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10583
10584         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10585
10586 2002-11-25  Angus Leeming  <leeming@lyx.org>
10587
10588         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10589
10590         * lyx_main.C (init): compile fix.
10591
10592 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
10593
10594         * lyx_cb.C (start): boost.formatify
10595         do not include <iostream>
10596
10597         * lengthcommon.C: ws only
10598
10599         * boost-inst.C,BoostFormat.h: add more explict instantations
10600
10601 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
10602
10603         * lots of files: handle USE_BOOST_FORMAT
10604
10605 2002-11-21  John Levon  <levon@movementarian.org>
10606
10607         * pspell.C: fix compile
10608
10609 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10610
10611         * lyxfunc.C (dispatch): use boost::format
10612         (open): ditto
10613         (doImport): ditto
10614
10615         * lyxfont.C (stateText): use boost::format
10616
10617         * lyx_main.C (LyX): use boost::format
10618         (init): ditto
10619         (queryUserLyXDir): ditto
10620         (readRcFile): ditto
10621         (parse_dbg): ditto
10622         (typedef boost::function): use the recommened syntax.
10623
10624         * importer.C (Import): use boost::format
10625
10626         * debug.C (showLevel): use boost::format
10627
10628         * converter.C (view): use boost::format
10629         (convert): ditto
10630         (move): ditto
10631         (scanLog): ditto
10632
10633         * bufferview_funcs.C (currentState): use boost::format
10634
10635         * bufferlist.C (emergencyWrite): use boost::format
10636
10637         * buffer.C (readLyXformat2): use boost::format
10638         (parseSingleLyXformat2Token): ditto
10639
10640         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10641
10642         * LaTeX.C (run): use boost::format
10643
10644         * Chktex.C (scanLogFile): use boost::format
10645
10646         * BufferView_pimpl.C (savePosition): use boost::format
10647         (restorePosition): ditto
10648         (MenuInsertLyXFile): ditto
10649
10650         * BoostFormat.h: help file for explicit instation.
10651
10652 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
10653
10654         * tabular.C (latex): Support for block alignment in fixed width
10655         columns.
10656
10657 2002-11-17  John Levon  <levon@movementarian.org>
10658
10659         * BufferView_pimpl.C:
10660         * lyx_cb.C:
10661         * lyxfunc.C: split filedialog into open/save
10662
10663 2002-11-08  Juergen Vigna  <jug@sad.it>
10664
10665         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10666         by my last patch (hopefully).
10667
10668 2002-11-08  John Levon  <levon@movementarian.org>
10669
10670         * iterators.h:
10671         * iterators.C:
10672         * buffer.h:
10673         * buffer.C:
10674         * paragraph.h:
10675         * paragraph.C:
10676         * toc.h:
10677         * toc.C: ParConstIterator, and use it (from Lars)
10678
10679 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
10680
10681         * lyxtextclass.[Ch]: revise and add doxygen comments
10682
10683 2002-11-07  John Levon  <levon@movementarian.org>
10684
10685         * text.C: fix progress value for spellchecker
10686
10687         * toc.C: fix navigate menu for insetwrap inside minipage
10688
10689         * paragraph_funcs.C: added FIXME for suspect code
10690
10691 2002-11-07  John Levon  <levon@movementarian.org>
10692
10693         * BufferView_pimpl.C: fix redrawing of insets
10694           on buffer switch
10695
10696 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10697
10698         * text2.C (updateCounters): fix bug 668
10699
10700 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
10701
10702         * text3.C (dispatch): Do not make the buffer dirty when moving the
10703         cursor.
10704
10705 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10706
10707         * vc-backend.C: STRCONV
10708         (scanMaster): ditto
10709
10710         * text2.C (setCounter): STRCONV
10711
10712         * paragraph.C (asString): STRCONV
10713
10714         * lyxlength.C (asString): STRCONV
10715         (asLatexString): ditto
10716
10717         * lyxgluelength.C (asString): STRCONV
10718         (asLatexString): ditto
10719
10720         * lyxfunc.C (dispatch): STRCONV
10721         (open): ditto
10722
10723         * lyxfont.C (stateText): STRCONV
10724
10725         * importer.C (Import): STRCONV
10726
10727         * counters.C (labelItem): STRCONV
10728         (numberLabel): ditto
10729         (numberLabel): remove unused ostringstream o
10730
10731         * chset.C: STRCONV
10732         (loadFile): ditto
10733
10734         * bufferview_funcs.C (currentState): STRCONV
10735
10736         * buffer.C (readFile): STRCONV
10737         (asciiParagraph): ditto
10738         (makeLaTeXFile): ditto
10739
10740         * Spacing.C (writeEnvirBegin): STRCONV
10741
10742         * LaTeXFeatures.C (getLanguages): STRCONV
10743         (getPackages): ditto
10744         (getMacros): ditto
10745         (getBabelOptions): ditto
10746         (getTClassPreamble): ditto
10747         (getLyXSGMLEntities): ditto
10748         (getIncludedFiles): ditto
10749
10750         * LaTeX.C: STRCONV
10751         (run): ditto
10752         (scanAuxFile): ditto
10753         (deplog): ditto
10754
10755         * LString.h: add the STRCONV macros
10756
10757         * BufferView_pimpl.C (savePosition): STRCONV
10758         (restorePosition): ditto
10759         (MenuInsertLyXFile): ditto
10760
10761         * vc-backend.C (scanMaster): change from submatch[...] to
10762         submatch.str(...)
10763
10764         * funcrequest.C: include config.h
10765
10766         * factory.C: include config.h
10767
10768         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10769
10770         * box.C: include config.h
10771
10772         * LaTeX.C (scanAuxFile): change from submatch[...] to
10773         submatch.str(...)
10774         (deplog): ditto
10775
10776 2002-10-25  Angus Leeming  <leeming@lyx.org>
10777
10778         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10779
10780         * ispell.[Ch] (setError): new method.
10781         * ispell.C (c-tor): move out child process into new class LaunchIspell.
10782         Use setError() insetead of goto END.
10783
10784         * lyx_cb.C (AutoSave): move out child process into new class
10785         AutoSaveBuffer.
10786
10787 2002-10-30  John Levon  <levon@movementarian.org>
10788
10789         * text3.C: make start appendix undoable
10790
10791 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
10792
10793         * lyxlength.C (inPixels): Fix returned value.
10794
10795         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10796         environment.
10797
10798 2002-10-24  Angus Leeming  <leeming@lyx.org>
10799
10800         * lyxgluelength.h: no need to forward declare BufferParams
10801         or BufferView, so don't.
10802
10803 2002-10-21  John Levon  <levon@movementarian.org>
10804
10805         * BufferView.C: menuUndo ->undo, redo
10806
10807         * BufferView.h: document, remove dead, make some methods private
10808
10809         * paragraph_funcs.h:
10810         * paragraph_funcs.C:
10811         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10812
10813         * buffer.h:
10814         * buffer.C:
10815         * sgml.h:
10816         * sgml.C: move sgml open/close tag into sgml.C
10817
10818         * bufferview_funcs.h: unused prototype
10819
10820         * lyxfunc.h:
10821         * lyxfunc.C: remove unused
10822
10823         * lyxtext.h:
10824         * text.C: remove unused
10825
10826 2002-10-21  John Levon  <levon@movementarian.org>
10827
10828         * BufferView.h:
10829         * BufferView.C:
10830         * BufferView_pimpl.h:
10831         * BufferView_pimpl.C: fix mouse wheel handling based on
10832           patch from Darren Freeman
10833
10834 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
10835
10836         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10837
10838 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
10839
10840         * lyxlength.C (inPixels): Fix hanfling of negative length.
10841         Fix LyXLength::MU case.
10842
10843 2002-10-16  John Levon  <levon@movementarian.org>
10844
10845         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10846
10847 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10848
10849         * converter.C (view): add support for $$i (file name) and $$p
10850         (file path) for the viewer command. If $$i is not specified, then
10851         it is appended to the command (for compatibility with old syntax)
10852
10853 2002-10-14  Juergen Vigna  <jug@sad.it>
10854
10855         * undo_funcs.C (textHandleUndo): alter the order in which the
10856         new undopar is added to the LyXText, as we have to set first
10857         the right prev/next and then add it as otherwise the rebuild of
10858         LyXText is not correct. Also reset the cursor to the right paragraph,
10859         with this IMO we could remove the hack in "redoParagraphs()".
10860
10861 2002-10-09  Angus Leeming  <leeming@lyx.org>
10862
10863         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10864         to turn off an optimisation if a new inset is to be inserted.
10865
10866 2002-10-11 André Pönitz <poenitz@gmx.net>
10867
10868         * lyxtext.h: make some functions public to allow access
10869         from inset/lyxtext for handling LFUN_PRIOR/NEXT
10870
10871 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10872
10873         * text3.C (dispatch): when changing layout, avoid an infinite loop
10874         [bug #652]
10875
10876 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10877
10878         * lyxrc.C (read): treat a viewer or converter command of "none" as
10879         if it were empty.
10880
10881         * MenuBackend.C (expandFormats): for an update, also allow the
10882         formats that are not viewable
10883
10884         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10885         script if it is newer than the lyxrc.defaults in user directory
10886
10887 2002-10-07 André Pönitz <poenitz@gmx.net>
10888
10889         * text.C: Vitaly Lipatov's small i18n fix
10890
10891 2002-09-25  Angus Leeming  <leeming@lyx.org>
10892
10893         * ispell.h: doxygen fix.
10894
10895 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
10896
10897         * buffer.h (readFile): Add a new argument to the method, to allow
10898         reading of old-format templates.
10899
10900 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
10901
10902         * toc.C (getTocList): Get TOC from InsetWrap.
10903
10904 2002-09-16  John Levon  <levon@movementarian.org>
10905
10906         * lyxfunc.C: check tabular for cut/copy too
10907
10908 2002-09-12  John Levon  <levon@movementarian.org>
10909
10910         * LyXAction.C: tidy
10911
10912         * factory.h:
10913         * factory.C: add header
10914
10915         * paragraph_funcs.h:
10916         * paragraph_funcs.C: cleanup
10917
10918 2002-09-11  John Levon  <levon@movementarian.org>
10919
10920         * PrinterParams.h: odd/even default to true
10921
10922 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
10923
10924         * PrinterParams.h: update printer parameters for new xforms dialog
10925
10926 2002-09-11  Angus Leeming  <leeming@lyx.org>
10927
10928         * lyxserver.C (read_ready): re-write to make it more transparent
10929         and to make it work in coherent fashion under Tru64 Unix.
10930
10931 2002-09-11  André Pönitz <poenitz@gmx.net>
10932
10933         * commandtags.h:
10934         * LyXAction.C:
10935         * text3.C: implement LFUN_WORDSEL
10936
10937 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10938
10939         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10940         make floatlist_ a boost::shared_ptr<FloatList>
10941
10942         * lyxtextclass.C: include FloatList.h
10943         (LyXTextClass): initialize floatlist_
10944         (TextClassTags): add TC_NOFLOAT
10945         (Read): match "nofloat" to TC_NOFLOAT and use it.
10946         (readFloat): modify call to floatlist_
10947         (floats): ditto
10948         (floats): ditto
10949
10950         * FloatList.[Ch] (FloatList): remove commented out float
10951         initialization.
10952         (erase): new function
10953
10954 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10955
10956         * MenuBackend.C (expandToc): fix crash when there is no document
10957         open
10958
10959 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
10960
10961         * many files: Add insetwrap.
10962
10963 2002-09-09  John Levon  <levon@movementarian.org>
10964
10965         * text2.C: remove confusing and awkward depth wraparound
10966
10967 2002-09-09  John Levon  <levon@movementarian.org>
10968
10969         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10970
10971         * buffer.h:
10972         * buffer.C: remove getIncludeonlyList()
10973
10974         * paragraph.C:
10975         * lyxfunc.C: remove headers
10976
10977 2002-09-09  Juergen Vigna  <jug@sad.it>
10978
10979         * text.C (getColumnNearX): fix form Michael this is most
10980         probably a cut&paste bug.
10981
10982 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10983
10984         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10985
10986         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10987         references, ws changes.
10988
10989         * text2.C (init): update counters after init
10990         (insertParagraph): no need to set counter on idividual paragraphs.
10991         (setCounter): access the counters object in the textclass object
10992         on in the buffer object.
10993         (updateCounters): ditto
10994
10995         * lyxtextclass.C: include counters.h, add variable ctrs_ as
10996         shared_ptr<Counters> to avoid loading counters.h in all
10997         compilation units.
10998         (LyXTextClass): initialize ctrs_
10999         (TextClassTags): add TC_COUNTER, and ...
11000         (Read): use it here.
11001         (CounterTags): new tags
11002         (readCounter): new function
11003         (counters): new funtion
11004         (defaultLayoutName): return a const reference
11005
11006         * counters.C (Counters): remove contructor
11007         (newCounter): remove a couple of unneeded statements.
11008         (newCounter): simplify a bit.
11009         (numberLabel): some small formatting changes.
11010
11011         * buffer.[Ch]: remove all traces of counters, move the Counters
11012         object to the LyXTextClass.
11013
11014 2002-09-06  Alain Castera  <castera@in2p3.fr>
11015
11016         * tabular.C: uses \tabularnewline; uses >{...} construct from array
11017         package to set the horizontal alignment on fixed width columns.
11018
11019         * lyx_sty.C:
11020         * lyx_sty.h: added tabularnewline macro def.
11021
11022         * LaTeXFeatures.C: added NeedTabularnewline macro feature
11023
11024 2002-09-06  John Levon  <levon@movementarian.org>
11025
11026         * LyXAction.C: tooltips for sub/superscript
11027
11028         * MenuBackend.C: a bit more verbose
11029
11030         * lyxfunc.C: tiny clean
11031
11032         * undo_funcs.C: document undo_frozen
11033
11034 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
11035
11036         * counters.C (Counters): add missing algorithm counter.
11037
11038         * text2.C (setCounter): lookup the counter with layouts latexname
11039         instead of by section number.
11040         (setCounter): use a hackish way to lookup the correct enum
11041         counter.
11042         a float name->type change
11043         reset enum couners with counter name directly instead of depth value.
11044
11045         * counters.C (Counters): remove the push_backs, change to use the
11046         float type not the float name.
11047         (labelItem): remove unused string, float name->type change
11048
11049         * counters.h: don't include vector, loose the enums and sects vectors
11050
11051 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
11052
11053         * lyxtextclass.C (TextClassTags): add TC_FLOAT
11054         (Read): add float->TC_FLOAT to textclassTags
11055         (Read): and handle it in the switch
11056         (readFloat): new function
11057
11058         * FloatList.C (FloatList): comment out the hardcoded float
11059         definitions.
11060
11061         * lyxlayout.h: ws change.
11062
11063 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
11064
11065         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
11066
11067 2002-09-03  Angus Leeming  <leeming@lyx.org>
11068
11069         * BufferView_pimpl.h: qualified name is not allowed in member
11070         declaration: WorkArea & Pimpl::workarea() const;
11071
11072         * factory.C: added using std::endl directive.
11073
11074         * text3.C: added using std::find and std::vector directives.
11075
11076 2002-08-29  André Pönitz <poenitz@gmx.net>
11077
11078         * lyxtext.h:
11079         * text2.C: remove unused member number_of_rows
11080
11081         * Makefile.am:
11082         * BufferView2.C: remove file, move contents to...
11083         * BufferView.C: ... here
11084
11085         * BufferView_pimpl.C:
11086         * factory.C: move more inset creation to factory
11087
11088         * vspace.C: avoid direct usage of LyXText, ws changes
11089
11090         * BufferView.[Ch]:
11091                 don't provide direct access to WorkArea, use two simple
11092                 acessors haveSelction() and workHeight() instead
11093
11094
11095 2002-08-29  John Levon  <levon@movementarian.org>
11096
11097         * BufferView_pimpl.C (dispatch): do not continue when
11098           no buffer
11099
11100 2002-08-28  André Pönitz <poenitz@gmx.net>
11101
11102         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
11103
11104         * BufferView.h:
11105         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
11106
11107 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
11108
11109         * buffer.C: increment LYX_FORMAT to 221
11110
11111         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
11112         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
11113
11114         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
11115
11116         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
11117
11118 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11119
11120         * factory.C (createInset): use LyXTextClass::floats
11121
11122         * MenuBackend.C (expandFloatListInsert):
11123         (expandFloatInsert):
11124         (expandToc):
11125
11126         * text2.C (setCounter):
11127
11128         * LaTeXFeatures.C (useFloat):
11129         (getFloatDefinitions):
11130
11131         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
11132
11133         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
11134         floatlist_, with accessor floats().
11135
11136         * FloatList.h: remove global FloatList
11137
11138 2002-08-26  André Pönitz <poenitz@gmx.net>
11139
11140         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
11141
11142         * BufferView.h:
11143         * BufferView2.C:
11144         * BufferView_pimpl.C:
11145         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
11146
11147 2002-08-25  John Levon  <levon@movementarian.org>
11148
11149         * LyXAction.C: fix margin note description
11150
11151 2002-08-24  John Levon  <levon@movementarian.org>
11152
11153         * buffer.C:
11154         * bufferlist.C:
11155         * bufferview_funcs.C:
11156         * lyxfont.C:
11157         * undo_funcs.C: cleanups
11158
11159         * lyxfunc.C: disable CUT/COPY when no selection
11160
11161 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
11162
11163         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11164         in "enum UNIT"; e.g. PTW for Percent of TextWidth
11165
11166         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11167         Add backward compatibility to "mono", "gray" and "no".
11168
11169 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
11170
11171         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11172         (and file_format >= 200).
11173
11174 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11175
11176         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11177
11178 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11179
11180         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11181
11182 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
11183
11184         * BufferView_pimpl.C:
11185         * LyXAction.C:
11186         * buffer.C:
11187         * commandtags.h:
11188         * lyxfunc.C:
11189         * paragraph.[Ch]:
11190         * text2.C:
11191         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11192         inset and code to make it  work with the paragraph code. The inset
11193         can be anywhere in the paragraph, but will only do the expected
11194         thing in LaTeX if the layout file contains the parameter line
11195                         OptionalArgs    1
11196         (or more generally, a nonzero value) for that layout.
11197
11198 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
11199
11200         * paragraph.h: remove the declaration of undefined counters class
11201         function.
11202
11203 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
11204
11205         * text2.C (setCounter):  fixed enumeration mis-count as reported by
11206         Dr. Richard Hawkins.
11207
11208 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11209
11210         * paragraph_funcs.h: remove some unneeded includes
11211
11212         * text.C (backspace): pasteParagraph now in global scipe
11213
11214         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11215         (pasteSelection): ditto
11216
11217         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11218         * paragraph_funcs.C (pasteParagraph): ... here
11219
11220 2002-08-20  André Pönitz <poenitz@gmx.net>
11221
11222         * commandtags.h: new LFUNs for swapping/copying table row/colums
11223
11224         * LyXAction.C:
11225         * lyxfunc.C: support for new lfuns
11226
11227 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
11228
11229         * tabular.C:
11230         * buffer.[Ch]: remove NO_COMPABILITY stuff
11231
11232 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
11233
11234         * boost.C (throw_exception): new file, with helper function for
11235         boost compiled without exceptions.
11236
11237         * paragraph.h:
11238         * lyxlength.C:
11239         * buffer.C:
11240         * ParameterStruct.h:
11241         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11242
11243         * bufferlist.C (emergencyWriteAll): use boost bind
11244
11245         * BufferView_pimpl.C (moveCursorUpdate): remove inline
11246
11247         * text.C: include paragraph_funcs.h
11248         (breakParagraph): breakParagraph is now in global scope
11249
11250         * paragraph_funcs.[Ch]: new files
11251
11252         * paragraph.C (breakParagraph,breakParagraphConservative): move to
11253         global scope
11254
11255         * buffer.C: include paragraph_funcs.h
11256         (insertStringAsLines): breakParagraph is now in global scope
11257
11258         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11259         paragraph_funcs.C
11260
11261         * CutAndPaste.C: include paragraph_funcs.h
11262         (cutSelection): breakParagraphConservative is now in global scope
11263         (pasteSelection): ditto
11264
11265         * buffer.h: declare oprator== and operator!= for
11266         Buffer::inset_iterator
11267
11268         * bufferlist.C (emergencyWrite): don't use fmt(...)
11269
11270         * text3.C: add using std::endl
11271
11272         * BufferView.C (moveCursorUpdate): remove default arg
11273
11274 2002-08-20  André Pönitz <poenitz@gmx.net>
11275
11276         * buffer.[Ch]: move inline functions to .C
11277
11278         * BufferView2.C:
11279         * BufferView_pimpl.C:
11280         * text.C:
11281         * buffer.[Ch]: use improved inset_iterator
11282
11283         * buffer.C:
11284         * paragraph.[Ch]: write one paragraph at a time
11285
11286 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11287
11288         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11289         style if style is not specified.
11290
11291 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11292
11293         * text2.C (setCounter): when searching for right label for a
11294         caption, make sure to recurse to parent insets (so that a caption
11295         in a minipage in a figure float works) (bug #568)
11296
11297 2002-08-20  André Pönitz <poenitz@gmx.net>
11298
11299         * text3.C: new file for LyXText::dispatch() and helpers
11300
11301         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11302
11303         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11304
11305 2002-08-19  André Pönitz <poenitz@gmx.net>
11306
11307         * lyxtext.h:
11308         * text.C: new LyXText::dispatch()
11309
11310         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11311
11312 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
11313
11314         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11315
11316         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11317         Hebrew text.
11318
11319 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11320
11321         * Makefile.am: use $(variables) instead of @substitutions@
11322
11323 2002-08-15  André Pönitz <poenitz@gmx.net>
11324
11325         * lyxfunc.C:
11326         * BufferView_pimpl.C: streamlining mathed <-> outer world
11327         interaction
11328
11329         * commandtags.h:
11330         * LyXAction.C: remove unused LFUN_MATH
11331
11332 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11333
11334         * paragraph.[Ch]: add some NO_NEXT ifdefs.
11335
11336 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11337
11338         * paragraph.C (Paragraph): reformat a bit
11339         (cutIntoMinibuffer): use builtin InsetList function instad of
11340         doing it manually.
11341         (getInset): ditto
11342
11343         * buffer.C: include boost/bind.hpp, add using std::for_each
11344         (writeFileAscii): use ParagraphList iterators
11345         (validate): use for_each for validate traversal of paragraphs
11346         (getBibkeyList): use ParagraphList iterators
11347         (resizeInsets): use for_each to resizeInsetsLyXText for all
11348         paragraphs.
11349         (getParFromID): use ParagraphList iterators
11350
11351         * BufferView2.C (lockInset): use paragraph list and iterators
11352
11353 2002-08-14  John Levon  <levon@movementarian.org>
11354
11355         * lyxserver.C: remove spurious xforms include
11356
11357 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11358
11359         * lyxfunc.C (getStatus): disable math-extern outside of math mode
11360
11361 2002-08-13  André Pönitz <poenitz@gmx.net>
11362
11363         * LyXAction.[Ch]:
11364         * lyxfunc.C: further cleaning
11365
11366 2002-08-13  André Pönitz <poenitz@gmx.net>
11367
11368         * funcrequest.h: new constructor
11369
11370         * funcrequest.C: move stuff here from .h
11371
11372         * Makefile.am:
11373         * BufferView_pimpl.C:
11374         * LyXAction.C:
11375         * toc.C:
11376         * lyxfunc.C: subsequent changes
11377
11378         * lyxfunc.h: new view() member function
11379
11380         * lyxfunc.C: subsequent changes
11381
11382 2002-08-13  Angus Leeming  <leeming@lyx.org>
11383
11384         * BufferView2.C:
11385         * BufferView_pimpl.C:
11386         * buffer.C:
11387         * converter.C:
11388         * importer.C:
11389         * lyxfunc.C:
11390         * lyxvc.C:
11391         * toc.C:
11392         * vc-backend.C:
11393         changes due to the changed LyXView interface that now returns references
11394         to member variables not pointers.
11395
11396 2002-08-13  Angus Leeming  <leeming@lyx.org>
11397
11398         * WordLangTuple (word, lang_code): return references to strings,
11399         not strings.
11400
11401         * BufferView.h:
11402         * SpellBase.h:
11403         * lyxtext.h: forward-declare WordLangTuple.
11404
11405         * BufferView2.C:
11406         * ispell.C:
11407         * pspell.C:
11408         * text.C: #include "WordLangTuple.h".
11409
11410         * lyxtext.h:
11411         * text.C: (selectNextWordToSpellcheck): constify return type.
11412
11413 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
11414
11415         * buffer.C:
11416         * buffer.h:
11417         * lyxtext.h:
11418         * paragraph.C:
11419         * paragraph_pimpl.h:
11420         * text.C:
11421         * text2.C:
11422         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11423         suggested by Angus.
11424         Made updateCounter always count from start of buffer, and removed
11425         second argument (par).
11426         Reverted floats number display to '#'. Perhaps I'll try again when the
11427         code base is sanitized a bit.
11428
11429 2002-08-12  Angus Leeming  <leeming@lyx.org>
11430
11431         * buffer.[Ch] (getLabelList): constify.
11432
11433 2002-08-07  André Pönitz <poenitz@gmx.net>
11434
11435         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11436
11437         * funcrequest.h: extension to keep mouse (x,y) position
11438
11439 2002-08-12  Juergen Vigna  <jug@sad.it>
11440
11441         * BufferView2.C (insertErrors): forbid undo when inserting error
11442         insets.
11443
11444         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11445
11446 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
11447
11448         * ParagraphList.[Ch]: new files
11449
11450         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11451
11452         * BufferView2.C (lockInset): ParagraphList changes
11453         * toc.C: ditto
11454         * text2.C: ditto
11455         * bufferlist.C: ditto
11456         * buffer.h: ditto
11457         * buffer.C: ditto
11458
11459 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11460
11461         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11462         unused class variable counter_,
11463
11464         * paragraph.[Ch] (getFirstCounter): delete unused function
11465
11466         * counters.C: include LAssert.h
11467         (reset): add a new function with no arg, change other version to
11468         not have def. arg and to not allow empty arg.
11469
11470         * text2.C (setCounter): remove empty arg from call to Counters::reset
11471
11472 2002-08-11  John Levon  <levon@movementarian.org>
11473
11474         * Makefile.am: add WordLangTuple.h
11475
11476 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11477
11478         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11479         lyxfunc.C lyxlex_pimpl.C: ws changes only.
11480
11481         * insets/insettext.C: InsetList changes
11482
11483         * graphics/GraphicsSupport.C (operator()): InsetList changes
11484
11485         * toc.C (getTocList): InsetList changes
11486
11487         * paragraph_pimpl.[Ch]: InsetList changes
11488
11489         * paragraph.[Ch]: InsetList changes
11490
11491         * buffer.C (inset_iterator): InsetList changes
11492         (setParagraph): ditto
11493         * buffer.h (inset_iterator): ditto
11494         * iterators.C (operator++): ditto
11495         * iterators.h: ditto
11496
11497         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11498
11499         * InsetList.[Ch]: new files, most InsetList handling moved out of
11500         paragraph.C.
11501
11502         * BufferView2.C (removeAutoInsets): InsetList changes
11503         (lockInset): ditto
11504         (ChangeInsets): ditto
11505
11506 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
11507
11508         * paragraph_pimpl.h (empty): new function
11509
11510         * paragraph.[Ch] (empty): new function
11511
11512         * other files: use the new Paragraph::empty function
11513
11514 2002-08-09  John Levon  <levon@movementarian.org>
11515
11516         * lyxtext.h: remove unused refresh_height
11517
11518 2002-08-09  John Levon  <levon@movementarian.org>
11519
11520         * Makefile.am:
11521         * sgml.h:
11522         * sgml.C:
11523         * buffer.C:
11524         * paragraph.h:
11525         * paragraph.C: move sgml char escaping out of paragraph
11526
11527         * paragraph.h:
11528         * paragraph.C: remove id setter
11529
11530         * buffer.C:
11531         * paragraph.C:
11532         * paragraph_pimpl.C: remove dead tex_code_break_column
11533
11534         * bufferview_funcs.C: small cleanup
11535
11536         * lyxfunc.C: remove dead proto
11537
11538         * lyxtext.h: make some stuff private. Remove some dead stuff.
11539
11540         * lyxgluelength.C: make as[LyX]String() readable
11541
11542 2002-08-08  John Levon  <levon@movementarian.org>
11543
11544         * LyXAction.h:
11545         * LyXAction.C:
11546         * MenuBackend.C:
11547         * ToolbarDefaults.C:
11548         * lyxfunc.C:
11549         * lyxrc.C:
11550         * toc.C: lyxaction cleanup
11551
11552 2002-08-08  John Levon  <levon@movementarian.org>
11553
11554         * BufferView2.C: small cleanup
11555
11556         * lyxfind.h:
11557         * lyxfind.C: move unnecessary header into the .C
11558
11559 2002-08-08  John Levon  <levon@movementarian.org>
11560
11561         * funcrequest.h: just tedious nonsense
11562
11563         * lyx_main.h:
11564         * lyx_main.C: cleanups
11565
11566         * buffer.C:
11567         * vspace.C: remove dead header lyx_main.h
11568
11569 2002-08-07  Angus Leeming  <leeming@lyx.org>
11570
11571         * Paragraph.[Ch]:
11572         * paragraph_pimpl.h:
11573         Forward declare class Counters in paragraph.h by moving the ctrs member
11574         variable into Paragraph::Pimpl.
11575         (counters): new method, returning a reference to pimpl_->ctrs.
11576
11577         * text2.C: ensuing changes.
11578
11579 2002-08-07  John Levon  <levon@movementarian.org>
11580
11581         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11582
11583         * BufferView_pimpl.C: announce X selection on double/triple
11584           click
11585
11586         * lyx_main.C: use correct bool in batch dispatch
11587
11588         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11589
11590 2002-08-07  André Pönitz <poenitz@gmx.net>
11591
11592         * funcrequest.h: new class to wrap a kb_action and its argument
11593
11594         * BufferView.[Ch]:
11595         * BufferView_pimpl[Ch]:
11596         * LaTeX.C:
11597         * LyXAction.[Ch]:
11598         * lyxfunc.[Ch]:
11599         * lyxrc.C: subsequent changes
11600
11601
11602 2002-08-07  John Levon  <levon@movementarian.org>
11603
11604         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11605           document options change.
11606
11607 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
11608
11609         * counters.[Ch]
11610         * text2.C
11611         * paragraph.[Ch]
11612         * makefile.am: move counters functionality over from
11613         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11614
11615 2002-08-06  John Levon  <levon@movementarian.org>
11616
11617         * WordLangTuple.h: new file for word + language code tuple
11618
11619         * SpellBase.h:
11620         * pspell.h:
11621         * pspell.C:
11622         * ispell.h:
11623         * ispell.C:
11624         * lyxtext.h:
11625         * text.C:
11626         * text2.C:
11627         * BufferView.h:
11628         * BufferView2.C: use WordLangTuple
11629
11630         * layout.h:
11631         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11632
11633 2002-08-06  John Levon  <levon@movementarian.org>
11634
11635         * lyx_main.C: fix cmdline batch handling
11636
11637 2002-08-06  André Pönitz <poenitz@gmx.net>
11638
11639         * lyxrc.C: set default for show_banner to true
11640
11641 2002-08-06  John Levon  <levon@movementarian.org>
11642
11643         * pspell.C: fix a crash, and allow new aspell to work
11644
11645 2002-08-06  John Levon  <levon@movementarian.org>
11646
11647         * lyxfunc.C:
11648         * kbmap.C: small cleanup
11649
11650         * vspace.h:
11651         * vspace.C: add const
11652
11653 2002-08-05  John Levon  <levon@movementarian.org>
11654
11655         * LyXAction.C: back to tabular-insert
11656
11657 2002-08-04  John Levon  <levon@movementarian.org>
11658
11659         * BufferView.h:
11660         * BufferView.C: cosmetic change
11661
11662         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11663
11664         * bufferlist.C:
11665         * buffer.h:
11666         * buffer.C:
11667         * lyxcb.h:
11668         * lyxcb.C:
11669         * lyxserver.C:
11670         * lyxvc.C:
11671         * vc-backend.C:
11672         * BufferView2.C: purge all "Lyx" not "LyX" strings
11673
11674         * lyxcursor.h:
11675         * lyxcursor.C: attempt to add some documentation
11676
11677         * lyxfunc.C:
11678         * commandtags.h:
11679         * LyXAction.C:
11680         * ToolbarDefaults.C:
11681         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11682           merge with LFUN_TABULAR_INSERT
11683
11684         * Makefile.am:
11685         * SpellBase.h:
11686         * ispell.h:
11687         * ispell.C:
11688         * pspell.h:
11689         * pspell.C: split up i/pspell implementations into separate
11690           files, many cleanups
11691
11692         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11693
11694         * text2.C: some cleanup
11695
11696         * lyxfunc.C: don't check for isp_command == "none" any more, it
11697           didn't make any sense
11698
11699 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
11700
11701         * counters.[Ch]
11702         * text2.C
11703         * paragraph.[Ch]
11704         * makefile.am: move counters functionality over
11705         from text2.C/paragraph.[Ch] to counters.[Ch], and
11706         make proper C++.
11707 2002-08-02  John Levon  <levon@movementarian.org>
11708
11709         * buffer.C: s/lyxconvert/lyx2lyx/
11710
11711 2002-08-02  Angus Leeming  <leeming@lyx.org>
11712
11713         * lyxlex.C: revert John's change as it breaks reading of the user
11714         preamble.
11715
11716 2002-08-02  Angus Leeming  <leeming@lyx.org>
11717
11718         * importer.C (Import):
11719         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11720         changes due to LyXView::view() now returning a boost::shared_ptr.
11721
11722 2002-08-02  John Levon  <levon@movementarian.org>
11723
11724         * lyxlex.C: small cleanup
11725
11726 2002-08-02  John Levon  <levon@movementarian.org>
11727
11728         * text2.C (status): small cleanup, no logic change
11729
11730 2002-08-01  John Levon  <levon@movementarian.org>
11731
11732         * buffer.h:
11733         * buffer.C (writeFile): don't output alerts, caller
11734           handles this
11735
11736         * bufferlist.C:
11737         * lyx_cb.C: from above
11738
11739         * lyxfunc.C: allow to open non-existent files
11740
11741 2002-07-31  John Levon  <levon@movementarian.org>
11742
11743         * lyxserver.C: don't let incidental errors get
11744           in the way (errno)
11745
11746 2002-07-30  John Levon  <levon@movementarian.org>
11747
11748         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11749
11750 2002-07-30  John Levon  <levon@movementarian.org>
11751
11752         * lyxserver.h:
11753         * lyxserver.C: remove I/O callback too
11754
11755 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11756
11757         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11758         log.
11759
11760 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
11761
11762         * many files: strip,frontStrip -> trim,ltrim,rtrim
11763
11764 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
11765
11766         * PrinterParams.h: remove extern containsOnly, and include
11767         support/lstrings.h instead.
11768
11769         * LaTeX.C (scanAuxFile): modify because of strip changes
11770         (deplog): ditto
11771         * buffer.C (makeLaTeXFile): ditto
11772         * bufferparams.C (writeFile): ditt
11773         * lyxfont.C (stateText): ditto
11774         * lyxserver.C (read_ready): ditto
11775         * vc-backend.C (scanMaster): ditto
11776
11777         * BufferView_pimpl.h: ws changes
11778
11779         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11780
11781 2002-07-26  André Pönitz <poenitz@gmx.net>
11782
11783         * kb_sequence.C: remove unnedred usings
11784
11785 2002-07-26  Juergen Vigna  <jug@sad.it>
11786
11787         * lyxfind.C (LyXReplace): we have to check better if the returned
11788         text is not of theLockingInset()->getLockingInset().
11789
11790 2002-07-25  Juergen Vigna  <jug@sad.it>
11791
11792         * lyxfind.C (LyXReplace): don't replace if we don't get the
11793         right LyXText.
11794
11795         * undo_funcs.C (createUndo): remove debugging code.
11796
11797 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
11798
11799         * buffer.C (parseSingleLyXformat2Token): Use default placement
11800         when reading old floats.
11801
11802         * FloatList.C (FloatList): Change the default placement of figure
11803         and tables to "tbp".
11804
11805 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
11806
11807         * MenuBackend.C: using std::max
11808
11809 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11810
11811         * MenuBackend.C (expandToc):
11812         (expandToc2): code moved from xforms menu frontend. It is now
11813         generic and TOCs are transparent to menu frontends.
11814
11815 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11816
11817         * toc.C (getTocList): protect against buf=0
11818
11819         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11820         Menu as first parameter. Now, this calls itself recursively to
11821         expand a whole tree (this will be useful for TOC handling)
11822         (expandFloatInsert): remove 'wide' version of floats
11823
11824         * MenuBackend.h (submenuname): returns the name of the submenu.
11825         (submenu): returns the submenu itself, provided it has been
11826         created by MenuBackend::expand
11827
11828 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11829
11830         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11831         insets which have noFontChange == true. (bug #172)
11832
11833 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11834
11835         * BufferView_pimpl.C: add connection objects and use them...
11836         (Pimpl): here.
11837
11838 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11839
11840         * MenuBackend.C (expandLastfiles):
11841         (expandDocuments):
11842         (expandFormats):
11843         (expandFloatListInsert):
11844         (expandFloatInsert):
11845         (expand): split expand in parts
11846
11847 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11848
11849         * lyx_gui.C: use lyx_gui::exit()
11850
11851 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11852
11853         * LyXAction.C: show the failing pseudo action
11854
11855 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
11856
11857         * buffer.C (readFile): Run the lyxconvert script in order to read
11858         old files.
11859
11860 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11861
11862         * LyXAction.C:
11863         * commandtags.h:
11864         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11865
11866 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11867
11868         * LyXAction.C:
11869         * commandtags.h:
11870         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11871
11872 2002-07-22  Herbert Voss  <voss@lyx.org>
11873
11874         * lengthcommon.C:
11875         * lyxlength.[Ch]: add support for the vertical lengths
11876
11877 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
11878
11879         * toc.[Ch]: std:: fixes
11880
11881 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11882
11883         * lyxrc.C: do not include lyx_main.h
11884
11885         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11886         for layouts
11887
11888         * lyxrc.C:
11889         * encoding.C:
11890         * bufferlist.C:
11891         * BufferView2.C: include "lyxlex.h"
11892
11893         * tabular.h:
11894         * bufferparams.h: do not #include "lyxlex.h"
11895
11896         * lyxtextclasslist.C (Add): remove method
11897         (classlist): renamed to classlist_
11898
11899         * paragraph_pimpl.C:
11900         * paragraph.C:
11901         * text2.C:
11902         * CutAndPaste.C:
11903         * bufferview_funcs.C:
11904         * bufferlist.C:
11905         * text.C:
11906         * LaTeXFeatures.C:
11907         * buffer.C:
11908         * toc.C (getTocList): use BufferParams::getLyXTextClass
11909
11910         * toc.C (getTocList): use InsetFloat::addToToc
11911
11912         * toc.[Ch]: new files, containing helper functions to handle table
11913         of contents
11914
11915         * lyxfunc.C (dispatch): no need to remove spaces around command
11916         given as a string
11917         (getStatus): handle LFUN_SEQUENCE by returning the status of the
11918         first command of the sequence; it is not very clever, but I do not
11919         have a better idea, actually
11920
11921         * LyXAction.C (LookupFunc): make sure to remove space at the
11922         beginning and end of the command
11923
11924 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11925
11926         * MenuBackend.C (getMenubar): new method: return the menubar of
11927         this menu set
11928         (read): treat differently reading of menu and menubar (in
11929         particular, the menubar has no name now)
11930         (Menu::menubar): remove
11931
11932         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11933         saving is finished
11934
11935 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11936
11937         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11938         a bibitem inset in a RTL paragraph.
11939
11940 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
11941
11942         * paragraph_pimpl.C: constify
11943
11944         * BufferView_pimpl.C:
11945         * LaTeX.C:
11946         * lyxfunc.C: fix dispatch in a nicer way
11947
11948 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11949
11950         * lyxfunc.C (dispatch):
11951         * BufferView_pimpl.C:
11952         * BufferView_pimpl.h:
11953         * BufferView.C:
11954         * BufferView.h: rename Dispatch() to dispatch()
11955
11956         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11957
11958         * lyxlayout.C (Read): honor DependsOn tag
11959
11960         * lyxlayout.[Ch] (depends_on): new method
11961
11962         * version.C.in: update lyx_docversion
11963
11964         * LaTeXFeatures.C (getMacros): only define \LyX when needed
11965
11966         * paragraph.C (validate): remove from here...
11967         * paragraph_pimpl.C (validate): ... and move here
11968         (isTextAt): make it const
11969
11970         * buffer.C (getLists): ws cleanup
11971
11972 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11973
11974         * language.C (read): Use iso8859-1 encoding in latex_lang
11975         (this prevents LyX from crashing when using iso10646-1 encoding).
11976
11977 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11978
11979         * text2.C (toggleInset): if cursor is inside an inset, close the
11980         inset and leave cursor _after_ it
11981
11982 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11983
11984         * lyxfunc.C: move minibuffer completion handling out of here
11985
11986 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11987
11988         * BufferView_pimpl.C:
11989         * LaTeX.C: fix dispatch calls
11990
11991 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
11992
11993         * text.C (drawChars): Fix Arabic text rendering.
11994
11995 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
11996
11997         * LyXAction.C:
11998         * commandtags.h:
11999         * lyxfunc.C: remove message-push/pop
12000
12001         * lyxserver.C:
12002         * lyxfunc.h:
12003         * lyxfunc.C: rationalise some code by removing verboseDispatch
12004           in favour of a bool argument to dispatch()
12005
12006 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12007
12008         * lyx_main.C (init): make sure to read symlinks as absolute paths
12009
12010 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12011
12012         * lyxfunc.h:
12013         * lyxfunc.C: no need for commandshortcut to be a member
12014
12015 2002-07-15  André Pönitz <poenitz@gmx.net>
12016
12017         * converter.C: add support for $$s (scripts from lib/scripts dir)
12018         * lyx_main.C: white space
12019
12020 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12021
12022         * bufferlist.C:
12023         * lyxrc.h:
12024         * lyxrc.C: remove second exit confirmation
12025
12026 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12027
12028         * BufferView.h:
12029         * BufferView.C:
12030         * BufferView2.C:
12031         * BufferView_pimpl.h:
12032         * BufferView_pimpl.C:
12033         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
12034
12035 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12036
12037         * MenuBackend.C (expand): add numeric shortcuts to document menu
12038
12039         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
12040
12041 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12042
12043         * lyxfont.C (setLyXFamily):
12044         (setLyXSeries):
12045         (setLyXShape):
12046         (setLyXSize):
12047         (setLyXMisc):
12048         (lyxRead):
12049         * debug.C (value):
12050         * buffer.C (asciiParagraph): use ascii_lowercase
12051
12052 2002-07-15  Mike Fabian  <mfabian@suse.de>
12053
12054         * lyxlex_pimpl.C (search_kw):
12055         * lyxlex.C (getLongString):
12056         * converter.h (operator<):
12057         * converter.C (operator<):
12058         * buffer.C (parseSingleLyXformat2Token):
12059         (asciiParagraph):
12060         * ToolbarDefaults.C (read):
12061         * MenuBackend.C (checkShortcuts):
12062         (read):
12063         * LColor.C (getFromGUIName):
12064         (getFromLyXName): use the compare_ascii_no_case instead of
12065         compare_no_case, because in turkish, 'i' is not the lowercase
12066         version of 'I', and thus turkish locale breaks parsing of tags.
12067
12068 2002-07-16  Angus Leeming  <leeming@lyx.org>
12069
12070         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
12071         now takes a Buffer const & argument.
12072
12073 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
12074
12075         * BufferView.C (resize): check there's a buffer to resize
12076
12077 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
12078
12079         * lyxfunc.C: remove dead code
12080
12081         * lyxserver.h:
12082         * lyxserver.C: use lyx_guii::set_read_callback
12083
12084 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12085
12086         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
12087         an inset in a RTL paragraph.
12088
12089 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12090
12091         * lyxfunc.C: repaint after a font size update
12092
12093 2002-07-15  André Pönitz <poenitz@gmx.net>
12094
12095         * lyxlength.C: inBP should be able to return negative values
12096
12097 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12098
12099         * lyxfunc.C: use lyx_gui::update_fonts()
12100
12101 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12102
12103         * lyxfunc.C: use lyx_gui::update_color()
12104
12105 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
12106
12107         * bufferlist.C:
12108         * lyxfunc.h:
12109         * lyxfunc.C:
12110         * lyxrc.h:
12111         * lyxrc.C: remove file->new asks for name option, and let
12112           buffer-new take an argument
12113
12114 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
12115
12116         * BufferView_pimpl.C: remove unneeded extra repaint()
12117
12118 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
12119
12120         * LyXAction.C: allow command-sequence with NoBuffer
12121
12122         * lyxfunc.C: don't insist on trailing ';' for command-sequence
12123
12124 2002-07-10  Angus Leeming  <leeming@lyx.org>
12125
12126         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
12127
12128 2002-07-09  Angus Leeming  <leeming@lyx.org>
12129
12130         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
12131
12132 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12133
12134         * lengthcommon.h: whitespace
12135
12136         * lyxfunc.C: update scrollbar after goto paragraph
12137
12138         * lyxtext.h: factor out page break drawing, and fix it so
12139           page break/added space paints as selected nicely
12140
12141 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12142
12143         * BufferView_pimpl.C: add FIXMEs, clean up a little
12144
12145 2002-07-09  André Pönitz <poenitz@gmx.net>
12146
12147         * lyxfont.[Ch]: support for wasy symbols
12148
12149 2002-07-08  André Pönitz <poenitz@gmx.net>
12150
12151         * BufferView_pimpl.C: apply John's patch for #93.
12152
12153 2002-07-05  Angus Leeming  <leeming@lyx.org>
12154
12155         * BufferView_pimpl.C (buffer): generate previews if desired.
12156
12157         * LColor.h: add "preview" to the color enum.
12158
12159         * LColor.C (LColor): add a corresponding entry to the items array.
12160
12161         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12162         with this buffer.
12163
12164 2002-07-05  Angus Leeming  <leeming@lyx.org>
12165
12166         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12167         The body of the code is now in the method that is passed an ostream &
12168         rather than a file name.
12169         Pass an additional only_preamble parameter, useful for the forthcoming
12170         preview stuff.
12171
12172 2002-07-03  André Pönitz <poenitz@gmx.net>
12173
12174         * lyxfunc.C: simplify getStatus() a bit for math stuff
12175
12176 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12177
12178         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12179
12180 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12181
12182         * text.C (changeRegionCase): do not change case of all the
12183         document when region ends at paragraph end (bug #461)
12184
12185 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12186
12187         * paragraph.C (startTeXParParams):
12188         (endTeXParParams): add \protect when necessary
12189
12190 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12191
12192         * BufferView_pimpl.C (workAreaExpose): remove warning
12193
12194 2002-06-27  Angus Leeming  <leeming@lyx.org>
12195
12196         * Makefile.am: add lyxlayout_ptr_fwd.h.
12197
12198 2002-06-26  André Pönitz <poenitz@gmx.net>
12199
12200         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12201
12202 2002-06-25  Angus Leeming  <leeming@lyx.org>
12203
12204         * lyxfunc.C (dispatch): Comment out the call to
12205         grfx::GCache::changeDisplay. The method no longer exists now that the
12206         pixmap generation part of the graphics loader has been moved into
12207         InsetGraphics.
12208
12209 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12210
12211         * text2.C: layout as layout
12212
12213         * text.C: layout as layout
12214
12215         * tabular.C (OldFormatRead): layout as layout
12216
12217         * paragraph_pimpl.C (TeXDeeper): layout as layout
12218         (realizeFont): layout as layout
12219
12220         * paragraph.C (writeFile): layout as layout
12221         (validate): layout as layout
12222         (getFont): layout as layout
12223         (getLabelFont): layout as layout
12224         (getLayoutFont): layout as layout
12225         (breakParagraph): layout as layout
12226         (stripLeadingSpaces): layout as layout
12227         (getEndLabel): layout as layout
12228         (getMaxDepthAfter): layout as layout
12229         (applyLayout): layout as layout
12230         (TeXOnePar): layout as layout
12231         (simpleTeXOnePar): layout as layout
12232         (TeXEnvironment): layout as layout
12233         (layout): layout as layout
12234         (layout): layout as layout
12235
12236         * lyxtextclass.C (compare_name): new functor to work with
12237         shared_ptr, layout as layout
12238         (Read): layout as layout
12239         (hasLayout): layout as layout
12240         (operator): layout as layout
12241         (delete_layout): layout as layout
12242         (defaultLayout): layout as layout
12243
12244         * lyxlayout_ptr_fwd.h: new file
12245
12246         * lyxlayout.C (Read): layout as layout
12247
12248         * lyx_cb.C (MenuInsertLabel): layout as layout
12249
12250         * bufferlist.C (newFile): layout as layout
12251
12252         * buffer.C (readLyXformat2): layout as layout
12253         (parseSingleLyXformat2Token): layout as layout
12254         (insertStringAsLines): layout as layout
12255         (asciiParagraph): layout as layout
12256         (latexParagraphs): layout as layout
12257         (makeLinuxDocFile): layout as layout
12258         (simpleLinuxDocOnePar): layout as layout
12259         (makeDocBookFile): layout as layout
12260         (simpleDocBookOnePar): layout as layout
12261         (getLists): layout as layout
12262
12263         * LaTeXFeatures.C (getTClassPreamble): layout as layout
12264
12265         * CutAndPaste.C (cutSelection): layout as layout
12266         (pasteSelection): layout as layout
12267         (SwitchLayoutsBetweenClasses): layout as layout
12268
12269         * BufferView_pimpl.C (Dispatch): layout as layout
12270         (smartQuote): layout as layout
12271
12272         * BufferView2.C (unlockInset): layout as layout
12273
12274 2002-06-24  André Pönitz <poenitz@gmx.net>
12275
12276         * lyxfunc.C: fix #487
12277
12278 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12279
12280         * lyxrc.h:
12281         * lyxrc.C:
12282         * lyxfunc.C: remove display_shortcuts, show_banner
12283
12284 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12285
12286         * Buffer_pimpl.C: oops, update on resize
12287
12288 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12289
12290         * buffer.C:
12291         * converter.C:
12292         * exporter.C:
12293         * lyxfunc.C:
12294         * BufferView.h:
12295         * BufferView.C: use repaint()
12296
12297         * BufferView_pimpl.h:
12298         * BufferView_pimpl.C: s/updateScreen()/repaint()/
12299           as it's a clearer description. Remove superfluous
12300           redraws.
12301
12302 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12303
12304         * text.C: fix bug 488. Not ideal, but getting
12305           getWord() to work properly for the insets that
12306           matter is more difficult ...
12307
12308 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12309
12310         * BufferView_pimpl.C:
12311         * LyXAction.C:
12312         * commandtags.h:
12313         * lyxfunc.C: remove the six million index lyxfuncs to just
12314           one, and DTRT (bug 458)
12315
12316 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12317
12318         * BufferView.h:
12319         * BufferView.C:
12320         * BufferView_pimpl.h:
12321         * BufferView_pimpl.C: clean up resize() stuff,
12322           and unnecessary updateScreen()s
12323
12324 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12325
12326         * BufferView.h:
12327         * BufferView.C:
12328         * BufferView_pimpl.h:
12329         * BufferView_pimpl.C:
12330         * lyxfind.h:
12331         * lyxfind.C:
12332         * minibuffer.C: remove focus management of workarea,
12333           not needed. Use screen's greyOut()
12334
12335 2002-06-17  Herbert Voss  <voss@lyx.org>
12336
12337         * converter.C: (convert) do not post a message, when converting
12338         fails, let the calling function decide what to do in this case
12339
12340 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
12341
12342         * lyxfunc.C: tidy up a little
12343
12344 2002-06-16    <alstrup@diku.dk>
12345
12346         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12347         Got rid of FORMS_H_LOCATION include. Now we are
12348         GUII.
12349
12350 2002-06-15  LyX Development team  <lyx@rilke>
12351
12352         * buffer.[Ch] (sgmlOpenTag):
12353         (sgmlCloseTag): Added support for avoiding pernicious mixed
12354         content. Return number of lines written.
12355
12356         (makeLinuxDocFile):
12357         (makeDocBookFile): Fixed calls to sgml*Tag.
12358         Simple white space clean.
12359
12360         (simpleDocBookOnePar): Simple white space clean.
12361
12362         * tabular.[Ch] (docBook): Renamed to docbook and got another
12363         argument to related with the pernicious mixed content.
12364
12365         (docbookRow): Fixed calls for docbook inset method.
12366
12367 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
12368
12369         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12370         so it's X11 independent.
12371
12372         * kb*.[Ch]: ditto.
12373
12374         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12375
12376 2002-06-15  Lyx Development team  <lyx@electronia>
12377
12378         * intl.h: Renamed getTrans to getTransManager.
12379
12380 2002-06-14  Angus Leeming  <leeming@lyx.org>
12381
12382         * Makefile.am: nuke forgotten stl_string_fwd.h.
12383
12384 2002-06-12  Angus Leeming  <leeming@lyx.org>
12385
12386         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12387
12388 2002-06-13  Angus Leeming  <leeming@lyx.org>
12389
12390         * LaTeX.C:
12391         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12392
12393 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
12394
12395         * kbmap.C (getiso): add support for cyrillic and greek
12396
12397 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12398
12399         * BufferView.h:
12400         * BufferView.C:
12401         * BufferView_pimpl.h:
12402         * BufferView_pimpl.C: move bogus scrolling logic
12403           to xforms
12404
12405 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12406
12407         * lyxfunc.C:
12408         * BufferView_pimpl.C: view->resize() change
12409
12410 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12411
12412         * BufferView_pimpl.C: topCursorVisible
12413           prototype change
12414
12415 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12416
12417         * Makefile.am:
12418         * lyx_gui.h:
12419         * lyx_gui.C: move to frontends/
12420
12421         * main.C:
12422         * lyx_main.h:
12423         * lyx_main.C: changes from above
12424
12425 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12426
12427         * intl.C:
12428         * intl.h:
12429         * kbmap.C:
12430         * kbsequence.C:
12431         * lyx_cb.C:
12432         * lyx_main.C: minor tidy
12433
12434 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12435
12436         * BufferView_pimpl.h:
12437         * BufferView_pimpl.C:
12438         * BufferView.h:
12439         * BufferView.C: make painter() const,
12440           remove dead code
12441
12442         * BufferView2.C: use screen() accessor
12443
12444         * lyx_main.h:
12445         * lyx_main.C: some minor cleanup
12446
12447 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12448
12449         * BufferView_pimpl.h:
12450         * BufferView_pimpl.C: remove enter/leaveView,
12451           use workHeight()
12452
12453 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12454
12455         * BufferView.h:
12456         * BufferView.C:
12457         * BufferView2.C:
12458         * BufferView_pimpl.h:
12459         * BufferView_pimpl.C: only construct screen once,
12460           rename
12461
12462         * lyxrc.C: remove pointless comment
12463
12464 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12465
12466         * BufferView.h:
12467         * BufferView.C: remove active() and belowMouse()
12468
12469         * BufferView_pimpl.h:
12470         * BufferView_pimpl.C: use workarea() not workarea_,
12471           and make it use a scoped_ptr instead
12472
12473 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12474
12475         * lyx_gui.C: add debug message on BadWindow
12476
12477 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12478
12479         * sp_spell.C: fdopen is not part of the C++ standard.
12480
12481         * paragraph.C (InsetIterator): use >= instead of ==
12482
12483 2002-06-07  Angus Leeming  <leeming@lyx.org>
12484
12485         Fixes needed to compile with Compaq cxx 6.5.
12486         * BufferView_pimpl.C:
12487         * DepTable.C:
12488         * buffer.C:
12489         * converter.C:
12490         * encoding.C:
12491         * lyx_gui.C:
12492         * lyx_main.C:
12493         * lyxtextclasslist.C:
12494         * minibuffer.C:
12495         * sp_spell.C:
12496         * tabular_funcs.C:
12497         * vc-backend.C:
12498         all c-library variables have been moved into namespace std. Wrap
12499         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12500
12501         * lyxlength.C:
12502         * tabular-old.C:
12503         * tabular.C:
12504         Add a using std::abs declaration.
12505
12506         * kbmap.h (modifier_pair):
12507         * paragraph.h (InsetTable, InsetList):
12508         * lyxfont.h (FontBits):
12509         type definition made public.
12510
12511         * bufferlist.C (emergencyWriteAll): the compiler complains that
12512         there is more than one possible lyx::class_fun template to choose from.
12513         I re-named the void specialisation as lyx::void_class_fun.
12514
12515         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12516
12517         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12518         the compiler is is unable to find tostr in write_attribute.
12519
12520 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12521
12522         * buffer.C (sgmlError): hide #warning
12523
12524 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12525
12526         * xtl/*: get rid of xtl, which is not in use anyway
12527
12528         * LyXAction.C (init):
12529         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12530         were unimplemented xtl experimentation
12531
12532 2002-06-04  André Pönitz <poenitz@gmx.net>
12533
12534         * lyxfunc.C: disable array operation on simple formulae
12535
12536 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
12537
12538         * converter.C: constify a bit
12539
12540 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
12541
12542         * lyx_gui.C: check xforms version correctly
12543
12544 2002-04-30  Herbert Voss  <voss@lyx.org>
12545
12546         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12547         "keep" option
12548
12549 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
12550
12551         * lyxvc.C: fix bug 416 (make sure buffer is saved before
12552           attempt to register it with a VCS)
12553
12554 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12555
12556         * lyx_main.C (init): honor variables LYX_DIR_13x and
12557         LYX_USERDIR_13x
12558
12559 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12560
12561         * buffer.h:
12562         * buffer.C:
12563         * lyx_main.C: fix a crash on bad command line,
12564           and give a useful exit status on error
12565
12566         * lyxfunc.C (doImport): allow -i lyx to work
12567
12568 2002-03-30  André Pönitz <poenitz@gmx.net>
12569
12570         * lyxfunc.C: mathed font changes
12571
12572 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12573
12574         * LaTeX.C:
12575         * importer.h:
12576         * importer.C:
12577         * lyx_sty.h:
12578         * lyx_sty.C:
12579         * lyxlex.C:
12580         * lyxrow.h:
12581         * lyxtext.h:
12582         * paragraph.h:
12583         * paragraph.C:
12584         * texrow.h:
12585         * texrow.C:
12586         * text.C:
12587         * trans_mgr.h: srcdocs, and some minor cleanups
12588
12589 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12590
12591         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12592         call getFont all the time)
12593
12594 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12595
12596         * switch from SigC signals to boost::signals
12597
12598 2002-05-29  André Pönitz <poenitz@gmx.net>
12599
12600         * paragraph_pimpl.C (getChar): don't call size() too often...
12601
12602 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12603
12604         * paragraph_pimpl.C (insertChar): do not try to update tables when
12605         appending (pos == size())
12606
12607         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12608         in order to reduce drastically the number of comparisons needed to
12609         parse a large document
12610
12611 2002-05-29  André Pönitz <poenitz@gmx.net>
12612
12613         * text.C:
12614         * text2.C:
12615         * lyxtextclass.C:
12616         * sp_pspell.h:
12617         * textclasslist.[Ch]:
12618         * sp_ispell.h: whitespace change
12619
12620 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12621
12622         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12623         lyxaction directly now.
12624
12625 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
12626
12627         * trans.C:
12628         * lyxfont.C:
12629         * lyxvc.C: remove unused headers
12630
12631 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12632
12633         * Makefile.am:
12634         * buffer.h:
12635         * undostack.h:
12636         * undostack.C:
12637         * undo_funcs.h:
12638         * undo_funcs.C: some cleanups. Use shared_ptr
12639           and a template for the undo stacks.
12640
12641 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12642
12643         * BufferView_pimpl.h:
12644         * BufferView_pimpl.C:
12645         * kbmap.h:
12646         * kbmap.C:
12647         * kbsequence.h:
12648         * kbsequence.C:
12649         * lyxfunc.h:
12650         * lyxfunc.C:
12651         * text2.C: use key_state/mouse_state
12652
12653 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12654
12655         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12656         and LSubstring
12657
12658         * chset.C: change include order
12659         (loadFile): use boost regex and get rid of LRegex and LSubstring
12660
12661         * Makefile.am (BOOST_LIBS): new variable
12662         (lyx_LDADD): use it
12663
12664         * LaTeX.C: change include order.
12665         (scanAuxFile): use boost regex and get rid of LRegex and
12666         LSubstring
12667         (deplog): ditto
12668
12669 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12670
12671         * ColorHandler.h:
12672         * ColorHandler.C:
12673         * FontInfo.h:
12674         * FontInfo.C: moved to frontends/xforms/
12675
12676         * FontLoader.h:
12677         * FontLoader.C: moved into frontends for GUIIzation
12678
12679         * Makefile.am:
12680         * lyx_gui.C:
12681         * lyxfont.C:
12682         * lyxfunc.C: changes from above
12683
12684 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12685
12686         * LColor.C: remove spurious X include
12687
12688         * BufferView_pimpl.C:
12689         * Makefile.am:
12690         * font.h:
12691         * font.C:
12692         * text.C:
12693         * text2.C: move font metrics to frontends/
12694
12695 2002-05-24  Juergen Vigna  <jug@sad.it>
12696
12697         * undo_funcs.C (textHandleUndo): fix the cursor selection after
12698         setting the undo_cursor.
12699
12700         * ParagraphParameters.h: include local includes first.
12701
12702 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12703
12704         * BufferView_pimpl.C:
12705         * BufferView_pimpl.h:
12706         * Makefile.am:
12707         * WorkArea.h:
12708         * WorkArea.C:
12709         * screen.C: move WorkArea into frontends/
12710
12711         * lyxscreen.h:
12712         * screen.C:
12713         * text.C:
12714         * BufferView.C:
12715         * BufferView2.C: move LyXScreen into frontends/
12716
12717         * lyxlookup.h:
12718         * lyxlookup.C:
12719         * lyx_gui.C: move lyxlookup into frontends/xforms/
12720
12721 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12722
12723         * BufferView2.C:
12724         * BufferView_pimpl.C:
12725         * FontLoader.C:
12726         * LyXView.h:
12727         * LyXView.C:
12728         * Makefile.am:
12729         * WorkArea.C:
12730         * XFormsView.h:
12731         * XFormsView.C:
12732         * buffer.C:
12733         * bufferlist.C:
12734         * bufferview_funcs.C:
12735         * converter.C:
12736         * importer.C:
12737         * lyx_cb.C:
12738         * lyx_gui.C:
12739         * lyx_main.C:
12740         * lyx_find.C:
12741         * lyxfunc.C:
12742         * lyxvc.C:
12743         * minibuffer.C:
12744         * text.C:
12745         * text2.C:
12746         * trans.C:
12747         * vc-backend.C: move LyX/XFormsView into frontends/
12748
12749 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12750
12751         * Makefile.am:
12752         * PainterBase.C:
12753         * PainterBase.h:
12754         * Painter.C:
12755         * Painter.h:
12756         * WorkArea.C:
12757         * WorkArea.h:
12758         * screen.C:
12759         * tabular.C:
12760         * text.C:
12761         * text2.C: move Painter to frontends/
12762
12763 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12764
12765         * buffer.C: comment out some some code that depend upon lyx_format
12766         < 220
12767
12768         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12769         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12770
12771         * buffer.h (NO_COMPABILITY): turn off compability
12772
12773         * ColorHandler.C: include scoped_array.hpp
12774
12775         * font.C: Use more specific smart_ptr header.
12776         * Painter.C: ditto
12777         * gettext.C: ditto
12778         * ShareContainer.h: ditto
12779         * lyx_main.h: ditto
12780         * kbmap.h: ditto
12781         * FontInfo.h: ditto
12782         * BufferView_pimpl.h: ditto
12783         * ColorHandler.h: ditto
12784
12785         * kbmap.C (defkey): change call to shared_ptr::reset
12786
12787 2002-05-21  Juergen Vigna  <jug@sad.it>
12788
12789         * buffer.C (insertErtContents): fix to insert ert asis if it is
12790         non empty. Skip it completely if it contains only whitespaces.
12791
12792 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
12793
12794         * BufferView_pimpl.C:
12795         * BufferView2.C: clear selection on paste (bug 393)
12796
12797 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12798
12799         * DepTable.C: include ctime
12800
12801 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
12802
12803         * buffer.C (latexParagraphs): Add new argument (moving_arg).
12804
12805 2002-05-14  Juergen Vigna  <jug@sad.it>
12806
12807         * text.C (breakParagraph): fixed function to honor the keepempty
12808         layout in the right maner and also to permit the right breaking
12809         algorithm on empty or non empyt keepempty paragraphs.
12810
12811         * paragraph.C (breakParagraph): we have to check also if the par
12812         is really empty (!size()) for isempty otherwise we do the wrong
12813         paragraph break.
12814
12815 2002-05-10  Juergen Vigna  <jug@sad.it>
12816
12817         * buffer.[Ch] : The following are only changes to the ert
12818         compatibility read reading old LaTeX layout and font stuff and
12819         convert it to ERTInsets.
12820
12821         * buffer.h: added isErtInset().
12822
12823         * buffer.C (struct ErtComp): add a fromlayout bool to check
12824         if we're inside a LaTeX layout.
12825         (isErtInset): new helper function.
12826         (insertErtContents): look for other ert insets before this one
12827         and insert the contents there, so that we don't have subsequent
12828         ERT insets with nothing between them. This way we create only one
12829         inset with multiple paragraphs. Also check if we don't insert only
12830         spaces ' ' as they are ignored anyway afterwards in the .tex file
12831         so if we have only spaces we will ignore this latex part in the
12832         new file.
12833         (parseSingleLyXformat2Token \\layout): better compatibility when
12834         reading layout-latex stuff.
12835         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12836         language tag.
12837         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12838         stuff after reading the inset only get the information back from
12839         the stack.
12840
12841 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
12842
12843         * buffer.C (makeLaTeXFile): Put language options after loading babel.
12844
12845         * LaTeXFeatures.C (getBabelOptions): New method.
12846
12847 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12848
12849         * BufferView_pimpl.C (Dispatch): work around missing argument for
12850         'layout'
12851
12852 2002-05-08  Juergen Vigna  <jug@sad.it>
12853
12854         * text.C (leftMargin): handle paragraph leftindent.
12855
12856         * paragraph.C (writeFile): write the new \\leftindent tag.
12857         (validate): handle leftindent code.
12858         (TeXEnvironment): handle paragraphleftindent code again.
12859
12860         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12861
12862         * buffer.C (parseSingleLyXformat2Token): added compatibility code
12863         for paragrap_extra indent code and new token \\leftindent.
12864         (latexParagraphs): handle the leftindent as environment.
12865
12866         * ParameterStruct.h: added leftindent support.
12867
12868         * ParagraphParameters.C (leftIndent): added support functions for
12869         the paragraph left indent.
12870
12871         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12872         more appropriate.
12873
12874 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
12875
12876         * paragraph.C (isRightToLeftPar): Return false for a paragraph
12877         inside insetERT.
12878
12879         * text.C (computeBidiTables): No bidi in insetERT.
12880
12881         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12882         in RTL documents.
12883
12884 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12885
12886         * version.C.in: pre 5
12887
12888 2002-05-02  José Matos  <jamatos@fep.up.pt>
12889         * buffer.C (makeDocBookFile): white space changes, add newline to
12890         command styles.
12891         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12892
12893         * tabular.C (docBook): fix typo.
12894
12895 2002-05-03  Juergen Vigna  <jug@sad.it>
12896
12897         * screen.C (drawFromTo): recalculate the rowpointer if we had a
12898         change in LyXText as we can not be sure it was not freed.
12899         (drawOneRow): remove unused code.
12900
12901         * text.C (drawInset): redo the calculation of the need_break_row as
12902         it could have a row which was already freed.
12903         (draw): look at the return value of drawInset and return false if
12904         it also returned false.
12905         (paintRowText): look at the return value of draw and return false if
12906         it also returned false.
12907
12908         * lyxtext.h: added bool return type to drawInset() and draw() so that
12909         if we have a change in the row so that the rowbreak has to be redone
12910         we abort drawing as it will be called again.
12911
12912 2002-05-02  Juergen Vigna  <jug@sad.it>
12913
12914         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12915         a change in the maintext also if we're inside an inset.
12916         (Dispatch): set the cursor again after a break line and after the
12917         screen has been updated as it could be we're in a different row.
12918
12919         * text2.C (fixCursorAfterDelete): check to make sure we don't request
12920         to set the cursor behind the pargraph with > size().
12921         (setCursor): check also for the same paragraph when checking where
12922         to put the cursor if we have a NFR inset.
12923
12924         * buffer.C (parseSingleLyXformat2Token): move the compatibility
12925         parts of layout read further up as it still was in the wrong
12926         position.
12927
12928 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12929
12930         * screen.C (drawFromTo): change sine fullRebreak always return
12931         true.
12932
12933         * buffer.C (parseSingleLyXformat2Token): reindent some
12934
12935         * BufferView_pimpl.C (update): change since fullRebreak always
12936         return true.
12937         (Dispatch): git rid of the last hardcoded "Standard"s.
12938
12939 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12940
12941         * text2.[Ch] (fullRebreak): make it return void now that we always
12942         returned true.
12943
12944 2002-04-30  Juergen Vigna  <jug@sad.it>
12945
12946         * buffer.C (parseSingleLyXformat2Token): reset the font before the
12947         ert compatibility check for "latex" layout.
12948
12949 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
12950
12951         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12952         minipages: use col% instead of p%, and also use the current font.
12953         (makeLaTeXFile): Fix use babel condition.
12954         (parseSingleLyXformat2Token): Correct font when reading old floats.
12955
12956 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
12957
12958         * BufferView_pimpl.C (Dispatch): Check that float type exists when
12959         inserting list of floats.
12960
12961 2002-04-25  Herbert Voss  <voss@lyx.org>
12962
12963         * MenuBackend.C (expand): don't add the graphics extensions to the
12964         export menu
12965
12966 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12967
12968         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12969         non-existing layout, do not complain if it was the default layout
12970         of the original class (bug #342)
12971
12972 2002-04-24  Juergen Vigna  <jug@sad.it>
12973
12974         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12975         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12976
12977 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
12978
12979         * buffer.C (getBibkeyList): If using \bibliography, return the
12980         option field with the reference itself. Enables us to provide natbib
12981         support when using \bibliography.
12982
12983 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
12984
12985         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12986
12987         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12988         natbib is provided by the LaTeX class.
12989
12990 2002-04-23  Juergen Vigna  <jug@sad.it>
12991
12992         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12993         Wakeup functions.
12994
12995         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12996
12997 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12998
12999         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
13000
13001         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
13002         ensuremath around textordmasculine, textordfeminine and
13003         textdegree.
13004
13005 2002-04-19  Juergen Vigna  <jug@sad.it>
13006
13007         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
13008         reinitializing the buffer otherwise row-dimensions may be wrong.
13009         (update): reset also the selection cursors if they do exits otherwise
13010         their x/y positions may be wrong.
13011
13012         * text2.C (cursorDown): don't enter the inset if we came from a row
13013         above and are one row over the inset.
13014
13015         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
13016         really leaving an inset.
13017
13018 2002-04-18  Juergen Vigna  <jug@sad.it>
13019
13020         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
13021         of the selected paragraph does not have the selected layout also if
13022         the last one had!
13023
13024         * text2.C (setLayout): fixed bug which did not change last selected
13025         paragraph.
13026
13027         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
13028         changed the read and substituted \\end_float with \\end_inset!
13029
13030         * BufferView_pimpl.C (cursorPrevious):
13031         (cursorNext): fixed to make it work with rows heigher than the work
13032         area without moving the cursor only the draw of the row.
13033         (workAreaMotionNotify): fix jumping over high rows.
13034
13035 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13036
13037         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
13038         Ressler.
13039
13040 2002-04-16  Juergen Vigna  <jug@sad.it>
13041
13042         * text2.C (setCursor): set also the irow().
13043         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
13044         (cursorUp):
13045         (cursorDown): support for locking an inset if the x_fix value goes
13046         inside it. That way I can transverse insets too with cursor up/down.
13047
13048         * lyxrow.h: added irow helper function same as other (i) functions.
13049
13050         * BufferView_pimpl.C (cursorPrevious):
13051         (cursorNext): fixed for insets!
13052
13053 2002-04-15  Juergen Vigna  <jug@sad.it>
13054
13055         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
13056         position otherwise it is wrong in some cases.
13057
13058         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
13059         inside the inset before the call.
13060
13061 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
13062
13063         * buffer.[Ch] (getBibkeyList): make it const.
13064
13065 2002-04-12  Juergen Vigna  <jug@sad.it>
13066
13067         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
13068
13069         * text2.C (getCursorX): new helper function
13070         (setCursor): compute also ix_
13071         (setCursorFromCoordinates): set also ix.
13072
13073         * lyxcursor.h: added ix_ and helper functions.
13074
13075         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
13076
13077         * buffer.C (insertStringAsLines): dont break paragraph if the this
13078         paragraph is inside an inset which does not permit it!
13079
13080         * text.C (breakParagraph): honor keepempty flag and break the paragraph
13081         also with no chars on this paragraph.
13082         (paintRowText): only paint stuff if it's inside the workarea!
13083
13084         * paragraph.C (breakParagraph): honor keepempty flag and break the
13085         paragraph always below not above.
13086
13087         * BufferView2.C (unlockInset): update the paragraph layout on inset
13088         unlock as we changed paragraph in such a case.
13089
13090         * lyxfind.C (LyXFind): clear the former selection if not found!
13091
13092         * text2.C (insertInset): freeze Undo after setUndo so that it is not
13093         again called in insertChar().
13094
13095         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
13096         an inset which uses the whole row!
13097         (rightMargin): ditto.
13098         (insertChar): force a rebreak if we inserted an inset!
13099
13100 2002-03-28  Herbert Voss  <voss@lyx.org>
13101
13102         * lyxlength.[Ch]: add inBP() to get the right PS-point
13103         units (BigPoint). With inPixels we have rounding errors
13104
13105 2002-04-11  Juergen Vigna  <jug@sad.it>
13106
13107         * text2.C (setCursorFromCoordinates): set iy to the right value.
13108         (setCursor): add check if row->previous exists!
13109
13110         * buffer.C (parseSingleLyXformat2Token): reset font after read of
13111         an old float_type as this was the case in the old code!
13112
13113         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
13114
13115         * BufferView2.C (showLockedInsetCursor): use iy
13116         (fitLockedInsetCursor): ditto
13117
13118         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
13119         locked insets as there we have the right value now.
13120
13121         * lyxcursor.C: added iy_ variable and iy functions to set to the
13122         baseline of cursor-y of the locked inset.
13123
13124         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
13125         (setCursor): fixed for insets which need a full row.
13126
13127         * text.C (rowLastPrintable): don't ignore the last space when before
13128         an inset which needs a full row.
13129         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
13130         as last character of a row when before a inset which needs a full row.
13131
13132 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13133
13134         * version.C.in: update date
13135
13136         * text2.C (fullRebreak): try to always return true and see what
13137         happens...
13138
13139 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13140
13141         * MenuBackend.C (expand): use Floating::listName
13142
13143         * FloatList.C (FloatList): add listName argument to the built-in
13144         floats
13145
13146         * Floating.[Ch]: add listName member, which is the 'List of XXX'
13147         text associated with the float.
13148
13149 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13150
13151         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
13152
13153 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13154
13155         * ShareContainer.h: add a couple of missing typenames.
13156
13157 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
13158
13159         * lyxrc.C (getDescription): use _() correctly rather than N_().
13160
13161 2002-03-28  Herbert Voss  <voss@lyx.org>
13162
13163         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13164         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13165
13166 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13167
13168         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13169         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13170
13171 2002-03-29  Juergen Vigna  <jug@sad.it>
13172
13173         * lyxfunc.C (dispatch): add a missing fitCursor call.
13174
13175         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13176         it was scrolled by a cursor move, so return the bool status.
13177
13178         * BufferView.C (fitCursor): return the bool flag also to the outside
13179         world as this is needed.
13180
13181         * screen.C (toggleToggle): don't subtract the offset if it's positive.
13182
13183         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13184         call the edit() as it is not needed (and wrong) IMO.
13185         (workAreaButtonPress): set the screen_first variable before evt.
13186         unlock the inset as this may change screen_first and then we have
13187         a wrong y position for the click!
13188
13189 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13190
13191         * MenuBackend.C (expand): another translation that I missed
13192
13193 2002-03-28  Juergen Vigna  <jug@sad.it>
13194
13195         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13196
13197         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13198
13199 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13200
13201         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13202
13203         * MenuBackend.C (expand): fix export/view/update when there is no
13204         document open.
13205
13206 2002-03-27  Herbert Voss  <voss@lyx.org>
13207
13208         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13209         and text%
13210
13211 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13212
13213         * bufferview_funcs.C (currentState): only show paragraph number
13214         for is DEVEL_VERSION is set.
13215
13216         * lyxfunc.C (dispatch): put warning in INFO channel
13217
13218         * MenuBackend.C (expand): translate the name of floats
13219
13220         * FloatList.C (FloatList): mark the float names for translation
13221
13222         * converter.C (convert): use LibScriptSearch
13223
13224 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13225
13226         * MenuBackend.C (defaults): fix default menu (we might as well get
13227         rid of it...)
13228
13229 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13230
13231         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13232         directory.
13233
13234 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13235
13236         * lyxvc.C: reorder includes.
13237
13238 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
13239
13240         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13241           properly
13242
13243 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
13244
13245         * CutAndPaste.C: change layouts earlier on paste
13246           to avoid crashing when calling getFont()
13247
13248 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
13249
13250         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13251         irritating #error.
13252
13253 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13254
13255         * WorkArea.C: remove 'Pending' debug message.
13256
13257         * most files: ws cleanup
13258
13259         * buffer.[Ch]: ws changes
13260
13261         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13262
13263 2002-03-21  Juergen Vigna  <jug@sad.it>
13264
13265         * tabular.C (SetMultiColumn): collapse also the contents of the
13266         cells and set the last border right. Added a Buffer const * param.
13267
13268 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13269
13270         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13271         linking or not.
13272
13273 2002-03-19  Juergen Vigna  <jug@sad.it>
13274
13275         * text2.C (clearSelection): reset also xsel_cache.
13276
13277         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13278         where it needs to be called (John tells us to do so too :)
13279         (selectionLost): reset sel_cache.
13280
13281         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13282
13283 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13284
13285         * text2.C (setCursorIntern): put debuging code in INSETS channel
13286
13287 2002-03-19  André Pönitz <poenitz@gmx.net>
13288
13289         * lyxfunc.C: tiny whitespace change
13290
13291 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13292
13293         * ToolbarDefaults.C (init):
13294         * LyXAction.C (init):
13295         * commandtags.h:
13296         * BufferView_pimpl.C (Dispatch):
13297         * lyxfunc.C (dispatch): remove LFUN_DEPTH
13298
13299 2002-03-19  Allan Rae  <rae@lyx.org>
13300
13301         * exporter.C (Export): removeAutoInsets before doing anything else.
13302         While I've just introduced a dependency on BufferView this really is
13303         the best place to clean the buffer otherwise you need to cleanup in
13304         a dozen places before calling export or cleanup in a dozen functions
13305         that export calls.
13306
13307         * converter.C (runLaTeX):
13308         (scanLog): Better handling of removeAutoInsets and screen updates.
13309
13310         * lyxfunc.C (dispatch): small whitespace changes
13311
13312 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13313
13314         * WorkArea.C (C_WorkAreaEvent): return a value.
13315         (event_cb): return 1 if we handled the event, 0 otherwise.
13316
13317         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13318
13319 2002-03-18  Juergen Vigna  <jug@sad.it>
13320
13321         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13322         (GetAdditionalWidth): ditto.
13323         (RightLine): ditto.
13324         (LeftLine): ditto.
13325
13326         * BufferView2.C (copy): use getLyXText() so that we do it inside an
13327         inset if we're there actually (probably not used right now but this
13328         is the direction to go for unifying code).
13329         (paste): disable code to clear the selection.
13330
13331         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13332         inside an InsetText and move the check further up as it is in the
13333         wrong place.
13334
13335         * text2.C (pasteSelection): set a selection over the pasted text.
13336
13337 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
13338
13339         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13340         and libgraphics to build on Cygwin.
13341
13342 2002-03-15  Juergen Vigna  <jug@sad.it>
13343
13344         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13345         inserting an Inset into the paragraph. I know this is not the best
13346         fix but we already use current_view in CutAndPaste so we will remove
13347         all of it's using at the same time.
13348
13349         * buffer.C (sgmlError): deactivated function till it is rewritten in
13350         the right mode, now it can create problems.
13351
13352         * paragraph.C (isLineSeparator): check if getInset returns != 0,
13353         before accessing it.
13354
13355 2002-03-14  Juergen Vigna  <jug@sad.it>
13356
13357         * undo_funcs.C (textHandleUndo): do the right thing when updating
13358         the inset after the undo/redo.
13359
13360         * text2.C (setCursor): just some testcode for #44 not ready yet.
13361
13362         * undo_funcs.C (textHandleUndo): set the next() and previous()
13363         pointers of the paragraph to 0 before deleting otherwise we have
13364         problems with the Paragraph::[destructor].
13365
13366         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13367         on a paragraph insertion.
13368
13369 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13370
13371         * buffer.C (asciiParagraph): use += operator for char append to
13372         string.
13373
13374         * paragraph.C (getFontSettings): compare >= not just >
13375         (highestFontInRange): ditto
13376         (setFont): ditto
13377
13378 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13379
13380         * paragraph.C: change several algorithm to be more appripriate for
13381         the problem domain. This is lookip in FontList and in the InsetList.
13382
13383 2002-03-13  André Pönitz <poenitz@gmx.net>
13384
13385         * commandtags.h:
13386         * LyXAction.C: remove unused LFUN_MATH_MACROARG
13387
13388 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
13389
13390         * commandtags.h:
13391         * LyXAction.C:
13392         * lyxfunc.C:
13393         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13394
13395 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13396
13397         * Painter.C (display): anon helper function, adjust code for this
13398         change.
13399         (pixmap): remove function.
13400
13401         * Painter.h: remove private display variable.
13402
13403         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13404
13405 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
13406
13407         * WorkArea.[Ch]: remove figinset_canvas cruft.
13408
13409 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13410
13411         * lyxtextclass.C (operator): add one item cache optimization.
13412
13413         * bufferlist.h: doxy changes
13414
13415         * bufferlist.C: ws changes
13416
13417         * DepTable.[Ch] (ext_exist): place const in the right spot.
13418
13419         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13420         call resizeInsets.
13421         (workAreaExpose): call resizeInsets when the with BufferView changes.
13422         (Dispatch): adjust for protectedBlank removal
13423         (specialChar): call updateInset if the insert went ok.
13424
13425         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13426         specialChar instead.
13427
13428         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13429
13430         * BufferView.h: doxy change
13431
13432         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13433
13434         * lyxtextclass.C (operator[]): remove non-const version
13435         (defaultLayout): remove non-const version
13436
13437 2002-03-12  Juergen Vigna  <jug@sad.it>
13438
13439         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13440         did resize the LyXText too.
13441
13442         * buffer.C (readLyXformat2): set layout information on newly allocated
13443         paragraphs.
13444
13445         * tabular.C (OldFormatRead): set layout information on the paragraph.
13446
13447 2002-03-12  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13448
13449         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13450
13451 2002-03-11  Juergen Vigna  <jug@sad.it>
13452
13453         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13454         plainly wrong.
13455         (resizeCurrentBuffer): force also the insets to resize themselfes.
13456         (moveCursorUpdate): fixed up for InsetText.
13457
13458 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
13459
13460         * commandtags.h:
13461         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13462         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13463         value of Dialogs::tooltipsEnabled().
13464         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13465
13466 2002-03-08  Juergen Vigna  <jug@sad.it>
13467
13468         * BufferView_pimpl.C (updateInset): update inset inside inset also
13469         if it isn't inside theLockingInset().
13470
13471 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13472
13473         * buffer.C (asciiParagraph): redo some of the word and line length
13474         handling.
13475         (getLists): look for Caption instead of caption.
13476
13477 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13478
13479         * buffer.C (Buffer): initialize niceFile to true
13480         (makeLaTeXFile):
13481         (makeLinuxDocFile):
13482         (makeDocBookFile): make sure niceFile is true on exit
13483
13484 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13485
13486         * buffer.C (makeLaTeXFile): escape ~ in \input@path
13487
13488 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
13489
13490         * LyXSendto.C: remove.
13491         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13492         * lyx_gui.C: remove now-redundant comment.
13493         * ColorHandler.h: remove forward declaration of class WorkArea.
13494         * lyxfunc.C: remove #include "WorkArea.h".
13495
13496 2002-03-07  Juergen Vigna  <jug@sad.it>
13497
13498         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13499         got moved away with the DEPM and also set the inset_owner always
13500         right which before could have been omitted.
13501
13502 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13503
13504         * buffer.C (parseSingleLyXformat2Token): use default layout is the
13505         wanted layout is not found.
13506
13507 2002-03-07  Juergen Vigna  <jug@sad.it>
13508
13509         * CutAndPaste.C (cutSelection): another layout settings forgotten.
13510
13511 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13512
13513         * paragraph.C (breakParagraph): use default layout not layout of
13514         prev paragraph.
13515         (Paragraph): clear ParagraphParameters.
13516
13517 2002-03-06  Juergen Vigna  <jug@sad.it>
13518
13519         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13520         otherwise it would not be a valid lenght. Fixed a special case in
13521         the minipage compatibility read where we end the document with a
13522         minipage.
13523
13524         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13525         was set as it could be 0 for InsetTexts first entry.
13526
13527 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13528
13529         * paragraph.C (writeFile): if layout is empty write out
13530         defaultLayoutName().
13531
13532         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13533         file without named layout we set layout to defaultLayoutName().
13534
13535 2002-03-06  Juergen Vigna  <jug@sad.it>
13536
13537         * CutAndPaste.C (copySelection): set layout for new paragraph.
13538
13539         * text.C (prepareToPrint): leave ERT inset left aligned
13540         (leftMargin): don't indent paragraphs inside ERT insets
13541
13542 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13543
13544         * paragraph.C (breakParagraph): dont call clear do the work manually
13545
13546         * paragraph.[Ch] (clear): remove function
13547
13548 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13549
13550         * paragraph.C (Paragraph): dont call clear, the work has already
13551         been done.
13552
13553         * lyxtextclass.C (operator): assert if n is empty
13554
13555         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13556         work manually instead.
13557
13558 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13559
13560         * BufferView_pimpl.C: protect selectionLost against text == 0
13561
13562 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13563
13564         * text.C (breakParagraph): fix a setting layout to '0' problem.
13565
13566 2002-03-05  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13567
13568         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13569         final location of file, for the included files, and graphics.
13570
13571 2002-03-05  Juergen Vigna  <jug@sad.it>
13572
13573         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13574
13575 2002-03-04  Juergen Vigna  <jug@sad.it>
13576
13577         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13578
13579         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13580         last column of multicolumn cells.
13581         (SetWidthOfMulticolCell): recalculate NMC and real columns.
13582
13583 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
13584
13585         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13586         file if it doesn't go to a temporary file.
13587
13588         * buffer.C (sgmlOpenTag):
13589         (sgmlCloseTag):  remove extra newline insertion.
13590
13591 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13592
13593         * text.C (getRowNearY): comment out debug msg
13594
13595 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13596
13597         * text2.C: first -> first_y
13598
13599         * text.C (getRowNearY): add some attemts at a possible
13600         optimization, not working.
13601
13602         * tabular.[Ch]: add BufferParams to several function so that newly
13603         created paragraph can be initialized to he default layotu for the
13604         buffers textclass.
13605
13606         * tabular-old.C (ReadOld): add buf->params to call of Init
13607
13608         * screen.C: rename text->first to text->first_y
13609
13610         * paragraph.C (breakParagraph): always set layout in the broken
13611         paragraph
13612
13613         * lyxtextclass.C (Read): remove lowercase
13614         (hasLayout): ditto
13615         (operator): ditto
13616         (delete_layout): ditto
13617
13618         * lyxtext.h: rename first -> first_y
13619
13620         * lyxlayout.C (Read): remove lowercase
13621         (name): ditto
13622         (setName): ditto
13623         (obsoleted_by): ditto
13624
13625         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13626
13627         * buffer.C (insertErtContents): add params are to InsetERT
13628         (parseSingleLyXformat2Token): add code to check if a paragraphs
13629         layout really exist.
13630         (parseSingleLyXformat2Token): add params to several inset
13631         constructors
13632         (asciiParagraph): remove lowercase, do the layout comparisons with
13633         no_case
13634
13635         * BufferView_pimpl.C (cursorNext): first -> first_y
13636         (resizeCurrentBuffer): first -> first_y
13637         (updateScrollbar): first -> first_y
13638         (scrollCB): first -> first_y
13639         (workAreaMotionNotify): first -> first_y
13640         (workAreaButtonPress): first -> first_y
13641         (checkInsetHit): first -> first_y
13642         (cursorPrevious): first -> first_y
13643         (cursorNext): first -> first_y
13644         (Dispatch): add buffer_->params to severl inset contructors
13645
13646 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13647
13648         * lyxlayout.C (Read): remove some debug info that I forgot.
13649
13650         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13651         clean up the code slightly.
13652         (makeLinuxDocFile): ditto
13653         (makeDocBookFile): ditto
13654
13655         * text2.C: layout as string
13656
13657         * text.C: layout as string
13658
13659         * paragraph_pimpl.C: layout as string
13660
13661         * paragraph.[Ch]: layout as string
13662
13663         * lyxtextclasslist.[Ch]: layout as string
13664
13665         * lyxtextclass.[Ch]: layout as string
13666
13667         * lyxtext.h: layout as string
13668
13669         * lyxlayout.[Ch]: layout as string
13670
13671         * lyx_cb.C: layout as string
13672
13673         * bufferview_funcs.C: layout as string
13674
13675         * bufferparams.C: layout as string
13676
13677         * buffer.C: layout as string
13678
13679         * LyXView.[Ch]: layout as string
13680
13681         * LaTeXFeatures.[Ch]: layout as string
13682
13683         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13684
13685         * BufferView_pimpl.C: change current_layout to string, remove
13686         lyx::layout_type.
13687         (Dispatch):
13688         (smartQuote):
13689         (insertInset):
13690         (workAreaButtonRelease): layout as string
13691
13692         * BufferView2.C (unlockInset): adjust
13693
13694         * vspace.C (asLatexCommand): use an explict temp variable.
13695
13696 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13697
13698         * Makefile.am: use FRONTEND_*
13699
13700 2002-03-01  Juergen Vigna  <jug@sad.it>
13701
13702         * tabular.C (SetWidthOfMulticolCell): changed to something better
13703         I hope but still work in progress.
13704         (recalculateMulticolumnsOfColumn): renamed function from
13705         recalculateMulticolCells as it is more appropriate now.
13706         (SetWidthOfCell): calculate multicols better.
13707
13708 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13709
13710         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13711
13712         * lyxfunc.C (processKeySym): print sequence also if it is
13713         `deleted' (complete)
13714
13715         * kbsequence.C (print): print sequence even if it is deleted
13716         (complete would be a better word, actually).
13717
13718         * lyxfunc.C (dispatch): print complete options after a prefix key
13719
13720         * vspace.C (asLatexCommand): rewrite in a slightly different form.
13721
13722 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
13723
13724         * text2.C (setCharFont): eliminate setCharFont code duplication.
13725
13726 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13727
13728         * BufferView_pimpl.C (Dispatch): remove bogus handling of
13729         LFUN_TABULAR_FEATURE (bug #177)
13730
13731 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
13732
13733         * Makefile.am: remove figure.h
13734
13735 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
13736
13737         * Bufferview_pimpl.C:
13738         * CutAndPasteC:
13739         * LaTeX.C:
13740         * LyXSendto.C:
13741         * buffer.C:
13742         * bufferlist.C:
13743         * converter.C:
13744         * language.C:
13745         * lyxfunc.C:
13746         * lyxvc.C:
13747         * paragraph.C:
13748         * text.C:
13749         * text2.C: remove #include "lyx_gui_misc.h".
13750
13751         * LaTeX.C: added #include <cstdio>
13752
13753 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13754
13755         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13756         that the paragraph following this one can have.
13757
13758         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13759
13760         * vspace.C (asLatexCommand): fix bogus gcc warning
13761
13762         * Makefile.am (lyx_SOURCES): remove vms_defines.h
13763
13764 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
13765
13766         * text2.C (setLayout): get rid of redundant code
13767
13768 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
13769
13770         * text2.C (incDepth): make sure depth cannot be increased beyond
13771         reasonable values.
13772
13773 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
13774
13775         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13776         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13777
13778         * PainterBase.h (image):
13779         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13780         a LyXImage const *.
13781
13782 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13783
13784         * BufferView.C:
13785         * BufferView.h:
13786         * BufferView_pimpl.C:
13787         * BufferView_pimpl.h:
13788         * LaTeXFeatures.C:
13789         * LyXAction.C:
13790         * LyXView.C:
13791         * Makefile.am:
13792         * UpdateList.h:
13793         * UpdateList.C:
13794         * buffer.C:
13795         * figure.h:
13796         * figureForm.C:
13797         * figureForm.h:
13798         * figure_form.C:
13799         * figure_form.h:
13800         * lyx_cb.C:
13801         * lyx_gui.C:
13802         * lyx_gui_misc.C:
13803         * lyxfunc.C:
13804         * sp_base.h:
13805         * sp_ispell.h:
13806         * sp_pspell.h:
13807         * sp_spell.C: remove fig inset, and the crap house of
13808           cards that follows it
13809
13810 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13811
13812         * Makefile.am:
13813         * lyxserver.C:
13814         * os2_defines.h:
13815         * os2_errortable.h:
13816         * nt_defines.h: move .h into support/
13817
13818         * vms_defines.h: remove
13819
13820         * WorkArea.C: add space in debug output
13821
13822         * text2.C:
13823         * paragraph.C:
13824         * buffer.C: add WITH_WARNINGS
13825
13826         * vc-backend.h:
13827         * vc-backend.C:
13828         * bufferlist.C: s/retrive/retrieve/, add docs
13829
13830         * vspace.h:
13831         * vspace.C:
13832         * kbmap.h:
13833         * lyxlength.h:
13834         * lyxgluelength.h:
13835         * length_common.h:
13836         * chset.h:
13837         * chset.C: add docs
13838
13839         * lyxgui.C: add ID to X error handler
13840
13841         * lyxtestclass.c: fix typo
13842
13843 2002-02-26  Juergen Vigna  <jug@sad.it>
13844
13845         * tabular_funcs.C (write_attribute): changed so that some default
13846         attributes are not written at all.
13847         (getTokenValue): set default values before trying to read the
13848         value so we have the return value always set as default if we don't
13849         find the token we search for.
13850
13851         * tabular.C (Write): write bools as bools not as strings!
13852
13853 2002-02-22  Juergen Vigna  <jug@sad.it>
13854
13855         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13856         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13857
13858         * text.C (leftMargin): don't add an indent for paragraphs inside
13859         tabular cells (fix #208).
13860
13861 2002-02-21  José Matos  <jamatos@fep.up.pt>
13862
13863         * tabular.C (docBook): fixed support for long tables.
13864
13865 2002-02-20  Juergen Vigna  <jug@sad.it>
13866
13867         * text2.C (getFont): get the drawing font of the Inset if this
13868         paragraph is inside an inset (only important for InsetERT for now).
13869
13870         * buffer.C (insertErtContents): use new lanugage params in ERT
13871         constructor.
13872
13873         * CutAndPaste.C: commenting out seemingly uneeded code.
13874
13875 2002-02-19  Allan Rae  <rae@lyx.org>
13876
13877         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13878         Iterators might be simple to use but they also get invalidated.
13879         (removeAutoInsets): renamed saved cursor tracking variables and added
13880         some comments to clarify what everything does.
13881
13882 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
13883
13884         * Chktex.C:
13885         * LaTeX.C:
13886         * LyXSendto.C:
13887         * converter.C:
13888         * lyx_cb.C:
13889         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13890         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13891
13892         * lyxfunc.C:
13893         * vc-backend.h: remove #include "support/syscall.h"
13894
13895         * LaTeX.C:
13896         * LyXSendto.C:
13897         * converter.C: rearrange #includes in Lars' approved fashion.
13898
13899         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13900         forward declare class Timeout in the header file.
13901
13902         * XFormsView.C: changes due to the above.
13903
13904         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13905         similar to LyXView.
13906
13907         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13908         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13909
13910 2002-02-18  José Matos  <jamatos@fep.up.pt>
13911
13912         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13913         insets contents.
13914
13915 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13916
13917         * a lot of small ws changes
13918         * add a lot of using std::XXX
13919         * use std construcs some places where approp.
13920         * use some exisint stuff from lyxfunctional where approp.
13921         * Make file changes to use partial linking (lets test this now...)
13922
13923 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13924
13925         * Chktex.C:
13926         * buffer.C:
13927         remove #include "support/syscontr.h" as it's redundant. Always has been.
13928
13929         * Chktex.C:
13930         * LaTeX.C:
13931         * LyXSendto.C:
13932         * converter.C:
13933         * lyx_cb.C:
13934         * vc-backend.C:
13935         change Systemcalls::System to Systemcalls::Wait and
13936         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13937         No change of functionality, just reflects the stripped down Systemcalls
13938         class.
13939
13940 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13941
13942         * debug.[Ch]: add a GRAPHICS type to the enum.
13943
13944 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13945
13946         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13947
13948         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13949         there is an inset.
13950
13951 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13952
13953         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13954         match the changes below.
13955
13956         * text2.C (toggleInset): if there is not editable inset at cursor
13957         position, try to see if cursor is _inside_ a collapsable inset
13958         and close it.
13959
13960 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13961
13962         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13963         document menu has a nice checkbox
13964
13965 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13966
13967         * lyxlength.C (asLatexString): change PW to output as percent of
13968         \textwidth.
13969
13970         * lengthcommon.C: change '%' to 't%'
13971
13972         * lyxfunc.C (dispatch): a few comments from Martin
13973
13974 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
13975
13976         * WorkArea.h:
13977         * WorkArea.C:
13978         * BufferView_pimpl.h:
13979         * BufferView_pimpl.C: clear our selection when X tells us we've lost
13980           the X selection.
13981
13982 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13983
13984         * vspace.C (inPixels): fix compiler warning
13985
13986 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13987
13988         * lyxfunc.C (getStatus): fix status message for disabled commands.
13989
13990 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
13991
13992         * BufferView_pimpl.C: fix crash on close buffer
13993         during selection (#227)
13994
13995 2002-01-27  Herbert Voss  <voss@lyx.org>
13996
13997         * buffer.C: link old Figure to new graphic inset
13998
13999 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14000
14001         * FontLoader.C (getFontinfo): Change the latex font names in order
14002         to match the names of type1inst.
14003
14004 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14005
14006         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
14007
14008         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
14009         (extchanged): ditto
14010         (ext_exist): ditto
14011         (remove_files_with_extension): ditto
14012         (remove_file): ditto
14013         (write): ditto
14014
14015         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
14016         document is smaller than the work area height. Do not initialize
14017         static variables to 0.
14018
14019 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14020
14021         * lyx_gui.C (init): give the toolbar tooltips a normal font.
14022
14023         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
14024         LFUN_LAYOUT_PARAGRAPHS.
14025
14026         * tabular.C (GetCellFromInset): new method. Finds an inset in a
14027         tabular. It is possible to provide a possible cell, which will
14028         typically be the actcell from the corresponding insettabular
14029
14030         * lyxfunc.C (getStatus): small cleanup; disable
14031         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
14032         true
14033
14034 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14035
14036         * tabular.C (Validate): remove broken optimization (fixes bug #201)
14037
14038         * paragraph.C (startTeXParParams):
14039         (endTeXParParams): new methods. The LaTeX code to
14040         start/end paragraph formatting
14041         (simpleTeXOnePar): call startTeXParParams also when paragraph is
14042         empty (fixes bug #200)
14043
14044         * vspace.C (inPixels): adapt to the change below
14045         (inPixels): [later] more cleanups (remove unused variables)
14046
14047         * lyxlength.C (inPixels): change to use a width and a height as
14048         parameter.
14049
14050 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14051
14052         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
14053         Replaced with \paperwidth
14054
14055         * DepTable.C (insert): add std:: qualifier
14056
14057 2002-01-18  Allan Rae  <rae@lyx.org>
14058
14059         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
14060         updated also?
14061
14062         * text.C (drawInset): Turned out I didn't know enough about how
14063         rebreaking worked.  This fixes most of the redraw problems.  I see
14064         an occasional cursor trail when a line is broken now and the cursor
14065         placement can seem out by a few pixels also after a rebreak.
14066
14067 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14068
14069         * buffer.C (parseSingleLyXformat2Token): update because minipage
14070         width is now a LyXLength
14071
14072         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
14073
14074         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
14075         math insets
14076
14077 2002-01-17  Juergen Vigna  <jug@sad.it>
14078
14079         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
14080
14081         * BufferView2.C (lockInset): call edit() so that theLockingInset()
14082         is set correctly and the inset is updated correctly.
14083
14084 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14085
14086         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
14087         the beginning of the loop.
14088
14089 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
14090
14091         * lyxrc.C: improve help for use_scalable_fonts
14092
14093 2002-01-17  Allan Rae  <rae@lyx.org>
14094
14095         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
14096
14097 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14098
14099         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
14100         make sure to set their inset_owner to the right value (bug #171)
14101
14102 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
14103
14104         * DepTable.h
14105         * DepTable.C: Implement mtime checking to reduce time spent doing
14106         CRCs.
14107
14108 2002-01-16  Juergen Vigna  <jug@sad.it>
14109
14110         * tabular.C (GetAdditionalHeight): one of error fixed.
14111
14112         * lyxrc.C (output): small fix in writing use_pspell.
14113
14114 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
14115
14116         * sp_base.h: #include LString.h
14117
14118 2002-01-16  Allan Rae  <rae@lyx.org>
14119
14120         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
14121         Can someone check this please?
14122
14123         * text.C (drawInset): It was possible that p.row would be removed by
14124         breakAgainOneRow upsetting a few other settings.  There may be another
14125         small tweak possible by setting need_break_row = 0 when p.row has been
14126         removed but I don't know enough about the logic here.
14127
14128 2002-01-15  Allan Rae  <rae@lyx.org>
14129
14130         * text.C (insertChar): removed conditional truism.
14131
14132         * BufferView2.C (removeAutoInsets): More tweaks.
14133         cur_par_prev could be a stray pointer.  Check for trailing empty line
14134         in case last line was cur_par and only had an error inset on it.
14135
14136 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14137
14138         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
14139         absolute
14140
14141         * vc-backend.C (most methods):
14142         * exporter.C (Export):
14143         * converter.C (convert):
14144         (runLaTeX):
14145         * LyXSendto.C (SendtoApplyCB):
14146         * lyxfunc.C (dispatch):
14147         (menuNew):
14148         (open):
14149         (doImport):
14150         * lyx_cb.C (AutoSave):
14151         (InsertAsciiFile):
14152         * BufferView_pimpl.C (MenuInsertLyXFile):
14153         * buffer.C (runChktex): use Buffer::filePath().
14154
14155         * buffer.h: rename filename to filename_; rename filepath to
14156         filepath_ and make it private
14157         (filePath): new method
14158
14159         * buffer.C (writeFile): use fileName()
14160         (getLatexName):
14161
14162         * lyx_main.C (init): fix starting  of LyX when the binary is a
14163         link from so,ewhere else.
14164
14165         * minibuffer.C: include <cctype> for isprint
14166
14167 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14168
14169         * buffer.C (parseSingleLyXformat2Token): changes associated with the
14170         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14171         name clash with InsetCollapsable's width function.
14172
14173 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14174
14175         * lastfiles.C: include <iterator>
14176
14177 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14178
14179         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14180         std::count.
14181
14182         * buffer.C (makeLaTeXFile): ditto.
14183         Also make loop operation more transparent.
14184
14185 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14186
14187         * ToolbarDefaults.C: remove trailing comma closing namespace.
14188
14189         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14190
14191         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14192         as in WorkArea.
14193
14194         * trans.C (Load): comment out unused variable, allowed.
14195
14196 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14197
14198         * minibuffer.[Ch] (append_char): new method to recieve input from the
14199         drop-down completion browser. If a key was pressed, then recieve this
14200         char and append it to the existing string.
14201         (peek_event): modify the positioning data passed to the completion
14202         browser so that it can be placed above the minibuffer rather than below.
14203 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14204
14205         * LyXAction.C (init): alloe error-next for readonly documents.
14206
14207         * BufferView2.C (ChangeRefsIfUnique): use standard version of
14208         count.
14209
14210 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14211
14212         * bufferlist.C (readFile): create the buffer _after_ checking that
14213         the file exists.
14214
14215         * lyxfunc.C (verboseDispatch): fix handling of arguments
14216
14217         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14218
14219         * lyxrc.C: use string::erase() instead of initializing to "".
14220
14221
14222 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14223
14224         * BufferView_pimpl.h:
14225         * BufferView_pimpl.C:
14226         * WorkArea.h:
14227         * WorkArea.C:
14228         * text2.C: tell X when we have made a selection for copying
14229
14230 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14231
14232         * BufferView_pimpl.C (MenuInsertLyXFile):
14233         * lyxfunc.C (menuNew):
14234         (open):
14235         (doImport): add shortcuts to directory buttons
14236
14237         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14238         open a float)
14239
14240         * lyxfunc.C (setStatusMessage):
14241         (getStatusMessage): new methods
14242         (getStatus):use setStatusMessage instead of setErrorMessage
14243         (dispatch): when function is disabled, set error message here
14244         [instead of in getStatus previously]
14245
14246         * BufferView_pimpl.C (workAreaButtonRelease): update
14247         toolbar/menubar here too.
14248
14249 2002-01-13  Allan Rae  <rae@lyx.org>
14250
14251         * BufferView2.C (removeAutoInsets): finished off earlier fix.
14252         Now seems indestructible.  Remaining task is to audit all other
14253         code affected by deleteEmptyParagraphMechanism.  One small quirk
14254         left is that an empty document with an error in the preamble can
14255         be made to report an error but no error box appears.  I don't know
14256         where it goes.
14257         (removeAutoInsets): Improved comments.
14258
14259 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
14260
14261         * Thesaurus.h:
14262         * Thesaurus.C: update for Aiksaurus 0.14
14263
14264 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14265
14266         * text2.C (firstParagraph): removed member function, all uses
14267         replaces with ownerParagraph
14268         (redoParagraphs): here
14269         (updateInset): here
14270         (toggleAppendix): here
14271         * BufferView2.C (insertErrors): here
14272         (setCursorFromRow): here
14273
14274 2002-01-13  Allan Rae  <rae@lyx.org>
14275
14276         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14277         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14278         There is still a way to segfault this although you may have to do this
14279         multiple times: Have an InsetERT with an unknown command in it.
14280         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14281         <down-arrow>, <Enter> again, View->DVI, BANG!
14282
14283         * text2.C (setCursor):
14284         (deleteEmptyParagraphMechanism):
14285         * lyxtext.h (setCursor):
14286         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14287         Making use of the return value may help fix other bugs.
14288
14289 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14290
14291         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14292
14293         * LyXView.C (updateMenubar): call MenuBar::update here
14294         (updateToolbar): but not here
14295         (showState): do not update toolbar/menubar
14296
14297         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14298         should need to care about that.
14299
14300         * lyxfunc.C (verboseDispatch): simplify a bit
14301         (getStatus): have a version which takes a pseudoaction, and
14302         another which requires a (kb_action,string).
14303
14304         * LyXAction.C (retrieveActionArg): make it work also when action
14305         is not a pseudo-action.
14306         (getActionName): simplify a bit
14307         (helpText):
14308
14309 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14310
14311         * lyxfunc.C (verboseDispatch): new families of methods with
14312         several ways to specify a command and a bool to indicate whether
14313         the command name and shortcut should be displayed in minibuffer
14314         (eventually, we could extend that to a finer bitmask like
14315         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14316         (dispatch): the pristine dispatch command which just, well,
14317         dispatchs! Note it still sets its result to minibuffer; I'm not
14318         sure we want that.
14319
14320         * lyxfunc.h: remove setHintMessage
14321
14322         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14323
14324 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14325
14326         * BufferView_pimpl.C (specialChar): delete new inset if we have
14327         not been able to insert it.
14328
14329         * kbmap.C: revert to using int instead of kb_action, since all we
14330         are dealing with is pseudo-actions.
14331
14332         * LyXAction.C (searchActionArg): change to return int instead of
14333         kb_action, since the result is a pseudoaction.
14334
14335 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
14336
14337         * buffer.C (insertErtContents): Fix (partially) the font bug.
14338
14339 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14340
14341         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14342         as the other one is broken on my machine!
14343
14344 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
14345
14346         * commandtags.h:
14347         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14348
14349 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
14350
14351         * lyxrc.[Ch]: change names and descriptions of popup font variables to
14352         reflect their actual use. Provide compatibility code for older lyxrc
14353         files.
14354
14355         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14356         FL_NORMAL_STYLE.
14357         change names of popup font variables in line with the changes to lyxrc.C
14358
14359 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14360
14361         * buffer.C (asciiParagraph): avoid outputing a word twice after
14362         an inset.
14363
14364         * lyxrc.C (getDescription): document that document_path and
14365         template_path can be empty.
14366
14367 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14368
14369         * LaTeXFeatures.C (getMacros):
14370         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14371
14372         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14373
14374         * LaTeXFeatures.C (useFloat): require "float" here instead of in
14375         getPackages.
14376         (getPackages): rename feature "floats" to "float". Use an array to
14377         iterate over 'simple' features (i.e. just a \usepackage). Add
14378         handling of "amsmath" (renamed from "amsstyle").
14379
14380 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
14381
14382         * LaTeXFeatures.C (require): Prevent duplicate entries in the
14383         features list.
14384
14385 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
14386
14387         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14388         FuncStaus::FuncStatus & FuncStaus::some_method().
14389
14390 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
14391
14392         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14393         of the func_satus stuff. Edited and massaged in various ways by
14394         JMarc.
14395
14396         * lyxfunc.C (getStatus): use FuncStatus
14397
14398 2002-01-08  Juergen Vigna  <jug@sad.it>
14399
14400         * text.C (nextBreakPoint): use function Inset::isChar().
14401
14402         * paragraph.C (TeXOnePar): use function
14403         Inset::forceDefaultParagraphs.
14404
14405         * buffer.C (latexParagraphs): use function
14406         Inset::forceDefaultParagraphs.
14407
14408 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14409
14410         * lyx_gui.C (init): set the style of the menu popups to
14411         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14412
14413 2002-01-07  Juergen Vigna  <jug@sad.it>
14414
14415         * text.C (setHeightOfRow): small fix
14416         (prepareToPrint): don't look at alignment if we don't have the place
14417         for doing it.
14418
14419 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14420
14421         * box.C: New file. Move the Box methods and functions out of box.h,
14422         following Lars' suggestion.
14423
14424 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14425
14426         * box.h: #include "support/LOstream.h", needed for inlined function.
14427
14428         * lyxtextclass.C:
14429         * lyxtextclasslist.C: added some using std declarations.
14430
14431 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
14432
14433         * box.h: make signed dimensions to allow insets wider than
14434           the screen (bug #162)
14435
14436         * BufferView_pimpl.C: add some insetHit debug
14437
14438 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
14439
14440         * vc-backend.C: add FIXME
14441
14442 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14443
14444         * lyxfunc.C (getStatus): enable code for showing math font status
14445         in toolbar/menu.
14446
14447 2002-01-07  Juergen Vigna  <jug@sad.it>
14448
14449         * text.C (nextBreakPoint): removed debug output not needed anymore.
14450
14451 2002-01-06  Juergen Vigna  <jug@sad.it>
14452
14453         * text.C (nextBreakPoint): fixed up this function we had this bug
14454         since ever but now hopefully we break row better.
14455         (insertChar): we have to check if an inset is the next char as it
14456         could now happen that a large inset is causing a break.
14457
14458 2002-01-05  Juergen Vigna  <jug@sad.it>
14459
14460         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14461         if it doesn't like to be drawed.
14462
14463 2002-01-04  Juergen Vigna  <jug@sad.it>
14464
14465         * BufferView2.C (lockInset): forgot to set a cursor.
14466
14467         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14468
14469 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
14470
14471         * FormMathsPanel.C:
14472         * FormMathsPanel.h
14473         * MathsSymbols.C:
14474         * form_maths_panel.C:
14475         * form_maths_panel.h:
14476         * form_maths_panel.fd: implemented sub- and super- buttons in math
14477         panel.
14478
14479         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14480         (or ^ space) to be used as in TeX (req'd by Andr�.
14481
14482         * lyxfunc.C: Allow ^ and _ again to be used both as
14483         super/subscript (mathed) and as themselves (in text).
14484
14485 2002-01-03  Allan Rae  <rae@lyx.org>
14486
14487         * LyXView.C (updateWindowTitle): Setup a short icon title of either
14488         "LyX" or the filename of the current buffer if it has one.  This is a
14489         modified form of John Levon's patch.
14490
14491         * XFormsView.C (setWindowTitle): also set icon title.
14492
14493         * LyXView.h (setWindowTitle): signature changed.
14494         * XFormsView.h (setWindowTitle): ditto.
14495
14496 2002-01-02  Juergen Vigna  <jug@sad.it>
14497
14498         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14499
14500 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14501
14502         * screen.C (topCursorVisible): introduce a temp var for
14503         text->cursor.row(), handle the case where this row is null. (kindo
14504         hachish)
14505
14506         * text2.C (setCursor): add a couple of asserts.
14507
14508         * paragraph.h (inset_iterator): add -> operator
14509
14510         * paragraph.[Ch] (autoDeleteInsets): remove member function
14511
14512         * BufferView2.C (removeAutoInsets): rewrite to handle the old
14513         cursor pos correctly and handle inset deletion by itself.
14514         (insertErrors): move iterator declaration out of for expression
14515
14516         * lyxtextclass.C: add <algorithm>
14517
14518         * Makefile.am: added the new files to sources, removed layout.C
14519
14520         * layout.C: removed file
14521
14522         * layout.h: remove LYX_DUMMY_LAYOUT
14523
14524         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14525         layout.
14526
14527         * lyxlayout.[Ch]:
14528         * lyxtextclass.[Ch]:
14529         * lyxtextclasslist.[Ch]: new files
14530
14531         * include order changes to a lot of files, also changes because of
14532         the six new files.
14533
14534 2001-12-27  Juergen Vigna  <jug@sad.it>
14535
14536         * buffer.C (asciiParagraph): more fixes.
14537
14538         * tabular.C (ascii): make ascii export support export of only the
14539         data separated by a column-delimiter.
14540         (ascii): better support for ascii export.
14541
14542         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14543
14544 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14545
14546         * tabular_funcs.C: use a "using std::getline" instead of the
14547         previous fix from Angus (necessary for cxx + lyxstring)
14548
14549 2001-12-24  Juergen Vigna  <jug@sad.it>
14550
14551         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14552
14553         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14554         problems. First check a minipage also if we have some ert-contents
14555         (not only on par->size(), second set the right depth of the paragraph
14556         on the relink to the root-paragraph-list!
14557
14558         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14559         which then did not anymore update the main paragraphs on undo/redo!
14560
14561 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14562
14563         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14564         code. Support all font-changing funcs (even those which are not in
14565         menu currently). Support for reporting font settings in
14566         mathed (disabled until Andre provides a function on mathed's side).
14567
14568         * func_status.h (toggle): small helper function to set toggle
14569         state on a flag.
14570
14571 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
14572
14573         * tabular_funcs.C: getline -> std::getline
14574
14575 2001-12-21  Juergen Vigna  <jug@sad.it>
14576
14577         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14578         accessed and could be 0 (I couldn't generate this but it seems
14579         Michael could!).
14580
14581 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14582
14583         * tabular_funcs.C: add LIstream.h, move write_attribute to..
14584         * tabular_funcs.h: here and include iosfwd
14585
14586 2001-12-20  Juergen Vigna  <jug@sad.it>
14587
14588         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14589         inside inset but undo_par was.
14590
14591 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14592
14593         * Thesaurus.C: always include <config.h> in sources.
14594
14595         * Painter.h:
14596         * lyxlookup.h:
14597         * box.h: do not include <config.h> in header files
14598
14599         * text.C (paintLastRow): remove unused variable
14600
14601         * text.C (transformChar):
14602         (insertChar):
14603         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14604
14605         * Painter.C (text):
14606         * font.C (width): rewrite to use uppercase() instead of
14607         islower/toupper.
14608
14609         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14610
14611 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
14612
14613         * lyxfind.C: clean up of find failure position change
14614
14615 2001-12-20  Juergen Vigna  <jug@sad.it>
14616
14617         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14618
14619         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14620         (TeXRow): added to LaTeX a single tabular row.
14621         (TeXLongtableHeaderFooter): added to output LT-h/f data.
14622         (Latex): simplified and finally good LT-h/f support.
14623         (various_functions): just small adaptions for LT-h/f support.
14624
14625         * tabular_funcs.[hC]: added and moved here all not classfunctions
14626         of LyXTabular.
14627
14628 2001-12-19  Juergen Vigna  <jug@sad.it>
14629
14630         * tabular.[Ch]: better support for longtabular options (not finished
14631         yet!)
14632
14633 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14634
14635         * text.C (paintLastRow): use the label font instead of the font of
14636         the last character to compute the size of *_BOX. This makes more
14637         sense and avoids a crash with empty paragraphs.
14638         Use Painter::rectangle to draw EMPTY_BOX.
14639
14640 2001-12-19  Juergen Vigna  <jug@sad.it>
14641
14642         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14643         the paragraphs if the replaced paragraph is not the first one!
14644         Tried to delete not used paragraphs but does not work yet so for
14645         now it's inside #ifdef's and by default off!
14646
14647 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14648
14649         * MenuBackend.C: include "lyx_main.h" instead of declaring
14650         lastfiles (actually was declared as LastFiles* instead of a
14651         scoped_ptr).
14652
14653 2001-12-17  Juergen Vigna  <jug@sad.it>
14654
14655         * tabular.C (AppendColumn): applied John's fix
14656
14657 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
14658
14659         * BufferView.h:
14660         * BufferView.C:
14661         * BufferView_pimpl.h:
14662         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14663
14664         * Makefile.am:
14665         * box.h: new start of class for above
14666
14667         * lyxfunc.C: ignore space-only minibuffer dispatches.
14668           Show the command name when it doesn't exist
14669
14670         * minibuffer.C: don't add empty lines to the history
14671
14672         * minibuffer.C: add a space on dropdown completion
14673
14674 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
14675
14676         * text.C: fix line above/below drawing in insets
14677
14678 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14679
14680         * lyxlength.C (LyXLength): Initialize private variables.
14681
14682 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
14683
14684         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14685         when inserting error insets.
14686
14687 2001-12-13  Juergen Vigna  <jug@sad.it>
14688
14689         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14690         actually sometimes the before-paragraph.
14691         (setUndo): don't clear the redostack if we're not actually undoing!
14692
14693 2001-12-06  Juergen Vigna  <jug@sad.it>
14694
14695         * undo_funcs.C (textHandleUndo): well after John's hint I got here
14696         and fixed redoing of main paragraph, so we can use it now ;)
14697
14698         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14699
14700 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14701
14702         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14703         Juergen's request
14704
14705 2001-12-13  André Pönitz <poenitz@gmx.net>
14706
14707         * undostack.[Ch]:
14708         * undo_func.C: minor cleanup
14709
14710 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14711
14712         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14713         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14714         font in urw-fonts package which is marked as -urw-fontspecific and
14715         does not work (incidentally, changing the encoding in the
14716         fonts.dir of this package to -adobe-fontspecific fixes the
14717         problem).
14718
14719         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14720         is a crash when undoing first paragraph (Juergen, please take a
14721         look). THis does not mean the undo fix is wrong, just that it
14722         uncovers problems.
14723
14724         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14725         the (Paragraph*) version when needed instead of duplicating the
14726         code.
14727
14728         * text.C (workWidth): use Inset::parOwner to find out where the
14729         inset has been inserted. This is a huge performance gain for large
14730         documents with lots of insets. If Inset::parOwner is not set, fall
14731         back on the brute force method
14732
14733         * paragraph_pimpl.C (insertInset):
14734         * paragraph.C (Paragraph):
14735         (cutIntoMinibuffer): set parOwner of insets when
14736         inserting/removing them
14737
14738         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14739
14740 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
14741
14742         * commandtags.h:
14743         * LyXAction.C:
14744         * lyx_main.C:
14745         * lyxfunc.C:
14746         * mathed/formulabase.C:
14747         * mathed/math_cursor.[Ch]:
14748         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14749
14750
14751 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14752
14753         * lyxlength.[Ch] (operator!=): new function
14754
14755 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14756
14757         * text.C (workWidth): use Inset::parOwner to find out where the
14758         inset has been inserted. This is a huge performance gain for large
14759         documents with lots of insets. If Inset::parOwner is not set, fall
14760         back on the brute force method
14761
14762         * paragraph_pimpl.C (insertInset):
14763         * paragraph.C (Paragraph):
14764         (cutIntoMinibuffer): set parOwner of insets when
14765         inserting/removing them
14766
14767         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14768
14769 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14770
14771         * tabular-old.C (getTokenValue):
14772         * tabular.C (getTokenValue):
14773         (write_attribute): new versions for LyXLength
14774         (everywhere): adjust the use of widths
14775
14776         * tabular.h: change the type of widths from string to LyXLength
14777
14778 2001-12-11  Ben Stanley <bds02@uow.edu.au>
14779
14780         * paragraph.C: fixed missing line number count when exporting
14781         Environments to LaTeX file
14782
14783         * buffer.C: added informational message for checking line numbers.
14784
14785 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14786
14787         * text2.C (deleteEmptyParagraphMechanism): if there is only one
14788         paragraph, do the 'double space' part, but not the 'empty
14789         paragraph' one.
14790
14791         * text.C (workWidth): small optimization
14792         (getLengthMarkerHeight): use minimal size for negative lengths.
14793
14794 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
14795
14796         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14797
14798         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14799
14800 2001-12-11  André Pönitz <poenitz@gmx.net>
14801
14802         * FontLoader.C:
14803         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14804
14805 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14806
14807         * text2.C: keep selection on a setFont()
14808
14809 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14810
14811         * lyx_cb.C: another bv->text misuse, from insert label
14812
14813 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14814
14815         * kbsequence.h:
14816         * kbsequence.C: re-instate nmodifier mask
14817
14818 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
14819
14820         * lyx_main.h: make lyxGUI private.
14821
14822 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14823
14824         * lyxfind.C: place the cursor correctly on failed search
14825
14826 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14827
14828         * text.C (getLengthMarkerHeight): for small heights, the arrows
14829         are not always on top/bottom of the text
14830         (drawLengthMarker): smaller arrows; take the left margin in
14831         account; draw also vfills.
14832         (paintFirstRow):
14833         (paintLastRow): remove special code for vfill and standard spaces,
14834         since everything is handled in drawLengthMarker now.
14835
14836 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14837
14838         * buffer.C (insertErtContents): try to handle font and language
14839         interaction a bit better.g
14840
14841         * ColorHandler.C (updateColor): change the hash to cover the whole
14842         LColor enum, ws cleanup
14843         (getGCLinepars): ditto
14844         (getGCLinepars): only lookup in the linecache once.
14845
14846 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
14847
14848         * iterators.C (operator++): Make the iterator more robust
14849
14850         * BufferView2.C (removeAutoInsets): Use paragraph iterators
14851         (John's patch)
14852         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14853
14854 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14855
14856         * lyxtext.h:
14857         * text.C: better added space drawing
14858
14859 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14860
14861         * LyXView.C:
14862         * BufferView2.C: fix layout combo update on inset unlock
14863
14864 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14865
14866         * Makefile.am: don't compile unused files
14867
14868 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14869
14870         * lyxfunc.C:
14871         * commandtags.h:
14872         * LyXAction.C: remove old LFUN_LAYOUTNO
14873
14874 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14875
14876         * paragraph_pimpl.h:
14877         * paragraph_pimpl.C: isTextAt() doesn't need font param
14878
14879 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14880
14881         * lyxlex.h:
14882         * lyxlex.C: little cleanup
14883
14884 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14885
14886         * BufferView_pimpl.C: fix insertAscii for insets
14887
14888 2001-12-05  Juergen Vigna  <jug@sad.it>
14889
14890         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14891         set the right font on the "multi" paragraph paste!
14892
14893 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14894
14895         * trans_decl.h:
14896         * trans_mgr.[Ch]:
14897         * trans.[Ch]:
14898         * lyxgluelength.C:
14899         * lyxlength.C: remove out-commented code.
14900
14901         * BufferView_pimpl:
14902         * CutAndPaste.C:
14903         * DepTable.C:
14904         * buffer.C:
14905         * chset.C:
14906         * lastfiles.C:
14907         * lyxlex.C:
14908         * lyxlex_pimpl.C:
14909         * lyxserver.C:
14910         * screen.C:
14911         * tabular-old.C:
14912         * tabular.C:
14913         * text.C:
14914         * trans_mgr.C:
14915         * vc-backend.C: change "while(" to "while ("
14916
14917         * lyxlength.[Ch]: add zero function to check if length is zero or
14918         not
14919         * lyxgluelength.C: use it
14920
14921 2001-12-05  Allan Rae  <rae@lyx.org>
14922
14923         * lyxlength.C: Attempted a fix for the abs(int) header selection.
14924         Works for 2.95.3, from what I understand of Garst's reports this should
14925         work for other g++ versions.  We're screwed if the abs(int) definition
14926         changed between bugfix releases of gcc.
14927
14928 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14929
14930         * text.C: fix chapter label offset !
14931
14932 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14933
14934         * lyxtext.h:
14935         * text.C: fix hfill at end of line, clean up
14936
14937 2001-12-04  Juergen Vigna  <jug@sad.it>
14938
14939         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14940         that we force an update of the inset and it's owners if neccessary.
14941
14942 2001-12-03  Juergen Vigna  <jug@sad.it>
14943
14944         * text.C (rowLast): simplified code
14945
14946 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14947
14948         * lyxfunc.C: fix show options on timeout
14949
14950 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14951
14952         * screen.C (topCursorVisible): scroll half a page when the cursor
14953         reached top of bottom of screen
14954
14955 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
14956
14957         * minibuffer.C: deactivate on loss of focus
14958
14959 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14960
14961         * vspace.[Ch] (operator!=): add operator.
14962
14963 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
14964
14965         * BufferView_pimpl.C: refuse to open an inset when
14966         there's a selection.
14967
14968 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
14969
14970         * BufferView_pimpl.C: allow to click on RHS of full row insets
14971
14972 2001-11-30  Juergen Vigna  <jug@sad.it>
14973
14974         * tabular.C (LyXTabular): add a same_id to set the same id's in the
14975         insets for undo reasons.
14976
14977 2001-11-28  André Pönitz <poenitz@gmx.net>
14978
14979         * vspace.[Ch]: cosmetical changes
14980
14981 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14982
14983         * LyXAction.h:
14984         * LyXAction.C:
14985         * lyxfunc.h:
14986         * lyxfunc.C:
14987         * kbmap.h:
14988         * kbmap.C:
14989         * lyxrc.C:
14990         * kbsequence.h:
14991         * kbsequence.C: part re-write of old kb code
14992
14993         * Painter.C:
14994         * WorkArea.C: remove Lgb_bug_find_hack
14995
14996 2001-11-30  José Matos <jamatos@fep.up.pt>
14997
14998         * buffer.C (makeDocBookFile): add a comment to point a hack.
14999         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
15000         Fixed a double write of labels.
15001
15002 2001-11-29 Ben Stanley <bds02@uow.edu.au>
15003
15004         * LaTeX.C:
15005         * LaTeX.h Fixed bug in LaTeX class where it would not
15006         re-run latex if no depfiles were changed, but the .dvi was removed.
15007
15008 2001-11-28  André Pönitz <poenitz@gmx.net>
15009
15010         * all the files from the change on 2001/11/26:
15011         use lyx::layout_type instead of LyXTextClass::size_type
15012         use lyx::textclass_type instead of LyXTextClassList::size_type
15013
15014 2001-11-29  Juergen Vigna  <jug@sad.it>
15015
15016         * text.C: added support for paragraph::isFreeSpacing()
15017
15018         * buffer.C: same as above
15019
15020         * paragraph.h: inserted isFreeSpacing() function to enable
15021         FreeSpacing inside InsetERT.
15022
15023         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
15024         of the paragraph's in the cut/copy buffer to 0!
15025
15026         * text2.C (removeRow): remove the assert as it can!
15027
15028         * lyxtext.h: added helper function firstRow returning firstrow and
15029         made firstrow private again.
15030
15031         * BufferView2.C (lockInset): don't relock if we're already locked!
15032
15033         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
15034         the only paragraph.
15035         (removeRow): added Assert::(firstrow)
15036
15037         * debug.C: forgot to add INSETTEXT here.
15038
15039 2001-11-28  Juergen Vigna  <jug@sad.it>
15040
15041         * sp_spell.C (initialize): changed error text to more general
15042         spellchecker command use (not only ispell!)
15043
15044         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
15045
15046         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
15047
15048 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15049
15050         * vspace.C: initialise lyxgluelength on failure
15051
15052 2001-11-28  Allan Rae  <rae@lyx.org>
15053
15054         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
15055         declaration & definition that looks like a function declaration.
15056
15057 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15058
15059         * BufferView2.C (copy):
15060         (copyEnvironment): do not clear the selection when doing a copy.
15061
15062         * text.C (paintFirstRow): compilation fix
15063
15064 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
15065
15066         * tabular.C (Latex): correct line count when writing latex.
15067
15068 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
15069
15070         * paragraph_pimpl.h:
15071         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
15072           bug a bit
15073
15074 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15075
15076         * text.C:
15077         * LColor.h:
15078         * LColor.C: change vfillline->added_space
15079
15080         * text.C: add markers and text for added space
15081
15082         * vspace.C: fix comment
15083
15084 2001-11-28  André Pönitz <poenitz@gmx.net>
15085
15086         * paragraph.C: whitespace changes
15087         * all the other files from the change on 2001/11/26:
15088         change *::pos_type into lyx::pos_type
15089
15090 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
15091
15092         * buffer.C (parseSingleLyXformat2Token): Set the language to the
15093         language of the document when inserting error insets.
15094
15095 2001-11-26  André Pönitz <poenitz@gmx.net>
15096
15097         * BufferView_pimpl.[Ch]:
15098         *       CutAndPaste.C:
15099         * buffer.[Ch]:
15100         * lyxcursor.[Ch]:
15101         * lyxfind.C:
15102         * lyxfunc.C:
15103         * lyxrow.[Ch]:
15104         * paragraph.[Ch]:
15105         * paragraph_pimpl.[Ch]:
15106         * sp_spell.C:
15107         * text.C:
15108         * text2.C: reduce header dependencies, introduce type for positions
15109
15110 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15111
15112         * <various>: change to use Alert.h
15113
15114 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
15115
15116         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
15117         when encountering an unknown token.
15118         (readLyXformat2): Show an error message if there were unknown tokens.
15119
15120 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
15121
15122         * BufferView2.C:
15123         * BufferView_pimpl.C:
15124         * buffer.C:
15125         * paragraph.h:
15126         * text.C:
15127         * text2.C: use par->isInset()
15128
15129 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15130
15131         * paragraph_pimpl.h:
15132         * paragraph_pimpl.C: cleanup
15133
15134 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15135
15136         * text2.C (removeRow):
15137         * text.C (setHeightOfRow): remove useless (and costly) call to
15138         getRow.
15139
15140 2001-11-20  Allan Rae  <rae@lyx.org>
15141
15142         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
15143         Now need Inset*::checkInsertChar() to return true for appropriate
15144         cases so that the characters in the minibuffer will actually be
15145         inserted.
15146
15147 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15148
15149         * text.C: change the order of the includes.
15150         (workWidth): initialize it at once.
15151         (workWidth): make maxw unsigned
15152         (setHeightOfRow): remove unused variable (inset)
15153         (selectSelectedWord): remove unused variable (inset)
15154         (paintRowText): fix drawing of hfill characters, and clean up a bit.
15155
15156 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15157
15158         * lyxserver.C (emergencyCleanup): do not try to close pipes if
15159         server is not running.
15160         (openConnection):
15161         (closeConnection): add debug info when server is disabled.
15162
15163         * ColorHandler.C (getGCForeground): send debug message to GUI
15164         channel.
15165
15166         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15167
15168         * kbmap.C (bind): modify because return conventions of
15169         kb_sequence::parse have changed.
15170
15171         * kbsequence.C (parse): only ignore spaces and not any stupid
15172         control character. This avoids tests like s[i] <= ' ', which are
15173         guaranteed to fail with 8bit characters and signed chars.
15174         Change return code to string::npos when there have been no error
15175         (0 was a bad idea when error is at first character)
15176
15177 2001-11-14  José Matos  <jamatos@fep.up.pt>
15178
15179         * buffer.h:
15180         * buffer.C (simpleDocBookOnePar): removed unused argument.
15181
15182 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15183
15184         * text.C (selectNextWordToSpellcheck): do not test explicitely for
15185         insets which are part of a word. Paragraph::isLetter takes care of
15186         that now. Use Paragraph::isInset to identify insets.
15187         (selectSelectedWord): do not test for hyphenation break.
15188
15189         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15190         that protected spaces are considered as spaces.
15191
15192         * paragraph.C (isLetter): cleanup the code for ispell extras; use
15193         Inset::isLetter.
15194
15195 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
15196
15197         * lyxserver.h:
15198         * lyxserver.C: fix it. and small cleanup.
15199
15200 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15201
15202         * BufferView_pimpl.C: use inline helpers
15203
15204         * LaTeXFeatures.h:
15205         * LaTeXFeatures.C: fix typos
15206
15207         * Spacing.h:
15208         * Spacing.C: move spacing_string into class
15209
15210         * ToolbarDefaults.C: move stuff into namespace anon
15211
15212         * layout.h: update enum
15213
15214         * lyxfunc.C: use better debug
15215
15216         * minibuffer.h: fix typo
15217
15218         * debug.h:
15219         * debug.C:
15220         * WorkArea.C: add and use Debug::WORKAREA
15221
15222         * lyxtext.h:
15223         * text.C:
15224         * text2.C: code re-organisation, inline helpers
15225
15226 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
15227
15228         * Layout.C: replaced a few cases of std::vector.size() == 0 with
15229         std::vector.empty().
15230
15231 2001-11-09  Allan Rae  <rae@lyx.org>
15232
15233         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15234         '\n's after tables.  Tabular and ERT inset work now makes this no
15235         longer necessary.
15236
15237 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15238
15239         * minibuffer.h:
15240         * minibuffer.C: fix crash, improve drop-down completion
15241
15242 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
15243
15244         * lyxserver.h:
15245         * lyxserver.C: invalidate fd's when doing endPipe()
15246
15247 2001-11-08  José Matos  <jamatos@fep.up.pt>
15248
15249         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15250         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15251
15252         * paragraph.h:
15253         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15254
15255 2001-11-07  José Matos  <jamatos@fep.up.pt>
15256
15257         * buffer.h:
15258         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15259         const qualifier.
15260
15261         * buffer.C (sgmlOpenTag):
15262         * buffer.C (sgmlCloseTag): removed debug info.
15263
15264         * buffer.h (sgmlOpenTag):
15265         * buffer.h (sgmlCloseTag): made public.
15266
15267 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15268
15269         * buffer.C (saveParamsAsDefaults):
15270         * lyx_cb.C (MenuLayoutSave): remove
15271
15272         * LyXAction.C (init):
15273         * commandtags.h:
15274         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15275
15276 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15277
15278         * buffer.C (setPaperStuff): removed from here...
15279
15280         * bufferparams.C (setPaperStuff): ... and moved there.
15281
15282 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
15283
15284         * minibuffer.h:
15285         * minibuffer.C:
15286         * XFormsView.C: add support for drop-down completion
15287
15288 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
15289
15290         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15291         commands.
15292
15293 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15294
15295         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15296         disabled.
15297
15298 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
15299
15300         * lyx_main.C: change ref to known bugs
15301
15302 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
15303
15304         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15305         to work around older babel problems.
15306
15307 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15308
15309         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15310
15311 2001-10-24  Juergen Vigna  <jug@sad.it>
15312
15313         * tabular-old.C (ReadOld): below variable changes reflected.
15314
15315         * tabular.[Ch]: added ltType struct for longtable header/footer
15316         defines and changed all instances where they are used. Added
15317         future support for double top/bottom rows.
15318
15319 2001-10-24  José Matos  <jamatos@fep.up.pt>
15320
15321         * buffer.h (docbookHandleCaption):
15322         * buffer.C (docbookHandleCaption): removed unused function.
15323         (makeDocBookFile): moved docbook supported version to v4.1.
15324
15325 2001-10-24  José Matos  <jamatos@fep.up.pt>
15326
15327         * tabular.h:
15328         * tabular.C (docbookRow): new function to export docbook code of a row.
15329         (DocBook): now honors the longtable flags.
15330
15331 2001-10-23  José Matos  <jamatos@fep.up.pt>
15332
15333         * LaTeXFeatures.h:
15334         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15335         of the lyx defined sgml entities used in a docbook/linuxdoc document.
15336
15337         * buffer.C (makeLinuxDocFile):
15338         (makeDocBookFile): reworked the preamble, more clean, and with
15339         support for lyx defined entities. Changed the document declaration
15340         to be more XML friendly.
15341
15342         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15343         if we need to output XML that should be done with a filter.
15344
15345 2001-10-22  Juergen Vigna  <jug@sad.it>
15346
15347         * sp_pspell.h (class PSpell): add alive function needed in the
15348         controller to see if the spellchecker could be started.
15349
15350 2001-10-22  Juergen Vigna  <jug@sad.it>
15351
15352         * buffer.C (insertStringAsLines): modify the font for inserting
15353         chars in certain conditions by calling checkInsertChar(font).
15354
15355 2001-10-19  Juergen Vigna  <jug@sad.it>
15356
15357         * text.C (workWidth): use getRow instead of wrong algorithm.
15358         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15359
15360 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
15361
15362         * lyxserver.h:
15363         * lyxserver.C:
15364         * lyx_main.h:
15365         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15366
15367 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15368
15369         * text.C (workWidth): do not search for the exact row when
15370         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15371         optimization for big documents.
15372
15373 2001-10-18  Juergen Vigna  <jug@sad.it>
15374
15375         * text.C (workWidth): new function with added Inset * parameter.
15376
15377 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15378
15379         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15380
15381         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15382         change return type of getColumnNearX.
15383
15384
15385         * text.C (changeRegionCase): use uppercase/lowercase instead of
15386         toupper/tolower.
15387         (leftMargin):
15388         (rightMargin): simplify code by factoring out the uses of
15389         textclasslist.
15390         (labelFill):
15391         (numberOfHfills):
15392         (setHeightOfRow):
15393         (appendParagraph): use Paragraph::size_type
15394
15395 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15396
15397         * vspace.C (asLatexString): add a missing break
15398
15399 2001-10-15  Herbert Voss  <voss@perce.de>
15400
15401         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15402
15403 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15404
15405         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15406         is not available.
15407
15408 2001-10-10  André Pönitz <poenitz@gmx.net>
15409
15410         * lyxfunc.C: removed greek_kb_flag.
15411
15412 2001-10-10  Herbert Voss  <voss@perce.de>
15413
15414         * lyx_main.C: delete global string help_lyxdir.
15415
15416 2001-10-09  Herbert Voss  <voss@perce.de>
15417
15418         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15419
15420         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15421
15422         * lyx_main.C: added global string help_lyxdir.
15423
15424         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15425
15426 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15427
15428         * lyxrc.C (set_font_norm_type): support iso8859-4
15429
15430 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
15431
15432         * LaTeX.C (deplog): add another regex for MikTeX
15433
15434 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15435
15436         * lyxrc.C (set_font_norm_type): support iso8859-3
15437
15438 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15439
15440         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15441
15442         * LaTeXFeatures.C: remove special case of french and index
15443
15444         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15445         before \begin{document}). This solves several incompatibilities.
15446
15447 2001-10-03  Garst Reese  <reese@isn.net>
15448
15449         * lyx_cb.C: change CheckTex error msg.
15450
15451 2001-10-03  José Matos  <jamatos@fep.up.pt>
15452
15453         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15454
15455 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15456
15457         * .cvsignore: update
15458
15459         * lyx_main.C (commandLineVersionInfo): use new style version info.
15460
15461         * buffer.C (writeFile):
15462         (makeLaTeXFile):
15463         (makeLinuxDocFile):
15464         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15465
15466         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15467
15468         * version.h: update to use stuff in version.C
15469
15470         * version.C.in: new file. Contains version information determined
15471         at compile time. This is a merging of version.h and
15472         version_info.h.in.
15473
15474 2001-10-03  Juergen Vigna  <jug@sad.it>
15475
15476         * BufferView_pimpl.C (update): don't change "dirty" status in
15477         updateInset call.
15478
15479 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
15480
15481         * WorkArea.C (c-tor): re-position version string slightly.
15482
15483 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
15484
15485         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15486         revert to previous code.
15487
15488         WorkArea.[Ch]: (show, destroySplash): methods removed.
15489
15490         WorkArea.C: rework code so that it's an amalgam of the codes before and
15491         after the splash screen was moved to WorkArea.
15492
15493 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15494
15495         * lyxrc.C (read):
15496         * vspace.C (inPixels):
15497         (lyx_advance):
15498         * kbmap.C (bind):
15499         * buffer.C (insertStringAsLines):
15500         (asciiParagraph): fix types to be large enough
15501
15502         * lyxlex_pimpl.h: change member status from short to int
15503
15504         * layout.h: fix type of endlabeltype
15505
15506         * kbmap.C (bind):
15507         * kbsequence.C (parse): change return type to string::size_type
15508
15509         * LaTeX.C (updateBibtexDependencies): comment out unneeded
15510         variable
15511
15512         * Bullet.C (bulletSize):
15513         (bulletEntry): do not use short ints as parameters
15514
15515         * BufferView2.C (insertLyXFile): change a char to an int.
15516
15517         * WorkArea.C (WorkArea): remove unneeded floats in computation
15518
15519 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
15520
15521         * buffer.C (asciiParagraph): Treat '\\' as other chars.
15522
15523         * paragraph.C (asString): Do not ignore newline/hfill chars when
15524         copying to the clipboard.
15525
15526 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
15527
15528         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15529         after a multi-line inset.
15530
15531 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
15532
15533         * paragraph.C (validate): Set NeedLyXFootnoteCode
15534
15535 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15536
15537         * lyxfont.C (LyXSizeNames): changed increase-error to increase
15538         and decrease-error to decrease.
15539
15540 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15541
15542         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15543         it more readable (should be equivalent)
15544
15545 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15546
15547         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15548
15549 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15550
15551         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15552         of a cursor (row, etc.) after a character has been deleted
15553         (deleteEmptyParagraphMechanism): call the method above on _all_
15554         cursors held by the LyXText when a double space has been
15555         detected/deleted.
15556
15557 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15558
15559         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15560         pixmap.
15561         (resizeCurrentBuff): remove code to destroy the old splash dialog.
15562
15563         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15564         background. Use greyOut() and the new show() methods to toggle between
15565         the foreground and background. Add code to remove the splash after
15566         its initial showing.
15567
15568         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15569         (create_forms): no longer call Dialogs::showSplash.
15570
15571 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15572
15573         * .cvsignore: add version_info.h
15574
15575 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15576
15577         * version_info.h.in: new file
15578
15579         * Makefile.am: add version_info.h.in
15580
15581         * lyx_main.C (commandLineVersionInfo): use version_info defined in
15582         version_info.h instead of VERSION_INFO
15583
15584 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
15585
15586         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15587         The ERT inset now returns string().
15588
15589 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
15590
15591         * lyxtext.h, text.C (selectNextWord): renamed as
15592         selectNextWordToSpellcheck.
15593
15594         * text.C (selectNextWordToSpellcheck): Modified to not select
15595         words inside an ERT inset.
15596
15597 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15598
15599         * lyx_cb.C (MenuLayoutSave): change a bit the question
15600
15601         * sp_base.h: include <sys/types.h>
15602
15603 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
15604
15605         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15606
15607 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
15608
15609         * several files: fix typos in user-visible strings
15610
15611 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15612
15613         * text2.C (pasteSelection): do not set the selection, since it
15614         will be cleared later. Actually, the intent was to fix the way the
15615         selection was set, but I figured rmoving the code was just as good.
15616
15617 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
15618
15619         * FontLoader.C (available): Check if font is available without
15620         loading the font.
15621
15622 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
15623
15624         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15625
15626 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
15627
15628         * lyxrc.[Ch]: added display_graphics variable and associated code.
15629
15630 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15631
15632         * bufferparams.C (hasClassDefaults): new method. Returns true if
15633         the buffer parameters correspond to known class defaults
15634
15635 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
15636
15637         * XFormsView.C (show): set minimum size to the main window.
15638
15639 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15640
15641         * text2.C (copySelection):
15642         (cutSelection):
15643         * lyxfind.C (LyXReplace):
15644         * BufferView_pimpl.C (Dispatch): pass the correct flag to
15645         LyXText::selectionAsString.
15646
15647         * paragraph.C (asString): add "label" argument to the second form
15648
15649         * text2.C (selectionAsString): add "label" argument and pass it to
15650         Paragraph::asString.
15651
15652 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15653
15654         * lyx_main.C (commandLineHelp): remove version information
15655
15656 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
15657
15658         * lyx_main.C: add -version commandline option
15659
15660 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15661
15662         * paragraph.h: make the optional constructor arg required instead.
15663         some modifications to other files because of this.
15664
15665         * minibuffer.C (C_MiniBuffer_peek_event): make it static
15666
15667         * lyxserver.C (C_LyXComm_callback): make it static
15668
15669         * lyx_main.C (error_handler): make it static
15670
15671         * lyx_gui.C (LyX_XErrHandler): make it static
15672
15673         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15674
15675         * WorkArea.C: make the extern "C" methods static.
15676
15677         * Makefile.am (lyx_LDADD): simplify
15678
15679 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15680
15681         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15682         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15683
15684         * LyXAction.C (init):
15685         * lyxfunc.C (dispatch): associated code removal.
15686
15687 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15688
15689         * lyxfont.h (isSymbolFont): shut off warning
15690
15691         * text.C (setHeightOfRow):
15692         (getVisibleRow): fix crash with empty paragraphs which have a
15693         bottom line
15694
15695 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
15696
15697         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15698         code.
15699
15700 2001-09-04  José Matos  <jamatos@fep.up.pt>
15701         * buffer.C
15702         * buffer.h
15703         * tabular.C (docbook): rename docBook method to docbook.
15704
15705 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15706
15707         * Makefile.am: add dependencies to main.o.
15708
15709 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
15710
15711         * FontLoader.C (available): Return false if !lyxrc.use_gui
15712
15713 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
15714
15715         * FontInfo.C (query):
15716         * converter.C (view):
15717         * importer.C (Import):
15718         * exporter.C (Export): Can not -> cannot.
15719
15720 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
15721
15722         * BufferView_pimpl.C: allow to create index inset even if
15723           string is empty
15724
15725 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15726
15727         * buffer.C (getLists): replace boost::tie code with an explicit pair
15728         as boost::tie can break some compilers.
15729
15730         * iterators.h: Added a std:: declaration to the return type of
15731         ParIterator::size.
15732
15733 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
15734
15735         * lyxrc.C: add help for view_dvi_paper_option, default to safe
15736           case.
15737
15738 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
15739
15740         * iterators.[Ch]: New files. Provide paragraph iterators.
15741
15742         * buffer.C (changeLanguage): Use paragraph iterators.
15743         (isMultiLingual): ditto
15744
15745         * BufferView2.C (ChangeInsets): Use paragraph iterators.
15746
15747 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
15748
15749         * FontLoader.C: Support for cmr font.
15750
15751 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
15752
15753         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15754         (available): New method.
15755
15756         * FontInfo.C (getFontname): Use scalable fonts even when
15757         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15758         found.
15759
15760 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15761
15762         * converter.C (Formats::view): reverted! Incorrect fix.
15763
15764 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15765
15766         * converter.C (Formats::view): only output the -paper option
15767         if the dvi viewer is xdvi, thereby fixing bug #233429.
15768
15769 2001-08-23  Herbert Voss  <voss@perce>
15770
15771         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15772
15773 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
15774
15775         * Spacing.h (Spacing): Set space to Default on in the default
15776         constructor.
15777
15778 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15779
15780         * vc-backend.h (RCS::versionString): add RCS to version
15781         (CVS::versionString): add CVS to version
15782
15783         * vc-backend.C (scanMaster): do not add CVS to version.
15784         (scanMaster): do not add RCS to version
15785
15786         * lyxvc.C (versionString): new method
15787
15788         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15789
15790 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15791
15792         * Spacing.C (set): initialize fval
15793
15794 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
15795
15796         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15797         " or \.
15798
15799 2001-08-16  Juergen Vigna  <jug@sad.it>
15800
15801         * lyxfunc.C (dispatch): implemented the new FINISHED states.
15802
15803 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15804
15805         * BufferView_pimpl.C:
15806         * figureForm.C:
15807         * lyxtext.h:
15808         * text2.C: setParagraph takes linespacing now
15809
15810 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
15811
15812         * LyxAction.C: add internal LFUN_CITATION_INSERT
15813
15814         * LyXView.C: actually apply fix
15815
15816         * bufferlist.C: fix open non-existent file
15817
15818         * lyxfind.C: fix indentation
15819
15820         * lyxfunc.C: remove unneeded assert, fix typo
15821
15822 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15823
15824         * MenuBackend.C: use "Floatname List"
15825
15826 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
15827
15828         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15829         when converting LaTeX layout to insetERT.
15830         Generate a non-collapsed float when reading old float
15831
15832 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15833
15834         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15835         ERT insets.
15836
15837 2001-08-13  Juergen Vigna  <jug@sad.it>
15838
15839         * text.C (fill): return 0 instead of 20 as this seems to be the more
15840         correct value.
15841
15842 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15843
15844         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15845         lyxrc.font_norm.
15846
15847 2001-08-13  Juergen Vigna  <jug@sad.it>
15848
15849         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15850         casesensitive off.
15851         (SearchBackward): comment out the unlocking of the inset_owner this
15852         should not be needed!
15853
15854 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
15855
15856         * Many files: Remove inherit_language, and add latex_language
15857
15858         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15859         collapsible insets.
15860
15861 2001-08-10  Juergen Vigna  <jug@sad.it>
15862
15863         * text.C (prepareToPrint): fixed hfill-width in draw!
15864
15865         * BufferView2.C (selectLastWord): save the selection cursor as this
15866         now is cleared in the function LyXText::clearSelection!
15867
15868 2001-08-08  Juergen Vigna  <jug@sad.it>
15869
15870         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15871         BACKSPACE type functions.
15872
15873         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15874         is only cutted from the document but not put in the cut-buffer, where
15875         still the old stuff should be.
15876
15877         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15878
15879         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15880
15881         * tabular.C (SetWidthOfCell): fixed special case where the width
15882         was not updated!
15883         (LeftLine): handle '|' in align_special.
15884         (RightLine): ditto
15885         (LeftAlreadyDrawed): ditto
15886         (SetWidthOfCell): ditto
15887
15888 2001-08-07  Juergen Vigna  <jug@sad.it>
15889
15890         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15891
15892 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15893
15894         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15895         * lyxlex.[hC]: ditto
15896
15897 2001-08-06  Juergen Vigna  <jug@sad.it>
15898
15899         * text.C (getVisibleRow): fix up row clearing a bit.
15900
15901 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15902
15903         * minibuffer.C: make sure the X server sees the changes in the input.
15904
15905 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15906
15907         * paragraph.C (getFont): split into...
15908         (getLabelFont): this
15909         (getLayoutFont): and this
15910         * paragraph_pimpl.C (realizeFont): calling this
15911
15912         * text2.C (getFont): split into...
15913         (getLayoutFont): this
15914         (getLabelFont): and this
15915         (realizeFont): all three calling this
15916
15917         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15918         files where used.
15919
15920 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15921
15922         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15923
15924 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
15925
15926         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15927         layouts from the Quote inset insertion.
15928
15929 2001-08-03  Juergen Vigna  <jug@sad.it>
15930
15931         * BufferView_pimpl.C (update): do the fitCursor only at the end!
15932
15933         * screen.C (drawFromTo): don't call fitcursor here and do the loop
15934         only if status not is already CHANGED_IN_DRAW (second level).
15935
15936         * text.C (draw): don't set the need_break_row when inside an
15937         InsetText LyXText.
15938
15939 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15940
15941         * buffer.C (parseSingleLyXformat2Token): handle more latex
15942         conversion cases.
15943
15944         * bufferview_funcs.[hC]: change function names to
15945         begin with small char, adjust other files.
15946
15947 2001-08-02  André Pönitz <poenitz@gmx.net>
15948
15949         * lyxfunc.C:
15950         BufferView_pimpl.C: remove broken special code for math-greek
15951
15952 2001-08-02  Juergen Vigna  <jug@sad.it>
15953
15954         * BufferView_pimpl.C (update): redone this function so that we
15955         update the text again if there was a CHANGE_IN_DRAW.
15956
15957         * screen.C (cursorToggle): removed LyXText parameter and recoded.
15958         (drawFromTo): added a new internal bool which is used by draw() and
15959         redraw() function.
15960         (general): some cursor drawing problems fixed.
15961
15962 2001-08-01  Juergen Vigna  <jug@sad.it>
15963
15964         * lyxfind.C (LyXFind): fixed
15965         (SearchForward): ditto
15966         (SearchBackward): ditto
15967
15968         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15969         spurius drawing of the cursor in the main area.
15970
15971         * text2.C (status): small fix which could lead to a segfault!
15972         (clearSelection): remove unneeded BufferView param.
15973
15974 2001-08-01  André Pönitz <poenitz@gmx.net>
15975
15976         * lyxfunc.C: small change due to changed mathed interface
15977
15978 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15979
15980         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15981
15982 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
15983
15984         * lyxfunc.c: fail gracefully if file doesn't exist
15985
15986         * LyXSendto.C:
15987         * buffer.C:
15988         * lyxfunc.C:
15989         * BufferView_pimpl.C: IsDirWriteable() proto changed
15990
15991         * LyXView.C: fix updateWindowTitle() to store the last title
15992
15993 2001-07-31  Juergen Vigna  <jug@sad.it>
15994
15995         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15996         the font (wrong since using of Paragraph::highestFontInRange).
15997
15998         * paragraph.C (highestFontInRange): added a default_size parameter.
15999
16000         * text.C (getVisibleRow): minor clear row changes (still not perfect).
16001         (setHeightOfRow): reformat
16002
16003 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16004
16005         * converter.[hC] + affected files: move to (inital-char)lowercase
16006         function names.
16007
16008         * ParagraphParameters.C (ParagraphParameters): remove commented code
16009
16010         * PainterBase.[Ch]: remove commented code
16011
16012         * LaTeXFeatures.h: add "bool floats" for float.sty
16013
16014         * LaTeXFeatures.C (LaTeXFeatures): init floats
16015         (require): handle float
16016         (getPackages): do it with floats
16017
16018 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16019
16020         * BufferView_pimpl.C (Dispatch): improve handling of
16021         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
16022
16023         * commandtags.h: #include lyxfont.h here temporarily to avoid
16024         keybinding bug.
16025
16026         * bufferlist.h: include LString.h here.
16027
16028 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16029
16030         * text2.C (getStringToIndex): new method.
16031
16032 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
16033
16034         * *: Reduced header file dependencies all over.
16035
16036 2001-07-30  Baruch Even  <baruch@lyx.org>
16037
16038         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
16039
16040 2001-07-29  Baruch Even  <baruch@lyx.org>
16041
16042         * buffer.C (readInset): Changed GRAPHICS to Graphics.
16043
16044 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16045
16046         * ParameterStruct.h (endif): add a default constructor to make
16047         sure that all variables is initialized.
16048
16049         * ParagraphParameters.C (ParagraphParameters): adjust
16050
16051 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16052
16053         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
16054         index; also, check that there is something to index, and that it
16055         does not span over several paragraphs.
16056         (doubleClick): use WHOLE_WORD_STRICT for double click.
16057
16058         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
16059
16060         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
16061         scheme.
16062
16063 2001-07-26  Baruch Even  <baruch@lyx.org>
16064
16065         * buffer.C (readInset): Changed to call up InsetGraphics when reading
16066         an InsetFig figure, backwards compatible reading of old figure code.
16067
16068 2001-07-27  Juergen Vigna  <jug@sad.it>
16069
16070         * text2.C: font.realize function adaption.
16071
16072         * text.C (draw): add a warnings lyxerr text if needed.
16073
16074         * layout.C: font.realize function adaption.
16075
16076         * language.C: add inherit_language and implement it's handlings
16077
16078         * bufferview_funcs.C (StyleReset): remove language parameter from
16079         font creation (should be language_inherit now).
16080
16081         * bufferparams.C (writeFile): handle ignore_language.
16082
16083         * paragraph.C (getFontSettings): the language has to be resolved
16084         otherwise we have problems in LyXFont!
16085
16086         * lyxfont.C (lyxWriteChanges): added document_language parameter
16087         (update): removed unneeded language parameter
16088
16089         * paragraph.C (validate): fixed wrong output of color-package when
16090         using interface colors for certain fonts in certain environments,
16091         which should not seen as that on the final output.
16092
16093 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
16094
16095         * BufferView_pimpl.C:
16096         * Thesaurus.h:
16097         * Thesaurus.C:
16098         * Makefile.am:
16099         * commandtags.h:
16100         * LyXAction.C: add thesaurus support
16101
16102         * lyxfind.h:
16103         * lyxfind.C: add "once" parameter, for thesaurus, to not
16104           move to the next match
16105
16106 2001-07-26  Juergen Vigna  <jug@sad.it>
16107
16108         * lyxfont.C (realize): honor ignore_language too!
16109         (resolved): ditto.
16110
16111         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
16112
16113         * text.C (draw): one place more for ignore_language to not draw
16114         itself!
16115
16116 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
16117
16118         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
16119
16120 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16121
16122         * buffer.C (parseSingleLyXformat2Token): a more general fix for
16123         the minipage conversion problem.
16124
16125 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16126
16127         * buffer.C (parseSingleLyXformat2Token): check minipage if we
16128         insert an inset.
16129
16130 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16131
16132         * BufferView.h: don't forward declare WorkArea
16133
16134         * BufferView.C: don't include WorkArea.h
16135
16136 2001-07-25  André Pönitz <poenitz@gmx.net>
16137
16138         * commandtags.h:
16139         * LyXAction.C:
16140         * lyxfunc.C:  new LFUN 'math-space'
16141
16142         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
16143
16144 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16145
16146         * text2.C (toggleInset): call open/close
16147
16148 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16149
16150         * lyxfunc.C (dispatch): add debug for the disabled case
16151
16152         * font.C (buttonText): make similar to rectText
16153
16154         * buffer.C (readInset): comment out parsing of insetlist and
16155         insttheorem
16156
16157         * PainterBase.C (rectText): small correction
16158
16159         * BufferView_pimpl.C: comment out insettheorem and insetlist
16160         * LyXAction.C: ditto
16161         * commandtags.h: ditto
16162
16163 2001-07-24  Juergen Vigna  <jug@sad.it>
16164
16165         * text.C (draw): honor the ignore_language.
16166
16167         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16168
16169 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16170
16171         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16172         char inset.
16173
16174 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16175
16176         * lyxtext.h: remove unused (and unimplemented) methods
16177
16178 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16179
16180         * text.C (getVisibleRow): honor background color
16181
16182         * PainterBase.h:
16183         * Painter.h: remove default color argument for fillRectangle
16184
16185         * text.C (backgroundColor): new method
16186
16187 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16188
16189         * text.C (getVisibleRow): adjust
16190
16191         * font.[Ch] (rectText): new method, metrics
16192         (buttonText): new method, metrics
16193
16194         * PainterBase.[hC]: make rectText and buttonText always draw and take
16195         fewer paramteres.
16196
16197 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16198
16199         * ToolbarDefaults.C (read):
16200         * MenuBackend.C (read): allow escaping in all strings
16201
16202         * BufferView_pimpl.C (insertAndEditInset): new method.
16203         (Dispatch): use insertAndEditInset whenever appropriate.
16204
16205         * BufferView_pimpl.C (insertNote): removed
16206
16207         * BufferView_pimpl.C (smartQuote): new method, moved from
16208         BufferView; if an insetquote cannot be inserted, insert a '"'
16209         character instead.
16210
16211         * BufferView2.C: remove insertCorrectQuote();
16212
16213         * lyxfunc.C (getStatus): Add support for all remaingin
16214         inset-insert lfuns.
16215
16216         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16217
16218         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16219         command (necessary to pass " as parameter of self-insert.
16220
16221         * text.C (selectWordWhenUnderCursor):
16222         (selectWord): add word_location parameter
16223         (selectWordWhenUnderCursor): same + remove special code for word
16224         boundary.
16225         (selectNextWord): use kind() to guess type of insetspecialchar,
16226         not latex().
16227
16228         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16229         (insertErtContents): create ert insets as collapsed.
16230         (readInset): better compatibility code for Info inset.
16231
16232 2001-07-20  Juergen Vigna  <jug@sad.it>
16233
16234         * lyxfunc.C (dispatch): use always LyXFind now!
16235
16236         * text2.C (init): add a reinit flag so that the LyXText can be
16237         reinited instead of deleted and reallocated (used in InsetText).
16238
16239         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16240
16241         * text.C: ditto
16242
16243         * text2.C: ditto
16244
16245 2001-07-18  Juergen Vigna  <jug@sad.it>
16246
16247         * text.C (selectNextWord): handle insets inside inset by calling
16248         always the bv->text functions so that we can go up the_locking_inset!
16249
16250         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16251         in strange locations when inside an inset!
16252
16253         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16254         handling to include insets.
16255
16256         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16257
16258 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16259
16260         * LyXAction.C (init):
16261         * commandtags.h:
16262         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16263         LIGATURE_BREAK, since the name is so stupid.
16264
16265 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16266
16267         * buffer.C (readInset): enable reading of new InsetNotes as well as old
16268         InsetInfos.
16269
16270         * FontLoader.C: remove FORMS_H_LOCATION cruft.
16271
16272         * sp_form.[Ch]: remove.
16273
16274         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16275
16276         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16277         InsetInfo.
16278
16279         * src/buffer.C (readInset): ditto.
16280
16281 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16282
16283         * BufferView_pimpl.C (specialChar): new method. Obsoletes
16284         menuSeparator(), endOfSentenceDot(), ldots() and
16285         hyphenationPoint(), which are therefore removed.
16286         (Dispatch): handle LFUN_HYPHENATION_BREAK.
16287
16288         * LyXAction.C (init):
16289         * commandtags.h: add LFUN_HYPHENATION_BREAK.
16290
16291         * paragraph.C (getWord): removed.
16292
16293         * BufferView_pimpl.C (Dispatch): use last word or selection for
16294         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16295
16296         * lyx_main.C (queryUserLyXDir): do not ask before creating
16297         user_dir, except if it has been named explicitely.
16298
16299 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16300
16301         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16302         a document of zero size.
16303
16304 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
16305
16306         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16307         approriately in the c-tor and in require().
16308         (getPackages): output the appropriate LaTeX for natbib support.
16309
16310         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16311         variables "use_natbib" and "use_numerical_citations" when reading the
16312         LyX file.
16313         (readInset): read the various natbib cite commands.
16314         (validate): white-space change.
16315
16316         * bufferparams.[Ch]: new variables "bool use_natbib" and
16317         "bool use_numerical_citations".
16318         (writeFile): output them in the LyX file.
16319
16320 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16321
16322         * lyxfunc.C (getStatus): add support for all the inset insertion
16323         commands.
16324
16325         * text2.C (insertInset):
16326         * paragraph.C (insetAllowed):
16327         * BufferView_pimpl.C (insertInset): update to take in account the
16328         renaming of insertInsetAllowed
16329
16330         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16331
16332         * text2.C (getInset): new method. returns inset at cursor position.
16333
16334         * BufferView_pimpl.C (Dispatch): changes because of this.
16335
16336         * LyXAction.C (init): rename open-stuff to inset-toggle.
16337
16338         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16339
16340         * text2.C (toggleInset): renamed from openStuff; use
16341         Inset::open().
16342
16343 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
16344
16345         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16346
16347         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16348
16349 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
16350
16351         * buffer.C (readLyXformat2): Add filename to the error dialog
16352
16353 2001-07-18  Juergen Vigna  <jug@sad.it>
16354
16355         * tabular.C (GetCellNumber): put an assert here instead of the check!
16356
16357 2001-07-17  Juergen Vigna  <jug@sad.it>
16358
16359         * BufferView_pimpl.C (toggleSelection): adapted too.
16360
16361         * text.C (selectNextWord): adapted for use with insets.
16362         (selectSelectedWord): ditto
16363
16364 2001-07-17  Juergen Vigna  <jug@sad.it>
16365
16366         * sp_spell.C (PSpell): fix initialitation order.
16367
16368 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16369
16370         * paragraph.C: spacing
16371
16372 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
16373
16374         * sp_spell.C: repair language selection for pspell
16375
16376 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16377
16378         * lyxfunc.h: change more methods to begin with lower char.
16379
16380 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
16381
16382         * buffer.C (parseSingleLyXformat2Token): Generate error insets
16383         for unknown layouts.
16384
16385 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
16386
16387         * buffer.C (readLyXformat2): Generate an error dialog if there are
16388         unknown layouts.
16389
16390 2001-07-16  Juergen Vigna  <jug@sad.it>
16391
16392         * sp_spell.C: always compile ISpell part.
16393
16394         * lyxrc.C: added use_pspell entry and it's handling.
16395
16396 2001-07-13  Juergen Vigna  <jug@sad.it>
16397
16398         * sp_spell.C: removed double includes.
16399
16400 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
16401
16402         Consistent use of Lsstream.h:
16403         * Lsstream.h: added using std::stringstream for consistencies sake.
16404
16405         * buffer.C: removed using std::stringstream
16406
16407         * lyxfont.C (stateText):
16408         * paragraph.C (asString):
16409         * text.C (selectNextWord, selectSelectedWord):
16410         * text2.C (setCounter):
16411         * vspace.C (asString, asLatexString):
16412         std::ostringstream -> ostringstream.
16413
16414 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16415
16416         * LyXAction.C: add LFUN_HELP_ABOUTLYX
16417         * commandtags.h: add LFUN_HELP_ABOUTLYX
16418         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16419
16420 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16421
16422         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16423         cursorToggle()
16424         * lyx_gui_misc.C: remove spellchecker
16425         * lyxfunc.C: showSpellchecker
16426         * sp_base.h: added
16427         * sp_ispell.h: added
16428         * sp_pspell.h: added
16429         * sp_spell.C: added
16430         * sp_form.[Ch]: removed
16431         * spellchecker.[Ch]: removed
16432
16433 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
16434
16435         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16436         is set.
16437         (simpleTeXSpecialChars): Simply print the input character without
16438         any special translation if pass_thru is set.
16439
16440         * layout.h: Added bool pass_thru to layout class for being able to
16441         implement pass through of a paragraph for Literate Programming.
16442
16443         * layout.C: add LT_PASS_THRU to LayoutTags enum.
16444         * layout.C (LyXLayout): set pass_thru to flase in constructor.
16445         * layout.C (Read): add "passthru" to list of layout tags and add
16446         code to set the pass_thru boolean when it is read.
16447
16448 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16449
16450         * trans_decl.h: remove allowed from KmodInfo
16451
16452         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16453         remove allowed code
16454         (Load): adjust
16455
16456         * paragraph_pimpl.C (erase): use boost::prior
16457
16458         * Painter.C (text): use data() instead of c_str() when length is
16459         also provided.
16460         * WorkArea.C (putClipboard): ditto
16461         * font.h (width): ditto
16462
16463         * BufferView2.C: use it-> instead of (*it). for iterators
16464         * texrow.C: ditto
16465         * paragraph_pimpl.C: ditto
16466         * paragraph.C: ditto
16467         * minibuffer.C: ditto
16468         * language.C: ditto
16469         * kbmap.C: ditto
16470         * encoding.C: ditto
16471         * counters.C: ditto
16472         * converter.C: ditto
16473         * chset.C: ditto
16474         * Variables.C: ditto
16475         * TextCache.C: ditto
16476         * MenuBackend.C: ditto
16477         * LyXAction.C: ditto
16478         * LColor.C: ditto
16479         * FloatList.C: ditto
16480         * DepTable.C: ditto
16481         * ColorHandler.C (LyXColorHandler): ditto
16482
16483 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16484
16485         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16486
16487         * text2.C (openStuff): reintroduce this method (which had been
16488         nuked in NEW_INSETS frenzy).
16489
16490         * lyxfunc.C (Dispatch): when an action has not been handled, use
16491         its name in the error message, not its number.
16492
16493         * paragraph.C (inInset): change method name to begin with lowercase.
16494
16495         * undo_funcs.C:
16496         * text2.C: updates because of this.
16497
16498 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16499
16500         * ToolbarDefaults.C (add): add spaces in error message
16501
16502 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16503
16504         * buffer.C (readLyXformat2): initialize the ert comp. variables.
16505         (readLyXformat2): rename return_par to first_par, use lyxlex's
16506         pushToken and remove the manual push handling.
16507         (parseSingleLyXformat2Token): add another ert comp. variable:
16508         in_tabular, rename return_par to first_par. handle newlines better
16509
16510 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16511
16512         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16513
16514 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16515
16516         * text2.C (getParFromID): removed
16517
16518         * buffer.C (getParFromID): new method moved form lyxtext.
16519         * BufferView2.C (insertErrors): adjust
16520         (setCursorFromRow): adjust
16521         * BufferView_pimpl.C (restorePosition): adjust
16522         * lyxfunc.C (Dispatch): adjust
16523         * undo_funcs.C (textUndo): adjust
16524         (textRedo): adjust
16525         (textHandleUndo): adjust
16526         (textHandleUndo): adjust
16527
16528 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16529
16530         * buffer.C: up' the LYX_FORMAT
16531
16532         * lyxfont.h: turn NO_LATEX on as default
16533
16534         * buffer.C (insertErtContents): new methods of tex style compability.
16535         (parseSingleLyXformat2Token): use it several places.
16536         * tabular.C (OldFormatRead): and here
16537
16538 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16539
16540         * text2.C: remove some commented code.
16541         reindent file.
16542
16543         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16544         * trans.C: changes because of the above.
16545
16546 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
16547
16548         * text2.C (setCounter): Fix counters bug with bibliography layout.
16549
16550 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16551
16552         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16553         own member functions
16554         (simpleTeXSpecialChars): ditto
16555
16556 2001-07-06  Juergen Vigna  <jug@sad.it>
16557
16558         * a lot of files: changed the access to LyXText::status and the
16559         call of undo-functions.
16560
16561         * undo.[Ch]: added a inset_id to the undo informations.
16562
16563         * undo_funcs.[Ch]: added and moved here all undo functions.
16564
16565         * lyxtext.h: give the status enum a weight, made status_ a private
16566         variable and made accessor functions for it, removed the whole bunch
16567         of undo-functions as they are now in their own file, make some
16568         functions publically available. Added function ownerParagraph with
16569         int parameter.
16570
16571         * paragraph.[Ch]: added "bool same_ids" to the constructor,
16572         made InInset() a const function, added getParFromID() function.
16573
16574         * buffer.[Ch]: added const version for inset_iterator functions,
16575         added getInsetFromID() function.
16576
16577         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16578         changed undo functions for new version.
16579
16580 2001-07-05  Juergen Vigna  <jug@sad.it>
16581
16582         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16583         unknow mechanism does not call the proper constructor but only this
16584         one also if I request the other!?
16585
16586 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16587
16588         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16589
16590         * text2.C (LyXText): use initialization lists.
16591
16592         * lyxtext.h (Selection): initialize set_ and mark_
16593         (init): remove method
16594
16595 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
16596
16597         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16598
16599 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16600
16601         * screen.[Ch]: change method names to begin with lowercase
16602
16603         * BufferView_pimpl.C (updateScrollbar): simplify further and
16604         hopefully make it a bit faster.
16605
16606 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16607
16608         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16609         calling directly xforms functions.
16610
16611         * Painter.C (Painter):
16612         * lyx_cb.C (MenuWrite):
16613         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16614         fl_display.
16615
16616         * lyx_gui.C: remove bogus guiruntime extern declaration.
16617
16618 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16619
16620         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16621         in NEW_INSETS
16622         (redoDrawingOfParagraph): ditto
16623         (redoParagraphs): ditto
16624         (cutSelection): don't create a object for CutAndPaste use the
16625         static method directly
16626         (pasteSelection): ditto
16627
16628         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16629         LyXview (+ rename)
16630
16631 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16632
16633         * modifications to some other files because of this.
16634
16635         * Makefile.am (lyx_SOURCES): add XFormsView
16636
16637         * XFormsView.[Ch]: new files
16638
16639         * LyXView.[Ch]: make LyXView a base class for the gui handling for
16640         the main window. Move the gui dependent stuff to XFormsView
16641
16642 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16643
16644         * tabular.C (GetCellInset): update cur_cell also in the row/col
16645         version of this function.
16646
16647         * lyxfunc.C: no need to include figure_form.h here.
16648
16649         * FontLoader.h:
16650         * lyxfunc.h:
16651         * lyxscreen.h:
16652         * text2.C:
16653         * lyxvc.C: no need to include forms.h here.
16654
16655 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16656
16657         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16658
16659         * lyxfunc.C (Dispatch):
16660         * Spacing.C (set):
16661         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16662         constructor argument.
16663
16664 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16665
16666         * paragraph.C (Paragraph): dont't clear, and just set layout.
16667         (makeSameLayout): use params's copy contructor.
16668
16669         * ParagraphParameters.[Ch] (makeSame): delete method
16670
16671 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
16672
16673         * Variables.[Ch]: fix indentation, rename set to isSet
16674
16675 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16676
16677         * lyxfunc.C (Dispatch): fix typo
16678
16679 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16680
16681         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16682         upper_bound.
16683
16684         * bufferlist.C: include assert.h for emergencyWrite().
16685
16686 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16687
16688         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16689           give up at last (bug #425202) !
16690
16691 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
16692
16693         * lyx_gui_misc.C:
16694         * sp_form.h:
16695         * sp_form.C:
16696         * spellchecker.h:
16697         * spellchecker.C: strip spellchecker options and bring up
16698           preferences tab instead
16699
16700 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16701
16702         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16703         the istringstream constructor
16704
16705 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16706
16707         * paragraph.C (getLayout): fix return value
16708
16709         * paragraph.h: do not declare getLayout as inline.
16710
16711         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16712
16713 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16714
16715         * lyxcursor.h (operator<): new func
16716         (operator>): new func
16717         (operator>=): new func
16718         (operator<=): new func
16719
16720         * text.C (changeCase): use selection.start and selection.end
16721         (changeRegionCase): require from to be <= to. Require par to be a
16722         valid paragraph.
16723
16724         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16725
16726 2001-06-27  Juergen Vigna  <jug@sad.it>
16727
16728         * text.C (cursorLeftOneWord): changed to return the cursor and added
16729         overlay with BufferView * parameter which calls this one.
16730         (getWord): added
16731         (selectWord): use new getWord function.
16732         (changeCase): renamed from changeWordCase as and extended to work
16733         also on selections.
16734
16735         * lyxtext.h: added enum word_location
16736
16737         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16738         changeCase as this operates now also on selections.
16739
16740 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
16741
16742         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16743
16744         * many files: send debug output to Debug::INFO instead of
16745         Debug::ANY.
16746
16747         * converter.C (View):
16748         (Convert):
16749         (Move): send debug output to Debug::FILES instead of console.
16750
16751 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
16752
16753         * lyxfunc.C (getStatus): use func_status
16754
16755         * func_status.h: new header, describing the results of
16756         LyXFunc::getStatus;
16757
16758         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16759         LFUN_MATH_HALIGN.
16760
16761 2001-06-25  The LyX Project  <jug@sad.it>
16762
16763         * buffer.C (sgmlOpenTag):
16764         (sgmlCloseTag):
16765         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
16766
16767 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16768
16769         * text2.C: remove some dead code
16770
16771         * tabular.C (GetCellInset): store the last cell checked (gotten)
16772
16773         * tabular.h: add the helper for the speedup
16774
16775         * lyxtext.h: remove some dead code
16776
16777 2001-06-26  The LyX Project  <Asger>
16778
16779         * paragraph.C: Change export to LaTeX of alignment to
16780         \begin{center} and family for better roundtrip work with reLyX.
16781
16782         * Tune the math drawing a bit.
16783
16784 2001-06-25  The LyX Project  <Asger>
16785
16786         * LColor.C (LColor): New color for math background. New color
16787         for buttons.
16788
16789 2001-06-25  The LyX Project  <jug@sad.it>
16790
16791         * lyxfunc.C (MenuNew): remove extra check for .lyx file
16792
16793         * lyxfunc.C (Open):
16794         * bufferlist.C (newFile): do not restrict to files ending with
16795         .lyx
16796
16797         * BufferView_pimpl.C (MenuInsertLyXFile):
16798
16799 2001-06-24  The LyX Project  <jug@sad.it>
16800
16801         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16802         of compare_no_case
16803
16804 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16805
16806         * lyxtext.h: rename most methods to begin with a small char.
16807         Lots of changes because of this.
16808
16809         * paragraph.C (Paragraph): do not call fitToSize
16810         (erase): call Pimpl::erase
16811         (insertChar): call Pimpl::insertChar
16812         (insertInset): call Pipl::insertInset
16813         (breakParagraph): do not call fitToSize
16814         (breakParagraphConservative): do not call fitToSize
16815         (fitToSize): remove method
16816
16817         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16818
16819 2001-06-24  The LyX Project  <Asger>
16820
16821         * Fix Qt compilation^2
16822
16823 2001-06-24  The LyX Project  <jug@sad.it>
16824
16825         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16826         depthHook(getDepth()-1).
16827
16828         * paragraph.h:
16829         * ParagraphParameters.h:
16830         * ParameterStruct.h: change type of depth to unsigned int ==
16831         depth_type. Many adaptations to other files before of that.
16832
16833 2001-06-24  The LyX Project  <Asger>
16834
16835         * Fix Qt compilation.
16836
16837 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16838
16839         * paragraph.h: renamed several methods to begin with small letter.
16840         several changes to many parts of the code because of this.
16841
16842 2001-06-23  The LyX Project  <jug@sad.it>
16843
16844         * text2.C (InsertStringAsLines): renamed from InsertStringA;
16845         rewritten to discard all double spaces when KeepEmpty is off
16846         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16847         to only handle newlines but not fiddle with spaces and friends.
16848
16849         * lyxfunc.C (MenuNew): when doing 'new from template', use
16850         template_path as default directory
16851
16852 2001-06-23  The LyX Project  <Asger>
16853
16854         * Clean-up of header file includes all over
16855         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16856
16857 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16858
16859         * paragraph.h: renamed from lyxparagraph.h
16860
16861 2001-06-23  Asger  <lyx@violet.home.sad.it>
16862
16863         * Buffer.h: Removed Buffer::resize
16864         * BufferList.h: Removed BufferList::resize
16865         * LyXView.h: Added LyXView::resize. This way, we will only reflow
16866         the document lazily when we change the width, or the font settings.
16867
16868 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16869
16870         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16871
16872 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16873
16874         * buffer.h: remove out of date comment
16875
16876 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16877
16878         * lyxscreen.h:
16879         * screen.C: fix "theoretical" GC leak
16880
16881 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16882
16883         * LaTeX.C (scanAuxFile):
16884         (deplog): remove trailing \r when reading stream (useful under
16885         win32)
16886
16887 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
16888
16889         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16890         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16891         and BufferView::theLockingInset(Inset*), so should use them and not
16892         access bv_->text->the_locking_inset directly.
16893
16894         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16895
16896 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16897
16898         * Makefile.am:
16899         * tex-defs.h: remove old unused file
16900
16901 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
16902
16903         * BufferView_pimpl.C: fix typo, remove minibuffer message
16904           when buffer has loaded
16905
16906 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16907
16908         * lyxfunc.C (Dispatch): use stringstream
16909         (MenuNew): use stringstream
16910         (Open): use stringstream
16911
16912         * importer.C (Import): use stringstream
16913
16914         * bufferview_funcs.C (CurrentState): use stringstream
16915
16916         * LaTeX.C (run): use stringstream
16917
16918         * BufferView_pimpl.C (savePosition): use stringstream
16919         (restorePosition): use stringstream
16920         (MenuInsertLyXFile): use stringstream
16921
16922 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
16923
16924         * BufferView.C:
16925         * Bullet.C:
16926         * ColorHandler.C:
16927         * FontInfo.C:
16928         * FontLoader.C:
16929         * LColor.C:
16930         * LaTeXFeatures.C:
16931         * Painter.C:
16932         * gettext.C:
16933         * lyx_gui_misc.C:
16934         * lyxserver.C:
16935         * vspace.C: removed // -*- C++ -*- as first line.
16936
16937         * lyxfind.h:
16938         * version.h: added // -*- C++ -*- as first line.
16939
16940 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16941
16942         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16943
16944         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16945         of string
16946
16947 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16948
16949         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16950         of floats.
16951
16952 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16953
16954         * gettext.C: include LString.h even when --disable-nls is on.
16955
16956 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
16957
16958         * converter.h (Get): changed argument type from int to
16959         FormatList::size_type to avoid unnecessary conversion.
16960
16961         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16962         before using it.
16963
16964 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16965
16966         * gettext.h: include LString.h even when --disable-nls is on.
16967
16968 2001-06-07  Juergen Vigna  <jug@sad.it>
16969
16970         * text.C (BreakAgain): subst spaces with tabs.
16971
16972         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16973         (resizeInsetsLyXText): set force on resizeLyXText.
16974
16975 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16976
16977         * gettext.h (gettext_init):
16978         (locale_init): use a real definition instead of a macro
16979
16980 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16981
16982         * Bufferview_pimpl.C:
16983         * LColor.h:
16984         * LColor.C: further lcolor tidies
16985
16986 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16987
16988         * BufferView_pimpl.C (updateScrollbar): simplify.
16989
16990         * BufferView2.C: don't include insets/insetinfo.h, change
16991         prototype for insertInset and call the Pimpl version. let
16992         updateInset call Pimpl version.
16993
16994         * BufferView.h: move inset_slept to BufferView::Pimpl, move
16995         gotoInset to BufferView::Pimpl
16996
16997 2001-06-01  Juergen Vigna  <jug@sad.it>
16998
16999         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
17000         inside a LockingInset (is the update needed at all?).
17001
17002 2001-05-31  Juergen Vigna  <jug@sad.it>
17003
17004         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
17005         here not the old one otherwise how should we compare it afterwards
17006         if it's the same!
17007
17008 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17009
17010         * lyxfont.C:
17011         * tabular.C:
17012         * tabular-old.C:
17013         * FontInfo.C: bring C functions into global namespace when
17014         necessary
17015
17016 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17017
17018         * LString.h: make sure config.h has been loaded before LString.h.
17019
17020         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
17021         (one for each char read by EatLine!).
17022
17023         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
17024         variables.
17025
17026 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17027
17028         * paragraph.C (BreakParagraph): set the inset_owner in the new par
17029         to the same as the par we break from
17030
17031 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17032
17033         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
17034
17035         * MenuBackend.C (expand): also create menu entries for wide
17036         versions of the floats.
17037
17038         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
17039
17040         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
17041
17042         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
17043         frontends/Makefile.am
17044
17045         * text2.C: adjust
17046         * text.C: adjust
17047
17048
17049         * tabular.C (getTokenValue): add std::
17050
17051         * tabular-old.C (getTokenValue): add std::
17052         (getTokenValue): ditto
17053         (getTokenValue): ditto
17054
17055         * screen.C (ToggleSelection): adjust
17056
17057         * lyxtext.h: put selection cursors inside a Selection struct.
17058
17059         * lyxfunc.C (moveCursorUpdate): adjust
17060
17061         * lyxfont.C (latexWriteStartChanges): add std::
17062
17063         * lyxfind.C: adjust
17064
17065         * font.h: delete with(char const *, LyXFont const &)
17066
17067         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
17068
17069         * FontInfo.C (getFontname): add std::
17070
17071         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
17072         (workAreaButtonPress): adjust
17073         (tripleClick): adjust
17074         (update): adjust
17075         (moveCursorUpdate): adjust
17076         (Dispatch): adjust
17077
17078         * BufferView2.C (gotoInset): adjust
17079
17080 2001-05-30  Juergen Vigna  <jug@sad.it>
17081
17082         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
17083         to check pspell I add this as default as I now have new pspell
17084         libraries and they seem to use this.
17085
17086 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17087
17088         * text2.C (CutSelection): make the cursor valid before the call to
17089         ClearSelection.
17090
17091 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17092
17093         * kbsequence.C (parse): de-uglify a bit the parsing code, which
17094         relied on 0 terminated strings and other horrors. Bug found due to
17095         the new assert in lyxstring!
17096
17097         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
17098         KP_ keys.
17099
17100 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17101
17102         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
17103         to latinkeys.bind.
17104
17105         * lyxfunc.C (processKeySym): change method of getting to the
17106         self-insert char.
17107
17108         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
17109         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
17110         * BufferView_pimpl.[Ch]: here as private methods.
17111
17112 2001-05-28  Juergen Vigna  <jug@sad.it>
17113
17114         * text.C (SetHeightOfRow): added the update() call again as it is
17115         needed to initialize inset dimensions!
17116
17117 2001-05-16  Juergen Vigna  <jug@sad.it>
17118
17119         * text2.C (SetCharFont): Add new function with BufferView * and
17120         bool toggleall parameters for setting insets internal fonts.
17121         (SetFont): Freeze the undo as we may change fonts in Insets and
17122         all this change should be inside only one Undo!
17123
17124         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
17125         setting font's in insets as for them we have the SetFont function!
17126
17127 2001-05-15  Juergen Vigna  <jug@sad.it>
17128
17129         * text2.C (ClearSelection): to be sure we REALLY don't have any
17130         selection anymore!
17131
17132         * tabular.C (TeXCellPreamble): fixed the left border problem for
17133         multicolumn cells.
17134
17135 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
17136
17137         * LaTeX.C (deplog): Make sure that the main .tex file is in the
17138         dependancy file
17139
17140 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17141
17142         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
17143         LFUN_BREAKPARAGRAPH.
17144
17145         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
17146         help test to "internal only", similar for LFUN_INSERT_URL
17147
17148         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
17149         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
17150         auto_region_delete and deadkeys.
17151
17152 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
17153
17154         * LColor.h:
17155         * LColor.C: remove some dead entries, tidy a little
17156
17157 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17158
17159         * lyxfunc.C (processKeySym): comment the Escape handling, remove
17160         commented code.
17161         (Dispatch): implement LFUN_ESCAPE
17162
17163         * commandtags.h: add LFUN_ESCAPE
17164
17165         * LyXAction.C (init): add entry for LFUN_ESCAPE
17166
17167         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17168         Remove commented code.
17169         (insertNote): moved here
17170         (open_new_inset): moved here
17171
17172         * BufferView[2].[Ch]: move insertNote and open_new_inset to
17173         BufferView_pimpl
17174
17175 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17176
17177         * kbmap.C (findbinding): clean it up and make it work correctly.
17178
17179         * lyx_main.C (init): do not pass argc and argv as parameters
17180
17181 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
17182
17183         * buffer.C: fix path for OS/2 & Win32
17184
17185         * lyx_gui.C:
17186         * lyx_main:
17187         * lyx_main.C: Added os:: class.
17188
17189         * os2_defines.h: update
17190
17191 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17192
17193         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17194         better by trying again with reduced state.
17195
17196 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17197
17198         * lyxrc.C (read): print error about invalid key sequence only when
17199         debugging (because not all latinX keysyms are known to some X
17200         servers)
17201
17202         * kbsequence.C (getiso): add a few std:: qualifiers
17203         (getiso): comment out extra return statement.
17204
17205 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17206
17207         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17208         handling.
17209         (Dispatch): enhance the accent inset a bit. (not perfect)
17210
17211 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17212
17213         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17214
17215 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17216
17217         * bufferlist.C (emergencyWrite): fix assert() call
17218
17219 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
17220
17221         * text.C (InsertChar): Added trivial patch to only send the "you
17222         can not do multiple spaces this way" message once during a
17223         session.
17224
17225 2001-05-08  Baruch Even  <baruch@lyx.org>
17226
17227         * Makefile.am: Changed order of libraries to get LyX to link properly
17228         with the gnome frontend.
17229
17230 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17231
17232         * LaTeXFeatures.h: add a std:: qualifier
17233
17234 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17235
17236         * paragraph.C (String): use stringstream
17237
17238 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17239
17240         * paragraph.C (writeFile): remove footflag arg
17241
17242         * buffer.C (makeLaTeXFile): use stringstream
17243         (latexParagraphs): remove footnot gurba
17244
17245         * LaTeXFeatures.C (getPackages): use stringstream
17246         (getMacros): likewise
17247         (getTClassPreamble): likewise
17248         (getFloatDefinitions): new method
17249
17250         * paragraph.C (writeFile): reindent
17251         (Erase): reindent
17252
17253         * WorkArea.h: revert the xpos + etc changes.
17254
17255         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17256
17257         * lyxparagraph.[Ch]: add copy constructor, remove Clone
17258
17259         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17260         (pasteSelection): likewise
17261         * text2.C (CreateUndo): likewise
17262
17263 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17264
17265         * minibuffer.C (peek_event): temporarily reduce the functionality
17266         of the minibuffer (to allow args on lfuns)
17267
17268         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17269         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17270
17271         * buffer.C (readInset): add compability reading of old float
17272         lists, add reading of new style float list.
17273         (readInset): avoid reevaluation of inscmd.getCmdName()
17274         (getLists): reindent
17275
17276         * MenuBackend.C (MenuItem): implement parsing of
17277         md_floatlistinsert and md_floatinsert.
17278         (expand::LastFiles): move initalizaton of iterators out of loop,
17279         avoid reevaluation.
17280         (expand::Documents): introduce typdedef vector<string> Strings,
17281         and use it.
17282         (expand::ExportFormats): introduce typedef vector<Format const *>
17283         Formats, and use it.
17284         (expand): implement FloatListInsert and FloatInsert.
17285
17286         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17287         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17288         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17289
17290         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17291         handling.
17292         (Dispatch::LFUN_FLOAT_LIST): implement
17293
17294 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
17295
17296         * LaTeX.C (run): Fix problem with --export code.
17297
17298 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17299
17300         * BufferView.[Ch] (workarea): removed.
17301         (getClipboard) new method; wrapper for workarea()->getClipboard()
17302
17303         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17304         bug.
17305
17306         * WorkArea.h (width, height, xpos, ypos): These methods all
17307         returned the dimensions of the work_area sub-area of WorkArea,
17308         resulting in a position error if the WorkArea were resized. Now
17309         return the dimensions of the entire WorkArea.
17310
17311         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17312
17313 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17314
17315         * LaTeX.C (deplog): correct the syntax of regex reg1
17316
17317 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17318
17319         * undo.C: remove !NEW_INSETS cruft
17320
17321 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17322
17323         * text2.C: remove !NEW_INSETS cruft
17324
17325         * text.C: remove !NEW_INSETS cruft
17326
17327         * tabular.C: remove !NEW_INSETS cruft
17328
17329         * spellchecker.C: remove !NEW_INSETS cruft
17330
17331         * lyxtext.h: remove !NEW_INSETS cruft
17332
17333         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17334
17335         * lyxfunc.C: remove !NEW_INSETS cruft
17336
17337         * lyxfind.C: remove !NEW_INSETS cruft
17338
17339         * lyx_cb.C: remove !NEW_INSETS cruft
17340
17341         * figureForm.C: remove  !NEW_INSETS cruft
17342
17343         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17344
17345         * buffer.[Ch]: remove !NEW_INSETS cruft
17346
17347         * ToolbarDefaults.C: remove !NEW_INSETS cruft
17348
17349         * CutAndPaste.C: remove !NEW_INSETS cruft
17350
17351         * BufferView_pimpl.C: remove !NEW_INSETS cruft
17352
17353         * BufferView2.C: remove !NEW_INSETS cruft
17354
17355         * BufferView.h: remove !NEW_INSETS cruft
17356
17357 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17358
17359         * Lsstream.h: include LString.h before the sstream headers to
17360         fix problem with gcc 2.95.3 and lyxstring
17361
17362 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17363
17364         * lyx_main.C: add using directives when needed for C functions
17365         declared in std:: namespace.
17366
17367 2001-04-27  Juergen Vigna  <jug@sad.it>
17368
17369         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17370         (SetHeightOfRow): comment out the update call should not be needed!
17371
17372 2001-04-13  Juergen Vigna  <jug@sad.it>
17373
17374         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17375         (LyXTabular): tried to minimize operator= operations (and realized
17376         hopfully Lars wish).
17377
17378 2001-04-27  Juergen Vigna  <jug@sad.it>
17379
17380         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17381
17382 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17383
17384         * lyxfunc.C (Dispatch): hack to make listof algorithm work
17385
17386         * buffer.C (readInset): hack to make listof algorithm work
17387
17388         * BufferView_pimpl.C: hack to make listof algorithm work
17389
17390 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17391
17392         * LyXAction.C: removed all !NEW_INSETS cruft
17393         (init): moved lfun_item in method
17394
17395         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17396
17397 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17398
17399         * BufferView2.C (theLockingInset): white space.
17400
17401 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17402
17403         * minibuffer.C: include <iostream>
17404
17405         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17406
17407         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17408
17409         * commandtags.h: add LFUN_TRANSPOSE_CHARS
17410
17411         * text.[Ch] (TransposeChars): new method
17412
17413 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17414
17415         * call message directly through LyXView instead of through LyXFunc
17416         * BufferView2.C: adjust
17417         * BufferView_pimpl.C: adjust
17418         * FontLoader.C: adjust
17419         * buffer.C: adjust
17420         * bufferview_funcs.C: adjust
17421         * converter.C: adjust
17422         * figureForm.C: adjust
17423         * importer.C: adjust
17424         * lyx_cb.C: adjust
17425         * lyx_gui_misc.C: adjust
17426         * lyxfunc.C: adjust
17427         * lyxvc.C: adjust
17428         * text2.C: adjust
17429         + more files in subdirs
17430
17431         * lyxparagraph.h (size): move up int file
17432         (GetLayout): ditto
17433
17434         * adjust all uses of Assert to lyx::Assert.
17435
17436         * BufferView2.C (ChangeCitationsIfUnique): adjust for
17437         lyxfunctional in namespace lyx
17438         * layout.C (hasLayout): ditto
17439         (GetLayout): ditto
17440         (GetLayout): ditto
17441         (delete_layout): ditto
17442         (NumberOfClass): ditto
17443         * converter.C (GetFormat): ditto
17444         (GetNumber): ditto
17445         (Add): ditto
17446         (Delete): ditto
17447         (SetViewer): ditto
17448         * bufferlist.C (getFileNames): ditto
17449         (emergencyWriteAll): ditto
17450         (exists): ditto
17451         (getBuffer): ditto
17452         * MenuBackend.C (hasSubmenu): ditto
17453         (hasMenu): ditto
17454         (getMenu): ditto
17455         * BufferView_pimpl.C (getInsetByCode): ditto
17456
17457 2001-04-18  Juergen Vigna  <jug@sad.it>
17458
17459         * vspace.C (asLatexString): fixed the 100% problem.
17460
17461 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17462
17463         * lyxfunc.C (Dispatch):
17464         * minibuffer.C:
17465         * minibuffer.h: add a few std:: qualifiers
17466
17467 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17468
17469         * minibuffer.[Ch]: reimplement so that commands is initiated and
17470         run from lyxfunc, simplified som handling, and made the completion
17471         and history code for complete. wip.
17472
17473         * lyxfunc.C (processKeySym): call message
17474         (miniDispatch): new temporary method
17475         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17476         (LFUN_MESSAGE): implement
17477         (LFUN_MESSAGE_PUSH): implement
17478         (LFUN_MESSAGE_POP): implement
17479         (initMiniBuffer): the initial/defualt minibuffer message.
17480
17481         * lyxfont.[Ch]: inline some more getters
17482
17483         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17484
17485         * lyx_gui_misc.[Ch] (WriteStatus): remove method
17486
17487         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17488         (AutoSave): use LFUN_MESSAGE
17489         (Reconfigure): ditto
17490
17491         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17492
17493         * figureForm.C: use LFUN_MESSAGE
17494
17495         * converter.C (runLaTeX): use LFUN_MESSAGE
17496
17497         * bufferview_funcs.C: use LFUN_MESSAGE
17498         (Melt): ditto
17499         (changeDepth): ditto
17500
17501         * bufferparams.h: use boost::
17502
17503         * bufferlist.h: inherit privately from noncopyable
17504
17505         * bufferlist.C (loadLyXFile): remove some commented code.
17506
17507         * buffer.C (runChktex): use LFUN_MESSAGE
17508
17509         * ShareContainer.h: inherit privately from noncopyable
17510
17511         * ParagraphParameters.[hC] (depth): inline it.
17512
17513         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17514         methods.
17515         (message): new method
17516         (messagePush): ditto
17517         (messagePop): ditto
17518         (show): init minibuffer
17519         (showState): direct call
17520
17521         * LaTeX.[Ch]: inherit privately from noncopyable
17522         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17523         instead of WriteStatus.
17524
17525         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17526
17527         * BufferView_pimpl.C (buffer): don't init minibuffer
17528         (workAreaButtonPress): use LFUN_MESSAGE
17529         (workAreaButtonRelease): ditto
17530         (savePosition): ditto
17531         (restorePosition): ditto
17532         (MenuInsertLyXFile): ditto
17533         (workAreaExpose): don't init minibuffer
17534         (update): remove commented code, simplify
17535
17536         * BufferView2.C (openStuff): use LFUN_MESSAGE
17537         (toggleFloat): ditto
17538         (menuUndo): ditto
17539         (menuRedo): ditto
17540         (copyEnvironment): ditto
17541         (pasteEnvironment): ditto
17542         (copy): ditto
17543         (cut): ditto
17544         (paste): ditto
17545         (gotoInset): ditto
17546         (updateInset): remove some commented code
17547
17548         * lastfiles.h: inherit privately from noncopyable
17549         * layout.h: ditto
17550         * lyx_gui.h: ditto
17551         * lyx_main.h: ditto
17552         * lyxlex.h: ditto
17553         * lyxlex_pimpl.h: ditto
17554
17555         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17556         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17557         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17558
17559         * LyXAction.h: inherit privately from noncopyable, add methods
17560         func_begin, func_end, returning iterators to the func map.
17561
17562         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17563         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17564         (func_begin): new method
17565         (func_end): new method
17566
17567         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17568         and not)
17569         (copySelection): ditto
17570         (pasteSelection): ditto
17571
17572         * BufferView.C: whitespace change
17573         * BufferView.h: inherit privately from noncopyable
17574
17575 2001-04-16  Allan Rae  <rae@lyx.org>
17576
17577         * tabular-old.C (l_getline):
17578         * spellchecker.C (sc_check_word):
17579         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17580         an unrecognised preprocessor directive.  So ensure they're wrapped.
17581
17582 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
17583
17584         * src/exporter.C (Export): Give an error message when path to file
17585         contains spaces.
17586
17587 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
17588
17589         * LaTeX.C (deplog): Always check that foundfile exists.
17590
17591 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17592
17593         * lyx_main.h:
17594         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17595
17596 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17597
17598         * tabular.[Ch] (getLabelList): implement new method
17599
17600         * minibuffer.h: comment ouf setTiimer
17601
17602         * minibuffer.C (ExecutingCB): constify res
17603         (peek_event): constify s
17604         (Set): constify ntext
17605         (Init): constify nicename
17606
17607         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17608
17609         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17610         (savePosition): use two params to Minibuffer::Set
17611         (restorePosition): ditto
17612
17613 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17614
17615         * lyx_main.C: include language.h
17616
17617         * Makefile.am (lyx_main.o): add language.h
17618
17619 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17620
17621         * exporter.C:
17622         * paragraph.C:
17623         * screen.C:
17624         * tabular.C:
17625         * CutAndPaste.C: include gettext.h
17626
17627         * lyxfont.h: remove old hack with ON and OFF.
17628
17629         * lyxparagraph.h:
17630         * lyxfont.h: do not include language.h...
17631
17632         * BufferView2.C:
17633         * LaTeXFeatures.C:
17634         * Painter.C:
17635         * bufferview_funcs.C:
17636         * font.C:
17637         * lyxfont.C:
17638         * text.C:
17639         * text2.C:
17640         * trans_mgr.C:
17641         * paragraph.C: ... but do it here instead
17642
17643 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17644
17645         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17646
17647         * tabular.C: small reformat
17648
17649         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17650         NEW_INSETS version
17651         (GetChar): ditto
17652         (BreakParagraph): ditto
17653         (SetOnlyLayout): ditto
17654         (SetLayout): ditto
17655
17656         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17657         with one arg less.
17658
17659         * lastfiles.C: removed most using decl, add std:: where needed
17660
17661         * buffer.C: ws changes
17662
17663         * MenuBackend.C (class compare_format): put into anon namespace
17664         (expand): constify label, names, action, action2
17665         (expand):
17666
17667         * text.C (SingleWidth): constify font
17668         (IsBoundary): constify rtl2
17669         (GetVisibleRow): constify ww
17670
17671         * LaTeX.C (deplog): constify logfile
17672
17673         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17674         start_x, end_x
17675         (workAreaExpose): constify widthChange, heightChange
17676
17677         * lyxrow.C (par): moved
17678         (height): moved
17679         (next): moved
17680         * lyxrow.h: as inlines here
17681
17682         * lyxfont.h (shape): moved from lyxfont.C
17683         (emph): moved from lyxfont.C
17684
17685         * lyxfont.C (LyXFont): use initialization list for all
17686         constructors
17687         (shape): move to lyxfont.h as inline
17688         (emph): move to lyxfont.h as inline
17689
17690
17691 2001-04-04  Juergen Vigna  <jug@sad.it>
17692
17693         * vspace.C: had to include stdio.h for use of sscanf
17694
17695 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
17696
17697         * BufferView.h:
17698         * BufferView_pimpl.h: remove xforms cruft. Both classes are
17699         independent of xforms.
17700
17701 2001-04-02  Juergen Vigna  <jug@sad.it>
17702
17703         * spellchecker.C: fixed namespace placing!
17704
17705 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
17706
17707         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17708         the LyXParagraph * is 0.
17709
17710 2001-03-29  Juergen Vigna  <jug@sad.it>
17711
17712         * vspace.C: added support for %, c%, p%, l%.
17713         (stringFromUnit): added helper function.
17714         (asLatexString): changed to give right results for the %-values.
17715
17716         * buffer.C: convert the widthp in a width%.
17717
17718 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
17719
17720         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17721         figureForm.[Ch].
17722
17723         * figureForm.[Ch]: stripped the FD_from_figure manipulation
17724         code out of lux_cb.[Ch], ready for its (imminent?) removal.
17725
17726         * lyx_cb.[Ch]: see above.
17727
17728         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17729         form1.[Ch].
17730
17731         * form1.[Ch]:
17732         * lyx.[Ch]: replaced by figure_form.[Ch].
17733
17734         * lyx_gui.C:
17735         * lyx_gui_misc.C:
17736         * lyxfunc.C: changed headers associated with above changes.
17737
17738 2001-03-27  Juergen Vigna  <jug@sad.it>
17739
17740         * BufferView_pimpl.C: set the temporary cursor right!
17741
17742 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
17743
17744         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17745
17746 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
17747
17748         * LString.h: removed "using std::getline"!
17749
17750         * BufferView_pimpl.C (Dispatch): changes due to changes in
17751         InsetInclude::Params.
17752
17753         * buffer.C (tag_name): removed redundant break statements as they were
17754         producing lots of warnings with my compiler.
17755
17756 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17757
17758         * LString.h: add "using std::getline" when using the real <string>.
17759
17760 2001-03-23  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17761
17762         * buffer.C: removed bitset usage.
17763         PAR_TAG moved to an anonymous name space.
17764         (tag_name): new funtion, also in the anonymous namespace.
17765         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17766         (makeDocBookFile): clean code. Completed transition from string arrays
17767         to string vectors.
17768         (SimpleDocBookOnePar): code clean.
17769
17770 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17771
17772         * tabular.C: add some comments.
17773
17774 2001-03-22  Juergen Vigna  <jug@sad.it>
17775
17776         * buffer.C (parseSingleLyXformat2Token): redone the minipage
17777         compatibility read a bit and fixed bug with minipage in different
17778         depth.
17779
17780 2001-03-21  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17781
17782         * buffer.C (pop_tag): removed.
17783         (push_tag): removed.
17784         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17785         array replaced with vector. Added support for CDATA sections.
17786         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17787         at any nest level.
17788         (makeDocBookFile): XML conformant declaration of CDATA section,
17789         fixed bug related to <emphasis> in the first paragraph char.
17790         (sgmlOpenTag): exclude empty tags.
17791         (sgmlCloseTag): ditto.
17792
17793         * buffer.h (pop_tag): removed.
17794         (push_tag): removed.
17795
17796 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
17797
17798         * language.h (Languages): added size_type and size().
17799
17800 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17801
17802         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17803         response on compability reading of minipages. One probliem is that
17804         the old usage of minipages was flertydig
17805
17806         * several files here and in subdirs: don't use static at file
17807         scope use anon namespaces instead.
17808
17809 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
17810
17811         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17812         LaTeX output. This is necessary for Literate document
17813         processing.
17814
17815 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17816
17817         * buffer.C: insert hfill when needed.
17818
17819         * tabular.C (l_getline): use string::erase, small whitespace change.
17820
17821         * BufferView_pimpl.C: try the anon namespace.
17822         * WorkArea.C: ditto
17823
17824 2001-03-16  Juergen Vigna  <jug@sad.it>
17825
17826         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17827         otherwise it won't open options-dialogs.
17828
17829         * buffer.C: honor pextraWidth(p) on converting minipages.
17830
17831         * tabular.C (l_getline): changed the functions to strip trailing \r.
17832
17833 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
17834
17835         * BufferView_pimpl.C:
17836         * minibuffer..C: added "using SigC::slot" declaration.
17837
17838 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17839
17840         * lyxlex_pimpl.h: noncopyable is in namespace boost.
17841
17842         * text2.C: ditto
17843
17844         * text.C: ditto
17845
17846         * paragraph.C: ditto
17847
17848         * lyxtext.h: NO_PEXTRA
17849
17850         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17851
17852         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17853         * ParameterStruct.h: ditto
17854         * ParagraphParameters.h: ditto
17855         * lyxparagraph.h: ditto
17856
17857 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17858
17859         * buffer.C: add compability for minipage alignment.
17860         (latexParagraphs): remove unwanted pextra check.
17861
17862         * several files: remove CXX_WORKING_NAMESPACES
17863
17864         * buffer.C (pop_tag): tie is in namespace boost
17865
17866         * BufferView.h: noncopyable is in namespace boost
17867         * lyxlex.h: ditto
17868         * lyx_main.h: ditto
17869         * lyx_gui.h: ditto
17870         * layout.h: ditto
17871         * lastfiles.h: ditto
17872         * bufferlist.h: ditto
17873         * ShareContainer.h: ditto
17874         * LyXView.h: ditto
17875         * LyXAction.h: ditto
17876         * LaTeX.h: ditto
17877
17878 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17879
17880         * Merging changes from BRANCH_MVC back into HEAD.
17881
17882         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17883
17884 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
17885
17886         * BufferView_pimpl.C: change from intl.C
17887
17888         * combox.h:
17889         * combox.C:
17890         * Makefile.am: move combox.*
17891
17892         * form1.h:
17893         * form1.C:
17894         * lyx_gui.C:
17895         * intl.h:
17896         * intl.C: remove dialog (covered by prefs)
17897
17898 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17899
17900         * lyxfunc.C (Dispatch): removed redundant break statement.
17901
17902 2001-03-14  Juergen Vigna  <jug@sad.it>
17903
17904         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17905
17906 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17907
17908         * buffer.C: add hack to fix compability reading of minipages.
17909
17910 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
17911
17912         * buffer.C (getLists): Cleanup.
17913
17914 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17915
17916         * lyxfont.C (update): don't honor toggleall on font size.
17917
17918 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
17919
17920         * bmtable.c:
17921         * bmtable.h:
17922         * Makefile.am: moved to frontends/xforms/
17923
17924         * lyx_gui_misc.C:
17925         * lyxfunc.C:
17926         * BufferView_pimpl.C: changes for moved mathpanel
17927
17928 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17929
17930         * gettext.h: fix gettext_init() in --disable-nls
17931
17932 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17933
17934         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17935
17936 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
17937
17938         * lyx.C:
17939         * lyx.h: strip external form
17940
17941 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17942
17943         * BufferView_pimpl.C: add comment, destroySplash()
17944
17945 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17946
17947         * BufferView_pimpl.C:
17948         * LyXAction.C:
17949         * buffer.C:
17950         * commandtags.h:
17951         * lyxfunc.C: use re-worked insetinclude
17952
17953 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17954
17955         * buffer.C: add using std::stringstream.
17956
17957         * lyx_cb.C: readd using std::ios.
17958
17959         * buffer.C: add using std::map.
17960
17961         * BufferView_pimpl.C: add using std::vector.
17962
17963         * ShareContainer.h: add std:: to swap.
17964
17965         * buffer.h: add some typedefs
17966         * buffer.C (getLists): use them
17967         (getLists): renamed from getTocList.
17968         add a counter for the different float types and use it in the
17969         generated string.
17970         (getLists): use the same counter for the NEW_INSETS and the "non"
17971         NEW_INSETS
17972
17973         * lyx_cb.h: remove unused items, includes, using etc.
17974
17975         * ShareContainer.h: remove some commented code, add more comments
17976         and "documentation".
17977
17978 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17979
17980         * buffer.C (getTocList): make the list also when NEW_INSETS is
17981         defined.
17982
17983         * buffer.h: remove TocType
17984
17985         * buffer.C (getTocList): change to return a map<string,
17986         vector<TocItem> >, implement for dynamic number of list.
17987
17988         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17989         * text2.C (PasteSelection): adjust
17990         * CutAndPaste.C (pasteSelection): adjust
17991
17992         * FloatList.C (FloatList): update from the new_insets branch.
17993         * Floating.[Ch]: ditto
17994         * LaTeXFeatures.C: ditto
17995         * buffer.C: ditto
17996         * lyxlex_pimpl.C: ditto
17997
17998         * paragraph.C (Last): remove when NEW_INSETS is defined.
17999
18000         * other file: changes because of the above.
18001
18002 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18003
18004         * lyxparagraph.h: rename next to next_, previous to previous_,
18005         make them private for NEW_INSETS. Rename Next() to next(),
18006         Previous() to previous().
18007
18008         * other files: changes because of the above.
18009
18010 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
18011
18012         * BufferView.h:
18013         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
18014         problem.
18015
18016 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18017
18018         * main.C (main): pass lyx_localedir to gettext_init().
18019
18020         * gettext.h: remove locale_init and gettext_init macros
18021
18022         * gettext.C (locale_init): new function
18023         (gettext_init): new function
18024
18025         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
18026         setlocale().
18027
18028 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
18029
18030         * Moved credits to frontends:
18031         * credits.[Ch]: removed
18032         * credits_form.[Ch]: removed
18033         * lyx_gui_misc.C: remove credits stuff
18034         * Makefile.am:
18035
18036 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18037
18038         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
18039
18040         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
18041         unneeded destructor.
18042
18043         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
18044         a standalone pointer again.
18045
18046         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
18047
18048 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
18049
18050         * Makefile.am:
18051         * filedlg.h:
18052         * filedlg.C:
18053         * LyXAction.C:
18054         * ToolbarDefaults.C:
18055         * bufferlist.C:
18056         * commandtags.h:
18057         * form1.C:
18058         * form1.h:
18059         * lyx_cb.C:
18060         * lyx_cb.h:
18061         * lyxfunc.h:
18062         * lyxfunc.C:
18063         * BufferView_pimpl.C: use new file dialog in GUII
18064
18065         * lyx_cb.h:
18066         * lyx_cb.C: remove LayoutsCB to Toolbar
18067
18068 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18069
18070         * ShareContainer.h (get): add std:: qualifier
18071
18072 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18073
18074         * ShareContainer.h: define a proper ShareContainer::value_type
18075         type (and use typename to please compaq cxx)
18076
18077 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18078
18079         * lyxparagraph.h: move serveral local vars to
18080         ParameterStruct/ParagraphParameters., use ShareContainer in
18081         FontTable., make vars in FontTable private and add getter and
18082         setter.
18083
18084         * paragraph.C: changes because of the above.
18085
18086         * lyxfont.h: remove copy constructor and copy assignment. (the
18087         default ones is ok), move number inside FontBits. move inlines to
18088         lyxfont.C
18089
18090         * lyxfont.C: add number to initializaton of statics, move several
18091         inlines here. constify several local vars. some whitespace
18092         cleanup. Dont hide outerscope variables.
18093
18094         * Spacing.h: add two new constructors to match the set methods.
18095
18096         * ShareContainer.h: new file, will perhaps be moved to support
18097
18098         * ParameterStruct.h: new file
18099
18100         * ParagraphParameters.h: new file
18101
18102         * ParagraphParameters.C: new file
18103
18104         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
18105         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
18106
18107         * BufferView_pimpl.C: ParagraphParameter changes.
18108         * buffer.C: Likewise.
18109         * bufferview_funcs.C: Likewise.
18110         * text.C: Likewise.
18111         * text2.C: Likewise.
18112
18113 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18114
18115         * lyxfind.C (LyXReplace): do not redefine default argument in
18116         implementation.
18117         (IsStringInText): ditto
18118         (SearchForward): ditto
18119         (SearchBackward): ditto
18120
18121 2001-03-06  Juergen Vigna  <jug@sad.it>
18122
18123         * lyxfind.C (IsStringInText): put parentes around expressions.
18124
18125 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
18126
18127         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
18128
18129 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
18130
18131         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
18132
18133         * stl_string_fwd.h: add comment
18134
18135         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
18136
18137         * tabular.h:
18138         * tabular.C: remove unused DocBook methods
18139
18140         * intl.C:
18141         * language.C:
18142         * paragraph.C:
18143         * buffer.C:
18144         killed DO_USE_DEFAULT_LANGUAGE
18145
18146 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18147
18148         * lyx_gui.C: do not include language.h.
18149
18150         * bufferview_funcs.C (ToggleAndShow): do not provide optional
18151         arguments in function implementation.
18152
18153 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18154
18155         * BufferView_pimpl.C: add <ctime>
18156
18157 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18158
18159         * BufferView_pimpl.C: add using std::find_if
18160
18161 2001-02-27  José Matos  <jamatos@fep.up.pt>
18162
18163         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18164         by OnlyPath.
18165
18166 2001-02-11  José Matos  <jamatos@fep.up.pt>
18167
18168         * buffer.C (makeDocBookFile): command styles now have a parameter as
18169         "title" by default.
18170
18171 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
18172
18173         * layout_forms.[Ch]: removed
18174         * lyx_cb.[Ch]: out character
18175         * lyx_gui.C: out character
18176         * lyx_gui_misc.C: out character
18177         * bufferview_funcs.C: : out character,
18178         added toggleall as parameter in ToggleAndShow
18179
18180 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
18181
18182         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18183
18184         * text2.C (SetCurrentFont): Disable number property at boundary.
18185
18186 2001-02-26  Juergen Vigna  <jug@sad.it>
18187
18188         * lyxfunc.C (getStatus): added a string argument override function so
18189         that this is correctly called from LyXFunc::Dispatch if it contains a
18190         do_not_use_argument which is used!
18191         (Dispatch): added check for "custom" export and call appropriate func.
18192
18193 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
18194
18195         * lyxrc.C: Add language_command_local, language_use_babel and
18196         language_global_options.
18197
18198         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18199
18200         * buffer.C (makeLaTeXFile): Use language_use_babel and
18201         language_global_options.
18202
18203 2001-02-23  Juergen Vigna  <jug@sad.it>
18204
18205         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18206         which works with LyXText and putted it inside BufferView. Here now we
18207         only call for that part the BufferView::Dispatch() function.
18208
18209         * BufferView.C (Dispatch): added.
18210
18211         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18212         functions which needs to use a LyXText over from LyXFunc.
18213         (MenuInsertLyXFile): added
18214         (getInsetByCode): added
18215         (moveCursorUpdate): added
18216         (static TEXT): added
18217
18218 2001-02-22  Juergen Vigna  <jug@sad.it>
18219
18220         * BufferView_pimpl.C (update): call a status update to see if LyXText
18221         needs it.
18222
18223 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18224
18225         * vc-backend.C (revert): implement for CVS
18226         (getLog): implement for CVS
18227
18228 2001-02-20  Juergen Vigna  <jug@sad.it>
18229
18230         * text2.C (ClearSelection): added BufferView param for inset_owner call
18231
18232         * lyxfunc.C (TEXT): added this function and use it instead of
18233         directly owner->view()-text of getLyXText().
18234
18235 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
18236
18237         * src/layout_forms.C: out preamble
18238         * src/layout_forms.h: out preamble
18239         * src/lyx_cb.C: out preamble
18240         * src/lyx_cb.h: out preamble
18241         * src/lyx_gui.C: out preamble
18242         * src/lyx_gui_misc.C: out preamble
18243         * src/lyxfunc.C: connect with guii preamble
18244
18245 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
18246
18247         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18248
18249 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
18250
18251         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18252         whether to run bibtex.
18253
18254 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
18255
18256         * Makefile.am (lyx_SOURCES): Remove BackStack.h
18257
18258 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
18259
18260         * Makefile.am (lyx_SOURCES): removed bibforms.h
18261
18262         * vspace.h: doxygen
18263
18264         * text.C (GetVisibleRow): make several local vars const
18265
18266         * tabular.C: small cleanup.
18267
18268         * lyxserver.C (callback): use compare instead of strncmp
18269
18270         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18271         inlines to after class or to paragraph.C
18272
18273         * lyxfont.h: remove friend operator!=
18274
18275         * converter.h: move friend bool operator< to non friend and after
18276         class def.
18277
18278         * combox.h: small cleanup
18279
18280         * buffer.h: doxygen, remove unused constructor, move inclas inlies
18281         to inlines after class def.
18282
18283         * buffer.C (pop_tag): use string operations instead of strcmp
18284
18285         * bmtable.c: doxygen, small cleanup
18286
18287         * LaTeX.h: remove friend operator==
18288
18289 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
18290
18291         * screen.C:
18292         * lyxrc.[Ch]:
18293         * lyxfunc.C:
18294         * lyxfont.[Ch]:
18295         * lyx_cb.C:
18296         * intl.[Ch]:
18297         * commandtags.h:
18298         * buffer.C:
18299         * WorkArea.[Ch]:
18300         * LyXAction.C:
18301         * BufferView_pimpl.C:
18302         * BufferView.[Ch]: remove cruft
18303
18304 2001-02-14  Juergen Vigna  <jug@sad.it>
18305
18306         * lyxfunc.C: removed #if 0 unused code
18307
18308         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18309
18310         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18311
18312         * text2.C (SetSelection): added a BufferView * parameter
18313
18314 2001-02-13  Juergen Vigna  <jug@sad.it>
18315
18316         * lyxfunc.C (Dispatch): fixed protected blank problem.
18317         * BufferView2.C (protectedBlank): added LyxText * parameter.
18318
18319         * tabular.C (AppendRow): forgot to set row_info of newly added row.
18320         (AppendColumn): same as above for column_info.
18321
18322         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18323         (moveCursorUpdate): use a LyXText param for support of InsetText.
18324
18325         * BufferView_pimpl.C (doubleClick): added support for InsetText.
18326         (tripleClick): ditto
18327
18328         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18329
18330         * BufferView_pimpl.C (update): added LyXText param to honor insets.
18331
18332         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18333
18334         * text2.C (SetSelection): set correct update status if inset_owner
18335         (ToggleFree): ditto
18336
18337 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
18338
18339         * tabular.C: remove some commented code.
18340
18341 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
18342
18343         * BufferView_pimpl.C: call hideSplash()
18344
18345         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18346
18347         * include_form.h:
18348         * bibforms.h: remove
18349
18350         * lyxfunc.C:
18351         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18352           add LFUN_CHILD_CREATE
18353
18354         * counters.h: fix tiny typo
18355
18356         * lyx_cb.C:
18357         * lyx.h:
18358         * lyx_gui.C:
18359         * lyx.C: move splash to frontends/xforms/
18360
18361         * lyx_gui_misc.C: move Include and Bibform to frontends
18362
18363         * lyxvc.h: clarify comment
18364
18365         * vspace.C: tiny housekeeping
18366
18367 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
18368
18369         * text.C (PrepareToPrint): RTL Fix.
18370
18371         * paragraph.C (GetUChar): New method.
18372         (String):  Use GetUChar.
18373
18374         * buffer.C (asciiParagraph): Use GetUChar.
18375
18376 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
18377
18378         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18379
18380 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
18381
18382         * buffer.h:
18383         * buffer.C: rename to getLogName(), handle
18384           build log / latex log nicely
18385
18386 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18387
18388         * MenuBackend.C:
18389         * MenuBackend.h: remove support for reference menuitem type.
18390
18391 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
18392
18393         * BufferView_pimpl.C: housekeeping
18394         * BufferView_pimpl.h:
18395         * LyXView.h:
18396         * Makefile.am:
18397         * Timeout.C:
18398         * Timeout.h:
18399         * minibuffer.h: move Timeout GUI-I
18400
18401 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
18402
18403         * lyxrc.C (read): Update converters data-structures.
18404
18405 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
18406
18407         * LaTeX.h (operator!=): add operator != for Aux_Info
18408
18409 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
18410
18411         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18412
18413         * LaTeXLog.C: deleted, useful code moved to Buffer
18414
18415         * buffer.h:
18416         * buffer.C: new function getLatexLogName()
18417
18418         * lyx_gui_misc.C:
18419         * lyx_gui.C:
18420         * lyxvc.C:
18421         * lyxvc.h:
18422         * lyxfunc.C: use frontends for LaTeX and VC logs
18423
18424 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18425
18426         * LaTeX.h: yet another std:: that Allan forgot.
18427
18428         * Variables.C (set): renamed from isset(), because this clashes
18429         with some HP-UX macros (grr).
18430
18431 2001-02-06  Allan Rae  <rae@lyx.org>
18432
18433         * LaTeX.h: Another bug fix.  Missing std:: this time.
18434
18435 2001-02-04  Allan Rae  <rae@lyx.org>
18436
18437         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18438         floats problem. I've left it commented out because it's not quite
18439         correct.  It should also test that the current object is a table or
18440         figure inset.  But I haven't gotten around to figuring out how to do
18441         that.  I *think* it'll be something like: "table" == inset.type()
18442
18443         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18444         bool.
18445
18446 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
18447
18448         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18449         all the citation/databases/styles in the auxilary file.
18450         (run): Rerun latex if there was a babel language error.
18451
18452 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
18453
18454         * text.C (Backspace): Preserve the font when changing newline char
18455         with a space.
18456         (BreakParagraph): If the cursor is before a space, delete the space.
18457
18458         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18459
18460 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
18461
18462         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18463         new argument (code).
18464         (ChangeCitationsIfUnique): New method.
18465
18466         * paragraph.C (GetPositionOfInset): Handle bibkey.
18467
18468 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18469
18470         * BufferView_pimpl.h: change type of Position::par_pos to
18471         LyXParagraph::size_type.
18472
18473 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
18474
18475         * BufferView_pimpl.C (savePosition, restorePosition): Write
18476         messages to minibuffer.
18477
18478 2001-01-28  José Matos  <jamatos@fep.up.pt>
18479
18480         * buffer.C (makeDocBookFile): adds support for document language.
18481         A silly restriction on the name of LatexCommand types where removed.
18482         Added support for CDATA sections, allows to chars unescaped, used
18483         among others in code, to avoid escape < and >.
18484
18485 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18486
18487         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18488         saved positions instrad of a stack. Furthermore, a position is
18489         stored using paragraph id/paragraph position.
18490
18491         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18492         Remove LFUN_REF_BACK.
18493
18494 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18495
18496         * converter.C (dvipdfm_options): New method.
18497
18498 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
18499
18500         * vspace.C (isValidLength): Fix for empty input string.
18501
18502 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18503
18504         * LyXAction.C (init): change description of LFUN_FIGURE to
18505         "Insert Graphics"
18506
18507 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18508
18509         * LaTeX.C: add using directive
18510
18511 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18512
18513         * MenuBackend.C (expand): Fix the sorting of the formats.
18514
18515 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
18516
18517         * lyx_main.C: tiny error message fix
18518
18519 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18520
18521         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18522         calling fl_initialize(). This fixes the problem with ',' as
18523         decimal separator in text files.
18524
18525 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18526
18527         * trans.C (process): Fix the keymap bug.
18528
18529 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
18530
18531         * LaTeX.C (scanAuxFiles): New method. Provides support for
18532         multiple bibliographies (when using the bibtopic/bibunits pacakges).
18533         (scanLogFile) Scan for "run BibTeX" messages.
18534
18535         * buffer.C (makeLaTeXFile): Do not load the ae package when using
18536         OT1 font encoding. Also, load the aecompl package if the ae
18537         package is loaded.
18538
18539         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18540
18541 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18542
18543         * texrow.C (increasePos): turn two error messages into debug
18544         messages.
18545
18546 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
18547
18548         * LaTeX.C (scanAux): Handle the \@input macro.
18549         (runBibTeX): Use scanAux().
18550
18551         * language.C (latex_options_): New field.
18552
18553         * LaTeXFeatures.C (getMacros): Add language macros.
18554
18555         * buffer.C (makeLaTeXFile): Small fix.
18556
18557 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18558
18559         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18560
18561         * text2.C: add a using directive.
18562
18563 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
18564
18565         * BufferView2.C:
18566         * lyx_gui_misc.h:
18567         * lyxfr1.C:
18568         * lyxfunc.C: kill LyXBell.
18569
18570 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
18571
18572         * text.C (IsBoundary): Remove the error message
18573
18574         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18575
18576         * lyxrc.C (setDefaults): Correct initialization value for
18577         font_norm_type.
18578
18579 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
18580
18581         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18582         gotoError().
18583
18584         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18585         and GotoNextNote().
18586
18587         * src/LyXAction.C: Added reference-next.
18588
18589         * text.C (InsertChar): Use contains instead of strchr.
18590
18591         * lyx_cb.C (MenuInsertLabel): Enable default value code.
18592
18593 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
18594
18595         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18596         alignment commands (when needed).
18597
18598         * text.C (InsertChar): Add ':' to number separator chars.