]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
36416579ca0461f6bac7d43b38984ee8bf6a3979
[lyx.git] / src / ChangeLog
1 2005-12-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2
3         * tabular.C (toggleFixedWidth): Use default layout of text class
4         instead of hardcoded "Standard"
5
6 2005-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7
8         * lyxfunc.C (dispatch): do not call getStatus again to determine
9         whether a lfun is disabled (bug 2172).
10
11 2005-12-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12
13         * cursor.C (macroModeClose): set the cursor inside the new math
14         atom if relevant (think \frac{}{}) (bug 2034)
15
16 2005-12-19  Martin Vermeer  <martin.vermeer@hut.fi>
17
18         * lyxtext.h:
19         * text.C:
20         * text3.C (Delete, backspace): force update when merging paragraphs
21
22 2005-12-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
23
24         * BufferView.C (mouseSetCursor): clear the selection properly (bug
25         2163). 
26
27 2005-12-08  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
28
29         * text.C (redoParagraph): honor inset->noFontChange()
30         * rowpainter.C (paintInset): ditto
31
32 2005-12-15  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
33
34         * lyx_main.C (priv_exec): don't initialize Math on startup 
35         (initMath() has been moved to math_hullinset).
36
37 2005-12-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
38
39         * lyxrc.C: set default_papersize to PAPER_DEFAULT;
40         handle PAPER_DEFAULT in LyXRC::read and LyXRC::write (bug 2148).
41         * paper.h: dispose dead PAPER_PACKAGES enum.
42
43 2005-12-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
44
45         * Makefile.am (OTHERLIBS): add SOCKET_LIBS in case we compile
46         without X support.
47
48 2005-12-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
49
50         * exporter.C (Export): Don't try to copy a file if it does not exist
51         (bug 1888)
52
53 2005-12-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
54
55         * text2.C (makeFontEntriesLayoutSpecific): remove.
56         (setLayout): adapt.
57
58         * text.C (insertChar): remove bogus caching of fonts (did not do
59         anything). 
60
61         * text2.C (LyXText): initialize current_font to ALL_INHERIT (was
62         ALL_SANE). (bug 2146)
63
64 2005-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
65
66         * rowpainter.C (paintFirst): fix centering of
67         LABEL_CENTERED_TOP_ENVIRONMENT. 
68
69 2005-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
70
71         * BufferView.C (mouseSetCursor): new method. Calls
72         deleteEmptyParagraphMechanism if necessary.
73
74         * lyxtext.h: make deleteEmptyParagraphMechanism public.
75
76         * text3.C (dispatch/LFUN_MOUSE_PRESS): use
77         BufferView::mouseSetCursor (bug 2109).
78         (dispatch/LFUN_PASTE): remove #warning that is now irrelevant.
79
80 2005-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>  
81
82         * text3.C (dispatch/LFUN_INDEX_INSERT): when a selection is set,
83         do not remove it (this inset behaves differently from the others).
84
85 2005-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
86
87         Fix bug 2096.
88         
89         * BufferView_pimpl.C (getStatus): it is only possible to insert a
90         file in a text inset.
91
92         * buffer.C (readDocument): remove pit argument and code releated
93         to it; set the inset owner correctly (unrelated, but useful).
94         (readFile): get rid of pit argument.
95
96         * CutAndPaste.C (pasteSelectionHelper): use a ParagraphList and a
97         textclass instead of a selection index.
98         (pasteParagraphList): new function.
99         (pasteSelection): make it a wrapper around pasteParagraphList.
100
101         * BufferView_pimpl.C (MenuInsertLyXFile): use
102         cap::pasteParagraphList to insert a file.
103
104 2005-11-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
105
106         * buffer_funcs.C (bufferErrors): prevent endless loop (bug 2121)
107
108 2005-11-17  Michael Gerz  <michael.gerz@teststep.org>
109
110         * exporter.C: fix typo in text message
111
112 2005-11-28  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
113
114         * text2.C (setLayout): move recUndo call to other setLayout method
115         * tabular.C (toggleFixedWidth): new, handle cell width changes
116         * tabular.C (setColumnPWidth): move some code from insettabular.C here
117         and use toggleFixedWidth
118         * tabular.C (setMColumnPWidth): ditto
119
120 2005-11-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
121
122         * paragraph.C (asString): use new inset->textString method (fix
123         bug 2089) 
124
125 2005-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
126
127         * CutAndPaste.C (numberOfSelections): new helper function.
128
129         * lyxfunc.C (getStatus): remove support for LFUN_COPY and LFUN_CUT.
130
131         * text3.C (getStatus): move code for LFUN_CUT and LFUN_COPY from
132         LyXFunc::getStatus; implement LFUN_PASTE.
133
134 2005-11-17  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
135
136         * dociterator.[Ch]: new member realInset() that returns the cell
137         for tabulars and the inset for the rest (bug 1952).
138         * undo.C (textUndoOrRedo): use realInset when resetting insetOwner
139         (bug 1952).
140
141 2005-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
142
143         * text.C (leftMargin): honor the NextNoIndent tag in layouts.
144
145 2005-11-17  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
146
147         * lyxfunc.C:
148         * paragraph.C:
149         * text3.C: InsetBase::forceDefaultParagraphs now takes a cell as
150         argument.
151
152 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
153
154         * text.C (redoParagraph): Fix bug 1966: cursor doesn't go to next
155         line after typing ctrl-enter
156
157 2005-11-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
158
159         * bufferview_funcs.C (coordOffset): fix the fix for bug 2094, as
160         math insets do not return a proper editable() state yet (bug 2124).
161
162 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
163
164         * BufferView_pimpl.[Ch]: Fix bug 1814: better scroll behaviour for 
165         docs containing very large paragraphs.
166
167 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
168
169         * cursor.C (selectionBegin, selectionEnd):
170         * text.C (drawSelection): Fix bug 2115: assertion when anchor and 
171         cursor at different depths.
172
173 2005-11-03  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
174
175         * bufferview_funcs.C (coordOffset): do not call cursorPos
176         for collapsed collapsables (fix bug 2094).
177
178 2005-11-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
179
180         * paragraph.C (fontSpan): make sure that the FontSpan does not
181         span across beginOfBody (bug 1947).
182
183 2005-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
184
185         * lyxlength.h: undefine macros that clash with solaris/x86 (bug 992)
186
187 2005-11-03  Michael Gerz  <michael.gerz@teststep.org>
188
189         * messages.C: fix crash and localization on MinGW/Windows platform
190
191 2005-11-02  Angus Leeming  <leeming@lyx.org>
192
193         * Bidi.C:
194         * lyxtextclass.C: trivial fixes to some MSVS warnings.
195
196 2005-10-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
197
198         * text3.C (getStatus): re-enable disabled code. (bug 2081)
199
200         * BranchList.h (empty): constify.
201
202 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
203
204         * text3.C (getStatus): 
205         * MenuBackend.C (expandBranches): take the branch list from the
206         master document (bug 2092).
207         
208         * MenuBackend.C (expandBranches): 
209         * bufferparams.C (writeFile): use BranchList type.
210
211 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
212
213         * text3.C (dispatch, getStatus): 
214         * LyXAction.C (init): 
215         * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
216
217 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
218
219         * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
220
221 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
222
223         * text.C (insertChar): do not reset boundary (bug 2061)
224
225 2005-10-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
226
227         * dociterator.C (updateInsets): new method. Updates the inset_
228         cache of all the slices of the iterator.
229
230         * text2.C (deleteEmptyParagraphMechanism): compare also containing
231         insets when comparing pit/pos; pass the right cursor to
232         recordUndo; when a paragraph has been deleted, compare `old.top()' to
233         the right cursor slice of `cur'; use updateInsets on cur to make
234         sure that the inset caches are correct; general cleanup.
235
236 2005-10-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
237
238         * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
239         dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
240         containg inset. If this does not work, the same command will be
241         sent to other insets down the queue by LCursor::dispatch. (bug 2066)
242
243         * lyxfunc.C (dispatch): make sure the cursor is correct when doing
244         a dispatch.
245
246 2005-10-20  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
247
248         * lyxtextclass.C (Read): convert layout file if the format is wrong
249         * lyxtextclass.C (layout2layout): new, needed for the above
250
251 2005-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
252
253         * messages.C: do not forget to include <cerrno>.
254
255 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
256
257         * dociterator.h (StableDocIterator): add access to pos().
258         * undo.C (samePar): new method to check if two
259         iterators are in the same paragraph
260         * undo.C (recordUndo): check for samePar instead of cell identity
261         (which includes pos() and is too strict) (fixes bug 2097)
262
263 2005-10-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
264
265         * text.C (setCursorFromCoordinates): return a bool telling whether
266         dEPM triggered.
267
268         * text3.C (cursorPrevious): update if needed after
269         setCursorFromCoordinates (when dEPM triggered).
270
271         * text2.C (cursorDown, cursorUp): make sure to reset the anchor
272         (otherwise the anchor may be completely wrong and make dEPM assert).
273
274 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
275
276         * buffer.C: version upgrade to 245.
277         * bufferparams.C: remove \quotes_times (bug 2090).
278         * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
279         quotation marks as default.
280
281 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
282
283         * CutAndPaste.C (nrOfParagraphs): remove (unused)
284         * CutAndPaste.C (cutSelection): Remove debug message
285         * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
286         undo information and only copy if this is a real cut
287         * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
288         call
289         * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
290         (bug 2059)
291         * CutAndPaste.C (eraseSelection): prevent cursor corruption
292         * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
293         superflous cur.selection() setting
294         * CutAndPaste.[Ch] (grabSelection): take a const cursor
295         * cursor.C (selectionAsString): implement mathed case ((bug 2059)
296
297 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
298
299         * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
300         change anything.
301
302 2005-10-11  Martin Vermeer  <martin.vermeer@hut.fi>
303
304         * BufferView_pimpl.C: comment layout change
305
306 2005-10-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
307
308         * LyXAction.C:
309         * lfuns.h:
310         * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
311         by bibliography managers (bug 2071).
312
313 2005-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
314
315         * BufferView_pimpl.C (update): choose arguments to update call so
316         that single-par update works most times
317         * text3.C (dispatch): carefully tune updating separately for
318         whole-screen and current-paragraph
319         * rowpainter.C (paintText): 1) replace painting by caching for
320         the two extra paragraphs, because we can;
321         2) suppress greying out of areas below/above drawn area in case of
322         single-par refresh
323         * lyxfunc.C (dispatch): remove superfluous update
324         * LyXAction.[Ch]: introduce SingleParUpdate
325
326 2005-10-05  Angus Leeming  <leeming@lyx.org>
327
328         * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
329         always initialised before use.
330
331         * text.C (setHeightOfRow): squash warning about comparison
332         of signed and unsigned types.
333
334 2005-10-03  Martin Vermeer  <martin.vermeer@hut.fi>
335
336         * text.C (cursorX): two fixes involving RtL text drawing
337
338 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
339
340         * cursor.C (erase): fix 'clever' UI hack. It was activated for all
341         items, not only large ones (part of bug 2057)
342
343 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
344
345         * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
346         argument, use "newcommand".
347
348 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
349
350         * cursor.C (setSelection): do not open collapsable insets;
351         the insets do by themselves now (autoopen).
352
353 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
354
355         * buffer.C: format is up to 244.
356
357 2005-09-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
358
359         * text.C (redoParagraph): fix calcultation of inset width wrt 
360         leftMargin (bug 1957).
361
362         * text3.C (dispatch): leave inset to the right when hitting ESC 
363         (bug 2034).
364
365 2005-09-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
366
367         * text2.C: 
368         * text.C: 
369         * factory.C:
370         * messages.C: include <boost/current_function.hpp> 
371
372 2005-09-12  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
373
374         * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
375         when command is internal. (bug 1941)
376
377 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
378
379         * text2.C (cursorRight): do not honor boundary when at the end of
380         a paragraph. (bug 2010 again)
381
382 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
383
384         * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
385
386 2005-09-19  Martin Vermeer  <martin.vermeer@hut.fi>
387
388         * rowpainter.C (paintText): fix RtL space width display bug (2029)
389
390 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
391
392         * text2.C (setCursor): remove the unused 'boundary' parameter for
393         the CursorSlice version; adapt the LCursor version.
394
395         * lyxrc.C (write): 
396         * paragraph_pimpl.C (markErased): 
397         * cursor.C (bruteFind2, bruteFond3): fix warnings.
398
399 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
400
401         * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
402         as is already done for "chapter".
403
404 2005-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
405
406         * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
407         textclass; do not record undo if nothing is changed.
408
409 2005-09-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
410
411         * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
412
413 2005-09-14  Michael Gerz  <michael.gerz@teststep.org>
414
415         * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
416
417 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
418
419         * BufferView_pimpl.C (setBuffer): when one wants to set the layout
420         combox, it is necessary to search for the topmost paragraph in the
421         cursor stack (bug 1926)
422
423 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
424
425         * text2.C (cursorEnd, cursorRight): do not set boundary to true at
426         end of paragraph. (bug 2010)
427
428 2005-09-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
429
430         * text.C (leftMargin): check for inInset == 0
431
432 2005-09-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
433
434         * text.C (leftMargin): test for insetbase's new neverIndent()
435         bool instead of listing each and every inset that does not
436         wish par indendation.
437
438 2005-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
439
440         * buffer_funcs.C (setCounter): put the code to compute enum label
441         here (where it belongs).
442
443         * counters.C (enumLabel): move code to buffer_funcs.C.
444
445 2005-09-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
446
447         * outputparams.[Ch]: store local_font instead of local_language
448         * paragraph.C (simpleTeXOnePar): adapt to the change above
449
450 2005-09-08  Martin Vermeer  <martin.vermeer@hut.fi>
451
452         * buffer_funcs.C:
453         * counters.[Ch]: clean up special code for Hebrew.
454
455 2005-09-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
456
457         * lyxfunc.C (lookupChange): fix code when cursor depth is greater
458         than 2.
459
460 2005-09-08  Angus Leeming  <leeming@lyx.org>
461
462         * ispell.C:
463         * lyxrc.C: correct grammar describing invocation of the
464         spellchecker.
465
466 2005-08-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
467
468         * text.C (read): remove unused variable.
469         (readParToken): remove static Change variable (never good in
470         recursive settings...); add it as a parameter instead.
471
472         * paragraph_pimpl.C (acceptChange): make debug info conditional.
473
474         * metricsinfo.C (PainterInfo): add new member erased_.
475
476         * rowpainter.C (RowPainter): add erased_ member, initialized from
477         PainterInfo. 
478         (paintInset): pass erased_ to Inset::draw.
479
480         * lyxfunc.C (lookupChange): new function. Tells whether change 
481         tracking is disabled at a given postion.
482         (getStatus): disable some actions when in deleted text with change
483         tracking. 
484
485 2005-08-03  John Levon  <levon@movementarian.org>
486         
487         * tabular.C (appendColumn, setMultiColumn): adapt to change to
488         InsetText::clear().
489
490         * paragraph_pimpl.C (markErased): add bool argument and handle it.
491         Also make sure to mark insets recursively.
492         (rejectChange, erase): be recursive
493
494         * paragraph.C (markErased): add bool argument.
495 2005-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
496
497         * lyxfind.C (findNextChange): tiny cleanup.
498
499         * BufferView_pimpl.C (trackChanges): avoid crash when stopping
500         change tracking with the cursor in an inset; make sure the first
501         change is not skipped.
502
503 2005-09-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
504
505         * CutAndPaste.[Ch]: new methods dirtyTabularStack and 
506         tabularStackDirty to work around bug 1919 (tabular needs
507         to know whether its own cell paste buffer or the one of 
508         texted is newer.
509         * CutAndPaste.C: mark tabular_stack_ clean after copy.
510
511 2005-08-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
512
513         * text2.C (cursorEnd): check for empty text (fixes bug 1998)
514
515 2005-08-19  Lars Gullik Bjønnes  <larsbj@gullik.net>
516
517         * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
518         use old deleteion algorithm when changetracking is on.
519
520 2005-08-18  Martin Vermeer  <martin.vermeer@hut.fi>
521
522         * messages.C (get): add debug output.
523
524 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
525
526         * text.C (cursorX): fix bug 1965: cursor movement at
527         line end broken in RtL.
528         (drawSelection): fix bug 1970: drawing of single-line 
529         selection broken for RtL.
530
531 2005-07-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
532
533         bug 465.
534
535         * dociterator.h (clear, push_back, pop_back): change from
536         protected to public.
537
538         * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
539         and changed to just return the value of the item depth; take a
540         ParIterator as argument; take the itemdepth at outer nesting level
541         in account if necessary; cleanup and comment the code.
542         (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
543         and changed to just return true if reset is needed; take a
544         ParIterator as argument; cleanup and comment the code.
545         (setCounter): adapt to above changes.
546
547 2005-07-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
548
549         * text3.C (dispatch): make debug message optional
550
551 2005-08-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
552
553         * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
554         inset. (bug 1963)
555
556 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
557
558         * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
559
560 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
561
562         * text.C (insertChar):
563         * text2.C (deleteEmptyParagraphMechanism): take care whether 
564         a blank has been deleted (in change tracking mode) (bug 1254).
565
566 2005-07-20  John Levon  <levon@movementarian.org>
567
568         * text2.C (insertStringAsLines): remove old dubious code,
569         fixing bug 1939.
570
571 2005-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
572
573         * MenuBackend.C (expandToc): use Floating::listName() as title of
574         the floats submenus.
575
576 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
577
578         * toc.[Ch]: Do not use translatable strings (bug 1870).
579
580 2005-07-20  John Levon  <levon@movementarian.org>
581
582         * tabular.C: fix 1748 - setting multicolumn adds
583           left line to the first cell
584
585 2005-07-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
586
587         bug 1920
588         * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
589         pars in one go.
590
591 2005-07-18  Lars Gullik Bjønnes  <larsbj@lyx.org>
592
593         * messages.C: supress some lyxerr messages
594
595 2005-07-18  Juergen Vigna  <jug@lyx.org>
596
597         * text.C (drawSelection): honor boundary when asking for cursorX.
598
599 2005-07-17  José Matos  <jamatos@fc.up.pt>
600
601         * tabular.C (recalculateMulticolumns): fix handling of one column
602         tables.
603
604 2005-07-17  Juergen Vigna  <jug@lyx.org>
605
606         * text.C (Delete, backspace): fixed so that paragraph with the
607         same layout can be merged by Delete/Backspace.
608
609 2005-07-17  Michael Schmitt  <michael.schmitt@teststep.org>
610
611         * text.C (readParToken): fix spelling.
612
613 2005-07-17  Martin Vermeer  <martin.vermeer@hut.fi>
614
615         * text2.C: fix counter update for DEPM problem reported by
616         Georg Baum
617
618 2005-07-17  Juergen Vigna  <jug@lyx.org>
619
620         * BufferView_pimpl.C (setBuffer): save/restore the
621         cursor/selection when switching buffers
622
623         * buffer.h: 
624         * buffer.C (saveCursor): add saveDocumentIterators to save the
625         cursor when switching buffer.
626
627 2005-07-17  Michael Schmitt  <michqel.schmitt@teststep.org>
628
629         * debug.C: fix typo
630         * buffer.C: clarify message
631         
632 2005-07-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
633
634         * dociterator.C (DocIterator): fix initialization order
635
636 2005-07-17  Juergen Vigna  <jug@lyx.org>
637
638         * text2.C (cursorHome): 
639         * text.C (drawSelection, cursorX): 
640         * dociterator.C (textRow): add boundary to getRow() call
641
642         * paragraph.C (getRow): implementation of below
643
644         * paragraph.h: add parameter boundary for getRow() function
645
646 2005-07-17  José Matos  <jamatos@fc.up.pt>
647
648         * buffer.C:
649         * bufferparams.[Ch]:
650         * tex-strings.[Ch]: new file format, remove support for a4.sty,
651         a4wide.sty and a4widemargins.
652
653 2005-07-17  Juergen Vigna  <jug@lyx.org>
654
655         * text2.C (cursorLeft): fix one of error
656
657 2005-07-17  Juergen Vigna  <jug@lyx.org>
658
659         * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
660                    cursorEnd):
661         more fixes for boundary handling
662
663         * text3.C (dispatch): don't reset cursor if boundary has changed
664         on cursor movement.
665
666 2005-07-16  Juergen Vigna  <jug@lyx.org>
667
668         * text2.C (getColumnNearX): hopefully got it right now,
669         check if we are on column 0 for special case.
670
671 2005-07-16  Juergen Vigna  <jug@lyx.org>
672
673         * text2.C (getColumnNearX): handle special case Newline Inset
674
675         * text.C (singleWidth): Just remove bogus check
676
677 2005-07-16  Michael Schmitt  <michael.schmitt@teststep.org>
678
679         * funcrequest.C (split): avoid reading uninitialized char c
680
681 2005-07-16  José Matos  <jamatos@fc.up.pt>
682
683         * buffer.C:
684         * converter.C:
685         * lyxrc.C:
686         * paper.h:
687         * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
688         single papersize variable.
689
690 2005-07-16  Juergen Vigna  <jug@lyx.org>
691
692         * text3.C (dispatch): honor boundary when checking if a cursor
693         movement has been done
694
695         * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown) 
696         (setCursor, setCursorIntern): fix cursor movement with boundary
697
698 2005-07-16  Juergen Vigna  <jug@lyx.org>
699
700         * text.C (currentState): output the actual Boundary
701
702 2005-07-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
703
704         * factory.C (createInset): fix bad logic for tabular creation
705
706 2005-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
707
708         * lyx_main.C (init): change some reLyX reference to tex2lyx
709
710 2005-07-16  Juergen Vigna  <jug@lyx.org>
711
712         * dociterator.C (DocIterator): initialize boundary
713
714 2005-07-16  Juergen Vigna  <jug@lyx.org>
715
716         * text2.C (getColumnNearX): Consider rows without trailing blank.  
717
718 2005-07-16  André Pönitz  <poenitz@gmx.net>
719
720         * lyxfont.h: Change order of declarations to give the compiler
721         a better chance to inline things
722
723         * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
724         questions on unsaved docs for better scritability
725
726 2005-07-16  André Pönitz  <poenitz@gmx.net>
727
728         * paragraph.h (getChar): remove asserts as the same kind of security
729         can be achieved by using a suitable standard library implementation
730         and the function was in the critical path (25.9% in profiler)
731
732 2005-07-16  Juergen Vigna  <jug@lyx.org>
733
734         * cursor.C (bruteFind2):
735         * bufferview_funcs.C (coordOffset): 
736         * text.C (cursorX,cursorY): Handle cursor position after last char
737         in row before a inset which uses a whole row.
738
739 2005-07-15  José Matos <jamatos@lyx.org>
740
741         * output_plaintext.[Ch] (writeFileAscii): control reference title
742         printing.
743         (asciiParagraph): noparbreak was already deal and was incorrectly
744         used.
745
746 2005-07-15  Juergen Vigna <jug@lyx.org>
747
748         * lyxfunc.C (dispatch): save and restore the cursor after a
749         textclass switch.
750
751 2005-07-15  Lars Gullik Bjønnes <lgb@tandberg.net>
752
753         * text.C (backspace): bug 806 for empty keepempty paragraphs we
754         change the layout to default before letting DEPM do its thing.
755
756         * paragraph_funcs.C (breakParagraph): dont reset the layout on
757         keepEmpty paragraphs
758
759         * text.C (setCursorFromCoordinates): add a debug statement
760
761         * text2.C (getColumnNearX): bug 1825 make sure that we don't
762         return a pos that is not on the row
763
764         * output_latex.C (TeXDeeper): get rid of potential dereferencing
765         of past the end iterator
766
767 2005-07-14  André Pönitz  <poenitz@gmx.net>
768
769         * undo.C (recordUndoFullBuffer): implement undo for
770         textclass switches
771
772 2005-07-14  André Pönitz  <poenitz@gmx.net>
773
774         * cursor.C (setSelection): open insets when selection is set there
775         to avoid crashs with cold coord cache
776
777 2005-07-14  André Pönitz  <poenitz@gmx.net>
778
779         * trans_mgr.C (insert): move cursor to the right after inserting
780         a char.
781
782 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
783
784         * BufferView_pimpl.C (update): dampen some of the debug blabbering
785         * factory.C (readInset): ditto
786         * text.C, text2.C: ditto
787
788 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
789
790         * buffer.C: format incremented to 242. There is no file format per
791         se, but the "frenchb" language has been removed from lib/language
792         and has to be translated to "french" by lyx2lyx.
793
794 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
795
796         * cursor_slice.h, dociterator.h: add some documentation
797         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
798
799 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
800
801         * text.C (leftMargin): do not add identation to display() style
802         insets, because they are always centered (bug 1293).
803
804 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
805
806         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
807         formatted_time methods in support/lyxtime.
808
809 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
810
811         * toc.[Ch]: new method getGuiName, which is used by the frontends 
812         to set the toc combo (fixes bug 1870). Make TOC string translatable.
813
814 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
815
816         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
817         StableDocIterator const &)
818         * undo.C (recordUndo): use the above instead of cell.size() comparison
819         (fixes bug 1808; instructed by Andr�.
820
821 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
822
823         * cursor_slice.h: 
824         * dociterator.h: Fix the assert when copying rows/cols in math
825
826 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
827
828         * BufferView_pimpl.C:
829         * LyXAction.C:
830         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
831
832         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
833         (findInset): new functions, refactored from goto Inset that return 
834         the position of a certain inset without setting the buffer's cursor
835         (by Jean-Marc); 
836         (gotoInset): rewrite to call findInset and then set the cursor
837         (by Jean-Marc).
838
839 2005-06-16  Angus Leeming  <leeming@lyx.org>
840
841         * lyxrc.C (output, read): wrap all input and output of paths with
842         calls to os::internal_path and os::external_path, respectively.
843         (output): wrap bind_file inside quotes.
844
845         * format.C (view): enable the viewer to use the '$$s' placeholder.
846
847 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
848
849         * LColor.[Ch] (getFromLaTeXName): new
850
851 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
852
853         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
854
855 2005-06-14  Angus Leeming  <leeming@lyx.org>
856
857         * lyx_main.C (init): ensure that the LyX binary dir is the first
858         element in the PATH on non-POSIX builds.
859
860 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
861
862         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
863
864 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
865
866         * rowpainter.C (paintInset, paintHebrewComposeChar)
867         (paintArabicComposeChar, paintChars): add a LyXFont argument.
868         (paintChars): use getFontSpan to reduce calls to getFont to a
869         minimum; use Paragraph::lookupChange instead of isXXXText.
870         (paintForeignMark): rename LyXFont argument.
871         (paintFromPos): pass a LyXFont object to the various paintXXX
872         methods.
873
874         * FontIterator.C (FontIterator, operator++): use
875         Paragraph::getFontSpan
876
877         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
878         version that returns the font span as a pair.
879
880 2005-06-09  Angus Leeming  <leeming@lyx.org>
881
882         * converter.C (convert): Don't forget "outfile = real_outfile" as
883         the final step in a conversion where the input and output file names
884         are the same. Otherwise, future conversion steps won't work...
885
886 2005-06-09  Angus Leeming  <leeming@lyx.org>
887
888         * lyxsocket.C: remove stub code as it isn't needed by
889         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
890
891 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
892
893         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
894         effectively disabled -x
895
896 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
897
898         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
899         when it actually makes sense.
900
901 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
902
903         * BufferView_pimpl.C: revert to showCursor in connection with
904         Lars's front-end stack
905
906 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
907
908         * text.C (redoParagraph): move cursor right after a bibitem
909         has been inserted.
910
911         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
912
913 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
914
915         * buffer_funcs.C (bufferErrors): fix computation of the end of an
916         error range.
917
918 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
919
920         * BufferView.[Ch] (update):
921         * BufferView_pimpl.[Ch] (update, metrics):
922         * dimension.h (operator==):
923         * lyxfunc.C (dispatch):
924         * metricsinfo.h (ViewMetricsInfo):
925         * rowpainter.C (paintText):
926         * lyxtext.h:
927         * text.C (redoParagraph):
928         * text3.C (dispatch): Make LyX only repaint current paragraph in
929         case of character insert --> speedup. Also fix cursor draw
930         artifacts
931
932 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
933
934         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
935         avoid a crash (bug 1891)
936
937 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
938
939         Fix bug 1892:
940
941         * text2.C (getStringToIndex): constify cur argument.
942
943         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
944         argument has been given
945         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
946         try to invoke LFUN_INSET_APPLY).
947
948         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
949         if no inset was created by doInsertInset
950         (doInsertInset): return true if an inset has been inserted.
951
952 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
953
954         * vspace.C (asGUIName): new method. A version of the space
955         suitable for showing on screen.
956
957 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
958
959         * MenuBackend.C:
960         * lyxrc.C: rename "ASCII" to "Plain Text"
961
962 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
963
964         * buffer_funcs.C (expandLabel): take a Buffer as argument;
965         translate the labelstring.
966         (setCounter): translate labelstring as needed.
967
968         * output_docbook.C (makeCommand): fix expandLabel invokation
969
970 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
971
972         * BufferView.C: fix dialog title
973
974 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
975
976         * lyx_main.C (priv_exec): fix logic error with help from Angus
977         * lyx_main.C (parse_execute): set is_gui = false and remove now
978         obsolete comment about a segfault
979
980 2005-05-18  Angus Leeming  <leeming@lyx.org>
981
982         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
983
984 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
985
986         * tabular.[hC]: added setCellInset to fix tabular paste.
987
988 2005-05-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
989
990         * buffer.C (save): check if destination is writable before trying
991         to copy a file
992
993 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
994
995         * BufferView_pimpl.C (update): fix processEvents -caused update
996         recursion bug
997
998 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
999
1000         * buffer_funcs.C (setCounter): fix test for numbering of
1001         environments.
1002
1003         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
1004         depth correctly; use optional argument when it exists
1005
1006         * lyxtextclass.C: remove unused MaxCounterTags enum
1007         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
1008         (max_toclevel, min_toclevel): new methods.
1009
1010         * MenuBackend.C (expandToc2): fix case where depth is smaller than
1011         the smallest depth in toc.
1012
1013         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
1014         layouts that should not appear in a table of contents.
1015
1016 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1017
1018         * cursor.h (undispatched, noUpdate): add comments from Andr�
1019 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
1020
1021         * lfuns.h:
1022         * LyXAction.C:
1023         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
1024
1025 2005-05-07  André Pönitz  <poenitz@gmx.net>
1026
1027         * cursor.[Ch] (leaveInset): new function
1028
1029 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1030
1031         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
1032
1033 2005-05-04  Angus Leeming  <leeming@lyx.org>
1034
1035         * lyxfunc.C (getStatus): disable the spell checker dialog if
1036         none of USE_[AIP]SPELL are defined.
1037
1038 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
1039
1040         * tabular.C (setWidthOfCell): remove obsolete comment
1041
1042 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
1043
1044         * paragraph.C (bibitem):
1045         * buffer_funcs.C (setCounter):
1046         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
1047
1048 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1049
1050         * text3.C (getStatus): immediately return after setOnOff
1051
1052         * rowpainter.C: fix drawing of appendix start
1053
1054 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1055
1056         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
1057         SwitchBetweenClasses and remove the unused return value.
1058         Handle character styles, too
1059
1060 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
1061
1062         * factory.C (createInset): handle undefined character styles
1063
1064 2005-05-02  Angus Leeming  <leeming@lyx.org>
1065
1066         * buffer.C: protect the #include of utime.h with a preprocessor
1067         guard.
1068
1069 2005-05-02  Angus Leeming  <leeming@lyx.org>
1070
1071         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
1072         function so that auto-saving works, albeit in a blocking manner.
1073
1074         * Makefile.am: make compilation of the client sub directory, of
1075         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
1076         on conditionals set at configure time.
1077
1078         * SpellBase.[Ch]: no longer an abstract base class. Instead,
1079         it can be compiled in its own right but has no-op functionality.
1080
1081         * aspell.C, pspell.C: remove preprocessor guards. The files should
1082         be compiled only if the necessary functionality exists.
1083
1084         * lyxserver.C, lyxsocket.C: disable on Windows.
1085
1086 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
1087
1088         * text.C (leftMargin): Fix the parindent use bug (1764)
1089         by dirty trick
1090
1091 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
1092
1093         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
1094         argument.
1095
1096 2005-04-25  Angus Leeming  <leeming@lyx.org>
1097
1098         * Bidi.[Ch]:
1099         * coordcache.[Ch]:
1100         * ispell.C:
1101         * lyxserver.C:
1102         * mover.C:
1103         * pch.h:
1104         include <config.h> in .C files, not .h ones.
1105         add licence blurb.
1106         protect headers inside preprocessor guards.
1107
1108 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1109
1110         * FuncStatus.h (StatusCodes): document
1111
1112 2005-04-21  André Pönitz  <poenitz@gmx.net>
1113
1114         * FuncStatus.h (enabled, onoff): document
1115
1116 2005-04-19  Angus Leeming  <leeming@lyx.org>
1117
1118         * BufferView_pimpl.C (cursorToggle): no longer test whether
1119         any child processes have been reaped before calling
1120         handleCompletedProcesses().
1121
1122 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
1123
1124         * text3.C (dispatch): fix, finally fix, the language problem in
1125         new lyxtexts, without disabling on-the-fly font changes (Helge's
1126         bug report)
1127
1128 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1129
1130         * text3.C (dispatch): set cursor on double/triple click events
1131         (bug 1811)
1132
1133 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1134
1135         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
1136         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
1137
1138         * rowpainter.C (paintFirst): simplify the code a little bit. In
1139         particular, remove the test for secnumdepth.
1140         * text.C (setHeightOfRow): only allocate space for chapter number
1141         when updateCounters provided an actual label, instead of looking
1142         at secnumdepth directly.
1143
1144         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
1145
1146         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
1147         paragraphs when secnumdepth is large enough or, for environments,
1148         when they are not the first in a sequence.
1149
1150 2005-04-17  Angus Leeming  <leeming@lyx.org>
1151
1152         * buffer.C (makeLaTeXFile): replace code to manipulate a path
1153         containing space and '~' characters with a call to latex_path().
1154
1155 2005-04-17  Angus Leeming  <leeming@lyx.org>
1156
1157         * converter.C (convert): protect all args of convertDefault.sh
1158         script with quotes.
1159
1160 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1161
1162         * text3.C (dispatch): change the layout to "Caption" after inserting
1163         a float.
1164
1165 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1166
1167         * text3.C (dispatch): fix language problem in newly created
1168         textinsets (and main text) in non-english docs
1169
1170 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1171
1172         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
1173         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
1174         * text3.C (getStatus): disable LFUN_INSET_MODIFY
1175
1176 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1177
1178         * lyxtext.h:
1179         * text.C (metrics):
1180         * text2.C (getFont):
1181         * rowpainter.C (getFont): Fix metrics bug introduced by inset
1182         fonts fix
1183
1184 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1185
1186         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
1187         output of \item arguments without trailing text.
1188
1189 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1190
1191         * FontIterator.C (operator*): avoid a copy of the font.
1192
1193 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1194
1195         * rowpainter.C (getFont): fix language bug from previous fix
1196
1197 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1198
1199         * rowpainter.C (RowPainter, getFont): fix font inside inset
1200         (bugs 1766, 1809)
1201
1202 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
1203
1204         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1205         preventing inserted font, deco, delim insets jumping to start of
1206         surrounding inset.
1207
1208 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1209
1210         * lyxfunc.C (dispatch): translate message before sending it to the
1211         minibuffer.
1212
1213 2005-03-29  Angus Leeming  <leeming@lyx.org>
1214
1215         * lyx_main.C (priv_exec): call os::internal_path on each file passed
1216         to LyX on the command line.
1217
1218 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
1219
1220         * vc-backend.C: use QuoteName to protect file names wherever
1221         necessary.
1222
1223 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
1224
1225         * buffer.[Ch]:
1226         * BranchList.h: fix bugs 1844,1845: document settings don't
1227         stick
1228
1229 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1230
1231         * lyxrc.C (setDefaults, read, output, getDescription): add support
1232         for tex_allows_spaces.
1233
1234         * exporter.C (Export): allows files in directory containing spaces
1235         if tex_allows_spaces is true.
1236
1237         * buffer.C (makeLaTeXFile): if the document path contains spaces,
1238         output it in double quotes.
1239
1240 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1241
1242         * rowpainter.C: use default text height for drawing change tracker
1243         strikeout lines.
1244
1245 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1246
1247         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1248
1249 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1250
1251         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1252         directory is missing.
1253
1254 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
1255
1256         * text2.C: fixed the fix, extended to other case.
1257
1258 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
1259
1260         * text2.C: fix for cursor up/down stuck in math [bug 1792]
1261
1262 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
1263
1264         * text2.C (cursorUp): get rid of a crash
1265         * text.C (x2pos): add an assert
1266
1267 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1268
1269         * lyxfunc.C (getStatus): fix warning when assertions are disabled
1270
1271         * text3.C:
1272         * lyxfunc.C:
1273         * dociterator.C: include <boost/current_function.hpp>, which is
1274         needed when assertions are disabled.
1275
1276 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1277
1278         * text2.C: fix for stuck cursor when traversing two
1279         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1280
1281 2005-02-25  Andreas Vox  <avox@arcor.de>
1282
1283         * output_docbook.C (makeParagraph): suppress trailing newline
1284         after a run of paragraphs
1285
1286 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1287
1288         * paragraph.C: fix for confused change tracker when pasting
1289         text that begins with a lineseparator. [bug 1827]
1290         (setChange(0, Change::INSERTED);)
1291
1292         * paragraph_funcs.C: fix for lost changes on triple-paste
1293         in change tracking mode [bug 1827] (par.setChange()).
1294
1295 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1296
1297         * text2.C (updateCounters, setCounter, expandLabel): move to
1298         buffer_funcs.
1299
1300         * buffer_funcs.C (updateCounters): turn into a free standing
1301         function and add a buffer parameter. Remove dead code for tracking
1302         labelstring change.
1303         (setCounter): change into a free-standing function which gets a
1304         dociterator as argument. Use this iterator to fix captions in a
1305         simple way. When no float is found above the caption, use the
1306         labelstring of the caption layout as default.
1307
1308         * text.C (breakParagraph, backspace):
1309         * text2.C (init, setLayout, changeDepth):
1310         * text3.C (dispatch):
1311         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1312         updateCounters.
1313
1314         * dociterator.C (forwardPar): make it much faster by calling
1315         forwardPos() only when really necessary.
1316
1317         * output_docbook.C (makeCommand): adapt to expandLabel move.
1318
1319         * cursor.C: remove unused variable
1320
1321 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1322
1323         * paragraph_funcs.C: fix crash when pasting insets in change
1324         tracking mode [bug 1277] (honour change type in moveItem).
1325
1326 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1327
1328         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1329
1330 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1331
1332         * BufferView.C (setCursor): change to use a DocIterator.
1333         (gotoLabel): use BufferView::setCursor (other part of bug 781).
1334         (putSelectionAt): adapt to BufferView::setCursor change.
1335
1336         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1337         moved here from LyXText and rewritten to use proper cursor
1338         methods. Fixes bug 1787, 616 and 835.
1339
1340         * BufferView_pimpl.C (restorePosition): set the cursor correctly
1341         when inside an inset (part of bug 781).
1342         (dispatch): adapt to change of BufferView::setCursor.
1343         (getStatus, dispatch): handle LFUN_GOTOERROR,
1344         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1345
1346         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1347         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1348         * text3.C (gotoNextInset, gotoInset): removed.
1349
1350 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1351
1352         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1353
1354 2005-02-15  Angus Leeming  <leeming@lyx.org>
1355
1356         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1357         can be used meaningfully in a comparison.
1358
1359 2005-02-13  André Pönitz  <poenitz@gmx.net>
1360
1361         * bufferview_funcs.C (coordOffset): improve cursor drawing
1362
1363 2005-02-13  André Pönitz  <poenitz@gmx.net>
1364
1365         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1366         * Cursor.C (dispatch): use fixIfBroken
1367         * lyxfunc.C (getStatus): use fixIfBroken
1368
1369 2005-02-15  Angus Leeming  <leeming@lyx.org>
1370
1371         * lyx_main.C (error_handler):
1372         * lyxfunc.C:
1373         * lyxrc.C (setDefaults):
1374         s/GetEnv/getEnv/.
1375         #include "environment.h".
1376
1377         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1378
1379 2005-02-15  Angus Leeming  <leeming@lyx.org>
1380
1381         * lyxserver.C (startPipe): squash MSVC warning "local variable
1382         'fd' used without having been initialized".
1383
1384 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1385
1386         * BufferView_pimpl.C: revert accidental commit.
1387
1388 2005-02-14  André Pönitz  <poenitz@gmx.net>
1389
1390         * dociterator.[Ch]: new member forwardPosNoDescent(),
1391         which doesn't enter nested insets.
1392         * text2.C (setFont): use forwardPosNoDescent() instead
1393         of ForwardPos() (fixes crash on font change).
1394
1395 2005-02-13  Angus Leeming  <leeming@lyx.org>
1396
1397         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1398         only if lyxrc.path_prefix is not empty.
1399
1400 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1401
1402         * bufferparams.C (readGraphicsDriver): prevent crash
1403
1404 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1405
1406         * text2.C (setCounter): check for inInset() == 0
1407
1408 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1409
1410         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1411         but use update() to get correct screen display; use convert
1412         instead of istringstream.
1413         (getStatus): handle LFUN_GOTO_PARAGRAPH
1414
1415         * lyxfunc.C (dispatch, getStatus): do not handle
1416         LFUN_GOTO_PARAGRAPH here.
1417
1418 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1419
1420         * text3.C (dispatch): size() -> depth()
1421
1422         * text2.C: remove some debug output
1423
1424         * paragraph.C: ws changes only
1425
1426         * lyxfunc.C (getStatus): size() -> depth()
1427
1428         * dociterator.h (clear, push_back, pop_back, internalData,
1429         operator[], resize, empty): new functions
1430         Make StableDocIterator and operator== be friends. Don't inherit
1431         from std::vector use a privat class variable slices_ instead.
1432         Modify to fit.
1433
1434         * dociterator.C: update because of not inheriting from std::vector
1435         anymore. Call explictly to slices_ instead. Use depth() instead of
1436         size() and top() instead of back()
1437
1438         * cursor.C: chagne size() -> depth and back() -> top(). Also
1439         remove some direct operator[](i) calls in favour of foo[i]
1440         (getFont): remove some dead code
1441
1442         * bufferview_funcs.C (coordOffset): size() -> depth()
1443
1444         * buffer.C: ws changes only
1445
1446         * CutAndPaste.C (eraseSelection): back() -> top()
1447
1448         * BufferView_pimpl.C (selectionRequested): back() -> top()
1449
1450         * BufferView.C (setCursor): size() -> depth()
1451
1452 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1453
1454         * text3.C (cursorPrevious): return true if depm changed something
1455         (cursorNext): ditto
1456         (dispatch): rename sl to oldTopSlice, remove moving use the new
1457         NoUpdate func attrib instead. Make sure that needsUpdate is set
1458         for function that have NoUpdate, but where depm might have changed
1459         the buffer anyway.
1460
1461         * text2.C (cursorLeft): make us return true if depm changed
1462         something
1463         (cursorRight): ditto
1464         (cursorUpParagraph): ditto
1465         (curosrDownParagraph): ditto
1466         (cursorUp, cursorDown): ditto, make sure to read comments in code
1467         (deleteEmptyParagraphMechanism): remove an assert, also return
1468         true if just a single char was deleted.
1469
1470         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1471         cursor that we modify, to avoid modifying an active cursor before
1472         we call setCursor. This allows depm to run. Also return true if
1473         depm deleted something.
1474
1475         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1476         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1477         cursorDownParagraph, cursorPrevious and cursorNext, return true if
1478         something was changed in the buffer because of them (ie. depm run)
1479
1480         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1481         debug messages. Make update by default be false. Make sure that
1482         the result of update is retained throught several calls down to
1483         dispatch.
1484
1485         * LyXAction.h: add a new func_attrib: NoUpdate
1486
1487         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1488         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1489         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1490         and LFUN_WORDLEFT
1491         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1492
1493 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1494
1495         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1496         bv_->owner(), bv_->buffer() by direct references to the private
1497         members.
1498         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1499         (getStatus): isSavedPosition() is in BufferView::Pimpl.
1500         (fitCursor): center() is in BufferView::Pimpl.
1501         (getStatus, trackChanges, dispatch): no need for a temporary buf
1502         variable
1503         (fitCursor, workAreaDispatch): use workarea().workheight()
1504
1505 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1506
1507         * CutAndPaste.C (pasteSelectionHelper): fix a crash
1508
1509 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1510
1511         * buffer.C: format up to 241.
1512         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1513         break if pasting into ERT
1514         * lyxfunc.C (getStatus): suppress mathpanel and
1515         LFUN_DIALOG_SHOW_NEW_INSET in ERT
1516
1517 2005-02-01  Angus Leeming  <leeming@lyx.org>
1518
1519         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1520
1521 2005-02-01  Angus Leeming  <leeming@lyx.org>
1522
1523         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1524         calling fs::is_directory().
1525
1526 2005-01-31  Angus Leeming  <leeming@lyx.org>
1527
1528         * lyx_main.C (priv_exec): specify explicitly the relative location
1529         of the top level build directory when run in-place.
1530
1531 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1532
1533         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1534         LyXText containing the cursor, not the top-level one.
1535
1536         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1537         true.
1538         (insertStringAsLines): rename par to pit; use temporary variable
1539         par to hold a Paragraph; do not store par.layout() in a variable,
1540         since the pointer may die when breaking paragraphs; pass pars to
1541         breakParagraph() instead of Buffer::paragraphs().
1542
1543 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1544
1545         * lyxlex_pimpl.h: #include <fstream>.
1546
1547         * BufferView.[Ch] (getLyXText): add a const version.
1548
1549         * BufferView_pimpl.C: add debug aids.
1550
1551         * RowList_fwd.h:
1552         * buffer.h:
1553         * lyxrow.h:
1554         * paragraph_funcs.h: add commentary explaining what the class does.
1555
1556
1557         * coordcache.[Ch]: add lots of commentary.
1558         (startUpdating, doneUpdating): debug aids.
1559         (arrays, insets, parPos, getParPos): accessors to private data.
1560
1561         * cursor_slice.[Ch] (text): add a const version.
1562         * dociterator.[Ch] (text, innerText): add const versions.
1563
1564         * lyxtext.h (breakParagraph): change the keep_layout arg to a
1565         bool.
1566
1567         * paragraph.C (getRow, pos2ros): add asserts.
1568
1569         * paragraph.h: add commentary. Lots of.
1570
1571         * paragraph.[Ch] (metrucs, draw): removed.
1572
1573         * cursor.C:
1574         * rowpainter.[Ch]: const-correct changes.
1575
1576         * text.C: various obvious clean-ups. Removal of ancient cruft.
1577         Bug fixes, even.
1578
1579 2005-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
1580
1581         * vc-backend.C (find_file): rewrite to use boost.filesystem
1582         (scanMaster): ditto
1583
1584         * main.C (main): set default name check for boost.filesystem to
1585         no check
1586
1587         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1588         (open): ditto
1589         (doImport): ditto
1590         (actOnUpdatedPrefs): ditto
1591
1592         * lyx_main.C (init): rewrite to use boost.filesystem
1593         (queryUserLyXDir): ditto
1594
1595         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1596         (getContentsOfAsciiFile): ditto
1597
1598         * lastfiles.C (readFile): rewrite to use boost.filesystem
1599
1600         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1601
1602         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1603         (loadLyXFile): ditto
1604
1605         * buffer.C (Buffer): adjust for destroydir
1606         (getLogName): rewrite to use boost.filesystem
1607         (setFileName): ditto
1608         (save): use fs::copy_file (from fs_extras)
1609
1610         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1611
1612         * LaTeX.C (run): rewrite to use boost.filesystem
1613         (scanAuxFiles): ditto
1614         (handleFoundFile): ditto
1615
1616 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1617
1618         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1619
1620         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1621
1622 2005-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1623
1624         * lyxlayout.[Ch]: change some vars from float to double
1625
1626         * buffer.C (readFile): make a local var const
1627
1628         * Several files: use convert<> instead of atoi,strToXXX and friends
1629
1630 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1631
1632         * LaTeXFeatures.[Ch]: Add a static list packages_ that
1633         holds the contents of packages.lst. New functions getAvailable
1634         and isAvailable to parse and check that list, resp.
1635
1636         * LyXAction.C:
1637         * lfuns.h:
1638         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1639
1640         * bufferparams.[Ch]: new param output_changes.
1641
1642         * Buffer.C: increase file format to 240.
1643         Use output_changes and isVailable.
1644
1645         * changes.[Ch]:
1646         * paragraph.C:
1647         * paragraph_pimpl.C: Use output_changes and isVailable.
1648
1649 2005-01-23  Angus Leeming  <leeming@lyx.org>
1650
1651         * output_latex.C: #include "insetbibitem.h", rather than
1652         forward declare function bibitemWidest.
1653
1654 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
1655
1656         * lyx_main.C (init): make it compile on the Mac.
1657
1658 2005-01-20  Angus Leeming  <leeming@lyx.org>
1659
1660         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1661         (setLyXMisc): (char string literal) != (char string literal) is
1662         performing a comparison on the addresses. Convert one operand
1663         explicitly to string to guarantee expected behaviour.
1664         From MSVC warning.
1665
1666 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1667
1668         * buffer.C:
1669         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1670
1671         * output_plaintext.C: remove unneeded #include gzstream.h.
1672
1673 2005-01-20  Angus Leeming  <leeming@lyx.org>
1674
1675         * SpellBase.h: rename some of the elements of the Result enum.
1676
1677         * aspell_local.h:
1678         * ispell.h:
1679         * pspell.h:
1680         * aspell.C (check):
1681         * ispell.C (check):
1682         * pspell.C (check): ditto
1683
1684 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1685
1686         * buffer.C: add #include <fstream>.
1687
1688         * lyx_main.C (init): Compile fix.
1689
1690         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1691
1692 2005-01-20  Angus Leeming  <leeming@lyx.org>
1693
1694         * mover.h: change commentary to reflect the changed meaning of
1695         the $$s placeholder.
1696
1697 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1698
1699         * output_linuxdoc.C (linuxdocParagraphs): silence warning
1700
1701         * lyxfind.C (MatchString::operator()): remove bogus semicolon
1702
1703 2005-01-20  Angus Leeming  <leeming@lyx.org>
1704
1705         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1706         printing diagnostic data by not dereferecing an iterator past the
1707         end.
1708
1709 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1710
1711         * buffer.C (readHeader): use "&&" rather than "and".
1712
1713         * lyxserver.h (inPipeName, outPipeName): make these const.
1714
1715 2005-01-19  Angus Leeming  <leeming@lyx.org>
1716
1717         * lyx_main.C (error_handler, init): protect SIGHUP with
1718         #ifdef SIGHUP guards.
1719
1720 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1721
1722         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1723
1724 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1725
1726         * text.C (setHeightOfRow): add a margin at the top and bottom of
1727         the document (bug 1761)
1728
1729 2005-01-17  Angus Leeming  <leeming@lyx.org>
1730
1731         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1732         with "python ". Workaround for a brain-dead Windows.
1733
1734 2005-01-16  Angus Leeming  <leeming@lyx.org>
1735
1736         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1737         for MacOSX and Windows to use prependEnvPath.
1738         Strip out the hard-coded block to add elements to the PATH for
1739         MacOSX and replace it with a call to prependEnvPath using the
1740         contents of LyXRC::path_prefix.
1741         (queryUserLyXDir): strip out the code to run reconfigure, instead
1742         returning a boolean indicating the necessity to do so.
1743         (reconfigureUserLyXDir): contains the code to reconfigure the
1744         user support directory. Is now called after the various LyXRC data
1745         files have been read.
1746
1747         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1748
1749 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1750
1751         * converter.[Ch] (convert): take a new parameter try_default. Use
1752         a default converter (imagemagick) if try_default is true.
1753
1754 2005-01-13  Angus Leeming  <leeming@lyx.org>
1755
1756         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1757         os::cygwin_path_fix.
1758         (write): output LyXRC::cygwin_path_fix as necessary.
1759
1760 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
1761
1762         * lyxrc.h:
1763         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1764
1765 2005-01-12  Angus Leeming  <leeming@lyx.org>
1766
1767         * lyx_main.C (init): set the PATH variable to include the
1768         directory containing the LyX binary when running on Mac or Windows.
1769
1770 2005-01-12  Angus Leeming  <leeming@lyx.org>
1771
1772         * lyx_main.C (init): remove cruft that purports to set the locale
1773         dir. It doesn't and is not needed anyway.
1774
1775 2005-01-10  Angus Leeming  <leeming@lyx.org>
1776
1777         * Makefile.am: remove the lyx_main.C special casing.
1778
1779         * BufferView_pimpl.C:
1780         * bufferlist.C:
1781         * exporter.C:
1782         * lyx_cb.C:
1783         * lyx_main.C:
1784         * lyxfunc.C:
1785         * messages.C: use support/package.h to provide the paths to the
1786         various directories used by LyX.
1787
1788 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1789
1790         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1791         layout if pasting into an empty paragraph)
1792
1793 2005-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1794
1795         * tex-accent.C: add <string>
1796
1797 2005-01-06  José Matos  <jamatos@lyx.org>
1798
1799         * ParagraphParameters.C (write): put every parameter in its own line.
1800         * paragraph.C (write): reduce number of consecutive empty lines exported.
1801         * buffer.C (LYX_FORMAT): increase file format to 239.
1802
1803 2005-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1804
1805         * everywhere: change support/tostr.h -> support/convert.h
1806
1807         * tabular.C: make all write_attributes templates, tostr -> convert
1808
1809         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1810         (emptyTag): and -> &&, and fix type for ret from getChar
1811         (getFirstWord): fix type for ret from getChar
1812         (onlyText): and -> &&
1813         (simpleDocBookOnePar): and not -> && !, fix type for ret from
1814         getChar
1815
1816         * toc.C (goTo, action):
1817         * text3.C (dispatch):
1818         * text.C (currentState):
1819         * tex-accent.C (DoAccent):
1820         * sgml.C:
1821         * lyxrc.C:
1822         * lyxfunc.C (menuNew):
1823         * lyxfinc.C (replace):
1824         * counters.C (laberItem):
1825         * bufferview_funcs.C (font2string):
1826         * bufferparams.C (writeFile):
1827         * buffer.C (readFile):
1828         * Spacing.C (set):
1829         * MenuBackend.C: tostr -> convert
1830
1831         * LaTeX.C (runMessage): fix format
1832         (scanAuxFiles): tostr -> convert
1833
1834         * BufferView_pimpl.C (savePosition): fix format
1835         (restorePosition): ditto
1836         (dispatch): ditto
1837
1838 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1839
1840         * Spacing.[Ch]: New method getValueAsString().
1841
1842         * Spacing.[Ch]:
1843         * bufferparams.C:
1844         * ParagraphParameters.C:
1845         * lyxlayout.C:
1846         * text.C:
1847         * text3.C: store/read spacing value as string.
1848
1849         * rowpainter.C: change float value (spacing_val) to double.
1850
1851         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1852         broken custom document spacing).
1853
1854 2005-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
1855
1856         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1857         namespace, also more use of temp references and const
1858
1859         * cursor.[Ch] (getStatus): move to lyxfunc.C
1860
1861         * bufferparams.C: reformat slightly
1862
1863         * bufferview_funcs.C (font2string): constify arg
1864
1865         * changes.C:
1866         * converter.C:
1867         * counters.C:
1868         * bufferlist.C:
1869         * buffer_funcs.C: (many funcs): constify arg on function
1870         definitions, also make more local vars const, also add ASSERTS on
1871         pointer args.
1872
1873         * buffer.C (LYX_FORMAT): put const in correct place
1874         (many funcs): constify arg on function definitions, also make
1875         more local vars const
1876
1877         * aspell_local.h: remove "struct" from typdef setup
1878
1879         * aspell.C (check): make word_ok const
1880         (nextMiss): simplify slightly
1881         (error): ditto
1882
1883 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1884
1885         * lyxrc.[Ch]: store all float values as strings.
1886         use int (not float) for lyxrc.dpi.
1887
1888 2005-01-04  Angus Leeming  <leeming@lyx.org>
1889
1890         * lyx_cb.C (Reconfigure):
1891         * lyx_main.C (queryUserLyXDir):
1892         to run the <system_lyxdir>/configure correctly on Windows, prefix
1893         the path to the script with "sh " when generating the string that
1894         is passed to system().
1895
1896 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1897
1898         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1899
1900 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1901
1902         * lyxlength.C (asLatexString): get rid of setprecision
1903
1904 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1905
1906         * text2.C (setLayout): remove unused variable endpit.
1907         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1908
1909         * paragraph.C (onlyText): remove unused variable style.
1910
1911         * cursor.C (bruteFind): remove unused variables beg and end.
1912
1913         * Makefile.am (dist_noinset_DATA): not needed anymore
1914
1915         * cheaders/*: remove.
1916
1917 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1918
1919         * text3.C: fix LFUN_MATH_MODE.
1920
1921 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1922
1923         * buffer_funcs.C (countWords): new function. Counts words between
1924         two iterators.
1925
1926         * BufferView_pimpl.C (getStatus, dispatch): handle
1927         LFUN_WORDS_COUNT.
1928
1929         * LyXAction.C (init):
1930         * lfuns.h: add LFUN_WORDS_COUNT.
1931
1932 2004-12-19  Angus Leeming  <leeming@lyx.org>
1933
1934         * buffer.C (save): s/slashify_path/internal_path/.
1935
1936 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1937
1938         * lyxfind.C (findChange): do not search for end of pars, because
1939         the change tracker cannot handle this (fixes bug 1719).
1940
1941 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1942
1943         * paragraph.[Ch] (autoBreakRows): remove
1944
1945         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1946
1947         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1948         avoid using the paragraph one
1949
1950         * text2.C (LyXText, insertStringAsLines): adjust
1951
1952 2004-12-16  Angus Leeming  <leeming@lyx.org>
1953
1954         * bufferlist.C:
1955         * lyx_main.C:
1956         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1957
1958 2004-12-14  Angus Leeming  <leeming@lyx.org>
1959
1960         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1961
1962         * bufferlist.C (emergencyWrite):
1963         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1964         GetEnvPath("HOME").
1965
1966 2004-12-14  Angus Leeming  <leeming@lyx.org>
1967
1968         * main.C: (main): no longer pass pointers to os::init.
1969
1970 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1971
1972         * undo.C (textUndoOrRedo): simplify logic, fix a crash
1973         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1974
1975 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1976
1977         * lyxfunc.C:
1978         * text3.C: remove selection_possible global flag
1979
1980 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1981
1982         * text2.C (getSelectionSpan): remove
1983         (changeDepth, changeDepthAllowed): adjust
1984
1985 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
1986
1987         * Makefile.am (BOOST_LIBS): use boost variables
1988
1989 2004-12-03  José Matos  <jamatos@lyx.org>
1990
1991         * buffer.C: format up to 238.
1992
1993 2004-12-03  José Matos  <jamatos@lyx.org>
1994
1995         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1996
1997 2004-12-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1998
1999         * cursor.C (goUpDown): remove call to idxUpDown2
2000
2001 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2002
2003         * tabular.[Ch]: use size_t-like types for cell, row and column
2004         indices
2005
2006 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2007
2008         * lyxfunc.C (getStatus): do not lose previous information when
2009         calling BufferView::getStatus; do not set a default "Command
2010         disabled" message at the beginning, but just before returning.
2011
2012 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2013
2014         * cursor.h (getStatus): add better comment from src/cursor.C
2015
2016 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2017
2018         * text3.C (getStatus): return false when the lfun is not handled
2019
2020 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2021
2022         * broken_headers.h: remove
2023
2024         * Makefile.am (lyx_SOURCES): remove broken_headers.h
2025
2026 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2027
2028         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
2029         offset_ref accessors
2030
2031         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
2032         top_y_, merge fitcursor with update
2033         (updateScrollbar, scrollDocView, fitCursor, center, update): new
2034         coord scheme
2035         (metrics): introduce
2036         (workAreaDispatch): adapt to new coord scheme
2037         (redoCurrentBuffer): remove
2038
2039         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
2040
2041         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
2042         CurStatus enum.
2043
2044         * coordcache.[Ch]: add paragraph cache and helpers
2045
2046         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
2047         adjust everywhere
2048
2049         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
2050         (targetX, setTargetX): introduce
2051
2052         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
2053         baseline -> ascent, as the rest of lyx
2054
2055         * lyxtext.h: remove redoParagraphs, updateParPositions,
2056         fullRebreak, redoParagraphInternal. move dist to anon namespace in
2057         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
2058         have ascent/descent (ascent is ascent of first par)
2059
2060         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
2061         step of BufferView
2062
2063         * paragraph.[Ch]: unify dimension handling with the rest of lyx
2064
2065         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
2066
2067         * pariterator.C: fix infinite loop introduced in par->pit renaming
2068
2069         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
2070         in insets and LyXText, draw two off-screen paragraphs using
2071         NullPainter, and adapt to new coord scheme
2072
2073         * text.C:
2074         * text2.C:
2075         * text3.C: adapt lfun handlers to the new coord scheme, which
2076         means: there's only guaranteed coord information for onscreen pars
2077         plus one above and one below. This implies that one can do search
2078         from y coordinates in the range [-1,workHeight]
2079
2080 2004-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2081
2082         * rename a lot of InsetOld to InsetBase
2083
2084 2004-11-25  Angus Leeming  <leeming@lyx.org>
2085
2086         * BufferView_pimpl.C:
2087         * lyx_cb.C:
2088         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
2089
2090 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2091
2092         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
2093         call BufferView::getStatus if LCursor::getStatus did nothing
2094         (setStatusMessage, getStatusMessage): removed.
2095
2096         * FuncStatus.C (message): new methods. Used to provide an error
2097         message indicating why a command is disabled.
2098         (clear, |=, FuncStatus): update for message.
2099
2100 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2101
2102         * lyxfunc.C (dispatch): always call sendDispatchMessage
2103
2104 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2105
2106         * BufferView.C:
2107         * BufferView_pimpl.C:
2108         * CutAndPaste.C:
2109         * FontIterator.C:
2110         * buffer.C:
2111         * cursor.C:
2112         * cursor_slice.[Ch]:
2113         * dociterator.[Ch]:
2114         * lyxfind.C:
2115         * paragraph_funcs.C:
2116         * pariterator.C:
2117         * rowpainter.C:
2118         * text.C:
2119         * text2.C:
2120         * text3.C:
2121         * undo.C: par->pit renaming
2122
2123 2004-11-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2124
2125         * tabular.C (cellstruct): use initialization, store a shared_ptr
2126         to insettext instead of the insettext directly, adjust to fit.
2127         (operator=):  new function
2128         (swap): new function
2129         (rowstruct): use initialization
2130         (columnstruct): use initialization
2131         (ltType): use initialization
2132
2133
2134         * lyxlength.h (swap): new function
2135
2136         * LColor.[Ch] (operator=): use the common semantics
2137
2138 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2139
2140         * lyxfind.C (findNextChange): update the bufferview after setting
2141         the selection.
2142
2143 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2144
2145         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
2146         number of InsetOptArgs has already been inserted.
2147
2148         * output_latex.C (latexOptArgInsets): new method. This outputs all
2149         the optarg insets, up to the limit defined in the layout file.
2150         (optArgInset): removed
2151         (TeXOnePar): call latexOptArgInsets; correctly update texrow
2152
2153 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2154
2155         * paragraph.C (isLetter): remove special spellchecker-related
2156         code; return true also for digits
2157         (isWord, isKomma): remove
2158
2159         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
2160         * lyxfind.C (MatchString()): use isLetter instead of isWord
2161
2162 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2163
2164         * pariterator.h (operatir=): comment out un-implemented member
2165         function.
2166
2167         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
2168         static cast.
2169
2170 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2171
2172         * lyxfont.h: include LColor.h to satisfy concept checks.
2173
2174 2004-11-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2175
2176         * pariterator.h: add typdefs for value_type, difference_type,
2177         pointer and reference to satisfy concept checks. Also add default
2178         constructor for same reason.
2179
2180         * pariterator.C (operator++): add post-increment operator to
2181         satisfy concept checks.
2182
2183         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
2184         checks.
2185
2186         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
2187
2188         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
2189         checks. Also rename base_type to BaseType to follow naming
2190         standard better.
2191
2192         * FloatList.h: include Floating.h to satisfy concept checks.
2193
2194 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2195
2196         * lyxfunc.C (getStatus): when the origin of the request is menu or
2197         toolbar, and the LyXView does not have focus, do as if there was
2198         no buffer (bug 1720)
2199
2200         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2201         FuncRequest to individual entries of LFUN_SEQUENCE
2202
2203 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2204
2205         * output_latex.C (TeXOnePar): override runparams.moving_arg
2206         according to the needprotect value of the current paragraph (bug
2207         1739)
2208
2209         * paragraph.C (simpleTeXOnePar): no need to override
2210         runparams.moving_args here
2211
2212 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
2213
2214         * vspace.C: fix off-by-one-error, related to fix #1682
2215
2216 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2217
2218         * lengthcommon.C: a more general fix for bug 1682
2219
2220 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2221
2222         * text.C (backspace): fix crash
2223
2224 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2225
2226         * format.[Ch] (getFormatFromFile): new method
2227         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2228
2229 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2230
2231         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2232
2233 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2234
2235         * lyxfunc.C (dispatch): remove the verbose argument
2236         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2237         instead
2238
2239         * kbmap.C (defkey): set the origin of func to KEYBOARD
2240
2241         * MenuBackend.C (MenuItem):
2242         * ToolbarBackend.C (add): set the origin of func to UI
2243
2244         * funcrequest.[Ch]: add origin member, which indicates which part
2245         of LyX requests an action
2246
2247 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2248
2249         * converter.C (move): don't lie in the error message
2250         * converter.h (isReachable, move): document
2251
2252 2004-11-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2253
2254         * buffer.C: remove unused using lyx::support::atoi
2255         * paragraph_funcs.C: ditto
2256
2257 2004-11-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2258
2259         * bufferlist.C (exists): use bind and equal_to instead of
2260         compare_memfun
2261         (getBuffer): ditto
2262         * lyxtextclasslist.C (NumberOfClass): ditto
2263
2264         * cursor.C (insert): use for_each instead of explicit for loop
2265
2266         * bufferlist.C (getFileNames): use std::transform and
2267         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2268
2269         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2270         for loop
2271
2272         * buffer.C (changeLanguage): use for_each instead of explicit for
2273         loop
2274         (hasParWithID): implement using getParFromID
2275
2276         * LaTeXFeatures.C: ws change only
2277
2278         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2279         to cleanup a bit.
2280
2281         * BufferView_pimpl.C (trackChanges): use for_each instead of
2282         expilicit for loop
2283
2284 2004-11-04  André Pönitz  <poenitz@gmx.net>
2285
2286         * undo.h:
2287         * undo.C (textUndoOrRedo): fix crash when creating undo information.
2288
2289         * dociterator.C (asDocIterator): use hard assert again.
2290
2291 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2292
2293         * lyxlength.C (asLatexString): rewrite so that it does not use
2294         snprintf anymore
2295
2296 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2297
2298         * text3.C (specialChar, dispatch): make sure cursor moves to the
2299         right after inserting an inset
2300
2301 2004-11-02  José Matos  <jamatos@lyx.org>
2302
2303         * output_docbook.C (docbook):
2304         * paragraph.C (getID):
2305         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2306         garantee that the output is always legal.
2307
2308         * tabular.C (docbook):
2309         * outputprams.[Ch]: remove mixed contents.
2310
2311 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2312
2313         * text2.C (setCounter): prevent endless loop
2314
2315 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2316
2317         * exporter.C (copyFile): use the mover instead of support::copy()
2318         * exporter.C (Export): pass format and latex name to copyFile()
2319         * exporter.h (addExternalFile): document
2320         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2321
2322 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2323
2324         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2325
2326 2004-10-30  José Matos  <jamatos@lyx.org>
2327
2328         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2329         text and no inset or font change. This allows to use CDATA
2330         sections just for the whole paragraph.
2331
2332 2004-10-30  José Matos  <jamatos@lyx.org>
2333
2334         * paragraph.C (getFirstWord): remove unused variable.
2335
2336 2004-10-30  José Matos  <jamatos@lyx.org>
2337
2338         * paragraph.C (getFirstWord): the content should always be escaped
2339         there.
2340         (simpleDocBookOnePar):
2341         * output_docbook.C (makeEnvironment): replace reference to CDATA
2342         to style pass_thru.
2343
2344 2004-10-30  José Matos  <jamatos@lyx.org>
2345
2346         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2347
2348 2004-10-30  José Matos  <jamatos@lyx.org>
2349
2350         * output_docbook.C (makeParagraphs):
2351         * paragraph.[Ch] (emptyTag): for docbook and company, if the
2352         standard paragraph has only a given type of content drop the wrapper.
2353
2354 2004-10-29  José Matos  <jamatos@lyx.org>
2355
2356         * output_docbook.C (makeEnvironment):
2357         * sgml.C (openTag):
2358         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2359
2360 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
2361
2362         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2363         (cleanID): sanitize any id.
2364
2365 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2366
2367         * buffer.C, lyxlex_pimpl.C:
2368         * lyxlex_pimpl.C (setFile):
2369         s/getExtFromContents/getFormatFromContents/
2370
2371 2004-10-28  José Matos  <jamatos@lyx.org>
2372
2373         * output_docbook.C (makeEnvironment): move id to broadest possible
2374         scope.
2375
2376         * sgml.C (openTag): apply substitution of <> for all attributes.
2377
2378 2004-10-28  José Matos  <jamatos@lyx.org>
2379
2380         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2381         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2382         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2383
2384         * sgml.[Ch]: new version for open and closeTag for paragraph and
2385         for strings. Now they handle the ids of paragraphs.
2386
2387 2004-10-26  Angus Leeming  <leeming@lyx.org>
2388
2389         * Makefile.am: add mover.[Ch].
2390
2391         * converter.C (convert, move): use the new Movers to move external
2392         files to the temp directory.
2393
2394         * lyx_main.C (init): ensure that the global system_movers data
2395         is initialised.
2396
2397         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2398         preferences file.
2399
2400         * mover.[Ch]: new files, defining a Mover as a utility to move an
2401         external file between directories and, if necessary, manipulate this
2402         file using a helper script.
2403
2404 2004-10-25  José Matos  <jamatos@lyx.org>
2405
2406         * output_docbook.C (makeCommand): merge two if's that tested the
2407         same condition.
2408
2409 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2410
2411         * sgml.C (escapeString): fix warning in a better way
2412
2413 2004-10-25  José Matos  <jamatos@lyx.org>
2414
2415         * sgml.C (escapeString): import the require boosts header file for
2416         tie, and avoid a signed unsigned comparison.
2417
2418 2004-10-25  José Matos  <jamatos@lyx.org>
2419
2420         * sgml.h: add #include <string>
2421
2422 2004-10-25  José Matos  <jamatos@lyx.org>
2423
2424         * sgml.[Ch] (escapeString): new function to escape all the string.
2425
2426 2004-10-24  José Matos  <jamatos@lyx.org>
2427
2428         * paragraph.[Ch] (getFirstWord): new function to get the first
2429         word. Useful for description.
2430         (simpleDocBookOnePar): remove depth argument, add another that
2431         says where to start the paragraph.
2432
2433         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2434         use the new functions to fix cleanly the support for descriptions.
2435
2436 2004-10-24  José Matos  <jamatos@lyx.org>
2437
2438         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2439         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2440         * output_linuxdoc.C (linuxdocParagraphs):
2441         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2442         add buffer as argument.
2443
2444 2004-10-24  José Matos  <jamatos@lyx.org>
2445
2446         * output_docbook.C (makeEnvironment, searchEnvironment): place
2447         CDATA inside paragraphs and fix scope for listitems.
2448
2449 2004-10-24  José Matos  <jamatos@lyx.org>
2450
2451         * output_docbook.C: remove using statement for stack.
2452
2453 2004-10-23  José Matos  <jamatos@lyx.org>
2454
2455         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2456         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2457         docbook. The new scheme is recursive and makes use of iterators, the
2458         same as latex export works.
2459         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2460         directly with the paragraph contents. This code was moved up to
2461         output_docbook.C (docbookParagraphs).
2462         * sgml.C (openTag, closeTag): removed unneeded newlines.
2463         (closeEnvTags) removed.
2464
2465 2004-10-23  André Pönitz  <poenitz@gmx.net>
2466
2467         * undo.C (textUndoOrRedo):
2468         * dociterator.C (asDocIterator): work around crash
2469
2470         * cursor.C (getStatus): replace ASSERT by more verbose error message
2471           and manual correction of the problem. Should increase stability
2472           while providing more sensible information.
2473
2474 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2475
2476         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2477
2478         * bufferlist.C (previous, next): new methods
2479
2480         * lfuns.h:
2481         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2482
2483 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
2484
2485         * buffer.C (makeDocBookFile): add dsssl stylesheet control
2486         entities to preamble.
2487
2488 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2489
2490         * messages.C (Pimpl): strip off translation context information
2491
2492 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2493
2494         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2495         the cursor is correct (bug 1694)
2496
2497 2004-10-13  José Matos  <jamatos@lyx.org>
2498
2499         * output_docbook.C (docbookParagraphs): fix closing tags in the
2500         end of the document.
2501
2502 2004-10-09  José Matos  <jamatos@lyx.org>
2503
2504         * buffer.C: format up to 237.
2505         * bufferparams.C (write): use tostr to convert booleans to strings.
2506
2507 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
2508
2509         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2510
2511 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
2512
2513         * LaTeX.C: implement use of babel language in xindy.
2514
2515 2004-10-05  José Matos  <jamatos@lyx.org>
2516
2517         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2518         Add new translators to help reading and writing the lyx file.
2519
2520 2004-10-05  José Matos  <jamatos@lyx.org>
2521
2522         * ParagraphParameters.C (read):
2523         * text.C (readParToken): replace nexToken by more appropriate lex
2524         methods.
2525
2526 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
2527
2528         * LaTeX.C (runMakeIndex):
2529         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2530         (usually 'makeindex') configurable.
2531
2532         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2533         with a variable rather than with a number.
2534
2535 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2536
2537         * output_latex.C (TeXOnePar): make sure font setting is the first
2538         thing that gets output (and the last at the end). Should fix bug
2539         1404.
2540
2541 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2542
2543         * pch.h: use proper signal include
2544
2545         * LaTeX.h: Use preferred calling of Boost.Signal
2546         * buffer.h: ditto
2547
2548 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2549
2550         * pch.h: dont include <boost/function/function0.hpp>
2551
2552         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2553
2554         * paragraph_pimpl.h: remove usage of ShareContainer
2555
2556         * paragraph_pimpl.C: remove initialization of ShareContainer.
2557
2558 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2559
2560         Fix bug #1666
2561
2562         * BufferView.C (putSelectionAt): change the semantics when
2563         backwards == true: now, this just swaps cursor and anchor wrt the
2564         forward case
2565
2566         * BufferView.h (putSelectionAt): add some documentation
2567
2568         * lyxfind.C (findBackwards): rewrite using while(). In particular,
2569         make sure backwardChar is done at least once (to avoid getting
2570         stuck)
2571         (findNextChange): use putSelectionAt in the forward direction
2572         (operator()): use Paragraph::isWord
2573
2574 2004-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2575
2576         * Spacing.C (set): c_str fix
2577
2578 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2579
2580         * lyx_cb.C (Reconfigure): quote the name of configure script in
2581         case it contains spaces
2582
2583 2004-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2584
2585         * client: new dir
2586
2587         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2588         (BOOST_LIBS): use top_buildir when looking for the file
2589
2590 2004-08-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2591
2592         * pch.h: do not use include boost/format.hpp, multiple symbols
2593                 will result (gcc bug)
2594
2595
2596 2004-08-23  José Matos  <jamatos@lyx.org>
2597
2598         * bufferparams.C (readToken): fix reading of the author field.
2599
2600 2004-08-20  José Matos  <jamatos@lyx.org>
2601
2602         * lyxrc.C: remove support/translator.h inclusion since it is not used.
2603
2604 2004-08-20  José Matos  <jamatos@lyx.org>
2605
2606         * lyxlex.[Ch] (findToken): remove function.
2607
2608         * ParagraphParameters.C (findToken):
2609         * bufferparams.C (findToken): replace call for previous function
2610         with local copy. This local function has one more argument, the
2611         read string argument.
2612
2613 2004-08-16  José Matos  <jamatos@lyx.org>
2614
2615         * ParagraphParameters.C (write):
2616         * Spacing.C (writeFile):
2617         * bufferparams.C (writeLaTeX):
2618         * lyx_cb.C (Reconfigure):
2619         * paragraph.C (write):
2620         * tabular.C (write): remove unnecessary space at end of line.
2621
2622
2623 2004-08-16  José Matos  <jamatos@lyx.org>
2624
2625         * text.C (readParagraph): remove debug message.
2626
2627 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2628
2629         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2630         crash
2631
2632         * output_plaintext.C (asciiParagraph): set depth correctly
2633
2634         * outputparams.h: add member depth
2635
2636         * paragraph_funcs.C (ownerPar): remove.
2637
2638         * text2.C (setCounter): remove first_pit; comment out some
2639         non-working code that uses ownerPar
2640
2641         * BufferView.C (getParentLanguage): remove. Not used anymore, and
2642         uses ownerPar
2643
2644 2004-08-16  José Matos  <jamatos@lyx.org>
2645
2646         * text.C (readParToken, readParagraph, read): report all unknown tokens.
2647         For the same level of importance use the same chanel to report problems.
2648         (read): add code to deal with \begin_body and \end_body.
2649
2650
2651 2004-08-15  José Matos  <jamatos@lyx.org>
2652
2653         * lyxlex.C (getString): fix comment, buffer::readBody is now
2654         buffer:readDocument.
2655
2656         * tex-strings.C (string_papersize): Default -> default,
2657         Custom -> custom, for consistency with other options.
2658
2659 2004-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2660
2661         * pch.h: new file
2662
2663         * Makefile.am: support pch
2664
2665 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2666
2667         * text.C (readParToken): remove the static LyXFont variable and
2668         pass it as a parameter instead. This fixes a nasty bug where an
2669         inset will be inserted with a bad font in some situations
2670         (readParagraph): adapt
2671
2672         * text2.C (setCounter): reduce number of calls to pars_[pit]
2673
2674         * text.C (singleWidth): add an assert, fix a test
2675
2676         * rowpainter.C (paintText): reduce number of calls to singleWidth
2677
2678         * paragraph.C (isHfill):
2679         (isNewline): ws only
2680
2681 2004-08-14  André Pönitz  <poenitz@gmx.net>
2682
2683         * text.C:
2684         * text2.C:
2685         * rowpainter.C:
2686         * lyxtext.h (several functions): use a Paragraph & argument
2687         instead of par_type
2688
2689 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2690
2691         * metricsinfo.h: add a new field ltr_pos to PainterInfo
2692
2693         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2694
2695         * text.C (singleWidth): remove useless test
2696
2697 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2698
2699         * tabular.h: remove bogus comments
2700
2701         * tabular.C (getDescentOfRow):
2702         (isPartOfMultiColumn): add assertions
2703
2704         * lyxlength.C (inPixels): remove #warning
2705
2706 2004-08-14  André Pönitz  <poenitz@gmx.net>
2707
2708         * paragraph.h: inline getChar()
2709
2710         * BufferView.h: remove unused declarations
2711
2712 2004-08-14  José Matos  <jamatos@lyx.org>
2713
2714         * Buffer.[Ch] (readDocument): new name for old readBody.
2715         * Buffer.C: new file format, new keywords: \begin_document,
2716         \begin_header, \begin_body, \end_body.
2717
2718         * bufferparams.C (readToken): replace all calls to lex.nextToken
2719         by lex.next(). Do the same to eatLine except where really needed.
2720
2721         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2722         line when writing to the lyx file.
2723
2724         * output_plaintext.C (asciiParagraph): fix Bibliography style
2725         handling.
2726
2727         * text.C (read): fix end of file handling.
2728
2729 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2730
2731         * MenuBackend.C (Menu::operator[]): new method to access
2732         individual menu items
2733         (Menu::hasFunc): new method. search for an item that corresponds
2734         to a given func
2735         (MenuBackend::specialMenu): new method
2736         (MenuBackend::expand): if a special menu has been set, skip
2737         entries whose func() appears in this menu
2738
2739 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2740
2741         * text3.C: use Debug::DEBUG a bit more
2742
2743         * text.C (leftMargin): try to simplify a tiny bit change var x to
2744         l_margin. Dont output the wide margins always.
2745         (rightMargin): no margin in inner texts
2746
2747         * rowpainter.h (nestMargin): new func
2748         (changebarMargin): new func
2749         (rightMargin): new func
2750
2751         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2752         now functions.
2753         (paintLast): ditto
2754
2755         * factory.C (createInset): modify setDrawFrame
2756
2757         * cursor.C: use Debug::DEBUG a bit more
2758
2759 2004-08-14  André Pönitz  <poenitz@gmx.net>
2760
2761         * coordcache.[Ch]:
2762         * Makefile.am: new files to accomodate an 'external' (x,y)-position
2763         cache for all insets in (at least partially) visible (top-level)
2764         paragraphs.
2765
2766         * BufferView_pimpl.C: reset external coord cache before every update.
2767         This means the coord cache only contains valid entries.
2768
2769 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2770
2771         bug 1096
2772         * BufferView_pimpl.C (getInsetByCode): move function out of class
2773         and change in to a template in anon namespace. Also fix to do what
2774         suits us better.
2775
2776 2004-08-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
2777
2778         bug 1305
2779         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2780         of char
2781         (breakParagraph): rename par to par_offset and use a local
2782         reference. Add code to keep the language over a rebreak.
2783         (breakParagraphConservative): rename par to par_offset, use a
2784         local reference
2785         (mergeParagraph): ditto
2786         (outerHook): ditto
2787         (isFirstInSequence): ditto
2788         (outerFont): rename pit to par_offset
2789
2790         * paragraph.C: ws change
2791         * paragraph.h: ditto
2792         * text3.C: ditto
2793         * text.C: ditto
2794
2795 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2796
2797         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2798         treatment for ']'
2799
2800         * paragraph.C (simpleTeXOnePar): when we have a \item with
2801         optional argument, enclose the argument with curly brackets (in
2802         case it contains a closing square bracket)
2803
2804         * text2.C (editXY):
2805         * text2.C (editXY):
2806         * text3.C (checkInsetHit): constify
2807
2808 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2809
2810         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2811         documents (bug 1629)
2812
2813 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2814
2815         Fix toggling of collapsable insets with the mouse (bug 1558)
2816
2817         * lyxfunc.C (dispatch): adapt to LCursor changes
2818
2819         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2820         make sure that dispatch is not invoked twice
2821
2822         * cursor.C (needsUpdate): new method
2823         (dispatch): return void
2824         (result): new method, to access the DispatchResult of the cursor.
2825
2826 2004-08-13  José Matos  <jamatos@lyx.org>
2827
2828         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2829
2830 2004-08-13  André Pönitz  <poenitz@gmx.net>
2831
2832         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2833
2834         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2835           multiple cells
2836
2837 2004-08-12  André Pönitz  <poenitz@gmx.net>
2838
2839         * text3.C: take out the 'cursor right' form insertInset and only
2840         do it in those places when it is really needed. Fixes crash on
2841         C-m...
2842
2843 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2844
2845         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2846
2847         * BufferView_pimpl.C (setBuffer): initialize the current font of
2848         the underlying LyXText
2849
2850 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2851
2852         * kbsequence.C (print): use UI native formatting for menu
2853         shortcuts
2854
2855         * text.C (insertChar): call Paragraph::insertChar with a font
2856         argument (cosmetic)
2857
2858         * paragraph.C (insertInset, insertChar): the version that takes a
2859         LyXFont argument is now a wrapper around the other one (the
2860         opposite used to be true).
2861
2862         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2863         argument. Font setting is done in Paragraph now.
2864
2865 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2866
2867         * outputparams.h: add new members intitle and lang.
2868
2869         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2870         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2871
2872 2004-08-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2873
2874         * text3.C (dispatch): remove special handling of button 4 and 5,
2875         it is now taken care of in the frontend code.
2876
2877 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2878
2879         * Spacing.h: add <string> (STLPort compile fix)
2880
2881 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2882
2883         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2884
2885 2004-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2886
2887         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2888         to bool.
2889
2890         * converter.C (showMessage): inherit from unary_function, make
2891         operator() const.
2892
2893         * buffer.C (writeFile): initialize retval
2894
2895         * InsetList.h: rename private variable list to list_
2896         * InsetList.[Ch]: adjust accordingly.
2897
2898 2004-07-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2899
2900         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2901         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2902         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2903         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2904         * ParagraphParameters.C, LaTeXFeatures.C: replace
2905         "support/std_sstream.h" with <sstream>
2906
2907 2004-07-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2908
2909         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2910         * lyxsocket.C (LyXServerSocket): ditto
2911         (serverCallback): ditto
2912
2913 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2914
2915         * LaTeXFeatures.C: check release date when loading jurabib.
2916
2917 2004-07-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2918
2919         * lyxserver.C (startPipe): call register_socket_callback
2920         (endPipe): call unregister_socket_callback
2921
2922 2004-07-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2923
2924         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2925         (LyXServerSocket): register the callback
2926         (LyXServerSocket): unregister the callback
2927         (fd): delete function
2928         (serverCallback): improve error checking and setup the callbacks.
2929         (dataCallback): change arg to fd.
2930         (writeln): new func (copied fro the client socket) used for server
2931         write to client.
2932         (LyXDataSocket): simplify
2933         (~LyXDataSocket): close ann unregiser callback
2934         (server): delete function
2935         (fd): delete function
2936         (readln): small changes, improve some std::string usage
2937         (writeln): constify a bit
2938
2939 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2940
2941         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2942         Qt frontend
2943
2944 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2945
2946         * BufferView_pimpl.C (setBuffer): set the layout combox value only
2947         after it has been populated
2948
2949 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2950
2951         * text2.C (insertInset): move cursor when inserting inset.
2952
2953 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2954
2955         * kbmap.C (findbindings): a couple of new methods. returns a
2956         container of kb_sequence objects. The real work is done by the
2957         private recursive version
2958         (printbindings): uses findbindings to print out a bracketed list
2959         of bindings (renamed from findbinding).
2960
2961         * MenuBackend.C (binding): use kb_keymap::findbindings
2962
2963         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2964
2965 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2966
2967         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2968
2969 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2970
2971         * paragraph.C (isWord): return true on insets that report
2972         isLetter().
2973
2974         * text.C (getWord): use Paragraph::isWord to decide what is in a
2975         word and what is not; fix bug 1609.
2976
2977 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2978
2979         * tex-strings.C: add "none" to string_paperpackages[], fixes
2980         off-by-one-error in the paperpackage selection.
2981
2982         * lyxlex.[Ch]:
2983         * tex-strings.[Ch]: char const * string[n]
2984         -> char const * const string[]
2985
2986 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2987
2988         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2989         command, return early.
2990
2991 2004-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2992
2993         * debug.h: add DEBUG to enum and fix size of ANY.
2994
2995         * debug.C: add support for Debug::DEBUG
2996         (showTags): cast errorTags.level to unsigned int
2997
2998         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2999         (redoCurrentBuffer): ditto
3000         (updateScrollbar): ditto
3001         * cursor.C (dispatch): ditto
3002         * text2.C (setLayout): ditto
3003         (setFont): ditto
3004         (updateCounters): ditto
3005         (editXY): ditto
3006         (deleteEmptyParagraphMechanism): ditto
3007
3008 2004-06-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3009
3010         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
3011         annotations to cleanup the Makefile slightly.
3012
3013 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3014
3015         * lyxrc.C: do not set user_email to a default value but use empty
3016         instead. The entry used to be translated, which does not work
3017         since at the point where lyxrc is constructed there is no
3018         translation service available
3019
3020         * messages.C (getLocaleDir): remove and use directly
3021         lyx_localedir() instead
3022
3023 2004-06-02  Angus Leeming  <leeming@lyx.org>
3024
3025         Fix crash caused by dereferencing null pointer 'exportdata' in
3026         OutputParams by creating a new ExportData variable on the heap,
3027         storing it in a boost::shared_ptr.
3028         The crash was triggered when generating an Instant Preview
3029         of an external inset.
3030
3031         * Makefile.am: add outputparams.C
3032
3033         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
3034         (c-tor): allocate memory to it.
3035
3036         * exporter.C (c-tor): associated changes.
3037
3038 2004-06-01  Angus Leeming  <leeming@lyx.org>
3039
3040         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
3041         contains data before calling isInset(0). (Bug 1513.)
3042
3043 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3044
3045         * exporter.C (checkOverwrite): new method
3046         * exporter.C (copyFile): new method
3047         * exporter.C (Export): copy referenced files to the document dir
3048         * exporter.[Ch]: new class ExportedFile
3049         * exporter.[Ch]: new class ExportData. Contains currently the
3050         names of referenced external files
3051         * outputparams.h: add exportdata member.
3052
3053 2004-05-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3054
3055         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
3056         version.C-tmp
3057
3058 2004-05-19  Angus Leeming  <leeming@lyx.org>
3059
3060         * LaTeXFeatures.C:
3061         * ToolbarBackend.C:
3062         * bufferparams.C:
3063         * lyxfunc.C: small changes due to the introduction of namespace
3064         lyx::frontend and the moving of namespace biblio to lyx::biblio.
3065
3066 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
3067
3068         * text3.C (dispatch): supress update when only moving the cursor
3069         * cursor.C (selHandle): remove commented code
3070
3071 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3072
3073         * paragraph.C (startTeXParParams): correct column count
3074         * CutAndPaste.C (pasteSelection): remove const_cast
3075         * output_docbook.C (docbookParagraphs): remove const_cast
3076         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
3077         const_cast and return ParagraphList::const_iterator
3078         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
3079         * output_plaintext.C (writeFileAscii): remove const_cast
3080         * paragraph.[Ch] (simpleTeXOnePar): make const
3081         * paragraph_funcs.C (outerPar): use const iterators
3082         * paragraph_pimpl.C (validate): use const iterators
3083         * text.C (setHeightOfRow): use const iterators
3084
3085 2004-05-17  Angus Leeming  <leeming@lyx.org>
3086
3087         * lfuns.h:
3088         * LyXAction.C (init): new LFUN_INSET_REFRESH.
3089
3090         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
3091         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
3092         if the citation engine has changed.
3093
3094 2004-05-14  José Matos  <jamatos@lyx.org>
3095
3096         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
3097         if the textclass does not provide it. Have it different for sgml and
3098         xml.
3099         support the language of document.
3100         * output_docbook.C (docbookParagraphs):
3101         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
3102         first anchor as the id of the paragraph, remove special case code.
3103         * sgml.C (escapeChar): escape only < & >.
3104
3105 2004-05-14  Angus Leeming  <leeming@lyx.org>
3106
3107         * bufferparams.h: move biblio::CiteEngine enum here to minimize
3108         dependencies on src/frontends/controllers/biblio.h. Define a
3109         CiteEngine_enum wrapper class to enable the enum to be forward
3110         declared.
3111
3112 2004-05-12  Angus Leeming  <leeming@lyx.org>
3113
3114         * buffer.C: up LYX_FORMAT to 234.
3115         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
3116         use_numerical_citations with a single biblio::CiteEngine cite_engine
3117         variable.
3118         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
3119
3120 2004-05-13  José Matos  <jamatos@lyx.org>
3121
3122         * converter.h:
3123         * converter.C (Converter, readFlags): add xml member.
3124         * outputparams.h: add XML flavor.
3125         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
3126
3127 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3128
3129         * lyxfunc.C (dispatch):
3130         (getStatus): fix handling of LFUN_SEQUENCE
3131
3132 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3133
3134         * debug.C (showLevel): do not forget the end-of-line marker
3135
3136 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3137
3138         * kbmap.C (read): do not stop parsing a bind file when an error
3139         occurs (bug 1575)
3140
3141 2004-04-29  Angus Leeming  <leeming@lyx.org>
3142
3143         * cursor.C:
3144         * factory.C:
3145         * pariterator.C:
3146         * text2.C: wrap a bunch of #warning statements
3147         inside #ifdef WITH_WARNINGS blocks.
3148
3149 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3150
3151         * buffer.C: increment format to 233.
3152
3153 2004-04-28  Angus Leeming  <leeming@lyx.org>
3154
3155         * BufferView_pimpl.C:
3156         * lyxfunc.C:
3157         * text3.C:
3158         s/updateToolbar()/updateToolbars()/
3159         s/Toolbar.h/Toolbars.h/
3160
3161 2004-04-28  Angus Leeming  <leeming@lyx.org>
3162
3163         * BufferView.[Ch] (c-tor):
3164         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
3165         No longer passes these data to the WorkArea generator.
3166
3167 2004-04-28  Angus Leeming  <leeming@lyx.org>
3168
3169         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
3170
3171 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3172
3173         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
3174
3175 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3176
3177         * output_latex.C (TeXEnvironment): make sure that there is a line
3178         break before \end{foo} for the last paragraph of a document
3179         (TeXOnePar): if the paragraph is at the end of the document (or
3180         inset) and the language has to be reset, then make sure that the
3181         line break is _before_ the language command, not after (fixes bug
3182         1225); also make sure that the language reset command is the first
3183         thing after the paragraph (to ensure proper nesting of
3184         environments and thus fix bug 1404)
3185
3186 2004-04-21  John Levon  <levon@movementarian.org>
3187
3188         * ToolbarBackend.h:
3189         * ToolbarBackend.C: make "name" be a programmatic name
3190         and a gui_name field.
3191
3192         * lyxfunc.C: display the minibuffer on M-x
3193
3194 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3195
3196         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3197         (bug 1526)
3198
3199 2004-04-19  Angus Leeming  <leeming@lyx.org>
3200
3201         * BufferView_pimpl.C (setBuffer): changed preview interface.
3202
3203         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3204         possible values.
3205
3206 2004-04-19  John Levon  <levon@movementarian.org>
3207
3208         * BufferView_pimpl.C:
3209         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3210
3211 2004-04-05  Angus Leeming  <leeming@lyx.org>
3212
3213         * text.C (redoParagraphs): add call to updateCounters(), thereby
3214         fixing the missing "Figure #:" label from the caption of a
3215         figure float.
3216
3217 2004-04-13  Angus Leeming  <leeming@lyx.org>
3218
3219         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3220         cursor is clicked out of an inset.
3221
3222 2004-04-13  Angus Leeming  <leeming@lyx.org>
3223
3224         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3225         than an InsetOld one.
3226
3227 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3228
3229         * format.[Ch]: add editor to Format
3230         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3231         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3232
3233 2004-04-08  André Pönitz  <poenitz@gmx.net>
3234
3235         * metricsinfo.h: remove PainterInfo::width member
3236
3237 2004-04-08  Angus Leeming  <leeming@lyx.org>
3238
3239         * lyx_sty.C (boldsymbol_def): modify so that it outputs
3240         "\providecommand" rather than "\newcommand", thereby preventing
3241         clashes with packages that define "\boldsymbol" themselves.
3242         Eg, beamer.
3243
3244 2004-04-08  Angus Leeming  <leeming@lyx.org>
3245
3246         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3247         thereby squashing an unnecessary warning.
3248
3249 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3250
3251         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3252         setBuffer()
3253
3254 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
3255
3256         * BufferView.C (setCursor): call redoParagraph (some insets could
3257         have been opened)
3258         (putSelectionAt): remove the 'double update' trick
3259
3260         * BufferView_pimpl.C (fitCursor): call refreshPar
3261         (workAreaDispatch): remove an uneeded update call
3262         (dispatch): remove some manual update calls
3263
3264         * cursor.[Ch]: remove cached_y_, updatePos
3265         (selHandle): set noUpdate when appropriate
3266
3267         * lyxfunc.C (dispatch): track if we need an update
3268
3269         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3270
3271         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3272         (paintSelection): cheap optimization, do not call cursorX when not
3273         needed
3274         (paintPars): change signature
3275         (refreshPar): add
3276         (paintText): adjust
3277         (paintTextInset): adjust
3278
3279         * text.C: adjust
3280
3281 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3282
3283         * lengthcommon.C: compilation fix: remove explicit array size from
3284         unit_name[] and friends
3285
3286 2004-04-05  Angus Leeming  <leeming@lyx.org>
3287
3288         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3289
3290         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3291         present only for the preferences dialog.
3292         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3293
3294 2004-04-05  Angus Leeming  <leeming@lyx.org>
3295
3296         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3297         to enable the frontends to export changes to lyxrc correctly.
3298
3299         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3300
3301 2004-04-07  André Pönitz  <poenitz@gmx.net>
3302
3303         * cursor.[Ch] (selClear, adjust): remove math
3304
3305         * cursor_slice.C: more agressive assert
3306
3307         * lyxfunc.C:
3308         * BufferView_pimpl.C: rework mouse event dispatch
3309
3310         * dociterator.C:
3311         * paragraph.C:
3312         * text2.C:
3313         * text3.C: adjust
3314
3315 2004-04-05  André Pönitz  <poenitz@gmx.net>
3316
3317         * cursor.[Ch] (valign, halign...): remove unneeded functions
3318
3319 2004-04-05  Angus Leeming  <leeming@lyx.org>
3320
3321         * lyxlength.[Ch] (unit_name et al.): const-correct.
3322
3323 2004-04-05  Angus Leeming  <leeming@lyx.org>
3324
3325         * BufferView_pimpl.C:
3326         * buffer.C:
3327         * counters.C:
3328         * cursor.C:
3329         * lyxfunc.C
3330         * paragraph.C:
3331         * pariterator.C:
3332         * text.C:
3333         * text2.C:
3334         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3335
3336 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3337
3338         * text3.C (getStatus): add LFUN_BEGINNINGBUF
3339
3340 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3341
3342         * lyxfind.C: add a couple of inTexted() tests + other small fixes
3343         * BufferView_pimpl.[Ch] (getStatus)
3344         * BufferView.[Ch] (getStatus): add
3345         * lyxfunc.C (getStatus): move lfuns handled in
3346         BufferView::dispatch to te function above
3347         * Cursor.C (setSelection): set selection() = true
3348
3349 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3350
3351         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3352
3353 2004-03-31  Angus Leeming  <leeming@lyx.org>
3354
3355         * lyxfunc.C (dispatch): Fall through to the generic
3356         Dialogs::show("preamble").
3357
3358 2004-03-31  Angus Leeming  <leeming@lyx.org>
3359
3360         * lyxfunc.C (dispatch): Fall through to the generic
3361         Dialogs::show("spellchecker").
3362
3363 2004-03-31  Angus Leeming  <leeming@lyx.org>
3364
3365         * lyxfunc.C (getStatus, dispatch): changed invocation of the
3366         preferences dialog.
3367
3368 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3369
3370         * BufferView.C
3371         * cursor.[Ch]
3372         * dociterator.[Ch]:
3373         * insetiterator.[Ch]:
3374         * lyxfind.C:
3375         * lyxfunc.C:
3376         * pariterator.[Ch]:
3377         * text2.C:
3378         * undo.[Ch]: s/DocumentIterator/DocIterator/g
3379
3380 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3381
3382         * BufferView.C (setCursor, putSelectionAt): call edit to open the
3383         insets where we are putting the cursor.
3384
3385 2004-03-31  Angus Leeming  <leeming@lyx.org>
3386
3387         * lfuns.h:
3388         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3389
3390         * lyxrc.[Ch] (read, write): overloaded member functions taking
3391         a std::[io]stream arguments.
3392
3393         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3394
3395 2004-03-31  Angus Leeming  <leeming@lyx.org>
3396
3397         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3398         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3399
3400         * lyxtextclass.C (load): if the text class couldn't be loaded, then
3401         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3402
3403 2004-03-31  Angus Leeming  <leeming@lyx.org>
3404
3405         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3406         the LFUN_ALL_INSETS_TOGGLE code.
3407
3408 2004-03-30  Angus Leeming  <leeming@lyx.org>
3409
3410         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3411         has died. Fall through to the generic Dialogs::show("document").
3412
3413 2004-03-30  Angus Leeming  <leeming@lyx.org>
3414
3415         * lfuns.h:
3416         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3417         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3418
3419         * lyxfunc.C (getStatus, dispatch): define the actions for these
3420         lfuns. Little more than a cut and pste job from ControlDocument.C
3421
3422         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3423
3424 2004-03-30  Angus Leeming  <leeming@lyx.org>
3425
3426         * lfuns.h:
3427         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3428         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3429
3430         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3431         open/closed state of ollapsable insets. Usage:
3432
3433         all-inset-toggle <state> <name>, where
3434         <state> == "open" || "closed" || "toggle" and
3435         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3436
3437         * lyxtext.h, text2.C (toggleInset): removed.
3438
3439         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3440         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3441         now passes LFUN_INSET_TOGGLE to the found inset.
3442
3443         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3444         is now invoked as "all-insets-toggle toggle branch".
3445
3446 2004-03-30  Angus Leeming  <leeming@lyx.org>
3447
3448         * dociterator.C:
3449         * insetiterator.C:
3450         * pariterator.[Ch]: added/corrected header blurb.
3451
3452 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
3453
3454         * dociterator.[Ch]: add an inset_ member
3455         (backwardPos): implemented
3456         (backwardPos, forwardPos): use inset_ when the stack is empty.
3457         (doc_iterator_begin, doc_iterator_end): implemented
3458         * pariterator.[Ch]: adjust, add begin, end
3459         * insetiterator.[Ch]: adjust, add begin, end
3460         * cursor.C:
3461         * document.C:
3462         * BufferView.C:
3463         * BufferView_pimpl.C:
3464         * CutAndPaste.C: adjust
3465
3466 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3467
3468         * buffer.C: increment file format to 232.
3469         * LaTeXFeatures.C: add bibtopic package.
3470         * bufferparams.[Ch]: param \use_bibtopic.
3471
3472         * lyxrc.[Ch]: add lyxrc bibtex_command
3473         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3474
3475         * buffer.C: increment file format to 231.
3476
3477 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3478
3479         * dociterator.C: implement forwardPar
3480         * iterators.[Ch]: remove, replaced by
3481         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3482         * BufferView.C:
3483         * BufferView_pimpl.C:
3484         * CutAndPaste.C:
3485         * buffer.C:
3486         * bufferview_funcs.C:
3487         * cursor.C:
3488         * lyxfind.C
3489         * lyxfunc.C
3490         * paragraph_funcs.C
3491         * toc.C:
3492         * Makefile.am: adjust
3493
3494 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3495
3496         * CutAndPaste.C (pasteSelection): fix 2 crashes
3497         (eraseSelection): fix a crash
3498         * paragraph_funcs.C: remove a warning
3499
3500 2004-03-28  Angus Leeming  <leeming@lyx.org>
3501
3502         * lfuns.h:
3503         * LyXAction.C (init): new LFUN_PRINT.
3504
3505         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3506
3507 2004-03-27  Angus Leeming  <leeming@lyx.org>
3508
3509         * lfuns.h:
3510         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3511
3512         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3513
3514 2004-03-27  Angus Leeming  <leeming@lyx.org>
3515
3516         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3517         insetlist always contains non-null pointers to insets.
3518
3519 2004-03-26  Angus Leeming  <leeming@lyx.org>
3520
3521         * src/BufferView_pimpl.C:
3522         * src/CutAndPaste.C:
3523         * src/buffer.C:
3524         * src/iterators.C:
3525         * src/output_plaintext.C:
3526         * src/outputparams.h:
3527         * src/paragraph_funcs.C:
3528         * src/rowpainter.C:
3529         * src/text.C:
3530         * src/text2.C:
3531         * src/frontends/controllers/ControlErrorList.C:
3532         * src/frontends/gtk/FileDialogPrivate.C:
3533         * src/frontends/gtk/GPainter.C:
3534         * src/frontends/gtk/GToolbar.C:
3535         * src/frontends/qt2/QRef.C:
3536         * src/mathed/math_scriptinset.C: squash compiler warnings.
3537
3538 2004-03-26  Angus Leeming  <leeming@lyx.org>
3539
3540         * ispell.C (LaunchIspell::start):
3541         * lyx_cb.C (AutoSaveBuffer::start):
3542         invoke run(DontWait) rather than runNonBlocking().
3543
3544 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
3545
3546         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3547
3548 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3549
3550         * kbsequence.C (print): adjust
3551
3552         * kbmap.C (printKeySym): rename and change signature
3553         (printKey): use LyXKeySym::print()
3554
3555 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
3556
3557         * undo.C: add using std::advance to compile for stlport
3558
3559 2004-03-24  Angus Leeming  <leeming@lyx.org>
3560
3561         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3562         it leads to a crash when no buffer is present.
3563
3564 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3565             Martin Vermeer  <martin.vermeer@hut.fi>
3566
3567         * lyxfunc.C (dispatch):
3568         * bufferparams.C (readToken): use the new LColor::setColor
3569
3570         * LColor.[Ch] (setColor): new version that takes two strings as
3571         argument and creates a new color entry if necessary
3572
3573 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3574
3575         * buffer.C (makeLaTeXFile): if the main latex file that is
3576         processed is usually a subdocument of some master, then pretend
3577         for a while that it is actually the master
3578
3579 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3580
3581         * buffer.C (getLabelList):
3582         (getBibkeyList): use getMasterBuffer()
3583         (getMasterBuffer): new method. Returns the main document in the
3584         case where one is using included documents.
3585
3586 2004-03-25  André Pönitz  <poenitz@gmx.net>
3587
3588         * Makefile.am:
3589         * iterators.[Ch]:
3590         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3591
3592         * ParagraphList_fwd.h: change ParagraphList to a std::vector
3593
3594         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3595         text*.C over here. Rename namespace CutAndPaste to lyx::cap
3596
3597         * ParameterStruct.h: merge with ParagraphParameters
3598
3599         * lyxtext.h: remove LyXText::parOffset() and getPar()
3600
3601         * text3.C: Remove all 'manual' update calls. We do now one per user
3602         interaction which is completely sufficient.
3603
3604         * Bidi.C:
3605         * BufferView.[Ch]:
3606         * BufferView_pimpl.C:
3607         * FontIterator.[Ch]:
3608         * MenuBackend.C:
3609         * ParagraphParameters.[Ch]:
3610         * buffer.C:
3611         * buffer.h:
3612         * bufferlist.C:
3613         * cursor.[Ch]:
3614         * cursor_slice.[Ch]:
3615         * dociterator.[Ch]:
3616         * errorlist.[Ch]:
3617         * factory.C:
3618         * lfuns.h:
3619         * lyxfind.C:
3620         * lyxfunc.C:
3621         * output_docbook.[Ch]:
3622         * output_latex.[Ch]:
3623         * output_linuxdoc.[Ch]:
3624         * output_plaintext.[Ch]:
3625         * paragraph.[Ch]:
3626         * paragraph_funcs.[Ch]:
3627         * paragraph_pimpl.[Ch]:
3628         * rowpainter.C:
3629         * tabular.[Ch]:
3630         * text.C:
3631         * text2.C:
3632         * toc.C:
3633         * undo.[Ch]: adjust
3634
3635         * frontends/controllers/ControlDocument.C:
3636         * frontends/controllers/ControlErrorList.C:
3637         * frontends/controllers/ControlSpellchecker.C:
3638         * insets/inset.C:
3639         * insets/inset.h:
3640         * insets/insetbase.h:
3641         * insets/insetbibitem.C:
3642         * insets/insetbox.C:
3643         * insets/insetbranch.C:
3644         * insets/insetcaption.C:
3645         * insets/insetcharstyle.C:
3646         * insets/insetcharstyle.h:
3647         * insets/insetcollapsable.C:
3648         * insets/insetcollapsable.h:
3649         * insets/insetert.C:
3650         * insets/insetfloat.C:
3651         * insets/insetfoot.C:
3652         * insets/insetmarginal.C:
3653         * insets/insetnote.C:
3654         * insets/insetoptarg.C:
3655         * insets/insettabular.C:
3656         * insets/insettext.C:
3657         * insets/insettext.h:
3658         * insets/insetwrap.C:
3659         * mathed/math_mboxinset.C:
3660         * mathed/math_nestinset.C:
3661         * mathed/math_scriptinset.C:
3662         * mathed/math_scriptinset.h:
3663         * support/types.h:
3664
3665 2004-03-24  Angus Leeming  <leeming@lyx.org>
3666
3667         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3668         deal with any child processes that have finished but are waiting to
3669         communicate this fact to the rest of LyX.
3670
3671 2004-03-24  Angus Leeming  <leeming@lyx.org>
3672
3673         64-bit compile fixes.
3674
3675         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3676         (c-tor): pass lyx::pos_types rather than ints.
3677
3678         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3679         lyx::pos_type.
3680
3681         * text.C (Delete): compile fix.
3682         (getPar): ensure that function declaration is the same as that in
3683         the header file.
3684
3685 2004-03-23  Angus Leeming  <leeming@lyx.org>
3686
3687         * ispell.C (LaunchIspell):
3688         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3689         a boost::shred_ptr rather than a std::auto_ptr.
3690
3691 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3692
3693         * lyxfunc.C (getStatus): handle read-only buffers correctly;
3694         handle LFUN_FILE_INSERT_*
3695
3696         * lyxrc.C (setDefaults, getDescription, output, read):
3697         * lyxrc.h: remove ps_command
3698
3699 2004-03-22  Angus Leeming  <leeming@lyx.org>
3700
3701         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3702         Ensure that error_handler is processed once only and that all data
3703         is saved before attempting to output any warning messages.
3704
3705         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3706
3707 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
3708
3709         * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3710
3711 2004-03-19  André Pönitz  <poenitz@gmx.net>
3712
3713         * cursor.[Ch] (reset): take main text inset as argument
3714
3715         * BufferView: adjust
3716         * BufferView_pimpl.C: adjust
3717
3718         * paragraph.[Ch]: fix completely broken operator=()
3719
3720 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3721
3722         * LColor.C (getFromLyXName): make sure that the color name is used
3723         as lowercase.
3724
3725 2004-03-17  Angus Leeming  <leeming@lyx.org>
3726
3727         * lfuns.h:
3728         * LyXAction.C (init): remove LFUN_FORKS_KILL.
3729
3730         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3731         dialog and to kill a forked process.
3732
3733 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3734
3735         * text2.C (setCursorFromCoordinates): fix font problem
3736
3737 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3738
3739         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3740         bogus "rebuild cursor" code
3741
3742 2004-03-11  André Pönitz  <poenitz@gmx.net>
3743
3744         * buffer.[Ch]: use InsetText instead of LyXText as container for
3745         the main lyx text.
3746
3747         * dociterator.[Ch]: drop the BufferView * member which is not needed
3748         anymore after the change to buffer.C
3749
3750         * paragraph_funcs.C:
3751         * text.C:
3752         * text2.C:
3753         * BufferView.[Ch]:
3754         * BufferView_pimpl.[Ch]:
3755         * cursor.[Ch]:
3756         * cursor_slice.[Ch]: adjust
3757
3758         * text3.C: fix bug in mathDispatch
3759
3760 2004-03-08  André Pönitz  <poenitz@gmx.net>
3761
3762         * undo.[Ch]: use 'StableDocumentIterator' as base for
3763         the Undo struct.
3764
3765 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3766
3767         * LaTeXFeatures.C:
3768         * bufferparams.[Ch]: add jurabib support and param.
3769
3770         * LaTeX.C: add FIXME/comment.
3771
3772 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3773
3774         * buffer.C: increment file format to 230.
3775
3776 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
3777
3778         * cursor.C (dispatch): avoid infinite loops
3779
3780 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3781
3782         * rowpainter.C (paintSelection): fix x coordinates
3783
3784 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3785
3786         * text.C (rowBreakPoint): fix breaking before displayed insets
3787
3788 2004-03-01  André Pönitz  <poenitz@gmx.net>
3789
3790         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3791
3792         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3793
3794         * Makefile.am:
3795         * BufferView.C:
3796         * BufferView_pimpl.C:
3797         * buffer.C:
3798         * lyxfind.C:
3799         * lyxfunc.C:
3800         * text.C:
3801         * text2.C:
3802         * text3.C: adjust
3803
3804 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3805
3806         * lyxtext.h:
3807         * text.C:
3808         * text2.C:
3809         * rowpainter.C:
3810         * BufferView_pimpl.C: rename textwidth -> maxwidth,
3811         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3812
3813 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3814
3815         * Bidi.[Ch] (computeTables): const correctness
3816         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3817         fill_hfill, fill_label_hfill and x from Row
3818         * lyxtext.h: prepareToPrint returns a RowMetrics
3819         * rowPainter.C: adjust
3820         * text.C (prepareToPrint): use width, not textWidth. adjust
3821         (redoParagraphInternal, cursorX): adjust
3822         * text2.C (getColumnNearX): adjust
3823         (init): put a default value to the top LyXText::width
3824
3825 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3826
3827         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3828
3829 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3830
3831         * lyxtext.h: add FontIterator class
3832
3833         * text.C (FontIterator, operator*, operator->, operator++): add
3834         (rowBreakPoint, setRowWidth): adjust (fixing a
3835         rebreaking bug)
3836
3837 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3838
3839         * BufferView_pimpl.C (workAreaDispatch): allow also
3840         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3841
3842 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
3843
3844         * text.C (rowBreakPoint): fix a bug showing with very large insets
3845
3846 2004-02-25  André Pönitz  <poenitz@gmx.net>
3847
3848         * text3.C:
3849         * cursor.[Ch]: move some mathed specific code to mathed
3850
3851 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3852
3853         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3854         use_tempdir in preferences
3855         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3856         tempfile creation
3857         * lyx_main.C: ensure that tempdir is valid
3858         * lyxlex.h: correct typo
3859         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3860         * paragraph.[Ch] (isMultiLingual): make const
3861         * cursor.[Ch] (openable): make const
3862
3863 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3864
3865         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3866
3867 2004-02-20  André Pönitz  <poenitz@gmx.net>
3868
3869         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3870
3871         * cursor.[Ch]: prepare for localized getStatus()
3872
3873         * lyxtext.h:
3874         * tabular.C:
3875         * text.C:
3876         * text2.C:
3877         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
3878
3879 2004-02-20  André Pönitz  <poenitz@gmx.net>
3880
3881         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3882
3883 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3884
3885         * text2.C (setCursorFromCoordinates): switch to absolute coords
3886         (cursorUp): adjust
3887         (cursorDown): adjust
3888         * text3.C (dispatch): adjust
3889
3890 2004-02-16  André Pönitz  <poenitz@gmx.net>
3891
3892         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3893           insets/ChangeLog)
3894
3895         * cursor_slice.[Ch]: remove unneeded acessor function
3896
3897         * lyxtext.h: rename rtl() to isRTL()
3898
3899         * rowpainter.C:
3900         * tabular.C:
3901         * text.C:
3902         * text2.C:
3903         * text3.C: adjust
3904
3905 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3906
3907         * rowpainter.C (paintSelection): coord fix
3908
3909 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
3910
3911         * Spacing.C: compile fix
3912
3913 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3914
3915         * cursor.C (dispatch): restore current_ before returning
3916
3917 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3918
3919         * text2.C (cursorUp, cursorDown): fix coords
3920         (moveUp): fix crash
3921
3922 2004-02-12  André Pönitz  <poenitz@gmx.net>
3923
3924         * lyxtext.h:
3925         * text.C:
3926         * text2.C:
3927         * text3.C: add LCursor & parameter to most cursor movement functions
3928           remove usage of LyXText::cursorRow() and cursorPar()
3929
3930         * cursor.[Ch]: add textRow() needed members
3931
3932         * BufferView.C:
3933         * BufferView_pimpl.C:
3934         * paragraph.[Ch]:
3935         * BufferView.C:
3936         * BufferView_pimpl.C: adjust
3937
3938 2004-02-11  André Pönitz  <poenitz@gmx.net>
3939
3940         * lyxfunc.C:
3941         * BufferView.[Ch]:
3942         * BufferView_pimpl.C: shift undo/redo handling
3943
3944         * cursor.[Ch]: fix mathed crash
3945
3946         * lyxfind.C:
3947         * lyxtext.h: move selectionAsText to LCursor
3948
3949         * output_latex.C:
3950         * paragraph.C:
3951         * text.C:
3952         * text2.C:
3953         * text3.C: adjust
3954
3955         * rowpainter.C: fix excessive drawing
3956
3957 2004-02-06  André Pönitz  <poenitz@gmx.net>
3958
3959         * BufferView.[Ch]:
3960         * BufferView_pimpl.[Ch]:
3961         * text3.C: move some text specific LFUN handling
3962
3963 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
3964
3965         * text3.C (checkInsetHit): adjust coords
3966         * text2.C (getColumnNearX): adjust coords
3967         (edit): adjust coords
3968         * text.C (getRowNearY): add two asserts
3969
3970 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
3971
3972         * converter.C:
3973         * format.C: add using std::distance to compile on gcc 2.95/stlport
3974
3975 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
3976
3977         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3978
3979 2004-02-04  André Pönitz  <poenitz@gmx.net>
3980
3981         * BufferView.[Ch] (insertInset):
3982         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3983
3984         * text2.C:
3985         * text3.C: adjust
3986
3987 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3988
3989         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3990         on the default clause of the switch
3991         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3992         wasn't catched by LCursor::dispatch
3993
3994 2004-02-03  André Pönitz  <poenitz@gmx.net>
3995
3996         * BufferView.C:
3997         * cursor.[Ch]: some additional asserts
3998
3999         * undo.[Ch]: remove LyXText dependency in interface
4000
4001         * lyxfunc.C: adjust
4002
4003         * lyxtext.h (firstPar, lastPar): remove dead functions
4004
4005         * text.C:
4006         * text2.C:
4007         * text3.C:
4008         * paragraph.[Ch]: adjust
4009
4010 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
4011
4012         * lyxfind.C (find): fix argument order in call to ::find
4013
4014 2004-02-02  André Pönitz  <poenitz@gmx.net>
4015
4016         * cursor.[Ch]: remove direct access to anchor
4017
4018         * text.C: remove findText() hack
4019
4020 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
4021
4022         * iterators.[Ch] (lockPath): remove in favour of...
4023         * BufferView.[Ch] (setCursor): this addition
4024         * BufferView.C (putSelectionAt): adjust
4025         * undo.C (performUndoOrRedo): adjust
4026         * lyxfunc.C (dispatch): adjust
4027
4028 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
4029
4030         * iterators.C (lockPath): add a missing slice
4031         * undo.C (performUndoOrRedo): remove redundant positioning code
4032
4033 2004-02-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4034
4035         * vc-backend.C (scanMaster): ";" -> ';'
4036
4037 2004-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4038
4039         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
4040         std::binary_function
4041
4042         * lyxtextclass.C (compare_name): rename to...
4043         (LayoutNamesEqual): ...this
4044
4045         * lyxlex_pimpl.C (compare_tags): inherit from
4046         std::binary_function, put back into anon namespace
4047
4048         * lyxfind.C (MatchString): inherig from std::binary_function
4049         (findChange): use empty() istead of !size()
4050
4051         * format.C (FormatNamesEqual): new functor
4052         (getFormat): use it
4053         (getNumber): use it
4054         (add): use it
4055         (erase): use it
4056         (setViewer): use it
4057
4058         * converter.C (compare_Converter): rename to...
4059         (ConverterEqual): ...this, and fixup a bit.
4060         (getConverter): use it, and make function const
4061         (getNumber): use it, and make function const
4062         (add): use it
4063         (erase): use it:
4064
4065         * bufferlist.C: add using boost::bind
4066
4067         * MenuBackend.C (MenuNamesEqual): new functor
4068         (hasMenu): use it, and make function const
4069         (hasSubmenu): use nested bind to get rid of compare_memfun.
4070
4071 2004-01-30  André Pönitz  <poenitz@gmx.net>
4072
4073         * BufferView_pimpl.C:
4074         * cursor.C:
4075         * cursor.h:
4076         * cursor_slice.[Ch]:
4077         * lyxfunc.C:
4078         * lyxtext.h:
4079         * paragraph_funcs.C:
4080         * paragraph_funcs.h:
4081         * rowpainter.C:
4082         * text.C:
4083         * text2.C:
4084         * text3.C: move some of the edit(x,y) handling to the insets
4085         some coordinate changes.
4086
4087 2004-01-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4088
4089         * text.C: add using statements for std::advance and std::distance
4090
4091         * paragraph.C: add using statement for std::distance
4092
4093         * lyxfind.C: add using statement for std::advance
4094
4095         * cursor.C (region): remove std:: from swap
4096         (openable): use nucleus in stead of operator->
4097
4098         * BufferView.C: add using statements for std::distance and std::swap
4099
4100 2004-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4101
4102         * iterators.C: Remove the pimple, move the needed structures to
4103         the header file. Create accessor for the positions stack.
4104         (asPosIterator): remove function
4105
4106         * PosIterator.C (PosIterator): move constructors to top of file
4107         (PosIterator): reimplement the constructor taking a ParIterator in
4108         terms of setFrom.
4109         (setFrom): new function
4110         (operator!=): inline it
4111
4112 2004-01-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4113
4114         * lyxfind.C (replaceAll): use std::advance
4115
4116         * iterators.h: inherit from std::iterator.
4117
4118         * PosIterator.C (advance, distance): remove
4119         * PosIterator.h: interit from std::iterator.
4120
4121 2004-01-26  André Pönitz  <poenitz@gmx.net>
4122
4123         * BufferView.[Ch]:
4124         * BufferView_pimpl.[Ch]:
4125         * InsetList.[Ch]:
4126         * PosIterator.[Ch]:
4127         * buffer.h:
4128         * bufferview_funcs.C:
4129         * cursor.[Ch]:
4130         * cursor_slice.h:
4131         * factory.[Ch]:
4132         * iterators.[Ch]:
4133         * lyxfind.C:
4134         * lyxfunc.C:
4135         * lyxtext.h:
4136         * output_docbook.C:
4137         * output_latex.C:
4138         * output_linuxdoc.C:
4139         * output_plaintext.C:
4140         * paragraph.[Ch]:
4141         * paragraph_funcs.[Ch]:
4142         * paragraph_pimpl.[Ch]:
4143         * rowpainter.C:
4144         * tabular.C:
4145         * tabular.h:
4146         * text.C:
4147         * text2.C:
4148         * text3.C: more IU:  dumps most of the rest of the mathcursor
4149     implementation into cursor.[Ch]; "globalize" a bit of it.
4150
4151 2004-01-25  Angus Leeming  <leeming@lyx.org>
4152
4153         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
4154
4155 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4156
4157         * LaTeXFeatures.h: add nice_ and nice() const
4158         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
4159
4160 2004-01-20  André Pönitz  <poenitz@gmx.net>
4161
4162         * BufferView.[Ch]:
4163         * BufferView_pimpl.C:
4164         * PosIterator.C:
4165         * bufferview_funcs.C:
4166         * cursor.[Ch]:
4167         * cursor_slice.[Ch]:
4168         * factory.C:
4169         * iterators.C:
4170         * lyx_cb.C:
4171         * lyxfind.C:
4172         * lyxfunc.C:
4173         * lyxtext.h:
4174         * rowpainter.C:
4175         * text.C:
4176         * text2.C:
4177         * text3.C:
4178         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
4179           LCursor and mathcursor parts to LCursor and InsetBase.
4180
4181 2004-01-15  André Pönitz  <poenitz@gmx.net>
4182
4183         * cursor_slice.[Ch]: add a few covienience functions
4184
4185         * funcrequest.[Ch]: remove BufferView * member
4186
4187         * BufferView_pimpl.C:
4188         * cursor.C:
4189         * factory.[Ch]:
4190         * lyxfind.[Ch]:
4191         * lyxfunc.C:
4192         * lyxtext.h:
4193         * text3.C:
4194         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4195
4196 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
4197
4198         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4199         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4200
4201 2004-01-13  André Pönitz  <poenitz@gmx.net>
4202
4203         * textcursor.[Ch]:
4204         * lyxtext.h: hide cursor and selection anchor behind accessor function
4205
4206         * BufferView.C:
4207         * BufferView_pimpl.[Ch]:
4208         * PosIterator.C:
4209         * bufferview_funcs.C:
4210         * cursor.h:
4211         * lyxfind.C:
4212         * lyxfunc.C:
4213         * text.C:
4214         * text2.C:
4215         * text3.C:
4216         * undo.C: adjust
4217
4218         * cursor.h:
4219         * cursor_slice.[Ch]: some integer type changes for inset unification
4220
4221         * lyxcursor.[hC]: remove, it's CursorSlice now.
4222
4223         * Makefile.am:
4224         * BufferView_pimpl.[Ch]:
4225         * bufferview_funcs.C:
4226         * cursor_slice.C:
4227         * lyxtext.h:
4228         * text.C:
4229         * text2.C:
4230         * text3.C:
4231         * textcursor.[Ch]: adjust
4232
4233 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
4234
4235         * text2.C (undoSpan): add and use
4236         * text.C (breakParagraph): use undoSpan (fix bug 578)
4237         * lyxtext.h: adjust
4238
4239 2004-01-08  Angus Leeming  <leeming@lyx.org>
4240
4241         * BufferView_pimpl.C (MenuInsertLyXFile):
4242         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4243         * lyxfunc.C (menuNew, open, doImport):
4244         FileFilterList change to the FileDialog open and save functions.
4245
4246 2004-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4247
4248         * ShareContainer.h: make isEqual and isUnique adaptable
4249
4250         * CutAndPaste.C: make resetOwnerAndChanges adaptable
4251
4252 2004-01-07  Angus Leeming  <leeming@lyx.org>
4253
4254         * LyXAction.C:
4255         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4256
4257         * BufferView_pimpl.C (dispatch): act on these LFUNs.
4258
4259         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4260         functions replacing find, replace and replaceAll.
4261
4262         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4263         LFUN_WORDFIND(FORWARD|BACKWARD).
4264
4265 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4266
4267         * text.C (breakParagraph): remove an outdated #warning
4268
4269 2004-01-07  André Pönitz  <poenitz@gmx.net>
4270
4271         * lyxfind.C: somewhat clearer logic
4272
4273         * text.C: prevent crash in cursorX on unitialized row cache
4274
4275 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4276
4277         * lyxcursor.[Ch] (operator>): add
4278         * textcursor.C (selStart, selEnd): use std::min and std::max
4279
4280 2004-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4281
4282         * Chktex.C: include boost/format.hpp
4283
4284 2004-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4285
4286         * InsetList.C: replace functor MathcIt with adaptable functor
4287         InsetTablePosLess
4288         (insetIterator): modify accordingly
4289
4290         * BranchList.h: move the BranchNamesEqual functor here from...
4291         * BranchList.C: ... to here
4292
4293         * BranchList.C: new BranchListEqual fuctor, use it. Remove
4294         SameName and match.
4295         (add): replace a finding loop with std::find_if.
4296
4297 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
4298
4299         * output_docbook.C: moving LatexParam functionality into
4300         .layout files
4301
4302 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4303
4304         * buffer.C: increment format to 229.
4305
4306 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
4307
4308         * LaTeXFeatures.C:
4309         * lyx_sty.[Ch]: remove minipageindent_def
4310
4311         * LyXAction.C:
4312         * factory.C:
4313         * lfuns.h:
4314         * lyxfunc.C:
4315         * text3.C: remove LFUN_INSET_MINIPAGE
4316
4317 2003-12-28  Angus Leeming  <leeming@lyx.org>
4318
4319         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4320
4321 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
4322
4323         * text2.C (setParagraph): fix off-by-one crash
4324
4325 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
4326
4327         * output_docbook.C: header stuff for AGU
4328
4329 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
4330
4331         * text2.C (redoCursor): remove
4332         * text.C:
4333         * text3.C:
4334         * BufferView_pimpl.C: remove calls to redoCursor and
4335         setCursor(cursor.par(), cursor.pos()) all around
4336
4337 2003-12-15  Angus Leeming  <leeming@lyx.org>
4338
4339         * buffer.C: up the format to 228.
4340
4341 2003-12-15  André Pönitz  <poenitz@gmx.net>
4342
4343         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4344         slices
4345
4346         * Makefile.am:
4347
4348         * BufferView_pimpl.C:
4349         * cursor.[Ch]:
4350         * lyxcursor.[Ch]:
4351         * rowpainter.[Ch]:
4352         * lyxtext.h:
4353         * text.C:
4354         * text2.C:
4355         * text3.C: adjust
4356
4357 2003-12-15  Angus Leeming  <leeming@lyx.org>
4358
4359         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4360         than getFromGUIName to manipulate the color.
4361
4362 2003-12-14  Angus Leeming  <leeming@lyx.org>
4363
4364         * BranchList.[Ch]: minimize the API.
4365         (Branch::getBranch, getColor): now return a 'const &'.
4366         (Branch::setSelected) now returns a bool set to true if the
4367         selection status changes.
4368         (BranchList::clear, size, getColor, setColor, setSelected,
4369         allBranches, allSelected, separator): removed.
4370         (BranchList::find): new functions, returning the Branch with
4371         the given name.
4372         (BranchList::add, remove): return a bool indicating that
4373         the operation was successful.
4374
4375         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4376         new InsetBranch::isBranchSlected member function.
4377
4378         * LColor.[Ch]: mimimize the API.
4379         (fill): renamed as addColor and made private.
4380         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4381         versions of these functions taking a string arg have been removed.
4382
4383         * bufferparams.C (readToken):
4384         * lyxfunc.C (dispatch):
4385         * lyxrc.C (read): changes due to the altered BranchList and
4386         LColor APIs.
4387
4388         * factory.C (createInset, readInset): changes due to altered
4389         InsetBranch c-tor.
4390
4391 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4392
4393         * factory.C:
4394         * lyxfunc.C: remove insetminipage. "minipage-insert"
4395         now produces a frameless minipage box inset.
4396
4397 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4398
4399         * textcursor.[Ch] (selStart,selEnd): add new methods
4400         remove selection::start, end, use LyXCursor::operator<
4401         * lyxcursor.[Ch] (operator<): add
4402         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4403         * BufferView.[Ch] (unsetXSel): add
4404         * text2.C (clearSelection): use unsetXSel,adjust
4405         * text.C: adjust
4406         * text3.C: adjust
4407         * rowpainter.C: adjust
4408         * bufferview_funcs.C (put_selection_at): adjust
4409
4410 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4411
4412         * BufferView_pimpl.C: small coord. correction
4413
4414 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4415
4416         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4417         dragging over the splash screen.
4418
4419 2003-12-11  Angus Leeming  <leeming@lyx.org>
4420
4421         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4422         as it is now handled in LyXText::dispatch.
4423
4424         * text3.C (doInsertInset): remove a level of nesting.
4425
4426 2003-12-11  Angus Leeming  <leeming@lyx.org>
4427
4428         * factory.C (createInset): changes due to the changed interface to
4429         InsetCommandMailer::string2params.
4430
4431 2003-12-10  Angus Leeming  <leeming@lyx.org>
4432
4433         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4434         'dialog-show-new-inset <inset name>'
4435
4436 2003-12-10  Angus Leeming  <leeming@lyx.org>
4437
4438         * buffer.C: up the format to 227.
4439
4440         * factory.C: the box inset is now identified simply by 'Box'.
4441
4442 2003-12-10  Angus Leeming  <leeming@lyx.org>
4443
4444         * buffer.C: up the format to 226.
4445
4446         * factory.C: the note inset is now identified simply by 'Note'.
4447
4448 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
4449
4450         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4451         when a pit is enough. Standarize a couple of loops.
4452
4453 2003-12-05  Angus Leeming  <leeming@lyx.org>
4454
4455         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4456         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4457         data to the re-worked "log" dialog.
4458
4459 2003-12-03  André Pönitz  <poenitz@gmx.net>
4460
4461         * PosIterator.C:
4462         * iterators.C:
4463         * lyxtext.h:
4464         * output_latex.C:
4465         * paragraph_funcs.C:
4466         * text.C:
4467         * text2.C: use Inset::getText instead of Inset::getParagraph
4468
4469 2003-12-03  André Pönitz  <poenitz@gmx.net>
4470
4471         * buffer.[Ch]:
4472         * lyxtext.h:
4473         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4474         InsetText::read() as LyXText::read()
4475
4476 2003-12-02  Angus Leeming  <leeming@lyx.org>
4477
4478         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4479         type. Add a comment in the implementation that the function uses
4480         the stream's bad() function rather than fail() as the std::streams
4481         would do.
4482
4483 2003-12-02  André Pönitz  <poenitz@gmx.net>
4484
4485         * lyxlex.[Ch]: make interface more similar to std::stream
4486
4487         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4488
4489 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
4490
4491         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4492
4493 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
4494
4495         * vspace.[Ch]: remove VSpace::NONE
4496
4497 2003-12-01  André Pönitz  <poenitz@gmx.net>
4498
4499         * buffer.[Ch]:
4500         * lyxtext.h: move ParagraphList member to LyXText
4501         rename LyXText::ownerParagraphs to LyXText::paragraph
4502
4503         * CutAndPaste.C:
4504         * bufferview_funcs.C:
4505         * iterators.[Ch]:
4506         * lyx_cb.C:
4507         * paragraph.C:
4508         * rowpainter.C:
4509         * tabular.C:
4510         * text.C:
4511         * text2.C:
4512         * text3.C: adjust
4513
4514         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4515
4516         * undo.C: fix cursor positioning
4517
4518 2003-12-01  John Levon  <levon@movementarian.org>
4519
4520         * BufferView_pimpl.C: fix a crash on exit with
4521         a buffer open
4522
4523 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
4524
4525         * BranchList.C: fix setSelected() method.
4526
4527 2003-11-28  André Pönitz  <poenitz@gmx.net>
4528
4529         * ParagraphParameters.[Ch]:
4530         * ParameterStruct.h: remove space above/below from Paragraph to
4531          InsetVSpace
4532
4533         * BufferView_pimpl.C:
4534         * factory.C:
4535         * lyxfunc.C:
4536         * lyxtext.h:
4537         * output_latex.C:
4538         * paragraph.C:
4539         * paragraph_funcs.C:
4540         * rowpainter.[Ch]:
4541         * text.C:
4542         * text2.C:
4543         * text3.C: adjust
4544
4545 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
4546
4547         * factory.C: Syntax change for CharStyles
4548
4549 2003-11-28  André Pönitz  <poenitz@gmx.net>
4550
4551         * BufferView.[Ch]:
4552         * BufferView.[Ch]:
4553         * buffer.[Ch]:
4554         * buffer.[Ch]: move LyXText member
4555
4556 2003-11-28  André Pönitz  <poenitz@gmx.net>
4557
4558         * BufferView.[Ch]: make LyXText * text a private member
4559
4560         * BufferView_pimpl.C:
4561         * cursor.C:
4562         * iterators.C:
4563         * lyx_cb.C:
4564         * lyxfind.C:
4565         * lyxtext.h:
4566         * rowpainter.[Ch]:
4567         * text.C:
4568         * text2.C:
4569         * undo.C: adjust
4570
4571         * output_plaintext.C: cleanup
4572
4573 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4574
4575         * buffer.C:
4576         * lyxtextclass.[Ch]: parametrize SGML document header
4577
4578 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4579
4580         * converter.[Ch]:
4581         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4582         getFlavor().
4583
4584 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
4585
4586         * text2.C (setFont): rework using PosIterator (no more recursive)
4587         (setCharFont): no more needed
4588         (setLayout): no more selection cursors fiddling (done by redoCursor)
4589         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4590         destroy remaining ones)
4591
4592 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
4593
4594         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4595         * lyxtext.h: ditto
4596         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4597         selection cursors
4598         * lyxfunc.C: adjust
4599         * text3.C: adjust + re-allow multi par depth changes
4600         * textcursor.C: simplify a bit
4601
4602 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
4603
4604         * src/buffer.C:
4605         * src/lyxlayout.C:
4606         * src/lyxlayout.h:
4607         * src/lyxtext.h:
4608         * src/output_docbook.C:
4609         * src/output_latex.C:
4610         * src/paragraph.C:
4611         * src/paragraph.h:
4612         * src/sgml.C:
4613         * src/sgml.h:
4614         * src/text2.C: Introducing a number of tags parametrizing various
4615         XML formats that we may want to support
4616
4617 2003-11-25  André Pönitz  <poenitz@gmx.net>
4618
4619         * InsetList.[Ch] (begein, end): inline as suggested by profiler
4620
4621         * lyxtext.h (leftMargin/rightMargin): simplify interface
4622
4623         * rowpainter.C:
4624         * text.C:
4625         * text2.C:
4626         * text3.C: adjust
4627
4628 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4629
4630         * lyxfunc.C (dispatch): propogate the bibtex databases from the
4631         master file to any child files. Fixes bug 546.
4632
4633 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4634
4635         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4636
4637 2003-11-24  André Pönitz  <poenitz@gmx.net>
4638
4639         * rowpainter.C: simplification
4640
4641         * text2.C (updateCounters): remove call to redoParagraph on
4642         changed labels as this is far too expensive.
4643
4644 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4645
4646         * converter.C (convert): fix a crash: this function gets
4647         called with buffer == 0 from importer code.
4648
4649 2003-11-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4650
4651         * text3.C (cursorPrevious): make sure that we do not compare
4652         iterators form different containers.
4653         (cursorNext): ditto
4654
4655         * rowpainter.C (paintSelection): make sure that we do not compare
4656         iterators from different containers.
4657
4658         * text3.C (dispatch): [PRIOR] make sure that we do not compare
4659         iterators from different ParagraphList containers.
4660         [NEXT] ditto
4661
4662         * text2.C (LyXText): change order of initialization slightly
4663         (operator=): new function. copy all variables except cache_par_
4664         (moveUp): make sure that we do not compare iterators from
4665         different ParagraphList constainers.
4666         (moveDown): ditto
4667
4668         * text.C (firstPar): new function
4669         (lastPar): new function
4670         (endPar): new function
4671
4672         * lyxtext.h: move things around and group public functions, public
4673         variables, private functions, private variables
4674
4675 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
4676
4677         * factory.C: change call to InsetERT constructor to avoid
4678         additional invocation of method status
4679         * text2.C (toggleInset): remove redundant update() call
4680         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4681         instead of a Bufferview pointer
4682
4683 2003-11-21  André Pönitz  <poenitz@gmx.net>
4684
4685         * rowpainter.C: simplification
4686
4687 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4688
4689         * text3.C (dispatch): make possible to extend a word/row selection
4690         with the mouse
4691
4692 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4693
4694         * lyxtext.h: x0_,y0_ -> xo_,yo_
4695         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4696         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4697         * rowpainter.C (paintRows): paint full paragraphs
4698
4699 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4700
4701         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4702         screen coordinates)
4703
4704 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4705
4706         * lyxtext.h: add x0_, y0_
4707         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4708         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4709
4710 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
4711
4712         * text2.C (setCursorIntern): move the x_target update here *
4713         * text3.C: change some bv() to true/false in calls to
4714         cursorUp/Down/Right/Left
4715         * cursor.C: use helper function.
4716
4717 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4718
4719         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4720         * paragraph_funcs.[Ch]: correct comment
4721         * rowpainter.C: do not paint selections away from bv->cursor()
4722         Fix a long standing selection painting bug.
4723         * text3.C: generalize mouse-selection code to LyXTexts other that
4724         top one
4725         * textcursor.C: do not use y coords if we can use par offsets
4726
4727 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4728
4729         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4730         cursor position after e.g. inset insert)
4731
4732 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
4733
4734         * lyxfind.C (replace): adjust to locking removal + some
4735         code simplification
4736
4737 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
4738
4739         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4740         of the path
4741
4742 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
4743
4744         * lyxlayout.[Ch]:
4745         * output_docbook.C: XML sanitation: new layout
4746         parameters InnerTag and CommandDepth
4747
4748 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
4749
4750         * BufferView_pimpl.C:
4751         * factory.C:
4752         * text3.C: Fix the insertion and modification of button-style
4753         insets
4754
4755 2003-11-13  André Pönitz  <poenitz@gmx.net>
4756
4757         * InsetList.[Ch]: remove deleteLyXText
4758
4759         * paragraph.[Ch]: cache beginOfBody position
4760
4761         * Bidi.C:
4762         * text.C:
4763         * text2.C:
4764         * text3.C: remove superfluous update() calls
4765
4766         * vspace.C: cleanup
4767
4768 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
4769
4770         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4771         * BufferView.C (fitLockedInsetCursor): remove
4772         * cursor.[Ch] (getDim): add
4773         * text.C (getRowNearY): add faster version
4774         * text3.C: remove some update calls
4775
4776 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
4777
4778         * LaTeXFeatures.C:
4779         * LyXAction.C:
4780         * MenuBackend.C:
4781         * MenuBackend.h:
4782         * dispatchresult.h:
4783         * factory.C:
4784         * lfuns.h:
4785         * lyxfunc.C:
4786         * lyxtextclass.C:
4787         * lyxtextclass.h:
4788         * text3.C: The Character Style /XML short element patch.
4789
4790 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
4791
4792         * text3.C:
4793         * factory.C: Small step to solving 'unable to insert some insets'
4794         problem
4795
4796 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
4797
4798         * cursor.[Ch] (updatePos): new function for updating the y
4799         position of the tip inset
4800         * bufferview_funcs.C (put_selection_at):
4801         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4802
4803 2003-11-11  André Pönitz  <poenitz@gmx.net>
4804
4805         * text.C: remove big comment on invalid Paragraph pointers as it is
4806         not valid anymore
4807
4808 2003-11-11  André Pönitz  <poenitz@gmx.net>
4809
4810         * text_funcs.[Ch]: merge with ...
4811
4812         * text.C: ... this
4813
4814         * lyxtext.h:
4815         * text2.C:
4816         * text3.C: adjust
4817
4818         * Makefile.am: remove text_funcs.[Ch]
4819
4820 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
4821
4822         * cursor.C (getPos): return absolute cached y coord
4823
4824         * BufferView_pimpl.C (fitCursor): new simplistic code
4825         (workAreaDispatch): add a fitCursor call
4826
4827 2003-11-10  André Pönitz  <poenitz@gmx.net>
4828
4829         * BufferView.[Ch]:
4830         * BufferView_pimpl.[Ch]: merge update() and updateInset()
4831
4832 2003-11-10  André Pönitz  <poenitz@gmx.net>
4833
4834         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4835         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4836         indicate that the cursor needs to leave an inset
4837
4838         * lyxtext.h: remove inset locking
4839
4840         * cursor.[Ch]: re-implement functionality provided by inset locking
4841
4842         * BufferView.[Ch]:
4843         * BufferView_pimpl.[Ch]:
4844         * LyXAction.C:
4845         * bufferview_funcs.[Ch]:
4846         * factory.C:
4847         * funcrequest.[Ch]:
4848         * iterators.C:
4849         * lyx_cb.C:
4850         * lyxfind.C:
4851         * lyxfunc.C:
4852         * text.C:
4853         * text2.C:
4854         * text3.C:
4855         * undo.C: adjust
4856
4857 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
4858
4859         * PosIterator.[Ch]: replace the stack with a vector, add inset
4860         accesor
4861         * iterators.[C]: adjust
4862
4863 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4864
4865         * lyxfind.C (replaceAll): mark the buffer dirty if something was
4866         replaced
4867         * paragraph_funcs.C (readParToken): put the correct id in the
4868         error item, not the id of the top paragraph
4869
4870 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4871
4872         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4873         * bufferview_funcs.C (put_selection_at): use the above
4874
4875 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4876
4877         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4878
4879 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4880
4881         * output_linuxdoc.h:
4882         * output_plaintext.h:
4883         * output.h:
4884         * output_docbook.h: add #include statements
4885
4886 2003-11-05  José Matos  <jamatos@lyx.org>
4887
4888         * output_docbook.[Ch]:
4889         * output_latex.[Ch]:
4890         * output_linuxdoc.[Ch]:
4891         * output_plaintext.[Ch]: New files for output formats.
4892         * output.[Ch]: New file for helper functions.
4893
4894         * buffer.[Ch]:
4895         * paragraph_funcs.[Ch]: output functions moved to new files.
4896
4897         * outputparams.h: rename of latexrunparams.h
4898
4899         * LaTeX.[Ch]:
4900         * buffer.[Ch]:
4901         * bufferlist.[Ch]:
4902         * converter.[Ch]:
4903         * exporter.C:
4904         * paragraph.[Ch]:
4905         * paragraph_funcs.[Ch]:
4906         * paragraph_pimpl.[Ch]:
4907         * tabular.[Ch]: rename ascii to plaintext
4908         and LatexRunParams to OutputParams.
4909
4910 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4911
4912         * iterators.[Ch] (text): require bv argument
4913         * undo.C (recordUndo):
4914         * lyxfunc.C (dispatch):
4915         * bufferview_funcs.C (put_selection_at): adjust
4916
4917 2003-11-05  Jo� Luis M. Assirati  <assirati@fma.if.usp.br>
4918
4919         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4920
4921 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4922
4923         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4924         nestings
4925
4926 2003-11-04  André Pönitz  <poenitz@gmx.net>
4927
4928         * cursor.[Ch]: restructure
4929
4930         * BufferView.[Ch]:
4931         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4932
4933         * iterators.[Ch] (asCursor): remove
4934
4935         * lfuns.h: remove LFUN_INSET_EDIT
4936
4937         * lyxfunc.C:
4938         * tabular.C:
4939         * text.C:
4940         * text2.C:
4941         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4942
4943 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4944
4945         * lyxfind.[Ch]: complete overhaul
4946         * BufferView_pimpl.C:
4947         * lyxfunc.C: adjust
4948         * paragraph.[Ch] (insert): add
4949
4950 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4951
4952         * BufferView.[Ch]:
4953         * lyxtext.h:
4954         * text.C: remove dead spellcheck code
4955
4956 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4957
4958         * dispatchresult.h: add a val setter
4959
4960         * cursor.C (dispatch): use a tempvar for data_[i]
4961
4962 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4963
4964         * PosIterator.[Ch]: compile fix
4965
4966 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4967
4968         * text.C (cursorPar): deactivate the cursor cache
4969
4970 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4971
4972         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4973
4974 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4975
4976         * text3.C (dispatch): adjust for new DisptchResult semantics.
4977
4978         * lyxfunc.C (dispatch): handle update when return from
4979         Cursor::dispatch, adjust for new DispatchResult semantics.
4980
4981         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4982         DispatchResult(true) mean to not update. Add class functions for
4983         setting dispatched and update, as well as reading.
4984
4985         * cursor.C (dispatch): don't handle update here
4986
4987 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4988
4989         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4990         * trans_mgr.C: adjust
4991
4992         * paragraph_funcs.C (readParToken): exception safety
4993
4994         * lyxvc.h: store the vcs pointer in a scoped_ptr
4995         * lyxvc.C: adjust
4996
4997         * lyxsocket.C (serverCallback): exception safety
4998
4999         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
5000
5001         * ispell.C (clone): make it return a auto_ptr
5002
5003         * factory.C (createInset): exception safety
5004         (readInset): exception safety
5005
5006         * bufferlist.C (newBuffer): exception safety
5007
5008         * Thesaurus.C (Thesaurus): use initialization for aik_
5009
5010         * MenuBackend.C (expandToc): exception safety.
5011
5012 2003-11-03  André Pönitz  <poenitz@gmx.net>
5013
5014         * buffer.C:
5015         * buffer.h:
5016         * bufferview_funcs.C: remove getInsetFromId()
5017
5018         * lyxcursor.[Ch]:
5019         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
5020
5021         * lyxfunc.C:
5022         * text2.C:
5023         * text3.C: adjust
5024
5025 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
5026
5027         * PosIterator.C (distance, advance): new
5028         * bufferview_funcs.[Ch] (put_selection_at): new
5029         * iterators.[Ch] (lockPath): new
5030
5031 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
5032
5033         * iterators.[Ch] (asPosIterator): added
5034         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
5035         * PosIterator.[Ch]: added
5036
5037 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5038
5039         * text3.C:
5040         * lyxfunc.C:
5041         * cursor.C (dispatch):
5042         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
5043
5044         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
5045         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
5046         contructor, add a class function dispatched. Remove operator>=
5047
5048 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5049
5050         * debug.C: only use the default constructor for debugstream
5051         (lyxerr) here.
5052
5053         * main.C (main): include debug.h and setup the lyxerr streambuf
5054         here.
5055
5056 2003-10-31  José Matos  <jamatos@lyx.org>
5057
5058         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
5059
5060         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
5061         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
5062         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5063         * paragraph_pimpl.C (simpleTeXSpecialC):
5064         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
5065         add LatexRunParams argument.
5066
5067         * exporter.C (Export): change call accordingly.
5068
5069         * latexrunparams.h: add new member to take care of the other backends.
5070 2003-10-30  José Matos  <jamatos@lyx.org>
5071
5072         * buffer.C (makeLinuxDocFile, makeDocBookFile):
5073         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5074         factorise code for paragraph output.
5075         * buffer.[Ch]:
5076         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
5077         move functions.
5078
5079 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5080
5081         * text3.C (dispatch):
5082         * lyxfunc.C (dispatch):
5083         * cursor.C (dispatch):
5084         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
5085
5086         * dispatchresult.h: make the dispatch_result_t ctor explicit
5087
5088 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
5089
5090         * sgml.[Ch]:
5091         * buffer.C: small refactoring of docbook stuff
5092
5093 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5094
5095         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
5096         meaning.
5097
5098 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5099
5100         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
5101         operator dispatch_result_t, and operators for == != and >=
5102
5103         * cursor.C (dispatch): adjust for operator dispatch_result_t
5104         removal. comment out call to update
5105
5106         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
5107
5108 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5109
5110         * text3.C:
5111         * text2.C:
5112         * text.C:
5113         * lyxtext.h:
5114         * lyxfunc.C:
5115         * cursor.C:
5116         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
5117         (dispatch):
5118
5119         * dispatchresult.h: new file, DispatchResult broken out of
5120         insets/insetbase.h
5121
5122         * Makefile.am (lyx_SOURCES): add dispatchresult.h
5123
5124 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
5125
5126         * text.C (rowBreakPoint): put a hack inside #if 0
5127
5128 2003-10-28  André Pönitz  <poenitz@gmx.net>
5129
5130         * lyxtext.h:
5131         * metricsinfo.C:
5132         * paragraph_funcs.C:
5133         * rowpainter.C:
5134         * text.C:
5135         * text2.C: general cleanup (lots of small stuff)
5136
5137 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
5138
5139         * text2.C (cursorEnd): simple fix to the "end key goes to one
5140         before the end on last row" bug
5141
5142 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5143
5144         * text.C (backspace): fix the "zombie characters"
5145
5146 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5147
5148         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
5149
5150 2003-10-27  André Pönitz  <poenitz@gmx.net>
5151
5152         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
5153
5154         * factory.C: handle new InsetPagebreak, InsetLine
5155
5156         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
5157         and move handling into new InsetPagebreak, InsetLine
5158
5159         * BufferView_pimpl.C:
5160         * LyXAction.C:
5161         * ParagraphParameters.C:
5162         * ParameterStruct.h:
5163         * lyxfunc.C:
5164         * lyxtext.h:
5165         * paragraph.C:
5166         * paragraph.h:
5167         * paragraph_funcs.C:
5168         * paragraph_pimpl.C:
5169         * rowpainter.C:
5170         * text.C:
5171         * text2.C:
5172         * text3.C: adjust
5173
5174 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5175
5176         * text.C:
5177         * lyxrow_funcs.[Ch]:
5178         * Bidi.C:
5179         * paragraph.C:
5180         * lyxtext.h:
5181         * rowpainter.C:
5182         * text2.C:
5183         * text3.C: remove lastPos uses in favour of Row::endpos
5184
5185 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5186
5187         * undo.C (performUndoOrRedo): fix two crashes by setting a
5188         cursor by hand and reordering some calls. Use bv->lockInset instead
5189         of inset->edit because the latter loses cursor information
5190
5191 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
5192
5193         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5194         by Martin
5195         (rowBreakPoint): fix width. change point to point + 1.
5196         Add a missing check.
5197
5198 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
5199
5200         * MenuBackend.C:
5201         * lyxfunc.C: fix (at least partly) the problems
5202         with the Nav menu and headers inside branch insets
5203         reported by Kayvan
5204
5205 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
5206
5207         * paragraph.C (getChar): add strong asserts
5208
5209         * lyxrow_funcs.C (lastPos): remove hideous hack
5210
5211         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5212         (fill): adjust to that (avoid an infinite loop)
5213
5214 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5215
5216         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5217
5218 2003-10-23  André Pönitz  <poenitz@gmx.net>
5219
5220         * RowList_fwd.h: change list<> to vector<> to gain speed
5221         after suggestion from Alfredo
5222
5223 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5224
5225         * lyxtext.h: move the bidi stuff from here...
5226         * text.C: and here
5227         * text2.C: and here
5228         * Bidi.[Ch]: ... to here
5229
5230 2003-10-23  André Pönitz  <poenitz@gmx.net>
5231
5232         * lyxtext.h:
5233         * text.C (isLastRow, isFirstRow): new functions
5234
5235         * paragraph.h: new width cache member
5236
5237         * rowpainter.C: replace RowList::iterator with Row & where possible
5238
5239         * lyxfunc.C: replace several view()->text with a single call
5240
5241         * toc.C: fix 'unused' warning
5242
5243 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5244
5245         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5246         when woring with stream::pos_type
5247         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5248
5249 2003-10-22  André Pönitz  <poenitz@gmx.net>
5250
5251         * lyxtext.h:
5252         * text.C: use Row & instead of RowList::iterator
5253
5254         * lyxrow.h: rename end() to endpos()
5255
5256         * rowpainter.C:
5257         * text.C:
5258         * text2.C: adjust
5259
5260 2003-10-22  Angus Leeming  <leeming@lyx.org>
5261
5262         * buffer.[Ch] (fully_loaded): new member function, returning true
5263         only when the file has been loaded fully.
5264         Used to prevent the premature generation of previews and by the
5265         citation inset to prevent computation of the natbib-style label.
5266
5267         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5268         templates are all set up.
5269
5270         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5271
5272 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
5273
5274         * text.C: fixed an "oops" in the "is a bit silly"
5275         bug fix
5276
5277 2003-10-21  André Pönitz  <poenitz@gmx.net>
5278
5279         * FuncStatus.[Ch]: small stuff, whitespace
5280
5281         * lyxfont.[Ch]: operator<<() for debug reasons
5282
5283         * lyxfunc.C:
5284         * lyxrow_funcs.C:
5285         * lyxtext.h: whitespace, spelling
5286
5287         * paragraph.C: naming of variables
5288
5289         * text.C:
5290         * text2.C: small stuff
5291
5292
5293 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
5294
5295         * text.C: (1) finish off the inset display() work;
5296         (2) fix the "is a bit silly" bug (accessing char
5297         past end of par).
5298
5299 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
5300
5301         * text.C: re-introduce display() for insets, fixing the
5302         various bugs (stretch of line above, math inset
5303         positioning, ...)
5304
5305 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5306
5307         * text.C (rightMargin): remove spurious semicolon
5308
5309         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5310         1415)
5311
5312 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
5313
5314         * text3.C: fix one crash due to wrong cursor def
5315
5316 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5317
5318         * vc-backend.C (scanMaster): make the regex static
5319
5320         * LaTeX.C (scanAuxFile): make the regexs static
5321
5322         * text3.C (doInsertInset, dispatch, dispatch):
5323         * text2.C (cursorUp, cursorDown):
5324         * text.C (selectNextWordToSpellcheck):
5325         * BufferView_pimpl.C (dispatch):
5326         * lyxfunc.C (dispatch):  localDispatch -> dispatch
5327
5328 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5329
5330         * lyxsocket.C: include <cerrno>
5331
5332 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5333
5334         * lyxfunc.C (dispatch): remove textcache stuff
5335
5336         * bufferlist.C (release): remove textcache stuff
5337         (closeAll): ditto
5338
5339         * TextCache.C: delete file
5340         * TextCache.h: delete file
5341
5342         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5343
5344         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5345         delete of the bv_->text.
5346         (resizeCurrentBuffer): remove texcache stuff
5347         (workAreaResize): ditto
5348
5349 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5350
5351         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5352         action.
5353
5354 2003-10-16  André Pönitz  <poenitz@gmx.net>
5355
5356         * lyxrow.[Ch]:
5357         * paragraph.h:
5358         * rowpainter.C:
5359         * text.C:
5360         * text2.C:
5361         * text3.C: speed up by storing y positions per paragraph plus per-row
5362         offset instead of having a 'full' y position in the row.
5363
5364 2003-10-15  André Pönitz  <poenitz@gmx.net>
5365
5366         * iterators.[Ch]:
5367         * iterators.[Ch]:
5368         * undo.[Ch]: make undo aware of inner insets
5369
5370 2003-10-14  Angus Leeming  <leeming@lyx.org>
5371
5372         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5373         static member functions LyX::ref() and LyX::cref.
5374         (lastfiles): new accessor functions for the new lastfiles_ member var.
5375         (addLyXView, views_): add a new LyXView to the list of views_.
5376         (updateInset): loop over all LyXViews to call their own updateInset
5377         member function, returning a pointer to the Buffer owning the inset.
5378
5379         * BufferView_pimpl.C (loadLyXFile):
5380         * MenuBackend.C (expandLastfiles):
5381         * bufferlist.C (MenuWrite, QuitLyX):
5382         lastfiles is no longer a global variable.
5383         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5384
5385         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5386         static function. Access through LyX::cref().emergencyCleanup().
5387
5388 2003-10-14  André Pönitz  <poenitz@gmx.net>
5389
5390         * iterators.[Ch]: new direct access to innermost LyXText and Inset
5391
5392         * undo.[Ch]: restoring part of 'undo in insets'
5393
5394         * Makefile.am:
5395         * undo_funcs.[Ch]: merge with undo.[Ch]
5396
5397         * tabular.C: small cleansing stuff
5398
5399 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
5400
5401         * paragraph_funcs.C (readParToken): report unknown insets as error
5402         boxes. Use the outer paragraph as location (also for unknown
5403         tokens).
5404
5405         * factory.C (readInset): do not abort on reading an unknown inset.
5406         Eat it and return 0.
5407
5408 2003-10-13  Angus Leeming  <leeming@lyx.org>
5409
5410         * lyx_main.C (LyX): remove call to setDisplayTranslator().
5411
5412         * lyxrc.C: displayTranslator is now a function,
5413         declared in GraphicsTypes.h.
5414
5415 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5416
5417         * format.C: new placeholder $$a to pass the socket address.
5418
5419         * bufferlist.[Ch]: new function getBufferFromTmp.
5420
5421         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5422           files in the temporary dir.
5423
5424 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5425
5426         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5427
5428         * Makefile.am: add lyxsocket.[Ch].
5429
5430         * lyx_main.C (error_handler): handle SIGPIPE.
5431
5432 2003-10-13  André Pönitz  <poenitz@gmx.net>
5433
5434         * BufferView_pimpl.C:
5435         * lyxtext.h:
5436         * text.C:
5437         * text2.C:
5438         * text3.C:
5439         * undo_funcs.[Ch]: use paroffset_type instead of
5440           ParagraphList::iterators to prevent multiple conversion
5441           (and get a more robust interface)
5442
5443 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5444
5445         * lyxfunc.C (dispatch): RESULT -> dispatch_result
5446         * lyxtext.h: ditto
5447         * text3.C (dispatch): ditto
5448
5449 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5450
5451         * LaTeX.C (handleFoundFile): move the static to smaller scope,
5452         move the onlyfile, use onlyfile instead of foundfile in a couple
5453         of places.
5454
5455         * DepTable.C (update): flush the error stream a bit more
5456
5457 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5458
5459         * lyxserver.C (callback): adjust
5460
5461         * lyxfunc.C (getStatus): add a missing brace in commented code
5462         (ensureBufferClean): reindent
5463         (dispatch): delete version taking a string
5464
5465 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5466
5467         * LaTeX.C (deplog): move found file handlig from here...
5468         (handleFoundFile): .. to new function here.
5469         (deplog): make sure to discover several files mentioned on the
5470         same log line.
5471
5472 2003-10-10  André Pönitz  <poenitz@gmx.net>
5473
5474         * lyxfunc.C:
5475         * lyxtext.h:
5476         * tabular.C:
5477         * text.C:
5478         * text2.C:
5479         * text3.C: fix some of the tabular crashes
5480
5481 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5482
5483         * MenuBackend.C (binding): put debug message into Debug::KBMAP
5484
5485         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5486
5487 2003-10-09  André Pönitz  <poenitz@gmx.net>
5488
5489         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5490
5491         * BufferView.C:
5492         * BufferView_pimpl.C:
5493         * bufferview_funcs.C:
5494         * lyx_cb.C:
5495         * lyxcursor.C:
5496         * lyxfind.C:
5497         * lyxfunc.C:
5498         * lyxtext.h:
5499         * text.C:
5500         * text2.C:
5501         * text3.C:
5502         * text_funcs.[Ch]:
5503         * textcursor.[Ch]:
5504         * undo_funcs.C: adjust
5505
5506 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5507
5508         * text2.C (incrementItemDepth): new function, use a backtracking
5509         algorithm to discover the correct item depth.
5510         (resetEnumCounterIfNeeded): new function, use a backtracking
5511         algorithm to discover if counter reset is needed.
5512         (setCounter): use them. Simplify a bit. Add different labels for
5513         different item depths for itemize.
5514
5515         * paragraph.C (Paragraph): remove initialization of enumdepth
5516         (operator=): ditto
5517
5518         * paragraph.h: get rid of enumdepth, and use itemdepth both for
5519         enumerate and itemize. Change the type of itemdepth to signed char.
5520
5521 2003-10-08  André Pönitz  <poenitz@gmx.net>
5522
5523         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5524           thing assignable.
5525         * text.C:
5526         * text2.C: adjust
5527
5528         * tabular.[Ch]: fix crash after 'row-insert'
5529
5530 2003-10-08  Angus Leeming  <leeming@lyx.org>
5531
5532         Fix doxygen warnings.
5533
5534         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5535         Remove CutAndPaste:: prefix from header file declaration.
5536
5537         * LColor.h (fill): remove LColor:: prefix from declaration.
5538
5539         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5540         use lyx::depth_type rather than Paragraph::depth_type so that
5541         header file and .C file match.
5542
5543         * converter.h (intToFormat): remove Converters:: prefix from declaration.
5544
5545         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5546         * aspell.C: \file aspell_local.C -> \file aspell.C
5547         * gettext.C: \file gettext.C -> \file src/gettext.C
5548         * gettext.h: \file gettext.h -> \file src/gettext.h
5549         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5550         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5551         * text.C: \file text.C -> \file src/text.C
5552
5553         * toc.C: move comment so that doxygen is not confused.
5554
5555 2003-10-07  Angus Leeming  <leeming@lyx.org>
5556
5557         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5558
5559 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5560
5561         * aspell.C:
5562         * aspell_local.h: add forgotten std::string's.
5563
5564 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5565
5566         * LaTeXFeatures.C:
5567         * LyXAction.C:
5568         * factory.C:
5569         * lfuns.h:
5570         * lyxfunc.C:
5571         * text3.C: The Box patch. Fancybox support, minipage, parbox
5572
5573 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5574
5575         * CutAndPaste.h:
5576         * DepTable.h:
5577         * FloatList.h:
5578         * LaTeXFeatures.h:
5579         * ParagraphParameters.h:
5580         * TextCache.h:
5581         * Thesaurus.h:
5582         * bufferlist.h:
5583         * exporter.h:
5584         * importer.h:
5585         * lastfiles.h:
5586         * lyxfind.h:
5587         * lyxfont.h:
5588         * lyxlex.h:
5589         * lyxtextclasslist.h:
5590         * messages.h:
5591         * paragraph.h:
5592         * paragraph_pimpl.C:
5593         * textcursor.h: add <string> and other small fixes to make Lars'
5594         std::string patch compile with STLport.
5595
5596 2003-10-06  Angus Leeming  <leeming@lyx.org>
5597
5598         * LColor.h: Add missing #include <string>.
5599
5600 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5601
5602         * All most all file in all subdirs: Make <string> be the prefered
5603         way of getting to std::string, add using declarations.
5604
5605 2003-10-06  André Pönitz  <poenitz@gmx.net>
5606
5607         * metricsinfo.C: initialize LyXFont before changing attribute.
5608         (fixes the 'math in \emph is upright' bug)
5609
5610 2003-10-06  André Pönitz  <poenitz@gmx.net>
5611
5612         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5613
5614 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
5615
5616         * graph.C:
5617         * paragraph_pimpl.C: Small fixes to build using STLport
5618
5619 2003-10-02  André Pönitz  <poenitz@gmx.net>
5620
5621         * lyxfunc.C:
5622         * text3.C: move handling of LFUN_DEPTH *; fix #1360
5623
5624 2003-10-01  André Pönitz  <poenitz@gmx.net>
5625
5626         * factory.C: assert early
5627
5628 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5629
5630         * lyx_main.C: remove the global debug object
5631
5632         * debug.h: adjust for new debugstream
5633
5634         * debug.C: adjust for new debugstream and keep the global debug
5635         object here.
5636
5637 2003-09-22  Angus Leeming  <leeming@lyx.org>
5638
5639         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5640         of g++ which otherwise complain that the scoped_ptr destructor can't delete
5641         an incomplete class LyXFont.
5642
5643 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
5644
5645         * factory.C: bug fix in branches
5646
5647 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5648
5649         * lyxfunc.C (processKeySym): adjust
5650         (dispatch): adjust
5651         (dispatch): change arg name from ev to func, adjust
5652         (sendDispatchMessage): ditto
5653
5654         * lyx_main.C (defaultKeyBindings): adjust keybindings
5655         (deadKeyBindings): ditto
5656
5657         * kbsequence.C (addkey): return a FuncRequest
5658
5659         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5660
5661         * kbmap.C (bind): take a FuncRequest as arg, adjust
5662         (read): adjust
5663         (lookup): adjust
5664         (defkey): change to take a FuncRequest as arg, adjust
5665         (findbinding): take a FuncRequest as arg, adjust.
5666
5667         * funcrequest.h (operator=): added
5668
5669         * funcrequest.C (FuncRequest): default kb_action changed from
5670         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5671
5672         * buffer.C (dispatch): simplify
5673         (dispatch): adjust to take a FuncRequest as arg, adjust
5674
5675         * boost.C (assertion_failed): change assertion message slightly
5676
5677         * ToolbarBackend.C (read): simplify
5678
5679         * MenuBackend.C (binding): adjust call to findbinding, add a
5680         message if no binding is found.
5681         (read): simplify
5682         (expandToc): correct by adding a empty FuncRequest
5683
5684         * LyXAction.C: include <boost/assert.hpp>
5685         (isPseudoAction): delete function
5686         (LookupFunc): change name to...
5687         (lookupFunc): this. change return type to FuncRequest.
5688         (getActionName): take kb_action as arg, simplify
5689         (funcHasFlag): add an assert, simplify.
5690
5691 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5692
5693         * toc.C (action): return a FuncRequest, simplify
5694
5695         * lyxfunc.C (processKeySym): adjust
5696         (getStatus): delete version that takes an int.
5697         (getStatus): adjust
5698         (dispatch): delete version that takes action as int
5699         (dispatch): adjust
5700         (sendDispatchMessage): simplify and adjust
5701
5702         * funcrequest.C (getArg): take unsigned int as arg
5703
5704         * ToolbarBackend.C (read): adjust
5705         (add): delete version that takes func as a string.
5706         (getIton): take a FuncRequest as arg
5707
5708         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5709         action.
5710
5711         * MenuBackend.C (MenuItem): add a new construct that only takes a
5712         Kind, simplify the constructor use for submenus.
5713         (add): adjust
5714         (expandLastfiles): adjust
5715         (expandDocuments): adjust
5716         (expandFormats): adjust
5717         (expandFloatListInsert): adjust
5718         (expandFloatInsert): adjust
5719         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5720
5721         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5722         Remove class variables lyx_pseudo_map and lyx_arg_map
5723
5724         * LyXAction.C (searchActionArg): delete function
5725         (getPseudoAction): delete function
5726         (retrieveActionArg): delete function
5727         (LookupFunc): make it return kb_action, simplify.
5728         (getActionName): simplify
5729
5730         * factory.C (createInset): fix new bug
5731
5732 2003-09-19  Angus Leeming  <leeming@lyx.org>
5733
5734         * CutAndPaste.C (pasteSelection): remove fudge used to set the
5735         masterFilename_ parameter in the include inset.
5736
5737         * factory.C (createInset): changes due to the changes to InsetInclude.
5738
5739 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5740
5741         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5742
5743 2003-09-18  Angus Leeming  <leeming@lyx.org>
5744
5745         * buffer.C:
5746         * BufferView.C: pass the buffer when calling Inset::getLabelList,
5747         Inset::fillWithBibKeys.
5748         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5749
5750 2003-09-18  Angus Leeming  <leeming@lyx.org>
5751
5752         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5753         variables.
5754         (ctor): pass and store a 'Buffer const &'
5755         (buffer): new member function.
5756
5757         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5758         '*this' to the LaTeXFeatures ctor.
5759
5760 2003-09-18  Angus Leeming  <leeming@lyx.org>
5761
5762         * LColor.h:
5763         * lyxfont.C:
5764         * lyxfont.h:
5765         * lyxtext.h:
5766         * text.C: rename EnumLColor as LColor_color.
5767
5768 2003-09-18  Angus Leeming  <leeming@lyx.org>
5769
5770         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5771         remove #include "insets/insetbase.h" from cursor.h.
5772
5773 2003-09-18  Angus Leeming  <leeming@lyx.org>
5774
5775         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5776         InsetOld_code to remove #include "inset.h".
5777
5778         * iterators.C: add #include "insets/inset.h"
5779
5780 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
5781
5782         * BufferView.C: remove more locking stuff that apparently doesn't
5783         do anything sensible.
5784
5785 2003-09-16  André Pönitz  <poenitz@gmx.net>
5786
5787         * paragraph.[Ch]:
5788         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5789           performance boost.
5790
5791 2003-09-16  Angus Leeming  <leeming@lyx.org>
5792
5793         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5794
5795         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5796         arg/return type.
5797
5798         * paragraph.h: remove #include "lyxfont.h". Forward declare
5799         LyXFont_size.
5800
5801 2003-09-16  Angus Leeming  <leeming@lyx.org>
5802
5803         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5804         of support/textutils.h.
5805         (isWord): move the contents of support/textutils.h's IsWordChar here.
5806
5807         * buffer.C:
5808         * lyxfind.C:
5809         * rowpainter.C:
5810         * text.C:
5811         * text2.C: add #include "paragraph.h".
5812
5813         * rowpainter.C:
5814         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5815
5816 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5817
5818         * main.C:
5819         * lyx_main.C:
5820         * lyx_cb.C:
5821         * buffer.C:
5822         * LaTeX.C: use namespace alias for lyx::support::os
5823
5824 2003-09-16  Angus Leeming  <leeming@lyx.org>
5825
5826         * bufferparams.C:
5827         * bufferview_funcs.C:
5828         * factory.C:
5829         * lyxfunc.C:
5830         * paragraph_pimpl.C:
5831         * rowpainter.C:
5832         * text.C: add #include "LColor.h".
5833
5834 2003-09-16  Angus Leeming  <leeming@lyx.org>
5835
5836         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5837         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5838         return LyXFont &.
5839         Store the FontBits::color variable as an int rather than as an
5840         LColor::colorso that we can move LColor.h out of the lyxfont.h header
5841         file.
5842
5843         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5844         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5845         string calls together.
5846
5847         * lyxrc.C: add #include "LColor.h".
5848
5849 2003-09-15  Angus Leeming  <leeming@lyx.org>
5850
5851         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5852         a cow_ptr.
5853
5854 2003-09-15  Angus Leeming  <leeming@lyx.org>
5855
5856         * LColor.h: add an EnumLColor wrapper for LColor::color.
5857
5858         * lyxfont.[Ch] (color, setColor, realColor):
5859         * lyxtext.h, text.C (backgroundColor):
5860         pass EnumLColor args to/from the functions, rather than LColor::color
5861         ones.
5862
5863         * lyxfont.h:
5864         * lyxtext.h: forward declare EnumLColor.
5865
5866         * lyx_main.C: add #include "LColor.h".
5867
5868 2003-09-15  Angus Leeming  <leeming@lyx.org>
5869
5870         * .cvsignore: add lyx-gtk.
5871
5872 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5873
5874         * Chktex.C
5875         * LaTeX.C
5876         * LaTeXFeatures.C
5877         * ParagraphParameters.C
5878         * Spacing.C
5879         * buffer.C
5880         * bufferparams.C
5881         * bufferview_funcs.C
5882         * chset.C
5883         * counters.C
5884         * funcrequest.C
5885         * lyxfont.C
5886         * lyxgluelength.C
5887         * lyxlength.C
5888         * paragraph.C
5889         * paragraph_funcs.C
5890         * text3.C
5891         * vc-backend.C: remove usage of STRCONV
5892
5893 2003-09-15  Angus Leeming  <leeming@lyx.org>
5894
5895         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5896         explicitly define the color passed to the painter.
5897
5898 2003-09-15  Angus Leeming  <leeming@lyx.org>
5899
5900         * bufferparams.C (BufferParams): reorder member initializers to avoid
5901         compiler warning.
5902
5903 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
5904
5905         * CutAndPaste.C (pasteSelection): remove an outdated #warning
5906         * text.C (updateRowPositions): remove an unusual nop
5907
5908 2003-09-12  André Pönitz  <poenitz@gmx.net>
5909
5910         * BufferView_pimpl.C:
5911         * Bullet.C:
5912         * layout.h:
5913         * lyxfunc.C:
5914         * lyxlayout.[Ch]:
5915         * lyxtextclass.C:
5916         * rowpainter.C:
5917         * text.C:
5918         * text2.C:
5919         * Counters.[Ch]: finish the 'automatic counters' job
5920
5921 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5922
5923         * aspell.C: include <boost/assert.cpp> (compile fix)
5924
5925 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
5926
5927         * boost.C (assertion_failed): use lyx::support::abort instead of
5928         assert.
5929
5930 2003-09-10  Angus Leeming  <leeming@lyx.org>
5931
5932         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5933         with their _fwd progeny.
5934
5935 2003-09-09  Angus Leeming  <leeming@lyx.org>
5936
5937         134 files throughtout the source tree: replace 'using namespace abc;'
5938         directives with the appropriate 'using abc::xyz;' declarations.
5939
5940 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5941
5942         * boost.C (emergencyCleanup): moved here from LAssert.c
5943         (assertion_failed): new function, called by BOOST_ASSERT
5944
5945         * several files: change Assert to BOOST_ASSERT
5946
5947 2003-09-09  Angus Leeming  <leeming@lyx.org>
5948
5949         * buffer.[Ch]: Add an Impl class and move Buffer's member
5950         variables into it. As a result move several header files out of
5951         buffer.h.
5952
5953         Add header files to lots of .C files all over the tree as a result.
5954
5955 2003-09-09  Angus Leeming  <leeming@lyx.org>
5956
5957         * buffer.[Ch]: make Buffer's member variables private. Add
5958         accessor functions.
5959
5960         Lots of changes all over the tree as a result.
5961
5962 2003-09-08  Angus Leeming  <leeming@lyx.org>
5963
5964         * graph.C: #include <config.h>.
5965
5966 2003-09-08  Angus Leeming  <leeming@lyx.org>
5967
5968         * BranchList.C:
5969         * BufferView.C:
5970         * BufferView_pimpl.C:
5971         * CutAndPaste.C:
5972         * DepTable.C:
5973         * LaTeX.C:
5974         * LaTeXFeatures.C:
5975         * LyXAction.C:
5976         * MenuBackend.C:
5977         * TextCache.C:
5978         * aspell.C:
5979         * buffer.C:
5980         * bufferlist.C:
5981         * changes.C:
5982         * chset.C:
5983         * converter.C:
5984         * counters.C:
5985         * debug.C:
5986         * graph.C:
5987         * ispell.C:
5988         * lyx_cb.C:
5989         * lyxfind.C:
5990         * lyxfunc.C:
5991         * lyxlex_pimpl.C:
5992         * lyxrc.C:
5993         * lyxrow.C:
5994         * paragraph.C:
5995         * rowpainter.C:
5996         * texrow.C:
5997         * text.C:
5998         * text2.C:
5999         * toc.C: remove redundant using directives.
6000
6001 2003-09-07  Angus Leeming  <leeming@lyx.org>
6002
6003         * LaTeXFeatures.h: remove #include "support/types.h".
6004         * ToolbarBackend.h: remove #include <algorithm>.
6005         * changes.h: remove #include <ctime>.
6006         * debug.h: remove #include <iosfwd>.
6007         * graph.h: remove #include "support/std_string.h".
6008         * lyx_main.h: remove #include <csignal>.
6009         * lyxlex_pimpl.h: remove #include <fstream>.
6010         * sgml.h: remove #include <algorithm>, <utility>.
6011         * toc.h: remove #include "support/std_ostream.h".
6012         Add #include <iosfwd>.
6013
6014 2003-09-07  Angus Leeming  <leeming@lyx.org>
6015
6016         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
6017
6018         * converter.h: forward declare LatexRunParams.
6019         * encoding.h: remove #include "lyxrc.h".
6020         * lyxtext.h: remove #include "LColor.h".
6021         * lyxtextclass.h: remove #include "support/types.h".
6022         * trans.h: remove #include "tex-accent.h".
6023         * trans_mgr.h: remove #include "tex-accent.h".
6024         * insets/inset.h: remove #include "support/types.h", <vector>.
6025         * insets/insetcollapsable.h: remove #include "LColor.h".
6026         * insets/insetinclude.h: remove #include "dimension.h".
6027         * insets/insetlatexaccent.h: remove #include "dimension.h".
6028         * insets/insetoptarg.h:: remove #include "insettext.h".
6029         * insets/insettext.h: remove #include "dimension.h",
6030         <boost/shared_ptr.hpp>
6031
6032         * insets/renderers.h: add #include "dimension.h".
6033         * insets/updatableinset.h: add #include "support/types.h".
6034
6035         * many .C files: Associated changes.
6036
6037 2003-09-06  Angus Leeming  <leeming@lyx.org>
6038
6039         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
6040         one, inside testInvariant.
6041
6042         * PrinterParams.C: new file.
6043         * PrinterParams.[Ch]: move the function bodies out of line.
6044
6045 2003-09-06  Angus Leeming  <leeming@lyx.org>
6046
6047         * ParagraphParameters.h: forward declare ParameterStruct rather than
6048         including its header file.
6049         (depth): moved out-of-line.
6050
6051 2003-09-06  Angus Leeming  <leeming@lyx.org>
6052
6053         * BufferView_pimpl.h:
6054         * kbmap.h:
6055         * kbsequence.h:
6056         * lyxfunc.h: forward declare LyXKeySym rather than
6057         #include "frontends/LyXKeySym.h".
6058
6059         * BufferView_pimpl.C:
6060         * kbmap.C:
6061         * kbsequence.C:
6062         * lyxfunc.C: associated changes.
6063
6064 2003-09-06  Angus Leeming  <leeming@lyx.org>
6065
6066         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6067         As a result, can remove the #include "insets/inset.h" from BufferView.h
6068
6069 2003-09-06  Angus Leeming  <leeming@lyx.org>
6070
6071         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6072         As a result, can remove the #include "insets/inset.h" from BufferView.h
6073
6074 2003-09-06  Angus Leeming  <leeming@lyx.org>
6075
6076         * buffer_funcs.C:
6077         * buffer.h:
6078         * bufferlist.C:
6079         * BufferView.C:
6080         * bufferview_funcs.C:
6081         * BufferView_pimpl.C:
6082         * CutAndPaste.C:
6083         * lyx_cb.C:
6084         * lyxfunc.C:
6085         * paragraph.h:
6086         * ParagraphParameters.C:
6087         * tabular.C:
6088         * text3.C:
6089         * toc.C:
6090         * undo_funcs.C:
6091         * frontends/controllers/ControlDocument.C:
6092         * insets/insetcaption.C: rearrange the #includes into some sort of
6093         coherent order.
6094
6095         * buffer.h: remove #includes ErrorList.h, undo.h
6096
6097 2003-09-06  Angus Leeming  <leeming@lyx.org>
6098
6099         * support/types.h: add a 'depth_type' typedef, used to store the
6100         nesting depth of a paragraph.
6101
6102         * paragraph.h:
6103         * ParameterStruct.h: use this lyx::depth_type typedef rather than
6104         defining explicitly.
6105
6106         * buffer.h:
6107         * paragraph_funcs.h:
6108         * ParagraphParameters.h:
6109         * sgml.h: use lyx::depth_type rather than Paragraph or
6110         ParameterStruct's depth_type.
6111
6112         * buffer.h
6113         * paragraph_funcs.h: no need to #include paragraph.h anymore.
6114
6115         * BufferView.C:
6116         * BufferView_pimpl.C:
6117         * CutAndPaste.C:
6118         * ParagraphParameters.C:
6119         * buffer_funcs.C:
6120         * bufferlist.C:
6121         * bufferview_funcs.C:
6122         * lyx_cb.C:
6123         * lyxfunc.C:
6124         * tabular.C:
6125         * text3.C:
6126         * toc.C:
6127         * undo_funcs.C:
6128         * frontends/LyXView.C:
6129         * frontends/controllers/ControlDocument.C:
6130         * frontends/controllers/ControlErrorList.C:
6131         * insets/insetbibitem.C:
6132         * insets/insetbranch.C:
6133         * insets/insetcaption.C:
6134         * insets/insetcollapsable.C:
6135         * insets/insetenv.C:
6136         * insets/insetert.C:
6137         * insets/insetfloat.C:
6138         * insets/insetfoot.C:
6139         * insets/insetfootlike.C:
6140         * insets/insetnewline.C:
6141         * insets/insetquotes.C:
6142         * insets/insettabular.C:
6143         * insets/insettext.C:
6144         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
6145
6146         * frontends/controllers/ControlChanges.C: #include "changes.h".
6147
6148 2003-09-06  Angus Leeming  <leeming@lyx.org>
6149
6150         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
6151         than #including paragraph.h.
6152
6153         * ParagraphList.h:
6154         * RowList.h: deleted. Superfluous.
6155
6156         * CutAndPaste.h:
6157         * iterators.h:
6158         * lyxcursor.h:
6159         * lyxtext.h:
6160         * text_funcs.h:
6161         * undo.h:
6162         * undo_funcs.h:
6163         * insets/inset.h:
6164         * insets/insettext.h: use ParagraphList_fwd.h rather than
6165         ParagraphList.h.
6166
6167         * paragraph.h: don't forward declare ParagraphList.
6168
6169         * buffer.h:
6170         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
6171         rather than ParagraphList.h. paragraph.h is still needed for the
6172         Paragraph::depth_type parameters.
6173
6174         * textcursor.h: enable it to compile stand-alone in light of the
6175         above changes.
6176
6177         * bufferview_funcs.C:
6178         * iterators.C:
6179         * lyxfunc.C:
6180         * lyxrow_funcs.C:
6181         * paragraph.C:
6182         * rowpainter.C:
6183         * text.C:
6184         * text2.C:
6185         * text3.C:
6186         * text_funcs.C:
6187         * textcursor.C:
6188         * undo.C:
6189         * frontends/controllers/ControlParagraph.C:
6190         * frontends/controllers/ControlTabular.C:
6191         * insets/insetmarginal.C:
6192         * insets/insetminipage.C:
6193         * insets/insetnote.C:
6194         * insets/insetoptarg.C: add header files needed to compile again.
6195
6196 2003-09-06  Angus Leeming  <leeming@lyx.org>
6197
6198         * RowList_fwd.h: new file, forward-declaring Row rather than
6199         #including lyxrow.h.
6200
6201         * lyxrow_funcs.h:
6202         * lyxtext.h:
6203         * paragraph.h:
6204         * insets/insettext.h: use it instead of RowList.h
6205
6206         * bufferview_funcs.C:
6207         * lyxfunc.C:
6208         * lyxrow_funcs.C:
6209         * paragraph.C:
6210         * rowpainter.C:
6211         * text.C:
6212         * text2.C:
6213         * text3.C: #include "RowList.h".
6214
6215 2003-09-05  Angus Leeming  <leeming@lyx.org>
6216
6217         * factory.C (createInset):
6218         * vspace.C (c-tor): replace sscanf call with an istringstream.
6219         * ispell.C: re-add missing HP/UX headers.
6220         * lyxserver.C: re-add missing  os2 headers.
6221
6222 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
6223
6224         * BranchList.C:
6225         * graph.C:
6226         * ispell.C:
6227         * lastfiles.C:
6228         * lyx_cb.C:
6229         * lyxserver.C:
6230         * texrow.C:
6231         * text3.C: re-add missing system headers, needed for 2.95.2.
6232
6233 2003-09-05  Angus Leeming  <leeming@lyx.org>
6234
6235         Changes most place everywhere due to the removal of using directives
6236         from support/std_sstream.h.
6237
6238 2003-09-05  Angus Leeming  <leeming@lyx.org>
6239
6240         Replace LString.h with support/std_string.h,
6241         Lsstream.h with support/std_sstream.h,
6242         support/LIstream.h with support/std_istream.h,
6243         support/LOstream.h with support/std_ostream.h.
6244
6245         Changes resulting throughout the tree.
6246
6247 2003-09-05  Angus Leeming  <leeming@lyx.org>
6248
6249         * sgml.h: ensure that the header file can be compiled stand-alone.
6250         * *.C: strip out redundant #includes. (320 in total.)
6251
6252 2003-09-04  Angus Leeming  <leeming@lyx.org>
6253
6254         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6255         here (from getPackages).
6256
6257         * debug.[Ch]: add a new EXTERNAL tag.
6258
6259 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6260
6261         * text2.C (cursorEnd): simplify
6262         (setCursor): adjust
6263         (getColumnNearX): adjust
6264
6265         * text.C (computeBidiTables): adjust
6266         (fill): adjust
6267
6268         * rowpainter.C (paintChars): adjust
6269         (paintSelection): adjust
6270         (paintChangeBar): adjust
6271         (paintText): adjust
6272
6273         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6274         lastPos instead.
6275         (numberOfSeparators): adjust
6276
6277 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6278
6279         * LyXAction.C:
6280         * box.[Ch]:
6281         * lfuns.h:
6282         * lyxfunc.C:
6283         * text3.C: Restricts the mouse click functionality
6284         of insets like bibtex, include, toc and floatlist to the visible
6285         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6286         up the dialogs. Cursor has to be in front of the inset (i.e.
6287         start of row) for this to function.
6288
6289 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6290
6291         * bufferview_funcs.C (currentState): output row information
6292
6293 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6294
6295         * bufferview_funcs.C (currentState): output paragraph position
6296
6297 2003-09-04  Angus Leeming  <leeming@lyx.org>
6298
6299         * FloatList.h: move out #include "Floating.h".
6300         * LaTeX.h: move out #include "DepTable.h".
6301         * LyXAction.h: move out #include "funcrequest.h".
6302         * buffer.h: move out #include "author.h", "iterators.h".
6303         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6304         * lyx_main.h: move out #include "errorlist.h".
6305         * lyxfunc.h: move out #include "FuncStatus.h".
6306         * lyxtext: move out #include "lyxcursor.h".
6307         * paragraph_pimpl.h: move out #include "counters.h".
6308
6309 2003-09-03  Angus Leeming  <leeming@lyx.org>
6310
6311         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6312         preamble_snippets list, enabling us to add snippets to the preamble
6313         only if the snippet was not there already.
6314
6315 2003-09-04  Angus Leeming  <leeming@lyx.org>
6316
6317         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6318
6319 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6320
6321         * lyxfunc.C (dispatch): if fitCursor did something be sure to
6322         update
6323
6324 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6325
6326         * BranchList.C: point fix, earlier forgotten
6327
6328 2003-09-02  Angus Leeming  <leeming@lyx.org>
6329
6330         * box.C (contains): renamed from 'contained' after a fantastic
6331         amount of hot air.
6332
6333 2003-09-02  John Levon  <levon@movementarian.org>
6334
6335         * BufferView.C:
6336         * lyxcursor.h:
6337         * lyxcursor.C:
6338         * lyxfunc.C:
6339         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6340
6341 2003-09-02  John Levon  <levon@movementarian.org>
6342
6343         * text2.C: simplification of cursorEnd(), including partial
6344         fix for bug 1376
6345
6346 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6347
6348         * buffer.C (readFile): add a space
6349
6350 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
6351
6352         * BufferView_pimpl.C (update): remove bogus fitCursor() call
6353
6354 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6355
6356         * buffer.C (readFile): new function, take a filename and a
6357         ParagraphList::iterator
6358         (readFile): adjust
6359         (readFile): adjust, make it private. don't use setStream, make
6360         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6361         always contain the filename.
6362
6363         * BufferView.C (insertLyXFile): simplify and make it work for
6364         gzipped files.
6365
6366 2003-08-30  John Levon  <levon@movementarian.org>
6367
6368         * Makefile.am: fix dist (from Kayvan)
6369
6370 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6371
6372         * most files: change to use const Buffer refs
6373
6374 2003-08-27  André Pönitz  <poenitz@gmx.net>
6375
6376         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6377         on top of ownerPar().
6378
6379 2003-08-27  John Levon  <levon@movementarian.org>
6380
6381         * funcrequest.C: properly initialise POD members
6382
6383 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6384
6385         * lyxtext.h (top_y): move top_y from here
6386         * text.C:
6387         * text2.C:
6388         * text3.C:
6389         * BufferView.[Ch]:
6390         * BufferView_pimpl.[Ch]: to here
6391         * frontends/screen.C:
6392         * insets/insettabular.C:
6393         * insets/insettext.C: adjust
6394         * rowpainter.[Ch] (paintRows): remove LyXText & argument
6395
6396 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6397
6398         * BufferView.[Ch]:
6399         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6400
6401 2003-08-26  André Pönitz  <poenitz@gmx.net>
6402
6403         * paragraph_func.[Ch] (outerPar): new function
6404
6405         * paragraph.C:
6406         * paragraph_funcs.C:
6407         * paragraph_funcs.h:
6408         * paragraph_pimpl.C:
6409         * text2.C: remove Inset::par_owner
6410
6411 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
6412
6413         * lyxrow_funcs.C:
6414         * lyxtext.h:
6415         * text.C:
6416         * text2.C: eliminates the needFullRow/display() stuff
6417         altogether, putting the logic in metrics/draw in the insets.
6418
6419 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
6420
6421         * text2.C (redoParagraphInternal, redoParagraphs):
6422         * text.C (redoParagraph): add a call to updateRowPositions at the
6423         end of each 'metrics-like' call. Remove all others.
6424         (getRow): remove the 'y-computing' version.
6425         (getRowNearY): do not compute nor return the real y. Solve the
6426         'y < 0' problem and simplify.
6427
6428 2003-08-22  Angus Leeming  <leeming@lyx.org>
6429
6430         * *.[Ch]: clean-up of licence and author blurbs.
6431         Also move config.h out of a few .h files and into a few .C files.
6432
6433 2003-08-22  André Pönitz  <poenitz@gmx.net>
6434
6435         * lyxrow.[Ch]: add x_ and *fill_ members
6436
6437         * lyxtext.h:
6438         * text.C:
6439         * rowpainter.C:
6440         * text2.C: adjust/remove prepareToPrint() calls
6441
6442 2003-08-22  André Pönitz  <poenitz@gmx.net>
6443
6444         * lyxrow.[Ch]: add  end_ member
6445
6446         * lyxrow_funcs.C: use LyXRow::end_
6447
6448         * lyxtext.h (singleWidth): add LyXFont parameter
6449
6450         * rowpainter.C:
6451         * text2.C: adjust LyXText::singleWidth() calls
6452
6453         * text.C (redoParagraph): simplify row breaking logic
6454
6455
6456 2003-08-19  André Pönitz  <poenitz@gmx.net>
6457
6458         * funcrequest.C: initialize button_ member
6459
6460         * text3.C:
6461         * rowpainter.[Ch]: interface consolidation
6462
6463 2003-08-18  André Pönitz  <poenitz@gmx.net>
6464
6465         * BufferView.C:
6466         * BufferView_pimpl.C:
6467         * lyxfind.C:
6468         * paragraph_funcs.C:
6469         * rowpainter.C:
6470         * text3.C: remove LyXScreen::draw() and fitCursor calls
6471
6472         * BranchList.h: remove spurious semicolons
6473
6474         * MenuBackend.C: fix branchlist related crash
6475
6476 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
6477
6478         * BranchList.[Ch]:
6479         * InsetList.[Ch]:
6480         * LColor.[Ch]:
6481         * LyXAction.C:
6482         * Makefile.am:
6483         * MenuBackend.[Ch]:
6484         * bufferparams.[Ch]:
6485         * factory.C:
6486         * lfuns.h:
6487         * lyxfunc.C:
6488         * text3.C: implements the 'branch inset'
6489         idea. This allows the output of various versions of a document
6490         from a single source version, selectively outputing or suppressing
6491         output of parts of the text.
6492         This implementation contains a 'branch list editor' in a separate
6493         tab of the document settings dialog. Branches are user definable
6494         and have a "display colour" to distinguish them on-screen.
6495
6496         ColorHandler was somewhat cleaned up.
6497         (1) make possible a dynamically growing LColor list by allowing
6498         the graphic context cache to grow along (vector);
6499         (2) eliminate an IMHO unnecessary step in colour allocation.
6500
6501 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
6502
6503         * BufferView_pimpl.C: compile fix
6504
6505 2003-08-15  André Pönitz  <poenitz@gmx.net>
6506
6507         * rowpainter.C: remove extra metrics calls
6508
6509         * lyxtext.h: merge the two constructors into a single one,
6510           pass reference to owner's par list
6511
6512         * BufferView_pimpl.C:
6513         * text.C:
6514         * text2.C: adjust
6515
6516 2003-08-15  André Pönitz  <poenitz@gmx.net>
6517
6518         * lyxrow_funcs.[Ch]:
6519         * lyxtext.h:
6520         * paragraph.h:
6521         * paragraph_funcs.C:
6522         * rowpainter.C:
6523         * text.C:
6524         * text2.C:
6525         * text3.C:
6526         * text_funcs.C: split LyXText::rowlist_ into individual
6527         Paragraph::rows_ chunks
6528
6529         * BufferView.[Ch]:
6530         * BufferView_pimpl.[Ch]:
6531         * lyxfind.C:
6532         * lyxtext.h:
6533         * text3.C: remove toggleSelection()
6534
6535 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
6536
6537         * bufferlist.C: beautify two alerts (shorter text of buttons)
6538         * buffer.C: Remove redundant ' ' from message
6539         * tabular.h:
6540         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6541         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6542         rename VALIGN_CENTER to VALIGN_MIDDLE
6543
6544 2003-08-11  André Pönitz  <poenitz@gmx.net>
6545
6546         * lyxtext.h (getPar):
6547         * text.C: new function
6548
6549 2003-08-11  André Pönitz  <poenitz@gmx.net>
6550
6551         * Makefile.am:
6552         * tracer.[Ch]: remove unneeded files
6553
6554         * InsetList.[Ch]: remove resizeInsetsLyXText()
6555
6556         * lyxtext.h:
6557         * text.C:
6558         * text2.C:
6559         * text3.C: merge insertParagraphs() and appendParagraph()
6560         remove breakAgain(), update()
6561
6562         * BufferView_pimpl.[Ch]:
6563         * bufferview_funcs.[Ch]:
6564         * lyxfunc.C:
6565         * paragraph.[Ch]:
6566         * rowpainter.C:
6567         * tabular.C: adjust after text & InsetList changes.
6568
6569 2003-08-08  André Pönitz  <poenitz@gmx.net>
6570
6571         * text.C (insertChar, backspace): replace rowlist fiddling
6572         with rebreak of full par
6573
6574         * lyxtext.h:
6575         * text.C (breakAgainOneRow, redoHeightOfParagraph,
6576         checkParagraph, updateInset): removed
6577
6578 2003-08-07  André Pönitz  <poenitz@gmx.net>
6579
6580         * paragraph.C:
6581         * text3.C: merge some LFUN handlers, remove dead code
6582
6583 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6584
6585         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6586
6587 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
6588
6589         * text2.C (DEPM): fix part of bug 1255 and 1256
6590
6591 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6592
6593         * BufferView_pimpl.C (workAreaDispatch): change to use
6594         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6595         that are no mouse related.
6596
6597 2003-08-05  André Pönitz  <poenitz@gmx.net>
6598
6599         * BufferView.[Ch]:
6600         * BufferView_pimpl.[Ch]:
6601         * bufferview_funcs.C:
6602         * text2.C:
6603         * text3.C: rip out "deep update"
6604
6605         * textcursor.[Ch] (last_sel_cursor): remove unused member
6606
6607 2003-08-04  André Pönitz  <poenitz@gmx.net>
6608
6609         * BufferView.[Ch]:
6610         * BufferView_pimpl.[Ch]:
6611         * ParagraphParameters.C:
6612         * bufferview_funcs.C:
6613         * lyx_cb.C:
6614         * lyxfind.C:
6615         * lyxfunc.C:
6616         * text.C:
6617         * text2.C:
6618         * text3.C: replace "complicated" BufferView::update(...) calls with
6619         simpler ones.
6620
6621         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6622
6623 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
6624
6625         * Makefile.am (lyx_SOURCES): add paper.h
6626
6627 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6628
6629         * Makefile.am: move things around so that both lyx-qt and
6630         lyx-xforms can be built (according to --with-frontend). Then lyx
6631         is a symbolic link to lyx-[firstfrontend]
6632
6633 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
6634
6635         * Always use std::endl with lyxerr
6636
6637 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
6638
6639         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6640
6641 2003-08-01  André Pönitz  <poenitz@gmx.net>
6642
6643         * BufferView.[Ch]:
6644         * BufferView_pimpl.[Ch]:
6645         * lyxfunc.C:
6646         * text3.C: merge BufferView::repaint() and BufferView::update()
6647
6648 2003-08-01  José Matos  <jamatos@lyx.org>
6649
6650         * buffer.[Ch]: file_format is no longer a buffer data element.
6651
6652 2003-08-01  André Pönitz  <poenitz@gmx.net>
6653
6654         * BufferView.C:
6655         * lyxtext.h:
6656         * text.C:
6657         * text2.C: make redoParagraph more independent of current cursor
6658
6659         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6660         * text.C:
6661         * text2.C: remove unneeded members
6662
6663 2003-07-30  André Pönitz  <poenitz@gmx.net>
6664
6665         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6666
6667         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6668           create a single function...
6669
6670         * paragraph_funcs.C (moveItem): ... here.
6671
6672         * text.C:
6673           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6674
6675 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
6676
6677         * LColor.[Ch]: Add comment and greyedout logical colors.
6678
6679 2003-07-30  André Pönitz  <poenitz@gmx.net>
6680
6681         * tabular.C: don't use Assert too heavily. This crashes where it
6682           shouldn't
6683
6684 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
6685
6686         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6687         is disabled (bug 1232)
6688
6689 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6690
6691         * factory.C: limited 'arg' scope
6692
6693 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6694
6695         * factory.C: fixed Note submenu issues
6696
6697 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6698
6699         * factory.C: submenu for Note/Comment/Greyedout
6700
6701 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
6702
6703         * lyx_main.C (LyX):
6704         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6705
6706 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
6707
6708         * LaTeXFeatures.C:
6709         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6710         greyedout. Patch provided by Jürgen Spitzmüller.
6711
6712 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6713
6714         * kbmap.C (read): fix error message when reading bind files
6715
6716 2003-07-29  Angus Leeming  <leeming@lyx.org>
6717
6718         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6719         certainly does not do what it purports to do. I am doing it, and
6720         us, a favour by killing it.
6721
6722 2003-07-28  José Matos  <jamatos@lyx.org>
6723
6724         * buffer.C (readBody, do_writeFile):
6725         * paragraph.C(readParagraph): \end_document replaces \the_end.
6726
6727 2003-07-29  André Pönitz  <poenitz@gmx.net>
6728
6729         * BufferView.[Ch]:
6730         * BufferView_pimpl.[Ch]:
6731         * lyxfunc.C:
6732         * text2.C:
6733         * text3.C:
6734         * textcursor.[Ch]: remove toggleToggle & Co
6735
6736 2003-07-28  José Matos  <jamatos@fep.up.pt>
6737
6738         * buffer.C (readParagraph):
6739         * params_func (readParToken, readParagraph):
6740         * paragraph.C (write): \layout -> \begin_layout.
6741
6742 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6743
6744         * lyxlex_pimpl.C (setFile): clean up slightly.
6745
6746         * bufferparams.h: add compressed var
6747
6748         * buffer_funcs.C (readFile): adjust for LyXLex change
6749         (newFile): ditto + simplify
6750
6751         * buffer.C (writeFile): handle writing of compressed files
6752
6753         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6754         Check if the file is compressed and set a bufferparm if so.
6755
6756         * Makefile.am (lyx_LDADD): remove explicit -lz
6757
6758 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6759
6760         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6761         makeDocBookFile): put the real LyX version in the first line of
6762         the file
6763
6764         * version.h:
6765         * version.C.in: remove lyx_docversion
6766
6767         * tabular.C (write_attribute): add a template-based version to
6768         write enums properly
6769
6770 2003-07-28  André Pönitz  <poenitz@gmx.net>
6771
6772         * lyxtext.h:
6773         * text.C:
6774         * text2.C:
6775         * text3.C: use doubles again for x-coordinates. They are needed.
6776
6777 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6778
6779         * messages.C (getLocaleDir): use lyx_localedir()
6780
6781         * lyxlex_pimpl.C (setFile): compress stuff
6782
6783         * buffer.C (writeFile): add some compression stuff
6784         (do_writeFile): new func, dont call expliti close... will this
6785         breake anything?
6786
6787         * Makefile.am (lyx_LDADD): add -lz
6788
6789 2003-07-28  José Matos  <jamatos@fep.up.pt>
6790
6791         * buffer.C: increment file format.
6792         * paragraph_funcs (readParagraph, readParToken):
6793         * paragraph.C (readParagraph): add \end_layout.
6794
6795 2003-07-27  Angus Leeming  <leeming@lyx.org>
6796
6797         * Makefile.am: remove special casing for configure-time setting of
6798         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6799
6800         * lyx_main.C (init): remove all Jean-Marc's magic setting of
6801         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6802
6803 2003-07-26  André Pönitz  <poenitz@gmx.net>
6804
6805         * paragraph_func.[Ch]:
6806         * paragraph.C (realizeFont): inline it whereever it is used
6807
6808         * rowpainter.C:
6809         * text.C:
6810         * text2.C:
6811         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6812
6813
6814 2003-07-26  André Pönitz  <poenitz@gmx.net>
6815
6816         *       lyxtext.h:
6817         * text.C:
6818         * text2.C: get rid of LyXText::need_break_row
6819
6820 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6821
6822         * toc.[Ch]: put namespace toc inside namespace lyx
6823
6824         * MenuBackend.C (expandToc2): adjust for lyx::toc
6825         (expandToc): ditto
6826
6827         * lyxfunc.C (dispatch): adjust for lyx::find
6828
6829         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6830         lyx::find instead. Reorganize a bit.
6831         (LyXReplace): rename to replace
6832         (LyXFind): rename to find
6833
6834         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6835         (dispatch): ditto
6836
6837 2003-07-26  André Pönitz  <poenitz@gmx.net>
6838
6839         * text.C (setHeightOfRow): restrict scope of temporary variable
6840
6841         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
6842           code (never has been used?)
6843
6844 2003-07-27  Asger Alstrup  <alstrup@local>
6845
6846         * text.C (fill): Optimise algorithm to exploit that we can reuse
6847         the LyXFont for many characters.
6848         (setHeightOfRow): Same thing.
6849         (rowBreakPoint): Same thing.
6850
6851 2003-07-26  Asger Alstrup  <alstrup@local>
6852
6853         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6854
6855         * text.C (singleWidth): Spurious font copying in hot-spot
6856         singleWidth avoided. Reorder tests for arabic for efficiency.
6857
6858         * text.C (fill): handle empty paragraphs better.
6859
6860 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6861
6862         * ispell.C:
6863         * encoding.h: add includes
6864
6865         * lyxrc.C: remove reading of bind files
6866
6867         * lyx_main.C (init): setup bindings and menus only if we have a
6868         gui.
6869
6870         * kbmap.C (read): new method. Do the actual reading of bind
6871         files.
6872
6873         * converter.C (dvipdfm_options):
6874         * bufferparams.C:
6875         * lyxrc.C (read):
6876         (output): adapt PAPER_* enums.
6877
6878         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6879
6880         * bufferparams.h: remove paper-related enums from there
6881
6882         * paper.h: New file. A trivial header file to hold paper-related
6883         enums. It should later expand to contain many paper-related
6884         horrors access.
6885
6886         * lyxrc.C: declare extern displayTranslator
6887
6888 2003-07-27  José Matos  <jamatos@fep.up.pt>
6889
6890         * tabular.[Ch] (linuxdoc): add support for tables and figures
6891         (linuxdoc).
6892
6893 2003-07-27  José Matos  <jamatos@fep.up.pt>
6894
6895         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6896         consistency in both functions.
6897         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6898
6899 2003-07-26  Asger Alstrup  <alstrup@local>
6900
6901         * rowpainter.C (paintRows): Change algorithm to work directly on
6902         the insets rather than asking every character in the document
6903         whether its an inset.
6904
6905 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
6906
6907         * buffer.C (openFileWrite): factorize some code
6908
6909 2003-07-26  Angus Leeming  <leeming@lyx.org>
6910
6911         * lyx_cb.C:
6912         * lyx_main.[Ch]: replace occurances of system_tempdir with
6913         os::getTmpDir().
6914
6915 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6916
6917         * rename Inset to InsetOld
6918
6919 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
6920
6921         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6922         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6923         which I think is a bit clearer. EDIT is gone, since it was
6924         premature optimisation, and broken for mathed anyway.
6925         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6926         with cursor positioning in insets as well (math insets still do not
6927         work, but that's a different story anyway.) It mysteriously
6928         crashes sometimes with undo in the first paragraph, but I'm fairly
6929         confident that this is a compiler bug.
6930
6931 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6932
6933         * paragraph.C (Paragraph): adjust for new clone return type
6934         (operator==): ditto
6935         (copyIntoMinibuffer): ditto
6936
6937 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
6938
6939         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6940         by not having a special case, and always doing a full rebreak of
6941         the document after undo.
6942
6943 2003-07-23  Angus Leeming  <leeming@lyx.org>
6944
6945         * factory.C (createInset): InsetExternal::setParams now takes a
6946         Buffer const * arg.
6947
6948 2003-07-23  Angus Leeming  <leeming@lyx.org>
6949
6950         * factory.C (createInset): changed interface to the external and
6951         graphics mailers' string2params functions.
6952
6953 2003-07-23  Angus Leeming  <leeming@lyx.org>
6954
6955         * factory.C (createInset): pass a
6956         Buffer const * parameter to InsetExternalMailer's string2params.
6957
6958 2003-07-22  John Levon  <levon@movementarian.org>
6959
6960         * Thesaurus.h: include the right aiksaurus header
6961
6962 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6963
6964         * MenuBackend.C (expand): check menu shortcuts unconditionally
6965
6966 2003-07-21  Angus Leeming  <leeming@lyx.org>
6967
6968         * factory.C (createInset): pass a
6969         buffer_path parameter to InsetGraphicsMailer's string2params.
6970
6971 2003-07-21  Angus Leeming  <leeming@lyx.org>
6972
6973         * BufferView_pimpl.C (buffer):
6974         * buffer.C (d-tor):
6975         * lyx_main.C (LyX):
6976         * lyxfunc.C (dispatch):
6977         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6978         rather than the grfx shortcut.
6979
6980 2003-07-21  André Pönitz  <poenitz@gmx.net>
6981
6982         * rowpainter.C: remove unused variables
6983
6984         * tabular_funcs.C:
6985         * tabular_funcs.h: move to tabular.C
6986         * Makefile.am: adjust
6987
6988         * tabular.[Ch]: basic optical cleaning
6989
6990         * author.h: pass references, not values
6991
6992 2003-07-18  André Pönitz  <poenitz@gmx.net>
6993
6994         * lyxtext.h:
6995         * metricsinfo.C:
6996         * metricsinfo.h:
6997         * rowpainter.C:
6998         * text.C:
6999         * text2.C:
7000         * text3.C: two-phase drawing for InsetText and InsetTabular
7001         some float -> int changes.
7002
7003 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
7004
7005         * lyx_main.C: fix the fix
7006
7007 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
7008
7009         * lyx_main.C: fix a crash in batch mode if no files specified
7010         * converter.C: ws
7011
7012 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
7013
7014         * format.[Ch] (papersize): moved to BufferParams
7015         * converter.[Ch] (dvips_options): moved to BufferParams
7016         (dvipdfm_options): moved to anon namespace
7017         * bufferparams.[Ch]: added above functions.
7018
7019 2003-07-17  André Pönitz  <poenitz@gmx.net>
7020
7021         * lyxtext.h:
7022         * rowpainter.C:
7023         * text2.C: don't call inset->update() anymore
7024
7025         * metricsinfo.[Ch]: add convenience constructor
7026
7027 2003-07-16  André Pönitz  <poenitz@gmx.net>
7028
7029         * lyxcursor.[Ch]:
7030         * lyxfunc.[Ch]:
7031         * text.C:
7032         * text2.C: replace the LyXCursor::irow_ member with
7033          on-demand computation of the value
7034
7035 2003-07-16  John Levon  <levon@movementarian.org>
7036
7037         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
7038
7039 2003-07-15  André Pönitz  <poenitz@gmx.net>
7040
7041         * text.C:
7042         * text2.C: remove no more needed refresh_row
7043
7044 2003-07-15  André Pönitz  <poenitz@gmx.net>
7045
7046         * lyxtext.h:
7047         * rowpainter.C:
7048         * text2.C:
7049         * text3.C: refresh_status tristate -> need_update bool
7050
7051 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
7052
7053         * lyxtext.h (init): remove reinit argument (act as if always true)
7054         * text2.C: adjust to that
7055
7056 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7057
7058         * bufferview_funcs.[Ch]: introduce function replaceSelection()
7059         * text3.C: use it to delete selections in some cases
7060         (bugs 441, 673, 702, 954).
7061
7062 2003-07-14  André Pönitz  <poenitz@gmx.net>
7063
7064         * rowpainter.[Ch]: reduce interface
7065
7066 2003-07-14  André Pönitz  <poenitz@gmx.net>
7067
7068         * BufferView_pimpl.C:
7069         * text2.C: adjust after removing unused BufferView * argument
7070
7071 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
7072
7073         * text2.C (init): fix a crash fired on resize
7074
7075 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
7076
7077         * buffer.[Ch]: added new closing signal
7078         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
7079         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
7080         BufferView::Pimpl via the closing the signal
7081
7082 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
7083
7084         * buffer.[Ch]: take out all bv-related from buffer
7085         * BufferView.C:
7086         * BufferView_pimpl.[Ch]: connect to new signals
7087         * CutAndPaste.C: removed useless asserts
7088         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
7089         * lyxvc.[Ch]:
7090         * vc-backend.[Ch]:
7091         * lyxfunc.C: moved view-related funciontality from vc here
7092         * paragraph.C: removed outdated comments
7093         * text.C: ws
7094
7095 2003-07-10  André Pönitz  <poenitz@gmx.net>
7096
7097         * BufferView_pimpl.C:
7098         * tabular.h:
7099         * tabular_funcs.C:
7100         * text.C:
7101         * text2.C: remove InsetText::InnerCache, clean up consequences
7102
7103 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
7104
7105         * ispell.C: fix two typos in error messages
7106
7107 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
7108
7109         * Extend Note inset to other forms of annotation like Comment
7110         and Greyedout. Right button click gives dialog.
7111
7112         Files modified or added (+):
7113
7114         * insetnote.[Ch]
7115         * FormNote.[Ch]      +
7116         * ControlNote.[Ch]   +
7117         * form_note.fd       +
7118         * Makefile.am in frontends/xforms, frontends/xforms/forms,
7119         frontends/controllers
7120         * xforms/Dialogs.C
7121         * factory.C
7122
7123 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7124
7125         * aspell.C: add missing namespace lyx::support
7126
7127 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
7128
7129         * BufferView.[Ch] (newFile): Add
7130         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
7131         * LaTeX.[Ch] (message): added this signal and use it
7132         * buffer.[Ch] (busy, message): added these signals and use them
7133         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
7134         * converter.C:
7135         * exporter.C:
7136         * format.C:
7137         * importer.C: use buffer signals instead of direct bv calling
7138         * lyx_cb.[Ch] (ShowMessage): removed
7139         * lyx_main.C:
7140         * lyxfunc.C:
7141         * paragraph_funcs.C:
7142         * text2.C: use buffer signals
7143
7144 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7145
7146         * introduce namespace lyx::graphics
7147
7148 2003-07-02  André Pönitz  <poenitz@gmx.net>
7149
7150         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
7151
7152 2003-07-01  André Pönitz  <poenitz@gmx.net>
7153
7154         * text.C:
7155         * text2.C:
7156         * text3.C:
7157         * text_funcs.[Ch]:
7158         * textcursor.h:
7159         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
7160           text*.C to text_func.C
7161
7162 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7163
7164         * introduce namespace lyx::support
7165
7166 2003-06-30  André Pönitz  <poenitz@gmx.net>
7167
7168         * Chktex.C:
7169         * funcrequest.C:
7170         * lyxtext.h:
7171         * text.C: re-enable --with-included-string
7172
7173 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7174
7175         * textcursor.C: add <config.h>
7176
7177         * text.C (getWord): remove const from word_location arg
7178
7179         * lyxvc.C (getLogFile): fix const type order
7180
7181         * lyxtext.h: remove const from word_location arg, add arg name
7182
7183         * lyxlayout.h: currect type on labeltype.
7184
7185         * importer.C: correct \file
7186
7187         * converter.C (intToFormat): use std:: on ret val, ws changes
7188
7189         * bufferlist.h: correct \file
7190
7191         * buffer.C (makeLinuxDocFile): fix const type order
7192         (makeDocBookFile): ditto
7193         (fillWithBibKeys): use std:: on stdlib args.
7194
7195         * CutAndPaste.C: fix authors.
7196         (availableSelections): use std:: on return vector
7197
7198 2003-06-27  André Pönitz  <poenitz@gmx.net>
7199
7200         * BufferView_pimpl.C:
7201         * bufferview_funcs.C:
7202         * lyxcursor.C:
7203         * lyxcursor.h:
7204         * lyxfunc.C:
7205         * lyxtext.h:
7206         * rowpainter.C:
7207         * text.C:
7208         * text2.C:
7209         * text3.C: remove LyXCursor::row_ member
7210
7211         * lyxtext.h:
7212         * text.C: rename fullRebreak() to partialRebreak() and implement
7213           a fullRebreak() that really bereks fully
7214
7215         * textcursor.h: new struct for cursor-related data
7216
7217 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
7218
7219         * lyx_main.C (LyX): get full path of document loaded on the
7220         command line
7221
7222 2003-06-26  André Pönitz  <poenitz@gmx.net>
7223
7224         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7225           remove unused/broken operator>,<,>=.
7226
7227         *       text.C: remove only use of broken operator<= in an Assert().
7228
7229 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7230
7231         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7232         moved errorlist_.clear to showErrorList
7233
7234 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7235
7236         * converter.C (scanLog, runLaTeX):
7237         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7238         move the bv->showErrorList call to the callers
7239         * lyxfunc.C: i.e. here...
7240         * text2.C: and here
7241         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7242         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7243         namespace, the second to...
7244         * buffer_funcs (BufferFormat, parseErrors): added
7245         * errorlist.C (ErrorList(TeXErrors const &)): removed
7246
7247 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7248
7249         * ToolbarBackend.C (getIcon): complain when icon cannot be found
7250
7251 2003-06-24  "Garst R. Reese" <reese@isn.net>
7252
7253         * debug.C: fix typo
7254
7255 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7256
7257         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7258
7259         * version.C.in: change docversion to 1.4
7260
7261 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
7262
7263         * buffer.C: fix a bug just introduced
7264
7265 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
7266
7267         * buffer.[Ch]: added the parseError signal and use it, removed
7268         sgmlError
7269         * BufferView.[Ch] (addError): moved to ...
7270         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7271         to the Buffer::parseError signal to catch (guess what) parse errors
7272         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7273
7274 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
7275
7276         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7277         ability to create a buffer and to return an existing one from
7278         the list. Moved these functions to...
7279         * buffer_funcs.[Ch]: added
7280         * BufferView.[Ch] (loadLyXFile): added
7281         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7282         job removed from bufferlist::loadLyXFile.
7283         * buffer.C (setReadOnly): make it work without view
7284         (i.e added an if (users))
7285
7286 2003-06-19  Angus Leeming  <leeming@lyx.org>
7287
7288         * lfuns.h:
7289         * LyXAction.C (init):
7290         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7291         with LFUN_DIALOG_SHOW <name> <data>.
7292
7293 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7294
7295         * CutAndPaste.C (availableSelections): small compilation fix for
7296         ancient (gcc 2.9x) compilers
7297
7298 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
7299
7300         * text3.C (cursorNext): add tmp var
7301
7302         * text2.C (updateCounters): for function calling out of for clause
7303         (replaceSelectionWithString): ditto
7304         (insertStringAsParagraphs): ditto
7305         (getColumnNearX): add tmp var
7306         (setCursorFromCoordinates): add tmp var
7307         (cursorDownParagraph): add tmp var
7308         (deleteEmptyParagraphMechanism): add tmp var
7309
7310         * text.C (insertChar): add tmp var
7311
7312         * rowpainter.C (paintDepthBar): add tmp var
7313
7314         * CutAndPaste.C (availableSelections): potentially check all
7315         paragraphs in a cut to fill the shown strings.
7316
7317 2003-06-18  André Pönitz  <poenitz@gmx.net>
7318
7319         * kbmap.[Ch]: use vector<> instead of list<>
7320
7321 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
7322
7323         * text3.C (dispatch): handle arg to LFUN_PASTE, call
7324         pasteSelection with index
7325
7326         * text2.C (pasteSelection): modify, call pasteSelection with index
7327
7328         * paragraph.C (asString): reimplement version with no interval to
7329         call the one with interval.
7330
7331         * lyxtext.h: add index arg to pasteSelection
7332
7333         * MenuBackend.C (MenuItem): handle PasteRecent
7334         (Menu::read::Menutags): add md_pasterecent
7335         (read): handle it
7336         (expandPasteRecent): new function
7337         (expand): use it
7338
7339         * MenuBackend.h: add PasteRecent to MenuItem::Kind
7340
7341         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7342         the limited stack
7343         (availableSelections): new function
7344
7345 2003-06-17  Angus Leeming  <leeming@lyx.org>
7346
7347         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7348
7349 2003-06-17  Angus Leeming  <leeming@lyx.org>
7350
7351         * lfuns.h:
7352         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7353
7354         * lyxfunc.C (dispatch): invoke it.
7355
7356 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7357
7358         * iterators.C (operator++, ParPosition): reintroduce some
7359         const_cast for the benefit of older compilers.
7360
7361 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7362
7363         * text3.C (dispatch): do not modify clipboard when doing
7364         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7365         LFUN_DELETE_SKIP on a selection selection
7366
7367 2003-06-16  André Pönitz  <poenitz@gmx.net>
7368
7369         * BufferView.C:
7370         * buffer.C:
7371         * buffer.h:
7372         * paragraph.C:
7373         * tabular.[Ch]: IU of clone() and getLabelList();
7374
7375 2003-06-13  André Pönitz  <poenitz@gmx.net>
7376
7377         * tabular.h: compactification
7378
7379 2003-06-12  André Pönitz  <poenitz@gmx.net>
7380
7381         * tabular.C:
7382         * tabular.h:
7383         * tabular_funcs.h: some renaming plus whitespace
7384
7385 2003-06-12  André Pönitz  <poenitz@gmx.net>
7386
7387         * BufferView.C:
7388         * BufferView_pimpl.C:
7389         * CutAndPaste.C:
7390         * buffer.C:
7391         * iterators.[Ch]:
7392         * lyxfunc.C:
7393         * text.C:
7394         * toc.C: Return a Paragraph & for ParIterator::operator*()
7395
7396 2003-06-11  John Levon  <levon@movementarian.org>
7397
7398         * lyx_main.C:
7399         * ToolbarBackend.h:
7400         * ToolbarBackend.C: add "Toolbars" section and
7401         put the flags there
7402
7403 2003-06-10  Angus Leeming  <leeming@lyx.org>
7404
7405         * lfuns.h:
7406         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7407
7408         * lyxfunc.C (dispatch): invoke it.
7409
7410 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7411
7412         * main.C: protect <ios> with HAVE_IOS
7413         (main): protect sync_with_stdio with HAVE_IOS
7414
7415 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
7416
7417         * text2.C (cutSelection): adjust
7418         (pasteSelection): adjust
7419
7420         * messages.C: handle get of empty string
7421
7422         * main.C (main): use sync_with_stdio(false)
7423
7424         * lyxfunc.C (dispatch): adjust
7425
7426         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7427         (WriteAs): remove unneeded BufferView arg.
7428
7429         * bufferparams.h: use correct types on papersize, papersize2 and
7430         paperpackage.
7431
7432         * bufferparams.C (readToken): adjust for type
7433         (writeLaTeX): add missing cases to switch.
7434
7435         * bufferlist.C (quitWriteBuffer): adjust
7436         (close): adjust
7437
7438         * buffer.C (asciiParagraph): remove some commented code.
7439
7440         * CutAndPaste.C: remove current_view extern variable.
7441         (cutSelection): add BufferParams arg.
7442         (eraseSelection): add BufferParams arg.
7443         (pasteSelection): add Buffer const & arg
7444
7445 2003-06-07  John Levon  <levon@movementarian.org>
7446
7447         * buffer.C:
7448         * paragraph_funcs.C:
7449         * paragraph_pimpl.C:
7450         * text.C:
7451         * text2.C:
7452         * paragraph.h:
7453         * paragraph.C: allow InsetERT to freely space lines,
7454         and some consolidation of code
7455
7456 2003-06-06  José Matos  <jamatos@fep.up.pt>
7457
7458         * buffer.C (makeDocBookFile): fix bug #821
7459
7460 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
7461
7462         * BufferView_pimpl.C (dispatch): use Dialogs::visible
7463
7464 2003-06-04  Angus Leeming  <leeming@lyx.org>
7465
7466         * buffer.C: bump format to 224.
7467
7468 2003-06-05  André Pönitz  <poenitz@gmx.net>
7469
7470         * text2.C (redoParagraphs): remove two const_cast<>
7471
7472 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
7473
7474         * ParagraphList.h: remove last remnants of NO_STD_LIST
7475
7476 2003-06-03  Angus Leeming  <leeming@lyx.org>
7477
7478         * factory.C (createInset): small change to the way InsetExternal's params
7479         are set.
7480
7481 2003-06-04  André Pönitz  <poenitz@gmx.net>
7482
7483         * buffer.h: use Undo directly instead of shared_ptr<Undo>
7484
7485         * paragraph_pimpl.h:
7486         * paragraph.[Ch]: some Inset -> UpdatableInset changes
7487
7488         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7489
7490         * undo_funcs.C: make some simple cases of undo work again
7491
7492 2003-06-03  John Levon  <levon@movementarian.org>
7493
7494         * ispell.C: HPUX doesn't have sys/select.h
7495         (from Albert Chin)
7496
7497 2003-06-03  John Levon  <levon@movementarian.org>
7498
7499         * CutAndPaste.C: update tabular and include inset
7500         buffer references
7501
7502         * buffer.h:
7503         * paragraph.h:
7504         * paragraph.C: remove owningBuffer(), don't pass Buffer
7505         to clone()
7506
7507         * factory.C: insetGraphicsParams changed
7508
7509 2003-06-02  John Levon  <levon@movementarian.org>
7510
7511         * LyXAction.C:
7512         * factory.C:
7513         * lfuns.h:
7514         * lyxfunc.C:
7515         * text3.C: remove insetparent
7516
7517 2003-06-02  John Levon  <levon@movementarian.org>
7518
7519         * buffer.h:
7520         * buffer.C: fix inset_iterator.end(), move out of line
7521         (bug 1149)
7522
7523 2003-06-01  John Levon  <levon@movementarian.org>
7524
7525         * text3.C: use a proper cut/paste when doing inset
7526         insert (from Jürgen Spitzmüller)
7527
7528 2003-06-01  John Levon  <levon@movementarian.org>
7529
7530         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7531
7532 2003-05-30  André Pönitz  <poenitz@gmx.net>
7533
7534         * rowpainter.C: unify second drawing phase
7535
7536 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7537
7538         * trans_mgr.C: remove one case of current_view
7539
7540         * text2.C (cursorBottom): delete NO_STD_LIST stuff
7541
7542         * paragraph_funcs.h: remove paragraph.h include
7543
7544         * paragraph.h: delete NO_STD_LIST stuff
7545
7546         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7547
7548         * buffer.h: remove paragraph.h include
7549
7550         * ParagraphList.C: delete file
7551
7552         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7553
7554         * toc.C (getTocList): adjust
7555
7556         * paragraph_pimpl.C (validate): adjust
7557
7558         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7559
7560         * paragraph.C (Paragraph): adjust
7561         (getPositionOfInset): use const_iterator, adjust
7562         (bibitem): use const_iterator, adjust
7563         (setInsetOwner): adjust
7564
7565         * iterators.C (operator++): adjust
7566
7567         * InsetList.[Ch]: Replace selfmade iterator with standard
7568         vector::iterator also introduce const_iterator. Remove getPos,
7569         getInset and setInset from InsetTable. Adjust accordingly.
7570
7571         * BufferView.C (lockInset): adjust
7572         (ChangeInsets): adjust
7573
7574         * tabular.[Ch]: delete commented same_id functions
7575
7576 2003-05-28  John Levon  <levon@movementarian.org>
7577
7578         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7579
7580 2003-05-28  André Pönitz  <poenitz@gmx.net>
7581
7582         * metricsinfo.[Ch]: remove 'fullredraw' member
7583
7584 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
7585
7586         * lyxtextclass.C (operator): remove caching.
7587
7588 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7589
7590         * text3.C: adjust
7591
7592         * text2.C (cursorBottom): adjust
7593         (setCounter): use ParagraphList::find, adjust
7594
7595         * text.C (workWidth): use ParagraphList::find, adjust
7596
7597         * lyxcursor.C (LyXCursor): adjust
7598
7599         * buffer.C (inset_iterator): adjust
7600
7601         * ParagraphList.h: make iterator(value_type) private, make
7602         ParagraphList a friend of iterator.
7603
7604         * ParagraphList.C (find): new function
7605
7606         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7607
7608 2003-05-27  André Pönitz  <poenitz@gmx.net>
7609
7610         * dimension.[Ch]: a -> asc, d -> des, w -> wid
7611
7612 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7613
7614         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7615
7616 2003-05-26  John Levon  <levon@movementarian.org>
7617
7618         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7619
7620 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7621
7622         * remove same_id from function signatures, adjust.
7623
7624 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7625
7626         * undo_funcs.C (createUndo): use the id functions directly, adjust.
7627
7628         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7629
7630         * paragraph.C (Paragraph): get rid of same_ids parameter
7631
7632         * ParagraphList.C (insert): adjust
7633         (push_back): adjust
7634
7635 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7636
7637         * paragraph_funcs.C (breakParagraph): adjust
7638         (breakParagraphConservative): adjust
7639
7640         * buffer.C (readParagraph): adjust
7641
7642         * ParagraphList.C (insert): take a reference instead of a pointer
7643         (insert): adjust
7644
7645         * paragraph.[Ch] (id): new function
7646
7647         * bufferlist.C (newFile): adjust
7648
7649         * ParagraphList.C (ParagraphList): adjust
7650         (assign): adjust
7651         (push_back): take a reference instead of a pointer.
7652
7653         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7654
7655         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7656         instead.
7657
7658         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7659         set else use old code.
7660
7661         * ParagraphList.C: remove all NO_NEXT code and only compile this
7662         code of NO_STD_LIST is set.
7663
7664 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7665
7666         * BufferView_pimpl.C:
7667         * TextCache.C:
7668         * TextCache.h:
7669         * bufferlist.C:
7670         * errorlist.h:
7671         * format.C:
7672         * format.h:
7673         * graph.C:
7674         * lyxfunc.C:
7675         * lyxrc.C:
7676         * graphics/GraphicsConverter.C:
7677         * graphics/PreviewLoader.C: header adjustment
7678
7679 2003-05-23  Angus Leeming  <leeming@lyx.org>
7680
7681         * LaTeXFeatures.[Ch] (useBabel): new method.
7682         * bufferparams.C (writeLaTeX): use it.
7683
7684 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7685
7686         * ParagraphList.h (set): remove unused function.
7687
7688 2003-05-23  André Pönitz  <poenitz@gmx.net>
7689
7690         * BufferView.C:
7691         * BufferView_pimpl.C:
7692         * buffer.C:
7693         * buffer.h:
7694         * lyxfunc.C:
7695         * undo_funcs.C: setUndo reworked
7696
7697         * iterators.[Ch]: add access to topmost ParagraphList
7698
7699         * lyxtext.[Ch] (workWidth): add a const
7700
7701 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7702
7703         * texrow.[Ch] (increasePos): remove function
7704         * exporter.C (export): removed unused var and outdated comment
7705
7706 2003-05-23  Angus Leeming  <leeming@lyx.org>
7707
7708         * latexrunparams.h: rename fragile as moving_arg.
7709         * paragraph.C (simpleTeXOnePar): ditto.
7710         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7711
7712 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7713
7714         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7715         (createUndo): ditto
7716         (textUndoOrRedo): comment out a currently unused var.
7717
7718         * paragraph.h (NO_NEXT): enable NO_NEXT
7719
7720         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7721
7722         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7723
7724         * exporter.C (Export): adjust for removeAutoInsets removal.
7725
7726         * buffer.C (runChktex): adjust for removeAutoInsets removal.
7727
7728         * LyXAction.C (init): remove LFUN_REMOVEERRORS
7729
7730         * BufferView.[Ch] (removeAutoInsets): delete function
7731
7732 2003-05-22  Angus Leeming  <leeming@lyx.org>
7733
7734         * latexrunparams.h: add a free_spacing variable.
7735
7736         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7737         to pass moving_arg, as the data is stored in runparams.fragile.
7738
7739         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7740         to Inset::latexOptional or to simpleTeXOnePar.
7741
7742         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7743         free_spacing arg to Inset::latexOptional.
7744
7745         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7746         free_spacing arg.
7747
7748 2003-05-22  Angus Leeming  <leeming@lyx.org>
7749
7750         * latexrunparams.h: add fragile and use_babel variables.
7751
7752         * bufferparams.[Ch] (writeLaTeX): return use_babel.
7753         * buffer.C (makeLaTeXFile): store this returned value in
7754         runparams.use_babel, thus passing it to the inset::latex methods.
7755
7756         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7757         simpleTeXSpecialChars as it is now stored in runparams.fragile.
7758
7759         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7760         longer has a fragile arg, as it is stored in runparams.fragile.
7761
7762         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7763         moving_arg parameter as the data is stored in runparams.fragile.
7764
7765         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7766         a fragile parameter as the data is stored in runparams.fragile.
7767
7768 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7769
7770         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7771
7772 2003-05-22  Angus Leeming  <leeming@lyx.org>
7773
7774         * latexrunparams.h: add a 'bool nice' which defaults to false.
7775
7776         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7777         now encapsulated within runparams.
7778
7779         * bufferlist.C (updateIncludedTeXfiles):
7780         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7781
7782 2003-05-22  Angus Leeming  <leeming@lyx.org>
7783
7784         * latexrunparams.h: new file containing struct LatexRunParams.
7785         * Makefile.am: add new file.
7786
7787         * LaTeX.[Ch] (c-tor, run):
7788         * buffer.[Ch] (makeLaTeXFile):
7789         * bufferlist.[Ch] (updateIncludedTeXfiles):
7790         * converter.C (convert, scanLog):
7791         * converter.[Ch] (runLaTeX):
7792         * exporter.C (Export):
7793         * paragraph.[Ch] (simpleTeXOnePar):
7794         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7795         * paragraph_funcs.[Ch] (latexParagraphs):
7796         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7797         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7798         pass around a LatexRunParams parameter.
7799
7800 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7801
7802         * paragraph.[Ch]: remove unused constructor
7803
7804         * ParagraphList.C (erase): new function, taking two iterators
7805
7806 2003-05-22  André Pönitz  <poenitz@gmx.net>
7807
7808         * undo_funcs.C: remove duplicated code
7809
7810         * iterator.[Ch]: operator=
7811
7812 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7813
7814         * tabular.C (SetMultiColumn): ws changes
7815
7816         * rowpainter.C (paintFirst): get rid of a ->previous
7817
7818         * lyx_cb.C (getPossibleLabel): parlist simplification
7819
7820         * BufferView.C (ChangeInsets): simplify slightly.
7821
7822 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7823
7824         * LyXAction.C: new lfun space-insert, kill protected-space-insert
7825         * lfuns.h: new LFUN_SPACE
7826         * lyxfunc.C: protected space has a new lfun
7827         * paragraph_funcs.C: read new space insets
7828         * text3.C:
7829         * factory.C: handle new space insets
7830
7831 2003-05-22  André Pönitz  <poenitz@gmx.net>
7832
7833         * BufferView.C:
7834         * BufferView_pimpl.C:
7835         * buffer.[Ch]:
7836         * lyxfunc.C:
7837         * undo_funcs.C: return a ParIterator from getParFromID.
7838
7839         * iterators.[Ch]: add two const's
7840
7841 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7842
7843         * toc.C (getTocList): adjust
7844
7845         * iterators.[Ch]: rework for parlist
7846
7847         * buffer.C (par_iterator_begin): adjust
7848         (par_iterator_end): adjust
7849
7850         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7851
7852         * BufferView.C (removeAutoInsets): adjust
7853         (ChangeInsets): adjust
7854
7855 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
7856
7857         * text.C (top_y): fix bug 1110
7858
7859 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
7860
7861         * errorlist.[Ch]: added
7862         * buffer.C:
7863         * BufferView.[Ch]:
7864         * BufferView_pimpl.C:
7865         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7866         instead
7867
7868 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7869
7870         * Makefile.am: ensure that lyx is relinked upon changes to the
7871         various "convenience" libs.
7872
7873 2003-05-20  Angus Leeming  <leeming@lyx.org>
7874
7875         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7876         files are compiled in alphabetical order again.
7877
7878         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7879
7880 2003-05-19  Angus Leeming  <leeming@lyx.org>
7881
7882         * gettext.[Ch]: remove "char const * _(char const *)".
7883
7884 2003-05-19  André Pönitz  <poenitz@gmx.net>
7885
7886         * dimension.[Ch]: promote from mathed/dimension.[Ch]
7887
7888         * Makefile.am:
7889         * BufferView.C:
7890         * DepTable.h:
7891         * LaTeXFeatures.C:
7892         * buffer.C:
7893         * lyxfont.C:
7894         * lyxlex.h:
7895         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7896
7897 2003-05-19  André Pönitz  <poenitz@gmx.net>
7898
7899         * buffer.C:
7900         * lyxlayout.[Ch]:
7901         * lyxtextclass.[Ch]:
7902         * paragraph.C:
7903         * paragraph_funcs.[Ch]:
7904         * text2.C:
7905         * text3.C: more insetenv work
7906
7907 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
7908
7909         * ParagraphParameters.C (params2string): small bug fixed
7910
7911 2003-05-16  André Pönitz  <poenitz@gmx.net>
7912
7913         * debug.C:
7914         * bufferview_funcs.C: patch from Kornel Benko to prevent
7915           crash when _(...) is called twice in a statement
7916
7917 2003-05-16  André Pönitz  <poenitz@gmx.net>
7918
7919         * BufferView.C:
7920         * lyxfunc.C:
7921         * text.C:
7922         * text2.C:
7923         * text3.C:
7924         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7925
7926 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
7927
7928         * lyx_main.C (init): remove spurious static_cast
7929
7930 2003-05-14  André Pönitz  <poenitz@gmx.net>
7931
7932         * BufferView.C: fix format string
7933
7934 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
7935
7936         * BufferView.[Ch] (insertErrors): removed
7937         * BufferView.[Ch] (showErrorList): added
7938         * buffer.C (runChkTeX):
7939         * converter.C (scanLog): call showErrorList instead of inserterrors
7940
7941 2003-05-13  André Pönitz  <poenitz@gmx.net>
7942
7943         * BufferView_pimpl.C:
7944         * buffer.C:
7945         * bufferview_func.C:
7946         * MenuBackend.C:
7947         * lyxfunc.C:
7948         * lyxrc.C:
7949         * tex-accent.C:
7950         * text3.C:
7951         * toc.C:
7952         * tabular_funcs.h: tostr() from its own header
7953
7954         * ParagraphParameters.C:
7955         * ToolbarBackend.C:
7956         * bufferparams.C:
7957         * format.C:
7958         * lyxlex_pimpl.C:
7959         * text3.C: STRCONV()
7960
7961 2003-05-12  André Pönitz  <poenitz@gmx.net>
7962
7963         * BufferView.C:
7964         * BufferView_pimpl.C:
7965         * CutAndPaste.C:
7966         * LaTeX.C:
7967         * LaTeXFeatures.C:
7968         * ParagraphParameters.C:
7969         * buffer.C:
7970         * bufferlist.C:
7971         * bufferparams.C:
7972         * bufferview_funcs.C:
7973         * converter.C:
7974         * counters.C:
7975         * debug.C:
7976         * exporter.C:
7977         * format.C:
7978         * importer.C:
7979         * lyx_cb.C:
7980         * lyx_main.C:
7981         * lyxfont.C:
7982         * lyxfunc.C:
7983         * lyxvc.C:
7984         * paragraph.C:
7985         * paragraph_funcs.C:
7986         * tabular.C:
7987         * tabular_funcs.C:
7988         * text2.C:
7989         * text3.C:  boost::format -> bformat  all over the place
7990
7991
7992 2003-05-09  André Pönitz  <poenitz@gmx.net>
7993
7994         * LColor.[Ch]: Pimpl the #include <map> away
7995
7996 2003-05-09  John Levon  <levon@movementarian.org>
7997
7998         * bufferlist.C: never remove emergency saves
7999
8000 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8001
8002         * Makefile.am: better lib building
8003
8004 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
8005
8006         * texrow.[Ch]: remove dependency on Paragraph and just store a id
8007         instead.
8008         * paragraph_pimpl.C (simpleTeXBlanks): adjust
8009         (simpleTeXSpecialChars): adjust
8010         (simpleTeXSpecialChars): adjust
8011         * paragraph.C (simpleTeXOnePar): adjust
8012         * buffer.C (makeLaTeXFile): adjust
8013
8014         * Makefile.am (BOOST_LIBS): allow boost as system lib.
8015
8016         * text2.C (changeDepth): parlist cleanup
8017         (getColumnNearX): ditto
8018
8019         * rowpainter.C (getLabelFont): parlist cleanup
8020
8021         * bufferlist.C (newFile): parlist cleanup
8022
8023         * CutAndPaste.C (eraseSelection): parlist cleanup
8024
8025         * BufferView_pimpl.C (trackChanges): parlist cleanup
8026         (dispatch): ditto
8027
8028         * BufferView.C (lockInset): parlist cleanup.
8029         (ChangeInsets): ditto
8030
8031 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8032
8033         * CutAndPaste.h: Update file header.
8034
8035         * CutAndPaste.C: Update file header.
8036         Store the parts cut out of the Document in a limited_stack.
8037         (copySelection): adjust
8038         (pasteSelection): new function, takes the index in the limited stack.
8039         (nrOfParagraphs): adjust
8040         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
8041         simplify error inset insertion.
8042         (checkPastePossible): adjust
8043
8044 2003-05-06  John Levon  <levon@movementarian.org>
8045
8046         * text2.C: don't cast wrap inset to float
8047
8048 2003-05-05  André Pönitz  <poenitz@gmx.net>
8049
8050         * iterator.C:
8051         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
8052
8053         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
8054           few naked Paragraph *.
8055
8056 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
8057
8058         * bufferparams.C: Output warning if a document with missing
8059         TeX document class is loaded
8060         * exporter.C: Disable TeX exports if the document class is missing
8061         * lyxtextclass.C:
8062         * lyxtextclass.h:
8063         * lyxtextclasslist.C: Handle new textclass.lst format; new method
8064         isTeXClassAvailable()
8065
8066 2003-05-03  John Levon  <levon@movementarian.org>
8067
8068         * BufferView.h:
8069         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
8070         explicit cursor show/hide
8071
8072         * BufferView_pimpl.h:
8073         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
8074         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
8075
8076         * lyxfunc.C: hide cursor before dispatching.
8077
8078         * lyx_cb.C:
8079         * lyxfind.C:
8080         * text.C:
8081         * text3.C: remove explicit cursor hides
8082
8083 2003-05-02  André Pönitz  <poenitz@gmx.net>
8084
8085         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
8086
8087         * undo_funcs.C:
8088         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
8089           linked lists
8090
8091         * text2.C: tiny whitespace
8092
8093 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8094
8095         * undo_funcs.C: almost only ws changes.
8096
8097         * ParagraphList.C (splice): just return if pl is empty.
8098
8099 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8100
8101         * ParagraphList.C (splice): new function.
8102
8103         * CutAndPaste.C (pasteSelection): use it
8104
8105 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8106
8107         * CutAndPaste.C (pasteSelection): remove the last next and
8108         previous from this file.
8109
8110 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8111
8112         * CutAndPaste.C (pasteSelection): more clean up, user proper
8113         ParagraphList functions for pasteing.
8114
8115         * ParagraphList.C (insert): new function, three arg insert
8116
8117 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8118
8119         * ParagraphList.C (insert): new function, three arg insert
8120
8121         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
8122         not on paragraphs.
8123
8124 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8125
8126         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
8127
8128 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8129
8130         * CutAndPaste.C (pasteSelection): remove some unneeded code.
8131
8132 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8133
8134         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
8135         (copySelection): clean up a bit.
8136         (pasteSelection): use make_pair
8137
8138         * ParagraphList.C (ParagraphList): implement copy constructor
8139         (operator=): implement, base on copy constructor.
8140         (assign): new func
8141
8142         * paragraph.C (erase): return a bool
8143
8144         * paragraph_pimpl.C (erasePos): remove function, move contents...
8145         (erase): ... here. Return a bool.
8146         (erase): call erase instead of erasePos.
8147
8148 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
8149
8150         * ParagraphList.h: define PitPosPair
8151         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
8152         ParagraphList, fix a bug on pasting multiple pars
8153         * text2.C: change interface to C&P
8154
8155 2003-04-30  André Pönitz  <poenitz@gmx.net>
8156
8157         * undo_func.C: revert part of yesterday's patch 2
8158
8159 2003-04-30  John Levon  <levon@movementarian.org>
8160
8161         * LColor.C: s/tabular/table/
8162
8163 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8164
8165         * text3.C (dispatch): do not convert iterator -> pointer
8166         * undo_funcs.C (setCursorParUndo): ditto
8167         * text_funcs.C (transposeChars): ditto
8168
8169         * text2.C (setLayout): ws changes only
8170
8171         * text.C (breakParagraph): do not convert iterator -> pointer
8172         (insertChar): ditto
8173         (acceptChange): ditto
8174         (rejectChange): ditto
8175         (changeCase): ditto
8176         (Delete): ditto
8177         (backspace): ditto
8178
8179         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
8180         pointer
8181
8182 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8183
8184         * text3.C (gotoInset): YABG (yet another bad getChar)
8185
8186 2003-04-29  André Pönitz  <poenitz@gmx.net>
8187
8188         * paragraph.h: make operator= private unimplemented as long as
8189           it is unusable
8190
8191         * ParagraphList.C: whitespace
8192
8193         * paragraph.[Ch]:
8194         * paragraph_pimpl.[Ch]:
8195         * paragraph_funcs.C:
8196         * CutAndPaste.C:
8197         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
8198
8199         * text2.C:
8200           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8201
8202 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8203
8204         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8205         * paragraph.[Ch] (erase):
8206         * paragraph_pimpl.[Ch] (erase): change return type and value
8207         * text2.C (cutSelection): some rework
8208
8209 2003-04-28  John Levon  <levon@movementarian.org>
8210
8211         * bufferlist.C: changes for unsaved changes dialog
8212
8213 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8214
8215         * bufferlist.C (newFile): set language (messages_) for new
8216         documents also.
8217
8218         * buffer.C (readFile): ws changes only.
8219
8220 2003-04-28  André Pönitz  <poenitz@gmx.net>
8221
8222         * undo_funcs.C:
8223         * lyxfunc.C:
8224         * buffer.[Ch]:
8225         * BufferView_pimpl.C:
8226         * BufferView.C: getParFromID related ParagraphList::iterator changes
8227
8228 2003-04-28  André Pönitz  <poenitz@gmx.net>
8229
8230         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8231           Changes
8232
8233 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8234
8235         * messages.C: remove one more localedir class variable.
8236
8237 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8238
8239         * messages.C (getLocaleDir): singleton generation function
8240         (Pimpl): use it.
8241         (Messages): add a default constructor.
8242
8243         * main.C (main): do not setup localedir here, do not call
8244         gettext_init.
8245
8246         * gettext.C (_): use it.
8247         (gettext_init): delete funciton
8248
8249 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8250
8251         * gettext.C (getLyXMessages): new singleton generating function.
8252
8253         * buffer.C (updateDocLang): adjust
8254
8255         * Makefile.am (messages.o): add target
8256         (main.o): remove target
8257
8258 2003-04-27  John Levon  <levon@movementarian.org>
8259
8260         * bufferlist.C:
8261         * lyx_cb.C:
8262         * lyxfunc.C:
8263         * lyxvc.C: specify cancel button in Alert::prompt
8264
8265 2003-04-26  John Levon  <levon@movementarian.org>
8266
8267         * text3.C:
8268         * lyxfunc.C:
8269         * lfuns.h:
8270         * LyXAction.C: add LFUN_INSET_SETTINGS
8271
8272         * lyxfunc.C: don't enable tabular-feature when there's
8273         just any locking inset
8274
8275 2003-04-26  John Levon  <levon@movementarian.org>
8276
8277         * bufferlist.C: re-add Cancel to buffer close question
8278
8279         * lyxfunc.C: fix import UI a bit
8280
8281 2003-04-25  John Levon  <levon@movementarian.org>
8282
8283         * gettext.C: remove the broken asserts for now
8284
8285 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8286
8287         * messages.C: make case where setlocale cannot comply work better.
8288
8289         * buffer.C (updateDocLang): new function
8290         (changeLanguage): use it
8291         (readFile): use it
8292
8293         * text2.C (setCounter): use B_ a bit.
8294
8295         * lyxlayout.C (Read): be sure to trim the label strings.
8296
8297         * messages.C (Messages): fix typo in comment
8298
8299         * buffer.C (readFile): set message_ after file is loaded.
8300         (makeDocBookFile): remove double return
8301         (changeLanguage): reset message_ upon language change.
8302         (B_): new func, use this to get translated buffer strings.
8303
8304         * main.C: add myself and Jean Marc as authors.
8305
8306 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8307
8308         * messages.[hC]: pimplify Messages, and three different pimpls to be
8309         used in different circumstances.
8310
8311         * gettext.[Ch]: change for use with new message code.
8312
8313 2003-04-24 André Pönitz <poenitz@gmx.net>
8314
8315         * factory.C: support for eqref
8316
8317 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
8318
8319         * messages.[Ch]: add missing char
8320
8321         * Makefile.am (lyx_SOURCES): add messages.[Ch]
8322
8323         * messages.[Ch]: New files
8324
8325 2003-04-18  John Levon  <levon@movementarian.org>
8326
8327         * BufferView.h:
8328         * BufferView.C:
8329         * BufferView_pimpl.C:
8330         * lfuns.h:
8331         * LyXAction.C:
8332         * lyxtext.h:
8333         * text2.C: remove layout-copy/paste (bug 778)
8334
8335 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8336
8337         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8338
8339 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8340
8341         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8342         if they succeed. Act accordingly.
8343
8344 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8345
8346         * text2.C (setCharFont): adjust
8347         (setCounter): adjust
8348         (insertStringAsLines): adjust
8349
8350         * text.C (leftMargin): adjust
8351         (setHeightOfRow): adjust
8352
8353         * rowpainter.C (paintFirst): adjust
8354         (paintLast): adjust
8355
8356         * paragraph_funcs.C (depthHook): ParagraphList::iterators
8357         (outerHook): ditto
8358         (isFirstInSequence): ditto
8359         (getEndLabel): ditto
8360         (outerFont): adjust
8361
8362         * paragraph.C (getParLanguage): comment out some hard stuff.
8363
8364         * buffer.C (insertStringAsLines): take a ParagraphList as arg
8365         (sgmlError): ditto
8366         (simpleDocBookOnePar): ditto
8367         (makeDocBookFile): use ParagraphList::iterator
8368
8369         * CutAndPaste.C (pasteSelection): adjust
8370
8371 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8372
8373         * text2.C (getFont): adjust
8374         (getLayoutFont): adjust
8375         (getLabelFont): adjust
8376
8377         * paragraph_funcs.C (TeXOnePar): adjust
8378
8379         * buffer.C (simpleLinuxDocOnePar): adjust
8380         (simpleDocBookOnePar): adjust
8381
8382         * CutAndPaste.C (pasteSelection): adjust
8383
8384         * BufferView.C (getEncoding): adjust
8385
8386         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8387
8388 2003-04-16  John Levon  <levon@movementarian.org>
8389
8390         * lyxfind.C: use parlist stuff for search/changes
8391
8392 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8393
8394         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8395
8396         * text2.C (deleteEmptyParagraphMechanism): adjust
8397
8398         * text2.[Ch] (ownerParagraph): delete func (both of them
8399
8400 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8401
8402         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8403
8404 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8405
8406         * ParagraphList.C: prepare for NO_NEXT
8407
8408 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8409
8410         * text2.C (getFont): adjust
8411         (getLayoutFont): adjust
8412         (getLabelFont): adjust
8413
8414         * paragraph.C (getFont): adjust
8415         (getLabelFont): adjust
8416         (getLayoutFont): adjust
8417
8418         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8419
8420 2003-04-15  John Levon  <levon@movementarian.org>
8421
8422         From Angus Leeming
8423
8424         * lyx_main.C: handle Include in .ui files
8425
8426 2003-04-15  John Levon  <levon@movementarian.org>
8427
8428         * MenuBackend.C: make the doc files length shorter
8429
8430         * ToolbarBackend.h:
8431         * ToolbarBackend.C: handle toolbar placement flags,
8432         Minibuffer
8433
8434 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8435
8436         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8437         adjust
8438
8439         * paragraph_funcs.C (TeXOnePar): adjust
8440
8441         * paragraph.C (getLabelFont): add outerfont arg, adjust
8442         (getLayoutFont): ditto
8443         (simpleTeXOnePar): adjust
8444
8445         * paragraph_pimpl.C (realizeFont): delete func
8446
8447 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
8448
8449         * text2.C (beforeFullRowInset): added a bad getchar check, removed
8450         row argument, constify cur argument.
8451
8452 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8453
8454         * text2.C (getFont): adjust
8455         (getLayoutFont): adjust
8456         (getLabelFont): adjust
8457
8458         * paragraph_funcs.C (TeXOnePar): adjust
8459         (outerFont): new func...
8460         (realizeFont): ...moved out from here, changed this to facilitate
8461         transition
8462
8463         * paragraph.C (getFont): take outerfont as arg, adjust
8464         (simpleTeXOnePar): add outerfont arg, adjust
8465
8466         * buffer.C (simpleLinuxDocOnePar): adjust
8467         (simpleDocBookOnePar): adjust
8468
8469         * CutAndPaste.C (pasteSelection): adjust
8470
8471         * BufferView.C (getEncoding): adjust
8472
8473 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8474
8475         * text2.C (setCharFont): adjust
8476         (setCounter): adjust
8477
8478         * text.C (leftMargin): adjust
8479         (setHeightOfRow): adjust
8480
8481         * rowpainter.C (paintFirst): adjust
8482         (paintLast): adjust
8483
8484         * paragraph_pimpl.C (realizeFont): adjust
8485
8486         * paragraph.C (isFirstInSequence): move from here...
8487         * paragraph_funcs.C (isFirstInSequence): ...to here
8488
8489         * paragraph.C (outerHook): move from here...
8490         * paragraph_funcs.C (outerHook): ...to here
8491
8492         * paragraph.C (depthHook): move from here...
8493         * paragraph_funcs.C (depthHook): ...to here
8494
8495         * paragraph.C (getEndLabel): move from here...
8496         * paragraph_funcs.C (getEndLabel): ...to here
8497
8498         * text2.C (realizeFont): move from here...
8499         * paragraph_funcs.C (realizeFont): ...to here
8500
8501 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8502
8503         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8504
8505 2003-04-14  Angus Leeming  <leeming@lyx.org>
8506
8507         * LColor.[Ch]: scrap LColor mathcursor.
8508
8509 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8510
8511         * lyxlex.[Ch] (text): delete function
8512         * trans.C (Load): adjust
8513         * paragraph_funcs.C (readParToken): adjust
8514
8515 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8516
8517         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8518         vector<char> instead of a char[].
8519
8520         * lyxlex_pimpl.C (getString): adjust
8521         (next): adjust
8522         (lex): use getString
8523         (eatLine): adjust
8524         (nextToken): adjust
8525
8526         * lyxlex.C (text): use pimpl_->getString()
8527         (getBool): ditto
8528         (findToken): ditto
8529
8530 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8531
8532         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8533         (makeFontEntriesLayoutSpecific): temp var for par.size()
8534         (setLayout): temp var for ownerParagraphs().end()
8535         (fullRebreak): temp var for rows().end()
8536         (selectionAsString): temp var for boost::next(startpit), realize
8537         that the while really is a regular for loop.
8538         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8539         setCursor in one place.
8540         (setParagraph): temp vr for ownerParagraphs().end()
8541         (updateCounters): make the while loop a for loop
8542         (cutSelection): temp var for ownerParagraphs().end()
8543         (updateInset): make the do {} while() a regular for loop
8544         (getCursorX): use temp vars
8545         (setCurrentFont): use temp vars
8546         (getColumnNearX): use temp vars
8547
8548 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8549
8550         * text.C (transformChar): use temp var for getChar
8551         (computeBidiTables): use temp var for row->par()
8552         (fill): move temp vars for row->par() and pit->layout() earlier in
8553         the function.
8554         (labelFill): use temp var for row->par()
8555         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8556         asc and desc, realize that pit never changes and that firstpit is
8557         just a duplicate and not needed. Exchange rit->par() with pit in a
8558         lot of places.
8559         (breakAgain): use a temp var for boost::next(rit)
8560         (breakAgainOneRow): ditto
8561         (breakParagraph): use a temp var for rows().begin()
8562         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8563         (cursorRightOneWord): use temp var for cursor.par() and
8564         cursor.pos(), remove usage of tmpcursor.
8565         (cursorLeftOneWord): use temp var for cursor.par() and
8566         cursor.pos() only set cur at end of function.
8567
8568 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8569
8570         * text.C, text2.C: exchange all usage of Paragraph::next with
8571         boost::next(ParagraphList::iterator)
8572
8573         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8574
8575         * text2.C (cursorTop): simplify implementation
8576         (cursorBottom): ditto
8577         (setParagraph): use ParagraphList::iterator
8578         (setCurrentFont): adjust
8579         (getColumnNearX): adjust
8580         (cursorRight): adjust
8581         (cursorLeft): remove usage of Paragraph::previous
8582         (cursorUpParagraph): ditto
8583         (deleteEmptyParagraphMechanism): slight cleanup
8584
8585         * text.C (isBoundary): take a Paragraph const & instead of a
8586         pointer as arg.
8587         (addressBreakPoint): ditto
8588         (leftMargin): remove usage of Paragraph::previous.
8589         (setHeightOfRow): ditto
8590         (cursorLeftOneWord): ditto
8591         (selectNextWordToSpellcheck): ditto
8592         (Delete): ditto
8593         (backspace): ditto
8594         (breakParagraph): remove one usage of Paragraph::next
8595         (redoParagraph): ditto
8596         (acceptChange): ditto
8597         (insertChar): adjust
8598         (rowBreakPoint): adjust
8599
8600         * bufferview_funcs.C (toggleAndShow): adjust
8601
8602 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
8603
8604         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8605         methods to access it.
8606         * lyxtext.h:
8607         * text.C: Added updateRowPositions to compute all row positions.
8608         Make top_y and getRowNearY() to use the cached y position
8609
8610 2003-04-11  John Levon  <levon@movementarian.org>
8611
8612         * text.C (rowBreakPoint): reintroduce the labelEnd
8613         checks, code copied from the row fill stuff. Deep voodoo.
8614
8615         * text.C (fill): add a comment and debugging for the
8616         next poor soul.
8617
8618 2003-04-11  John Levon  <levon@movementarian.org>
8619
8620         * text.C: make sure fullrow insets get wrapped to the next line,
8621         even when they're in a manual label
8622
8623 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8624
8625         * text2.C (insertParagraph): make it take ParagraphList::iterator
8626         as arg.
8627         (setLayout): make it return ParagraphList::iterator
8628         (redoParagraphs): ditto
8629         (setCounter): ditto
8630         (checkParagraph): ditto
8631
8632         * text.C (getRow): make getrow take ParagraphList::iterator as arg
8633
8634         * text2.C: adjust several funcs.
8635         (realizeFont): take a ParagraphList::iterator as arg.
8636         (getLayoutFont): ditto
8637         (getLabelFont): ditto
8638         (setCharFont): ditto
8639
8640         * text.C: adjust several funcs.
8641
8642 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8643
8644         * text.C (selectNextWordToSpellcheck): don't accidentally
8645         skip insets
8646
8647 2003-04-10  John Levon  <levon@movementarian.org>
8648
8649         * ToolbarBackend.C (getIcon): special handling for
8650         LFUN_MATH_DELIM
8651
8652 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8653
8654         * text2.C (cursorRight): a getChar assert fixed
8655
8656 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8657
8658         * text2.C (getFont): change to take a ParagraphList::iterator
8659         instead of Paragraph*
8660         Adjust several functions.
8661
8662         * text.C (transformChar): change to take a ParagraphList::iterator
8663         instead of Paragraph*
8664         (singleWidth): ditto
8665         Adjust several functions.
8666
8667         * rowpainter.C: adjust several functions
8668         * rowpainter.h:store a ParagraphList::iterator and not a
8669         Paragraph&.
8670
8671
8672 2003-04-09  John Levon  <levon@movementarian.org>
8673
8674         * lyxfunc.C:
8675         * lfuns.h:
8676         * LyXAction.h:
8677         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8678         and the "help" bits as well
8679
8680 2003-04-09  John Levon  <levon@movementarian.org>
8681
8682         * ToolbarBackend.h:
8683         * ToolbarBackend.C: allow multiple toolbars
8684
8685 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8686
8687         * undo_funcs.C (setCursorParUndo): adjust
8688
8689         * text_funcs.C (transposeChars): adjust
8690
8691         * text3.C (gotoNextInset): adjust
8692         (dispatch): adjust
8693
8694         * text2.C (setLayout): adjust
8695         (changeDepth): adjust
8696         (setFont): adjust
8697         (redoParagraphs): adjust
8698         (selectionAsString): adjust
8699         (setParagraph): adjust
8700         (insertInset): adjust
8701         (cutSelection): adjust
8702         (copySelection): adjust
8703         (pasteSelection): adjust
8704         (insertStringAsLines): adjust
8705         (updateInset): adjust
8706         (setCursor): change to take a ParagraphList::iterator parameter
8707         (setCursorIntern): change to take a ParagraphList::iterator parameter
8708         (setCurrentFont): adjust
8709         (cursorLeft): adjust
8710         (cursorRight): adjust
8711         (deleteEmptyParagraphMechanism): adjust
8712
8713         * text.C (breakParagraph): adjust
8714         (insertChar): adjust
8715         (acceptChange): adjust
8716         (rejectChange): adjust
8717         (selectNextWordToSpellcheck): adjust
8718         (changeCase): adjust
8719         (Delete): adjust
8720         (backspace): adjust
8721
8722         * lyxfind.C (SearchForward): adjust
8723         (SearchBackward): adjust
8724         (nextChange): adjust
8725
8726         * lyxcursor.C (par): adjust
8727
8728         * lyxcursor.h: store a ParagraphList::iterator instead of a
8729         Paragraph*
8730
8731         * lyx_cb.C (getPossibleLabel): adjust
8732
8733         * bufferview_funcs.C (toggleAndShow): adjust
8734
8735         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8736         (dispatch): adjust
8737
8738         * BufferView.C (removeAutoInsets): adjust
8739         (lockedInsetStoreUndo): adjust
8740
8741 2003-04-09  John Levon  <levon@movementarian.org>
8742
8743         * ToolbarBackend.C: try icon without argument
8744         if with argument fails
8745
8746 2003-04-08  John Levon  <levon@movementarian.org>
8747
8748         * ToolbarBackend.h:
8749         * ToolbarBackend.C: add getIcon(), handle tooltip,
8750         and change from "Icon" to "Item".
8751
8752 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8753
8754         * BufferView.C (lockInset): another bad getchar crunched
8755
8756 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8757
8758         * text2.C (changeDepth): do not setUndo on test_only (make undo work
8759         again)
8760
8761 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
8762
8763         * lyxfind.C (searchForward, searchBackwards): bug 782
8764
8765 2003-04-07  John Levon  <levon@movementarian.org>
8766
8767         * paragraph.C: remove dead comment
8768
8769         * text.C: remove troublesome depth-fiddling code
8770         in leftMargin() and rightMargin() (bug 1017)
8771
8772         * text.C: fix breaking of rows in nested lists
8773         (bug 1004)
8774
8775         * text2.C (updateCounters): fix up depth values
8776         (bug 1013)
8777
8778 2003-04-07  John Levon  <levon@movementarian.org>
8779
8780         * BufferView_pimpl.C: clear message when doc finishes resizing,
8781         and after a mouse event
8782
8783         * lyxfunc.C: clear message after exiting inset
8784
8785 2003-04-07  John Levon  <levon@movementarian.org>
8786
8787         * bufferview_funcs.C: show math status not outside
8788         status in the statusbar
8789
8790 2003-04-07  John Levon  <levon@movementarian.org>
8791
8792         * lyxfunc.C: note status changed after a depth change
8793
8794 2003-04-04  Angus Leeming  <leeming@lyx.org>
8795
8796         * LaTeX.h: move AuxInfo operator==, != out of line.
8797         Remove LaTeX virtual destructor; nothing derives from it.
8798         Move operator()() out of public area and rename it startscript().
8799         Change protected for private.
8800
8801 2003-04-04  Angus Leeming  <leeming@lyx.org>
8802
8803         * lyxfunc.C:
8804         * text2.C: remove unneeded #includes.
8805
8806 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8807
8808         * text2.C (dEPM): fix the heigth of the next row
8809
8810 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8811
8812         * text.C: squashed an invalid getChar requester + some ws changes
8813
8814 2003-04-03  John Levon  <levon@movementarian.org>
8815
8816         * bufferview_funcs.h:
8817         * bufferview_funcs.C:
8818         * lyxfunc.C:
8819         * lyxtext.h:
8820         * text2.C: make getStatus work for the env depth lfuns
8821
8822 2003-04-03  John Levon  <levon@movementarian.org>
8823
8824         * bufferview_funcs.h:
8825         * bufferview_funcs.C:
8826         * lyxfunc.C:
8827         * lyxtext.h:
8828         * text2.C: parlistize decDepth(), by merging it with incDepth()
8829
8830 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8831
8832         * lyxrow.h: store a ParagraphList::iterator instead of a
8833         Paragraph* and adjust other class functions to suit.
8834
8835         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8836         above.
8837
8838 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8839
8840         * text2.C (setCursor): do not anchor to cursor row for the time being
8841
8842 2003-04-02  John Levon  <levon@movementarian.org>
8843
8844         * LyXAction.C:
8845         * lfuns.h:
8846         * lyx_main.C:
8847         * lyxtext.h:
8848         * text.C:
8849         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8850
8851 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8852
8853         * paragraph.h: make ParagraphList and ParagraphList::iterator
8854         friends of Paragraph.
8855
8856         * buffer.C (makeLinuxDocFile): move towards ParagraphList
8857
8858         * ParagraphList.C: Use the private next_ and previous_ from
8859         Paragraph.
8860
8861 2003-04-01  John Levon  <levon@movementarian.org>
8862
8863         * ToolbarBackend.h:
8864         * ToolbarBackend.C:
8865         * Makefile.am: rename, remove defaults gunk
8866
8867         * MenuBackend.h:
8868         * MenuBackend.C: remove defaults gunk
8869
8870         * Languages.h:
8871         * Languages.C: remove defaults gunk
8872
8873         * lyx_main.h:
8874         * lyx_main.C: error out if files couldn't be found.
8875
8876 2003-04-02  John Levon  <levon@movementarian.org>
8877
8878         * text2.C: make incDepth() use parlist
8879
8880 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8881
8882         * undo_funcs.C (firstUndoParagraph): adjust
8883
8884         * text3.C (gotoInset): adjust
8885         (dispatch): adjust, and rewrite loop.
8886
8887         * text2.C (init): adjust, and rewrite loop.
8888         (redoParagraphs): adjust
8889         (updateInset): adjust, and rewrite loop.
8890         (deleteEmptyParagraphMechanism): adjust
8891
8892         * tabular.C (LyXTabular): adjust
8893         (SetMultiColumn): adjust
8894         (TeXRow): adjust
8895
8896         * lyxtext.[Ch] (ownerParagraph): delete function
8897         (ownerParagraphs): new function returns a ParagraphList.
8898
8899         * BufferView.C (removeAutoInsets): adjust
8900         (insertErrors): adjust
8901         (setCursorFromRow): adjust
8902
8903 2003-04-01  Angus Leeming  <leeming@lyx.org>
8904
8905         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8906         in the frontends.
8907
8908 2003-04-02  John Levon  <levon@movementarian.org>
8909
8910         * lyxtext.h:
8911         * text.C:
8912         * Makefile.am:
8913         * text_funcs.h:
8914         * text_funcs.C: make transposeChars a free function
8915
8916         * lyxrow_funcs.C: remove wrong comment
8917
8918 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8919
8920         * lyxtext.h: adjust
8921         * rowpainter.C: adjust
8922         * text.C: adjust
8923         * text2.C: adjust
8924         * text3.C: adjust
8925
8926         * lyxrow_funcs. [Ch]: new files
8927
8928         * lyxrow.[Ch]: remove next and previous pointers
8929         (next,previous): remove accessor functions
8930         (isParEnd): move to lyxrow_funcs
8931         (lastPos): move to lyxrow_funcs
8932         (nextRowIsAllInset): move to lyxrow_funcs
8933         (lastPrintablePos): move to lyxrow_funcs
8934         (numberOfSeparators): move to lyxrow_funcs
8935         (numberOfHfills): move to lyxrow_funcs
8936         (numberOfLabelHfills): move to lyxrow_funcs
8937         (hfillExpansion): move to lyxrow_funcs
8938
8939         * lyxfunc.C: adjust
8940
8941         * bufferview_funcs.C (toggleAndShow): adjust
8942
8943         * RowList.h: Remove class RowList from file leave just a
8944         std::list<Row>.
8945
8946         * RowList.C: delete file
8947
8948         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8949         and lyxrow_funcs.h
8950
8951 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8952
8953         * text3.C (cursorPrevious): adjust
8954         (cursorNext): adjust
8955         (dispatch): adjust
8956
8957         * text2.C (redoHeightOfParagraph): adjust
8958         (redoDrawingOfParagraph): adjust
8959         (setCursor): adjust
8960
8961         * text.C (breakParagraph): adjust
8962         (insertChar): adjust
8963         (backspace): adjust
8964
8965         * rowpainter.C (RowPainter): adjust
8966         (leftMargin): simplify and adjust
8967         (most rowpainter functions): adjust.
8968
8969         * rowpainter.h: store the row as RowList::iterator not as Row*
8970
8971         * lyxcursor.C (row): taka RowList::iterator as arg
8972         (irow): ditto
8973
8974         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8975         of Row*.
8976
8977 2003-04-01  Angus Leeming  <leeming@lyx.org>
8978
8979         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8980         stuff like bool Bool.
8981
8982 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8983
8984         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8985         rewrite a loop
8986
8987 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8988
8989         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8990         RowList::iterator.
8991
8992         * lyxtext.h (rows): drop one version and leve a const variant that
8993         returns a RowList::iterator.
8994
8995 2003-03-31  Angus Leeming  <leeming@lyx.org>
8996
8997         * text.C (fill): ensure that the signature is the same as that in the
8998         header file.
8999
9000 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
9001
9002         * text2.C (redoParagraphs): adjust
9003         (updateCounters): adjust
9004         (checkParagraph): adjust
9005         (getColumnNearX): adjust and reformat a bit.
9006
9007         * text.C (top_y): adjust
9008         (workWidth): adjust
9009         (leftMargin): adjust
9010         (prepareToPrint): adjust
9011         (getRow): adjust
9012         (getRowNearY): adjust
9013
9014         * lyxtext.h: make rowlist_ mutable.
9015
9016         * RowList.h: add const_iterator
9017         * RowList.C: adjust for RowList::const_iterator.
9018
9019         * text2.C (getCursorX): make it take a RowList::iterator as arg,
9020         adjust.
9021
9022 2003-03-31  John Levon  <levon@movementarian.org>
9023
9024         * lyxrc.h:
9025         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
9026
9027         * lyx_main.C: set default fonts from using lyx_gui funcs
9028
9029         * exporter.C: pdf_mode moved from lyxrc
9030
9031         * lyx_cb.C:
9032         * lyxfunc.C: changes from above
9033
9034 2003-03-31  John Levon  <levon@movementarian.org>
9035
9036         * lyx_main.C: fix to the last fix
9037
9038 2003-03-31  John Levon  <levon@movementarian.org>
9039
9040         * bufferlist.C: "Load original" -> "Load Original"
9041
9042         * converter.C:
9043         * exporter.C:
9044         * importer.C:
9045         * lyx_main.C:
9046         * format.C: more Alert cleanups
9047
9048 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
9049
9050         * text2.C (removeParagraph): make it take a RowList::iterator as
9051         arg, adjust.
9052         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
9053         (postRowPaint): make it take a RowList::iterator as arg, adjust.
9054
9055         * text.C (anchor_row): make it take a RowList::iterator as arg,
9056         adjust.
9057         (computeBidiTables): make it take a const reference to Row instead
9058         of Row pointer, adjust.
9059         (leftMargin): make it take a RowList::iterator as arg, adjust.
9060         (rowBreakPoint): adjust
9061         (breakAgainOneRow): make it take a RowList::iterator as arg,
9062         adjust.
9063         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
9064
9065         * bufferview_funcs.C (toggleAndShow): adjust
9066
9067 2003-03-30  John Levon  <levon@movementarian.org>
9068
9069         * Makefile.am:
9070         * BoostFormat.h:
9071         * boost-inst.C: moved to support
9072
9073         * several files: changes as a result
9074
9075 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
9076
9077         * text2.C (LyXText): adjust.
9078         (init): adjust
9079         (removeRow): make it take a RowList::iterator as arg, adjust.
9080         (fullRebreak): adjust
9081         (deleteEmptyParagraphMechanism): adjust
9082         (clearPaint): adjust
9083         (postPaint): adjust
9084
9085         * text.C (top_y): adjust
9086         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
9087         (breakAgain): make it take a RowList::iterator as arg, adjust.
9088         (breakParagraph): adjust
9089         (insertChar): adjust
9090         (backspace): adjust
9091
9092         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
9093         need_break_row, and refresh_row.
9094
9095         * text3.C (dispatch): adjust
9096
9097         * text2.C (checkParagraph): adjust
9098         (setCursor): adjust
9099         (setCursorFromCoordinates): adjust
9100
9101         * text.C (top_y): adjust
9102         (workWidth): adjust
9103         (getRow): make it return a RowList::iterator, adjust
9104         (getRowNearY): make it return a RowList::iterator, adjust
9105
9106         * text2.C (init): adjust
9107         (insertRow): remove function
9108         (insertParagraph): adjust
9109         (redoParagraphs): adjust
9110         (fullRebreak): adjust
9111         (updateCounters): adjust
9112
9113         * text.C (top_y): rewrite to use RowList iterators.
9114         (top_y): adjust
9115         (setHeightOfRow): rewrite to sue RowList iterators.
9116         (appendParagraph): adjust
9117         (breakAgain): adjust
9118         (breakAgainOneRow): adjust
9119         (breakParagraph): adjust
9120         (getRow): adjust
9121         (getRowNearY): adjust, and remove commented code.
9122
9123         * lyxtext.h (firstRow): delete function
9124         (lastRow): delete function
9125         (rows): new function (const and non-const versions.)
9126         (insertRow): delete function
9127
9128         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
9129
9130 2003-03-29  John Levon  <levon@movementarian.org>
9131
9132         * BufferView_pimpl.C: always update scrollbar top
9133         because pasting text when we're anchored could mean we
9134         miss an update altogether
9135
9136 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9137
9138         * text2.C (init): use rowlist_.end() and not 0.
9139         (insertRow): change to take a RowList::iterator as arg, adjust
9140         for this.
9141         (insertParagraph): change to take a RowList::iterator as arg,
9142         adjust for this.
9143         (redoParagraphs): remove some debug msgs.
9144
9145         * text.C (appendParagraph): change to take a RowList::iterator
9146         arg, adjust for this.
9147         (breakAgain): add an assert
9148         (breakAgainOneRow): ditto
9149
9150 2003-03-29  John Levon  <levon@movementarian.org>
9151
9152         * text2.C: do not clear selection after inc/decDepth
9153         (bug 550)
9154
9155 2003-03-29  John Levon  <levon@movementarian.org>
9156
9157         * BufferView.C:
9158         * buffer.C: fix broken strerrors according to Lars
9159
9160 2003-03-29  John Levon  <levon@movementarian.org>
9161
9162         * converters.C: more Alert cleanups
9163
9164 2003-03-29  John Levon  <levon@movementarian.org>
9165
9166         * bufferview_funcs.C: remove pointless Alert
9167
9168         * buffer.C: fix confusing error message when
9169         a template is chmoded 000
9170
9171 2003-03-29  John Levon  <levon@movementarian.org>
9172
9173         * BufferView.C:
9174         * BufferView.h:
9175         * BufferView_pimpl.C: Alert fixes
9176
9177         * Makefile.am:
9178         * tabular.C:
9179         * tabular-old.C: remove unused table compat reading
9180
9181 2003-03-29  John Levon  <levon@movementarian.org>
9182
9183         * BufferView.C:
9184         * buffer.C:
9185         * lyx_cb.h:
9186         * lyx_cb.C: more Alert cleanups
9187
9188         * lyxfunc.C: don't allow chktex if not latex document
9189
9190 2003-03-29  John Levon  <levon@movementarian.org>
9191
9192         * lyx_cb.C:
9193         * BufferView.C:
9194         * buffer.C: warnings pushed down from support/,
9195         kill err_alert
9196
9197 2003-03-29  John Levon  <levon@movementarian.org>
9198
9199         * lyxfunc.C: safety check for C-r (revert)
9200
9201 2003-03-29  John Levon  <levon@movementarian.org>
9202
9203         * bufferlist.h:
9204         * bufferlist.C: several UI fixes using Alert::prompt.
9205         Fix the pointless looping quit code. Fix stupid revert
9206         behaviour (bug 938)
9207
9208         * lyxvc.h:
9209         * lyxvc.C:
9210         * lyx_cb.C: use Alert::prompt
9211
9212         * lyx_main.C: remove a silly question
9213
9214         * lyxfunc.C: remove a couple of silly questions,
9215         use Alert::prompt
9216
9217 2003-03-28  John Levon  <levon@movementarian.org>
9218
9219         * text2.C: fix bug 974 (End on empty par)
9220
9221 2003-03-28  John Levon  <levon@movementarian.org>
9222
9223         * BufferView_pimpl.C:
9224         * LyXAction.C:
9225         * lfuns.h: remove do-nothing math greek lfuns
9226
9227 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9228
9229         * lyxgluelength.h (isValidGlueLength): add default arg on
9230         parameter 2. Remove default arg from friend in class.
9231
9232         * lyxlength.h (isValidLength): add default arg on parameter 2.
9233         Remove default arg from friend in class.
9234
9235         * text2.C (LyXText): adjust, initialize refresh_row.
9236         (init): adjust
9237         (removeRow): adjust
9238         (insertRow): adjust
9239         (insertParagraph): adjst
9240         (redoParagraphs): adjust
9241         (fullRebreak): adjust
9242         (updateCounters): adjust
9243         (deleteEmptyParagraphMechanism): first attempt at fixing a
9244         crashing bug.
9245
9246         * text.C (top_y): adjust
9247         (setHeightOfRow): adjust
9248         (getRow): adjust
9249         (getRowNearY): adjust
9250
9251         * lyxtext.h: include RowList.h
9252         (~LyXText): not needed anymore, deleted.
9253         (firstRow): modify for RowList
9254         (lastRow): new function
9255         Delete firstrow and lastrow class variables, add a Rowlist
9256         rowlist_ class variable.
9257
9258         * lyxrow.C (lastPos): use empty() and not !size() to check if a
9259         paragraph is empty.
9260
9261         * RowList.C (insert): fix case where it == begin().
9262
9263 2003-03-26  Angus Leeming  <leeming@lyx.org>
9264
9265         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9266         the thesaurus dialog.
9267
9268 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
9269
9270         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9271
9272         * RowList.[Ch]: new files
9273
9274         * ParagraphList.C (erase): handle the case where it == begin
9275         correctly.
9276
9277 2003-03-25  John Levon  <levon@movementarian.org>
9278
9279         * Makefile.am:
9280         * aspell_local.h:
9281         * aspell.C: add new aspell support
9282
9283         * lyxrc.h:
9284         * lyxrc.C: Make use_pspell be use_spell_lib. Always
9285         have it accessible.
9286
9287 2003-03-25  Angus Leeming  <leeming@lyx.org>
9288
9289         * lfuns.h:
9290         * LyXAction.C (init): new LFUN_INSET_INSERT.
9291
9292         * BufferView_pimpl.C (dispatch): split out part of the
9293         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9294
9295         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9296         LFUN_INSET_APPLY.
9297
9298 2003-03-25  Angus Leeming  <leeming@lyx.org>
9299
9300         * lyxfunc.C (dispatch): changes to the Dialogs interface.
9301
9302 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
9303
9304         * text2.C:
9305         * text3.C: remove useless row->height(0)
9306
9307 2003-03-25  John Levon  <levon@movementarian.org>
9308
9309         * lyxtext.h:
9310         * text2.C:
9311         * text3.C: rename the refreshing stuff to better names
9312
9313 2003-03-24  John Levon  <levon@movementarian.org>
9314
9315         * BufferView_pimpl.h:
9316         * BufferView_pimpl.C: update layout choice on a mouse
9317         press/release
9318
9319 2003-03-23  John Levon  <levon@movementarian.org>
9320
9321         * Makefile.am: fix commandtags.h reference
9322
9323 2003-03-22  John Levon  <levon@movementarian.org>
9324
9325         * BufferView_pimpl.C:
9326         * lyxtext.h:
9327         * rowpainter.C:
9328         * rowpainter.h:
9329         * text.C:
9330         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9331
9332 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
9333
9334         * lyxtext.h:
9335         * text.C: take the rtl methods out of line
9336
9337 2003-03-21 André Pönitz <poenitz@gmx.net>
9338
9339         * metricsinfo.[Ch]: new files containing structures to be passed around
9340         during the two-phase-drawing...
9341
9342 2003-03-21 André Pönitz <poenitz@gmx.net>
9343
9344         * lyxtextclass.C: read 'environment' tag.
9345
9346 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
9347
9348         * text2.C (removeRow): fix bug 964
9349
9350 2003-03-20  John Levon  <levon@movementarian.org>
9351
9352         * rowpainter.C:
9353         * text.C:
9354         * text2.C: paint cleanups. Inset::update() dropped font
9355         parameter
9356
9357 2003-03-19  John Levon  <levon@movementarian.org>
9358
9359         * lyxfunc.C: only fitcursor/markDirty if available()
9360
9361 2003-03-19  John Levon  <levon@movementarian.org>
9362
9363         * commandtags.h: rename to ...
9364
9365         * lfuns.h: ... this, and renumber / cleanup
9366
9367 2003-03-19  John Levon  <levon@movementarian.org>
9368
9369         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9370         fit the cursor after an lfun
9371
9372         * BufferView.h:
9373         * BufferView.C:
9374         * BufferView_pimpl.h:
9375         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9376
9377         * LyXAction.C: layout-character should have ReadOnly
9378
9379         * ParagraphParameters.C:
9380         * buffer.C:
9381         * bufferview_funcs.C:
9382         * lyx_cb.C:
9383         * lyxfind.C:
9384         * lyxtext.h:
9385         * text.C:
9386         * text2.C:
9387         * text3.C:
9388         * undo_funcs.C: changes from above
9389
9390 2003-03-18  John Levon  <levon@movementarian.org>
9391
9392         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9393         remove it from update()
9394
9395         * lyxfunc.C: update layout choice after an lfun
9396
9397         * text3.C: remove extra updateLayoutChoice()s
9398
9399 2003-03-18  John Levon  <levon@movementarian.org>
9400
9401         * text.C: top_y change means full repaint, fix
9402         a drawing bug with cursor movement
9403
9404 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9405
9406         * lyxtext.h:
9407         * text.C:
9408         * text2.C: anchor row on setCursor
9409
9410 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9411
9412         * lyxtext.h: remove almost all mutable keywords
9413         * text.C:
9414         * text2.C:
9415         * text3.C: remove const keywords accordingly
9416
9417 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9418
9419         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9420         anon namespace
9421         (TeXEnvironment): ditto
9422         (TeXOnePar): ditto
9423
9424 2003-03-17  John Levon  <levon@movementarian.org>
9425
9426         * text.C (rowBreakPoint): remove attempt to fix displayed
9427         math insets inside a manual label
9428
9429 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9430
9431         * lyxtext.h: remove BufferView* as first arg from almost all class
9432         functions.
9433         * other files: adjust.
9434
9435 2003-03-17  John Levon  <levon@movementarian.org>
9436
9437         * lyxtext.h:
9438         * undo_funcs.C:
9439         * text2.C: more paint cleanups
9440
9441         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9442
9443         * rowpainter.h:
9444         * rowpainter.C: remove "smart" background painting code
9445
9446 2003-03-16  John Levon  <levon@movementarian.org>
9447
9448         * lyxtext.h:
9449         * text.C:
9450         * text2.C:
9451         * text3.C: add helper functions for setting refresh_row/y
9452
9453 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
9454
9455         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9456         newline inset which *can* get inserted in the pass_thru layouts.
9457         This is primarily for literate documents.
9458
9459 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
9460
9461         * buffer.C: increment LYX_FORMAT to 223
9462
9463 2003-03-14 André Pönitz <poenitz@gmx.net>
9464
9465         * textclass.h: prepare for environment handling, ws changes
9466         * lyxlayout.C: read latexheader and latexfooter tags
9467
9468 2003-03-14  John Levon  <levon@movementarian.org>
9469
9470         * text2.C: rewrite ::status() a bit
9471
9472 2003-03-13  John Levon  <levon@movementarian.org>
9473
9474         * lyxtext.h: add some docs
9475
9476 2003-03-13  John Levon  <levon@movementarian.org>
9477
9478         * lyxtext.h:
9479         * text.C:
9480         * text2.C:
9481         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9482
9483 2003-03-13  John Levon  <levon@movementarian.org>
9484
9485         * text3.C: fix appendix redrawing
9486
9487 2003-03-13  John Levon  <levon@movementarian.org>
9488
9489         * text.C (setHeightOfRow):
9490         * rowpainter.h:
9491         * rowpainter.C: make appendix mark have the text
9492           "Appendix" so the user knows what it is
9493
9494         * LColor.h:
9495         * LColor.C: s/appendixline/appendix/ from above
9496
9497 2003-03-13  John Levon  <levon@movementarian.org>
9498
9499         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9500
9501         * text.C: fix a getChar(pos) bug properly
9502
9503 2003-03-13  Angus Leeming  <leeming@lyx.org>
9504
9505         * commandtags.h:
9506         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9507         Probably only temporary. Let's see how things pan out.
9508
9509         * BufferView.C (unlockInset):
9510         * BufferView_pimpl.C (fitCursor):
9511         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9512
9513         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9514         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9515
9516         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9517         new functions that convert ParagraphParameters to and from a string.
9518
9519         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9520         BufferView::Pimpl's dispatch.
9521         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9522
9523 2003-03-13 André Pönitz <poenitz@gmx.net>
9524
9525         * lyxfunc.C:
9526         * text3.C:
9527         * factory.C: make it aware of InsetEnv
9528
9529 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
9530
9531         * text2.C (setCursor): never ask for one past last
9532         (setCursor): add some debugging messages.
9533
9534         * text.C (singleWidth): never ask for one past last
9535         (singleWidth): ditto
9536         (leftMargin): ditto
9537         (rightMargin): ditto
9538         (rowBreakPoint): ditto
9539         (setHeightOfRow): ditto
9540         (prepareToPrint): ditto
9541
9542         * rowpainter.C (paintBackground): never ask for one past last
9543         (paintText): never ask for one past last
9544
9545         * paragraph_pimpl.C (getChar): make the assert stricter, never
9546         allow the one past last pos to be taken
9547
9548         * paragraph.C (getChar): ws changes only
9549
9550         * lyxrow.C (nextRowIsAllInset): never ask for one past last
9551         (numberOfSeparators): ditto
9552         (numberOfHfills): ditto
9553
9554 2003-03-12  John Levon  <levon@movementarian.org>
9555
9556         * author.h:
9557         * author.C:
9558         * bufferparams.h:
9559         * bufferparams.C:
9560         * paragraph_funcs.C: fix per-buffer authorlists
9561
9562 2003-03-12  John Levon  <levon@movementarian.org>
9563
9564         * text.C: fix newline in right address
9565
9566 2003-03-12  Angus Leeming  <leeming@lyx.org>
9567
9568         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9569         duplicate those in LyXFunc::dispatch.
9570
9571         * commandtags.h:
9572         * LyXAction.C:
9573         * ToolbarDefaults.C:
9574         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9575         Add LFUN_FONTFREE_UPDATE.
9576
9577         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9578         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9579
9580         * bufferview_func.[Ch]: several new functions to facilliate
9581         transfer of data to and from the character dialog.
9582
9583 2003-03-12  John Levon  <levon@movementarian.org>
9584
9585         * buffer.C:
9586         * paragraph.h:
9587         * paragraph.C:
9588         * paragraph_funcs.C:
9589         * paragraph_pimpl.C:
9590         * sgml.C:
9591         * tabular.C:
9592         * text.C:
9593         * text3.C: remove META_NEWLINE in favour of an inset
9594
9595         * rowpainter.h:
9596         * rowpainter.C: remove paintNewline (done by inset)
9597
9598 2003-03-12  John Levon  <levon@movementarian.org>
9599
9600         * paragraph_pimpl.C: complain about bad getChar()s
9601         for a while at least
9602
9603 2003-03-12  John Levon  <levon@movementarian.org>
9604
9605         * buffer.h:
9606         * buffer.C: move paragraph read into a separate function,
9607         a little renaming to reflect that.
9608
9609         * bufferparams.h:
9610         * bufferparams.C: remove the author_ids map, not necessary now
9611
9612         * factory.h:
9613         * factory.C: moved Buffer::readInset to here
9614
9615         * paragraph_funcs.h:
9616         * paragraph_funcs.C: readParagraph free function moved from
9617         buffer.C
9618
9619         * tabular.C: name change
9620
9621 2003-03-12  John Levon  <levon@movementarian.org>
9622
9623         * buffer.C:
9624         * ParagraphParameters.C: move par params input to
9625         a read() method
9626
9627         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9628         behave like a normal read from the stream wrt reading
9629         a line vs. a \\token
9630
9631 2003-03-12  John Levon  <levon@movementarian.org>
9632
9633         * paragraph.C:
9634         * ParagraphParameters.h:
9635         * ParagraphParameters.C: move output code to a
9636         ::write() method
9637
9638 2003-03-12  John Levon  <levon@movementarian.org>
9639
9640         * BufferView.C (insertLyXFile):
9641         * buffer.h:
9642         * buffer.C:
9643         * tabular.C: use a parlist iterator for creating the
9644           document.
9645
9646 2003-03-12  John Levon  <levon@movementarian.org>
9647
9648         * buffer.C: make current_change static local not
9649           static file-scope
9650
9651 2003-03-12  John Levon  <levon@movementarian.org>
9652
9653         * buffer.C: fix insertStringAsLines for change tracking
9654
9655 2003-03-12  John Levon  <levon@movementarian.org>
9656
9657         * BufferView.C:
9658         * tabular.C:
9659         * buffer.h:
9660         * buffer.C:
9661         * bufferparams.h:
9662         * bufferparams.C: move author list into params. Rename some
9663           functions. Move the header reading into a separate token
9664           loop. Move the header token reading into BufferParams.
9665
9666 2003-03-12  John Levon  <levon@movementarian.org>
9667
9668         * changes.C: put debug inside lyxerr.debugging() checks
9669
9670 2003-03-11 André Pönitz <poenitz@gmx.net>
9671
9672         * factory.C: make it aware of InsetHFill
9673
9674 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9675
9676         * buffer.C (latexParagraphs): move function from here...
9677         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9678         args.
9679
9680 2003-03-10  Angus Leeming  <leeming@lyx.org>
9681
9682         * LyXAction.C (init): fix bug in poplating array with multiple entries
9683         with the same LFUN (spotted by JMarc).
9684
9685 2003-03-10  John Levon  <levon@movementarian.org>
9686
9687         * text.C:
9688         * text2.C: move getColumnNearX() near its
9689         only call site
9690
9691 2003-03-10  John Levon  <levon@movementarian.org>
9692
9693         * text.C: fix break before a minipage
9694
9695 2003-03-10  John Levon  <levon@movementarian.org>
9696
9697         * text.C: fix the last commit
9698
9699 2003-03-09  John Levon  <levon@movementarian.org>
9700
9701         * lyxtext.h:
9702         * text.C:
9703         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9704         bug 365 (don't break before insets unless needed). Don't
9705         return a value > last under any circumstances.
9706
9707 2003-03-09  Angus Leeming  <leeming@lyx.org>
9708
9709         * BufferView_pimpl.C (trackChanges, dispatch): call
9710         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9711
9712 2003-03-09  Angus Leeming  <leeming@lyx.org>
9713
9714         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9715         than Dialogs::showAboutlyx().
9716
9717 2003-03-09  Angus Leeming  <leeming@lyx.org>
9718
9719         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9720         than Dialogs::showTabularCreate().
9721
9722 2003-03-09  John Levon  <levon@movementarian.org>
9723
9724         * lyxtext.h:
9725         * text.C:
9726         * text2.C: 3rd arg to nextBreakPoint was always the same.
9727           Use references.
9728
9729 2003-03-08  John Levon  <levon@movementarian.org>
9730
9731         * lyxrow.C:
9732         * paragraph.C:
9733         * paragraph.h:
9734         * rowpainter.C:
9735         * text.C:
9736         * text2.C: Remove the "main" bit from the "main body"
9737           notion.
9738
9739 2003-03-08  John Levon  <levon@movementarian.org>
9740
9741         * text.C (leftMargin): The left margin of an empty
9742         manual label paragraph should not include the label width
9743         string length.
9744
9745         * text.C (prepareToPrint): don't attempt to measure hfills
9746         for empty manual label paragraphs - the answer should be 0
9747
9748 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9749
9750         * CutAndPaste.C: remove commented code and reindent.
9751
9752 2003-03-08  John Levon  <levon@movementarian.org>
9753
9754         * lyxfunc.h:
9755         * lyxfunc.C: move reloadBuffer()
9756
9757         * BufferView.h:
9758         * BufferView.C: to here
9759
9760         * lyxvc.C: add comment
9761
9762         * vc-backend.h:
9763         * vc-backend.C: call bv->reload() to avoid
9764           getStatus() check on MENURELOAD
9765
9766 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
9767
9768         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9769         to an old format .dep file.
9770
9771 2003-03-07  Angus Leeming  <leeming@lyx.org>
9772
9773         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9774         when the LFUN_MOUSE_RELEASE should have been handled by
9775         inset->localDispatch.
9776
9777 2003-03-07  Angus Leeming  <leeming@lyx.org>
9778
9779         * BufferView_pimpl.C (dispatch):
9780         * LyXAction.C (init):
9781         * ToolbarDefaults.C (init):
9782         * commandtags.h:
9783         * lyxfunc.C (getStatus):
9784         remove LFUN_INSET_GRAPHICS.
9785
9786         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9787
9788 2003-03-07  Angus Leeming  <leeming@lyx.org>
9789
9790         * commandtags.h:
9791         * LyXAction.C (init):
9792         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9793
9794         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9795
9796         * commandtags.h:
9797         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9798
9799         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9800         localDispatch method LFUN_INSET_DIALOG_UPDATE.
9801
9802 2003-03-07  Angus Leeming  <leeming@lyx.org>
9803
9804         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9805         remove "ert".
9806
9807 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9808
9809         * ParagraphList.C (front): new function
9810         (back): implement
9811
9812 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
9813
9814         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9815         and top_row_offset_. removed var first_y.
9816         * text.C (top_y):
9817         * text2.C (LyXText, removeRow):
9818         * text3.C:
9819         * BufferView_pimpl.C:
9820         use these methods instead of using first_y
9821
9822 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9823
9824         * text2.C (pasteSelection): adjust for checkPastePossible
9825
9826         * CutAndPaste.C: remove Paragraph * buf and replace with
9827         ParagraphList paragraphs.
9828         (DeleteBuffer): delete
9829         (cutSelection): change the tc type to textclass_type
9830         (copySelection): change the tc type to textclass_type
9831         (copySelection): adjust for ParagraphList
9832         (pasteSelection): change the tc type to textclass_type
9833         (pasteSelection): adjust for Paragraphlist
9834         (nrOfParagraphs): simplify for ParagraphList
9835         (checkPastePossible): simplify for ParagraphList
9836         (checkPastePossible): remove unused arg
9837
9838         * ParagraphList.C (insert): handle the case where there are no
9839         paragraphs yet.
9840
9841         * CutAndPaste.h: make CutAndPaste a namespace.
9842
9843         * text3.C (dispatch): adjust
9844
9845         * text.C (breakParagraph): add a ParagraphList as arg
9846
9847         * paragraph_funcs.C (breakParagraph): change to take a
9848         BufferParams and a ParagraphList as args.
9849         (breakParagraphConservative): ditto
9850         (mergeParagraph): ditto
9851         (TeXDeeper): add a ParagraphList arg
9852         (TeXEnvironment): ditto
9853         (TeXOnePar): ditto
9854
9855         * buffer.C (readLyXformat2): adjust
9856         (insertStringAsLines): adjust
9857         (latexParagraphs): adjust
9858
9859         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9860         (cutSelection): adjust
9861         (pasteSelection): adjust
9862
9863         * BufferView_pimpl.C (insertInset): adjust
9864
9865 2003-03-05  Angus Leeming  <leeming@lyx.org>
9866
9867         * commandtags.h:
9868         * LyXAction.C (init):
9869         * BufferView_pimpl.C (dispatch):
9870         * lyxfunc.C (getStatus):
9871         remove LFUN_CHILD_INSERT.
9872
9873         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9874
9875 2003-03-05  Angus Leeming  <leeming@lyx.org>
9876
9877         * commandtags.h:
9878         * LyXAction.C (init):
9879         * src/factory.C (createInset):
9880         * lyxfunc.C (getStatus):
9881         * text3.C (dispatch):
9882         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9883
9884         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9885
9886 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9887
9888         * ParagraphList.C (insert): handle insert right before end()
9889         (erase): fix cases where it can be first or last paragraph.
9890
9891 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9892
9893         * paragraph_funcs.C (TeXEnvironment): remove all usage of
9894         Paragraph::next and Paragraph::previous
9895         (TeXOnePar): ditto
9896
9897         * text.C (breakParagraph): adjust
9898
9899         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9900         BufferParams& as arg.
9901         (breakParagraph): use ParagraphList::insert
9902         (breakParagraphConservative): take a Buffer* instead of a
9903         BufferParams& as arg.
9904         (breakParagraphConservative): use ParagraphList::insert.
9905
9906         * buffer.C (insertStringAsLines): un-const it
9907         (insertStringAsLines): adjust
9908
9909         * ParagraphList.C (insert): new function
9910
9911         * CutAndPaste.C (pasteSelection): adjust
9912
9913         * text.C (backspace): adjust
9914
9915         * tabular.C (SetMultiColumn): adjust
9916
9917         * CutAndPaste.C (cutSelection): adjust
9918         (pasteSelection): adjust
9919
9920         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9921         Buffer const * as arg
9922
9923         * ParagraphList.C (erase): new function
9924         * paragraph_funcs.C (mergeParagraph): use it
9925         (mergeParagraph): make it take a Buffer* instead of a
9926         BufferParams* as arg
9927
9928         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9929         as arg
9930         (breakParagraphConservative): ditto
9931
9932         * paragraph.h: remove the breakParagraph friend
9933
9934         * paragraph.C (eraseIntern): new function
9935         (setChange): new function
9936
9937         * paragraph_funcs.C (mergeParagraph): make it take a
9938         ParagraphList::iterator instead of a Paragraph *, adjust
9939         accordingly.
9940
9941         * paragraph.h: move an #endif so that the change tracking stuff
9942         also works in the NO_NEXT case.
9943
9944 2003-03-04  Angus Leeming  <leeming@lyx.org>
9945
9946         * commandtags.h:
9947         * LyXAction.C: new LFUN_INSET_MODIFY.
9948
9949         * BufferView_pimpl.C (dispatch): if an inset is found to be open
9950         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9951
9952 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9953
9954         * several files: ws changes only
9955
9956         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9957         (TeXEnvironment): ditto
9958         (TeXDeeper): ditto
9959
9960         * buffer.C (makeLaTeXFile): adjust
9961         (latexParagraphs): make it take ParagraphList::iterator as args
9962
9963 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9964
9965         * buffer.C (latexParagraphs): adjust
9966
9967         * paragraph.C (TeXOnePar): move function...
9968         (optArgInset): move function...
9969         (TeXEnvironment): move function...
9970         * paragraph_pimpl.C (TeXDeeper): move function...
9971         * paragraph_funcs.C: ...here
9972
9973         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9974
9975 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9976
9977         * buffer.C (readInset): remove compability code for old Figure and
9978         InsetInfo insets
9979
9980 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9981
9982         * buffer.C: ws changes
9983         (readInset):
9984
9985         * BufferView_pimpl.C: ditto
9986         * author.C: ditto
9987         * buffer.h: ditto
9988         * bufferlist.h: ditto
9989         * changes.h: ditto
9990         * lyxfunc.C: ditto
9991
9992 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
9993
9994         * converter.[Ch]: split into itself +
9995         * graph.[Ch]
9996         * format.[Ch]
9997         * Makefile.am: += graph.[Ch] + format.[Ch]
9998         * MenuBackend.C
9999         * buffer.C
10000         * exporter.C
10001         * importer.C
10002         * lyx_main.C
10003         * lyxfunc.C
10004         * lyxrc.C: added #include "format.h"
10005
10006 2003-02-27  Angus Leeming  <leeming@lyx.org>
10007
10008         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
10009           a label.
10010
10011         * factory.C (createInset): add "label" to the factory.
10012
10013         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
10014           string and do no more.
10015
10016 2003-02-27  Angus Leeming  <leeming@lyx.org>
10017
10018         * commandtags.h:
10019         * LyXAction.C (init):
10020         * factory.C (createInset):
10021         * BufferView_pimpl.C (dispatch):
10022           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
10023
10024         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
10025
10026         * lyxfunc.C (dispatch):
10027         * text3.C (dispatch): pass name to params2string.
10028
10029 2003-02-26  Angus Leeming  <leeming@lyx.org>
10030
10031         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
10032           blocks together.
10033           Rearrange the ~includes. Strip out the unnecessary ones.
10034
10035         * factory.C (createInset): reformat.
10036           create new insets for the various LFUN_XYZ_APPLY lfuns.
10037
10038 2003-02-26  John Levon  <levon@movementarian.org>
10039
10040         * lyxrow.h:
10041         * lyxrow.C: add isParStart,isParEnd helpers
10042
10043         * paragraph.h: make isInserted/DeletedText take refs
10044
10045         * paragraph_funcs.h:
10046         * paragraph_funcs.C: remove #if 0'd code
10047
10048         * lyxtext.h:
10049         * text3.C:
10050         * text2.C:
10051         * text.C: use lyxrow helpers above.
10052           Move draw and paint routines to RowPainter.
10053           Make several methods use refs not pointers.
10054           Make backgroundColor() const.
10055           Add markChangeInDraw(), isInInset().
10056           Merge changeRegionCase into changeCase.
10057           Make workWidth() shouldn't-happen code into an Assert.
10058
10059         * rowpainter.h:
10060         * rowpainter.C: new class for painting a row.
10061
10062         * vspace.h:
10063         * vspace.C: make inPixels take a ref
10064
10065 2003-02-26  Angus Leeming  <leeming@lyx.org>
10066
10067         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
10068         LFUN_REF_APPLY.
10069
10070 2003-02-25  John Levon  <levon@movementarian.org>
10071
10072         * ispell.C: give the forked command a more accurate name
10073
10074 2003-02-22  John Levon  <levon@movementarian.org>
10075
10076         * toc.h:
10077         * toc.C: make TocItem store an id not a Paragraph *
10078           (bug #913)
10079
10080 2003-02-21  Angus Leeming  <leeming@lyx.org>
10081
10082         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
10083           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
10084           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
10085           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
10086           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
10087           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
10088
10089         * BufferView_pimpl.C (dispatch):
10090         * LyXAction.C (init):
10091         * factory.C (createInset):
10092         * lyxfunc.C (getStatus, dispatch):
10093         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
10094
10095 2003-02-21  Angus Leeming  <leeming@lyx.org>
10096
10097         * BufferView_pimpl.C (MenuInsertLyXFile):
10098         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
10099         * lyxfunc.C (menuNew, open, doImport):
10100           no longer pass a LyXView & to fileDlg.
10101
10102 2003-02-21  Angus Leeming  <leeming@lyx.org>
10103
10104         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
10105         * LyXAction.C: change, BIBKEY to BIBITEM.
10106         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
10107         Change InsetBibKey to InsetBibitem.
10108         Change BIBKEY_CODE to BIBITEM_CODE.
10109         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10110         * factory.C: replace insetbib.h with insetbibitem.h.
10111         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10112         * paragraph.C: replace insetbib.h with insetbibitem.h.
10113         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
10114         Change bibkey() to bibitem().
10115         * text.C: remove insetbib.h.
10116         * text2.C: replace insetbib.h with insetbibitem.h.
10117         change bibkey() to bibitem().
10118         * text3.C: remove insetbib.h.
10119         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10120
10121 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10122
10123         * lyxrc.C (output): enclose user email in quotes (in case there are
10124         several words)
10125
10126 2003-02-18  John Levon  <levon@movementarian.org>
10127
10128         * buffer.h: add std::
10129
10130 2003-02-17  John Levon  <levon@movementarian.org>
10131
10132         * SpellBase.h:
10133         * ispell.h:
10134         * ispell.C:
10135         * pspell.h:
10136         * pspell.C: reworking. Especially in ispell, a large
10137           number of clean ups and bug fixes.
10138
10139         * lyxfunc.C: fix revert to behave sensibly
10140
10141 2003-02-17 André Pönitz <poenitz@gmx.net>
10142
10143         * LyXAction.C:
10144         * commandtags.h: new LFUN_INSERT_BIBKEY
10145
10146         * layout.h:
10147         * lyxlayout.C:
10148         * buffer.C:
10149         * factory.C:
10150         * text.C:
10151         * text2.C:
10152         * text3.C:
10153         * paragraph.[Ch]:
10154         * paragraph_func.C: remove special bibkey handling
10155
10156 2003-02-17  John Levon  <levon@movementarian.org>
10157
10158         * text.C (Delete): fix case where delete at the end of
10159           the very first paragraph would not merge the pars
10160
10161 2003-02-17  John Levon  <levon@movementarian.org>
10162
10163         * lyxrow.C: fix lastPrintablePos()
10164
10165 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10166
10167         * bufferparams.C (writeLaTeX): add a std:here
10168
10169         * buffer.C: and remove a using directive there
10170
10171 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10172
10173         * buffer.C (makeLaTeXFile): move the code that generates the
10174           preamble...
10175
10176         * bufferparams.C (writeLaTeX): ... in this new method
10177
10178         * LaTeXFeatures.C (getEncodingSet): make const
10179           (getLanguages): make const
10180
10181         * MenuBackend.C (binding): returns the binding associated to this
10182           action
10183           (add): sets the status of each item by calling getStatus. Adds
10184           some intelligence.
10185           (read): add support for OptSubMenu
10186           (expand): remove extra separator at the end of expanded menu
10187
10188 2003-02-15  John Levon  <levon@movementarian.org>
10189
10190         * BufferView.C:
10191         * BufferView_pimpl.C:
10192         * bufferlist.h:
10193         * bufferlist.C: remove pointless BufferStorage bloat. Remove
10194           inset code that had no actual effect. Remove unneeded status
10195           code.
10196
10197 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10198
10199         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10200           in preamble
10201
10202 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
10203
10204         * text.C (drawLengthMarker): also draw an arrow marker for
10205           symbolic lengths (medskip...)
10206
10207 2003-02-14  John Levon  <levon@movementarian.org>
10208
10209         * tabular.h:
10210         * tabular.C: better method names
10211
10212 2003-02-14  John Levon  <levon@movementarian.org>
10213
10214         * BufferView_pimpl.C:
10215         * bufferlist.C:
10216         * buffer.C:
10217         * converter.C:
10218         * lyx_cb.C:
10219         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10220           it's a more accurate name. Remove some pointless uses.
10221
10222 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10223
10224         * text2.C (LyXText): change order of initilizers to shut off
10225           warnings
10226
10227 2003-02-14  John Levon  <levon@movementarian.org>
10228
10229         * buffer.C: use ParIterator for getParFromID()
10230
10231         * paragraph.h:
10232         * paragraph.C:
10233         * paragraph_pimpl.h:
10234         * paragraph_pimpl.C: remove unused getParFromID()
10235
10236 2003-02-14  John Levon  <levon@movementarian.org>
10237
10238         * buffer.C: remove some very old #if 0'd parse code
10239
10240 2003-02-13  John Levon  <levon@movementarian.org>
10241
10242         * text.h:
10243         * text.C:
10244         * text2.C: move hfillExpansion(), numberOfSeparators(),
10245           rowLast(), rowLastPrintable(), numberofHfills(),
10246           numberOfLabelHfills() ...
10247
10248         * lyxrow.h:
10249         * lyxrow.C: ... to member functions here.
10250
10251         * paragraph.h:
10252         * paragraph.C:
10253         * lyxtext.h:
10254         * text.C: remove LyXText::beginningOfMainBody(), and call
10255           p->beginningOfMainBody() directly. Move the check for
10256           LABEL_MANUAL into the latter.
10257
10258         * text.h:
10259         * text.C:
10260         * text2.C:
10261         * vspace.C:
10262         * BufferView.h:
10263         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10264
10265         * text.h:
10266         * text.C:
10267         * text2.C:
10268         * text3.C:
10269         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10270           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10271
10272 2003-02-13  John Levon  <levon@movementarian.org>
10273
10274         * CutAndPaste.C: remove debug
10275
10276 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10277
10278         * paragraph.C (asString): remove two unused variables
10279
10280         * lyxtextclass.C (readTitleType):
10281           (Read):
10282           (LyXTextClass): handle new members titletype_ and titlename_
10283
10284         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10285
10286 2003-02-09  John Levon  <levon@movementarian.org>
10287
10288         * buffer.h:
10289         * buffer.C: replace hand-coded list with a map for the dep clean
10290
10291 2003-02-08  John Levon  <levon@movementarian.org>
10292
10293         * LaTeX.C: consolidate code into showRunMessage() helper
10294
10295 2003-02-08  John Levon  <levon@movementarian.org>
10296
10297         * lyxfind.C:
10298         * lyxtext.h:
10299         * text2.C:
10300         * BufferView.C: change setSelectionOverString() to setSelectionRange()
10301           and pass the size in explicitly
10302
10303         * BufferView_pimpl.h:
10304         * BufferView_pimpl.C:
10305         * BufferView.h:
10306         * BufferView.C: add getCurrentChange()
10307
10308         * BufferView_pimpl.h:
10309         * BufferView_pimpl.C: handle change lfuns
10310
10311         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10312           for changes. Mark pasted paragraphs as new.
10313
10314         * support/lyxtime.h:
10315         * support/lyxtime.C:
10316         * DepTable.C: abstract time_t as lyx::time_type
10317
10318         * LColor.h:
10319         * LColor.C: add colours for new text, deleted text, changebars
10320
10321         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10322           package use "usenames" option.
10323
10324         * commandtags.h:
10325         * lyxfunc.C:
10326         * LyXAction.C: add change lfuns
10327
10328         * Makefile.am:
10329         * author.h:
10330         * author.C: author handling
10331
10332         * buffer.h:
10333         * buffer.C: add a per-buffer author list, with first entry as
10334           current author. Handle new .lyx tokens for change tracking. Output
10335           author list to .lyx file. Output dvipost stuff to .tex preamble.
10336           Bump lyx format to 222.
10337
10338         * bufferlist.h:
10339         * bufferlist.C: add setCurrentAuthor() to reset current author details
10340           in all buffers.
10341
10342         * bufferparams.h:
10343         * bufferparams.C: add param for tracking
10344
10345         * bufferview_funcs.C: output change info in minibuffer
10346
10347         * Makefile.am:
10348         * changes.h:
10349         * changes.C: add change-tracking structure
10350
10351         * debug.h:
10352         * debug.C: add CHANGES debug flag
10353
10354         * lyxfind.h:
10355         * lyxfind.C: add code for finding the next change piece
10356
10357         * lyxrc.h:
10358         * lyxrc.C: add user_name and user_email
10359
10360         * lyxrow.h:
10361         * lyxrow.C: add a metric for the top of the text line
10362
10363         * lyxtext.h:
10364         * text.C: implement accept/rejectChange()
10365
10366         * lyxtext.h:
10367         * text.C: paint changebars. Paint new/deleted text in the chosen
10368         colours. Strike through deleted text.
10369
10370         * paragraph.h:
10371         * paragraph.C:
10372         * paragraph_pimpl.h:
10373         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10374           in the current change to the insert functions. Rework erase to
10375           mark text as deleted, adding an eraseIntern() and a range-based
10376           erase(). Implement per-paragraph change lookup and
10377           accept/reject.
10378
10379         * paragraph_funcs.C: Fixup paste for change tracking.
10380
10381         * tabular.C: mark added row/columns as new.
10382
10383         * text.C: fix rowLast() to never return -1. Don't allow
10384           spellchecking of deleted text. Track transpose changes. Don't
10385           allow paragraph break or merge where appropriate.
10386
10387         * text2.C: leave cursor at end of selection after a cut.
10388
10389 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10390
10391         * text.C (getLengthMarkerHeight):
10392         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10393         visible on screen too.
10394
10395 2003-02-07  John Levon  <levon@movementarian.org>
10396
10397         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10398
10399 2003-02-05  Angus Leeming  <leeming@lyx.org>
10400
10401         * lyxserver.C (read_ready): revert my patch of 11 September last year
10402         as it sends PC cpu through the roof. Presumably this means that
10403         the lyxserver will no longer run on an Alpha...
10404
10405 2003-01-30  Angus Leeming  <leeming@lyx.org>
10406
10407         * factory.C (createInset): create an InsetCommandParam of type "index"
10408         and use it to 'do the right thing'.
10409
10410         * text2.C (getStringToIndex): ensure that cursor position is always
10411         reset to the reset_cursor position.
10412
10413 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10414
10415         * lyxfunc.C (getStatus): "buffer-export custom" should never be
10416         disabled.
10417
10418 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
10419
10420         * bufferview.C:
10421         * lyxcb.C:
10422         * lyxfunc.C: Output messages with identical spelling, punctuation,
10423         and spaces
10424
10425 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
10426
10427         * MenuBackend.C (expandFormats): List only viewable export formats
10428         in "View" menu
10429
10430         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10431         message
10432
10433         * lyxfunc.C (getStatus): Make sure that formats other than
10434         "fax" can also be disabled
10435
10436 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10437
10438         * text3.C (dispatch): put the lfuns that insert insets in 3
10439         groups, and call doInsertInset with appropriate arguments.
10440         (doInsertInset): new function, that creates an inset and inserts
10441         it according to some boolean parameters.
10442
10443 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
10444
10445         * buffer.C (readFile): remember to pass on 'par' when calling
10446         readFile recursively.
10447
10448 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10449
10450         * MenuBackend.C (expandFormats): add "..." to import formats.
10451
10452 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
10453
10454         * paragraph.C (asString): Remove XForms RTL hacks.
10455
10456 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
10457         * buffer.C: fix typo
10458
10459 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10460
10461         * Makefile.am (LIBS): delete var
10462         (lyx_LDADD): add @LIBS@ here instead.
10463
10464 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
10465
10466         * Clarify the meaning of "wheel mouse jump"
10467
10468 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10469
10470         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10471         tabular in a float
10472
10473 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10474
10475         * importer.C (Loaders): do not preallocate 3 elements in the
10476         vector, since one ends up with 6 elements otherwise
10477
10478 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10479
10480         * DepTable.C (write): write the file name as last element of the
10481         .dep file (because it may contain spaces)
10482         (read): read info in the right order
10483
10484 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10485
10486         * paragraph_pimpl.C (simpleTeXBlanks):
10487         (simpleTeXSpecialChars):
10488         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10489
10490         * tabular.C (latex): add some missing case statements. Reindent.
10491
10492         * MenuBackend.C (expandToc): remove unused variable.
10493
10494 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
10495
10496         * LColor.C:
10497         * LaTeX.C:
10498         * LyXAction.C:
10499         * MenuBackend.C:
10500         * buffer.C:
10501         * exporter.C:
10502         * lyxfunc.C:
10503         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10504         and the like.
10505
10506 2003-01-05  John Levon  <levon@movementarian.org>
10507
10508         * BufferView.h:
10509         * BufferView.C: add getEncoding()
10510
10511         * kbsequence.h:
10512         * kbsequence.C: do not store last keypress
10513
10514         * lyxfunc.h:
10515         * lyxfunc.C: store last keypress here instead. Pass encoding
10516           to getISOEncoded()
10517
10518 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10519
10520         * lyx_main.C (init): remove annoying error message when following
10521         symbolic links (bug #780)
10522
10523 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10524
10525         * text.C (insertChar):
10526         * lyxrc.C (getDescription): remove extra spaces
10527
10528 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10529
10530         * lyxrc.C (getDescription): remove extra spaces
10531
10532 2002-12-20  John Levon  <levon@movementarian.org>
10533
10534         * text3.C: hack fix for page up/down across tall rows
10535
10536 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10537
10538         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10539         not been invoked
10540
10541 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10542
10543         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10544         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10545         thesaurus is not compiled in
10546
10547 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
10548
10549         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
10550
10551 2002-12-16  Angus Leeming  <leeming@lyx.org>
10552
10553         * lyxrc.[Ch]:
10554         * lyx_main.C (init): remove override_x_deadkeys stuff.
10555
10556 2002-12-12  John Levon  <levon@movementarian.org>
10557
10558         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10559           insert. Only remove shift modifier under strict
10560           circumstances.
10561
10562 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
10563
10564         * MenuBackend.C (expandToc): fix crash.
10565
10566 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
10567
10568         * MenuBackend.C (expandToc): gettext on float names.
10569
10570 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
10571
10572         * lyxlength.[Ch]: set default unit to UNIT_NONE,
10573         implement bool empty() [bug 490]
10574
10575 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10576
10577         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10578
10579 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10580
10581         * several files: ws changes
10582
10583 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10584
10585         * text2.C (setCounter): clean up a bit, use boost.format.
10586         (updateCounters): initialize par upon declaration.
10587
10588         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10589         if the layout exists. We do not just store the layout any more.
10590         (SwitchLayoutsBetweenClasses): use boost.format
10591
10592 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10593
10594         * converter.C (convert): if from and to files are the same, use a
10595         temporary files as intermediary
10596
10597 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10598
10599         * commandtags.h:
10600         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10601
10602 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10603
10604         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10605
10606 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
10607
10608         * tabular.C (asciiPrintCell): use string(size, char) instead of
10609         explicit loop.
10610
10611         * sgml.C (openTag): fix order of arguments to string constructor
10612         (closeTag): ditto
10613
10614         * lyxfunc.C (dispatch): use boost.format
10615
10616         * lots of files: change "c" -> 'c'
10617
10618 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10619
10620         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10621
10622 2002-11-25  Angus Leeming  <leeming@lyx.org>
10623
10624         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10625
10626         * lyx_main.C (init): compile fix.
10627
10628 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
10629
10630         * lyx_cb.C (start): boost.formatify
10631         do not include <iostream>
10632
10633         * lengthcommon.C: ws only
10634
10635         * boost-inst.C,BoostFormat.h: add more explict instantations
10636
10637 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
10638
10639         * lots of files: handle USE_BOOST_FORMAT
10640
10641 2002-11-21  John Levon  <levon@movementarian.org>
10642
10643         * pspell.C: fix compile
10644
10645 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10646
10647         * lyxfunc.C (dispatch): use boost::format
10648         (open): ditto
10649         (doImport): ditto
10650
10651         * lyxfont.C (stateText): use boost::format
10652
10653         * lyx_main.C (LyX): use boost::format
10654         (init): ditto
10655         (queryUserLyXDir): ditto
10656         (readRcFile): ditto
10657         (parse_dbg): ditto
10658         (typedef boost::function): use the recommened syntax.
10659
10660         * importer.C (Import): use boost::format
10661
10662         * debug.C (showLevel): use boost::format
10663
10664         * converter.C (view): use boost::format
10665         (convert): ditto
10666         (move): ditto
10667         (scanLog): ditto
10668
10669         * bufferview_funcs.C (currentState): use boost::format
10670
10671         * bufferlist.C (emergencyWrite): use boost::format
10672
10673         * buffer.C (readLyXformat2): use boost::format
10674         (parseSingleLyXformat2Token): ditto
10675
10676         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10677
10678         * LaTeX.C (run): use boost::format
10679
10680         * Chktex.C (scanLogFile): use boost::format
10681
10682         * BufferView_pimpl.C (savePosition): use boost::format
10683         (restorePosition): ditto
10684         (MenuInsertLyXFile): ditto
10685
10686         * BoostFormat.h: help file for explicit instation.
10687
10688 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
10689
10690         * tabular.C (latex): Support for block alignment in fixed width
10691         columns.
10692
10693 2002-11-17  John Levon  <levon@movementarian.org>
10694
10695         * BufferView_pimpl.C:
10696         * lyx_cb.C:
10697         * lyxfunc.C: split filedialog into open/save
10698
10699 2002-11-08  Juergen Vigna  <jug@sad.it>
10700
10701         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10702         by my last patch (hopefully).
10703
10704 2002-11-08  John Levon  <levon@movementarian.org>
10705
10706         * iterators.h:
10707         * iterators.C:
10708         * buffer.h:
10709         * buffer.C:
10710         * paragraph.h:
10711         * paragraph.C:
10712         * toc.h:
10713         * toc.C: ParConstIterator, and use it (from Lars)
10714
10715 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
10716
10717         * lyxtextclass.[Ch]: revise and add doxygen comments
10718
10719 2002-11-07  John Levon  <levon@movementarian.org>
10720
10721         * text.C: fix progress value for spellchecker
10722
10723         * toc.C: fix navigate menu for insetwrap inside minipage
10724
10725         * paragraph_funcs.C: added FIXME for suspect code
10726
10727 2002-11-07  John Levon  <levon@movementarian.org>
10728
10729         * BufferView_pimpl.C: fix redrawing of insets
10730           on buffer switch
10731
10732 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10733
10734         * text2.C (updateCounters): fix bug 668
10735
10736 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
10737
10738         * text3.C (dispatch): Do not make the buffer dirty when moving the
10739         cursor.
10740
10741 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10742
10743         * vc-backend.C: STRCONV
10744         (scanMaster): ditto
10745
10746         * text2.C (setCounter): STRCONV
10747
10748         * paragraph.C (asString): STRCONV
10749
10750         * lyxlength.C (asString): STRCONV
10751         (asLatexString): ditto
10752
10753         * lyxgluelength.C (asString): STRCONV
10754         (asLatexString): ditto
10755
10756         * lyxfunc.C (dispatch): STRCONV
10757         (open): ditto
10758
10759         * lyxfont.C (stateText): STRCONV
10760
10761         * importer.C (Import): STRCONV
10762
10763         * counters.C (labelItem): STRCONV
10764         (numberLabel): ditto
10765         (numberLabel): remove unused ostringstream o
10766
10767         * chset.C: STRCONV
10768         (loadFile): ditto
10769
10770         * bufferview_funcs.C (currentState): STRCONV
10771
10772         * buffer.C (readFile): STRCONV
10773         (asciiParagraph): ditto
10774         (makeLaTeXFile): ditto
10775
10776         * Spacing.C (writeEnvirBegin): STRCONV
10777
10778         * LaTeXFeatures.C (getLanguages): STRCONV
10779         (getPackages): ditto
10780         (getMacros): ditto
10781         (getBabelOptions): ditto
10782         (getTClassPreamble): ditto
10783         (getLyXSGMLEntities): ditto
10784         (getIncludedFiles): ditto
10785
10786         * LaTeX.C: STRCONV
10787         (run): ditto
10788         (scanAuxFile): ditto
10789         (deplog): ditto
10790
10791         * LString.h: add the STRCONV macros
10792
10793         * BufferView_pimpl.C (savePosition): STRCONV
10794         (restorePosition): ditto
10795         (MenuInsertLyXFile): ditto
10796
10797         * vc-backend.C (scanMaster): change from submatch[...] to
10798         submatch.str(...)
10799
10800         * funcrequest.C: include config.h
10801
10802         * factory.C: include config.h
10803
10804         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10805
10806         * box.C: include config.h
10807
10808         * LaTeX.C (scanAuxFile): change from submatch[...] to
10809         submatch.str(...)
10810         (deplog): ditto
10811
10812 2002-10-25  Angus Leeming  <leeming@lyx.org>
10813
10814         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10815
10816         * ispell.[Ch] (setError): new method.
10817         * ispell.C (c-tor): move out child process into new class LaunchIspell.
10818         Use setError() insetead of goto END.
10819
10820         * lyx_cb.C (AutoSave): move out child process into new class
10821         AutoSaveBuffer.
10822
10823 2002-10-30  John Levon  <levon@movementarian.org>
10824
10825         * text3.C: make start appendix undoable
10826
10827 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
10828
10829         * lyxlength.C (inPixels): Fix returned value.
10830
10831         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10832         environment.
10833
10834 2002-10-24  Angus Leeming  <leeming@lyx.org>
10835
10836         * lyxgluelength.h: no need to forward declare BufferParams
10837         or BufferView, so don't.
10838
10839 2002-10-21  John Levon  <levon@movementarian.org>
10840
10841         * BufferView.C: menuUndo ->undo, redo
10842
10843         * BufferView.h: document, remove dead, make some methods private
10844
10845         * paragraph_funcs.h:
10846         * paragraph_funcs.C:
10847         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10848
10849         * buffer.h:
10850         * buffer.C:
10851         * sgml.h:
10852         * sgml.C: move sgml open/close tag into sgml.C
10853
10854         * bufferview_funcs.h: unused prototype
10855
10856         * lyxfunc.h:
10857         * lyxfunc.C: remove unused
10858
10859         * lyxtext.h:
10860         * text.C: remove unused
10861
10862 2002-10-21  John Levon  <levon@movementarian.org>
10863
10864         * BufferView.h:
10865         * BufferView.C:
10866         * BufferView_pimpl.h:
10867         * BufferView_pimpl.C: fix mouse wheel handling based on
10868           patch from Darren Freeman
10869
10870 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
10871
10872         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10873
10874 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
10875
10876         * lyxlength.C (inPixels): Fix hanfling of negative length.
10877         Fix LyXLength::MU case.
10878
10879 2002-10-16  John Levon  <levon@movementarian.org>
10880
10881         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10882
10883 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10884
10885         * converter.C (view): add support for $$i (file name) and $$p
10886         (file path) for the viewer command. If $$i is not specified, then
10887         it is appended to the command (for compatibility with old syntax)
10888
10889 2002-10-14  Juergen Vigna  <jug@sad.it>
10890
10891         * undo_funcs.C (textHandleUndo): alter the order in which the
10892         new undopar is added to the LyXText, as we have to set first
10893         the right prev/next and then add it as otherwise the rebuild of
10894         LyXText is not correct. Also reset the cursor to the right paragraph,
10895         with this IMO we could remove the hack in "redoParagraphs()".
10896
10897 2002-10-09  Angus Leeming  <leeming@lyx.org>
10898
10899         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10900         to turn off an optimisation if a new inset is to be inserted.
10901
10902 2002-10-11 André Pönitz <poenitz@gmx.net>
10903
10904         * lyxtext.h: make some functions public to allow access
10905         from inset/lyxtext for handling LFUN_PRIOR/NEXT
10906
10907 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10908
10909         * text3.C (dispatch): when changing layout, avoid an infinite loop
10910         [bug #652]
10911
10912 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10913
10914         * lyxrc.C (read): treat a viewer or converter command of "none" as
10915         if it were empty.
10916
10917         * MenuBackend.C (expandFormats): for an update, also allow the
10918         formats that are not viewable
10919
10920         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10921         script if it is newer than the lyxrc.defaults in user directory
10922
10923 2002-10-07 André Pönitz <poenitz@gmx.net>
10924
10925         * text.C: Vitaly Lipatov's small i18n fix
10926
10927 2002-09-25  Angus Leeming  <leeming@lyx.org>
10928
10929         * ispell.h: doxygen fix.
10930
10931 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
10932
10933         * buffer.h (readFile): Add a new argument to the method, to allow
10934         reading of old-format templates.
10935
10936 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
10937
10938         * toc.C (getTocList): Get TOC from InsetWrap.
10939
10940 2002-09-16  John Levon  <levon@movementarian.org>
10941
10942         * lyxfunc.C: check tabular for cut/copy too
10943
10944 2002-09-12  John Levon  <levon@movementarian.org>
10945
10946         * LyXAction.C: tidy
10947
10948         * factory.h:
10949         * factory.C: add header
10950
10951         * paragraph_funcs.h:
10952         * paragraph_funcs.C: cleanup
10953
10954 2002-09-11  John Levon  <levon@movementarian.org>
10955
10956         * PrinterParams.h: odd/even default to true
10957
10958 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
10959
10960         * PrinterParams.h: update printer parameters for new xforms dialog
10961
10962 2002-09-11  Angus Leeming  <leeming@lyx.org>
10963
10964         * lyxserver.C (read_ready): re-write to make it more transparent
10965         and to make it work in coherent fashion under Tru64 Unix.
10966
10967 2002-09-11  André Pönitz <poenitz@gmx.net>
10968
10969         * commandtags.h:
10970         * LyXAction.C:
10971         * text3.C: implement LFUN_WORDSEL
10972
10973 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10974
10975         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10976         make floatlist_ a boost::shared_ptr<FloatList>
10977
10978         * lyxtextclass.C: include FloatList.h
10979         (LyXTextClass): initialize floatlist_
10980         (TextClassTags): add TC_NOFLOAT
10981         (Read): match "nofloat" to TC_NOFLOAT and use it.
10982         (readFloat): modify call to floatlist_
10983         (floats): ditto
10984         (floats): ditto
10985
10986         * FloatList.[Ch] (FloatList): remove commented out float
10987         initialization.
10988         (erase): new function
10989
10990 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10991
10992         * MenuBackend.C (expandToc): fix crash when there is no document
10993         open
10994
10995 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
10996
10997         * many files: Add insetwrap.
10998
10999 2002-09-09  John Levon  <levon@movementarian.org>
11000
11001         * text2.C: remove confusing and awkward depth wraparound
11002
11003 2002-09-09  John Levon  <levon@movementarian.org>
11004
11005         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
11006
11007         * buffer.h:
11008         * buffer.C: remove getIncludeonlyList()
11009
11010         * paragraph.C:
11011         * lyxfunc.C: remove headers
11012
11013 2002-09-09  Juergen Vigna  <jug@sad.it>
11014
11015         * text.C (getColumnNearX): fix form Michael this is most
11016         probably a cut&paste bug.
11017
11018 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
11019
11020         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
11021
11022         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
11023         references, ws changes.
11024
11025         * text2.C (init): update counters after init
11026         (insertParagraph): no need to set counter on idividual paragraphs.
11027         (setCounter): access the counters object in the textclass object
11028         on in the buffer object.
11029         (updateCounters): ditto
11030
11031         * lyxtextclass.C: include counters.h, add variable ctrs_ as
11032         shared_ptr<Counters> to avoid loading counters.h in all
11033         compilation units.
11034         (LyXTextClass): initialize ctrs_
11035         (TextClassTags): add TC_COUNTER, and ...
11036         (Read): use it here.
11037         (CounterTags): new tags
11038         (readCounter): new function
11039         (counters): new funtion
11040         (defaultLayoutName): return a const reference
11041
11042         * counters.C (Counters): remove contructor
11043         (newCounter): remove a couple of unneeded statements.
11044         (newCounter): simplify a bit.
11045         (numberLabel): some small formatting changes.
11046
11047         * buffer.[Ch]: remove all traces of counters, move the Counters
11048         object to the LyXTextClass.
11049
11050 2002-09-06  Alain Castera  <castera@in2p3.fr>
11051
11052         * tabular.C: uses \tabularnewline; uses >{...} construct from array
11053         package to set the horizontal alignment on fixed width columns.
11054
11055         * lyx_sty.C:
11056         * lyx_sty.h: added tabularnewline macro def.
11057
11058         * LaTeXFeatures.C: added NeedTabularnewline macro feature
11059
11060 2002-09-06  John Levon  <levon@movementarian.org>
11061
11062         * LyXAction.C: tooltips for sub/superscript
11063
11064         * MenuBackend.C: a bit more verbose
11065
11066         * lyxfunc.C: tiny clean
11067
11068         * undo_funcs.C: document undo_frozen
11069
11070 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
11071
11072         * counters.C (Counters): add missing algorithm counter.
11073
11074         * text2.C (setCounter): lookup the counter with layouts latexname
11075         instead of by section number.
11076         (setCounter): use a hackish way to lookup the correct enum
11077         counter.
11078         a float name->type change
11079         reset enum couners with counter name directly instead of depth value.
11080
11081         * counters.C (Counters): remove the push_backs, change to use the
11082         float type not the float name.
11083         (labelItem): remove unused string, float name->type change
11084
11085         * counters.h: don't include vector, loose the enums and sects vectors
11086
11087 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
11088
11089         * lyxtextclass.C (TextClassTags): add TC_FLOAT
11090         (Read): add float->TC_FLOAT to textclassTags
11091         (Read): and handle it in the switch
11092         (readFloat): new function
11093
11094         * FloatList.C (FloatList): comment out the hardcoded float
11095         definitions.
11096
11097         * lyxlayout.h: ws change.
11098
11099 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
11100
11101         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
11102
11103 2002-09-03  Angus Leeming  <leeming@lyx.org>
11104
11105         * BufferView_pimpl.h: qualified name is not allowed in member
11106         declaration: WorkArea & Pimpl::workarea() const;
11107
11108         * factory.C: added using std::endl directive.
11109
11110         * text3.C: added using std::find and std::vector directives.
11111
11112 2002-08-29  André Pönitz <poenitz@gmx.net>
11113
11114         * lyxtext.h:
11115         * text2.C: remove unused member number_of_rows
11116
11117         * Makefile.am:
11118         * BufferView2.C: remove file, move contents to...
11119         * BufferView.C: ... here
11120
11121         * BufferView_pimpl.C:
11122         * factory.C: move more inset creation to factory
11123
11124         * vspace.C: avoid direct usage of LyXText, ws changes
11125
11126         * BufferView.[Ch]:
11127                 don't provide direct access to WorkArea, use two simple
11128                 acessors haveSelction() and workHeight() instead
11129
11130
11131 2002-08-29  John Levon  <levon@movementarian.org>
11132
11133         * BufferView_pimpl.C (dispatch): do not continue when
11134           no buffer
11135
11136 2002-08-28  André Pönitz <poenitz@gmx.net>
11137
11138         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
11139
11140         * BufferView.h:
11141         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
11142
11143 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
11144
11145         * buffer.C: increment LYX_FORMAT to 221
11146
11147         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
11148         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
11149
11150         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
11151
11152         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
11153
11154 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11155
11156         * factory.C (createInset): use LyXTextClass::floats
11157
11158         * MenuBackend.C (expandFloatListInsert):
11159         (expandFloatInsert):
11160         (expandToc):
11161
11162         * text2.C (setCounter):
11163
11164         * LaTeXFeatures.C (useFloat):
11165         (getFloatDefinitions):
11166
11167         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
11168
11169         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
11170         floatlist_, with accessor floats().
11171
11172         * FloatList.h: remove global FloatList
11173
11174 2002-08-26  André Pönitz <poenitz@gmx.net>
11175
11176         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
11177
11178         * BufferView.h:
11179         * BufferView2.C:
11180         * BufferView_pimpl.C:
11181         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
11182
11183 2002-08-25  John Levon  <levon@movementarian.org>
11184
11185         * LyXAction.C: fix margin note description
11186
11187 2002-08-24  John Levon  <levon@movementarian.org>
11188
11189         * buffer.C:
11190         * bufferlist.C:
11191         * bufferview_funcs.C:
11192         * lyxfont.C:
11193         * undo_funcs.C: cleanups
11194
11195         * lyxfunc.C: disable CUT/COPY when no selection
11196
11197 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
11198
11199         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11200         in "enum UNIT"; e.g. PTW for Percent of TextWidth
11201
11202         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11203         Add backward compatibility to "mono", "gray" and "no".
11204
11205 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
11206
11207         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11208         (and file_format >= 200).
11209
11210 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11211
11212         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11213
11214 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11215
11216         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11217
11218 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
11219
11220         * BufferView_pimpl.C:
11221         * LyXAction.C:
11222         * buffer.C:
11223         * commandtags.h:
11224         * lyxfunc.C:
11225         * paragraph.[Ch]:
11226         * text2.C:
11227         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11228         inset and code to make it  work with the paragraph code. The inset
11229         can be anywhere in the paragraph, but will only do the expected
11230         thing in LaTeX if the layout file contains the parameter line
11231                         OptionalArgs    1
11232         (or more generally, a nonzero value) for that layout.
11233
11234 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
11235
11236         * paragraph.h: remove the declaration of undefined counters class
11237         function.
11238
11239 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
11240
11241         * text2.C (setCounter):  fixed enumeration mis-count as reported by
11242         Dr. Richard Hawkins.
11243
11244 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11245
11246         * paragraph_funcs.h: remove some unneeded includes
11247
11248         * text.C (backspace): pasteParagraph now in global scipe
11249
11250         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11251         (pasteSelection): ditto
11252
11253         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11254         * paragraph_funcs.C (pasteParagraph): ... here
11255
11256 2002-08-20  André Pönitz <poenitz@gmx.net>
11257
11258         * commandtags.h: new LFUNs for swapping/copying table row/colums
11259
11260         * LyXAction.C:
11261         * lyxfunc.C: support for new lfuns
11262
11263 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
11264
11265         * tabular.C:
11266         * buffer.[Ch]: remove NO_COMPABILITY stuff
11267
11268 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
11269
11270         * boost.C (throw_exception): new file, with helper function for
11271         boost compiled without exceptions.
11272
11273         * paragraph.h:
11274         * lyxlength.C:
11275         * buffer.C:
11276         * ParameterStruct.h:
11277         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11278
11279         * bufferlist.C (emergencyWriteAll): use boost bind
11280
11281         * BufferView_pimpl.C (moveCursorUpdate): remove inline
11282
11283         * text.C: include paragraph_funcs.h
11284         (breakParagraph): breakParagraph is now in global scope
11285
11286         * paragraph_funcs.[Ch]: new files
11287
11288         * paragraph.C (breakParagraph,breakParagraphConservative): move to
11289         global scope
11290
11291         * buffer.C: include paragraph_funcs.h
11292         (insertStringAsLines): breakParagraph is now in global scope
11293
11294         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11295         paragraph_funcs.C
11296
11297         * CutAndPaste.C: include paragraph_funcs.h
11298         (cutSelection): breakParagraphConservative is now in global scope
11299         (pasteSelection): ditto
11300
11301         * buffer.h: declare oprator== and operator!= for
11302         Buffer::inset_iterator
11303
11304         * bufferlist.C (emergencyWrite): don't use fmt(...)
11305
11306         * text3.C: add using std::endl
11307
11308         * BufferView.C (moveCursorUpdate): remove default arg
11309
11310 2002-08-20  André Pönitz <poenitz@gmx.net>
11311
11312         * buffer.[Ch]: move inline functions to .C
11313
11314         * BufferView2.C:
11315         * BufferView_pimpl.C:
11316         * text.C:
11317         * buffer.[Ch]: use improved inset_iterator
11318
11319         * buffer.C:
11320         * paragraph.[Ch]: write one paragraph at a time
11321
11322 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11323
11324         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11325         style if style is not specified.
11326
11327 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11328
11329         * text2.C (setCounter): when searching for right label for a
11330         caption, make sure to recurse to parent insets (so that a caption
11331         in a minipage in a figure float works) (bug #568)
11332
11333 2002-08-20  André Pönitz <poenitz@gmx.net>
11334
11335         * text3.C: new file for LyXText::dispatch() and helpers
11336
11337         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11338
11339         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11340
11341 2002-08-19  André Pönitz <poenitz@gmx.net>
11342
11343         * lyxtext.h:
11344         * text.C: new LyXText::dispatch()
11345
11346         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11347
11348 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
11349
11350         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11351
11352         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11353         Hebrew text.
11354
11355 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11356
11357         * Makefile.am: use $(variables) instead of @substitutions@
11358
11359 2002-08-15  André Pönitz <poenitz@gmx.net>
11360
11361         * lyxfunc.C:
11362         * BufferView_pimpl.C: streamlining mathed <-> outer world
11363         interaction
11364
11365         * commandtags.h:
11366         * LyXAction.C: remove unused LFUN_MATH
11367
11368 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11369
11370         * paragraph.[Ch]: add some NO_NEXT ifdefs.
11371
11372 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11373
11374         * paragraph.C (Paragraph): reformat a bit
11375         (cutIntoMinibuffer): use builtin InsetList function instad of
11376         doing it manually.
11377         (getInset): ditto
11378
11379         * buffer.C: include boost/bind.hpp, add using std::for_each
11380         (writeFileAscii): use ParagraphList iterators
11381         (validate): use for_each for validate traversal of paragraphs
11382         (getBibkeyList): use ParagraphList iterators
11383         (resizeInsets): use for_each to resizeInsetsLyXText for all
11384         paragraphs.
11385         (getParFromID): use ParagraphList iterators
11386
11387         * BufferView2.C (lockInset): use paragraph list and iterators
11388
11389 2002-08-14  John Levon  <levon@movementarian.org>
11390
11391         * lyxserver.C: remove spurious xforms include
11392
11393 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11394
11395         * lyxfunc.C (getStatus): disable math-extern outside of math mode
11396
11397 2002-08-13  André Pönitz <poenitz@gmx.net>
11398
11399         * LyXAction.[Ch]:
11400         * lyxfunc.C: further cleaning
11401
11402 2002-08-13  André Pönitz <poenitz@gmx.net>
11403
11404         * funcrequest.h: new constructor
11405
11406         * funcrequest.C: move stuff here from .h
11407
11408         * Makefile.am:
11409         * BufferView_pimpl.C:
11410         * LyXAction.C:
11411         * toc.C:
11412         * lyxfunc.C: subsequent changes
11413
11414         * lyxfunc.h: new view() member function
11415
11416         * lyxfunc.C: subsequent changes
11417
11418 2002-08-13  Angus Leeming  <leeming@lyx.org>
11419
11420         * BufferView2.C:
11421         * BufferView_pimpl.C:
11422         * buffer.C:
11423         * converter.C:
11424         * importer.C:
11425         * lyxfunc.C:
11426         * lyxvc.C:
11427         * toc.C:
11428         * vc-backend.C:
11429         changes due to the changed LyXView interface that now returns references
11430         to member variables not pointers.
11431
11432 2002-08-13  Angus Leeming  <leeming@lyx.org>
11433
11434         * WordLangTuple (word, lang_code): return references to strings,
11435         not strings.
11436
11437         * BufferView.h:
11438         * SpellBase.h:
11439         * lyxtext.h: forward-declare WordLangTuple.
11440
11441         * BufferView2.C:
11442         * ispell.C:
11443         * pspell.C:
11444         * text.C: #include "WordLangTuple.h".
11445
11446         * lyxtext.h:
11447         * text.C: (selectNextWordToSpellcheck): constify return type.
11448
11449 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
11450
11451         * buffer.C:
11452         * buffer.h:
11453         * lyxtext.h:
11454         * paragraph.C:
11455         * paragraph_pimpl.h:
11456         * text.C:
11457         * text2.C:
11458         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11459         suggested by Angus.
11460         Made updateCounter always count from start of buffer, and removed
11461         second argument (par).
11462         Reverted floats number display to '#'. Perhaps I'll try again when the
11463         code base is sanitized a bit.
11464
11465 2002-08-12  Angus Leeming  <leeming@lyx.org>
11466
11467         * buffer.[Ch] (getLabelList): constify.
11468
11469 2002-08-07  André Pönitz <poenitz@gmx.net>
11470
11471         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11472
11473         * funcrequest.h: extension to keep mouse (x,y) position
11474
11475 2002-08-12  Juergen Vigna  <jug@sad.it>
11476
11477         * BufferView2.C (insertErrors): forbid undo when inserting error
11478         insets.
11479
11480         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11481
11482 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
11483
11484         * ParagraphList.[Ch]: new files
11485
11486         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11487
11488         * BufferView2.C (lockInset): ParagraphList changes
11489         * toc.C: ditto
11490         * text2.C: ditto
11491         * bufferlist.C: ditto
11492         * buffer.h: ditto
11493         * buffer.C: ditto
11494
11495 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11496
11497         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11498         unused class variable counter_,
11499
11500         * paragraph.[Ch] (getFirstCounter): delete unused function
11501
11502         * counters.C: include LAssert.h
11503         (reset): add a new function with no arg, change other version to
11504         not have def. arg and to not allow empty arg.
11505
11506         * text2.C (setCounter): remove empty arg from call to Counters::reset
11507
11508 2002-08-11  John Levon  <levon@movementarian.org>
11509
11510         * Makefile.am: add WordLangTuple.h
11511
11512 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11513
11514         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11515         lyxfunc.C lyxlex_pimpl.C: ws changes only.
11516
11517         * insets/insettext.C: InsetList changes
11518
11519         * graphics/GraphicsSupport.C (operator()): InsetList changes
11520
11521         * toc.C (getTocList): InsetList changes
11522
11523         * paragraph_pimpl.[Ch]: InsetList changes
11524
11525         * paragraph.[Ch]: InsetList changes
11526
11527         * buffer.C (inset_iterator): InsetList changes
11528         (setParagraph): ditto
11529         * buffer.h (inset_iterator): ditto
11530         * iterators.C (operator++): ditto
11531         * iterators.h: ditto
11532
11533         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11534
11535         * InsetList.[Ch]: new files, most InsetList handling moved out of
11536         paragraph.C.
11537
11538         * BufferView2.C (removeAutoInsets): InsetList changes
11539         (lockInset): ditto
11540         (ChangeInsets): ditto
11541
11542 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
11543
11544         * paragraph_pimpl.h (empty): new function
11545
11546         * paragraph.[Ch] (empty): new function
11547
11548         * other files: use the new Paragraph::empty function
11549
11550 2002-08-09  John Levon  <levon@movementarian.org>
11551
11552         * lyxtext.h: remove unused refresh_height
11553
11554 2002-08-09  John Levon  <levon@movementarian.org>
11555
11556         * Makefile.am:
11557         * sgml.h:
11558         * sgml.C:
11559         * buffer.C:
11560         * paragraph.h:
11561         * paragraph.C: move sgml char escaping out of paragraph
11562
11563         * paragraph.h:
11564         * paragraph.C: remove id setter
11565
11566         * buffer.C:
11567         * paragraph.C:
11568         * paragraph_pimpl.C: remove dead tex_code_break_column
11569
11570         * bufferview_funcs.C: small cleanup
11571
11572         * lyxfunc.C: remove dead proto
11573
11574         * lyxtext.h: make some stuff private. Remove some dead stuff.
11575
11576         * lyxgluelength.C: make as[LyX]String() readable
11577
11578 2002-08-08  John Levon  <levon@movementarian.org>
11579
11580         * LyXAction.h:
11581         * LyXAction.C:
11582         * MenuBackend.C:
11583         * ToolbarDefaults.C:
11584         * lyxfunc.C:
11585         * lyxrc.C:
11586         * toc.C: lyxaction cleanup
11587
11588 2002-08-08  John Levon  <levon@movementarian.org>
11589
11590         * BufferView2.C: small cleanup
11591
11592         * lyxfind.h:
11593         * lyxfind.C: move unnecessary header into the .C
11594
11595 2002-08-08  John Levon  <levon@movementarian.org>
11596
11597         * funcrequest.h: just tedious nonsense
11598
11599         * lyx_main.h:
11600         * lyx_main.C: cleanups
11601
11602         * buffer.C:
11603         * vspace.C: remove dead header lyx_main.h
11604
11605 2002-08-07  Angus Leeming  <leeming@lyx.org>
11606
11607         * Paragraph.[Ch]:
11608         * paragraph_pimpl.h:
11609         Forward declare class Counters in paragraph.h by moving the ctrs member
11610         variable into Paragraph::Pimpl.
11611         (counters): new method, returning a reference to pimpl_->ctrs.
11612
11613         * text2.C: ensuing changes.
11614
11615 2002-08-07  John Levon  <levon@movementarian.org>
11616
11617         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11618
11619         * BufferView_pimpl.C: announce X selection on double/triple
11620           click
11621
11622         * lyx_main.C: use correct bool in batch dispatch
11623
11624         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11625
11626 2002-08-07  André Pönitz <poenitz@gmx.net>
11627
11628         * funcrequest.h: new class to wrap a kb_action and its argument
11629
11630         * BufferView.[Ch]:
11631         * BufferView_pimpl[Ch]:
11632         * LaTeX.C:
11633         * LyXAction.[Ch]:
11634         * lyxfunc.[Ch]:
11635         * lyxrc.C: subsequent changes
11636
11637
11638 2002-08-07  John Levon  <levon@movementarian.org>
11639
11640         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11641           document options change.
11642
11643 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
11644
11645         * counters.[Ch]
11646         * text2.C
11647         * paragraph.[Ch]
11648         * makefile.am: move counters functionality over from
11649         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11650
11651 2002-08-06  John Levon  <levon@movementarian.org>
11652
11653         * WordLangTuple.h: new file for word + language code tuple
11654
11655         * SpellBase.h:
11656         * pspell.h:
11657         * pspell.C:
11658         * ispell.h:
11659         * ispell.C:
11660         * lyxtext.h:
11661         * text.C:
11662         * text2.C:
11663         * BufferView.h:
11664         * BufferView2.C: use WordLangTuple
11665
11666         * layout.h:
11667         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11668
11669 2002-08-06  John Levon  <levon@movementarian.org>
11670
11671         * lyx_main.C: fix cmdline batch handling
11672
11673 2002-08-06  André Pönitz <poenitz@gmx.net>
11674
11675         * lyxrc.C: set default for show_banner to true
11676
11677 2002-08-06  John Levon  <levon@movementarian.org>
11678
11679         * pspell.C: fix a crash, and allow new aspell to work
11680
11681 2002-08-06  John Levon  <levon@movementarian.org>
11682
11683         * lyxfunc.C:
11684         * kbmap.C: small cleanup
11685
11686         * vspace.h:
11687         * vspace.C: add const
11688
11689 2002-08-05  John Levon  <levon@movementarian.org>
11690
11691         * LyXAction.C: back to tabular-insert
11692
11693 2002-08-04  John Levon  <levon@movementarian.org>
11694
11695         * BufferView.h:
11696         * BufferView.C: cosmetic change
11697
11698         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11699
11700         * bufferlist.C:
11701         * buffer.h:
11702         * buffer.C:
11703         * lyxcb.h:
11704         * lyxcb.C:
11705         * lyxserver.C:
11706         * lyxvc.C:
11707         * vc-backend.C:
11708         * BufferView2.C: purge all "Lyx" not "LyX" strings
11709
11710         * lyxcursor.h:
11711         * lyxcursor.C: attempt to add some documentation
11712
11713         * lyxfunc.C:
11714         * commandtags.h:
11715         * LyXAction.C:
11716         * ToolbarDefaults.C:
11717         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11718           merge with LFUN_TABULAR_INSERT
11719
11720         * Makefile.am:
11721         * SpellBase.h:
11722         * ispell.h:
11723         * ispell.C:
11724         * pspell.h:
11725         * pspell.C: split up i/pspell implementations into separate
11726           files, many cleanups
11727
11728         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11729
11730         * text2.C: some cleanup
11731
11732         * lyxfunc.C: don't check for isp_command == "none" any more, it
11733           didn't make any sense
11734
11735 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
11736
11737         * counters.[Ch]
11738         * text2.C
11739         * paragraph.[Ch]
11740         * makefile.am: move counters functionality over
11741         from text2.C/paragraph.[Ch] to counters.[Ch], and
11742         make proper C++.
11743 2002-08-02  John Levon  <levon@movementarian.org>
11744
11745         * buffer.C: s/lyxconvert/lyx2lyx/
11746
11747 2002-08-02  Angus Leeming  <leeming@lyx.org>
11748
11749         * lyxlex.C: revert John's change as it breaks reading of the user
11750         preamble.
11751
11752 2002-08-02  Angus Leeming  <leeming@lyx.org>
11753
11754         * importer.C (Import):
11755         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11756         changes due to LyXView::view() now returning a boost::shared_ptr.
11757
11758 2002-08-02  John Levon  <levon@movementarian.org>
11759
11760         * lyxlex.C: small cleanup
11761
11762 2002-08-02  John Levon  <levon@movementarian.org>
11763
11764         * text2.C (status): small cleanup, no logic change
11765
11766 2002-08-01  John Levon  <levon@movementarian.org>
11767
11768         * buffer.h:
11769         * buffer.C (writeFile): don't output alerts, caller
11770           handles this
11771
11772         * bufferlist.C:
11773         * lyx_cb.C: from above
11774
11775         * lyxfunc.C: allow to open non-existent files
11776
11777 2002-07-31  John Levon  <levon@movementarian.org>
11778
11779         * lyxserver.C: don't let incidental errors get
11780           in the way (errno)
11781
11782 2002-07-30  John Levon  <levon@movementarian.org>
11783
11784         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11785
11786 2002-07-30  John Levon  <levon@movementarian.org>
11787
11788         * lyxserver.h:
11789         * lyxserver.C: remove I/O callback too
11790
11791 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11792
11793         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11794         log.
11795
11796 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
11797
11798         * many files: strip,frontStrip -> trim,ltrim,rtrim
11799
11800 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
11801
11802         * PrinterParams.h: remove extern containsOnly, and include
11803         support/lstrings.h instead.
11804
11805         * LaTeX.C (scanAuxFile): modify because of strip changes
11806         (deplog): ditto
11807         * buffer.C (makeLaTeXFile): ditto
11808         * bufferparams.C (writeFile): ditt
11809         * lyxfont.C (stateText): ditto
11810         * lyxserver.C (read_ready): ditto
11811         * vc-backend.C (scanMaster): ditto
11812
11813         * BufferView_pimpl.h: ws changes
11814
11815         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11816
11817 2002-07-26  André Pönitz <poenitz@gmx.net>
11818
11819         * kb_sequence.C: remove unnedred usings
11820
11821 2002-07-26  Juergen Vigna  <jug@sad.it>
11822
11823         * lyxfind.C (LyXReplace): we have to check better if the returned
11824         text is not of theLockingInset()->getLockingInset().
11825
11826 2002-07-25  Juergen Vigna  <jug@sad.it>
11827
11828         * lyxfind.C (LyXReplace): don't replace if we don't get the
11829         right LyXText.
11830
11831         * undo_funcs.C (createUndo): remove debugging code.
11832
11833 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
11834
11835         * buffer.C (parseSingleLyXformat2Token): Use default placement
11836         when reading old floats.
11837
11838         * FloatList.C (FloatList): Change the default placement of figure
11839         and tables to "tbp".
11840
11841 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
11842
11843         * MenuBackend.C: using std::max
11844
11845 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11846
11847         * MenuBackend.C (expandToc):
11848         (expandToc2): code moved from xforms menu frontend. It is now
11849         generic and TOCs are transparent to menu frontends.
11850
11851 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11852
11853         * toc.C (getTocList): protect against buf=0
11854
11855         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11856         Menu as first parameter. Now, this calls itself recursively to
11857         expand a whole tree (this will be useful for TOC handling)
11858         (expandFloatInsert): remove 'wide' version of floats
11859
11860         * MenuBackend.h (submenuname): returns the name of the submenu.
11861         (submenu): returns the submenu itself, provided it has been
11862         created by MenuBackend::expand
11863
11864 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11865
11866         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11867         insets which have noFontChange == true. (bug #172)
11868
11869 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11870
11871         * BufferView_pimpl.C: add connection objects and use them...
11872         (Pimpl): here.
11873
11874 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11875
11876         * MenuBackend.C (expandLastfiles):
11877         (expandDocuments):
11878         (expandFormats):
11879         (expandFloatListInsert):
11880         (expandFloatInsert):
11881         (expand): split expand in parts
11882
11883 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11884
11885         * lyx_gui.C: use lyx_gui::exit()
11886
11887 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11888
11889         * LyXAction.C: show the failing pseudo action
11890
11891 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
11892
11893         * buffer.C (readFile): Run the lyxconvert script in order to read
11894         old files.
11895
11896 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11897
11898         * LyXAction.C:
11899         * commandtags.h:
11900         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11901
11902 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11903
11904         * LyXAction.C:
11905         * commandtags.h:
11906         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11907
11908 2002-07-22  Herbert Voss  <voss@lyx.org>
11909
11910         * lengthcommon.C:
11911         * lyxlength.[Ch]: add support for the vertical lengths
11912
11913 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
11914
11915         * toc.[Ch]: std:: fixes
11916
11917 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11918
11919         * lyxrc.C: do not include lyx_main.h
11920
11921         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11922         for layouts
11923
11924         * lyxrc.C:
11925         * encoding.C:
11926         * bufferlist.C:
11927         * BufferView2.C: include "lyxlex.h"
11928
11929         * tabular.h:
11930         * bufferparams.h: do not #include "lyxlex.h"
11931
11932         * lyxtextclasslist.C (Add): remove method
11933         (classlist): renamed to classlist_
11934
11935         * paragraph_pimpl.C:
11936         * paragraph.C:
11937         * text2.C:
11938         * CutAndPaste.C:
11939         * bufferview_funcs.C:
11940         * bufferlist.C:
11941         * text.C:
11942         * LaTeXFeatures.C:
11943         * buffer.C:
11944         * toc.C (getTocList): use BufferParams::getLyXTextClass
11945
11946         * toc.C (getTocList): use InsetFloat::addToToc
11947
11948         * toc.[Ch]: new files, containing helper functions to handle table
11949         of contents
11950
11951         * lyxfunc.C (dispatch): no need to remove spaces around command
11952         given as a string
11953         (getStatus): handle LFUN_SEQUENCE by returning the status of the
11954         first command of the sequence; it is not very clever, but I do not
11955         have a better idea, actually
11956
11957         * LyXAction.C (LookupFunc): make sure to remove space at the
11958         beginning and end of the command
11959
11960 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11961
11962         * MenuBackend.C (getMenubar): new method: return the menubar of
11963         this menu set
11964         (read): treat differently reading of menu and menubar (in
11965         particular, the menubar has no name now)
11966         (Menu::menubar): remove
11967
11968         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11969         saving is finished
11970
11971 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11972
11973         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11974         a bibitem inset in a RTL paragraph.
11975
11976 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
11977
11978         * paragraph_pimpl.C: constify
11979
11980         * BufferView_pimpl.C:
11981         * LaTeX.C:
11982         * lyxfunc.C: fix dispatch in a nicer way
11983
11984 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11985
11986         * lyxfunc.C (dispatch):
11987         * BufferView_pimpl.C:
11988         * BufferView_pimpl.h:
11989         * BufferView.C:
11990         * BufferView.h: rename Dispatch() to dispatch()
11991
11992         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11993
11994         * lyxlayout.C (Read): honor DependsOn tag
11995
11996         * lyxlayout.[Ch] (depends_on): new method
11997
11998         * version.C.in: update lyx_docversion
11999
12000         * LaTeXFeatures.C (getMacros): only define \LyX when needed
12001
12002         * paragraph.C (validate): remove from here...
12003         * paragraph_pimpl.C (validate): ... and move here
12004         (isTextAt): make it const
12005
12006         * buffer.C (getLists): ws cleanup
12007
12008 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
12009
12010         * language.C (read): Use iso8859-1 encoding in latex_lang
12011         (this prevents LyX from crashing when using iso10646-1 encoding).
12012
12013 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12014
12015         * text2.C (toggleInset): if cursor is inside an inset, close the
12016         inset and leave cursor _after_ it
12017
12018 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
12019
12020         * lyxfunc.C: move minibuffer completion handling out of here
12021
12022 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
12023
12024         * BufferView_pimpl.C:
12025         * LaTeX.C: fix dispatch calls
12026
12027 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
12028
12029         * text.C (drawChars): Fix Arabic text rendering.
12030
12031 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
12032
12033         * LyXAction.C:
12034         * commandtags.h:
12035         * lyxfunc.C: remove message-push/pop
12036
12037         * lyxserver.C:
12038         * lyxfunc.h:
12039         * lyxfunc.C: rationalise some code by removing verboseDispatch
12040           in favour of a bool argument to dispatch()
12041
12042 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12043
12044         * lyx_main.C (init): make sure to read symlinks as absolute paths
12045
12046 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12047
12048         * lyxfunc.h:
12049         * lyxfunc.C: no need for commandshortcut to be a member
12050
12051 2002-07-15  André Pönitz <poenitz@gmx.net>
12052
12053         * converter.C: add support for $$s (scripts from lib/scripts dir)
12054         * lyx_main.C: white space
12055
12056 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12057
12058         * bufferlist.C:
12059         * lyxrc.h:
12060         * lyxrc.C: remove second exit confirmation
12061
12062 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12063
12064         * BufferView.h:
12065         * BufferView.C:
12066         * BufferView2.C:
12067         * BufferView_pimpl.h:
12068         * BufferView_pimpl.C:
12069         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
12070
12071 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12072
12073         * MenuBackend.C (expand): add numeric shortcuts to document menu
12074
12075         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
12076
12077 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12078
12079         * lyxfont.C (setLyXFamily):
12080         (setLyXSeries):
12081         (setLyXShape):
12082         (setLyXSize):
12083         (setLyXMisc):
12084         (lyxRead):
12085         * debug.C (value):
12086         * buffer.C (asciiParagraph): use ascii_lowercase
12087
12088 2002-07-15  Mike Fabian  <mfabian@suse.de>
12089
12090         * lyxlex_pimpl.C (search_kw):
12091         * lyxlex.C (getLongString):
12092         * converter.h (operator<):
12093         * converter.C (operator<):
12094         * buffer.C (parseSingleLyXformat2Token):
12095         (asciiParagraph):
12096         * ToolbarDefaults.C (read):
12097         * MenuBackend.C (checkShortcuts):
12098         (read):
12099         * LColor.C (getFromGUIName):
12100         (getFromLyXName): use the compare_ascii_no_case instead of
12101         compare_no_case, because in turkish, 'i' is not the lowercase
12102         version of 'I', and thus turkish locale breaks parsing of tags.
12103
12104 2002-07-16  Angus Leeming  <leeming@lyx.org>
12105
12106         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
12107         now takes a Buffer const & argument.
12108
12109 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
12110
12111         * BufferView.C (resize): check there's a buffer to resize
12112
12113 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
12114
12115         * lyxfunc.C: remove dead code
12116
12117         * lyxserver.h:
12118         * lyxserver.C: use lyx_guii::set_read_callback
12119
12120 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12121
12122         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
12123         an inset in a RTL paragraph.
12124
12125 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12126
12127         * lyxfunc.C: repaint after a font size update
12128
12129 2002-07-15  André Pönitz <poenitz@gmx.net>
12130
12131         * lyxlength.C: inBP should be able to return negative values
12132
12133 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12134
12135         * lyxfunc.C: use lyx_gui::update_fonts()
12136
12137 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12138
12139         * lyxfunc.C: use lyx_gui::update_color()
12140
12141 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
12142
12143         * bufferlist.C:
12144         * lyxfunc.h:
12145         * lyxfunc.C:
12146         * lyxrc.h:
12147         * lyxrc.C: remove file->new asks for name option, and let
12148           buffer-new take an argument
12149
12150 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
12151
12152         * BufferView_pimpl.C: remove unneeded extra repaint()
12153
12154 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
12155
12156         * LyXAction.C: allow command-sequence with NoBuffer
12157
12158         * lyxfunc.C: don't insist on trailing ';' for command-sequence
12159
12160 2002-07-10  Angus Leeming  <leeming@lyx.org>
12161
12162         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
12163
12164 2002-07-09  Angus Leeming  <leeming@lyx.org>
12165
12166         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
12167
12168 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12169
12170         * lengthcommon.h: whitespace
12171
12172         * lyxfunc.C: update scrollbar after goto paragraph
12173
12174         * lyxtext.h: factor out page break drawing, and fix it so
12175           page break/added space paints as selected nicely
12176
12177 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12178
12179         * BufferView_pimpl.C: add FIXMEs, clean up a little
12180
12181 2002-07-09  André Pönitz <poenitz@gmx.net>
12182
12183         * lyxfont.[Ch]: support for wasy symbols
12184
12185 2002-07-08  André Pönitz <poenitz@gmx.net>
12186
12187         * BufferView_pimpl.C: apply John's patch for #93.
12188
12189 2002-07-05  Angus Leeming  <leeming@lyx.org>
12190
12191         * BufferView_pimpl.C (buffer): generate previews if desired.
12192
12193         * LColor.h: add "preview" to the color enum.
12194
12195         * LColor.C (LColor): add a corresponding entry to the items array.
12196
12197         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12198         with this buffer.
12199
12200 2002-07-05  Angus Leeming  <leeming@lyx.org>
12201
12202         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12203         The body of the code is now in the method that is passed an ostream &
12204         rather than a file name.
12205         Pass an additional only_preamble parameter, useful for the forthcoming
12206         preview stuff.
12207
12208 2002-07-03  André Pönitz <poenitz@gmx.net>
12209
12210         * lyxfunc.C: simplify getStatus() a bit for math stuff
12211
12212 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12213
12214         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12215
12216 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12217
12218         * text.C (changeRegionCase): do not change case of all the
12219         document when region ends at paragraph end (bug #461)
12220
12221 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12222
12223         * paragraph.C (startTeXParParams):
12224         (endTeXParParams): add \protect when necessary
12225
12226 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12227
12228         * BufferView_pimpl.C (workAreaExpose): remove warning
12229
12230 2002-06-27  Angus Leeming  <leeming@lyx.org>
12231
12232         * Makefile.am: add lyxlayout_ptr_fwd.h.
12233
12234 2002-06-26  André Pönitz <poenitz@gmx.net>
12235
12236         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12237
12238 2002-06-25  Angus Leeming  <leeming@lyx.org>
12239
12240         * lyxfunc.C (dispatch): Comment out the call to
12241         grfx::GCache::changeDisplay. The method no longer exists now that the
12242         pixmap generation part of the graphics loader has been moved into
12243         InsetGraphics.
12244
12245 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12246
12247         * text2.C: layout as layout
12248
12249         * text.C: layout as layout
12250
12251         * tabular.C (OldFormatRead): layout as layout
12252
12253         * paragraph_pimpl.C (TeXDeeper): layout as layout
12254         (realizeFont): layout as layout
12255
12256         * paragraph.C (writeFile): layout as layout
12257         (validate): layout as layout
12258         (getFont): layout as layout
12259         (getLabelFont): layout as layout
12260         (getLayoutFont): layout as layout
12261         (breakParagraph): layout as layout
12262         (stripLeadingSpaces): layout as layout
12263         (getEndLabel): layout as layout
12264         (getMaxDepthAfter): layout as layout
12265         (applyLayout): layout as layout
12266         (TeXOnePar): layout as layout
12267         (simpleTeXOnePar): layout as layout
12268         (TeXEnvironment): layout as layout
12269         (layout): layout as layout
12270         (layout): layout as layout
12271
12272         * lyxtextclass.C (compare_name): new functor to work with
12273         shared_ptr, layout as layout
12274         (Read): layout as layout
12275         (hasLayout): layout as layout
12276         (operator): layout as layout
12277         (delete_layout): layout as layout
12278         (defaultLayout): layout as layout
12279
12280         * lyxlayout_ptr_fwd.h: new file
12281
12282         * lyxlayout.C (Read): layout as layout
12283
12284         * lyx_cb.C (MenuInsertLabel): layout as layout
12285
12286         * bufferlist.C (newFile): layout as layout
12287
12288         * buffer.C (readLyXformat2): layout as layout
12289         (parseSingleLyXformat2Token): layout as layout
12290         (insertStringAsLines): layout as layout
12291         (asciiParagraph): layout as layout
12292         (latexParagraphs): layout as layout
12293         (makeLinuxDocFile): layout as layout
12294         (simpleLinuxDocOnePar): layout as layout
12295         (makeDocBookFile): layout as layout
12296         (simpleDocBookOnePar): layout as layout
12297         (getLists): layout as layout
12298
12299         * LaTeXFeatures.C (getTClassPreamble): layout as layout
12300
12301         * CutAndPaste.C (cutSelection): layout as layout
12302         (pasteSelection): layout as layout
12303         (SwitchLayoutsBetweenClasses): layout as layout
12304
12305         * BufferView_pimpl.C (Dispatch): layout as layout
12306         (smartQuote): layout as layout
12307
12308         * BufferView2.C (unlockInset): layout as layout
12309
12310 2002-06-24  André Pönitz <poenitz@gmx.net>
12311
12312         * lyxfunc.C: fix #487
12313
12314 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12315
12316         * lyxrc.h:
12317         * lyxrc.C:
12318         * lyxfunc.C: remove display_shortcuts, show_banner
12319
12320 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12321
12322         * Buffer_pimpl.C: oops, update on resize
12323
12324 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12325
12326         * buffer.C:
12327         * converter.C:
12328         * exporter.C:
12329         * lyxfunc.C:
12330         * BufferView.h:
12331         * BufferView.C: use repaint()
12332
12333         * BufferView_pimpl.h:
12334         * BufferView_pimpl.C: s/updateScreen()/repaint()/
12335           as it's a clearer description. Remove superfluous
12336           redraws.
12337
12338 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12339
12340         * text.C: fix bug 488. Not ideal, but getting
12341           getWord() to work properly for the insets that
12342           matter is more difficult ...
12343
12344 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12345
12346         * BufferView_pimpl.C:
12347         * LyXAction.C:
12348         * commandtags.h:
12349         * lyxfunc.C: remove the six million index lyxfuncs to just
12350           one, and DTRT (bug 458)
12351
12352 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12353
12354         * BufferView.h:
12355         * BufferView.C:
12356         * BufferView_pimpl.h:
12357         * BufferView_pimpl.C: clean up resize() stuff,
12358           and unnecessary updateScreen()s
12359
12360 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12361
12362         * BufferView.h:
12363         * BufferView.C:
12364         * BufferView_pimpl.h:
12365         * BufferView_pimpl.C:
12366         * lyxfind.h:
12367         * lyxfind.C:
12368         * minibuffer.C: remove focus management of workarea,
12369           not needed. Use screen's greyOut()
12370
12371 2002-06-17  Herbert Voss  <voss@lyx.org>
12372
12373         * converter.C: (convert) do not post a message, when converting
12374         fails, let the calling function decide what to do in this case
12375
12376 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
12377
12378         * lyxfunc.C: tidy up a little
12379
12380 2002-06-16    <alstrup@diku.dk>
12381
12382         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12383         Got rid of FORMS_H_LOCATION include. Now we are
12384         GUII.
12385
12386 2002-06-15  LyX Development team  <lyx@rilke>
12387
12388         * buffer.[Ch] (sgmlOpenTag):
12389         (sgmlCloseTag): Added support for avoiding pernicious mixed
12390         content. Return number of lines written.
12391
12392         (makeLinuxDocFile):
12393         (makeDocBookFile): Fixed calls to sgml*Tag.
12394         Simple white space clean.
12395
12396         (simpleDocBookOnePar): Simple white space clean.
12397
12398         * tabular.[Ch] (docBook): Renamed to docbook and got another
12399         argument to related with the pernicious mixed content.
12400
12401         (docbookRow): Fixed calls for docbook inset method.
12402
12403 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
12404
12405         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12406         so it's X11 independent.
12407
12408         * kb*.[Ch]: ditto.
12409
12410         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12411
12412 2002-06-15  Lyx Development team  <lyx@electronia>
12413
12414         * intl.h: Renamed getTrans to getTransManager.
12415
12416 2002-06-14  Angus Leeming  <leeming@lyx.org>
12417
12418         * Makefile.am: nuke forgotten stl_string_fwd.h.
12419
12420 2002-06-12  Angus Leeming  <leeming@lyx.org>
12421
12422         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12423
12424 2002-06-13  Angus Leeming  <leeming@lyx.org>
12425
12426         * LaTeX.C:
12427         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12428
12429 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
12430
12431         * kbmap.C (getiso): add support for cyrillic and greek
12432
12433 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12434
12435         * BufferView.h:
12436         * BufferView.C:
12437         * BufferView_pimpl.h:
12438         * BufferView_pimpl.C: move bogus scrolling logic
12439           to xforms
12440
12441 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12442
12443         * lyxfunc.C:
12444         * BufferView_pimpl.C: view->resize() change
12445
12446 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12447
12448         * BufferView_pimpl.C: topCursorVisible
12449           prototype change
12450
12451 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12452
12453         * Makefile.am:
12454         * lyx_gui.h:
12455         * lyx_gui.C: move to frontends/
12456
12457         * main.C:
12458         * lyx_main.h:
12459         * lyx_main.C: changes from above
12460
12461 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12462
12463         * intl.C:
12464         * intl.h:
12465         * kbmap.C:
12466         * kbsequence.C:
12467         * lyx_cb.C:
12468         * lyx_main.C: minor tidy
12469
12470 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12471
12472         * BufferView_pimpl.h:
12473         * BufferView_pimpl.C:
12474         * BufferView.h:
12475         * BufferView.C: make painter() const,
12476           remove dead code
12477
12478         * BufferView2.C: use screen() accessor
12479
12480         * lyx_main.h:
12481         * lyx_main.C: some minor cleanup
12482
12483 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12484
12485         * BufferView_pimpl.h:
12486         * BufferView_pimpl.C: remove enter/leaveView,
12487           use workHeight()
12488
12489 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12490
12491         * BufferView.h:
12492         * BufferView.C:
12493         * BufferView2.C:
12494         * BufferView_pimpl.h:
12495         * BufferView_pimpl.C: only construct screen once,
12496           rename
12497
12498         * lyxrc.C: remove pointless comment
12499
12500 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12501
12502         * BufferView.h:
12503         * BufferView.C: remove active() and belowMouse()
12504
12505         * BufferView_pimpl.h:
12506         * BufferView_pimpl.C: use workarea() not workarea_,
12507           and make it use a scoped_ptr instead
12508
12509 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12510
12511         * lyx_gui.C: add debug message on BadWindow
12512
12513 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12514
12515         * sp_spell.C: fdopen is not part of the C++ standard.
12516
12517         * paragraph.C (InsetIterator): use >= instead of ==
12518
12519 2002-06-07  Angus Leeming  <leeming@lyx.org>
12520
12521         Fixes needed to compile with Compaq cxx 6.5.
12522         * BufferView_pimpl.C:
12523         * DepTable.C:
12524         * buffer.C:
12525         * converter.C:
12526         * encoding.C:
12527         * lyx_gui.C:
12528         * lyx_main.C:
12529         * lyxtextclasslist.C:
12530         * minibuffer.C:
12531         * sp_spell.C:
12532         * tabular_funcs.C:
12533         * vc-backend.C:
12534         all c-library variables have been moved into namespace std. Wrap
12535         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12536
12537         * lyxlength.C:
12538         * tabular-old.C:
12539         * tabular.C:
12540         Add a using std::abs declaration.
12541
12542         * kbmap.h (modifier_pair):
12543         * paragraph.h (InsetTable, InsetList):
12544         * lyxfont.h (FontBits):
12545         type definition made public.
12546
12547         * bufferlist.C (emergencyWriteAll): the compiler complains that
12548         there is more than one possible lyx::class_fun template to choose from.
12549         I re-named the void specialisation as lyx::void_class_fun.
12550
12551         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12552
12553         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12554         the compiler is is unable to find tostr in write_attribute.
12555
12556 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12557
12558         * buffer.C (sgmlError): hide #warning
12559
12560 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12561
12562         * xtl/*: get rid of xtl, which is not in use anyway
12563
12564         * LyXAction.C (init):
12565         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12566         were unimplemented xtl experimentation
12567
12568 2002-06-04  André Pönitz <poenitz@gmx.net>
12569
12570         * lyxfunc.C: disable array operation on simple formulae
12571
12572 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
12573
12574         * converter.C: constify a bit
12575
12576 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
12577
12578         * lyx_gui.C: check xforms version correctly
12579
12580 2002-04-30  Herbert Voss  <voss@lyx.org>
12581
12582         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12583         "keep" option
12584
12585 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
12586
12587         * lyxvc.C: fix bug 416 (make sure buffer is saved before
12588           attempt to register it with a VCS)
12589
12590 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12591
12592         * lyx_main.C (init): honor variables LYX_DIR_13x and
12593         LYX_USERDIR_13x
12594
12595 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12596
12597         * buffer.h:
12598         * buffer.C:
12599         * lyx_main.C: fix a crash on bad command line,
12600           and give a useful exit status on error
12601
12602         * lyxfunc.C (doImport): allow -i lyx to work
12603
12604 2002-03-30  André Pönitz <poenitz@gmx.net>
12605
12606         * lyxfunc.C: mathed font changes
12607
12608 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12609
12610         * LaTeX.C:
12611         * importer.h:
12612         * importer.C:
12613         * lyx_sty.h:
12614         * lyx_sty.C:
12615         * lyxlex.C:
12616         * lyxrow.h:
12617         * lyxtext.h:
12618         * paragraph.h:
12619         * paragraph.C:
12620         * texrow.h:
12621         * texrow.C:
12622         * text.C:
12623         * trans_mgr.h: srcdocs, and some minor cleanups
12624
12625 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12626
12627         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12628         call getFont all the time)
12629
12630 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12631
12632         * switch from SigC signals to boost::signals
12633
12634 2002-05-29  André Pönitz <poenitz@gmx.net>
12635
12636         * paragraph_pimpl.C (getChar): don't call size() too often...
12637
12638 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12639
12640         * paragraph_pimpl.C (insertChar): do not try to update tables when
12641         appending (pos == size())
12642
12643         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12644         in order to reduce drastically the number of comparisons needed to
12645         parse a large document
12646
12647 2002-05-29  André Pönitz <poenitz@gmx.net>
12648
12649         * text.C:
12650         * text2.C:
12651         * lyxtextclass.C:
12652         * sp_pspell.h:
12653         * textclasslist.[Ch]:
12654         * sp_ispell.h: whitespace change
12655
12656 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12657
12658         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12659         lyxaction directly now.
12660
12661 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
12662
12663         * trans.C:
12664         * lyxfont.C:
12665         * lyxvc.C: remove unused headers
12666
12667 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12668
12669         * Makefile.am:
12670         * buffer.h:
12671         * undostack.h:
12672         * undostack.C:
12673         * undo_funcs.h:
12674         * undo_funcs.C: some cleanups. Use shared_ptr
12675           and a template for the undo stacks.
12676
12677 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12678
12679         * BufferView_pimpl.h:
12680         * BufferView_pimpl.C:
12681         * kbmap.h:
12682         * kbmap.C:
12683         * kbsequence.h:
12684         * kbsequence.C:
12685         * lyxfunc.h:
12686         * lyxfunc.C:
12687         * text2.C: use key_state/mouse_state
12688
12689 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12690
12691         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12692         and LSubstring
12693
12694         * chset.C: change include order
12695         (loadFile): use boost regex and get rid of LRegex and LSubstring
12696
12697         * Makefile.am (BOOST_LIBS): new variable
12698         (lyx_LDADD): use it
12699
12700         * LaTeX.C: change include order.
12701         (scanAuxFile): use boost regex and get rid of LRegex and
12702         LSubstring
12703         (deplog): ditto
12704
12705 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12706
12707         * ColorHandler.h:
12708         * ColorHandler.C:
12709         * FontInfo.h:
12710         * FontInfo.C: moved to frontends/xforms/
12711
12712         * FontLoader.h:
12713         * FontLoader.C: moved into frontends for GUIIzation
12714
12715         * Makefile.am:
12716         * lyx_gui.C:
12717         * lyxfont.C:
12718         * lyxfunc.C: changes from above
12719
12720 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12721
12722         * LColor.C: remove spurious X include
12723
12724         * BufferView_pimpl.C:
12725         * Makefile.am:
12726         * font.h:
12727         * font.C:
12728         * text.C:
12729         * text2.C: move font metrics to frontends/
12730
12731 2002-05-24  Juergen Vigna  <jug@sad.it>
12732
12733         * undo_funcs.C (textHandleUndo): fix the cursor selection after
12734         setting the undo_cursor.
12735
12736         * ParagraphParameters.h: include local includes first.
12737
12738 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12739
12740         * BufferView_pimpl.C:
12741         * BufferView_pimpl.h:
12742         * Makefile.am:
12743         * WorkArea.h:
12744         * WorkArea.C:
12745         * screen.C: move WorkArea into frontends/
12746
12747         * lyxscreen.h:
12748         * screen.C:
12749         * text.C:
12750         * BufferView.C:
12751         * BufferView2.C: move LyXScreen into frontends/
12752
12753         * lyxlookup.h:
12754         * lyxlookup.C:
12755         * lyx_gui.C: move lyxlookup into frontends/xforms/
12756
12757 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12758
12759         * BufferView2.C:
12760         * BufferView_pimpl.C:
12761         * FontLoader.C:
12762         * LyXView.h:
12763         * LyXView.C:
12764         * Makefile.am:
12765         * WorkArea.C:
12766         * XFormsView.h:
12767         * XFormsView.C:
12768         * buffer.C:
12769         * bufferlist.C:
12770         * bufferview_funcs.C:
12771         * converter.C:
12772         * importer.C:
12773         * lyx_cb.C:
12774         * lyx_gui.C:
12775         * lyx_main.C:
12776         * lyx_find.C:
12777         * lyxfunc.C:
12778         * lyxvc.C:
12779         * minibuffer.C:
12780         * text.C:
12781         * text2.C:
12782         * trans.C:
12783         * vc-backend.C: move LyX/XFormsView into frontends/
12784
12785 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12786
12787         * Makefile.am:
12788         * PainterBase.C:
12789         * PainterBase.h:
12790         * Painter.C:
12791         * Painter.h:
12792         * WorkArea.C:
12793         * WorkArea.h:
12794         * screen.C:
12795         * tabular.C:
12796         * text.C:
12797         * text2.C: move Painter to frontends/
12798
12799 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12800
12801         * buffer.C: comment out some some code that depend upon lyx_format
12802         < 220
12803
12804         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12805         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12806
12807         * buffer.h (NO_COMPABILITY): turn off compability
12808
12809         * ColorHandler.C: include scoped_array.hpp
12810
12811         * font.C: Use more specific smart_ptr header.
12812         * Painter.C: ditto
12813         * gettext.C: ditto
12814         * ShareContainer.h: ditto
12815         * lyx_main.h: ditto
12816         * kbmap.h: ditto
12817         * FontInfo.h: ditto
12818         * BufferView_pimpl.h: ditto
12819         * ColorHandler.h: ditto
12820
12821         * kbmap.C (defkey): change call to shared_ptr::reset
12822
12823 2002-05-21  Juergen Vigna  <jug@sad.it>
12824
12825         * buffer.C (insertErtContents): fix to insert ert asis if it is
12826         non empty. Skip it completely if it contains only whitespaces.
12827
12828 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
12829
12830         * BufferView_pimpl.C:
12831         * BufferView2.C: clear selection on paste (bug 393)
12832
12833 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12834
12835         * DepTable.C: include ctime
12836
12837 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
12838
12839         * buffer.C (latexParagraphs): Add new argument (moving_arg).
12840
12841 2002-05-14  Juergen Vigna  <jug@sad.it>
12842
12843         * text.C (breakParagraph): fixed function to honor the keepempty
12844         layout in the right maner and also to permit the right breaking
12845         algorithm on empty or non empyt keepempty paragraphs.
12846
12847         * paragraph.C (breakParagraph): we have to check also if the par
12848         is really empty (!size()) for isempty otherwise we do the wrong
12849         paragraph break.
12850
12851 2002-05-10  Juergen Vigna  <jug@sad.it>
12852
12853         * buffer.[Ch] : The following are only changes to the ert
12854         compatibility read reading old LaTeX layout and font stuff and
12855         convert it to ERTInsets.
12856
12857         * buffer.h: added isErtInset().
12858
12859         * buffer.C (struct ErtComp): add a fromlayout bool to check
12860         if we're inside a LaTeX layout.
12861         (isErtInset): new helper function.
12862         (insertErtContents): look for other ert insets before this one
12863         and insert the contents there, so that we don't have subsequent
12864         ERT insets with nothing between them. This way we create only one
12865         inset with multiple paragraphs. Also check if we don't insert only
12866         spaces ' ' as they are ignored anyway afterwards in the .tex file
12867         so if we have only spaces we will ignore this latex part in the
12868         new file.
12869         (parseSingleLyXformat2Token \\layout): better compatibility when
12870         reading layout-latex stuff.
12871         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12872         language tag.
12873         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12874         stuff after reading the inset only get the information back from
12875         the stack.
12876
12877 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
12878
12879         * buffer.C (makeLaTeXFile): Put language options after loading babel.
12880
12881         * LaTeXFeatures.C (getBabelOptions): New method.
12882
12883 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12884
12885         * BufferView_pimpl.C (Dispatch): work around missing argument for
12886         'layout'
12887
12888 2002-05-08  Juergen Vigna  <jug@sad.it>
12889
12890         * text.C (leftMargin): handle paragraph leftindent.
12891
12892         * paragraph.C (writeFile): write the new \\leftindent tag.
12893         (validate): handle leftindent code.
12894         (TeXEnvironment): handle paragraphleftindent code again.
12895
12896         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12897
12898         * buffer.C (parseSingleLyXformat2Token): added compatibility code
12899         for paragrap_extra indent code and new token \\leftindent.
12900         (latexParagraphs): handle the leftindent as environment.
12901
12902         * ParameterStruct.h: added leftindent support.
12903
12904         * ParagraphParameters.C (leftIndent): added support functions for
12905         the paragraph left indent.
12906
12907         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12908         more appropriate.
12909
12910 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
12911
12912         * paragraph.C (isRightToLeftPar): Return false for a paragraph
12913         inside insetERT.
12914
12915         * text.C (computeBidiTables): No bidi in insetERT.
12916
12917         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12918         in RTL documents.
12919
12920 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12921
12922         * version.C.in: pre 5
12923
12924 2002-05-02  José Matos  <jamatos@fep.up.pt>
12925         * buffer.C (makeDocBookFile): white space changes, add newline to
12926         command styles.
12927         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12928
12929         * tabular.C (docBook): fix typo.
12930
12931 2002-05-03  Juergen Vigna  <jug@sad.it>
12932
12933         * screen.C (drawFromTo): recalculate the rowpointer if we had a
12934         change in LyXText as we can not be sure it was not freed.
12935         (drawOneRow): remove unused code.
12936
12937         * text.C (drawInset): redo the calculation of the need_break_row as
12938         it could have a row which was already freed.
12939         (draw): look at the return value of drawInset and return false if
12940         it also returned false.
12941         (paintRowText): look at the return value of draw and return false if
12942         it also returned false.
12943
12944         * lyxtext.h: added bool return type to drawInset() and draw() so that
12945         if we have a change in the row so that the rowbreak has to be redone
12946         we abort drawing as it will be called again.
12947
12948 2002-05-02  Juergen Vigna  <jug@sad.it>
12949
12950         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12951         a change in the maintext also if we're inside an inset.
12952         (Dispatch): set the cursor again after a break line and after the
12953         screen has been updated as it could be we're in a different row.
12954
12955         * text2.C (fixCursorAfterDelete): check to make sure we don't request
12956         to set the cursor behind the pargraph with > size().
12957         (setCursor): check also for the same paragraph when checking where
12958         to put the cursor if we have a NFR inset.
12959
12960         * buffer.C (parseSingleLyXformat2Token): move the compatibility
12961         parts of layout read further up as it still was in the wrong
12962         position.
12963
12964 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12965
12966         * screen.C (drawFromTo): change sine fullRebreak always return
12967         true.
12968
12969         * buffer.C (parseSingleLyXformat2Token): reindent some
12970
12971         * BufferView_pimpl.C (update): change since fullRebreak always
12972         return true.
12973         (Dispatch): git rid of the last hardcoded "Standard"s.
12974
12975 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12976
12977         * text2.[Ch] (fullRebreak): make it return void now that we always
12978         returned true.
12979
12980 2002-04-30  Juergen Vigna  <jug@sad.it>
12981
12982         * buffer.C (parseSingleLyXformat2Token): reset the font before the
12983         ert compatibility check for "latex" layout.
12984
12985 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
12986
12987         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12988         minipages: use col% instead of p%, and also use the current font.
12989         (makeLaTeXFile): Fix use babel condition.
12990         (parseSingleLyXformat2Token): Correct font when reading old floats.
12991
12992 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
12993
12994         * BufferView_pimpl.C (Dispatch): Check that float type exists when
12995         inserting list of floats.
12996
12997 2002-04-25  Herbert Voss  <voss@lyx.org>
12998
12999         * MenuBackend.C (expand): don't add the graphics extensions to the
13000         export menu
13001
13002 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13003
13004         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
13005         non-existing layout, do not complain if it was the default layout
13006         of the original class (bug #342)
13007
13008 2002-04-24  Juergen Vigna  <jug@sad.it>
13009
13010         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
13011         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
13012
13013 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
13014
13015         * buffer.C (getBibkeyList): If using \bibliography, return the
13016         option field with the reference itself. Enables us to provide natbib
13017         support when using \bibliography.
13018
13019 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
13020
13021         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
13022
13023         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
13024         natbib is provided by the LaTeX class.
13025
13026 2002-04-23  Juergen Vigna  <jug@sad.it>
13027
13028         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
13029         Wakeup functions.
13030
13031         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
13032
13033 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13034
13035         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
13036
13037         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
13038         ensuremath around textordmasculine, textordfeminine and
13039         textdegree.
13040
13041 2002-04-19  Juergen Vigna  <jug@sad.it>
13042
13043         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
13044         reinitializing the buffer otherwise row-dimensions may be wrong.
13045         (update): reset also the selection cursors if they do exits otherwise
13046         their x/y positions may be wrong.
13047
13048         * text2.C (cursorDown): don't enter the inset if we came from a row
13049         above and are one row over the inset.
13050
13051         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
13052         really leaving an inset.
13053
13054 2002-04-18  Juergen Vigna  <jug@sad.it>
13055
13056         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
13057         of the selected paragraph does not have the selected layout also if
13058         the last one had!
13059
13060         * text2.C (setLayout): fixed bug which did not change last selected
13061         paragraph.
13062
13063         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
13064         changed the read and substituted \\end_float with \\end_inset!
13065
13066         * BufferView_pimpl.C (cursorPrevious):
13067         (cursorNext): fixed to make it work with rows heigher than the work
13068         area without moving the cursor only the draw of the row.
13069         (workAreaMotionNotify): fix jumping over high rows.
13070
13071 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13072
13073         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
13074         Ressler.
13075
13076 2002-04-16  Juergen Vigna  <jug@sad.it>
13077
13078         * text2.C (setCursor): set also the irow().
13079         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
13080         (cursorUp):
13081         (cursorDown): support for locking an inset if the x_fix value goes
13082         inside it. That way I can transverse insets too with cursor up/down.
13083
13084         * lyxrow.h: added irow helper function same as other (i) functions.
13085
13086         * BufferView_pimpl.C (cursorPrevious):
13087         (cursorNext): fixed for insets!
13088
13089 2002-04-15  Juergen Vigna  <jug@sad.it>
13090
13091         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
13092         position otherwise it is wrong in some cases.
13093
13094         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
13095         inside the inset before the call.
13096
13097 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
13098
13099         * buffer.[Ch] (getBibkeyList): make it const.
13100
13101 2002-04-12  Juergen Vigna  <jug@sad.it>
13102
13103         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
13104
13105         * text2.C (getCursorX): new helper function
13106         (setCursor): compute also ix_
13107         (setCursorFromCoordinates): set also ix.
13108
13109         * lyxcursor.h: added ix_ and helper functions.
13110
13111         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
13112
13113         * buffer.C (insertStringAsLines): dont break paragraph if the this
13114         paragraph is inside an inset which does not permit it!
13115
13116         * text.C (breakParagraph): honor keepempty flag and break the paragraph
13117         also with no chars on this paragraph.
13118         (paintRowText): only paint stuff if it's inside the workarea!
13119
13120         * paragraph.C (breakParagraph): honor keepempty flag and break the
13121         paragraph always below not above.
13122
13123         * BufferView2.C (unlockInset): update the paragraph layout on inset
13124         unlock as we changed paragraph in such a case.
13125
13126         * lyxfind.C (LyXFind): clear the former selection if not found!
13127
13128         * text2.C (insertInset): freeze Undo after setUndo so that it is not
13129         again called in insertChar().
13130
13131         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
13132         an inset which uses the whole row!
13133         (rightMargin): ditto.
13134         (insertChar): force a rebreak if we inserted an inset!
13135
13136 2002-03-28  Herbert Voss  <voss@lyx.org>
13137
13138         * lyxlength.[Ch]: add inBP() to get the right PS-point
13139         units (BigPoint). With inPixels we have rounding errors
13140
13141 2002-04-11  Juergen Vigna  <jug@sad.it>
13142
13143         * text2.C (setCursorFromCoordinates): set iy to the right value.
13144         (setCursor): add check if row->previous exists!
13145
13146         * buffer.C (parseSingleLyXformat2Token): reset font after read of
13147         an old float_type as this was the case in the old code!
13148
13149         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
13150
13151         * BufferView2.C (showLockedInsetCursor): use iy
13152         (fitLockedInsetCursor): ditto
13153
13154         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
13155         locked insets as there we have the right value now.
13156
13157         * lyxcursor.C: added iy_ variable and iy functions to set to the
13158         baseline of cursor-y of the locked inset.
13159
13160         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
13161         (setCursor): fixed for insets which need a full row.
13162
13163         * text.C (rowLastPrintable): don't ignore the last space when before
13164         an inset which needs a full row.
13165         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
13166         as last character of a row when before a inset which needs a full row.
13167
13168 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13169
13170         * version.C.in: update date
13171
13172         * text2.C (fullRebreak): try to always return true and see what
13173         happens...
13174
13175 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13176
13177         * MenuBackend.C (expand): use Floating::listName
13178
13179         * FloatList.C (FloatList): add listName argument to the built-in
13180         floats
13181
13182         * Floating.[Ch]: add listName member, which is the 'List of XXX'
13183         text associated with the float.
13184
13185 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13186
13187         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
13188
13189 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13190
13191         * ShareContainer.h: add a couple of missing typenames.
13192
13193 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
13194
13195         * lyxrc.C (getDescription): use _() correctly rather than N_().
13196
13197 2002-03-28  Herbert Voss  <voss@lyx.org>
13198
13199         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13200         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13201
13202 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13203
13204         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13205         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13206
13207 2002-03-29  Juergen Vigna  <jug@sad.it>
13208
13209         * lyxfunc.C (dispatch): add a missing fitCursor call.
13210
13211         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13212         it was scrolled by a cursor move, so return the bool status.
13213
13214         * BufferView.C (fitCursor): return the bool flag also to the outside
13215         world as this is needed.
13216
13217         * screen.C (toggleToggle): don't subtract the offset if it's positive.
13218
13219         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13220         call the edit() as it is not needed (and wrong) IMO.
13221         (workAreaButtonPress): set the screen_first variable before evt.
13222         unlock the inset as this may change screen_first and then we have
13223         a wrong y position for the click!
13224
13225 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13226
13227         * MenuBackend.C (expand): another translation that I missed
13228
13229 2002-03-28  Juergen Vigna  <jug@sad.it>
13230
13231         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13232
13233         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13234
13235 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13236
13237         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13238
13239         * MenuBackend.C (expand): fix export/view/update when there is no
13240         document open.
13241
13242 2002-03-27  Herbert Voss  <voss@lyx.org>
13243
13244         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13245         and text%
13246
13247 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13248
13249         * bufferview_funcs.C (currentState): only show paragraph number
13250         for is DEVEL_VERSION is set.
13251
13252         * lyxfunc.C (dispatch): put warning in INFO channel
13253
13254         * MenuBackend.C (expand): translate the name of floats
13255
13256         * FloatList.C (FloatList): mark the float names for translation
13257
13258         * converter.C (convert): use LibScriptSearch
13259
13260 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13261
13262         * MenuBackend.C (defaults): fix default menu (we might as well get
13263         rid of it...)
13264
13265 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13266
13267         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13268         directory.
13269
13270 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13271
13272         * lyxvc.C: reorder includes.
13273
13274 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
13275
13276         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13277           properly
13278
13279 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
13280
13281         * CutAndPaste.C: change layouts earlier on paste
13282           to avoid crashing when calling getFont()
13283
13284 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
13285
13286         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13287         irritating #error.
13288
13289 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13290
13291         * WorkArea.C: remove 'Pending' debug message.
13292
13293         * most files: ws cleanup
13294
13295         * buffer.[Ch]: ws changes
13296
13297         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13298
13299 2002-03-21  Juergen Vigna  <jug@sad.it>
13300
13301         * tabular.C (SetMultiColumn): collapse also the contents of the
13302         cells and set the last border right. Added a Buffer const * param.
13303
13304 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13305
13306         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13307         linking or not.
13308
13309 2002-03-19  Juergen Vigna  <jug@sad.it>
13310
13311         * text2.C (clearSelection): reset also xsel_cache.
13312
13313         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13314         where it needs to be called (John tells us to do so too :)
13315         (selectionLost): reset sel_cache.
13316
13317         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13318
13319 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13320
13321         * text2.C (setCursorIntern): put debuging code in INSETS channel
13322
13323 2002-03-19  André Pönitz <poenitz@gmx.net>
13324
13325         * lyxfunc.C: tiny whitespace change
13326
13327 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13328
13329         * ToolbarDefaults.C (init):
13330         * LyXAction.C (init):
13331         * commandtags.h:
13332         * BufferView_pimpl.C (Dispatch):
13333         * lyxfunc.C (dispatch): remove LFUN_DEPTH
13334
13335 2002-03-19  Allan Rae  <rae@lyx.org>
13336
13337         * exporter.C (Export): removeAutoInsets before doing anything else.
13338         While I've just introduced a dependency on BufferView this really is
13339         the best place to clean the buffer otherwise you need to cleanup in
13340         a dozen places before calling export or cleanup in a dozen functions
13341         that export calls.
13342
13343         * converter.C (runLaTeX):
13344         (scanLog): Better handling of removeAutoInsets and screen updates.
13345
13346         * lyxfunc.C (dispatch): small whitespace changes
13347
13348 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13349
13350         * WorkArea.C (C_WorkAreaEvent): return a value.
13351         (event_cb): return 1 if we handled the event, 0 otherwise.
13352
13353         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13354
13355 2002-03-18  Juergen Vigna  <jug@sad.it>
13356
13357         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13358         (GetAdditionalWidth): ditto.
13359         (RightLine): ditto.
13360         (LeftLine): ditto.
13361
13362         * BufferView2.C (copy): use getLyXText() so that we do it inside an
13363         inset if we're there actually (probably not used right now but this
13364         is the direction to go for unifying code).
13365         (paste): disable code to clear the selection.
13366
13367         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13368         inside an InsetText and move the check further up as it is in the
13369         wrong place.
13370
13371         * text2.C (pasteSelection): set a selection over the pasted text.
13372
13373 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
13374
13375         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13376         and libgraphics to build on Cygwin.
13377
13378 2002-03-15  Juergen Vigna  <jug@sad.it>
13379
13380         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13381         inserting an Inset into the paragraph. I know this is not the best
13382         fix but we already use current_view in CutAndPaste so we will remove
13383         all of it's using at the same time.
13384
13385         * buffer.C (sgmlError): deactivated function till it is rewritten in
13386         the right mode, now it can create problems.
13387
13388         * paragraph.C (isLineSeparator): check if getInset returns != 0,
13389         before accessing it.
13390
13391 2002-03-14  Juergen Vigna  <jug@sad.it>
13392
13393         * undo_funcs.C (textHandleUndo): do the right thing when updating
13394         the inset after the undo/redo.
13395
13396         * text2.C (setCursor): just some testcode for #44 not ready yet.
13397
13398         * undo_funcs.C (textHandleUndo): set the next() and previous()
13399         pointers of the paragraph to 0 before deleting otherwise we have
13400         problems with the Paragraph::[destructor].
13401
13402         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13403         on a paragraph insertion.
13404
13405 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13406
13407         * buffer.C (asciiParagraph): use += operator for char append to
13408         string.
13409
13410         * paragraph.C (getFontSettings): compare >= not just >
13411         (highestFontInRange): ditto
13412         (setFont): ditto
13413
13414 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13415
13416         * paragraph.C: change several algorithm to be more appripriate for
13417         the problem domain. This is lookip in FontList and in the InsetList.
13418
13419 2002-03-13  André Pönitz <poenitz@gmx.net>
13420
13421         * commandtags.h:
13422         * LyXAction.C: remove unused LFUN_MATH_MACROARG
13423
13424 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
13425
13426         * commandtags.h:
13427         * LyXAction.C:
13428         * lyxfunc.C:
13429         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13430
13431 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13432
13433         * Painter.C (display): anon helper function, adjust code for this
13434         change.
13435         (pixmap): remove function.
13436
13437         * Painter.h: remove private display variable.
13438
13439         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13440
13441 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
13442
13443         * WorkArea.[Ch]: remove figinset_canvas cruft.
13444
13445 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13446
13447         * lyxtextclass.C (operator): add one item cache optimization.
13448
13449         * bufferlist.h: doxy changes
13450
13451         * bufferlist.C: ws changes
13452
13453         * DepTable.[Ch] (ext_exist): place const in the right spot.
13454
13455         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13456         call resizeInsets.
13457         (workAreaExpose): call resizeInsets when the with BufferView changes.
13458         (Dispatch): adjust for protectedBlank removal
13459         (specialChar): call updateInset if the insert went ok.
13460
13461         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13462         specialChar instead.
13463
13464         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13465
13466         * BufferView.h: doxy change
13467
13468         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13469
13470         * lyxtextclass.C (operator[]): remove non-const version
13471         (defaultLayout): remove non-const version
13472
13473 2002-03-12  Juergen Vigna  <jug@sad.it>
13474
13475         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13476         did resize the LyXText too.
13477
13478         * buffer.C (readLyXformat2): set layout information on newly allocated
13479         paragraphs.
13480
13481         * tabular.C (OldFormatRead): set layout information on the paragraph.
13482
13483 2002-03-12  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13484
13485         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13486
13487 2002-03-11  Juergen Vigna  <jug@sad.it>
13488
13489         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13490         plainly wrong.
13491         (resizeCurrentBuffer): force also the insets to resize themselfes.
13492         (moveCursorUpdate): fixed up for InsetText.
13493
13494 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
13495
13496         * commandtags.h:
13497         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13498         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13499         value of Dialogs::tooltipsEnabled().
13500         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13501
13502 2002-03-08  Juergen Vigna  <jug@sad.it>
13503
13504         * BufferView_pimpl.C (updateInset): update inset inside inset also
13505         if it isn't inside theLockingInset().
13506
13507 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13508
13509         * buffer.C (asciiParagraph): redo some of the word and line length
13510         handling.
13511         (getLists): look for Caption instead of caption.
13512
13513 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13514
13515         * buffer.C (Buffer): initialize niceFile to true
13516         (makeLaTeXFile):
13517         (makeLinuxDocFile):
13518         (makeDocBookFile): make sure niceFile is true on exit
13519
13520 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13521
13522         * buffer.C (makeLaTeXFile): escape ~ in \input@path
13523
13524 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
13525
13526         * LyXSendto.C: remove.
13527         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13528         * lyx_gui.C: remove now-redundant comment.
13529         * ColorHandler.h: remove forward declaration of class WorkArea.
13530         * lyxfunc.C: remove #include "WorkArea.h".
13531
13532 2002-03-07  Juergen Vigna  <jug@sad.it>
13533
13534         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13535         got moved away with the DEPM and also set the inset_owner always
13536         right which before could have been omitted.
13537
13538 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13539
13540         * buffer.C (parseSingleLyXformat2Token): use default layout is the
13541         wanted layout is not found.
13542
13543 2002-03-07  Juergen Vigna  <jug@sad.it>
13544
13545         * CutAndPaste.C (cutSelection): another layout settings forgotten.
13546
13547 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13548
13549         * paragraph.C (breakParagraph): use default layout not layout of
13550         prev paragraph.
13551         (Paragraph): clear ParagraphParameters.
13552
13553 2002-03-06  Juergen Vigna  <jug@sad.it>
13554
13555         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13556         otherwise it would not be a valid lenght. Fixed a special case in
13557         the minipage compatibility read where we end the document with a
13558         minipage.
13559
13560         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13561         was set as it could be 0 for InsetTexts first entry.
13562
13563 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13564
13565         * paragraph.C (writeFile): if layout is empty write out
13566         defaultLayoutName().
13567
13568         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13569         file without named layout we set layout to defaultLayoutName().
13570
13571 2002-03-06  Juergen Vigna  <jug@sad.it>
13572
13573         * CutAndPaste.C (copySelection): set layout for new paragraph.
13574
13575         * text.C (prepareToPrint): leave ERT inset left aligned
13576         (leftMargin): don't indent paragraphs inside ERT insets
13577
13578 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13579
13580         * paragraph.C (breakParagraph): dont call clear do the work manually
13581
13582         * paragraph.[Ch] (clear): remove function
13583
13584 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13585
13586         * paragraph.C (Paragraph): dont call clear, the work has already
13587         been done.
13588
13589         * lyxtextclass.C (operator): assert if n is empty
13590
13591         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13592         work manually instead.
13593
13594 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13595
13596         * BufferView_pimpl.C: protect selectionLost against text == 0
13597
13598 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13599
13600         * text.C (breakParagraph): fix a setting layout to '0' problem.
13601
13602 2002-03-05  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13603
13604         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13605         final location of file, for the included files, and graphics.
13606
13607 2002-03-05  Juergen Vigna  <jug@sad.it>
13608
13609         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13610
13611 2002-03-04  Juergen Vigna  <jug@sad.it>
13612
13613         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13614
13615         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13616         last column of multicolumn cells.
13617         (SetWidthOfMulticolCell): recalculate NMC and real columns.
13618
13619 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
13620
13621         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13622         file if it doesn't go to a temporary file.
13623
13624         * buffer.C (sgmlOpenTag):
13625         (sgmlCloseTag):  remove extra newline insertion.
13626
13627 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13628
13629         * text.C (getRowNearY): comment out debug msg
13630
13631 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13632
13633         * text2.C: first -> first_y
13634
13635         * text.C (getRowNearY): add some attemts at a possible
13636         optimization, not working.
13637
13638         * tabular.[Ch]: add BufferParams to several function so that newly
13639         created paragraph can be initialized to he default layotu for the
13640         buffers textclass.
13641
13642         * tabular-old.C (ReadOld): add buf->params to call of Init
13643
13644         * screen.C: rename text->first to text->first_y
13645
13646         * paragraph.C (breakParagraph): always set layout in the broken
13647         paragraph
13648
13649         * lyxtextclass.C (Read): remove lowercase
13650         (hasLayout): ditto
13651         (operator): ditto
13652         (delete_layout): ditto
13653
13654         * lyxtext.h: rename first -> first_y
13655
13656         * lyxlayout.C (Read): remove lowercase
13657         (name): ditto
13658         (setName): ditto
13659         (obsoleted_by): ditto
13660
13661         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13662
13663         * buffer.C (insertErtContents): add params are to InsetERT
13664         (parseSingleLyXformat2Token): add code to check if a paragraphs
13665         layout really exist.
13666         (parseSingleLyXformat2Token): add params to several inset
13667         constructors
13668         (asciiParagraph): remove lowercase, do the layout comparisons with
13669         no_case
13670
13671         * BufferView_pimpl.C (cursorNext): first -> first_y
13672         (resizeCurrentBuffer): first -> first_y
13673         (updateScrollbar): first -> first_y
13674         (scrollCB): first -> first_y
13675         (workAreaMotionNotify): first -> first_y
13676         (workAreaButtonPress): first -> first_y
13677         (checkInsetHit): first -> first_y
13678         (cursorPrevious): first -> first_y
13679         (cursorNext): first -> first_y
13680         (Dispatch): add buffer_->params to severl inset contructors
13681
13682 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13683
13684         * lyxlayout.C (Read): remove some debug info that I forgot.
13685
13686         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13687         clean up the code slightly.
13688         (makeLinuxDocFile): ditto
13689         (makeDocBookFile): ditto
13690
13691         * text2.C: layout as string
13692
13693         * text.C: layout as string
13694
13695         * paragraph_pimpl.C: layout as string
13696
13697         * paragraph.[Ch]: layout as string
13698
13699         * lyxtextclasslist.[Ch]: layout as string
13700
13701         * lyxtextclass.[Ch]: layout as string
13702
13703         * lyxtext.h: layout as string
13704
13705         * lyxlayout.[Ch]: layout as string
13706
13707         * lyx_cb.C: layout as string
13708
13709         * bufferview_funcs.C: layout as string
13710
13711         * bufferparams.C: layout as string
13712
13713         * buffer.C: layout as string
13714
13715         * LyXView.[Ch]: layout as string
13716
13717         * LaTeXFeatures.[Ch]: layout as string
13718
13719         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13720
13721         * BufferView_pimpl.C: change current_layout to string, remove
13722         lyx::layout_type.
13723         (Dispatch):
13724         (smartQuote):
13725         (insertInset):
13726         (workAreaButtonRelease): layout as string
13727
13728         * BufferView2.C (unlockInset): adjust
13729
13730         * vspace.C (asLatexCommand): use an explict temp variable.
13731
13732 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13733
13734         * Makefile.am: use FRONTEND_*
13735
13736 2002-03-01  Juergen Vigna  <jug@sad.it>
13737
13738         * tabular.C (SetWidthOfMulticolCell): changed to something better
13739         I hope but still work in progress.
13740         (recalculateMulticolumnsOfColumn): renamed function from
13741         recalculateMulticolCells as it is more appropriate now.
13742         (SetWidthOfCell): calculate multicols better.
13743
13744 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13745
13746         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13747
13748         * lyxfunc.C (processKeySym): print sequence also if it is
13749         `deleted' (complete)
13750
13751         * kbsequence.C (print): print sequence even if it is deleted
13752         (complete would be a better word, actually).
13753
13754         * lyxfunc.C (dispatch): print complete options after a prefix key
13755
13756         * vspace.C (asLatexCommand): rewrite in a slightly different form.
13757
13758 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
13759
13760         * text2.C (setCharFont): eliminate setCharFont code duplication.
13761
13762 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13763
13764         * BufferView_pimpl.C (Dispatch): remove bogus handling of
13765         LFUN_TABULAR_FEATURE (bug #177)
13766
13767 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
13768
13769         * Makefile.am: remove figure.h
13770
13771 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
13772
13773         * Bufferview_pimpl.C:
13774         * CutAndPasteC:
13775         * LaTeX.C:
13776         * LyXSendto.C:
13777         * buffer.C:
13778         * bufferlist.C:
13779         * converter.C:
13780         * language.C:
13781         * lyxfunc.C:
13782         * lyxvc.C:
13783         * paragraph.C:
13784         * text.C:
13785         * text2.C: remove #include "lyx_gui_misc.h".
13786
13787         * LaTeX.C: added #include <cstdio>
13788
13789 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13790
13791         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13792         that the paragraph following this one can have.
13793
13794         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13795
13796         * vspace.C (asLatexCommand): fix bogus gcc warning
13797
13798         * Makefile.am (lyx_SOURCES): remove vms_defines.h
13799
13800 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
13801
13802         * text2.C (setLayout): get rid of redundant code
13803
13804 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
13805
13806         * text2.C (incDepth): make sure depth cannot be increased beyond
13807         reasonable values.
13808
13809 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
13810
13811         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13812         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13813
13814         * PainterBase.h (image):
13815         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13816         a LyXImage const *.
13817
13818 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13819
13820         * BufferView.C:
13821         * BufferView.h:
13822         * BufferView_pimpl.C:
13823         * BufferView_pimpl.h:
13824         * LaTeXFeatures.C:
13825         * LyXAction.C:
13826         * LyXView.C:
13827         * Makefile.am:
13828         * UpdateList.h:
13829         * UpdateList.C:
13830         * buffer.C:
13831         * figure.h:
13832         * figureForm.C:
13833         * figureForm.h:
13834         * figure_form.C:
13835         * figure_form.h:
13836         * lyx_cb.C:
13837         * lyx_gui.C:
13838         * lyx_gui_misc.C:
13839         * lyxfunc.C:
13840         * sp_base.h:
13841         * sp_ispell.h:
13842         * sp_pspell.h:
13843         * sp_spell.C: remove fig inset, and the crap house of
13844           cards that follows it
13845
13846 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13847
13848         * Makefile.am:
13849         * lyxserver.C:
13850         * os2_defines.h:
13851         * os2_errortable.h:
13852         * nt_defines.h: move .h into support/
13853
13854         * vms_defines.h: remove
13855
13856         * WorkArea.C: add space in debug output
13857
13858         * text2.C:
13859         * paragraph.C:
13860         * buffer.C: add WITH_WARNINGS
13861
13862         * vc-backend.h:
13863         * vc-backend.C:
13864         * bufferlist.C: s/retrive/retrieve/, add docs
13865
13866         * vspace.h:
13867         * vspace.C:
13868         * kbmap.h:
13869         * lyxlength.h:
13870         * lyxgluelength.h:
13871         * length_common.h:
13872         * chset.h:
13873         * chset.C: add docs
13874
13875         * lyxgui.C: add ID to X error handler
13876
13877         * lyxtestclass.c: fix typo
13878
13879 2002-02-26  Juergen Vigna  <jug@sad.it>
13880
13881         * tabular_funcs.C (write_attribute): changed so that some default
13882         attributes are not written at all.
13883         (getTokenValue): set default values before trying to read the
13884         value so we have the return value always set as default if we don't
13885         find the token we search for.
13886
13887         * tabular.C (Write): write bools as bools not as strings!
13888
13889 2002-02-22  Juergen Vigna  <jug@sad.it>
13890
13891         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13892         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13893
13894         * text.C (leftMargin): don't add an indent for paragraphs inside
13895         tabular cells (fix #208).
13896
13897 2002-02-21  José Matos  <jamatos@fep.up.pt>
13898
13899         * tabular.C (docBook): fixed support for long tables.
13900
13901 2002-02-20  Juergen Vigna  <jug@sad.it>
13902
13903         * text2.C (getFont): get the drawing font of the Inset if this
13904         paragraph is inside an inset (only important for InsetERT for now).
13905
13906         * buffer.C (insertErtContents): use new lanugage params in ERT
13907         constructor.
13908
13909         * CutAndPaste.C: commenting out seemingly uneeded code.
13910
13911 2002-02-19  Allan Rae  <rae@lyx.org>
13912
13913         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13914         Iterators might be simple to use but they also get invalidated.
13915         (removeAutoInsets): renamed saved cursor tracking variables and added
13916         some comments to clarify what everything does.
13917
13918 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
13919
13920         * Chktex.C:
13921         * LaTeX.C:
13922         * LyXSendto.C:
13923         * converter.C:
13924         * lyx_cb.C:
13925         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13926         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13927
13928         * lyxfunc.C:
13929         * vc-backend.h: remove #include "support/syscall.h"
13930
13931         * LaTeX.C:
13932         * LyXSendto.C:
13933         * converter.C: rearrange #includes in Lars' approved fashion.
13934
13935         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13936         forward declare class Timeout in the header file.
13937
13938         * XFormsView.C: changes due to the above.
13939
13940         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13941         similar to LyXView.
13942
13943         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13944         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13945
13946 2002-02-18  José Matos  <jamatos@fep.up.pt>
13947
13948         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13949         insets contents.
13950
13951 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13952
13953         * a lot of small ws changes
13954         * add a lot of using std::XXX
13955         * use std construcs some places where approp.
13956         * use some exisint stuff from lyxfunctional where approp.
13957         * Make file changes to use partial linking (lets test this now...)
13958
13959 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13960
13961         * Chktex.C:
13962         * buffer.C:
13963         remove #include "support/syscontr.h" as it's redundant. Always has been.
13964
13965         * Chktex.C:
13966         * LaTeX.C:
13967         * LyXSendto.C:
13968         * converter.C:
13969         * lyx_cb.C:
13970         * vc-backend.C:
13971         change Systemcalls::System to Systemcalls::Wait and
13972         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13973         No change of functionality, just reflects the stripped down Systemcalls
13974         class.
13975
13976 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13977
13978         * debug.[Ch]: add a GRAPHICS type to the enum.
13979
13980 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13981
13982         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13983
13984         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13985         there is an inset.
13986
13987 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13988
13989         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13990         match the changes below.
13991
13992         * text2.C (toggleInset): if there is not editable inset at cursor
13993         position, try to see if cursor is _inside_ a collapsable inset
13994         and close it.
13995
13996 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13997
13998         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13999         document menu has a nice checkbox
14000
14001 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14002
14003         * lyxlength.C (asLatexString): change PW to output as percent of
14004         \textwidth.
14005
14006         * lengthcommon.C: change '%' to 't%'
14007
14008         * lyxfunc.C (dispatch): a few comments from Martin
14009
14010 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
14011
14012         * WorkArea.h:
14013         * WorkArea.C:
14014         * BufferView_pimpl.h:
14015         * BufferView_pimpl.C: clear our selection when X tells us we've lost
14016           the X selection.
14017
14018 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14019
14020         * vspace.C (inPixels): fix compiler warning
14021
14022 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14023
14024         * lyxfunc.C (getStatus): fix status message for disabled commands.
14025
14026 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
14027
14028         * BufferView_pimpl.C: fix crash on close buffer
14029         during selection (#227)
14030
14031 2002-01-27  Herbert Voss  <voss@lyx.org>
14032
14033         * buffer.C: link old Figure to new graphic inset
14034
14035 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14036
14037         * FontLoader.C (getFontinfo): Change the latex font names in order
14038         to match the names of type1inst.
14039
14040 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14041
14042         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
14043
14044         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
14045         (extchanged): ditto
14046         (ext_exist): ditto
14047         (remove_files_with_extension): ditto
14048         (remove_file): ditto
14049         (write): ditto
14050
14051         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
14052         document is smaller than the work area height. Do not initialize
14053         static variables to 0.
14054
14055 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14056
14057         * lyx_gui.C (init): give the toolbar tooltips a normal font.
14058
14059         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
14060         LFUN_LAYOUT_PARAGRAPHS.
14061
14062         * tabular.C (GetCellFromInset): new method. Finds an inset in a
14063         tabular. It is possible to provide a possible cell, which will
14064         typically be the actcell from the corresponding insettabular
14065
14066         * lyxfunc.C (getStatus): small cleanup; disable
14067         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
14068         true
14069
14070 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14071
14072         * tabular.C (Validate): remove broken optimization (fixes bug #201)
14073
14074         * paragraph.C (startTeXParParams):
14075         (endTeXParParams): new methods. The LaTeX code to
14076         start/end paragraph formatting
14077         (simpleTeXOnePar): call startTeXParParams also when paragraph is
14078         empty (fixes bug #200)
14079
14080         * vspace.C (inPixels): adapt to the change below
14081         (inPixels): [later] more cleanups (remove unused variables)
14082
14083         * lyxlength.C (inPixels): change to use a width and a height as
14084         parameter.
14085
14086 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14087
14088         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
14089         Replaced with \paperwidth
14090
14091         * DepTable.C (insert): add std:: qualifier
14092
14093 2002-01-18  Allan Rae  <rae@lyx.org>
14094
14095         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
14096         updated also?
14097
14098         * text.C (drawInset): Turned out I didn't know enough about how
14099         rebreaking worked.  This fixes most of the redraw problems.  I see
14100         an occasional cursor trail when a line is broken now and the cursor
14101         placement can seem out by a few pixels also after a rebreak.
14102
14103 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14104
14105         * buffer.C (parseSingleLyXformat2Token): update because minipage
14106         width is now a LyXLength
14107
14108         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
14109
14110         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
14111         math insets
14112
14113 2002-01-17  Juergen Vigna  <jug@sad.it>
14114
14115         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
14116
14117         * BufferView2.C (lockInset): call edit() so that theLockingInset()
14118         is set correctly and the inset is updated correctly.
14119
14120 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14121
14122         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
14123         the beginning of the loop.
14124
14125 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
14126
14127         * lyxrc.C: improve help for use_scalable_fonts
14128
14129 2002-01-17  Allan Rae  <rae@lyx.org>
14130
14131         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
14132
14133 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14134
14135         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
14136         make sure to set their inset_owner to the right value (bug #171)
14137
14138 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
14139
14140         * DepTable.h
14141         * DepTable.C: Implement mtime checking to reduce time spent doing
14142         CRCs.
14143
14144 2002-01-16  Juergen Vigna  <jug@sad.it>
14145
14146         * tabular.C (GetAdditionalHeight): one of error fixed.
14147
14148         * lyxrc.C (output): small fix in writing use_pspell.
14149
14150 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
14151
14152         * sp_base.h: #include LString.h
14153
14154 2002-01-16  Allan Rae  <rae@lyx.org>
14155
14156         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
14157         Can someone check this please?
14158
14159         * text.C (drawInset): It was possible that p.row would be removed by
14160         breakAgainOneRow upsetting a few other settings.  There may be another
14161         small tweak possible by setting need_break_row = 0 when p.row has been
14162         removed but I don't know enough about the logic here.
14163
14164 2002-01-15  Allan Rae  <rae@lyx.org>
14165
14166         * text.C (insertChar): removed conditional truism.
14167
14168         * BufferView2.C (removeAutoInsets): More tweaks.
14169         cur_par_prev could be a stray pointer.  Check for trailing empty line
14170         in case last line was cur_par and only had an error inset on it.
14171
14172 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14173
14174         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
14175         absolute
14176
14177         * vc-backend.C (most methods):
14178         * exporter.C (Export):
14179         * converter.C (convert):
14180         (runLaTeX):
14181         * LyXSendto.C (SendtoApplyCB):
14182         * lyxfunc.C (dispatch):
14183         (menuNew):
14184         (open):
14185         (doImport):
14186         * lyx_cb.C (AutoSave):
14187         (InsertAsciiFile):
14188         * BufferView_pimpl.C (MenuInsertLyXFile):
14189         * buffer.C (runChktex): use Buffer::filePath().
14190
14191         * buffer.h: rename filename to filename_; rename filepath to
14192         filepath_ and make it private
14193         (filePath): new method
14194
14195         * buffer.C (writeFile): use fileName()
14196         (getLatexName):
14197
14198         * lyx_main.C (init): fix starting  of LyX when the binary is a
14199         link from so,ewhere else.
14200
14201         * minibuffer.C: include <cctype> for isprint
14202
14203 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14204
14205         * buffer.C (parseSingleLyXformat2Token): changes associated with the
14206         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14207         name clash with InsetCollapsable's width function.
14208
14209 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14210
14211         * lastfiles.C: include <iterator>
14212
14213 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14214
14215         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14216         std::count.
14217
14218         * buffer.C (makeLaTeXFile): ditto.
14219         Also make loop operation more transparent.
14220
14221 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14222
14223         * ToolbarDefaults.C: remove trailing comma closing namespace.
14224
14225         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14226
14227         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14228         as in WorkArea.
14229
14230         * trans.C (Load): comment out unused variable, allowed.
14231
14232 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14233
14234         * minibuffer.[Ch] (append_char): new method to recieve input from the
14235         drop-down completion browser. If a key was pressed, then recieve this
14236         char and append it to the existing string.
14237         (peek_event): modify the positioning data passed to the completion
14238         browser so that it can be placed above the minibuffer rather than below.
14239 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14240
14241         * LyXAction.C (init): alloe error-next for readonly documents.
14242
14243         * BufferView2.C (ChangeRefsIfUnique): use standard version of
14244         count.
14245
14246 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14247
14248         * bufferlist.C (readFile): create the buffer _after_ checking that
14249         the file exists.
14250
14251         * lyxfunc.C (verboseDispatch): fix handling of arguments
14252
14253         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14254
14255         * lyxrc.C: use string::erase() instead of initializing to "".
14256
14257
14258 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14259
14260         * BufferView_pimpl.h:
14261         * BufferView_pimpl.C:
14262         * WorkArea.h:
14263         * WorkArea.C:
14264         * text2.C: tell X when we have made a selection for copying
14265
14266 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14267
14268         * BufferView_pimpl.C (MenuInsertLyXFile):
14269         * lyxfunc.C (menuNew):
14270         (open):
14271         (doImport): add shortcuts to directory buttons
14272
14273         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14274         open a float)
14275
14276         * lyxfunc.C (setStatusMessage):
14277         (getStatusMessage): new methods
14278         (getStatus):use setStatusMessage instead of setErrorMessage
14279         (dispatch): when function is disabled, set error message here
14280         [instead of in getStatus previously]
14281
14282         * BufferView_pimpl.C (workAreaButtonRelease): update
14283         toolbar/menubar here too.
14284
14285 2002-01-13  Allan Rae  <rae@lyx.org>
14286
14287         * BufferView2.C (removeAutoInsets): finished off earlier fix.
14288         Now seems indestructible.  Remaining task is to audit all other
14289         code affected by deleteEmptyParagraphMechanism.  One small quirk
14290         left is that an empty document with an error in the preamble can
14291         be made to report an error but no error box appears.  I don't know
14292         where it goes.
14293         (removeAutoInsets): Improved comments.
14294
14295 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
14296
14297         * Thesaurus.h:
14298         * Thesaurus.C: update for Aiksaurus 0.14
14299
14300 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14301
14302         * text2.C (firstParagraph): removed member function, all uses
14303         replaces with ownerParagraph
14304         (redoParagraphs): here
14305         (updateInset): here
14306         (toggleAppendix): here
14307         * BufferView2.C (insertErrors): here
14308         (setCursorFromRow): here
14309
14310 2002-01-13  Allan Rae  <rae@lyx.org>
14311
14312         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14313         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14314         There is still a way to segfault this although you may have to do this
14315         multiple times: Have an InsetERT with an unknown command in it.
14316         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14317         <down-arrow>, <Enter> again, View->DVI, BANG!
14318
14319         * text2.C (setCursor):
14320         (deleteEmptyParagraphMechanism):
14321         * lyxtext.h (setCursor):
14322         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14323         Making use of the return value may help fix other bugs.
14324
14325 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14326
14327         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14328
14329         * LyXView.C (updateMenubar): call MenuBar::update here
14330         (updateToolbar): but not here
14331         (showState): do not update toolbar/menubar
14332
14333         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14334         should need to care about that.
14335
14336         * lyxfunc.C (verboseDispatch): simplify a bit
14337         (getStatus): have a version which takes a pseudoaction, and
14338         another which requires a (kb_action,string).
14339
14340         * LyXAction.C (retrieveActionArg): make it work also when action
14341         is not a pseudo-action.
14342         (getActionName): simplify a bit
14343         (helpText):
14344
14345 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14346
14347         * lyxfunc.C (verboseDispatch): new families of methods with
14348         several ways to specify a command and a bool to indicate whether
14349         the command name and shortcut should be displayed in minibuffer
14350         (eventually, we could extend that to a finer bitmask like
14351         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14352         (dispatch): the pristine dispatch command which just, well,
14353         dispatchs! Note it still sets its result to minibuffer; I'm not
14354         sure we want that.
14355
14356         * lyxfunc.h: remove setHintMessage
14357
14358         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14359
14360 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14361
14362         * BufferView_pimpl.C (specialChar): delete new inset if we have
14363         not been able to insert it.
14364
14365         * kbmap.C: revert to using int instead of kb_action, since all we
14366         are dealing with is pseudo-actions.
14367
14368         * LyXAction.C (searchActionArg): change to return int instead of
14369         kb_action, since the result is a pseudoaction.
14370
14371 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
14372
14373         * buffer.C (insertErtContents): Fix (partially) the font bug.
14374
14375 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14376
14377         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14378         as the other one is broken on my machine!
14379
14380 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
14381
14382         * commandtags.h:
14383         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14384
14385 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
14386
14387         * lyxrc.[Ch]: change names and descriptions of popup font variables to
14388         reflect their actual use. Provide compatibility code for older lyxrc
14389         files.
14390
14391         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14392         FL_NORMAL_STYLE.
14393         change names of popup font variables in line with the changes to lyxrc.C
14394
14395 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14396
14397         * buffer.C (asciiParagraph): avoid outputing a word twice after
14398         an inset.
14399
14400         * lyxrc.C (getDescription): document that document_path and
14401         template_path can be empty.
14402
14403 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14404
14405         * LaTeXFeatures.C (getMacros):
14406         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14407
14408         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14409
14410         * LaTeXFeatures.C (useFloat): require "float" here instead of in
14411         getPackages.
14412         (getPackages): rename feature "floats" to "float". Use an array to
14413         iterate over 'simple' features (i.e. just a \usepackage). Add
14414         handling of "amsmath" (renamed from "amsstyle").
14415
14416 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
14417
14418         * LaTeXFeatures.C (require): Prevent duplicate entries in the
14419         features list.
14420
14421 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
14422
14423         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14424         FuncStaus::FuncStatus & FuncStaus::some_method().
14425
14426 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
14427
14428         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14429         of the func_satus stuff. Edited and massaged in various ways by
14430         JMarc.
14431
14432         * lyxfunc.C (getStatus): use FuncStatus
14433
14434 2002-01-08  Juergen Vigna  <jug@sad.it>
14435
14436         * text.C (nextBreakPoint): use function Inset::isChar().
14437
14438         * paragraph.C (TeXOnePar): use function
14439         Inset::forceDefaultParagraphs.
14440
14441         * buffer.C (latexParagraphs): use function
14442         Inset::forceDefaultParagraphs.
14443
14444 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14445
14446         * lyx_gui.C (init): set the style of the menu popups to
14447         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14448
14449 2002-01-07  Juergen Vigna  <jug@sad.it>
14450
14451         * text.C (setHeightOfRow): small fix
14452         (prepareToPrint): don't look at alignment if we don't have the place
14453         for doing it.
14454
14455 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14456
14457         * box.C: New file. Move the Box methods and functions out of box.h,
14458         following Lars' suggestion.
14459
14460 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14461
14462         * box.h: #include "support/LOstream.h", needed for inlined function.
14463
14464         * lyxtextclass.C:
14465         * lyxtextclasslist.C: added some using std declarations.
14466
14467 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
14468
14469         * box.h: make signed dimensions to allow insets wider than
14470           the screen (bug #162)
14471
14472         * BufferView_pimpl.C: add some insetHit debug
14473
14474 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
14475
14476         * vc-backend.C: add FIXME
14477
14478 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14479
14480         * lyxfunc.C (getStatus): enable code for showing math font status
14481         in toolbar/menu.
14482
14483 2002-01-07  Juergen Vigna  <jug@sad.it>
14484
14485         * text.C (nextBreakPoint): removed debug output not needed anymore.
14486
14487 2002-01-06  Juergen Vigna  <jug@sad.it>
14488
14489         * text.C (nextBreakPoint): fixed up this function we had this bug
14490         since ever but now hopefully we break row better.
14491         (insertChar): we have to check if an inset is the next char as it
14492         could now happen that a large inset is causing a break.
14493
14494 2002-01-05  Juergen Vigna  <jug@sad.it>
14495
14496         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14497         if it doesn't like to be drawed.
14498
14499 2002-01-04  Juergen Vigna  <jug@sad.it>
14500
14501         * BufferView2.C (lockInset): forgot to set a cursor.
14502
14503         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14504
14505 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
14506
14507         * FormMathsPanel.C:
14508         * FormMathsPanel.h
14509         * MathsSymbols.C:
14510         * form_maths_panel.C:
14511         * form_maths_panel.h:
14512         * form_maths_panel.fd: implemented sub- and super- buttons in math
14513         panel.
14514
14515         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14516         (or ^ space) to be used as in TeX (req'd by Andr�.
14517
14518         * lyxfunc.C: Allow ^ and _ again to be used both as
14519         super/subscript (mathed) and as themselves (in text).
14520
14521 2002-01-03  Allan Rae  <rae@lyx.org>
14522
14523         * LyXView.C (updateWindowTitle): Setup a short icon title of either
14524         "LyX" or the filename of the current buffer if it has one.  This is a
14525         modified form of John Levon's patch.
14526
14527         * XFormsView.C (setWindowTitle): also set icon title.
14528
14529         * LyXView.h (setWindowTitle): signature changed.
14530         * XFormsView.h (setWindowTitle): ditto.
14531
14532 2002-01-02  Juergen Vigna  <jug@sad.it>
14533
14534         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14535
14536 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14537
14538         * screen.C (topCursorVisible): introduce a temp var for
14539         text->cursor.row(), handle the case where this row is null. (kindo
14540         hachish)
14541
14542         * text2.C (setCursor): add a couple of asserts.
14543
14544         * paragraph.h (inset_iterator): add -> operator
14545
14546         * paragraph.[Ch] (autoDeleteInsets): remove member function
14547
14548         * BufferView2.C (removeAutoInsets): rewrite to handle the old
14549         cursor pos correctly and handle inset deletion by itself.
14550         (insertErrors): move iterator declaration out of for expression
14551
14552         * lyxtextclass.C: add <algorithm>
14553
14554         * Makefile.am: added the new files to sources, removed layout.C
14555
14556         * layout.C: removed file
14557
14558         * layout.h: remove LYX_DUMMY_LAYOUT
14559
14560         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14561         layout.
14562
14563         * lyxlayout.[Ch]:
14564         * lyxtextclass.[Ch]:
14565         * lyxtextclasslist.[Ch]: new files
14566
14567         * include order changes to a lot of files, also changes because of
14568         the six new files.
14569
14570 2001-12-27  Juergen Vigna  <jug@sad.it>
14571
14572         * buffer.C (asciiParagraph): more fixes.
14573
14574         * tabular.C (ascii): make ascii export support export of only the
14575         data separated by a column-delimiter.
14576         (ascii): better support for ascii export.
14577
14578         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14579
14580 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14581
14582         * tabular_funcs.C: use a "using std::getline" instead of the
14583         previous fix from Angus (necessary for cxx + lyxstring)
14584
14585 2001-12-24  Juergen Vigna  <jug@sad.it>
14586
14587         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14588
14589         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14590         problems. First check a minipage also if we have some ert-contents
14591         (not only on par->size(), second set the right depth of the paragraph
14592         on the relink to the root-paragraph-list!
14593
14594         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14595         which then did not anymore update the main paragraphs on undo/redo!
14596
14597 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14598
14599         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14600         code. Support all font-changing funcs (even those which are not in
14601         menu currently). Support for reporting font settings in
14602         mathed (disabled until Andre provides a function on mathed's side).
14603
14604         * func_status.h (toggle): small helper function to set toggle
14605         state on a flag.
14606
14607 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
14608
14609         * tabular_funcs.C: getline -> std::getline
14610
14611 2001-12-21  Juergen Vigna  <jug@sad.it>
14612
14613         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14614         accessed and could be 0 (I couldn't generate this but it seems
14615         Michael could!).
14616
14617 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14618
14619         * tabular_funcs.C: add LIstream.h, move write_attribute to..
14620         * tabular_funcs.h: here and include iosfwd
14621
14622 2001-12-20  Juergen Vigna  <jug@sad.it>
14623
14624         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14625         inside inset but undo_par was.
14626
14627 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14628
14629         * Thesaurus.C: always include <config.h> in sources.
14630
14631         * Painter.h:
14632         * lyxlookup.h:
14633         * box.h: do not include <config.h> in header files
14634
14635         * text.C (paintLastRow): remove unused variable
14636
14637         * text.C (transformChar):
14638         (insertChar):
14639         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14640
14641         * Painter.C (text):
14642         * font.C (width): rewrite to use uppercase() instead of
14643         islower/toupper.
14644
14645         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14646
14647 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
14648
14649         * lyxfind.C: clean up of find failure position change
14650
14651 2001-12-20  Juergen Vigna  <jug@sad.it>
14652
14653         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14654
14655         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14656         (TeXRow): added to LaTeX a single tabular row.
14657         (TeXLongtableHeaderFooter): added to output LT-h/f data.
14658         (Latex): simplified and finally good LT-h/f support.
14659         (various_functions): just small adaptions for LT-h/f support.
14660
14661         * tabular_funcs.[hC]: added and moved here all not classfunctions
14662         of LyXTabular.
14663
14664 2001-12-19  Juergen Vigna  <jug@sad.it>
14665
14666         * tabular.[Ch]: better support for longtabular options (not finished
14667         yet!)
14668
14669 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14670
14671         * text.C (paintLastRow): use the label font instead of the font of
14672         the last character to compute the size of *_BOX. This makes more
14673         sense and avoids a crash with empty paragraphs.
14674         Use Painter::rectangle to draw EMPTY_BOX.
14675
14676 2001-12-19  Juergen Vigna  <jug@sad.it>
14677
14678         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14679         the paragraphs if the replaced paragraph is not the first one!
14680         Tried to delete not used paragraphs but does not work yet so for
14681         now it's inside #ifdef's and by default off!
14682
14683 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14684
14685         * MenuBackend.C: include "lyx_main.h" instead of declaring
14686         lastfiles (actually was declared as LastFiles* instead of a
14687         scoped_ptr).
14688
14689 2001-12-17  Juergen Vigna  <jug@sad.it>
14690
14691         * tabular.C (AppendColumn): applied John's fix
14692
14693 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
14694
14695         * BufferView.h:
14696         * BufferView.C:
14697         * BufferView_pimpl.h:
14698         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14699
14700         * Makefile.am:
14701         * box.h: new start of class for above
14702
14703         * lyxfunc.C: ignore space-only minibuffer dispatches.
14704           Show the command name when it doesn't exist
14705
14706         * minibuffer.C: don't add empty lines to the history
14707
14708         * minibuffer.C: add a space on dropdown completion
14709
14710 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
14711
14712         * text.C: fix line above/below drawing in insets
14713
14714 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14715
14716         * lyxlength.C (LyXLength): Initialize private variables.
14717
14718 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
14719
14720         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14721         when inserting error insets.
14722
14723 2001-12-13  Juergen Vigna  <jug@sad.it>
14724
14725         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14726         actually sometimes the before-paragraph.
14727         (setUndo): don't clear the redostack if we're not actually undoing!
14728
14729 2001-12-06  Juergen Vigna  <jug@sad.it>
14730
14731         * undo_funcs.C (textHandleUndo): well after John's hint I got here
14732         and fixed redoing of main paragraph, so we can use it now ;)
14733
14734         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14735
14736 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14737
14738         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14739         Juergen's request
14740
14741 2001-12-13  André Pönitz <poenitz@gmx.net>
14742
14743         * undostack.[Ch]:
14744         * undo_func.C: minor cleanup
14745
14746 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14747
14748         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14749         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14750         font in urw-fonts package which is marked as -urw-fontspecific and
14751         does not work (incidentally, changing the encoding in the
14752         fonts.dir of this package to -adobe-fontspecific fixes the
14753         problem).
14754
14755         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14756         is a crash when undoing first paragraph (Juergen, please take a
14757         look). THis does not mean the undo fix is wrong, just that it
14758         uncovers problems.
14759
14760         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14761         the (Paragraph*) version when needed instead of duplicating the
14762         code.
14763
14764         * text.C (workWidth): use Inset::parOwner to find out where the
14765         inset has been inserted. This is a huge performance gain for large
14766         documents with lots of insets. If Inset::parOwner is not set, fall
14767         back on the brute force method
14768
14769         * paragraph_pimpl.C (insertInset):
14770         * paragraph.C (Paragraph):
14771         (cutIntoMinibuffer): set parOwner of insets when
14772         inserting/removing them
14773
14774         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14775
14776 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
14777
14778         * commandtags.h:
14779         * LyXAction.C:
14780         * lyx_main.C:
14781         * lyxfunc.C:
14782         * mathed/formulabase.C:
14783         * mathed/math_cursor.[Ch]:
14784         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14785
14786
14787 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14788
14789         * lyxlength.[Ch] (operator!=): new function
14790
14791 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14792
14793         * text.C (workWidth): use Inset::parOwner to find out where the
14794         inset has been inserted. This is a huge performance gain for large
14795         documents with lots of insets. If Inset::parOwner is not set, fall
14796         back on the brute force method
14797
14798         * paragraph_pimpl.C (insertInset):
14799         * paragraph.C (Paragraph):
14800         (cutIntoMinibuffer): set parOwner of insets when
14801         inserting/removing them
14802
14803         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14804
14805 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14806
14807         * tabular-old.C (getTokenValue):
14808         * tabular.C (getTokenValue):
14809         (write_attribute): new versions for LyXLength
14810         (everywhere): adjust the use of widths
14811
14812         * tabular.h: change the type of widths from string to LyXLength
14813
14814 2001-12-11  Ben Stanley <bds02@uow.edu.au>
14815
14816         * paragraph.C: fixed missing line number count when exporting
14817         Environments to LaTeX file
14818
14819         * buffer.C: added informational message for checking line numbers.
14820
14821 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14822
14823         * text2.C (deleteEmptyParagraphMechanism): if there is only one
14824         paragraph, do the 'double space' part, but not the 'empty
14825         paragraph' one.
14826
14827         * text.C (workWidth): small optimization
14828         (getLengthMarkerHeight): use minimal size for negative lengths.
14829
14830 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
14831
14832         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14833
14834         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14835
14836 2001-12-11  André Pönitz <poenitz@gmx.net>
14837
14838         * FontLoader.C:
14839         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14840
14841 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14842
14843         * text2.C: keep selection on a setFont()
14844
14845 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14846
14847         * lyx_cb.C: another bv->text misuse, from insert label
14848
14849 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14850
14851         * kbsequence.h:
14852         * kbsequence.C: re-instate nmodifier mask
14853
14854 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
14855
14856         * lyx_main.h: make lyxGUI private.
14857
14858 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14859
14860         * lyxfind.C: place the cursor correctly on failed search
14861
14862 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14863
14864         * text.C (getLengthMarkerHeight): for small heights, the arrows
14865         are not always on top/bottom of the text
14866         (drawLengthMarker): smaller arrows; take the left margin in
14867         account; draw also vfills.
14868         (paintFirstRow):
14869         (paintLastRow): remove special code for vfill and standard spaces,
14870         since everything is handled in drawLengthMarker now.
14871
14872 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14873
14874         * buffer.C (insertErtContents): try to handle font and language
14875         interaction a bit better.g
14876
14877         * ColorHandler.C (updateColor): change the hash to cover the whole
14878         LColor enum, ws cleanup
14879         (getGCLinepars): ditto
14880         (getGCLinepars): only lookup in the linecache once.
14881
14882 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
14883
14884         * iterators.C (operator++): Make the iterator more robust
14885
14886         * BufferView2.C (removeAutoInsets): Use paragraph iterators
14887         (John's patch)
14888         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14889
14890 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14891
14892         * lyxtext.h:
14893         * text.C: better added space drawing
14894
14895 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14896
14897         * LyXView.C:
14898         * BufferView2.C: fix layout combo update on inset unlock
14899
14900 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14901
14902         * Makefile.am: don't compile unused files
14903
14904 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14905
14906         * lyxfunc.C:
14907         * commandtags.h:
14908         * LyXAction.C: remove old LFUN_LAYOUTNO
14909
14910 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14911
14912         * paragraph_pimpl.h:
14913         * paragraph_pimpl.C: isTextAt() doesn't need font param
14914
14915 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14916
14917         * lyxlex.h:
14918         * lyxlex.C: little cleanup
14919
14920 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14921
14922         * BufferView_pimpl.C: fix insertAscii for insets
14923
14924 2001-12-05  Juergen Vigna  <jug@sad.it>
14925
14926         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14927         set the right font on the "multi" paragraph paste!
14928
14929 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14930
14931         * trans_decl.h:
14932         * trans_mgr.[Ch]:
14933         * trans.[Ch]:
14934         * lyxgluelength.C:
14935         * lyxlength.C: remove out-commented code.
14936
14937         * BufferView_pimpl:
14938         * CutAndPaste.C:
14939         * DepTable.C:
14940         * buffer.C:
14941         * chset.C:
14942         * lastfiles.C:
14943         * lyxlex.C:
14944         * lyxlex_pimpl.C:
14945         * lyxserver.C:
14946         * screen.C:
14947         * tabular-old.C:
14948         * tabular.C:
14949         * text.C:
14950         * trans_mgr.C:
14951         * vc-backend.C: change "while(" to "while ("
14952
14953         * lyxlength.[Ch]: add zero function to check if length is zero or
14954         not
14955         * lyxgluelength.C: use it
14956
14957 2001-12-05  Allan Rae  <rae@lyx.org>
14958
14959         * lyxlength.C: Attempted a fix for the abs(int) header selection.
14960         Works for 2.95.3, from what I understand of Garst's reports this should
14961         work for other g++ versions.  We're screwed if the abs(int) definition
14962         changed between bugfix releases of gcc.
14963
14964 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14965
14966         * text.C: fix chapter label offset !
14967
14968 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14969
14970         * lyxtext.h:
14971         * text.C: fix hfill at end of line, clean up
14972
14973 2001-12-04  Juergen Vigna  <jug@sad.it>
14974
14975         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14976         that we force an update of the inset and it's owners if neccessary.
14977
14978 2001-12-03  Juergen Vigna  <jug@sad.it>
14979
14980         * text.C (rowLast): simplified code
14981
14982 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14983
14984         * lyxfunc.C: fix show options on timeout
14985
14986 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14987
14988         * screen.C (topCursorVisible): scroll half a page when the cursor
14989         reached top of bottom of screen
14990
14991 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
14992
14993         * minibuffer.C: deactivate on loss of focus
14994
14995 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14996
14997         * vspace.[Ch] (operator!=): add operator.
14998
14999 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
15000
15001         * BufferView_pimpl.C: refuse to open an inset when
15002         there's a selection.
15003
15004 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
15005
15006         * BufferView_pimpl.C: allow to click on RHS of full row insets
15007
15008 2001-11-30  Juergen Vigna  <jug@sad.it>
15009
15010         * tabular.C (LyXTabular): add a same_id to set the same id's in the
15011         insets for undo reasons.
15012
15013 2001-11-28  André Pönitz <poenitz@gmx.net>
15014
15015         * vspace.[Ch]: cosmetical changes
15016
15017 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15018
15019         * LyXAction.h:
15020         * LyXAction.C:
15021         * lyxfunc.h:
15022         * lyxfunc.C:
15023         * kbmap.h:
15024         * kbmap.C:
15025         * lyxrc.C:
15026         * kbsequence.h:
15027         * kbsequence.C: part re-write of old kb code
15028
15029         * Painter.C:
15030         * WorkArea.C: remove Lgb_bug_find_hack
15031
15032 2001-11-30  José Matos <jamatos@fep.up.pt>
15033
15034         * buffer.C (makeDocBookFile): add a comment to point a hack.
15035         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
15036         Fixed a double write of labels.
15037
15038 2001-11-29 Ben Stanley <bds02@uow.edu.au>
15039
15040         * LaTeX.C:
15041         * LaTeX.h Fixed bug in LaTeX class where it would not
15042         re-run latex if no depfiles were changed, but the .dvi was removed.
15043
15044 2001-11-28  André Pönitz <poenitz@gmx.net>
15045
15046         * all the files from the change on 2001/11/26:
15047         use lyx::layout_type instead of LyXTextClass::size_type
15048         use lyx::textclass_type instead of LyXTextClassList::size_type
15049
15050 2001-11-29  Juergen Vigna  <jug@sad.it>
15051
15052         * text.C: added support for paragraph::isFreeSpacing()
15053
15054         * buffer.C: same as above
15055
15056         * paragraph.h: inserted isFreeSpacing() function to enable
15057         FreeSpacing inside InsetERT.
15058
15059         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
15060         of the paragraph's in the cut/copy buffer to 0!
15061
15062         * text2.C (removeRow): remove the assert as it can!
15063
15064         * lyxtext.h: added helper function firstRow returning firstrow and
15065         made firstrow private again.
15066
15067         * BufferView2.C (lockInset): don't relock if we're already locked!
15068
15069         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
15070         the only paragraph.
15071         (removeRow): added Assert::(firstrow)
15072
15073         * debug.C: forgot to add INSETTEXT here.
15074
15075 2001-11-28  Juergen Vigna  <jug@sad.it>
15076
15077         * sp_spell.C (initialize): changed error text to more general
15078         spellchecker command use (not only ispell!)
15079
15080         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
15081
15082         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
15083
15084 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15085
15086         * vspace.C: initialise lyxgluelength on failure
15087
15088 2001-11-28  Allan Rae  <rae@lyx.org>
15089
15090         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
15091         declaration & definition that looks like a function declaration.
15092
15093 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15094
15095         * BufferView2.C (copy):
15096         (copyEnvironment): do not clear the selection when doing a copy.
15097
15098         * text.C (paintFirstRow): compilation fix
15099
15100 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
15101
15102         * tabular.C (Latex): correct line count when writing latex.
15103
15104 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
15105
15106         * paragraph_pimpl.h:
15107         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
15108           bug a bit
15109
15110 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15111
15112         * text.C:
15113         * LColor.h:
15114         * LColor.C: change vfillline->added_space
15115
15116         * text.C: add markers and text for added space
15117
15118         * vspace.C: fix comment
15119
15120 2001-11-28  André Pönitz <poenitz@gmx.net>
15121
15122         * paragraph.C: whitespace changes
15123         * all the other files from the change on 2001/11/26:
15124         change *::pos_type into lyx::pos_type
15125
15126 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
15127
15128         * buffer.C (parseSingleLyXformat2Token): Set the language to the
15129         language of the document when inserting error insets.
15130
15131 2001-11-26  André Pönitz <poenitz@gmx.net>
15132
15133         * BufferView_pimpl.[Ch]:
15134         *       CutAndPaste.C:
15135         * buffer.[Ch]:
15136         * lyxcursor.[Ch]:
15137         * lyxfind.C:
15138         * lyxfunc.C:
15139         * lyxrow.[Ch]:
15140         * paragraph.[Ch]:
15141         * paragraph_pimpl.[Ch]:
15142         * sp_spell.C:
15143         * text.C:
15144         * text2.C: reduce header dependencies, introduce type for positions
15145
15146 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15147
15148         * <various>: change to use Alert.h
15149
15150 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
15151
15152         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
15153         when encountering an unknown token.
15154         (readLyXformat2): Show an error message if there were unknown tokens.
15155
15156 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
15157
15158         * BufferView2.C:
15159         * BufferView_pimpl.C:
15160         * buffer.C:
15161         * paragraph.h:
15162         * text.C:
15163         * text2.C: use par->isInset()
15164
15165 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15166
15167         * paragraph_pimpl.h:
15168         * paragraph_pimpl.C: cleanup
15169
15170 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15171
15172         * text2.C (removeRow):
15173         * text.C (setHeightOfRow): remove useless (and costly) call to
15174         getRow.
15175
15176 2001-11-20  Allan Rae  <rae@lyx.org>
15177
15178         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
15179         Now need Inset*::checkInsertChar() to return true for appropriate
15180         cases so that the characters in the minibuffer will actually be
15181         inserted.
15182
15183 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15184
15185         * text.C: change the order of the includes.
15186         (workWidth): initialize it at once.
15187         (workWidth): make maxw unsigned
15188         (setHeightOfRow): remove unused variable (inset)
15189         (selectSelectedWord): remove unused variable (inset)
15190         (paintRowText): fix drawing of hfill characters, and clean up a bit.
15191
15192 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15193
15194         * lyxserver.C (emergencyCleanup): do not try to close pipes if
15195         server is not running.
15196         (openConnection):
15197         (closeConnection): add debug info when server is disabled.
15198
15199         * ColorHandler.C (getGCForeground): send debug message to GUI
15200         channel.
15201
15202         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15203
15204         * kbmap.C (bind): modify because return conventions of
15205         kb_sequence::parse have changed.
15206
15207         * kbsequence.C (parse): only ignore spaces and not any stupid
15208         control character. This avoids tests like s[i] <= ' ', which are
15209         guaranteed to fail with 8bit characters and signed chars.
15210         Change return code to string::npos when there have been no error
15211         (0 was a bad idea when error is at first character)
15212
15213 2001-11-14  José Matos  <jamatos@fep.up.pt>
15214
15215         * buffer.h:
15216         * buffer.C (simpleDocBookOnePar): removed unused argument.
15217
15218 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15219
15220         * text.C (selectNextWordToSpellcheck): do not test explicitely for
15221         insets which are part of a word. Paragraph::isLetter takes care of
15222         that now. Use Paragraph::isInset to identify insets.
15223         (selectSelectedWord): do not test for hyphenation break.
15224
15225         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15226         that protected spaces are considered as spaces.
15227
15228         * paragraph.C (isLetter): cleanup the code for ispell extras; use
15229         Inset::isLetter.
15230
15231 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
15232
15233         * lyxserver.h:
15234         * lyxserver.C: fix it. and small cleanup.
15235
15236 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15237
15238         * BufferView_pimpl.C: use inline helpers
15239
15240         * LaTeXFeatures.h:
15241         * LaTeXFeatures.C: fix typos
15242
15243         * Spacing.h:
15244         * Spacing.C: move spacing_string into class
15245
15246         * ToolbarDefaults.C: move stuff into namespace anon
15247
15248         * layout.h: update enum
15249
15250         * lyxfunc.C: use better debug
15251
15252         * minibuffer.h: fix typo
15253
15254         * debug.h:
15255         * debug.C:
15256         * WorkArea.C: add and use Debug::WORKAREA
15257
15258         * lyxtext.h:
15259         * text.C:
15260         * text2.C: code re-organisation, inline helpers
15261
15262 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
15263
15264         * Layout.C: replaced a few cases of std::vector.size() == 0 with
15265         std::vector.empty().
15266
15267 2001-11-09  Allan Rae  <rae@lyx.org>
15268
15269         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15270         '\n's after tables.  Tabular and ERT inset work now makes this no
15271         longer necessary.
15272
15273 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15274
15275         * minibuffer.h:
15276         * minibuffer.C: fix crash, improve drop-down completion
15277
15278 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
15279
15280         * lyxserver.h:
15281         * lyxserver.C: invalidate fd's when doing endPipe()
15282
15283 2001-11-08  José Matos  <jamatos@fep.up.pt>
15284
15285         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15286         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15287
15288         * paragraph.h:
15289         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15290
15291 2001-11-07  José Matos  <jamatos@fep.up.pt>
15292
15293         * buffer.h:
15294         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15295         const qualifier.
15296
15297         * buffer.C (sgmlOpenTag):
15298         * buffer.C (sgmlCloseTag): removed debug info.
15299
15300         * buffer.h (sgmlOpenTag):
15301         * buffer.h (sgmlCloseTag): made public.
15302
15303 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15304
15305         * buffer.C (saveParamsAsDefaults):
15306         * lyx_cb.C (MenuLayoutSave): remove
15307
15308         * LyXAction.C (init):
15309         * commandtags.h:
15310         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15311
15312 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15313
15314         * buffer.C (setPaperStuff): removed from here...
15315
15316         * bufferparams.C (setPaperStuff): ... and moved there.
15317
15318 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
15319
15320         * minibuffer.h:
15321         * minibuffer.C:
15322         * XFormsView.C: add support for drop-down completion
15323
15324 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
15325
15326         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15327         commands.
15328
15329 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15330
15331         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15332         disabled.
15333
15334 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
15335
15336         * lyx_main.C: change ref to known bugs
15337
15338 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
15339
15340         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15341         to work around older babel problems.
15342
15343 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15344
15345         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15346
15347 2001-10-24  Juergen Vigna  <jug@sad.it>
15348
15349         * tabular-old.C (ReadOld): below variable changes reflected.
15350
15351         * tabular.[Ch]: added ltType struct for longtable header/footer
15352         defines and changed all instances where they are used. Added
15353         future support for double top/bottom rows.
15354
15355 2001-10-24  José Matos  <jamatos@fep.up.pt>
15356
15357         * buffer.h (docbookHandleCaption):
15358         * buffer.C (docbookHandleCaption): removed unused function.
15359         (makeDocBookFile): moved docbook supported version to v4.1.
15360
15361 2001-10-24  José Matos  <jamatos@fep.up.pt>
15362
15363         * tabular.h:
15364         * tabular.C (docbookRow): new function to export docbook code of a row.
15365         (DocBook): now honors the longtable flags.
15366
15367 2001-10-23  José Matos  <jamatos@fep.up.pt>
15368
15369         * LaTeXFeatures.h:
15370         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15371         of the lyx defined sgml entities used in a docbook/linuxdoc document.
15372
15373         * buffer.C (makeLinuxDocFile):
15374         (makeDocBookFile): reworked the preamble, more clean, and with
15375         support for lyx defined entities. Changed the document declaration
15376         to be more XML friendly.
15377
15378         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15379         if we need to output XML that should be done with a filter.
15380
15381 2001-10-22  Juergen Vigna  <jug@sad.it>
15382
15383         * sp_pspell.h (class PSpell): add alive function needed in the
15384         controller to see if the spellchecker could be started.
15385
15386 2001-10-22  Juergen Vigna  <jug@sad.it>
15387
15388         * buffer.C (insertStringAsLines): modify the font for inserting
15389         chars in certain conditions by calling checkInsertChar(font).
15390
15391 2001-10-19  Juergen Vigna  <jug@sad.it>
15392
15393         * text.C (workWidth): use getRow instead of wrong algorithm.
15394         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15395
15396 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
15397
15398         * lyxserver.h:
15399         * lyxserver.C:
15400         * lyx_main.h:
15401         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15402
15403 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15404
15405         * text.C (workWidth): do not search for the exact row when
15406         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15407         optimization for big documents.
15408
15409 2001-10-18  Juergen Vigna  <jug@sad.it>
15410
15411         * text.C (workWidth): new function with added Inset * parameter.
15412
15413 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15414
15415         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15416
15417         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15418         change return type of getColumnNearX.
15419
15420
15421         * text.C (changeRegionCase): use uppercase/lowercase instead of
15422         toupper/tolower.
15423         (leftMargin):
15424         (rightMargin): simplify code by factoring out the uses of
15425         textclasslist.
15426         (labelFill):
15427         (numberOfHfills):
15428         (setHeightOfRow):
15429         (appendParagraph): use Paragraph::size_type
15430
15431 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15432
15433         * vspace.C (asLatexString): add a missing break
15434
15435 2001-10-15  Herbert Voss  <voss@perce.de>
15436
15437         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15438
15439 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15440
15441         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15442         is not available.
15443
15444 2001-10-10  André Pönitz <poenitz@gmx.net>
15445
15446         * lyxfunc.C: removed greek_kb_flag.
15447
15448 2001-10-10  Herbert Voss  <voss@perce.de>
15449
15450         * lyx_main.C: delete global string help_lyxdir.
15451
15452 2001-10-09  Herbert Voss  <voss@perce.de>
15453
15454         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15455
15456         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15457
15458         * lyx_main.C: added global string help_lyxdir.
15459
15460         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15461
15462 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15463
15464         * lyxrc.C (set_font_norm_type): support iso8859-4
15465
15466 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
15467
15468         * LaTeX.C (deplog): add another regex for MikTeX
15469
15470 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15471
15472         * lyxrc.C (set_font_norm_type): support iso8859-3
15473
15474 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15475
15476         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15477
15478         * LaTeXFeatures.C: remove special case of french and index
15479
15480         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15481         before \begin{document}). This solves several incompatibilities.
15482
15483 2001-10-03  Garst Reese  <reese@isn.net>
15484
15485         * lyx_cb.C: change CheckTex error msg.
15486
15487 2001-10-03  José Matos  <jamatos@fep.up.pt>
15488
15489         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15490
15491 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15492
15493         * .cvsignore: update
15494
15495         * lyx_main.C (commandLineVersionInfo): use new style version info.
15496
15497         * buffer.C (writeFile):
15498         (makeLaTeXFile):
15499         (makeLinuxDocFile):
15500         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15501
15502         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15503
15504         * version.h: update to use stuff in version.C
15505
15506         * version.C.in: new file. Contains version information determined
15507         at compile time. This is a merging of version.h and
15508         version_info.h.in.
15509
15510 2001-10-03  Juergen Vigna  <jug@sad.it>
15511
15512         * BufferView_pimpl.C (update): don't change "dirty" status in
15513         updateInset call.
15514
15515 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
15516
15517         * WorkArea.C (c-tor): re-position version string slightly.
15518
15519 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
15520
15521         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15522         revert to previous code.
15523
15524         WorkArea.[Ch]: (show, destroySplash): methods removed.
15525
15526         WorkArea.C: rework code so that it's an amalgam of the codes before and
15527         after the splash screen was moved to WorkArea.
15528
15529 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15530
15531         * lyxrc.C (read):
15532         * vspace.C (inPixels):
15533         (lyx_advance):
15534         * kbmap.C (bind):
15535         * buffer.C (insertStringAsLines):
15536         (asciiParagraph): fix types to be large enough
15537
15538         * lyxlex_pimpl.h: change member status from short to int
15539
15540         * layout.h: fix type of endlabeltype
15541
15542         * kbmap.C (bind):
15543         * kbsequence.C (parse): change return type to string::size_type
15544
15545         * LaTeX.C (updateBibtexDependencies): comment out unneeded
15546         variable
15547
15548         * Bullet.C (bulletSize):
15549         (bulletEntry): do not use short ints as parameters
15550
15551         * BufferView2.C (insertLyXFile): change a char to an int.
15552
15553         * WorkArea.C (WorkArea): remove unneeded floats in computation
15554
15555 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
15556
15557         * buffer.C (asciiParagraph): Treat '\\' as other chars.
15558
15559         * paragraph.C (asString): Do not ignore newline/hfill chars when
15560         copying to the clipboard.
15561
15562 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
15563
15564         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15565         after a multi-line inset.
15566
15567 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
15568
15569         * paragraph.C (validate): Set NeedLyXFootnoteCode
15570
15571 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15572
15573         * lyxfont.C (LyXSizeNames): changed increase-error to increase
15574         and decrease-error to decrease.
15575
15576 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15577
15578         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15579         it more readable (should be equivalent)
15580
15581 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15582
15583         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15584
15585 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15586
15587         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15588         of a cursor (row, etc.) after a character has been deleted
15589         (deleteEmptyParagraphMechanism): call the method above on _all_
15590         cursors held by the LyXText when a double space has been
15591         detected/deleted.
15592
15593 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15594
15595         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15596         pixmap.
15597         (resizeCurrentBuff): remove code to destroy the old splash dialog.
15598
15599         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15600         background. Use greyOut() and the new show() methods to toggle between
15601         the foreground and background. Add code to remove the splash after
15602         its initial showing.
15603
15604         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15605         (create_forms): no longer call Dialogs::showSplash.
15606
15607 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15608
15609         * .cvsignore: add version_info.h
15610
15611 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15612
15613         * version_info.h.in: new file
15614
15615         * Makefile.am: add version_info.h.in
15616
15617         * lyx_main.C (commandLineVersionInfo): use version_info defined in
15618         version_info.h instead of VERSION_INFO
15619
15620 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
15621
15622         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15623         The ERT inset now returns string().
15624
15625 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
15626
15627         * lyxtext.h, text.C (selectNextWord): renamed as
15628         selectNextWordToSpellcheck.
15629
15630         * text.C (selectNextWordToSpellcheck): Modified to not select
15631         words inside an ERT inset.
15632
15633 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15634
15635         * lyx_cb.C (MenuLayoutSave): change a bit the question
15636
15637         * sp_base.h: include <sys/types.h>
15638
15639 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
15640
15641         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15642
15643 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
15644
15645         * several files: fix typos in user-visible strings
15646
15647 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15648
15649         * text2.C (pasteSelection): do not set the selection, since it
15650         will be cleared later. Actually, the intent was to fix the way the
15651         selection was set, but I figured rmoving the code was just as good.
15652
15653 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
15654
15655         * FontLoader.C (available): Check if font is available without
15656         loading the font.
15657
15658 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
15659
15660         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15661
15662 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
15663
15664         * lyxrc.[Ch]: added display_graphics variable and associated code.
15665
15666 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15667
15668         * bufferparams.C (hasClassDefaults): new method. Returns true if
15669         the buffer parameters correspond to known class defaults
15670
15671 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
15672
15673         * XFormsView.C (show): set minimum size to the main window.
15674
15675 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15676
15677         * text2.C (copySelection):
15678         (cutSelection):
15679         * lyxfind.C (LyXReplace):
15680         * BufferView_pimpl.C (Dispatch): pass the correct flag to
15681         LyXText::selectionAsString.
15682
15683         * paragraph.C (asString): add "label" argument to the second form
15684
15685         * text2.C (selectionAsString): add "label" argument and pass it to
15686         Paragraph::asString.
15687
15688 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15689
15690         * lyx_main.C (commandLineHelp): remove version information
15691
15692 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
15693
15694         * lyx_main.C: add -version commandline option
15695
15696 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15697
15698         * paragraph.h: make the optional constructor arg required instead.
15699         some modifications to other files because of this.
15700
15701         * minibuffer.C (C_MiniBuffer_peek_event): make it static
15702
15703         * lyxserver.C (C_LyXComm_callback): make it static
15704
15705         * lyx_main.C (error_handler): make it static
15706
15707         * lyx_gui.C (LyX_XErrHandler): make it static
15708
15709         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15710
15711         * WorkArea.C: make the extern "C" methods static.
15712
15713         * Makefile.am (lyx_LDADD): simplify
15714
15715 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15716
15717         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15718         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15719
15720         * LyXAction.C (init):
15721         * lyxfunc.C (dispatch): associated code removal.
15722
15723 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15724
15725         * lyxfont.h (isSymbolFont): shut off warning
15726
15727         * text.C (setHeightOfRow):
15728         (getVisibleRow): fix crash with empty paragraphs which have a
15729         bottom line
15730
15731 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
15732
15733         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15734         code.
15735
15736 2001-09-04  José Matos  <jamatos@fep.up.pt>
15737         * buffer.C
15738         * buffer.h
15739         * tabular.C (docbook): rename docBook method to docbook.
15740
15741 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15742
15743         * Makefile.am: add dependencies to main.o.
15744
15745 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
15746
15747         * FontLoader.C (available): Return false if !lyxrc.use_gui
15748
15749 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
15750
15751         * FontInfo.C (query):
15752         * converter.C (view):
15753         * importer.C (Import):
15754         * exporter.C (Export): Can not -> cannot.
15755
15756 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
15757
15758         * BufferView_pimpl.C: allow to create index inset even if
15759           string is empty
15760
15761 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15762
15763         * buffer.C (getLists): replace boost::tie code with an explicit pair
15764         as boost::tie can break some compilers.
15765
15766         * iterators.h: Added a std:: declaration to the return type of
15767         ParIterator::size.
15768
15769 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
15770
15771         * lyxrc.C: add help for view_dvi_paper_option, default to safe
15772           case.
15773
15774 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
15775
15776         * iterators.[Ch]: New files. Provide paragraph iterators.
15777
15778         * buffer.C (changeLanguage): Use paragraph iterators.
15779         (isMultiLingual): ditto
15780
15781         * BufferView2.C (ChangeInsets): Use paragraph iterators.
15782
15783 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
15784
15785         * FontLoader.C: Support for cmr font.
15786
15787 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
15788
15789         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15790         (available): New method.
15791
15792         * FontInfo.C (getFontname): Use scalable fonts even when
15793         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15794         found.
15795
15796 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15797
15798         * converter.C (Formats::view): reverted! Incorrect fix.
15799
15800 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15801
15802         * converter.C (Formats::view): only output the -paper option
15803         if the dvi viewer is xdvi, thereby fixing bug #233429.
15804
15805 2001-08-23  Herbert Voss  <voss@perce>
15806
15807         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15808
15809 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
15810
15811         * Spacing.h (Spacing): Set space to Default on in the default
15812         constructor.
15813
15814 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15815
15816         * vc-backend.h (RCS::versionString): add RCS to version
15817         (CVS::versionString): add CVS to version
15818
15819         * vc-backend.C (scanMaster): do not add CVS to version.
15820         (scanMaster): do not add RCS to version
15821
15822         * lyxvc.C (versionString): new method
15823
15824         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15825
15826 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15827
15828         * Spacing.C (set): initialize fval
15829
15830 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
15831
15832         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15833         " or \.
15834
15835 2001-08-16  Juergen Vigna  <jug@sad.it>
15836
15837         * lyxfunc.C (dispatch): implemented the new FINISHED states.
15838
15839 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15840
15841         * BufferView_pimpl.C:
15842         * figureForm.C:
15843         * lyxtext.h:
15844         * text2.C: setParagraph takes linespacing now
15845
15846 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
15847
15848         * LyxAction.C: add internal LFUN_CITATION_INSERT
15849
15850         * LyXView.C: actually apply fix
15851
15852         * bufferlist.C: fix open non-existent file
15853
15854         * lyxfind.C: fix indentation
15855
15856         * lyxfunc.C: remove unneeded assert, fix typo
15857
15858 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15859
15860         * MenuBackend.C: use "Floatname List"
15861
15862 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
15863
15864         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15865         when converting LaTeX layout to insetERT.
15866         Generate a non-collapsed float when reading old float
15867
15868 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15869
15870         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15871         ERT insets.
15872
15873 2001-08-13  Juergen Vigna  <jug@sad.it>
15874
15875         * text.C (fill): return 0 instead of 20 as this seems to be the more
15876         correct value.
15877
15878 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15879
15880         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15881         lyxrc.font_norm.
15882
15883 2001-08-13  Juergen Vigna  <jug@sad.it>
15884
15885         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15886         casesensitive off.
15887         (SearchBackward): comment out the unlocking of the inset_owner this
15888         should not be needed!
15889
15890 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
15891
15892         * Many files: Remove inherit_language, and add latex_language
15893
15894         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15895         collapsible insets.
15896
15897 2001-08-10  Juergen Vigna  <jug@sad.it>
15898
15899         * text.C (prepareToPrint): fixed hfill-width in draw!
15900
15901         * BufferView2.C (selectLastWord): save the selection cursor as this
15902         now is cleared in the function LyXText::clearSelection!
15903
15904 2001-08-08  Juergen Vigna  <jug@sad.it>
15905
15906         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15907         BACKSPACE type functions.
15908
15909         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15910         is only cutted from the document but not put in the cut-buffer, where
15911         still the old stuff should be.
15912
15913         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15914
15915         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15916
15917         * tabular.C (SetWidthOfCell): fixed special case where the width
15918         was not updated!
15919         (LeftLine): handle '|' in align_special.
15920         (RightLine): ditto
15921         (LeftAlreadyDrawed): ditto
15922         (SetWidthOfCell): ditto
15923
15924 2001-08-07  Juergen Vigna  <jug@sad.it>
15925
15926         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15927
15928 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15929
15930         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15931         * lyxlex.[hC]: ditto
15932
15933 2001-08-06  Juergen Vigna  <jug@sad.it>
15934
15935         * text.C (getVisibleRow): fix up row clearing a bit.
15936
15937 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15938
15939         * minibuffer.C: make sure the X server sees the changes in the input.
15940
15941 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15942
15943         * paragraph.C (getFont): split into...
15944         (getLabelFont): this
15945         (getLayoutFont): and this
15946         * paragraph_pimpl.C (realizeFont): calling this
15947
15948         * text2.C (getFont): split into...
15949         (getLayoutFont): this
15950         (getLabelFont): and this
15951         (realizeFont): all three calling this
15952
15953         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15954         files where used.
15955
15956 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15957
15958         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15959
15960 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
15961
15962         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15963         layouts from the Quote inset insertion.
15964
15965 2001-08-03  Juergen Vigna  <jug@sad.it>
15966
15967         * BufferView_pimpl.C (update): do the fitCursor only at the end!
15968
15969         * screen.C (drawFromTo): don't call fitcursor here and do the loop
15970         only if status not is already CHANGED_IN_DRAW (second level).
15971
15972         * text.C (draw): don't set the need_break_row when inside an
15973         InsetText LyXText.
15974
15975 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15976
15977         * buffer.C (parseSingleLyXformat2Token): handle more latex
15978         conversion cases.
15979
15980         * bufferview_funcs.[hC]: change function names to
15981         begin with small char, adjust other files.
15982
15983 2001-08-02  André Pönitz <poenitz@gmx.net>
15984
15985         * lyxfunc.C:
15986         BufferView_pimpl.C: remove broken special code for math-greek
15987
15988 2001-08-02  Juergen Vigna  <jug@sad.it>
15989
15990         * BufferView_pimpl.C (update): redone this function so that we
15991         update the text again if there was a CHANGE_IN_DRAW.
15992
15993         * screen.C (cursorToggle): removed LyXText parameter and recoded.
15994         (drawFromTo): added a new internal bool which is used by draw() and
15995         redraw() function.
15996         (general): some cursor drawing problems fixed.
15997
15998 2001-08-01  Juergen Vigna  <jug@sad.it>
15999
16000         * lyxfind.C (LyXFind): fixed
16001         (SearchForward): ditto
16002         (SearchBackward): ditto
16003
16004         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
16005         spurius drawing of the cursor in the main area.
16006
16007         * text2.C (status): small fix which could lead to a segfault!
16008         (clearSelection): remove unneeded BufferView param.
16009
16010 2001-08-01  André Pönitz <poenitz@gmx.net>
16011
16012         * lyxfunc.C: small change due to changed mathed interface
16013
16014 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16015
16016         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
16017
16018 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
16019
16020         * lyxfunc.c: fail gracefully if file doesn't exist
16021
16022         * LyXSendto.C:
16023         * buffer.C:
16024         * lyxfunc.C:
16025         * BufferView_pimpl.C: IsDirWriteable() proto changed
16026
16027         * LyXView.C: fix updateWindowTitle() to store the last title
16028
16029 2001-07-31  Juergen Vigna  <jug@sad.it>
16030
16031         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
16032         the font (wrong since using of Paragraph::highestFontInRange).
16033
16034         * paragraph.C (highestFontInRange): added a default_size parameter.
16035
16036         * text.C (getVisibleRow): minor clear row changes (still not perfect).
16037         (setHeightOfRow): reformat
16038
16039 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16040
16041         * converter.[hC] + affected files: move to (inital-char)lowercase
16042         function names.
16043
16044         * ParagraphParameters.C (ParagraphParameters): remove commented code
16045
16046         * PainterBase.[Ch]: remove commented code
16047
16048         * LaTeXFeatures.h: add "bool floats" for float.sty
16049
16050         * LaTeXFeatures.C (LaTeXFeatures): init floats
16051         (require): handle float
16052         (getPackages): do it with floats
16053
16054 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16055
16056         * BufferView_pimpl.C (Dispatch): improve handling of
16057         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
16058
16059         * commandtags.h: #include lyxfont.h here temporarily to avoid
16060         keybinding bug.
16061
16062         * bufferlist.h: include LString.h here.
16063
16064 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16065
16066         * text2.C (getStringToIndex): new method.
16067
16068 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
16069
16070         * *: Reduced header file dependencies all over.
16071
16072 2001-07-30  Baruch Even  <baruch@lyx.org>
16073
16074         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
16075
16076 2001-07-29  Baruch Even  <baruch@lyx.org>
16077
16078         * buffer.C (readInset): Changed GRAPHICS to Graphics.
16079
16080 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16081
16082         * ParameterStruct.h (endif): add a default constructor to make
16083         sure that all variables is initialized.
16084
16085         * ParagraphParameters.C (ParagraphParameters): adjust
16086
16087 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16088
16089         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
16090         index; also, check that there is something to index, and that it
16091         does not span over several paragraphs.
16092         (doubleClick): use WHOLE_WORD_STRICT for double click.
16093
16094         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
16095
16096         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
16097         scheme.
16098
16099 2001-07-26  Baruch Even  <baruch@lyx.org>
16100
16101         * buffer.C (readInset): Changed to call up InsetGraphics when reading
16102         an InsetFig figure, backwards compatible reading of old figure code.
16103
16104 2001-07-27  Juergen Vigna  <jug@sad.it>
16105
16106         * text2.C: font.realize function adaption.
16107
16108         * text.C (draw): add a warnings lyxerr text if needed.
16109
16110         * layout.C: font.realize function adaption.
16111
16112         * language.C: add inherit_language and implement it's handlings
16113
16114         * bufferview_funcs.C (StyleReset): remove language parameter from
16115         font creation (should be language_inherit now).
16116
16117         * bufferparams.C (writeFile): handle ignore_language.
16118
16119         * paragraph.C (getFontSettings): the language has to be resolved
16120         otherwise we have problems in LyXFont!
16121
16122         * lyxfont.C (lyxWriteChanges): added document_language parameter
16123         (update): removed unneeded language parameter
16124
16125         * paragraph.C (validate): fixed wrong output of color-package when
16126         using interface colors for certain fonts in certain environments,
16127         which should not seen as that on the final output.
16128
16129 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
16130
16131         * BufferView_pimpl.C:
16132         * Thesaurus.h:
16133         * Thesaurus.C:
16134         * Makefile.am:
16135         * commandtags.h:
16136         * LyXAction.C: add thesaurus support
16137
16138         * lyxfind.h:
16139         * lyxfind.C: add "once" parameter, for thesaurus, to not
16140           move to the next match
16141
16142 2001-07-26  Juergen Vigna  <jug@sad.it>
16143
16144         * lyxfont.C (realize): honor ignore_language too!
16145         (resolved): ditto.
16146
16147         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
16148
16149         * text.C (draw): one place more for ignore_language to not draw
16150         itself!
16151
16152 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
16153
16154         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
16155
16156 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16157
16158         * buffer.C (parseSingleLyXformat2Token): a more general fix for
16159         the minipage conversion problem.
16160
16161 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16162
16163         * buffer.C (parseSingleLyXformat2Token): check minipage if we
16164         insert an inset.
16165
16166 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16167
16168         * BufferView.h: don't forward declare WorkArea
16169
16170         * BufferView.C: don't include WorkArea.h
16171
16172 2001-07-25  André Pönitz <poenitz@gmx.net>
16173
16174         * commandtags.h:
16175         * LyXAction.C:
16176         * lyxfunc.C:  new LFUN 'math-space'
16177
16178         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
16179
16180 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16181
16182         * text2.C (toggleInset): call open/close
16183
16184 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16185
16186         * lyxfunc.C (dispatch): add debug for the disabled case
16187
16188         * font.C (buttonText): make similar to rectText
16189
16190         * buffer.C (readInset): comment out parsing of insetlist and
16191         insttheorem
16192
16193         * PainterBase.C (rectText): small correction
16194
16195         * BufferView_pimpl.C: comment out insettheorem and insetlist
16196         * LyXAction.C: ditto
16197         * commandtags.h: ditto
16198
16199 2001-07-24  Juergen Vigna  <jug@sad.it>
16200
16201         * text.C (draw): honor the ignore_language.
16202
16203         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16204
16205 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16206
16207         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16208         char inset.
16209
16210 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16211
16212         * lyxtext.h: remove unused (and unimplemented) methods
16213
16214 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16215
16216         * text.C (getVisibleRow): honor background color
16217
16218         * PainterBase.h:
16219         * Painter.h: remove default color argument for fillRectangle
16220
16221         * text.C (backgroundColor): new method
16222
16223 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16224
16225         * text.C (getVisibleRow): adjust
16226
16227         * font.[Ch] (rectText): new method, metrics
16228         (buttonText): new method, metrics
16229
16230         * PainterBase.[hC]: make rectText and buttonText always draw and take
16231         fewer paramteres.
16232
16233 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16234
16235         * ToolbarDefaults.C (read):
16236         * MenuBackend.C (read): allow escaping in all strings
16237
16238         * BufferView_pimpl.C (insertAndEditInset): new method.
16239         (Dispatch): use insertAndEditInset whenever appropriate.
16240
16241         * BufferView_pimpl.C (insertNote): removed
16242
16243         * BufferView_pimpl.C (smartQuote): new method, moved from
16244         BufferView; if an insetquote cannot be inserted, insert a '"'
16245         character instead.
16246
16247         * BufferView2.C: remove insertCorrectQuote();
16248
16249         * lyxfunc.C (getStatus): Add support for all remaingin
16250         inset-insert lfuns.
16251
16252         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16253
16254         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16255         command (necessary to pass " as parameter of self-insert.
16256
16257         * text.C (selectWordWhenUnderCursor):
16258         (selectWord): add word_location parameter
16259         (selectWordWhenUnderCursor): same + remove special code for word
16260         boundary.
16261         (selectNextWord): use kind() to guess type of insetspecialchar,
16262         not latex().
16263
16264         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16265         (insertErtContents): create ert insets as collapsed.
16266         (readInset): better compatibility code for Info inset.
16267
16268 2001-07-20  Juergen Vigna  <jug@sad.it>
16269
16270         * lyxfunc.C (dispatch): use always LyXFind now!
16271
16272         * text2.C (init): add a reinit flag so that the LyXText can be
16273         reinited instead of deleted and reallocated (used in InsetText).
16274
16275         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16276
16277         * text.C: ditto
16278
16279         * text2.C: ditto
16280
16281 2001-07-18  Juergen Vigna  <jug@sad.it>
16282
16283         * text.C (selectNextWord): handle insets inside inset by calling
16284         always the bv->text functions so that we can go up the_locking_inset!
16285
16286         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16287         in strange locations when inside an inset!
16288
16289         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16290         handling to include insets.
16291
16292         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16293
16294 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16295
16296         * LyXAction.C (init):
16297         * commandtags.h:
16298         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16299         LIGATURE_BREAK, since the name is so stupid.
16300
16301 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16302
16303         * buffer.C (readInset): enable reading of new InsetNotes as well as old
16304         InsetInfos.
16305
16306         * FontLoader.C: remove FORMS_H_LOCATION cruft.
16307
16308         * sp_form.[Ch]: remove.
16309
16310         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16311
16312         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16313         InsetInfo.
16314
16315         * src/buffer.C (readInset): ditto.
16316
16317 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16318
16319         * BufferView_pimpl.C (specialChar): new method. Obsoletes
16320         menuSeparator(), endOfSentenceDot(), ldots() and
16321         hyphenationPoint(), which are therefore removed.
16322         (Dispatch): handle LFUN_HYPHENATION_BREAK.
16323
16324         * LyXAction.C (init):
16325         * commandtags.h: add LFUN_HYPHENATION_BREAK.
16326
16327         * paragraph.C (getWord): removed.
16328
16329         * BufferView_pimpl.C (Dispatch): use last word or selection for
16330         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16331
16332         * lyx_main.C (queryUserLyXDir): do not ask before creating
16333         user_dir, except if it has been named explicitely.
16334
16335 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16336
16337         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16338         a document of zero size.
16339
16340 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
16341
16342         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16343         approriately in the c-tor and in require().
16344         (getPackages): output the appropriate LaTeX for natbib support.
16345
16346         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16347         variables "use_natbib" and "use_numerical_citations" when reading the
16348         LyX file.
16349         (readInset): read the various natbib cite commands.
16350         (validate): white-space change.
16351
16352         * bufferparams.[Ch]: new variables "bool use_natbib" and
16353         "bool use_numerical_citations".
16354         (writeFile): output them in the LyX file.
16355
16356 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16357
16358         * lyxfunc.C (getStatus): add support for all the inset insertion
16359         commands.
16360
16361         * text2.C (insertInset):
16362         * paragraph.C (insetAllowed):
16363         * BufferView_pimpl.C (insertInset): update to take in account the
16364         renaming of insertInsetAllowed
16365
16366         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16367
16368         * text2.C (getInset): new method. returns inset at cursor position.
16369
16370         * BufferView_pimpl.C (Dispatch): changes because of this.
16371
16372         * LyXAction.C (init): rename open-stuff to inset-toggle.
16373
16374         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16375
16376         * text2.C (toggleInset): renamed from openStuff; use
16377         Inset::open().
16378
16379 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
16380
16381         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16382
16383         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16384
16385 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
16386
16387         * buffer.C (readLyXformat2): Add filename to the error dialog
16388
16389 2001-07-18  Juergen Vigna  <jug@sad.it>
16390
16391         * tabular.C (GetCellNumber): put an assert here instead of the check!
16392
16393 2001-07-17  Juergen Vigna  <jug@sad.it>
16394
16395         * BufferView_pimpl.C (toggleSelection): adapted too.
16396
16397         * text.C (selectNextWord): adapted for use with insets.
16398         (selectSelectedWord): ditto
16399
16400 2001-07-17  Juergen Vigna  <jug@sad.it>
16401
16402         * sp_spell.C (PSpell): fix initialitation order.
16403
16404 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16405
16406         * paragraph.C: spacing
16407
16408 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
16409
16410         * sp_spell.C: repair language selection for pspell
16411
16412 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16413
16414         * lyxfunc.h: change more methods to begin with lower char.
16415
16416 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
16417
16418         * buffer.C (parseSingleLyXformat2Token): Generate error insets
16419         for unknown layouts.
16420
16421 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
16422
16423         * buffer.C (readLyXformat2): Generate an error dialog if there are
16424         unknown layouts.
16425
16426 2001-07-16  Juergen Vigna  <jug@sad.it>
16427
16428         * sp_spell.C: always compile ISpell part.
16429
16430         * lyxrc.C: added use_pspell entry and it's handling.
16431
16432 2001-07-13  Juergen Vigna  <jug@sad.it>
16433
16434         * sp_spell.C: removed double includes.
16435
16436 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
16437
16438         Consistent use of Lsstream.h:
16439         * Lsstream.h: added using std::stringstream for consistencies sake.
16440
16441         * buffer.C: removed using std::stringstream
16442
16443         * lyxfont.C (stateText):
16444         * paragraph.C (asString):
16445         * text.C (selectNextWord, selectSelectedWord):
16446         * text2.C (setCounter):
16447         * vspace.C (asString, asLatexString):
16448         std::ostringstream -> ostringstream.
16449
16450 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16451
16452         * LyXAction.C: add LFUN_HELP_ABOUTLYX
16453         * commandtags.h: add LFUN_HELP_ABOUTLYX
16454         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16455
16456 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16457
16458         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16459         cursorToggle()
16460         * lyx_gui_misc.C: remove spellchecker
16461         * lyxfunc.C: showSpellchecker
16462         * sp_base.h: added
16463         * sp_ispell.h: added
16464         * sp_pspell.h: added
16465         * sp_spell.C: added
16466         * sp_form.[Ch]: removed
16467         * spellchecker.[Ch]: removed
16468
16469 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
16470
16471         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16472         is set.
16473         (simpleTeXSpecialChars): Simply print the input character without
16474         any special translation if pass_thru is set.
16475
16476         * layout.h: Added bool pass_thru to layout class for being able to
16477         implement pass through of a paragraph for Literate Programming.
16478
16479         * layout.C: add LT_PASS_THRU to LayoutTags enum.
16480         * layout.C (LyXLayout): set pass_thru to flase in constructor.
16481         * layout.C (Read): add "passthru" to list of layout tags and add
16482         code to set the pass_thru boolean when it is read.
16483
16484 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16485
16486         * trans_decl.h: remove allowed from KmodInfo
16487
16488         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16489         remove allowed code
16490         (Load): adjust
16491
16492         * paragraph_pimpl.C (erase): use boost::prior
16493
16494         * Painter.C (text): use data() instead of c_str() when length is
16495         also provided.
16496         * WorkArea.C (putClipboard): ditto
16497         * font.h (width): ditto
16498
16499         * BufferView2.C: use it-> instead of (*it). for iterators
16500         * texrow.C: ditto
16501         * paragraph_pimpl.C: ditto
16502         * paragraph.C: ditto
16503         * minibuffer.C: ditto
16504         * language.C: ditto
16505         * kbmap.C: ditto
16506         * encoding.C: ditto
16507         * counters.C: ditto
16508         * converter.C: ditto
16509         * chset.C: ditto
16510         * Variables.C: ditto
16511         * TextCache.C: ditto
16512         * MenuBackend.C: ditto
16513         * LyXAction.C: ditto
16514         * LColor.C: ditto
16515         * FloatList.C: ditto
16516         * DepTable.C: ditto
16517         * ColorHandler.C (LyXColorHandler): ditto
16518
16519 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16520
16521         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16522
16523         * text2.C (openStuff): reintroduce this method (which had been
16524         nuked in NEW_INSETS frenzy).
16525
16526         * lyxfunc.C (Dispatch): when an action has not been handled, use
16527         its name in the error message, not its number.
16528
16529         * paragraph.C (inInset): change method name to begin with lowercase.
16530
16531         * undo_funcs.C:
16532         * text2.C: updates because of this.
16533
16534 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16535
16536         * ToolbarDefaults.C (add): add spaces in error message
16537
16538 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16539
16540         * buffer.C (readLyXformat2): initialize the ert comp. variables.
16541         (readLyXformat2): rename return_par to first_par, use lyxlex's
16542         pushToken and remove the manual push handling.
16543         (parseSingleLyXformat2Token): add another ert comp. variable:
16544         in_tabular, rename return_par to first_par. handle newlines better
16545
16546 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16547
16548         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16549
16550 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16551
16552         * text2.C (getParFromID): removed
16553
16554         * buffer.C (getParFromID): new method moved form lyxtext.
16555         * BufferView2.C (insertErrors): adjust
16556         (setCursorFromRow): adjust
16557         * BufferView_pimpl.C (restorePosition): adjust
16558         * lyxfunc.C (Dispatch): adjust
16559         * undo_funcs.C (textUndo): adjust
16560         (textRedo): adjust
16561         (textHandleUndo): adjust
16562         (textHandleUndo): adjust
16563
16564 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16565
16566         * buffer.C: up' the LYX_FORMAT
16567
16568         * lyxfont.h: turn NO_LATEX on as default
16569
16570         * buffer.C (insertErtContents): new methods of tex style compability.
16571         (parseSingleLyXformat2Token): use it several places.
16572         * tabular.C (OldFormatRead): and here
16573
16574 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16575
16576         * text2.C: remove some commented code.
16577         reindent file.
16578
16579         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16580         * trans.C: changes because of the above.
16581
16582 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
16583
16584         * text2.C (setCounter): Fix counters bug with bibliography layout.
16585
16586 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16587
16588         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16589         own member functions
16590         (simpleTeXSpecialChars): ditto
16591
16592 2001-07-06  Juergen Vigna  <jug@sad.it>
16593
16594         * a lot of files: changed the access to LyXText::status and the
16595         call of undo-functions.
16596
16597         * undo.[Ch]: added a inset_id to the undo informations.
16598
16599         * undo_funcs.[Ch]: added and moved here all undo functions.
16600
16601         * lyxtext.h: give the status enum a weight, made status_ a private
16602         variable and made accessor functions for it, removed the whole bunch
16603         of undo-functions as they are now in their own file, make some
16604         functions publically available. Added function ownerParagraph with
16605         int parameter.
16606
16607         * paragraph.[Ch]: added "bool same_ids" to the constructor,
16608         made InInset() a const function, added getParFromID() function.
16609
16610         * buffer.[Ch]: added const version for inset_iterator functions,
16611         added getInsetFromID() function.
16612
16613         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16614         changed undo functions for new version.
16615
16616 2001-07-05  Juergen Vigna  <jug@sad.it>
16617
16618         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16619         unknow mechanism does not call the proper constructor but only this
16620         one also if I request the other!?
16621
16622 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16623
16624         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16625
16626         * text2.C (LyXText): use initialization lists.
16627
16628         * lyxtext.h (Selection): initialize set_ and mark_
16629         (init): remove method
16630
16631 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
16632
16633         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16634
16635 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16636
16637         * screen.[Ch]: change method names to begin with lowercase
16638
16639         * BufferView_pimpl.C (updateScrollbar): simplify further and
16640         hopefully make it a bit faster.
16641
16642 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16643
16644         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16645         calling directly xforms functions.
16646
16647         * Painter.C (Painter):
16648         * lyx_cb.C (MenuWrite):
16649         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16650         fl_display.
16651
16652         * lyx_gui.C: remove bogus guiruntime extern declaration.
16653
16654 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16655
16656         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16657         in NEW_INSETS
16658         (redoDrawingOfParagraph): ditto
16659         (redoParagraphs): ditto
16660         (cutSelection): don't create a object for CutAndPaste use the
16661         static method directly
16662         (pasteSelection): ditto
16663
16664         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16665         LyXview (+ rename)
16666
16667 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16668
16669         * modifications to some other files because of this.
16670
16671         * Makefile.am (lyx_SOURCES): add XFormsView
16672
16673         * XFormsView.[Ch]: new files
16674
16675         * LyXView.[Ch]: make LyXView a base class for the gui handling for
16676         the main window. Move the gui dependent stuff to XFormsView
16677
16678 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16679
16680         * tabular.C (GetCellInset): update cur_cell also in the row/col
16681         version of this function.
16682
16683         * lyxfunc.C: no need to include figure_form.h here.
16684
16685         * FontLoader.h:
16686         * lyxfunc.h:
16687         * lyxscreen.h:
16688         * text2.C:
16689         * lyxvc.C: no need to include forms.h here.
16690
16691 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16692
16693         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16694
16695         * lyxfunc.C (Dispatch):
16696         * Spacing.C (set):
16697         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16698         constructor argument.
16699
16700 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16701
16702         * paragraph.C (Paragraph): dont't clear, and just set layout.
16703         (makeSameLayout): use params's copy contructor.
16704
16705         * ParagraphParameters.[Ch] (makeSame): delete method
16706
16707 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
16708
16709         * Variables.[Ch]: fix indentation, rename set to isSet
16710
16711 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16712
16713         * lyxfunc.C (Dispatch): fix typo
16714
16715 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16716
16717         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16718         upper_bound.
16719
16720         * bufferlist.C: include assert.h for emergencyWrite().
16721
16722 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16723
16724         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16725           give up at last (bug #425202) !
16726
16727 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
16728
16729         * lyx_gui_misc.C:
16730         * sp_form.h:
16731         * sp_form.C:
16732         * spellchecker.h:
16733         * spellchecker.C: strip spellchecker options and bring up
16734           preferences tab instead
16735
16736 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16737
16738         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16739         the istringstream constructor
16740
16741 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16742
16743         * paragraph.C (getLayout): fix return value
16744
16745         * paragraph.h: do not declare getLayout as inline.
16746
16747         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16748
16749 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16750
16751         * lyxcursor.h (operator<): new func
16752         (operator>): new func
16753         (operator>=): new func
16754         (operator<=): new func
16755
16756         * text.C (changeCase): use selection.start and selection.end
16757         (changeRegionCase): require from to be <= to. Require par to be a
16758         valid paragraph.
16759
16760         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16761
16762 2001-06-27  Juergen Vigna  <jug@sad.it>
16763
16764         * text.C (cursorLeftOneWord): changed to return the cursor and added
16765         overlay with BufferView * parameter which calls this one.
16766         (getWord): added
16767         (selectWord): use new getWord function.
16768         (changeCase): renamed from changeWordCase as and extended to work
16769         also on selections.
16770
16771         * lyxtext.h: added enum word_location
16772
16773         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16774         changeCase as this operates now also on selections.
16775
16776 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
16777
16778         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16779
16780         * many files: send debug output to Debug::INFO instead of
16781         Debug::ANY.
16782
16783         * converter.C (View):
16784         (Convert):
16785         (Move): send debug output to Debug::FILES instead of console.
16786
16787 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
16788
16789         * lyxfunc.C (getStatus): use func_status
16790
16791         * func_status.h: new header, describing the results of
16792         LyXFunc::getStatus;
16793
16794         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16795         LFUN_MATH_HALIGN.
16796
16797 2001-06-25  The LyX Project  <jug@sad.it>
16798
16799         * buffer.C (sgmlOpenTag):
16800         (sgmlCloseTag):
16801         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
16802
16803 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16804
16805         * text2.C: remove some dead code
16806
16807         * tabular.C (GetCellInset): store the last cell checked (gotten)
16808
16809         * tabular.h: add the helper for the speedup
16810
16811         * lyxtext.h: remove some dead code
16812
16813 2001-06-26  The LyX Project  <Asger>
16814
16815         * paragraph.C: Change export to LaTeX of alignment to
16816         \begin{center} and family for better roundtrip work with reLyX.
16817
16818         * Tune the math drawing a bit.
16819
16820 2001-06-25  The LyX Project  <Asger>
16821
16822         * LColor.C (LColor): New color for math background. New color
16823         for buttons.
16824
16825 2001-06-25  The LyX Project  <jug@sad.it>
16826
16827         * lyxfunc.C (MenuNew): remove extra check for .lyx file
16828
16829         * lyxfunc.C (Open):
16830         * bufferlist.C (newFile): do not restrict to files ending with
16831         .lyx
16832
16833         * BufferView_pimpl.C (MenuInsertLyXFile):
16834
16835 2001-06-24  The LyX Project  <jug@sad.it>
16836
16837         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16838         of compare_no_case
16839
16840 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16841
16842         * lyxtext.h: rename most methods to begin with a small char.
16843         Lots of changes because of this.
16844
16845         * paragraph.C (Paragraph): do not call fitToSize
16846         (erase): call Pimpl::erase
16847         (insertChar): call Pimpl::insertChar
16848         (insertInset): call Pipl::insertInset
16849         (breakParagraph): do not call fitToSize
16850         (breakParagraphConservative): do not call fitToSize
16851         (fitToSize): remove method
16852
16853         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16854
16855 2001-06-24  The LyX Project  <Asger>
16856
16857         * Fix Qt compilation^2
16858
16859 2001-06-24  The LyX Project  <jug@sad.it>
16860
16861         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16862         depthHook(getDepth()-1).
16863
16864         * paragraph.h:
16865         * ParagraphParameters.h:
16866         * ParameterStruct.h: change type of depth to unsigned int ==
16867         depth_type. Many adaptations to other files before of that.
16868
16869 2001-06-24  The LyX Project  <Asger>
16870
16871         * Fix Qt compilation.
16872
16873 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16874
16875         * paragraph.h: renamed several methods to begin with small letter.
16876         several changes to many parts of the code because of this.
16877
16878 2001-06-23  The LyX Project  <jug@sad.it>
16879
16880         * text2.C (InsertStringAsLines): renamed from InsertStringA;
16881         rewritten to discard all double spaces when KeepEmpty is off
16882         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16883         to only handle newlines but not fiddle with spaces and friends.
16884
16885         * lyxfunc.C (MenuNew): when doing 'new from template', use
16886         template_path as default directory
16887
16888 2001-06-23  The LyX Project  <Asger>
16889
16890         * Clean-up of header file includes all over
16891         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16892
16893 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16894
16895         * paragraph.h: renamed from lyxparagraph.h
16896
16897 2001-06-23  Asger  <lyx@violet.home.sad.it>
16898
16899         * Buffer.h: Removed Buffer::resize
16900         * BufferList.h: Removed BufferList::resize
16901         * LyXView.h: Added LyXView::resize. This way, we will only reflow
16902         the document lazily when we change the width, or the font settings.
16903
16904 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16905
16906         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16907
16908 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16909
16910         * buffer.h: remove out of date comment
16911
16912 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16913
16914         * lyxscreen.h:
16915         * screen.C: fix "theoretical" GC leak
16916
16917 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16918
16919         * LaTeX.C (scanAuxFile):
16920         (deplog): remove trailing \r when reading stream (useful under
16921         win32)
16922
16923 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
16924
16925         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16926         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16927         and BufferView::theLockingInset(Inset*), so should use them and not
16928         access bv_->text->the_locking_inset directly.
16929
16930         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16931
16932 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16933
16934         * Makefile.am:
16935         * tex-defs.h: remove old unused file
16936
16937 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
16938
16939         * BufferView_pimpl.C: fix typo, remove minibuffer message
16940           when buffer has loaded
16941
16942 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16943
16944         * lyxfunc.C (Dispatch): use stringstream
16945         (MenuNew): use stringstream
16946         (Open): use stringstream
16947
16948         * importer.C (Import): use stringstream
16949
16950         * bufferview_funcs.C (CurrentState): use stringstream
16951
16952         * LaTeX.C (run): use stringstream
16953
16954         * BufferView_pimpl.C (savePosition): use stringstream
16955         (restorePosition): use stringstream
16956         (MenuInsertLyXFile): use stringstream
16957
16958 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
16959
16960         * BufferView.C:
16961         * Bullet.C:
16962         * ColorHandler.C:
16963         * FontInfo.C:
16964         * FontLoader.C:
16965         * LColor.C:
16966         * LaTeXFeatures.C:
16967         * Painter.C:
16968         * gettext.C:
16969         * lyx_gui_misc.C:
16970         * lyxserver.C:
16971         * vspace.C: removed // -*- C++ -*- as first line.
16972
16973         * lyxfind.h:
16974         * version.h: added // -*- C++ -*- as first line.
16975
16976 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16977
16978         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16979
16980         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16981         of string
16982
16983 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16984
16985         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16986         of floats.
16987
16988 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16989
16990         * gettext.C: include LString.h even when --disable-nls is on.
16991
16992 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
16993
16994         * converter.h (Get): changed argument type from int to
16995         FormatList::size_type to avoid unnecessary conversion.
16996
16997         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16998         before using it.
16999
17000 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17001
17002         * gettext.h: include LString.h even when --disable-nls is on.
17003
17004 2001-06-07  Juergen Vigna  <jug@sad.it>
17005
17006         * text.C (BreakAgain): subst spaces with tabs.
17007
17008         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
17009         (resizeInsetsLyXText): set force on resizeLyXText.
17010
17011 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17012
17013         * gettext.h (gettext_init):
17014         (locale_init): use a real definition instead of a macro
17015
17016 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
17017
17018         * Bufferview_pimpl.C:
17019         * LColor.h:
17020         * LColor.C: further lcolor tidies
17021
17022 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17023
17024         * BufferView_pimpl.C (updateScrollbar): simplify.
17025
17026         * BufferView2.C: don't include insets/insetinfo.h, change
17027         prototype for insertInset and call the Pimpl version. let
17028         updateInset call Pimpl version.
17029
17030         * BufferView.h: move inset_slept to BufferView::Pimpl, move
17031         gotoInset to BufferView::Pimpl
17032
17033 2001-06-01  Juergen Vigna  <jug@sad.it>
17034
17035         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
17036         inside a LockingInset (is the update needed at all?).
17037
17038 2001-05-31  Juergen Vigna  <jug@sad.it>
17039
17040         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
17041         here not the old one otherwise how should we compare it afterwards
17042         if it's the same!
17043
17044 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17045
17046         * lyxfont.C:
17047         * tabular.C:
17048         * tabular-old.C:
17049         * FontInfo.C: bring C functions into global namespace when
17050         necessary
17051
17052 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17053
17054         * LString.h: make sure config.h has been loaded before LString.h.
17055
17056         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
17057         (one for each char read by EatLine!).
17058
17059         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
17060         variables.
17061
17062 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17063
17064         * paragraph.C (BreakParagraph): set the inset_owner in the new par
17065         to the same as the par we break from
17066
17067 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17068
17069         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
17070
17071         * MenuBackend.C (expand): also create menu entries for wide
17072         versions of the floats.
17073
17074         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
17075
17076         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
17077
17078         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
17079         frontends/Makefile.am
17080
17081         * text2.C: adjust
17082         * text.C: adjust
17083
17084
17085         * tabular.C (getTokenValue): add std::
17086
17087         * tabular-old.C (getTokenValue): add std::
17088         (getTokenValue): ditto
17089         (getTokenValue): ditto
17090
17091         * screen.C (ToggleSelection): adjust
17092
17093         * lyxtext.h: put selection cursors inside a Selection struct.
17094
17095         * lyxfunc.C (moveCursorUpdate): adjust
17096
17097         * lyxfont.C (latexWriteStartChanges): add std::
17098
17099         * lyxfind.C: adjust
17100
17101         * font.h: delete with(char const *, LyXFont const &)
17102
17103         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
17104
17105         * FontInfo.C (getFontname): add std::
17106
17107         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
17108         (workAreaButtonPress): adjust
17109         (tripleClick): adjust
17110         (update): adjust
17111         (moveCursorUpdate): adjust
17112         (Dispatch): adjust
17113
17114         * BufferView2.C (gotoInset): adjust
17115
17116 2001-05-30  Juergen Vigna  <jug@sad.it>
17117
17118         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
17119         to check pspell I add this as default as I now have new pspell
17120         libraries and they seem to use this.
17121
17122 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17123
17124         * text2.C (CutSelection): make the cursor valid before the call to
17125         ClearSelection.
17126
17127 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17128
17129         * kbsequence.C (parse): de-uglify a bit the parsing code, which
17130         relied on 0 terminated strings and other horrors. Bug found due to
17131         the new assert in lyxstring!
17132
17133         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
17134         KP_ keys.
17135
17136 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17137
17138         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
17139         to latinkeys.bind.
17140
17141         * lyxfunc.C (processKeySym): change method of getting to the
17142         self-insert char.
17143
17144         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
17145         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
17146         * BufferView_pimpl.[Ch]: here as private methods.
17147
17148 2001-05-28  Juergen Vigna  <jug@sad.it>
17149
17150         * text.C (SetHeightOfRow): added the update() call again as it is
17151         needed to initialize inset dimensions!
17152
17153 2001-05-16  Juergen Vigna  <jug@sad.it>
17154
17155         * text2.C (SetCharFont): Add new function with BufferView * and
17156         bool toggleall parameters for setting insets internal fonts.
17157         (SetFont): Freeze the undo as we may change fonts in Insets and
17158         all this change should be inside only one Undo!
17159
17160         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
17161         setting font's in insets as for them we have the SetFont function!
17162
17163 2001-05-15  Juergen Vigna  <jug@sad.it>
17164
17165         * text2.C (ClearSelection): to be sure we REALLY don't have any
17166         selection anymore!
17167
17168         * tabular.C (TeXCellPreamble): fixed the left border problem for
17169         multicolumn cells.
17170
17171 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
17172
17173         * LaTeX.C (deplog): Make sure that the main .tex file is in the
17174         dependancy file
17175
17176 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17177
17178         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
17179         LFUN_BREAKPARAGRAPH.
17180
17181         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
17182         help test to "internal only", similar for LFUN_INSERT_URL
17183
17184         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
17185         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
17186         auto_region_delete and deadkeys.
17187
17188 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
17189
17190         * LColor.h:
17191         * LColor.C: remove some dead entries, tidy a little
17192
17193 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17194
17195         * lyxfunc.C (processKeySym): comment the Escape handling, remove
17196         commented code.
17197         (Dispatch): implement LFUN_ESCAPE
17198
17199         * commandtags.h: add LFUN_ESCAPE
17200
17201         * LyXAction.C (init): add entry for LFUN_ESCAPE
17202
17203         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17204         Remove commented code.
17205         (insertNote): moved here
17206         (open_new_inset): moved here
17207
17208         * BufferView[2].[Ch]: move insertNote and open_new_inset to
17209         BufferView_pimpl
17210
17211 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17212
17213         * kbmap.C (findbinding): clean it up and make it work correctly.
17214
17215         * lyx_main.C (init): do not pass argc and argv as parameters
17216
17217 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
17218
17219         * buffer.C: fix path for OS/2 & Win32
17220
17221         * lyx_gui.C:
17222         * lyx_main:
17223         * lyx_main.C: Added os:: class.
17224
17225         * os2_defines.h: update
17226
17227 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17228
17229         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17230         better by trying again with reduced state.
17231
17232 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17233
17234         * lyxrc.C (read): print error about invalid key sequence only when
17235         debugging (because not all latinX keysyms are known to some X
17236         servers)
17237
17238         * kbsequence.C (getiso): add a few std:: qualifiers
17239         (getiso): comment out extra return statement.
17240
17241 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17242
17243         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17244         handling.
17245         (Dispatch): enhance the accent inset a bit. (not perfect)
17246
17247 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17248
17249         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17250
17251 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17252
17253         * bufferlist.C (emergencyWrite): fix assert() call
17254
17255 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
17256
17257         * text.C (InsertChar): Added trivial patch to only send the "you
17258         can not do multiple spaces this way" message once during a
17259         session.
17260
17261 2001-05-08  Baruch Even  <baruch@lyx.org>
17262
17263         * Makefile.am: Changed order of libraries to get LyX to link properly
17264         with the gnome frontend.
17265
17266 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17267
17268         * LaTeXFeatures.h: add a std:: qualifier
17269
17270 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17271
17272         * paragraph.C (String): use stringstream
17273
17274 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17275
17276         * paragraph.C (writeFile): remove footflag arg
17277
17278         * buffer.C (makeLaTeXFile): use stringstream
17279         (latexParagraphs): remove footnot gurba
17280
17281         * LaTeXFeatures.C (getPackages): use stringstream
17282         (getMacros): likewise
17283         (getTClassPreamble): likewise
17284         (getFloatDefinitions): new method
17285
17286         * paragraph.C (writeFile): reindent
17287         (Erase): reindent
17288
17289         * WorkArea.h: revert the xpos + etc changes.
17290
17291         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17292
17293         * lyxparagraph.[Ch]: add copy constructor, remove Clone
17294
17295         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17296         (pasteSelection): likewise
17297         * text2.C (CreateUndo): likewise
17298
17299 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17300
17301         * minibuffer.C (peek_event): temporarily reduce the functionality
17302         of the minibuffer (to allow args on lfuns)
17303
17304         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17305         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17306
17307         * buffer.C (readInset): add compability reading of old float
17308         lists, add reading of new style float list.
17309         (readInset): avoid reevaluation of inscmd.getCmdName()
17310         (getLists): reindent
17311
17312         * MenuBackend.C (MenuItem): implement parsing of
17313         md_floatlistinsert and md_floatinsert.
17314         (expand::LastFiles): move initalizaton of iterators out of loop,
17315         avoid reevaluation.
17316         (expand::Documents): introduce typdedef vector<string> Strings,
17317         and use it.
17318         (expand::ExportFormats): introduce typedef vector<Format const *>
17319         Formats, and use it.
17320         (expand): implement FloatListInsert and FloatInsert.
17321
17322         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17323         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17324         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17325
17326         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17327         handling.
17328         (Dispatch::LFUN_FLOAT_LIST): implement
17329
17330 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
17331
17332         * LaTeX.C (run): Fix problem with --export code.
17333
17334 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17335
17336         * BufferView.[Ch] (workarea): removed.
17337         (getClipboard) new method; wrapper for workarea()->getClipboard()
17338
17339         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17340         bug.
17341
17342         * WorkArea.h (width, height, xpos, ypos): These methods all
17343         returned the dimensions of the work_area sub-area of WorkArea,
17344         resulting in a position error if the WorkArea were resized. Now
17345         return the dimensions of the entire WorkArea.
17346
17347         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17348
17349 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17350
17351         * LaTeX.C (deplog): correct the syntax of regex reg1
17352
17353 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17354
17355         * undo.C: remove !NEW_INSETS cruft
17356
17357 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17358
17359         * text2.C: remove !NEW_INSETS cruft
17360
17361         * text.C: remove !NEW_INSETS cruft
17362
17363         * tabular.C: remove !NEW_INSETS cruft
17364
17365         * spellchecker.C: remove !NEW_INSETS cruft
17366
17367         * lyxtext.h: remove !NEW_INSETS cruft
17368
17369         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17370
17371         * lyxfunc.C: remove !NEW_INSETS cruft
17372
17373         * lyxfind.C: remove !NEW_INSETS cruft
17374
17375         * lyx_cb.C: remove !NEW_INSETS cruft
17376
17377         * figureForm.C: remove  !NEW_INSETS cruft
17378
17379         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17380
17381         * buffer.[Ch]: remove !NEW_INSETS cruft
17382
17383         * ToolbarDefaults.C: remove !NEW_INSETS cruft
17384
17385         * CutAndPaste.C: remove !NEW_INSETS cruft
17386
17387         * BufferView_pimpl.C: remove !NEW_INSETS cruft
17388
17389         * BufferView2.C: remove !NEW_INSETS cruft
17390
17391         * BufferView.h: remove !NEW_INSETS cruft
17392
17393 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17394
17395         * Lsstream.h: include LString.h before the sstream headers to
17396         fix problem with gcc 2.95.3 and lyxstring
17397
17398 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17399
17400         * lyx_main.C: add using directives when needed for C functions
17401         declared in std:: namespace.
17402
17403 2001-04-27  Juergen Vigna  <jug@sad.it>
17404
17405         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17406         (SetHeightOfRow): comment out the update call should not be needed!
17407
17408 2001-04-13  Juergen Vigna  <jug@sad.it>
17409
17410         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17411         (LyXTabular): tried to minimize operator= operations (and realized
17412         hopfully Lars wish).
17413
17414 2001-04-27  Juergen Vigna  <jug@sad.it>
17415
17416         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17417
17418 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17419
17420         * lyxfunc.C (Dispatch): hack to make listof algorithm work
17421
17422         * buffer.C (readInset): hack to make listof algorithm work
17423
17424         * BufferView_pimpl.C: hack to make listof algorithm work
17425
17426 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17427
17428         * LyXAction.C: removed all !NEW_INSETS cruft
17429         (init): moved lfun_item in method
17430
17431         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17432
17433 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17434
17435         * BufferView2.C (theLockingInset): white space.
17436
17437 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17438
17439         * minibuffer.C: include <iostream>
17440
17441         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17442
17443         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17444
17445         * commandtags.h: add LFUN_TRANSPOSE_CHARS
17446
17447         * text.[Ch] (TransposeChars): new method
17448
17449 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17450
17451         * call message directly through LyXView instead of through LyXFunc
17452         * BufferView2.C: adjust
17453         * BufferView_pimpl.C: adjust
17454         * FontLoader.C: adjust
17455         * buffer.C: adjust
17456         * bufferview_funcs.C: adjust
17457         * converter.C: adjust
17458         * figureForm.C: adjust
17459         * importer.C: adjust
17460         * lyx_cb.C: adjust
17461         * lyx_gui_misc.C: adjust
17462         * lyxfunc.C: adjust
17463         * lyxvc.C: adjust
17464         * text2.C: adjust
17465         + more files in subdirs
17466
17467         * lyxparagraph.h (size): move up int file
17468         (GetLayout): ditto
17469
17470         * adjust all uses of Assert to lyx::Assert.
17471
17472         * BufferView2.C (ChangeCitationsIfUnique): adjust for
17473         lyxfunctional in namespace lyx
17474         * layout.C (hasLayout): ditto
17475         (GetLayout): ditto
17476         (GetLayout): ditto
17477         (delete_layout): ditto
17478         (NumberOfClass): ditto
17479         * converter.C (GetFormat): ditto
17480         (GetNumber): ditto
17481         (Add): ditto
17482         (Delete): ditto
17483         (SetViewer): ditto
17484         * bufferlist.C (getFileNames): ditto
17485         (emergencyWriteAll): ditto
17486         (exists): ditto
17487         (getBuffer): ditto
17488         * MenuBackend.C (hasSubmenu): ditto
17489         (hasMenu): ditto
17490         (getMenu): ditto
17491         * BufferView_pimpl.C (getInsetByCode): ditto
17492
17493 2001-04-18  Juergen Vigna  <jug@sad.it>
17494
17495         * vspace.C (asLatexString): fixed the 100% problem.
17496
17497 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17498
17499         * lyxfunc.C (Dispatch):
17500         * minibuffer.C:
17501         * minibuffer.h: add a few std:: qualifiers
17502
17503 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17504
17505         * minibuffer.[Ch]: reimplement so that commands is initiated and
17506         run from lyxfunc, simplified som handling, and made the completion
17507         and history code for complete. wip.
17508
17509         * lyxfunc.C (processKeySym): call message
17510         (miniDispatch): new temporary method
17511         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17512         (LFUN_MESSAGE): implement
17513         (LFUN_MESSAGE_PUSH): implement
17514         (LFUN_MESSAGE_POP): implement
17515         (initMiniBuffer): the initial/defualt minibuffer message.
17516
17517         * lyxfont.[Ch]: inline some more getters
17518
17519         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17520
17521         * lyx_gui_misc.[Ch] (WriteStatus): remove method
17522
17523         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17524         (AutoSave): use LFUN_MESSAGE
17525         (Reconfigure): ditto
17526
17527         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17528
17529         * figureForm.C: use LFUN_MESSAGE
17530
17531         * converter.C (runLaTeX): use LFUN_MESSAGE
17532
17533         * bufferview_funcs.C: use LFUN_MESSAGE
17534         (Melt): ditto
17535         (changeDepth): ditto
17536
17537         * bufferparams.h: use boost::
17538
17539         * bufferlist.h: inherit privately from noncopyable
17540
17541         * bufferlist.C (loadLyXFile): remove some commented code.
17542
17543         * buffer.C (runChktex): use LFUN_MESSAGE
17544
17545         * ShareContainer.h: inherit privately from noncopyable
17546
17547         * ParagraphParameters.[hC] (depth): inline it.
17548
17549         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17550         methods.
17551         (message): new method
17552         (messagePush): ditto
17553         (messagePop): ditto
17554         (show): init minibuffer
17555         (showState): direct call
17556
17557         * LaTeX.[Ch]: inherit privately from noncopyable
17558         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17559         instead of WriteStatus.
17560
17561         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17562
17563         * BufferView_pimpl.C (buffer): don't init minibuffer
17564         (workAreaButtonPress): use LFUN_MESSAGE
17565         (workAreaButtonRelease): ditto
17566         (savePosition): ditto
17567         (restorePosition): ditto
17568         (MenuInsertLyXFile): ditto
17569         (workAreaExpose): don't init minibuffer
17570         (update): remove commented code, simplify
17571
17572         * BufferView2.C (openStuff): use LFUN_MESSAGE
17573         (toggleFloat): ditto
17574         (menuUndo): ditto
17575         (menuRedo): ditto
17576         (copyEnvironment): ditto
17577         (pasteEnvironment): ditto
17578         (copy): ditto
17579         (cut): ditto
17580         (paste): ditto
17581         (gotoInset): ditto
17582         (updateInset): remove some commented code
17583
17584         * lastfiles.h: inherit privately from noncopyable
17585         * layout.h: ditto
17586         * lyx_gui.h: ditto
17587         * lyx_main.h: ditto
17588         * lyxlex.h: ditto
17589         * lyxlex_pimpl.h: ditto
17590
17591         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17592         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17593         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17594
17595         * LyXAction.h: inherit privately from noncopyable, add methods
17596         func_begin, func_end, returning iterators to the func map.
17597
17598         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17599         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17600         (func_begin): new method
17601         (func_end): new method
17602
17603         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17604         and not)
17605         (copySelection): ditto
17606         (pasteSelection): ditto
17607
17608         * BufferView.C: whitespace change
17609         * BufferView.h: inherit privately from noncopyable
17610
17611 2001-04-16  Allan Rae  <rae@lyx.org>
17612
17613         * tabular-old.C (l_getline):
17614         * spellchecker.C (sc_check_word):
17615         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17616         an unrecognised preprocessor directive.  So ensure they're wrapped.
17617
17618 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
17619
17620         * src/exporter.C (Export): Give an error message when path to file
17621         contains spaces.
17622
17623 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
17624
17625         * LaTeX.C (deplog): Always check that foundfile exists.
17626
17627 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17628
17629         * lyx_main.h:
17630         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17631
17632 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17633
17634         * tabular.[Ch] (getLabelList): implement new method
17635
17636         * minibuffer.h: comment ouf setTiimer
17637
17638         * minibuffer.C (ExecutingCB): constify res
17639         (peek_event): constify s
17640         (Set): constify ntext
17641         (Init): constify nicename
17642
17643         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17644
17645         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17646         (savePosition): use two params to Minibuffer::Set
17647         (restorePosition): ditto
17648
17649 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17650
17651         * lyx_main.C: include language.h
17652
17653         * Makefile.am (lyx_main.o): add language.h
17654
17655 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17656
17657         * exporter.C:
17658         * paragraph.C:
17659         * screen.C:
17660         * tabular.C:
17661         * CutAndPaste.C: include gettext.h
17662
17663         * lyxfont.h: remove old hack with ON and OFF.
17664
17665         * lyxparagraph.h:
17666         * lyxfont.h: do not include language.h...
17667
17668         * BufferView2.C:
17669         * LaTeXFeatures.C:
17670         * Painter.C:
17671         * bufferview_funcs.C:
17672         * font.C:
17673         * lyxfont.C:
17674         * text.C:
17675         * text2.C:
17676         * trans_mgr.C:
17677         * paragraph.C: ... but do it here instead
17678
17679 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17680
17681         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17682
17683         * tabular.C: small reformat
17684
17685         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17686         NEW_INSETS version
17687         (GetChar): ditto
17688         (BreakParagraph): ditto
17689         (SetOnlyLayout): ditto
17690         (SetLayout): ditto
17691
17692         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17693         with one arg less.
17694
17695         * lastfiles.C: removed most using decl, add std:: where needed
17696
17697         * buffer.C: ws changes
17698
17699         * MenuBackend.C (class compare_format): put into anon namespace
17700         (expand): constify label, names, action, action2
17701         (expand):
17702
17703         * text.C (SingleWidth): constify font
17704         (IsBoundary): constify rtl2
17705         (GetVisibleRow): constify ww
17706
17707         * LaTeX.C (deplog): constify logfile
17708
17709         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17710         start_x, end_x
17711         (workAreaExpose): constify widthChange, heightChange
17712
17713         * lyxrow.C (par): moved
17714         (height): moved
17715         (next): moved
17716         * lyxrow.h: as inlines here
17717
17718         * lyxfont.h (shape): moved from lyxfont.C
17719         (emph): moved from lyxfont.C
17720
17721         * lyxfont.C (LyXFont): use initialization list for all
17722         constructors
17723         (shape): move to lyxfont.h as inline
17724         (emph): move to lyxfont.h as inline
17725
17726
17727 2001-04-04  Juergen Vigna  <jug@sad.it>
17728
17729         * vspace.C: had to include stdio.h for use of sscanf
17730
17731 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
17732
17733         * BufferView.h:
17734         * BufferView_pimpl.h: remove xforms cruft. Both classes are
17735         independent of xforms.
17736
17737 2001-04-02  Juergen Vigna  <jug@sad.it>
17738
17739         * spellchecker.C: fixed namespace placing!
17740
17741 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
17742
17743         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17744         the LyXParagraph * is 0.
17745
17746 2001-03-29  Juergen Vigna  <jug@sad.it>
17747
17748         * vspace.C: added support for %, c%, p%, l%.
17749         (stringFromUnit): added helper function.
17750         (asLatexString): changed to give right results for the %-values.
17751
17752         * buffer.C: convert the widthp in a width%.
17753
17754 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
17755
17756         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17757         figureForm.[Ch].
17758
17759         * figureForm.[Ch]: stripped the FD_from_figure manipulation
17760         code out of lux_cb.[Ch], ready for its (imminent?) removal.
17761
17762         * lyx_cb.[Ch]: see above.
17763
17764         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17765         form1.[Ch].
17766
17767         * form1.[Ch]:
17768         * lyx.[Ch]: replaced by figure_form.[Ch].
17769
17770         * lyx_gui.C:
17771         * lyx_gui_misc.C:
17772         * lyxfunc.C: changed headers associated with above changes.
17773
17774 2001-03-27  Juergen Vigna  <jug@sad.it>
17775
17776         * BufferView_pimpl.C: set the temporary cursor right!
17777
17778 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
17779
17780         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17781
17782 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
17783
17784         * LString.h: removed "using std::getline"!
17785
17786         * BufferView_pimpl.C (Dispatch): changes due to changes in
17787         InsetInclude::Params.
17788
17789         * buffer.C (tag_name): removed redundant break statements as they were
17790         producing lots of warnings with my compiler.
17791
17792 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17793
17794         * LString.h: add "using std::getline" when using the real <string>.
17795
17796 2001-03-23  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17797
17798         * buffer.C: removed bitset usage.
17799         PAR_TAG moved to an anonymous name space.
17800         (tag_name): new funtion, also in the anonymous namespace.
17801         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17802         (makeDocBookFile): clean code. Completed transition from string arrays
17803         to string vectors.
17804         (SimpleDocBookOnePar): code clean.
17805
17806 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17807
17808         * tabular.C: add some comments.
17809
17810 2001-03-22  Juergen Vigna  <jug@sad.it>
17811
17812         * buffer.C (parseSingleLyXformat2Token): redone the minipage
17813         compatibility read a bit and fixed bug with minipage in different
17814         depth.
17815
17816 2001-03-21  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17817
17818         * buffer.C (pop_tag): removed.
17819         (push_tag): removed.
17820         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17821         array replaced with vector. Added support for CDATA sections.
17822         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17823         at any nest level.
17824         (makeDocBookFile): XML conformant declaration of CDATA section,
17825         fixed bug related to <emphasis> in the first paragraph char.
17826         (sgmlOpenTag): exclude empty tags.
17827         (sgmlCloseTag): ditto.
17828
17829         * buffer.h (pop_tag): removed.
17830         (push_tag): removed.
17831
17832 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
17833
17834         * language.h (Languages): added size_type and size().
17835
17836 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17837
17838         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17839         response on compability reading of minipages. One probliem is that
17840         the old usage of minipages was flertydig
17841
17842         * several files here and in subdirs: don't use static at file
17843         scope use anon namespaces instead.
17844
17845 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
17846
17847         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17848         LaTeX output. This is necessary for Literate document
17849         processing.
17850
17851 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17852
17853         * buffer.C: insert hfill when needed.
17854
17855         * tabular.C (l_getline): use string::erase, small whitespace change.
17856
17857         * BufferView_pimpl.C: try the anon namespace.
17858         * WorkArea.C: ditto
17859
17860 2001-03-16  Juergen Vigna  <jug@sad.it>
17861
17862         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17863         otherwise it won't open options-dialogs.
17864
17865         * buffer.C: honor pextraWidth(p) on converting minipages.
17866
17867         * tabular.C (l_getline): changed the functions to strip trailing \r.
17868
17869 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
17870
17871         * BufferView_pimpl.C:
17872         * minibuffer..C: added "using SigC::slot" declaration.
17873
17874 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17875
17876         * lyxlex_pimpl.h: noncopyable is in namespace boost.
17877
17878         * text2.C: ditto
17879
17880         * text.C: ditto
17881
17882         * paragraph.C: ditto
17883
17884         * lyxtext.h: NO_PEXTRA
17885
17886         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17887
17888         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17889         * ParameterStruct.h: ditto
17890         * ParagraphParameters.h: ditto
17891         * lyxparagraph.h: ditto
17892
17893 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17894
17895         * buffer.C: add compability for minipage alignment.
17896         (latexParagraphs): remove unwanted pextra check.
17897
17898         * several files: remove CXX_WORKING_NAMESPACES
17899
17900         * buffer.C (pop_tag): tie is in namespace boost
17901
17902         * BufferView.h: noncopyable is in namespace boost
17903         * lyxlex.h: ditto
17904         * lyx_main.h: ditto
17905         * lyx_gui.h: ditto
17906         * layout.h: ditto
17907         * lastfiles.h: ditto
17908         * bufferlist.h: ditto
17909         * ShareContainer.h: ditto
17910         * LyXView.h: ditto
17911         * LyXAction.h: ditto
17912         * LaTeX.h: ditto
17913
17914 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17915
17916         * Merging changes from BRANCH_MVC back into HEAD.
17917
17918         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17919
17920 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
17921
17922         * BufferView_pimpl.C: change from intl.C
17923
17924         * combox.h:
17925         * combox.C:
17926         * Makefile.am: move combox.*
17927
17928         * form1.h:
17929         * form1.C:
17930         * lyx_gui.C:
17931         * intl.h:
17932         * intl.C: remove dialog (covered by prefs)
17933
17934 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17935
17936         * lyxfunc.C (Dispatch): removed redundant break statement.
17937
17938 2001-03-14  Juergen Vigna  <jug@sad.it>
17939
17940         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17941
17942 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17943
17944         * buffer.C: add hack to fix compability reading of minipages.
17945
17946 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
17947
17948         * buffer.C (getLists): Cleanup.
17949
17950 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17951
17952         * lyxfont.C (update): don't honor toggleall on font size.
17953
17954 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
17955
17956         * bmtable.c:
17957         * bmtable.h:
17958         * Makefile.am: moved to frontends/xforms/
17959
17960         * lyx_gui_misc.C:
17961         * lyxfunc.C:
17962         * BufferView_pimpl.C: changes for moved mathpanel
17963
17964 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17965
17966         * gettext.h: fix gettext_init() in --disable-nls
17967
17968 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17969
17970         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17971
17972 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
17973
17974         * lyx.C:
17975         * lyx.h: strip external form
17976
17977 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17978
17979         * BufferView_pimpl.C: add comment, destroySplash()
17980
17981 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17982
17983         * BufferView_pimpl.C:
17984         * LyXAction.C:
17985         * buffer.C:
17986         * commandtags.h:
17987         * lyxfunc.C: use re-worked insetinclude
17988
17989 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17990
17991         * buffer.C: add using std::stringstream.
17992
17993         * lyx_cb.C: readd using std::ios.
17994
17995         * buffer.C: add using std::map.
17996
17997         * BufferView_pimpl.C: add using std::vector.
17998
17999         * ShareContainer.h: add std:: to swap.
18000
18001         * buffer.h: add some typedefs
18002         * buffer.C (getLists): use them
18003         (getLists): renamed from getTocList.
18004         add a counter for the different float types and use it in the
18005         generated string.
18006         (getLists): use the same counter for the NEW_INSETS and the "non"
18007         NEW_INSETS
18008
18009         * lyx_cb.h: remove unused items, includes, using etc.
18010
18011         * ShareContainer.h: remove some commented code, add more comments
18012         and "documentation".
18013
18014 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18015
18016         * buffer.C (getTocList): make the list also when NEW_INSETS is
18017         defined.
18018
18019         * buffer.h: remove TocType
18020
18021         * buffer.C (getTocList): change to return a map<string,
18022         vector<TocItem> >, implement for dynamic number of list.
18023
18024         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
18025         * text2.C (PasteSelection): adjust
18026         * CutAndPaste.C (pasteSelection): adjust
18027
18028         * FloatList.C (FloatList): update from the new_insets branch.
18029         * Floating.[Ch]: ditto
18030         * LaTeXFeatures.C: ditto
18031         * buffer.C: ditto
18032         * lyxlex_pimpl.C: ditto
18033
18034         * paragraph.C (Last): remove when NEW_INSETS is defined.
18035
18036         * other file: changes because of the above.
18037
18038 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18039
18040         * lyxparagraph.h: rename next to next_, previous to previous_,
18041         make them private for NEW_INSETS. Rename Next() to next(),
18042         Previous() to previous().
18043
18044         * other files: changes because of the above.
18045
18046 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
18047
18048         * BufferView.h:
18049         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
18050         problem.
18051
18052 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18053
18054         * main.C (main): pass lyx_localedir to gettext_init().
18055
18056         * gettext.h: remove locale_init and gettext_init macros
18057
18058         * gettext.C (locale_init): new function
18059         (gettext_init): new function
18060
18061         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
18062         setlocale().
18063
18064 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
18065
18066         * Moved credits to frontends:
18067         * credits.[Ch]: removed
18068         * credits_form.[Ch]: removed
18069         * lyx_gui_misc.C: remove credits stuff
18070         * Makefile.am:
18071
18072 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18073
18074         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
18075
18076         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
18077         unneeded destructor.
18078
18079         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
18080         a standalone pointer again.
18081
18082         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
18083
18084 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
18085
18086         * Makefile.am:
18087         * filedlg.h:
18088         * filedlg.C:
18089         * LyXAction.C:
18090         * ToolbarDefaults.C:
18091         * bufferlist.C:
18092         * commandtags.h:
18093         * form1.C:
18094         * form1.h:
18095         * lyx_cb.C:
18096         * lyx_cb.h:
18097         * lyxfunc.h:
18098         * lyxfunc.C:
18099         * BufferView_pimpl.C: use new file dialog in GUII
18100
18101         * lyx_cb.h:
18102         * lyx_cb.C: remove LayoutsCB to Toolbar
18103
18104 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18105
18106         * ShareContainer.h (get): add std:: qualifier
18107
18108 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18109
18110         * ShareContainer.h: define a proper ShareContainer::value_type
18111         type (and use typename to please compaq cxx)
18112
18113 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18114
18115         * lyxparagraph.h: move serveral local vars to
18116         ParameterStruct/ParagraphParameters., use ShareContainer in
18117         FontTable., make vars in FontTable private and add getter and
18118         setter.
18119
18120         * paragraph.C: changes because of the above.
18121
18122         * lyxfont.h: remove copy constructor and copy assignment. (the
18123         default ones is ok), move number inside FontBits. move inlines to
18124         lyxfont.C
18125
18126         * lyxfont.C: add number to initializaton of statics, move several
18127         inlines here. constify several local vars. some whitespace
18128         cleanup. Dont hide outerscope variables.
18129
18130         * Spacing.h: add two new constructors to match the set methods.
18131
18132         * ShareContainer.h: new file, will perhaps be moved to support
18133
18134         * ParameterStruct.h: new file
18135
18136         * ParagraphParameters.h: new file
18137
18138         * ParagraphParameters.C: new file
18139
18140         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
18141         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
18142
18143         * BufferView_pimpl.C: ParagraphParameter changes.
18144         * buffer.C: Likewise.
18145         * bufferview_funcs.C: Likewise.
18146         * text.C: Likewise.
18147         * text2.C: Likewise.
18148
18149 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18150
18151         * lyxfind.C (LyXReplace): do not redefine default argument in
18152         implementation.
18153         (IsStringInText): ditto
18154         (SearchForward): ditto
18155         (SearchBackward): ditto
18156
18157 2001-03-06  Juergen Vigna  <jug@sad.it>
18158
18159         * lyxfind.C (IsStringInText): put parentes around expressions.
18160
18161 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
18162
18163         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
18164
18165 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
18166
18167         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
18168
18169         * stl_string_fwd.h: add comment
18170
18171         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
18172
18173         * tabular.h:
18174         * tabular.C: remove unused DocBook methods
18175
18176         * intl.C:
18177         * language.C:
18178         * paragraph.C:
18179         * buffer.C:
18180         killed DO_USE_DEFAULT_LANGUAGE
18181
18182 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18183
18184         * lyx_gui.C: do not include language.h.
18185
18186         * bufferview_funcs.C (ToggleAndShow): do not provide optional
18187         arguments in function implementation.
18188
18189 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18190
18191         * BufferView_pimpl.C: add <ctime>
18192
18193 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18194
18195         * BufferView_pimpl.C: add using std::find_if
18196
18197 2001-02-27  José Matos  <jamatos@fep.up.pt>
18198
18199         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18200         by OnlyPath.
18201
18202 2001-02-11  José Matos  <jamatos@fep.up.pt>
18203
18204         * buffer.C (makeDocBookFile): command styles now have a parameter as
18205         "title" by default.
18206
18207 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
18208
18209         * layout_forms.[Ch]: removed
18210         * lyx_cb.[Ch]: out character
18211         * lyx_gui.C: out character
18212         * lyx_gui_misc.C: out character
18213         * bufferview_funcs.C: : out character,
18214         added toggleall as parameter in ToggleAndShow
18215
18216 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
18217
18218         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18219
18220         * text2.C (SetCurrentFont): Disable number property at boundary.
18221
18222 2001-02-26  Juergen Vigna  <jug@sad.it>
18223
18224         * lyxfunc.C (getStatus): added a string argument override function so
18225         that this is correctly called from LyXFunc::Dispatch if it contains a
18226         do_not_use_argument which is used!
18227         (Dispatch): added check for "custom" export and call appropriate func.
18228
18229 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
18230
18231         * lyxrc.C: Add language_command_local, language_use_babel and
18232         language_global_options.
18233
18234         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18235
18236         * buffer.C (makeLaTeXFile): Use language_use_babel and
18237         language_global_options.
18238
18239 2001-02-23  Juergen Vigna  <jug@sad.it>
18240
18241         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18242         which works with LyXText and putted it inside BufferView. Here now we
18243         only call for that part the BufferView::Dispatch() function.
18244
18245         * BufferView.C (Dispatch): added.
18246
18247         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18248         functions which needs to use a LyXText over from LyXFunc.
18249         (MenuInsertLyXFile): added
18250         (getInsetByCode): added
18251         (moveCursorUpdate): added
18252         (static TEXT): added
18253
18254 2001-02-22  Juergen Vigna  <jug@sad.it>
18255
18256         * BufferView_pimpl.C (update): call a status update to see if LyXText
18257         needs it.
18258
18259 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18260
18261         * vc-backend.C (revert): implement for CVS
18262         (getLog): implement for CVS
18263
18264 2001-02-20  Juergen Vigna  <jug@sad.it>
18265
18266         * text2.C (ClearSelection): added BufferView param for inset_owner call
18267
18268         * lyxfunc.C (TEXT): added this function and use it instead of
18269         directly owner->view()-text of getLyXText().
18270
18271 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
18272
18273         * src/layout_forms.C: out preamble
18274         * src/layout_forms.h: out preamble
18275         * src/lyx_cb.C: out preamble
18276         * src/lyx_cb.h: out preamble
18277         * src/lyx_gui.C: out preamble
18278         * src/lyx_gui_misc.C: out preamble
18279         * src/lyxfunc.C: connect with guii preamble
18280
18281 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
18282
18283         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18284
18285 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
18286
18287         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18288         whether to run bibtex.
18289
18290 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
18291
18292         * Makefile.am (lyx_SOURCES): Remove BackStack.h
18293
18294 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
18295
18296         * Makefile.am (lyx_SOURCES): removed bibforms.h
18297
18298         * vspace.h: doxygen
18299
18300         * text.C (GetVisibleRow): make several local vars const
18301
18302         * tabular.C: small cleanup.
18303
18304         * lyxserver.C (callback): use compare instead of strncmp
18305
18306         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18307         inlines to after class or to paragraph.C
18308
18309         * lyxfont.h: remove friend operator!=
18310
18311         * converter.h: move friend bool operator< to non friend and after
18312         class def.
18313
18314         * combox.h: small cleanup
18315
18316         * buffer.h: doxygen, remove unused constructor, move inclas inlies
18317         to inlines after class def.
18318
18319         * buffer.C (pop_tag): use string operations instead of strcmp
18320
18321         * bmtable.c: doxygen, small cleanup
18322
18323         * LaTeX.h: remove friend operator==
18324
18325 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
18326
18327         * screen.C:
18328         * lyxrc.[Ch]:
18329         * lyxfunc.C:
18330         * lyxfont.[Ch]:
18331         * lyx_cb.C:
18332         * intl.[Ch]:
18333         * commandtags.h:
18334         * buffer.C:
18335         * WorkArea.[Ch]:
18336         * LyXAction.C:
18337         * BufferView_pimpl.C:
18338         * BufferView.[Ch]: remove cruft
18339
18340 2001-02-14  Juergen Vigna  <jug@sad.it>
18341
18342         * lyxfunc.C: removed #if 0 unused code
18343
18344         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18345
18346         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18347
18348         * text2.C (SetSelection): added a BufferView * parameter
18349
18350 2001-02-13  Juergen Vigna  <jug@sad.it>
18351
18352         * lyxfunc.C (Dispatch): fixed protected blank problem.
18353         * BufferView2.C (protectedBlank): added LyxText * parameter.
18354
18355         * tabular.C (AppendRow): forgot to set row_info of newly added row.
18356         (AppendColumn): same as above for column_info.
18357
18358         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18359         (moveCursorUpdate): use a LyXText param for support of InsetText.
18360
18361         * BufferView_pimpl.C (doubleClick): added support for InsetText.
18362         (tripleClick): ditto
18363
18364         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18365
18366         * BufferView_pimpl.C (update): added LyXText param to honor insets.
18367
18368         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18369
18370         * text2.C (SetSelection): set correct update status if inset_owner
18371         (ToggleFree): ditto
18372
18373 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
18374
18375         * tabular.C: remove some commented code.
18376
18377 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
18378
18379         * BufferView_pimpl.C: call hideSplash()
18380
18381         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18382
18383         * include_form.h:
18384         * bibforms.h: remove
18385
18386         * lyxfunc.C:
18387         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18388           add LFUN_CHILD_CREATE
18389
18390         * counters.h: fix tiny typo
18391
18392         * lyx_cb.C:
18393         * lyx.h:
18394         * lyx_gui.C:
18395         * lyx.C: move splash to frontends/xforms/
18396
18397         * lyx_gui_misc.C: move Include and Bibform to frontends
18398
18399         * lyxvc.h: clarify comment
18400
18401         * vspace.C: tiny housekeeping
18402
18403 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
18404
18405         * text.C (PrepareToPrint): RTL Fix.
18406
18407         * paragraph.C (GetUChar): New method.
18408         (String):  Use GetUChar.
18409
18410         * buffer.C (asciiParagraph): Use GetUChar.
18411
18412 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
18413
18414         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18415
18416 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
18417
18418         * buffer.h:
18419         * buffer.C: rename to getLogName(), handle
18420           build log / latex log nicely
18421
18422 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18423
18424         * MenuBackend.C:
18425         * MenuBackend.h: remove support for reference menuitem type.
18426
18427 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
18428
18429         * BufferView_pimpl.C: housekeeping
18430         * BufferView_pimpl.h:
18431         * LyXView.h:
18432         * Makefile.am:
18433         * Timeout.C:
18434         * Timeout.h:
18435         * minibuffer.h: move Timeout GUI-I
18436
18437 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
18438
18439         * lyxrc.C (read): Update converters data-structures.
18440
18441 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
18442
18443         * LaTeX.h (operator!=): add operator != for Aux_Info
18444
18445 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
18446
18447         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18448
18449         * LaTeXLog.C: deleted, useful code moved to Buffer
18450
18451         * buffer.h:
18452         * buffer.C: new function getLatexLogName()
18453
18454         * lyx_gui_misc.C:
18455         * lyx_gui.C:
18456         * lyxvc.C:
18457         * lyxvc.h:
18458         * lyxfunc.C: use frontends for LaTeX and VC logs
18459
18460 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18461
18462         * LaTeX.h: yet another std:: that Allan forgot.
18463
18464         * Variables.C (set): renamed from isset(), because this clashes
18465         with some HP-UX macros (grr).
18466
18467 2001-02-06  Allan Rae  <rae@lyx.org>
18468
18469         * LaTeX.h: Another bug fix.  Missing std:: this time.
18470
18471 2001-02-04  Allan Rae  <rae@lyx.org>
18472
18473         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18474         floats problem. I've left it commented out because it's not quite
18475         correct.  It should also test that the current object is a table or
18476         figure inset.  But I haven't gotten around to figuring out how to do
18477         that.  I *think* it'll be something like: "table" == inset.type()
18478
18479         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18480         bool.
18481
18482 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
18483
18484         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18485         all the citation/databases/styles in the auxilary file.
18486         (run): Rerun latex if there was a babel language error.
18487
18488 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
18489
18490         * text.C (Backspace): Preserve the font when changing newline char
18491         with a space.
18492         (BreakParagraph): If the cursor is before a space, delete the space.
18493
18494         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18495
18496 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
18497
18498         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18499         new argument (code).
18500         (ChangeCitationsIfUnique): New method.
18501
18502         * paragraph.C (GetPositionOfInset): Handle bibkey.
18503
18504 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18505
18506         * BufferView_pimpl.h: change type of Position::par_pos to
18507         LyXParagraph::size_type.
18508
18509 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
18510
18511         * BufferView_pimpl.C (savePosition, restorePosition): Write
18512         messages to minibuffer.
18513
18514 2001-01-28  José Matos  <jamatos@fep.up.pt>
18515
18516         * buffer.C (makeDocBookFile): adds support for document language.
18517         A silly restriction on the name of LatexCommand types where removed.
18518         Added support for CDATA sections, allows to chars unescaped, used
18519         among others in code, to avoid escape < and >.
18520
18521 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18522
18523         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18524         saved positions instrad of a stack. Furthermore, a position is
18525         stored using paragraph id/paragraph position.
18526
18527         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18528         Remove LFUN_REF_BACK.
18529
18530 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18531
18532         * converter.C (dvipdfm_options): New method.
18533
18534 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
18535
18536         * vspace.C (isValidLength): Fix for empty input string.
18537
18538 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18539
18540         * LyXAction.C (init): change description of LFUN_FIGURE to
18541         "Insert Graphics"
18542
18543 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18544
18545         * LaTeX.C: add using directive
18546
18547 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18548
18549         * MenuBackend.C (expand): Fix the sorting of the formats.
18550
18551 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
18552
18553         * lyx_main.C: tiny error message fix
18554
18555 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18556
18557         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18558         calling fl_initialize(). This fixes the problem with ',' as
18559         decimal separator in text files.
18560
18561 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18562
18563         * trans.C (process): Fix the keymap bug.
18564
18565 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
18566
18567         * LaTeX.C (scanAuxFiles): New method. Provides support for
18568         multiple bibliographies (when using the bibtopic/bibunits pacakges).
18569         (scanLogFile) Scan for "run BibTeX" messages.
18570
18571         * buffer.C (makeLaTeXFile): Do not load the ae package when using
18572         OT1 font encoding. Also, load the aecompl package if the ae
18573         package is loaded.
18574
18575         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18576
18577 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18578
18579         * texrow.C (increasePos): turn two error messages into debug
18580         messages.
18581
18582 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
18583
18584         * LaTeX.C (scanAux): Handle the \@input macro.
18585         (runBibTeX): Use scanAux().
18586
18587         * language.C (latex_options_): New field.
18588
18589         * LaTeXFeatures.C (getMacros): Add language macros.
18590
18591         * buffer.C (makeLaTeXFile): Small fix.
18592
18593 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18594
18595         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18596
18597         * text2.C: add a using directive.
18598
18599 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
18600
18601         * BufferView2.C:
18602         * lyx_gui_misc.h:
18603         * lyxfr1.C:
18604         * lyxfunc.C: kill LyXBell.
18605
18606 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
18607
18608         * text.C (IsBoundary): Remove the error message
18609
18610         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18611
18612         * lyxrc.C (setDefaults): Correct initialization value for
18613         font_norm_type.
18614
18615 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
18616
18617         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18618         gotoError().
18619
18620         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18621         and GotoNextNote().
18622
18623         * src/LyXAction.C: Added reference-next.
18624
18625         * text.C (InsertChar): Use contains instead of strchr.
18626
18627         * lyx_cb.C (MenuInsertLabel): Enable default value code.
18628
18629 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
18630
18631         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18632         alignment commands (when needed).
18633
18634         * text.C (InsertChar): Add ':' to number separator chars.