]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
018768bfd4221e8b11b650284608f794b3f750ac
[lyx.git] / src / ChangeLog
1 2006-01-01  Martin Vermeer  <martin.vermeer@hut.fi>
2
3         * rowpainter.C (paintPar): always repaint the row with the
4         cursor in it
5
6 2006-01-01  Lars Gullik Bjønnes <larsbj@gullik.net>
7
8         * MenuBackend.h: 
9         * bufferlist.h: 
10         * lyxtext.h: 
11         * paragraph.h:
12         * vspace.h: fix syntax error
13
14 2005-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
15
16         * text3.C (dispatch): Force refresh if typing into inset changes its
17                               metrics
18
19 2005-12-30  Martin Vermeer  <martin.vermeer@hut.fi>
20
21         * RowList_fwd.h:
22         * paragraph.C:
23         * paragraph.h:
24         * rowpainter.C: Speed up rendering by only re-painting rows that
25         have changed. When selection or whole-screen update active, all rows
26         are repainted, as are all rows within insets.
27
28 2005-12-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
29
30         * version.C.in: Use PACKAGE_VERSION instead of VERSION
31
32 2005-12-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
33
34         * tabular.C (toggleFixedWidth): Use default layout of text class
35         instead of hardcoded "Standard"
36
37 2005-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
38
39         * lyxfunc.C (dispatch): do not call getStatus again to determine
40         whether a lfun is disabled (bug 2172).
41
42 2005-12-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
43
44         * cursor.C (macroModeClose): set the cursor inside the new math
45         atom if relevant (think \frac{}{}) (bug 2034)
46
47 2005-12-19  Martin Vermeer  <martin.vermeer@hut.fi>
48
49         * lyxtext.h:
50         * text.C:
51         * text3.C (Delete, backspace): force update when merging paragraphs
52
53 2005-12-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
54
55         * BufferView.C (mouseSetCursor): clear the selection properly (bug
56         2163). 
57
58 2005-12-08  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
59
60         * text.C (redoParagraph): honor inset->noFontChange()
61         * rowpainter.C (paintInset): ditto
62
63 2005-12-15  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
64
65         * lyx_main.C (priv_exec): don't initialize Math on startup 
66         (initMath() has been moved to math_hullinset).
67
68 2005-12-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
69
70         * lyxrc.C: set default_papersize to PAPER_DEFAULT;
71         handle PAPER_DEFAULT in LyXRC::read and LyXRC::write (bug 2148).
72         * paper.h: dispose dead PAPER_PACKAGES enum.
73
74 2005-12-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
75
76         * Makefile.am (OTHERLIBS): add SOCKET_LIBS in case we compile
77         without X support.
78
79 2005-12-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
80
81         * exporter.C (Export): Don't try to copy a file if it does not exist
82         (bug 1888)
83
84 2005-12-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
85
86         * text2.C (makeFontEntriesLayoutSpecific): remove.
87         (setLayout): adapt.
88
89         * text.C (insertChar): remove bogus caching of fonts (did not do
90         anything). 
91
92         * text2.C (LyXText): initialize current_font to ALL_INHERIT (was
93         ALL_SANE). (bug 2146)
94
95 2005-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
96
97         * rowpainter.C (paintFirst): fix centering of
98         LABEL_CENTERED_TOP_ENVIRONMENT. 
99
100 2005-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
101
102         * BufferView.C (mouseSetCursor): new method. Calls
103         deleteEmptyParagraphMechanism if necessary.
104
105         * lyxtext.h: make deleteEmptyParagraphMechanism public.
106
107         * text3.C (dispatch/LFUN_MOUSE_PRESS): use
108         BufferView::mouseSetCursor (bug 2109).
109         (dispatch/LFUN_PASTE): remove #warning that is now irrelevant.
110
111 2005-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>  
112
113         * text3.C (dispatch/LFUN_INDEX_INSERT): when a selection is set,
114         do not remove it (this inset behaves differently from the others).
115
116 2005-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
117
118         Fix bug 2096.
119         
120         * BufferView_pimpl.C (getStatus): it is only possible to insert a
121         file in a text inset.
122
123         * buffer.C (readDocument): remove pit argument and code releated
124         to it; set the inset owner correctly (unrelated, but useful).
125         (readFile): get rid of pit argument.
126
127         * CutAndPaste.C (pasteSelectionHelper): use a ParagraphList and a
128         textclass instead of a selection index.
129         (pasteParagraphList): new function.
130         (pasteSelection): make it a wrapper around pasteParagraphList.
131
132         * BufferView_pimpl.C (MenuInsertLyXFile): use
133         cap::pasteParagraphList to insert a file.
134
135 2005-11-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
136
137         * buffer_funcs.C (bufferErrors): prevent endless loop (bug 2121)
138
139 2005-11-17  Michael Gerz  <michael.gerz@teststep.org>
140
141         * exporter.C: fix typo in text message
142
143 2005-11-28  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
144
145         * text2.C (setLayout): move recUndo call to other setLayout method
146         * tabular.C (toggleFixedWidth): new, handle cell width changes
147         * tabular.C (setColumnPWidth): move some code from insettabular.C here
148         and use toggleFixedWidth
149         * tabular.C (setMColumnPWidth): ditto
150
151 2005-11-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
152
153         * paragraph.C (asString): use new inset->textString method (fix
154         bug 2089) 
155
156 2005-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
157
158         * CutAndPaste.C (numberOfSelections): new helper function.
159
160         * lyxfunc.C (getStatus): remove support for LFUN_COPY and LFUN_CUT.
161
162         * text3.C (getStatus): move code for LFUN_CUT and LFUN_COPY from
163         LyXFunc::getStatus; implement LFUN_PASTE.
164
165 2005-11-17  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
166
167         * dociterator.[Ch]: new member realInset() that returns the cell
168         for tabulars and the inset for the rest (bug 1952).
169         * undo.C (textUndoOrRedo): use realInset when resetting insetOwner
170         (bug 1952).
171
172 2005-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
173
174         * text.C (leftMargin): honor the NextNoIndent tag in layouts.
175
176 2005-11-17  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
177
178         * lyxfunc.C:
179         * paragraph.C:
180         * text3.C: InsetBase::forceDefaultParagraphs now takes a cell as
181         argument.
182
183 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
184
185         * text.C (redoParagraph): Fix bug 1966: cursor doesn't go to next
186         line after typing ctrl-enter
187
188 2005-11-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
189
190         * bufferview_funcs.C (coordOffset): fix the fix for bug 2094, as
191         math insets do not return a proper editable() state yet (bug 2124).
192
193 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
194
195         * BufferView_pimpl.[Ch]: Fix bug 1814: better scroll behaviour for 
196         docs containing very large paragraphs.
197
198 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
199
200         * cursor.C (selectionBegin, selectionEnd):
201         * text.C (drawSelection): Fix bug 2115: assertion when anchor and 
202         cursor at different depths.
203
204 2005-11-03  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
205
206         * bufferview_funcs.C (coordOffset): do not call cursorPos
207         for collapsed collapsables (fix bug 2094).
208
209 2005-11-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
210
211         * paragraph.C (fontSpan): make sure that the FontSpan does not
212         span across beginOfBody (bug 1947).
213
214 2005-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
215
216         * lyxlength.h: undefine macros that clash with solaris/x86 (bug 992)
217
218 2005-11-03  Michael Gerz  <michael.gerz@teststep.org>
219
220         * messages.C: fix crash and localization on MinGW/Windows platform
221
222 2005-11-02  Angus Leeming  <leeming@lyx.org>
223
224         * Bidi.C:
225         * lyxtextclass.C: trivial fixes to some MSVS warnings.
226
227 2005-10-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
228
229         * text3.C (getStatus): re-enable disabled code. (bug 2081)
230
231         * BranchList.h (empty): constify.
232
233 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
234
235         * text3.C (getStatus): 
236         * MenuBackend.C (expandBranches): take the branch list from the
237         master document (bug 2092).
238         
239         * MenuBackend.C (expandBranches): 
240         * bufferparams.C (writeFile): use BranchList type.
241
242 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
243
244         * text3.C (dispatch, getStatus): 
245         * LyXAction.C (init): 
246         * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
247
248 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
249
250         * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
251
252 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
253
254         * text.C (insertChar): do not reset boundary (bug 2061)
255
256 2005-10-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
257
258         * dociterator.C (updateInsets): new method. Updates the inset_
259         cache of all the slices of the iterator.
260
261         * text2.C (deleteEmptyParagraphMechanism): compare also containing
262         insets when comparing pit/pos; pass the right cursor to
263         recordUndo; when a paragraph has been deleted, compare `old.top()' to
264         the right cursor slice of `cur'; use updateInsets on cur to make
265         sure that the inset caches are correct; general cleanup.
266
267 2005-10-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
268
269         * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
270         dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
271         containg inset. If this does not work, the same command will be
272         sent to other insets down the queue by LCursor::dispatch. (bug 2066)
273
274         * lyxfunc.C (dispatch): make sure the cursor is correct when doing
275         a dispatch.
276
277 2005-10-20  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
278
279         * lyxtextclass.C (Read): convert layout file if the format is wrong
280         * lyxtextclass.C (layout2layout): new, needed for the above
281
282 2005-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
283
284         * messages.C: do not forget to include <cerrno>.
285
286 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
287
288         * dociterator.h (StableDocIterator): add access to pos().
289         * undo.C (samePar): new method to check if two
290         iterators are in the same paragraph
291         * undo.C (recordUndo): check for samePar instead of cell identity
292         (which includes pos() and is too strict) (fixes bug 2097)
293
294 2005-10-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
295
296         * text.C (setCursorFromCoordinates): return a bool telling whether
297         dEPM triggered.
298
299         * text3.C (cursorPrevious): update if needed after
300         setCursorFromCoordinates (when dEPM triggered).
301
302         * text2.C (cursorDown, cursorUp): make sure to reset the anchor
303         (otherwise the anchor may be completely wrong and make dEPM assert).
304
305 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
306
307         * buffer.C: version upgrade to 245.
308         * bufferparams.C: remove \quotes_times (bug 2090).
309         * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
310         quotation marks as default.
311
312 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
313
314         * CutAndPaste.C (nrOfParagraphs): remove (unused)
315         * CutAndPaste.C (cutSelection): Remove debug message
316         * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
317         undo information and only copy if this is a real cut
318         * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
319         call
320         * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
321         (bug 2059)
322         * CutAndPaste.C (eraseSelection): prevent cursor corruption
323         * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
324         superflous cur.selection() setting
325         * CutAndPaste.[Ch] (grabSelection): take a const cursor
326         * cursor.C (selectionAsString): implement mathed case ((bug 2059)
327
328 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
329
330         * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
331         change anything.
332
333 2005-10-11  Martin Vermeer  <martin.vermeer@hut.fi>
334
335         * BufferView_pimpl.C: comment layout change
336
337 2005-10-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
338
339         * LyXAction.C:
340         * lfuns.h:
341         * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
342         by bibliography managers (bug 2071).
343
344 2005-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
345
346         * BufferView_pimpl.C (update): choose arguments to update call so
347         that single-par update works most times
348         * text3.C (dispatch): carefully tune updating separately for
349         whole-screen and current-paragraph
350         * rowpainter.C (paintText): 1) replace painting by caching for
351         the two extra paragraphs, because we can;
352         2) suppress greying out of areas below/above drawn area in case of
353         single-par refresh
354         * lyxfunc.C (dispatch): remove superfluous update
355         * LyXAction.[Ch]: introduce SingleParUpdate
356
357 2005-10-05  Angus Leeming  <leeming@lyx.org>
358
359         * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
360         always initialised before use.
361
362         * text.C (setHeightOfRow): squash warning about comparison
363         of signed and unsigned types.
364
365 2005-10-03  Martin Vermeer  <martin.vermeer@hut.fi>
366
367         * text.C (cursorX): two fixes involving RtL text drawing
368
369 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
370
371         * cursor.C (erase): fix 'clever' UI hack. It was activated for all
372         items, not only large ones (part of bug 2057)
373
374 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
375
376         * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
377         argument, use "newcommand".
378
379 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
380
381         * cursor.C (setSelection): do not open collapsable insets;
382         the insets do by themselves now (autoopen).
383
384 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
385
386         * buffer.C: format is up to 244.
387
388 2005-09-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
389
390         * text.C (redoParagraph): fix calcultation of inset width wrt 
391         leftMargin (bug 1957).
392
393         * text3.C (dispatch): leave inset to the right when hitting ESC 
394         (bug 2034).
395
396 2005-09-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
397
398         * text2.C: 
399         * text.C: 
400         * factory.C:
401         * messages.C: include <boost/current_function.hpp> 
402
403 2005-09-12  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
404
405         * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
406         when command is internal. (bug 1941)
407
408 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
409
410         * text2.C (cursorRight): do not honor boundary when at the end of
411         a paragraph. (bug 2010 again)
412
413 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
414
415         * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
416
417 2005-09-19  Martin Vermeer  <martin.vermeer@hut.fi>
418
419         * rowpainter.C (paintText): fix RtL space width display bug (2029)
420
421 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
422
423         * text2.C (setCursor): remove the unused 'boundary' parameter for
424         the CursorSlice version; adapt the LCursor version.
425
426         * lyxrc.C (write): 
427         * paragraph_pimpl.C (markErased): 
428         * cursor.C (bruteFind2, bruteFond3): fix warnings.
429
430 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
431
432         * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
433         as is already done for "chapter".
434
435 2005-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
436
437         * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
438         textclass; do not record undo if nothing is changed.
439
440 2005-09-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
441
442         * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
443
444 2005-09-14  Michael Gerz  <michael.gerz@teststep.org>
445
446         * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
447
448 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
449
450         * BufferView_pimpl.C (setBuffer): when one wants to set the layout
451         combox, it is necessary to search for the topmost paragraph in the
452         cursor stack (bug 1926)
453
454 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
455
456         * text2.C (cursorEnd, cursorRight): do not set boundary to true at
457         end of paragraph. (bug 2010)
458
459 2005-09-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
460
461         * text.C (leftMargin): check for inInset == 0
462
463 2005-09-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
464
465         * text.C (leftMargin): test for insetbase's new neverIndent()
466         bool instead of listing each and every inset that does not
467         wish par indendation.
468
469 2005-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
470
471         * buffer_funcs.C (setCounter): put the code to compute enum label
472         here (where it belongs).
473
474         * counters.C (enumLabel): move code to buffer_funcs.C.
475
476 2005-09-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
477
478         * outputparams.[Ch]: store local_font instead of local_language
479         * paragraph.C (simpleTeXOnePar): adapt to the change above
480
481 2005-09-08  Martin Vermeer  <martin.vermeer@hut.fi>
482
483         * buffer_funcs.C:
484         * counters.[Ch]: clean up special code for Hebrew.
485
486 2005-09-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
487
488         * lyxfunc.C (lookupChange): fix code when cursor depth is greater
489         than 2.
490
491 2005-09-08  Angus Leeming  <leeming@lyx.org>
492
493         * ispell.C:
494         * lyxrc.C: correct grammar describing invocation of the
495         spellchecker.
496
497 2005-08-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
498
499         * text.C (read): remove unused variable.
500         (readParToken): remove static Change variable (never good in
501         recursive settings...); add it as a parameter instead.
502
503         * paragraph_pimpl.C (acceptChange): make debug info conditional.
504
505         * metricsinfo.C (PainterInfo): add new member erased_.
506
507         * rowpainter.C (RowPainter): add erased_ member, initialized from
508         PainterInfo. 
509         (paintInset): pass erased_ to Inset::draw.
510
511         * lyxfunc.C (lookupChange): new function. Tells whether change 
512         tracking is disabled at a given postion.
513         (getStatus): disable some actions when in deleted text with change
514         tracking. 
515
516 2005-08-03  John Levon  <levon@movementarian.org>
517         
518         * tabular.C (appendColumn, setMultiColumn): adapt to change to
519         InsetText::clear().
520
521         * paragraph_pimpl.C (markErased): add bool argument and handle it.
522         Also make sure to mark insets recursively.
523         (rejectChange, erase): be recursive
524
525         * paragraph.C (markErased): add bool argument.
526 2005-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
527
528         * lyxfind.C (findNextChange): tiny cleanup.
529
530         * BufferView_pimpl.C (trackChanges): avoid crash when stopping
531         change tracking with the cursor in an inset; make sure the first
532         change is not skipped.
533
534 2005-09-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
535
536         * CutAndPaste.[Ch]: new methods dirtyTabularStack and 
537         tabularStackDirty to work around bug 1919 (tabular needs
538         to know whether its own cell paste buffer or the one of 
539         texted is newer.
540         * CutAndPaste.C: mark tabular_stack_ clean after copy.
541
542 2005-08-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
543
544         * text2.C (cursorEnd): check for empty text (fixes bug 1998)
545
546 2005-08-19  Lars Gullik Bjønnes  <larsbj@gullik.net>
547
548         * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
549         use old deleteion algorithm when changetracking is on.
550
551 2005-08-18  Martin Vermeer  <martin.vermeer@hut.fi>
552
553         * messages.C (get): add debug output.
554
555 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
556
557         * text.C (cursorX): fix bug 1965: cursor movement at
558         line end broken in RtL.
559         (drawSelection): fix bug 1970: drawing of single-line 
560         selection broken for RtL.
561
562 2005-07-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
563
564         bug 465.
565
566         * dociterator.h (clear, push_back, pop_back): change from
567         protected to public.
568
569         * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
570         and changed to just return the value of the item depth; take a
571         ParIterator as argument; take the itemdepth at outer nesting level
572         in account if necessary; cleanup and comment the code.
573         (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
574         and changed to just return true if reset is needed; take a
575         ParIterator as argument; cleanup and comment the code.
576         (setCounter): adapt to above changes.
577
578 2005-07-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
579
580         * text3.C (dispatch): make debug message optional
581
582 2005-08-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
583
584         * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
585         inset. (bug 1963)
586
587 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
588
589         * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
590
591 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
592
593         * text.C (insertChar):
594         * text2.C (deleteEmptyParagraphMechanism): take care whether 
595         a blank has been deleted (in change tracking mode) (bug 1254).
596
597 2005-07-20  John Levon  <levon@movementarian.org>
598
599         * text2.C (insertStringAsLines): remove old dubious code,
600         fixing bug 1939.
601
602 2005-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
603
604         * MenuBackend.C (expandToc): use Floating::listName() as title of
605         the floats submenus.
606
607 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
608
609         * toc.[Ch]: Do not use translatable strings (bug 1870).
610
611 2005-07-20  John Levon  <levon@movementarian.org>
612
613         * tabular.C: fix 1748 - setting multicolumn adds
614           left line to the first cell
615
616 2005-07-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
617
618         bug 1920
619         * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
620         pars in one go.
621
622 2005-07-18  Lars Gullik Bjønnes  <larsbj@lyx.org>
623
624         * messages.C: supress some lyxerr messages
625
626 2005-07-18  Juergen Vigna  <jug@lyx.org>
627
628         * text.C (drawSelection): honor boundary when asking for cursorX.
629
630 2005-07-17  José Matos  <jamatos@fc.up.pt>
631
632         * tabular.C (recalculateMulticolumns): fix handling of one column
633         tables.
634
635 2005-07-17  Juergen Vigna  <jug@lyx.org>
636
637         * text.C (Delete, backspace): fixed so that paragraph with the
638         same layout can be merged by Delete/Backspace.
639
640 2005-07-17  Michael Schmitt  <michael.schmitt@teststep.org>
641
642         * text.C (readParToken): fix spelling.
643
644 2005-07-17  Martin Vermeer  <martin.vermeer@hut.fi>
645
646         * text2.C: fix counter update for DEPM problem reported by
647         Georg Baum
648
649 2005-07-17  Juergen Vigna  <jug@lyx.org>
650
651         * BufferView_pimpl.C (setBuffer): save/restore the
652         cursor/selection when switching buffers
653
654         * buffer.h: 
655         * buffer.C (saveCursor): add saveDocumentIterators to save the
656         cursor when switching buffer.
657
658 2005-07-17  Michael Schmitt  <michqel.schmitt@teststep.org>
659
660         * debug.C: fix typo
661         * buffer.C: clarify message
662         
663 2005-07-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
664
665         * dociterator.C (DocIterator): fix initialization order
666
667 2005-07-17  Juergen Vigna  <jug@lyx.org>
668
669         * text2.C (cursorHome): 
670         * text.C (drawSelection, cursorX): 
671         * dociterator.C (textRow): add boundary to getRow() call
672
673         * paragraph.C (getRow): implementation of below
674
675         * paragraph.h: add parameter boundary for getRow() function
676
677 2005-07-17  José Matos  <jamatos@fc.up.pt>
678
679         * buffer.C:
680         * bufferparams.[Ch]:
681         * tex-strings.[Ch]: new file format, remove support for a4.sty,
682         a4wide.sty and a4widemargins.
683
684 2005-07-17  Juergen Vigna  <jug@lyx.org>
685
686         * text2.C (cursorLeft): fix one of error
687
688 2005-07-17  Juergen Vigna  <jug@lyx.org>
689
690         * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
691                    cursorEnd):
692         more fixes for boundary handling
693
694         * text3.C (dispatch): don't reset cursor if boundary has changed
695         on cursor movement.
696
697 2005-07-16  Juergen Vigna  <jug@lyx.org>
698
699         * text2.C (getColumnNearX): hopefully got it right now,
700         check if we are on column 0 for special case.
701
702 2005-07-16  Juergen Vigna  <jug@lyx.org>
703
704         * text2.C (getColumnNearX): handle special case Newline Inset
705
706         * text.C (singleWidth): Just remove bogus check
707
708 2005-07-16  Michael Schmitt  <michael.schmitt@teststep.org>
709
710         * funcrequest.C (split): avoid reading uninitialized char c
711
712 2005-07-16  José Matos  <jamatos@fc.up.pt>
713
714         * buffer.C:
715         * converter.C:
716         * lyxrc.C:
717         * paper.h:
718         * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
719         single papersize variable.
720
721 2005-07-16  Juergen Vigna  <jug@lyx.org>
722
723         * text3.C (dispatch): honor boundary when checking if a cursor
724         movement has been done
725
726         * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown) 
727         (setCursor, setCursorIntern): fix cursor movement with boundary
728
729 2005-07-16  Juergen Vigna  <jug@lyx.org>
730
731         * text.C (currentState): output the actual Boundary
732
733 2005-07-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
734
735         * factory.C (createInset): fix bad logic for tabular creation
736
737 2005-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
738
739         * lyx_main.C (init): change some reLyX reference to tex2lyx
740
741 2005-07-16  Juergen Vigna  <jug@lyx.org>
742
743         * dociterator.C (DocIterator): initialize boundary
744
745 2005-07-16  Juergen Vigna  <jug@lyx.org>
746
747         * text2.C (getColumnNearX): Consider rows without trailing blank.  
748
749 2005-07-16  André Pönitz  <poenitz@gmx.net>
750
751         * lyxfont.h: Change order of declarations to give the compiler
752         a better chance to inline things
753
754         * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
755         questions on unsaved docs for better scritability
756
757 2005-07-16  André Pönitz  <poenitz@gmx.net>
758
759         * paragraph.h (getChar): remove asserts as the same kind of security
760         can be achieved by using a suitable standard library implementation
761         and the function was in the critical path (25.9% in profiler)
762
763 2005-07-16  Juergen Vigna  <jug@lyx.org>
764
765         * cursor.C (bruteFind2):
766         * bufferview_funcs.C (coordOffset): 
767         * text.C (cursorX,cursorY): Handle cursor position after last char
768         in row before a inset which uses a whole row.
769
770 2005-07-15  José Matos <jamatos@lyx.org>
771
772         * output_plaintext.[Ch] (writeFileAscii): control reference title
773         printing.
774         (asciiParagraph): noparbreak was already deal and was incorrectly
775         used.
776
777 2005-07-15  Juergen Vigna <jug@lyx.org>
778
779         * lyxfunc.C (dispatch): save and restore the cursor after a
780         textclass switch.
781
782 2005-07-15  Lars Gullik Bjønnes <lgb@tandberg.net>
783
784         * text.C (backspace): bug 806 for empty keepempty paragraphs we
785         change the layout to default before letting DEPM do its thing.
786
787         * paragraph_funcs.C (breakParagraph): dont reset the layout on
788         keepEmpty paragraphs
789
790         * text.C (setCursorFromCoordinates): add a debug statement
791
792         * text2.C (getColumnNearX): bug 1825 make sure that we don't
793         return a pos that is not on the row
794
795         * output_latex.C (TeXDeeper): get rid of potential dereferencing
796         of past the end iterator
797
798 2005-07-14  André Pönitz  <poenitz@gmx.net>
799
800         * undo.C (recordUndoFullBuffer): implement undo for
801         textclass switches
802
803 2005-07-14  André Pönitz  <poenitz@gmx.net>
804
805         * cursor.C (setSelection): open insets when selection is set there
806         to avoid crashs with cold coord cache
807
808 2005-07-14  André Pönitz  <poenitz@gmx.net>
809
810         * trans_mgr.C (insert): move cursor to the right after inserting
811         a char.
812
813 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
814
815         * BufferView_pimpl.C (update): dampen some of the debug blabbering
816         * factory.C (readInset): ditto
817         * text.C, text2.C: ditto
818
819 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
820
821         * buffer.C: format incremented to 242. There is no file format per
822         se, but the "frenchb" language has been removed from lib/language
823         and has to be translated to "french" by lyx2lyx.
824
825 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
826
827         * cursor_slice.h, dociterator.h: add some documentation
828         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
829
830 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
831
832         * text.C (leftMargin): do not add identation to display() style
833         insets, because they are always centered (bug 1293).
834
835 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
836
837         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
838         formatted_time methods in support/lyxtime.
839
840 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
841
842         * toc.[Ch]: new method getGuiName, which is used by the frontends 
843         to set the toc combo (fixes bug 1870). Make TOC string translatable.
844
845 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
846
847         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
848         StableDocIterator const &)
849         * undo.C (recordUndo): use the above instead of cell.size() comparison
850         (fixes bug 1808; instructed by Andr�.
851
852 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
853
854         * cursor_slice.h: 
855         * dociterator.h: Fix the assert when copying rows/cols in math
856
857 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
858
859         * BufferView_pimpl.C:
860         * LyXAction.C:
861         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
862
863         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
864         (findInset): new functions, refactored from goto Inset that return 
865         the position of a certain inset without setting the buffer's cursor
866         (by Jean-Marc); 
867         (gotoInset): rewrite to call findInset and then set the cursor
868         (by Jean-Marc).
869
870 2005-06-16  Angus Leeming  <leeming@lyx.org>
871
872         * lyxrc.C (output, read): wrap all input and output of paths with
873         calls to os::internal_path and os::external_path, respectively.
874         (output): wrap bind_file inside quotes.
875
876         * format.C (view): enable the viewer to use the '$$s' placeholder.
877
878 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
879
880         * LColor.[Ch] (getFromLaTeXName): new
881
882 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
883
884         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
885
886 2005-06-14  Angus Leeming  <leeming@lyx.org>
887
888         * lyx_main.C (init): ensure that the LyX binary dir is the first
889         element in the PATH on non-POSIX builds.
890
891 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
892
893         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
894
895 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
896
897         * rowpainter.C (paintInset, paintHebrewComposeChar)
898         (paintArabicComposeChar, paintChars): add a LyXFont argument.
899         (paintChars): use getFontSpan to reduce calls to getFont to a
900         minimum; use Paragraph::lookupChange instead of isXXXText.
901         (paintForeignMark): rename LyXFont argument.
902         (paintFromPos): pass a LyXFont object to the various paintXXX
903         methods.
904
905         * FontIterator.C (FontIterator, operator++): use
906         Paragraph::getFontSpan
907
908         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
909         version that returns the font span as a pair.
910
911 2005-06-09  Angus Leeming  <leeming@lyx.org>
912
913         * converter.C (convert): Don't forget "outfile = real_outfile" as
914         the final step in a conversion where the input and output file names
915         are the same. Otherwise, future conversion steps won't work...
916
917 2005-06-09  Angus Leeming  <leeming@lyx.org>
918
919         * lyxsocket.C: remove stub code as it isn't needed by
920         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
921
922 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
923
924         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
925         effectively disabled -x
926
927 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
928
929         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
930         when it actually makes sense.
931
932 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
933
934         * BufferView_pimpl.C: revert to showCursor in connection with
935         Lars's front-end stack
936
937 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
938
939         * text.C (redoParagraph): move cursor right after a bibitem
940         has been inserted.
941
942         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
943
944 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
945
946         * buffer_funcs.C (bufferErrors): fix computation of the end of an
947         error range.
948
949 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
950
951         * BufferView.[Ch] (update):
952         * BufferView_pimpl.[Ch] (update, metrics):
953         * dimension.h (operator==):
954         * lyxfunc.C (dispatch):
955         * metricsinfo.h (ViewMetricsInfo):
956         * rowpainter.C (paintText):
957         * lyxtext.h:
958         * text.C (redoParagraph):
959         * text3.C (dispatch): Make LyX only repaint current paragraph in
960         case of character insert --> speedup. Also fix cursor draw
961         artifacts
962
963 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
964
965         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
966         avoid a crash (bug 1891)
967
968 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
969
970         Fix bug 1892:
971
972         * text2.C (getStringToIndex): constify cur argument.
973
974         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
975         argument has been given
976         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
977         try to invoke LFUN_INSET_APPLY).
978
979         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
980         if no inset was created by doInsertInset
981         (doInsertInset): return true if an inset has been inserted.
982
983 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
984
985         * vspace.C (asGUIName): new method. A version of the space
986         suitable for showing on screen.
987
988 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
989
990         * MenuBackend.C:
991         * lyxrc.C: rename "ASCII" to "Plain Text"
992
993 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
994
995         * buffer_funcs.C (expandLabel): take a Buffer as argument;
996         translate the labelstring.
997         (setCounter): translate labelstring as needed.
998
999         * output_docbook.C (makeCommand): fix expandLabel invokation
1000
1001 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
1002
1003         * BufferView.C: fix dialog title
1004
1005 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1006
1007         * lyx_main.C (priv_exec): fix logic error with help from Angus
1008         * lyx_main.C (parse_execute): set is_gui = false and remove now
1009         obsolete comment about a segfault
1010
1011 2005-05-18  Angus Leeming  <leeming@lyx.org>
1012
1013         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
1014
1015 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
1016
1017         * tabular.[hC]: added setCellInset to fix tabular paste.
1018
1019 2005-05-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1020
1021         * buffer.C (save): check if destination is writable before trying
1022         to copy a file
1023
1024 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
1025
1026         * BufferView_pimpl.C (update): fix processEvents -caused update
1027         recursion bug
1028
1029 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1030
1031         * buffer_funcs.C (setCounter): fix test for numbering of
1032         environments.
1033
1034         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
1035         depth correctly; use optional argument when it exists
1036
1037         * lyxtextclass.C: remove unused MaxCounterTags enum
1038         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
1039         (max_toclevel, min_toclevel): new methods.
1040
1041         * MenuBackend.C (expandToc2): fix case where depth is smaller than
1042         the smallest depth in toc.
1043
1044         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
1045         layouts that should not appear in a table of contents.
1046
1047 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1048
1049         * cursor.h (undispatched, noUpdate): add comments from Andr�
1050 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
1051
1052         * lfuns.h:
1053         * LyXAction.C:
1054         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
1055
1056 2005-05-07  André Pönitz  <poenitz@gmx.net>
1057
1058         * cursor.[Ch] (leaveInset): new function
1059
1060 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1061
1062         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
1063
1064 2005-05-04  Angus Leeming  <leeming@lyx.org>
1065
1066         * lyxfunc.C (getStatus): disable the spell checker dialog if
1067         none of USE_[AIP]SPELL are defined.
1068
1069 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
1070
1071         * tabular.C (setWidthOfCell): remove obsolete comment
1072
1073 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
1074
1075         * paragraph.C (bibitem):
1076         * buffer_funcs.C (setCounter):
1077         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
1078
1079 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1080
1081         * text3.C (getStatus): immediately return after setOnOff
1082
1083         * rowpainter.C: fix drawing of appendix start
1084
1085 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1086
1087         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
1088         SwitchBetweenClasses and remove the unused return value.
1089         Handle character styles, too
1090
1091 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
1092
1093         * factory.C (createInset): handle undefined character styles
1094
1095 2005-05-02  Angus Leeming  <leeming@lyx.org>
1096
1097         * buffer.C: protect the #include of utime.h with a preprocessor
1098         guard.
1099
1100 2005-05-02  Angus Leeming  <leeming@lyx.org>
1101
1102         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
1103         function so that auto-saving works, albeit in a blocking manner.
1104
1105         * Makefile.am: make compilation of the client sub directory, of
1106         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
1107         on conditionals set at configure time.
1108
1109         * SpellBase.[Ch]: no longer an abstract base class. Instead,
1110         it can be compiled in its own right but has no-op functionality.
1111
1112         * aspell.C, pspell.C: remove preprocessor guards. The files should
1113         be compiled only if the necessary functionality exists.
1114
1115         * lyxserver.C, lyxsocket.C: disable on Windows.
1116
1117 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
1118
1119         * text.C (leftMargin): Fix the parindent use bug (1764)
1120         by dirty trick
1121
1122 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
1123
1124         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
1125         argument.
1126
1127 2005-04-25  Angus Leeming  <leeming@lyx.org>
1128
1129         * Bidi.[Ch]:
1130         * coordcache.[Ch]:
1131         * ispell.C:
1132         * lyxserver.C:
1133         * mover.C:
1134         * pch.h:
1135         include <config.h> in .C files, not .h ones.
1136         add licence blurb.
1137         protect headers inside preprocessor guards.
1138
1139 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1140
1141         * FuncStatus.h (StatusCodes): document
1142
1143 2005-04-21  André Pönitz  <poenitz@gmx.net>
1144
1145         * FuncStatus.h (enabled, onoff): document
1146
1147 2005-04-19  Angus Leeming  <leeming@lyx.org>
1148
1149         * BufferView_pimpl.C (cursorToggle): no longer test whether
1150         any child processes have been reaped before calling
1151         handleCompletedProcesses().
1152
1153 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
1154
1155         * text3.C (dispatch): fix, finally fix, the language problem in
1156         new lyxtexts, without disabling on-the-fly font changes (Helge's
1157         bug report)
1158
1159 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1160
1161         * text3.C (dispatch): set cursor on double/triple click events
1162         (bug 1811)
1163
1164 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1165
1166         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
1167         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
1168
1169         * rowpainter.C (paintFirst): simplify the code a little bit. In
1170         particular, remove the test for secnumdepth.
1171         * text.C (setHeightOfRow): only allocate space for chapter number
1172         when updateCounters provided an actual label, instead of looking
1173         at secnumdepth directly.
1174
1175         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
1176
1177         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
1178         paragraphs when secnumdepth is large enough or, for environments,
1179         when they are not the first in a sequence.
1180
1181 2005-04-17  Angus Leeming  <leeming@lyx.org>
1182
1183         * buffer.C (makeLaTeXFile): replace code to manipulate a path
1184         containing space and '~' characters with a call to latex_path().
1185
1186 2005-04-17  Angus Leeming  <leeming@lyx.org>
1187
1188         * converter.C (convert): protect all args of convertDefault.sh
1189         script with quotes.
1190
1191 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1192
1193         * text3.C (dispatch): change the layout to "Caption" after inserting
1194         a float.
1195
1196 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1197
1198         * text3.C (dispatch): fix language problem in newly created
1199         textinsets (and main text) in non-english docs
1200
1201 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1202
1203         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
1204         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
1205         * text3.C (getStatus): disable LFUN_INSET_MODIFY
1206
1207 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1208
1209         * lyxtext.h:
1210         * text.C (metrics):
1211         * text2.C (getFont):
1212         * rowpainter.C (getFont): Fix metrics bug introduced by inset
1213         fonts fix
1214
1215 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1216
1217         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
1218         output of \item arguments without trailing text.
1219
1220 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1221
1222         * FontIterator.C (operator*): avoid a copy of the font.
1223
1224 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1225
1226         * rowpainter.C (getFont): fix language bug from previous fix
1227
1228 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1229
1230         * rowpainter.C (RowPainter, getFont): fix font inside inset
1231         (bugs 1766, 1809)
1232
1233 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
1234
1235         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1236         preventing inserted font, deco, delim insets jumping to start of
1237         surrounding inset.
1238
1239 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1240
1241         * lyxfunc.C (dispatch): translate message before sending it to the
1242         minibuffer.
1243
1244 2005-03-29  Angus Leeming  <leeming@lyx.org>
1245
1246         * lyx_main.C (priv_exec): call os::internal_path on each file passed
1247         to LyX on the command line.
1248
1249 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
1250
1251         * vc-backend.C: use QuoteName to protect file names wherever
1252         necessary.
1253
1254 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
1255
1256         * buffer.[Ch]:
1257         * BranchList.h: fix bugs 1844,1845: document settings don't
1258         stick
1259
1260 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1261
1262         * lyxrc.C (setDefaults, read, output, getDescription): add support
1263         for tex_allows_spaces.
1264
1265         * exporter.C (Export): allows files in directory containing spaces
1266         if tex_allows_spaces is true.
1267
1268         * buffer.C (makeLaTeXFile): if the document path contains spaces,
1269         output it in double quotes.
1270
1271 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1272
1273         * rowpainter.C: use default text height for drawing change tracker
1274         strikeout lines.
1275
1276 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1277
1278         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1279
1280 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1281
1282         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1283         directory is missing.
1284
1285 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
1286
1287         * text2.C: fixed the fix, extended to other case.
1288
1289 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
1290
1291         * text2.C: fix for cursor up/down stuck in math [bug 1792]
1292
1293 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
1294
1295         * text2.C (cursorUp): get rid of a crash
1296         * text.C (x2pos): add an assert
1297
1298 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1299
1300         * lyxfunc.C (getStatus): fix warning when assertions are disabled
1301
1302         * text3.C:
1303         * lyxfunc.C:
1304         * dociterator.C: include <boost/current_function.hpp>, which is
1305         needed when assertions are disabled.
1306
1307 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1308
1309         * text2.C: fix for stuck cursor when traversing two
1310         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1311
1312 2005-02-25  Andreas Vox  <avox@arcor.de>
1313
1314         * output_docbook.C (makeParagraph): suppress trailing newline
1315         after a run of paragraphs
1316
1317 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1318
1319         * paragraph.C: fix for confused change tracker when pasting
1320         text that begins with a lineseparator. [bug 1827]
1321         (setChange(0, Change::INSERTED);)
1322
1323         * paragraph_funcs.C: fix for lost changes on triple-paste
1324         in change tracking mode [bug 1827] (par.setChange()).
1325
1326 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1327
1328         * text2.C (updateCounters, setCounter, expandLabel): move to
1329         buffer_funcs.
1330
1331         * buffer_funcs.C (updateCounters): turn into a free standing
1332         function and add a buffer parameter. Remove dead code for tracking
1333         labelstring change.
1334         (setCounter): change into a free-standing function which gets a
1335         dociterator as argument. Use this iterator to fix captions in a
1336         simple way. When no float is found above the caption, use the
1337         labelstring of the caption layout as default.
1338
1339         * text.C (breakParagraph, backspace):
1340         * text2.C (init, setLayout, changeDepth):
1341         * text3.C (dispatch):
1342         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1343         updateCounters.
1344
1345         * dociterator.C (forwardPar): make it much faster by calling
1346         forwardPos() only when really necessary.
1347
1348         * output_docbook.C (makeCommand): adapt to expandLabel move.
1349
1350         * cursor.C: remove unused variable
1351
1352 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1353
1354         * paragraph_funcs.C: fix crash when pasting insets in change
1355         tracking mode [bug 1277] (honour change type in moveItem).
1356
1357 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1358
1359         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1360
1361 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1362
1363         * BufferView.C (setCursor): change to use a DocIterator.
1364         (gotoLabel): use BufferView::setCursor (other part of bug 781).
1365         (putSelectionAt): adapt to BufferView::setCursor change.
1366
1367         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1368         moved here from LyXText and rewritten to use proper cursor
1369         methods. Fixes bug 1787, 616 and 835.
1370
1371         * BufferView_pimpl.C (restorePosition): set the cursor correctly
1372         when inside an inset (part of bug 781).
1373         (dispatch): adapt to change of BufferView::setCursor.
1374         (getStatus, dispatch): handle LFUN_GOTOERROR,
1375         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1376
1377         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1378         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1379         * text3.C (gotoNextInset, gotoInset): removed.
1380
1381 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1382
1383         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1384
1385 2005-02-15  Angus Leeming  <leeming@lyx.org>
1386
1387         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1388         can be used meaningfully in a comparison.
1389
1390 2005-02-13  André Pönitz  <poenitz@gmx.net>
1391
1392         * bufferview_funcs.C (coordOffset): improve cursor drawing
1393
1394 2005-02-13  André Pönitz  <poenitz@gmx.net>
1395
1396         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1397         * Cursor.C (dispatch): use fixIfBroken
1398         * lyxfunc.C (getStatus): use fixIfBroken
1399
1400 2005-02-15  Angus Leeming  <leeming@lyx.org>
1401
1402         * lyx_main.C (error_handler):
1403         * lyxfunc.C:
1404         * lyxrc.C (setDefaults):
1405         s/GetEnv/getEnv/.
1406         #include "environment.h".
1407
1408         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1409
1410 2005-02-15  Angus Leeming  <leeming@lyx.org>
1411
1412         * lyxserver.C (startPipe): squash MSVC warning "local variable
1413         'fd' used without having been initialized".
1414
1415 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1416
1417         * BufferView_pimpl.C: revert accidental commit.
1418
1419 2005-02-14  André Pönitz  <poenitz@gmx.net>
1420
1421         * dociterator.[Ch]: new member forwardPosNoDescent(),
1422         which doesn't enter nested insets.
1423         * text2.C (setFont): use forwardPosNoDescent() instead
1424         of ForwardPos() (fixes crash on font change).
1425
1426 2005-02-13  Angus Leeming  <leeming@lyx.org>
1427
1428         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1429         only if lyxrc.path_prefix is not empty.
1430
1431 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1432
1433         * bufferparams.C (readGraphicsDriver): prevent crash
1434
1435 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1436
1437         * text2.C (setCounter): check for inInset() == 0
1438
1439 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1440
1441         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1442         but use update() to get correct screen display; use convert
1443         instead of istringstream.
1444         (getStatus): handle LFUN_GOTO_PARAGRAPH
1445
1446         * lyxfunc.C (dispatch, getStatus): do not handle
1447         LFUN_GOTO_PARAGRAPH here.
1448
1449 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1450
1451         * text3.C (dispatch): size() -> depth()
1452
1453         * text2.C: remove some debug output
1454
1455         * paragraph.C: ws changes only
1456
1457         * lyxfunc.C (getStatus): size() -> depth()
1458
1459         * dociterator.h (clear, push_back, pop_back, internalData,
1460         operator[], resize, empty): new functions
1461         Make StableDocIterator and operator== be friends. Don't inherit
1462         from std::vector use a privat class variable slices_ instead.
1463         Modify to fit.
1464
1465         * dociterator.C: update because of not inheriting from std::vector
1466         anymore. Call explictly to slices_ instead. Use depth() instead of
1467         size() and top() instead of back()
1468
1469         * cursor.C: chagne size() -> depth and back() -> top(). Also
1470         remove some direct operator[](i) calls in favour of foo[i]
1471         (getFont): remove some dead code
1472
1473         * bufferview_funcs.C (coordOffset): size() -> depth()
1474
1475         * buffer.C: ws changes only
1476
1477         * CutAndPaste.C (eraseSelection): back() -> top()
1478
1479         * BufferView_pimpl.C (selectionRequested): back() -> top()
1480
1481         * BufferView.C (setCursor): size() -> depth()
1482
1483 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1484
1485         * text3.C (cursorPrevious): return true if depm changed something
1486         (cursorNext): ditto
1487         (dispatch): rename sl to oldTopSlice, remove moving use the new
1488         NoUpdate func attrib instead. Make sure that needsUpdate is set
1489         for function that have NoUpdate, but where depm might have changed
1490         the buffer anyway.
1491
1492         * text2.C (cursorLeft): make us return true if depm changed
1493         something
1494         (cursorRight): ditto
1495         (cursorUpParagraph): ditto
1496         (curosrDownParagraph): ditto
1497         (cursorUp, cursorDown): ditto, make sure to read comments in code
1498         (deleteEmptyParagraphMechanism): remove an assert, also return
1499         true if just a single char was deleted.
1500
1501         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1502         cursor that we modify, to avoid modifying an active cursor before
1503         we call setCursor. This allows depm to run. Also return true if
1504         depm deleted something.
1505
1506         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1507         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1508         cursorDownParagraph, cursorPrevious and cursorNext, return true if
1509         something was changed in the buffer because of them (ie. depm run)
1510
1511         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1512         debug messages. Make update by default be false. Make sure that
1513         the result of update is retained throught several calls down to
1514         dispatch.
1515
1516         * LyXAction.h: add a new func_attrib: NoUpdate
1517
1518         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1519         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1520         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1521         and LFUN_WORDLEFT
1522         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1523
1524 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1525
1526         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1527         bv_->owner(), bv_->buffer() by direct references to the private
1528         members.
1529         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1530         (getStatus): isSavedPosition() is in BufferView::Pimpl.
1531         (fitCursor): center() is in BufferView::Pimpl.
1532         (getStatus, trackChanges, dispatch): no need for a temporary buf
1533         variable
1534         (fitCursor, workAreaDispatch): use workarea().workheight()
1535
1536 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1537
1538         * CutAndPaste.C (pasteSelectionHelper): fix a crash
1539
1540 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1541
1542         * buffer.C: format up to 241.
1543         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1544         break if pasting into ERT
1545         * lyxfunc.C (getStatus): suppress mathpanel and
1546         LFUN_DIALOG_SHOW_NEW_INSET in ERT
1547
1548 2005-02-01  Angus Leeming  <leeming@lyx.org>
1549
1550         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1551
1552 2005-02-01  Angus Leeming  <leeming@lyx.org>
1553
1554         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1555         calling fs::is_directory().
1556
1557 2005-01-31  Angus Leeming  <leeming@lyx.org>
1558
1559         * lyx_main.C (priv_exec): specify explicitly the relative location
1560         of the top level build directory when run in-place.
1561
1562 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1563
1564         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1565         LyXText containing the cursor, not the top-level one.
1566
1567         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1568         true.
1569         (insertStringAsLines): rename par to pit; use temporary variable
1570         par to hold a Paragraph; do not store par.layout() in a variable,
1571         since the pointer may die when breaking paragraphs; pass pars to
1572         breakParagraph() instead of Buffer::paragraphs().
1573
1574 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1575
1576         * lyxlex_pimpl.h: #include <fstream>.
1577
1578         * BufferView.[Ch] (getLyXText): add a const version.
1579
1580         * BufferView_pimpl.C: add debug aids.
1581
1582         * RowList_fwd.h:
1583         * buffer.h:
1584         * lyxrow.h:
1585         * paragraph_funcs.h: add commentary explaining what the class does.
1586
1587
1588         * coordcache.[Ch]: add lots of commentary.
1589         (startUpdating, doneUpdating): debug aids.
1590         (arrays, insets, parPos, getParPos): accessors to private data.
1591
1592         * cursor_slice.[Ch] (text): add a const version.
1593         * dociterator.[Ch] (text, innerText): add const versions.
1594
1595         * lyxtext.h (breakParagraph): change the keep_layout arg to a
1596         bool.
1597
1598         * paragraph.C (getRow, pos2ros): add asserts.
1599
1600         * paragraph.h: add commentary. Lots of.
1601
1602         * paragraph.[Ch] (metrucs, draw): removed.
1603
1604         * cursor.C:
1605         * rowpainter.[Ch]: const-correct changes.
1606
1607         * text.C: various obvious clean-ups. Removal of ancient cruft.
1608         Bug fixes, even.
1609
1610 2005-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
1611
1612         * vc-backend.C (find_file): rewrite to use boost.filesystem
1613         (scanMaster): ditto
1614
1615         * main.C (main): set default name check for boost.filesystem to
1616         no check
1617
1618         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1619         (open): ditto
1620         (doImport): ditto
1621         (actOnUpdatedPrefs): ditto
1622
1623         * lyx_main.C (init): rewrite to use boost.filesystem
1624         (queryUserLyXDir): ditto
1625
1626         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1627         (getContentsOfAsciiFile): ditto
1628
1629         * lastfiles.C (readFile): rewrite to use boost.filesystem
1630
1631         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1632
1633         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1634         (loadLyXFile): ditto
1635
1636         * buffer.C (Buffer): adjust for destroydir
1637         (getLogName): rewrite to use boost.filesystem
1638         (setFileName): ditto
1639         (save): use fs::copy_file (from fs_extras)
1640
1641         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1642
1643         * LaTeX.C (run): rewrite to use boost.filesystem
1644         (scanAuxFiles): ditto
1645         (handleFoundFile): ditto
1646
1647 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1648
1649         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1650
1651         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1652
1653 2005-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1654
1655         * lyxlayout.[Ch]: change some vars from float to double
1656
1657         * buffer.C (readFile): make a local var const
1658
1659         * Several files: use convert<> instead of atoi,strToXXX and friends
1660
1661 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1662
1663         * LaTeXFeatures.[Ch]: Add a static list packages_ that
1664         holds the contents of packages.lst. New functions getAvailable
1665         and isAvailable to parse and check that list, resp.
1666
1667         * LyXAction.C:
1668         * lfuns.h:
1669         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1670
1671         * bufferparams.[Ch]: new param output_changes.
1672
1673         * Buffer.C: increase file format to 240.
1674         Use output_changes and isVailable.
1675
1676         * changes.[Ch]:
1677         * paragraph.C:
1678         * paragraph_pimpl.C: Use output_changes and isVailable.
1679
1680 2005-01-23  Angus Leeming  <leeming@lyx.org>
1681
1682         * output_latex.C: #include "insetbibitem.h", rather than
1683         forward declare function bibitemWidest.
1684
1685 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
1686
1687         * lyx_main.C (init): make it compile on the Mac.
1688
1689 2005-01-20  Angus Leeming  <leeming@lyx.org>
1690
1691         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1692         (setLyXMisc): (char string literal) != (char string literal) is
1693         performing a comparison on the addresses. Convert one operand
1694         explicitly to string to guarantee expected behaviour.
1695         From MSVC warning.
1696
1697 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1698
1699         * buffer.C:
1700         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1701
1702         * output_plaintext.C: remove unneeded #include gzstream.h.
1703
1704 2005-01-20  Angus Leeming  <leeming@lyx.org>
1705
1706         * SpellBase.h: rename some of the elements of the Result enum.
1707
1708         * aspell_local.h:
1709         * ispell.h:
1710         * pspell.h:
1711         * aspell.C (check):
1712         * ispell.C (check):
1713         * pspell.C (check): ditto
1714
1715 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1716
1717         * buffer.C: add #include <fstream>.
1718
1719         * lyx_main.C (init): Compile fix.
1720
1721         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1722
1723 2005-01-20  Angus Leeming  <leeming@lyx.org>
1724
1725         * mover.h: change commentary to reflect the changed meaning of
1726         the $$s placeholder.
1727
1728 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1729
1730         * output_linuxdoc.C (linuxdocParagraphs): silence warning
1731
1732         * lyxfind.C (MatchString::operator()): remove bogus semicolon
1733
1734 2005-01-20  Angus Leeming  <leeming@lyx.org>
1735
1736         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1737         printing diagnostic data by not dereferecing an iterator past the
1738         end.
1739
1740 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1741
1742         * buffer.C (readHeader): use "&&" rather than "and".
1743
1744         * lyxserver.h (inPipeName, outPipeName): make these const.
1745
1746 2005-01-19  Angus Leeming  <leeming@lyx.org>
1747
1748         * lyx_main.C (error_handler, init): protect SIGHUP with
1749         #ifdef SIGHUP guards.
1750
1751 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1752
1753         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1754
1755 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1756
1757         * text.C (setHeightOfRow): add a margin at the top and bottom of
1758         the document (bug 1761)
1759
1760 2005-01-17  Angus Leeming  <leeming@lyx.org>
1761
1762         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1763         with "python ". Workaround for a brain-dead Windows.
1764
1765 2005-01-16  Angus Leeming  <leeming@lyx.org>
1766
1767         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1768         for MacOSX and Windows to use prependEnvPath.
1769         Strip out the hard-coded block to add elements to the PATH for
1770         MacOSX and replace it with a call to prependEnvPath using the
1771         contents of LyXRC::path_prefix.
1772         (queryUserLyXDir): strip out the code to run reconfigure, instead
1773         returning a boolean indicating the necessity to do so.
1774         (reconfigureUserLyXDir): contains the code to reconfigure the
1775         user support directory. Is now called after the various LyXRC data
1776         files have been read.
1777
1778         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1779
1780 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1781
1782         * converter.[Ch] (convert): take a new parameter try_default. Use
1783         a default converter (imagemagick) if try_default is true.
1784
1785 2005-01-13  Angus Leeming  <leeming@lyx.org>
1786
1787         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1788         os::cygwin_path_fix.
1789         (write): output LyXRC::cygwin_path_fix as necessary.
1790
1791 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
1792
1793         * lyxrc.h:
1794         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1795
1796 2005-01-12  Angus Leeming  <leeming@lyx.org>
1797
1798         * lyx_main.C (init): set the PATH variable to include the
1799         directory containing the LyX binary when running on Mac or Windows.
1800
1801 2005-01-12  Angus Leeming  <leeming@lyx.org>
1802
1803         * lyx_main.C (init): remove cruft that purports to set the locale
1804         dir. It doesn't and is not needed anyway.
1805
1806 2005-01-10  Angus Leeming  <leeming@lyx.org>
1807
1808         * Makefile.am: remove the lyx_main.C special casing.
1809
1810         * BufferView_pimpl.C:
1811         * bufferlist.C:
1812         * exporter.C:
1813         * lyx_cb.C:
1814         * lyx_main.C:
1815         * lyxfunc.C:
1816         * messages.C: use support/package.h to provide the paths to the
1817         various directories used by LyX.
1818
1819 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1820
1821         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1822         layout if pasting into an empty paragraph)
1823
1824 2005-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1825
1826         * tex-accent.C: add <string>
1827
1828 2005-01-06  José Matos  <jamatos@lyx.org>
1829
1830         * ParagraphParameters.C (write): put every parameter in its own line.
1831         * paragraph.C (write): reduce number of consecutive empty lines exported.
1832         * buffer.C (LYX_FORMAT): increase file format to 239.
1833
1834 2005-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1835
1836         * everywhere: change support/tostr.h -> support/convert.h
1837
1838         * tabular.C: make all write_attributes templates, tostr -> convert
1839
1840         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1841         (emptyTag): and -> &&, and fix type for ret from getChar
1842         (getFirstWord): fix type for ret from getChar
1843         (onlyText): and -> &&
1844         (simpleDocBookOnePar): and not -> && !, fix type for ret from
1845         getChar
1846
1847         * toc.C (goTo, action):
1848         * text3.C (dispatch):
1849         * text.C (currentState):
1850         * tex-accent.C (DoAccent):
1851         * sgml.C:
1852         * lyxrc.C:
1853         * lyxfunc.C (menuNew):
1854         * lyxfinc.C (replace):
1855         * counters.C (laberItem):
1856         * bufferview_funcs.C (font2string):
1857         * bufferparams.C (writeFile):
1858         * buffer.C (readFile):
1859         * Spacing.C (set):
1860         * MenuBackend.C: tostr -> convert
1861
1862         * LaTeX.C (runMessage): fix format
1863         (scanAuxFiles): tostr -> convert
1864
1865         * BufferView_pimpl.C (savePosition): fix format
1866         (restorePosition): ditto
1867         (dispatch): ditto
1868
1869 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1870
1871         * Spacing.[Ch]: New method getValueAsString().
1872
1873         * Spacing.[Ch]:
1874         * bufferparams.C:
1875         * ParagraphParameters.C:
1876         * lyxlayout.C:
1877         * text.C:
1878         * text3.C: store/read spacing value as string.
1879
1880         * rowpainter.C: change float value (spacing_val) to double.
1881
1882         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1883         broken custom document spacing).
1884
1885 2005-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
1886
1887         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1888         namespace, also more use of temp references and const
1889
1890         * cursor.[Ch] (getStatus): move to lyxfunc.C
1891
1892         * bufferparams.C: reformat slightly
1893
1894         * bufferview_funcs.C (font2string): constify arg
1895
1896         * changes.C:
1897         * converter.C:
1898         * counters.C:
1899         * bufferlist.C:
1900         * buffer_funcs.C: (many funcs): constify arg on function
1901         definitions, also make more local vars const, also add ASSERTS on
1902         pointer args.
1903
1904         * buffer.C (LYX_FORMAT): put const in correct place
1905         (many funcs): constify arg on function definitions, also make
1906         more local vars const
1907
1908         * aspell_local.h: remove "struct" from typdef setup
1909
1910         * aspell.C (check): make word_ok const
1911         (nextMiss): simplify slightly
1912         (error): ditto
1913
1914 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1915
1916         * lyxrc.[Ch]: store all float values as strings.
1917         use int (not float) for lyxrc.dpi.
1918
1919 2005-01-04  Angus Leeming  <leeming@lyx.org>
1920
1921         * lyx_cb.C (Reconfigure):
1922         * lyx_main.C (queryUserLyXDir):
1923         to run the <system_lyxdir>/configure correctly on Windows, prefix
1924         the path to the script with "sh " when generating the string that
1925         is passed to system().
1926
1927 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1928
1929         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1930
1931 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1932
1933         * lyxlength.C (asLatexString): get rid of setprecision
1934
1935 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1936
1937         * text2.C (setLayout): remove unused variable endpit.
1938         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1939
1940         * paragraph.C (onlyText): remove unused variable style.
1941
1942         * cursor.C (bruteFind): remove unused variables beg and end.
1943
1944         * Makefile.am (dist_noinset_DATA): not needed anymore
1945
1946         * cheaders/*: remove.
1947
1948 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1949
1950         * text3.C: fix LFUN_MATH_MODE.
1951
1952 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1953
1954         * buffer_funcs.C (countWords): new function. Counts words between
1955         two iterators.
1956
1957         * BufferView_pimpl.C (getStatus, dispatch): handle
1958         LFUN_WORDS_COUNT.
1959
1960         * LyXAction.C (init):
1961         * lfuns.h: add LFUN_WORDS_COUNT.
1962
1963 2004-12-19  Angus Leeming  <leeming@lyx.org>
1964
1965         * buffer.C (save): s/slashify_path/internal_path/.
1966
1967 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1968
1969         * lyxfind.C (findChange): do not search for end of pars, because
1970         the change tracker cannot handle this (fixes bug 1719).
1971
1972 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1973
1974         * paragraph.[Ch] (autoBreakRows): remove
1975
1976         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1977
1978         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1979         avoid using the paragraph one
1980
1981         * text2.C (LyXText, insertStringAsLines): adjust
1982
1983 2004-12-16  Angus Leeming  <leeming@lyx.org>
1984
1985         * bufferlist.C:
1986         * lyx_main.C:
1987         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1988
1989 2004-12-14  Angus Leeming  <leeming@lyx.org>
1990
1991         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1992
1993         * bufferlist.C (emergencyWrite):
1994         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1995         GetEnvPath("HOME").
1996
1997 2004-12-14  Angus Leeming  <leeming@lyx.org>
1998
1999         * main.C: (main): no longer pass pointers to os::init.
2000
2001 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
2002
2003         * undo.C (textUndoOrRedo): simplify logic, fix a crash
2004         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
2005
2006 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
2007
2008         * lyxfunc.C:
2009         * text3.C: remove selection_possible global flag
2010
2011 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
2012
2013         * text2.C (getSelectionSpan): remove
2014         (changeDepth, changeDepthAllowed): adjust
2015
2016 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
2017
2018         * Makefile.am (BOOST_LIBS): use boost variables
2019
2020 2004-12-03  José Matos  <jamatos@lyx.org>
2021
2022         * buffer.C: format up to 238.
2023
2024 2004-12-03  José Matos  <jamatos@lyx.org>
2025
2026         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
2027
2028 2004-12-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2029
2030         * cursor.C (goUpDown): remove call to idxUpDown2
2031
2032 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2033
2034         * tabular.[Ch]: use size_t-like types for cell, row and column
2035         indices
2036
2037 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2038
2039         * lyxfunc.C (getStatus): do not lose previous information when
2040         calling BufferView::getStatus; do not set a default "Command
2041         disabled" message at the beginning, but just before returning.
2042
2043 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2044
2045         * cursor.h (getStatus): add better comment from src/cursor.C
2046
2047 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2048
2049         * text3.C (getStatus): return false when the lfun is not handled
2050
2051 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2052
2053         * broken_headers.h: remove
2054
2055         * Makefile.am (lyx_SOURCES): remove broken_headers.h
2056
2057 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2058
2059         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
2060         offset_ref accessors
2061
2062         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
2063         top_y_, merge fitcursor with update
2064         (updateScrollbar, scrollDocView, fitCursor, center, update): new
2065         coord scheme
2066         (metrics): introduce
2067         (workAreaDispatch): adapt to new coord scheme
2068         (redoCurrentBuffer): remove
2069
2070         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
2071
2072         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
2073         CurStatus enum.
2074
2075         * coordcache.[Ch]: add paragraph cache and helpers
2076
2077         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
2078         adjust everywhere
2079
2080         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
2081         (targetX, setTargetX): introduce
2082
2083         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
2084         baseline -> ascent, as the rest of lyx
2085
2086         * lyxtext.h: remove redoParagraphs, updateParPositions,
2087         fullRebreak, redoParagraphInternal. move dist to anon namespace in
2088         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
2089         have ascent/descent (ascent is ascent of first par)
2090
2091         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
2092         step of BufferView
2093
2094         * paragraph.[Ch]: unify dimension handling with the rest of lyx
2095
2096         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
2097
2098         * pariterator.C: fix infinite loop introduced in par->pit renaming
2099
2100         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
2101         in insets and LyXText, draw two off-screen paragraphs using
2102         NullPainter, and adapt to new coord scheme
2103
2104         * text.C:
2105         * text2.C:
2106         * text3.C: adapt lfun handlers to the new coord scheme, which
2107         means: there's only guaranteed coord information for onscreen pars
2108         plus one above and one below. This implies that one can do search
2109         from y coordinates in the range [-1,workHeight]
2110
2111 2004-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2112
2113         * rename a lot of InsetOld to InsetBase
2114
2115 2004-11-25  Angus Leeming  <leeming@lyx.org>
2116
2117         * BufferView_pimpl.C:
2118         * lyx_cb.C:
2119         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
2120
2121 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2122
2123         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
2124         call BufferView::getStatus if LCursor::getStatus did nothing
2125         (setStatusMessage, getStatusMessage): removed.
2126
2127         * FuncStatus.C (message): new methods. Used to provide an error
2128         message indicating why a command is disabled.
2129         (clear, |=, FuncStatus): update for message.
2130
2131 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2132
2133         * lyxfunc.C (dispatch): always call sendDispatchMessage
2134
2135 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2136
2137         * BufferView.C:
2138         * BufferView_pimpl.C:
2139         * CutAndPaste.C:
2140         * FontIterator.C:
2141         * buffer.C:
2142         * cursor.C:
2143         * cursor_slice.[Ch]:
2144         * dociterator.[Ch]:
2145         * lyxfind.C:
2146         * paragraph_funcs.C:
2147         * pariterator.C:
2148         * rowpainter.C:
2149         * text.C:
2150         * text2.C:
2151         * text3.C:
2152         * undo.C: par->pit renaming
2153
2154 2004-11-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2155
2156         * tabular.C (cellstruct): use initialization, store a shared_ptr
2157         to insettext instead of the insettext directly, adjust to fit.
2158         (operator=):  new function
2159         (swap): new function
2160         (rowstruct): use initialization
2161         (columnstruct): use initialization
2162         (ltType): use initialization
2163
2164
2165         * lyxlength.h (swap): new function
2166
2167         * LColor.[Ch] (operator=): use the common semantics
2168
2169 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2170
2171         * lyxfind.C (findNextChange): update the bufferview after setting
2172         the selection.
2173
2174 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2175
2176         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
2177         number of InsetOptArgs has already been inserted.
2178
2179         * output_latex.C (latexOptArgInsets): new method. This outputs all
2180         the optarg insets, up to the limit defined in the layout file.
2181         (optArgInset): removed
2182         (TeXOnePar): call latexOptArgInsets; correctly update texrow
2183
2184 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2185
2186         * paragraph.C (isLetter): remove special spellchecker-related
2187         code; return true also for digits
2188         (isWord, isKomma): remove
2189
2190         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
2191         * lyxfind.C (MatchString()): use isLetter instead of isWord
2192
2193 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2194
2195         * pariterator.h (operatir=): comment out un-implemented member
2196         function.
2197
2198         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
2199         static cast.
2200
2201 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2202
2203         * lyxfont.h: include LColor.h to satisfy concept checks.
2204
2205 2004-11-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2206
2207         * pariterator.h: add typdefs for value_type, difference_type,
2208         pointer and reference to satisfy concept checks. Also add default
2209         constructor for same reason.
2210
2211         * pariterator.C (operator++): add post-increment operator to
2212         satisfy concept checks.
2213
2214         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
2215         checks.
2216
2217         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
2218
2219         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
2220         checks. Also rename base_type to BaseType to follow naming
2221         standard better.
2222
2223         * FloatList.h: include Floating.h to satisfy concept checks.
2224
2225 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2226
2227         * lyxfunc.C (getStatus): when the origin of the request is menu or
2228         toolbar, and the LyXView does not have focus, do as if there was
2229         no buffer (bug 1720)
2230
2231         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2232         FuncRequest to individual entries of LFUN_SEQUENCE
2233
2234 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2235
2236         * output_latex.C (TeXOnePar): override runparams.moving_arg
2237         according to the needprotect value of the current paragraph (bug
2238         1739)
2239
2240         * paragraph.C (simpleTeXOnePar): no need to override
2241         runparams.moving_args here
2242
2243 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
2244
2245         * vspace.C: fix off-by-one-error, related to fix #1682
2246
2247 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2248
2249         * lengthcommon.C: a more general fix for bug 1682
2250
2251 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2252
2253         * text.C (backspace): fix crash
2254
2255 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2256
2257         * format.[Ch] (getFormatFromFile): new method
2258         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2259
2260 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2261
2262         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2263
2264 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2265
2266         * lyxfunc.C (dispatch): remove the verbose argument
2267         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2268         instead
2269
2270         * kbmap.C (defkey): set the origin of func to KEYBOARD
2271
2272         * MenuBackend.C (MenuItem):
2273         * ToolbarBackend.C (add): set the origin of func to UI
2274
2275         * funcrequest.[Ch]: add origin member, which indicates which part
2276         of LyX requests an action
2277
2278 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2279
2280         * converter.C (move): don't lie in the error message
2281         * converter.h (isReachable, move): document
2282
2283 2004-11-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2284
2285         * buffer.C: remove unused using lyx::support::atoi
2286         * paragraph_funcs.C: ditto
2287
2288 2004-11-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2289
2290         * bufferlist.C (exists): use bind and equal_to instead of
2291         compare_memfun
2292         (getBuffer): ditto
2293         * lyxtextclasslist.C (NumberOfClass): ditto
2294
2295         * cursor.C (insert): use for_each instead of explicit for loop
2296
2297         * bufferlist.C (getFileNames): use std::transform and
2298         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2299
2300         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2301         for loop
2302
2303         * buffer.C (changeLanguage): use for_each instead of explicit for
2304         loop
2305         (hasParWithID): implement using getParFromID
2306
2307         * LaTeXFeatures.C: ws change only
2308
2309         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2310         to cleanup a bit.
2311
2312         * BufferView_pimpl.C (trackChanges): use for_each instead of
2313         expilicit for loop
2314
2315 2004-11-04  André Pönitz  <poenitz@gmx.net>
2316
2317         * undo.h:
2318         * undo.C (textUndoOrRedo): fix crash when creating undo information.
2319
2320         * dociterator.C (asDocIterator): use hard assert again.
2321
2322 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2323
2324         * lyxlength.C (asLatexString): rewrite so that it does not use
2325         snprintf anymore
2326
2327 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2328
2329         * text3.C (specialChar, dispatch): make sure cursor moves to the
2330         right after inserting an inset
2331
2332 2004-11-02  José Matos  <jamatos@lyx.org>
2333
2334         * output_docbook.C (docbook):
2335         * paragraph.C (getID):
2336         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2337         garantee that the output is always legal.
2338
2339         * tabular.C (docbook):
2340         * outputprams.[Ch]: remove mixed contents.
2341
2342 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2343
2344         * text2.C (setCounter): prevent endless loop
2345
2346 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2347
2348         * exporter.C (copyFile): use the mover instead of support::copy()
2349         * exporter.C (Export): pass format and latex name to copyFile()
2350         * exporter.h (addExternalFile): document
2351         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2352
2353 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2354
2355         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2356
2357 2004-10-30  José Matos  <jamatos@lyx.org>
2358
2359         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2360         text and no inset or font change. This allows to use CDATA
2361         sections just for the whole paragraph.
2362
2363 2004-10-30  José Matos  <jamatos@lyx.org>
2364
2365         * paragraph.C (getFirstWord): remove unused variable.
2366
2367 2004-10-30  José Matos  <jamatos@lyx.org>
2368
2369         * paragraph.C (getFirstWord): the content should always be escaped
2370         there.
2371         (simpleDocBookOnePar):
2372         * output_docbook.C (makeEnvironment): replace reference to CDATA
2373         to style pass_thru.
2374
2375 2004-10-30  José Matos  <jamatos@lyx.org>
2376
2377         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2378
2379 2004-10-30  José Matos  <jamatos@lyx.org>
2380
2381         * output_docbook.C (makeParagraphs):
2382         * paragraph.[Ch] (emptyTag): for docbook and company, if the
2383         standard paragraph has only a given type of content drop the wrapper.
2384
2385 2004-10-29  José Matos  <jamatos@lyx.org>
2386
2387         * output_docbook.C (makeEnvironment):
2388         * sgml.C (openTag):
2389         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2390
2391 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
2392
2393         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2394         (cleanID): sanitize any id.
2395
2396 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2397
2398         * buffer.C, lyxlex_pimpl.C:
2399         * lyxlex_pimpl.C (setFile):
2400         s/getExtFromContents/getFormatFromContents/
2401
2402 2004-10-28  José Matos  <jamatos@lyx.org>
2403
2404         * output_docbook.C (makeEnvironment): move id to broadest possible
2405         scope.
2406
2407         * sgml.C (openTag): apply substitution of <> for all attributes.
2408
2409 2004-10-28  José Matos  <jamatos@lyx.org>
2410
2411         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2412         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2413         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2414
2415         * sgml.[Ch]: new version for open and closeTag for paragraph and
2416         for strings. Now they handle the ids of paragraphs.
2417
2418 2004-10-26  Angus Leeming  <leeming@lyx.org>
2419
2420         * Makefile.am: add mover.[Ch].
2421
2422         * converter.C (convert, move): use the new Movers to move external
2423         files to the temp directory.
2424
2425         * lyx_main.C (init): ensure that the global system_movers data
2426         is initialised.
2427
2428         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2429         preferences file.
2430
2431         * mover.[Ch]: new files, defining a Mover as a utility to move an
2432         external file between directories and, if necessary, manipulate this
2433         file using a helper script.
2434
2435 2004-10-25  José Matos  <jamatos@lyx.org>
2436
2437         * output_docbook.C (makeCommand): merge two if's that tested the
2438         same condition.
2439
2440 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2441
2442         * sgml.C (escapeString): fix warning in a better way
2443
2444 2004-10-25  José Matos  <jamatos@lyx.org>
2445
2446         * sgml.C (escapeString): import the require boosts header file for
2447         tie, and avoid a signed unsigned comparison.
2448
2449 2004-10-25  José Matos  <jamatos@lyx.org>
2450
2451         * sgml.h: add #include <string>
2452
2453 2004-10-25  José Matos  <jamatos@lyx.org>
2454
2455         * sgml.[Ch] (escapeString): new function to escape all the string.
2456
2457 2004-10-24  José Matos  <jamatos@lyx.org>
2458
2459         * paragraph.[Ch] (getFirstWord): new function to get the first
2460         word. Useful for description.
2461         (simpleDocBookOnePar): remove depth argument, add another that
2462         says where to start the paragraph.
2463
2464         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2465         use the new functions to fix cleanly the support for descriptions.
2466
2467 2004-10-24  José Matos  <jamatos@lyx.org>
2468
2469         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2470         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2471         * output_linuxdoc.C (linuxdocParagraphs):
2472         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2473         add buffer as argument.
2474
2475 2004-10-24  José Matos  <jamatos@lyx.org>
2476
2477         * output_docbook.C (makeEnvironment, searchEnvironment): place
2478         CDATA inside paragraphs and fix scope for listitems.
2479
2480 2004-10-24  José Matos  <jamatos@lyx.org>
2481
2482         * output_docbook.C: remove using statement for stack.
2483
2484 2004-10-23  José Matos  <jamatos@lyx.org>
2485
2486         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2487         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2488         docbook. The new scheme is recursive and makes use of iterators, the
2489         same as latex export works.
2490         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2491         directly with the paragraph contents. This code was moved up to
2492         output_docbook.C (docbookParagraphs).
2493         * sgml.C (openTag, closeTag): removed unneeded newlines.
2494         (closeEnvTags) removed.
2495
2496 2004-10-23  André Pönitz  <poenitz@gmx.net>
2497
2498         * undo.C (textUndoOrRedo):
2499         * dociterator.C (asDocIterator): work around crash
2500
2501         * cursor.C (getStatus): replace ASSERT by more verbose error message
2502           and manual correction of the problem. Should increase stability
2503           while providing more sensible information.
2504
2505 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2506
2507         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2508
2509         * bufferlist.C (previous, next): new methods
2510
2511         * lfuns.h:
2512         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2513
2514 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
2515
2516         * buffer.C (makeDocBookFile): add dsssl stylesheet control
2517         entities to preamble.
2518
2519 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2520
2521         * messages.C (Pimpl): strip off translation context information
2522
2523 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2524
2525         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2526         the cursor is correct (bug 1694)
2527
2528 2004-10-13  José Matos  <jamatos@lyx.org>
2529
2530         * output_docbook.C (docbookParagraphs): fix closing tags in the
2531         end of the document.
2532
2533 2004-10-09  José Matos  <jamatos@lyx.org>
2534
2535         * buffer.C: format up to 237.
2536         * bufferparams.C (write): use tostr to convert booleans to strings.
2537
2538 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
2539
2540         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2541
2542 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
2543
2544         * LaTeX.C: implement use of babel language in xindy.
2545
2546 2004-10-05  José Matos  <jamatos@lyx.org>
2547
2548         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2549         Add new translators to help reading and writing the lyx file.
2550
2551 2004-10-05  José Matos  <jamatos@lyx.org>
2552
2553         * ParagraphParameters.C (read):
2554         * text.C (readParToken): replace nexToken by more appropriate lex
2555         methods.
2556
2557 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
2558
2559         * LaTeX.C (runMakeIndex):
2560         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2561         (usually 'makeindex') configurable.
2562
2563         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2564         with a variable rather than with a number.
2565
2566 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2567
2568         * output_latex.C (TeXOnePar): make sure font setting is the first
2569         thing that gets output (and the last at the end). Should fix bug
2570         1404.
2571
2572 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2573
2574         * pch.h: use proper signal include
2575
2576         * LaTeX.h: Use preferred calling of Boost.Signal
2577         * buffer.h: ditto
2578
2579 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2580
2581         * pch.h: dont include <boost/function/function0.hpp>
2582
2583         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2584
2585         * paragraph_pimpl.h: remove usage of ShareContainer
2586
2587         * paragraph_pimpl.C: remove initialization of ShareContainer.
2588
2589 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2590
2591         Fix bug #1666
2592
2593         * BufferView.C (putSelectionAt): change the semantics when
2594         backwards == true: now, this just swaps cursor and anchor wrt the
2595         forward case
2596
2597         * BufferView.h (putSelectionAt): add some documentation
2598
2599         * lyxfind.C (findBackwards): rewrite using while(). In particular,
2600         make sure backwardChar is done at least once (to avoid getting
2601         stuck)
2602         (findNextChange): use putSelectionAt in the forward direction
2603         (operator()): use Paragraph::isWord
2604
2605 2004-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2606
2607         * Spacing.C (set): c_str fix
2608
2609 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2610
2611         * lyx_cb.C (Reconfigure): quote the name of configure script in
2612         case it contains spaces
2613
2614 2004-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2615
2616         * client: new dir
2617
2618         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2619         (BOOST_LIBS): use top_buildir when looking for the file
2620
2621 2004-08-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2622
2623         * pch.h: do not use include boost/format.hpp, multiple symbols
2624                 will result (gcc bug)
2625
2626
2627 2004-08-23  José Matos  <jamatos@lyx.org>
2628
2629         * bufferparams.C (readToken): fix reading of the author field.
2630
2631 2004-08-20  José Matos  <jamatos@lyx.org>
2632
2633         * lyxrc.C: remove support/translator.h inclusion since it is not used.
2634
2635 2004-08-20  José Matos  <jamatos@lyx.org>
2636
2637         * lyxlex.[Ch] (findToken): remove function.
2638
2639         * ParagraphParameters.C (findToken):
2640         * bufferparams.C (findToken): replace call for previous function
2641         with local copy. This local function has one more argument, the
2642         read string argument.
2643
2644 2004-08-16  José Matos  <jamatos@lyx.org>
2645
2646         * ParagraphParameters.C (write):
2647         * Spacing.C (writeFile):
2648         * bufferparams.C (writeLaTeX):
2649         * lyx_cb.C (Reconfigure):
2650         * paragraph.C (write):
2651         * tabular.C (write): remove unnecessary space at end of line.
2652
2653
2654 2004-08-16  José Matos  <jamatos@lyx.org>
2655
2656         * text.C (readParagraph): remove debug message.
2657
2658 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2659
2660         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2661         crash
2662
2663         * output_plaintext.C (asciiParagraph): set depth correctly
2664
2665         * outputparams.h: add member depth
2666
2667         * paragraph_funcs.C (ownerPar): remove.
2668
2669         * text2.C (setCounter): remove first_pit; comment out some
2670         non-working code that uses ownerPar
2671
2672         * BufferView.C (getParentLanguage): remove. Not used anymore, and
2673         uses ownerPar
2674
2675 2004-08-16  José Matos  <jamatos@lyx.org>
2676
2677         * text.C (readParToken, readParagraph, read): report all unknown tokens.
2678         For the same level of importance use the same chanel to report problems.
2679         (read): add code to deal with \begin_body and \end_body.
2680
2681
2682 2004-08-15  José Matos  <jamatos@lyx.org>
2683
2684         * lyxlex.C (getString): fix comment, buffer::readBody is now
2685         buffer:readDocument.
2686
2687         * tex-strings.C (string_papersize): Default -> default,
2688         Custom -> custom, for consistency with other options.
2689
2690 2004-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2691
2692         * pch.h: new file
2693
2694         * Makefile.am: support pch
2695
2696 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2697
2698         * text.C (readParToken): remove the static LyXFont variable and
2699         pass it as a parameter instead. This fixes a nasty bug where an
2700         inset will be inserted with a bad font in some situations
2701         (readParagraph): adapt
2702
2703         * text2.C (setCounter): reduce number of calls to pars_[pit]
2704
2705         * text.C (singleWidth): add an assert, fix a test
2706
2707         * rowpainter.C (paintText): reduce number of calls to singleWidth
2708
2709         * paragraph.C (isHfill):
2710         (isNewline): ws only
2711
2712 2004-08-14  André Pönitz  <poenitz@gmx.net>
2713
2714         * text.C:
2715         * text2.C:
2716         * rowpainter.C:
2717         * lyxtext.h (several functions): use a Paragraph & argument
2718         instead of par_type
2719
2720 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2721
2722         * metricsinfo.h: add a new field ltr_pos to PainterInfo
2723
2724         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2725
2726         * text.C (singleWidth): remove useless test
2727
2728 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2729
2730         * tabular.h: remove bogus comments
2731
2732         * tabular.C (getDescentOfRow):
2733         (isPartOfMultiColumn): add assertions
2734
2735         * lyxlength.C (inPixels): remove #warning
2736
2737 2004-08-14  André Pönitz  <poenitz@gmx.net>
2738
2739         * paragraph.h: inline getChar()
2740
2741         * BufferView.h: remove unused declarations
2742
2743 2004-08-14  José Matos  <jamatos@lyx.org>
2744
2745         * Buffer.[Ch] (readDocument): new name for old readBody.
2746         * Buffer.C: new file format, new keywords: \begin_document,
2747         \begin_header, \begin_body, \end_body.
2748
2749         * bufferparams.C (readToken): replace all calls to lex.nextToken
2750         by lex.next(). Do the same to eatLine except where really needed.
2751
2752         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2753         line when writing to the lyx file.
2754
2755         * output_plaintext.C (asciiParagraph): fix Bibliography style
2756         handling.
2757
2758         * text.C (read): fix end of file handling.
2759
2760 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2761
2762         * MenuBackend.C (Menu::operator[]): new method to access
2763         individual menu items
2764         (Menu::hasFunc): new method. search for an item that corresponds
2765         to a given func
2766         (MenuBackend::specialMenu): new method
2767         (MenuBackend::expand): if a special menu has been set, skip
2768         entries whose func() appears in this menu
2769
2770 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2771
2772         * text3.C: use Debug::DEBUG a bit more
2773
2774         * text.C (leftMargin): try to simplify a tiny bit change var x to
2775         l_margin. Dont output the wide margins always.
2776         (rightMargin): no margin in inner texts
2777
2778         * rowpainter.h (nestMargin): new func
2779         (changebarMargin): new func
2780         (rightMargin): new func
2781
2782         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2783         now functions.
2784         (paintLast): ditto
2785
2786         * factory.C (createInset): modify setDrawFrame
2787
2788         * cursor.C: use Debug::DEBUG a bit more
2789
2790 2004-08-14  André Pönitz  <poenitz@gmx.net>
2791
2792         * coordcache.[Ch]:
2793         * Makefile.am: new files to accomodate an 'external' (x,y)-position
2794         cache for all insets in (at least partially) visible (top-level)
2795         paragraphs.
2796
2797         * BufferView_pimpl.C: reset external coord cache before every update.
2798         This means the coord cache only contains valid entries.
2799
2800 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2801
2802         bug 1096
2803         * BufferView_pimpl.C (getInsetByCode): move function out of class
2804         and change in to a template in anon namespace. Also fix to do what
2805         suits us better.
2806
2807 2004-08-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
2808
2809         bug 1305
2810         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2811         of char
2812         (breakParagraph): rename par to par_offset and use a local
2813         reference. Add code to keep the language over a rebreak.
2814         (breakParagraphConservative): rename par to par_offset, use a
2815         local reference
2816         (mergeParagraph): ditto
2817         (outerHook): ditto
2818         (isFirstInSequence): ditto
2819         (outerFont): rename pit to par_offset
2820
2821         * paragraph.C: ws change
2822         * paragraph.h: ditto
2823         * text3.C: ditto
2824         * text.C: ditto
2825
2826 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2827
2828         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2829         treatment for ']'
2830
2831         * paragraph.C (simpleTeXOnePar): when we have a \item with
2832         optional argument, enclose the argument with curly brackets (in
2833         case it contains a closing square bracket)
2834
2835         * text2.C (editXY):
2836         * text2.C (editXY):
2837         * text3.C (checkInsetHit): constify
2838
2839 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2840
2841         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2842         documents (bug 1629)
2843
2844 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2845
2846         Fix toggling of collapsable insets with the mouse (bug 1558)
2847
2848         * lyxfunc.C (dispatch): adapt to LCursor changes
2849
2850         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2851         make sure that dispatch is not invoked twice
2852
2853         * cursor.C (needsUpdate): new method
2854         (dispatch): return void
2855         (result): new method, to access the DispatchResult of the cursor.
2856
2857 2004-08-13  José Matos  <jamatos@lyx.org>
2858
2859         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2860
2861 2004-08-13  André Pönitz  <poenitz@gmx.net>
2862
2863         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2864
2865         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2866           multiple cells
2867
2868 2004-08-12  André Pönitz  <poenitz@gmx.net>
2869
2870         * text3.C: take out the 'cursor right' form insertInset and only
2871         do it in those places when it is really needed. Fixes crash on
2872         C-m...
2873
2874 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2875
2876         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2877
2878         * BufferView_pimpl.C (setBuffer): initialize the current font of
2879         the underlying LyXText
2880
2881 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2882
2883         * kbsequence.C (print): use UI native formatting for menu
2884         shortcuts
2885
2886         * text.C (insertChar): call Paragraph::insertChar with a font
2887         argument (cosmetic)
2888
2889         * paragraph.C (insertInset, insertChar): the version that takes a
2890         LyXFont argument is now a wrapper around the other one (the
2891         opposite used to be true).
2892
2893         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2894         argument. Font setting is done in Paragraph now.
2895
2896 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2897
2898         * outputparams.h: add new members intitle and lang.
2899
2900         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2901         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2902
2903 2004-08-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2904
2905         * text3.C (dispatch): remove special handling of button 4 and 5,
2906         it is now taken care of in the frontend code.
2907
2908 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2909
2910         * Spacing.h: add <string> (STLPort compile fix)
2911
2912 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2913
2914         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2915
2916 2004-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2917
2918         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2919         to bool.
2920
2921         * converter.C (showMessage): inherit from unary_function, make
2922         operator() const.
2923
2924         * buffer.C (writeFile): initialize retval
2925
2926         * InsetList.h: rename private variable list to list_
2927         * InsetList.[Ch]: adjust accordingly.
2928
2929 2004-07-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2930
2931         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2932         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2933         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2934         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2935         * ParagraphParameters.C, LaTeXFeatures.C: replace
2936         "support/std_sstream.h" with <sstream>
2937
2938 2004-07-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2939
2940         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2941         * lyxsocket.C (LyXServerSocket): ditto
2942         (serverCallback): ditto
2943
2944 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2945
2946         * LaTeXFeatures.C: check release date when loading jurabib.
2947
2948 2004-07-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2949
2950         * lyxserver.C (startPipe): call register_socket_callback
2951         (endPipe): call unregister_socket_callback
2952
2953 2004-07-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2954
2955         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2956         (LyXServerSocket): register the callback
2957         (LyXServerSocket): unregister the callback
2958         (fd): delete function
2959         (serverCallback): improve error checking and setup the callbacks.
2960         (dataCallback): change arg to fd.
2961         (writeln): new func (copied fro the client socket) used for server
2962         write to client.
2963         (LyXDataSocket): simplify
2964         (~LyXDataSocket): close ann unregiser callback
2965         (server): delete function
2966         (fd): delete function
2967         (readln): small changes, improve some std::string usage
2968         (writeln): constify a bit
2969
2970 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2971
2972         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2973         Qt frontend
2974
2975 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2976
2977         * BufferView_pimpl.C (setBuffer): set the layout combox value only
2978         after it has been populated
2979
2980 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2981
2982         * text2.C (insertInset): move cursor when inserting inset.
2983
2984 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2985
2986         * kbmap.C (findbindings): a couple of new methods. returns a
2987         container of kb_sequence objects. The real work is done by the
2988         private recursive version
2989         (printbindings): uses findbindings to print out a bracketed list
2990         of bindings (renamed from findbinding).
2991
2992         * MenuBackend.C (binding): use kb_keymap::findbindings
2993
2994         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2995
2996 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2997
2998         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2999
3000 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3001
3002         * paragraph.C (isWord): return true on insets that report
3003         isLetter().
3004
3005         * text.C (getWord): use Paragraph::isWord to decide what is in a
3006         word and what is not; fix bug 1609.
3007
3008 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3009
3010         * tex-strings.C: add "none" to string_paperpackages[], fixes
3011         off-by-one-error in the paperpackage selection.
3012
3013         * lyxlex.[Ch]:
3014         * tex-strings.[Ch]: char const * string[n]
3015         -> char const * const string[]
3016
3017 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3018
3019         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
3020         command, return early.
3021
3022 2004-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3023
3024         * debug.h: add DEBUG to enum and fix size of ANY.
3025
3026         * debug.C: add support for Debug::DEBUG
3027         (showTags): cast errorTags.level to unsigned int
3028
3029         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
3030         (redoCurrentBuffer): ditto
3031         (updateScrollbar): ditto
3032         * cursor.C (dispatch): ditto
3033         * text2.C (setLayout): ditto
3034         (setFont): ditto
3035         (updateCounters): ditto
3036         (editXY): ditto
3037         (deleteEmptyParagraphMechanism): ditto
3038
3039 2004-06-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3040
3041         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
3042         annotations to cleanup the Makefile slightly.
3043
3044 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3045
3046         * lyxrc.C: do not set user_email to a default value but use empty
3047         instead. The entry used to be translated, which does not work
3048         since at the point where lyxrc is constructed there is no
3049         translation service available
3050
3051         * messages.C (getLocaleDir): remove and use directly
3052         lyx_localedir() instead
3053
3054 2004-06-02  Angus Leeming  <leeming@lyx.org>
3055
3056         Fix crash caused by dereferencing null pointer 'exportdata' in
3057         OutputParams by creating a new ExportData variable on the heap,
3058         storing it in a boost::shared_ptr.
3059         The crash was triggered when generating an Instant Preview
3060         of an external inset.
3061
3062         * Makefile.am: add outputparams.C
3063
3064         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
3065         (c-tor): allocate memory to it.
3066
3067         * exporter.C (c-tor): associated changes.
3068
3069 2004-06-01  Angus Leeming  <leeming@lyx.org>
3070
3071         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
3072         contains data before calling isInset(0). (Bug 1513.)
3073
3074 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3075
3076         * exporter.C (checkOverwrite): new method
3077         * exporter.C (copyFile): new method
3078         * exporter.C (Export): copy referenced files to the document dir
3079         * exporter.[Ch]: new class ExportedFile
3080         * exporter.[Ch]: new class ExportData. Contains currently the
3081         names of referenced external files
3082         * outputparams.h: add exportdata member.
3083
3084 2004-05-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3085
3086         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
3087         version.C-tmp
3088
3089 2004-05-19  Angus Leeming  <leeming@lyx.org>
3090
3091         * LaTeXFeatures.C:
3092         * ToolbarBackend.C:
3093         * bufferparams.C:
3094         * lyxfunc.C: small changes due to the introduction of namespace
3095         lyx::frontend and the moving of namespace biblio to lyx::biblio.
3096
3097 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
3098
3099         * text3.C (dispatch): supress update when only moving the cursor
3100         * cursor.C (selHandle): remove commented code
3101
3102 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3103
3104         * paragraph.C (startTeXParParams): correct column count
3105         * CutAndPaste.C (pasteSelection): remove const_cast
3106         * output_docbook.C (docbookParagraphs): remove const_cast
3107         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
3108         const_cast and return ParagraphList::const_iterator
3109         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
3110         * output_plaintext.C (writeFileAscii): remove const_cast
3111         * paragraph.[Ch] (simpleTeXOnePar): make const
3112         * paragraph_funcs.C (outerPar): use const iterators
3113         * paragraph_pimpl.C (validate): use const iterators
3114         * text.C (setHeightOfRow): use const iterators
3115
3116 2004-05-17  Angus Leeming  <leeming@lyx.org>
3117
3118         * lfuns.h:
3119         * LyXAction.C (init): new LFUN_INSET_REFRESH.
3120
3121         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
3122         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
3123         if the citation engine has changed.
3124
3125 2004-05-14  José Matos  <jamatos@lyx.org>
3126
3127         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
3128         if the textclass does not provide it. Have it different for sgml and
3129         xml.
3130         support the language of document.
3131         * output_docbook.C (docbookParagraphs):
3132         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
3133         first anchor as the id of the paragraph, remove special case code.
3134         * sgml.C (escapeChar): escape only < & >.
3135
3136 2004-05-14  Angus Leeming  <leeming@lyx.org>
3137
3138         * bufferparams.h: move biblio::CiteEngine enum here to minimize
3139         dependencies on src/frontends/controllers/biblio.h. Define a
3140         CiteEngine_enum wrapper class to enable the enum to be forward
3141         declared.
3142
3143 2004-05-12  Angus Leeming  <leeming@lyx.org>
3144
3145         * buffer.C: up LYX_FORMAT to 234.
3146         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
3147         use_numerical_citations with a single biblio::CiteEngine cite_engine
3148         variable.
3149         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
3150
3151 2004-05-13  José Matos  <jamatos@lyx.org>
3152
3153         * converter.h:
3154         * converter.C (Converter, readFlags): add xml member.
3155         * outputparams.h: add XML flavor.
3156         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
3157
3158 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3159
3160         * lyxfunc.C (dispatch):
3161         (getStatus): fix handling of LFUN_SEQUENCE
3162
3163 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3164
3165         * debug.C (showLevel): do not forget the end-of-line marker
3166
3167 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3168
3169         * kbmap.C (read): do not stop parsing a bind file when an error
3170         occurs (bug 1575)
3171
3172 2004-04-29  Angus Leeming  <leeming@lyx.org>
3173
3174         * cursor.C:
3175         * factory.C:
3176         * pariterator.C:
3177         * text2.C: wrap a bunch of #warning statements
3178         inside #ifdef WITH_WARNINGS blocks.
3179
3180 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3181
3182         * buffer.C: increment format to 233.
3183
3184 2004-04-28  Angus Leeming  <leeming@lyx.org>
3185
3186         * BufferView_pimpl.C:
3187         * lyxfunc.C:
3188         * text3.C:
3189         s/updateToolbar()/updateToolbars()/
3190         s/Toolbar.h/Toolbars.h/
3191
3192 2004-04-28  Angus Leeming  <leeming@lyx.org>
3193
3194         * BufferView.[Ch] (c-tor):
3195         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
3196         No longer passes these data to the WorkArea generator.
3197
3198 2004-04-28  Angus Leeming  <leeming@lyx.org>
3199
3200         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
3201
3202 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3203
3204         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
3205
3206 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3207
3208         * output_latex.C (TeXEnvironment): make sure that there is a line
3209         break before \end{foo} for the last paragraph of a document
3210         (TeXOnePar): if the paragraph is at the end of the document (or
3211         inset) and the language has to be reset, then make sure that the
3212         line break is _before_ the language command, not after (fixes bug
3213         1225); also make sure that the language reset command is the first
3214         thing after the paragraph (to ensure proper nesting of
3215         environments and thus fix bug 1404)
3216
3217 2004-04-21  John Levon  <levon@movementarian.org>
3218
3219         * ToolbarBackend.h:
3220         * ToolbarBackend.C: make "name" be a programmatic name
3221         and a gui_name field.
3222
3223         * lyxfunc.C: display the minibuffer on M-x
3224
3225 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3226
3227         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3228         (bug 1526)
3229
3230 2004-04-19  Angus Leeming  <leeming@lyx.org>
3231
3232         * BufferView_pimpl.C (setBuffer): changed preview interface.
3233
3234         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3235         possible values.
3236
3237 2004-04-19  John Levon  <levon@movementarian.org>
3238
3239         * BufferView_pimpl.C:
3240         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3241
3242 2004-04-05  Angus Leeming  <leeming@lyx.org>
3243
3244         * text.C (redoParagraphs): add call to updateCounters(), thereby
3245         fixing the missing "Figure #:" label from the caption of a
3246         figure float.
3247
3248 2004-04-13  Angus Leeming  <leeming@lyx.org>
3249
3250         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3251         cursor is clicked out of an inset.
3252
3253 2004-04-13  Angus Leeming  <leeming@lyx.org>
3254
3255         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3256         than an InsetOld one.
3257
3258 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3259
3260         * format.[Ch]: add editor to Format
3261         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3262         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3263
3264 2004-04-08  André Pönitz  <poenitz@gmx.net>
3265
3266         * metricsinfo.h: remove PainterInfo::width member
3267
3268 2004-04-08  Angus Leeming  <leeming@lyx.org>
3269
3270         * lyx_sty.C (boldsymbol_def): modify so that it outputs
3271         "\providecommand" rather than "\newcommand", thereby preventing
3272         clashes with packages that define "\boldsymbol" themselves.
3273         Eg, beamer.
3274
3275 2004-04-08  Angus Leeming  <leeming@lyx.org>
3276
3277         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3278         thereby squashing an unnecessary warning.
3279
3280 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3281
3282         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3283         setBuffer()
3284
3285 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
3286
3287         * BufferView.C (setCursor): call redoParagraph (some insets could
3288         have been opened)
3289         (putSelectionAt): remove the 'double update' trick
3290
3291         * BufferView_pimpl.C (fitCursor): call refreshPar
3292         (workAreaDispatch): remove an uneeded update call
3293         (dispatch): remove some manual update calls
3294
3295         * cursor.[Ch]: remove cached_y_, updatePos
3296         (selHandle): set noUpdate when appropriate
3297
3298         * lyxfunc.C (dispatch): track if we need an update
3299
3300         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3301
3302         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3303         (paintSelection): cheap optimization, do not call cursorX when not
3304         needed
3305         (paintPars): change signature
3306         (refreshPar): add
3307         (paintText): adjust
3308         (paintTextInset): adjust
3309
3310         * text.C: adjust
3311
3312 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3313
3314         * lengthcommon.C: compilation fix: remove explicit array size from
3315         unit_name[] and friends
3316
3317 2004-04-05  Angus Leeming  <leeming@lyx.org>
3318
3319         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3320
3321         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3322         present only for the preferences dialog.
3323         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3324
3325 2004-04-05  Angus Leeming  <leeming@lyx.org>
3326
3327         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3328         to enable the frontends to export changes to lyxrc correctly.
3329
3330         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3331
3332 2004-04-07  André Pönitz  <poenitz@gmx.net>
3333
3334         * cursor.[Ch] (selClear, adjust): remove math
3335
3336         * cursor_slice.C: more agressive assert
3337
3338         * lyxfunc.C:
3339         * BufferView_pimpl.C: rework mouse event dispatch
3340
3341         * dociterator.C:
3342         * paragraph.C:
3343         * text2.C:
3344         * text3.C: adjust
3345
3346 2004-04-05  André Pönitz  <poenitz@gmx.net>
3347
3348         * cursor.[Ch] (valign, halign...): remove unneeded functions
3349
3350 2004-04-05  Angus Leeming  <leeming@lyx.org>
3351
3352         * lyxlength.[Ch] (unit_name et al.): const-correct.
3353
3354 2004-04-05  Angus Leeming  <leeming@lyx.org>
3355
3356         * BufferView_pimpl.C:
3357         * buffer.C:
3358         * counters.C:
3359         * cursor.C:
3360         * lyxfunc.C
3361         * paragraph.C:
3362         * pariterator.C:
3363         * text.C:
3364         * text2.C:
3365         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3366
3367 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3368
3369         * text3.C (getStatus): add LFUN_BEGINNINGBUF
3370
3371 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3372
3373         * lyxfind.C: add a couple of inTexted() tests + other small fixes
3374         * BufferView_pimpl.[Ch] (getStatus)
3375         * BufferView.[Ch] (getStatus): add
3376         * lyxfunc.C (getStatus): move lfuns handled in
3377         BufferView::dispatch to te function above
3378         * Cursor.C (setSelection): set selection() = true
3379
3380 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3381
3382         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3383
3384 2004-03-31  Angus Leeming  <leeming@lyx.org>
3385
3386         * lyxfunc.C (dispatch): Fall through to the generic
3387         Dialogs::show("preamble").
3388
3389 2004-03-31  Angus Leeming  <leeming@lyx.org>
3390
3391         * lyxfunc.C (dispatch): Fall through to the generic
3392         Dialogs::show("spellchecker").
3393
3394 2004-03-31  Angus Leeming  <leeming@lyx.org>
3395
3396         * lyxfunc.C (getStatus, dispatch): changed invocation of the
3397         preferences dialog.
3398
3399 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3400
3401         * BufferView.C
3402         * cursor.[Ch]
3403         * dociterator.[Ch]:
3404         * insetiterator.[Ch]:
3405         * lyxfind.C:
3406         * lyxfunc.C:
3407         * pariterator.[Ch]:
3408         * text2.C:
3409         * undo.[Ch]: s/DocumentIterator/DocIterator/g
3410
3411 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3412
3413         * BufferView.C (setCursor, putSelectionAt): call edit to open the
3414         insets where we are putting the cursor.
3415
3416 2004-03-31  Angus Leeming  <leeming@lyx.org>
3417
3418         * lfuns.h:
3419         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3420
3421         * lyxrc.[Ch] (read, write): overloaded member functions taking
3422         a std::[io]stream arguments.
3423
3424         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3425
3426 2004-03-31  Angus Leeming  <leeming@lyx.org>
3427
3428         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3429         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3430
3431         * lyxtextclass.C (load): if the text class couldn't be loaded, then
3432         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3433
3434 2004-03-31  Angus Leeming  <leeming@lyx.org>
3435
3436         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3437         the LFUN_ALL_INSETS_TOGGLE code.
3438
3439 2004-03-30  Angus Leeming  <leeming@lyx.org>
3440
3441         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3442         has died. Fall through to the generic Dialogs::show("document").
3443
3444 2004-03-30  Angus Leeming  <leeming@lyx.org>
3445
3446         * lfuns.h:
3447         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3448         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3449
3450         * lyxfunc.C (getStatus, dispatch): define the actions for these
3451         lfuns. Little more than a cut and pste job from ControlDocument.C
3452
3453         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3454
3455 2004-03-30  Angus Leeming  <leeming@lyx.org>
3456
3457         * lfuns.h:
3458         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3459         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3460
3461         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3462         open/closed state of ollapsable insets. Usage:
3463
3464         all-inset-toggle <state> <name>, where
3465         <state> == "open" || "closed" || "toggle" and
3466         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3467
3468         * lyxtext.h, text2.C (toggleInset): removed.
3469
3470         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3471         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3472         now passes LFUN_INSET_TOGGLE to the found inset.
3473
3474         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3475         is now invoked as "all-insets-toggle toggle branch".
3476
3477 2004-03-30  Angus Leeming  <leeming@lyx.org>
3478
3479         * dociterator.C:
3480         * insetiterator.C:
3481         * pariterator.[Ch]: added/corrected header blurb.
3482
3483 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
3484
3485         * dociterator.[Ch]: add an inset_ member
3486         (backwardPos): implemented
3487         (backwardPos, forwardPos): use inset_ when the stack is empty.
3488         (doc_iterator_begin, doc_iterator_end): implemented
3489         * pariterator.[Ch]: adjust, add begin, end
3490         * insetiterator.[Ch]: adjust, add begin, end
3491         * cursor.C:
3492         * document.C:
3493         * BufferView.C:
3494         * BufferView_pimpl.C:
3495         * CutAndPaste.C: adjust
3496
3497 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3498
3499         * buffer.C: increment file format to 232.
3500         * LaTeXFeatures.C: add bibtopic package.
3501         * bufferparams.[Ch]: param \use_bibtopic.
3502
3503         * lyxrc.[Ch]: add lyxrc bibtex_command
3504         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3505
3506         * buffer.C: increment file format to 231.
3507
3508 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3509
3510         * dociterator.C: implement forwardPar
3511         * iterators.[Ch]: remove, replaced by
3512         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3513         * BufferView.C:
3514         * BufferView_pimpl.C:
3515         * CutAndPaste.C:
3516         * buffer.C:
3517         * bufferview_funcs.C:
3518         * cursor.C:
3519         * lyxfind.C
3520         * lyxfunc.C
3521         * paragraph_funcs.C
3522         * toc.C:
3523         * Makefile.am: adjust
3524
3525 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3526
3527         * CutAndPaste.C (pasteSelection): fix 2 crashes
3528         (eraseSelection): fix a crash
3529         * paragraph_funcs.C: remove a warning
3530
3531 2004-03-28  Angus Leeming  <leeming@lyx.org>
3532
3533         * lfuns.h:
3534         * LyXAction.C (init): new LFUN_PRINT.
3535
3536         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3537
3538 2004-03-27  Angus Leeming  <leeming@lyx.org>
3539
3540         * lfuns.h:
3541         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3542
3543         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3544
3545 2004-03-27  Angus Leeming  <leeming@lyx.org>
3546
3547         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3548         insetlist always contains non-null pointers to insets.
3549
3550 2004-03-26  Angus Leeming  <leeming@lyx.org>
3551
3552         * src/BufferView_pimpl.C:
3553         * src/CutAndPaste.C:
3554         * src/buffer.C:
3555         * src/iterators.C:
3556         * src/output_plaintext.C:
3557         * src/outputparams.h:
3558         * src/paragraph_funcs.C:
3559         * src/rowpainter.C:
3560         * src/text.C:
3561         * src/text2.C:
3562         * src/frontends/controllers/ControlErrorList.C:
3563         * src/frontends/gtk/FileDialogPrivate.C:
3564         * src/frontends/gtk/GPainter.C:
3565         * src/frontends/gtk/GToolbar.C:
3566         * src/frontends/qt2/QRef.C:
3567         * src/mathed/math_scriptinset.C: squash compiler warnings.
3568
3569 2004-03-26  Angus Leeming  <leeming@lyx.org>
3570
3571         * ispell.C (LaunchIspell::start):
3572         * lyx_cb.C (AutoSaveBuffer::start):
3573         invoke run(DontWait) rather than runNonBlocking().
3574
3575 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
3576
3577         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3578
3579 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3580
3581         * kbsequence.C (print): adjust
3582
3583         * kbmap.C (printKeySym): rename and change signature
3584         (printKey): use LyXKeySym::print()
3585
3586 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
3587
3588         * undo.C: add using std::advance to compile for stlport
3589
3590 2004-03-24  Angus Leeming  <leeming@lyx.org>
3591
3592         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3593         it leads to a crash when no buffer is present.
3594
3595 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3596             Martin Vermeer  <martin.vermeer@hut.fi>
3597
3598         * lyxfunc.C (dispatch):
3599         * bufferparams.C (readToken): use the new LColor::setColor
3600
3601         * LColor.[Ch] (setColor): new version that takes two strings as
3602         argument and creates a new color entry if necessary
3603
3604 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3605
3606         * buffer.C (makeLaTeXFile): if the main latex file that is
3607         processed is usually a subdocument of some master, then pretend
3608         for a while that it is actually the master
3609
3610 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3611
3612         * buffer.C (getLabelList):
3613         (getBibkeyList): use getMasterBuffer()
3614         (getMasterBuffer): new method. Returns the main document in the
3615         case where one is using included documents.
3616
3617 2004-03-25  André Pönitz  <poenitz@gmx.net>
3618
3619         * Makefile.am:
3620         * iterators.[Ch]:
3621         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3622
3623         * ParagraphList_fwd.h: change ParagraphList to a std::vector
3624
3625         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3626         text*.C over here. Rename namespace CutAndPaste to lyx::cap
3627
3628         * ParameterStruct.h: merge with ParagraphParameters
3629
3630         * lyxtext.h: remove LyXText::parOffset() and getPar()
3631
3632         * text3.C: Remove all 'manual' update calls. We do now one per user
3633         interaction which is completely sufficient.
3634
3635         * Bidi.C:
3636         * BufferView.[Ch]:
3637         * BufferView_pimpl.C:
3638         * FontIterator.[Ch]:
3639         * MenuBackend.C:
3640         * ParagraphParameters.[Ch]:
3641         * buffer.C:
3642         * buffer.h:
3643         * bufferlist.C:
3644         * cursor.[Ch]:
3645         * cursor_slice.[Ch]:
3646         * dociterator.[Ch]:
3647         * errorlist.[Ch]:
3648         * factory.C:
3649         * lfuns.h:
3650         * lyxfind.C:
3651         * lyxfunc.C:
3652         * output_docbook.[Ch]:
3653         * output_latex.[Ch]:
3654         * output_linuxdoc.[Ch]:
3655         * output_plaintext.[Ch]:
3656         * paragraph.[Ch]:
3657         * paragraph_funcs.[Ch]:
3658         * paragraph_pimpl.[Ch]:
3659         * rowpainter.C:
3660         * tabular.[Ch]:
3661         * text.C:
3662         * text2.C:
3663         * toc.C:
3664         * undo.[Ch]: adjust
3665
3666         * frontends/controllers/ControlDocument.C:
3667         * frontends/controllers/ControlErrorList.C:
3668         * frontends/controllers/ControlSpellchecker.C:
3669         * insets/inset.C:
3670         * insets/inset.h:
3671         * insets/insetbase.h:
3672         * insets/insetbibitem.C:
3673         * insets/insetbox.C:
3674         * insets/insetbranch.C:
3675         * insets/insetcaption.C:
3676         * insets/insetcharstyle.C:
3677         * insets/insetcharstyle.h:
3678         * insets/insetcollapsable.C:
3679         * insets/insetcollapsable.h:
3680         * insets/insetert.C:
3681         * insets/insetfloat.C:
3682         * insets/insetfoot.C:
3683         * insets/insetmarginal.C:
3684         * insets/insetnote.C:
3685         * insets/insetoptarg.C:
3686         * insets/insettabular.C:
3687         * insets/insettext.C:
3688         * insets/insettext.h:
3689         * insets/insetwrap.C:
3690         * mathed/math_mboxinset.C:
3691         * mathed/math_nestinset.C:
3692         * mathed/math_scriptinset.C:
3693         * mathed/math_scriptinset.h:
3694         * support/types.h:
3695
3696 2004-03-24  Angus Leeming  <leeming@lyx.org>
3697
3698         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3699         deal with any child processes that have finished but are waiting to
3700         communicate this fact to the rest of LyX.
3701
3702 2004-03-24  Angus Leeming  <leeming@lyx.org>
3703
3704         64-bit compile fixes.
3705
3706         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3707         (c-tor): pass lyx::pos_types rather than ints.
3708
3709         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3710         lyx::pos_type.
3711
3712         * text.C (Delete): compile fix.
3713         (getPar): ensure that function declaration is the same as that in
3714         the header file.
3715
3716 2004-03-23  Angus Leeming  <leeming@lyx.org>
3717
3718         * ispell.C (LaunchIspell):
3719         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3720         a boost::shred_ptr rather than a std::auto_ptr.
3721
3722 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3723
3724         * lyxfunc.C (getStatus): handle read-only buffers correctly;
3725         handle LFUN_FILE_INSERT_*
3726
3727         * lyxrc.C (setDefaults, getDescription, output, read):
3728         * lyxrc.h: remove ps_command
3729
3730 2004-03-22  Angus Leeming  <leeming@lyx.org>
3731
3732         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3733         Ensure that error_handler is processed once only and that all data
3734         is saved before attempting to output any warning messages.
3735
3736         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3737
3738 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
3739
3740         * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3741
3742 2004-03-19  André Pönitz  <poenitz@gmx.net>
3743
3744         * cursor.[Ch] (reset): take main text inset as argument
3745
3746         * BufferView: adjust
3747         * BufferView_pimpl.C: adjust
3748
3749         * paragraph.[Ch]: fix completely broken operator=()
3750
3751 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3752
3753         * LColor.C (getFromLyXName): make sure that the color name is used
3754         as lowercase.
3755
3756 2004-03-17  Angus Leeming  <leeming@lyx.org>
3757
3758         * lfuns.h:
3759         * LyXAction.C (init): remove LFUN_FORKS_KILL.
3760
3761         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3762         dialog and to kill a forked process.
3763
3764 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3765
3766         * text2.C (setCursorFromCoordinates): fix font problem
3767
3768 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3769
3770         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3771         bogus "rebuild cursor" code
3772
3773 2004-03-11  André Pönitz  <poenitz@gmx.net>
3774
3775         * buffer.[Ch]: use InsetText instead of LyXText as container for
3776         the main lyx text.
3777
3778         * dociterator.[Ch]: drop the BufferView * member which is not needed
3779         anymore after the change to buffer.C
3780
3781         * paragraph_funcs.C:
3782         * text.C:
3783         * text2.C:
3784         * BufferView.[Ch]:
3785         * BufferView_pimpl.[Ch]:
3786         * cursor.[Ch]:
3787         * cursor_slice.[Ch]: adjust
3788
3789         * text3.C: fix bug in mathDispatch
3790
3791 2004-03-08  André Pönitz  <poenitz@gmx.net>
3792
3793         * undo.[Ch]: use 'StableDocumentIterator' as base for
3794         the Undo struct.
3795
3796 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3797
3798         * LaTeXFeatures.C:
3799         * bufferparams.[Ch]: add jurabib support and param.
3800
3801         * LaTeX.C: add FIXME/comment.
3802
3803 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3804
3805         * buffer.C: increment file format to 230.
3806
3807 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
3808
3809         * cursor.C (dispatch): avoid infinite loops
3810
3811 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3812
3813         * rowpainter.C (paintSelection): fix x coordinates
3814
3815 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3816
3817         * text.C (rowBreakPoint): fix breaking before displayed insets
3818
3819 2004-03-01  André Pönitz  <poenitz@gmx.net>
3820
3821         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3822
3823         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3824
3825         * Makefile.am:
3826         * BufferView.C:
3827         * BufferView_pimpl.C:
3828         * buffer.C:
3829         * lyxfind.C:
3830         * lyxfunc.C:
3831         * text.C:
3832         * text2.C:
3833         * text3.C: adjust
3834
3835 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3836
3837         * lyxtext.h:
3838         * text.C:
3839         * text2.C:
3840         * rowpainter.C:
3841         * BufferView_pimpl.C: rename textwidth -> maxwidth,
3842         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3843
3844 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3845
3846         * Bidi.[Ch] (computeTables): const correctness
3847         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3848         fill_hfill, fill_label_hfill and x from Row
3849         * lyxtext.h: prepareToPrint returns a RowMetrics
3850         * rowPainter.C: adjust
3851         * text.C (prepareToPrint): use width, not textWidth. adjust
3852         (redoParagraphInternal, cursorX): adjust
3853         * text2.C (getColumnNearX): adjust
3854         (init): put a default value to the top LyXText::width
3855
3856 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3857
3858         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3859
3860 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3861
3862         * lyxtext.h: add FontIterator class
3863
3864         * text.C (FontIterator, operator*, operator->, operator++): add
3865         (rowBreakPoint, setRowWidth): adjust (fixing a
3866         rebreaking bug)
3867
3868 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3869
3870         * BufferView_pimpl.C (workAreaDispatch): allow also
3871         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3872
3873 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
3874
3875         * text.C (rowBreakPoint): fix a bug showing with very large insets
3876
3877 2004-02-25  André Pönitz  <poenitz@gmx.net>
3878
3879         * text3.C:
3880         * cursor.[Ch]: move some mathed specific code to mathed
3881
3882 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3883
3884         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3885         use_tempdir in preferences
3886         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3887         tempfile creation
3888         * lyx_main.C: ensure that tempdir is valid
3889         * lyxlex.h: correct typo
3890         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3891         * paragraph.[Ch] (isMultiLingual): make const
3892         * cursor.[Ch] (openable): make const
3893
3894 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3895
3896         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3897
3898 2004-02-20  André Pönitz  <poenitz@gmx.net>
3899
3900         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3901
3902         * cursor.[Ch]: prepare for localized getStatus()
3903
3904         * lyxtext.h:
3905         * tabular.C:
3906         * text.C:
3907         * text2.C:
3908         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
3909
3910 2004-02-20  André Pönitz  <poenitz@gmx.net>
3911
3912         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3913
3914 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3915
3916         * text2.C (setCursorFromCoordinates): switch to absolute coords
3917         (cursorUp): adjust
3918         (cursorDown): adjust
3919         * text3.C (dispatch): adjust
3920
3921 2004-02-16  André Pönitz  <poenitz@gmx.net>
3922
3923         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3924           insets/ChangeLog)
3925
3926         * cursor_slice.[Ch]: remove unneeded acessor function
3927
3928         * lyxtext.h: rename rtl() to isRTL()
3929
3930         * rowpainter.C:
3931         * tabular.C:
3932         * text.C:
3933         * text2.C:
3934         * text3.C: adjust
3935
3936 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3937
3938         * rowpainter.C (paintSelection): coord fix
3939
3940 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
3941
3942         * Spacing.C: compile fix
3943
3944 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3945
3946         * cursor.C (dispatch): restore current_ before returning
3947
3948 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3949
3950         * text2.C (cursorUp, cursorDown): fix coords
3951         (moveUp): fix crash
3952
3953 2004-02-12  André Pönitz  <poenitz@gmx.net>
3954
3955         * lyxtext.h:
3956         * text.C:
3957         * text2.C:
3958         * text3.C: add LCursor & parameter to most cursor movement functions
3959           remove usage of LyXText::cursorRow() and cursorPar()
3960
3961         * cursor.[Ch]: add textRow() needed members
3962
3963         * BufferView.C:
3964         * BufferView_pimpl.C:
3965         * paragraph.[Ch]:
3966         * BufferView.C:
3967         * BufferView_pimpl.C: adjust
3968
3969 2004-02-11  André Pönitz  <poenitz@gmx.net>
3970
3971         * lyxfunc.C:
3972         * BufferView.[Ch]:
3973         * BufferView_pimpl.C: shift undo/redo handling
3974
3975         * cursor.[Ch]: fix mathed crash
3976
3977         * lyxfind.C:
3978         * lyxtext.h: move selectionAsText to LCursor
3979
3980         * output_latex.C:
3981         * paragraph.C:
3982         * text.C:
3983         * text2.C:
3984         * text3.C: adjust
3985
3986         * rowpainter.C: fix excessive drawing
3987
3988 2004-02-06  André Pönitz  <poenitz@gmx.net>
3989
3990         * BufferView.[Ch]:
3991         * BufferView_pimpl.[Ch]:
3992         * text3.C: move some text specific LFUN handling
3993
3994 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
3995
3996         * text3.C (checkInsetHit): adjust coords
3997         * text2.C (getColumnNearX): adjust coords
3998         (edit): adjust coords
3999         * text.C (getRowNearY): add two asserts
4000
4001 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
4002
4003         * converter.C:
4004         * format.C: add using std::distance to compile on gcc 2.95/stlport
4005
4006 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
4007
4008         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
4009
4010 2004-02-04  André Pönitz  <poenitz@gmx.net>
4011
4012         * BufferView.[Ch] (insertInset):
4013         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
4014
4015         * text2.C:
4016         * text3.C: adjust
4017
4018 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
4019
4020         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
4021         on the default clause of the switch
4022         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
4023         wasn't catched by LCursor::dispatch
4024
4025 2004-02-03  André Pönitz  <poenitz@gmx.net>
4026
4027         * BufferView.C:
4028         * cursor.[Ch]: some additional asserts
4029
4030         * undo.[Ch]: remove LyXText dependency in interface
4031
4032         * lyxfunc.C: adjust
4033
4034         * lyxtext.h (firstPar, lastPar): remove dead functions
4035
4036         * text.C:
4037         * text2.C:
4038         * text3.C:
4039         * paragraph.[Ch]: adjust
4040
4041 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
4042
4043         * lyxfind.C (find): fix argument order in call to ::find
4044
4045 2004-02-02  André Pönitz  <poenitz@gmx.net>
4046
4047         * cursor.[Ch]: remove direct access to anchor
4048
4049         * text.C: remove findText() hack
4050
4051 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
4052
4053         * iterators.[Ch] (lockPath): remove in favour of...
4054         * BufferView.[Ch] (setCursor): this addition
4055         * BufferView.C (putSelectionAt): adjust
4056         * undo.C (performUndoOrRedo): adjust
4057         * lyxfunc.C (dispatch): adjust
4058
4059 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
4060
4061         * iterators.C (lockPath): add a missing slice
4062         * undo.C (performUndoOrRedo): remove redundant positioning code
4063
4064 2004-02-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4065
4066         * vc-backend.C (scanMaster): ";" -> ';'
4067
4068 2004-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4069
4070         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
4071         std::binary_function
4072
4073         * lyxtextclass.C (compare_name): rename to...
4074         (LayoutNamesEqual): ...this
4075
4076         * lyxlex_pimpl.C (compare_tags): inherit from
4077         std::binary_function, put back into anon namespace
4078
4079         * lyxfind.C (MatchString): inherig from std::binary_function
4080         (findChange): use empty() istead of !size()
4081
4082         * format.C (FormatNamesEqual): new functor
4083         (getFormat): use it
4084         (getNumber): use it
4085         (add): use it
4086         (erase): use it
4087         (setViewer): use it
4088
4089         * converter.C (compare_Converter): rename to...
4090         (ConverterEqual): ...this, and fixup a bit.
4091         (getConverter): use it, and make function const
4092         (getNumber): use it, and make function const
4093         (add): use it
4094         (erase): use it:
4095
4096         * bufferlist.C: add using boost::bind
4097
4098         * MenuBackend.C (MenuNamesEqual): new functor
4099         (hasMenu): use it, and make function const
4100         (hasSubmenu): use nested bind to get rid of compare_memfun.
4101
4102 2004-01-30  André Pönitz  <poenitz@gmx.net>
4103
4104         * BufferView_pimpl.C:
4105         * cursor.C:
4106         * cursor.h:
4107         * cursor_slice.[Ch]:
4108         * lyxfunc.C:
4109         * lyxtext.h:
4110         * paragraph_funcs.C:
4111         * paragraph_funcs.h:
4112         * rowpainter.C:
4113         * text.C:
4114         * text2.C:
4115         * text3.C: move some of the edit(x,y) handling to the insets
4116         some coordinate changes.
4117
4118 2004-01-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4119
4120         * text.C: add using statements for std::advance and std::distance
4121
4122         * paragraph.C: add using statement for std::distance
4123
4124         * lyxfind.C: add using statement for std::advance
4125
4126         * cursor.C (region): remove std:: from swap
4127         (openable): use nucleus in stead of operator->
4128
4129         * BufferView.C: add using statements for std::distance and std::swap
4130
4131 2004-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4132
4133         * iterators.C: Remove the pimple, move the needed structures to
4134         the header file. Create accessor for the positions stack.
4135         (asPosIterator): remove function
4136
4137         * PosIterator.C (PosIterator): move constructors to top of file
4138         (PosIterator): reimplement the constructor taking a ParIterator in
4139         terms of setFrom.
4140         (setFrom): new function
4141         (operator!=): inline it
4142
4143 2004-01-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4144
4145         * lyxfind.C (replaceAll): use std::advance
4146
4147         * iterators.h: inherit from std::iterator.
4148
4149         * PosIterator.C (advance, distance): remove
4150         * PosIterator.h: interit from std::iterator.
4151
4152 2004-01-26  André Pönitz  <poenitz@gmx.net>
4153
4154         * BufferView.[Ch]:
4155         * BufferView_pimpl.[Ch]:
4156         * InsetList.[Ch]:
4157         * PosIterator.[Ch]:
4158         * buffer.h:
4159         * bufferview_funcs.C:
4160         * cursor.[Ch]:
4161         * cursor_slice.h:
4162         * factory.[Ch]:
4163         * iterators.[Ch]:
4164         * lyxfind.C:
4165         * lyxfunc.C:
4166         * lyxtext.h:
4167         * output_docbook.C:
4168         * output_latex.C:
4169         * output_linuxdoc.C:
4170         * output_plaintext.C:
4171         * paragraph.[Ch]:
4172         * paragraph_funcs.[Ch]:
4173         * paragraph_pimpl.[Ch]:
4174         * rowpainter.C:
4175         * tabular.C:
4176         * tabular.h:
4177         * text.C:
4178         * text2.C:
4179         * text3.C: more IU:  dumps most of the rest of the mathcursor
4180     implementation into cursor.[Ch]; "globalize" a bit of it.
4181
4182 2004-01-25  Angus Leeming  <leeming@lyx.org>
4183
4184         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
4185
4186 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4187
4188         * LaTeXFeatures.h: add nice_ and nice() const
4189         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
4190
4191 2004-01-20  André Pönitz  <poenitz@gmx.net>
4192
4193         * BufferView.[Ch]:
4194         * BufferView_pimpl.C:
4195         * PosIterator.C:
4196         * bufferview_funcs.C:
4197         * cursor.[Ch]:
4198         * cursor_slice.[Ch]:
4199         * factory.C:
4200         * iterators.C:
4201         * lyx_cb.C:
4202         * lyxfind.C:
4203         * lyxfunc.C:
4204         * lyxtext.h:
4205         * rowpainter.C:
4206         * text.C:
4207         * text2.C:
4208         * text3.C:
4209         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
4210           LCursor and mathcursor parts to LCursor and InsetBase.
4211
4212 2004-01-15  André Pönitz  <poenitz@gmx.net>
4213
4214         * cursor_slice.[Ch]: add a few covienience functions
4215
4216         * funcrequest.[Ch]: remove BufferView * member
4217
4218         * BufferView_pimpl.C:
4219         * cursor.C:
4220         * factory.[Ch]:
4221         * lyxfind.[Ch]:
4222         * lyxfunc.C:
4223         * lyxtext.h:
4224         * text3.C:
4225         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4226
4227 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
4228
4229         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4230         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4231
4232 2004-01-13  André Pönitz  <poenitz@gmx.net>
4233
4234         * textcursor.[Ch]:
4235         * lyxtext.h: hide cursor and selection anchor behind accessor function
4236
4237         * BufferView.C:
4238         * BufferView_pimpl.[Ch]:
4239         * PosIterator.C:
4240         * bufferview_funcs.C:
4241         * cursor.h:
4242         * lyxfind.C:
4243         * lyxfunc.C:
4244         * text.C:
4245         * text2.C:
4246         * text3.C:
4247         * undo.C: adjust
4248
4249         * cursor.h:
4250         * cursor_slice.[Ch]: some integer type changes for inset unification
4251
4252         * lyxcursor.[hC]: remove, it's CursorSlice now.
4253
4254         * Makefile.am:
4255         * BufferView_pimpl.[Ch]:
4256         * bufferview_funcs.C:
4257         * cursor_slice.C:
4258         * lyxtext.h:
4259         * text.C:
4260         * text2.C:
4261         * text3.C:
4262         * textcursor.[Ch]: adjust
4263
4264 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
4265
4266         * text2.C (undoSpan): add and use
4267         * text.C (breakParagraph): use undoSpan (fix bug 578)
4268         * lyxtext.h: adjust
4269
4270 2004-01-08  Angus Leeming  <leeming@lyx.org>
4271
4272         * BufferView_pimpl.C (MenuInsertLyXFile):
4273         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4274         * lyxfunc.C (menuNew, open, doImport):
4275         FileFilterList change to the FileDialog open and save functions.
4276
4277 2004-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4278
4279         * ShareContainer.h: make isEqual and isUnique adaptable
4280
4281         * CutAndPaste.C: make resetOwnerAndChanges adaptable
4282
4283 2004-01-07  Angus Leeming  <leeming@lyx.org>
4284
4285         * LyXAction.C:
4286         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4287
4288         * BufferView_pimpl.C (dispatch): act on these LFUNs.
4289
4290         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4291         functions replacing find, replace and replaceAll.
4292
4293         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4294         LFUN_WORDFIND(FORWARD|BACKWARD).
4295
4296 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4297
4298         * text.C (breakParagraph): remove an outdated #warning
4299
4300 2004-01-07  André Pönitz  <poenitz@gmx.net>
4301
4302         * lyxfind.C: somewhat clearer logic
4303
4304         * text.C: prevent crash in cursorX on unitialized row cache
4305
4306 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4307
4308         * lyxcursor.[Ch] (operator>): add
4309         * textcursor.C (selStart, selEnd): use std::min and std::max
4310
4311 2004-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4312
4313         * Chktex.C: include boost/format.hpp
4314
4315 2004-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4316
4317         * InsetList.C: replace functor MathcIt with adaptable functor
4318         InsetTablePosLess
4319         (insetIterator): modify accordingly
4320
4321         * BranchList.h: move the BranchNamesEqual functor here from...
4322         * BranchList.C: ... to here
4323
4324         * BranchList.C: new BranchListEqual fuctor, use it. Remove
4325         SameName and match.
4326         (add): replace a finding loop with std::find_if.
4327
4328 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
4329
4330         * output_docbook.C: moving LatexParam functionality into
4331         .layout files
4332
4333 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4334
4335         * buffer.C: increment format to 229.
4336
4337 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
4338
4339         * LaTeXFeatures.C:
4340         * lyx_sty.[Ch]: remove minipageindent_def
4341
4342         * LyXAction.C:
4343         * factory.C:
4344         * lfuns.h:
4345         * lyxfunc.C:
4346         * text3.C: remove LFUN_INSET_MINIPAGE
4347
4348 2003-12-28  Angus Leeming  <leeming@lyx.org>
4349
4350         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4351
4352 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
4353
4354         * text2.C (setParagraph): fix off-by-one crash
4355
4356 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
4357
4358         * output_docbook.C: header stuff for AGU
4359
4360 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
4361
4362         * text2.C (redoCursor): remove
4363         * text.C:
4364         * text3.C:
4365         * BufferView_pimpl.C: remove calls to redoCursor and
4366         setCursor(cursor.par(), cursor.pos()) all around
4367
4368 2003-12-15  Angus Leeming  <leeming@lyx.org>
4369
4370         * buffer.C: up the format to 228.
4371
4372 2003-12-15  André Pönitz  <poenitz@gmx.net>
4373
4374         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4375         slices
4376
4377         * Makefile.am:
4378
4379         * BufferView_pimpl.C:
4380         * cursor.[Ch]:
4381         * lyxcursor.[Ch]:
4382         * rowpainter.[Ch]:
4383         * lyxtext.h:
4384         * text.C:
4385         * text2.C:
4386         * text3.C: adjust
4387
4388 2003-12-15  Angus Leeming  <leeming@lyx.org>
4389
4390         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4391         than getFromGUIName to manipulate the color.
4392
4393 2003-12-14  Angus Leeming  <leeming@lyx.org>
4394
4395         * BranchList.[Ch]: minimize the API.
4396         (Branch::getBranch, getColor): now return a 'const &'.
4397         (Branch::setSelected) now returns a bool set to true if the
4398         selection status changes.
4399         (BranchList::clear, size, getColor, setColor, setSelected,
4400         allBranches, allSelected, separator): removed.
4401         (BranchList::find): new functions, returning the Branch with
4402         the given name.
4403         (BranchList::add, remove): return a bool indicating that
4404         the operation was successful.
4405
4406         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4407         new InsetBranch::isBranchSlected member function.
4408
4409         * LColor.[Ch]: mimimize the API.
4410         (fill): renamed as addColor and made private.
4411         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4412         versions of these functions taking a string arg have been removed.
4413
4414         * bufferparams.C (readToken):
4415         * lyxfunc.C (dispatch):
4416         * lyxrc.C (read): changes due to the altered BranchList and
4417         LColor APIs.
4418
4419         * factory.C (createInset, readInset): changes due to altered
4420         InsetBranch c-tor.
4421
4422 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4423
4424         * factory.C:
4425         * lyxfunc.C: remove insetminipage. "minipage-insert"
4426         now produces a frameless minipage box inset.
4427
4428 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4429
4430         * textcursor.[Ch] (selStart,selEnd): add new methods
4431         remove selection::start, end, use LyXCursor::operator<
4432         * lyxcursor.[Ch] (operator<): add
4433         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4434         * BufferView.[Ch] (unsetXSel): add
4435         * text2.C (clearSelection): use unsetXSel,adjust
4436         * text.C: adjust
4437         * text3.C: adjust
4438         * rowpainter.C: adjust
4439         * bufferview_funcs.C (put_selection_at): adjust
4440
4441 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4442
4443         * BufferView_pimpl.C: small coord. correction
4444
4445 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4446
4447         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4448         dragging over the splash screen.
4449
4450 2003-12-11  Angus Leeming  <leeming@lyx.org>
4451
4452         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4453         as it is now handled in LyXText::dispatch.
4454
4455         * text3.C (doInsertInset): remove a level of nesting.
4456
4457 2003-12-11  Angus Leeming  <leeming@lyx.org>
4458
4459         * factory.C (createInset): changes due to the changed interface to
4460         InsetCommandMailer::string2params.
4461
4462 2003-12-10  Angus Leeming  <leeming@lyx.org>
4463
4464         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4465         'dialog-show-new-inset <inset name>'
4466
4467 2003-12-10  Angus Leeming  <leeming@lyx.org>
4468
4469         * buffer.C: up the format to 227.
4470
4471         * factory.C: the box inset is now identified simply by 'Box'.
4472
4473 2003-12-10  Angus Leeming  <leeming@lyx.org>
4474
4475         * buffer.C: up the format to 226.
4476
4477         * factory.C: the note inset is now identified simply by 'Note'.
4478
4479 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
4480
4481         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4482         when a pit is enough. Standarize a couple of loops.
4483
4484 2003-12-05  Angus Leeming  <leeming@lyx.org>
4485
4486         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4487         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4488         data to the re-worked "log" dialog.
4489
4490 2003-12-03  André Pönitz  <poenitz@gmx.net>
4491
4492         * PosIterator.C:
4493         * iterators.C:
4494         * lyxtext.h:
4495         * output_latex.C:
4496         * paragraph_funcs.C:
4497         * text.C:
4498         * text2.C: use Inset::getText instead of Inset::getParagraph
4499
4500 2003-12-03  André Pönitz  <poenitz@gmx.net>
4501
4502         * buffer.[Ch]:
4503         * lyxtext.h:
4504         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4505         InsetText::read() as LyXText::read()
4506
4507 2003-12-02  Angus Leeming  <leeming@lyx.org>
4508
4509         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4510         type. Add a comment in the implementation that the function uses
4511         the stream's bad() function rather than fail() as the std::streams
4512         would do.
4513
4514 2003-12-02  André Pönitz  <poenitz@gmx.net>
4515
4516         * lyxlex.[Ch]: make interface more similar to std::stream
4517
4518         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4519
4520 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
4521
4522         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4523
4524 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
4525
4526         * vspace.[Ch]: remove VSpace::NONE
4527
4528 2003-12-01  André Pönitz  <poenitz@gmx.net>
4529
4530         * buffer.[Ch]:
4531         * lyxtext.h: move ParagraphList member to LyXText
4532         rename LyXText::ownerParagraphs to LyXText::paragraph
4533
4534         * CutAndPaste.C:
4535         * bufferview_funcs.C:
4536         * iterators.[Ch]:
4537         * lyx_cb.C:
4538         * paragraph.C:
4539         * rowpainter.C:
4540         * tabular.C:
4541         * text.C:
4542         * text2.C:
4543         * text3.C: adjust
4544
4545         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4546
4547         * undo.C: fix cursor positioning
4548
4549 2003-12-01  John Levon  <levon@movementarian.org>
4550
4551         * BufferView_pimpl.C: fix a crash on exit with
4552         a buffer open
4553
4554 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
4555
4556         * BranchList.C: fix setSelected() method.
4557
4558 2003-11-28  André Pönitz  <poenitz@gmx.net>
4559
4560         * ParagraphParameters.[Ch]:
4561         * ParameterStruct.h: remove space above/below from Paragraph to
4562          InsetVSpace
4563
4564         * BufferView_pimpl.C:
4565         * factory.C:
4566         * lyxfunc.C:
4567         * lyxtext.h:
4568         * output_latex.C:
4569         * paragraph.C:
4570         * paragraph_funcs.C:
4571         * rowpainter.[Ch]:
4572         * text.C:
4573         * text2.C:
4574         * text3.C: adjust
4575
4576 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
4577
4578         * factory.C: Syntax change for CharStyles
4579
4580 2003-11-28  André Pönitz  <poenitz@gmx.net>
4581
4582         * BufferView.[Ch]:
4583         * BufferView.[Ch]:
4584         * buffer.[Ch]:
4585         * buffer.[Ch]: move LyXText member
4586
4587 2003-11-28  André Pönitz  <poenitz@gmx.net>
4588
4589         * BufferView.[Ch]: make LyXText * text a private member
4590
4591         * BufferView_pimpl.C:
4592         * cursor.C:
4593         * iterators.C:
4594         * lyx_cb.C:
4595         * lyxfind.C:
4596         * lyxtext.h:
4597         * rowpainter.[Ch]:
4598         * text.C:
4599         * text2.C:
4600         * undo.C: adjust
4601
4602         * output_plaintext.C: cleanup
4603
4604 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4605
4606         * buffer.C:
4607         * lyxtextclass.[Ch]: parametrize SGML document header
4608
4609 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4610
4611         * converter.[Ch]:
4612         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4613         getFlavor().
4614
4615 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
4616
4617         * text2.C (setFont): rework using PosIterator (no more recursive)
4618         (setCharFont): no more needed
4619         (setLayout): no more selection cursors fiddling (done by redoCursor)
4620         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4621         destroy remaining ones)
4622
4623 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
4624
4625         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4626         * lyxtext.h: ditto
4627         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4628         selection cursors
4629         * lyxfunc.C: adjust
4630         * text3.C: adjust + re-allow multi par depth changes
4631         * textcursor.C: simplify a bit
4632
4633 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
4634
4635         * src/buffer.C:
4636         * src/lyxlayout.C:
4637         * src/lyxlayout.h:
4638         * src/lyxtext.h:
4639         * src/output_docbook.C:
4640         * src/output_latex.C:
4641         * src/paragraph.C:
4642         * src/paragraph.h:
4643         * src/sgml.C:
4644         * src/sgml.h:
4645         * src/text2.C: Introducing a number of tags parametrizing various
4646         XML formats that we may want to support
4647
4648 2003-11-25  André Pönitz  <poenitz@gmx.net>
4649
4650         * InsetList.[Ch] (begein, end): inline as suggested by profiler
4651
4652         * lyxtext.h (leftMargin/rightMargin): simplify interface
4653
4654         * rowpainter.C:
4655         * text.C:
4656         * text2.C:
4657         * text3.C: adjust
4658
4659 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4660
4661         * lyxfunc.C (dispatch): propogate the bibtex databases from the
4662         master file to any child files. Fixes bug 546.
4663
4664 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4665
4666         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4667
4668 2003-11-24  André Pönitz  <poenitz@gmx.net>
4669
4670         * rowpainter.C: simplification
4671
4672         * text2.C (updateCounters): remove call to redoParagraph on
4673         changed labels as this is far too expensive.
4674
4675 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4676
4677         * converter.C (convert): fix a crash: this function gets
4678         called with buffer == 0 from importer code.
4679
4680 2003-11-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4681
4682         * text3.C (cursorPrevious): make sure that we do not compare
4683         iterators form different containers.
4684         (cursorNext): ditto
4685
4686         * rowpainter.C (paintSelection): make sure that we do not compare
4687         iterators from different containers.
4688
4689         * text3.C (dispatch): [PRIOR] make sure that we do not compare
4690         iterators from different ParagraphList containers.
4691         [NEXT] ditto
4692
4693         * text2.C (LyXText): change order of initialization slightly
4694         (operator=): new function. copy all variables except cache_par_
4695         (moveUp): make sure that we do not compare iterators from
4696         different ParagraphList constainers.
4697         (moveDown): ditto
4698
4699         * text.C (firstPar): new function
4700         (lastPar): new function
4701         (endPar): new function
4702
4703         * lyxtext.h: move things around and group public functions, public
4704         variables, private functions, private variables
4705
4706 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
4707
4708         * factory.C: change call to InsetERT constructor to avoid
4709         additional invocation of method status
4710         * text2.C (toggleInset): remove redundant update() call
4711         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4712         instead of a Bufferview pointer
4713
4714 2003-11-21  André Pönitz  <poenitz@gmx.net>
4715
4716         * rowpainter.C: simplification
4717
4718 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4719
4720         * text3.C (dispatch): make possible to extend a word/row selection
4721         with the mouse
4722
4723 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4724
4725         * lyxtext.h: x0_,y0_ -> xo_,yo_
4726         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4727         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4728         * rowpainter.C (paintRows): paint full paragraphs
4729
4730 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4731
4732         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4733         screen coordinates)
4734
4735 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4736
4737         * lyxtext.h: add x0_, y0_
4738         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4739         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4740
4741 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
4742
4743         * text2.C (setCursorIntern): move the x_target update here *
4744         * text3.C: change some bv() to true/false in calls to
4745         cursorUp/Down/Right/Left
4746         * cursor.C: use helper function.
4747
4748 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4749
4750         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4751         * paragraph_funcs.[Ch]: correct comment
4752         * rowpainter.C: do not paint selections away from bv->cursor()
4753         Fix a long standing selection painting bug.
4754         * text3.C: generalize mouse-selection code to LyXTexts other that
4755         top one
4756         * textcursor.C: do not use y coords if we can use par offsets
4757
4758 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4759
4760         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4761         cursor position after e.g. inset insert)
4762
4763 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
4764
4765         * lyxfind.C (replace): adjust to locking removal + some
4766         code simplification
4767
4768 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
4769
4770         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4771         of the path
4772
4773 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
4774
4775         * lyxlayout.[Ch]:
4776         * output_docbook.C: XML sanitation: new layout
4777         parameters InnerTag and CommandDepth
4778
4779 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
4780
4781         * BufferView_pimpl.C:
4782         * factory.C:
4783         * text3.C: Fix the insertion and modification of button-style
4784         insets
4785
4786 2003-11-13  André Pönitz  <poenitz@gmx.net>
4787
4788         * InsetList.[Ch]: remove deleteLyXText
4789
4790         * paragraph.[Ch]: cache beginOfBody position
4791
4792         * Bidi.C:
4793         * text.C:
4794         * text2.C:
4795         * text3.C: remove superfluous update() calls
4796
4797         * vspace.C: cleanup
4798
4799 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
4800
4801         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4802         * BufferView.C (fitLockedInsetCursor): remove
4803         * cursor.[Ch] (getDim): add
4804         * text.C (getRowNearY): add faster version
4805         * text3.C: remove some update calls
4806
4807 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
4808
4809         * LaTeXFeatures.C:
4810         * LyXAction.C:
4811         * MenuBackend.C:
4812         * MenuBackend.h:
4813         * dispatchresult.h:
4814         * factory.C:
4815         * lfuns.h:
4816         * lyxfunc.C:
4817         * lyxtextclass.C:
4818         * lyxtextclass.h:
4819         * text3.C: The Character Style /XML short element patch.
4820
4821 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
4822
4823         * text3.C:
4824         * factory.C: Small step to solving 'unable to insert some insets'
4825         problem
4826
4827 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
4828
4829         * cursor.[Ch] (updatePos): new function for updating the y
4830         position of the tip inset
4831         * bufferview_funcs.C (put_selection_at):
4832         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4833
4834 2003-11-11  André Pönitz  <poenitz@gmx.net>
4835
4836         * text.C: remove big comment on invalid Paragraph pointers as it is
4837         not valid anymore
4838
4839 2003-11-11  André Pönitz  <poenitz@gmx.net>
4840
4841         * text_funcs.[Ch]: merge with ...
4842
4843         * text.C: ... this
4844
4845         * lyxtext.h:
4846         * text2.C:
4847         * text3.C: adjust
4848
4849         * Makefile.am: remove text_funcs.[Ch]
4850
4851 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
4852
4853         * cursor.C (getPos): return absolute cached y coord
4854
4855         * BufferView_pimpl.C (fitCursor): new simplistic code
4856         (workAreaDispatch): add a fitCursor call
4857
4858 2003-11-10  André Pönitz  <poenitz@gmx.net>
4859
4860         * BufferView.[Ch]:
4861         * BufferView_pimpl.[Ch]: merge update() and updateInset()
4862
4863 2003-11-10  André Pönitz  <poenitz@gmx.net>
4864
4865         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4866         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4867         indicate that the cursor needs to leave an inset
4868
4869         * lyxtext.h: remove inset locking
4870
4871         * cursor.[Ch]: re-implement functionality provided by inset locking
4872
4873         * BufferView.[Ch]:
4874         * BufferView_pimpl.[Ch]:
4875         * LyXAction.C:
4876         * bufferview_funcs.[Ch]:
4877         * factory.C:
4878         * funcrequest.[Ch]:
4879         * iterators.C:
4880         * lyx_cb.C:
4881         * lyxfind.C:
4882         * lyxfunc.C:
4883         * text.C:
4884         * text2.C:
4885         * text3.C:
4886         * undo.C: adjust
4887
4888 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
4889
4890         * PosIterator.[Ch]: replace the stack with a vector, add inset
4891         accesor
4892         * iterators.[C]: adjust
4893
4894 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4895
4896         * lyxfind.C (replaceAll): mark the buffer dirty if something was
4897         replaced
4898         * paragraph_funcs.C (readParToken): put the correct id in the
4899         error item, not the id of the top paragraph
4900
4901 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4902
4903         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4904         * bufferview_funcs.C (put_selection_at): use the above
4905
4906 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4907
4908         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4909
4910 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4911
4912         * output_linuxdoc.h:
4913         * output_plaintext.h:
4914         * output.h:
4915         * output_docbook.h: add #include statements
4916
4917 2003-11-05  José Matos  <jamatos@lyx.org>
4918
4919         * output_docbook.[Ch]:
4920         * output_latex.[Ch]:
4921         * output_linuxdoc.[Ch]:
4922         * output_plaintext.[Ch]: New files for output formats.
4923         * output.[Ch]: New file for helper functions.
4924
4925         * buffer.[Ch]:
4926         * paragraph_funcs.[Ch]: output functions moved to new files.
4927
4928         * outputparams.h: rename of latexrunparams.h
4929
4930         * LaTeX.[Ch]:
4931         * buffer.[Ch]:
4932         * bufferlist.[Ch]:
4933         * converter.[Ch]:
4934         * exporter.C:
4935         * paragraph.[Ch]:
4936         * paragraph_funcs.[Ch]:
4937         * paragraph_pimpl.[Ch]:
4938         * tabular.[Ch]: rename ascii to plaintext
4939         and LatexRunParams to OutputParams.
4940
4941 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4942
4943         * iterators.[Ch] (text): require bv argument
4944         * undo.C (recordUndo):
4945         * lyxfunc.C (dispatch):
4946         * bufferview_funcs.C (put_selection_at): adjust
4947
4948 2003-11-05  Jo� Luis M. Assirati  <assirati@fma.if.usp.br>
4949
4950         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4951
4952 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4953
4954         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4955         nestings
4956
4957 2003-11-04  André Pönitz  <poenitz@gmx.net>
4958
4959         * cursor.[Ch]: restructure
4960
4961         * BufferView.[Ch]:
4962         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4963
4964         * iterators.[Ch] (asCursor): remove
4965
4966         * lfuns.h: remove LFUN_INSET_EDIT
4967
4968         * lyxfunc.C:
4969         * tabular.C:
4970         * text.C:
4971         * text2.C:
4972         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4973
4974 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4975
4976         * lyxfind.[Ch]: complete overhaul
4977         * BufferView_pimpl.C:
4978         * lyxfunc.C: adjust
4979         * paragraph.[Ch] (insert): add
4980
4981 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4982
4983         * BufferView.[Ch]:
4984         * lyxtext.h:
4985         * text.C: remove dead spellcheck code
4986
4987 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4988
4989         * dispatchresult.h: add a val setter
4990
4991         * cursor.C (dispatch): use a tempvar for data_[i]
4992
4993 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4994
4995         * PosIterator.[Ch]: compile fix
4996
4997 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4998
4999         * text.C (cursorPar): deactivate the cursor cache
5000
5001 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
5002
5003         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
5004
5005 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5006
5007         * text3.C (dispatch): adjust for new DisptchResult semantics.
5008
5009         * lyxfunc.C (dispatch): handle update when return from
5010         Cursor::dispatch, adjust for new DispatchResult semantics.
5011
5012         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
5013         DispatchResult(true) mean to not update. Add class functions for
5014         setting dispatched and update, as well as reading.
5015
5016         * cursor.C (dispatch): don't handle update here
5017
5018 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5019
5020         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
5021         * trans_mgr.C: adjust
5022
5023         * paragraph_funcs.C (readParToken): exception safety
5024
5025         * lyxvc.h: store the vcs pointer in a scoped_ptr
5026         * lyxvc.C: adjust
5027
5028         * lyxsocket.C (serverCallback): exception safety
5029
5030         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
5031
5032         * ispell.C (clone): make it return a auto_ptr
5033
5034         * factory.C (createInset): exception safety
5035         (readInset): exception safety
5036
5037         * bufferlist.C (newBuffer): exception safety
5038
5039         * Thesaurus.C (Thesaurus): use initialization for aik_
5040
5041         * MenuBackend.C (expandToc): exception safety.
5042
5043 2003-11-03  André Pönitz  <poenitz@gmx.net>
5044
5045         * buffer.C:
5046         * buffer.h:
5047         * bufferview_funcs.C: remove getInsetFromId()
5048
5049         * lyxcursor.[Ch]:
5050         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
5051
5052         * lyxfunc.C:
5053         * text2.C:
5054         * text3.C: adjust
5055
5056 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
5057
5058         * PosIterator.C (distance, advance): new
5059         * bufferview_funcs.[Ch] (put_selection_at): new
5060         * iterators.[Ch] (lockPath): new
5061
5062 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
5063
5064         * iterators.[Ch] (asPosIterator): added
5065         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
5066         * PosIterator.[Ch]: added
5067
5068 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5069
5070         * text3.C:
5071         * lyxfunc.C:
5072         * cursor.C (dispatch):
5073         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
5074
5075         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
5076         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
5077         contructor, add a class function dispatched. Remove operator>=
5078
5079 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5080
5081         * debug.C: only use the default constructor for debugstream
5082         (lyxerr) here.
5083
5084         * main.C (main): include debug.h and setup the lyxerr streambuf
5085         here.
5086
5087 2003-10-31  José Matos  <jamatos@lyx.org>
5088
5089         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
5090
5091         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
5092         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
5093         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5094         * paragraph_pimpl.C (simpleTeXSpecialC):
5095         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
5096         add LatexRunParams argument.
5097
5098         * exporter.C (Export): change call accordingly.
5099
5100         * latexrunparams.h: add new member to take care of the other backends.
5101 2003-10-30  José Matos  <jamatos@lyx.org>
5102
5103         * buffer.C (makeLinuxDocFile, makeDocBookFile):
5104         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5105         factorise code for paragraph output.
5106         * buffer.[Ch]:
5107         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
5108         move functions.
5109
5110 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5111
5112         * text3.C (dispatch):
5113         * lyxfunc.C (dispatch):
5114         * cursor.C (dispatch):
5115         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
5116
5117         * dispatchresult.h: make the dispatch_result_t ctor explicit
5118
5119 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
5120
5121         * sgml.[Ch]:
5122         * buffer.C: small refactoring of docbook stuff
5123
5124 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5125
5126         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
5127         meaning.
5128
5129 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5130
5131         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
5132         operator dispatch_result_t, and operators for == != and >=
5133
5134         * cursor.C (dispatch): adjust for operator dispatch_result_t
5135         removal. comment out call to update
5136
5137         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
5138
5139 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5140
5141         * text3.C:
5142         * text2.C:
5143         * text.C:
5144         * lyxtext.h:
5145         * lyxfunc.C:
5146         * cursor.C:
5147         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
5148         (dispatch):
5149
5150         * dispatchresult.h: new file, DispatchResult broken out of
5151         insets/insetbase.h
5152
5153         * Makefile.am (lyx_SOURCES): add dispatchresult.h
5154
5155 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
5156
5157         * text.C (rowBreakPoint): put a hack inside #if 0
5158
5159 2003-10-28  André Pönitz  <poenitz@gmx.net>
5160
5161         * lyxtext.h:
5162         * metricsinfo.C:
5163         * paragraph_funcs.C:
5164         * rowpainter.C:
5165         * text.C:
5166         * text2.C: general cleanup (lots of small stuff)
5167
5168 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
5169
5170         * text2.C (cursorEnd): simple fix to the "end key goes to one
5171         before the end on last row" bug
5172
5173 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5174
5175         * text.C (backspace): fix the "zombie characters"
5176
5177 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5178
5179         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
5180
5181 2003-10-27  André Pönitz  <poenitz@gmx.net>
5182
5183         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
5184
5185         * factory.C: handle new InsetPagebreak, InsetLine
5186
5187         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
5188         and move handling into new InsetPagebreak, InsetLine
5189
5190         * BufferView_pimpl.C:
5191         * LyXAction.C:
5192         * ParagraphParameters.C:
5193         * ParameterStruct.h:
5194         * lyxfunc.C:
5195         * lyxtext.h:
5196         * paragraph.C:
5197         * paragraph.h:
5198         * paragraph_funcs.C:
5199         * paragraph_pimpl.C:
5200         * rowpainter.C:
5201         * text.C:
5202         * text2.C:
5203         * text3.C: adjust
5204
5205 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5206
5207         * text.C:
5208         * lyxrow_funcs.[Ch]:
5209         * Bidi.C:
5210         * paragraph.C:
5211         * lyxtext.h:
5212         * rowpainter.C:
5213         * text2.C:
5214         * text3.C: remove lastPos uses in favour of Row::endpos
5215
5216 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5217
5218         * undo.C (performUndoOrRedo): fix two crashes by setting a
5219         cursor by hand and reordering some calls. Use bv->lockInset instead
5220         of inset->edit because the latter loses cursor information
5221
5222 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
5223
5224         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5225         by Martin
5226         (rowBreakPoint): fix width. change point to point + 1.
5227         Add a missing check.
5228
5229 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
5230
5231         * MenuBackend.C:
5232         * lyxfunc.C: fix (at least partly) the problems
5233         with the Nav menu and headers inside branch insets
5234         reported by Kayvan
5235
5236 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
5237
5238         * paragraph.C (getChar): add strong asserts
5239
5240         * lyxrow_funcs.C (lastPos): remove hideous hack
5241
5242         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5243         (fill): adjust to that (avoid an infinite loop)
5244
5245 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5246
5247         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5248
5249 2003-10-23  André Pönitz  <poenitz@gmx.net>
5250
5251         * RowList_fwd.h: change list<> to vector<> to gain speed
5252         after suggestion from Alfredo
5253
5254 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5255
5256         * lyxtext.h: move the bidi stuff from here...
5257         * text.C: and here
5258         * text2.C: and here
5259         * Bidi.[Ch]: ... to here
5260
5261 2003-10-23  André Pönitz  <poenitz@gmx.net>
5262
5263         * lyxtext.h:
5264         * text.C (isLastRow, isFirstRow): new functions
5265
5266         * paragraph.h: new width cache member
5267
5268         * rowpainter.C: replace RowList::iterator with Row & where possible
5269
5270         * lyxfunc.C: replace several view()->text with a single call
5271
5272         * toc.C: fix 'unused' warning
5273
5274 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5275
5276         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5277         when woring with stream::pos_type
5278         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5279
5280 2003-10-22  André Pönitz  <poenitz@gmx.net>
5281
5282         * lyxtext.h:
5283         * text.C: use Row & instead of RowList::iterator
5284
5285         * lyxrow.h: rename end() to endpos()
5286
5287         * rowpainter.C:
5288         * text.C:
5289         * text2.C: adjust
5290
5291 2003-10-22  Angus Leeming  <leeming@lyx.org>
5292
5293         * buffer.[Ch] (fully_loaded): new member function, returning true
5294         only when the file has been loaded fully.
5295         Used to prevent the premature generation of previews and by the
5296         citation inset to prevent computation of the natbib-style label.
5297
5298         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5299         templates are all set up.
5300
5301         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5302
5303 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
5304
5305         * text.C: fixed an "oops" in the "is a bit silly"
5306         bug fix
5307
5308 2003-10-21  André Pönitz  <poenitz@gmx.net>
5309
5310         * FuncStatus.[Ch]: small stuff, whitespace
5311
5312         * lyxfont.[Ch]: operator<<() for debug reasons
5313
5314         * lyxfunc.C:
5315         * lyxrow_funcs.C:
5316         * lyxtext.h: whitespace, spelling
5317
5318         * paragraph.C: naming of variables
5319
5320         * text.C:
5321         * text2.C: small stuff
5322
5323
5324 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
5325
5326         * text.C: (1) finish off the inset display() work;
5327         (2) fix the "is a bit silly" bug (accessing char
5328         past end of par).
5329
5330 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
5331
5332         * text.C: re-introduce display() for insets, fixing the
5333         various bugs (stretch of line above, math inset
5334         positioning, ...)
5335
5336 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5337
5338         * text.C (rightMargin): remove spurious semicolon
5339
5340         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5341         1415)
5342
5343 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
5344
5345         * text3.C: fix one crash due to wrong cursor def
5346
5347 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5348
5349         * vc-backend.C (scanMaster): make the regex static
5350
5351         * LaTeX.C (scanAuxFile): make the regexs static
5352
5353         * text3.C (doInsertInset, dispatch, dispatch):
5354         * text2.C (cursorUp, cursorDown):
5355         * text.C (selectNextWordToSpellcheck):
5356         * BufferView_pimpl.C (dispatch):
5357         * lyxfunc.C (dispatch):  localDispatch -> dispatch
5358
5359 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5360
5361         * lyxsocket.C: include <cerrno>
5362
5363 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5364
5365         * lyxfunc.C (dispatch): remove textcache stuff
5366
5367         * bufferlist.C (release): remove textcache stuff
5368         (closeAll): ditto
5369
5370         * TextCache.C: delete file
5371         * TextCache.h: delete file
5372
5373         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5374
5375         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5376         delete of the bv_->text.
5377         (resizeCurrentBuffer): remove texcache stuff
5378         (workAreaResize): ditto
5379
5380 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5381
5382         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5383         action.
5384
5385 2003-10-16  André Pönitz  <poenitz@gmx.net>
5386
5387         * lyxrow.[Ch]:
5388         * paragraph.h:
5389         * rowpainter.C:
5390         * text.C:
5391         * text2.C:
5392         * text3.C: speed up by storing y positions per paragraph plus per-row
5393         offset instead of having a 'full' y position in the row.
5394
5395 2003-10-15  André Pönitz  <poenitz@gmx.net>
5396
5397         * iterators.[Ch]:
5398         * iterators.[Ch]:
5399         * undo.[Ch]: make undo aware of inner insets
5400
5401 2003-10-14  Angus Leeming  <leeming@lyx.org>
5402
5403         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5404         static member functions LyX::ref() and LyX::cref.
5405         (lastfiles): new accessor functions for the new lastfiles_ member var.
5406         (addLyXView, views_): add a new LyXView to the list of views_.
5407         (updateInset): loop over all LyXViews to call their own updateInset
5408         member function, returning a pointer to the Buffer owning the inset.
5409
5410         * BufferView_pimpl.C (loadLyXFile):
5411         * MenuBackend.C (expandLastfiles):
5412         * bufferlist.C (MenuWrite, QuitLyX):
5413         lastfiles is no longer a global variable.
5414         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5415
5416         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5417         static function. Access through LyX::cref().emergencyCleanup().
5418
5419 2003-10-14  André Pönitz  <poenitz@gmx.net>
5420
5421         * iterators.[Ch]: new direct access to innermost LyXText and Inset
5422
5423         * undo.[Ch]: restoring part of 'undo in insets'
5424
5425         * Makefile.am:
5426         * undo_funcs.[Ch]: merge with undo.[Ch]
5427
5428         * tabular.C: small cleansing stuff
5429
5430 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
5431
5432         * paragraph_funcs.C (readParToken): report unknown insets as error
5433         boxes. Use the outer paragraph as location (also for unknown
5434         tokens).
5435
5436         * factory.C (readInset): do not abort on reading an unknown inset.
5437         Eat it and return 0.
5438
5439 2003-10-13  Angus Leeming  <leeming@lyx.org>
5440
5441         * lyx_main.C (LyX): remove call to setDisplayTranslator().
5442
5443         * lyxrc.C: displayTranslator is now a function,
5444         declared in GraphicsTypes.h.
5445
5446 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5447
5448         * format.C: new placeholder $$a to pass the socket address.
5449
5450         * bufferlist.[Ch]: new function getBufferFromTmp.
5451
5452         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5453           files in the temporary dir.
5454
5455 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5456
5457         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5458
5459         * Makefile.am: add lyxsocket.[Ch].
5460
5461         * lyx_main.C (error_handler): handle SIGPIPE.
5462
5463 2003-10-13  André Pönitz  <poenitz@gmx.net>
5464
5465         * BufferView_pimpl.C:
5466         * lyxtext.h:
5467         * text.C:
5468         * text2.C:
5469         * text3.C:
5470         * undo_funcs.[Ch]: use paroffset_type instead of
5471           ParagraphList::iterators to prevent multiple conversion
5472           (and get a more robust interface)
5473
5474 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5475
5476         * lyxfunc.C (dispatch): RESULT -> dispatch_result
5477         * lyxtext.h: ditto
5478         * text3.C (dispatch): ditto
5479
5480 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5481
5482         * LaTeX.C (handleFoundFile): move the static to smaller scope,
5483         move the onlyfile, use onlyfile instead of foundfile in a couple
5484         of places.
5485
5486         * DepTable.C (update): flush the error stream a bit more
5487
5488 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5489
5490         * lyxserver.C (callback): adjust
5491
5492         * lyxfunc.C (getStatus): add a missing brace in commented code
5493         (ensureBufferClean): reindent
5494         (dispatch): delete version taking a string
5495
5496 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5497
5498         * LaTeX.C (deplog): move found file handlig from here...
5499         (handleFoundFile): .. to new function here.
5500         (deplog): make sure to discover several files mentioned on the
5501         same log line.
5502
5503 2003-10-10  André Pönitz  <poenitz@gmx.net>
5504
5505         * lyxfunc.C:
5506         * lyxtext.h:
5507         * tabular.C:
5508         * text.C:
5509         * text2.C:
5510         * text3.C: fix some of the tabular crashes
5511
5512 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5513
5514         * MenuBackend.C (binding): put debug message into Debug::KBMAP
5515
5516         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5517
5518 2003-10-09  André Pönitz  <poenitz@gmx.net>
5519
5520         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5521
5522         * BufferView.C:
5523         * BufferView_pimpl.C:
5524         * bufferview_funcs.C:
5525         * lyx_cb.C:
5526         * lyxcursor.C:
5527         * lyxfind.C:
5528         * lyxfunc.C:
5529         * lyxtext.h:
5530         * text.C:
5531         * text2.C:
5532         * text3.C:
5533         * text_funcs.[Ch]:
5534         * textcursor.[Ch]:
5535         * undo_funcs.C: adjust
5536
5537 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5538
5539         * text2.C (incrementItemDepth): new function, use a backtracking
5540         algorithm to discover the correct item depth.
5541         (resetEnumCounterIfNeeded): new function, use a backtracking
5542         algorithm to discover if counter reset is needed.
5543         (setCounter): use them. Simplify a bit. Add different labels for
5544         different item depths for itemize.
5545
5546         * paragraph.C (Paragraph): remove initialization of enumdepth
5547         (operator=): ditto
5548
5549         * paragraph.h: get rid of enumdepth, and use itemdepth both for
5550         enumerate and itemize. Change the type of itemdepth to signed char.
5551
5552 2003-10-08  André Pönitz  <poenitz@gmx.net>
5553
5554         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5555           thing assignable.
5556         * text.C:
5557         * text2.C: adjust
5558
5559         * tabular.[Ch]: fix crash after 'row-insert'
5560
5561 2003-10-08  Angus Leeming  <leeming@lyx.org>
5562
5563         Fix doxygen warnings.
5564
5565         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5566         Remove CutAndPaste:: prefix from header file declaration.
5567
5568         * LColor.h (fill): remove LColor:: prefix from declaration.
5569
5570         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5571         use lyx::depth_type rather than Paragraph::depth_type so that
5572         header file and .C file match.
5573
5574         * converter.h (intToFormat): remove Converters:: prefix from declaration.
5575
5576         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5577         * aspell.C: \file aspell_local.C -> \file aspell.C
5578         * gettext.C: \file gettext.C -> \file src/gettext.C
5579         * gettext.h: \file gettext.h -> \file src/gettext.h
5580         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5581         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5582         * text.C: \file text.C -> \file src/text.C
5583
5584         * toc.C: move comment so that doxygen is not confused.
5585
5586 2003-10-07  Angus Leeming  <leeming@lyx.org>
5587
5588         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5589
5590 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5591
5592         * aspell.C:
5593         * aspell_local.h: add forgotten std::string's.
5594
5595 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5596
5597         * LaTeXFeatures.C:
5598         * LyXAction.C:
5599         * factory.C:
5600         * lfuns.h:
5601         * lyxfunc.C:
5602         * text3.C: The Box patch. Fancybox support, minipage, parbox
5603
5604 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5605
5606         * CutAndPaste.h:
5607         * DepTable.h:
5608         * FloatList.h:
5609         * LaTeXFeatures.h:
5610         * ParagraphParameters.h:
5611         * TextCache.h:
5612         * Thesaurus.h:
5613         * bufferlist.h:
5614         * exporter.h:
5615         * importer.h:
5616         * lastfiles.h:
5617         * lyxfind.h:
5618         * lyxfont.h:
5619         * lyxlex.h:
5620         * lyxtextclasslist.h:
5621         * messages.h:
5622         * paragraph.h:
5623         * paragraph_pimpl.C:
5624         * textcursor.h: add <string> and other small fixes to make Lars'
5625         std::string patch compile with STLport.
5626
5627 2003-10-06  Angus Leeming  <leeming@lyx.org>
5628
5629         * LColor.h: Add missing #include <string>.
5630
5631 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5632
5633         * All most all file in all subdirs: Make <string> be the prefered
5634         way of getting to std::string, add using declarations.
5635
5636 2003-10-06  André Pönitz  <poenitz@gmx.net>
5637
5638         * metricsinfo.C: initialize LyXFont before changing attribute.
5639         (fixes the 'math in \emph is upright' bug)
5640
5641 2003-10-06  André Pönitz  <poenitz@gmx.net>
5642
5643         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5644
5645 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
5646
5647         * graph.C:
5648         * paragraph_pimpl.C: Small fixes to build using STLport
5649
5650 2003-10-02  André Pönitz  <poenitz@gmx.net>
5651
5652         * lyxfunc.C:
5653         * text3.C: move handling of LFUN_DEPTH *; fix #1360
5654
5655 2003-10-01  André Pönitz  <poenitz@gmx.net>
5656
5657         * factory.C: assert early
5658
5659 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5660
5661         * lyx_main.C: remove the global debug object
5662
5663         * debug.h: adjust for new debugstream
5664
5665         * debug.C: adjust for new debugstream and keep the global debug
5666         object here.
5667
5668 2003-09-22  Angus Leeming  <leeming@lyx.org>
5669
5670         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5671         of g++ which otherwise complain that the scoped_ptr destructor can't delete
5672         an incomplete class LyXFont.
5673
5674 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
5675
5676         * factory.C: bug fix in branches
5677
5678 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5679
5680         * lyxfunc.C (processKeySym): adjust
5681         (dispatch): adjust
5682         (dispatch): change arg name from ev to func, adjust
5683         (sendDispatchMessage): ditto
5684
5685         * lyx_main.C (defaultKeyBindings): adjust keybindings
5686         (deadKeyBindings): ditto
5687
5688         * kbsequence.C (addkey): return a FuncRequest
5689
5690         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5691
5692         * kbmap.C (bind): take a FuncRequest as arg, adjust
5693         (read): adjust
5694         (lookup): adjust
5695         (defkey): change to take a FuncRequest as arg, adjust
5696         (findbinding): take a FuncRequest as arg, adjust.
5697
5698         * funcrequest.h (operator=): added
5699
5700         * funcrequest.C (FuncRequest): default kb_action changed from
5701         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5702
5703         * buffer.C (dispatch): simplify
5704         (dispatch): adjust to take a FuncRequest as arg, adjust
5705
5706         * boost.C (assertion_failed): change assertion message slightly
5707
5708         * ToolbarBackend.C (read): simplify
5709
5710         * MenuBackend.C (binding): adjust call to findbinding, add a
5711         message if no binding is found.
5712         (read): simplify
5713         (expandToc): correct by adding a empty FuncRequest
5714
5715         * LyXAction.C: include <boost/assert.hpp>
5716         (isPseudoAction): delete function
5717         (LookupFunc): change name to...
5718         (lookupFunc): this. change return type to FuncRequest.
5719         (getActionName): take kb_action as arg, simplify
5720         (funcHasFlag): add an assert, simplify.
5721
5722 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5723
5724         * toc.C (action): return a FuncRequest, simplify
5725
5726         * lyxfunc.C (processKeySym): adjust
5727         (getStatus): delete version that takes an int.
5728         (getStatus): adjust
5729         (dispatch): delete version that takes action as int
5730         (dispatch): adjust
5731         (sendDispatchMessage): simplify and adjust
5732
5733         * funcrequest.C (getArg): take unsigned int as arg
5734
5735         * ToolbarBackend.C (read): adjust
5736         (add): delete version that takes func as a string.
5737         (getIton): take a FuncRequest as arg
5738
5739         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5740         action.
5741
5742         * MenuBackend.C (MenuItem): add a new construct that only takes a
5743         Kind, simplify the constructor use for submenus.
5744         (add): adjust
5745         (expandLastfiles): adjust
5746         (expandDocuments): adjust
5747         (expandFormats): adjust
5748         (expandFloatListInsert): adjust
5749         (expandFloatInsert): adjust
5750         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5751
5752         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5753         Remove class variables lyx_pseudo_map and lyx_arg_map
5754
5755         * LyXAction.C (searchActionArg): delete function
5756         (getPseudoAction): delete function
5757         (retrieveActionArg): delete function
5758         (LookupFunc): make it return kb_action, simplify.
5759         (getActionName): simplify
5760
5761         * factory.C (createInset): fix new bug
5762
5763 2003-09-19  Angus Leeming  <leeming@lyx.org>
5764
5765         * CutAndPaste.C (pasteSelection): remove fudge used to set the
5766         masterFilename_ parameter in the include inset.
5767
5768         * factory.C (createInset): changes due to the changes to InsetInclude.
5769
5770 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5771
5772         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5773
5774 2003-09-18  Angus Leeming  <leeming@lyx.org>
5775
5776         * buffer.C:
5777         * BufferView.C: pass the buffer when calling Inset::getLabelList,
5778         Inset::fillWithBibKeys.
5779         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5780
5781 2003-09-18  Angus Leeming  <leeming@lyx.org>
5782
5783         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5784         variables.
5785         (ctor): pass and store a 'Buffer const &'
5786         (buffer): new member function.
5787
5788         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5789         '*this' to the LaTeXFeatures ctor.
5790
5791 2003-09-18  Angus Leeming  <leeming@lyx.org>
5792
5793         * LColor.h:
5794         * lyxfont.C:
5795         * lyxfont.h:
5796         * lyxtext.h:
5797         * text.C: rename EnumLColor as LColor_color.
5798
5799 2003-09-18  Angus Leeming  <leeming@lyx.org>
5800
5801         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5802         remove #include "insets/insetbase.h" from cursor.h.
5803
5804 2003-09-18  Angus Leeming  <leeming@lyx.org>
5805
5806         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5807         InsetOld_code to remove #include "inset.h".
5808
5809         * iterators.C: add #include "insets/inset.h"
5810
5811 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
5812
5813         * BufferView.C: remove more locking stuff that apparently doesn't
5814         do anything sensible.
5815
5816 2003-09-16  André Pönitz  <poenitz@gmx.net>
5817
5818         * paragraph.[Ch]:
5819         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5820           performance boost.
5821
5822 2003-09-16  Angus Leeming  <leeming@lyx.org>
5823
5824         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5825
5826         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5827         arg/return type.
5828
5829         * paragraph.h: remove #include "lyxfont.h". Forward declare
5830         LyXFont_size.
5831
5832 2003-09-16  Angus Leeming  <leeming@lyx.org>
5833
5834         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5835         of support/textutils.h.
5836         (isWord): move the contents of support/textutils.h's IsWordChar here.
5837
5838         * buffer.C:
5839         * lyxfind.C:
5840         * rowpainter.C:
5841         * text.C:
5842         * text2.C: add #include "paragraph.h".
5843
5844         * rowpainter.C:
5845         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5846
5847 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5848
5849         * main.C:
5850         * lyx_main.C:
5851         * lyx_cb.C:
5852         * buffer.C:
5853         * LaTeX.C: use namespace alias for lyx::support::os
5854
5855 2003-09-16  Angus Leeming  <leeming@lyx.org>
5856
5857         * bufferparams.C:
5858         * bufferview_funcs.C:
5859         * factory.C:
5860         * lyxfunc.C:
5861         * paragraph_pimpl.C:
5862         * rowpainter.C:
5863         * text.C: add #include "LColor.h".
5864
5865 2003-09-16  Angus Leeming  <leeming@lyx.org>
5866
5867         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5868         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5869         return LyXFont &.
5870         Store the FontBits::color variable as an int rather than as an
5871         LColor::colorso that we can move LColor.h out of the lyxfont.h header
5872         file.
5873
5874         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5875         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5876         string calls together.
5877
5878         * lyxrc.C: add #include "LColor.h".
5879
5880 2003-09-15  Angus Leeming  <leeming@lyx.org>
5881
5882         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5883         a cow_ptr.
5884
5885 2003-09-15  Angus Leeming  <leeming@lyx.org>
5886
5887         * LColor.h: add an EnumLColor wrapper for LColor::color.
5888
5889         * lyxfont.[Ch] (color, setColor, realColor):
5890         * lyxtext.h, text.C (backgroundColor):
5891         pass EnumLColor args to/from the functions, rather than LColor::color
5892         ones.
5893
5894         * lyxfont.h:
5895         * lyxtext.h: forward declare EnumLColor.
5896
5897         * lyx_main.C: add #include "LColor.h".
5898
5899 2003-09-15  Angus Leeming  <leeming@lyx.org>
5900
5901         * .cvsignore: add lyx-gtk.
5902
5903 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5904
5905         * Chktex.C
5906         * LaTeX.C
5907         * LaTeXFeatures.C
5908         * ParagraphParameters.C
5909         * Spacing.C
5910         * buffer.C
5911         * bufferparams.C
5912         * bufferview_funcs.C
5913         * chset.C
5914         * counters.C
5915         * funcrequest.C
5916         * lyxfont.C
5917         * lyxgluelength.C
5918         * lyxlength.C
5919         * paragraph.C
5920         * paragraph_funcs.C
5921         * text3.C
5922         * vc-backend.C: remove usage of STRCONV
5923
5924 2003-09-15  Angus Leeming  <leeming@lyx.org>
5925
5926         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5927         explicitly define the color passed to the painter.
5928
5929 2003-09-15  Angus Leeming  <leeming@lyx.org>
5930
5931         * bufferparams.C (BufferParams): reorder member initializers to avoid
5932         compiler warning.
5933
5934 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
5935
5936         * CutAndPaste.C (pasteSelection): remove an outdated #warning
5937         * text.C (updateRowPositions): remove an unusual nop
5938
5939 2003-09-12  André Pönitz  <poenitz@gmx.net>
5940
5941         * BufferView_pimpl.C:
5942         * Bullet.C:
5943         * layout.h:
5944         * lyxfunc.C:
5945         * lyxlayout.[Ch]:
5946         * lyxtextclass.C:
5947         * rowpainter.C:
5948         * text.C:
5949         * text2.C:
5950         * Counters.[Ch]: finish the 'automatic counters' job
5951
5952 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5953
5954         * aspell.C: include <boost/assert.cpp> (compile fix)
5955
5956 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
5957
5958         * boost.C (assertion_failed): use lyx::support::abort instead of
5959         assert.
5960
5961 2003-09-10  Angus Leeming  <leeming@lyx.org>
5962
5963         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5964         with their _fwd progeny.
5965
5966 2003-09-09  Angus Leeming  <leeming@lyx.org>
5967
5968         134 files throughtout the source tree: replace 'using namespace abc;'
5969         directives with the appropriate 'using abc::xyz;' declarations.
5970
5971 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5972
5973         * boost.C (emergencyCleanup): moved here from LAssert.c
5974         (assertion_failed): new function, called by BOOST_ASSERT
5975
5976         * several files: change Assert to BOOST_ASSERT
5977
5978 2003-09-09  Angus Leeming  <leeming@lyx.org>
5979
5980         * buffer.[Ch]: Add an Impl class and move Buffer's member
5981         variables into it. As a result move several header files out of
5982         buffer.h.
5983
5984         Add header files to lots of .C files all over the tree as a result.
5985
5986 2003-09-09  Angus Leeming  <leeming@lyx.org>
5987
5988         * buffer.[Ch]: make Buffer's member variables private. Add
5989         accessor functions.
5990
5991         Lots of changes all over the tree as a result.
5992
5993 2003-09-08  Angus Leeming  <leeming@lyx.org>
5994
5995         * graph.C: #include <config.h>.
5996
5997 2003-09-08  Angus Leeming  <leeming@lyx.org>
5998
5999         * BranchList.C:
6000         * BufferView.C:
6001         * BufferView_pimpl.C:
6002         * CutAndPaste.C:
6003         * DepTable.C:
6004         * LaTeX.C:
6005         * LaTeXFeatures.C:
6006         * LyXAction.C:
6007         * MenuBackend.C:
6008         * TextCache.C:
6009         * aspell.C:
6010         * buffer.C:
6011         * bufferlist.C:
6012         * changes.C:
6013         * chset.C:
6014         * converter.C:
6015         * counters.C:
6016         * debug.C:
6017         * graph.C:
6018         * ispell.C:
6019         * lyx_cb.C:
6020         * lyxfind.C:
6021         * lyxfunc.C:
6022         * lyxlex_pimpl.C:
6023         * lyxrc.C:
6024         * lyxrow.C:
6025         * paragraph.C:
6026         * rowpainter.C:
6027         * texrow.C:
6028         * text.C:
6029         * text2.C:
6030         * toc.C: remove redundant using directives.
6031
6032 2003-09-07  Angus Leeming  <leeming@lyx.org>
6033
6034         * LaTeXFeatures.h: remove #include "support/types.h".
6035         * ToolbarBackend.h: remove #include <algorithm>.
6036         * changes.h: remove #include <ctime>.
6037         * debug.h: remove #include <iosfwd>.
6038         * graph.h: remove #include "support/std_string.h".
6039         * lyx_main.h: remove #include <csignal>.
6040         * lyxlex_pimpl.h: remove #include <fstream>.
6041         * sgml.h: remove #include <algorithm>, <utility>.
6042         * toc.h: remove #include "support/std_ostream.h".
6043         Add #include <iosfwd>.
6044
6045 2003-09-07  Angus Leeming  <leeming@lyx.org>
6046
6047         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
6048
6049         * converter.h: forward declare LatexRunParams.
6050         * encoding.h: remove #include "lyxrc.h".
6051         * lyxtext.h: remove #include "LColor.h".
6052         * lyxtextclass.h: remove #include "support/types.h".
6053         * trans.h: remove #include "tex-accent.h".
6054         * trans_mgr.h: remove #include "tex-accent.h".
6055         * insets/inset.h: remove #include "support/types.h", <vector>.
6056         * insets/insetcollapsable.h: remove #include "LColor.h".
6057         * insets/insetinclude.h: remove #include "dimension.h".
6058         * insets/insetlatexaccent.h: remove #include "dimension.h".
6059         * insets/insetoptarg.h:: remove #include "insettext.h".
6060         * insets/insettext.h: remove #include "dimension.h",
6061         <boost/shared_ptr.hpp>
6062
6063         * insets/renderers.h: add #include "dimension.h".
6064         * insets/updatableinset.h: add #include "support/types.h".
6065
6066         * many .C files: Associated changes.
6067
6068 2003-09-06  Angus Leeming  <leeming@lyx.org>
6069
6070         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
6071         one, inside testInvariant.
6072
6073         * PrinterParams.C: new file.
6074         * PrinterParams.[Ch]: move the function bodies out of line.
6075
6076 2003-09-06  Angus Leeming  <leeming@lyx.org>
6077
6078         * ParagraphParameters.h: forward declare ParameterStruct rather than
6079         including its header file.
6080         (depth): moved out-of-line.
6081
6082 2003-09-06  Angus Leeming  <leeming@lyx.org>
6083
6084         * BufferView_pimpl.h:
6085         * kbmap.h:
6086         * kbsequence.h:
6087         * lyxfunc.h: forward declare LyXKeySym rather than
6088         #include "frontends/LyXKeySym.h".
6089
6090         * BufferView_pimpl.C:
6091         * kbmap.C:
6092         * kbsequence.C:
6093         * lyxfunc.C: associated changes.
6094
6095 2003-09-06  Angus Leeming  <leeming@lyx.org>
6096
6097         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6098         As a result, can remove the #include "insets/inset.h" from BufferView.h
6099
6100 2003-09-06  Angus Leeming  <leeming@lyx.org>
6101
6102         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6103         As a result, can remove the #include "insets/inset.h" from BufferView.h
6104
6105 2003-09-06  Angus Leeming  <leeming@lyx.org>
6106
6107         * buffer_funcs.C:
6108         * buffer.h:
6109         * bufferlist.C:
6110         * BufferView.C:
6111         * bufferview_funcs.C:
6112         * BufferView_pimpl.C:
6113         * CutAndPaste.C:
6114         * lyx_cb.C:
6115         * lyxfunc.C:
6116         * paragraph.h:
6117         * ParagraphParameters.C:
6118         * tabular.C:
6119         * text3.C:
6120         * toc.C:
6121         * undo_funcs.C:
6122         * frontends/controllers/ControlDocument.C:
6123         * insets/insetcaption.C: rearrange the #includes into some sort of
6124         coherent order.
6125
6126         * buffer.h: remove #includes ErrorList.h, undo.h
6127
6128 2003-09-06  Angus Leeming  <leeming@lyx.org>
6129
6130         * support/types.h: add a 'depth_type' typedef, used to store the
6131         nesting depth of a paragraph.
6132
6133         * paragraph.h:
6134         * ParameterStruct.h: use this lyx::depth_type typedef rather than
6135         defining explicitly.
6136
6137         * buffer.h:
6138         * paragraph_funcs.h:
6139         * ParagraphParameters.h:
6140         * sgml.h: use lyx::depth_type rather than Paragraph or
6141         ParameterStruct's depth_type.
6142
6143         * buffer.h
6144         * paragraph_funcs.h: no need to #include paragraph.h anymore.
6145
6146         * BufferView.C:
6147         * BufferView_pimpl.C:
6148         * CutAndPaste.C:
6149         * ParagraphParameters.C:
6150         * buffer_funcs.C:
6151         * bufferlist.C:
6152         * bufferview_funcs.C:
6153         * lyx_cb.C:
6154         * lyxfunc.C:
6155         * tabular.C:
6156         * text3.C:
6157         * toc.C:
6158         * undo_funcs.C:
6159         * frontends/LyXView.C:
6160         * frontends/controllers/ControlDocument.C:
6161         * frontends/controllers/ControlErrorList.C:
6162         * insets/insetbibitem.C:
6163         * insets/insetbranch.C:
6164         * insets/insetcaption.C:
6165         * insets/insetcollapsable.C:
6166         * insets/insetenv.C:
6167         * insets/insetert.C:
6168         * insets/insetfloat.C:
6169         * insets/insetfoot.C:
6170         * insets/insetfootlike.C:
6171         * insets/insetnewline.C:
6172         * insets/insetquotes.C:
6173         * insets/insettabular.C:
6174         * insets/insettext.C:
6175         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
6176
6177         * frontends/controllers/ControlChanges.C: #include "changes.h".
6178
6179 2003-09-06  Angus Leeming  <leeming@lyx.org>
6180
6181         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
6182         than #including paragraph.h.
6183
6184         * ParagraphList.h:
6185         * RowList.h: deleted. Superfluous.
6186
6187         * CutAndPaste.h:
6188         * iterators.h:
6189         * lyxcursor.h:
6190         * lyxtext.h:
6191         * text_funcs.h:
6192         * undo.h:
6193         * undo_funcs.h:
6194         * insets/inset.h:
6195         * insets/insettext.h: use ParagraphList_fwd.h rather than
6196         ParagraphList.h.
6197
6198         * paragraph.h: don't forward declare ParagraphList.
6199
6200         * buffer.h:
6201         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
6202         rather than ParagraphList.h. paragraph.h is still needed for the
6203         Paragraph::depth_type parameters.
6204
6205         * textcursor.h: enable it to compile stand-alone in light of the
6206         above changes.
6207
6208         * bufferview_funcs.C:
6209         * iterators.C:
6210         * lyxfunc.C:
6211         * lyxrow_funcs.C:
6212         * paragraph.C:
6213         * rowpainter.C:
6214         * text.C:
6215         * text2.C:
6216         * text3.C:
6217         * text_funcs.C:
6218         * textcursor.C:
6219         * undo.C:
6220         * frontends/controllers/ControlParagraph.C:
6221         * frontends/controllers/ControlTabular.C:
6222         * insets/insetmarginal.C:
6223         * insets/insetminipage.C:
6224         * insets/insetnote.C:
6225         * insets/insetoptarg.C: add header files needed to compile again.
6226
6227 2003-09-06  Angus Leeming  <leeming@lyx.org>
6228
6229         * RowList_fwd.h: new file, forward-declaring Row rather than
6230         #including lyxrow.h.
6231
6232         * lyxrow_funcs.h:
6233         * lyxtext.h:
6234         * paragraph.h:
6235         * insets/insettext.h: use it instead of RowList.h
6236
6237         * bufferview_funcs.C:
6238         * lyxfunc.C:
6239         * lyxrow_funcs.C:
6240         * paragraph.C:
6241         * rowpainter.C:
6242         * text.C:
6243         * text2.C:
6244         * text3.C: #include "RowList.h".
6245
6246 2003-09-05  Angus Leeming  <leeming@lyx.org>
6247
6248         * factory.C (createInset):
6249         * vspace.C (c-tor): replace sscanf call with an istringstream.
6250         * ispell.C: re-add missing HP/UX headers.
6251         * lyxserver.C: re-add missing  os2 headers.
6252
6253 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
6254
6255         * BranchList.C:
6256         * graph.C:
6257         * ispell.C:
6258         * lastfiles.C:
6259         * lyx_cb.C:
6260         * lyxserver.C:
6261         * texrow.C:
6262         * text3.C: re-add missing system headers, needed for 2.95.2.
6263
6264 2003-09-05  Angus Leeming  <leeming@lyx.org>
6265
6266         Changes most place everywhere due to the removal of using directives
6267         from support/std_sstream.h.
6268
6269 2003-09-05  Angus Leeming  <leeming@lyx.org>
6270
6271         Replace LString.h with support/std_string.h,
6272         Lsstream.h with support/std_sstream.h,
6273         support/LIstream.h with support/std_istream.h,
6274         support/LOstream.h with support/std_ostream.h.
6275
6276         Changes resulting throughout the tree.
6277
6278 2003-09-05  Angus Leeming  <leeming@lyx.org>
6279
6280         * sgml.h: ensure that the header file can be compiled stand-alone.
6281         * *.C: strip out redundant #includes. (320 in total.)
6282
6283 2003-09-04  Angus Leeming  <leeming@lyx.org>
6284
6285         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6286         here (from getPackages).
6287
6288         * debug.[Ch]: add a new EXTERNAL tag.
6289
6290 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6291
6292         * text2.C (cursorEnd): simplify
6293         (setCursor): adjust
6294         (getColumnNearX): adjust
6295
6296         * text.C (computeBidiTables): adjust
6297         (fill): adjust
6298
6299         * rowpainter.C (paintChars): adjust
6300         (paintSelection): adjust
6301         (paintChangeBar): adjust
6302         (paintText): adjust
6303
6304         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6305         lastPos instead.
6306         (numberOfSeparators): adjust
6307
6308 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6309
6310         * LyXAction.C:
6311         * box.[Ch]:
6312         * lfuns.h:
6313         * lyxfunc.C:
6314         * text3.C: Restricts the mouse click functionality
6315         of insets like bibtex, include, toc and floatlist to the visible
6316         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6317         up the dialogs. Cursor has to be in front of the inset (i.e.
6318         start of row) for this to function.
6319
6320 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6321
6322         * bufferview_funcs.C (currentState): output row information
6323
6324 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6325
6326         * bufferview_funcs.C (currentState): output paragraph position
6327
6328 2003-09-04  Angus Leeming  <leeming@lyx.org>
6329
6330         * FloatList.h: move out #include "Floating.h".
6331         * LaTeX.h: move out #include "DepTable.h".
6332         * LyXAction.h: move out #include "funcrequest.h".
6333         * buffer.h: move out #include "author.h", "iterators.h".
6334         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6335         * lyx_main.h: move out #include "errorlist.h".
6336         * lyxfunc.h: move out #include "FuncStatus.h".
6337         * lyxtext: move out #include "lyxcursor.h".
6338         * paragraph_pimpl.h: move out #include "counters.h".
6339
6340 2003-09-03  Angus Leeming  <leeming@lyx.org>
6341
6342         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6343         preamble_snippets list, enabling us to add snippets to the preamble
6344         only if the snippet was not there already.
6345
6346 2003-09-04  Angus Leeming  <leeming@lyx.org>
6347
6348         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6349
6350 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6351
6352         * lyxfunc.C (dispatch): if fitCursor did something be sure to
6353         update
6354
6355 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6356
6357         * BranchList.C: point fix, earlier forgotten
6358
6359 2003-09-02  Angus Leeming  <leeming@lyx.org>
6360
6361         * box.C (contains): renamed from 'contained' after a fantastic
6362         amount of hot air.
6363
6364 2003-09-02  John Levon  <levon@movementarian.org>
6365
6366         * BufferView.C:
6367         * lyxcursor.h:
6368         * lyxcursor.C:
6369         * lyxfunc.C:
6370         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6371
6372 2003-09-02  John Levon  <levon@movementarian.org>
6373
6374         * text2.C: simplification of cursorEnd(), including partial
6375         fix for bug 1376
6376
6377 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6378
6379         * buffer.C (readFile): add a space
6380
6381 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
6382
6383         * BufferView_pimpl.C (update): remove bogus fitCursor() call
6384
6385 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6386
6387         * buffer.C (readFile): new function, take a filename and a
6388         ParagraphList::iterator
6389         (readFile): adjust
6390         (readFile): adjust, make it private. don't use setStream, make
6391         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6392         always contain the filename.
6393
6394         * BufferView.C (insertLyXFile): simplify and make it work for
6395         gzipped files.
6396
6397 2003-08-30  John Levon  <levon@movementarian.org>
6398
6399         * Makefile.am: fix dist (from Kayvan)
6400
6401 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6402
6403         * most files: change to use const Buffer refs
6404
6405 2003-08-27  André Pönitz  <poenitz@gmx.net>
6406
6407         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6408         on top of ownerPar().
6409
6410 2003-08-27  John Levon  <levon@movementarian.org>
6411
6412         * funcrequest.C: properly initialise POD members
6413
6414 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6415
6416         * lyxtext.h (top_y): move top_y from here
6417         * text.C:
6418         * text2.C:
6419         * text3.C:
6420         * BufferView.[Ch]:
6421         * BufferView_pimpl.[Ch]: to here
6422         * frontends/screen.C:
6423         * insets/insettabular.C:
6424         * insets/insettext.C: adjust
6425         * rowpainter.[Ch] (paintRows): remove LyXText & argument
6426
6427 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6428
6429         * BufferView.[Ch]:
6430         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6431
6432 2003-08-26  André Pönitz  <poenitz@gmx.net>
6433
6434         * paragraph_func.[Ch] (outerPar): new function
6435
6436         * paragraph.C:
6437         * paragraph_funcs.C:
6438         * paragraph_funcs.h:
6439         * paragraph_pimpl.C:
6440         * text2.C: remove Inset::par_owner
6441
6442 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
6443
6444         * lyxrow_funcs.C:
6445         * lyxtext.h:
6446         * text.C:
6447         * text2.C: eliminates the needFullRow/display() stuff
6448         altogether, putting the logic in metrics/draw in the insets.
6449
6450 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
6451
6452         * text2.C (redoParagraphInternal, redoParagraphs):
6453         * text.C (redoParagraph): add a call to updateRowPositions at the
6454         end of each 'metrics-like' call. Remove all others.
6455         (getRow): remove the 'y-computing' version.
6456         (getRowNearY): do not compute nor return the real y. Solve the
6457         'y < 0' problem and simplify.
6458
6459 2003-08-22  Angus Leeming  <leeming@lyx.org>
6460
6461         * *.[Ch]: clean-up of licence and author blurbs.
6462         Also move config.h out of a few .h files and into a few .C files.
6463
6464 2003-08-22  André Pönitz  <poenitz@gmx.net>
6465
6466         * lyxrow.[Ch]: add x_ and *fill_ members
6467
6468         * lyxtext.h:
6469         * text.C:
6470         * rowpainter.C:
6471         * text2.C: adjust/remove prepareToPrint() calls
6472
6473 2003-08-22  André Pönitz  <poenitz@gmx.net>
6474
6475         * lyxrow.[Ch]: add  end_ member
6476
6477         * lyxrow_funcs.C: use LyXRow::end_
6478
6479         * lyxtext.h (singleWidth): add LyXFont parameter
6480
6481         * rowpainter.C:
6482         * text2.C: adjust LyXText::singleWidth() calls
6483
6484         * text.C (redoParagraph): simplify row breaking logic
6485
6486
6487 2003-08-19  André Pönitz  <poenitz@gmx.net>
6488
6489         * funcrequest.C: initialize button_ member
6490
6491         * text3.C:
6492         * rowpainter.[Ch]: interface consolidation
6493
6494 2003-08-18  André Pönitz  <poenitz@gmx.net>
6495
6496         * BufferView.C:
6497         * BufferView_pimpl.C:
6498         * lyxfind.C:
6499         * paragraph_funcs.C:
6500         * rowpainter.C:
6501         * text3.C: remove LyXScreen::draw() and fitCursor calls
6502
6503         * BranchList.h: remove spurious semicolons
6504
6505         * MenuBackend.C: fix branchlist related crash
6506
6507 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
6508
6509         * BranchList.[Ch]:
6510         * InsetList.[Ch]:
6511         * LColor.[Ch]:
6512         * LyXAction.C:
6513         * Makefile.am:
6514         * MenuBackend.[Ch]:
6515         * bufferparams.[Ch]:
6516         * factory.C:
6517         * lfuns.h:
6518         * lyxfunc.C:
6519         * text3.C: implements the 'branch inset'
6520         idea. This allows the output of various versions of a document
6521         from a single source version, selectively outputing or suppressing
6522         output of parts of the text.
6523         This implementation contains a 'branch list editor' in a separate
6524         tab of the document settings dialog. Branches are user definable
6525         and have a "display colour" to distinguish them on-screen.
6526
6527         ColorHandler was somewhat cleaned up.
6528         (1) make possible a dynamically growing LColor list by allowing
6529         the graphic context cache to grow along (vector);
6530         (2) eliminate an IMHO unnecessary step in colour allocation.
6531
6532 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
6533
6534         * BufferView_pimpl.C: compile fix
6535
6536 2003-08-15  André Pönitz  <poenitz@gmx.net>
6537
6538         * rowpainter.C: remove extra metrics calls
6539
6540         * lyxtext.h: merge the two constructors into a single one,
6541           pass reference to owner's par list
6542
6543         * BufferView_pimpl.C:
6544         * text.C:
6545         * text2.C: adjust
6546
6547 2003-08-15  André Pönitz  <poenitz@gmx.net>
6548
6549         * lyxrow_funcs.[Ch]:
6550         * lyxtext.h:
6551         * paragraph.h:
6552         * paragraph_funcs.C:
6553         * rowpainter.C:
6554         * text.C:
6555         * text2.C:
6556         * text3.C:
6557         * text_funcs.C: split LyXText::rowlist_ into individual
6558         Paragraph::rows_ chunks
6559
6560         * BufferView.[Ch]:
6561         * BufferView_pimpl.[Ch]:
6562         * lyxfind.C:
6563         * lyxtext.h:
6564         * text3.C: remove toggleSelection()
6565
6566 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
6567
6568         * bufferlist.C: beautify two alerts (shorter text of buttons)
6569         * buffer.C: Remove redundant ' ' from message
6570         * tabular.h:
6571         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6572         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6573         rename VALIGN_CENTER to VALIGN_MIDDLE
6574
6575 2003-08-11  André Pönitz  <poenitz@gmx.net>
6576
6577         * lyxtext.h (getPar):
6578         * text.C: new function
6579
6580 2003-08-11  André Pönitz  <poenitz@gmx.net>
6581
6582         * Makefile.am:
6583         * tracer.[Ch]: remove unneeded files
6584
6585         * InsetList.[Ch]: remove resizeInsetsLyXText()
6586
6587         * lyxtext.h:
6588         * text.C:
6589         * text2.C:
6590         * text3.C: merge insertParagraphs() and appendParagraph()
6591         remove breakAgain(), update()
6592
6593         * BufferView_pimpl.[Ch]:
6594         * bufferview_funcs.[Ch]:
6595         * lyxfunc.C:
6596         * paragraph.[Ch]:
6597         * rowpainter.C:
6598         * tabular.C: adjust after text & InsetList changes.
6599
6600 2003-08-08  André Pönitz  <poenitz@gmx.net>
6601
6602         * text.C (insertChar, backspace): replace rowlist fiddling
6603         with rebreak of full par
6604
6605         * lyxtext.h:
6606         * text.C (breakAgainOneRow, redoHeightOfParagraph,
6607         checkParagraph, updateInset): removed
6608
6609 2003-08-07  André Pönitz  <poenitz@gmx.net>
6610
6611         * paragraph.C:
6612         * text3.C: merge some LFUN handlers, remove dead code
6613
6614 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6615
6616         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6617
6618 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
6619
6620         * text2.C (DEPM): fix part of bug 1255 and 1256
6621
6622 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6623
6624         * BufferView_pimpl.C (workAreaDispatch): change to use
6625         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6626         that are no mouse related.
6627
6628 2003-08-05  André Pönitz  <poenitz@gmx.net>
6629
6630         * BufferView.[Ch]:
6631         * BufferView_pimpl.[Ch]:
6632         * bufferview_funcs.C:
6633         * text2.C:
6634         * text3.C: rip out "deep update"
6635
6636         * textcursor.[Ch] (last_sel_cursor): remove unused member
6637
6638 2003-08-04  André Pönitz  <poenitz@gmx.net>
6639
6640         * BufferView.[Ch]:
6641         * BufferView_pimpl.[Ch]:
6642         * ParagraphParameters.C:
6643         * bufferview_funcs.C:
6644         * lyx_cb.C:
6645         * lyxfind.C:
6646         * lyxfunc.C:
6647         * text.C:
6648         * text2.C:
6649         * text3.C: replace "complicated" BufferView::update(...) calls with
6650         simpler ones.
6651
6652         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6653
6654 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
6655
6656         * Makefile.am (lyx_SOURCES): add paper.h
6657
6658 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6659
6660         * Makefile.am: move things around so that both lyx-qt and
6661         lyx-xforms can be built (according to --with-frontend). Then lyx
6662         is a symbolic link to lyx-[firstfrontend]
6663
6664 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
6665
6666         * Always use std::endl with lyxerr
6667
6668 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
6669
6670         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6671
6672 2003-08-01  André Pönitz  <poenitz@gmx.net>
6673
6674         * BufferView.[Ch]:
6675         * BufferView_pimpl.[Ch]:
6676         * lyxfunc.C:
6677         * text3.C: merge BufferView::repaint() and BufferView::update()
6678
6679 2003-08-01  José Matos  <jamatos@lyx.org>
6680
6681         * buffer.[Ch]: file_format is no longer a buffer data element.
6682
6683 2003-08-01  André Pönitz  <poenitz@gmx.net>
6684
6685         * BufferView.C:
6686         * lyxtext.h:
6687         * text.C:
6688         * text2.C: make redoParagraph more independent of current cursor
6689
6690         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6691         * text.C:
6692         * text2.C: remove unneeded members
6693
6694 2003-07-30  André Pönitz  <poenitz@gmx.net>
6695
6696         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6697
6698         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6699           create a single function...
6700
6701         * paragraph_funcs.C (moveItem): ... here.
6702
6703         * text.C:
6704           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6705
6706 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
6707
6708         * LColor.[Ch]: Add comment and greyedout logical colors.
6709
6710 2003-07-30  André Pönitz  <poenitz@gmx.net>
6711
6712         * tabular.C: don't use Assert too heavily. This crashes where it
6713           shouldn't
6714
6715 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
6716
6717         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6718         is disabled (bug 1232)
6719
6720 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6721
6722         * factory.C: limited 'arg' scope
6723
6724 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6725
6726         * factory.C: fixed Note submenu issues
6727
6728 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6729
6730         * factory.C: submenu for Note/Comment/Greyedout
6731
6732 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
6733
6734         * lyx_main.C (LyX):
6735         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6736
6737 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
6738
6739         * LaTeXFeatures.C:
6740         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6741         greyedout. Patch provided by Jürgen Spitzmüller.
6742
6743 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6744
6745         * kbmap.C (read): fix error message when reading bind files
6746
6747 2003-07-29  Angus Leeming  <leeming@lyx.org>
6748
6749         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6750         certainly does not do what it purports to do. I am doing it, and
6751         us, a favour by killing it.
6752
6753 2003-07-28  José Matos  <jamatos@lyx.org>
6754
6755         * buffer.C (readBody, do_writeFile):
6756         * paragraph.C(readParagraph): \end_document replaces \the_end.
6757
6758 2003-07-29  André Pönitz  <poenitz@gmx.net>
6759
6760         * BufferView.[Ch]:
6761         * BufferView_pimpl.[Ch]:
6762         * lyxfunc.C:
6763         * text2.C:
6764         * text3.C:
6765         * textcursor.[Ch]: remove toggleToggle & Co
6766
6767 2003-07-28  José Matos  <jamatos@fep.up.pt>
6768
6769         * buffer.C (readParagraph):
6770         * params_func (readParToken, readParagraph):
6771         * paragraph.C (write): \layout -> \begin_layout.
6772
6773 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6774
6775         * lyxlex_pimpl.C (setFile): clean up slightly.
6776
6777         * bufferparams.h: add compressed var
6778
6779         * buffer_funcs.C (readFile): adjust for LyXLex change
6780         (newFile): ditto + simplify
6781
6782         * buffer.C (writeFile): handle writing of compressed files
6783
6784         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6785         Check if the file is compressed and set a bufferparm if so.
6786
6787         * Makefile.am (lyx_LDADD): remove explicit -lz
6788
6789 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6790
6791         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6792         makeDocBookFile): put the real LyX version in the first line of
6793         the file
6794
6795         * version.h:
6796         * version.C.in: remove lyx_docversion
6797
6798         * tabular.C (write_attribute): add a template-based version to
6799         write enums properly
6800
6801 2003-07-28  André Pönitz  <poenitz@gmx.net>
6802
6803         * lyxtext.h:
6804         * text.C:
6805         * text2.C:
6806         * text3.C: use doubles again for x-coordinates. They are needed.
6807
6808 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6809
6810         * messages.C (getLocaleDir): use lyx_localedir()
6811
6812         * lyxlex_pimpl.C (setFile): compress stuff
6813
6814         * buffer.C (writeFile): add some compression stuff
6815         (do_writeFile): new func, dont call expliti close... will this
6816         breake anything?
6817
6818         * Makefile.am (lyx_LDADD): add -lz
6819
6820 2003-07-28  José Matos  <jamatos@fep.up.pt>
6821
6822         * buffer.C: increment file format.
6823         * paragraph_funcs (readParagraph, readParToken):
6824         * paragraph.C (readParagraph): add \end_layout.
6825
6826 2003-07-27  Angus Leeming  <leeming@lyx.org>
6827
6828         * Makefile.am: remove special casing for configure-time setting of
6829         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6830
6831         * lyx_main.C (init): remove all Jean-Marc's magic setting of
6832         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6833
6834 2003-07-26  André Pönitz  <poenitz@gmx.net>
6835
6836         * paragraph_func.[Ch]:
6837         * paragraph.C (realizeFont): inline it whereever it is used
6838
6839         * rowpainter.C:
6840         * text.C:
6841         * text2.C:
6842         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6843
6844
6845 2003-07-26  André Pönitz  <poenitz@gmx.net>
6846
6847         *       lyxtext.h:
6848         * text.C:
6849         * text2.C: get rid of LyXText::need_break_row
6850
6851 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6852
6853         * toc.[Ch]: put namespace toc inside namespace lyx
6854
6855         * MenuBackend.C (expandToc2): adjust for lyx::toc
6856         (expandToc): ditto
6857
6858         * lyxfunc.C (dispatch): adjust for lyx::find
6859
6860         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6861         lyx::find instead. Reorganize a bit.
6862         (LyXReplace): rename to replace
6863         (LyXFind): rename to find
6864
6865         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6866         (dispatch): ditto
6867
6868 2003-07-26  André Pönitz  <poenitz@gmx.net>
6869
6870         * text.C (setHeightOfRow): restrict scope of temporary variable
6871
6872         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
6873           code (never has been used?)
6874
6875 2003-07-27  Asger Alstrup  <alstrup@local>
6876
6877         * text.C (fill): Optimise algorithm to exploit that we can reuse
6878         the LyXFont for many characters.
6879         (setHeightOfRow): Same thing.
6880         (rowBreakPoint): Same thing.
6881
6882 2003-07-26  Asger Alstrup  <alstrup@local>
6883
6884         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6885
6886         * text.C (singleWidth): Spurious font copying in hot-spot
6887         singleWidth avoided. Reorder tests for arabic for efficiency.
6888
6889         * text.C (fill): handle empty paragraphs better.
6890
6891 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6892
6893         * ispell.C:
6894         * encoding.h: add includes
6895
6896         * lyxrc.C: remove reading of bind files
6897
6898         * lyx_main.C (init): setup bindings and menus only if we have a
6899         gui.
6900
6901         * kbmap.C (read): new method. Do the actual reading of bind
6902         files.
6903
6904         * converter.C (dvipdfm_options):
6905         * bufferparams.C:
6906         * lyxrc.C (read):
6907         (output): adapt PAPER_* enums.
6908
6909         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6910
6911         * bufferparams.h: remove paper-related enums from there
6912
6913         * paper.h: New file. A trivial header file to hold paper-related
6914         enums. It should later expand to contain many paper-related
6915         horrors access.
6916
6917         * lyxrc.C: declare extern displayTranslator
6918
6919 2003-07-27  José Matos  <jamatos@fep.up.pt>
6920
6921         * tabular.[Ch] (linuxdoc): add support for tables and figures
6922         (linuxdoc).
6923
6924 2003-07-27  José Matos  <jamatos@fep.up.pt>
6925
6926         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6927         consistency in both functions.
6928         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6929
6930 2003-07-26  Asger Alstrup  <alstrup@local>
6931
6932         * rowpainter.C (paintRows): Change algorithm to work directly on
6933         the insets rather than asking every character in the document
6934         whether its an inset.
6935
6936 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
6937
6938         * buffer.C (openFileWrite): factorize some code
6939
6940 2003-07-26  Angus Leeming  <leeming@lyx.org>
6941
6942         * lyx_cb.C:
6943         * lyx_main.[Ch]: replace occurances of system_tempdir with
6944         os::getTmpDir().
6945
6946 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6947
6948         * rename Inset to InsetOld
6949
6950 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
6951
6952         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6953         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6954         which I think is a bit clearer. EDIT is gone, since it was
6955         premature optimisation, and broken for mathed anyway.
6956         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6957         with cursor positioning in insets as well (math insets still do not
6958         work, but that's a different story anyway.) It mysteriously
6959         crashes sometimes with undo in the first paragraph, but I'm fairly
6960         confident that this is a compiler bug.
6961
6962 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6963
6964         * paragraph.C (Paragraph): adjust for new clone return type
6965         (operator==): ditto
6966         (copyIntoMinibuffer): ditto
6967
6968 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
6969
6970         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6971         by not having a special case, and always doing a full rebreak of
6972         the document after undo.
6973
6974 2003-07-23  Angus Leeming  <leeming@lyx.org>
6975
6976         * factory.C (createInset): InsetExternal::setParams now takes a
6977         Buffer const * arg.
6978
6979 2003-07-23  Angus Leeming  <leeming@lyx.org>
6980
6981         * factory.C (createInset): changed interface to the external and
6982         graphics mailers' string2params functions.
6983
6984 2003-07-23  Angus Leeming  <leeming@lyx.org>
6985
6986         * factory.C (createInset): pass a
6987         Buffer const * parameter to InsetExternalMailer's string2params.
6988
6989 2003-07-22  John Levon  <levon@movementarian.org>
6990
6991         * Thesaurus.h: include the right aiksaurus header
6992
6993 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6994
6995         * MenuBackend.C (expand): check menu shortcuts unconditionally
6996
6997 2003-07-21  Angus Leeming  <leeming@lyx.org>
6998
6999         * factory.C (createInset): pass a
7000         buffer_path parameter to InsetGraphicsMailer's string2params.
7001
7002 2003-07-21  Angus Leeming  <leeming@lyx.org>
7003
7004         * BufferView_pimpl.C (buffer):
7005         * buffer.C (d-tor):
7006         * lyx_main.C (LyX):
7007         * lyxfunc.C (dispatch):
7008         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
7009         rather than the grfx shortcut.
7010
7011 2003-07-21  André Pönitz  <poenitz@gmx.net>
7012
7013         * rowpainter.C: remove unused variables
7014
7015         * tabular_funcs.C:
7016         * tabular_funcs.h: move to tabular.C
7017         * Makefile.am: adjust
7018
7019         * tabular.[Ch]: basic optical cleaning
7020
7021         * author.h: pass references, not values
7022
7023 2003-07-18  André Pönitz  <poenitz@gmx.net>
7024
7025         * lyxtext.h:
7026         * metricsinfo.C:
7027         * metricsinfo.h:
7028         * rowpainter.C:
7029         * text.C:
7030         * text2.C:
7031         * text3.C: two-phase drawing for InsetText and InsetTabular
7032         some float -> int changes.
7033
7034 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
7035
7036         * lyx_main.C: fix the fix
7037
7038 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
7039
7040         * lyx_main.C: fix a crash in batch mode if no files specified
7041         * converter.C: ws
7042
7043 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
7044
7045         * format.[Ch] (papersize): moved to BufferParams
7046         * converter.[Ch] (dvips_options): moved to BufferParams
7047         (dvipdfm_options): moved to anon namespace
7048         * bufferparams.[Ch]: added above functions.
7049
7050 2003-07-17  André Pönitz  <poenitz@gmx.net>
7051
7052         * lyxtext.h:
7053         * rowpainter.C:
7054         * text2.C: don't call inset->update() anymore
7055
7056         * metricsinfo.[Ch]: add convenience constructor
7057
7058 2003-07-16  André Pönitz  <poenitz@gmx.net>
7059
7060         * lyxcursor.[Ch]:
7061         * lyxfunc.[Ch]:
7062         * text.C:
7063         * text2.C: replace the LyXCursor::irow_ member with
7064          on-demand computation of the value
7065
7066 2003-07-16  John Levon  <levon@movementarian.org>
7067
7068         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
7069
7070 2003-07-15  André Pönitz  <poenitz@gmx.net>
7071
7072         * text.C:
7073         * text2.C: remove no more needed refresh_row
7074
7075 2003-07-15  André Pönitz  <poenitz@gmx.net>
7076
7077         * lyxtext.h:
7078         * rowpainter.C:
7079         * text2.C:
7080         * text3.C: refresh_status tristate -> need_update bool
7081
7082 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
7083
7084         * lyxtext.h (init): remove reinit argument (act as if always true)
7085         * text2.C: adjust to that
7086
7087 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7088
7089         * bufferview_funcs.[Ch]: introduce function replaceSelection()
7090         * text3.C: use it to delete selections in some cases
7091         (bugs 441, 673, 702, 954).
7092
7093 2003-07-14  André Pönitz  <poenitz@gmx.net>
7094
7095         * rowpainter.[Ch]: reduce interface
7096
7097 2003-07-14  André Pönitz  <poenitz@gmx.net>
7098
7099         * BufferView_pimpl.C:
7100         * text2.C: adjust after removing unused BufferView * argument
7101
7102 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
7103
7104         * text2.C (init): fix a crash fired on resize
7105
7106 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
7107
7108         * buffer.[Ch]: added new closing signal
7109         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
7110         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
7111         BufferView::Pimpl via the closing the signal
7112
7113 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
7114
7115         * buffer.[Ch]: take out all bv-related from buffer
7116         * BufferView.C:
7117         * BufferView_pimpl.[Ch]: connect to new signals
7118         * CutAndPaste.C: removed useless asserts
7119         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
7120         * lyxvc.[Ch]:
7121         * vc-backend.[Ch]:
7122         * lyxfunc.C: moved view-related funciontality from vc here
7123         * paragraph.C: removed outdated comments
7124         * text.C: ws
7125
7126 2003-07-10  André Pönitz  <poenitz@gmx.net>
7127
7128         * BufferView_pimpl.C:
7129         * tabular.h:
7130         * tabular_funcs.C:
7131         * text.C:
7132         * text2.C: remove InsetText::InnerCache, clean up consequences
7133
7134 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
7135
7136         * ispell.C: fix two typos in error messages
7137
7138 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
7139
7140         * Extend Note inset to other forms of annotation like Comment
7141         and Greyedout. Right button click gives dialog.
7142
7143         Files modified or added (+):
7144
7145         * insetnote.[Ch]
7146         * FormNote.[Ch]      +
7147         * ControlNote.[Ch]   +
7148         * form_note.fd       +
7149         * Makefile.am in frontends/xforms, frontends/xforms/forms,
7150         frontends/controllers
7151         * xforms/Dialogs.C
7152         * factory.C
7153
7154 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7155
7156         * aspell.C: add missing namespace lyx::support
7157
7158 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
7159
7160         * BufferView.[Ch] (newFile): Add
7161         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
7162         * LaTeX.[Ch] (message): added this signal and use it
7163         * buffer.[Ch] (busy, message): added these signals and use them
7164         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
7165         * converter.C:
7166         * exporter.C:
7167         * format.C:
7168         * importer.C: use buffer signals instead of direct bv calling
7169         * lyx_cb.[Ch] (ShowMessage): removed
7170         * lyx_main.C:
7171         * lyxfunc.C:
7172         * paragraph_funcs.C:
7173         * text2.C: use buffer signals
7174
7175 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7176
7177         * introduce namespace lyx::graphics
7178
7179 2003-07-02  André Pönitz  <poenitz@gmx.net>
7180
7181         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
7182
7183 2003-07-01  André Pönitz  <poenitz@gmx.net>
7184
7185         * text.C:
7186         * text2.C:
7187         * text3.C:
7188         * text_funcs.[Ch]:
7189         * textcursor.h:
7190         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
7191           text*.C to text_func.C
7192
7193 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7194
7195         * introduce namespace lyx::support
7196
7197 2003-06-30  André Pönitz  <poenitz@gmx.net>
7198
7199         * Chktex.C:
7200         * funcrequest.C:
7201         * lyxtext.h:
7202         * text.C: re-enable --with-included-string
7203
7204 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7205
7206         * textcursor.C: add <config.h>
7207
7208         * text.C (getWord): remove const from word_location arg
7209
7210         * lyxvc.C (getLogFile): fix const type order
7211
7212         * lyxtext.h: remove const from word_location arg, add arg name
7213
7214         * lyxlayout.h: currect type on labeltype.
7215
7216         * importer.C: correct \file
7217
7218         * converter.C (intToFormat): use std:: on ret val, ws changes
7219
7220         * bufferlist.h: correct \file
7221
7222         * buffer.C (makeLinuxDocFile): fix const type order
7223         (makeDocBookFile): ditto
7224         (fillWithBibKeys): use std:: on stdlib args.
7225
7226         * CutAndPaste.C: fix authors.
7227         (availableSelections): use std:: on return vector
7228
7229 2003-06-27  André Pönitz  <poenitz@gmx.net>
7230
7231         * BufferView_pimpl.C:
7232         * bufferview_funcs.C:
7233         * lyxcursor.C:
7234         * lyxcursor.h:
7235         * lyxfunc.C:
7236         * lyxtext.h:
7237         * rowpainter.C:
7238         * text.C:
7239         * text2.C:
7240         * text3.C: remove LyXCursor::row_ member
7241
7242         * lyxtext.h:
7243         * text.C: rename fullRebreak() to partialRebreak() and implement
7244           a fullRebreak() that really bereks fully
7245
7246         * textcursor.h: new struct for cursor-related data
7247
7248 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
7249
7250         * lyx_main.C (LyX): get full path of document loaded on the
7251         command line
7252
7253 2003-06-26  André Pönitz  <poenitz@gmx.net>
7254
7255         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7256           remove unused/broken operator>,<,>=.
7257
7258         *       text.C: remove only use of broken operator<= in an Assert().
7259
7260 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7261
7262         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7263         moved errorlist_.clear to showErrorList
7264
7265 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7266
7267         * converter.C (scanLog, runLaTeX):
7268         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7269         move the bv->showErrorList call to the callers
7270         * lyxfunc.C: i.e. here...
7271         * text2.C: and here
7272         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7273         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7274         namespace, the second to...
7275         * buffer_funcs (BufferFormat, parseErrors): added
7276         * errorlist.C (ErrorList(TeXErrors const &)): removed
7277
7278 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7279
7280         * ToolbarBackend.C (getIcon): complain when icon cannot be found
7281
7282 2003-06-24  "Garst R. Reese" <reese@isn.net>
7283
7284         * debug.C: fix typo
7285
7286 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7287
7288         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7289
7290         * version.C.in: change docversion to 1.4
7291
7292 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
7293
7294         * buffer.C: fix a bug just introduced
7295
7296 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
7297
7298         * buffer.[Ch]: added the parseError signal and use it, removed
7299         sgmlError
7300         * BufferView.[Ch] (addError): moved to ...
7301         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7302         to the Buffer::parseError signal to catch (guess what) parse errors
7303         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7304
7305 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
7306
7307         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7308         ability to create a buffer and to return an existing one from
7309         the list. Moved these functions to...
7310         * buffer_funcs.[Ch]: added
7311         * BufferView.[Ch] (loadLyXFile): added
7312         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7313         job removed from bufferlist::loadLyXFile.
7314         * buffer.C (setReadOnly): make it work without view
7315         (i.e added an if (users))
7316
7317 2003-06-19  Angus Leeming  <leeming@lyx.org>
7318
7319         * lfuns.h:
7320         * LyXAction.C (init):
7321         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7322         with LFUN_DIALOG_SHOW <name> <data>.
7323
7324 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7325
7326         * CutAndPaste.C (availableSelections): small compilation fix for
7327         ancient (gcc 2.9x) compilers
7328
7329 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
7330
7331         * text3.C (cursorNext): add tmp var
7332
7333         * text2.C (updateCounters): for function calling out of for clause
7334         (replaceSelectionWithString): ditto
7335         (insertStringAsParagraphs): ditto
7336         (getColumnNearX): add tmp var
7337         (setCursorFromCoordinates): add tmp var
7338         (cursorDownParagraph): add tmp var
7339         (deleteEmptyParagraphMechanism): add tmp var
7340
7341         * text.C (insertChar): add tmp var
7342
7343         * rowpainter.C (paintDepthBar): add tmp var
7344
7345         * CutAndPaste.C (availableSelections): potentially check all
7346         paragraphs in a cut to fill the shown strings.
7347
7348 2003-06-18  André Pönitz  <poenitz@gmx.net>
7349
7350         * kbmap.[Ch]: use vector<> instead of list<>
7351
7352 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
7353
7354         * text3.C (dispatch): handle arg to LFUN_PASTE, call
7355         pasteSelection with index
7356
7357         * text2.C (pasteSelection): modify, call pasteSelection with index
7358
7359         * paragraph.C (asString): reimplement version with no interval to
7360         call the one with interval.
7361
7362         * lyxtext.h: add index arg to pasteSelection
7363
7364         * MenuBackend.C (MenuItem): handle PasteRecent
7365         (Menu::read::Menutags): add md_pasterecent
7366         (read): handle it
7367         (expandPasteRecent): new function
7368         (expand): use it
7369
7370         * MenuBackend.h: add PasteRecent to MenuItem::Kind
7371
7372         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7373         the limited stack
7374         (availableSelections): new function
7375
7376 2003-06-17  Angus Leeming  <leeming@lyx.org>
7377
7378         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7379
7380 2003-06-17  Angus Leeming  <leeming@lyx.org>
7381
7382         * lfuns.h:
7383         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7384
7385         * lyxfunc.C (dispatch): invoke it.
7386
7387 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7388
7389         * iterators.C (operator++, ParPosition): reintroduce some
7390         const_cast for the benefit of older compilers.
7391
7392 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7393
7394         * text3.C (dispatch): do not modify clipboard when doing
7395         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7396         LFUN_DELETE_SKIP on a selection selection
7397
7398 2003-06-16  André Pönitz  <poenitz@gmx.net>
7399
7400         * BufferView.C:
7401         * buffer.C:
7402         * buffer.h:
7403         * paragraph.C:
7404         * tabular.[Ch]: IU of clone() and getLabelList();
7405
7406 2003-06-13  André Pönitz  <poenitz@gmx.net>
7407
7408         * tabular.h: compactification
7409
7410 2003-06-12  André Pönitz  <poenitz@gmx.net>
7411
7412         * tabular.C:
7413         * tabular.h:
7414         * tabular_funcs.h: some renaming plus whitespace
7415
7416 2003-06-12  André Pönitz  <poenitz@gmx.net>
7417
7418         * BufferView.C:
7419         * BufferView_pimpl.C:
7420         * CutAndPaste.C:
7421         * buffer.C:
7422         * iterators.[Ch]:
7423         * lyxfunc.C:
7424         * text.C:
7425         * toc.C: Return a Paragraph & for ParIterator::operator*()
7426
7427 2003-06-11  John Levon  <levon@movementarian.org>
7428
7429         * lyx_main.C:
7430         * ToolbarBackend.h:
7431         * ToolbarBackend.C: add "Toolbars" section and
7432         put the flags there
7433
7434 2003-06-10  Angus Leeming  <leeming@lyx.org>
7435
7436         * lfuns.h:
7437         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7438
7439         * lyxfunc.C (dispatch): invoke it.
7440
7441 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7442
7443         * main.C: protect <ios> with HAVE_IOS
7444         (main): protect sync_with_stdio with HAVE_IOS
7445
7446 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
7447
7448         * text2.C (cutSelection): adjust
7449         (pasteSelection): adjust
7450
7451         * messages.C: handle get of empty string
7452
7453         * main.C (main): use sync_with_stdio(false)
7454
7455         * lyxfunc.C (dispatch): adjust
7456
7457         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7458         (WriteAs): remove unneeded BufferView arg.
7459
7460         * bufferparams.h: use correct types on papersize, papersize2 and
7461         paperpackage.
7462
7463         * bufferparams.C (readToken): adjust for type
7464         (writeLaTeX): add missing cases to switch.
7465
7466         * bufferlist.C (quitWriteBuffer): adjust
7467         (close): adjust
7468
7469         * buffer.C (asciiParagraph): remove some commented code.
7470
7471         * CutAndPaste.C: remove current_view extern variable.
7472         (cutSelection): add BufferParams arg.
7473         (eraseSelection): add BufferParams arg.
7474         (pasteSelection): add Buffer const & arg
7475
7476 2003-06-07  John Levon  <levon@movementarian.org>
7477
7478         * buffer.C:
7479         * paragraph_funcs.C:
7480         * paragraph_pimpl.C:
7481         * text.C:
7482         * text2.C:
7483         * paragraph.h:
7484         * paragraph.C: allow InsetERT to freely space lines,
7485         and some consolidation of code
7486
7487 2003-06-06  José Matos  <jamatos@fep.up.pt>
7488
7489         * buffer.C (makeDocBookFile): fix bug #821
7490
7491 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
7492
7493         * BufferView_pimpl.C (dispatch): use Dialogs::visible
7494
7495 2003-06-04  Angus Leeming  <leeming@lyx.org>
7496
7497         * buffer.C: bump format to 224.
7498
7499 2003-06-05  André Pönitz  <poenitz@gmx.net>
7500
7501         * text2.C (redoParagraphs): remove two const_cast<>
7502
7503 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
7504
7505         * ParagraphList.h: remove last remnants of NO_STD_LIST
7506
7507 2003-06-03  Angus Leeming  <leeming@lyx.org>
7508
7509         * factory.C (createInset): small change to the way InsetExternal's params
7510         are set.
7511
7512 2003-06-04  André Pönitz  <poenitz@gmx.net>
7513
7514         * buffer.h: use Undo directly instead of shared_ptr<Undo>
7515
7516         * paragraph_pimpl.h:
7517         * paragraph.[Ch]: some Inset -> UpdatableInset changes
7518
7519         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7520
7521         * undo_funcs.C: make some simple cases of undo work again
7522
7523 2003-06-03  John Levon  <levon@movementarian.org>
7524
7525         * ispell.C: HPUX doesn't have sys/select.h
7526         (from Albert Chin)
7527
7528 2003-06-03  John Levon  <levon@movementarian.org>
7529
7530         * CutAndPaste.C: update tabular and include inset
7531         buffer references
7532
7533         * buffer.h:
7534         * paragraph.h:
7535         * paragraph.C: remove owningBuffer(), don't pass Buffer
7536         to clone()
7537
7538         * factory.C: insetGraphicsParams changed
7539
7540 2003-06-02  John Levon  <levon@movementarian.org>
7541
7542         * LyXAction.C:
7543         * factory.C:
7544         * lfuns.h:
7545         * lyxfunc.C:
7546         * text3.C: remove insetparent
7547
7548 2003-06-02  John Levon  <levon@movementarian.org>
7549
7550         * buffer.h:
7551         * buffer.C: fix inset_iterator.end(), move out of line
7552         (bug 1149)
7553
7554 2003-06-01  John Levon  <levon@movementarian.org>
7555
7556         * text3.C: use a proper cut/paste when doing inset
7557         insert (from Jürgen Spitzmüller)
7558
7559 2003-06-01  John Levon  <levon@movementarian.org>
7560
7561         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7562
7563 2003-05-30  André Pönitz  <poenitz@gmx.net>
7564
7565         * rowpainter.C: unify second drawing phase
7566
7567 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7568
7569         * trans_mgr.C: remove one case of current_view
7570
7571         * text2.C (cursorBottom): delete NO_STD_LIST stuff
7572
7573         * paragraph_funcs.h: remove paragraph.h include
7574
7575         * paragraph.h: delete NO_STD_LIST stuff
7576
7577         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7578
7579         * buffer.h: remove paragraph.h include
7580
7581         * ParagraphList.C: delete file
7582
7583         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7584
7585         * toc.C (getTocList): adjust
7586
7587         * paragraph_pimpl.C (validate): adjust
7588
7589         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7590
7591         * paragraph.C (Paragraph): adjust
7592         (getPositionOfInset): use const_iterator, adjust
7593         (bibitem): use const_iterator, adjust
7594         (setInsetOwner): adjust
7595
7596         * iterators.C (operator++): adjust
7597
7598         * InsetList.[Ch]: Replace selfmade iterator with standard
7599         vector::iterator also introduce const_iterator. Remove getPos,
7600         getInset and setInset from InsetTable. Adjust accordingly.
7601
7602         * BufferView.C (lockInset): adjust
7603         (ChangeInsets): adjust
7604
7605         * tabular.[Ch]: delete commented same_id functions
7606
7607 2003-05-28  John Levon  <levon@movementarian.org>
7608
7609         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7610
7611 2003-05-28  André Pönitz  <poenitz@gmx.net>
7612
7613         * metricsinfo.[Ch]: remove 'fullredraw' member
7614
7615 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
7616
7617         * lyxtextclass.C (operator): remove caching.
7618
7619 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7620
7621         * text3.C: adjust
7622
7623         * text2.C (cursorBottom): adjust
7624         (setCounter): use ParagraphList::find, adjust
7625
7626         * text.C (workWidth): use ParagraphList::find, adjust
7627
7628         * lyxcursor.C (LyXCursor): adjust
7629
7630         * buffer.C (inset_iterator): adjust
7631
7632         * ParagraphList.h: make iterator(value_type) private, make
7633         ParagraphList a friend of iterator.
7634
7635         * ParagraphList.C (find): new function
7636
7637         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7638
7639 2003-05-27  André Pönitz  <poenitz@gmx.net>
7640
7641         * dimension.[Ch]: a -> asc, d -> des, w -> wid
7642
7643 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7644
7645         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7646
7647 2003-05-26  John Levon  <levon@movementarian.org>
7648
7649         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7650
7651 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7652
7653         * remove same_id from function signatures, adjust.
7654
7655 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7656
7657         * undo_funcs.C (createUndo): use the id functions directly, adjust.
7658
7659         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7660
7661         * paragraph.C (Paragraph): get rid of same_ids parameter
7662
7663         * ParagraphList.C (insert): adjust
7664         (push_back): adjust
7665
7666 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7667
7668         * paragraph_funcs.C (breakParagraph): adjust
7669         (breakParagraphConservative): adjust
7670
7671         * buffer.C (readParagraph): adjust
7672
7673         * ParagraphList.C (insert): take a reference instead of a pointer
7674         (insert): adjust
7675
7676         * paragraph.[Ch] (id): new function
7677
7678         * bufferlist.C (newFile): adjust
7679
7680         * ParagraphList.C (ParagraphList): adjust
7681         (assign): adjust
7682         (push_back): take a reference instead of a pointer.
7683
7684         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7685
7686         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7687         instead.
7688
7689         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7690         set else use old code.
7691
7692         * ParagraphList.C: remove all NO_NEXT code and only compile this
7693         code of NO_STD_LIST is set.
7694
7695 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7696
7697         * BufferView_pimpl.C:
7698         * TextCache.C:
7699         * TextCache.h:
7700         * bufferlist.C:
7701         * errorlist.h:
7702         * format.C:
7703         * format.h:
7704         * graph.C:
7705         * lyxfunc.C:
7706         * lyxrc.C:
7707         * graphics/GraphicsConverter.C:
7708         * graphics/PreviewLoader.C: header adjustment
7709
7710 2003-05-23  Angus Leeming  <leeming@lyx.org>
7711
7712         * LaTeXFeatures.[Ch] (useBabel): new method.
7713         * bufferparams.C (writeLaTeX): use it.
7714
7715 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7716
7717         * ParagraphList.h (set): remove unused function.
7718
7719 2003-05-23  André Pönitz  <poenitz@gmx.net>
7720
7721         * BufferView.C:
7722         * BufferView_pimpl.C:
7723         * buffer.C:
7724         * buffer.h:
7725         * lyxfunc.C:
7726         * undo_funcs.C: setUndo reworked
7727
7728         * iterators.[Ch]: add access to topmost ParagraphList
7729
7730         * lyxtext.[Ch] (workWidth): add a const
7731
7732 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7733
7734         * texrow.[Ch] (increasePos): remove function
7735         * exporter.C (export): removed unused var and outdated comment
7736
7737 2003-05-23  Angus Leeming  <leeming@lyx.org>
7738
7739         * latexrunparams.h: rename fragile as moving_arg.
7740         * paragraph.C (simpleTeXOnePar): ditto.
7741         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7742
7743 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7744
7745         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7746         (createUndo): ditto
7747         (textUndoOrRedo): comment out a currently unused var.
7748
7749         * paragraph.h (NO_NEXT): enable NO_NEXT
7750
7751         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7752
7753         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7754
7755         * exporter.C (Export): adjust for removeAutoInsets removal.
7756
7757         * buffer.C (runChktex): adjust for removeAutoInsets removal.
7758
7759         * LyXAction.C (init): remove LFUN_REMOVEERRORS
7760
7761         * BufferView.[Ch] (removeAutoInsets): delete function
7762
7763 2003-05-22  Angus Leeming  <leeming@lyx.org>
7764
7765         * latexrunparams.h: add a free_spacing variable.
7766
7767         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7768         to pass moving_arg, as the data is stored in runparams.fragile.
7769
7770         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7771         to Inset::latexOptional or to simpleTeXOnePar.
7772
7773         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7774         free_spacing arg to Inset::latexOptional.
7775
7776         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7777         free_spacing arg.
7778
7779 2003-05-22  Angus Leeming  <leeming@lyx.org>
7780
7781         * latexrunparams.h: add fragile and use_babel variables.
7782
7783         * bufferparams.[Ch] (writeLaTeX): return use_babel.
7784         * buffer.C (makeLaTeXFile): store this returned value in
7785         runparams.use_babel, thus passing it to the inset::latex methods.
7786
7787         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7788         simpleTeXSpecialChars as it is now stored in runparams.fragile.
7789
7790         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7791         longer has a fragile arg, as it is stored in runparams.fragile.
7792
7793         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7794         moving_arg parameter as the data is stored in runparams.fragile.
7795
7796         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7797         a fragile parameter as the data is stored in runparams.fragile.
7798
7799 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7800
7801         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7802
7803 2003-05-22  Angus Leeming  <leeming@lyx.org>
7804
7805         * latexrunparams.h: add a 'bool nice' which defaults to false.
7806
7807         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7808         now encapsulated within runparams.
7809
7810         * bufferlist.C (updateIncludedTeXfiles):
7811         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7812
7813 2003-05-22  Angus Leeming  <leeming@lyx.org>
7814
7815         * latexrunparams.h: new file containing struct LatexRunParams.
7816         * Makefile.am: add new file.
7817
7818         * LaTeX.[Ch] (c-tor, run):
7819         * buffer.[Ch] (makeLaTeXFile):
7820         * bufferlist.[Ch] (updateIncludedTeXfiles):
7821         * converter.C (convert, scanLog):
7822         * converter.[Ch] (runLaTeX):
7823         * exporter.C (Export):
7824         * paragraph.[Ch] (simpleTeXOnePar):
7825         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7826         * paragraph_funcs.[Ch] (latexParagraphs):
7827         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7828         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7829         pass around a LatexRunParams parameter.
7830
7831 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7832
7833         * paragraph.[Ch]: remove unused constructor
7834
7835         * ParagraphList.C (erase): new function, taking two iterators
7836
7837 2003-05-22  André Pönitz  <poenitz@gmx.net>
7838
7839         * undo_funcs.C: remove duplicated code
7840
7841         * iterator.[Ch]: operator=
7842
7843 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7844
7845         * tabular.C (SetMultiColumn): ws changes
7846
7847         * rowpainter.C (paintFirst): get rid of a ->previous
7848
7849         * lyx_cb.C (getPossibleLabel): parlist simplification
7850
7851         * BufferView.C (ChangeInsets): simplify slightly.
7852
7853 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7854
7855         * LyXAction.C: new lfun space-insert, kill protected-space-insert
7856         * lfuns.h: new LFUN_SPACE
7857         * lyxfunc.C: protected space has a new lfun
7858         * paragraph_funcs.C: read new space insets
7859         * text3.C:
7860         * factory.C: handle new space insets
7861
7862 2003-05-22  André Pönitz  <poenitz@gmx.net>
7863
7864         * BufferView.C:
7865         * BufferView_pimpl.C:
7866         * buffer.[Ch]:
7867         * lyxfunc.C:
7868         * undo_funcs.C: return a ParIterator from getParFromID.
7869
7870         * iterators.[Ch]: add two const's
7871
7872 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7873
7874         * toc.C (getTocList): adjust
7875
7876         * iterators.[Ch]: rework for parlist
7877
7878         * buffer.C (par_iterator_begin): adjust
7879         (par_iterator_end): adjust
7880
7881         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7882
7883         * BufferView.C (removeAutoInsets): adjust
7884         (ChangeInsets): adjust
7885
7886 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
7887
7888         * text.C (top_y): fix bug 1110
7889
7890 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
7891
7892         * errorlist.[Ch]: added
7893         * buffer.C:
7894         * BufferView.[Ch]:
7895         * BufferView_pimpl.C:
7896         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7897         instead
7898
7899 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7900
7901         * Makefile.am: ensure that lyx is relinked upon changes to the
7902         various "convenience" libs.
7903
7904 2003-05-20  Angus Leeming  <leeming@lyx.org>
7905
7906         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7907         files are compiled in alphabetical order again.
7908
7909         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7910
7911 2003-05-19  Angus Leeming  <leeming@lyx.org>
7912
7913         * gettext.[Ch]: remove "char const * _(char const *)".
7914
7915 2003-05-19  André Pönitz  <poenitz@gmx.net>
7916
7917         * dimension.[Ch]: promote from mathed/dimension.[Ch]
7918
7919         * Makefile.am:
7920         * BufferView.C:
7921         * DepTable.h:
7922         * LaTeXFeatures.C:
7923         * buffer.C:
7924         * lyxfont.C:
7925         * lyxlex.h:
7926         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7927
7928 2003-05-19  André Pönitz  <poenitz@gmx.net>
7929
7930         * buffer.C:
7931         * lyxlayout.[Ch]:
7932         * lyxtextclass.[Ch]:
7933         * paragraph.C:
7934         * paragraph_funcs.[Ch]:
7935         * text2.C:
7936         * text3.C: more insetenv work
7937
7938 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
7939
7940         * ParagraphParameters.C (params2string): small bug fixed
7941
7942 2003-05-16  André Pönitz  <poenitz@gmx.net>
7943
7944         * debug.C:
7945         * bufferview_funcs.C: patch from Kornel Benko to prevent
7946           crash when _(...) is called twice in a statement
7947
7948 2003-05-16  André Pönitz  <poenitz@gmx.net>
7949
7950         * BufferView.C:
7951         * lyxfunc.C:
7952         * text.C:
7953         * text2.C:
7954         * text3.C:
7955         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7956
7957 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
7958
7959         * lyx_main.C (init): remove spurious static_cast
7960
7961 2003-05-14  André Pönitz  <poenitz@gmx.net>
7962
7963         * BufferView.C: fix format string
7964
7965 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
7966
7967         * BufferView.[Ch] (insertErrors): removed
7968         * BufferView.[Ch] (showErrorList): added
7969         * buffer.C (runChkTeX):
7970         * converter.C (scanLog): call showErrorList instead of inserterrors
7971
7972 2003-05-13  André Pönitz  <poenitz@gmx.net>
7973
7974         * BufferView_pimpl.C:
7975         * buffer.C:
7976         * bufferview_func.C:
7977         * MenuBackend.C:
7978         * lyxfunc.C:
7979         * lyxrc.C:
7980         * tex-accent.C:
7981         * text3.C:
7982         * toc.C:
7983         * tabular_funcs.h: tostr() from its own header
7984
7985         * ParagraphParameters.C:
7986         * ToolbarBackend.C:
7987         * bufferparams.C:
7988         * format.C:
7989         * lyxlex_pimpl.C:
7990         * text3.C: STRCONV()
7991
7992 2003-05-12  André Pönitz  <poenitz@gmx.net>
7993
7994         * BufferView.C:
7995         * BufferView_pimpl.C:
7996         * CutAndPaste.C:
7997         * LaTeX.C:
7998         * LaTeXFeatures.C:
7999         * ParagraphParameters.C:
8000         * buffer.C:
8001         * bufferlist.C:
8002         * bufferparams.C:
8003         * bufferview_funcs.C:
8004         * converter.C:
8005         * counters.C:
8006         * debug.C:
8007         * exporter.C:
8008         * format.C:
8009         * importer.C:
8010         * lyx_cb.C:
8011         * lyx_main.C:
8012         * lyxfont.C:
8013         * lyxfunc.C:
8014         * lyxvc.C:
8015         * paragraph.C:
8016         * paragraph_funcs.C:
8017         * tabular.C:
8018         * tabular_funcs.C:
8019         * text2.C:
8020         * text3.C:  boost::format -> bformat  all over the place
8021
8022
8023 2003-05-09  André Pönitz  <poenitz@gmx.net>
8024
8025         * LColor.[Ch]: Pimpl the #include <map> away
8026
8027 2003-05-09  John Levon  <levon@movementarian.org>
8028
8029         * bufferlist.C: never remove emergency saves
8030
8031 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8032
8033         * Makefile.am: better lib building
8034
8035 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
8036
8037         * texrow.[Ch]: remove dependency on Paragraph and just store a id
8038         instead.
8039         * paragraph_pimpl.C (simpleTeXBlanks): adjust
8040         (simpleTeXSpecialChars): adjust
8041         (simpleTeXSpecialChars): adjust
8042         * paragraph.C (simpleTeXOnePar): adjust
8043         * buffer.C (makeLaTeXFile): adjust
8044
8045         * Makefile.am (BOOST_LIBS): allow boost as system lib.
8046
8047         * text2.C (changeDepth): parlist cleanup
8048         (getColumnNearX): ditto
8049
8050         * rowpainter.C (getLabelFont): parlist cleanup
8051
8052         * bufferlist.C (newFile): parlist cleanup
8053
8054         * CutAndPaste.C (eraseSelection): parlist cleanup
8055
8056         * BufferView_pimpl.C (trackChanges): parlist cleanup
8057         (dispatch): ditto
8058
8059         * BufferView.C (lockInset): parlist cleanup.
8060         (ChangeInsets): ditto
8061
8062 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8063
8064         * CutAndPaste.h: Update file header.
8065
8066         * CutAndPaste.C: Update file header.
8067         Store the parts cut out of the Document in a limited_stack.
8068         (copySelection): adjust
8069         (pasteSelection): new function, takes the index in the limited stack.
8070         (nrOfParagraphs): adjust
8071         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
8072         simplify error inset insertion.
8073         (checkPastePossible): adjust
8074
8075 2003-05-06  John Levon  <levon@movementarian.org>
8076
8077         * text2.C: don't cast wrap inset to float
8078
8079 2003-05-05  André Pönitz  <poenitz@gmx.net>
8080
8081         * iterator.C:
8082         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
8083
8084         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
8085           few naked Paragraph *.
8086
8087 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
8088
8089         * bufferparams.C: Output warning if a document with missing
8090         TeX document class is loaded
8091         * exporter.C: Disable TeX exports if the document class is missing
8092         * lyxtextclass.C:
8093         * lyxtextclass.h:
8094         * lyxtextclasslist.C: Handle new textclass.lst format; new method
8095         isTeXClassAvailable()
8096
8097 2003-05-03  John Levon  <levon@movementarian.org>
8098
8099         * BufferView.h:
8100         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
8101         explicit cursor show/hide
8102
8103         * BufferView_pimpl.h:
8104         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
8105         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
8106
8107         * lyxfunc.C: hide cursor before dispatching.
8108
8109         * lyx_cb.C:
8110         * lyxfind.C:
8111         * text.C:
8112         * text3.C: remove explicit cursor hides
8113
8114 2003-05-02  André Pönitz  <poenitz@gmx.net>
8115
8116         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
8117
8118         * undo_funcs.C:
8119         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
8120           linked lists
8121
8122         * text2.C: tiny whitespace
8123
8124 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8125
8126         * undo_funcs.C: almost only ws changes.
8127
8128         * ParagraphList.C (splice): just return if pl is empty.
8129
8130 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8131
8132         * ParagraphList.C (splice): new function.
8133
8134         * CutAndPaste.C (pasteSelection): use it
8135
8136 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8137
8138         * CutAndPaste.C (pasteSelection): remove the last next and
8139         previous from this file.
8140
8141 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8142
8143         * CutAndPaste.C (pasteSelection): more clean up, user proper
8144         ParagraphList functions for pasteing.
8145
8146         * ParagraphList.C (insert): new function, three arg insert
8147
8148 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8149
8150         * ParagraphList.C (insert): new function, three arg insert
8151
8152         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
8153         not on paragraphs.
8154
8155 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8156
8157         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
8158
8159 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8160
8161         * CutAndPaste.C (pasteSelection): remove some unneeded code.
8162
8163 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8164
8165         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
8166         (copySelection): clean up a bit.
8167         (pasteSelection): use make_pair
8168
8169         * ParagraphList.C (ParagraphList): implement copy constructor
8170         (operator=): implement, base on copy constructor.
8171         (assign): new func
8172
8173         * paragraph.C (erase): return a bool
8174
8175         * paragraph_pimpl.C (erasePos): remove function, move contents...
8176         (erase): ... here. Return a bool.
8177         (erase): call erase instead of erasePos.
8178
8179 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
8180
8181         * ParagraphList.h: define PitPosPair
8182         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
8183         ParagraphList, fix a bug on pasting multiple pars
8184         * text2.C: change interface to C&P
8185
8186 2003-04-30  André Pönitz  <poenitz@gmx.net>
8187
8188         * undo_func.C: revert part of yesterday's patch 2
8189
8190 2003-04-30  John Levon  <levon@movementarian.org>
8191
8192         * LColor.C: s/tabular/table/
8193
8194 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8195
8196         * text3.C (dispatch): do not convert iterator -> pointer
8197         * undo_funcs.C (setCursorParUndo): ditto
8198         * text_funcs.C (transposeChars): ditto
8199
8200         * text2.C (setLayout): ws changes only
8201
8202         * text.C (breakParagraph): do not convert iterator -> pointer
8203         (insertChar): ditto
8204         (acceptChange): ditto
8205         (rejectChange): ditto
8206         (changeCase): ditto
8207         (Delete): ditto
8208         (backspace): ditto
8209
8210         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
8211         pointer
8212
8213 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8214
8215         * text3.C (gotoInset): YABG (yet another bad getChar)
8216
8217 2003-04-29  André Pönitz  <poenitz@gmx.net>
8218
8219         * paragraph.h: make operator= private unimplemented as long as
8220           it is unusable
8221
8222         * ParagraphList.C: whitespace
8223
8224         * paragraph.[Ch]:
8225         * paragraph_pimpl.[Ch]:
8226         * paragraph_funcs.C:
8227         * CutAndPaste.C:
8228         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
8229
8230         * text2.C:
8231           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8232
8233 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8234
8235         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8236         * paragraph.[Ch] (erase):
8237         * paragraph_pimpl.[Ch] (erase): change return type and value
8238         * text2.C (cutSelection): some rework
8239
8240 2003-04-28  John Levon  <levon@movementarian.org>
8241
8242         * bufferlist.C: changes for unsaved changes dialog
8243
8244 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8245
8246         * bufferlist.C (newFile): set language (messages_) for new
8247         documents also.
8248
8249         * buffer.C (readFile): ws changes only.
8250
8251 2003-04-28  André Pönitz  <poenitz@gmx.net>
8252
8253         * undo_funcs.C:
8254         * lyxfunc.C:
8255         * buffer.[Ch]:
8256         * BufferView_pimpl.C:
8257         * BufferView.C: getParFromID related ParagraphList::iterator changes
8258
8259 2003-04-28  André Pönitz  <poenitz@gmx.net>
8260
8261         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8262           Changes
8263
8264 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8265
8266         * messages.C: remove one more localedir class variable.
8267
8268 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8269
8270         * messages.C (getLocaleDir): singleton generation function
8271         (Pimpl): use it.
8272         (Messages): add a default constructor.
8273
8274         * main.C (main): do not setup localedir here, do not call
8275         gettext_init.
8276
8277         * gettext.C (_): use it.
8278         (gettext_init): delete funciton
8279
8280 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8281
8282         * gettext.C (getLyXMessages): new singleton generating function.
8283
8284         * buffer.C (updateDocLang): adjust
8285
8286         * Makefile.am (messages.o): add target
8287         (main.o): remove target
8288
8289 2003-04-27  John Levon  <levon@movementarian.org>
8290
8291         * bufferlist.C:
8292         * lyx_cb.C:
8293         * lyxfunc.C:
8294         * lyxvc.C: specify cancel button in Alert::prompt
8295
8296 2003-04-26  John Levon  <levon@movementarian.org>
8297
8298         * text3.C:
8299         * lyxfunc.C:
8300         * lfuns.h:
8301         * LyXAction.C: add LFUN_INSET_SETTINGS
8302
8303         * lyxfunc.C: don't enable tabular-feature when there's
8304         just any locking inset
8305
8306 2003-04-26  John Levon  <levon@movementarian.org>
8307
8308         * bufferlist.C: re-add Cancel to buffer close question
8309
8310         * lyxfunc.C: fix import UI a bit
8311
8312 2003-04-25  John Levon  <levon@movementarian.org>
8313
8314         * gettext.C: remove the broken asserts for now
8315
8316 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8317
8318         * messages.C: make case where setlocale cannot comply work better.
8319
8320         * buffer.C (updateDocLang): new function
8321         (changeLanguage): use it
8322         (readFile): use it
8323
8324         * text2.C (setCounter): use B_ a bit.
8325
8326         * lyxlayout.C (Read): be sure to trim the label strings.
8327
8328         * messages.C (Messages): fix typo in comment
8329
8330         * buffer.C (readFile): set message_ after file is loaded.
8331         (makeDocBookFile): remove double return
8332         (changeLanguage): reset message_ upon language change.
8333         (B_): new func, use this to get translated buffer strings.
8334
8335         * main.C: add myself and Jean Marc as authors.
8336
8337 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8338
8339         * messages.[hC]: pimplify Messages, and three different pimpls to be
8340         used in different circumstances.
8341
8342         * gettext.[Ch]: change for use with new message code.
8343
8344 2003-04-24 André Pönitz <poenitz@gmx.net>
8345
8346         * factory.C: support for eqref
8347
8348 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
8349
8350         * messages.[Ch]: add missing char
8351
8352         * Makefile.am (lyx_SOURCES): add messages.[Ch]
8353
8354         * messages.[Ch]: New files
8355
8356 2003-04-18  John Levon  <levon@movementarian.org>
8357
8358         * BufferView.h:
8359         * BufferView.C:
8360         * BufferView_pimpl.C:
8361         * lfuns.h:
8362         * LyXAction.C:
8363         * lyxtext.h:
8364         * text2.C: remove layout-copy/paste (bug 778)
8365
8366 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8367
8368         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8369
8370 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8371
8372         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8373         if they succeed. Act accordingly.
8374
8375 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8376
8377         * text2.C (setCharFont): adjust
8378         (setCounter): adjust
8379         (insertStringAsLines): adjust
8380
8381         * text.C (leftMargin): adjust
8382         (setHeightOfRow): adjust
8383
8384         * rowpainter.C (paintFirst): adjust
8385         (paintLast): adjust
8386
8387         * paragraph_funcs.C (depthHook): ParagraphList::iterators
8388         (outerHook): ditto
8389         (isFirstInSequence): ditto
8390         (getEndLabel): ditto
8391         (outerFont): adjust
8392
8393         * paragraph.C (getParLanguage): comment out some hard stuff.
8394
8395         * buffer.C (insertStringAsLines): take a ParagraphList as arg
8396         (sgmlError): ditto
8397         (simpleDocBookOnePar): ditto
8398         (makeDocBookFile): use ParagraphList::iterator
8399
8400         * CutAndPaste.C (pasteSelection): adjust
8401
8402 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8403
8404         * text2.C (getFont): adjust
8405         (getLayoutFont): adjust
8406         (getLabelFont): adjust
8407
8408         * paragraph_funcs.C (TeXOnePar): adjust
8409
8410         * buffer.C (simpleLinuxDocOnePar): adjust
8411         (simpleDocBookOnePar): adjust
8412
8413         * CutAndPaste.C (pasteSelection): adjust
8414
8415         * BufferView.C (getEncoding): adjust
8416
8417         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8418
8419 2003-04-16  John Levon  <levon@movementarian.org>
8420
8421         * lyxfind.C: use parlist stuff for search/changes
8422
8423 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8424
8425         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8426
8427         * text2.C (deleteEmptyParagraphMechanism): adjust
8428
8429         * text2.[Ch] (ownerParagraph): delete func (both of them
8430
8431 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8432
8433         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8434
8435 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8436
8437         * ParagraphList.C: prepare for NO_NEXT
8438
8439 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8440
8441         * text2.C (getFont): adjust
8442         (getLayoutFont): adjust
8443         (getLabelFont): adjust
8444
8445         * paragraph.C (getFont): adjust
8446         (getLabelFont): adjust
8447         (getLayoutFont): adjust
8448
8449         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8450
8451 2003-04-15  John Levon  <levon@movementarian.org>
8452
8453         From Angus Leeming
8454
8455         * lyx_main.C: handle Include in .ui files
8456
8457 2003-04-15  John Levon  <levon@movementarian.org>
8458
8459         * MenuBackend.C: make the doc files length shorter
8460
8461         * ToolbarBackend.h:
8462         * ToolbarBackend.C: handle toolbar placement flags,
8463         Minibuffer
8464
8465 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8466
8467         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8468         adjust
8469
8470         * paragraph_funcs.C (TeXOnePar): adjust
8471
8472         * paragraph.C (getLabelFont): add outerfont arg, adjust
8473         (getLayoutFont): ditto
8474         (simpleTeXOnePar): adjust
8475
8476         * paragraph_pimpl.C (realizeFont): delete func
8477
8478 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
8479
8480         * text2.C (beforeFullRowInset): added a bad getchar check, removed
8481         row argument, constify cur argument.
8482
8483 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8484
8485         * text2.C (getFont): adjust
8486         (getLayoutFont): adjust
8487         (getLabelFont): adjust
8488
8489         * paragraph_funcs.C (TeXOnePar): adjust
8490         (outerFont): new func...
8491         (realizeFont): ...moved out from here, changed this to facilitate
8492         transition
8493
8494         * paragraph.C (getFont): take outerfont as arg, adjust
8495         (simpleTeXOnePar): add outerfont arg, adjust
8496
8497         * buffer.C (simpleLinuxDocOnePar): adjust
8498         (simpleDocBookOnePar): adjust
8499
8500         * CutAndPaste.C (pasteSelection): adjust
8501
8502         * BufferView.C (getEncoding): adjust
8503
8504 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8505
8506         * text2.C (setCharFont): adjust
8507         (setCounter): adjust
8508
8509         * text.C (leftMargin): adjust
8510         (setHeightOfRow): adjust
8511
8512         * rowpainter.C (paintFirst): adjust
8513         (paintLast): adjust
8514
8515         * paragraph_pimpl.C (realizeFont): adjust
8516
8517         * paragraph.C (isFirstInSequence): move from here...
8518         * paragraph_funcs.C (isFirstInSequence): ...to here
8519
8520         * paragraph.C (outerHook): move from here...
8521         * paragraph_funcs.C (outerHook): ...to here
8522
8523         * paragraph.C (depthHook): move from here...
8524         * paragraph_funcs.C (depthHook): ...to here
8525
8526         * paragraph.C (getEndLabel): move from here...
8527         * paragraph_funcs.C (getEndLabel): ...to here
8528
8529         * text2.C (realizeFont): move from here...
8530         * paragraph_funcs.C (realizeFont): ...to here
8531
8532 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8533
8534         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8535
8536 2003-04-14  Angus Leeming  <leeming@lyx.org>
8537
8538         * LColor.[Ch]: scrap LColor mathcursor.
8539
8540 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8541
8542         * lyxlex.[Ch] (text): delete function
8543         * trans.C (Load): adjust
8544         * paragraph_funcs.C (readParToken): adjust
8545
8546 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8547
8548         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8549         vector<char> instead of a char[].
8550
8551         * lyxlex_pimpl.C (getString): adjust
8552         (next): adjust
8553         (lex): use getString
8554         (eatLine): adjust
8555         (nextToken): adjust
8556
8557         * lyxlex.C (text): use pimpl_->getString()
8558         (getBool): ditto
8559         (findToken): ditto
8560
8561 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8562
8563         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8564         (makeFontEntriesLayoutSpecific): temp var for par.size()
8565         (setLayout): temp var for ownerParagraphs().end()
8566         (fullRebreak): temp var for rows().end()
8567         (selectionAsString): temp var for boost::next(startpit), realize
8568         that the while really is a regular for loop.
8569         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8570         setCursor in one place.
8571         (setParagraph): temp vr for ownerParagraphs().end()
8572         (updateCounters): make the while loop a for loop
8573         (cutSelection): temp var for ownerParagraphs().end()
8574         (updateInset): make the do {} while() a regular for loop
8575         (getCursorX): use temp vars
8576         (setCurrentFont): use temp vars
8577         (getColumnNearX): use temp vars
8578
8579 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8580
8581         * text.C (transformChar): use temp var for getChar
8582         (computeBidiTables): use temp var for row->par()
8583         (fill): move temp vars for row->par() and pit->layout() earlier in
8584         the function.
8585         (labelFill): use temp var for row->par()
8586         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8587         asc and desc, realize that pit never changes and that firstpit is
8588         just a duplicate and not needed. Exchange rit->par() with pit in a
8589         lot of places.
8590         (breakAgain): use a temp var for boost::next(rit)
8591         (breakAgainOneRow): ditto
8592         (breakParagraph): use a temp var for rows().begin()
8593         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8594         (cursorRightOneWord): use temp var for cursor.par() and
8595         cursor.pos(), remove usage of tmpcursor.
8596         (cursorLeftOneWord): use temp var for cursor.par() and
8597         cursor.pos() only set cur at end of function.
8598
8599 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8600
8601         * text.C, text2.C: exchange all usage of Paragraph::next with
8602         boost::next(ParagraphList::iterator)
8603
8604         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8605
8606         * text2.C (cursorTop): simplify implementation
8607         (cursorBottom): ditto
8608         (setParagraph): use ParagraphList::iterator
8609         (setCurrentFont): adjust
8610         (getColumnNearX): adjust
8611         (cursorRight): adjust
8612         (cursorLeft): remove usage of Paragraph::previous
8613         (cursorUpParagraph): ditto
8614         (deleteEmptyParagraphMechanism): slight cleanup
8615
8616         * text.C (isBoundary): take a Paragraph const & instead of a
8617         pointer as arg.
8618         (addressBreakPoint): ditto
8619         (leftMargin): remove usage of Paragraph::previous.
8620         (setHeightOfRow): ditto
8621         (cursorLeftOneWord): ditto
8622         (selectNextWordToSpellcheck): ditto
8623         (Delete): ditto
8624         (backspace): ditto
8625         (breakParagraph): remove one usage of Paragraph::next
8626         (redoParagraph): ditto
8627         (acceptChange): ditto
8628         (insertChar): adjust
8629         (rowBreakPoint): adjust
8630
8631         * bufferview_funcs.C (toggleAndShow): adjust
8632
8633 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
8634
8635         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8636         methods to access it.
8637         * lyxtext.h:
8638         * text.C: Added updateRowPositions to compute all row positions.
8639         Make top_y and getRowNearY() to use the cached y position
8640
8641 2003-04-11  John Levon  <levon@movementarian.org>
8642
8643         * text.C (rowBreakPoint): reintroduce the labelEnd
8644         checks, code copied from the row fill stuff. Deep voodoo.
8645
8646         * text.C (fill): add a comment and debugging for the
8647         next poor soul.
8648
8649 2003-04-11  John Levon  <levon@movementarian.org>
8650
8651         * text.C: make sure fullrow insets get wrapped to the next line,
8652         even when they're in a manual label
8653
8654 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8655
8656         * text2.C (insertParagraph): make it take ParagraphList::iterator
8657         as arg.
8658         (setLayout): make it return ParagraphList::iterator
8659         (redoParagraphs): ditto
8660         (setCounter): ditto
8661         (checkParagraph): ditto
8662
8663         * text.C (getRow): make getrow take ParagraphList::iterator as arg
8664
8665         * text2.C: adjust several funcs.
8666         (realizeFont): take a ParagraphList::iterator as arg.
8667         (getLayoutFont): ditto
8668         (getLabelFont): ditto
8669         (setCharFont): ditto
8670
8671         * text.C: adjust several funcs.
8672
8673 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8674
8675         * text.C (selectNextWordToSpellcheck): don't accidentally
8676         skip insets
8677
8678 2003-04-10  John Levon  <levon@movementarian.org>
8679
8680         * ToolbarBackend.C (getIcon): special handling for
8681         LFUN_MATH_DELIM
8682
8683 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8684
8685         * text2.C (cursorRight): a getChar assert fixed
8686
8687 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8688
8689         * text2.C (getFont): change to take a ParagraphList::iterator
8690         instead of Paragraph*
8691         Adjust several functions.
8692
8693         * text.C (transformChar): change to take a ParagraphList::iterator
8694         instead of Paragraph*
8695         (singleWidth): ditto
8696         Adjust several functions.
8697
8698         * rowpainter.C: adjust several functions
8699         * rowpainter.h:store a ParagraphList::iterator and not a
8700         Paragraph&.
8701
8702
8703 2003-04-09  John Levon  <levon@movementarian.org>
8704
8705         * lyxfunc.C:
8706         * lfuns.h:
8707         * LyXAction.h:
8708         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8709         and the "help" bits as well
8710
8711 2003-04-09  John Levon  <levon@movementarian.org>
8712
8713         * ToolbarBackend.h:
8714         * ToolbarBackend.C: allow multiple toolbars
8715
8716 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8717
8718         * undo_funcs.C (setCursorParUndo): adjust
8719
8720         * text_funcs.C (transposeChars): adjust
8721
8722         * text3.C (gotoNextInset): adjust
8723         (dispatch): adjust
8724
8725         * text2.C (setLayout): adjust
8726         (changeDepth): adjust
8727         (setFont): adjust
8728         (redoParagraphs): adjust
8729         (selectionAsString): adjust
8730         (setParagraph): adjust
8731         (insertInset): adjust
8732         (cutSelection): adjust
8733         (copySelection): adjust
8734         (pasteSelection): adjust
8735         (insertStringAsLines): adjust
8736         (updateInset): adjust
8737         (setCursor): change to take a ParagraphList::iterator parameter
8738         (setCursorIntern): change to take a ParagraphList::iterator parameter
8739         (setCurrentFont): adjust
8740         (cursorLeft): adjust
8741         (cursorRight): adjust
8742         (deleteEmptyParagraphMechanism): adjust
8743
8744         * text.C (breakParagraph): adjust
8745         (insertChar): adjust
8746         (acceptChange): adjust
8747         (rejectChange): adjust
8748         (selectNextWordToSpellcheck): adjust
8749         (changeCase): adjust
8750         (Delete): adjust
8751         (backspace): adjust
8752
8753         * lyxfind.C (SearchForward): adjust
8754         (SearchBackward): adjust
8755         (nextChange): adjust
8756
8757         * lyxcursor.C (par): adjust
8758
8759         * lyxcursor.h: store a ParagraphList::iterator instead of a
8760         Paragraph*
8761
8762         * lyx_cb.C (getPossibleLabel): adjust
8763
8764         * bufferview_funcs.C (toggleAndShow): adjust
8765
8766         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8767         (dispatch): adjust
8768
8769         * BufferView.C (removeAutoInsets): adjust
8770         (lockedInsetStoreUndo): adjust
8771
8772 2003-04-09  John Levon  <levon@movementarian.org>
8773
8774         * ToolbarBackend.C: try icon without argument
8775         if with argument fails
8776
8777 2003-04-08  John Levon  <levon@movementarian.org>
8778
8779         * ToolbarBackend.h:
8780         * ToolbarBackend.C: add getIcon(), handle tooltip,
8781         and change from "Icon" to "Item".
8782
8783 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8784
8785         * BufferView.C (lockInset): another bad getchar crunched
8786
8787 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8788
8789         * text2.C (changeDepth): do not setUndo on test_only (make undo work
8790         again)
8791
8792 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
8793
8794         * lyxfind.C (searchForward, searchBackwards): bug 782
8795
8796 2003-04-07  John Levon  <levon@movementarian.org>
8797
8798         * paragraph.C: remove dead comment
8799
8800         * text.C: remove troublesome depth-fiddling code
8801         in leftMargin() and rightMargin() (bug 1017)
8802
8803         * text.C: fix breaking of rows in nested lists
8804         (bug 1004)
8805
8806         * text2.C (updateCounters): fix up depth values
8807         (bug 1013)
8808
8809 2003-04-07  John Levon  <levon@movementarian.org>
8810
8811         * BufferView_pimpl.C: clear message when doc finishes resizing,
8812         and after a mouse event
8813
8814         * lyxfunc.C: clear message after exiting inset
8815
8816 2003-04-07  John Levon  <levon@movementarian.org>
8817
8818         * bufferview_funcs.C: show math status not outside
8819         status in the statusbar
8820
8821 2003-04-07  John Levon  <levon@movementarian.org>
8822
8823         * lyxfunc.C: note status changed after a depth change
8824
8825 2003-04-04  Angus Leeming  <leeming@lyx.org>
8826
8827         * LaTeX.h: move AuxInfo operator==, != out of line.
8828         Remove LaTeX virtual destructor; nothing derives from it.
8829         Move operator()() out of public area and rename it startscript().
8830         Change protected for private.
8831
8832 2003-04-04  Angus Leeming  <leeming@lyx.org>
8833
8834         * lyxfunc.C:
8835         * text2.C: remove unneeded #includes.
8836
8837 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8838
8839         * text2.C (dEPM): fix the heigth of the next row
8840
8841 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8842
8843         * text.C: squashed an invalid getChar requester + some ws changes
8844
8845 2003-04-03  John Levon  <levon@movementarian.org>
8846
8847         * bufferview_funcs.h:
8848         * bufferview_funcs.C:
8849         * lyxfunc.C:
8850         * lyxtext.h:
8851         * text2.C: make getStatus work for the env depth lfuns
8852
8853 2003-04-03  John Levon  <levon@movementarian.org>
8854
8855         * bufferview_funcs.h:
8856         * bufferview_funcs.C:
8857         * lyxfunc.C:
8858         * lyxtext.h:
8859         * text2.C: parlistize decDepth(), by merging it with incDepth()
8860
8861 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8862
8863         * lyxrow.h: store a ParagraphList::iterator instead of a
8864         Paragraph* and adjust other class functions to suit.
8865
8866         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8867         above.
8868
8869 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8870
8871         * text2.C (setCursor): do not anchor to cursor row for the time being
8872
8873 2003-04-02  John Levon  <levon@movementarian.org>
8874
8875         * LyXAction.C:
8876         * lfuns.h:
8877         * lyx_main.C:
8878         * lyxtext.h:
8879         * text.C:
8880         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8881
8882 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8883
8884         * paragraph.h: make ParagraphList and ParagraphList::iterator
8885         friends of Paragraph.
8886
8887         * buffer.C (makeLinuxDocFile): move towards ParagraphList
8888
8889         * ParagraphList.C: Use the private next_ and previous_ from
8890         Paragraph.
8891
8892 2003-04-01  John Levon  <levon@movementarian.org>
8893
8894         * ToolbarBackend.h:
8895         * ToolbarBackend.C:
8896         * Makefile.am: rename, remove defaults gunk
8897
8898         * MenuBackend.h:
8899         * MenuBackend.C: remove defaults gunk
8900
8901         * Languages.h:
8902         * Languages.C: remove defaults gunk
8903
8904         * lyx_main.h:
8905         * lyx_main.C: error out if files couldn't be found.
8906
8907 2003-04-02  John Levon  <levon@movementarian.org>
8908
8909         * text2.C: make incDepth() use parlist
8910
8911 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8912
8913         * undo_funcs.C (firstUndoParagraph): adjust
8914
8915         * text3.C (gotoInset): adjust
8916         (dispatch): adjust, and rewrite loop.
8917
8918         * text2.C (init): adjust, and rewrite loop.
8919         (redoParagraphs): adjust
8920         (updateInset): adjust, and rewrite loop.
8921         (deleteEmptyParagraphMechanism): adjust
8922
8923         * tabular.C (LyXTabular): adjust
8924         (SetMultiColumn): adjust
8925         (TeXRow): adjust
8926
8927         * lyxtext.[Ch] (ownerParagraph): delete function
8928         (ownerParagraphs): new function returns a ParagraphList.
8929
8930         * BufferView.C (removeAutoInsets): adjust
8931         (insertErrors): adjust
8932         (setCursorFromRow): adjust
8933
8934 2003-04-01  Angus Leeming  <leeming@lyx.org>
8935
8936         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8937         in the frontends.
8938
8939 2003-04-02  John Levon  <levon@movementarian.org>
8940
8941         * lyxtext.h:
8942         * text.C:
8943         * Makefile.am:
8944         * text_funcs.h:
8945         * text_funcs.C: make transposeChars a free function
8946
8947         * lyxrow_funcs.C: remove wrong comment
8948
8949 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8950
8951         * lyxtext.h: adjust
8952         * rowpainter.C: adjust
8953         * text.C: adjust
8954         * text2.C: adjust
8955         * text3.C: adjust
8956
8957         * lyxrow_funcs. [Ch]: new files
8958
8959         * lyxrow.[Ch]: remove next and previous pointers
8960         (next,previous): remove accessor functions
8961         (isParEnd): move to lyxrow_funcs
8962         (lastPos): move to lyxrow_funcs
8963         (nextRowIsAllInset): move to lyxrow_funcs
8964         (lastPrintablePos): move to lyxrow_funcs
8965         (numberOfSeparators): move to lyxrow_funcs
8966         (numberOfHfills): move to lyxrow_funcs
8967         (numberOfLabelHfills): move to lyxrow_funcs
8968         (hfillExpansion): move to lyxrow_funcs
8969
8970         * lyxfunc.C: adjust
8971
8972         * bufferview_funcs.C (toggleAndShow): adjust
8973
8974         * RowList.h: Remove class RowList from file leave just a
8975         std::list<Row>.
8976
8977         * RowList.C: delete file
8978
8979         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8980         and lyxrow_funcs.h
8981
8982 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8983
8984         * text3.C (cursorPrevious): adjust
8985         (cursorNext): adjust
8986         (dispatch): adjust
8987
8988         * text2.C (redoHeightOfParagraph): adjust
8989         (redoDrawingOfParagraph): adjust
8990         (setCursor): adjust
8991
8992         * text.C (breakParagraph): adjust
8993         (insertChar): adjust
8994         (backspace): adjust
8995
8996         * rowpainter.C (RowPainter): adjust
8997         (leftMargin): simplify and adjust
8998         (most rowpainter functions): adjust.
8999
9000         * rowpainter.h: store the row as RowList::iterator not as Row*
9001
9002         * lyxcursor.C (row): taka RowList::iterator as arg
9003         (irow): ditto
9004
9005         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
9006         of Row*.
9007
9008 2003-04-01  Angus Leeming  <leeming@lyx.org>
9009
9010         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
9011         stuff like bool Bool.
9012
9013 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
9014
9015         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
9016         rewrite a loop
9017
9018 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9019
9020         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
9021         RowList::iterator.
9022
9023         * lyxtext.h (rows): drop one version and leve a const variant that
9024         returns a RowList::iterator.
9025
9026 2003-03-31  Angus Leeming  <leeming@lyx.org>
9027
9028         * text.C (fill): ensure that the signature is the same as that in the
9029         header file.
9030
9031 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
9032
9033         * text2.C (redoParagraphs): adjust
9034         (updateCounters): adjust
9035         (checkParagraph): adjust
9036         (getColumnNearX): adjust and reformat a bit.
9037
9038         * text.C (top_y): adjust
9039         (workWidth): adjust
9040         (leftMargin): adjust
9041         (prepareToPrint): adjust
9042         (getRow): adjust
9043         (getRowNearY): adjust
9044
9045         * lyxtext.h: make rowlist_ mutable.
9046
9047         * RowList.h: add const_iterator
9048         * RowList.C: adjust for RowList::const_iterator.
9049
9050         * text2.C (getCursorX): make it take a RowList::iterator as arg,
9051         adjust.
9052
9053 2003-03-31  John Levon  <levon@movementarian.org>
9054
9055         * lyxrc.h:
9056         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
9057
9058         * lyx_main.C: set default fonts from using lyx_gui funcs
9059
9060         * exporter.C: pdf_mode moved from lyxrc
9061
9062         * lyx_cb.C:
9063         * lyxfunc.C: changes from above
9064
9065 2003-03-31  John Levon  <levon@movementarian.org>
9066
9067         * lyx_main.C: fix to the last fix
9068
9069 2003-03-31  John Levon  <levon@movementarian.org>
9070
9071         * bufferlist.C: "Load original" -> "Load Original"
9072
9073         * converter.C:
9074         * exporter.C:
9075         * importer.C:
9076         * lyx_main.C:
9077         * format.C: more Alert cleanups
9078
9079 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
9080
9081         * text2.C (removeParagraph): make it take a RowList::iterator as
9082         arg, adjust.
9083         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
9084         (postRowPaint): make it take a RowList::iterator as arg, adjust.
9085
9086         * text.C (anchor_row): make it take a RowList::iterator as arg,
9087         adjust.
9088         (computeBidiTables): make it take a const reference to Row instead
9089         of Row pointer, adjust.
9090         (leftMargin): make it take a RowList::iterator as arg, adjust.
9091         (rowBreakPoint): adjust
9092         (breakAgainOneRow): make it take a RowList::iterator as arg,
9093         adjust.
9094         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
9095
9096         * bufferview_funcs.C (toggleAndShow): adjust
9097
9098 2003-03-30  John Levon  <levon@movementarian.org>
9099
9100         * Makefile.am:
9101         * BoostFormat.h:
9102         * boost-inst.C: moved to support
9103
9104         * several files: changes as a result
9105
9106 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
9107
9108         * text2.C (LyXText): adjust.
9109         (init): adjust
9110         (removeRow): make it take a RowList::iterator as arg, adjust.
9111         (fullRebreak): adjust
9112         (deleteEmptyParagraphMechanism): adjust
9113         (clearPaint): adjust
9114         (postPaint): adjust
9115
9116         * text.C (top_y): adjust
9117         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
9118         (breakAgain): make it take a RowList::iterator as arg, adjust.
9119         (breakParagraph): adjust
9120         (insertChar): adjust
9121         (backspace): adjust
9122
9123         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
9124         need_break_row, and refresh_row.
9125
9126         * text3.C (dispatch): adjust
9127
9128         * text2.C (checkParagraph): adjust
9129         (setCursor): adjust
9130         (setCursorFromCoordinates): adjust
9131
9132         * text.C (top_y): adjust
9133         (workWidth): adjust
9134         (getRow): make it return a RowList::iterator, adjust
9135         (getRowNearY): make it return a RowList::iterator, adjust
9136
9137         * text2.C (init): adjust
9138         (insertRow): remove function
9139         (insertParagraph): adjust
9140         (redoParagraphs): adjust
9141         (fullRebreak): adjust
9142         (updateCounters): adjust
9143
9144         * text.C (top_y): rewrite to use RowList iterators.
9145         (top_y): adjust
9146         (setHeightOfRow): rewrite to sue RowList iterators.
9147         (appendParagraph): adjust
9148         (breakAgain): adjust
9149         (breakAgainOneRow): adjust
9150         (breakParagraph): adjust
9151         (getRow): adjust
9152         (getRowNearY): adjust, and remove commented code.
9153
9154         * lyxtext.h (firstRow): delete function
9155         (lastRow): delete function
9156         (rows): new function (const and non-const versions.)
9157         (insertRow): delete function
9158
9159         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
9160
9161 2003-03-29  John Levon  <levon@movementarian.org>
9162
9163         * BufferView_pimpl.C: always update scrollbar top
9164         because pasting text when we're anchored could mean we
9165         miss an update altogether
9166
9167 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9168
9169         * text2.C (init): use rowlist_.end() and not 0.
9170         (insertRow): change to take a RowList::iterator as arg, adjust
9171         for this.
9172         (insertParagraph): change to take a RowList::iterator as arg,
9173         adjust for this.
9174         (redoParagraphs): remove some debug msgs.
9175
9176         * text.C (appendParagraph): change to take a RowList::iterator
9177         arg, adjust for this.
9178         (breakAgain): add an assert
9179         (breakAgainOneRow): ditto
9180
9181 2003-03-29  John Levon  <levon@movementarian.org>
9182
9183         * text2.C: do not clear selection after inc/decDepth
9184         (bug 550)
9185
9186 2003-03-29  John Levon  <levon@movementarian.org>
9187
9188         * BufferView.C:
9189         * buffer.C: fix broken strerrors according to Lars
9190
9191 2003-03-29  John Levon  <levon@movementarian.org>
9192
9193         * converters.C: more Alert cleanups
9194
9195 2003-03-29  John Levon  <levon@movementarian.org>
9196
9197         * bufferview_funcs.C: remove pointless Alert
9198
9199         * buffer.C: fix confusing error message when
9200         a template is chmoded 000
9201
9202 2003-03-29  John Levon  <levon@movementarian.org>
9203
9204         * BufferView.C:
9205         * BufferView.h:
9206         * BufferView_pimpl.C: Alert fixes
9207
9208         * Makefile.am:
9209         * tabular.C:
9210         * tabular-old.C: remove unused table compat reading
9211
9212 2003-03-29  John Levon  <levon@movementarian.org>
9213
9214         * BufferView.C:
9215         * buffer.C:
9216         * lyx_cb.h:
9217         * lyx_cb.C: more Alert cleanups
9218
9219         * lyxfunc.C: don't allow chktex if not latex document
9220
9221 2003-03-29  John Levon  <levon@movementarian.org>
9222
9223         * lyx_cb.C:
9224         * BufferView.C:
9225         * buffer.C: warnings pushed down from support/,
9226         kill err_alert
9227
9228 2003-03-29  John Levon  <levon@movementarian.org>
9229
9230         * lyxfunc.C: safety check for C-r (revert)
9231
9232 2003-03-29  John Levon  <levon@movementarian.org>
9233
9234         * bufferlist.h:
9235         * bufferlist.C: several UI fixes using Alert::prompt.
9236         Fix the pointless looping quit code. Fix stupid revert
9237         behaviour (bug 938)
9238
9239         * lyxvc.h:
9240         * lyxvc.C:
9241         * lyx_cb.C: use Alert::prompt
9242
9243         * lyx_main.C: remove a silly question
9244
9245         * lyxfunc.C: remove a couple of silly questions,
9246         use Alert::prompt
9247
9248 2003-03-28  John Levon  <levon@movementarian.org>
9249
9250         * text2.C: fix bug 974 (End on empty par)
9251
9252 2003-03-28  John Levon  <levon@movementarian.org>
9253
9254         * BufferView_pimpl.C:
9255         * LyXAction.C:
9256         * lfuns.h: remove do-nothing math greek lfuns
9257
9258 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9259
9260         * lyxgluelength.h (isValidGlueLength): add default arg on
9261         parameter 2. Remove default arg from friend in class.
9262
9263         * lyxlength.h (isValidLength): add default arg on parameter 2.
9264         Remove default arg from friend in class.
9265
9266         * text2.C (LyXText): adjust, initialize refresh_row.
9267         (init): adjust
9268         (removeRow): adjust
9269         (insertRow): adjust
9270         (insertParagraph): adjst
9271         (redoParagraphs): adjust
9272         (fullRebreak): adjust
9273         (updateCounters): adjust
9274         (deleteEmptyParagraphMechanism): first attempt at fixing a
9275         crashing bug.
9276
9277         * text.C (top_y): adjust
9278         (setHeightOfRow): adjust
9279         (getRow): adjust
9280         (getRowNearY): adjust
9281
9282         * lyxtext.h: include RowList.h
9283         (~LyXText): not needed anymore, deleted.
9284         (firstRow): modify for RowList
9285         (lastRow): new function
9286         Delete firstrow and lastrow class variables, add a Rowlist
9287         rowlist_ class variable.
9288
9289         * lyxrow.C (lastPos): use empty() and not !size() to check if a
9290         paragraph is empty.
9291
9292         * RowList.C (insert): fix case where it == begin().
9293
9294 2003-03-26  Angus Leeming  <leeming@lyx.org>
9295
9296         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9297         the thesaurus dialog.
9298
9299 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
9300
9301         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9302
9303         * RowList.[Ch]: new files
9304
9305         * ParagraphList.C (erase): handle the case where it == begin
9306         correctly.
9307
9308 2003-03-25  John Levon  <levon@movementarian.org>
9309
9310         * Makefile.am:
9311         * aspell_local.h:
9312         * aspell.C: add new aspell support
9313
9314         * lyxrc.h:
9315         * lyxrc.C: Make use_pspell be use_spell_lib. Always
9316         have it accessible.
9317
9318 2003-03-25  Angus Leeming  <leeming@lyx.org>
9319
9320         * lfuns.h:
9321         * LyXAction.C (init): new LFUN_INSET_INSERT.
9322
9323         * BufferView_pimpl.C (dispatch): split out part of the
9324         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9325
9326         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9327         LFUN_INSET_APPLY.
9328
9329 2003-03-25  Angus Leeming  <leeming@lyx.org>
9330
9331         * lyxfunc.C (dispatch): changes to the Dialogs interface.
9332
9333 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
9334
9335         * text2.C:
9336         * text3.C: remove useless row->height(0)
9337
9338 2003-03-25  John Levon  <levon@movementarian.org>
9339
9340         * lyxtext.h:
9341         * text2.C:
9342         * text3.C: rename the refreshing stuff to better names
9343
9344 2003-03-24  John Levon  <levon@movementarian.org>
9345
9346         * BufferView_pimpl.h:
9347         * BufferView_pimpl.C: update layout choice on a mouse
9348         press/release
9349
9350 2003-03-23  John Levon  <levon@movementarian.org>
9351
9352         * Makefile.am: fix commandtags.h reference
9353
9354 2003-03-22  John Levon  <levon@movementarian.org>
9355
9356         * BufferView_pimpl.C:
9357         * lyxtext.h:
9358         * rowpainter.C:
9359         * rowpainter.h:
9360         * text.C:
9361         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9362
9363 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
9364
9365         * lyxtext.h:
9366         * text.C: take the rtl methods out of line
9367
9368 2003-03-21 André Pönitz <poenitz@gmx.net>
9369
9370         * metricsinfo.[Ch]: new files containing structures to be passed around
9371         during the two-phase-drawing...
9372
9373 2003-03-21 André Pönitz <poenitz@gmx.net>
9374
9375         * lyxtextclass.C: read 'environment' tag.
9376
9377 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
9378
9379         * text2.C (removeRow): fix bug 964
9380
9381 2003-03-20  John Levon  <levon@movementarian.org>
9382
9383         * rowpainter.C:
9384         * text.C:
9385         * text2.C: paint cleanups. Inset::update() dropped font
9386         parameter
9387
9388 2003-03-19  John Levon  <levon@movementarian.org>
9389
9390         * lyxfunc.C: only fitcursor/markDirty if available()
9391
9392 2003-03-19  John Levon  <levon@movementarian.org>
9393
9394         * commandtags.h: rename to ...
9395
9396         * lfuns.h: ... this, and renumber / cleanup
9397
9398 2003-03-19  John Levon  <levon@movementarian.org>
9399
9400         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9401         fit the cursor after an lfun
9402
9403         * BufferView.h:
9404         * BufferView.C:
9405         * BufferView_pimpl.h:
9406         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9407
9408         * LyXAction.C: layout-character should have ReadOnly
9409
9410         * ParagraphParameters.C:
9411         * buffer.C:
9412         * bufferview_funcs.C:
9413         * lyx_cb.C:
9414         * lyxfind.C:
9415         * lyxtext.h:
9416         * text.C:
9417         * text2.C:
9418         * text3.C:
9419         * undo_funcs.C: changes from above
9420
9421 2003-03-18  John Levon  <levon@movementarian.org>
9422
9423         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9424         remove it from update()
9425
9426         * lyxfunc.C: update layout choice after an lfun
9427
9428         * text3.C: remove extra updateLayoutChoice()s
9429
9430 2003-03-18  John Levon  <levon@movementarian.org>
9431
9432         * text.C: top_y change means full repaint, fix
9433         a drawing bug with cursor movement
9434
9435 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9436
9437         * lyxtext.h:
9438         * text.C:
9439         * text2.C: anchor row on setCursor
9440
9441 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9442
9443         * lyxtext.h: remove almost all mutable keywords
9444         * text.C:
9445         * text2.C:
9446         * text3.C: remove const keywords accordingly
9447
9448 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9449
9450         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9451         anon namespace
9452         (TeXEnvironment): ditto
9453         (TeXOnePar): ditto
9454
9455 2003-03-17  John Levon  <levon@movementarian.org>
9456
9457         * text.C (rowBreakPoint): remove attempt to fix displayed
9458         math insets inside a manual label
9459
9460 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9461
9462         * lyxtext.h: remove BufferView* as first arg from almost all class
9463         functions.
9464         * other files: adjust.
9465
9466 2003-03-17  John Levon  <levon@movementarian.org>
9467
9468         * lyxtext.h:
9469         * undo_funcs.C:
9470         * text2.C: more paint cleanups
9471
9472         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9473
9474         * rowpainter.h:
9475         * rowpainter.C: remove "smart" background painting code
9476
9477 2003-03-16  John Levon  <levon@movementarian.org>
9478
9479         * lyxtext.h:
9480         * text.C:
9481         * text2.C:
9482         * text3.C: add helper functions for setting refresh_row/y
9483
9484 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
9485
9486         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9487         newline inset which *can* get inserted in the pass_thru layouts.
9488         This is primarily for literate documents.
9489
9490 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
9491
9492         * buffer.C: increment LYX_FORMAT to 223
9493
9494 2003-03-14 André Pönitz <poenitz@gmx.net>
9495
9496         * textclass.h: prepare for environment handling, ws changes
9497         * lyxlayout.C: read latexheader and latexfooter tags
9498
9499 2003-03-14  John Levon  <levon@movementarian.org>
9500
9501         * text2.C: rewrite ::status() a bit
9502
9503 2003-03-13  John Levon  <levon@movementarian.org>
9504
9505         * lyxtext.h: add some docs
9506
9507 2003-03-13  John Levon  <levon@movementarian.org>
9508
9509         * lyxtext.h:
9510         * text.C:
9511         * text2.C:
9512         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9513
9514 2003-03-13  John Levon  <levon@movementarian.org>
9515
9516         * text3.C: fix appendix redrawing
9517
9518 2003-03-13  John Levon  <levon@movementarian.org>
9519
9520         * text.C (setHeightOfRow):
9521         * rowpainter.h:
9522         * rowpainter.C: make appendix mark have the text
9523           "Appendix" so the user knows what it is
9524
9525         * LColor.h:
9526         * LColor.C: s/appendixline/appendix/ from above
9527
9528 2003-03-13  John Levon  <levon@movementarian.org>
9529
9530         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9531
9532         * text.C: fix a getChar(pos) bug properly
9533
9534 2003-03-13  Angus Leeming  <leeming@lyx.org>
9535
9536         * commandtags.h:
9537         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9538         Probably only temporary. Let's see how things pan out.
9539
9540         * BufferView.C (unlockInset):
9541         * BufferView_pimpl.C (fitCursor):
9542         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9543
9544         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9545         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9546
9547         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9548         new functions that convert ParagraphParameters to and from a string.
9549
9550         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9551         BufferView::Pimpl's dispatch.
9552         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9553
9554 2003-03-13 André Pönitz <poenitz@gmx.net>
9555
9556         * lyxfunc.C:
9557         * text3.C:
9558         * factory.C: make it aware of InsetEnv
9559
9560 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
9561
9562         * text2.C (setCursor): never ask for one past last
9563         (setCursor): add some debugging messages.
9564
9565         * text.C (singleWidth): never ask for one past last
9566         (singleWidth): ditto
9567         (leftMargin): ditto
9568         (rightMargin): ditto
9569         (rowBreakPoint): ditto
9570         (setHeightOfRow): ditto
9571         (prepareToPrint): ditto
9572
9573         * rowpainter.C (paintBackground): never ask for one past last
9574         (paintText): never ask for one past last
9575
9576         * paragraph_pimpl.C (getChar): make the assert stricter, never
9577         allow the one past last pos to be taken
9578
9579         * paragraph.C (getChar): ws changes only
9580
9581         * lyxrow.C (nextRowIsAllInset): never ask for one past last
9582         (numberOfSeparators): ditto
9583         (numberOfHfills): ditto
9584
9585 2003-03-12  John Levon  <levon@movementarian.org>
9586
9587         * author.h:
9588         * author.C:
9589         * bufferparams.h:
9590         * bufferparams.C:
9591         * paragraph_funcs.C: fix per-buffer authorlists
9592
9593 2003-03-12  John Levon  <levon@movementarian.org>
9594
9595         * text.C: fix newline in right address
9596
9597 2003-03-12  Angus Leeming  <leeming@lyx.org>
9598
9599         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9600         duplicate those in LyXFunc::dispatch.
9601
9602         * commandtags.h:
9603         * LyXAction.C:
9604         * ToolbarDefaults.C:
9605         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9606         Add LFUN_FONTFREE_UPDATE.
9607
9608         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9609         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9610
9611         * bufferview_func.[Ch]: several new functions to facilliate
9612         transfer of data to and from the character dialog.
9613
9614 2003-03-12  John Levon  <levon@movementarian.org>
9615
9616         * buffer.C:
9617         * paragraph.h:
9618         * paragraph.C:
9619         * paragraph_funcs.C:
9620         * paragraph_pimpl.C:
9621         * sgml.C:
9622         * tabular.C:
9623         * text.C:
9624         * text3.C: remove META_NEWLINE in favour of an inset
9625
9626         * rowpainter.h:
9627         * rowpainter.C: remove paintNewline (done by inset)
9628
9629 2003-03-12  John Levon  <levon@movementarian.org>
9630
9631         * paragraph_pimpl.C: complain about bad getChar()s
9632         for a while at least
9633
9634 2003-03-12  John Levon  <levon@movementarian.org>
9635
9636         * buffer.h:
9637         * buffer.C: move paragraph read into a separate function,
9638         a little renaming to reflect that.
9639
9640         * bufferparams.h:
9641         * bufferparams.C: remove the author_ids map, not necessary now
9642
9643         * factory.h:
9644         * factory.C: moved Buffer::readInset to here
9645
9646         * paragraph_funcs.h:
9647         * paragraph_funcs.C: readParagraph free function moved from
9648         buffer.C
9649
9650         * tabular.C: name change
9651
9652 2003-03-12  John Levon  <levon@movementarian.org>
9653
9654         * buffer.C:
9655         * ParagraphParameters.C: move par params input to
9656         a read() method
9657
9658         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9659         behave like a normal read from the stream wrt reading
9660         a line vs. a \\token
9661
9662 2003-03-12  John Levon  <levon@movementarian.org>
9663
9664         * paragraph.C:
9665         * ParagraphParameters.h:
9666         * ParagraphParameters.C: move output code to a
9667         ::write() method
9668
9669 2003-03-12  John Levon  <levon@movementarian.org>
9670
9671         * BufferView.C (insertLyXFile):
9672         * buffer.h:
9673         * buffer.C:
9674         * tabular.C: use a parlist iterator for creating the
9675           document.
9676
9677 2003-03-12  John Levon  <levon@movementarian.org>
9678
9679         * buffer.C: make current_change static local not
9680           static file-scope
9681
9682 2003-03-12  John Levon  <levon@movementarian.org>
9683
9684         * buffer.C: fix insertStringAsLines for change tracking
9685
9686 2003-03-12  John Levon  <levon@movementarian.org>
9687
9688         * BufferView.C:
9689         * tabular.C:
9690         * buffer.h:
9691         * buffer.C:
9692         * bufferparams.h:
9693         * bufferparams.C: move author list into params. Rename some
9694           functions. Move the header reading into a separate token
9695           loop. Move the header token reading into BufferParams.
9696
9697 2003-03-12  John Levon  <levon@movementarian.org>
9698
9699         * changes.C: put debug inside lyxerr.debugging() checks
9700
9701 2003-03-11 André Pönitz <poenitz@gmx.net>
9702
9703         * factory.C: make it aware of InsetHFill
9704
9705 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9706
9707         * buffer.C (latexParagraphs): move function from here...
9708         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9709         args.
9710
9711 2003-03-10  Angus Leeming  <leeming@lyx.org>
9712
9713         * LyXAction.C (init): fix bug in poplating array with multiple entries
9714         with the same LFUN (spotted by JMarc).
9715
9716 2003-03-10  John Levon  <levon@movementarian.org>
9717
9718         * text.C:
9719         * text2.C: move getColumnNearX() near its
9720         only call site
9721
9722 2003-03-10  John Levon  <levon@movementarian.org>
9723
9724         * text.C: fix break before a minipage
9725
9726 2003-03-10  John Levon  <levon@movementarian.org>
9727
9728         * text.C: fix the last commit
9729
9730 2003-03-09  John Levon  <levon@movementarian.org>
9731
9732         * lyxtext.h:
9733         * text.C:
9734         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9735         bug 365 (don't break before insets unless needed). Don't
9736         return a value > last under any circumstances.
9737
9738 2003-03-09  Angus Leeming  <leeming@lyx.org>
9739
9740         * BufferView_pimpl.C (trackChanges, dispatch): call
9741         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9742
9743 2003-03-09  Angus Leeming  <leeming@lyx.org>
9744
9745         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9746         than Dialogs::showAboutlyx().
9747
9748 2003-03-09  Angus Leeming  <leeming@lyx.org>
9749
9750         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9751         than Dialogs::showTabularCreate().
9752
9753 2003-03-09  John Levon  <levon@movementarian.org>
9754
9755         * lyxtext.h:
9756         * text.C:
9757         * text2.C: 3rd arg to nextBreakPoint was always the same.
9758           Use references.
9759
9760 2003-03-08  John Levon  <levon@movementarian.org>
9761
9762         * lyxrow.C:
9763         * paragraph.C:
9764         * paragraph.h:
9765         * rowpainter.C:
9766         * text.C:
9767         * text2.C: Remove the "main" bit from the "main body"
9768           notion.
9769
9770 2003-03-08  John Levon  <levon@movementarian.org>
9771
9772         * text.C (leftMargin): The left margin of an empty
9773         manual label paragraph should not include the label width
9774         string length.
9775
9776         * text.C (prepareToPrint): don't attempt to measure hfills
9777         for empty manual label paragraphs - the answer should be 0
9778
9779 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9780
9781         * CutAndPaste.C: remove commented code and reindent.
9782
9783 2003-03-08  John Levon  <levon@movementarian.org>
9784
9785         * lyxfunc.h:
9786         * lyxfunc.C: move reloadBuffer()
9787
9788         * BufferView.h:
9789         * BufferView.C: to here
9790
9791         * lyxvc.C: add comment
9792
9793         * vc-backend.h:
9794         * vc-backend.C: call bv->reload() to avoid
9795           getStatus() check on MENURELOAD
9796
9797 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
9798
9799         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9800         to an old format .dep file.
9801
9802 2003-03-07  Angus Leeming  <leeming@lyx.org>
9803
9804         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9805         when the LFUN_MOUSE_RELEASE should have been handled by
9806         inset->localDispatch.
9807
9808 2003-03-07  Angus Leeming  <leeming@lyx.org>
9809
9810         * BufferView_pimpl.C (dispatch):
9811         * LyXAction.C (init):
9812         * ToolbarDefaults.C (init):
9813         * commandtags.h:
9814         * lyxfunc.C (getStatus):
9815         remove LFUN_INSET_GRAPHICS.
9816
9817         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9818
9819 2003-03-07  Angus Leeming  <leeming@lyx.org>
9820
9821         * commandtags.h:
9822         * LyXAction.C (init):
9823         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9824
9825         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9826
9827         * commandtags.h:
9828         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9829
9830         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9831         localDispatch method LFUN_INSET_DIALOG_UPDATE.
9832
9833 2003-03-07  Angus Leeming  <leeming@lyx.org>
9834
9835         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9836         remove "ert".
9837
9838 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9839
9840         * ParagraphList.C (front): new function
9841         (back): implement
9842
9843 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
9844
9845         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9846         and top_row_offset_. removed var first_y.
9847         * text.C (top_y):
9848         * text2.C (LyXText, removeRow):
9849         * text3.C:
9850         * BufferView_pimpl.C:
9851         use these methods instead of using first_y
9852
9853 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9854
9855         * text2.C (pasteSelection): adjust for checkPastePossible
9856
9857         * CutAndPaste.C: remove Paragraph * buf and replace with
9858         ParagraphList paragraphs.
9859         (DeleteBuffer): delete
9860         (cutSelection): change the tc type to textclass_type
9861         (copySelection): change the tc type to textclass_type
9862         (copySelection): adjust for ParagraphList
9863         (pasteSelection): change the tc type to textclass_type
9864         (pasteSelection): adjust for Paragraphlist
9865         (nrOfParagraphs): simplify for ParagraphList
9866         (checkPastePossible): simplify for ParagraphList
9867         (checkPastePossible): remove unused arg
9868
9869         * ParagraphList.C (insert): handle the case where there are no
9870         paragraphs yet.
9871
9872         * CutAndPaste.h: make CutAndPaste a namespace.
9873
9874         * text3.C (dispatch): adjust
9875
9876         * text.C (breakParagraph): add a ParagraphList as arg
9877
9878         * paragraph_funcs.C (breakParagraph): change to take a
9879         BufferParams and a ParagraphList as args.
9880         (breakParagraphConservative): ditto
9881         (mergeParagraph): ditto
9882         (TeXDeeper): add a ParagraphList arg
9883         (TeXEnvironment): ditto
9884         (TeXOnePar): ditto
9885
9886         * buffer.C (readLyXformat2): adjust
9887         (insertStringAsLines): adjust
9888         (latexParagraphs): adjust
9889
9890         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9891         (cutSelection): adjust
9892         (pasteSelection): adjust
9893
9894         * BufferView_pimpl.C (insertInset): adjust
9895
9896 2003-03-05  Angus Leeming  <leeming@lyx.org>
9897
9898         * commandtags.h:
9899         * LyXAction.C (init):
9900         * BufferView_pimpl.C (dispatch):
9901         * lyxfunc.C (getStatus):
9902         remove LFUN_CHILD_INSERT.
9903
9904         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9905
9906 2003-03-05  Angus Leeming  <leeming@lyx.org>
9907
9908         * commandtags.h:
9909         * LyXAction.C (init):
9910         * src/factory.C (createInset):
9911         * lyxfunc.C (getStatus):
9912         * text3.C (dispatch):
9913         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9914
9915         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9916
9917 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9918
9919         * ParagraphList.C (insert): handle insert right before end()
9920         (erase): fix cases where it can be first or last paragraph.
9921
9922 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9923
9924         * paragraph_funcs.C (TeXEnvironment): remove all usage of
9925         Paragraph::next and Paragraph::previous
9926         (TeXOnePar): ditto
9927
9928         * text.C (breakParagraph): adjust
9929
9930         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9931         BufferParams& as arg.
9932         (breakParagraph): use ParagraphList::insert
9933         (breakParagraphConservative): take a Buffer* instead of a
9934         BufferParams& as arg.
9935         (breakParagraphConservative): use ParagraphList::insert.
9936
9937         * buffer.C (insertStringAsLines): un-const it
9938         (insertStringAsLines): adjust
9939
9940         * ParagraphList.C (insert): new function
9941
9942         * CutAndPaste.C (pasteSelection): adjust
9943
9944         * text.C (backspace): adjust
9945
9946         * tabular.C (SetMultiColumn): adjust
9947
9948         * CutAndPaste.C (cutSelection): adjust
9949         (pasteSelection): adjust
9950
9951         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9952         Buffer const * as arg
9953
9954         * ParagraphList.C (erase): new function
9955         * paragraph_funcs.C (mergeParagraph): use it
9956         (mergeParagraph): make it take a Buffer* instead of a
9957         BufferParams* as arg
9958
9959         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9960         as arg
9961         (breakParagraphConservative): ditto
9962
9963         * paragraph.h: remove the breakParagraph friend
9964
9965         * paragraph.C (eraseIntern): new function
9966         (setChange): new function
9967
9968         * paragraph_funcs.C (mergeParagraph): make it take a
9969         ParagraphList::iterator instead of a Paragraph *, adjust
9970         accordingly.
9971
9972         * paragraph.h: move an #endif so that the change tracking stuff
9973         also works in the NO_NEXT case.
9974
9975 2003-03-04  Angus Leeming  <leeming@lyx.org>
9976
9977         * commandtags.h:
9978         * LyXAction.C: new LFUN_INSET_MODIFY.
9979
9980         * BufferView_pimpl.C (dispatch): if an inset is found to be open
9981         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9982
9983 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9984
9985         * several files: ws changes only
9986
9987         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9988         (TeXEnvironment): ditto
9989         (TeXDeeper): ditto
9990
9991         * buffer.C (makeLaTeXFile): adjust
9992         (latexParagraphs): make it take ParagraphList::iterator as args
9993
9994 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9995
9996         * buffer.C (latexParagraphs): adjust
9997
9998         * paragraph.C (TeXOnePar): move function...
9999         (optArgInset): move function...
10000         (TeXEnvironment): move function...
10001         * paragraph_pimpl.C (TeXDeeper): move function...
10002         * paragraph_funcs.C: ...here
10003
10004         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
10005
10006 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10007
10008         * buffer.C (readInset): remove compability code for old Figure and
10009         InsetInfo insets
10010
10011 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10012
10013         * buffer.C: ws changes
10014         (readInset):
10015
10016         * BufferView_pimpl.C: ditto
10017         * author.C: ditto
10018         * buffer.h: ditto
10019         * bufferlist.h: ditto
10020         * changes.h: ditto
10021         * lyxfunc.C: ditto
10022
10023 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
10024
10025         * converter.[Ch]: split into itself +
10026         * graph.[Ch]
10027         * format.[Ch]
10028         * Makefile.am: += graph.[Ch] + format.[Ch]
10029         * MenuBackend.C
10030         * buffer.C
10031         * exporter.C
10032         * importer.C
10033         * lyx_main.C
10034         * lyxfunc.C
10035         * lyxrc.C: added #include "format.h"
10036
10037 2003-02-27  Angus Leeming  <leeming@lyx.org>
10038
10039         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
10040           a label.
10041
10042         * factory.C (createInset): add "label" to the factory.
10043
10044         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
10045           string and do no more.
10046
10047 2003-02-27  Angus Leeming  <leeming@lyx.org>
10048
10049         * commandtags.h:
10050         * LyXAction.C (init):
10051         * factory.C (createInset):
10052         * BufferView_pimpl.C (dispatch):
10053           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
10054
10055         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
10056
10057         * lyxfunc.C (dispatch):
10058         * text3.C (dispatch): pass name to params2string.
10059
10060 2003-02-26  Angus Leeming  <leeming@lyx.org>
10061
10062         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
10063           blocks together.
10064           Rearrange the ~includes. Strip out the unnecessary ones.
10065
10066         * factory.C (createInset): reformat.
10067           create new insets for the various LFUN_XYZ_APPLY lfuns.
10068
10069 2003-02-26  John Levon  <levon@movementarian.org>
10070
10071         * lyxrow.h:
10072         * lyxrow.C: add isParStart,isParEnd helpers
10073
10074         * paragraph.h: make isInserted/DeletedText take refs
10075
10076         * paragraph_funcs.h:
10077         * paragraph_funcs.C: remove #if 0'd code
10078
10079         * lyxtext.h:
10080         * text3.C:
10081         * text2.C:
10082         * text.C: use lyxrow helpers above.
10083           Move draw and paint routines to RowPainter.
10084           Make several methods use refs not pointers.
10085           Make backgroundColor() const.
10086           Add markChangeInDraw(), isInInset().
10087           Merge changeRegionCase into changeCase.
10088           Make workWidth() shouldn't-happen code into an Assert.
10089
10090         * rowpainter.h:
10091         * rowpainter.C: new class for painting a row.
10092
10093         * vspace.h:
10094         * vspace.C: make inPixels take a ref
10095
10096 2003-02-26  Angus Leeming  <leeming@lyx.org>
10097
10098         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
10099         LFUN_REF_APPLY.
10100
10101 2003-02-25  John Levon  <levon@movementarian.org>
10102
10103         * ispell.C: give the forked command a more accurate name
10104
10105 2003-02-22  John Levon  <levon@movementarian.org>
10106
10107         * toc.h:
10108         * toc.C: make TocItem store an id not a Paragraph *
10109           (bug #913)
10110
10111 2003-02-21  Angus Leeming  <leeming@lyx.org>
10112
10113         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
10114           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
10115           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
10116           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
10117           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
10118           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
10119
10120         * BufferView_pimpl.C (dispatch):
10121         * LyXAction.C (init):
10122         * factory.C (createInset):
10123         * lyxfunc.C (getStatus, dispatch):
10124         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
10125
10126 2003-02-21  Angus Leeming  <leeming@lyx.org>
10127
10128         * BufferView_pimpl.C (MenuInsertLyXFile):
10129         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
10130         * lyxfunc.C (menuNew, open, doImport):
10131           no longer pass a LyXView & to fileDlg.
10132
10133 2003-02-21  Angus Leeming  <leeming@lyx.org>
10134
10135         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
10136         * LyXAction.C: change, BIBKEY to BIBITEM.
10137         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
10138         Change InsetBibKey to InsetBibitem.
10139         Change BIBKEY_CODE to BIBITEM_CODE.
10140         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10141         * factory.C: replace insetbib.h with insetbibitem.h.
10142         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10143         * paragraph.C: replace insetbib.h with insetbibitem.h.
10144         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
10145         Change bibkey() to bibitem().
10146         * text.C: remove insetbib.h.
10147         * text2.C: replace insetbib.h with insetbibitem.h.
10148         change bibkey() to bibitem().
10149         * text3.C: remove insetbib.h.
10150         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10151
10152 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10153
10154         * lyxrc.C (output): enclose user email in quotes (in case there are
10155         several words)
10156
10157 2003-02-18  John Levon  <levon@movementarian.org>
10158
10159         * buffer.h: add std::
10160
10161 2003-02-17  John Levon  <levon@movementarian.org>
10162
10163         * SpellBase.h:
10164         * ispell.h:
10165         * ispell.C:
10166         * pspell.h:
10167         * pspell.C: reworking. Especially in ispell, a large
10168           number of clean ups and bug fixes.
10169
10170         * lyxfunc.C: fix revert to behave sensibly
10171
10172 2003-02-17 André Pönitz <poenitz@gmx.net>
10173
10174         * LyXAction.C:
10175         * commandtags.h: new LFUN_INSERT_BIBKEY
10176
10177         * layout.h:
10178         * lyxlayout.C:
10179         * buffer.C:
10180         * factory.C:
10181         * text.C:
10182         * text2.C:
10183         * text3.C:
10184         * paragraph.[Ch]:
10185         * paragraph_func.C: remove special bibkey handling
10186
10187 2003-02-17  John Levon  <levon@movementarian.org>
10188
10189         * text.C (Delete): fix case where delete at the end of
10190           the very first paragraph would not merge the pars
10191
10192 2003-02-17  John Levon  <levon@movementarian.org>
10193
10194         * lyxrow.C: fix lastPrintablePos()
10195
10196 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10197
10198         * bufferparams.C (writeLaTeX): add a std:here
10199
10200         * buffer.C: and remove a using directive there
10201
10202 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10203
10204         * buffer.C (makeLaTeXFile): move the code that generates the
10205           preamble...
10206
10207         * bufferparams.C (writeLaTeX): ... in this new method
10208
10209         * LaTeXFeatures.C (getEncodingSet): make const
10210           (getLanguages): make const
10211
10212         * MenuBackend.C (binding): returns the binding associated to this
10213           action
10214           (add): sets the status of each item by calling getStatus. Adds
10215           some intelligence.
10216           (read): add support for OptSubMenu
10217           (expand): remove extra separator at the end of expanded menu
10218
10219 2003-02-15  John Levon  <levon@movementarian.org>
10220
10221         * BufferView.C:
10222         * BufferView_pimpl.C:
10223         * bufferlist.h:
10224         * bufferlist.C: remove pointless BufferStorage bloat. Remove
10225           inset code that had no actual effect. Remove unneeded status
10226           code.
10227
10228 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10229
10230         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10231           in preamble
10232
10233 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
10234
10235         * text.C (drawLengthMarker): also draw an arrow marker for
10236           symbolic lengths (medskip...)
10237
10238 2003-02-14  John Levon  <levon@movementarian.org>
10239
10240         * tabular.h:
10241         * tabular.C: better method names
10242
10243 2003-02-14  John Levon  <levon@movementarian.org>
10244
10245         * BufferView_pimpl.C:
10246         * bufferlist.C:
10247         * buffer.C:
10248         * converter.C:
10249         * lyx_cb.C:
10250         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10251           it's a more accurate name. Remove some pointless uses.
10252
10253 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10254
10255         * text2.C (LyXText): change order of initilizers to shut off
10256           warnings
10257
10258 2003-02-14  John Levon  <levon@movementarian.org>
10259
10260         * buffer.C: use ParIterator for getParFromID()
10261
10262         * paragraph.h:
10263         * paragraph.C:
10264         * paragraph_pimpl.h:
10265         * paragraph_pimpl.C: remove unused getParFromID()
10266
10267 2003-02-14  John Levon  <levon@movementarian.org>
10268
10269         * buffer.C: remove some very old #if 0'd parse code
10270
10271 2003-02-13  John Levon  <levon@movementarian.org>
10272
10273         * text.h:
10274         * text.C:
10275         * text2.C: move hfillExpansion(), numberOfSeparators(),
10276           rowLast(), rowLastPrintable(), numberofHfills(),
10277           numberOfLabelHfills() ...
10278
10279         * lyxrow.h:
10280         * lyxrow.C: ... to member functions here.
10281
10282         * paragraph.h:
10283         * paragraph.C:
10284         * lyxtext.h:
10285         * text.C: remove LyXText::beginningOfMainBody(), and call
10286           p->beginningOfMainBody() directly. Move the check for
10287           LABEL_MANUAL into the latter.
10288
10289         * text.h:
10290         * text.C:
10291         * text2.C:
10292         * vspace.C:
10293         * BufferView.h:
10294         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10295
10296         * text.h:
10297         * text.C:
10298         * text2.C:
10299         * text3.C:
10300         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10301           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10302
10303 2003-02-13  John Levon  <levon@movementarian.org>
10304
10305         * CutAndPaste.C: remove debug
10306
10307 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10308
10309         * paragraph.C (asString): remove two unused variables
10310
10311         * lyxtextclass.C (readTitleType):
10312           (Read):
10313           (LyXTextClass): handle new members titletype_ and titlename_
10314
10315         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10316
10317 2003-02-09  John Levon  <levon@movementarian.org>
10318
10319         * buffer.h:
10320         * buffer.C: replace hand-coded list with a map for the dep clean
10321
10322 2003-02-08  John Levon  <levon@movementarian.org>
10323
10324         * LaTeX.C: consolidate code into showRunMessage() helper
10325
10326 2003-02-08  John Levon  <levon@movementarian.org>
10327
10328         * lyxfind.C:
10329         * lyxtext.h:
10330         * text2.C:
10331         * BufferView.C: change setSelectionOverString() to setSelectionRange()
10332           and pass the size in explicitly
10333
10334         * BufferView_pimpl.h:
10335         * BufferView_pimpl.C:
10336         * BufferView.h:
10337         * BufferView.C: add getCurrentChange()
10338
10339         * BufferView_pimpl.h:
10340         * BufferView_pimpl.C: handle change lfuns
10341
10342         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10343           for changes. Mark pasted paragraphs as new.
10344
10345         * support/lyxtime.h:
10346         * support/lyxtime.C:
10347         * DepTable.C: abstract time_t as lyx::time_type
10348
10349         * LColor.h:
10350         * LColor.C: add colours for new text, deleted text, changebars
10351
10352         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10353           package use "usenames" option.
10354
10355         * commandtags.h:
10356         * lyxfunc.C:
10357         * LyXAction.C: add change lfuns
10358
10359         * Makefile.am:
10360         * author.h:
10361         * author.C: author handling
10362
10363         * buffer.h:
10364         * buffer.C: add a per-buffer author list, with first entry as
10365           current author. Handle new .lyx tokens for change tracking. Output
10366           author list to .lyx file. Output dvipost stuff to .tex preamble.
10367           Bump lyx format to 222.
10368
10369         * bufferlist.h:
10370         * bufferlist.C: add setCurrentAuthor() to reset current author details
10371           in all buffers.
10372
10373         * bufferparams.h:
10374         * bufferparams.C: add param for tracking
10375
10376         * bufferview_funcs.C: output change info in minibuffer
10377
10378         * Makefile.am:
10379         * changes.h:
10380         * changes.C: add change-tracking structure
10381
10382         * debug.h:
10383         * debug.C: add CHANGES debug flag
10384
10385         * lyxfind.h:
10386         * lyxfind.C: add code for finding the next change piece
10387
10388         * lyxrc.h:
10389         * lyxrc.C: add user_name and user_email
10390
10391         * lyxrow.h:
10392         * lyxrow.C: add a metric for the top of the text line
10393
10394         * lyxtext.h:
10395         * text.C: implement accept/rejectChange()
10396
10397         * lyxtext.h:
10398         * text.C: paint changebars. Paint new/deleted text in the chosen
10399         colours. Strike through deleted text.
10400
10401         * paragraph.h:
10402         * paragraph.C:
10403         * paragraph_pimpl.h:
10404         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10405           in the current change to the insert functions. Rework erase to
10406           mark text as deleted, adding an eraseIntern() and a range-based
10407           erase(). Implement per-paragraph change lookup and
10408           accept/reject.
10409
10410         * paragraph_funcs.C: Fixup paste for change tracking.
10411
10412         * tabular.C: mark added row/columns as new.
10413
10414         * text.C: fix rowLast() to never return -1. Don't allow
10415           spellchecking of deleted text. Track transpose changes. Don't
10416           allow paragraph break or merge where appropriate.
10417
10418         * text2.C: leave cursor at end of selection after a cut.
10419
10420 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10421
10422         * text.C (getLengthMarkerHeight):
10423         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10424         visible on screen too.
10425
10426 2003-02-07  John Levon  <levon@movementarian.org>
10427
10428         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10429
10430 2003-02-05  Angus Leeming  <leeming@lyx.org>
10431
10432         * lyxserver.C (read_ready): revert my patch of 11 September last year
10433         as it sends PC cpu through the roof. Presumably this means that
10434         the lyxserver will no longer run on an Alpha...
10435
10436 2003-01-30  Angus Leeming  <leeming@lyx.org>
10437
10438         * factory.C (createInset): create an InsetCommandParam of type "index"
10439         and use it to 'do the right thing'.
10440
10441         * text2.C (getStringToIndex): ensure that cursor position is always
10442         reset to the reset_cursor position.
10443
10444 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10445
10446         * lyxfunc.C (getStatus): "buffer-export custom" should never be
10447         disabled.
10448
10449 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
10450
10451         * bufferview.C:
10452         * lyxcb.C:
10453         * lyxfunc.C: Output messages with identical spelling, punctuation,
10454         and spaces
10455
10456 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
10457
10458         * MenuBackend.C (expandFormats): List only viewable export formats
10459         in "View" menu
10460
10461         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10462         message
10463
10464         * lyxfunc.C (getStatus): Make sure that formats other than
10465         "fax" can also be disabled
10466
10467 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10468
10469         * text3.C (dispatch): put the lfuns that insert insets in 3
10470         groups, and call doInsertInset with appropriate arguments.
10471         (doInsertInset): new function, that creates an inset and inserts
10472         it according to some boolean parameters.
10473
10474 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
10475
10476         * buffer.C (readFile): remember to pass on 'par' when calling
10477         readFile recursively.
10478
10479 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10480
10481         * MenuBackend.C (expandFormats): add "..." to import formats.
10482
10483 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
10484
10485         * paragraph.C (asString): Remove XForms RTL hacks.
10486
10487 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
10488         * buffer.C: fix typo
10489
10490 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10491
10492         * Makefile.am (LIBS): delete var
10493         (lyx_LDADD): add @LIBS@ here instead.
10494
10495 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
10496
10497         * Clarify the meaning of "wheel mouse jump"
10498
10499 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10500
10501         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10502         tabular in a float
10503
10504 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10505
10506         * importer.C (Loaders): do not preallocate 3 elements in the
10507         vector, since one ends up with 6 elements otherwise
10508
10509 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10510
10511         * DepTable.C (write): write the file name as last element of the
10512         .dep file (because it may contain spaces)
10513         (read): read info in the right order
10514
10515 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10516
10517         * paragraph_pimpl.C (simpleTeXBlanks):
10518         (simpleTeXSpecialChars):
10519         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10520
10521         * tabular.C (latex): add some missing case statements. Reindent.
10522
10523         * MenuBackend.C (expandToc): remove unused variable.
10524
10525 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
10526
10527         * LColor.C:
10528         * LaTeX.C:
10529         * LyXAction.C:
10530         * MenuBackend.C:
10531         * buffer.C:
10532         * exporter.C:
10533         * lyxfunc.C:
10534         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10535         and the like.
10536
10537 2003-01-05  John Levon  <levon@movementarian.org>
10538
10539         * BufferView.h:
10540         * BufferView.C: add getEncoding()
10541
10542         * kbsequence.h:
10543         * kbsequence.C: do not store last keypress
10544
10545         * lyxfunc.h:
10546         * lyxfunc.C: store last keypress here instead. Pass encoding
10547           to getISOEncoded()
10548
10549 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10550
10551         * lyx_main.C (init): remove annoying error message when following
10552         symbolic links (bug #780)
10553
10554 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10555
10556         * text.C (insertChar):
10557         * lyxrc.C (getDescription): remove extra spaces
10558
10559 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10560
10561         * lyxrc.C (getDescription): remove extra spaces
10562
10563 2002-12-20  John Levon  <levon@movementarian.org>
10564
10565         * text3.C: hack fix for page up/down across tall rows
10566
10567 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10568
10569         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10570         not been invoked
10571
10572 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10573
10574         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10575         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10576         thesaurus is not compiled in
10577
10578 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
10579
10580         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
10581
10582 2002-12-16  Angus Leeming  <leeming@lyx.org>
10583
10584         * lyxrc.[Ch]:
10585         * lyx_main.C (init): remove override_x_deadkeys stuff.
10586
10587 2002-12-12  John Levon  <levon@movementarian.org>
10588
10589         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10590           insert. Only remove shift modifier under strict
10591           circumstances.
10592
10593 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
10594
10595         * MenuBackend.C (expandToc): fix crash.
10596
10597 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
10598
10599         * MenuBackend.C (expandToc): gettext on float names.
10600
10601 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
10602
10603         * lyxlength.[Ch]: set default unit to UNIT_NONE,
10604         implement bool empty() [bug 490]
10605
10606 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10607
10608         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10609
10610 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10611
10612         * several files: ws changes
10613
10614 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10615
10616         * text2.C (setCounter): clean up a bit, use boost.format.
10617         (updateCounters): initialize par upon declaration.
10618
10619         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10620         if the layout exists. We do not just store the layout any more.
10621         (SwitchLayoutsBetweenClasses): use boost.format
10622
10623 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10624
10625         * converter.C (convert): if from and to files are the same, use a
10626         temporary files as intermediary
10627
10628 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10629
10630         * commandtags.h:
10631         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10632
10633 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10634
10635         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10636
10637 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
10638
10639         * tabular.C (asciiPrintCell): use string(size, char) instead of
10640         explicit loop.
10641
10642         * sgml.C (openTag): fix order of arguments to string constructor
10643         (closeTag): ditto
10644
10645         * lyxfunc.C (dispatch): use boost.format
10646
10647         * lots of files: change "c" -> 'c'
10648
10649 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10650
10651         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10652
10653 2002-11-25  Angus Leeming  <leeming@lyx.org>
10654
10655         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10656
10657         * lyx_main.C (init): compile fix.
10658
10659 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
10660
10661         * lyx_cb.C (start): boost.formatify
10662         do not include <iostream>
10663
10664         * lengthcommon.C: ws only
10665
10666         * boost-inst.C,BoostFormat.h: add more explict instantations
10667
10668 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
10669
10670         * lots of files: handle USE_BOOST_FORMAT
10671
10672 2002-11-21  John Levon  <levon@movementarian.org>
10673
10674         * pspell.C: fix compile
10675
10676 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10677
10678         * lyxfunc.C (dispatch): use boost::format
10679         (open): ditto
10680         (doImport): ditto
10681
10682         * lyxfont.C (stateText): use boost::format
10683
10684         * lyx_main.C (LyX): use boost::format
10685         (init): ditto
10686         (queryUserLyXDir): ditto
10687         (readRcFile): ditto
10688         (parse_dbg): ditto
10689         (typedef boost::function): use the recommened syntax.
10690
10691         * importer.C (Import): use boost::format
10692
10693         * debug.C (showLevel): use boost::format
10694
10695         * converter.C (view): use boost::format
10696         (convert): ditto
10697         (move): ditto
10698         (scanLog): ditto
10699
10700         * bufferview_funcs.C (currentState): use boost::format
10701
10702         * bufferlist.C (emergencyWrite): use boost::format
10703
10704         * buffer.C (readLyXformat2): use boost::format
10705         (parseSingleLyXformat2Token): ditto
10706
10707         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10708
10709         * LaTeX.C (run): use boost::format
10710
10711         * Chktex.C (scanLogFile): use boost::format
10712
10713         * BufferView_pimpl.C (savePosition): use boost::format
10714         (restorePosition): ditto
10715         (MenuInsertLyXFile): ditto
10716
10717         * BoostFormat.h: help file for explicit instation.
10718
10719 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
10720
10721         * tabular.C (latex): Support for block alignment in fixed width
10722         columns.
10723
10724 2002-11-17  John Levon  <levon@movementarian.org>
10725
10726         * BufferView_pimpl.C:
10727         * lyx_cb.C:
10728         * lyxfunc.C: split filedialog into open/save
10729
10730 2002-11-08  Juergen Vigna  <jug@sad.it>
10731
10732         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10733         by my last patch (hopefully).
10734
10735 2002-11-08  John Levon  <levon@movementarian.org>
10736
10737         * iterators.h:
10738         * iterators.C:
10739         * buffer.h:
10740         * buffer.C:
10741         * paragraph.h:
10742         * paragraph.C:
10743         * toc.h:
10744         * toc.C: ParConstIterator, and use it (from Lars)
10745
10746 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
10747
10748         * lyxtextclass.[Ch]: revise and add doxygen comments
10749
10750 2002-11-07  John Levon  <levon@movementarian.org>
10751
10752         * text.C: fix progress value for spellchecker
10753
10754         * toc.C: fix navigate menu for insetwrap inside minipage
10755
10756         * paragraph_funcs.C: added FIXME for suspect code
10757
10758 2002-11-07  John Levon  <levon@movementarian.org>
10759
10760         * BufferView_pimpl.C: fix redrawing of insets
10761           on buffer switch
10762
10763 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10764
10765         * text2.C (updateCounters): fix bug 668
10766
10767 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
10768
10769         * text3.C (dispatch): Do not make the buffer dirty when moving the
10770         cursor.
10771
10772 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10773
10774         * vc-backend.C: STRCONV
10775         (scanMaster): ditto
10776
10777         * text2.C (setCounter): STRCONV
10778
10779         * paragraph.C (asString): STRCONV
10780
10781         * lyxlength.C (asString): STRCONV
10782         (asLatexString): ditto
10783
10784         * lyxgluelength.C (asString): STRCONV
10785         (asLatexString): ditto
10786
10787         * lyxfunc.C (dispatch): STRCONV
10788         (open): ditto
10789
10790         * lyxfont.C (stateText): STRCONV
10791
10792         * importer.C (Import): STRCONV
10793
10794         * counters.C (labelItem): STRCONV
10795         (numberLabel): ditto
10796         (numberLabel): remove unused ostringstream o
10797
10798         * chset.C: STRCONV
10799         (loadFile): ditto
10800
10801         * bufferview_funcs.C (currentState): STRCONV
10802
10803         * buffer.C (readFile): STRCONV
10804         (asciiParagraph): ditto
10805         (makeLaTeXFile): ditto
10806
10807         * Spacing.C (writeEnvirBegin): STRCONV
10808
10809         * LaTeXFeatures.C (getLanguages): STRCONV
10810         (getPackages): ditto
10811         (getMacros): ditto
10812         (getBabelOptions): ditto
10813         (getTClassPreamble): ditto
10814         (getLyXSGMLEntities): ditto
10815         (getIncludedFiles): ditto
10816
10817         * LaTeX.C: STRCONV
10818         (run): ditto
10819         (scanAuxFile): ditto
10820         (deplog): ditto
10821
10822         * LString.h: add the STRCONV macros
10823
10824         * BufferView_pimpl.C (savePosition): STRCONV
10825         (restorePosition): ditto
10826         (MenuInsertLyXFile): ditto
10827
10828         * vc-backend.C (scanMaster): change from submatch[...] to
10829         submatch.str(...)
10830
10831         * funcrequest.C: include config.h
10832
10833         * factory.C: include config.h
10834
10835         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10836
10837         * box.C: include config.h
10838
10839         * LaTeX.C (scanAuxFile): change from submatch[...] to
10840         submatch.str(...)
10841         (deplog): ditto
10842
10843 2002-10-25  Angus Leeming  <leeming@lyx.org>
10844
10845         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10846
10847         * ispell.[Ch] (setError): new method.
10848         * ispell.C (c-tor): move out child process into new class LaunchIspell.
10849         Use setError() insetead of goto END.
10850
10851         * lyx_cb.C (AutoSave): move out child process into new class
10852         AutoSaveBuffer.
10853
10854 2002-10-30  John Levon  <levon@movementarian.org>
10855
10856         * text3.C: make start appendix undoable
10857
10858 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
10859
10860         * lyxlength.C (inPixels): Fix returned value.
10861
10862         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10863         environment.
10864
10865 2002-10-24  Angus Leeming  <leeming@lyx.org>
10866
10867         * lyxgluelength.h: no need to forward declare BufferParams
10868         or BufferView, so don't.
10869
10870 2002-10-21  John Levon  <levon@movementarian.org>
10871
10872         * BufferView.C: menuUndo ->undo, redo
10873
10874         * BufferView.h: document, remove dead, make some methods private
10875
10876         * paragraph_funcs.h:
10877         * paragraph_funcs.C:
10878         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10879
10880         * buffer.h:
10881         * buffer.C:
10882         * sgml.h:
10883         * sgml.C: move sgml open/close tag into sgml.C
10884
10885         * bufferview_funcs.h: unused prototype
10886
10887         * lyxfunc.h:
10888         * lyxfunc.C: remove unused
10889
10890         * lyxtext.h:
10891         * text.C: remove unused
10892
10893 2002-10-21  John Levon  <levon@movementarian.org>
10894
10895         * BufferView.h:
10896         * BufferView.C:
10897         * BufferView_pimpl.h:
10898         * BufferView_pimpl.C: fix mouse wheel handling based on
10899           patch from Darren Freeman
10900
10901 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
10902
10903         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10904
10905 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
10906
10907         * lyxlength.C (inPixels): Fix hanfling of negative length.
10908         Fix LyXLength::MU case.
10909
10910 2002-10-16  John Levon  <levon@movementarian.org>
10911
10912         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10913
10914 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10915
10916         * converter.C (view): add support for $$i (file name) and $$p
10917         (file path) for the viewer command. If $$i is not specified, then
10918         it is appended to the command (for compatibility with old syntax)
10919
10920 2002-10-14  Juergen Vigna  <jug@sad.it>
10921
10922         * undo_funcs.C (textHandleUndo): alter the order in which the
10923         new undopar is added to the LyXText, as we have to set first
10924         the right prev/next and then add it as otherwise the rebuild of
10925         LyXText is not correct. Also reset the cursor to the right paragraph,
10926         with this IMO we could remove the hack in "redoParagraphs()".
10927
10928 2002-10-09  Angus Leeming  <leeming@lyx.org>
10929
10930         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10931         to turn off an optimisation if a new inset is to be inserted.
10932
10933 2002-10-11 André Pönitz <poenitz@gmx.net>
10934
10935         * lyxtext.h: make some functions public to allow access
10936         from inset/lyxtext for handling LFUN_PRIOR/NEXT
10937
10938 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10939
10940         * text3.C (dispatch): when changing layout, avoid an infinite loop
10941         [bug #652]
10942
10943 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10944
10945         * lyxrc.C (read): treat a viewer or converter command of "none" as
10946         if it were empty.
10947
10948         * MenuBackend.C (expandFormats): for an update, also allow the
10949         formats that are not viewable
10950
10951         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10952         script if it is newer than the lyxrc.defaults in user directory
10953
10954 2002-10-07 André Pönitz <poenitz@gmx.net>
10955
10956         * text.C: Vitaly Lipatov's small i18n fix
10957
10958 2002-09-25  Angus Leeming  <leeming@lyx.org>
10959
10960         * ispell.h: doxygen fix.
10961
10962 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
10963
10964         * buffer.h (readFile): Add a new argument to the method, to allow
10965         reading of old-format templates.
10966
10967 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
10968
10969         * toc.C (getTocList): Get TOC from InsetWrap.
10970
10971 2002-09-16  John Levon  <levon@movementarian.org>
10972
10973         * lyxfunc.C: check tabular for cut/copy too
10974
10975 2002-09-12  John Levon  <levon@movementarian.org>
10976
10977         * LyXAction.C: tidy
10978
10979         * factory.h:
10980         * factory.C: add header
10981
10982         * paragraph_funcs.h:
10983         * paragraph_funcs.C: cleanup
10984
10985 2002-09-11  John Levon  <levon@movementarian.org>
10986
10987         * PrinterParams.h: odd/even default to true
10988
10989 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
10990
10991         * PrinterParams.h: update printer parameters for new xforms dialog
10992
10993 2002-09-11  Angus Leeming  <leeming@lyx.org>
10994
10995         * lyxserver.C (read_ready): re-write to make it more transparent
10996         and to make it work in coherent fashion under Tru64 Unix.
10997
10998 2002-09-11  André Pönitz <poenitz@gmx.net>
10999
11000         * commandtags.h:
11001         * LyXAction.C:
11002         * text3.C: implement LFUN_WORDSEL
11003
11004 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11005
11006         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
11007         make floatlist_ a boost::shared_ptr<FloatList>
11008
11009         * lyxtextclass.C: include FloatList.h
11010         (LyXTextClass): initialize floatlist_
11011         (TextClassTags): add TC_NOFLOAT
11012         (Read): match "nofloat" to TC_NOFLOAT and use it.
11013         (readFloat): modify call to floatlist_
11014         (floats): ditto
11015         (floats): ditto
11016
11017         * FloatList.[Ch] (FloatList): remove commented out float
11018         initialization.
11019         (erase): new function
11020
11021 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11022
11023         * MenuBackend.C (expandToc): fix crash when there is no document
11024         open
11025
11026 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
11027
11028         * many files: Add insetwrap.
11029
11030 2002-09-09  John Levon  <levon@movementarian.org>
11031
11032         * text2.C: remove confusing and awkward depth wraparound
11033
11034 2002-09-09  John Levon  <levon@movementarian.org>
11035
11036         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
11037
11038         * buffer.h:
11039         * buffer.C: remove getIncludeonlyList()
11040
11041         * paragraph.C:
11042         * lyxfunc.C: remove headers
11043
11044 2002-09-09  Juergen Vigna  <jug@sad.it>
11045
11046         * text.C (getColumnNearX): fix form Michael this is most
11047         probably a cut&paste bug.
11048
11049 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
11050
11051         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
11052
11053         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
11054         references, ws changes.
11055
11056         * text2.C (init): update counters after init
11057         (insertParagraph): no need to set counter on idividual paragraphs.
11058         (setCounter): access the counters object in the textclass object
11059         on in the buffer object.
11060         (updateCounters): ditto
11061
11062         * lyxtextclass.C: include counters.h, add variable ctrs_ as
11063         shared_ptr<Counters> to avoid loading counters.h in all
11064         compilation units.
11065         (LyXTextClass): initialize ctrs_
11066         (TextClassTags): add TC_COUNTER, and ...
11067         (Read): use it here.
11068         (CounterTags): new tags
11069         (readCounter): new function
11070         (counters): new funtion
11071         (defaultLayoutName): return a const reference
11072
11073         * counters.C (Counters): remove contructor
11074         (newCounter): remove a couple of unneeded statements.
11075         (newCounter): simplify a bit.
11076         (numberLabel): some small formatting changes.
11077
11078         * buffer.[Ch]: remove all traces of counters, move the Counters
11079         object to the LyXTextClass.
11080
11081 2002-09-06  Alain Castera  <castera@in2p3.fr>
11082
11083         * tabular.C: uses \tabularnewline; uses >{...} construct from array
11084         package to set the horizontal alignment on fixed width columns.
11085
11086         * lyx_sty.C:
11087         * lyx_sty.h: added tabularnewline macro def.
11088
11089         * LaTeXFeatures.C: added NeedTabularnewline macro feature
11090
11091 2002-09-06  John Levon  <levon@movementarian.org>
11092
11093         * LyXAction.C: tooltips for sub/superscript
11094
11095         * MenuBackend.C: a bit more verbose
11096
11097         * lyxfunc.C: tiny clean
11098
11099         * undo_funcs.C: document undo_frozen
11100
11101 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
11102
11103         * counters.C (Counters): add missing algorithm counter.
11104
11105         * text2.C (setCounter): lookup the counter with layouts latexname
11106         instead of by section number.
11107         (setCounter): use a hackish way to lookup the correct enum
11108         counter.
11109         a float name->type change
11110         reset enum couners with counter name directly instead of depth value.
11111
11112         * counters.C (Counters): remove the push_backs, change to use the
11113         float type not the float name.
11114         (labelItem): remove unused string, float name->type change
11115
11116         * counters.h: don't include vector, loose the enums and sects vectors
11117
11118 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
11119
11120         * lyxtextclass.C (TextClassTags): add TC_FLOAT
11121         (Read): add float->TC_FLOAT to textclassTags
11122         (Read): and handle it in the switch
11123         (readFloat): new function
11124
11125         * FloatList.C (FloatList): comment out the hardcoded float
11126         definitions.
11127
11128         * lyxlayout.h: ws change.
11129
11130 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
11131
11132         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
11133
11134 2002-09-03  Angus Leeming  <leeming@lyx.org>
11135
11136         * BufferView_pimpl.h: qualified name is not allowed in member
11137         declaration: WorkArea & Pimpl::workarea() const;
11138
11139         * factory.C: added using std::endl directive.
11140
11141         * text3.C: added using std::find and std::vector directives.
11142
11143 2002-08-29  André Pönitz <poenitz@gmx.net>
11144
11145         * lyxtext.h:
11146         * text2.C: remove unused member number_of_rows
11147
11148         * Makefile.am:
11149         * BufferView2.C: remove file, move contents to...
11150         * BufferView.C: ... here
11151
11152         * BufferView_pimpl.C:
11153         * factory.C: move more inset creation to factory
11154
11155         * vspace.C: avoid direct usage of LyXText, ws changes
11156
11157         * BufferView.[Ch]:
11158                 don't provide direct access to WorkArea, use two simple
11159                 acessors haveSelction() and workHeight() instead
11160
11161
11162 2002-08-29  John Levon  <levon@movementarian.org>
11163
11164         * BufferView_pimpl.C (dispatch): do not continue when
11165           no buffer
11166
11167 2002-08-28  André Pönitz <poenitz@gmx.net>
11168
11169         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
11170
11171         * BufferView.h:
11172         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
11173
11174 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
11175
11176         * buffer.C: increment LYX_FORMAT to 221
11177
11178         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
11179         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
11180
11181         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
11182
11183         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
11184
11185 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11186
11187         * factory.C (createInset): use LyXTextClass::floats
11188
11189         * MenuBackend.C (expandFloatListInsert):
11190         (expandFloatInsert):
11191         (expandToc):
11192
11193         * text2.C (setCounter):
11194
11195         * LaTeXFeatures.C (useFloat):
11196         (getFloatDefinitions):
11197
11198         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
11199
11200         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
11201         floatlist_, with accessor floats().
11202
11203         * FloatList.h: remove global FloatList
11204
11205 2002-08-26  André Pönitz <poenitz@gmx.net>
11206
11207         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
11208
11209         * BufferView.h:
11210         * BufferView2.C:
11211         * BufferView_pimpl.C:
11212         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
11213
11214 2002-08-25  John Levon  <levon@movementarian.org>
11215
11216         * LyXAction.C: fix margin note description
11217
11218 2002-08-24  John Levon  <levon@movementarian.org>
11219
11220         * buffer.C:
11221         * bufferlist.C:
11222         * bufferview_funcs.C:
11223         * lyxfont.C:
11224         * undo_funcs.C: cleanups
11225
11226         * lyxfunc.C: disable CUT/COPY when no selection
11227
11228 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
11229
11230         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11231         in "enum UNIT"; e.g. PTW for Percent of TextWidth
11232
11233         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11234         Add backward compatibility to "mono", "gray" and "no".
11235
11236 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
11237
11238         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11239         (and file_format >= 200).
11240
11241 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11242
11243         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11244
11245 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11246
11247         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11248
11249 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
11250
11251         * BufferView_pimpl.C:
11252         * LyXAction.C:
11253         * buffer.C:
11254         * commandtags.h:
11255         * lyxfunc.C:
11256         * paragraph.[Ch]:
11257         * text2.C:
11258         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11259         inset and code to make it  work with the paragraph code. The inset
11260         can be anywhere in the paragraph, but will only do the expected
11261         thing in LaTeX if the layout file contains the parameter line
11262                         OptionalArgs    1
11263         (or more generally, a nonzero value) for that layout.
11264
11265 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
11266
11267         * paragraph.h: remove the declaration of undefined counters class
11268         function.
11269
11270 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
11271
11272         * text2.C (setCounter):  fixed enumeration mis-count as reported by
11273         Dr. Richard Hawkins.
11274
11275 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11276
11277         * paragraph_funcs.h: remove some unneeded includes
11278
11279         * text.C (backspace): pasteParagraph now in global scipe
11280
11281         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11282         (pasteSelection): ditto
11283
11284         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11285         * paragraph_funcs.C (pasteParagraph): ... here
11286
11287 2002-08-20  André Pönitz <poenitz@gmx.net>
11288
11289         * commandtags.h: new LFUNs for swapping/copying table row/colums
11290
11291         * LyXAction.C:
11292         * lyxfunc.C: support for new lfuns
11293
11294 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
11295
11296         * tabular.C:
11297         * buffer.[Ch]: remove NO_COMPABILITY stuff
11298
11299 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
11300
11301         * boost.C (throw_exception): new file, with helper function for
11302         boost compiled without exceptions.
11303
11304         * paragraph.h:
11305         * lyxlength.C:
11306         * buffer.C:
11307         * ParameterStruct.h:
11308         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11309
11310         * bufferlist.C (emergencyWriteAll): use boost bind
11311
11312         * BufferView_pimpl.C (moveCursorUpdate): remove inline
11313
11314         * text.C: include paragraph_funcs.h
11315         (breakParagraph): breakParagraph is now in global scope
11316
11317         * paragraph_funcs.[Ch]: new files
11318
11319         * paragraph.C (breakParagraph,breakParagraphConservative): move to
11320         global scope
11321
11322         * buffer.C: include paragraph_funcs.h
11323         (insertStringAsLines): breakParagraph is now in global scope
11324
11325         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11326         paragraph_funcs.C
11327
11328         * CutAndPaste.C: include paragraph_funcs.h
11329         (cutSelection): breakParagraphConservative is now in global scope
11330         (pasteSelection): ditto
11331
11332         * buffer.h: declare oprator== and operator!= for
11333         Buffer::inset_iterator
11334
11335         * bufferlist.C (emergencyWrite): don't use fmt(...)
11336
11337         * text3.C: add using std::endl
11338
11339         * BufferView.C (moveCursorUpdate): remove default arg
11340
11341 2002-08-20  André Pönitz <poenitz@gmx.net>
11342
11343         * buffer.[Ch]: move inline functions to .C
11344
11345         * BufferView2.C:
11346         * BufferView_pimpl.C:
11347         * text.C:
11348         * buffer.[Ch]: use improved inset_iterator
11349
11350         * buffer.C:
11351         * paragraph.[Ch]: write one paragraph at a time
11352
11353 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11354
11355         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11356         style if style is not specified.
11357
11358 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11359
11360         * text2.C (setCounter): when searching for right label for a
11361         caption, make sure to recurse to parent insets (so that a caption
11362         in a minipage in a figure float works) (bug #568)
11363
11364 2002-08-20  André Pönitz <poenitz@gmx.net>
11365
11366         * text3.C: new file for LyXText::dispatch() and helpers
11367
11368         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11369
11370         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11371
11372 2002-08-19  André Pönitz <poenitz@gmx.net>
11373
11374         * lyxtext.h:
11375         * text.C: new LyXText::dispatch()
11376
11377         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11378
11379 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
11380
11381         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11382
11383         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11384         Hebrew text.
11385
11386 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11387
11388         * Makefile.am: use $(variables) instead of @substitutions@
11389
11390 2002-08-15  André Pönitz <poenitz@gmx.net>
11391
11392         * lyxfunc.C:
11393         * BufferView_pimpl.C: streamlining mathed <-> outer world
11394         interaction
11395
11396         * commandtags.h:
11397         * LyXAction.C: remove unused LFUN_MATH
11398
11399 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11400
11401         * paragraph.[Ch]: add some NO_NEXT ifdefs.
11402
11403 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11404
11405         * paragraph.C (Paragraph): reformat a bit
11406         (cutIntoMinibuffer): use builtin InsetList function instad of
11407         doing it manually.
11408         (getInset): ditto
11409
11410         * buffer.C: include boost/bind.hpp, add using std::for_each
11411         (writeFileAscii): use ParagraphList iterators
11412         (validate): use for_each for validate traversal of paragraphs
11413         (getBibkeyList): use ParagraphList iterators
11414         (resizeInsets): use for_each to resizeInsetsLyXText for all
11415         paragraphs.
11416         (getParFromID): use ParagraphList iterators
11417
11418         * BufferView2.C (lockInset): use paragraph list and iterators
11419
11420 2002-08-14  John Levon  <levon@movementarian.org>
11421
11422         * lyxserver.C: remove spurious xforms include
11423
11424 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11425
11426         * lyxfunc.C (getStatus): disable math-extern outside of math mode
11427
11428 2002-08-13  André Pönitz <poenitz@gmx.net>
11429
11430         * LyXAction.[Ch]:
11431         * lyxfunc.C: further cleaning
11432
11433 2002-08-13  André Pönitz <poenitz@gmx.net>
11434
11435         * funcrequest.h: new constructor
11436
11437         * funcrequest.C: move stuff here from .h
11438
11439         * Makefile.am:
11440         * BufferView_pimpl.C:
11441         * LyXAction.C:
11442         * toc.C:
11443         * lyxfunc.C: subsequent changes
11444
11445         * lyxfunc.h: new view() member function
11446
11447         * lyxfunc.C: subsequent changes
11448
11449 2002-08-13  Angus Leeming  <leeming@lyx.org>
11450
11451         * BufferView2.C:
11452         * BufferView_pimpl.C:
11453         * buffer.C:
11454         * converter.C:
11455         * importer.C:
11456         * lyxfunc.C:
11457         * lyxvc.C:
11458         * toc.C:
11459         * vc-backend.C:
11460         changes due to the changed LyXView interface that now returns references
11461         to member variables not pointers.
11462
11463 2002-08-13  Angus Leeming  <leeming@lyx.org>
11464
11465         * WordLangTuple (word, lang_code): return references to strings,
11466         not strings.
11467
11468         * BufferView.h:
11469         * SpellBase.h:
11470         * lyxtext.h: forward-declare WordLangTuple.
11471
11472         * BufferView2.C:
11473         * ispell.C:
11474         * pspell.C:
11475         * text.C: #include "WordLangTuple.h".
11476
11477         * lyxtext.h:
11478         * text.C: (selectNextWordToSpellcheck): constify return type.
11479
11480 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
11481
11482         * buffer.C:
11483         * buffer.h:
11484         * lyxtext.h:
11485         * paragraph.C:
11486         * paragraph_pimpl.h:
11487         * text.C:
11488         * text2.C:
11489         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11490         suggested by Angus.
11491         Made updateCounter always count from start of buffer, and removed
11492         second argument (par).
11493         Reverted floats number display to '#'. Perhaps I'll try again when the
11494         code base is sanitized a bit.
11495
11496 2002-08-12  Angus Leeming  <leeming@lyx.org>
11497
11498         * buffer.[Ch] (getLabelList): constify.
11499
11500 2002-08-07  André Pönitz <poenitz@gmx.net>
11501
11502         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11503
11504         * funcrequest.h: extension to keep mouse (x,y) position
11505
11506 2002-08-12  Juergen Vigna  <jug@sad.it>
11507
11508         * BufferView2.C (insertErrors): forbid undo when inserting error
11509         insets.
11510
11511         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11512
11513 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
11514
11515         * ParagraphList.[Ch]: new files
11516
11517         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11518
11519         * BufferView2.C (lockInset): ParagraphList changes
11520         * toc.C: ditto
11521         * text2.C: ditto
11522         * bufferlist.C: ditto
11523         * buffer.h: ditto
11524         * buffer.C: ditto
11525
11526 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11527
11528         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11529         unused class variable counter_,
11530
11531         * paragraph.[Ch] (getFirstCounter): delete unused function
11532
11533         * counters.C: include LAssert.h
11534         (reset): add a new function with no arg, change other version to
11535         not have def. arg and to not allow empty arg.
11536
11537         * text2.C (setCounter): remove empty arg from call to Counters::reset
11538
11539 2002-08-11  John Levon  <levon@movementarian.org>
11540
11541         * Makefile.am: add WordLangTuple.h
11542
11543 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11544
11545         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11546         lyxfunc.C lyxlex_pimpl.C: ws changes only.
11547
11548         * insets/insettext.C: InsetList changes
11549
11550         * graphics/GraphicsSupport.C (operator()): InsetList changes
11551
11552         * toc.C (getTocList): InsetList changes
11553
11554         * paragraph_pimpl.[Ch]: InsetList changes
11555
11556         * paragraph.[Ch]: InsetList changes
11557
11558         * buffer.C (inset_iterator): InsetList changes
11559         (setParagraph): ditto
11560         * buffer.h (inset_iterator): ditto
11561         * iterators.C (operator++): ditto
11562         * iterators.h: ditto
11563
11564         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11565
11566         * InsetList.[Ch]: new files, most InsetList handling moved out of
11567         paragraph.C.
11568
11569         * BufferView2.C (removeAutoInsets): InsetList changes
11570         (lockInset): ditto
11571         (ChangeInsets): ditto
11572
11573 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
11574
11575         * paragraph_pimpl.h (empty): new function
11576
11577         * paragraph.[Ch] (empty): new function
11578
11579         * other files: use the new Paragraph::empty function
11580
11581 2002-08-09  John Levon  <levon@movementarian.org>
11582
11583         * lyxtext.h: remove unused refresh_height
11584
11585 2002-08-09  John Levon  <levon@movementarian.org>
11586
11587         * Makefile.am:
11588         * sgml.h:
11589         * sgml.C:
11590         * buffer.C:
11591         * paragraph.h:
11592         * paragraph.C: move sgml char escaping out of paragraph
11593
11594         * paragraph.h:
11595         * paragraph.C: remove id setter
11596
11597         * buffer.C:
11598         * paragraph.C:
11599         * paragraph_pimpl.C: remove dead tex_code_break_column
11600
11601         * bufferview_funcs.C: small cleanup
11602
11603         * lyxfunc.C: remove dead proto
11604
11605         * lyxtext.h: make some stuff private. Remove some dead stuff.
11606
11607         * lyxgluelength.C: make as[LyX]String() readable
11608
11609 2002-08-08  John Levon  <levon@movementarian.org>
11610
11611         * LyXAction.h:
11612         * LyXAction.C:
11613         * MenuBackend.C:
11614         * ToolbarDefaults.C:
11615         * lyxfunc.C:
11616         * lyxrc.C:
11617         * toc.C: lyxaction cleanup
11618
11619 2002-08-08  John Levon  <levon@movementarian.org>
11620
11621         * BufferView2.C: small cleanup
11622
11623         * lyxfind.h:
11624         * lyxfind.C: move unnecessary header into the .C
11625
11626 2002-08-08  John Levon  <levon@movementarian.org>
11627
11628         * funcrequest.h: just tedious nonsense
11629
11630         * lyx_main.h:
11631         * lyx_main.C: cleanups
11632
11633         * buffer.C:
11634         * vspace.C: remove dead header lyx_main.h
11635
11636 2002-08-07  Angus Leeming  <leeming@lyx.org>
11637
11638         * Paragraph.[Ch]:
11639         * paragraph_pimpl.h:
11640         Forward declare class Counters in paragraph.h by moving the ctrs member
11641         variable into Paragraph::Pimpl.
11642         (counters): new method, returning a reference to pimpl_->ctrs.
11643
11644         * text2.C: ensuing changes.
11645
11646 2002-08-07  John Levon  <levon@movementarian.org>
11647
11648         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11649
11650         * BufferView_pimpl.C: announce X selection on double/triple
11651           click
11652
11653         * lyx_main.C: use correct bool in batch dispatch
11654
11655         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11656
11657 2002-08-07  André Pönitz <poenitz@gmx.net>
11658
11659         * funcrequest.h: new class to wrap a kb_action and its argument
11660
11661         * BufferView.[Ch]:
11662         * BufferView_pimpl[Ch]:
11663         * LaTeX.C:
11664         * LyXAction.[Ch]:
11665         * lyxfunc.[Ch]:
11666         * lyxrc.C: subsequent changes
11667
11668
11669 2002-08-07  John Levon  <levon@movementarian.org>
11670
11671         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11672           document options change.
11673
11674 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
11675
11676         * counters.[Ch]
11677         * text2.C
11678         * paragraph.[Ch]
11679         * makefile.am: move counters functionality over from
11680         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11681
11682 2002-08-06  John Levon  <levon@movementarian.org>
11683
11684         * WordLangTuple.h: new file for word + language code tuple
11685
11686         * SpellBase.h:
11687         * pspell.h:
11688         * pspell.C:
11689         * ispell.h:
11690         * ispell.C:
11691         * lyxtext.h:
11692         * text.C:
11693         * text2.C:
11694         * BufferView.h:
11695         * BufferView2.C: use WordLangTuple
11696
11697         * layout.h:
11698         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11699
11700 2002-08-06  John Levon  <levon@movementarian.org>
11701
11702         * lyx_main.C: fix cmdline batch handling
11703
11704 2002-08-06  André Pönitz <poenitz@gmx.net>
11705
11706         * lyxrc.C: set default for show_banner to true
11707
11708 2002-08-06  John Levon  <levon@movementarian.org>
11709
11710         * pspell.C: fix a crash, and allow new aspell to work
11711
11712 2002-08-06  John Levon  <levon@movementarian.org>
11713
11714         * lyxfunc.C:
11715         * kbmap.C: small cleanup
11716
11717         * vspace.h:
11718         * vspace.C: add const
11719
11720 2002-08-05  John Levon  <levon@movementarian.org>
11721
11722         * LyXAction.C: back to tabular-insert
11723
11724 2002-08-04  John Levon  <levon@movementarian.org>
11725
11726         * BufferView.h:
11727         * BufferView.C: cosmetic change
11728
11729         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11730
11731         * bufferlist.C:
11732         * buffer.h:
11733         * buffer.C:
11734         * lyxcb.h:
11735         * lyxcb.C:
11736         * lyxserver.C:
11737         * lyxvc.C:
11738         * vc-backend.C:
11739         * BufferView2.C: purge all "Lyx" not "LyX" strings
11740
11741         * lyxcursor.h:
11742         * lyxcursor.C: attempt to add some documentation
11743
11744         * lyxfunc.C:
11745         * commandtags.h:
11746         * LyXAction.C:
11747         * ToolbarDefaults.C:
11748         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11749           merge with LFUN_TABULAR_INSERT
11750
11751         * Makefile.am:
11752         * SpellBase.h:
11753         * ispell.h:
11754         * ispell.C:
11755         * pspell.h:
11756         * pspell.C: split up i/pspell implementations into separate
11757           files, many cleanups
11758
11759         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11760
11761         * text2.C: some cleanup
11762
11763         * lyxfunc.C: don't check for isp_command == "none" any more, it
11764           didn't make any sense
11765
11766 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
11767
11768         * counters.[Ch]
11769         * text2.C
11770         * paragraph.[Ch]
11771         * makefile.am: move counters functionality over
11772         from text2.C/paragraph.[Ch] to counters.[Ch], and
11773         make proper C++.
11774 2002-08-02  John Levon  <levon@movementarian.org>
11775
11776         * buffer.C: s/lyxconvert/lyx2lyx/
11777
11778 2002-08-02  Angus Leeming  <leeming@lyx.org>
11779
11780         * lyxlex.C: revert John's change as it breaks reading of the user
11781         preamble.
11782
11783 2002-08-02  Angus Leeming  <leeming@lyx.org>
11784
11785         * importer.C (Import):
11786         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11787         changes due to LyXView::view() now returning a boost::shared_ptr.
11788
11789 2002-08-02  John Levon  <levon@movementarian.org>
11790
11791         * lyxlex.C: small cleanup
11792
11793 2002-08-02  John Levon  <levon@movementarian.org>
11794
11795         * text2.C (status): small cleanup, no logic change
11796
11797 2002-08-01  John Levon  <levon@movementarian.org>
11798
11799         * buffer.h:
11800         * buffer.C (writeFile): don't output alerts, caller
11801           handles this
11802
11803         * bufferlist.C:
11804         * lyx_cb.C: from above
11805
11806         * lyxfunc.C: allow to open non-existent files
11807
11808 2002-07-31  John Levon  <levon@movementarian.org>
11809
11810         * lyxserver.C: don't let incidental errors get
11811           in the way (errno)
11812
11813 2002-07-30  John Levon  <levon@movementarian.org>
11814
11815         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11816
11817 2002-07-30  John Levon  <levon@movementarian.org>
11818
11819         * lyxserver.h:
11820         * lyxserver.C: remove I/O callback too
11821
11822 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11823
11824         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11825         log.
11826
11827 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
11828
11829         * many files: strip,frontStrip -> trim,ltrim,rtrim
11830
11831 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
11832
11833         * PrinterParams.h: remove extern containsOnly, and include
11834         support/lstrings.h instead.
11835
11836         * LaTeX.C (scanAuxFile): modify because of strip changes
11837         (deplog): ditto
11838         * buffer.C (makeLaTeXFile): ditto
11839         * bufferparams.C (writeFile): ditt
11840         * lyxfont.C (stateText): ditto
11841         * lyxserver.C (read_ready): ditto
11842         * vc-backend.C (scanMaster): ditto
11843
11844         * BufferView_pimpl.h: ws changes
11845
11846         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11847
11848 2002-07-26  André Pönitz <poenitz@gmx.net>
11849
11850         * kb_sequence.C: remove unnedred usings
11851
11852 2002-07-26  Juergen Vigna  <jug@sad.it>
11853
11854         * lyxfind.C (LyXReplace): we have to check better if the returned
11855         text is not of theLockingInset()->getLockingInset().
11856
11857 2002-07-25  Juergen Vigna  <jug@sad.it>
11858
11859         * lyxfind.C (LyXReplace): don't replace if we don't get the
11860         right LyXText.
11861
11862         * undo_funcs.C (createUndo): remove debugging code.
11863
11864 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
11865
11866         * buffer.C (parseSingleLyXformat2Token): Use default placement
11867         when reading old floats.
11868
11869         * FloatList.C (FloatList): Change the default placement of figure
11870         and tables to "tbp".
11871
11872 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
11873
11874         * MenuBackend.C: using std::max
11875
11876 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11877
11878         * MenuBackend.C (expandToc):
11879         (expandToc2): code moved from xforms menu frontend. It is now
11880         generic and TOCs are transparent to menu frontends.
11881
11882 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11883
11884         * toc.C (getTocList): protect against buf=0
11885
11886         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11887         Menu as first parameter. Now, this calls itself recursively to
11888         expand a whole tree (this will be useful for TOC handling)
11889         (expandFloatInsert): remove 'wide' version of floats
11890
11891         * MenuBackend.h (submenuname): returns the name of the submenu.
11892         (submenu): returns the submenu itself, provided it has been
11893         created by MenuBackend::expand
11894
11895 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11896
11897         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11898         insets which have noFontChange == true. (bug #172)
11899
11900 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11901
11902         * BufferView_pimpl.C: add connection objects and use them...
11903         (Pimpl): here.
11904
11905 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11906
11907         * MenuBackend.C (expandLastfiles):
11908         (expandDocuments):
11909         (expandFormats):
11910         (expandFloatListInsert):
11911         (expandFloatInsert):
11912         (expand): split expand in parts
11913
11914 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11915
11916         * lyx_gui.C: use lyx_gui::exit()
11917
11918 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11919
11920         * LyXAction.C: show the failing pseudo action
11921
11922 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
11923
11924         * buffer.C (readFile): Run the lyxconvert script in order to read
11925         old files.
11926
11927 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11928
11929         * LyXAction.C:
11930         * commandtags.h:
11931         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11932
11933 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11934
11935         * LyXAction.C:
11936         * commandtags.h:
11937         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11938
11939 2002-07-22  Herbert Voss  <voss@lyx.org>
11940
11941         * lengthcommon.C:
11942         * lyxlength.[Ch]: add support for the vertical lengths
11943
11944 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
11945
11946         * toc.[Ch]: std:: fixes
11947
11948 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11949
11950         * lyxrc.C: do not include lyx_main.h
11951
11952         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11953         for layouts
11954
11955         * lyxrc.C:
11956         * encoding.C:
11957         * bufferlist.C:
11958         * BufferView2.C: include "lyxlex.h"
11959
11960         * tabular.h:
11961         * bufferparams.h: do not #include "lyxlex.h"
11962
11963         * lyxtextclasslist.C (Add): remove method
11964         (classlist): renamed to classlist_
11965
11966         * paragraph_pimpl.C:
11967         * paragraph.C:
11968         * text2.C:
11969         * CutAndPaste.C:
11970         * bufferview_funcs.C:
11971         * bufferlist.C:
11972         * text.C:
11973         * LaTeXFeatures.C:
11974         * buffer.C:
11975         * toc.C (getTocList): use BufferParams::getLyXTextClass
11976
11977         * toc.C (getTocList): use InsetFloat::addToToc
11978
11979         * toc.[Ch]: new files, containing helper functions to handle table
11980         of contents
11981
11982         * lyxfunc.C (dispatch): no need to remove spaces around command
11983         given as a string
11984         (getStatus): handle LFUN_SEQUENCE by returning the status of the
11985         first command of the sequence; it is not very clever, but I do not
11986         have a better idea, actually
11987
11988         * LyXAction.C (LookupFunc): make sure to remove space at the
11989         beginning and end of the command
11990
11991 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11992
11993         * MenuBackend.C (getMenubar): new method: return the menubar of
11994         this menu set
11995         (read): treat differently reading of menu and menubar (in
11996         particular, the menubar has no name now)
11997         (Menu::menubar): remove
11998
11999         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
12000         saving is finished
12001
12002 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
12003
12004         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
12005         a bibitem inset in a RTL paragraph.
12006
12007 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
12008
12009         * paragraph_pimpl.C: constify
12010
12011         * BufferView_pimpl.C:
12012         * LaTeX.C:
12013         * lyxfunc.C: fix dispatch in a nicer way
12014
12015 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12016
12017         * lyxfunc.C (dispatch):
12018         * BufferView_pimpl.C:
12019         * BufferView_pimpl.h:
12020         * BufferView.C:
12021         * BufferView.h: rename Dispatch() to dispatch()
12022
12023         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
12024
12025         * lyxlayout.C (Read): honor DependsOn tag
12026
12027         * lyxlayout.[Ch] (depends_on): new method
12028
12029         * version.C.in: update lyx_docversion
12030
12031         * LaTeXFeatures.C (getMacros): only define \LyX when needed
12032
12033         * paragraph.C (validate): remove from here...
12034         * paragraph_pimpl.C (validate): ... and move here
12035         (isTextAt): make it const
12036
12037         * buffer.C (getLists): ws cleanup
12038
12039 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
12040
12041         * language.C (read): Use iso8859-1 encoding in latex_lang
12042         (this prevents LyX from crashing when using iso10646-1 encoding).
12043
12044 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12045
12046         * text2.C (toggleInset): if cursor is inside an inset, close the
12047         inset and leave cursor _after_ it
12048
12049 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
12050
12051         * lyxfunc.C: move minibuffer completion handling out of here
12052
12053 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
12054
12055         * BufferView_pimpl.C:
12056         * LaTeX.C: fix dispatch calls
12057
12058 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
12059
12060         * text.C (drawChars): Fix Arabic text rendering.
12061
12062 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
12063
12064         * LyXAction.C:
12065         * commandtags.h:
12066         * lyxfunc.C: remove message-push/pop
12067
12068         * lyxserver.C:
12069         * lyxfunc.h:
12070         * lyxfunc.C: rationalise some code by removing verboseDispatch
12071           in favour of a bool argument to dispatch()
12072
12073 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12074
12075         * lyx_main.C (init): make sure to read symlinks as absolute paths
12076
12077 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12078
12079         * lyxfunc.h:
12080         * lyxfunc.C: no need for commandshortcut to be a member
12081
12082 2002-07-15  André Pönitz <poenitz@gmx.net>
12083
12084         * converter.C: add support for $$s (scripts from lib/scripts dir)
12085         * lyx_main.C: white space
12086
12087 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12088
12089         * bufferlist.C:
12090         * lyxrc.h:
12091         * lyxrc.C: remove second exit confirmation
12092
12093 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12094
12095         * BufferView.h:
12096         * BufferView.C:
12097         * BufferView2.C:
12098         * BufferView_pimpl.h:
12099         * BufferView_pimpl.C:
12100         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
12101
12102 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12103
12104         * MenuBackend.C (expand): add numeric shortcuts to document menu
12105
12106         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
12107
12108 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12109
12110         * lyxfont.C (setLyXFamily):
12111         (setLyXSeries):
12112         (setLyXShape):
12113         (setLyXSize):
12114         (setLyXMisc):
12115         (lyxRead):
12116         * debug.C (value):
12117         * buffer.C (asciiParagraph): use ascii_lowercase
12118
12119 2002-07-15  Mike Fabian  <mfabian@suse.de>
12120
12121         * lyxlex_pimpl.C (search_kw):
12122         * lyxlex.C (getLongString):
12123         * converter.h (operator<):
12124         * converter.C (operator<):
12125         * buffer.C (parseSingleLyXformat2Token):
12126         (asciiParagraph):
12127         * ToolbarDefaults.C (read):
12128         * MenuBackend.C (checkShortcuts):
12129         (read):
12130         * LColor.C (getFromGUIName):
12131         (getFromLyXName): use the compare_ascii_no_case instead of
12132         compare_no_case, because in turkish, 'i' is not the lowercase
12133         version of 'I', and thus turkish locale breaks parsing of tags.
12134
12135 2002-07-16  Angus Leeming  <leeming@lyx.org>
12136
12137         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
12138         now takes a Buffer const & argument.
12139
12140 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
12141
12142         * BufferView.C (resize): check there's a buffer to resize
12143
12144 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
12145
12146         * lyxfunc.C: remove dead code
12147
12148         * lyxserver.h:
12149         * lyxserver.C: use lyx_guii::set_read_callback
12150
12151 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12152
12153         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
12154         an inset in a RTL paragraph.
12155
12156 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12157
12158         * lyxfunc.C: repaint after a font size update
12159
12160 2002-07-15  André Pönitz <poenitz@gmx.net>
12161
12162         * lyxlength.C: inBP should be able to return negative values
12163
12164 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12165
12166         * lyxfunc.C: use lyx_gui::update_fonts()
12167
12168 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12169
12170         * lyxfunc.C: use lyx_gui::update_color()
12171
12172 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
12173
12174         * bufferlist.C:
12175         * lyxfunc.h:
12176         * lyxfunc.C:
12177         * lyxrc.h:
12178         * lyxrc.C: remove file->new asks for name option, and let
12179           buffer-new take an argument
12180
12181 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
12182
12183         * BufferView_pimpl.C: remove unneeded extra repaint()
12184
12185 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
12186
12187         * LyXAction.C: allow command-sequence with NoBuffer
12188
12189         * lyxfunc.C: don't insist on trailing ';' for command-sequence
12190
12191 2002-07-10  Angus Leeming  <leeming@lyx.org>
12192
12193         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
12194
12195 2002-07-09  Angus Leeming  <leeming@lyx.org>
12196
12197         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
12198
12199 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12200
12201         * lengthcommon.h: whitespace
12202
12203         * lyxfunc.C: update scrollbar after goto paragraph
12204
12205         * lyxtext.h: factor out page break drawing, and fix it so
12206           page break/added space paints as selected nicely
12207
12208 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12209
12210         * BufferView_pimpl.C: add FIXMEs, clean up a little
12211
12212 2002-07-09  André Pönitz <poenitz@gmx.net>
12213
12214         * lyxfont.[Ch]: support for wasy symbols
12215
12216 2002-07-08  André Pönitz <poenitz@gmx.net>
12217
12218         * BufferView_pimpl.C: apply John's patch for #93.
12219
12220 2002-07-05  Angus Leeming  <leeming@lyx.org>
12221
12222         * BufferView_pimpl.C (buffer): generate previews if desired.
12223
12224         * LColor.h: add "preview" to the color enum.
12225
12226         * LColor.C (LColor): add a corresponding entry to the items array.
12227
12228         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12229         with this buffer.
12230
12231 2002-07-05  Angus Leeming  <leeming@lyx.org>
12232
12233         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12234         The body of the code is now in the method that is passed an ostream &
12235         rather than a file name.
12236         Pass an additional only_preamble parameter, useful for the forthcoming
12237         preview stuff.
12238
12239 2002-07-03  André Pönitz <poenitz@gmx.net>
12240
12241         * lyxfunc.C: simplify getStatus() a bit for math stuff
12242
12243 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12244
12245         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12246
12247 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12248
12249         * text.C (changeRegionCase): do not change case of all the
12250         document when region ends at paragraph end (bug #461)
12251
12252 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12253
12254         * paragraph.C (startTeXParParams):
12255         (endTeXParParams): add \protect when necessary
12256
12257 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12258
12259         * BufferView_pimpl.C (workAreaExpose): remove warning
12260
12261 2002-06-27  Angus Leeming  <leeming@lyx.org>
12262
12263         * Makefile.am: add lyxlayout_ptr_fwd.h.
12264
12265 2002-06-26  André Pönitz <poenitz@gmx.net>
12266
12267         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12268
12269 2002-06-25  Angus Leeming  <leeming@lyx.org>
12270
12271         * lyxfunc.C (dispatch): Comment out the call to
12272         grfx::GCache::changeDisplay. The method no longer exists now that the
12273         pixmap generation part of the graphics loader has been moved into
12274         InsetGraphics.
12275
12276 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12277
12278         * text2.C: layout as layout
12279
12280         * text.C: layout as layout
12281
12282         * tabular.C (OldFormatRead): layout as layout
12283
12284         * paragraph_pimpl.C (TeXDeeper): layout as layout
12285         (realizeFont): layout as layout
12286
12287         * paragraph.C (writeFile): layout as layout
12288         (validate): layout as layout
12289         (getFont): layout as layout
12290         (getLabelFont): layout as layout
12291         (getLayoutFont): layout as layout
12292         (breakParagraph): layout as layout
12293         (stripLeadingSpaces): layout as layout
12294         (getEndLabel): layout as layout
12295         (getMaxDepthAfter): layout as layout
12296         (applyLayout): layout as layout
12297         (TeXOnePar): layout as layout
12298         (simpleTeXOnePar): layout as layout
12299         (TeXEnvironment): layout as layout
12300         (layout): layout as layout
12301         (layout): layout as layout
12302
12303         * lyxtextclass.C (compare_name): new functor to work with
12304         shared_ptr, layout as layout
12305         (Read): layout as layout
12306         (hasLayout): layout as layout
12307         (operator): layout as layout
12308         (delete_layout): layout as layout
12309         (defaultLayout): layout as layout
12310
12311         * lyxlayout_ptr_fwd.h: new file
12312
12313         * lyxlayout.C (Read): layout as layout
12314
12315         * lyx_cb.C (MenuInsertLabel): layout as layout
12316
12317         * bufferlist.C (newFile): layout as layout
12318
12319         * buffer.C (readLyXformat2): layout as layout
12320         (parseSingleLyXformat2Token): layout as layout
12321         (insertStringAsLines): layout as layout
12322         (asciiParagraph): layout as layout
12323         (latexParagraphs): layout as layout
12324         (makeLinuxDocFile): layout as layout
12325         (simpleLinuxDocOnePar): layout as layout
12326         (makeDocBookFile): layout as layout
12327         (simpleDocBookOnePar): layout as layout
12328         (getLists): layout as layout
12329
12330         * LaTeXFeatures.C (getTClassPreamble): layout as layout
12331
12332         * CutAndPaste.C (cutSelection): layout as layout
12333         (pasteSelection): layout as layout
12334         (SwitchLayoutsBetweenClasses): layout as layout
12335
12336         * BufferView_pimpl.C (Dispatch): layout as layout
12337         (smartQuote): layout as layout
12338
12339         * BufferView2.C (unlockInset): layout as layout
12340
12341 2002-06-24  André Pönitz <poenitz@gmx.net>
12342
12343         * lyxfunc.C: fix #487
12344
12345 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12346
12347         * lyxrc.h:
12348         * lyxrc.C:
12349         * lyxfunc.C: remove display_shortcuts, show_banner
12350
12351 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12352
12353         * Buffer_pimpl.C: oops, update on resize
12354
12355 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12356
12357         * buffer.C:
12358         * converter.C:
12359         * exporter.C:
12360         * lyxfunc.C:
12361         * BufferView.h:
12362         * BufferView.C: use repaint()
12363
12364         * BufferView_pimpl.h:
12365         * BufferView_pimpl.C: s/updateScreen()/repaint()/
12366           as it's a clearer description. Remove superfluous
12367           redraws.
12368
12369 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12370
12371         * text.C: fix bug 488. Not ideal, but getting
12372           getWord() to work properly for the insets that
12373           matter is more difficult ...
12374
12375 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12376
12377         * BufferView_pimpl.C:
12378         * LyXAction.C:
12379         * commandtags.h:
12380         * lyxfunc.C: remove the six million index lyxfuncs to just
12381           one, and DTRT (bug 458)
12382
12383 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12384
12385         * BufferView.h:
12386         * BufferView.C:
12387         * BufferView_pimpl.h:
12388         * BufferView_pimpl.C: clean up resize() stuff,
12389           and unnecessary updateScreen()s
12390
12391 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12392
12393         * BufferView.h:
12394         * BufferView.C:
12395         * BufferView_pimpl.h:
12396         * BufferView_pimpl.C:
12397         * lyxfind.h:
12398         * lyxfind.C:
12399         * minibuffer.C: remove focus management of workarea,
12400           not needed. Use screen's greyOut()
12401
12402 2002-06-17  Herbert Voss  <voss@lyx.org>
12403
12404         * converter.C: (convert) do not post a message, when converting
12405         fails, let the calling function decide what to do in this case
12406
12407 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
12408
12409         * lyxfunc.C: tidy up a little
12410
12411 2002-06-16    <alstrup@diku.dk>
12412
12413         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12414         Got rid of FORMS_H_LOCATION include. Now we are
12415         GUII.
12416
12417 2002-06-15  LyX Development team  <lyx@rilke>
12418
12419         * buffer.[Ch] (sgmlOpenTag):
12420         (sgmlCloseTag): Added support for avoiding pernicious mixed
12421         content. Return number of lines written.
12422
12423         (makeLinuxDocFile):
12424         (makeDocBookFile): Fixed calls to sgml*Tag.
12425         Simple white space clean.
12426
12427         (simpleDocBookOnePar): Simple white space clean.
12428
12429         * tabular.[Ch] (docBook): Renamed to docbook and got another
12430         argument to related with the pernicious mixed content.
12431
12432         (docbookRow): Fixed calls for docbook inset method.
12433
12434 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
12435
12436         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12437         so it's X11 independent.
12438
12439         * kb*.[Ch]: ditto.
12440
12441         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12442
12443 2002-06-15  Lyx Development team  <lyx@electronia>
12444
12445         * intl.h: Renamed getTrans to getTransManager.
12446
12447 2002-06-14  Angus Leeming  <leeming@lyx.org>
12448
12449         * Makefile.am: nuke forgotten stl_string_fwd.h.
12450
12451 2002-06-12  Angus Leeming  <leeming@lyx.org>
12452
12453         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12454
12455 2002-06-13  Angus Leeming  <leeming@lyx.org>
12456
12457         * LaTeX.C:
12458         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12459
12460 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
12461
12462         * kbmap.C (getiso): add support for cyrillic and greek
12463
12464 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12465
12466         * BufferView.h:
12467         * BufferView.C:
12468         * BufferView_pimpl.h:
12469         * BufferView_pimpl.C: move bogus scrolling logic
12470           to xforms
12471
12472 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12473
12474         * lyxfunc.C:
12475         * BufferView_pimpl.C: view->resize() change
12476
12477 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12478
12479         * BufferView_pimpl.C: topCursorVisible
12480           prototype change
12481
12482 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12483
12484         * Makefile.am:
12485         * lyx_gui.h:
12486         * lyx_gui.C: move to frontends/
12487
12488         * main.C:
12489         * lyx_main.h:
12490         * lyx_main.C: changes from above
12491
12492 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12493
12494         * intl.C:
12495         * intl.h:
12496         * kbmap.C:
12497         * kbsequence.C:
12498         * lyx_cb.C:
12499         * lyx_main.C: minor tidy
12500
12501 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12502
12503         * BufferView_pimpl.h:
12504         * BufferView_pimpl.C:
12505         * BufferView.h:
12506         * BufferView.C: make painter() const,
12507           remove dead code
12508
12509         * BufferView2.C: use screen() accessor
12510
12511         * lyx_main.h:
12512         * lyx_main.C: some minor cleanup
12513
12514 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12515
12516         * BufferView_pimpl.h:
12517         * BufferView_pimpl.C: remove enter/leaveView,
12518           use workHeight()
12519
12520 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12521
12522         * BufferView.h:
12523         * BufferView.C:
12524         * BufferView2.C:
12525         * BufferView_pimpl.h:
12526         * BufferView_pimpl.C: only construct screen once,
12527           rename
12528
12529         * lyxrc.C: remove pointless comment
12530
12531 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12532
12533         * BufferView.h:
12534         * BufferView.C: remove active() and belowMouse()
12535
12536         * BufferView_pimpl.h:
12537         * BufferView_pimpl.C: use workarea() not workarea_,
12538           and make it use a scoped_ptr instead
12539
12540 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12541
12542         * lyx_gui.C: add debug message on BadWindow
12543
12544 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12545
12546         * sp_spell.C: fdopen is not part of the C++ standard.
12547
12548         * paragraph.C (InsetIterator): use >= instead of ==
12549
12550 2002-06-07  Angus Leeming  <leeming@lyx.org>
12551
12552         Fixes needed to compile with Compaq cxx 6.5.
12553         * BufferView_pimpl.C:
12554         * DepTable.C:
12555         * buffer.C:
12556         * converter.C:
12557         * encoding.C:
12558         * lyx_gui.C:
12559         * lyx_main.C:
12560         * lyxtextclasslist.C:
12561         * minibuffer.C:
12562         * sp_spell.C:
12563         * tabular_funcs.C:
12564         * vc-backend.C:
12565         all c-library variables have been moved into namespace std. Wrap
12566         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12567
12568         * lyxlength.C:
12569         * tabular-old.C:
12570         * tabular.C:
12571         Add a using std::abs declaration.
12572
12573         * kbmap.h (modifier_pair):
12574         * paragraph.h (InsetTable, InsetList):
12575         * lyxfont.h (FontBits):
12576         type definition made public.
12577
12578         * bufferlist.C (emergencyWriteAll): the compiler complains that
12579         there is more than one possible lyx::class_fun template to choose from.
12580         I re-named the void specialisation as lyx::void_class_fun.
12581
12582         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12583
12584         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12585         the compiler is is unable to find tostr in write_attribute.
12586
12587 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12588
12589         * buffer.C (sgmlError): hide #warning
12590
12591 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12592
12593         * xtl/*: get rid of xtl, which is not in use anyway
12594
12595         * LyXAction.C (init):
12596         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12597         were unimplemented xtl experimentation
12598
12599 2002-06-04  André Pönitz <poenitz@gmx.net>
12600
12601         * lyxfunc.C: disable array operation on simple formulae
12602
12603 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
12604
12605         * converter.C: constify a bit
12606
12607 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
12608
12609         * lyx_gui.C: check xforms version correctly
12610
12611 2002-04-30  Herbert Voss  <voss@lyx.org>
12612
12613         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12614         "keep" option
12615
12616 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
12617
12618         * lyxvc.C: fix bug 416 (make sure buffer is saved before
12619           attempt to register it with a VCS)
12620
12621 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12622
12623         * lyx_main.C (init): honor variables LYX_DIR_13x and
12624         LYX_USERDIR_13x
12625
12626 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12627
12628         * buffer.h:
12629         * buffer.C:
12630         * lyx_main.C: fix a crash on bad command line,
12631           and give a useful exit status on error
12632
12633         * lyxfunc.C (doImport): allow -i lyx to work
12634
12635 2002-03-30  André Pönitz <poenitz@gmx.net>
12636
12637         * lyxfunc.C: mathed font changes
12638
12639 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12640
12641         * LaTeX.C:
12642         * importer.h:
12643         * importer.C:
12644         * lyx_sty.h:
12645         * lyx_sty.C:
12646         * lyxlex.C:
12647         * lyxrow.h:
12648         * lyxtext.h:
12649         * paragraph.h:
12650         * paragraph.C:
12651         * texrow.h:
12652         * texrow.C:
12653         * text.C:
12654         * trans_mgr.h: srcdocs, and some minor cleanups
12655
12656 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12657
12658         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12659         call getFont all the time)
12660
12661 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12662
12663         * switch from SigC signals to boost::signals
12664
12665 2002-05-29  André Pönitz <poenitz@gmx.net>
12666
12667         * paragraph_pimpl.C (getChar): don't call size() too often...
12668
12669 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12670
12671         * paragraph_pimpl.C (insertChar): do not try to update tables when
12672         appending (pos == size())
12673
12674         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12675         in order to reduce drastically the number of comparisons needed to
12676         parse a large document
12677
12678 2002-05-29  André Pönitz <poenitz@gmx.net>
12679
12680         * text.C:
12681         * text2.C:
12682         * lyxtextclass.C:
12683         * sp_pspell.h:
12684         * textclasslist.[Ch]:
12685         * sp_ispell.h: whitespace change
12686
12687 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12688
12689         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12690         lyxaction directly now.
12691
12692 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
12693
12694         * trans.C:
12695         * lyxfont.C:
12696         * lyxvc.C: remove unused headers
12697
12698 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12699
12700         * Makefile.am:
12701         * buffer.h:
12702         * undostack.h:
12703         * undostack.C:
12704         * undo_funcs.h:
12705         * undo_funcs.C: some cleanups. Use shared_ptr
12706           and a template for the undo stacks.
12707
12708 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12709
12710         * BufferView_pimpl.h:
12711         * BufferView_pimpl.C:
12712         * kbmap.h:
12713         * kbmap.C:
12714         * kbsequence.h:
12715         * kbsequence.C:
12716         * lyxfunc.h:
12717         * lyxfunc.C:
12718         * text2.C: use key_state/mouse_state
12719
12720 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12721
12722         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12723         and LSubstring
12724
12725         * chset.C: change include order
12726         (loadFile): use boost regex and get rid of LRegex and LSubstring
12727
12728         * Makefile.am (BOOST_LIBS): new variable
12729         (lyx_LDADD): use it
12730
12731         * LaTeX.C: change include order.
12732         (scanAuxFile): use boost regex and get rid of LRegex and
12733         LSubstring
12734         (deplog): ditto
12735
12736 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12737
12738         * ColorHandler.h:
12739         * ColorHandler.C:
12740         * FontInfo.h:
12741         * FontInfo.C: moved to frontends/xforms/
12742
12743         * FontLoader.h:
12744         * FontLoader.C: moved into frontends for GUIIzation
12745
12746         * Makefile.am:
12747         * lyx_gui.C:
12748         * lyxfont.C:
12749         * lyxfunc.C: changes from above
12750
12751 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12752
12753         * LColor.C: remove spurious X include
12754
12755         * BufferView_pimpl.C:
12756         * Makefile.am:
12757         * font.h:
12758         * font.C:
12759         * text.C:
12760         * text2.C: move font metrics to frontends/
12761
12762 2002-05-24  Juergen Vigna  <jug@sad.it>
12763
12764         * undo_funcs.C (textHandleUndo): fix the cursor selection after
12765         setting the undo_cursor.
12766
12767         * ParagraphParameters.h: include local includes first.
12768
12769 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12770
12771         * BufferView_pimpl.C:
12772         * BufferView_pimpl.h:
12773         * Makefile.am:
12774         * WorkArea.h:
12775         * WorkArea.C:
12776         * screen.C: move WorkArea into frontends/
12777
12778         * lyxscreen.h:
12779         * screen.C:
12780         * text.C:
12781         * BufferView.C:
12782         * BufferView2.C: move LyXScreen into frontends/
12783
12784         * lyxlookup.h:
12785         * lyxlookup.C:
12786         * lyx_gui.C: move lyxlookup into frontends/xforms/
12787
12788 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12789
12790         * BufferView2.C:
12791         * BufferView_pimpl.C:
12792         * FontLoader.C:
12793         * LyXView.h:
12794         * LyXView.C:
12795         * Makefile.am:
12796         * WorkArea.C:
12797         * XFormsView.h:
12798         * XFormsView.C:
12799         * buffer.C:
12800         * bufferlist.C:
12801         * bufferview_funcs.C:
12802         * converter.C:
12803         * importer.C:
12804         * lyx_cb.C:
12805         * lyx_gui.C:
12806         * lyx_main.C:
12807         * lyx_find.C:
12808         * lyxfunc.C:
12809         * lyxvc.C:
12810         * minibuffer.C:
12811         * text.C:
12812         * text2.C:
12813         * trans.C:
12814         * vc-backend.C: move LyX/XFormsView into frontends/
12815
12816 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12817
12818         * Makefile.am:
12819         * PainterBase.C:
12820         * PainterBase.h:
12821         * Painter.C:
12822         * Painter.h:
12823         * WorkArea.C:
12824         * WorkArea.h:
12825         * screen.C:
12826         * tabular.C:
12827         * text.C:
12828         * text2.C: move Painter to frontends/
12829
12830 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12831
12832         * buffer.C: comment out some some code that depend upon lyx_format
12833         < 220
12834
12835         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12836         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12837
12838         * buffer.h (NO_COMPABILITY): turn off compability
12839
12840         * ColorHandler.C: include scoped_array.hpp
12841
12842         * font.C: Use more specific smart_ptr header.
12843         * Painter.C: ditto
12844         * gettext.C: ditto
12845         * ShareContainer.h: ditto
12846         * lyx_main.h: ditto
12847         * kbmap.h: ditto
12848         * FontInfo.h: ditto
12849         * BufferView_pimpl.h: ditto
12850         * ColorHandler.h: ditto
12851
12852         * kbmap.C (defkey): change call to shared_ptr::reset
12853
12854 2002-05-21  Juergen Vigna  <jug@sad.it>
12855
12856         * buffer.C (insertErtContents): fix to insert ert asis if it is
12857         non empty. Skip it completely if it contains only whitespaces.
12858
12859 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
12860
12861         * BufferView_pimpl.C:
12862         * BufferView2.C: clear selection on paste (bug 393)
12863
12864 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12865
12866         * DepTable.C: include ctime
12867
12868 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
12869
12870         * buffer.C (latexParagraphs): Add new argument (moving_arg).
12871
12872 2002-05-14  Juergen Vigna  <jug@sad.it>
12873
12874         * text.C (breakParagraph): fixed function to honor the keepempty
12875         layout in the right maner and also to permit the right breaking
12876         algorithm on empty or non empyt keepempty paragraphs.
12877
12878         * paragraph.C (breakParagraph): we have to check also if the par
12879         is really empty (!size()) for isempty otherwise we do the wrong
12880         paragraph break.
12881
12882 2002-05-10  Juergen Vigna  <jug@sad.it>
12883
12884         * buffer.[Ch] : The following are only changes to the ert
12885         compatibility read reading old LaTeX layout and font stuff and
12886         convert it to ERTInsets.
12887
12888         * buffer.h: added isErtInset().
12889
12890         * buffer.C (struct ErtComp): add a fromlayout bool to check
12891         if we're inside a LaTeX layout.
12892         (isErtInset): new helper function.
12893         (insertErtContents): look for other ert insets before this one
12894         and insert the contents there, so that we don't have subsequent
12895         ERT insets with nothing between them. This way we create only one
12896         inset with multiple paragraphs. Also check if we don't insert only
12897         spaces ' ' as they are ignored anyway afterwards in the .tex file
12898         so if we have only spaces we will ignore this latex part in the
12899         new file.
12900         (parseSingleLyXformat2Token \\layout): better compatibility when
12901         reading layout-latex stuff.
12902         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12903         language tag.
12904         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12905         stuff after reading the inset only get the information back from
12906         the stack.
12907
12908 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
12909
12910         * buffer.C (makeLaTeXFile): Put language options after loading babel.
12911
12912         * LaTeXFeatures.C (getBabelOptions): New method.
12913
12914 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12915
12916         * BufferView_pimpl.C (Dispatch): work around missing argument for
12917         'layout'
12918
12919 2002-05-08  Juergen Vigna  <jug@sad.it>
12920
12921         * text.C (leftMargin): handle paragraph leftindent.
12922
12923         * paragraph.C (writeFile): write the new \\leftindent tag.
12924         (validate): handle leftindent code.
12925         (TeXEnvironment): handle paragraphleftindent code again.
12926
12927         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12928
12929         * buffer.C (parseSingleLyXformat2Token): added compatibility code
12930         for paragrap_extra indent code and new token \\leftindent.
12931         (latexParagraphs): handle the leftindent as environment.
12932
12933         * ParameterStruct.h: added leftindent support.
12934
12935         * ParagraphParameters.C (leftIndent): added support functions for
12936         the paragraph left indent.
12937
12938         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12939         more appropriate.
12940
12941 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
12942
12943         * paragraph.C (isRightToLeftPar): Return false for a paragraph
12944         inside insetERT.
12945
12946         * text.C (computeBidiTables): No bidi in insetERT.
12947
12948         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12949         in RTL documents.
12950
12951 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12952
12953         * version.C.in: pre 5
12954
12955 2002-05-02  José Matos  <jamatos@fep.up.pt>
12956         * buffer.C (makeDocBookFile): white space changes, add newline to
12957         command styles.
12958         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12959
12960         * tabular.C (docBook): fix typo.
12961
12962 2002-05-03  Juergen Vigna  <jug@sad.it>
12963
12964         * screen.C (drawFromTo): recalculate the rowpointer if we had a
12965         change in LyXText as we can not be sure it was not freed.
12966         (drawOneRow): remove unused code.
12967
12968         * text.C (drawInset): redo the calculation of the need_break_row as
12969         it could have a row which was already freed.
12970         (draw): look at the return value of drawInset and return false if
12971         it also returned false.
12972         (paintRowText): look at the return value of draw and return false if
12973         it also returned false.
12974
12975         * lyxtext.h: added bool return type to drawInset() and draw() so that
12976         if we have a change in the row so that the rowbreak has to be redone
12977         we abort drawing as it will be called again.
12978
12979 2002-05-02  Juergen Vigna  <jug@sad.it>
12980
12981         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12982         a change in the maintext also if we're inside an inset.
12983         (Dispatch): set the cursor again after a break line and after the
12984         screen has been updated as it could be we're in a different row.
12985
12986         * text2.C (fixCursorAfterDelete): check to make sure we don't request
12987         to set the cursor behind the pargraph with > size().
12988         (setCursor): check also for the same paragraph when checking where
12989         to put the cursor if we have a NFR inset.
12990
12991         * buffer.C (parseSingleLyXformat2Token): move the compatibility
12992         parts of layout read further up as it still was in the wrong
12993         position.
12994
12995 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12996
12997         * screen.C (drawFromTo): change sine fullRebreak always return
12998         true.
12999
13000         * buffer.C (parseSingleLyXformat2Token): reindent some
13001
13002         * BufferView_pimpl.C (update): change since fullRebreak always
13003         return true.
13004         (Dispatch): git rid of the last hardcoded "Standard"s.
13005
13006 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13007
13008         * text2.[Ch] (fullRebreak): make it return void now that we always
13009         returned true.
13010
13011 2002-04-30  Juergen Vigna  <jug@sad.it>
13012
13013         * buffer.C (parseSingleLyXformat2Token): reset the font before the
13014         ert compatibility check for "latex" layout.
13015
13016 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
13017
13018         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
13019         minipages: use col% instead of p%, and also use the current font.
13020         (makeLaTeXFile): Fix use babel condition.
13021         (parseSingleLyXformat2Token): Correct font when reading old floats.
13022
13023 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
13024
13025         * BufferView_pimpl.C (Dispatch): Check that float type exists when
13026         inserting list of floats.
13027
13028 2002-04-25  Herbert Voss  <voss@lyx.org>
13029
13030         * MenuBackend.C (expand): don't add the graphics extensions to the
13031         export menu
13032
13033 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13034
13035         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
13036         non-existing layout, do not complain if it was the default layout
13037         of the original class (bug #342)
13038
13039 2002-04-24  Juergen Vigna  <jug@sad.it>
13040
13041         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
13042         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
13043
13044 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
13045
13046         * buffer.C (getBibkeyList): If using \bibliography, return the
13047         option field with the reference itself. Enables us to provide natbib
13048         support when using \bibliography.
13049
13050 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
13051
13052         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
13053
13054         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
13055         natbib is provided by the LaTeX class.
13056
13057 2002-04-23  Juergen Vigna  <jug@sad.it>
13058
13059         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
13060         Wakeup functions.
13061
13062         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
13063
13064 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13065
13066         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
13067
13068         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
13069         ensuremath around textordmasculine, textordfeminine and
13070         textdegree.
13071
13072 2002-04-19  Juergen Vigna  <jug@sad.it>
13073
13074         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
13075         reinitializing the buffer otherwise row-dimensions may be wrong.
13076         (update): reset also the selection cursors if they do exits otherwise
13077         their x/y positions may be wrong.
13078
13079         * text2.C (cursorDown): don't enter the inset if we came from a row
13080         above and are one row over the inset.
13081
13082         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
13083         really leaving an inset.
13084
13085 2002-04-18  Juergen Vigna  <jug@sad.it>
13086
13087         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
13088         of the selected paragraph does not have the selected layout also if
13089         the last one had!
13090
13091         * text2.C (setLayout): fixed bug which did not change last selected
13092         paragraph.
13093
13094         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
13095         changed the read and substituted \\end_float with \\end_inset!
13096
13097         * BufferView_pimpl.C (cursorPrevious):
13098         (cursorNext): fixed to make it work with rows heigher than the work
13099         area without moving the cursor only the draw of the row.
13100         (workAreaMotionNotify): fix jumping over high rows.
13101
13102 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13103
13104         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
13105         Ressler.
13106
13107 2002-04-16  Juergen Vigna  <jug@sad.it>
13108
13109         * text2.C (setCursor): set also the irow().
13110         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
13111         (cursorUp):
13112         (cursorDown): support for locking an inset if the x_fix value goes
13113         inside it. That way I can transverse insets too with cursor up/down.
13114
13115         * lyxrow.h: added irow helper function same as other (i) functions.
13116
13117         * BufferView_pimpl.C (cursorPrevious):
13118         (cursorNext): fixed for insets!
13119
13120 2002-04-15  Juergen Vigna  <jug@sad.it>
13121
13122         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
13123         position otherwise it is wrong in some cases.
13124
13125         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
13126         inside the inset before the call.
13127
13128 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
13129
13130         * buffer.[Ch] (getBibkeyList): make it const.
13131
13132 2002-04-12  Juergen Vigna  <jug@sad.it>
13133
13134         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
13135
13136         * text2.C (getCursorX): new helper function
13137         (setCursor): compute also ix_
13138         (setCursorFromCoordinates): set also ix.
13139
13140         * lyxcursor.h: added ix_ and helper functions.
13141
13142         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
13143
13144         * buffer.C (insertStringAsLines): dont break paragraph if the this
13145         paragraph is inside an inset which does not permit it!
13146
13147         * text.C (breakParagraph): honor keepempty flag and break the paragraph
13148         also with no chars on this paragraph.
13149         (paintRowText): only paint stuff if it's inside the workarea!
13150
13151         * paragraph.C (breakParagraph): honor keepempty flag and break the
13152         paragraph always below not above.
13153
13154         * BufferView2.C (unlockInset): update the paragraph layout on inset
13155         unlock as we changed paragraph in such a case.
13156
13157         * lyxfind.C (LyXFind): clear the former selection if not found!
13158
13159         * text2.C (insertInset): freeze Undo after setUndo so that it is not
13160         again called in insertChar().
13161
13162         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
13163         an inset which uses the whole row!
13164         (rightMargin): ditto.
13165         (insertChar): force a rebreak if we inserted an inset!
13166
13167 2002-03-28  Herbert Voss  <voss@lyx.org>
13168
13169         * lyxlength.[Ch]: add inBP() to get the right PS-point
13170         units (BigPoint). With inPixels we have rounding errors
13171
13172 2002-04-11  Juergen Vigna  <jug@sad.it>
13173
13174         * text2.C (setCursorFromCoordinates): set iy to the right value.
13175         (setCursor): add check if row->previous exists!
13176
13177         * buffer.C (parseSingleLyXformat2Token): reset font after read of
13178         an old float_type as this was the case in the old code!
13179
13180         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
13181
13182         * BufferView2.C (showLockedInsetCursor): use iy
13183         (fitLockedInsetCursor): ditto
13184
13185         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
13186         locked insets as there we have the right value now.
13187
13188         * lyxcursor.C: added iy_ variable and iy functions to set to the
13189         baseline of cursor-y of the locked inset.
13190
13191         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
13192         (setCursor): fixed for insets which need a full row.
13193
13194         * text.C (rowLastPrintable): don't ignore the last space when before
13195         an inset which needs a full row.
13196         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
13197         as last character of a row when before a inset which needs a full row.
13198
13199 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13200
13201         * version.C.in: update date
13202
13203         * text2.C (fullRebreak): try to always return true and see what
13204         happens...
13205
13206 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13207
13208         * MenuBackend.C (expand): use Floating::listName
13209
13210         * FloatList.C (FloatList): add listName argument to the built-in
13211         floats
13212
13213         * Floating.[Ch]: add listName member, which is the 'List of XXX'
13214         text associated with the float.
13215
13216 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13217
13218         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
13219
13220 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13221
13222         * ShareContainer.h: add a couple of missing typenames.
13223
13224 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
13225
13226         * lyxrc.C (getDescription): use _() correctly rather than N_().
13227
13228 2002-03-28  Herbert Voss  <voss@lyx.org>
13229
13230         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13231         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13232
13233 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13234
13235         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13236         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13237
13238 2002-03-29  Juergen Vigna  <jug@sad.it>
13239
13240         * lyxfunc.C (dispatch): add a missing fitCursor call.
13241
13242         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13243         it was scrolled by a cursor move, so return the bool status.
13244
13245         * BufferView.C (fitCursor): return the bool flag also to the outside
13246         world as this is needed.
13247
13248         * screen.C (toggleToggle): don't subtract the offset if it's positive.
13249
13250         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13251         call the edit() as it is not needed (and wrong) IMO.
13252         (workAreaButtonPress): set the screen_first variable before evt.
13253         unlock the inset as this may change screen_first and then we have
13254         a wrong y position for the click!
13255
13256 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13257
13258         * MenuBackend.C (expand): another translation that I missed
13259
13260 2002-03-28  Juergen Vigna  <jug@sad.it>
13261
13262         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13263
13264         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13265
13266 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13267
13268         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13269
13270         * MenuBackend.C (expand): fix export/view/update when there is no
13271         document open.
13272
13273 2002-03-27  Herbert Voss  <voss@lyx.org>
13274
13275         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13276         and text%
13277
13278 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13279
13280         * bufferview_funcs.C (currentState): only show paragraph number
13281         for is DEVEL_VERSION is set.
13282
13283         * lyxfunc.C (dispatch): put warning in INFO channel
13284
13285         * MenuBackend.C (expand): translate the name of floats
13286
13287         * FloatList.C (FloatList): mark the float names for translation
13288
13289         * converter.C (convert): use LibScriptSearch
13290
13291 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13292
13293         * MenuBackend.C (defaults): fix default menu (we might as well get
13294         rid of it...)
13295
13296 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13297
13298         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13299         directory.
13300
13301 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13302
13303         * lyxvc.C: reorder includes.
13304
13305 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
13306
13307         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13308           properly
13309
13310 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
13311
13312         * CutAndPaste.C: change layouts earlier on paste
13313           to avoid crashing when calling getFont()
13314
13315 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
13316
13317         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13318         irritating #error.
13319
13320 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13321
13322         * WorkArea.C: remove 'Pending' debug message.
13323
13324         * most files: ws cleanup
13325
13326         * buffer.[Ch]: ws changes
13327
13328         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13329
13330 2002-03-21  Juergen Vigna  <jug@sad.it>
13331
13332         * tabular.C (SetMultiColumn): collapse also the contents of the
13333         cells and set the last border right. Added a Buffer const * param.
13334
13335 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13336
13337         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13338         linking or not.
13339
13340 2002-03-19  Juergen Vigna  <jug@sad.it>
13341
13342         * text2.C (clearSelection): reset also xsel_cache.
13343
13344         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13345         where it needs to be called (John tells us to do so too :)
13346         (selectionLost): reset sel_cache.
13347
13348         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13349
13350 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13351
13352         * text2.C (setCursorIntern): put debuging code in INSETS channel
13353
13354 2002-03-19  André Pönitz <poenitz@gmx.net>
13355
13356         * lyxfunc.C: tiny whitespace change
13357
13358 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13359
13360         * ToolbarDefaults.C (init):
13361         * LyXAction.C (init):
13362         * commandtags.h:
13363         * BufferView_pimpl.C (Dispatch):
13364         * lyxfunc.C (dispatch): remove LFUN_DEPTH
13365
13366 2002-03-19  Allan Rae  <rae@lyx.org>
13367
13368         * exporter.C (Export): removeAutoInsets before doing anything else.
13369         While I've just introduced a dependency on BufferView this really is
13370         the best place to clean the buffer otherwise you need to cleanup in
13371         a dozen places before calling export or cleanup in a dozen functions
13372         that export calls.
13373
13374         * converter.C (runLaTeX):
13375         (scanLog): Better handling of removeAutoInsets and screen updates.
13376
13377         * lyxfunc.C (dispatch): small whitespace changes
13378
13379 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13380
13381         * WorkArea.C (C_WorkAreaEvent): return a value.
13382         (event_cb): return 1 if we handled the event, 0 otherwise.
13383
13384         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13385
13386 2002-03-18  Juergen Vigna  <jug@sad.it>
13387
13388         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13389         (GetAdditionalWidth): ditto.
13390         (RightLine): ditto.
13391         (LeftLine): ditto.
13392
13393         * BufferView2.C (copy): use getLyXText() so that we do it inside an
13394         inset if we're there actually (probably not used right now but this
13395         is the direction to go for unifying code).
13396         (paste): disable code to clear the selection.
13397
13398         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13399         inside an InsetText and move the check further up as it is in the
13400         wrong place.
13401
13402         * text2.C (pasteSelection): set a selection over the pasted text.
13403
13404 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
13405
13406         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13407         and libgraphics to build on Cygwin.
13408
13409 2002-03-15  Juergen Vigna  <jug@sad.it>
13410
13411         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13412         inserting an Inset into the paragraph. I know this is not the best
13413         fix but we already use current_view in CutAndPaste so we will remove
13414         all of it's using at the same time.
13415
13416         * buffer.C (sgmlError): deactivated function till it is rewritten in
13417         the right mode, now it can create problems.
13418
13419         * paragraph.C (isLineSeparator): check if getInset returns != 0,
13420         before accessing it.
13421
13422 2002-03-14  Juergen Vigna  <jug@sad.it>
13423
13424         * undo_funcs.C (textHandleUndo): do the right thing when updating
13425         the inset after the undo/redo.
13426
13427         * text2.C (setCursor): just some testcode for #44 not ready yet.
13428
13429         * undo_funcs.C (textHandleUndo): set the next() and previous()
13430         pointers of the paragraph to 0 before deleting otherwise we have
13431         problems with the Paragraph::[destructor].
13432
13433         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13434         on a paragraph insertion.
13435
13436 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13437
13438         * buffer.C (asciiParagraph): use += operator for char append to
13439         string.
13440
13441         * paragraph.C (getFontSettings): compare >= not just >
13442         (highestFontInRange): ditto
13443         (setFont): ditto
13444
13445 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13446
13447         * paragraph.C: change several algorithm to be more appripriate for
13448         the problem domain. This is lookip in FontList and in the InsetList.
13449
13450 2002-03-13  André Pönitz <poenitz@gmx.net>
13451
13452         * commandtags.h:
13453         * LyXAction.C: remove unused LFUN_MATH_MACROARG
13454
13455 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
13456
13457         * commandtags.h:
13458         * LyXAction.C:
13459         * lyxfunc.C:
13460         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13461
13462 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13463
13464         * Painter.C (display): anon helper function, adjust code for this
13465         change.
13466         (pixmap): remove function.
13467
13468         * Painter.h: remove private display variable.
13469
13470         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13471
13472 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
13473
13474         * WorkArea.[Ch]: remove figinset_canvas cruft.
13475
13476 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13477
13478         * lyxtextclass.C (operator): add one item cache optimization.
13479
13480         * bufferlist.h: doxy changes
13481
13482         * bufferlist.C: ws changes
13483
13484         * DepTable.[Ch] (ext_exist): place const in the right spot.
13485
13486         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13487         call resizeInsets.
13488         (workAreaExpose): call resizeInsets when the with BufferView changes.
13489         (Dispatch): adjust for protectedBlank removal
13490         (specialChar): call updateInset if the insert went ok.
13491
13492         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13493         specialChar instead.
13494
13495         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13496
13497         * BufferView.h: doxy change
13498
13499         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13500
13501         * lyxtextclass.C (operator[]): remove non-const version
13502         (defaultLayout): remove non-const version
13503
13504 2002-03-12  Juergen Vigna  <jug@sad.it>
13505
13506         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13507         did resize the LyXText too.
13508
13509         * buffer.C (readLyXformat2): set layout information on newly allocated
13510         paragraphs.
13511
13512         * tabular.C (OldFormatRead): set layout information on the paragraph.
13513
13514 2002-03-12  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13515
13516         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13517
13518 2002-03-11  Juergen Vigna  <jug@sad.it>
13519
13520         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13521         plainly wrong.
13522         (resizeCurrentBuffer): force also the insets to resize themselfes.
13523         (moveCursorUpdate): fixed up for InsetText.
13524
13525 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
13526
13527         * commandtags.h:
13528         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13529         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13530         value of Dialogs::tooltipsEnabled().
13531         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13532
13533 2002-03-08  Juergen Vigna  <jug@sad.it>
13534
13535         * BufferView_pimpl.C (updateInset): update inset inside inset also
13536         if it isn't inside theLockingInset().
13537
13538 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13539
13540         * buffer.C (asciiParagraph): redo some of the word and line length
13541         handling.
13542         (getLists): look for Caption instead of caption.
13543
13544 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13545
13546         * buffer.C (Buffer): initialize niceFile to true
13547         (makeLaTeXFile):
13548         (makeLinuxDocFile):
13549         (makeDocBookFile): make sure niceFile is true on exit
13550
13551 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13552
13553         * buffer.C (makeLaTeXFile): escape ~ in \input@path
13554
13555 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
13556
13557         * LyXSendto.C: remove.
13558         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13559         * lyx_gui.C: remove now-redundant comment.
13560         * ColorHandler.h: remove forward declaration of class WorkArea.
13561         * lyxfunc.C: remove #include "WorkArea.h".
13562
13563 2002-03-07  Juergen Vigna  <jug@sad.it>
13564
13565         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13566         got moved away with the DEPM and also set the inset_owner always
13567         right which before could have been omitted.
13568
13569 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13570
13571         * buffer.C (parseSingleLyXformat2Token): use default layout is the
13572         wanted layout is not found.
13573
13574 2002-03-07  Juergen Vigna  <jug@sad.it>
13575
13576         * CutAndPaste.C (cutSelection): another layout settings forgotten.
13577
13578 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13579
13580         * paragraph.C (breakParagraph): use default layout not layout of
13581         prev paragraph.
13582         (Paragraph): clear ParagraphParameters.
13583
13584 2002-03-06  Juergen Vigna  <jug@sad.it>
13585
13586         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13587         otherwise it would not be a valid lenght. Fixed a special case in
13588         the minipage compatibility read where we end the document with a
13589         minipage.
13590
13591         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13592         was set as it could be 0 for InsetTexts first entry.
13593
13594 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13595
13596         * paragraph.C (writeFile): if layout is empty write out
13597         defaultLayoutName().
13598
13599         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13600         file without named layout we set layout to defaultLayoutName().
13601
13602 2002-03-06  Juergen Vigna  <jug@sad.it>
13603
13604         * CutAndPaste.C (copySelection): set layout for new paragraph.
13605
13606         * text.C (prepareToPrint): leave ERT inset left aligned
13607         (leftMargin): don't indent paragraphs inside ERT insets
13608
13609 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13610
13611         * paragraph.C (breakParagraph): dont call clear do the work manually
13612
13613         * paragraph.[Ch] (clear): remove function
13614
13615 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13616
13617         * paragraph.C (Paragraph): dont call clear, the work has already
13618         been done.
13619
13620         * lyxtextclass.C (operator): assert if n is empty
13621
13622         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13623         work manually instead.
13624
13625 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13626
13627         * BufferView_pimpl.C: protect selectionLost against text == 0
13628
13629 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13630
13631         * text.C (breakParagraph): fix a setting layout to '0' problem.
13632
13633 2002-03-05  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13634
13635         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13636         final location of file, for the included files, and graphics.
13637
13638 2002-03-05  Juergen Vigna  <jug@sad.it>
13639
13640         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13641
13642 2002-03-04  Juergen Vigna  <jug@sad.it>
13643
13644         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13645
13646         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13647         last column of multicolumn cells.
13648         (SetWidthOfMulticolCell): recalculate NMC and real columns.
13649
13650 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
13651
13652         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13653         file if it doesn't go to a temporary file.
13654
13655         * buffer.C (sgmlOpenTag):
13656         (sgmlCloseTag):  remove extra newline insertion.
13657
13658 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13659
13660         * text.C (getRowNearY): comment out debug msg
13661
13662 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13663
13664         * text2.C: first -> first_y
13665
13666         * text.C (getRowNearY): add some attemts at a possible
13667         optimization, not working.
13668
13669         * tabular.[Ch]: add BufferParams to several function so that newly
13670         created paragraph can be initialized to he default layotu for the
13671         buffers textclass.
13672
13673         * tabular-old.C (ReadOld): add buf->params to call of Init
13674
13675         * screen.C: rename text->first to text->first_y
13676
13677         * paragraph.C (breakParagraph): always set layout in the broken
13678         paragraph
13679
13680         * lyxtextclass.C (Read): remove lowercase
13681         (hasLayout): ditto
13682         (operator): ditto
13683         (delete_layout): ditto
13684
13685         * lyxtext.h: rename first -> first_y
13686
13687         * lyxlayout.C (Read): remove lowercase
13688         (name): ditto
13689         (setName): ditto
13690         (obsoleted_by): ditto
13691
13692         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13693
13694         * buffer.C (insertErtContents): add params are to InsetERT
13695         (parseSingleLyXformat2Token): add code to check if a paragraphs
13696         layout really exist.
13697         (parseSingleLyXformat2Token): add params to several inset
13698         constructors
13699         (asciiParagraph): remove lowercase, do the layout comparisons with
13700         no_case
13701
13702         * BufferView_pimpl.C (cursorNext): first -> first_y
13703         (resizeCurrentBuffer): first -> first_y
13704         (updateScrollbar): first -> first_y
13705         (scrollCB): first -> first_y
13706         (workAreaMotionNotify): first -> first_y
13707         (workAreaButtonPress): first -> first_y
13708         (checkInsetHit): first -> first_y
13709         (cursorPrevious): first -> first_y
13710         (cursorNext): first -> first_y
13711         (Dispatch): add buffer_->params to severl inset contructors
13712
13713 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13714
13715         * lyxlayout.C (Read): remove some debug info that I forgot.
13716
13717         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13718         clean up the code slightly.
13719         (makeLinuxDocFile): ditto
13720         (makeDocBookFile): ditto
13721
13722         * text2.C: layout as string
13723
13724         * text.C: layout as string
13725
13726         * paragraph_pimpl.C: layout as string
13727
13728         * paragraph.[Ch]: layout as string
13729
13730         * lyxtextclasslist.[Ch]: layout as string
13731
13732         * lyxtextclass.[Ch]: layout as string
13733
13734         * lyxtext.h: layout as string
13735
13736         * lyxlayout.[Ch]: layout as string
13737
13738         * lyx_cb.C: layout as string
13739
13740         * bufferview_funcs.C: layout as string
13741
13742         * bufferparams.C: layout as string
13743
13744         * buffer.C: layout as string
13745
13746         * LyXView.[Ch]: layout as string
13747
13748         * LaTeXFeatures.[Ch]: layout as string
13749
13750         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13751
13752         * BufferView_pimpl.C: change current_layout to string, remove
13753         lyx::layout_type.
13754         (Dispatch):
13755         (smartQuote):
13756         (insertInset):
13757         (workAreaButtonRelease): layout as string
13758
13759         * BufferView2.C (unlockInset): adjust
13760
13761         * vspace.C (asLatexCommand): use an explict temp variable.
13762
13763 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13764
13765         * Makefile.am: use FRONTEND_*
13766
13767 2002-03-01  Juergen Vigna  <jug@sad.it>
13768
13769         * tabular.C (SetWidthOfMulticolCell): changed to something better
13770         I hope but still work in progress.
13771         (recalculateMulticolumnsOfColumn): renamed function from
13772         recalculateMulticolCells as it is more appropriate now.
13773         (SetWidthOfCell): calculate multicols better.
13774
13775 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13776
13777         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13778
13779         * lyxfunc.C (processKeySym): print sequence also if it is
13780         `deleted' (complete)
13781
13782         * kbsequence.C (print): print sequence even if it is deleted
13783         (complete would be a better word, actually).
13784
13785         * lyxfunc.C (dispatch): print complete options after a prefix key
13786
13787         * vspace.C (asLatexCommand): rewrite in a slightly different form.
13788
13789 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
13790
13791         * text2.C (setCharFont): eliminate setCharFont code duplication.
13792
13793 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13794
13795         * BufferView_pimpl.C (Dispatch): remove bogus handling of
13796         LFUN_TABULAR_FEATURE (bug #177)
13797
13798 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
13799
13800         * Makefile.am: remove figure.h
13801
13802 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
13803
13804         * Bufferview_pimpl.C:
13805         * CutAndPasteC:
13806         * LaTeX.C:
13807         * LyXSendto.C:
13808         * buffer.C:
13809         * bufferlist.C:
13810         * converter.C:
13811         * language.C:
13812         * lyxfunc.C:
13813         * lyxvc.C:
13814         * paragraph.C:
13815         * text.C:
13816         * text2.C: remove #include "lyx_gui_misc.h".
13817
13818         * LaTeX.C: added #include <cstdio>
13819
13820 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13821
13822         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13823         that the paragraph following this one can have.
13824
13825         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13826
13827         * vspace.C (asLatexCommand): fix bogus gcc warning
13828
13829         * Makefile.am (lyx_SOURCES): remove vms_defines.h
13830
13831 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
13832
13833         * text2.C (setLayout): get rid of redundant code
13834
13835 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
13836
13837         * text2.C (incDepth): make sure depth cannot be increased beyond
13838         reasonable values.
13839
13840 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
13841
13842         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13843         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13844
13845         * PainterBase.h (image):
13846         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13847         a LyXImage const *.
13848
13849 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13850
13851         * BufferView.C:
13852         * BufferView.h:
13853         * BufferView_pimpl.C:
13854         * BufferView_pimpl.h:
13855         * LaTeXFeatures.C:
13856         * LyXAction.C:
13857         * LyXView.C:
13858         * Makefile.am:
13859         * UpdateList.h:
13860         * UpdateList.C:
13861         * buffer.C:
13862         * figure.h:
13863         * figureForm.C:
13864         * figureForm.h:
13865         * figure_form.C:
13866         * figure_form.h:
13867         * lyx_cb.C:
13868         * lyx_gui.C:
13869         * lyx_gui_misc.C:
13870         * lyxfunc.C:
13871         * sp_base.h:
13872         * sp_ispell.h:
13873         * sp_pspell.h:
13874         * sp_spell.C: remove fig inset, and the crap house of
13875           cards that follows it
13876
13877 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13878
13879         * Makefile.am:
13880         * lyxserver.C:
13881         * os2_defines.h:
13882         * os2_errortable.h:
13883         * nt_defines.h: move .h into support/
13884
13885         * vms_defines.h: remove
13886
13887         * WorkArea.C: add space in debug output
13888
13889         * text2.C:
13890         * paragraph.C:
13891         * buffer.C: add WITH_WARNINGS
13892
13893         * vc-backend.h:
13894         * vc-backend.C:
13895         * bufferlist.C: s/retrive/retrieve/, add docs
13896
13897         * vspace.h:
13898         * vspace.C:
13899         * kbmap.h:
13900         * lyxlength.h:
13901         * lyxgluelength.h:
13902         * length_common.h:
13903         * chset.h:
13904         * chset.C: add docs
13905
13906         * lyxgui.C: add ID to X error handler
13907
13908         * lyxtestclass.c: fix typo
13909
13910 2002-02-26  Juergen Vigna  <jug@sad.it>
13911
13912         * tabular_funcs.C (write_attribute): changed so that some default
13913         attributes are not written at all.
13914         (getTokenValue): set default values before trying to read the
13915         value so we have the return value always set as default if we don't
13916         find the token we search for.
13917
13918         * tabular.C (Write): write bools as bools not as strings!
13919
13920 2002-02-22  Juergen Vigna  <jug@sad.it>
13921
13922         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13923         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13924
13925         * text.C (leftMargin): don't add an indent for paragraphs inside
13926         tabular cells (fix #208).
13927
13928 2002-02-21  José Matos  <jamatos@fep.up.pt>
13929
13930         * tabular.C (docBook): fixed support for long tables.
13931
13932 2002-02-20  Juergen Vigna  <jug@sad.it>
13933
13934         * text2.C (getFont): get the drawing font of the Inset if this
13935         paragraph is inside an inset (only important for InsetERT for now).
13936
13937         * buffer.C (insertErtContents): use new lanugage params in ERT
13938         constructor.
13939
13940         * CutAndPaste.C: commenting out seemingly uneeded code.
13941
13942 2002-02-19  Allan Rae  <rae@lyx.org>
13943
13944         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13945         Iterators might be simple to use but they also get invalidated.
13946         (removeAutoInsets): renamed saved cursor tracking variables and added
13947         some comments to clarify what everything does.
13948
13949 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
13950
13951         * Chktex.C:
13952         * LaTeX.C:
13953         * LyXSendto.C:
13954         * converter.C:
13955         * lyx_cb.C:
13956         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13957         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13958
13959         * lyxfunc.C:
13960         * vc-backend.h: remove #include "support/syscall.h"
13961
13962         * LaTeX.C:
13963         * LyXSendto.C:
13964         * converter.C: rearrange #includes in Lars' approved fashion.
13965
13966         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13967         forward declare class Timeout in the header file.
13968
13969         * XFormsView.C: changes due to the above.
13970
13971         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13972         similar to LyXView.
13973
13974         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13975         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13976
13977 2002-02-18  José Matos  <jamatos@fep.up.pt>
13978
13979         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13980         insets contents.
13981
13982 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13983
13984         * a lot of small ws changes
13985         * add a lot of using std::XXX
13986         * use std construcs some places where approp.
13987         * use some exisint stuff from lyxfunctional where approp.
13988         * Make file changes to use partial linking (lets test this now...)
13989
13990 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13991
13992         * Chktex.C:
13993         * buffer.C:
13994         remove #include "support/syscontr.h" as it's redundant. Always has been.
13995
13996         * Chktex.C:
13997         * LaTeX.C:
13998         * LyXSendto.C:
13999         * converter.C:
14000         * lyx_cb.C:
14001         * vc-backend.C:
14002         change Systemcalls::System to Systemcalls::Wait and
14003         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
14004         No change of functionality, just reflects the stripped down Systemcalls
14005         class.
14006
14007 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
14008
14009         * debug.[Ch]: add a GRAPHICS type to the enum.
14010
14011 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14012
14013         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
14014
14015         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
14016         there is an inset.
14017
14018 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14019
14020         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
14021         match the changes below.
14022
14023         * text2.C (toggleInset): if there is not editable inset at cursor
14024         position, try to see if cursor is _inside_ a collapsable inset
14025         and close it.
14026
14027 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14028
14029         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
14030         document menu has a nice checkbox
14031
14032 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14033
14034         * lyxlength.C (asLatexString): change PW to output as percent of
14035         \textwidth.
14036
14037         * lengthcommon.C: change '%' to 't%'
14038
14039         * lyxfunc.C (dispatch): a few comments from Martin
14040
14041 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
14042
14043         * WorkArea.h:
14044         * WorkArea.C:
14045         * BufferView_pimpl.h:
14046         * BufferView_pimpl.C: clear our selection when X tells us we've lost
14047           the X selection.
14048
14049 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14050
14051         * vspace.C (inPixels): fix compiler warning
14052
14053 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14054
14055         * lyxfunc.C (getStatus): fix status message for disabled commands.
14056
14057 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
14058
14059         * BufferView_pimpl.C: fix crash on close buffer
14060         during selection (#227)
14061
14062 2002-01-27  Herbert Voss  <voss@lyx.org>
14063
14064         * buffer.C: link old Figure to new graphic inset
14065
14066 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14067
14068         * FontLoader.C (getFontinfo): Change the latex font names in order
14069         to match the names of type1inst.
14070
14071 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14072
14073         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
14074
14075         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
14076         (extchanged): ditto
14077         (ext_exist): ditto
14078         (remove_files_with_extension): ditto
14079         (remove_file): ditto
14080         (write): ditto
14081
14082         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
14083         document is smaller than the work area height. Do not initialize
14084         static variables to 0.
14085
14086 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14087
14088         * lyx_gui.C (init): give the toolbar tooltips a normal font.
14089
14090         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
14091         LFUN_LAYOUT_PARAGRAPHS.
14092
14093         * tabular.C (GetCellFromInset): new method. Finds an inset in a
14094         tabular. It is possible to provide a possible cell, which will
14095         typically be the actcell from the corresponding insettabular
14096
14097         * lyxfunc.C (getStatus): small cleanup; disable
14098         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
14099         true
14100
14101 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14102
14103         * tabular.C (Validate): remove broken optimization (fixes bug #201)
14104
14105         * paragraph.C (startTeXParParams):
14106         (endTeXParParams): new methods. The LaTeX code to
14107         start/end paragraph formatting
14108         (simpleTeXOnePar): call startTeXParParams also when paragraph is
14109         empty (fixes bug #200)
14110
14111         * vspace.C (inPixels): adapt to the change below
14112         (inPixels): [later] more cleanups (remove unused variables)
14113
14114         * lyxlength.C (inPixels): change to use a width and a height as
14115         parameter.
14116
14117 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14118
14119         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
14120         Replaced with \paperwidth
14121
14122         * DepTable.C (insert): add std:: qualifier
14123
14124 2002-01-18  Allan Rae  <rae@lyx.org>
14125
14126         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
14127         updated also?
14128
14129         * text.C (drawInset): Turned out I didn't know enough about how
14130         rebreaking worked.  This fixes most of the redraw problems.  I see
14131         an occasional cursor trail when a line is broken now and the cursor
14132         placement can seem out by a few pixels also after a rebreak.
14133
14134 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14135
14136         * buffer.C (parseSingleLyXformat2Token): update because minipage
14137         width is now a LyXLength
14138
14139         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
14140
14141         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
14142         math insets
14143
14144 2002-01-17  Juergen Vigna  <jug@sad.it>
14145
14146         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
14147
14148         * BufferView2.C (lockInset): call edit() so that theLockingInset()
14149         is set correctly and the inset is updated correctly.
14150
14151 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14152
14153         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
14154         the beginning of the loop.
14155
14156 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
14157
14158         * lyxrc.C: improve help for use_scalable_fonts
14159
14160 2002-01-17  Allan Rae  <rae@lyx.org>
14161
14162         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
14163
14164 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14165
14166         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
14167         make sure to set their inset_owner to the right value (bug #171)
14168
14169 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
14170
14171         * DepTable.h
14172         * DepTable.C: Implement mtime checking to reduce time spent doing
14173         CRCs.
14174
14175 2002-01-16  Juergen Vigna  <jug@sad.it>
14176
14177         * tabular.C (GetAdditionalHeight): one of error fixed.
14178
14179         * lyxrc.C (output): small fix in writing use_pspell.
14180
14181 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
14182
14183         * sp_base.h: #include LString.h
14184
14185 2002-01-16  Allan Rae  <rae@lyx.org>
14186
14187         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
14188         Can someone check this please?
14189
14190         * text.C (drawInset): It was possible that p.row would be removed by
14191         breakAgainOneRow upsetting a few other settings.  There may be another
14192         small tweak possible by setting need_break_row = 0 when p.row has been
14193         removed but I don't know enough about the logic here.
14194
14195 2002-01-15  Allan Rae  <rae@lyx.org>
14196
14197         * text.C (insertChar): removed conditional truism.
14198
14199         * BufferView2.C (removeAutoInsets): More tweaks.
14200         cur_par_prev could be a stray pointer.  Check for trailing empty line
14201         in case last line was cur_par and only had an error inset on it.
14202
14203 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14204
14205         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
14206         absolute
14207
14208         * vc-backend.C (most methods):
14209         * exporter.C (Export):
14210         * converter.C (convert):
14211         (runLaTeX):
14212         * LyXSendto.C (SendtoApplyCB):
14213         * lyxfunc.C (dispatch):
14214         (menuNew):
14215         (open):
14216         (doImport):
14217         * lyx_cb.C (AutoSave):
14218         (InsertAsciiFile):
14219         * BufferView_pimpl.C (MenuInsertLyXFile):
14220         * buffer.C (runChktex): use Buffer::filePath().
14221
14222         * buffer.h: rename filename to filename_; rename filepath to
14223         filepath_ and make it private
14224         (filePath): new method
14225
14226         * buffer.C (writeFile): use fileName()
14227         (getLatexName):
14228
14229         * lyx_main.C (init): fix starting  of LyX when the binary is a
14230         link from so,ewhere else.
14231
14232         * minibuffer.C: include <cctype> for isprint
14233
14234 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14235
14236         * buffer.C (parseSingleLyXformat2Token): changes associated with the
14237         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14238         name clash with InsetCollapsable's width function.
14239
14240 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14241
14242         * lastfiles.C: include <iterator>
14243
14244 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14245
14246         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14247         std::count.
14248
14249         * buffer.C (makeLaTeXFile): ditto.
14250         Also make loop operation more transparent.
14251
14252 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14253
14254         * ToolbarDefaults.C: remove trailing comma closing namespace.
14255
14256         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14257
14258         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14259         as in WorkArea.
14260
14261         * trans.C (Load): comment out unused variable, allowed.
14262
14263 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14264
14265         * minibuffer.[Ch] (append_char): new method to recieve input from the
14266         drop-down completion browser. If a key was pressed, then recieve this
14267         char and append it to the existing string.
14268         (peek_event): modify the positioning data passed to the completion
14269         browser so that it can be placed above the minibuffer rather than below.
14270 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14271
14272         * LyXAction.C (init): alloe error-next for readonly documents.
14273
14274         * BufferView2.C (ChangeRefsIfUnique): use standard version of
14275         count.
14276
14277 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14278
14279         * bufferlist.C (readFile): create the buffer _after_ checking that
14280         the file exists.
14281
14282         * lyxfunc.C (verboseDispatch): fix handling of arguments
14283
14284         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14285
14286         * lyxrc.C: use string::erase() instead of initializing to "".
14287
14288
14289 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14290
14291         * BufferView_pimpl.h:
14292         * BufferView_pimpl.C:
14293         * WorkArea.h:
14294         * WorkArea.C:
14295         * text2.C: tell X when we have made a selection for copying
14296
14297 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14298
14299         * BufferView_pimpl.C (MenuInsertLyXFile):
14300         * lyxfunc.C (menuNew):
14301         (open):
14302         (doImport): add shortcuts to directory buttons
14303
14304         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14305         open a float)
14306
14307         * lyxfunc.C (setStatusMessage):
14308         (getStatusMessage): new methods
14309         (getStatus):use setStatusMessage instead of setErrorMessage
14310         (dispatch): when function is disabled, set error message here
14311         [instead of in getStatus previously]
14312
14313         * BufferView_pimpl.C (workAreaButtonRelease): update
14314         toolbar/menubar here too.
14315
14316 2002-01-13  Allan Rae  <rae@lyx.org>
14317
14318         * BufferView2.C (removeAutoInsets): finished off earlier fix.
14319         Now seems indestructible.  Remaining task is to audit all other
14320         code affected by deleteEmptyParagraphMechanism.  One small quirk
14321         left is that an empty document with an error in the preamble can
14322         be made to report an error but no error box appears.  I don't know
14323         where it goes.
14324         (removeAutoInsets): Improved comments.
14325
14326 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
14327
14328         * Thesaurus.h:
14329         * Thesaurus.C: update for Aiksaurus 0.14
14330
14331 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14332
14333         * text2.C (firstParagraph): removed member function, all uses
14334         replaces with ownerParagraph
14335         (redoParagraphs): here
14336         (updateInset): here
14337         (toggleAppendix): here
14338         * BufferView2.C (insertErrors): here
14339         (setCursorFromRow): here
14340
14341 2002-01-13  Allan Rae  <rae@lyx.org>
14342
14343         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14344         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14345         There is still a way to segfault this although you may have to do this
14346         multiple times: Have an InsetERT with an unknown command in it.
14347         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14348         <down-arrow>, <Enter> again, View->DVI, BANG!
14349
14350         * text2.C (setCursor):
14351         (deleteEmptyParagraphMechanism):
14352         * lyxtext.h (setCursor):
14353         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14354         Making use of the return value may help fix other bugs.
14355
14356 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14357
14358         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14359
14360         * LyXView.C (updateMenubar): call MenuBar::update here
14361         (updateToolbar): but not here
14362         (showState): do not update toolbar/menubar
14363
14364         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14365         should need to care about that.
14366
14367         * lyxfunc.C (verboseDispatch): simplify a bit
14368         (getStatus): have a version which takes a pseudoaction, and
14369         another which requires a (kb_action,string).
14370
14371         * LyXAction.C (retrieveActionArg): make it work also when action
14372         is not a pseudo-action.
14373         (getActionName): simplify a bit
14374         (helpText):
14375
14376 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14377
14378         * lyxfunc.C (verboseDispatch): new families of methods with
14379         several ways to specify a command and a bool to indicate whether
14380         the command name and shortcut should be displayed in minibuffer
14381         (eventually, we could extend that to a finer bitmask like
14382         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14383         (dispatch): the pristine dispatch command which just, well,
14384         dispatchs! Note it still sets its result to minibuffer; I'm not
14385         sure we want that.
14386
14387         * lyxfunc.h: remove setHintMessage
14388
14389         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14390
14391 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14392
14393         * BufferView_pimpl.C (specialChar): delete new inset if we have
14394         not been able to insert it.
14395
14396         * kbmap.C: revert to using int instead of kb_action, since all we
14397         are dealing with is pseudo-actions.
14398
14399         * LyXAction.C (searchActionArg): change to return int instead of
14400         kb_action, since the result is a pseudoaction.
14401
14402 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
14403
14404         * buffer.C (insertErtContents): Fix (partially) the font bug.
14405
14406 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14407
14408         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14409         as the other one is broken on my machine!
14410
14411 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
14412
14413         * commandtags.h:
14414         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14415
14416 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
14417
14418         * lyxrc.[Ch]: change names and descriptions of popup font variables to
14419         reflect their actual use. Provide compatibility code for older lyxrc
14420         files.
14421
14422         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14423         FL_NORMAL_STYLE.
14424         change names of popup font variables in line with the changes to lyxrc.C
14425
14426 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14427
14428         * buffer.C (asciiParagraph): avoid outputing a word twice after
14429         an inset.
14430
14431         * lyxrc.C (getDescription): document that document_path and
14432         template_path can be empty.
14433
14434 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14435
14436         * LaTeXFeatures.C (getMacros):
14437         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14438
14439         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14440
14441         * LaTeXFeatures.C (useFloat): require "float" here instead of in
14442         getPackages.
14443         (getPackages): rename feature "floats" to "float". Use an array to
14444         iterate over 'simple' features (i.e. just a \usepackage). Add
14445         handling of "amsmath" (renamed from "amsstyle").
14446
14447 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
14448
14449         * LaTeXFeatures.C (require): Prevent duplicate entries in the
14450         features list.
14451
14452 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
14453
14454         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14455         FuncStaus::FuncStatus & FuncStaus::some_method().
14456
14457 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
14458
14459         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14460         of the func_satus stuff. Edited and massaged in various ways by
14461         JMarc.
14462
14463         * lyxfunc.C (getStatus): use FuncStatus
14464
14465 2002-01-08  Juergen Vigna  <jug@sad.it>
14466
14467         * text.C (nextBreakPoint): use function Inset::isChar().
14468
14469         * paragraph.C (TeXOnePar): use function
14470         Inset::forceDefaultParagraphs.
14471
14472         * buffer.C (latexParagraphs): use function
14473         Inset::forceDefaultParagraphs.
14474
14475 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14476
14477         * lyx_gui.C (init): set the style of the menu popups to
14478         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14479
14480 2002-01-07  Juergen Vigna  <jug@sad.it>
14481
14482         * text.C (setHeightOfRow): small fix
14483         (prepareToPrint): don't look at alignment if we don't have the place
14484         for doing it.
14485
14486 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14487
14488         * box.C: New file. Move the Box methods and functions out of box.h,
14489         following Lars' suggestion.
14490
14491 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14492
14493         * box.h: #include "support/LOstream.h", needed for inlined function.
14494
14495         * lyxtextclass.C:
14496         * lyxtextclasslist.C: added some using std declarations.
14497
14498 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
14499
14500         * box.h: make signed dimensions to allow insets wider than
14501           the screen (bug #162)
14502
14503         * BufferView_pimpl.C: add some insetHit debug
14504
14505 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
14506
14507         * vc-backend.C: add FIXME
14508
14509 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14510
14511         * lyxfunc.C (getStatus): enable code for showing math font status
14512         in toolbar/menu.
14513
14514 2002-01-07  Juergen Vigna  <jug@sad.it>
14515
14516         * text.C (nextBreakPoint): removed debug output not needed anymore.
14517
14518 2002-01-06  Juergen Vigna  <jug@sad.it>
14519
14520         * text.C (nextBreakPoint): fixed up this function we had this bug
14521         since ever but now hopefully we break row better.
14522         (insertChar): we have to check if an inset is the next char as it
14523         could now happen that a large inset is causing a break.
14524
14525 2002-01-05  Juergen Vigna  <jug@sad.it>
14526
14527         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14528         if it doesn't like to be drawed.
14529
14530 2002-01-04  Juergen Vigna  <jug@sad.it>
14531
14532         * BufferView2.C (lockInset): forgot to set a cursor.
14533
14534         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14535
14536 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
14537
14538         * FormMathsPanel.C:
14539         * FormMathsPanel.h
14540         * MathsSymbols.C:
14541         * form_maths_panel.C:
14542         * form_maths_panel.h:
14543         * form_maths_panel.fd: implemented sub- and super- buttons in math
14544         panel.
14545
14546         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14547         (or ^ space) to be used as in TeX (req'd by Andr�.
14548
14549         * lyxfunc.C: Allow ^ and _ again to be used both as
14550         super/subscript (mathed) and as themselves (in text).
14551
14552 2002-01-03  Allan Rae  <rae@lyx.org>
14553
14554         * LyXView.C (updateWindowTitle): Setup a short icon title of either
14555         "LyX" or the filename of the current buffer if it has one.  This is a
14556         modified form of John Levon's patch.
14557
14558         * XFormsView.C (setWindowTitle): also set icon title.
14559
14560         * LyXView.h (setWindowTitle): signature changed.
14561         * XFormsView.h (setWindowTitle): ditto.
14562
14563 2002-01-02  Juergen Vigna  <jug@sad.it>
14564
14565         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14566
14567 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14568
14569         * screen.C (topCursorVisible): introduce a temp var for
14570         text->cursor.row(), handle the case where this row is null. (kindo
14571         hachish)
14572
14573         * text2.C (setCursor): add a couple of asserts.
14574
14575         * paragraph.h (inset_iterator): add -> operator
14576
14577         * paragraph.[Ch] (autoDeleteInsets): remove member function
14578
14579         * BufferView2.C (removeAutoInsets): rewrite to handle the old
14580         cursor pos correctly and handle inset deletion by itself.
14581         (insertErrors): move iterator declaration out of for expression
14582
14583         * lyxtextclass.C: add <algorithm>
14584
14585         * Makefile.am: added the new files to sources, removed layout.C
14586
14587         * layout.C: removed file
14588
14589         * layout.h: remove LYX_DUMMY_LAYOUT
14590
14591         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14592         layout.
14593
14594         * lyxlayout.[Ch]:
14595         * lyxtextclass.[Ch]:
14596         * lyxtextclasslist.[Ch]: new files
14597
14598         * include order changes to a lot of files, also changes because of
14599         the six new files.
14600
14601 2001-12-27  Juergen Vigna  <jug@sad.it>
14602
14603         * buffer.C (asciiParagraph): more fixes.
14604
14605         * tabular.C (ascii): make ascii export support export of only the
14606         data separated by a column-delimiter.
14607         (ascii): better support for ascii export.
14608
14609         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14610
14611 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14612
14613         * tabular_funcs.C: use a "using std::getline" instead of the
14614         previous fix from Angus (necessary for cxx + lyxstring)
14615
14616 2001-12-24  Juergen Vigna  <jug@sad.it>
14617
14618         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14619
14620         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14621         problems. First check a minipage also if we have some ert-contents
14622         (not only on par->size(), second set the right depth of the paragraph
14623         on the relink to the root-paragraph-list!
14624
14625         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14626         which then did not anymore update the main paragraphs on undo/redo!
14627
14628 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14629
14630         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14631         code. Support all font-changing funcs (even those which are not in
14632         menu currently). Support for reporting font settings in
14633         mathed (disabled until Andre provides a function on mathed's side).
14634
14635         * func_status.h (toggle): small helper function to set toggle
14636         state on a flag.
14637
14638 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
14639
14640         * tabular_funcs.C: getline -> std::getline
14641
14642 2001-12-21  Juergen Vigna  <jug@sad.it>
14643
14644         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14645         accessed and could be 0 (I couldn't generate this but it seems
14646         Michael could!).
14647
14648 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14649
14650         * tabular_funcs.C: add LIstream.h, move write_attribute to..
14651         * tabular_funcs.h: here and include iosfwd
14652
14653 2001-12-20  Juergen Vigna  <jug@sad.it>
14654
14655         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14656         inside inset but undo_par was.
14657
14658 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14659
14660         * Thesaurus.C: always include <config.h> in sources.
14661
14662         * Painter.h:
14663         * lyxlookup.h:
14664         * box.h: do not include <config.h> in header files
14665
14666         * text.C (paintLastRow): remove unused variable
14667
14668         * text.C (transformChar):
14669         (insertChar):
14670         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14671
14672         * Painter.C (text):
14673         * font.C (width): rewrite to use uppercase() instead of
14674         islower/toupper.
14675
14676         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14677
14678 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
14679
14680         * lyxfind.C: clean up of find failure position change
14681
14682 2001-12-20  Juergen Vigna  <jug@sad.it>
14683
14684         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14685
14686         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14687         (TeXRow): added to LaTeX a single tabular row.
14688         (TeXLongtableHeaderFooter): added to output LT-h/f data.
14689         (Latex): simplified and finally good LT-h/f support.
14690         (various_functions): just small adaptions for LT-h/f support.
14691
14692         * tabular_funcs.[hC]: added and moved here all not classfunctions
14693         of LyXTabular.
14694
14695 2001-12-19  Juergen Vigna  <jug@sad.it>
14696
14697         * tabular.[Ch]: better support for longtabular options (not finished
14698         yet!)
14699
14700 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14701
14702         * text.C (paintLastRow): use the label font instead of the font of
14703         the last character to compute the size of *_BOX. This makes more
14704         sense and avoids a crash with empty paragraphs.
14705         Use Painter::rectangle to draw EMPTY_BOX.
14706
14707 2001-12-19  Juergen Vigna  <jug@sad.it>
14708
14709         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14710         the paragraphs if the replaced paragraph is not the first one!
14711         Tried to delete not used paragraphs but does not work yet so for
14712         now it's inside #ifdef's and by default off!
14713
14714 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14715
14716         * MenuBackend.C: include "lyx_main.h" instead of declaring
14717         lastfiles (actually was declared as LastFiles* instead of a
14718         scoped_ptr).
14719
14720 2001-12-17  Juergen Vigna  <jug@sad.it>
14721
14722         * tabular.C (AppendColumn): applied John's fix
14723
14724 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
14725
14726         * BufferView.h:
14727         * BufferView.C:
14728         * BufferView_pimpl.h:
14729         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14730
14731         * Makefile.am:
14732         * box.h: new start of class for above
14733
14734         * lyxfunc.C: ignore space-only minibuffer dispatches.
14735           Show the command name when it doesn't exist
14736
14737         * minibuffer.C: don't add empty lines to the history
14738
14739         * minibuffer.C: add a space on dropdown completion
14740
14741 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
14742
14743         * text.C: fix line above/below drawing in insets
14744
14745 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14746
14747         * lyxlength.C (LyXLength): Initialize private variables.
14748
14749 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
14750
14751         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14752         when inserting error insets.
14753
14754 2001-12-13  Juergen Vigna  <jug@sad.it>
14755
14756         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14757         actually sometimes the before-paragraph.
14758         (setUndo): don't clear the redostack if we're not actually undoing!
14759
14760 2001-12-06  Juergen Vigna  <jug@sad.it>
14761
14762         * undo_funcs.C (textHandleUndo): well after John's hint I got here
14763         and fixed redoing of main paragraph, so we can use it now ;)
14764
14765         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14766
14767 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14768
14769         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14770         Juergen's request
14771
14772 2001-12-13  André Pönitz <poenitz@gmx.net>
14773
14774         * undostack.[Ch]:
14775         * undo_func.C: minor cleanup
14776
14777 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14778
14779         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14780         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14781         font in urw-fonts package which is marked as -urw-fontspecific and
14782         does not work (incidentally, changing the encoding in the
14783         fonts.dir of this package to -adobe-fontspecific fixes the
14784         problem).
14785
14786         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14787         is a crash when undoing first paragraph (Juergen, please take a
14788         look). THis does not mean the undo fix is wrong, just that it
14789         uncovers problems.
14790
14791         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14792         the (Paragraph*) version when needed instead of duplicating the
14793         code.
14794
14795         * text.C (workWidth): use Inset::parOwner to find out where the
14796         inset has been inserted. This is a huge performance gain for large
14797         documents with lots of insets. If Inset::parOwner is not set, fall
14798         back on the brute force method
14799
14800         * paragraph_pimpl.C (insertInset):
14801         * paragraph.C (Paragraph):
14802         (cutIntoMinibuffer): set parOwner of insets when
14803         inserting/removing them
14804
14805         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14806
14807 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
14808
14809         * commandtags.h:
14810         * LyXAction.C:
14811         * lyx_main.C:
14812         * lyxfunc.C:
14813         * mathed/formulabase.C:
14814         * mathed/math_cursor.[Ch]:
14815         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14816
14817
14818 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14819
14820         * lyxlength.[Ch] (operator!=): new function
14821
14822 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14823
14824         * text.C (workWidth): use Inset::parOwner to find out where the
14825         inset has been inserted. This is a huge performance gain for large
14826         documents with lots of insets. If Inset::parOwner is not set, fall
14827         back on the brute force method
14828
14829         * paragraph_pimpl.C (insertInset):
14830         * paragraph.C (Paragraph):
14831         (cutIntoMinibuffer): set parOwner of insets when
14832         inserting/removing them
14833
14834         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14835
14836 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14837
14838         * tabular-old.C (getTokenValue):
14839         * tabular.C (getTokenValue):
14840         (write_attribute): new versions for LyXLength
14841         (everywhere): adjust the use of widths
14842
14843         * tabular.h: change the type of widths from string to LyXLength
14844
14845 2001-12-11  Ben Stanley <bds02@uow.edu.au>
14846
14847         * paragraph.C: fixed missing line number count when exporting
14848         Environments to LaTeX file
14849
14850         * buffer.C: added informational message for checking line numbers.
14851
14852 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14853
14854         * text2.C (deleteEmptyParagraphMechanism): if there is only one
14855         paragraph, do the 'double space' part, but not the 'empty
14856         paragraph' one.
14857
14858         * text.C (workWidth): small optimization
14859         (getLengthMarkerHeight): use minimal size for negative lengths.
14860
14861 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
14862
14863         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14864
14865         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14866
14867 2001-12-11  André Pönitz <poenitz@gmx.net>
14868
14869         * FontLoader.C:
14870         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14871
14872 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14873
14874         * text2.C: keep selection on a setFont()
14875
14876 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14877
14878         * lyx_cb.C: another bv->text misuse, from insert label
14879
14880 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14881
14882         * kbsequence.h:
14883         * kbsequence.C: re-instate nmodifier mask
14884
14885 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
14886
14887         * lyx_main.h: make lyxGUI private.
14888
14889 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14890
14891         * lyxfind.C: place the cursor correctly on failed search
14892
14893 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14894
14895         * text.C (getLengthMarkerHeight): for small heights, the arrows
14896         are not always on top/bottom of the text
14897         (drawLengthMarker): smaller arrows; take the left margin in
14898         account; draw also vfills.
14899         (paintFirstRow):
14900         (paintLastRow): remove special code for vfill and standard spaces,
14901         since everything is handled in drawLengthMarker now.
14902
14903 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14904
14905         * buffer.C (insertErtContents): try to handle font and language
14906         interaction a bit better.g
14907
14908         * ColorHandler.C (updateColor): change the hash to cover the whole
14909         LColor enum, ws cleanup
14910         (getGCLinepars): ditto
14911         (getGCLinepars): only lookup in the linecache once.
14912
14913 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
14914
14915         * iterators.C (operator++): Make the iterator more robust
14916
14917         * BufferView2.C (removeAutoInsets): Use paragraph iterators
14918         (John's patch)
14919         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14920
14921 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14922
14923         * lyxtext.h:
14924         * text.C: better added space drawing
14925
14926 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14927
14928         * LyXView.C:
14929         * BufferView2.C: fix layout combo update on inset unlock
14930
14931 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14932
14933         * Makefile.am: don't compile unused files
14934
14935 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14936
14937         * lyxfunc.C:
14938         * commandtags.h:
14939         * LyXAction.C: remove old LFUN_LAYOUTNO
14940
14941 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14942
14943         * paragraph_pimpl.h:
14944         * paragraph_pimpl.C: isTextAt() doesn't need font param
14945
14946 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14947
14948         * lyxlex.h:
14949         * lyxlex.C: little cleanup
14950
14951 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14952
14953         * BufferView_pimpl.C: fix insertAscii for insets
14954
14955 2001-12-05  Juergen Vigna  <jug@sad.it>
14956
14957         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14958         set the right font on the "multi" paragraph paste!
14959
14960 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14961
14962         * trans_decl.h:
14963         * trans_mgr.[Ch]:
14964         * trans.[Ch]:
14965         * lyxgluelength.C:
14966         * lyxlength.C: remove out-commented code.
14967
14968         * BufferView_pimpl:
14969         * CutAndPaste.C:
14970         * DepTable.C:
14971         * buffer.C:
14972         * chset.C:
14973         * lastfiles.C:
14974         * lyxlex.C:
14975         * lyxlex_pimpl.C:
14976         * lyxserver.C:
14977         * screen.C:
14978         * tabular-old.C:
14979         * tabular.C:
14980         * text.C:
14981         * trans_mgr.C:
14982         * vc-backend.C: change "while(" to "while ("
14983
14984         * lyxlength.[Ch]: add zero function to check if length is zero or
14985         not
14986         * lyxgluelength.C: use it
14987
14988 2001-12-05  Allan Rae  <rae@lyx.org>
14989
14990         * lyxlength.C: Attempted a fix for the abs(int) header selection.
14991         Works for 2.95.3, from what I understand of Garst's reports this should
14992         work for other g++ versions.  We're screwed if the abs(int) definition
14993         changed between bugfix releases of gcc.
14994
14995 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14996
14997         * text.C: fix chapter label offset !
14998
14999 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
15000
15001         * lyxtext.h:
15002         * text.C: fix hfill at end of line, clean up
15003
15004 2001-12-04  Juergen Vigna  <jug@sad.it>
15005
15006         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
15007         that we force an update of the inset and it's owners if neccessary.
15008
15009 2001-12-03  Juergen Vigna  <jug@sad.it>
15010
15011         * text.C (rowLast): simplified code
15012
15013 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
15014
15015         * lyxfunc.C: fix show options on timeout
15016
15017 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15018
15019         * screen.C (topCursorVisible): scroll half a page when the cursor
15020         reached top of bottom of screen
15021
15022 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
15023
15024         * minibuffer.C: deactivate on loss of focus
15025
15026 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15027
15028         * vspace.[Ch] (operator!=): add operator.
15029
15030 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
15031
15032         * BufferView_pimpl.C: refuse to open an inset when
15033         there's a selection.
15034
15035 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
15036
15037         * BufferView_pimpl.C: allow to click on RHS of full row insets
15038
15039 2001-11-30  Juergen Vigna  <jug@sad.it>
15040
15041         * tabular.C (LyXTabular): add a same_id to set the same id's in the
15042         insets for undo reasons.
15043
15044 2001-11-28  André Pönitz <poenitz@gmx.net>
15045
15046         * vspace.[Ch]: cosmetical changes
15047
15048 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15049
15050         * LyXAction.h:
15051         * LyXAction.C:
15052         * lyxfunc.h:
15053         * lyxfunc.C:
15054         * kbmap.h:
15055         * kbmap.C:
15056         * lyxrc.C:
15057         * kbsequence.h:
15058         * kbsequence.C: part re-write of old kb code
15059
15060         * Painter.C:
15061         * WorkArea.C: remove Lgb_bug_find_hack
15062
15063 2001-11-30  José Matos <jamatos@fep.up.pt>
15064
15065         * buffer.C (makeDocBookFile): add a comment to point a hack.
15066         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
15067         Fixed a double write of labels.
15068
15069 2001-11-29 Ben Stanley <bds02@uow.edu.au>
15070
15071         * LaTeX.C:
15072         * LaTeX.h Fixed bug in LaTeX class where it would not
15073         re-run latex if no depfiles were changed, but the .dvi was removed.
15074
15075 2001-11-28  André Pönitz <poenitz@gmx.net>
15076
15077         * all the files from the change on 2001/11/26:
15078         use lyx::layout_type instead of LyXTextClass::size_type
15079         use lyx::textclass_type instead of LyXTextClassList::size_type
15080
15081 2001-11-29  Juergen Vigna  <jug@sad.it>
15082
15083         * text.C: added support for paragraph::isFreeSpacing()
15084
15085         * buffer.C: same as above
15086
15087         * paragraph.h: inserted isFreeSpacing() function to enable
15088         FreeSpacing inside InsetERT.
15089
15090         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
15091         of the paragraph's in the cut/copy buffer to 0!
15092
15093         * text2.C (removeRow): remove the assert as it can!
15094
15095         * lyxtext.h: added helper function firstRow returning firstrow and
15096         made firstrow private again.
15097
15098         * BufferView2.C (lockInset): don't relock if we're already locked!
15099
15100         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
15101         the only paragraph.
15102         (removeRow): added Assert::(firstrow)
15103
15104         * debug.C: forgot to add INSETTEXT here.
15105
15106 2001-11-28  Juergen Vigna  <jug@sad.it>
15107
15108         * sp_spell.C (initialize): changed error text to more general
15109         spellchecker command use (not only ispell!)
15110
15111         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
15112
15113         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
15114
15115 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15116
15117         * vspace.C: initialise lyxgluelength on failure
15118
15119 2001-11-28  Allan Rae  <rae@lyx.org>
15120
15121         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
15122         declaration & definition that looks like a function declaration.
15123
15124 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15125
15126         * BufferView2.C (copy):
15127         (copyEnvironment): do not clear the selection when doing a copy.
15128
15129         * text.C (paintFirstRow): compilation fix
15130
15131 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
15132
15133         * tabular.C (Latex): correct line count when writing latex.
15134
15135 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
15136
15137         * paragraph_pimpl.h:
15138         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
15139           bug a bit
15140
15141 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15142
15143         * text.C:
15144         * LColor.h:
15145         * LColor.C: change vfillline->added_space
15146
15147         * text.C: add markers and text for added space
15148
15149         * vspace.C: fix comment
15150
15151 2001-11-28  André Pönitz <poenitz@gmx.net>
15152
15153         * paragraph.C: whitespace changes
15154         * all the other files from the change on 2001/11/26:
15155         change *::pos_type into lyx::pos_type
15156
15157 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
15158
15159         * buffer.C (parseSingleLyXformat2Token): Set the language to the
15160         language of the document when inserting error insets.
15161
15162 2001-11-26  André Pönitz <poenitz@gmx.net>
15163
15164         * BufferView_pimpl.[Ch]:
15165         *       CutAndPaste.C:
15166         * buffer.[Ch]:
15167         * lyxcursor.[Ch]:
15168         * lyxfind.C:
15169         * lyxfunc.C:
15170         * lyxrow.[Ch]:
15171         * paragraph.[Ch]:
15172         * paragraph_pimpl.[Ch]:
15173         * sp_spell.C:
15174         * text.C:
15175         * text2.C: reduce header dependencies, introduce type for positions
15176
15177 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15178
15179         * <various>: change to use Alert.h
15180
15181 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
15182
15183         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
15184         when encountering an unknown token.
15185         (readLyXformat2): Show an error message if there were unknown tokens.
15186
15187 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
15188
15189         * BufferView2.C:
15190         * BufferView_pimpl.C:
15191         * buffer.C:
15192         * paragraph.h:
15193         * text.C:
15194         * text2.C: use par->isInset()
15195
15196 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15197
15198         * paragraph_pimpl.h:
15199         * paragraph_pimpl.C: cleanup
15200
15201 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15202
15203         * text2.C (removeRow):
15204         * text.C (setHeightOfRow): remove useless (and costly) call to
15205         getRow.
15206
15207 2001-11-20  Allan Rae  <rae@lyx.org>
15208
15209         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
15210         Now need Inset*::checkInsertChar() to return true for appropriate
15211         cases so that the characters in the minibuffer will actually be
15212         inserted.
15213
15214 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15215
15216         * text.C: change the order of the includes.
15217         (workWidth): initialize it at once.
15218         (workWidth): make maxw unsigned
15219         (setHeightOfRow): remove unused variable (inset)
15220         (selectSelectedWord): remove unused variable (inset)
15221         (paintRowText): fix drawing of hfill characters, and clean up a bit.
15222
15223 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15224
15225         * lyxserver.C (emergencyCleanup): do not try to close pipes if
15226         server is not running.
15227         (openConnection):
15228         (closeConnection): add debug info when server is disabled.
15229
15230         * ColorHandler.C (getGCForeground): send debug message to GUI
15231         channel.
15232
15233         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15234
15235         * kbmap.C (bind): modify because return conventions of
15236         kb_sequence::parse have changed.
15237
15238         * kbsequence.C (parse): only ignore spaces and not any stupid
15239         control character. This avoids tests like s[i] <= ' ', which are
15240         guaranteed to fail with 8bit characters and signed chars.
15241         Change return code to string::npos when there have been no error
15242         (0 was a bad idea when error is at first character)
15243
15244 2001-11-14  José Matos  <jamatos@fep.up.pt>
15245
15246         * buffer.h:
15247         * buffer.C (simpleDocBookOnePar): removed unused argument.
15248
15249 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15250
15251         * text.C (selectNextWordToSpellcheck): do not test explicitely for
15252         insets which are part of a word. Paragraph::isLetter takes care of
15253         that now. Use Paragraph::isInset to identify insets.
15254         (selectSelectedWord): do not test for hyphenation break.
15255
15256         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15257         that protected spaces are considered as spaces.
15258
15259         * paragraph.C (isLetter): cleanup the code for ispell extras; use
15260         Inset::isLetter.
15261
15262 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
15263
15264         * lyxserver.h:
15265         * lyxserver.C: fix it. and small cleanup.
15266
15267 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15268
15269         * BufferView_pimpl.C: use inline helpers
15270
15271         * LaTeXFeatures.h:
15272         * LaTeXFeatures.C: fix typos
15273
15274         * Spacing.h:
15275         * Spacing.C: move spacing_string into class
15276
15277         * ToolbarDefaults.C: move stuff into namespace anon
15278
15279         * layout.h: update enum
15280
15281         * lyxfunc.C: use better debug
15282
15283         * minibuffer.h: fix typo
15284
15285         * debug.h:
15286         * debug.C:
15287         * WorkArea.C: add and use Debug::WORKAREA
15288
15289         * lyxtext.h:
15290         * text.C:
15291         * text2.C: code re-organisation, inline helpers
15292
15293 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
15294
15295         * Layout.C: replaced a few cases of std::vector.size() == 0 with
15296         std::vector.empty().
15297
15298 2001-11-09  Allan Rae  <rae@lyx.org>
15299
15300         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15301         '\n's after tables.  Tabular and ERT inset work now makes this no
15302         longer necessary.
15303
15304 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15305
15306         * minibuffer.h:
15307         * minibuffer.C: fix crash, improve drop-down completion
15308
15309 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
15310
15311         * lyxserver.h:
15312         * lyxserver.C: invalidate fd's when doing endPipe()
15313
15314 2001-11-08  José Matos  <jamatos@fep.up.pt>
15315
15316         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15317         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15318
15319         * paragraph.h:
15320         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15321
15322 2001-11-07  José Matos  <jamatos@fep.up.pt>
15323
15324         * buffer.h:
15325         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15326         const qualifier.
15327
15328         * buffer.C (sgmlOpenTag):
15329         * buffer.C (sgmlCloseTag): removed debug info.
15330
15331         * buffer.h (sgmlOpenTag):
15332         * buffer.h (sgmlCloseTag): made public.
15333
15334 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15335
15336         * buffer.C (saveParamsAsDefaults):
15337         * lyx_cb.C (MenuLayoutSave): remove
15338
15339         * LyXAction.C (init):
15340         * commandtags.h:
15341         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15342
15343 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15344
15345         * buffer.C (setPaperStuff): removed from here...
15346
15347         * bufferparams.C (setPaperStuff): ... and moved there.
15348
15349 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
15350
15351         * minibuffer.h:
15352         * minibuffer.C:
15353         * XFormsView.C: add support for drop-down completion
15354
15355 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
15356
15357         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15358         commands.
15359
15360 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15361
15362         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15363         disabled.
15364
15365 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
15366
15367         * lyx_main.C: change ref to known bugs
15368
15369 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
15370
15371         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15372         to work around older babel problems.
15373
15374 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15375
15376         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15377
15378 2001-10-24  Juergen Vigna  <jug@sad.it>
15379
15380         * tabular-old.C (ReadOld): below variable changes reflected.
15381
15382         * tabular.[Ch]: added ltType struct for longtable header/footer
15383         defines and changed all instances where they are used. Added
15384         future support for double top/bottom rows.
15385
15386 2001-10-24  José Matos  <jamatos@fep.up.pt>
15387
15388         * buffer.h (docbookHandleCaption):
15389         * buffer.C (docbookHandleCaption): removed unused function.
15390         (makeDocBookFile): moved docbook supported version to v4.1.
15391
15392 2001-10-24  José Matos  <jamatos@fep.up.pt>
15393
15394         * tabular.h:
15395         * tabular.C (docbookRow): new function to export docbook code of a row.
15396         (DocBook): now honors the longtable flags.
15397
15398 2001-10-23  José Matos  <jamatos@fep.up.pt>
15399
15400         * LaTeXFeatures.h:
15401         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15402         of the lyx defined sgml entities used in a docbook/linuxdoc document.
15403
15404         * buffer.C (makeLinuxDocFile):
15405         (makeDocBookFile): reworked the preamble, more clean, and with
15406         support for lyx defined entities. Changed the document declaration
15407         to be more XML friendly.
15408
15409         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15410         if we need to output XML that should be done with a filter.
15411
15412 2001-10-22  Juergen Vigna  <jug@sad.it>
15413
15414         * sp_pspell.h (class PSpell): add alive function needed in the
15415         controller to see if the spellchecker could be started.
15416
15417 2001-10-22  Juergen Vigna  <jug@sad.it>
15418
15419         * buffer.C (insertStringAsLines): modify the font for inserting
15420         chars in certain conditions by calling checkInsertChar(font).
15421
15422 2001-10-19  Juergen Vigna  <jug@sad.it>
15423
15424         * text.C (workWidth): use getRow instead of wrong algorithm.
15425         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15426
15427 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
15428
15429         * lyxserver.h:
15430         * lyxserver.C:
15431         * lyx_main.h:
15432         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15433
15434 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15435
15436         * text.C (workWidth): do not search for the exact row when
15437         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15438         optimization for big documents.
15439
15440 2001-10-18  Juergen Vigna  <jug@sad.it>
15441
15442         * text.C (workWidth): new function with added Inset * parameter.
15443
15444 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15445
15446         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15447
15448         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15449         change return type of getColumnNearX.
15450
15451
15452         * text.C (changeRegionCase): use uppercase/lowercase instead of
15453         toupper/tolower.
15454         (leftMargin):
15455         (rightMargin): simplify code by factoring out the uses of
15456         textclasslist.
15457         (labelFill):
15458         (numberOfHfills):
15459         (setHeightOfRow):
15460         (appendParagraph): use Paragraph::size_type
15461
15462 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15463
15464         * vspace.C (asLatexString): add a missing break
15465
15466 2001-10-15  Herbert Voss  <voss@perce.de>
15467
15468         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15469
15470 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15471
15472         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15473         is not available.
15474
15475 2001-10-10  André Pönitz <poenitz@gmx.net>
15476
15477         * lyxfunc.C: removed greek_kb_flag.
15478
15479 2001-10-10  Herbert Voss  <voss@perce.de>
15480
15481         * lyx_main.C: delete global string help_lyxdir.
15482
15483 2001-10-09  Herbert Voss  <voss@perce.de>
15484
15485         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15486
15487         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15488
15489         * lyx_main.C: added global string help_lyxdir.
15490
15491         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15492
15493 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15494
15495         * lyxrc.C (set_font_norm_type): support iso8859-4
15496
15497 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
15498
15499         * LaTeX.C (deplog): add another regex for MikTeX
15500
15501 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15502
15503         * lyxrc.C (set_font_norm_type): support iso8859-3
15504
15505 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15506
15507         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15508
15509         * LaTeXFeatures.C: remove special case of french and index
15510
15511         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15512         before \begin{document}). This solves several incompatibilities.
15513
15514 2001-10-03  Garst Reese  <reese@isn.net>
15515
15516         * lyx_cb.C: change CheckTex error msg.
15517
15518 2001-10-03  José Matos  <jamatos@fep.up.pt>
15519
15520         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15521
15522 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15523
15524         * .cvsignore: update
15525
15526         * lyx_main.C (commandLineVersionInfo): use new style version info.
15527
15528         * buffer.C (writeFile):
15529         (makeLaTeXFile):
15530         (makeLinuxDocFile):
15531         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15532
15533         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15534
15535         * version.h: update to use stuff in version.C
15536
15537         * version.C.in: new file. Contains version information determined
15538         at compile time. This is a merging of version.h and
15539         version_info.h.in.
15540
15541 2001-10-03  Juergen Vigna  <jug@sad.it>
15542
15543         * BufferView_pimpl.C (update): don't change "dirty" status in
15544         updateInset call.
15545
15546 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
15547
15548         * WorkArea.C (c-tor): re-position version string slightly.
15549
15550 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
15551
15552         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15553         revert to previous code.
15554
15555         WorkArea.[Ch]: (show, destroySplash): methods removed.
15556
15557         WorkArea.C: rework code so that it's an amalgam of the codes before and
15558         after the splash screen was moved to WorkArea.
15559
15560 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15561
15562         * lyxrc.C (read):
15563         * vspace.C (inPixels):
15564         (lyx_advance):
15565         * kbmap.C (bind):
15566         * buffer.C (insertStringAsLines):
15567         (asciiParagraph): fix types to be large enough
15568
15569         * lyxlex_pimpl.h: change member status from short to int
15570
15571         * layout.h: fix type of endlabeltype
15572
15573         * kbmap.C (bind):
15574         * kbsequence.C (parse): change return type to string::size_type
15575
15576         * LaTeX.C (updateBibtexDependencies): comment out unneeded
15577         variable
15578
15579         * Bullet.C (bulletSize):
15580         (bulletEntry): do not use short ints as parameters
15581
15582         * BufferView2.C (insertLyXFile): change a char to an int.
15583
15584         * WorkArea.C (WorkArea): remove unneeded floats in computation
15585
15586 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
15587
15588         * buffer.C (asciiParagraph): Treat '\\' as other chars.
15589
15590         * paragraph.C (asString): Do not ignore newline/hfill chars when
15591         copying to the clipboard.
15592
15593 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
15594
15595         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15596         after a multi-line inset.
15597
15598 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
15599
15600         * paragraph.C (validate): Set NeedLyXFootnoteCode
15601
15602 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15603
15604         * lyxfont.C (LyXSizeNames): changed increase-error to increase
15605         and decrease-error to decrease.
15606
15607 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15608
15609         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15610         it more readable (should be equivalent)
15611
15612 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15613
15614         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15615
15616 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15617
15618         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15619         of a cursor (row, etc.) after a character has been deleted
15620         (deleteEmptyParagraphMechanism): call the method above on _all_
15621         cursors held by the LyXText when a double space has been
15622         detected/deleted.
15623
15624 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15625
15626         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15627         pixmap.
15628         (resizeCurrentBuff): remove code to destroy the old splash dialog.
15629
15630         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15631         background. Use greyOut() and the new show() methods to toggle between
15632         the foreground and background. Add code to remove the splash after
15633         its initial showing.
15634
15635         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15636         (create_forms): no longer call Dialogs::showSplash.
15637
15638 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15639
15640         * .cvsignore: add version_info.h
15641
15642 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15643
15644         * version_info.h.in: new file
15645
15646         * Makefile.am: add version_info.h.in
15647
15648         * lyx_main.C (commandLineVersionInfo): use version_info defined in
15649         version_info.h instead of VERSION_INFO
15650
15651 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
15652
15653         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15654         The ERT inset now returns string().
15655
15656 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
15657
15658         * lyxtext.h, text.C (selectNextWord): renamed as
15659         selectNextWordToSpellcheck.
15660
15661         * text.C (selectNextWordToSpellcheck): Modified to not select
15662         words inside an ERT inset.
15663
15664 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15665
15666         * lyx_cb.C (MenuLayoutSave): change a bit the question
15667
15668         * sp_base.h: include <sys/types.h>
15669
15670 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
15671
15672         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15673
15674 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
15675
15676         * several files: fix typos in user-visible strings
15677
15678 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15679
15680         * text2.C (pasteSelection): do not set the selection, since it
15681         will be cleared later. Actually, the intent was to fix the way the
15682         selection was set, but I figured rmoving the code was just as good.
15683
15684 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
15685
15686         * FontLoader.C (available): Check if font is available without
15687         loading the font.
15688
15689 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
15690
15691         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15692
15693 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
15694
15695         * lyxrc.[Ch]: added display_graphics variable and associated code.
15696
15697 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15698
15699         * bufferparams.C (hasClassDefaults): new method. Returns true if
15700         the buffer parameters correspond to known class defaults
15701
15702 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
15703
15704         * XFormsView.C (show): set minimum size to the main window.
15705
15706 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15707
15708         * text2.C (copySelection):
15709         (cutSelection):
15710         * lyxfind.C (LyXReplace):
15711         * BufferView_pimpl.C (Dispatch): pass the correct flag to
15712         LyXText::selectionAsString.
15713
15714         * paragraph.C (asString): add "label" argument to the second form
15715
15716         * text2.C (selectionAsString): add "label" argument and pass it to
15717         Paragraph::asString.
15718
15719 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15720
15721         * lyx_main.C (commandLineHelp): remove version information
15722
15723 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
15724
15725         * lyx_main.C: add -version commandline option
15726
15727 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15728
15729         * paragraph.h: make the optional constructor arg required instead.
15730         some modifications to other files because of this.
15731
15732         * minibuffer.C (C_MiniBuffer_peek_event): make it static
15733
15734         * lyxserver.C (C_LyXComm_callback): make it static
15735
15736         * lyx_main.C (error_handler): make it static
15737
15738         * lyx_gui.C (LyX_XErrHandler): make it static
15739
15740         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15741
15742         * WorkArea.C: make the extern "C" methods static.
15743
15744         * Makefile.am (lyx_LDADD): simplify
15745
15746 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15747
15748         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15749         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15750
15751         * LyXAction.C (init):
15752         * lyxfunc.C (dispatch): associated code removal.
15753
15754 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15755
15756         * lyxfont.h (isSymbolFont): shut off warning
15757
15758         * text.C (setHeightOfRow):
15759         (getVisibleRow): fix crash with empty paragraphs which have a
15760         bottom line
15761
15762 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
15763
15764         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15765         code.
15766
15767 2001-09-04  José Matos  <jamatos@fep.up.pt>
15768         * buffer.C
15769         * buffer.h
15770         * tabular.C (docbook): rename docBook method to docbook.
15771
15772 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15773
15774         * Makefile.am: add dependencies to main.o.
15775
15776 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
15777
15778         * FontLoader.C (available): Return false if !lyxrc.use_gui
15779
15780 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
15781
15782         * FontInfo.C (query):
15783         * converter.C (view):
15784         * importer.C (Import):
15785         * exporter.C (Export): Can not -> cannot.
15786
15787 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
15788
15789         * BufferView_pimpl.C: allow to create index inset even if
15790           string is empty
15791
15792 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15793
15794         * buffer.C (getLists): replace boost::tie code with an explicit pair
15795         as boost::tie can break some compilers.
15796
15797         * iterators.h: Added a std:: declaration to the return type of
15798         ParIterator::size.
15799
15800 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
15801
15802         * lyxrc.C: add help for view_dvi_paper_option, default to safe
15803           case.
15804
15805 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
15806
15807         * iterators.[Ch]: New files. Provide paragraph iterators.
15808
15809         * buffer.C (changeLanguage): Use paragraph iterators.
15810         (isMultiLingual): ditto
15811
15812         * BufferView2.C (ChangeInsets): Use paragraph iterators.
15813
15814 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
15815
15816         * FontLoader.C: Support for cmr font.
15817
15818 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
15819
15820         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15821         (available): New method.
15822
15823         * FontInfo.C (getFontname): Use scalable fonts even when
15824         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15825         found.
15826
15827 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15828
15829         * converter.C (Formats::view): reverted! Incorrect fix.
15830
15831 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15832
15833         * converter.C (Formats::view): only output the -paper option
15834         if the dvi viewer is xdvi, thereby fixing bug #233429.
15835
15836 2001-08-23  Herbert Voss  <voss@perce>
15837
15838         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15839
15840 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
15841
15842         * Spacing.h (Spacing): Set space to Default on in the default
15843         constructor.
15844
15845 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15846
15847         * vc-backend.h (RCS::versionString): add RCS to version
15848         (CVS::versionString): add CVS to version
15849
15850         * vc-backend.C (scanMaster): do not add CVS to version.
15851         (scanMaster): do not add RCS to version
15852
15853         * lyxvc.C (versionString): new method
15854
15855         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15856
15857 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15858
15859         * Spacing.C (set): initialize fval
15860
15861 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
15862
15863         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15864         " or \.
15865
15866 2001-08-16  Juergen Vigna  <jug@sad.it>
15867
15868         * lyxfunc.C (dispatch): implemented the new FINISHED states.
15869
15870 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15871
15872         * BufferView_pimpl.C:
15873         * figureForm.C:
15874         * lyxtext.h:
15875         * text2.C: setParagraph takes linespacing now
15876
15877 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
15878
15879         * LyxAction.C: add internal LFUN_CITATION_INSERT
15880
15881         * LyXView.C: actually apply fix
15882
15883         * bufferlist.C: fix open non-existent file
15884
15885         * lyxfind.C: fix indentation
15886
15887         * lyxfunc.C: remove unneeded assert, fix typo
15888
15889 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15890
15891         * MenuBackend.C: use "Floatname List"
15892
15893 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
15894
15895         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15896         when converting LaTeX layout to insetERT.
15897         Generate a non-collapsed float when reading old float
15898
15899 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15900
15901         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15902         ERT insets.
15903
15904 2001-08-13  Juergen Vigna  <jug@sad.it>
15905
15906         * text.C (fill): return 0 instead of 20 as this seems to be the more
15907         correct value.
15908
15909 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15910
15911         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15912         lyxrc.font_norm.
15913
15914 2001-08-13  Juergen Vigna  <jug@sad.it>
15915
15916         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15917         casesensitive off.
15918         (SearchBackward): comment out the unlocking of the inset_owner this
15919         should not be needed!
15920
15921 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
15922
15923         * Many files: Remove inherit_language, and add latex_language
15924
15925         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15926         collapsible insets.
15927
15928 2001-08-10  Juergen Vigna  <jug@sad.it>
15929
15930         * text.C (prepareToPrint): fixed hfill-width in draw!
15931
15932         * BufferView2.C (selectLastWord): save the selection cursor as this
15933         now is cleared in the function LyXText::clearSelection!
15934
15935 2001-08-08  Juergen Vigna  <jug@sad.it>
15936
15937         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15938         BACKSPACE type functions.
15939
15940         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15941         is only cutted from the document but not put in the cut-buffer, where
15942         still the old stuff should be.
15943
15944         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15945
15946         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15947
15948         * tabular.C (SetWidthOfCell): fixed special case where the width
15949         was not updated!
15950         (LeftLine): handle '|' in align_special.
15951         (RightLine): ditto
15952         (LeftAlreadyDrawed): ditto
15953         (SetWidthOfCell): ditto
15954
15955 2001-08-07  Juergen Vigna  <jug@sad.it>
15956
15957         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15958
15959 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15960
15961         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15962         * lyxlex.[hC]: ditto
15963
15964 2001-08-06  Juergen Vigna  <jug@sad.it>
15965
15966         * text.C (getVisibleRow): fix up row clearing a bit.
15967
15968 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15969
15970         * minibuffer.C: make sure the X server sees the changes in the input.
15971
15972 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15973
15974         * paragraph.C (getFont): split into...
15975         (getLabelFont): this
15976         (getLayoutFont): and this
15977         * paragraph_pimpl.C (realizeFont): calling this
15978
15979         * text2.C (getFont): split into...
15980         (getLayoutFont): this
15981         (getLabelFont): and this
15982         (realizeFont): all three calling this
15983
15984         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15985         files where used.
15986
15987 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15988
15989         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15990
15991 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
15992
15993         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15994         layouts from the Quote inset insertion.
15995
15996 2001-08-03  Juergen Vigna  <jug@sad.it>
15997
15998         * BufferView_pimpl.C (update): do the fitCursor only at the end!
15999
16000         * screen.C (drawFromTo): don't call fitcursor here and do the loop
16001         only if status not is already CHANGED_IN_DRAW (second level).
16002
16003         * text.C (draw): don't set the need_break_row when inside an
16004         InsetText LyXText.
16005
16006 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16007
16008         * buffer.C (parseSingleLyXformat2Token): handle more latex
16009         conversion cases.
16010
16011         * bufferview_funcs.[hC]: change function names to
16012         begin with small char, adjust other files.
16013
16014 2001-08-02  André Pönitz <poenitz@gmx.net>
16015
16016         * lyxfunc.C:
16017         BufferView_pimpl.C: remove broken special code for math-greek
16018
16019 2001-08-02  Juergen Vigna  <jug@sad.it>
16020
16021         * BufferView_pimpl.C (update): redone this function so that we
16022         update the text again if there was a CHANGE_IN_DRAW.
16023
16024         * screen.C (cursorToggle): removed LyXText parameter and recoded.
16025         (drawFromTo): added a new internal bool which is used by draw() and
16026         redraw() function.
16027         (general): some cursor drawing problems fixed.
16028
16029 2001-08-01  Juergen Vigna  <jug@sad.it>
16030
16031         * lyxfind.C (LyXFind): fixed
16032         (SearchForward): ditto
16033         (SearchBackward): ditto
16034
16035         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
16036         spurius drawing of the cursor in the main area.
16037
16038         * text2.C (status): small fix which could lead to a segfault!
16039         (clearSelection): remove unneeded BufferView param.
16040
16041 2001-08-01  André Pönitz <poenitz@gmx.net>
16042
16043         * lyxfunc.C: small change due to changed mathed interface
16044
16045 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16046
16047         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
16048
16049 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
16050
16051         * lyxfunc.c: fail gracefully if file doesn't exist
16052
16053         * LyXSendto.C:
16054         * buffer.C:
16055         * lyxfunc.C:
16056         * BufferView_pimpl.C: IsDirWriteable() proto changed
16057
16058         * LyXView.C: fix updateWindowTitle() to store the last title
16059
16060 2001-07-31  Juergen Vigna  <jug@sad.it>
16061
16062         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
16063         the font (wrong since using of Paragraph::highestFontInRange).
16064
16065         * paragraph.C (highestFontInRange): added a default_size parameter.
16066
16067         * text.C (getVisibleRow): minor clear row changes (still not perfect).
16068         (setHeightOfRow): reformat
16069
16070 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16071
16072         * converter.[hC] + affected files: move to (inital-char)lowercase
16073         function names.
16074
16075         * ParagraphParameters.C (ParagraphParameters): remove commented code
16076
16077         * PainterBase.[Ch]: remove commented code
16078
16079         * LaTeXFeatures.h: add "bool floats" for float.sty
16080
16081         * LaTeXFeatures.C (LaTeXFeatures): init floats
16082         (require): handle float
16083         (getPackages): do it with floats
16084
16085 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16086
16087         * BufferView_pimpl.C (Dispatch): improve handling of
16088         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
16089
16090         * commandtags.h: #include lyxfont.h here temporarily to avoid
16091         keybinding bug.
16092
16093         * bufferlist.h: include LString.h here.
16094
16095 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16096
16097         * text2.C (getStringToIndex): new method.
16098
16099 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
16100
16101         * *: Reduced header file dependencies all over.
16102
16103 2001-07-30  Baruch Even  <baruch@lyx.org>
16104
16105         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
16106
16107 2001-07-29  Baruch Even  <baruch@lyx.org>
16108
16109         * buffer.C (readInset): Changed GRAPHICS to Graphics.
16110
16111 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16112
16113         * ParameterStruct.h (endif): add a default constructor to make
16114         sure that all variables is initialized.
16115
16116         * ParagraphParameters.C (ParagraphParameters): adjust
16117
16118 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16119
16120         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
16121         index; also, check that there is something to index, and that it
16122         does not span over several paragraphs.
16123         (doubleClick): use WHOLE_WORD_STRICT for double click.
16124
16125         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
16126
16127         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
16128         scheme.
16129
16130 2001-07-26  Baruch Even  <baruch@lyx.org>
16131
16132         * buffer.C (readInset): Changed to call up InsetGraphics when reading
16133         an InsetFig figure, backwards compatible reading of old figure code.
16134
16135 2001-07-27  Juergen Vigna  <jug@sad.it>
16136
16137         * text2.C: font.realize function adaption.
16138
16139         * text.C (draw): add a warnings lyxerr text if needed.
16140
16141         * layout.C: font.realize function adaption.
16142
16143         * language.C: add inherit_language and implement it's handlings
16144
16145         * bufferview_funcs.C (StyleReset): remove language parameter from
16146         font creation (should be language_inherit now).
16147
16148         * bufferparams.C (writeFile): handle ignore_language.
16149
16150         * paragraph.C (getFontSettings): the language has to be resolved
16151         otherwise we have problems in LyXFont!
16152
16153         * lyxfont.C (lyxWriteChanges): added document_language parameter
16154         (update): removed unneeded language parameter
16155
16156         * paragraph.C (validate): fixed wrong output of color-package when
16157         using interface colors for certain fonts in certain environments,
16158         which should not seen as that on the final output.
16159
16160 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
16161
16162         * BufferView_pimpl.C:
16163         * Thesaurus.h:
16164         * Thesaurus.C:
16165         * Makefile.am:
16166         * commandtags.h:
16167         * LyXAction.C: add thesaurus support
16168
16169         * lyxfind.h:
16170         * lyxfind.C: add "once" parameter, for thesaurus, to not
16171           move to the next match
16172
16173 2001-07-26  Juergen Vigna  <jug@sad.it>
16174
16175         * lyxfont.C (realize): honor ignore_language too!
16176         (resolved): ditto.
16177
16178         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
16179
16180         * text.C (draw): one place more for ignore_language to not draw
16181         itself!
16182
16183 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
16184
16185         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
16186
16187 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16188
16189         * buffer.C (parseSingleLyXformat2Token): a more general fix for
16190         the minipage conversion problem.
16191
16192 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16193
16194         * buffer.C (parseSingleLyXformat2Token): check minipage if we
16195         insert an inset.
16196
16197 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16198
16199         * BufferView.h: don't forward declare WorkArea
16200
16201         * BufferView.C: don't include WorkArea.h
16202
16203 2001-07-25  André Pönitz <poenitz@gmx.net>
16204
16205         * commandtags.h:
16206         * LyXAction.C:
16207         * lyxfunc.C:  new LFUN 'math-space'
16208
16209         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
16210
16211 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16212
16213         * text2.C (toggleInset): call open/close
16214
16215 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16216
16217         * lyxfunc.C (dispatch): add debug for the disabled case
16218
16219         * font.C (buttonText): make similar to rectText
16220
16221         * buffer.C (readInset): comment out parsing of insetlist and
16222         insttheorem
16223
16224         * PainterBase.C (rectText): small correction
16225
16226         * BufferView_pimpl.C: comment out insettheorem and insetlist
16227         * LyXAction.C: ditto
16228         * commandtags.h: ditto
16229
16230 2001-07-24  Juergen Vigna  <jug@sad.it>
16231
16232         * text.C (draw): honor the ignore_language.
16233
16234         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16235
16236 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16237
16238         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16239         char inset.
16240
16241 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16242
16243         * lyxtext.h: remove unused (and unimplemented) methods
16244
16245 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16246
16247         * text.C (getVisibleRow): honor background color
16248
16249         * PainterBase.h:
16250         * Painter.h: remove default color argument for fillRectangle
16251
16252         * text.C (backgroundColor): new method
16253
16254 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16255
16256         * text.C (getVisibleRow): adjust
16257
16258         * font.[Ch] (rectText): new method, metrics
16259         (buttonText): new method, metrics
16260
16261         * PainterBase.[hC]: make rectText and buttonText always draw and take
16262         fewer paramteres.
16263
16264 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16265
16266         * ToolbarDefaults.C (read):
16267         * MenuBackend.C (read): allow escaping in all strings
16268
16269         * BufferView_pimpl.C (insertAndEditInset): new method.
16270         (Dispatch): use insertAndEditInset whenever appropriate.
16271
16272         * BufferView_pimpl.C (insertNote): removed
16273
16274         * BufferView_pimpl.C (smartQuote): new method, moved from
16275         BufferView; if an insetquote cannot be inserted, insert a '"'
16276         character instead.
16277
16278         * BufferView2.C: remove insertCorrectQuote();
16279
16280         * lyxfunc.C (getStatus): Add support for all remaingin
16281         inset-insert lfuns.
16282
16283         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16284
16285         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16286         command (necessary to pass " as parameter of self-insert.
16287
16288         * text.C (selectWordWhenUnderCursor):
16289         (selectWord): add word_location parameter
16290         (selectWordWhenUnderCursor): same + remove special code for word
16291         boundary.
16292         (selectNextWord): use kind() to guess type of insetspecialchar,
16293         not latex().
16294
16295         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16296         (insertErtContents): create ert insets as collapsed.
16297         (readInset): better compatibility code for Info inset.
16298
16299 2001-07-20  Juergen Vigna  <jug@sad.it>
16300
16301         * lyxfunc.C (dispatch): use always LyXFind now!
16302
16303         * text2.C (init): add a reinit flag so that the LyXText can be
16304         reinited instead of deleted and reallocated (used in InsetText).
16305
16306         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16307
16308         * text.C: ditto
16309
16310         * text2.C: ditto
16311
16312 2001-07-18  Juergen Vigna  <jug@sad.it>
16313
16314         * text.C (selectNextWord): handle insets inside inset by calling
16315         always the bv->text functions so that we can go up the_locking_inset!
16316
16317         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16318         in strange locations when inside an inset!
16319
16320         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16321         handling to include insets.
16322
16323         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16324
16325 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16326
16327         * LyXAction.C (init):
16328         * commandtags.h:
16329         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16330         LIGATURE_BREAK, since the name is so stupid.
16331
16332 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16333
16334         * buffer.C (readInset): enable reading of new InsetNotes as well as old
16335         InsetInfos.
16336
16337         * FontLoader.C: remove FORMS_H_LOCATION cruft.
16338
16339         * sp_form.[Ch]: remove.
16340
16341         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16342
16343         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16344         InsetInfo.
16345
16346         * src/buffer.C (readInset): ditto.
16347
16348 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16349
16350         * BufferView_pimpl.C (specialChar): new method. Obsoletes
16351         menuSeparator(), endOfSentenceDot(), ldots() and
16352         hyphenationPoint(), which are therefore removed.
16353         (Dispatch): handle LFUN_HYPHENATION_BREAK.
16354
16355         * LyXAction.C (init):
16356         * commandtags.h: add LFUN_HYPHENATION_BREAK.
16357
16358         * paragraph.C (getWord): removed.
16359
16360         * BufferView_pimpl.C (Dispatch): use last word or selection for
16361         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16362
16363         * lyx_main.C (queryUserLyXDir): do not ask before creating
16364         user_dir, except if it has been named explicitely.
16365
16366 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16367
16368         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16369         a document of zero size.
16370
16371 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
16372
16373         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16374         approriately in the c-tor and in require().
16375         (getPackages): output the appropriate LaTeX for natbib support.
16376
16377         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16378         variables "use_natbib" and "use_numerical_citations" when reading the
16379         LyX file.
16380         (readInset): read the various natbib cite commands.
16381         (validate): white-space change.
16382
16383         * bufferparams.[Ch]: new variables "bool use_natbib" and
16384         "bool use_numerical_citations".
16385         (writeFile): output them in the LyX file.
16386
16387 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16388
16389         * lyxfunc.C (getStatus): add support for all the inset insertion
16390         commands.
16391
16392         * text2.C (insertInset):
16393         * paragraph.C (insetAllowed):
16394         * BufferView_pimpl.C (insertInset): update to take in account the
16395         renaming of insertInsetAllowed
16396
16397         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16398
16399         * text2.C (getInset): new method. returns inset at cursor position.
16400
16401         * BufferView_pimpl.C (Dispatch): changes because of this.
16402
16403         * LyXAction.C (init): rename open-stuff to inset-toggle.
16404
16405         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16406
16407         * text2.C (toggleInset): renamed from openStuff; use
16408         Inset::open().
16409
16410 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
16411
16412         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16413
16414         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16415
16416 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
16417
16418         * buffer.C (readLyXformat2): Add filename to the error dialog
16419
16420 2001-07-18  Juergen Vigna  <jug@sad.it>
16421
16422         * tabular.C (GetCellNumber): put an assert here instead of the check!
16423
16424 2001-07-17  Juergen Vigna  <jug@sad.it>
16425
16426         * BufferView_pimpl.C (toggleSelection): adapted too.
16427
16428         * text.C (selectNextWord): adapted for use with insets.
16429         (selectSelectedWord): ditto
16430
16431 2001-07-17  Juergen Vigna  <jug@sad.it>
16432
16433         * sp_spell.C (PSpell): fix initialitation order.
16434
16435 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16436
16437         * paragraph.C: spacing
16438
16439 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
16440
16441         * sp_spell.C: repair language selection for pspell
16442
16443 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16444
16445         * lyxfunc.h: change more methods to begin with lower char.
16446
16447 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
16448
16449         * buffer.C (parseSingleLyXformat2Token): Generate error insets
16450         for unknown layouts.
16451
16452 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
16453
16454         * buffer.C (readLyXformat2): Generate an error dialog if there are
16455         unknown layouts.
16456
16457 2001-07-16  Juergen Vigna  <jug@sad.it>
16458
16459         * sp_spell.C: always compile ISpell part.
16460
16461         * lyxrc.C: added use_pspell entry and it's handling.
16462
16463 2001-07-13  Juergen Vigna  <jug@sad.it>
16464
16465         * sp_spell.C: removed double includes.
16466
16467 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
16468
16469         Consistent use of Lsstream.h:
16470         * Lsstream.h: added using std::stringstream for consistencies sake.
16471
16472         * buffer.C: removed using std::stringstream
16473
16474         * lyxfont.C (stateText):
16475         * paragraph.C (asString):
16476         * text.C (selectNextWord, selectSelectedWord):
16477         * text2.C (setCounter):
16478         * vspace.C (asString, asLatexString):
16479         std::ostringstream -> ostringstream.
16480
16481 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16482
16483         * LyXAction.C: add LFUN_HELP_ABOUTLYX
16484         * commandtags.h: add LFUN_HELP_ABOUTLYX
16485         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16486
16487 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16488
16489         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16490         cursorToggle()
16491         * lyx_gui_misc.C: remove spellchecker
16492         * lyxfunc.C: showSpellchecker
16493         * sp_base.h: added
16494         * sp_ispell.h: added
16495         * sp_pspell.h: added
16496         * sp_spell.C: added
16497         * sp_form.[Ch]: removed
16498         * spellchecker.[Ch]: removed
16499
16500 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
16501
16502         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16503         is set.
16504         (simpleTeXSpecialChars): Simply print the input character without
16505         any special translation if pass_thru is set.
16506
16507         * layout.h: Added bool pass_thru to layout class for being able to
16508         implement pass through of a paragraph for Literate Programming.
16509
16510         * layout.C: add LT_PASS_THRU to LayoutTags enum.
16511         * layout.C (LyXLayout): set pass_thru to flase in constructor.
16512         * layout.C (Read): add "passthru" to list of layout tags and add
16513         code to set the pass_thru boolean when it is read.
16514
16515 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16516
16517         * trans_decl.h: remove allowed from KmodInfo
16518
16519         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16520         remove allowed code
16521         (Load): adjust
16522
16523         * paragraph_pimpl.C (erase): use boost::prior
16524
16525         * Painter.C (text): use data() instead of c_str() when length is
16526         also provided.
16527         * WorkArea.C (putClipboard): ditto
16528         * font.h (width): ditto
16529
16530         * BufferView2.C: use it-> instead of (*it). for iterators
16531         * texrow.C: ditto
16532         * paragraph_pimpl.C: ditto
16533         * paragraph.C: ditto
16534         * minibuffer.C: ditto
16535         * language.C: ditto
16536         * kbmap.C: ditto
16537         * encoding.C: ditto
16538         * counters.C: ditto
16539         * converter.C: ditto
16540         * chset.C: ditto
16541         * Variables.C: ditto
16542         * TextCache.C: ditto
16543         * MenuBackend.C: ditto
16544         * LyXAction.C: ditto
16545         * LColor.C: ditto
16546         * FloatList.C: ditto
16547         * DepTable.C: ditto
16548         * ColorHandler.C (LyXColorHandler): ditto
16549
16550 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16551
16552         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16553
16554         * text2.C (openStuff): reintroduce this method (which had been
16555         nuked in NEW_INSETS frenzy).
16556
16557         * lyxfunc.C (Dispatch): when an action has not been handled, use
16558         its name in the error message, not its number.
16559
16560         * paragraph.C (inInset): change method name to begin with lowercase.
16561
16562         * undo_funcs.C:
16563         * text2.C: updates because of this.
16564
16565 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16566
16567         * ToolbarDefaults.C (add): add spaces in error message
16568
16569 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16570
16571         * buffer.C (readLyXformat2): initialize the ert comp. variables.
16572         (readLyXformat2): rename return_par to first_par, use lyxlex's
16573         pushToken and remove the manual push handling.
16574         (parseSingleLyXformat2Token): add another ert comp. variable:
16575         in_tabular, rename return_par to first_par. handle newlines better
16576
16577 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16578
16579         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16580
16581 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16582
16583         * text2.C (getParFromID): removed
16584
16585         * buffer.C (getParFromID): new method moved form lyxtext.
16586         * BufferView2.C (insertErrors): adjust
16587         (setCursorFromRow): adjust
16588         * BufferView_pimpl.C (restorePosition): adjust
16589         * lyxfunc.C (Dispatch): adjust
16590         * undo_funcs.C (textUndo): adjust
16591         (textRedo): adjust
16592         (textHandleUndo): adjust
16593         (textHandleUndo): adjust
16594
16595 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16596
16597         * buffer.C: up' the LYX_FORMAT
16598
16599         * lyxfont.h: turn NO_LATEX on as default
16600
16601         * buffer.C (insertErtContents): new methods of tex style compability.
16602         (parseSingleLyXformat2Token): use it several places.
16603         * tabular.C (OldFormatRead): and here
16604
16605 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16606
16607         * text2.C: remove some commented code.
16608         reindent file.
16609
16610         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16611         * trans.C: changes because of the above.
16612
16613 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
16614
16615         * text2.C (setCounter): Fix counters bug with bibliography layout.
16616
16617 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16618
16619         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16620         own member functions
16621         (simpleTeXSpecialChars): ditto
16622
16623 2001-07-06  Juergen Vigna  <jug@sad.it>
16624
16625         * a lot of files: changed the access to LyXText::status and the
16626         call of undo-functions.
16627
16628         * undo.[Ch]: added a inset_id to the undo informations.
16629
16630         * undo_funcs.[Ch]: added and moved here all undo functions.
16631
16632         * lyxtext.h: give the status enum a weight, made status_ a private
16633         variable and made accessor functions for it, removed the whole bunch
16634         of undo-functions as they are now in their own file, make some
16635         functions publically available. Added function ownerParagraph with
16636         int parameter.
16637
16638         * paragraph.[Ch]: added "bool same_ids" to the constructor,
16639         made InInset() a const function, added getParFromID() function.
16640
16641         * buffer.[Ch]: added const version for inset_iterator functions,
16642         added getInsetFromID() function.
16643
16644         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16645         changed undo functions for new version.
16646
16647 2001-07-05  Juergen Vigna  <jug@sad.it>
16648
16649         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16650         unknow mechanism does not call the proper constructor but only this
16651         one also if I request the other!?
16652
16653 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16654
16655         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16656
16657         * text2.C (LyXText): use initialization lists.
16658
16659         * lyxtext.h (Selection): initialize set_ and mark_
16660         (init): remove method
16661
16662 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
16663
16664         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16665
16666 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16667
16668         * screen.[Ch]: change method names to begin with lowercase
16669
16670         * BufferView_pimpl.C (updateScrollbar): simplify further and
16671         hopefully make it a bit faster.
16672
16673 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16674
16675         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16676         calling directly xforms functions.
16677
16678         * Painter.C (Painter):
16679         * lyx_cb.C (MenuWrite):
16680         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16681         fl_display.
16682
16683         * lyx_gui.C: remove bogus guiruntime extern declaration.
16684
16685 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16686
16687         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16688         in NEW_INSETS
16689         (redoDrawingOfParagraph): ditto
16690         (redoParagraphs): ditto
16691         (cutSelection): don't create a object for CutAndPaste use the
16692         static method directly
16693         (pasteSelection): ditto
16694
16695         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16696         LyXview (+ rename)
16697
16698 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16699
16700         * modifications to some other files because of this.
16701
16702         * Makefile.am (lyx_SOURCES): add XFormsView
16703
16704         * XFormsView.[Ch]: new files
16705
16706         * LyXView.[Ch]: make LyXView a base class for the gui handling for
16707         the main window. Move the gui dependent stuff to XFormsView
16708
16709 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16710
16711         * tabular.C (GetCellInset): update cur_cell also in the row/col
16712         version of this function.
16713
16714         * lyxfunc.C: no need to include figure_form.h here.
16715
16716         * FontLoader.h:
16717         * lyxfunc.h:
16718         * lyxscreen.h:
16719         * text2.C:
16720         * lyxvc.C: no need to include forms.h here.
16721
16722 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16723
16724         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16725
16726         * lyxfunc.C (Dispatch):
16727         * Spacing.C (set):
16728         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16729         constructor argument.
16730
16731 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16732
16733         * paragraph.C (Paragraph): dont't clear, and just set layout.
16734         (makeSameLayout): use params's copy contructor.
16735
16736         * ParagraphParameters.[Ch] (makeSame): delete method
16737
16738 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
16739
16740         * Variables.[Ch]: fix indentation, rename set to isSet
16741
16742 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16743
16744         * lyxfunc.C (Dispatch): fix typo
16745
16746 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16747
16748         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16749         upper_bound.
16750
16751         * bufferlist.C: include assert.h for emergencyWrite().
16752
16753 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16754
16755         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16756           give up at last (bug #425202) !
16757
16758 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
16759
16760         * lyx_gui_misc.C:
16761         * sp_form.h:
16762         * sp_form.C:
16763         * spellchecker.h:
16764         * spellchecker.C: strip spellchecker options and bring up
16765           preferences tab instead
16766
16767 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16768
16769         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16770         the istringstream constructor
16771
16772 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16773
16774         * paragraph.C (getLayout): fix return value
16775
16776         * paragraph.h: do not declare getLayout as inline.
16777
16778         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16779
16780 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16781
16782         * lyxcursor.h (operator<): new func
16783         (operator>): new func
16784         (operator>=): new func
16785         (operator<=): new func
16786
16787         * text.C (changeCase): use selection.start and selection.end
16788         (changeRegionCase): require from to be <= to. Require par to be a
16789         valid paragraph.
16790
16791         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16792
16793 2001-06-27  Juergen Vigna  <jug@sad.it>
16794
16795         * text.C (cursorLeftOneWord): changed to return the cursor and added
16796         overlay with BufferView * parameter which calls this one.
16797         (getWord): added
16798         (selectWord): use new getWord function.
16799         (changeCase): renamed from changeWordCase as and extended to work
16800         also on selections.
16801
16802         * lyxtext.h: added enum word_location
16803
16804         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16805         changeCase as this operates now also on selections.
16806
16807 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
16808
16809         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16810
16811         * many files: send debug output to Debug::INFO instead of
16812         Debug::ANY.
16813
16814         * converter.C (View):
16815         (Convert):
16816         (Move): send debug output to Debug::FILES instead of console.
16817
16818 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
16819
16820         * lyxfunc.C (getStatus): use func_status
16821
16822         * func_status.h: new header, describing the results of
16823         LyXFunc::getStatus;
16824
16825         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16826         LFUN_MATH_HALIGN.
16827
16828 2001-06-25  The LyX Project  <jug@sad.it>
16829
16830         * buffer.C (sgmlOpenTag):
16831         (sgmlCloseTag):
16832         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
16833
16834 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16835
16836         * text2.C: remove some dead code
16837
16838         * tabular.C (GetCellInset): store the last cell checked (gotten)
16839
16840         * tabular.h: add the helper for the speedup
16841
16842         * lyxtext.h: remove some dead code
16843
16844 2001-06-26  The LyX Project  <Asger>
16845
16846         * paragraph.C: Change export to LaTeX of alignment to
16847         \begin{center} and family for better roundtrip work with reLyX.
16848
16849         * Tune the math drawing a bit.
16850
16851 2001-06-25  The LyX Project  <Asger>
16852
16853         * LColor.C (LColor): New color for math background. New color
16854         for buttons.
16855
16856 2001-06-25  The LyX Project  <jug@sad.it>
16857
16858         * lyxfunc.C (MenuNew): remove extra check for .lyx file
16859
16860         * lyxfunc.C (Open):
16861         * bufferlist.C (newFile): do not restrict to files ending with
16862         .lyx
16863
16864         * BufferView_pimpl.C (MenuInsertLyXFile):
16865
16866 2001-06-24  The LyX Project  <jug@sad.it>
16867
16868         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16869         of compare_no_case
16870
16871 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16872
16873         * lyxtext.h: rename most methods to begin with a small char.
16874         Lots of changes because of this.
16875
16876         * paragraph.C (Paragraph): do not call fitToSize
16877         (erase): call Pimpl::erase
16878         (insertChar): call Pimpl::insertChar
16879         (insertInset): call Pipl::insertInset
16880         (breakParagraph): do not call fitToSize
16881         (breakParagraphConservative): do not call fitToSize
16882         (fitToSize): remove method
16883
16884         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16885
16886 2001-06-24  The LyX Project  <Asger>
16887
16888         * Fix Qt compilation^2
16889
16890 2001-06-24  The LyX Project  <jug@sad.it>
16891
16892         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16893         depthHook(getDepth()-1).
16894
16895         * paragraph.h:
16896         * ParagraphParameters.h:
16897         * ParameterStruct.h: change type of depth to unsigned int ==
16898         depth_type. Many adaptations to other files before of that.
16899
16900 2001-06-24  The LyX Project  <Asger>
16901
16902         * Fix Qt compilation.
16903
16904 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16905
16906         * paragraph.h: renamed several methods to begin with small letter.
16907         several changes to many parts of the code because of this.
16908
16909 2001-06-23  The LyX Project  <jug@sad.it>
16910
16911         * text2.C (InsertStringAsLines): renamed from InsertStringA;
16912         rewritten to discard all double spaces when KeepEmpty is off
16913         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16914         to only handle newlines but not fiddle with spaces and friends.
16915
16916         * lyxfunc.C (MenuNew): when doing 'new from template', use
16917         template_path as default directory
16918
16919 2001-06-23  The LyX Project  <Asger>
16920
16921         * Clean-up of header file includes all over
16922         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16923
16924 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16925
16926         * paragraph.h: renamed from lyxparagraph.h
16927
16928 2001-06-23  Asger  <lyx@violet.home.sad.it>
16929
16930         * Buffer.h: Removed Buffer::resize
16931         * BufferList.h: Removed BufferList::resize
16932         * LyXView.h: Added LyXView::resize. This way, we will only reflow
16933         the document lazily when we change the width, or the font settings.
16934
16935 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16936
16937         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16938
16939 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16940
16941         * buffer.h: remove out of date comment
16942
16943 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16944
16945         * lyxscreen.h:
16946         * screen.C: fix "theoretical" GC leak
16947
16948 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16949
16950         * LaTeX.C (scanAuxFile):
16951         (deplog): remove trailing \r when reading stream (useful under
16952         win32)
16953
16954 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
16955
16956         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16957         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16958         and BufferView::theLockingInset(Inset*), so should use them and not
16959         access bv_->text->the_locking_inset directly.
16960
16961         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16962
16963 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16964
16965         * Makefile.am:
16966         * tex-defs.h: remove old unused file
16967
16968 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
16969
16970         * BufferView_pimpl.C: fix typo, remove minibuffer message
16971           when buffer has loaded
16972
16973 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16974
16975         * lyxfunc.C (Dispatch): use stringstream
16976         (MenuNew): use stringstream
16977         (Open): use stringstream
16978
16979         * importer.C (Import): use stringstream
16980
16981         * bufferview_funcs.C (CurrentState): use stringstream
16982
16983         * LaTeX.C (run): use stringstream
16984
16985         * BufferView_pimpl.C (savePosition): use stringstream
16986         (restorePosition): use stringstream
16987         (MenuInsertLyXFile): use stringstream
16988
16989 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
16990
16991         * BufferView.C:
16992         * Bullet.C:
16993         * ColorHandler.C:
16994         * FontInfo.C:
16995         * FontLoader.C:
16996         * LColor.C:
16997         * LaTeXFeatures.C:
16998         * Painter.C:
16999         * gettext.C:
17000         * lyx_gui_misc.C:
17001         * lyxserver.C:
17002         * vspace.C: removed // -*- C++ -*- as first line.
17003
17004         * lyxfind.h:
17005         * version.h: added // -*- C++ -*- as first line.
17006
17007 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17008
17009         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
17010
17011         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
17012         of string
17013
17014 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17015
17016         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
17017         of floats.
17018
17019 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17020
17021         * gettext.C: include LString.h even when --disable-nls is on.
17022
17023 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
17024
17025         * converter.h (Get): changed argument type from int to
17026         FormatList::size_type to avoid unnecessary conversion.
17027
17028         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
17029         before using it.
17030
17031 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17032
17033         * gettext.h: include LString.h even when --disable-nls is on.
17034
17035 2001-06-07  Juergen Vigna  <jug@sad.it>
17036
17037         * text.C (BreakAgain): subst spaces with tabs.
17038
17039         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
17040         (resizeInsetsLyXText): set force on resizeLyXText.
17041
17042 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17043
17044         * gettext.h (gettext_init):
17045         (locale_init): use a real definition instead of a macro
17046
17047 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
17048
17049         * Bufferview_pimpl.C:
17050         * LColor.h:
17051         * LColor.C: further lcolor tidies
17052
17053 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17054
17055         * BufferView_pimpl.C (updateScrollbar): simplify.
17056
17057         * BufferView2.C: don't include insets/insetinfo.h, change
17058         prototype for insertInset and call the Pimpl version. let
17059         updateInset call Pimpl version.
17060
17061         * BufferView.h: move inset_slept to BufferView::Pimpl, move
17062         gotoInset to BufferView::Pimpl
17063
17064 2001-06-01  Juergen Vigna  <jug@sad.it>
17065
17066         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
17067         inside a LockingInset (is the update needed at all?).
17068
17069 2001-05-31  Juergen Vigna  <jug@sad.it>
17070
17071         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
17072         here not the old one otherwise how should we compare it afterwards
17073         if it's the same!
17074
17075 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17076
17077         * lyxfont.C:
17078         * tabular.C:
17079         * tabular-old.C:
17080         * FontInfo.C: bring C functions into global namespace when
17081         necessary
17082
17083 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17084
17085         * LString.h: make sure config.h has been loaded before LString.h.
17086
17087         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
17088         (one for each char read by EatLine!).
17089
17090         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
17091         variables.
17092
17093 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17094
17095         * paragraph.C (BreakParagraph): set the inset_owner in the new par
17096         to the same as the par we break from
17097
17098 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17099
17100         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
17101
17102         * MenuBackend.C (expand): also create menu entries for wide
17103         versions of the floats.
17104
17105         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
17106
17107         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
17108
17109         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
17110         frontends/Makefile.am
17111
17112         * text2.C: adjust
17113         * text.C: adjust
17114
17115
17116         * tabular.C (getTokenValue): add std::
17117
17118         * tabular-old.C (getTokenValue): add std::
17119         (getTokenValue): ditto
17120         (getTokenValue): ditto
17121
17122         * screen.C (ToggleSelection): adjust
17123
17124         * lyxtext.h: put selection cursors inside a Selection struct.
17125
17126         * lyxfunc.C (moveCursorUpdate): adjust
17127
17128         * lyxfont.C (latexWriteStartChanges): add std::
17129
17130         * lyxfind.C: adjust
17131
17132         * font.h: delete with(char const *, LyXFont const &)
17133
17134         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
17135
17136         * FontInfo.C (getFontname): add std::
17137
17138         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
17139         (workAreaButtonPress): adjust
17140         (tripleClick): adjust
17141         (update): adjust
17142         (moveCursorUpdate): adjust
17143         (Dispatch): adjust
17144
17145         * BufferView2.C (gotoInset): adjust
17146
17147 2001-05-30  Juergen Vigna  <jug@sad.it>
17148
17149         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
17150         to check pspell I add this as default as I now have new pspell
17151         libraries and they seem to use this.
17152
17153 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17154
17155         * text2.C (CutSelection): make the cursor valid before the call to
17156         ClearSelection.
17157
17158 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17159
17160         * kbsequence.C (parse): de-uglify a bit the parsing code, which
17161         relied on 0 terminated strings and other horrors. Bug found due to
17162         the new assert in lyxstring!
17163
17164         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
17165         KP_ keys.
17166
17167 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17168
17169         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
17170         to latinkeys.bind.
17171
17172         * lyxfunc.C (processKeySym): change method of getting to the
17173         self-insert char.
17174
17175         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
17176         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
17177         * BufferView_pimpl.[Ch]: here as private methods.
17178
17179 2001-05-28  Juergen Vigna  <jug@sad.it>
17180
17181         * text.C (SetHeightOfRow): added the update() call again as it is
17182         needed to initialize inset dimensions!
17183
17184 2001-05-16  Juergen Vigna  <jug@sad.it>
17185
17186         * text2.C (SetCharFont): Add new function with BufferView * and
17187         bool toggleall parameters for setting insets internal fonts.
17188         (SetFont): Freeze the undo as we may change fonts in Insets and
17189         all this change should be inside only one Undo!
17190
17191         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
17192         setting font's in insets as for them we have the SetFont function!
17193
17194 2001-05-15  Juergen Vigna  <jug@sad.it>
17195
17196         * text2.C (ClearSelection): to be sure we REALLY don't have any
17197         selection anymore!
17198
17199         * tabular.C (TeXCellPreamble): fixed the left border problem for
17200         multicolumn cells.
17201
17202 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
17203
17204         * LaTeX.C (deplog): Make sure that the main .tex file is in the
17205         dependancy file
17206
17207 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17208
17209         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
17210         LFUN_BREAKPARAGRAPH.
17211
17212         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
17213         help test to "internal only", similar for LFUN_INSERT_URL
17214
17215         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
17216         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
17217         auto_region_delete and deadkeys.
17218
17219 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
17220
17221         * LColor.h:
17222         * LColor.C: remove some dead entries, tidy a little
17223
17224 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17225
17226         * lyxfunc.C (processKeySym): comment the Escape handling, remove
17227         commented code.
17228         (Dispatch): implement LFUN_ESCAPE
17229
17230         * commandtags.h: add LFUN_ESCAPE
17231
17232         * LyXAction.C (init): add entry for LFUN_ESCAPE
17233
17234         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17235         Remove commented code.
17236         (insertNote): moved here
17237         (open_new_inset): moved here
17238
17239         * BufferView[2].[Ch]: move insertNote and open_new_inset to
17240         BufferView_pimpl
17241
17242 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17243
17244         * kbmap.C (findbinding): clean it up and make it work correctly.
17245
17246         * lyx_main.C (init): do not pass argc and argv as parameters
17247
17248 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
17249
17250         * buffer.C: fix path for OS/2 & Win32
17251
17252         * lyx_gui.C:
17253         * lyx_main:
17254         * lyx_main.C: Added os:: class.
17255
17256         * os2_defines.h: update
17257
17258 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17259
17260         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17261         better by trying again with reduced state.
17262
17263 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17264
17265         * lyxrc.C (read): print error about invalid key sequence only when
17266         debugging (because not all latinX keysyms are known to some X
17267         servers)
17268
17269         * kbsequence.C (getiso): add a few std:: qualifiers
17270         (getiso): comment out extra return statement.
17271
17272 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17273
17274         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17275         handling.
17276         (Dispatch): enhance the accent inset a bit. (not perfect)
17277
17278 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17279
17280         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17281
17282 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17283
17284         * bufferlist.C (emergencyWrite): fix assert() call
17285
17286 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
17287
17288         * text.C (InsertChar): Added trivial patch to only send the "you
17289         can not do multiple spaces this way" message once during a
17290         session.
17291
17292 2001-05-08  Baruch Even  <baruch@lyx.org>
17293
17294         * Makefile.am: Changed order of libraries to get LyX to link properly
17295         with the gnome frontend.
17296
17297 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17298
17299         * LaTeXFeatures.h: add a std:: qualifier
17300
17301 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17302
17303         * paragraph.C (String): use stringstream
17304
17305 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17306
17307         * paragraph.C (writeFile): remove footflag arg
17308
17309         * buffer.C (makeLaTeXFile): use stringstream
17310         (latexParagraphs): remove footnot gurba
17311
17312         * LaTeXFeatures.C (getPackages): use stringstream
17313         (getMacros): likewise
17314         (getTClassPreamble): likewise
17315         (getFloatDefinitions): new method
17316
17317         * paragraph.C (writeFile): reindent
17318         (Erase): reindent
17319
17320         * WorkArea.h: revert the xpos + etc changes.
17321
17322         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17323
17324         * lyxparagraph.[Ch]: add copy constructor, remove Clone
17325
17326         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17327         (pasteSelection): likewise
17328         * text2.C (CreateUndo): likewise
17329
17330 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17331
17332         * minibuffer.C (peek_event): temporarily reduce the functionality
17333         of the minibuffer (to allow args on lfuns)
17334
17335         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17336         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17337
17338         * buffer.C (readInset): add compability reading of old float
17339         lists, add reading of new style float list.
17340         (readInset): avoid reevaluation of inscmd.getCmdName()
17341         (getLists): reindent
17342
17343         * MenuBackend.C (MenuItem): implement parsing of
17344         md_floatlistinsert and md_floatinsert.
17345         (expand::LastFiles): move initalizaton of iterators out of loop,
17346         avoid reevaluation.
17347         (expand::Documents): introduce typdedef vector<string> Strings,
17348         and use it.
17349         (expand::ExportFormats): introduce typedef vector<Format const *>
17350         Formats, and use it.
17351         (expand): implement FloatListInsert and FloatInsert.
17352
17353         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17354         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17355         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17356
17357         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17358         handling.
17359         (Dispatch::LFUN_FLOAT_LIST): implement
17360
17361 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
17362
17363         * LaTeX.C (run): Fix problem with --export code.
17364
17365 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17366
17367         * BufferView.[Ch] (workarea): removed.
17368         (getClipboard) new method; wrapper for workarea()->getClipboard()
17369
17370         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17371         bug.
17372
17373         * WorkArea.h (width, height, xpos, ypos): These methods all
17374         returned the dimensions of the work_area sub-area of WorkArea,
17375         resulting in a position error if the WorkArea were resized. Now
17376         return the dimensions of the entire WorkArea.
17377
17378         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17379
17380 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17381
17382         * LaTeX.C (deplog): correct the syntax of regex reg1
17383
17384 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17385
17386         * undo.C: remove !NEW_INSETS cruft
17387
17388 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17389
17390         * text2.C: remove !NEW_INSETS cruft
17391
17392         * text.C: remove !NEW_INSETS cruft
17393
17394         * tabular.C: remove !NEW_INSETS cruft
17395
17396         * spellchecker.C: remove !NEW_INSETS cruft
17397
17398         * lyxtext.h: remove !NEW_INSETS cruft
17399
17400         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17401
17402         * lyxfunc.C: remove !NEW_INSETS cruft
17403
17404         * lyxfind.C: remove !NEW_INSETS cruft
17405
17406         * lyx_cb.C: remove !NEW_INSETS cruft
17407
17408         * figureForm.C: remove  !NEW_INSETS cruft
17409
17410         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17411
17412         * buffer.[Ch]: remove !NEW_INSETS cruft
17413
17414         * ToolbarDefaults.C: remove !NEW_INSETS cruft
17415
17416         * CutAndPaste.C: remove !NEW_INSETS cruft
17417
17418         * BufferView_pimpl.C: remove !NEW_INSETS cruft
17419
17420         * BufferView2.C: remove !NEW_INSETS cruft
17421
17422         * BufferView.h: remove !NEW_INSETS cruft
17423
17424 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17425
17426         * Lsstream.h: include LString.h before the sstream headers to
17427         fix problem with gcc 2.95.3 and lyxstring
17428
17429 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17430
17431         * lyx_main.C: add using directives when needed for C functions
17432         declared in std:: namespace.
17433
17434 2001-04-27  Juergen Vigna  <jug@sad.it>
17435
17436         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17437         (SetHeightOfRow): comment out the update call should not be needed!
17438
17439 2001-04-13  Juergen Vigna  <jug@sad.it>
17440
17441         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17442         (LyXTabular): tried to minimize operator= operations (and realized
17443         hopfully Lars wish).
17444
17445 2001-04-27  Juergen Vigna  <jug@sad.it>
17446
17447         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17448
17449 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17450
17451         * lyxfunc.C (Dispatch): hack to make listof algorithm work
17452
17453         * buffer.C (readInset): hack to make listof algorithm work
17454
17455         * BufferView_pimpl.C: hack to make listof algorithm work
17456
17457 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17458
17459         * LyXAction.C: removed all !NEW_INSETS cruft
17460         (init): moved lfun_item in method
17461
17462         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17463
17464 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17465
17466         * BufferView2.C (theLockingInset): white space.
17467
17468 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17469
17470         * minibuffer.C: include <iostream>
17471
17472         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17473
17474         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17475
17476         * commandtags.h: add LFUN_TRANSPOSE_CHARS
17477
17478         * text.[Ch] (TransposeChars): new method
17479
17480 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17481
17482         * call message directly through LyXView instead of through LyXFunc
17483         * BufferView2.C: adjust
17484         * BufferView_pimpl.C: adjust
17485         * FontLoader.C: adjust
17486         * buffer.C: adjust
17487         * bufferview_funcs.C: adjust
17488         * converter.C: adjust
17489         * figureForm.C: adjust
17490         * importer.C: adjust
17491         * lyx_cb.C: adjust
17492         * lyx_gui_misc.C: adjust
17493         * lyxfunc.C: adjust
17494         * lyxvc.C: adjust
17495         * text2.C: adjust
17496         + more files in subdirs
17497
17498         * lyxparagraph.h (size): move up int file
17499         (GetLayout): ditto
17500
17501         * adjust all uses of Assert to lyx::Assert.
17502
17503         * BufferView2.C (ChangeCitationsIfUnique): adjust for
17504         lyxfunctional in namespace lyx
17505         * layout.C (hasLayout): ditto
17506         (GetLayout): ditto
17507         (GetLayout): ditto
17508         (delete_layout): ditto
17509         (NumberOfClass): ditto
17510         * converter.C (GetFormat): ditto
17511         (GetNumber): ditto
17512         (Add): ditto
17513         (Delete): ditto
17514         (SetViewer): ditto
17515         * bufferlist.C (getFileNames): ditto
17516         (emergencyWriteAll): ditto
17517         (exists): ditto
17518         (getBuffer): ditto
17519         * MenuBackend.C (hasSubmenu): ditto
17520         (hasMenu): ditto
17521         (getMenu): ditto
17522         * BufferView_pimpl.C (getInsetByCode): ditto
17523
17524 2001-04-18  Juergen Vigna  <jug@sad.it>
17525
17526         * vspace.C (asLatexString): fixed the 100% problem.
17527
17528 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17529
17530         * lyxfunc.C (Dispatch):
17531         * minibuffer.C:
17532         * minibuffer.h: add a few std:: qualifiers
17533
17534 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17535
17536         * minibuffer.[Ch]: reimplement so that commands is initiated and
17537         run from lyxfunc, simplified som handling, and made the completion
17538         and history code for complete. wip.
17539
17540         * lyxfunc.C (processKeySym): call message
17541         (miniDispatch): new temporary method
17542         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17543         (LFUN_MESSAGE): implement
17544         (LFUN_MESSAGE_PUSH): implement
17545         (LFUN_MESSAGE_POP): implement
17546         (initMiniBuffer): the initial/defualt minibuffer message.
17547
17548         * lyxfont.[Ch]: inline some more getters
17549
17550         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17551
17552         * lyx_gui_misc.[Ch] (WriteStatus): remove method
17553
17554         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17555         (AutoSave): use LFUN_MESSAGE
17556         (Reconfigure): ditto
17557
17558         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17559
17560         * figureForm.C: use LFUN_MESSAGE
17561
17562         * converter.C (runLaTeX): use LFUN_MESSAGE
17563
17564         * bufferview_funcs.C: use LFUN_MESSAGE
17565         (Melt): ditto
17566         (changeDepth): ditto
17567
17568         * bufferparams.h: use boost::
17569
17570         * bufferlist.h: inherit privately from noncopyable
17571
17572         * bufferlist.C (loadLyXFile): remove some commented code.
17573
17574         * buffer.C (runChktex): use LFUN_MESSAGE
17575
17576         * ShareContainer.h: inherit privately from noncopyable
17577
17578         * ParagraphParameters.[hC] (depth): inline it.
17579
17580         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17581         methods.
17582         (message): new method
17583         (messagePush): ditto
17584         (messagePop): ditto
17585         (show): init minibuffer
17586         (showState): direct call
17587
17588         * LaTeX.[Ch]: inherit privately from noncopyable
17589         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17590         instead of WriteStatus.
17591
17592         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17593
17594         * BufferView_pimpl.C (buffer): don't init minibuffer
17595         (workAreaButtonPress): use LFUN_MESSAGE
17596         (workAreaButtonRelease): ditto
17597         (savePosition): ditto
17598         (restorePosition): ditto
17599         (MenuInsertLyXFile): ditto
17600         (workAreaExpose): don't init minibuffer
17601         (update): remove commented code, simplify
17602
17603         * BufferView2.C (openStuff): use LFUN_MESSAGE
17604         (toggleFloat): ditto
17605         (menuUndo): ditto
17606         (menuRedo): ditto
17607         (copyEnvironment): ditto
17608         (pasteEnvironment): ditto
17609         (copy): ditto
17610         (cut): ditto
17611         (paste): ditto
17612         (gotoInset): ditto
17613         (updateInset): remove some commented code
17614
17615         * lastfiles.h: inherit privately from noncopyable
17616         * layout.h: ditto
17617         * lyx_gui.h: ditto
17618         * lyx_main.h: ditto
17619         * lyxlex.h: ditto
17620         * lyxlex_pimpl.h: ditto
17621
17622         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17623         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17624         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17625
17626         * LyXAction.h: inherit privately from noncopyable, add methods
17627         func_begin, func_end, returning iterators to the func map.
17628
17629         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17630         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17631         (func_begin): new method
17632         (func_end): new method
17633
17634         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17635         and not)
17636         (copySelection): ditto
17637         (pasteSelection): ditto
17638
17639         * BufferView.C: whitespace change
17640         * BufferView.h: inherit privately from noncopyable
17641
17642 2001-04-16  Allan Rae  <rae@lyx.org>
17643
17644         * tabular-old.C (l_getline):
17645         * spellchecker.C (sc_check_word):
17646         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17647         an unrecognised preprocessor directive.  So ensure they're wrapped.
17648
17649 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
17650
17651         * src/exporter.C (Export): Give an error message when path to file
17652         contains spaces.
17653
17654 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
17655
17656         * LaTeX.C (deplog): Always check that foundfile exists.
17657
17658 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17659
17660         * lyx_main.h:
17661         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17662
17663 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17664
17665         * tabular.[Ch] (getLabelList): implement new method
17666
17667         * minibuffer.h: comment ouf setTiimer
17668
17669         * minibuffer.C (ExecutingCB): constify res
17670         (peek_event): constify s
17671         (Set): constify ntext
17672         (Init): constify nicename
17673
17674         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17675
17676         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17677         (savePosition): use two params to Minibuffer::Set
17678         (restorePosition): ditto
17679
17680 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17681
17682         * lyx_main.C: include language.h
17683
17684         * Makefile.am (lyx_main.o): add language.h
17685
17686 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17687
17688         * exporter.C:
17689         * paragraph.C:
17690         * screen.C:
17691         * tabular.C:
17692         * CutAndPaste.C: include gettext.h
17693
17694         * lyxfont.h: remove old hack with ON and OFF.
17695
17696         * lyxparagraph.h:
17697         * lyxfont.h: do not include language.h...
17698
17699         * BufferView2.C:
17700         * LaTeXFeatures.C:
17701         * Painter.C:
17702         * bufferview_funcs.C:
17703         * font.C:
17704         * lyxfont.C:
17705         * text.C:
17706         * text2.C:
17707         * trans_mgr.C:
17708         * paragraph.C: ... but do it here instead
17709
17710 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17711
17712         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17713
17714         * tabular.C: small reformat
17715
17716         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17717         NEW_INSETS version
17718         (GetChar): ditto
17719         (BreakParagraph): ditto
17720         (SetOnlyLayout): ditto
17721         (SetLayout): ditto
17722
17723         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17724         with one arg less.
17725
17726         * lastfiles.C: removed most using decl, add std:: where needed
17727
17728         * buffer.C: ws changes
17729
17730         * MenuBackend.C (class compare_format): put into anon namespace
17731         (expand): constify label, names, action, action2
17732         (expand):
17733
17734         * text.C (SingleWidth): constify font
17735         (IsBoundary): constify rtl2
17736         (GetVisibleRow): constify ww
17737
17738         * LaTeX.C (deplog): constify logfile
17739
17740         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17741         start_x, end_x
17742         (workAreaExpose): constify widthChange, heightChange
17743
17744         * lyxrow.C (par): moved
17745         (height): moved
17746         (next): moved
17747         * lyxrow.h: as inlines here
17748
17749         * lyxfont.h (shape): moved from lyxfont.C
17750         (emph): moved from lyxfont.C
17751
17752         * lyxfont.C (LyXFont): use initialization list for all
17753         constructors
17754         (shape): move to lyxfont.h as inline
17755         (emph): move to lyxfont.h as inline
17756
17757
17758 2001-04-04  Juergen Vigna  <jug@sad.it>
17759
17760         * vspace.C: had to include stdio.h for use of sscanf
17761
17762 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
17763
17764         * BufferView.h:
17765         * BufferView_pimpl.h: remove xforms cruft. Both classes are
17766         independent of xforms.
17767
17768 2001-04-02  Juergen Vigna  <jug@sad.it>
17769
17770         * spellchecker.C: fixed namespace placing!
17771
17772 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
17773
17774         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17775         the LyXParagraph * is 0.
17776
17777 2001-03-29  Juergen Vigna  <jug@sad.it>
17778
17779         * vspace.C: added support for %, c%, p%, l%.
17780         (stringFromUnit): added helper function.
17781         (asLatexString): changed to give right results for the %-values.
17782
17783         * buffer.C: convert the widthp in a width%.
17784
17785 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
17786
17787         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17788         figureForm.[Ch].
17789
17790         * figureForm.[Ch]: stripped the FD_from_figure manipulation
17791         code out of lux_cb.[Ch], ready for its (imminent?) removal.
17792
17793         * lyx_cb.[Ch]: see above.
17794
17795         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17796         form1.[Ch].
17797
17798         * form1.[Ch]:
17799         * lyx.[Ch]: replaced by figure_form.[Ch].
17800
17801         * lyx_gui.C:
17802         * lyx_gui_misc.C:
17803         * lyxfunc.C: changed headers associated with above changes.
17804
17805 2001-03-27  Juergen Vigna  <jug@sad.it>
17806
17807         * BufferView_pimpl.C: set the temporary cursor right!
17808
17809 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
17810
17811         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17812
17813 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
17814
17815         * LString.h: removed "using std::getline"!
17816
17817         * BufferView_pimpl.C (Dispatch): changes due to changes in
17818         InsetInclude::Params.
17819
17820         * buffer.C (tag_name): removed redundant break statements as they were
17821         producing lots of warnings with my compiler.
17822
17823 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17824
17825         * LString.h: add "using std::getline" when using the real <string>.
17826
17827 2001-03-23  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17828
17829         * buffer.C: removed bitset usage.
17830         PAR_TAG moved to an anonymous name space.
17831         (tag_name): new funtion, also in the anonymous namespace.
17832         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17833         (makeDocBookFile): clean code. Completed transition from string arrays
17834         to string vectors.
17835         (SimpleDocBookOnePar): code clean.
17836
17837 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17838
17839         * tabular.C: add some comments.
17840
17841 2001-03-22  Juergen Vigna  <jug@sad.it>
17842
17843         * buffer.C (parseSingleLyXformat2Token): redone the minipage
17844         compatibility read a bit and fixed bug with minipage in different
17845         depth.
17846
17847 2001-03-21  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17848
17849         * buffer.C (pop_tag): removed.
17850         (push_tag): removed.
17851         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17852         array replaced with vector. Added support for CDATA sections.
17853         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17854         at any nest level.
17855         (makeDocBookFile): XML conformant declaration of CDATA section,
17856         fixed bug related to <emphasis> in the first paragraph char.
17857         (sgmlOpenTag): exclude empty tags.
17858         (sgmlCloseTag): ditto.
17859
17860         * buffer.h (pop_tag): removed.
17861         (push_tag): removed.
17862
17863 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
17864
17865         * language.h (Languages): added size_type and size().
17866
17867 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17868
17869         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17870         response on compability reading of minipages. One probliem is that
17871         the old usage of minipages was flertydig
17872
17873         * several files here and in subdirs: don't use static at file
17874         scope use anon namespaces instead.
17875
17876 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
17877
17878         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17879         LaTeX output. This is necessary for Literate document
17880         processing.
17881
17882 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17883
17884         * buffer.C: insert hfill when needed.
17885
17886         * tabular.C (l_getline): use string::erase, small whitespace change.
17887
17888         * BufferView_pimpl.C: try the anon namespace.
17889         * WorkArea.C: ditto
17890
17891 2001-03-16  Juergen Vigna  <jug@sad.it>
17892
17893         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17894         otherwise it won't open options-dialogs.
17895
17896         * buffer.C: honor pextraWidth(p) on converting minipages.
17897
17898         * tabular.C (l_getline): changed the functions to strip trailing \r.
17899
17900 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
17901
17902         * BufferView_pimpl.C:
17903         * minibuffer..C: added "using SigC::slot" declaration.
17904
17905 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17906
17907         * lyxlex_pimpl.h: noncopyable is in namespace boost.
17908
17909         * text2.C: ditto
17910
17911         * text.C: ditto
17912
17913         * paragraph.C: ditto
17914
17915         * lyxtext.h: NO_PEXTRA
17916
17917         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17918
17919         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17920         * ParameterStruct.h: ditto
17921         * ParagraphParameters.h: ditto
17922         * lyxparagraph.h: ditto
17923
17924 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17925
17926         * buffer.C: add compability for minipage alignment.
17927         (latexParagraphs): remove unwanted pextra check.
17928
17929         * several files: remove CXX_WORKING_NAMESPACES
17930
17931         * buffer.C (pop_tag): tie is in namespace boost
17932
17933         * BufferView.h: noncopyable is in namespace boost
17934         * lyxlex.h: ditto
17935         * lyx_main.h: ditto
17936         * lyx_gui.h: ditto
17937         * layout.h: ditto
17938         * lastfiles.h: ditto
17939         * bufferlist.h: ditto
17940         * ShareContainer.h: ditto
17941         * LyXView.h: ditto
17942         * LyXAction.h: ditto
17943         * LaTeX.h: ditto
17944
17945 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17946
17947         * Merging changes from BRANCH_MVC back into HEAD.
17948
17949         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17950
17951 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
17952
17953         * BufferView_pimpl.C: change from intl.C
17954
17955         * combox.h:
17956         * combox.C:
17957         * Makefile.am: move combox.*
17958
17959         * form1.h:
17960         * form1.C:
17961         * lyx_gui.C:
17962         * intl.h:
17963         * intl.C: remove dialog (covered by prefs)
17964
17965 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17966
17967         * lyxfunc.C (Dispatch): removed redundant break statement.
17968
17969 2001-03-14  Juergen Vigna  <jug@sad.it>
17970
17971         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17972
17973 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17974
17975         * buffer.C: add hack to fix compability reading of minipages.
17976
17977 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
17978
17979         * buffer.C (getLists): Cleanup.
17980
17981 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17982
17983         * lyxfont.C (update): don't honor toggleall on font size.
17984
17985 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
17986
17987         * bmtable.c:
17988         * bmtable.h:
17989         * Makefile.am: moved to frontends/xforms/
17990
17991         * lyx_gui_misc.C:
17992         * lyxfunc.C:
17993         * BufferView_pimpl.C: changes for moved mathpanel
17994
17995 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17996
17997         * gettext.h: fix gettext_init() in --disable-nls
17998
17999 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18000
18001         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
18002
18003 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
18004
18005         * lyx.C:
18006         * lyx.h: strip external form
18007
18008 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
18009
18010         * BufferView_pimpl.C: add comment, destroySplash()
18011
18012 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
18013
18014         * BufferView_pimpl.C:
18015         * LyXAction.C:
18016         * buffer.C:
18017         * commandtags.h:
18018         * lyxfunc.C: use re-worked insetinclude
18019
18020 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18021
18022         * buffer.C: add using std::stringstream.
18023
18024         * lyx_cb.C: readd using std::ios.
18025
18026         * buffer.C: add using std::map.
18027
18028         * BufferView_pimpl.C: add using std::vector.
18029
18030         * ShareContainer.h: add std:: to swap.
18031
18032         * buffer.h: add some typedefs
18033         * buffer.C (getLists): use them
18034         (getLists): renamed from getTocList.
18035         add a counter for the different float types and use it in the
18036         generated string.
18037         (getLists): use the same counter for the NEW_INSETS and the "non"
18038         NEW_INSETS
18039
18040         * lyx_cb.h: remove unused items, includes, using etc.
18041
18042         * ShareContainer.h: remove some commented code, add more comments
18043         and "documentation".
18044
18045 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18046
18047         * buffer.C (getTocList): make the list also when NEW_INSETS is
18048         defined.
18049
18050         * buffer.h: remove TocType
18051
18052         * buffer.C (getTocList): change to return a map<string,
18053         vector<TocItem> >, implement for dynamic number of list.
18054
18055         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
18056         * text2.C (PasteSelection): adjust
18057         * CutAndPaste.C (pasteSelection): adjust
18058
18059         * FloatList.C (FloatList): update from the new_insets branch.
18060         * Floating.[Ch]: ditto
18061         * LaTeXFeatures.C: ditto
18062         * buffer.C: ditto
18063         * lyxlex_pimpl.C: ditto
18064
18065         * paragraph.C (Last): remove when NEW_INSETS is defined.
18066
18067         * other file: changes because of the above.
18068
18069 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18070
18071         * lyxparagraph.h: rename next to next_, previous to previous_,
18072         make them private for NEW_INSETS. Rename Next() to next(),
18073         Previous() to previous().
18074
18075         * other files: changes because of the above.
18076
18077 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
18078
18079         * BufferView.h:
18080         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
18081         problem.
18082
18083 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18084
18085         * main.C (main): pass lyx_localedir to gettext_init().
18086
18087         * gettext.h: remove locale_init and gettext_init macros
18088
18089         * gettext.C (locale_init): new function
18090         (gettext_init): new function
18091
18092         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
18093         setlocale().
18094
18095 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
18096
18097         * Moved credits to frontends:
18098         * credits.[Ch]: removed
18099         * credits_form.[Ch]: removed
18100         * lyx_gui_misc.C: remove credits stuff
18101         * Makefile.am:
18102
18103 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18104
18105         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
18106
18107         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
18108         unneeded destructor.
18109
18110         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
18111         a standalone pointer again.
18112
18113         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
18114
18115 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
18116
18117         * Makefile.am:
18118         * filedlg.h:
18119         * filedlg.C:
18120         * LyXAction.C:
18121         * ToolbarDefaults.C:
18122         * bufferlist.C:
18123         * commandtags.h:
18124         * form1.C:
18125         * form1.h:
18126         * lyx_cb.C:
18127         * lyx_cb.h:
18128         * lyxfunc.h:
18129         * lyxfunc.C:
18130         * BufferView_pimpl.C: use new file dialog in GUII
18131
18132         * lyx_cb.h:
18133         * lyx_cb.C: remove LayoutsCB to Toolbar
18134
18135 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18136
18137         * ShareContainer.h (get): add std:: qualifier
18138
18139 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18140
18141         * ShareContainer.h: define a proper ShareContainer::value_type
18142         type (and use typename to please compaq cxx)
18143
18144 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18145
18146         * lyxparagraph.h: move serveral local vars to
18147         ParameterStruct/ParagraphParameters., use ShareContainer in
18148         FontTable., make vars in FontTable private and add getter and
18149         setter.
18150
18151         * paragraph.C: changes because of the above.
18152
18153         * lyxfont.h: remove copy constructor and copy assignment. (the
18154         default ones is ok), move number inside FontBits. move inlines to
18155         lyxfont.C
18156
18157         * lyxfont.C: add number to initializaton of statics, move several
18158         inlines here. constify several local vars. some whitespace
18159         cleanup. Dont hide outerscope variables.
18160
18161         * Spacing.h: add two new constructors to match the set methods.
18162
18163         * ShareContainer.h: new file, will perhaps be moved to support
18164
18165         * ParameterStruct.h: new file
18166
18167         * ParagraphParameters.h: new file
18168
18169         * ParagraphParameters.C: new file
18170
18171         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
18172         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
18173
18174         * BufferView_pimpl.C: ParagraphParameter changes.
18175         * buffer.C: Likewise.
18176         * bufferview_funcs.C: Likewise.
18177         * text.C: Likewise.
18178         * text2.C: Likewise.
18179
18180 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18181
18182         * lyxfind.C (LyXReplace): do not redefine default argument in
18183         implementation.
18184         (IsStringInText): ditto
18185         (SearchForward): ditto
18186         (SearchBackward): ditto
18187
18188 2001-03-06  Juergen Vigna  <jug@sad.it>
18189
18190         * lyxfind.C (IsStringInText): put parentes around expressions.
18191
18192 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
18193
18194         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
18195
18196 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
18197
18198         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
18199
18200         * stl_string_fwd.h: add comment
18201
18202         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
18203
18204         * tabular.h:
18205         * tabular.C: remove unused DocBook methods
18206
18207         * intl.C:
18208         * language.C:
18209         * paragraph.C:
18210         * buffer.C:
18211         killed DO_USE_DEFAULT_LANGUAGE
18212
18213 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18214
18215         * lyx_gui.C: do not include language.h.
18216
18217         * bufferview_funcs.C (ToggleAndShow): do not provide optional
18218         arguments in function implementation.
18219
18220 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18221
18222         * BufferView_pimpl.C: add <ctime>
18223
18224 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18225
18226         * BufferView_pimpl.C: add using std::find_if
18227
18228 2001-02-27  José Matos  <jamatos@fep.up.pt>
18229
18230         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18231         by OnlyPath.
18232
18233 2001-02-11  José Matos  <jamatos@fep.up.pt>
18234
18235         * buffer.C (makeDocBookFile): command styles now have a parameter as
18236         "title" by default.
18237
18238 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
18239
18240         * layout_forms.[Ch]: removed
18241         * lyx_cb.[Ch]: out character
18242         * lyx_gui.C: out character
18243         * lyx_gui_misc.C: out character
18244         * bufferview_funcs.C: : out character,
18245         added toggleall as parameter in ToggleAndShow
18246
18247 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
18248
18249         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18250
18251         * text2.C (SetCurrentFont): Disable number property at boundary.
18252
18253 2001-02-26  Juergen Vigna  <jug@sad.it>
18254
18255         * lyxfunc.C (getStatus): added a string argument override function so
18256         that this is correctly called from LyXFunc::Dispatch if it contains a
18257         do_not_use_argument which is used!
18258         (Dispatch): added check for "custom" export and call appropriate func.
18259
18260 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
18261
18262         * lyxrc.C: Add language_command_local, language_use_babel and
18263         language_global_options.
18264
18265         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18266
18267         * buffer.C (makeLaTeXFile): Use language_use_babel and
18268         language_global_options.
18269
18270 2001-02-23  Juergen Vigna  <jug@sad.it>
18271
18272         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18273         which works with LyXText and putted it inside BufferView. Here now we
18274         only call for that part the BufferView::Dispatch() function.
18275
18276         * BufferView.C (Dispatch): added.
18277
18278         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18279         functions which needs to use a LyXText over from LyXFunc.
18280         (MenuInsertLyXFile): added
18281         (getInsetByCode): added
18282         (moveCursorUpdate): added
18283         (static TEXT): added
18284
18285 2001-02-22  Juergen Vigna  <jug@sad.it>
18286
18287         * BufferView_pimpl.C (update): call a status update to see if LyXText
18288         needs it.
18289
18290 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18291
18292         * vc-backend.C (revert): implement for CVS
18293         (getLog): implement for CVS
18294
18295 2001-02-20  Juergen Vigna  <jug@sad.it>
18296
18297         * text2.C (ClearSelection): added BufferView param for inset_owner call
18298
18299         * lyxfunc.C (TEXT): added this function and use it instead of
18300         directly owner->view()-text of getLyXText().
18301
18302 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
18303
18304         * src/layout_forms.C: out preamble
18305         * src/layout_forms.h: out preamble
18306         * src/lyx_cb.C: out preamble
18307         * src/lyx_cb.h: out preamble
18308         * src/lyx_gui.C: out preamble
18309         * src/lyx_gui_misc.C: out preamble
18310         * src/lyxfunc.C: connect with guii preamble
18311
18312 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
18313
18314         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18315
18316 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
18317
18318         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18319         whether to run bibtex.
18320
18321 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
18322
18323         * Makefile.am (lyx_SOURCES): Remove BackStack.h
18324
18325 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
18326
18327         * Makefile.am (lyx_SOURCES): removed bibforms.h
18328
18329         * vspace.h: doxygen
18330
18331         * text.C (GetVisibleRow): make several local vars const
18332
18333         * tabular.C: small cleanup.
18334
18335         * lyxserver.C (callback): use compare instead of strncmp
18336
18337         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18338         inlines to after class or to paragraph.C
18339
18340         * lyxfont.h: remove friend operator!=
18341
18342         * converter.h: move friend bool operator< to non friend and after
18343         class def.
18344
18345         * combox.h: small cleanup
18346
18347         * buffer.h: doxygen, remove unused constructor, move inclas inlies
18348         to inlines after class def.
18349
18350         * buffer.C (pop_tag): use string operations instead of strcmp
18351
18352         * bmtable.c: doxygen, small cleanup
18353
18354         * LaTeX.h: remove friend operator==
18355
18356 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
18357
18358         * screen.C:
18359         * lyxrc.[Ch]:
18360         * lyxfunc.C:
18361         * lyxfont.[Ch]:
18362         * lyx_cb.C:
18363         * intl.[Ch]:
18364         * commandtags.h:
18365         * buffer.C:
18366         * WorkArea.[Ch]:
18367         * LyXAction.C:
18368         * BufferView_pimpl.C:
18369         * BufferView.[Ch]: remove cruft
18370
18371 2001-02-14  Juergen Vigna  <jug@sad.it>
18372
18373         * lyxfunc.C: removed #if 0 unused code
18374
18375         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18376
18377         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18378
18379         * text2.C (SetSelection): added a BufferView * parameter
18380
18381 2001-02-13  Juergen Vigna  <jug@sad.it>
18382
18383         * lyxfunc.C (Dispatch): fixed protected blank problem.
18384         * BufferView2.C (protectedBlank): added LyxText * parameter.
18385
18386         * tabular.C (AppendRow): forgot to set row_info of newly added row.
18387         (AppendColumn): same as above for column_info.
18388
18389         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18390         (moveCursorUpdate): use a LyXText param for support of InsetText.
18391
18392         * BufferView_pimpl.C (doubleClick): added support for InsetText.
18393         (tripleClick): ditto
18394
18395         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18396
18397         * BufferView_pimpl.C (update): added LyXText param to honor insets.
18398
18399         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18400
18401         * text2.C (SetSelection): set correct update status if inset_owner
18402         (ToggleFree): ditto
18403
18404 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
18405
18406         * tabular.C: remove some commented code.
18407
18408 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
18409
18410         * BufferView_pimpl.C: call hideSplash()
18411
18412         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18413
18414         * include_form.h:
18415         * bibforms.h: remove
18416
18417         * lyxfunc.C:
18418         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18419           add LFUN_CHILD_CREATE
18420
18421         * counters.h: fix tiny typo
18422
18423         * lyx_cb.C:
18424         * lyx.h:
18425         * lyx_gui.C:
18426         * lyx.C: move splash to frontends/xforms/
18427
18428         * lyx_gui_misc.C: move Include and Bibform to frontends
18429
18430         * lyxvc.h: clarify comment
18431
18432         * vspace.C: tiny housekeeping
18433
18434 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
18435
18436         * text.C (PrepareToPrint): RTL Fix.
18437
18438         * paragraph.C (GetUChar): New method.
18439         (String):  Use GetUChar.
18440
18441         * buffer.C (asciiParagraph): Use GetUChar.
18442
18443 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
18444
18445         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18446
18447 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
18448
18449         * buffer.h:
18450         * buffer.C: rename to getLogName(), handle
18451           build log / latex log nicely
18452
18453 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18454
18455         * MenuBackend.C:
18456         * MenuBackend.h: remove support for reference menuitem type.
18457
18458 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
18459
18460         * BufferView_pimpl.C: housekeeping
18461         * BufferView_pimpl.h:
18462         * LyXView.h:
18463         * Makefile.am:
18464         * Timeout.C:
18465         * Timeout.h:
18466         * minibuffer.h: move Timeout GUI-I
18467
18468 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
18469
18470         * lyxrc.C (read): Update converters data-structures.
18471
18472 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
18473
18474         * LaTeX.h (operator!=): add operator != for Aux_Info
18475
18476 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
18477
18478         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18479
18480         * LaTeXLog.C: deleted, useful code moved to Buffer
18481
18482         * buffer.h:
18483         * buffer.C: new function getLatexLogName()
18484
18485         * lyx_gui_misc.C:
18486         * lyx_gui.C:
18487         * lyxvc.C:
18488         * lyxvc.h:
18489         * lyxfunc.C: use frontends for LaTeX and VC logs
18490
18491 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18492
18493         * LaTeX.h: yet another std:: that Allan forgot.
18494
18495         * Variables.C (set): renamed from isset(), because this clashes
18496         with some HP-UX macros (grr).
18497
18498 2001-02-06  Allan Rae  <rae@lyx.org>
18499
18500         * LaTeX.h: Another bug fix.  Missing std:: this time.
18501
18502 2001-02-04  Allan Rae  <rae@lyx.org>
18503
18504         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18505         floats problem. I've left it commented out because it's not quite
18506         correct.  It should also test that the current object is a table or
18507         figure inset.  But I haven't gotten around to figuring out how to do
18508         that.  I *think* it'll be something like: "table" == inset.type()
18509
18510         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18511         bool.
18512
18513 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
18514
18515         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18516         all the citation/databases/styles in the auxilary file.
18517         (run): Rerun latex if there was a babel language error.
18518
18519 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
18520
18521         * text.C (Backspace): Preserve the font when changing newline char
18522         with a space.
18523         (BreakParagraph): If the cursor is before a space, delete the space.
18524
18525         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18526
18527 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
18528
18529         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18530         new argument (code).
18531         (ChangeCitationsIfUnique): New method.
18532
18533         * paragraph.C (GetPositionOfInset): Handle bibkey.
18534
18535 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18536
18537         * BufferView_pimpl.h: change type of Position::par_pos to
18538         LyXParagraph::size_type.
18539
18540 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
18541
18542         * BufferView_pimpl.C (savePosition, restorePosition): Write
18543         messages to minibuffer.
18544
18545 2001-01-28  José Matos  <jamatos@fep.up.pt>
18546
18547         * buffer.C (makeDocBookFile): adds support for document language.
18548         A silly restriction on the name of LatexCommand types where removed.
18549         Added support for CDATA sections, allows to chars unescaped, used
18550         among others in code, to avoid escape < and >.
18551
18552 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18553
18554         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18555         saved positions instrad of a stack. Furthermore, a position is
18556         stored using paragraph id/paragraph position.
18557
18558         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18559         Remove LFUN_REF_BACK.
18560
18561 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18562
18563         * converter.C (dvipdfm_options): New method.
18564
18565 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
18566
18567         * vspace.C (isValidLength): Fix for empty input string.
18568
18569 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18570
18571         * LyXAction.C (init): change description of LFUN_FIGURE to
18572         "Insert Graphics"
18573
18574 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18575
18576         * LaTeX.C: add using directive
18577
18578 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18579
18580         * MenuBackend.C (expand): Fix the sorting of the formats.
18581
18582 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
18583
18584         * lyx_main.C: tiny error message fix
18585
18586 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18587
18588         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18589         calling fl_initialize(). This fixes the problem with ',' as
18590         decimal separator in text files.
18591
18592 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18593
18594         * trans.C (process): Fix the keymap bug.
18595
18596 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
18597
18598         * LaTeX.C (scanAuxFiles): New method. Provides support for
18599         multiple bibliographies (when using the bibtopic/bibunits pacakges).
18600         (scanLogFile) Scan for "run BibTeX" messages.
18601
18602         * buffer.C (makeLaTeXFile): Do not load the ae package when using
18603         OT1 font encoding. Also, load the aecompl package if the ae
18604         package is loaded.
18605
18606         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18607
18608 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18609
18610         * texrow.C (increasePos): turn two error messages into debug
18611         messages.
18612
18613 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
18614
18615         * LaTeX.C (scanAux): Handle the \@input macro.
18616         (runBibTeX): Use scanAux().
18617
18618         * language.C (latex_options_): New field.
18619
18620         * LaTeXFeatures.C (getMacros): Add language macros.
18621
18622         * buffer.C (makeLaTeXFile): Small fix.
18623
18624 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18625
18626         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18627
18628         * text2.C: add a using directive.
18629
18630 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
18631
18632         * BufferView2.C:
18633         * lyx_gui_misc.h:
18634         * lyxfr1.C:
18635         * lyxfunc.C: kill LyXBell.
18636
18637 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
18638
18639         * text.C (IsBoundary): Remove the error message
18640
18641         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18642
18643         * lyxrc.C (setDefaults): Correct initialization value for
18644         font_norm_type.
18645
18646 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
18647
18648         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18649         gotoError().
18650
18651         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18652         and GotoNextNote().
18653
18654         * src/LyXAction.C: Added reference-next.
18655
18656         * text.C (InsertChar): Use contains instead of strchr.
18657
18658         * lyx_cb.C (MenuInsertLabel): Enable default value code.
18659
18660 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
18661
18662         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18663         alignment commands (when needed).
18664
18665         * text.C (InsertChar): Add ':' to number separator chars.