]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
4ea6cc06fe6d0de1d9aae7ab28144084f72bb95e
[lyx.git] / src / ChangeLog
1 2005-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2
3         * lyxfunc.C (dispatch): do not call getStatus again to determine
4         whether a lfun is disabled (bug 2172).
5
6 2005-12-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7
8         * cursor.C (macroModeClose): set the cursor inside the new math
9         atom if relevant (think \frac{}{}) (bug 2034)
10
11 2005-12-19  Martin Vermeer  <martin.vermeer@hut.fi>
12
13         * lyxtext.h:
14         * text.C:
15         * text3.C (Delete, backspace): force update when merging paragraphs
16
17 2005-12-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
18
19         * BufferView.C (mouseSetCursor): clear the selection properly (bug
20         2163). 
21
22 2005-12-08  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
23
24         * text.C (redoParagraph): honor inset->noFontChange()
25         * rowpainter.C (paintInset): ditto
26
27 2005-12-15  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
28
29         * lyx_main.C (priv_exec): don't initialize Math on startup 
30         (initMath() has been moved to math_hullinset).
31
32 2005-12-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
33
34         * lyxrc.C: set default_papersize to PAPER_DEFAULT;
35         handle PAPER_DEFAULT in LyXRC::read and LyXRC::write (bug 2148).
36         * paper.h: dispose dead PAPER_PACKAGES enum.
37
38 2005-12-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
39
40         * Makefile.am (OTHERLIBS): add SOCKET_LIBS in case we compile
41         without X support.
42
43 2005-12-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
44
45         * exporter.C (Export): Don't try to copy a file if it does not exist
46         (bug 1888)
47
48 2005-12-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
49
50         * text2.C (makeFontEntriesLayoutSpecific): remove.
51         (setLayout): adapt.
52
53         * text.C (insertChar): remove bogus caching of fonts (did not do
54         anything). 
55
56         * text2.C (LyXText): initialize current_font to ALL_INHERIT (was
57         ALL_SANE). (bug 2146)
58
59 2005-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
60
61         * rowpainter.C (paintFirst): fix centering of
62         LABEL_CENTERED_TOP_ENVIRONMENT. 
63
64 2005-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
65
66         * BufferView.C (mouseSetCursor): new method. Calls
67         deleteEmptyParagraphMechanism if necessary.
68
69         * lyxtext.h: make deleteEmptyParagraphMechanism public.
70
71         * text3.C (dispatch/LFUN_MOUSE_PRESS): use
72         BufferView::mouseSetCursor (bug 2109).
73         (dispatch/LFUN_PASTE): remove #warning that is now irrelevant.
74
75 2005-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>  
76
77         * text3.C (dispatch/LFUN_INDEX_INSERT): when a selection is set,
78         do not remove it (this inset behaves differently from the others).
79
80 2005-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
81
82         Fix bug 2096.
83         
84         * BufferView_pimpl.C (getStatus): it is only possible to insert a
85         file in a text inset.
86
87         * buffer.C (readDocument): remove pit argument and code releated
88         to it; set the inset owner correctly (unrelated, but useful).
89         (readFile): get rid of pit argument.
90
91         * CutAndPaste.C (pasteSelectionHelper): use a ParagraphList and a
92         textclass instead of a selection index.
93         (pasteParagraphList): new function.
94         (pasteSelection): make it a wrapper around pasteParagraphList.
95
96         * BufferView_pimpl.C (MenuInsertLyXFile): use
97         cap::pasteParagraphList to insert a file.
98
99 2005-11-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
100
101         * buffer_funcs.C (bufferErrors): prevent endless loop (bug 2121)
102
103 2005-11-17  Michael Gerz  <michael.gerz@teststep.org>
104
105         * exporter.C: fix typo in text message
106
107 2005-11-28  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
108
109         * text2.C (setLayout): move recUndo call to other setLayout method
110         * tabular.C (toggleFixedWidth): new, handle cell width changes
111         * tabular.C (setColumnPWidth): move some code from insettabular.C here
112         and use toggleFixedWidth
113         * tabular.C (setMColumnPWidth): ditto
114
115 2005-11-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
116
117         * paragraph.C (asString): use new inset->textString method (fix
118         bug 2089) 
119
120 2005-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
121
122         * CutAndPaste.C (numberOfSelections): new helper function.
123
124         * lyxfunc.C (getStatus): remove support for LFUN_COPY and LFUN_CUT.
125
126         * text3.C (getStatus): move code for LFUN_CUT and LFUN_COPY from
127         LyXFunc::getStatus; implement LFUN_PASTE.
128
129 2005-11-17  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
130
131         * dociterator.[Ch]: new member realInset() that returns the cell
132         for tabulars and the inset for the rest (bug 1952).
133         * undo.C (textUndoOrRedo): use realInset when resetting insetOwner
134         (bug 1952).
135
136 2005-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
137
138         * text.C (leftMargin): honor the NextNoIndent tag in layouts.
139
140 2005-11-17  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
141
142         * lyxfunc.C:
143         * paragraph.C:
144         * text3.C: InsetBase::forceDefaultParagraphs now takes a cell as
145         argument.
146
147 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
148
149         * text.C (redoParagraph): Fix bug 1966: cursor doesn't go to next
150         line after typing ctrl-enter
151
152 2005-11-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
153
154         * bufferview_funcs.C (coordOffset): fix the fix for bug 2094, as
155         math insets do not return a proper editable() state yet (bug 2124).
156
157 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
158
159         * BufferView_pimpl.[Ch]: Fix bug 1814: better scroll behaviour for 
160         docs containing very large paragraphs.
161
162 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
163
164         * cursor.C (selectionBegin, selectionEnd):
165         * text.C (drawSelection): Fix bug 2115: assertion when anchor and 
166         cursor at different depths.
167
168 2005-11-03  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
169
170         * bufferview_funcs.C (coordOffset): do not call cursorPos
171         for collapsed collapsables (fix bug 2094).
172
173 2005-11-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
174
175         * paragraph.C (fontSpan): make sure that the FontSpan does not
176         span across beginOfBody (bug 1947).
177
178 2005-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
179
180         * lyxlength.h: undefine macros that clash with solaris/x86 (bug 992)
181
182 2005-11-03  Michael Gerz  <michael.gerz@teststep.org>
183
184         * messages.C: fix crash and localization on MinGW/Windows platform
185
186 2005-11-02  Angus Leeming  <leeming@lyx.org>
187
188         * Bidi.C:
189         * lyxtextclass.C: trivial fixes to some MSVS warnings.
190
191 2005-10-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
192
193         * text3.C (getStatus): re-enable disabled code. (bug 2081)
194
195         * BranchList.h (empty): constify.
196
197 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
198
199         * text3.C (getStatus): 
200         * MenuBackend.C (expandBranches): take the branch list from the
201         master document (bug 2092).
202         
203         * MenuBackend.C (expandBranches): 
204         * bufferparams.C (writeFile): use BranchList type.
205
206 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
207
208         * text3.C (dispatch, getStatus): 
209         * LyXAction.C (init): 
210         * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
211
212 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
213
214         * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
215
216 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
217
218         * text.C (insertChar): do not reset boundary (bug 2061)
219
220 2005-10-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
221
222         * dociterator.C (updateInsets): new method. Updates the inset_
223         cache of all the slices of the iterator.
224
225         * text2.C (deleteEmptyParagraphMechanism): compare also containing
226         insets when comparing pit/pos; pass the right cursor to
227         recordUndo; when a paragraph has been deleted, compare `old.top()' to
228         the right cursor slice of `cur'; use updateInsets on cur to make
229         sure that the inset caches are correct; general cleanup.
230
231 2005-10-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
232
233         * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
234         dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
235         containg inset. If this does not work, the same command will be
236         sent to other insets down the queue by LCursor::dispatch. (bug 2066)
237
238         * lyxfunc.C (dispatch): make sure the cursor is correct when doing
239         a dispatch.
240
241 2005-10-20  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
242
243         * lyxtextclass.C (Read): convert layout file if the format is wrong
244         * lyxtextclass.C (layout2layout): new, needed for the above
245
246 2005-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
247
248         * messages.C: do not forget to include <cerrno>.
249
250 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
251
252         * dociterator.h (StableDocIterator): add access to pos().
253         * undo.C (samePar): new method to check if two
254         iterators are in the same paragraph
255         * undo.C (recordUndo): check for samePar instead of cell identity
256         (which includes pos() and is too strict) (fixes bug 2097)
257
258 2005-10-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
259
260         * text.C (setCursorFromCoordinates): return a bool telling whether
261         dEPM triggered.
262
263         * text3.C (cursorPrevious): update if needed after
264         setCursorFromCoordinates (when dEPM triggered).
265
266         * text2.C (cursorDown, cursorUp): make sure to reset the anchor
267         (otherwise the anchor may be completely wrong and make dEPM assert).
268
269 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
270
271         * buffer.C: version upgrade to 245.
272         * bufferparams.C: remove \quotes_times (bug 2090).
273         * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
274         quotation marks as default.
275
276 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
277
278         * CutAndPaste.C (nrOfParagraphs): remove (unused)
279         * CutAndPaste.C (cutSelection): Remove debug message
280         * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
281         undo information and only copy if this is a real cut
282         * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
283         call
284         * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
285         (bug 2059)
286         * CutAndPaste.C (eraseSelection): prevent cursor corruption
287         * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
288         superflous cur.selection() setting
289         * CutAndPaste.[Ch] (grabSelection): take a const cursor
290         * cursor.C (selectionAsString): implement mathed case ((bug 2059)
291
292 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
293
294         * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
295         change anything.
296
297 2005-10-11  Martin Vermeer  <martin.vermeer@hut.fi>
298
299         * BufferView_pimpl.C: comment layout change
300
301 2005-10-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
302
303         * LyXAction.C:
304         * lfuns.h:
305         * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
306         by bibliography managers (bug 2071).
307
308 2005-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
309
310         * BufferView_pimpl.C (update): choose arguments to update call so
311         that single-par update works most times
312         * text3.C (dispatch): carefully tune updating separately for
313         whole-screen and current-paragraph
314         * rowpainter.C (paintText): 1) replace painting by caching for
315         the two extra paragraphs, because we can;
316         2) suppress greying out of areas below/above drawn area in case of
317         single-par refresh
318         * lyxfunc.C (dispatch): remove superfluous update
319         * LyXAction.[Ch]: introduce SingleParUpdate
320
321 2005-10-05  Angus Leeming  <leeming@lyx.org>
322
323         * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
324         always initialised before use.
325
326         * text.C (setHeightOfRow): squash warning about comparison
327         of signed and unsigned types.
328
329 2005-10-03  Martin Vermeer  <martin.vermeer@hut.fi>
330
331         * text.C (cursorX): two fixes involving RtL text drawing
332
333 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
334
335         * cursor.C (erase): fix 'clever' UI hack. It was activated for all
336         items, not only large ones (part of bug 2057)
337
338 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
339
340         * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
341         argument, use "newcommand".
342
343 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
344
345         * cursor.C (setSelection): do not open collapsable insets;
346         the insets do by themselves now (autoopen).
347
348 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
349
350         * buffer.C: format is up to 244.
351
352 2005-09-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
353
354         * text.C (redoParagraph): fix calcultation of inset width wrt 
355         leftMargin (bug 1957).
356
357         * text3.C (dispatch): leave inset to the right when hitting ESC 
358         (bug 2034).
359
360 2005-09-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
361
362         * text2.C: 
363         * text.C: 
364         * factory.C:
365         * messages.C: include <boost/current_function.hpp> 
366
367 2005-09-12  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
368
369         * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
370         when command is internal. (bug 1941)
371
372 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
373
374         * text2.C (cursorRight): do not honor boundary when at the end of
375         a paragraph. (bug 2010 again)
376
377 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
378
379         * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
380
381 2005-09-19  Martin Vermeer  <martin.vermeer@hut.fi>
382
383         * rowpainter.C (paintText): fix RtL space width display bug (2029)
384
385 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
386
387         * text2.C (setCursor): remove the unused 'boundary' parameter for
388         the CursorSlice version; adapt the LCursor version.
389
390         * lyxrc.C (write): 
391         * paragraph_pimpl.C (markErased): 
392         * cursor.C (bruteFind2, bruteFond3): fix warnings.
393
394 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
395
396         * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
397         as is already done for "chapter".
398
399 2005-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
400
401         * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
402         textclass; do not record undo if nothing is changed.
403
404 2005-09-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
405
406         * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
407
408 2005-09-14  Michael Gerz  <michael.gerz@teststep.org>
409
410         * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
411
412 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
413
414         * BufferView_pimpl.C (setBuffer): when one wants to set the layout
415         combox, it is necessary to search for the topmost paragraph in the
416         cursor stack (bug 1926)
417
418 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
419
420         * text2.C (cursorEnd, cursorRight): do not set boundary to true at
421         end of paragraph. (bug 2010)
422
423 2005-09-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
424
425         * text.C (leftMargin): check for inInset == 0
426
427 2005-09-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
428
429         * text.C (leftMargin): test for insetbase's new neverIndent()
430         bool instead of listing each and every inset that does not
431         wish par indendation.
432
433 2005-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
434
435         * buffer_funcs.C (setCounter): put the code to compute enum label
436         here (where it belongs).
437
438         * counters.C (enumLabel): move code to buffer_funcs.C.
439
440 2005-09-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
441
442         * outputparams.[Ch]: store local_font instead of local_language
443         * paragraph.C (simpleTeXOnePar): adapt to the change above
444
445 2005-09-08  Martin Vermeer  <martin.vermeer@hut.fi>
446
447         * buffer_funcs.C:
448         * counters.[Ch]: clean up special code for Hebrew.
449
450 2005-09-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
451
452         * lyxfunc.C (lookupChange): fix code when cursor depth is greater
453         than 2.
454
455 2005-09-08  Angus Leeming  <leeming@lyx.org>
456
457         * ispell.C:
458         * lyxrc.C: correct grammar describing invocation of the
459         spellchecker.
460
461 2005-08-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
462
463         * text.C (read): remove unused variable.
464         (readParToken): remove static Change variable (never good in
465         recursive settings...); add it as a parameter instead.
466
467         * paragraph_pimpl.C (acceptChange): make debug info conditional.
468
469         * metricsinfo.C (PainterInfo): add new member erased_.
470
471         * rowpainter.C (RowPainter): add erased_ member, initialized from
472         PainterInfo. 
473         (paintInset): pass erased_ to Inset::draw.
474
475         * lyxfunc.C (lookupChange): new function. Tells whether change 
476         tracking is disabled at a given postion.
477         (getStatus): disable some actions when in deleted text with change
478         tracking. 
479
480 2005-08-03  John Levon  <levon@movementarian.org>
481         
482         * tabular.C (appendColumn, setMultiColumn): adapt to change to
483         InsetText::clear().
484
485         * paragraph_pimpl.C (markErased): add bool argument and handle it.
486         Also make sure to mark insets recursively.
487         (rejectChange, erase): be recursive
488
489         * paragraph.C (markErased): add bool argument.
490 2005-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
491
492         * lyxfind.C (findNextChange): tiny cleanup.
493
494         * BufferView_pimpl.C (trackChanges): avoid crash when stopping
495         change tracking with the cursor in an inset; make sure the first
496         change is not skipped.
497
498 2005-09-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
499
500         * CutAndPaste.[Ch]: new methods dirtyTabularStack and 
501         tabularStackDirty to work around bug 1919 (tabular needs
502         to know whether its own cell paste buffer or the one of 
503         texted is newer.
504         * CutAndPaste.C: mark tabular_stack_ clean after copy.
505
506 2005-08-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
507
508         * text2.C (cursorEnd): check for empty text (fixes bug 1998)
509
510 2005-08-19  Lars Gullik Bjønnes  <larsbj@gullik.net>
511
512         * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
513         use old deleteion algorithm when changetracking is on.
514
515 2005-08-18  Martin Vermeer  <martin.vermeer@hut.fi>
516
517         * messages.C (get): add debug output.
518
519 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
520
521         * text.C (cursorX): fix bug 1965: cursor movement at
522         line end broken in RtL.
523         (drawSelection): fix bug 1970: drawing of single-line 
524         selection broken for RtL.
525
526 2005-07-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
527
528         bug 465.
529
530         * dociterator.h (clear, push_back, pop_back): change from
531         protected to public.
532
533         * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
534         and changed to just return the value of the item depth; take a
535         ParIterator as argument; take the itemdepth at outer nesting level
536         in account if necessary; cleanup and comment the code.
537         (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
538         and changed to just return true if reset is needed; take a
539         ParIterator as argument; cleanup and comment the code.
540         (setCounter): adapt to above changes.
541
542 2005-07-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
543
544         * text3.C (dispatch): make debug message optional
545
546 2005-08-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
547
548         * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
549         inset. (bug 1963)
550
551 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
552
553         * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
554
555 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
556
557         * text.C (insertChar):
558         * text2.C (deleteEmptyParagraphMechanism): take care whether 
559         a blank has been deleted (in change tracking mode) (bug 1254).
560
561 2005-07-20  John Levon  <levon@movementarian.org>
562
563         * text2.C (insertStringAsLines): remove old dubious code,
564         fixing bug 1939.
565
566 2005-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
567
568         * MenuBackend.C (expandToc): use Floating::listName() as title of
569         the floats submenus.
570
571 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
572
573         * toc.[Ch]: Do not use translatable strings (bug 1870).
574
575 2005-07-20  John Levon  <levon@movementarian.org>
576
577         * tabular.C: fix 1748 - setting multicolumn adds
578           left line to the first cell
579
580 2005-07-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
581
582         bug 1920
583         * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
584         pars in one go.
585
586 2005-07-18  Lars Gullik Bjønnes  <larsbj@lyx.org>
587
588         * messages.C: supress some lyxerr messages
589
590 2005-07-18  Juergen Vigna  <jug@lyx.org>
591
592         * text.C (drawSelection): honor boundary when asking for cursorX.
593
594 2005-07-17  José Matos  <jamatos@fc.up.pt>
595
596         * tabular.C (recalculateMulticolumns): fix handling of one column
597         tables.
598
599 2005-07-17  Juergen Vigna  <jug@lyx.org>
600
601         * text.C (Delete, backspace): fixed so that paragraph with the
602         same layout can be merged by Delete/Backspace.
603
604 2005-07-17  Michael Schmitt  <michael.schmitt@teststep.org>
605
606         * text.C (readParToken): fix spelling.
607
608 2005-07-17  Martin Vermeer  <martin.vermeer@hut.fi>
609
610         * text2.C: fix counter update for DEPM problem reported by
611         Georg Baum
612
613 2005-07-17  Juergen Vigna  <jug@lyx.org>
614
615         * BufferView_pimpl.C (setBuffer): save/restore the
616         cursor/selection when switching buffers
617
618         * buffer.h: 
619         * buffer.C (saveCursor): add saveDocumentIterators to save the
620         cursor when switching buffer.
621
622 2005-07-17  Michael Schmitt  <michqel.schmitt@teststep.org>
623
624         * debug.C: fix typo
625         * buffer.C: clarify message
626         
627 2005-07-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
628
629         * dociterator.C (DocIterator): fix initialization order
630
631 2005-07-17  Juergen Vigna  <jug@lyx.org>
632
633         * text2.C (cursorHome): 
634         * text.C (drawSelection, cursorX): 
635         * dociterator.C (textRow): add boundary to getRow() call
636
637         * paragraph.C (getRow): implementation of below
638
639         * paragraph.h: add parameter boundary for getRow() function
640
641 2005-07-17  José Matos  <jamatos@fc.up.pt>
642
643         * buffer.C:
644         * bufferparams.[Ch]:
645         * tex-strings.[Ch]: new file format, remove support for a4.sty,
646         a4wide.sty and a4widemargins.
647
648 2005-07-17  Juergen Vigna  <jug@lyx.org>
649
650         * text2.C (cursorLeft): fix one of error
651
652 2005-07-17  Juergen Vigna  <jug@lyx.org>
653
654         * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
655                    cursorEnd):
656         more fixes for boundary handling
657
658         * text3.C (dispatch): don't reset cursor if boundary has changed
659         on cursor movement.
660
661 2005-07-16  Juergen Vigna  <jug@lyx.org>
662
663         * text2.C (getColumnNearX): hopefully got it right now,
664         check if we are on column 0 for special case.
665
666 2005-07-16  Juergen Vigna  <jug@lyx.org>
667
668         * text2.C (getColumnNearX): handle special case Newline Inset
669
670         * text.C (singleWidth): Just remove bogus check
671
672 2005-07-16  Michael Schmitt  <michael.schmitt@teststep.org>
673
674         * funcrequest.C (split): avoid reading uninitialized char c
675
676 2005-07-16  José Matos  <jamatos@fc.up.pt>
677
678         * buffer.C:
679         * converter.C:
680         * lyxrc.C:
681         * paper.h:
682         * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
683         single papersize variable.
684
685 2005-07-16  Juergen Vigna  <jug@lyx.org>
686
687         * text3.C (dispatch): honor boundary when checking if a cursor
688         movement has been done
689
690         * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown) 
691         (setCursor, setCursorIntern): fix cursor movement with boundary
692
693 2005-07-16  Juergen Vigna  <jug@lyx.org>
694
695         * text.C (currentState): output the actual Boundary
696
697 2005-07-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
698
699         * factory.C (createInset): fix bad logic for tabular creation
700
701 2005-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
702
703         * lyx_main.C (init): change some reLyX reference to tex2lyx
704
705 2005-07-16  Juergen Vigna  <jug@lyx.org>
706
707         * dociterator.C (DocIterator): initialize boundary
708
709 2005-07-16  Juergen Vigna  <jug@lyx.org>
710
711         * text2.C (getColumnNearX): Consider rows without trailing blank.  
712
713 2005-07-16  André Pönitz  <poenitz@gmx.net>
714
715         * lyxfont.h: Change order of declarations to give the compiler
716         a better chance to inline things
717
718         * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
719         questions on unsaved docs for better scritability
720
721 2005-07-16  André Pönitz  <poenitz@gmx.net>
722
723         * paragraph.h (getChar): remove asserts as the same kind of security
724         can be achieved by using a suitable standard library implementation
725         and the function was in the critical path (25.9% in profiler)
726
727 2005-07-16  Juergen Vigna  <jug@lyx.org>
728
729         * cursor.C (bruteFind2):
730         * bufferview_funcs.C (coordOffset): 
731         * text.C (cursorX,cursorY): Handle cursor position after last char
732         in row before a inset which uses a whole row.
733
734 2005-07-15  José Matos <jamatos@lyx.org>
735
736         * output_plaintext.[Ch] (writeFileAscii): control reference title
737         printing.
738         (asciiParagraph): noparbreak was already deal and was incorrectly
739         used.
740
741 2005-07-15  Juergen Vigna <jug@lyx.org>
742
743         * lyxfunc.C (dispatch): save and restore the cursor after a
744         textclass switch.
745
746 2005-07-15  Lars Gullik Bjønnes <lgb@tandberg.net>
747
748         * text.C (backspace): bug 806 for empty keepempty paragraphs we
749         change the layout to default before letting DEPM do its thing.
750
751         * paragraph_funcs.C (breakParagraph): dont reset the layout on
752         keepEmpty paragraphs
753
754         * text.C (setCursorFromCoordinates): add a debug statement
755
756         * text2.C (getColumnNearX): bug 1825 make sure that we don't
757         return a pos that is not on the row
758
759         * output_latex.C (TeXDeeper): get rid of potential dereferencing
760         of past the end iterator
761
762 2005-07-14  André Pönitz  <poenitz@gmx.net>
763
764         * undo.C (recordUndoFullBuffer): implement undo for
765         textclass switches
766
767 2005-07-14  André Pönitz  <poenitz@gmx.net>
768
769         * cursor.C (setSelection): open insets when selection is set there
770         to avoid crashs with cold coord cache
771
772 2005-07-14  André Pönitz  <poenitz@gmx.net>
773
774         * trans_mgr.C (insert): move cursor to the right after inserting
775         a char.
776
777 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
778
779         * BufferView_pimpl.C (update): dampen some of the debug blabbering
780         * factory.C (readInset): ditto
781         * text.C, text2.C: ditto
782
783 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
784
785         * buffer.C: format incremented to 242. There is no file format per
786         se, but the "frenchb" language has been removed from lib/language
787         and has to be translated to "french" by lyx2lyx.
788
789 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
790
791         * cursor_slice.h, dociterator.h: add some documentation
792         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
793
794 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
795
796         * text.C (leftMargin): do not add identation to display() style
797         insets, because they are always centered (bug 1293).
798
799 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
800
801         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
802         formatted_time methods in support/lyxtime.
803
804 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
805
806         * toc.[Ch]: new method getGuiName, which is used by the frontends 
807         to set the toc combo (fixes bug 1870). Make TOC string translatable.
808
809 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
810
811         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
812         StableDocIterator const &)
813         * undo.C (recordUndo): use the above instead of cell.size() comparison
814         (fixes bug 1808; instructed by Andr�.
815
816 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
817
818         * cursor_slice.h: 
819         * dociterator.h: Fix the assert when copying rows/cols in math
820
821 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
822
823         * BufferView_pimpl.C:
824         * LyXAction.C:
825         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
826
827         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
828         (findInset): new functions, refactored from goto Inset that return 
829         the position of a certain inset without setting the buffer's cursor
830         (by Jean-Marc); 
831         (gotoInset): rewrite to call findInset and then set the cursor
832         (by Jean-Marc).
833
834 2005-06-16  Angus Leeming  <leeming@lyx.org>
835
836         * lyxrc.C (output, read): wrap all input and output of paths with
837         calls to os::internal_path and os::external_path, respectively.
838         (output): wrap bind_file inside quotes.
839
840         * format.C (view): enable the viewer to use the '$$s' placeholder.
841
842 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
843
844         * LColor.[Ch] (getFromLaTeXName): new
845
846 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
847
848         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
849
850 2005-06-14  Angus Leeming  <leeming@lyx.org>
851
852         * lyx_main.C (init): ensure that the LyX binary dir is the first
853         element in the PATH on non-POSIX builds.
854
855 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
856
857         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
858
859 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
860
861         * rowpainter.C (paintInset, paintHebrewComposeChar)
862         (paintArabicComposeChar, paintChars): add a LyXFont argument.
863         (paintChars): use getFontSpan to reduce calls to getFont to a
864         minimum; use Paragraph::lookupChange instead of isXXXText.
865         (paintForeignMark): rename LyXFont argument.
866         (paintFromPos): pass a LyXFont object to the various paintXXX
867         methods.
868
869         * FontIterator.C (FontIterator, operator++): use
870         Paragraph::getFontSpan
871
872         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
873         version that returns the font span as a pair.
874
875 2005-06-09  Angus Leeming  <leeming@lyx.org>
876
877         * converter.C (convert): Don't forget "outfile = real_outfile" as
878         the final step in a conversion where the input and output file names
879         are the same. Otherwise, future conversion steps won't work...
880
881 2005-06-09  Angus Leeming  <leeming@lyx.org>
882
883         * lyxsocket.C: remove stub code as it isn't needed by
884         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
885
886 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
887
888         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
889         effectively disabled -x
890
891 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
892
893         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
894         when it actually makes sense.
895
896 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
897
898         * BufferView_pimpl.C: revert to showCursor in connection with
899         Lars's front-end stack
900
901 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
902
903         * text.C (redoParagraph): move cursor right after a bibitem
904         has been inserted.
905
906         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
907
908 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
909
910         * buffer_funcs.C (bufferErrors): fix computation of the end of an
911         error range.
912
913 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
914
915         * BufferView.[Ch] (update):
916         * BufferView_pimpl.[Ch] (update, metrics):
917         * dimension.h (operator==):
918         * lyxfunc.C (dispatch):
919         * metricsinfo.h (ViewMetricsInfo):
920         * rowpainter.C (paintText):
921         * lyxtext.h:
922         * text.C (redoParagraph):
923         * text3.C (dispatch): Make LyX only repaint current paragraph in
924         case of character insert --> speedup. Also fix cursor draw
925         artifacts
926
927 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
928
929         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
930         avoid a crash (bug 1891)
931
932 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
933
934         Fix bug 1892:
935
936         * text2.C (getStringToIndex): constify cur argument.
937
938         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
939         argument has been given
940         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
941         try to invoke LFUN_INSET_APPLY).
942
943         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
944         if no inset was created by doInsertInset
945         (doInsertInset): return true if an inset has been inserted.
946
947 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
948
949         * vspace.C (asGUIName): new method. A version of the space
950         suitable for showing on screen.
951
952 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
953
954         * MenuBackend.C:
955         * lyxrc.C: rename "ASCII" to "Plain Text"
956
957 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
958
959         * buffer_funcs.C (expandLabel): take a Buffer as argument;
960         translate the labelstring.
961         (setCounter): translate labelstring as needed.
962
963         * output_docbook.C (makeCommand): fix expandLabel invokation
964
965 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
966
967         * BufferView.C: fix dialog title
968
969 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
970
971         * lyx_main.C (priv_exec): fix logic error with help from Angus
972         * lyx_main.C (parse_execute): set is_gui = false and remove now
973         obsolete comment about a segfault
974
975 2005-05-18  Angus Leeming  <leeming@lyx.org>
976
977         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
978
979 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
980
981         * tabular.[hC]: added setCellInset to fix tabular paste.
982
983 2005-05-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
984
985         * buffer.C (save): check if destination is writable before trying
986         to copy a file
987
988 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
989
990         * BufferView_pimpl.C (update): fix processEvents -caused update
991         recursion bug
992
993 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
994
995         * buffer_funcs.C (setCounter): fix test for numbering of
996         environments.
997
998         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
999         depth correctly; use optional argument when it exists
1000
1001         * lyxtextclass.C: remove unused MaxCounterTags enum
1002         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
1003         (max_toclevel, min_toclevel): new methods.
1004
1005         * MenuBackend.C (expandToc2): fix case where depth is smaller than
1006         the smallest depth in toc.
1007
1008         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
1009         layouts that should not appear in a table of contents.
1010
1011 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1012
1013         * cursor.h (undispatched, noUpdate): add comments from Andr�
1014 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
1015
1016         * lfuns.h:
1017         * LyXAction.C:
1018         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
1019
1020 2005-05-07  André Pönitz  <poenitz@gmx.net>
1021
1022         * cursor.[Ch] (leaveInset): new function
1023
1024 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1025
1026         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
1027
1028 2005-05-04  Angus Leeming  <leeming@lyx.org>
1029
1030         * lyxfunc.C (getStatus): disable the spell checker dialog if
1031         none of USE_[AIP]SPELL are defined.
1032
1033 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
1034
1035         * tabular.C (setWidthOfCell): remove obsolete comment
1036
1037 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
1038
1039         * paragraph.C (bibitem):
1040         * buffer_funcs.C (setCounter):
1041         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
1042
1043 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1044
1045         * text3.C (getStatus): immediately return after setOnOff
1046
1047         * rowpainter.C: fix drawing of appendix start
1048
1049 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1050
1051         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
1052         SwitchBetweenClasses and remove the unused return value.
1053         Handle character styles, too
1054
1055 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
1056
1057         * factory.C (createInset): handle undefined character styles
1058
1059 2005-05-02  Angus Leeming  <leeming@lyx.org>
1060
1061         * buffer.C: protect the #include of utime.h with a preprocessor
1062         guard.
1063
1064 2005-05-02  Angus Leeming  <leeming@lyx.org>
1065
1066         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
1067         function so that auto-saving works, albeit in a blocking manner.
1068
1069         * Makefile.am: make compilation of the client sub directory, of
1070         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
1071         on conditionals set at configure time.
1072
1073         * SpellBase.[Ch]: no longer an abstract base class. Instead,
1074         it can be compiled in its own right but has no-op functionality.
1075
1076         * aspell.C, pspell.C: remove preprocessor guards. The files should
1077         be compiled only if the necessary functionality exists.
1078
1079         * lyxserver.C, lyxsocket.C: disable on Windows.
1080
1081 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
1082
1083         * text.C (leftMargin): Fix the parindent use bug (1764)
1084         by dirty trick
1085
1086 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
1087
1088         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
1089         argument.
1090
1091 2005-04-25  Angus Leeming  <leeming@lyx.org>
1092
1093         * Bidi.[Ch]:
1094         * coordcache.[Ch]:
1095         * ispell.C:
1096         * lyxserver.C:
1097         * mover.C:
1098         * pch.h:
1099         include <config.h> in .C files, not .h ones.
1100         add licence blurb.
1101         protect headers inside preprocessor guards.
1102
1103 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1104
1105         * FuncStatus.h (StatusCodes): document
1106
1107 2005-04-21  André Pönitz  <poenitz@gmx.net>
1108
1109         * FuncStatus.h (enabled, onoff): document
1110
1111 2005-04-19  Angus Leeming  <leeming@lyx.org>
1112
1113         * BufferView_pimpl.C (cursorToggle): no longer test whether
1114         any child processes have been reaped before calling
1115         handleCompletedProcesses().
1116
1117 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
1118
1119         * text3.C (dispatch): fix, finally fix, the language problem in
1120         new lyxtexts, without disabling on-the-fly font changes (Helge's
1121         bug report)
1122
1123 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1124
1125         * text3.C (dispatch): set cursor on double/triple click events
1126         (bug 1811)
1127
1128 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1129
1130         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
1131         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
1132
1133         * rowpainter.C (paintFirst): simplify the code a little bit. In
1134         particular, remove the test for secnumdepth.
1135         * text.C (setHeightOfRow): only allocate space for chapter number
1136         when updateCounters provided an actual label, instead of looking
1137         at secnumdepth directly.
1138
1139         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
1140
1141         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
1142         paragraphs when secnumdepth is large enough or, for environments,
1143         when they are not the first in a sequence.
1144
1145 2005-04-17  Angus Leeming  <leeming@lyx.org>
1146
1147         * buffer.C (makeLaTeXFile): replace code to manipulate a path
1148         containing space and '~' characters with a call to latex_path().
1149
1150 2005-04-17  Angus Leeming  <leeming@lyx.org>
1151
1152         * converter.C (convert): protect all args of convertDefault.sh
1153         script with quotes.
1154
1155 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1156
1157         * text3.C (dispatch): change the layout to "Caption" after inserting
1158         a float.
1159
1160 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1161
1162         * text3.C (dispatch): fix language problem in newly created
1163         textinsets (and main text) in non-english docs
1164
1165 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1166
1167         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
1168         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
1169         * text3.C (getStatus): disable LFUN_INSET_MODIFY
1170
1171 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1172
1173         * lyxtext.h:
1174         * text.C (metrics):
1175         * text2.C (getFont):
1176         * rowpainter.C (getFont): Fix metrics bug introduced by inset
1177         fonts fix
1178
1179 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1180
1181         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
1182         output of \item arguments without trailing text.
1183
1184 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1185
1186         * FontIterator.C (operator*): avoid a copy of the font.
1187
1188 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1189
1190         * rowpainter.C (getFont): fix language bug from previous fix
1191
1192 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1193
1194         * rowpainter.C (RowPainter, getFont): fix font inside inset
1195         (bugs 1766, 1809)
1196
1197 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
1198
1199         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1200         preventing inserted font, deco, delim insets jumping to start of
1201         surrounding inset.
1202
1203 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1204
1205         * lyxfunc.C (dispatch): translate message before sending it to the
1206         minibuffer.
1207
1208 2005-03-29  Angus Leeming  <leeming@lyx.org>
1209
1210         * lyx_main.C (priv_exec): call os::internal_path on each file passed
1211         to LyX on the command line.
1212
1213 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
1214
1215         * vc-backend.C: use QuoteName to protect file names wherever
1216         necessary.
1217
1218 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
1219
1220         * buffer.[Ch]:
1221         * BranchList.h: fix bugs 1844,1845: document settings don't
1222         stick
1223
1224 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1225
1226         * lyxrc.C (setDefaults, read, output, getDescription): add support
1227         for tex_allows_spaces.
1228
1229         * exporter.C (Export): allows files in directory containing spaces
1230         if tex_allows_spaces is true.
1231
1232         * buffer.C (makeLaTeXFile): if the document path contains spaces,
1233         output it in double quotes.
1234
1235 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1236
1237         * rowpainter.C: use default text height for drawing change tracker
1238         strikeout lines.
1239
1240 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1241
1242         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1243
1244 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1245
1246         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1247         directory is missing.
1248
1249 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
1250
1251         * text2.C: fixed the fix, extended to other case.
1252
1253 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
1254
1255         * text2.C: fix for cursor up/down stuck in math [bug 1792]
1256
1257 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
1258
1259         * text2.C (cursorUp): get rid of a crash
1260         * text.C (x2pos): add an assert
1261
1262 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1263
1264         * lyxfunc.C (getStatus): fix warning when assertions are disabled
1265
1266         * text3.C:
1267         * lyxfunc.C:
1268         * dociterator.C: include <boost/current_function.hpp>, which is
1269         needed when assertions are disabled.
1270
1271 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1272
1273         * text2.C: fix for stuck cursor when traversing two
1274         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1275
1276 2005-02-25  Andreas Vox  <avox@arcor.de>
1277
1278         * output_docbook.C (makeParagraph): suppress trailing newline
1279         after a run of paragraphs
1280
1281 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1282
1283         * paragraph.C: fix for confused change tracker when pasting
1284         text that begins with a lineseparator. [bug 1827]
1285         (setChange(0, Change::INSERTED);)
1286
1287         * paragraph_funcs.C: fix for lost changes on triple-paste
1288         in change tracking mode [bug 1827] (par.setChange()).
1289
1290 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1291
1292         * text2.C (updateCounters, setCounter, expandLabel): move to
1293         buffer_funcs.
1294
1295         * buffer_funcs.C (updateCounters): turn into a free standing
1296         function and add a buffer parameter. Remove dead code for tracking
1297         labelstring change.
1298         (setCounter): change into a free-standing function which gets a
1299         dociterator as argument. Use this iterator to fix captions in a
1300         simple way. When no float is found above the caption, use the
1301         labelstring of the caption layout as default.
1302
1303         * text.C (breakParagraph, backspace):
1304         * text2.C (init, setLayout, changeDepth):
1305         * text3.C (dispatch):
1306         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1307         updateCounters.
1308
1309         * dociterator.C (forwardPar): make it much faster by calling
1310         forwardPos() only when really necessary.
1311
1312         * output_docbook.C (makeCommand): adapt to expandLabel move.
1313
1314         * cursor.C: remove unused variable
1315
1316 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1317
1318         * paragraph_funcs.C: fix crash when pasting insets in change
1319         tracking mode [bug 1277] (honour change type in moveItem).
1320
1321 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1322
1323         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1324
1325 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1326
1327         * BufferView.C (setCursor): change to use a DocIterator.
1328         (gotoLabel): use BufferView::setCursor (other part of bug 781).
1329         (putSelectionAt): adapt to BufferView::setCursor change.
1330
1331         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1332         moved here from LyXText and rewritten to use proper cursor
1333         methods. Fixes bug 1787, 616 and 835.
1334
1335         * BufferView_pimpl.C (restorePosition): set the cursor correctly
1336         when inside an inset (part of bug 781).
1337         (dispatch): adapt to change of BufferView::setCursor.
1338         (getStatus, dispatch): handle LFUN_GOTOERROR,
1339         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1340
1341         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1342         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1343         * text3.C (gotoNextInset, gotoInset): removed.
1344
1345 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1346
1347         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1348
1349 2005-02-15  Angus Leeming  <leeming@lyx.org>
1350
1351         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1352         can be used meaningfully in a comparison.
1353
1354 2005-02-13  André Pönitz  <poenitz@gmx.net>
1355
1356         * bufferview_funcs.C (coordOffset): improve cursor drawing
1357
1358 2005-02-13  André Pönitz  <poenitz@gmx.net>
1359
1360         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1361         * Cursor.C (dispatch): use fixIfBroken
1362         * lyxfunc.C (getStatus): use fixIfBroken
1363
1364 2005-02-15  Angus Leeming  <leeming@lyx.org>
1365
1366         * lyx_main.C (error_handler):
1367         * lyxfunc.C:
1368         * lyxrc.C (setDefaults):
1369         s/GetEnv/getEnv/.
1370         #include "environment.h".
1371
1372         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1373
1374 2005-02-15  Angus Leeming  <leeming@lyx.org>
1375
1376         * lyxserver.C (startPipe): squash MSVC warning "local variable
1377         'fd' used without having been initialized".
1378
1379 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1380
1381         * BufferView_pimpl.C: revert accidental commit.
1382
1383 2005-02-14  André Pönitz  <poenitz@gmx.net>
1384
1385         * dociterator.[Ch]: new member forwardPosNoDescent(),
1386         which doesn't enter nested insets.
1387         * text2.C (setFont): use forwardPosNoDescent() instead
1388         of ForwardPos() (fixes crash on font change).
1389
1390 2005-02-13  Angus Leeming  <leeming@lyx.org>
1391
1392         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1393         only if lyxrc.path_prefix is not empty.
1394
1395 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1396
1397         * bufferparams.C (readGraphicsDriver): prevent crash
1398
1399 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1400
1401         * text2.C (setCounter): check for inInset() == 0
1402
1403 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1404
1405         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1406         but use update() to get correct screen display; use convert
1407         instead of istringstream.
1408         (getStatus): handle LFUN_GOTO_PARAGRAPH
1409
1410         * lyxfunc.C (dispatch, getStatus): do not handle
1411         LFUN_GOTO_PARAGRAPH here.
1412
1413 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1414
1415         * text3.C (dispatch): size() -> depth()
1416
1417         * text2.C: remove some debug output
1418
1419         * paragraph.C: ws changes only
1420
1421         * lyxfunc.C (getStatus): size() -> depth()
1422
1423         * dociterator.h (clear, push_back, pop_back, internalData,
1424         operator[], resize, empty): new functions
1425         Make StableDocIterator and operator== be friends. Don't inherit
1426         from std::vector use a privat class variable slices_ instead.
1427         Modify to fit.
1428
1429         * dociterator.C: update because of not inheriting from std::vector
1430         anymore. Call explictly to slices_ instead. Use depth() instead of
1431         size() and top() instead of back()
1432
1433         * cursor.C: chagne size() -> depth and back() -> top(). Also
1434         remove some direct operator[](i) calls in favour of foo[i]
1435         (getFont): remove some dead code
1436
1437         * bufferview_funcs.C (coordOffset): size() -> depth()
1438
1439         * buffer.C: ws changes only
1440
1441         * CutAndPaste.C (eraseSelection): back() -> top()
1442
1443         * BufferView_pimpl.C (selectionRequested): back() -> top()
1444
1445         * BufferView.C (setCursor): size() -> depth()
1446
1447 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1448
1449         * text3.C (cursorPrevious): return true if depm changed something
1450         (cursorNext): ditto
1451         (dispatch): rename sl to oldTopSlice, remove moving use the new
1452         NoUpdate func attrib instead. Make sure that needsUpdate is set
1453         for function that have NoUpdate, but where depm might have changed
1454         the buffer anyway.
1455
1456         * text2.C (cursorLeft): make us return true if depm changed
1457         something
1458         (cursorRight): ditto
1459         (cursorUpParagraph): ditto
1460         (curosrDownParagraph): ditto
1461         (cursorUp, cursorDown): ditto, make sure to read comments in code
1462         (deleteEmptyParagraphMechanism): remove an assert, also return
1463         true if just a single char was deleted.
1464
1465         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1466         cursor that we modify, to avoid modifying an active cursor before
1467         we call setCursor. This allows depm to run. Also return true if
1468         depm deleted something.
1469
1470         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1471         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1472         cursorDownParagraph, cursorPrevious and cursorNext, return true if
1473         something was changed in the buffer because of them (ie. depm run)
1474
1475         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1476         debug messages. Make update by default be false. Make sure that
1477         the result of update is retained throught several calls down to
1478         dispatch.
1479
1480         * LyXAction.h: add a new func_attrib: NoUpdate
1481
1482         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1483         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1484         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1485         and LFUN_WORDLEFT
1486         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1487
1488 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1489
1490         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1491         bv_->owner(), bv_->buffer() by direct references to the private
1492         members.
1493         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1494         (getStatus): isSavedPosition() is in BufferView::Pimpl.
1495         (fitCursor): center() is in BufferView::Pimpl.
1496         (getStatus, trackChanges, dispatch): no need for a temporary buf
1497         variable
1498         (fitCursor, workAreaDispatch): use workarea().workheight()
1499
1500 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1501
1502         * CutAndPaste.C (pasteSelectionHelper): fix a crash
1503
1504 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1505
1506         * buffer.C: format up to 241.
1507         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1508         break if pasting into ERT
1509         * lyxfunc.C (getStatus): suppress mathpanel and
1510         LFUN_DIALOG_SHOW_NEW_INSET in ERT
1511
1512 2005-02-01  Angus Leeming  <leeming@lyx.org>
1513
1514         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1515
1516 2005-02-01  Angus Leeming  <leeming@lyx.org>
1517
1518         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1519         calling fs::is_directory().
1520
1521 2005-01-31  Angus Leeming  <leeming@lyx.org>
1522
1523         * lyx_main.C (priv_exec): specify explicitly the relative location
1524         of the top level build directory when run in-place.
1525
1526 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1527
1528         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1529         LyXText containing the cursor, not the top-level one.
1530
1531         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1532         true.
1533         (insertStringAsLines): rename par to pit; use temporary variable
1534         par to hold a Paragraph; do not store par.layout() in a variable,
1535         since the pointer may die when breaking paragraphs; pass pars to
1536         breakParagraph() instead of Buffer::paragraphs().
1537
1538 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1539
1540         * lyxlex_pimpl.h: #include <fstream>.
1541
1542         * BufferView.[Ch] (getLyXText): add a const version.
1543
1544         * BufferView_pimpl.C: add debug aids.
1545
1546         * RowList_fwd.h:
1547         * buffer.h:
1548         * lyxrow.h:
1549         * paragraph_funcs.h: add commentary explaining what the class does.
1550
1551
1552         * coordcache.[Ch]: add lots of commentary.
1553         (startUpdating, doneUpdating): debug aids.
1554         (arrays, insets, parPos, getParPos): accessors to private data.
1555
1556         * cursor_slice.[Ch] (text): add a const version.
1557         * dociterator.[Ch] (text, innerText): add const versions.
1558
1559         * lyxtext.h (breakParagraph): change the keep_layout arg to a
1560         bool.
1561
1562         * paragraph.C (getRow, pos2ros): add asserts.
1563
1564         * paragraph.h: add commentary. Lots of.
1565
1566         * paragraph.[Ch] (metrucs, draw): removed.
1567
1568         * cursor.C:
1569         * rowpainter.[Ch]: const-correct changes.
1570
1571         * text.C: various obvious clean-ups. Removal of ancient cruft.
1572         Bug fixes, even.
1573
1574 2005-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
1575
1576         * vc-backend.C (find_file): rewrite to use boost.filesystem
1577         (scanMaster): ditto
1578
1579         * main.C (main): set default name check for boost.filesystem to
1580         no check
1581
1582         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1583         (open): ditto
1584         (doImport): ditto
1585         (actOnUpdatedPrefs): ditto
1586
1587         * lyx_main.C (init): rewrite to use boost.filesystem
1588         (queryUserLyXDir): ditto
1589
1590         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1591         (getContentsOfAsciiFile): ditto
1592
1593         * lastfiles.C (readFile): rewrite to use boost.filesystem
1594
1595         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1596
1597         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1598         (loadLyXFile): ditto
1599
1600         * buffer.C (Buffer): adjust for destroydir
1601         (getLogName): rewrite to use boost.filesystem
1602         (setFileName): ditto
1603         (save): use fs::copy_file (from fs_extras)
1604
1605         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1606
1607         * LaTeX.C (run): rewrite to use boost.filesystem
1608         (scanAuxFiles): ditto
1609         (handleFoundFile): ditto
1610
1611 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1612
1613         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1614
1615         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1616
1617 2005-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1618
1619         * lyxlayout.[Ch]: change some vars from float to double
1620
1621         * buffer.C (readFile): make a local var const
1622
1623         * Several files: use convert<> instead of atoi,strToXXX and friends
1624
1625 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1626
1627         * LaTeXFeatures.[Ch]: Add a static list packages_ that
1628         holds the contents of packages.lst. New functions getAvailable
1629         and isAvailable to parse and check that list, resp.
1630
1631         * LyXAction.C:
1632         * lfuns.h:
1633         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1634
1635         * bufferparams.[Ch]: new param output_changes.
1636
1637         * Buffer.C: increase file format to 240.
1638         Use output_changes and isVailable.
1639
1640         * changes.[Ch]:
1641         * paragraph.C:
1642         * paragraph_pimpl.C: Use output_changes and isVailable.
1643
1644 2005-01-23  Angus Leeming  <leeming@lyx.org>
1645
1646         * output_latex.C: #include "insetbibitem.h", rather than
1647         forward declare function bibitemWidest.
1648
1649 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
1650
1651         * lyx_main.C (init): make it compile on the Mac.
1652
1653 2005-01-20  Angus Leeming  <leeming@lyx.org>
1654
1655         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1656         (setLyXMisc): (char string literal) != (char string literal) is
1657         performing a comparison on the addresses. Convert one operand
1658         explicitly to string to guarantee expected behaviour.
1659         From MSVC warning.
1660
1661 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1662
1663         * buffer.C:
1664         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1665
1666         * output_plaintext.C: remove unneeded #include gzstream.h.
1667
1668 2005-01-20  Angus Leeming  <leeming@lyx.org>
1669
1670         * SpellBase.h: rename some of the elements of the Result enum.
1671
1672         * aspell_local.h:
1673         * ispell.h:
1674         * pspell.h:
1675         * aspell.C (check):
1676         * ispell.C (check):
1677         * pspell.C (check): ditto
1678
1679 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1680
1681         * buffer.C: add #include <fstream>.
1682
1683         * lyx_main.C (init): Compile fix.
1684
1685         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1686
1687 2005-01-20  Angus Leeming  <leeming@lyx.org>
1688
1689         * mover.h: change commentary to reflect the changed meaning of
1690         the $$s placeholder.
1691
1692 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1693
1694         * output_linuxdoc.C (linuxdocParagraphs): silence warning
1695
1696         * lyxfind.C (MatchString::operator()): remove bogus semicolon
1697
1698 2005-01-20  Angus Leeming  <leeming@lyx.org>
1699
1700         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1701         printing diagnostic data by not dereferecing an iterator past the
1702         end.
1703
1704 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1705
1706         * buffer.C (readHeader): use "&&" rather than "and".
1707
1708         * lyxserver.h (inPipeName, outPipeName): make these const.
1709
1710 2005-01-19  Angus Leeming  <leeming@lyx.org>
1711
1712         * lyx_main.C (error_handler, init): protect SIGHUP with
1713         #ifdef SIGHUP guards.
1714
1715 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1716
1717         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1718
1719 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1720
1721         * text.C (setHeightOfRow): add a margin at the top and bottom of
1722         the document (bug 1761)
1723
1724 2005-01-17  Angus Leeming  <leeming@lyx.org>
1725
1726         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1727         with "python ". Workaround for a brain-dead Windows.
1728
1729 2005-01-16  Angus Leeming  <leeming@lyx.org>
1730
1731         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1732         for MacOSX and Windows to use prependEnvPath.
1733         Strip out the hard-coded block to add elements to the PATH for
1734         MacOSX and replace it with a call to prependEnvPath using the
1735         contents of LyXRC::path_prefix.
1736         (queryUserLyXDir): strip out the code to run reconfigure, instead
1737         returning a boolean indicating the necessity to do so.
1738         (reconfigureUserLyXDir): contains the code to reconfigure the
1739         user support directory. Is now called after the various LyXRC data
1740         files have been read.
1741
1742         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1743
1744 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1745
1746         * converter.[Ch] (convert): take a new parameter try_default. Use
1747         a default converter (imagemagick) if try_default is true.
1748
1749 2005-01-13  Angus Leeming  <leeming@lyx.org>
1750
1751         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1752         os::cygwin_path_fix.
1753         (write): output LyXRC::cygwin_path_fix as necessary.
1754
1755 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
1756
1757         * lyxrc.h:
1758         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1759
1760 2005-01-12  Angus Leeming  <leeming@lyx.org>
1761
1762         * lyx_main.C (init): set the PATH variable to include the
1763         directory containing the LyX binary when running on Mac or Windows.
1764
1765 2005-01-12  Angus Leeming  <leeming@lyx.org>
1766
1767         * lyx_main.C (init): remove cruft that purports to set the locale
1768         dir. It doesn't and is not needed anyway.
1769
1770 2005-01-10  Angus Leeming  <leeming@lyx.org>
1771
1772         * Makefile.am: remove the lyx_main.C special casing.
1773
1774         * BufferView_pimpl.C:
1775         * bufferlist.C:
1776         * exporter.C:
1777         * lyx_cb.C:
1778         * lyx_main.C:
1779         * lyxfunc.C:
1780         * messages.C: use support/package.h to provide the paths to the
1781         various directories used by LyX.
1782
1783 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1784
1785         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1786         layout if pasting into an empty paragraph)
1787
1788 2005-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1789
1790         * tex-accent.C: add <string>
1791
1792 2005-01-06  José Matos  <jamatos@lyx.org>
1793
1794         * ParagraphParameters.C (write): put every parameter in its own line.
1795         * paragraph.C (write): reduce number of consecutive empty lines exported.
1796         * buffer.C (LYX_FORMAT): increase file format to 239.
1797
1798 2005-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1799
1800         * everywhere: change support/tostr.h -> support/convert.h
1801
1802         * tabular.C: make all write_attributes templates, tostr -> convert
1803
1804         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1805         (emptyTag): and -> &&, and fix type for ret from getChar
1806         (getFirstWord): fix type for ret from getChar
1807         (onlyText): and -> &&
1808         (simpleDocBookOnePar): and not -> && !, fix type for ret from
1809         getChar
1810
1811         * toc.C (goTo, action):
1812         * text3.C (dispatch):
1813         * text.C (currentState):
1814         * tex-accent.C (DoAccent):
1815         * sgml.C:
1816         * lyxrc.C:
1817         * lyxfunc.C (menuNew):
1818         * lyxfinc.C (replace):
1819         * counters.C (laberItem):
1820         * bufferview_funcs.C (font2string):
1821         * bufferparams.C (writeFile):
1822         * buffer.C (readFile):
1823         * Spacing.C (set):
1824         * MenuBackend.C: tostr -> convert
1825
1826         * LaTeX.C (runMessage): fix format
1827         (scanAuxFiles): tostr -> convert
1828
1829         * BufferView_pimpl.C (savePosition): fix format
1830         (restorePosition): ditto
1831         (dispatch): ditto
1832
1833 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1834
1835         * Spacing.[Ch]: New method getValueAsString().
1836
1837         * Spacing.[Ch]:
1838         * bufferparams.C:
1839         * ParagraphParameters.C:
1840         * lyxlayout.C:
1841         * text.C:
1842         * text3.C: store/read spacing value as string.
1843
1844         * rowpainter.C: change float value (spacing_val) to double.
1845
1846         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1847         broken custom document spacing).
1848
1849 2005-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
1850
1851         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1852         namespace, also more use of temp references and const
1853
1854         * cursor.[Ch] (getStatus): move to lyxfunc.C
1855
1856         * bufferparams.C: reformat slightly
1857
1858         * bufferview_funcs.C (font2string): constify arg
1859
1860         * changes.C:
1861         * converter.C:
1862         * counters.C:
1863         * bufferlist.C:
1864         * buffer_funcs.C: (many funcs): constify arg on function
1865         definitions, also make more local vars const, also add ASSERTS on
1866         pointer args.
1867
1868         * buffer.C (LYX_FORMAT): put const in correct place
1869         (many funcs): constify arg on function definitions, also make
1870         more local vars const
1871
1872         * aspell_local.h: remove "struct" from typdef setup
1873
1874         * aspell.C (check): make word_ok const
1875         (nextMiss): simplify slightly
1876         (error): ditto
1877
1878 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1879
1880         * lyxrc.[Ch]: store all float values as strings.
1881         use int (not float) for lyxrc.dpi.
1882
1883 2005-01-04  Angus Leeming  <leeming@lyx.org>
1884
1885         * lyx_cb.C (Reconfigure):
1886         * lyx_main.C (queryUserLyXDir):
1887         to run the <system_lyxdir>/configure correctly on Windows, prefix
1888         the path to the script with "sh " when generating the string that
1889         is passed to system().
1890
1891 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1892
1893         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1894
1895 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1896
1897         * lyxlength.C (asLatexString): get rid of setprecision
1898
1899 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1900
1901         * text2.C (setLayout): remove unused variable endpit.
1902         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1903
1904         * paragraph.C (onlyText): remove unused variable style.
1905
1906         * cursor.C (bruteFind): remove unused variables beg and end.
1907
1908         * Makefile.am (dist_noinset_DATA): not needed anymore
1909
1910         * cheaders/*: remove.
1911
1912 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1913
1914         * text3.C: fix LFUN_MATH_MODE.
1915
1916 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1917
1918         * buffer_funcs.C (countWords): new function. Counts words between
1919         two iterators.
1920
1921         * BufferView_pimpl.C (getStatus, dispatch): handle
1922         LFUN_WORDS_COUNT.
1923
1924         * LyXAction.C (init):
1925         * lfuns.h: add LFUN_WORDS_COUNT.
1926
1927 2004-12-19  Angus Leeming  <leeming@lyx.org>
1928
1929         * buffer.C (save): s/slashify_path/internal_path/.
1930
1931 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1932
1933         * lyxfind.C (findChange): do not search for end of pars, because
1934         the change tracker cannot handle this (fixes bug 1719).
1935
1936 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1937
1938         * paragraph.[Ch] (autoBreakRows): remove
1939
1940         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1941
1942         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1943         avoid using the paragraph one
1944
1945         * text2.C (LyXText, insertStringAsLines): adjust
1946
1947 2004-12-16  Angus Leeming  <leeming@lyx.org>
1948
1949         * bufferlist.C:
1950         * lyx_main.C:
1951         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1952
1953 2004-12-14  Angus Leeming  <leeming@lyx.org>
1954
1955         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1956
1957         * bufferlist.C (emergencyWrite):
1958         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1959         GetEnvPath("HOME").
1960
1961 2004-12-14  Angus Leeming  <leeming@lyx.org>
1962
1963         * main.C: (main): no longer pass pointers to os::init.
1964
1965 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1966
1967         * undo.C (textUndoOrRedo): simplify logic, fix a crash
1968         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1969
1970 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1971
1972         * lyxfunc.C:
1973         * text3.C: remove selection_possible global flag
1974
1975 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1976
1977         * text2.C (getSelectionSpan): remove
1978         (changeDepth, changeDepthAllowed): adjust
1979
1980 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
1981
1982         * Makefile.am (BOOST_LIBS): use boost variables
1983
1984 2004-12-03  José Matos  <jamatos@lyx.org>
1985
1986         * buffer.C: format up to 238.
1987
1988 2004-12-03  José Matos  <jamatos@lyx.org>
1989
1990         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1991
1992 2004-12-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1993
1994         * cursor.C (goUpDown): remove call to idxUpDown2
1995
1996 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1997
1998         * tabular.[Ch]: use size_t-like types for cell, row and column
1999         indices
2000
2001 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2002
2003         * lyxfunc.C (getStatus): do not lose previous information when
2004         calling BufferView::getStatus; do not set a default "Command
2005         disabled" message at the beginning, but just before returning.
2006
2007 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2008
2009         * cursor.h (getStatus): add better comment from src/cursor.C
2010
2011 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2012
2013         * text3.C (getStatus): return false when the lfun is not handled
2014
2015 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2016
2017         * broken_headers.h: remove
2018
2019         * Makefile.am (lyx_SOURCES): remove broken_headers.h
2020
2021 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2022
2023         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
2024         offset_ref accessors
2025
2026         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
2027         top_y_, merge fitcursor with update
2028         (updateScrollbar, scrollDocView, fitCursor, center, update): new
2029         coord scheme
2030         (metrics): introduce
2031         (workAreaDispatch): adapt to new coord scheme
2032         (redoCurrentBuffer): remove
2033
2034         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
2035
2036         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
2037         CurStatus enum.
2038
2039         * coordcache.[Ch]: add paragraph cache and helpers
2040
2041         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
2042         adjust everywhere
2043
2044         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
2045         (targetX, setTargetX): introduce
2046
2047         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
2048         baseline -> ascent, as the rest of lyx
2049
2050         * lyxtext.h: remove redoParagraphs, updateParPositions,
2051         fullRebreak, redoParagraphInternal. move dist to anon namespace in
2052         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
2053         have ascent/descent (ascent is ascent of first par)
2054
2055         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
2056         step of BufferView
2057
2058         * paragraph.[Ch]: unify dimension handling with the rest of lyx
2059
2060         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
2061
2062         * pariterator.C: fix infinite loop introduced in par->pit renaming
2063
2064         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
2065         in insets and LyXText, draw two off-screen paragraphs using
2066         NullPainter, and adapt to new coord scheme
2067
2068         * text.C:
2069         * text2.C:
2070         * text3.C: adapt lfun handlers to the new coord scheme, which
2071         means: there's only guaranteed coord information for onscreen pars
2072         plus one above and one below. This implies that one can do search
2073         from y coordinates in the range [-1,workHeight]
2074
2075 2004-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2076
2077         * rename a lot of InsetOld to InsetBase
2078
2079 2004-11-25  Angus Leeming  <leeming@lyx.org>
2080
2081         * BufferView_pimpl.C:
2082         * lyx_cb.C:
2083         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
2084
2085 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2086
2087         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
2088         call BufferView::getStatus if LCursor::getStatus did nothing
2089         (setStatusMessage, getStatusMessage): removed.
2090
2091         * FuncStatus.C (message): new methods. Used to provide an error
2092         message indicating why a command is disabled.
2093         (clear, |=, FuncStatus): update for message.
2094
2095 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2096
2097         * lyxfunc.C (dispatch): always call sendDispatchMessage
2098
2099 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2100
2101         * BufferView.C:
2102         * BufferView_pimpl.C:
2103         * CutAndPaste.C:
2104         * FontIterator.C:
2105         * buffer.C:
2106         * cursor.C:
2107         * cursor_slice.[Ch]:
2108         * dociterator.[Ch]:
2109         * lyxfind.C:
2110         * paragraph_funcs.C:
2111         * pariterator.C:
2112         * rowpainter.C:
2113         * text.C:
2114         * text2.C:
2115         * text3.C:
2116         * undo.C: par->pit renaming
2117
2118 2004-11-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2119
2120         * tabular.C (cellstruct): use initialization, store a shared_ptr
2121         to insettext instead of the insettext directly, adjust to fit.
2122         (operator=):  new function
2123         (swap): new function
2124         (rowstruct): use initialization
2125         (columnstruct): use initialization
2126         (ltType): use initialization
2127
2128
2129         * lyxlength.h (swap): new function
2130
2131         * LColor.[Ch] (operator=): use the common semantics
2132
2133 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2134
2135         * lyxfind.C (findNextChange): update the bufferview after setting
2136         the selection.
2137
2138 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2139
2140         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
2141         number of InsetOptArgs has already been inserted.
2142
2143         * output_latex.C (latexOptArgInsets): new method. This outputs all
2144         the optarg insets, up to the limit defined in the layout file.
2145         (optArgInset): removed
2146         (TeXOnePar): call latexOptArgInsets; correctly update texrow
2147
2148 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2149
2150         * paragraph.C (isLetter): remove special spellchecker-related
2151         code; return true also for digits
2152         (isWord, isKomma): remove
2153
2154         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
2155         * lyxfind.C (MatchString()): use isLetter instead of isWord
2156
2157 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2158
2159         * pariterator.h (operatir=): comment out un-implemented member
2160         function.
2161
2162         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
2163         static cast.
2164
2165 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2166
2167         * lyxfont.h: include LColor.h to satisfy concept checks.
2168
2169 2004-11-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2170
2171         * pariterator.h: add typdefs for value_type, difference_type,
2172         pointer and reference to satisfy concept checks. Also add default
2173         constructor for same reason.
2174
2175         * pariterator.C (operator++): add post-increment operator to
2176         satisfy concept checks.
2177
2178         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
2179         checks.
2180
2181         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
2182
2183         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
2184         checks. Also rename base_type to BaseType to follow naming
2185         standard better.
2186
2187         * FloatList.h: include Floating.h to satisfy concept checks.
2188
2189 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2190
2191         * lyxfunc.C (getStatus): when the origin of the request is menu or
2192         toolbar, and the LyXView does not have focus, do as if there was
2193         no buffer (bug 1720)
2194
2195         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2196         FuncRequest to individual entries of LFUN_SEQUENCE
2197
2198 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2199
2200         * output_latex.C (TeXOnePar): override runparams.moving_arg
2201         according to the needprotect value of the current paragraph (bug
2202         1739)
2203
2204         * paragraph.C (simpleTeXOnePar): no need to override
2205         runparams.moving_args here
2206
2207 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
2208
2209         * vspace.C: fix off-by-one-error, related to fix #1682
2210
2211 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2212
2213         * lengthcommon.C: a more general fix for bug 1682
2214
2215 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2216
2217         * text.C (backspace): fix crash
2218
2219 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2220
2221         * format.[Ch] (getFormatFromFile): new method
2222         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2223
2224 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2225
2226         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2227
2228 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2229
2230         * lyxfunc.C (dispatch): remove the verbose argument
2231         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2232         instead
2233
2234         * kbmap.C (defkey): set the origin of func to KEYBOARD
2235
2236         * MenuBackend.C (MenuItem):
2237         * ToolbarBackend.C (add): set the origin of func to UI
2238
2239         * funcrequest.[Ch]: add origin member, which indicates which part
2240         of LyX requests an action
2241
2242 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2243
2244         * converter.C (move): don't lie in the error message
2245         * converter.h (isReachable, move): document
2246
2247 2004-11-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2248
2249         * buffer.C: remove unused using lyx::support::atoi
2250         * paragraph_funcs.C: ditto
2251
2252 2004-11-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2253
2254         * bufferlist.C (exists): use bind and equal_to instead of
2255         compare_memfun
2256         (getBuffer): ditto
2257         * lyxtextclasslist.C (NumberOfClass): ditto
2258
2259         * cursor.C (insert): use for_each instead of explicit for loop
2260
2261         * bufferlist.C (getFileNames): use std::transform and
2262         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2263
2264         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2265         for loop
2266
2267         * buffer.C (changeLanguage): use for_each instead of explicit for
2268         loop
2269         (hasParWithID): implement using getParFromID
2270
2271         * LaTeXFeatures.C: ws change only
2272
2273         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2274         to cleanup a bit.
2275
2276         * BufferView_pimpl.C (trackChanges): use for_each instead of
2277         expilicit for loop
2278
2279 2004-11-04  André Pönitz  <poenitz@gmx.net>
2280
2281         * undo.h:
2282         * undo.C (textUndoOrRedo): fix crash when creating undo information.
2283
2284         * dociterator.C (asDocIterator): use hard assert again.
2285
2286 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2287
2288         * lyxlength.C (asLatexString): rewrite so that it does not use
2289         snprintf anymore
2290
2291 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2292
2293         * text3.C (specialChar, dispatch): make sure cursor moves to the
2294         right after inserting an inset
2295
2296 2004-11-02  José Matos  <jamatos@lyx.org>
2297
2298         * output_docbook.C (docbook):
2299         * paragraph.C (getID):
2300         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2301         garantee that the output is always legal.
2302
2303         * tabular.C (docbook):
2304         * outputprams.[Ch]: remove mixed contents.
2305
2306 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2307
2308         * text2.C (setCounter): prevent endless loop
2309
2310 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2311
2312         * exporter.C (copyFile): use the mover instead of support::copy()
2313         * exporter.C (Export): pass format and latex name to copyFile()
2314         * exporter.h (addExternalFile): document
2315         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2316
2317 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2318
2319         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2320
2321 2004-10-30  José Matos  <jamatos@lyx.org>
2322
2323         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2324         text and no inset or font change. This allows to use CDATA
2325         sections just for the whole paragraph.
2326
2327 2004-10-30  José Matos  <jamatos@lyx.org>
2328
2329         * paragraph.C (getFirstWord): remove unused variable.
2330
2331 2004-10-30  José Matos  <jamatos@lyx.org>
2332
2333         * paragraph.C (getFirstWord): the content should always be escaped
2334         there.
2335         (simpleDocBookOnePar):
2336         * output_docbook.C (makeEnvironment): replace reference to CDATA
2337         to style pass_thru.
2338
2339 2004-10-30  José Matos  <jamatos@lyx.org>
2340
2341         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2342
2343 2004-10-30  José Matos  <jamatos@lyx.org>
2344
2345         * output_docbook.C (makeParagraphs):
2346         * paragraph.[Ch] (emptyTag): for docbook and company, if the
2347         standard paragraph has only a given type of content drop the wrapper.
2348
2349 2004-10-29  José Matos  <jamatos@lyx.org>
2350
2351         * output_docbook.C (makeEnvironment):
2352         * sgml.C (openTag):
2353         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2354
2355 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
2356
2357         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2358         (cleanID): sanitize any id.
2359
2360 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2361
2362         * buffer.C, lyxlex_pimpl.C:
2363         * lyxlex_pimpl.C (setFile):
2364         s/getExtFromContents/getFormatFromContents/
2365
2366 2004-10-28  José Matos  <jamatos@lyx.org>
2367
2368         * output_docbook.C (makeEnvironment): move id to broadest possible
2369         scope.
2370
2371         * sgml.C (openTag): apply substitution of <> for all attributes.
2372
2373 2004-10-28  José Matos  <jamatos@lyx.org>
2374
2375         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2376         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2377         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2378
2379         * sgml.[Ch]: new version for open and closeTag for paragraph and
2380         for strings. Now they handle the ids of paragraphs.
2381
2382 2004-10-26  Angus Leeming  <leeming@lyx.org>
2383
2384         * Makefile.am: add mover.[Ch].
2385
2386         * converter.C (convert, move): use the new Movers to move external
2387         files to the temp directory.
2388
2389         * lyx_main.C (init): ensure that the global system_movers data
2390         is initialised.
2391
2392         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2393         preferences file.
2394
2395         * mover.[Ch]: new files, defining a Mover as a utility to move an
2396         external file between directories and, if necessary, manipulate this
2397         file using a helper script.
2398
2399 2004-10-25  José Matos  <jamatos@lyx.org>
2400
2401         * output_docbook.C (makeCommand): merge two if's that tested the
2402         same condition.
2403
2404 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2405
2406         * sgml.C (escapeString): fix warning in a better way
2407
2408 2004-10-25  José Matos  <jamatos@lyx.org>
2409
2410         * sgml.C (escapeString): import the require boosts header file for
2411         tie, and avoid a signed unsigned comparison.
2412
2413 2004-10-25  José Matos  <jamatos@lyx.org>
2414
2415         * sgml.h: add #include <string>
2416
2417 2004-10-25  José Matos  <jamatos@lyx.org>
2418
2419         * sgml.[Ch] (escapeString): new function to escape all the string.
2420
2421 2004-10-24  José Matos  <jamatos@lyx.org>
2422
2423         * paragraph.[Ch] (getFirstWord): new function to get the first
2424         word. Useful for description.
2425         (simpleDocBookOnePar): remove depth argument, add another that
2426         says where to start the paragraph.
2427
2428         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2429         use the new functions to fix cleanly the support for descriptions.
2430
2431 2004-10-24  José Matos  <jamatos@lyx.org>
2432
2433         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2434         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2435         * output_linuxdoc.C (linuxdocParagraphs):
2436         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2437         add buffer as argument.
2438
2439 2004-10-24  José Matos  <jamatos@lyx.org>
2440
2441         * output_docbook.C (makeEnvironment, searchEnvironment): place
2442         CDATA inside paragraphs and fix scope for listitems.
2443
2444 2004-10-24  José Matos  <jamatos@lyx.org>
2445
2446         * output_docbook.C: remove using statement for stack.
2447
2448 2004-10-23  José Matos  <jamatos@lyx.org>
2449
2450         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2451         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2452         docbook. The new scheme is recursive and makes use of iterators, the
2453         same as latex export works.
2454         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2455         directly with the paragraph contents. This code was moved up to
2456         output_docbook.C (docbookParagraphs).
2457         * sgml.C (openTag, closeTag): removed unneeded newlines.
2458         (closeEnvTags) removed.
2459
2460 2004-10-23  André Pönitz  <poenitz@gmx.net>
2461
2462         * undo.C (textUndoOrRedo):
2463         * dociterator.C (asDocIterator): work around crash
2464
2465         * cursor.C (getStatus): replace ASSERT by more verbose error message
2466           and manual correction of the problem. Should increase stability
2467           while providing more sensible information.
2468
2469 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2470
2471         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2472
2473         * bufferlist.C (previous, next): new methods
2474
2475         * lfuns.h:
2476         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2477
2478 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
2479
2480         * buffer.C (makeDocBookFile): add dsssl stylesheet control
2481         entities to preamble.
2482
2483 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2484
2485         * messages.C (Pimpl): strip off translation context information
2486
2487 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2488
2489         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2490         the cursor is correct (bug 1694)
2491
2492 2004-10-13  José Matos  <jamatos@lyx.org>
2493
2494         * output_docbook.C (docbookParagraphs): fix closing tags in the
2495         end of the document.
2496
2497 2004-10-09  José Matos  <jamatos@lyx.org>
2498
2499         * buffer.C: format up to 237.
2500         * bufferparams.C (write): use tostr to convert booleans to strings.
2501
2502 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
2503
2504         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2505
2506 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
2507
2508         * LaTeX.C: implement use of babel language in xindy.
2509
2510 2004-10-05  José Matos  <jamatos@lyx.org>
2511
2512         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2513         Add new translators to help reading and writing the lyx file.
2514
2515 2004-10-05  José Matos  <jamatos@lyx.org>
2516
2517         * ParagraphParameters.C (read):
2518         * text.C (readParToken): replace nexToken by more appropriate lex
2519         methods.
2520
2521 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
2522
2523         * LaTeX.C (runMakeIndex):
2524         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2525         (usually 'makeindex') configurable.
2526
2527         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2528         with a variable rather than with a number.
2529
2530 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2531
2532         * output_latex.C (TeXOnePar): make sure font setting is the first
2533         thing that gets output (and the last at the end). Should fix bug
2534         1404.
2535
2536 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2537
2538         * pch.h: use proper signal include
2539
2540         * LaTeX.h: Use preferred calling of Boost.Signal
2541         * buffer.h: ditto
2542
2543 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2544
2545         * pch.h: dont include <boost/function/function0.hpp>
2546
2547         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2548
2549         * paragraph_pimpl.h: remove usage of ShareContainer
2550
2551         * paragraph_pimpl.C: remove initialization of ShareContainer.
2552
2553 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2554
2555         Fix bug #1666
2556
2557         * BufferView.C (putSelectionAt): change the semantics when
2558         backwards == true: now, this just swaps cursor and anchor wrt the
2559         forward case
2560
2561         * BufferView.h (putSelectionAt): add some documentation
2562
2563         * lyxfind.C (findBackwards): rewrite using while(). In particular,
2564         make sure backwardChar is done at least once (to avoid getting
2565         stuck)
2566         (findNextChange): use putSelectionAt in the forward direction
2567         (operator()): use Paragraph::isWord
2568
2569 2004-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2570
2571         * Spacing.C (set): c_str fix
2572
2573 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2574
2575         * lyx_cb.C (Reconfigure): quote the name of configure script in
2576         case it contains spaces
2577
2578 2004-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2579
2580         * client: new dir
2581
2582         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2583         (BOOST_LIBS): use top_buildir when looking for the file
2584
2585 2004-08-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2586
2587         * pch.h: do not use include boost/format.hpp, multiple symbols
2588                 will result (gcc bug)
2589
2590
2591 2004-08-23  José Matos  <jamatos@lyx.org>
2592
2593         * bufferparams.C (readToken): fix reading of the author field.
2594
2595 2004-08-20  José Matos  <jamatos@lyx.org>
2596
2597         * lyxrc.C: remove support/translator.h inclusion since it is not used.
2598
2599 2004-08-20  José Matos  <jamatos@lyx.org>
2600
2601         * lyxlex.[Ch] (findToken): remove function.
2602
2603         * ParagraphParameters.C (findToken):
2604         * bufferparams.C (findToken): replace call for previous function
2605         with local copy. This local function has one more argument, the
2606         read string argument.
2607
2608 2004-08-16  José Matos  <jamatos@lyx.org>
2609
2610         * ParagraphParameters.C (write):
2611         * Spacing.C (writeFile):
2612         * bufferparams.C (writeLaTeX):
2613         * lyx_cb.C (Reconfigure):
2614         * paragraph.C (write):
2615         * tabular.C (write): remove unnecessary space at end of line.
2616
2617
2618 2004-08-16  José Matos  <jamatos@lyx.org>
2619
2620         * text.C (readParagraph): remove debug message.
2621
2622 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2623
2624         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2625         crash
2626
2627         * output_plaintext.C (asciiParagraph): set depth correctly
2628
2629         * outputparams.h: add member depth
2630
2631         * paragraph_funcs.C (ownerPar): remove.
2632
2633         * text2.C (setCounter): remove first_pit; comment out some
2634         non-working code that uses ownerPar
2635
2636         * BufferView.C (getParentLanguage): remove. Not used anymore, and
2637         uses ownerPar
2638
2639 2004-08-16  José Matos  <jamatos@lyx.org>
2640
2641         * text.C (readParToken, readParagraph, read): report all unknown tokens.
2642         For the same level of importance use the same chanel to report problems.
2643         (read): add code to deal with \begin_body and \end_body.
2644
2645
2646 2004-08-15  José Matos  <jamatos@lyx.org>
2647
2648         * lyxlex.C (getString): fix comment, buffer::readBody is now
2649         buffer:readDocument.
2650
2651         * tex-strings.C (string_papersize): Default -> default,
2652         Custom -> custom, for consistency with other options.
2653
2654 2004-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2655
2656         * pch.h: new file
2657
2658         * Makefile.am: support pch
2659
2660 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2661
2662         * text.C (readParToken): remove the static LyXFont variable and
2663         pass it as a parameter instead. This fixes a nasty bug where an
2664         inset will be inserted with a bad font in some situations
2665         (readParagraph): adapt
2666
2667         * text2.C (setCounter): reduce number of calls to pars_[pit]
2668
2669         * text.C (singleWidth): add an assert, fix a test
2670
2671         * rowpainter.C (paintText): reduce number of calls to singleWidth
2672
2673         * paragraph.C (isHfill):
2674         (isNewline): ws only
2675
2676 2004-08-14  André Pönitz  <poenitz@gmx.net>
2677
2678         * text.C:
2679         * text2.C:
2680         * rowpainter.C:
2681         * lyxtext.h (several functions): use a Paragraph & argument
2682         instead of par_type
2683
2684 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2685
2686         * metricsinfo.h: add a new field ltr_pos to PainterInfo
2687
2688         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2689
2690         * text.C (singleWidth): remove useless test
2691
2692 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2693
2694         * tabular.h: remove bogus comments
2695
2696         * tabular.C (getDescentOfRow):
2697         (isPartOfMultiColumn): add assertions
2698
2699         * lyxlength.C (inPixels): remove #warning
2700
2701 2004-08-14  André Pönitz  <poenitz@gmx.net>
2702
2703         * paragraph.h: inline getChar()
2704
2705         * BufferView.h: remove unused declarations
2706
2707 2004-08-14  José Matos  <jamatos@lyx.org>
2708
2709         * Buffer.[Ch] (readDocument): new name for old readBody.
2710         * Buffer.C: new file format, new keywords: \begin_document,
2711         \begin_header, \begin_body, \end_body.
2712
2713         * bufferparams.C (readToken): replace all calls to lex.nextToken
2714         by lex.next(). Do the same to eatLine except where really needed.
2715
2716         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2717         line when writing to the lyx file.
2718
2719         * output_plaintext.C (asciiParagraph): fix Bibliography style
2720         handling.
2721
2722         * text.C (read): fix end of file handling.
2723
2724 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2725
2726         * MenuBackend.C (Menu::operator[]): new method to access
2727         individual menu items
2728         (Menu::hasFunc): new method. search for an item that corresponds
2729         to a given func
2730         (MenuBackend::specialMenu): new method
2731         (MenuBackend::expand): if a special menu has been set, skip
2732         entries whose func() appears in this menu
2733
2734 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2735
2736         * text3.C: use Debug::DEBUG a bit more
2737
2738         * text.C (leftMargin): try to simplify a tiny bit change var x to
2739         l_margin. Dont output the wide margins always.
2740         (rightMargin): no margin in inner texts
2741
2742         * rowpainter.h (nestMargin): new func
2743         (changebarMargin): new func
2744         (rightMargin): new func
2745
2746         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2747         now functions.
2748         (paintLast): ditto
2749
2750         * factory.C (createInset): modify setDrawFrame
2751
2752         * cursor.C: use Debug::DEBUG a bit more
2753
2754 2004-08-14  André Pönitz  <poenitz@gmx.net>
2755
2756         * coordcache.[Ch]:
2757         * Makefile.am: new files to accomodate an 'external' (x,y)-position
2758         cache for all insets in (at least partially) visible (top-level)
2759         paragraphs.
2760
2761         * BufferView_pimpl.C: reset external coord cache before every update.
2762         This means the coord cache only contains valid entries.
2763
2764 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2765
2766         bug 1096
2767         * BufferView_pimpl.C (getInsetByCode): move function out of class
2768         and change in to a template in anon namespace. Also fix to do what
2769         suits us better.
2770
2771 2004-08-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
2772
2773         bug 1305
2774         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2775         of char
2776         (breakParagraph): rename par to par_offset and use a local
2777         reference. Add code to keep the language over a rebreak.
2778         (breakParagraphConservative): rename par to par_offset, use a
2779         local reference
2780         (mergeParagraph): ditto
2781         (outerHook): ditto
2782         (isFirstInSequence): ditto
2783         (outerFont): rename pit to par_offset
2784
2785         * paragraph.C: ws change
2786         * paragraph.h: ditto
2787         * text3.C: ditto
2788         * text.C: ditto
2789
2790 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2791
2792         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2793         treatment for ']'
2794
2795         * paragraph.C (simpleTeXOnePar): when we have a \item with
2796         optional argument, enclose the argument with curly brackets (in
2797         case it contains a closing square bracket)
2798
2799         * text2.C (editXY):
2800         * text2.C (editXY):
2801         * text3.C (checkInsetHit): constify
2802
2803 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2804
2805         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2806         documents (bug 1629)
2807
2808 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2809
2810         Fix toggling of collapsable insets with the mouse (bug 1558)
2811
2812         * lyxfunc.C (dispatch): adapt to LCursor changes
2813
2814         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2815         make sure that dispatch is not invoked twice
2816
2817         * cursor.C (needsUpdate): new method
2818         (dispatch): return void
2819         (result): new method, to access the DispatchResult of the cursor.
2820
2821 2004-08-13  José Matos  <jamatos@lyx.org>
2822
2823         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2824
2825 2004-08-13  André Pönitz  <poenitz@gmx.net>
2826
2827         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2828
2829         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2830           multiple cells
2831
2832 2004-08-12  André Pönitz  <poenitz@gmx.net>
2833
2834         * text3.C: take out the 'cursor right' form insertInset and only
2835         do it in those places when it is really needed. Fixes crash on
2836         C-m...
2837
2838 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2839
2840         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2841
2842         * BufferView_pimpl.C (setBuffer): initialize the current font of
2843         the underlying LyXText
2844
2845 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2846
2847         * kbsequence.C (print): use UI native formatting for menu
2848         shortcuts
2849
2850         * text.C (insertChar): call Paragraph::insertChar with a font
2851         argument (cosmetic)
2852
2853         * paragraph.C (insertInset, insertChar): the version that takes a
2854         LyXFont argument is now a wrapper around the other one (the
2855         opposite used to be true).
2856
2857         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2858         argument. Font setting is done in Paragraph now.
2859
2860 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2861
2862         * outputparams.h: add new members intitle and lang.
2863
2864         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2865         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2866
2867 2004-08-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2868
2869         * text3.C (dispatch): remove special handling of button 4 and 5,
2870         it is now taken care of in the frontend code.
2871
2872 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2873
2874         * Spacing.h: add <string> (STLPort compile fix)
2875
2876 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2877
2878         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2879
2880 2004-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2881
2882         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2883         to bool.
2884
2885         * converter.C (showMessage): inherit from unary_function, make
2886         operator() const.
2887
2888         * buffer.C (writeFile): initialize retval
2889
2890         * InsetList.h: rename private variable list to list_
2891         * InsetList.[Ch]: adjust accordingly.
2892
2893 2004-07-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2894
2895         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2896         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2897         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2898         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2899         * ParagraphParameters.C, LaTeXFeatures.C: replace
2900         "support/std_sstream.h" with <sstream>
2901
2902 2004-07-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2903
2904         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2905         * lyxsocket.C (LyXServerSocket): ditto
2906         (serverCallback): ditto
2907
2908 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2909
2910         * LaTeXFeatures.C: check release date when loading jurabib.
2911
2912 2004-07-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2913
2914         * lyxserver.C (startPipe): call register_socket_callback
2915         (endPipe): call unregister_socket_callback
2916
2917 2004-07-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2918
2919         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2920         (LyXServerSocket): register the callback
2921         (LyXServerSocket): unregister the callback
2922         (fd): delete function
2923         (serverCallback): improve error checking and setup the callbacks.
2924         (dataCallback): change arg to fd.
2925         (writeln): new func (copied fro the client socket) used for server
2926         write to client.
2927         (LyXDataSocket): simplify
2928         (~LyXDataSocket): close ann unregiser callback
2929         (server): delete function
2930         (fd): delete function
2931         (readln): small changes, improve some std::string usage
2932         (writeln): constify a bit
2933
2934 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2935
2936         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2937         Qt frontend
2938
2939 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2940
2941         * BufferView_pimpl.C (setBuffer): set the layout combox value only
2942         after it has been populated
2943
2944 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2945
2946         * text2.C (insertInset): move cursor when inserting inset.
2947
2948 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2949
2950         * kbmap.C (findbindings): a couple of new methods. returns a
2951         container of kb_sequence objects. The real work is done by the
2952         private recursive version
2953         (printbindings): uses findbindings to print out a bracketed list
2954         of bindings (renamed from findbinding).
2955
2956         * MenuBackend.C (binding): use kb_keymap::findbindings
2957
2958         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2959
2960 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2961
2962         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2963
2964 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2965
2966         * paragraph.C (isWord): return true on insets that report
2967         isLetter().
2968
2969         * text.C (getWord): use Paragraph::isWord to decide what is in a
2970         word and what is not; fix bug 1609.
2971
2972 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2973
2974         * tex-strings.C: add "none" to string_paperpackages[], fixes
2975         off-by-one-error in the paperpackage selection.
2976
2977         * lyxlex.[Ch]:
2978         * tex-strings.[Ch]: char const * string[n]
2979         -> char const * const string[]
2980
2981 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2982
2983         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2984         command, return early.
2985
2986 2004-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2987
2988         * debug.h: add DEBUG to enum and fix size of ANY.
2989
2990         * debug.C: add support for Debug::DEBUG
2991         (showTags): cast errorTags.level to unsigned int
2992
2993         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2994         (redoCurrentBuffer): ditto
2995         (updateScrollbar): ditto
2996         * cursor.C (dispatch): ditto
2997         * text2.C (setLayout): ditto
2998         (setFont): ditto
2999         (updateCounters): ditto
3000         (editXY): ditto
3001         (deleteEmptyParagraphMechanism): ditto
3002
3003 2004-06-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3004
3005         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
3006         annotations to cleanup the Makefile slightly.
3007
3008 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3009
3010         * lyxrc.C: do not set user_email to a default value but use empty
3011         instead. The entry used to be translated, which does not work
3012         since at the point where lyxrc is constructed there is no
3013         translation service available
3014
3015         * messages.C (getLocaleDir): remove and use directly
3016         lyx_localedir() instead
3017
3018 2004-06-02  Angus Leeming  <leeming@lyx.org>
3019
3020         Fix crash caused by dereferencing null pointer 'exportdata' in
3021         OutputParams by creating a new ExportData variable on the heap,
3022         storing it in a boost::shared_ptr.
3023         The crash was triggered when generating an Instant Preview
3024         of an external inset.
3025
3026         * Makefile.am: add outputparams.C
3027
3028         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
3029         (c-tor): allocate memory to it.
3030
3031         * exporter.C (c-tor): associated changes.
3032
3033 2004-06-01  Angus Leeming  <leeming@lyx.org>
3034
3035         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
3036         contains data before calling isInset(0). (Bug 1513.)
3037
3038 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3039
3040         * exporter.C (checkOverwrite): new method
3041         * exporter.C (copyFile): new method
3042         * exporter.C (Export): copy referenced files to the document dir
3043         * exporter.[Ch]: new class ExportedFile
3044         * exporter.[Ch]: new class ExportData. Contains currently the
3045         names of referenced external files
3046         * outputparams.h: add exportdata member.
3047
3048 2004-05-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3049
3050         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
3051         version.C-tmp
3052
3053 2004-05-19  Angus Leeming  <leeming@lyx.org>
3054
3055         * LaTeXFeatures.C:
3056         * ToolbarBackend.C:
3057         * bufferparams.C:
3058         * lyxfunc.C: small changes due to the introduction of namespace
3059         lyx::frontend and the moving of namespace biblio to lyx::biblio.
3060
3061 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
3062
3063         * text3.C (dispatch): supress update when only moving the cursor
3064         * cursor.C (selHandle): remove commented code
3065
3066 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3067
3068         * paragraph.C (startTeXParParams): correct column count
3069         * CutAndPaste.C (pasteSelection): remove const_cast
3070         * output_docbook.C (docbookParagraphs): remove const_cast
3071         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
3072         const_cast and return ParagraphList::const_iterator
3073         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
3074         * output_plaintext.C (writeFileAscii): remove const_cast
3075         * paragraph.[Ch] (simpleTeXOnePar): make const
3076         * paragraph_funcs.C (outerPar): use const iterators
3077         * paragraph_pimpl.C (validate): use const iterators
3078         * text.C (setHeightOfRow): use const iterators
3079
3080 2004-05-17  Angus Leeming  <leeming@lyx.org>
3081
3082         * lfuns.h:
3083         * LyXAction.C (init): new LFUN_INSET_REFRESH.
3084
3085         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
3086         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
3087         if the citation engine has changed.
3088
3089 2004-05-14  José Matos  <jamatos@lyx.org>
3090
3091         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
3092         if the textclass does not provide it. Have it different for sgml and
3093         xml.
3094         support the language of document.
3095         * output_docbook.C (docbookParagraphs):
3096         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
3097         first anchor as the id of the paragraph, remove special case code.
3098         * sgml.C (escapeChar): escape only < & >.
3099
3100 2004-05-14  Angus Leeming  <leeming@lyx.org>
3101
3102         * bufferparams.h: move biblio::CiteEngine enum here to minimize
3103         dependencies on src/frontends/controllers/biblio.h. Define a
3104         CiteEngine_enum wrapper class to enable the enum to be forward
3105         declared.
3106
3107 2004-05-12  Angus Leeming  <leeming@lyx.org>
3108
3109         * buffer.C: up LYX_FORMAT to 234.
3110         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
3111         use_numerical_citations with a single biblio::CiteEngine cite_engine
3112         variable.
3113         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
3114
3115 2004-05-13  José Matos  <jamatos@lyx.org>
3116
3117         * converter.h:
3118         * converter.C (Converter, readFlags): add xml member.
3119         * outputparams.h: add XML flavor.
3120         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
3121
3122 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3123
3124         * lyxfunc.C (dispatch):
3125         (getStatus): fix handling of LFUN_SEQUENCE
3126
3127 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3128
3129         * debug.C (showLevel): do not forget the end-of-line marker
3130
3131 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3132
3133         * kbmap.C (read): do not stop parsing a bind file when an error
3134         occurs (bug 1575)
3135
3136 2004-04-29  Angus Leeming  <leeming@lyx.org>
3137
3138         * cursor.C:
3139         * factory.C:
3140         * pariterator.C:
3141         * text2.C: wrap a bunch of #warning statements
3142         inside #ifdef WITH_WARNINGS blocks.
3143
3144 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3145
3146         * buffer.C: increment format to 233.
3147
3148 2004-04-28  Angus Leeming  <leeming@lyx.org>
3149
3150         * BufferView_pimpl.C:
3151         * lyxfunc.C:
3152         * text3.C:
3153         s/updateToolbar()/updateToolbars()/
3154         s/Toolbar.h/Toolbars.h/
3155
3156 2004-04-28  Angus Leeming  <leeming@lyx.org>
3157
3158         * BufferView.[Ch] (c-tor):
3159         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
3160         No longer passes these data to the WorkArea generator.
3161
3162 2004-04-28  Angus Leeming  <leeming@lyx.org>
3163
3164         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
3165
3166 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3167
3168         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
3169
3170 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3171
3172         * output_latex.C (TeXEnvironment): make sure that there is a line
3173         break before \end{foo} for the last paragraph of a document
3174         (TeXOnePar): if the paragraph is at the end of the document (or
3175         inset) and the language has to be reset, then make sure that the
3176         line break is _before_ the language command, not after (fixes bug
3177         1225); also make sure that the language reset command is the first
3178         thing after the paragraph (to ensure proper nesting of
3179         environments and thus fix bug 1404)
3180
3181 2004-04-21  John Levon  <levon@movementarian.org>
3182
3183         * ToolbarBackend.h:
3184         * ToolbarBackend.C: make "name" be a programmatic name
3185         and a gui_name field.
3186
3187         * lyxfunc.C: display the minibuffer on M-x
3188
3189 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3190
3191         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3192         (bug 1526)
3193
3194 2004-04-19  Angus Leeming  <leeming@lyx.org>
3195
3196         * BufferView_pimpl.C (setBuffer): changed preview interface.
3197
3198         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3199         possible values.
3200
3201 2004-04-19  John Levon  <levon@movementarian.org>
3202
3203         * BufferView_pimpl.C:
3204         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3205
3206 2004-04-05  Angus Leeming  <leeming@lyx.org>
3207
3208         * text.C (redoParagraphs): add call to updateCounters(), thereby
3209         fixing the missing "Figure #:" label from the caption of a
3210         figure float.
3211
3212 2004-04-13  Angus Leeming  <leeming@lyx.org>
3213
3214         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3215         cursor is clicked out of an inset.
3216
3217 2004-04-13  Angus Leeming  <leeming@lyx.org>
3218
3219         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3220         than an InsetOld one.
3221
3222 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3223
3224         * format.[Ch]: add editor to Format
3225         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3226         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3227
3228 2004-04-08  André Pönitz  <poenitz@gmx.net>
3229
3230         * metricsinfo.h: remove PainterInfo::width member
3231
3232 2004-04-08  Angus Leeming  <leeming@lyx.org>
3233
3234         * lyx_sty.C (boldsymbol_def): modify so that it outputs
3235         "\providecommand" rather than "\newcommand", thereby preventing
3236         clashes with packages that define "\boldsymbol" themselves.
3237         Eg, beamer.
3238
3239 2004-04-08  Angus Leeming  <leeming@lyx.org>
3240
3241         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3242         thereby squashing an unnecessary warning.
3243
3244 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3245
3246         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3247         setBuffer()
3248
3249 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
3250
3251         * BufferView.C (setCursor): call redoParagraph (some insets could
3252         have been opened)
3253         (putSelectionAt): remove the 'double update' trick
3254
3255         * BufferView_pimpl.C (fitCursor): call refreshPar
3256         (workAreaDispatch): remove an uneeded update call
3257         (dispatch): remove some manual update calls
3258
3259         * cursor.[Ch]: remove cached_y_, updatePos
3260         (selHandle): set noUpdate when appropriate
3261
3262         * lyxfunc.C (dispatch): track if we need an update
3263
3264         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3265
3266         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3267         (paintSelection): cheap optimization, do not call cursorX when not
3268         needed
3269         (paintPars): change signature
3270         (refreshPar): add
3271         (paintText): adjust
3272         (paintTextInset): adjust
3273
3274         * text.C: adjust
3275
3276 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3277
3278         * lengthcommon.C: compilation fix: remove explicit array size from
3279         unit_name[] and friends
3280
3281 2004-04-05  Angus Leeming  <leeming@lyx.org>
3282
3283         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3284
3285         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3286         present only for the preferences dialog.
3287         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3288
3289 2004-04-05  Angus Leeming  <leeming@lyx.org>
3290
3291         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3292         to enable the frontends to export changes to lyxrc correctly.
3293
3294         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3295
3296 2004-04-07  André Pönitz  <poenitz@gmx.net>
3297
3298         * cursor.[Ch] (selClear, adjust): remove math
3299
3300         * cursor_slice.C: more agressive assert
3301
3302         * lyxfunc.C:
3303         * BufferView_pimpl.C: rework mouse event dispatch
3304
3305         * dociterator.C:
3306         * paragraph.C:
3307         * text2.C:
3308         * text3.C: adjust
3309
3310 2004-04-05  André Pönitz  <poenitz@gmx.net>
3311
3312         * cursor.[Ch] (valign, halign...): remove unneeded functions
3313
3314 2004-04-05  Angus Leeming  <leeming@lyx.org>
3315
3316         * lyxlength.[Ch] (unit_name et al.): const-correct.
3317
3318 2004-04-05  Angus Leeming  <leeming@lyx.org>
3319
3320         * BufferView_pimpl.C:
3321         * buffer.C:
3322         * counters.C:
3323         * cursor.C:
3324         * lyxfunc.C
3325         * paragraph.C:
3326         * pariterator.C:
3327         * text.C:
3328         * text2.C:
3329         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3330
3331 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3332
3333         * text3.C (getStatus): add LFUN_BEGINNINGBUF
3334
3335 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3336
3337         * lyxfind.C: add a couple of inTexted() tests + other small fixes
3338         * BufferView_pimpl.[Ch] (getStatus)
3339         * BufferView.[Ch] (getStatus): add
3340         * lyxfunc.C (getStatus): move lfuns handled in
3341         BufferView::dispatch to te function above
3342         * Cursor.C (setSelection): set selection() = true
3343
3344 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3345
3346         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3347
3348 2004-03-31  Angus Leeming  <leeming@lyx.org>
3349
3350         * lyxfunc.C (dispatch): Fall through to the generic
3351         Dialogs::show("preamble").
3352
3353 2004-03-31  Angus Leeming  <leeming@lyx.org>
3354
3355         * lyxfunc.C (dispatch): Fall through to the generic
3356         Dialogs::show("spellchecker").
3357
3358 2004-03-31  Angus Leeming  <leeming@lyx.org>
3359
3360         * lyxfunc.C (getStatus, dispatch): changed invocation of the
3361         preferences dialog.
3362
3363 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3364
3365         * BufferView.C
3366         * cursor.[Ch]
3367         * dociterator.[Ch]:
3368         * insetiterator.[Ch]:
3369         * lyxfind.C:
3370         * lyxfunc.C:
3371         * pariterator.[Ch]:
3372         * text2.C:
3373         * undo.[Ch]: s/DocumentIterator/DocIterator/g
3374
3375 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3376
3377         * BufferView.C (setCursor, putSelectionAt): call edit to open the
3378         insets where we are putting the cursor.
3379
3380 2004-03-31  Angus Leeming  <leeming@lyx.org>
3381
3382         * lfuns.h:
3383         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3384
3385         * lyxrc.[Ch] (read, write): overloaded member functions taking
3386         a std::[io]stream arguments.
3387
3388         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3389
3390 2004-03-31  Angus Leeming  <leeming@lyx.org>
3391
3392         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3393         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3394
3395         * lyxtextclass.C (load): if the text class couldn't be loaded, then
3396         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3397
3398 2004-03-31  Angus Leeming  <leeming@lyx.org>
3399
3400         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3401         the LFUN_ALL_INSETS_TOGGLE code.
3402
3403 2004-03-30  Angus Leeming  <leeming@lyx.org>
3404
3405         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3406         has died. Fall through to the generic Dialogs::show("document").
3407
3408 2004-03-30  Angus Leeming  <leeming@lyx.org>
3409
3410         * lfuns.h:
3411         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3412         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3413
3414         * lyxfunc.C (getStatus, dispatch): define the actions for these
3415         lfuns. Little more than a cut and pste job from ControlDocument.C
3416
3417         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3418
3419 2004-03-30  Angus Leeming  <leeming@lyx.org>
3420
3421         * lfuns.h:
3422         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3423         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3424
3425         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3426         open/closed state of ollapsable insets. Usage:
3427
3428         all-inset-toggle <state> <name>, where
3429         <state> == "open" || "closed" || "toggle" and
3430         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3431
3432         * lyxtext.h, text2.C (toggleInset): removed.
3433
3434         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3435         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3436         now passes LFUN_INSET_TOGGLE to the found inset.
3437
3438         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3439         is now invoked as "all-insets-toggle toggle branch".
3440
3441 2004-03-30  Angus Leeming  <leeming@lyx.org>
3442
3443         * dociterator.C:
3444         * insetiterator.C:
3445         * pariterator.[Ch]: added/corrected header blurb.
3446
3447 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
3448
3449         * dociterator.[Ch]: add an inset_ member
3450         (backwardPos): implemented
3451         (backwardPos, forwardPos): use inset_ when the stack is empty.
3452         (doc_iterator_begin, doc_iterator_end): implemented
3453         * pariterator.[Ch]: adjust, add begin, end
3454         * insetiterator.[Ch]: adjust, add begin, end
3455         * cursor.C:
3456         * document.C:
3457         * BufferView.C:
3458         * BufferView_pimpl.C:
3459         * CutAndPaste.C: adjust
3460
3461 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3462
3463         * buffer.C: increment file format to 232.
3464         * LaTeXFeatures.C: add bibtopic package.
3465         * bufferparams.[Ch]: param \use_bibtopic.
3466
3467         * lyxrc.[Ch]: add lyxrc bibtex_command
3468         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3469
3470         * buffer.C: increment file format to 231.
3471
3472 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3473
3474         * dociterator.C: implement forwardPar
3475         * iterators.[Ch]: remove, replaced by
3476         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3477         * BufferView.C:
3478         * BufferView_pimpl.C:
3479         * CutAndPaste.C:
3480         * buffer.C:
3481         * bufferview_funcs.C:
3482         * cursor.C:
3483         * lyxfind.C
3484         * lyxfunc.C
3485         * paragraph_funcs.C
3486         * toc.C:
3487         * Makefile.am: adjust
3488
3489 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3490
3491         * CutAndPaste.C (pasteSelection): fix 2 crashes
3492         (eraseSelection): fix a crash
3493         * paragraph_funcs.C: remove a warning
3494
3495 2004-03-28  Angus Leeming  <leeming@lyx.org>
3496
3497         * lfuns.h:
3498         * LyXAction.C (init): new LFUN_PRINT.
3499
3500         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3501
3502 2004-03-27  Angus Leeming  <leeming@lyx.org>
3503
3504         * lfuns.h:
3505         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3506
3507         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3508
3509 2004-03-27  Angus Leeming  <leeming@lyx.org>
3510
3511         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3512         insetlist always contains non-null pointers to insets.
3513
3514 2004-03-26  Angus Leeming  <leeming@lyx.org>
3515
3516         * src/BufferView_pimpl.C:
3517         * src/CutAndPaste.C:
3518         * src/buffer.C:
3519         * src/iterators.C:
3520         * src/output_plaintext.C:
3521         * src/outputparams.h:
3522         * src/paragraph_funcs.C:
3523         * src/rowpainter.C:
3524         * src/text.C:
3525         * src/text2.C:
3526         * src/frontends/controllers/ControlErrorList.C:
3527         * src/frontends/gtk/FileDialogPrivate.C:
3528         * src/frontends/gtk/GPainter.C:
3529         * src/frontends/gtk/GToolbar.C:
3530         * src/frontends/qt2/QRef.C:
3531         * src/mathed/math_scriptinset.C: squash compiler warnings.
3532
3533 2004-03-26  Angus Leeming  <leeming@lyx.org>
3534
3535         * ispell.C (LaunchIspell::start):
3536         * lyx_cb.C (AutoSaveBuffer::start):
3537         invoke run(DontWait) rather than runNonBlocking().
3538
3539 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
3540
3541         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3542
3543 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3544
3545         * kbsequence.C (print): adjust
3546
3547         * kbmap.C (printKeySym): rename and change signature
3548         (printKey): use LyXKeySym::print()
3549
3550 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
3551
3552         * undo.C: add using std::advance to compile for stlport
3553
3554 2004-03-24  Angus Leeming  <leeming@lyx.org>
3555
3556         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3557         it leads to a crash when no buffer is present.
3558
3559 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3560             Martin Vermeer  <martin.vermeer@hut.fi>
3561
3562         * lyxfunc.C (dispatch):
3563         * bufferparams.C (readToken): use the new LColor::setColor
3564
3565         * LColor.[Ch] (setColor): new version that takes two strings as
3566         argument and creates a new color entry if necessary
3567
3568 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3569
3570         * buffer.C (makeLaTeXFile): if the main latex file that is
3571         processed is usually a subdocument of some master, then pretend
3572         for a while that it is actually the master
3573
3574 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3575
3576         * buffer.C (getLabelList):
3577         (getBibkeyList): use getMasterBuffer()
3578         (getMasterBuffer): new method. Returns the main document in the
3579         case where one is using included documents.
3580
3581 2004-03-25  André Pönitz  <poenitz@gmx.net>
3582
3583         * Makefile.am:
3584         * iterators.[Ch]:
3585         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3586
3587         * ParagraphList_fwd.h: change ParagraphList to a std::vector
3588
3589         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3590         text*.C over here. Rename namespace CutAndPaste to lyx::cap
3591
3592         * ParameterStruct.h: merge with ParagraphParameters
3593
3594         * lyxtext.h: remove LyXText::parOffset() and getPar()
3595
3596         * text3.C: Remove all 'manual' update calls. We do now one per user
3597         interaction which is completely sufficient.
3598
3599         * Bidi.C:
3600         * BufferView.[Ch]:
3601         * BufferView_pimpl.C:
3602         * FontIterator.[Ch]:
3603         * MenuBackend.C:
3604         * ParagraphParameters.[Ch]:
3605         * buffer.C:
3606         * buffer.h:
3607         * bufferlist.C:
3608         * cursor.[Ch]:
3609         * cursor_slice.[Ch]:
3610         * dociterator.[Ch]:
3611         * errorlist.[Ch]:
3612         * factory.C:
3613         * lfuns.h:
3614         * lyxfind.C:
3615         * lyxfunc.C:
3616         * output_docbook.[Ch]:
3617         * output_latex.[Ch]:
3618         * output_linuxdoc.[Ch]:
3619         * output_plaintext.[Ch]:
3620         * paragraph.[Ch]:
3621         * paragraph_funcs.[Ch]:
3622         * paragraph_pimpl.[Ch]:
3623         * rowpainter.C:
3624         * tabular.[Ch]:
3625         * text.C:
3626         * text2.C:
3627         * toc.C:
3628         * undo.[Ch]: adjust
3629
3630         * frontends/controllers/ControlDocument.C:
3631         * frontends/controllers/ControlErrorList.C:
3632         * frontends/controllers/ControlSpellchecker.C:
3633         * insets/inset.C:
3634         * insets/inset.h:
3635         * insets/insetbase.h:
3636         * insets/insetbibitem.C:
3637         * insets/insetbox.C:
3638         * insets/insetbranch.C:
3639         * insets/insetcaption.C:
3640         * insets/insetcharstyle.C:
3641         * insets/insetcharstyle.h:
3642         * insets/insetcollapsable.C:
3643         * insets/insetcollapsable.h:
3644         * insets/insetert.C:
3645         * insets/insetfloat.C:
3646         * insets/insetfoot.C:
3647         * insets/insetmarginal.C:
3648         * insets/insetnote.C:
3649         * insets/insetoptarg.C:
3650         * insets/insettabular.C:
3651         * insets/insettext.C:
3652         * insets/insettext.h:
3653         * insets/insetwrap.C:
3654         * mathed/math_mboxinset.C:
3655         * mathed/math_nestinset.C:
3656         * mathed/math_scriptinset.C:
3657         * mathed/math_scriptinset.h:
3658         * support/types.h:
3659
3660 2004-03-24  Angus Leeming  <leeming@lyx.org>
3661
3662         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3663         deal with any child processes that have finished but are waiting to
3664         communicate this fact to the rest of LyX.
3665
3666 2004-03-24  Angus Leeming  <leeming@lyx.org>
3667
3668         64-bit compile fixes.
3669
3670         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3671         (c-tor): pass lyx::pos_types rather than ints.
3672
3673         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3674         lyx::pos_type.
3675
3676         * text.C (Delete): compile fix.
3677         (getPar): ensure that function declaration is the same as that in
3678         the header file.
3679
3680 2004-03-23  Angus Leeming  <leeming@lyx.org>
3681
3682         * ispell.C (LaunchIspell):
3683         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3684         a boost::shred_ptr rather than a std::auto_ptr.
3685
3686 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3687
3688         * lyxfunc.C (getStatus): handle read-only buffers correctly;
3689         handle LFUN_FILE_INSERT_*
3690
3691         * lyxrc.C (setDefaults, getDescription, output, read):
3692         * lyxrc.h: remove ps_command
3693
3694 2004-03-22  Angus Leeming  <leeming@lyx.org>
3695
3696         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3697         Ensure that error_handler is processed once only and that all data
3698         is saved before attempting to output any warning messages.
3699
3700         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3701
3702 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
3703
3704         * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3705
3706 2004-03-19  André Pönitz  <poenitz@gmx.net>
3707
3708         * cursor.[Ch] (reset): take main text inset as argument
3709
3710         * BufferView: adjust
3711         * BufferView_pimpl.C: adjust
3712
3713         * paragraph.[Ch]: fix completely broken operator=()
3714
3715 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3716
3717         * LColor.C (getFromLyXName): make sure that the color name is used
3718         as lowercase.
3719
3720 2004-03-17  Angus Leeming  <leeming@lyx.org>
3721
3722         * lfuns.h:
3723         * LyXAction.C (init): remove LFUN_FORKS_KILL.
3724
3725         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3726         dialog and to kill a forked process.
3727
3728 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3729
3730         * text2.C (setCursorFromCoordinates): fix font problem
3731
3732 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3733
3734         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3735         bogus "rebuild cursor" code
3736
3737 2004-03-11  André Pönitz  <poenitz@gmx.net>
3738
3739         * buffer.[Ch]: use InsetText instead of LyXText as container for
3740         the main lyx text.
3741
3742         * dociterator.[Ch]: drop the BufferView * member which is not needed
3743         anymore after the change to buffer.C
3744
3745         * paragraph_funcs.C:
3746         * text.C:
3747         * text2.C:
3748         * BufferView.[Ch]:
3749         * BufferView_pimpl.[Ch]:
3750         * cursor.[Ch]:
3751         * cursor_slice.[Ch]: adjust
3752
3753         * text3.C: fix bug in mathDispatch
3754
3755 2004-03-08  André Pönitz  <poenitz@gmx.net>
3756
3757         * undo.[Ch]: use 'StableDocumentIterator' as base for
3758         the Undo struct.
3759
3760 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3761
3762         * LaTeXFeatures.C:
3763         * bufferparams.[Ch]: add jurabib support and param.
3764
3765         * LaTeX.C: add FIXME/comment.
3766
3767 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3768
3769         * buffer.C: increment file format to 230.
3770
3771 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
3772
3773         * cursor.C (dispatch): avoid infinite loops
3774
3775 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3776
3777         * rowpainter.C (paintSelection): fix x coordinates
3778
3779 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3780
3781         * text.C (rowBreakPoint): fix breaking before displayed insets
3782
3783 2004-03-01  André Pönitz  <poenitz@gmx.net>
3784
3785         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3786
3787         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3788
3789         * Makefile.am:
3790         * BufferView.C:
3791         * BufferView_pimpl.C:
3792         * buffer.C:
3793         * lyxfind.C:
3794         * lyxfunc.C:
3795         * text.C:
3796         * text2.C:
3797         * text3.C: adjust
3798
3799 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3800
3801         * lyxtext.h:
3802         * text.C:
3803         * text2.C:
3804         * rowpainter.C:
3805         * BufferView_pimpl.C: rename textwidth -> maxwidth,
3806         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3807
3808 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3809
3810         * Bidi.[Ch] (computeTables): const correctness
3811         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3812         fill_hfill, fill_label_hfill and x from Row
3813         * lyxtext.h: prepareToPrint returns a RowMetrics
3814         * rowPainter.C: adjust
3815         * text.C (prepareToPrint): use width, not textWidth. adjust
3816         (redoParagraphInternal, cursorX): adjust
3817         * text2.C (getColumnNearX): adjust
3818         (init): put a default value to the top LyXText::width
3819
3820 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3821
3822         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3823
3824 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3825
3826         * lyxtext.h: add FontIterator class
3827
3828         * text.C (FontIterator, operator*, operator->, operator++): add
3829         (rowBreakPoint, setRowWidth): adjust (fixing a
3830         rebreaking bug)
3831
3832 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3833
3834         * BufferView_pimpl.C (workAreaDispatch): allow also
3835         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3836
3837 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
3838
3839         * text.C (rowBreakPoint): fix a bug showing with very large insets
3840
3841 2004-02-25  André Pönitz  <poenitz@gmx.net>
3842
3843         * text3.C:
3844         * cursor.[Ch]: move some mathed specific code to mathed
3845
3846 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3847
3848         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3849         use_tempdir in preferences
3850         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3851         tempfile creation
3852         * lyx_main.C: ensure that tempdir is valid
3853         * lyxlex.h: correct typo
3854         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3855         * paragraph.[Ch] (isMultiLingual): make const
3856         * cursor.[Ch] (openable): make const
3857
3858 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3859
3860         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3861
3862 2004-02-20  André Pönitz  <poenitz@gmx.net>
3863
3864         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3865
3866         * cursor.[Ch]: prepare for localized getStatus()
3867
3868         * lyxtext.h:
3869         * tabular.C:
3870         * text.C:
3871         * text2.C:
3872         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
3873
3874 2004-02-20  André Pönitz  <poenitz@gmx.net>
3875
3876         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3877
3878 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3879
3880         * text2.C (setCursorFromCoordinates): switch to absolute coords
3881         (cursorUp): adjust
3882         (cursorDown): adjust
3883         * text3.C (dispatch): adjust
3884
3885 2004-02-16  André Pönitz  <poenitz@gmx.net>
3886
3887         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3888           insets/ChangeLog)
3889
3890         * cursor_slice.[Ch]: remove unneeded acessor function
3891
3892         * lyxtext.h: rename rtl() to isRTL()
3893
3894         * rowpainter.C:
3895         * tabular.C:
3896         * text.C:
3897         * text2.C:
3898         * text3.C: adjust
3899
3900 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3901
3902         * rowpainter.C (paintSelection): coord fix
3903
3904 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
3905
3906         * Spacing.C: compile fix
3907
3908 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3909
3910         * cursor.C (dispatch): restore current_ before returning
3911
3912 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3913
3914         * text2.C (cursorUp, cursorDown): fix coords
3915         (moveUp): fix crash
3916
3917 2004-02-12  André Pönitz  <poenitz@gmx.net>
3918
3919         * lyxtext.h:
3920         * text.C:
3921         * text2.C:
3922         * text3.C: add LCursor & parameter to most cursor movement functions
3923           remove usage of LyXText::cursorRow() and cursorPar()
3924
3925         * cursor.[Ch]: add textRow() needed members
3926
3927         * BufferView.C:
3928         * BufferView_pimpl.C:
3929         * paragraph.[Ch]:
3930         * BufferView.C:
3931         * BufferView_pimpl.C: adjust
3932
3933 2004-02-11  André Pönitz  <poenitz@gmx.net>
3934
3935         * lyxfunc.C:
3936         * BufferView.[Ch]:
3937         * BufferView_pimpl.C: shift undo/redo handling
3938
3939         * cursor.[Ch]: fix mathed crash
3940
3941         * lyxfind.C:
3942         * lyxtext.h: move selectionAsText to LCursor
3943
3944         * output_latex.C:
3945         * paragraph.C:
3946         * text.C:
3947         * text2.C:
3948         * text3.C: adjust
3949
3950         * rowpainter.C: fix excessive drawing
3951
3952 2004-02-06  André Pönitz  <poenitz@gmx.net>
3953
3954         * BufferView.[Ch]:
3955         * BufferView_pimpl.[Ch]:
3956         * text3.C: move some text specific LFUN handling
3957
3958 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
3959
3960         * text3.C (checkInsetHit): adjust coords
3961         * text2.C (getColumnNearX): adjust coords
3962         (edit): adjust coords
3963         * text.C (getRowNearY): add two asserts
3964
3965 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
3966
3967         * converter.C:
3968         * format.C: add using std::distance to compile on gcc 2.95/stlport
3969
3970 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
3971
3972         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3973
3974 2004-02-04  André Pönitz  <poenitz@gmx.net>
3975
3976         * BufferView.[Ch] (insertInset):
3977         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3978
3979         * text2.C:
3980         * text3.C: adjust
3981
3982 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3983
3984         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3985         on the default clause of the switch
3986         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3987         wasn't catched by LCursor::dispatch
3988
3989 2004-02-03  André Pönitz  <poenitz@gmx.net>
3990
3991         * BufferView.C:
3992         * cursor.[Ch]: some additional asserts
3993
3994         * undo.[Ch]: remove LyXText dependency in interface
3995
3996         * lyxfunc.C: adjust
3997
3998         * lyxtext.h (firstPar, lastPar): remove dead functions
3999
4000         * text.C:
4001         * text2.C:
4002         * text3.C:
4003         * paragraph.[Ch]: adjust
4004
4005 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
4006
4007         * lyxfind.C (find): fix argument order in call to ::find
4008
4009 2004-02-02  André Pönitz  <poenitz@gmx.net>
4010
4011         * cursor.[Ch]: remove direct access to anchor
4012
4013         * text.C: remove findText() hack
4014
4015 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
4016
4017         * iterators.[Ch] (lockPath): remove in favour of...
4018         * BufferView.[Ch] (setCursor): this addition
4019         * BufferView.C (putSelectionAt): adjust
4020         * undo.C (performUndoOrRedo): adjust
4021         * lyxfunc.C (dispatch): adjust
4022
4023 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
4024
4025         * iterators.C (lockPath): add a missing slice
4026         * undo.C (performUndoOrRedo): remove redundant positioning code
4027
4028 2004-02-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4029
4030         * vc-backend.C (scanMaster): ";" -> ';'
4031
4032 2004-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4033
4034         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
4035         std::binary_function
4036
4037         * lyxtextclass.C (compare_name): rename to...
4038         (LayoutNamesEqual): ...this
4039
4040         * lyxlex_pimpl.C (compare_tags): inherit from
4041         std::binary_function, put back into anon namespace
4042
4043         * lyxfind.C (MatchString): inherig from std::binary_function
4044         (findChange): use empty() istead of !size()
4045
4046         * format.C (FormatNamesEqual): new functor
4047         (getFormat): use it
4048         (getNumber): use it
4049         (add): use it
4050         (erase): use it
4051         (setViewer): use it
4052
4053         * converter.C (compare_Converter): rename to...
4054         (ConverterEqual): ...this, and fixup a bit.
4055         (getConverter): use it, and make function const
4056         (getNumber): use it, and make function const
4057         (add): use it
4058         (erase): use it:
4059
4060         * bufferlist.C: add using boost::bind
4061
4062         * MenuBackend.C (MenuNamesEqual): new functor
4063         (hasMenu): use it, and make function const
4064         (hasSubmenu): use nested bind to get rid of compare_memfun.
4065
4066 2004-01-30  André Pönitz  <poenitz@gmx.net>
4067
4068         * BufferView_pimpl.C:
4069         * cursor.C:
4070         * cursor.h:
4071         * cursor_slice.[Ch]:
4072         * lyxfunc.C:
4073         * lyxtext.h:
4074         * paragraph_funcs.C:
4075         * paragraph_funcs.h:
4076         * rowpainter.C:
4077         * text.C:
4078         * text2.C:
4079         * text3.C: move some of the edit(x,y) handling to the insets
4080         some coordinate changes.
4081
4082 2004-01-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4083
4084         * text.C: add using statements for std::advance and std::distance
4085
4086         * paragraph.C: add using statement for std::distance
4087
4088         * lyxfind.C: add using statement for std::advance
4089
4090         * cursor.C (region): remove std:: from swap
4091         (openable): use nucleus in stead of operator->
4092
4093         * BufferView.C: add using statements for std::distance and std::swap
4094
4095 2004-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4096
4097         * iterators.C: Remove the pimple, move the needed structures to
4098         the header file. Create accessor for the positions stack.
4099         (asPosIterator): remove function
4100
4101         * PosIterator.C (PosIterator): move constructors to top of file
4102         (PosIterator): reimplement the constructor taking a ParIterator in
4103         terms of setFrom.
4104         (setFrom): new function
4105         (operator!=): inline it
4106
4107 2004-01-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4108
4109         * lyxfind.C (replaceAll): use std::advance
4110
4111         * iterators.h: inherit from std::iterator.
4112
4113         * PosIterator.C (advance, distance): remove
4114         * PosIterator.h: interit from std::iterator.
4115
4116 2004-01-26  André Pönitz  <poenitz@gmx.net>
4117
4118         * BufferView.[Ch]:
4119         * BufferView_pimpl.[Ch]:
4120         * InsetList.[Ch]:
4121         * PosIterator.[Ch]:
4122         * buffer.h:
4123         * bufferview_funcs.C:
4124         * cursor.[Ch]:
4125         * cursor_slice.h:
4126         * factory.[Ch]:
4127         * iterators.[Ch]:
4128         * lyxfind.C:
4129         * lyxfunc.C:
4130         * lyxtext.h:
4131         * output_docbook.C:
4132         * output_latex.C:
4133         * output_linuxdoc.C:
4134         * output_plaintext.C:
4135         * paragraph.[Ch]:
4136         * paragraph_funcs.[Ch]:
4137         * paragraph_pimpl.[Ch]:
4138         * rowpainter.C:
4139         * tabular.C:
4140         * tabular.h:
4141         * text.C:
4142         * text2.C:
4143         * text3.C: more IU:  dumps most of the rest of the mathcursor
4144     implementation into cursor.[Ch]; "globalize" a bit of it.
4145
4146 2004-01-25  Angus Leeming  <leeming@lyx.org>
4147
4148         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
4149
4150 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4151
4152         * LaTeXFeatures.h: add nice_ and nice() const
4153         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
4154
4155 2004-01-20  André Pönitz  <poenitz@gmx.net>
4156
4157         * BufferView.[Ch]:
4158         * BufferView_pimpl.C:
4159         * PosIterator.C:
4160         * bufferview_funcs.C:
4161         * cursor.[Ch]:
4162         * cursor_slice.[Ch]:
4163         * factory.C:
4164         * iterators.C:
4165         * lyx_cb.C:
4166         * lyxfind.C:
4167         * lyxfunc.C:
4168         * lyxtext.h:
4169         * rowpainter.C:
4170         * text.C:
4171         * text2.C:
4172         * text3.C:
4173         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
4174           LCursor and mathcursor parts to LCursor and InsetBase.
4175
4176 2004-01-15  André Pönitz  <poenitz@gmx.net>
4177
4178         * cursor_slice.[Ch]: add a few covienience functions
4179
4180         * funcrequest.[Ch]: remove BufferView * member
4181
4182         * BufferView_pimpl.C:
4183         * cursor.C:
4184         * factory.[Ch]:
4185         * lyxfind.[Ch]:
4186         * lyxfunc.C:
4187         * lyxtext.h:
4188         * text3.C:
4189         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4190
4191 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
4192
4193         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4194         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4195
4196 2004-01-13  André Pönitz  <poenitz@gmx.net>
4197
4198         * textcursor.[Ch]:
4199         * lyxtext.h: hide cursor and selection anchor behind accessor function
4200
4201         * BufferView.C:
4202         * BufferView_pimpl.[Ch]:
4203         * PosIterator.C:
4204         * bufferview_funcs.C:
4205         * cursor.h:
4206         * lyxfind.C:
4207         * lyxfunc.C:
4208         * text.C:
4209         * text2.C:
4210         * text3.C:
4211         * undo.C: adjust
4212
4213         * cursor.h:
4214         * cursor_slice.[Ch]: some integer type changes for inset unification
4215
4216         * lyxcursor.[hC]: remove, it's CursorSlice now.
4217
4218         * Makefile.am:
4219         * BufferView_pimpl.[Ch]:
4220         * bufferview_funcs.C:
4221         * cursor_slice.C:
4222         * lyxtext.h:
4223         * text.C:
4224         * text2.C:
4225         * text3.C:
4226         * textcursor.[Ch]: adjust
4227
4228 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
4229
4230         * text2.C (undoSpan): add and use
4231         * text.C (breakParagraph): use undoSpan (fix bug 578)
4232         * lyxtext.h: adjust
4233
4234 2004-01-08  Angus Leeming  <leeming@lyx.org>
4235
4236         * BufferView_pimpl.C (MenuInsertLyXFile):
4237         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4238         * lyxfunc.C (menuNew, open, doImport):
4239         FileFilterList change to the FileDialog open and save functions.
4240
4241 2004-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4242
4243         * ShareContainer.h: make isEqual and isUnique adaptable
4244
4245         * CutAndPaste.C: make resetOwnerAndChanges adaptable
4246
4247 2004-01-07  Angus Leeming  <leeming@lyx.org>
4248
4249         * LyXAction.C:
4250         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4251
4252         * BufferView_pimpl.C (dispatch): act on these LFUNs.
4253
4254         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4255         functions replacing find, replace and replaceAll.
4256
4257         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4258         LFUN_WORDFIND(FORWARD|BACKWARD).
4259
4260 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4261
4262         * text.C (breakParagraph): remove an outdated #warning
4263
4264 2004-01-07  André Pönitz  <poenitz@gmx.net>
4265
4266         * lyxfind.C: somewhat clearer logic
4267
4268         * text.C: prevent crash in cursorX on unitialized row cache
4269
4270 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4271
4272         * lyxcursor.[Ch] (operator>): add
4273         * textcursor.C (selStart, selEnd): use std::min and std::max
4274
4275 2004-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4276
4277         * Chktex.C: include boost/format.hpp
4278
4279 2004-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4280
4281         * InsetList.C: replace functor MathcIt with adaptable functor
4282         InsetTablePosLess
4283         (insetIterator): modify accordingly
4284
4285         * BranchList.h: move the BranchNamesEqual functor here from...
4286         * BranchList.C: ... to here
4287
4288         * BranchList.C: new BranchListEqual fuctor, use it. Remove
4289         SameName and match.
4290         (add): replace a finding loop with std::find_if.
4291
4292 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
4293
4294         * output_docbook.C: moving LatexParam functionality into
4295         .layout files
4296
4297 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4298
4299         * buffer.C: increment format to 229.
4300
4301 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
4302
4303         * LaTeXFeatures.C:
4304         * lyx_sty.[Ch]: remove minipageindent_def
4305
4306         * LyXAction.C:
4307         * factory.C:
4308         * lfuns.h:
4309         * lyxfunc.C:
4310         * text3.C: remove LFUN_INSET_MINIPAGE
4311
4312 2003-12-28  Angus Leeming  <leeming@lyx.org>
4313
4314         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4315
4316 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
4317
4318         * text2.C (setParagraph): fix off-by-one crash
4319
4320 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
4321
4322         * output_docbook.C: header stuff for AGU
4323
4324 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
4325
4326         * text2.C (redoCursor): remove
4327         * text.C:
4328         * text3.C:
4329         * BufferView_pimpl.C: remove calls to redoCursor and
4330         setCursor(cursor.par(), cursor.pos()) all around
4331
4332 2003-12-15  Angus Leeming  <leeming@lyx.org>
4333
4334         * buffer.C: up the format to 228.
4335
4336 2003-12-15  André Pönitz  <poenitz@gmx.net>
4337
4338         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4339         slices
4340
4341         * Makefile.am:
4342
4343         * BufferView_pimpl.C:
4344         * cursor.[Ch]:
4345         * lyxcursor.[Ch]:
4346         * rowpainter.[Ch]:
4347         * lyxtext.h:
4348         * text.C:
4349         * text2.C:
4350         * text3.C: adjust
4351
4352 2003-12-15  Angus Leeming  <leeming@lyx.org>
4353
4354         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4355         than getFromGUIName to manipulate the color.
4356
4357 2003-12-14  Angus Leeming  <leeming@lyx.org>
4358
4359         * BranchList.[Ch]: minimize the API.
4360         (Branch::getBranch, getColor): now return a 'const &'.
4361         (Branch::setSelected) now returns a bool set to true if the
4362         selection status changes.
4363         (BranchList::clear, size, getColor, setColor, setSelected,
4364         allBranches, allSelected, separator): removed.
4365         (BranchList::find): new functions, returning the Branch with
4366         the given name.
4367         (BranchList::add, remove): return a bool indicating that
4368         the operation was successful.
4369
4370         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4371         new InsetBranch::isBranchSlected member function.
4372
4373         * LColor.[Ch]: mimimize the API.
4374         (fill): renamed as addColor and made private.
4375         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4376         versions of these functions taking a string arg have been removed.
4377
4378         * bufferparams.C (readToken):
4379         * lyxfunc.C (dispatch):
4380         * lyxrc.C (read): changes due to the altered BranchList and
4381         LColor APIs.
4382
4383         * factory.C (createInset, readInset): changes due to altered
4384         InsetBranch c-tor.
4385
4386 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4387
4388         * factory.C:
4389         * lyxfunc.C: remove insetminipage. "minipage-insert"
4390         now produces a frameless minipage box inset.
4391
4392 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4393
4394         * textcursor.[Ch] (selStart,selEnd): add new methods
4395         remove selection::start, end, use LyXCursor::operator<
4396         * lyxcursor.[Ch] (operator<): add
4397         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4398         * BufferView.[Ch] (unsetXSel): add
4399         * text2.C (clearSelection): use unsetXSel,adjust
4400         * text.C: adjust
4401         * text3.C: adjust
4402         * rowpainter.C: adjust
4403         * bufferview_funcs.C (put_selection_at): adjust
4404
4405 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4406
4407         * BufferView_pimpl.C: small coord. correction
4408
4409 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4410
4411         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4412         dragging over the splash screen.
4413
4414 2003-12-11  Angus Leeming  <leeming@lyx.org>
4415
4416         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4417         as it is now handled in LyXText::dispatch.
4418
4419         * text3.C (doInsertInset): remove a level of nesting.
4420
4421 2003-12-11  Angus Leeming  <leeming@lyx.org>
4422
4423         * factory.C (createInset): changes due to the changed interface to
4424         InsetCommandMailer::string2params.
4425
4426 2003-12-10  Angus Leeming  <leeming@lyx.org>
4427
4428         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4429         'dialog-show-new-inset <inset name>'
4430
4431 2003-12-10  Angus Leeming  <leeming@lyx.org>
4432
4433         * buffer.C: up the format to 227.
4434
4435         * factory.C: the box inset is now identified simply by 'Box'.
4436
4437 2003-12-10  Angus Leeming  <leeming@lyx.org>
4438
4439         * buffer.C: up the format to 226.
4440
4441         * factory.C: the note inset is now identified simply by 'Note'.
4442
4443 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
4444
4445         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4446         when a pit is enough. Standarize a couple of loops.
4447
4448 2003-12-05  Angus Leeming  <leeming@lyx.org>
4449
4450         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4451         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4452         data to the re-worked "log" dialog.
4453
4454 2003-12-03  André Pönitz  <poenitz@gmx.net>
4455
4456         * PosIterator.C:
4457         * iterators.C:
4458         * lyxtext.h:
4459         * output_latex.C:
4460         * paragraph_funcs.C:
4461         * text.C:
4462         * text2.C: use Inset::getText instead of Inset::getParagraph
4463
4464 2003-12-03  André Pönitz  <poenitz@gmx.net>
4465
4466         * buffer.[Ch]:
4467         * lyxtext.h:
4468         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4469         InsetText::read() as LyXText::read()
4470
4471 2003-12-02  Angus Leeming  <leeming@lyx.org>
4472
4473         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4474         type. Add a comment in the implementation that the function uses
4475         the stream's bad() function rather than fail() as the std::streams
4476         would do.
4477
4478 2003-12-02  André Pönitz  <poenitz@gmx.net>
4479
4480         * lyxlex.[Ch]: make interface more similar to std::stream
4481
4482         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4483
4484 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
4485
4486         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4487
4488 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
4489
4490         * vspace.[Ch]: remove VSpace::NONE
4491
4492 2003-12-01  André Pönitz  <poenitz@gmx.net>
4493
4494         * buffer.[Ch]:
4495         * lyxtext.h: move ParagraphList member to LyXText
4496         rename LyXText::ownerParagraphs to LyXText::paragraph
4497
4498         * CutAndPaste.C:
4499         * bufferview_funcs.C:
4500         * iterators.[Ch]:
4501         * lyx_cb.C:
4502         * paragraph.C:
4503         * rowpainter.C:
4504         * tabular.C:
4505         * text.C:
4506         * text2.C:
4507         * text3.C: adjust
4508
4509         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4510
4511         * undo.C: fix cursor positioning
4512
4513 2003-12-01  John Levon  <levon@movementarian.org>
4514
4515         * BufferView_pimpl.C: fix a crash on exit with
4516         a buffer open
4517
4518 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
4519
4520         * BranchList.C: fix setSelected() method.
4521
4522 2003-11-28  André Pönitz  <poenitz@gmx.net>
4523
4524         * ParagraphParameters.[Ch]:
4525         * ParameterStruct.h: remove space above/below from Paragraph to
4526          InsetVSpace
4527
4528         * BufferView_pimpl.C:
4529         * factory.C:
4530         * lyxfunc.C:
4531         * lyxtext.h:
4532         * output_latex.C:
4533         * paragraph.C:
4534         * paragraph_funcs.C:
4535         * rowpainter.[Ch]:
4536         * text.C:
4537         * text2.C:
4538         * text3.C: adjust
4539
4540 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
4541
4542         * factory.C: Syntax change for CharStyles
4543
4544 2003-11-28  André Pönitz  <poenitz@gmx.net>
4545
4546         * BufferView.[Ch]:
4547         * BufferView.[Ch]:
4548         * buffer.[Ch]:
4549         * buffer.[Ch]: move LyXText member
4550
4551 2003-11-28  André Pönitz  <poenitz@gmx.net>
4552
4553         * BufferView.[Ch]: make LyXText * text a private member
4554
4555         * BufferView_pimpl.C:
4556         * cursor.C:
4557         * iterators.C:
4558         * lyx_cb.C:
4559         * lyxfind.C:
4560         * lyxtext.h:
4561         * rowpainter.[Ch]:
4562         * text.C:
4563         * text2.C:
4564         * undo.C: adjust
4565
4566         * output_plaintext.C: cleanup
4567
4568 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4569
4570         * buffer.C:
4571         * lyxtextclass.[Ch]: parametrize SGML document header
4572
4573 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4574
4575         * converter.[Ch]:
4576         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4577         getFlavor().
4578
4579 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
4580
4581         * text2.C (setFont): rework using PosIterator (no more recursive)
4582         (setCharFont): no more needed
4583         (setLayout): no more selection cursors fiddling (done by redoCursor)
4584         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4585         destroy remaining ones)
4586
4587 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
4588
4589         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4590         * lyxtext.h: ditto
4591         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4592         selection cursors
4593         * lyxfunc.C: adjust
4594         * text3.C: adjust + re-allow multi par depth changes
4595         * textcursor.C: simplify a bit
4596
4597 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
4598
4599         * src/buffer.C:
4600         * src/lyxlayout.C:
4601         * src/lyxlayout.h:
4602         * src/lyxtext.h:
4603         * src/output_docbook.C:
4604         * src/output_latex.C:
4605         * src/paragraph.C:
4606         * src/paragraph.h:
4607         * src/sgml.C:
4608         * src/sgml.h:
4609         * src/text2.C: Introducing a number of tags parametrizing various
4610         XML formats that we may want to support
4611
4612 2003-11-25  André Pönitz  <poenitz@gmx.net>
4613
4614         * InsetList.[Ch] (begein, end): inline as suggested by profiler
4615
4616         * lyxtext.h (leftMargin/rightMargin): simplify interface
4617
4618         * rowpainter.C:
4619         * text.C:
4620         * text2.C:
4621         * text3.C: adjust
4622
4623 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4624
4625         * lyxfunc.C (dispatch): propogate the bibtex databases from the
4626         master file to any child files. Fixes bug 546.
4627
4628 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4629
4630         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4631
4632 2003-11-24  André Pönitz  <poenitz@gmx.net>
4633
4634         * rowpainter.C: simplification
4635
4636         * text2.C (updateCounters): remove call to redoParagraph on
4637         changed labels as this is far too expensive.
4638
4639 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4640
4641         * converter.C (convert): fix a crash: this function gets
4642         called with buffer == 0 from importer code.
4643
4644 2003-11-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4645
4646         * text3.C (cursorPrevious): make sure that we do not compare
4647         iterators form different containers.
4648         (cursorNext): ditto
4649
4650         * rowpainter.C (paintSelection): make sure that we do not compare
4651         iterators from different containers.
4652
4653         * text3.C (dispatch): [PRIOR] make sure that we do not compare
4654         iterators from different ParagraphList containers.
4655         [NEXT] ditto
4656
4657         * text2.C (LyXText): change order of initialization slightly
4658         (operator=): new function. copy all variables except cache_par_
4659         (moveUp): make sure that we do not compare iterators from
4660         different ParagraphList constainers.
4661         (moveDown): ditto
4662
4663         * text.C (firstPar): new function
4664         (lastPar): new function
4665         (endPar): new function
4666
4667         * lyxtext.h: move things around and group public functions, public
4668         variables, private functions, private variables
4669
4670 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
4671
4672         * factory.C: change call to InsetERT constructor to avoid
4673         additional invocation of method status
4674         * text2.C (toggleInset): remove redundant update() call
4675         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4676         instead of a Bufferview pointer
4677
4678 2003-11-21  André Pönitz  <poenitz@gmx.net>
4679
4680         * rowpainter.C: simplification
4681
4682 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4683
4684         * text3.C (dispatch): make possible to extend a word/row selection
4685         with the mouse
4686
4687 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4688
4689         * lyxtext.h: x0_,y0_ -> xo_,yo_
4690         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4691         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4692         * rowpainter.C (paintRows): paint full paragraphs
4693
4694 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4695
4696         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4697         screen coordinates)
4698
4699 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4700
4701         * lyxtext.h: add x0_, y0_
4702         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4703         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4704
4705 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
4706
4707         * text2.C (setCursorIntern): move the x_target update here *
4708         * text3.C: change some bv() to true/false in calls to
4709         cursorUp/Down/Right/Left
4710         * cursor.C: use helper function.
4711
4712 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4713
4714         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4715         * paragraph_funcs.[Ch]: correct comment
4716         * rowpainter.C: do not paint selections away from bv->cursor()
4717         Fix a long standing selection painting bug.
4718         * text3.C: generalize mouse-selection code to LyXTexts other that
4719         top one
4720         * textcursor.C: do not use y coords if we can use par offsets
4721
4722 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4723
4724         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4725         cursor position after e.g. inset insert)
4726
4727 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
4728
4729         * lyxfind.C (replace): adjust to locking removal + some
4730         code simplification
4731
4732 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
4733
4734         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4735         of the path
4736
4737 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
4738
4739         * lyxlayout.[Ch]:
4740         * output_docbook.C: XML sanitation: new layout
4741         parameters InnerTag and CommandDepth
4742
4743 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
4744
4745         * BufferView_pimpl.C:
4746         * factory.C:
4747         * text3.C: Fix the insertion and modification of button-style
4748         insets
4749
4750 2003-11-13  André Pönitz  <poenitz@gmx.net>
4751
4752         * InsetList.[Ch]: remove deleteLyXText
4753
4754         * paragraph.[Ch]: cache beginOfBody position
4755
4756         * Bidi.C:
4757         * text.C:
4758         * text2.C:
4759         * text3.C: remove superfluous update() calls
4760
4761         * vspace.C: cleanup
4762
4763 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
4764
4765         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4766         * BufferView.C (fitLockedInsetCursor): remove
4767         * cursor.[Ch] (getDim): add
4768         * text.C (getRowNearY): add faster version
4769         * text3.C: remove some update calls
4770
4771 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
4772
4773         * LaTeXFeatures.C:
4774         * LyXAction.C:
4775         * MenuBackend.C:
4776         * MenuBackend.h:
4777         * dispatchresult.h:
4778         * factory.C:
4779         * lfuns.h:
4780         * lyxfunc.C:
4781         * lyxtextclass.C:
4782         * lyxtextclass.h:
4783         * text3.C: The Character Style /XML short element patch.
4784
4785 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
4786
4787         * text3.C:
4788         * factory.C: Small step to solving 'unable to insert some insets'
4789         problem
4790
4791 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
4792
4793         * cursor.[Ch] (updatePos): new function for updating the y
4794         position of the tip inset
4795         * bufferview_funcs.C (put_selection_at):
4796         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4797
4798 2003-11-11  André Pönitz  <poenitz@gmx.net>
4799
4800         * text.C: remove big comment on invalid Paragraph pointers as it is
4801         not valid anymore
4802
4803 2003-11-11  André Pönitz  <poenitz@gmx.net>
4804
4805         * text_funcs.[Ch]: merge with ...
4806
4807         * text.C: ... this
4808
4809         * lyxtext.h:
4810         * text2.C:
4811         * text3.C: adjust
4812
4813         * Makefile.am: remove text_funcs.[Ch]
4814
4815 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
4816
4817         * cursor.C (getPos): return absolute cached y coord
4818
4819         * BufferView_pimpl.C (fitCursor): new simplistic code
4820         (workAreaDispatch): add a fitCursor call
4821
4822 2003-11-10  André Pönitz  <poenitz@gmx.net>
4823
4824         * BufferView.[Ch]:
4825         * BufferView_pimpl.[Ch]: merge update() and updateInset()
4826
4827 2003-11-10  André Pönitz  <poenitz@gmx.net>
4828
4829         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4830         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4831         indicate that the cursor needs to leave an inset
4832
4833         * lyxtext.h: remove inset locking
4834
4835         * cursor.[Ch]: re-implement functionality provided by inset locking
4836
4837         * BufferView.[Ch]:
4838         * BufferView_pimpl.[Ch]:
4839         * LyXAction.C:
4840         * bufferview_funcs.[Ch]:
4841         * factory.C:
4842         * funcrequest.[Ch]:
4843         * iterators.C:
4844         * lyx_cb.C:
4845         * lyxfind.C:
4846         * lyxfunc.C:
4847         * text.C:
4848         * text2.C:
4849         * text3.C:
4850         * undo.C: adjust
4851
4852 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
4853
4854         * PosIterator.[Ch]: replace the stack with a vector, add inset
4855         accesor
4856         * iterators.[C]: adjust
4857
4858 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4859
4860         * lyxfind.C (replaceAll): mark the buffer dirty if something was
4861         replaced
4862         * paragraph_funcs.C (readParToken): put the correct id in the
4863         error item, not the id of the top paragraph
4864
4865 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4866
4867         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4868         * bufferview_funcs.C (put_selection_at): use the above
4869
4870 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4871
4872         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4873
4874 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4875
4876         * output_linuxdoc.h:
4877         * output_plaintext.h:
4878         * output.h:
4879         * output_docbook.h: add #include statements
4880
4881 2003-11-05  José Matos  <jamatos@lyx.org>
4882
4883         * output_docbook.[Ch]:
4884         * output_latex.[Ch]:
4885         * output_linuxdoc.[Ch]:
4886         * output_plaintext.[Ch]: New files for output formats.
4887         * output.[Ch]: New file for helper functions.
4888
4889         * buffer.[Ch]:
4890         * paragraph_funcs.[Ch]: output functions moved to new files.
4891
4892         * outputparams.h: rename of latexrunparams.h
4893
4894         * LaTeX.[Ch]:
4895         * buffer.[Ch]:
4896         * bufferlist.[Ch]:
4897         * converter.[Ch]:
4898         * exporter.C:
4899         * paragraph.[Ch]:
4900         * paragraph_funcs.[Ch]:
4901         * paragraph_pimpl.[Ch]:
4902         * tabular.[Ch]: rename ascii to plaintext
4903         and LatexRunParams to OutputParams.
4904
4905 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4906
4907         * iterators.[Ch] (text): require bv argument
4908         * undo.C (recordUndo):
4909         * lyxfunc.C (dispatch):
4910         * bufferview_funcs.C (put_selection_at): adjust
4911
4912 2003-11-05  Jo� Luis M. Assirati  <assirati@fma.if.usp.br>
4913
4914         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4915
4916 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4917
4918         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4919         nestings
4920
4921 2003-11-04  André Pönitz  <poenitz@gmx.net>
4922
4923         * cursor.[Ch]: restructure
4924
4925         * BufferView.[Ch]:
4926         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4927
4928         * iterators.[Ch] (asCursor): remove
4929
4930         * lfuns.h: remove LFUN_INSET_EDIT
4931
4932         * lyxfunc.C:
4933         * tabular.C:
4934         * text.C:
4935         * text2.C:
4936         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4937
4938 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4939
4940         * lyxfind.[Ch]: complete overhaul
4941         * BufferView_pimpl.C:
4942         * lyxfunc.C: adjust
4943         * paragraph.[Ch] (insert): add
4944
4945 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4946
4947         * BufferView.[Ch]:
4948         * lyxtext.h:
4949         * text.C: remove dead spellcheck code
4950
4951 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4952
4953         * dispatchresult.h: add a val setter
4954
4955         * cursor.C (dispatch): use a tempvar for data_[i]
4956
4957 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4958
4959         * PosIterator.[Ch]: compile fix
4960
4961 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4962
4963         * text.C (cursorPar): deactivate the cursor cache
4964
4965 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4966
4967         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4968
4969 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4970
4971         * text3.C (dispatch): adjust for new DisptchResult semantics.
4972
4973         * lyxfunc.C (dispatch): handle update when return from
4974         Cursor::dispatch, adjust for new DispatchResult semantics.
4975
4976         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4977         DispatchResult(true) mean to not update. Add class functions for
4978         setting dispatched and update, as well as reading.
4979
4980         * cursor.C (dispatch): don't handle update here
4981
4982 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4983
4984         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4985         * trans_mgr.C: adjust
4986
4987         * paragraph_funcs.C (readParToken): exception safety
4988
4989         * lyxvc.h: store the vcs pointer in a scoped_ptr
4990         * lyxvc.C: adjust
4991
4992         * lyxsocket.C (serverCallback): exception safety
4993
4994         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4995
4996         * ispell.C (clone): make it return a auto_ptr
4997
4998         * factory.C (createInset): exception safety
4999         (readInset): exception safety
5000
5001         * bufferlist.C (newBuffer): exception safety
5002
5003         * Thesaurus.C (Thesaurus): use initialization for aik_
5004
5005         * MenuBackend.C (expandToc): exception safety.
5006
5007 2003-11-03  André Pönitz  <poenitz@gmx.net>
5008
5009         * buffer.C:
5010         * buffer.h:
5011         * bufferview_funcs.C: remove getInsetFromId()
5012
5013         * lyxcursor.[Ch]:
5014         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
5015
5016         * lyxfunc.C:
5017         * text2.C:
5018         * text3.C: adjust
5019
5020 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
5021
5022         * PosIterator.C (distance, advance): new
5023         * bufferview_funcs.[Ch] (put_selection_at): new
5024         * iterators.[Ch] (lockPath): new
5025
5026 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
5027
5028         * iterators.[Ch] (asPosIterator): added
5029         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
5030         * PosIterator.[Ch]: added
5031
5032 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5033
5034         * text3.C:
5035         * lyxfunc.C:
5036         * cursor.C (dispatch):
5037         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
5038
5039         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
5040         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
5041         contructor, add a class function dispatched. Remove operator>=
5042
5043 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5044
5045         * debug.C: only use the default constructor for debugstream
5046         (lyxerr) here.
5047
5048         * main.C (main): include debug.h and setup the lyxerr streambuf
5049         here.
5050
5051 2003-10-31  José Matos  <jamatos@lyx.org>
5052
5053         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
5054
5055         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
5056         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
5057         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5058         * paragraph_pimpl.C (simpleTeXSpecialC):
5059         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
5060         add LatexRunParams argument.
5061
5062         * exporter.C (Export): change call accordingly.
5063
5064         * latexrunparams.h: add new member to take care of the other backends.
5065 2003-10-30  José Matos  <jamatos@lyx.org>
5066
5067         * buffer.C (makeLinuxDocFile, makeDocBookFile):
5068         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5069         factorise code for paragraph output.
5070         * buffer.[Ch]:
5071         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
5072         move functions.
5073
5074 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5075
5076         * text3.C (dispatch):
5077         * lyxfunc.C (dispatch):
5078         * cursor.C (dispatch):
5079         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
5080
5081         * dispatchresult.h: make the dispatch_result_t ctor explicit
5082
5083 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
5084
5085         * sgml.[Ch]:
5086         * buffer.C: small refactoring of docbook stuff
5087
5088 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5089
5090         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
5091         meaning.
5092
5093 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5094
5095         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
5096         operator dispatch_result_t, and operators for == != and >=
5097
5098         * cursor.C (dispatch): adjust for operator dispatch_result_t
5099         removal. comment out call to update
5100
5101         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
5102
5103 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5104
5105         * text3.C:
5106         * text2.C:
5107         * text.C:
5108         * lyxtext.h:
5109         * lyxfunc.C:
5110         * cursor.C:
5111         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
5112         (dispatch):
5113
5114         * dispatchresult.h: new file, DispatchResult broken out of
5115         insets/insetbase.h
5116
5117         * Makefile.am (lyx_SOURCES): add dispatchresult.h
5118
5119 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
5120
5121         * text.C (rowBreakPoint): put a hack inside #if 0
5122
5123 2003-10-28  André Pönitz  <poenitz@gmx.net>
5124
5125         * lyxtext.h:
5126         * metricsinfo.C:
5127         * paragraph_funcs.C:
5128         * rowpainter.C:
5129         * text.C:
5130         * text2.C: general cleanup (lots of small stuff)
5131
5132 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
5133
5134         * text2.C (cursorEnd): simple fix to the "end key goes to one
5135         before the end on last row" bug
5136
5137 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5138
5139         * text.C (backspace): fix the "zombie characters"
5140
5141 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5142
5143         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
5144
5145 2003-10-27  André Pönitz  <poenitz@gmx.net>
5146
5147         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
5148
5149         * factory.C: handle new InsetPagebreak, InsetLine
5150
5151         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
5152         and move handling into new InsetPagebreak, InsetLine
5153
5154         * BufferView_pimpl.C:
5155         * LyXAction.C:
5156         * ParagraphParameters.C:
5157         * ParameterStruct.h:
5158         * lyxfunc.C:
5159         * lyxtext.h:
5160         * paragraph.C:
5161         * paragraph.h:
5162         * paragraph_funcs.C:
5163         * paragraph_pimpl.C:
5164         * rowpainter.C:
5165         * text.C:
5166         * text2.C:
5167         * text3.C: adjust
5168
5169 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5170
5171         * text.C:
5172         * lyxrow_funcs.[Ch]:
5173         * Bidi.C:
5174         * paragraph.C:
5175         * lyxtext.h:
5176         * rowpainter.C:
5177         * text2.C:
5178         * text3.C: remove lastPos uses in favour of Row::endpos
5179
5180 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5181
5182         * undo.C (performUndoOrRedo): fix two crashes by setting a
5183         cursor by hand and reordering some calls. Use bv->lockInset instead
5184         of inset->edit because the latter loses cursor information
5185
5186 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
5187
5188         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5189         by Martin
5190         (rowBreakPoint): fix width. change point to point + 1.
5191         Add a missing check.
5192
5193 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
5194
5195         * MenuBackend.C:
5196         * lyxfunc.C: fix (at least partly) the problems
5197         with the Nav menu and headers inside branch insets
5198         reported by Kayvan
5199
5200 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
5201
5202         * paragraph.C (getChar): add strong asserts
5203
5204         * lyxrow_funcs.C (lastPos): remove hideous hack
5205
5206         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5207         (fill): adjust to that (avoid an infinite loop)
5208
5209 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5210
5211         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5212
5213 2003-10-23  André Pönitz  <poenitz@gmx.net>
5214
5215         * RowList_fwd.h: change list<> to vector<> to gain speed
5216         after suggestion from Alfredo
5217
5218 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5219
5220         * lyxtext.h: move the bidi stuff from here...
5221         * text.C: and here
5222         * text2.C: and here
5223         * Bidi.[Ch]: ... to here
5224
5225 2003-10-23  André Pönitz  <poenitz@gmx.net>
5226
5227         * lyxtext.h:
5228         * text.C (isLastRow, isFirstRow): new functions
5229
5230         * paragraph.h: new width cache member
5231
5232         * rowpainter.C: replace RowList::iterator with Row & where possible
5233
5234         * lyxfunc.C: replace several view()->text with a single call
5235
5236         * toc.C: fix 'unused' warning
5237
5238 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5239
5240         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5241         when woring with stream::pos_type
5242         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5243
5244 2003-10-22  André Pönitz  <poenitz@gmx.net>
5245
5246         * lyxtext.h:
5247         * text.C: use Row & instead of RowList::iterator
5248
5249         * lyxrow.h: rename end() to endpos()
5250
5251         * rowpainter.C:
5252         * text.C:
5253         * text2.C: adjust
5254
5255 2003-10-22  Angus Leeming  <leeming@lyx.org>
5256
5257         * buffer.[Ch] (fully_loaded): new member function, returning true
5258         only when the file has been loaded fully.
5259         Used to prevent the premature generation of previews and by the
5260         citation inset to prevent computation of the natbib-style label.
5261
5262         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5263         templates are all set up.
5264
5265         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5266
5267 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
5268
5269         * text.C: fixed an "oops" in the "is a bit silly"
5270         bug fix
5271
5272 2003-10-21  André Pönitz  <poenitz@gmx.net>
5273
5274         * FuncStatus.[Ch]: small stuff, whitespace
5275
5276         * lyxfont.[Ch]: operator<<() for debug reasons
5277
5278         * lyxfunc.C:
5279         * lyxrow_funcs.C:
5280         * lyxtext.h: whitespace, spelling
5281
5282         * paragraph.C: naming of variables
5283
5284         * text.C:
5285         * text2.C: small stuff
5286
5287
5288 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
5289
5290         * text.C: (1) finish off the inset display() work;
5291         (2) fix the "is a bit silly" bug (accessing char
5292         past end of par).
5293
5294 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
5295
5296         * text.C: re-introduce display() for insets, fixing the
5297         various bugs (stretch of line above, math inset
5298         positioning, ...)
5299
5300 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5301
5302         * text.C (rightMargin): remove spurious semicolon
5303
5304         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5305         1415)
5306
5307 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
5308
5309         * text3.C: fix one crash due to wrong cursor def
5310
5311 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5312
5313         * vc-backend.C (scanMaster): make the regex static
5314
5315         * LaTeX.C (scanAuxFile): make the regexs static
5316
5317         * text3.C (doInsertInset, dispatch, dispatch):
5318         * text2.C (cursorUp, cursorDown):
5319         * text.C (selectNextWordToSpellcheck):
5320         * BufferView_pimpl.C (dispatch):
5321         * lyxfunc.C (dispatch):  localDispatch -> dispatch
5322
5323 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5324
5325         * lyxsocket.C: include <cerrno>
5326
5327 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5328
5329         * lyxfunc.C (dispatch): remove textcache stuff
5330
5331         * bufferlist.C (release): remove textcache stuff
5332         (closeAll): ditto
5333
5334         * TextCache.C: delete file
5335         * TextCache.h: delete file
5336
5337         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5338
5339         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5340         delete of the bv_->text.
5341         (resizeCurrentBuffer): remove texcache stuff
5342         (workAreaResize): ditto
5343
5344 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5345
5346         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5347         action.
5348
5349 2003-10-16  André Pönitz  <poenitz@gmx.net>
5350
5351         * lyxrow.[Ch]:
5352         * paragraph.h:
5353         * rowpainter.C:
5354         * text.C:
5355         * text2.C:
5356         * text3.C: speed up by storing y positions per paragraph plus per-row
5357         offset instead of having a 'full' y position in the row.
5358
5359 2003-10-15  André Pönitz  <poenitz@gmx.net>
5360
5361         * iterators.[Ch]:
5362         * iterators.[Ch]:
5363         * undo.[Ch]: make undo aware of inner insets
5364
5365 2003-10-14  Angus Leeming  <leeming@lyx.org>
5366
5367         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5368         static member functions LyX::ref() and LyX::cref.
5369         (lastfiles): new accessor functions for the new lastfiles_ member var.
5370         (addLyXView, views_): add a new LyXView to the list of views_.
5371         (updateInset): loop over all LyXViews to call their own updateInset
5372         member function, returning a pointer to the Buffer owning the inset.
5373
5374         * BufferView_pimpl.C (loadLyXFile):
5375         * MenuBackend.C (expandLastfiles):
5376         * bufferlist.C (MenuWrite, QuitLyX):
5377         lastfiles is no longer a global variable.
5378         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5379
5380         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5381         static function. Access through LyX::cref().emergencyCleanup().
5382
5383 2003-10-14  André Pönitz  <poenitz@gmx.net>
5384
5385         * iterators.[Ch]: new direct access to innermost LyXText and Inset
5386
5387         * undo.[Ch]: restoring part of 'undo in insets'
5388
5389         * Makefile.am:
5390         * undo_funcs.[Ch]: merge with undo.[Ch]
5391
5392         * tabular.C: small cleansing stuff
5393
5394 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
5395
5396         * paragraph_funcs.C (readParToken): report unknown insets as error
5397         boxes. Use the outer paragraph as location (also for unknown
5398         tokens).
5399
5400         * factory.C (readInset): do not abort on reading an unknown inset.
5401         Eat it and return 0.
5402
5403 2003-10-13  Angus Leeming  <leeming@lyx.org>
5404
5405         * lyx_main.C (LyX): remove call to setDisplayTranslator().
5406
5407         * lyxrc.C: displayTranslator is now a function,
5408         declared in GraphicsTypes.h.
5409
5410 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5411
5412         * format.C: new placeholder $$a to pass the socket address.
5413
5414         * bufferlist.[Ch]: new function getBufferFromTmp.
5415
5416         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5417           files in the temporary dir.
5418
5419 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5420
5421         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5422
5423         * Makefile.am: add lyxsocket.[Ch].
5424
5425         * lyx_main.C (error_handler): handle SIGPIPE.
5426
5427 2003-10-13  André Pönitz  <poenitz@gmx.net>
5428
5429         * BufferView_pimpl.C:
5430         * lyxtext.h:
5431         * text.C:
5432         * text2.C:
5433         * text3.C:
5434         * undo_funcs.[Ch]: use paroffset_type instead of
5435           ParagraphList::iterators to prevent multiple conversion
5436           (and get a more robust interface)
5437
5438 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5439
5440         * lyxfunc.C (dispatch): RESULT -> dispatch_result
5441         * lyxtext.h: ditto
5442         * text3.C (dispatch): ditto
5443
5444 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5445
5446         * LaTeX.C (handleFoundFile): move the static to smaller scope,
5447         move the onlyfile, use onlyfile instead of foundfile in a couple
5448         of places.
5449
5450         * DepTable.C (update): flush the error stream a bit more
5451
5452 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5453
5454         * lyxserver.C (callback): adjust
5455
5456         * lyxfunc.C (getStatus): add a missing brace in commented code
5457         (ensureBufferClean): reindent
5458         (dispatch): delete version taking a string
5459
5460 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5461
5462         * LaTeX.C (deplog): move found file handlig from here...
5463         (handleFoundFile): .. to new function here.
5464         (deplog): make sure to discover several files mentioned on the
5465         same log line.
5466
5467 2003-10-10  André Pönitz  <poenitz@gmx.net>
5468
5469         * lyxfunc.C:
5470         * lyxtext.h:
5471         * tabular.C:
5472         * text.C:
5473         * text2.C:
5474         * text3.C: fix some of the tabular crashes
5475
5476 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5477
5478         * MenuBackend.C (binding): put debug message into Debug::KBMAP
5479
5480         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5481
5482 2003-10-09  André Pönitz  <poenitz@gmx.net>
5483
5484         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5485
5486         * BufferView.C:
5487         * BufferView_pimpl.C:
5488         * bufferview_funcs.C:
5489         * lyx_cb.C:
5490         * lyxcursor.C:
5491         * lyxfind.C:
5492         * lyxfunc.C:
5493         * lyxtext.h:
5494         * text.C:
5495         * text2.C:
5496         * text3.C:
5497         * text_funcs.[Ch]:
5498         * textcursor.[Ch]:
5499         * undo_funcs.C: adjust
5500
5501 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5502
5503         * text2.C (incrementItemDepth): new function, use a backtracking
5504         algorithm to discover the correct item depth.
5505         (resetEnumCounterIfNeeded): new function, use a backtracking
5506         algorithm to discover if counter reset is needed.
5507         (setCounter): use them. Simplify a bit. Add different labels for
5508         different item depths for itemize.
5509
5510         * paragraph.C (Paragraph): remove initialization of enumdepth
5511         (operator=): ditto
5512
5513         * paragraph.h: get rid of enumdepth, and use itemdepth both for
5514         enumerate and itemize. Change the type of itemdepth to signed char.
5515
5516 2003-10-08  André Pönitz  <poenitz@gmx.net>
5517
5518         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5519           thing assignable.
5520         * text.C:
5521         * text2.C: adjust
5522
5523         * tabular.[Ch]: fix crash after 'row-insert'
5524
5525 2003-10-08  Angus Leeming  <leeming@lyx.org>
5526
5527         Fix doxygen warnings.
5528
5529         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5530         Remove CutAndPaste:: prefix from header file declaration.
5531
5532         * LColor.h (fill): remove LColor:: prefix from declaration.
5533
5534         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5535         use lyx::depth_type rather than Paragraph::depth_type so that
5536         header file and .C file match.
5537
5538         * converter.h (intToFormat): remove Converters:: prefix from declaration.
5539
5540         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5541         * aspell.C: \file aspell_local.C -> \file aspell.C
5542         * gettext.C: \file gettext.C -> \file src/gettext.C
5543         * gettext.h: \file gettext.h -> \file src/gettext.h
5544         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5545         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5546         * text.C: \file text.C -> \file src/text.C
5547
5548         * toc.C: move comment so that doxygen is not confused.
5549
5550 2003-10-07  Angus Leeming  <leeming@lyx.org>
5551
5552         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5553
5554 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5555
5556         * aspell.C:
5557         * aspell_local.h: add forgotten std::string's.
5558
5559 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5560
5561         * LaTeXFeatures.C:
5562         * LyXAction.C:
5563         * factory.C:
5564         * lfuns.h:
5565         * lyxfunc.C:
5566         * text3.C: The Box patch. Fancybox support, minipage, parbox
5567
5568 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5569
5570         * CutAndPaste.h:
5571         * DepTable.h:
5572         * FloatList.h:
5573         * LaTeXFeatures.h:
5574         * ParagraphParameters.h:
5575         * TextCache.h:
5576         * Thesaurus.h:
5577         * bufferlist.h:
5578         * exporter.h:
5579         * importer.h:
5580         * lastfiles.h:
5581         * lyxfind.h:
5582         * lyxfont.h:
5583         * lyxlex.h:
5584         * lyxtextclasslist.h:
5585         * messages.h:
5586         * paragraph.h:
5587         * paragraph_pimpl.C:
5588         * textcursor.h: add <string> and other small fixes to make Lars'
5589         std::string patch compile with STLport.
5590
5591 2003-10-06  Angus Leeming  <leeming@lyx.org>
5592
5593         * LColor.h: Add missing #include <string>.
5594
5595 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5596
5597         * All most all file in all subdirs: Make <string> be the prefered
5598         way of getting to std::string, add using declarations.
5599
5600 2003-10-06  André Pönitz  <poenitz@gmx.net>
5601
5602         * metricsinfo.C: initialize LyXFont before changing attribute.
5603         (fixes the 'math in \emph is upright' bug)
5604
5605 2003-10-06  André Pönitz  <poenitz@gmx.net>
5606
5607         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5608
5609 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
5610
5611         * graph.C:
5612         * paragraph_pimpl.C: Small fixes to build using STLport
5613
5614 2003-10-02  André Pönitz  <poenitz@gmx.net>
5615
5616         * lyxfunc.C:
5617         * text3.C: move handling of LFUN_DEPTH *; fix #1360
5618
5619 2003-10-01  André Pönitz  <poenitz@gmx.net>
5620
5621         * factory.C: assert early
5622
5623 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5624
5625         * lyx_main.C: remove the global debug object
5626
5627         * debug.h: adjust for new debugstream
5628
5629         * debug.C: adjust for new debugstream and keep the global debug
5630         object here.
5631
5632 2003-09-22  Angus Leeming  <leeming@lyx.org>
5633
5634         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5635         of g++ which otherwise complain that the scoped_ptr destructor can't delete
5636         an incomplete class LyXFont.
5637
5638 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
5639
5640         * factory.C: bug fix in branches
5641
5642 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5643
5644         * lyxfunc.C (processKeySym): adjust
5645         (dispatch): adjust
5646         (dispatch): change arg name from ev to func, adjust
5647         (sendDispatchMessage): ditto
5648
5649         * lyx_main.C (defaultKeyBindings): adjust keybindings
5650         (deadKeyBindings): ditto
5651
5652         * kbsequence.C (addkey): return a FuncRequest
5653
5654         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5655
5656         * kbmap.C (bind): take a FuncRequest as arg, adjust
5657         (read): adjust
5658         (lookup): adjust
5659         (defkey): change to take a FuncRequest as arg, adjust
5660         (findbinding): take a FuncRequest as arg, adjust.
5661
5662         * funcrequest.h (operator=): added
5663
5664         * funcrequest.C (FuncRequest): default kb_action changed from
5665         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5666
5667         * buffer.C (dispatch): simplify
5668         (dispatch): adjust to take a FuncRequest as arg, adjust
5669
5670         * boost.C (assertion_failed): change assertion message slightly
5671
5672         * ToolbarBackend.C (read): simplify
5673
5674         * MenuBackend.C (binding): adjust call to findbinding, add a
5675         message if no binding is found.
5676         (read): simplify
5677         (expandToc): correct by adding a empty FuncRequest
5678
5679         * LyXAction.C: include <boost/assert.hpp>
5680         (isPseudoAction): delete function
5681         (LookupFunc): change name to...
5682         (lookupFunc): this. change return type to FuncRequest.
5683         (getActionName): take kb_action as arg, simplify
5684         (funcHasFlag): add an assert, simplify.
5685
5686 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5687
5688         * toc.C (action): return a FuncRequest, simplify
5689
5690         * lyxfunc.C (processKeySym): adjust
5691         (getStatus): delete version that takes an int.
5692         (getStatus): adjust
5693         (dispatch): delete version that takes action as int
5694         (dispatch): adjust
5695         (sendDispatchMessage): simplify and adjust
5696
5697         * funcrequest.C (getArg): take unsigned int as arg
5698
5699         * ToolbarBackend.C (read): adjust
5700         (add): delete version that takes func as a string.
5701         (getIton): take a FuncRequest as arg
5702
5703         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5704         action.
5705
5706         * MenuBackend.C (MenuItem): add a new construct that only takes a
5707         Kind, simplify the constructor use for submenus.
5708         (add): adjust
5709         (expandLastfiles): adjust
5710         (expandDocuments): adjust
5711         (expandFormats): adjust
5712         (expandFloatListInsert): adjust
5713         (expandFloatInsert): adjust
5714         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5715
5716         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5717         Remove class variables lyx_pseudo_map and lyx_arg_map
5718
5719         * LyXAction.C (searchActionArg): delete function
5720         (getPseudoAction): delete function
5721         (retrieveActionArg): delete function
5722         (LookupFunc): make it return kb_action, simplify.
5723         (getActionName): simplify
5724
5725         * factory.C (createInset): fix new bug
5726
5727 2003-09-19  Angus Leeming  <leeming@lyx.org>
5728
5729         * CutAndPaste.C (pasteSelection): remove fudge used to set the
5730         masterFilename_ parameter in the include inset.
5731
5732         * factory.C (createInset): changes due to the changes to InsetInclude.
5733
5734 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5735
5736         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5737
5738 2003-09-18  Angus Leeming  <leeming@lyx.org>
5739
5740         * buffer.C:
5741         * BufferView.C: pass the buffer when calling Inset::getLabelList,
5742         Inset::fillWithBibKeys.
5743         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5744
5745 2003-09-18  Angus Leeming  <leeming@lyx.org>
5746
5747         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5748         variables.
5749         (ctor): pass and store a 'Buffer const &'
5750         (buffer): new member function.
5751
5752         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5753         '*this' to the LaTeXFeatures ctor.
5754
5755 2003-09-18  Angus Leeming  <leeming@lyx.org>
5756
5757         * LColor.h:
5758         * lyxfont.C:
5759         * lyxfont.h:
5760         * lyxtext.h:
5761         * text.C: rename EnumLColor as LColor_color.
5762
5763 2003-09-18  Angus Leeming  <leeming@lyx.org>
5764
5765         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5766         remove #include "insets/insetbase.h" from cursor.h.
5767
5768 2003-09-18  Angus Leeming  <leeming@lyx.org>
5769
5770         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5771         InsetOld_code to remove #include "inset.h".
5772
5773         * iterators.C: add #include "insets/inset.h"
5774
5775 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
5776
5777         * BufferView.C: remove more locking stuff that apparently doesn't
5778         do anything sensible.
5779
5780 2003-09-16  André Pönitz  <poenitz@gmx.net>
5781
5782         * paragraph.[Ch]:
5783         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5784           performance boost.
5785
5786 2003-09-16  Angus Leeming  <leeming@lyx.org>
5787
5788         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5789
5790         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5791         arg/return type.
5792
5793         * paragraph.h: remove #include "lyxfont.h". Forward declare
5794         LyXFont_size.
5795
5796 2003-09-16  Angus Leeming  <leeming@lyx.org>
5797
5798         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5799         of support/textutils.h.
5800         (isWord): move the contents of support/textutils.h's IsWordChar here.
5801
5802         * buffer.C:
5803         * lyxfind.C:
5804         * rowpainter.C:
5805         * text.C:
5806         * text2.C: add #include "paragraph.h".
5807
5808         * rowpainter.C:
5809         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5810
5811 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5812
5813         * main.C:
5814         * lyx_main.C:
5815         * lyx_cb.C:
5816         * buffer.C:
5817         * LaTeX.C: use namespace alias for lyx::support::os
5818
5819 2003-09-16  Angus Leeming  <leeming@lyx.org>
5820
5821         * bufferparams.C:
5822         * bufferview_funcs.C:
5823         * factory.C:
5824         * lyxfunc.C:
5825         * paragraph_pimpl.C:
5826         * rowpainter.C:
5827         * text.C: add #include "LColor.h".
5828
5829 2003-09-16  Angus Leeming  <leeming@lyx.org>
5830
5831         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5832         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5833         return LyXFont &.
5834         Store the FontBits::color variable as an int rather than as an
5835         LColor::colorso that we can move LColor.h out of the lyxfont.h header
5836         file.
5837
5838         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5839         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5840         string calls together.
5841
5842         * lyxrc.C: add #include "LColor.h".
5843
5844 2003-09-15  Angus Leeming  <leeming@lyx.org>
5845
5846         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5847         a cow_ptr.
5848
5849 2003-09-15  Angus Leeming  <leeming@lyx.org>
5850
5851         * LColor.h: add an EnumLColor wrapper for LColor::color.
5852
5853         * lyxfont.[Ch] (color, setColor, realColor):
5854         * lyxtext.h, text.C (backgroundColor):
5855         pass EnumLColor args to/from the functions, rather than LColor::color
5856         ones.
5857
5858         * lyxfont.h:
5859         * lyxtext.h: forward declare EnumLColor.
5860
5861         * lyx_main.C: add #include "LColor.h".
5862
5863 2003-09-15  Angus Leeming  <leeming@lyx.org>
5864
5865         * .cvsignore: add lyx-gtk.
5866
5867 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5868
5869         * Chktex.C
5870         * LaTeX.C
5871         * LaTeXFeatures.C
5872         * ParagraphParameters.C
5873         * Spacing.C
5874         * buffer.C
5875         * bufferparams.C
5876         * bufferview_funcs.C
5877         * chset.C
5878         * counters.C
5879         * funcrequest.C
5880         * lyxfont.C
5881         * lyxgluelength.C
5882         * lyxlength.C
5883         * paragraph.C
5884         * paragraph_funcs.C
5885         * text3.C
5886         * vc-backend.C: remove usage of STRCONV
5887
5888 2003-09-15  Angus Leeming  <leeming@lyx.org>
5889
5890         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5891         explicitly define the color passed to the painter.
5892
5893 2003-09-15  Angus Leeming  <leeming@lyx.org>
5894
5895         * bufferparams.C (BufferParams): reorder member initializers to avoid
5896         compiler warning.
5897
5898 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
5899
5900         * CutAndPaste.C (pasteSelection): remove an outdated #warning
5901         * text.C (updateRowPositions): remove an unusual nop
5902
5903 2003-09-12  André Pönitz  <poenitz@gmx.net>
5904
5905         * BufferView_pimpl.C:
5906         * Bullet.C:
5907         * layout.h:
5908         * lyxfunc.C:
5909         * lyxlayout.[Ch]:
5910         * lyxtextclass.C:
5911         * rowpainter.C:
5912         * text.C:
5913         * text2.C:
5914         * Counters.[Ch]: finish the 'automatic counters' job
5915
5916 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5917
5918         * aspell.C: include <boost/assert.cpp> (compile fix)
5919
5920 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
5921
5922         * boost.C (assertion_failed): use lyx::support::abort instead of
5923         assert.
5924
5925 2003-09-10  Angus Leeming  <leeming@lyx.org>
5926
5927         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5928         with their _fwd progeny.
5929
5930 2003-09-09  Angus Leeming  <leeming@lyx.org>
5931
5932         134 files throughtout the source tree: replace 'using namespace abc;'
5933         directives with the appropriate 'using abc::xyz;' declarations.
5934
5935 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5936
5937         * boost.C (emergencyCleanup): moved here from LAssert.c
5938         (assertion_failed): new function, called by BOOST_ASSERT
5939
5940         * several files: change Assert to BOOST_ASSERT
5941
5942 2003-09-09  Angus Leeming  <leeming@lyx.org>
5943
5944         * buffer.[Ch]: Add an Impl class and move Buffer's member
5945         variables into it. As a result move several header files out of
5946         buffer.h.
5947
5948         Add header files to lots of .C files all over the tree as a result.
5949
5950 2003-09-09  Angus Leeming  <leeming@lyx.org>
5951
5952         * buffer.[Ch]: make Buffer's member variables private. Add
5953         accessor functions.
5954
5955         Lots of changes all over the tree as a result.
5956
5957 2003-09-08  Angus Leeming  <leeming@lyx.org>
5958
5959         * graph.C: #include <config.h>.
5960
5961 2003-09-08  Angus Leeming  <leeming@lyx.org>
5962
5963         * BranchList.C:
5964         * BufferView.C:
5965         * BufferView_pimpl.C:
5966         * CutAndPaste.C:
5967         * DepTable.C:
5968         * LaTeX.C:
5969         * LaTeXFeatures.C:
5970         * LyXAction.C:
5971         * MenuBackend.C:
5972         * TextCache.C:
5973         * aspell.C:
5974         * buffer.C:
5975         * bufferlist.C:
5976         * changes.C:
5977         * chset.C:
5978         * converter.C:
5979         * counters.C:
5980         * debug.C:
5981         * graph.C:
5982         * ispell.C:
5983         * lyx_cb.C:
5984         * lyxfind.C:
5985         * lyxfunc.C:
5986         * lyxlex_pimpl.C:
5987         * lyxrc.C:
5988         * lyxrow.C:
5989         * paragraph.C:
5990         * rowpainter.C:
5991         * texrow.C:
5992         * text.C:
5993         * text2.C:
5994         * toc.C: remove redundant using directives.
5995
5996 2003-09-07  Angus Leeming  <leeming@lyx.org>
5997
5998         * LaTeXFeatures.h: remove #include "support/types.h".
5999         * ToolbarBackend.h: remove #include <algorithm>.
6000         * changes.h: remove #include <ctime>.
6001         * debug.h: remove #include <iosfwd>.
6002         * graph.h: remove #include "support/std_string.h".
6003         * lyx_main.h: remove #include <csignal>.
6004         * lyxlex_pimpl.h: remove #include <fstream>.
6005         * sgml.h: remove #include <algorithm>, <utility>.
6006         * toc.h: remove #include "support/std_ostream.h".
6007         Add #include <iosfwd>.
6008
6009 2003-09-07  Angus Leeming  <leeming@lyx.org>
6010
6011         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
6012
6013         * converter.h: forward declare LatexRunParams.
6014         * encoding.h: remove #include "lyxrc.h".
6015         * lyxtext.h: remove #include "LColor.h".
6016         * lyxtextclass.h: remove #include "support/types.h".
6017         * trans.h: remove #include "tex-accent.h".
6018         * trans_mgr.h: remove #include "tex-accent.h".
6019         * insets/inset.h: remove #include "support/types.h", <vector>.
6020         * insets/insetcollapsable.h: remove #include "LColor.h".
6021         * insets/insetinclude.h: remove #include "dimension.h".
6022         * insets/insetlatexaccent.h: remove #include "dimension.h".
6023         * insets/insetoptarg.h:: remove #include "insettext.h".
6024         * insets/insettext.h: remove #include "dimension.h",
6025         <boost/shared_ptr.hpp>
6026
6027         * insets/renderers.h: add #include "dimension.h".
6028         * insets/updatableinset.h: add #include "support/types.h".
6029
6030         * many .C files: Associated changes.
6031
6032 2003-09-06  Angus Leeming  <leeming@lyx.org>
6033
6034         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
6035         one, inside testInvariant.
6036
6037         * PrinterParams.C: new file.
6038         * PrinterParams.[Ch]: move the function bodies out of line.
6039
6040 2003-09-06  Angus Leeming  <leeming@lyx.org>
6041
6042         * ParagraphParameters.h: forward declare ParameterStruct rather than
6043         including its header file.
6044         (depth): moved out-of-line.
6045
6046 2003-09-06  Angus Leeming  <leeming@lyx.org>
6047
6048         * BufferView_pimpl.h:
6049         * kbmap.h:
6050         * kbsequence.h:
6051         * lyxfunc.h: forward declare LyXKeySym rather than
6052         #include "frontends/LyXKeySym.h".
6053
6054         * BufferView_pimpl.C:
6055         * kbmap.C:
6056         * kbsequence.C:
6057         * lyxfunc.C: associated changes.
6058
6059 2003-09-06  Angus Leeming  <leeming@lyx.org>
6060
6061         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6062         As a result, can remove the #include "insets/inset.h" from BufferView.h
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         * buffer_funcs.C:
6072         * buffer.h:
6073         * bufferlist.C:
6074         * BufferView.C:
6075         * bufferview_funcs.C:
6076         * BufferView_pimpl.C:
6077         * CutAndPaste.C:
6078         * lyx_cb.C:
6079         * lyxfunc.C:
6080         * paragraph.h:
6081         * ParagraphParameters.C:
6082         * tabular.C:
6083         * text3.C:
6084         * toc.C:
6085         * undo_funcs.C:
6086         * frontends/controllers/ControlDocument.C:
6087         * insets/insetcaption.C: rearrange the #includes into some sort of
6088         coherent order.
6089
6090         * buffer.h: remove #includes ErrorList.h, undo.h
6091
6092 2003-09-06  Angus Leeming  <leeming@lyx.org>
6093
6094         * support/types.h: add a 'depth_type' typedef, used to store the
6095         nesting depth of a paragraph.
6096
6097         * paragraph.h:
6098         * ParameterStruct.h: use this lyx::depth_type typedef rather than
6099         defining explicitly.
6100
6101         * buffer.h:
6102         * paragraph_funcs.h:
6103         * ParagraphParameters.h:
6104         * sgml.h: use lyx::depth_type rather than Paragraph or
6105         ParameterStruct's depth_type.
6106
6107         * buffer.h
6108         * paragraph_funcs.h: no need to #include paragraph.h anymore.
6109
6110         * BufferView.C:
6111         * BufferView_pimpl.C:
6112         * CutAndPaste.C:
6113         * ParagraphParameters.C:
6114         * buffer_funcs.C:
6115         * bufferlist.C:
6116         * bufferview_funcs.C:
6117         * lyx_cb.C:
6118         * lyxfunc.C:
6119         * tabular.C:
6120         * text3.C:
6121         * toc.C:
6122         * undo_funcs.C:
6123         * frontends/LyXView.C:
6124         * frontends/controllers/ControlDocument.C:
6125         * frontends/controllers/ControlErrorList.C:
6126         * insets/insetbibitem.C:
6127         * insets/insetbranch.C:
6128         * insets/insetcaption.C:
6129         * insets/insetcollapsable.C:
6130         * insets/insetenv.C:
6131         * insets/insetert.C:
6132         * insets/insetfloat.C:
6133         * insets/insetfoot.C:
6134         * insets/insetfootlike.C:
6135         * insets/insetnewline.C:
6136         * insets/insetquotes.C:
6137         * insets/insettabular.C:
6138         * insets/insettext.C:
6139         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
6140
6141         * frontends/controllers/ControlChanges.C: #include "changes.h".
6142
6143 2003-09-06  Angus Leeming  <leeming@lyx.org>
6144
6145         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
6146         than #including paragraph.h.
6147
6148         * ParagraphList.h:
6149         * RowList.h: deleted. Superfluous.
6150
6151         * CutAndPaste.h:
6152         * iterators.h:
6153         * lyxcursor.h:
6154         * lyxtext.h:
6155         * text_funcs.h:
6156         * undo.h:
6157         * undo_funcs.h:
6158         * insets/inset.h:
6159         * insets/insettext.h: use ParagraphList_fwd.h rather than
6160         ParagraphList.h.
6161
6162         * paragraph.h: don't forward declare ParagraphList.
6163
6164         * buffer.h:
6165         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
6166         rather than ParagraphList.h. paragraph.h is still needed for the
6167         Paragraph::depth_type parameters.
6168
6169         * textcursor.h: enable it to compile stand-alone in light of the
6170         above changes.
6171
6172         * bufferview_funcs.C:
6173         * iterators.C:
6174         * lyxfunc.C:
6175         * lyxrow_funcs.C:
6176         * paragraph.C:
6177         * rowpainter.C:
6178         * text.C:
6179         * text2.C:
6180         * text3.C:
6181         * text_funcs.C:
6182         * textcursor.C:
6183         * undo.C:
6184         * frontends/controllers/ControlParagraph.C:
6185         * frontends/controllers/ControlTabular.C:
6186         * insets/insetmarginal.C:
6187         * insets/insetminipage.C:
6188         * insets/insetnote.C:
6189         * insets/insetoptarg.C: add header files needed to compile again.
6190
6191 2003-09-06  Angus Leeming  <leeming@lyx.org>
6192
6193         * RowList_fwd.h: new file, forward-declaring Row rather than
6194         #including lyxrow.h.
6195
6196         * lyxrow_funcs.h:
6197         * lyxtext.h:
6198         * paragraph.h:
6199         * insets/insettext.h: use it instead of RowList.h
6200
6201         * bufferview_funcs.C:
6202         * lyxfunc.C:
6203         * lyxrow_funcs.C:
6204         * paragraph.C:
6205         * rowpainter.C:
6206         * text.C:
6207         * text2.C:
6208         * text3.C: #include "RowList.h".
6209
6210 2003-09-05  Angus Leeming  <leeming@lyx.org>
6211
6212         * factory.C (createInset):
6213         * vspace.C (c-tor): replace sscanf call with an istringstream.
6214         * ispell.C: re-add missing HP/UX headers.
6215         * lyxserver.C: re-add missing  os2 headers.
6216
6217 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
6218
6219         * BranchList.C:
6220         * graph.C:
6221         * ispell.C:
6222         * lastfiles.C:
6223         * lyx_cb.C:
6224         * lyxserver.C:
6225         * texrow.C:
6226         * text3.C: re-add missing system headers, needed for 2.95.2.
6227
6228 2003-09-05  Angus Leeming  <leeming@lyx.org>
6229
6230         Changes most place everywhere due to the removal of using directives
6231         from support/std_sstream.h.
6232
6233 2003-09-05  Angus Leeming  <leeming@lyx.org>
6234
6235         Replace LString.h with support/std_string.h,
6236         Lsstream.h with support/std_sstream.h,
6237         support/LIstream.h with support/std_istream.h,
6238         support/LOstream.h with support/std_ostream.h.
6239
6240         Changes resulting throughout the tree.
6241
6242 2003-09-05  Angus Leeming  <leeming@lyx.org>
6243
6244         * sgml.h: ensure that the header file can be compiled stand-alone.
6245         * *.C: strip out redundant #includes. (320 in total.)
6246
6247 2003-09-04  Angus Leeming  <leeming@lyx.org>
6248
6249         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6250         here (from getPackages).
6251
6252         * debug.[Ch]: add a new EXTERNAL tag.
6253
6254 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6255
6256         * text2.C (cursorEnd): simplify
6257         (setCursor): adjust
6258         (getColumnNearX): adjust
6259
6260         * text.C (computeBidiTables): adjust
6261         (fill): adjust
6262
6263         * rowpainter.C (paintChars): adjust
6264         (paintSelection): adjust
6265         (paintChangeBar): adjust
6266         (paintText): adjust
6267
6268         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6269         lastPos instead.
6270         (numberOfSeparators): adjust
6271
6272 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6273
6274         * LyXAction.C:
6275         * box.[Ch]:
6276         * lfuns.h:
6277         * lyxfunc.C:
6278         * text3.C: Restricts the mouse click functionality
6279         of insets like bibtex, include, toc and floatlist to the visible
6280         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6281         up the dialogs. Cursor has to be in front of the inset (i.e.
6282         start of row) for this to function.
6283
6284 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6285
6286         * bufferview_funcs.C (currentState): output row information
6287
6288 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6289
6290         * bufferview_funcs.C (currentState): output paragraph position
6291
6292 2003-09-04  Angus Leeming  <leeming@lyx.org>
6293
6294         * FloatList.h: move out #include "Floating.h".
6295         * LaTeX.h: move out #include "DepTable.h".
6296         * LyXAction.h: move out #include "funcrequest.h".
6297         * buffer.h: move out #include "author.h", "iterators.h".
6298         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6299         * lyx_main.h: move out #include "errorlist.h".
6300         * lyxfunc.h: move out #include "FuncStatus.h".
6301         * lyxtext: move out #include "lyxcursor.h".
6302         * paragraph_pimpl.h: move out #include "counters.h".
6303
6304 2003-09-03  Angus Leeming  <leeming@lyx.org>
6305
6306         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6307         preamble_snippets list, enabling us to add snippets to the preamble
6308         only if the snippet was not there already.
6309
6310 2003-09-04  Angus Leeming  <leeming@lyx.org>
6311
6312         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6313
6314 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6315
6316         * lyxfunc.C (dispatch): if fitCursor did something be sure to
6317         update
6318
6319 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6320
6321         * BranchList.C: point fix, earlier forgotten
6322
6323 2003-09-02  Angus Leeming  <leeming@lyx.org>
6324
6325         * box.C (contains): renamed from 'contained' after a fantastic
6326         amount of hot air.
6327
6328 2003-09-02  John Levon  <levon@movementarian.org>
6329
6330         * BufferView.C:
6331         * lyxcursor.h:
6332         * lyxcursor.C:
6333         * lyxfunc.C:
6334         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6335
6336 2003-09-02  John Levon  <levon@movementarian.org>
6337
6338         * text2.C: simplification of cursorEnd(), including partial
6339         fix for bug 1376
6340
6341 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6342
6343         * buffer.C (readFile): add a space
6344
6345 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
6346
6347         * BufferView_pimpl.C (update): remove bogus fitCursor() call
6348
6349 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6350
6351         * buffer.C (readFile): new function, take a filename and a
6352         ParagraphList::iterator
6353         (readFile): adjust
6354         (readFile): adjust, make it private. don't use setStream, make
6355         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6356         always contain the filename.
6357
6358         * BufferView.C (insertLyXFile): simplify and make it work for
6359         gzipped files.
6360
6361 2003-08-30  John Levon  <levon@movementarian.org>
6362
6363         * Makefile.am: fix dist (from Kayvan)
6364
6365 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6366
6367         * most files: change to use const Buffer refs
6368
6369 2003-08-27  André Pönitz  <poenitz@gmx.net>
6370
6371         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6372         on top of ownerPar().
6373
6374 2003-08-27  John Levon  <levon@movementarian.org>
6375
6376         * funcrequest.C: properly initialise POD members
6377
6378 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6379
6380         * lyxtext.h (top_y): move top_y from here
6381         * text.C:
6382         * text2.C:
6383         * text3.C:
6384         * BufferView.[Ch]:
6385         * BufferView_pimpl.[Ch]: to here
6386         * frontends/screen.C:
6387         * insets/insettabular.C:
6388         * insets/insettext.C: adjust
6389         * rowpainter.[Ch] (paintRows): remove LyXText & argument
6390
6391 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6392
6393         * BufferView.[Ch]:
6394         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6395
6396 2003-08-26  André Pönitz  <poenitz@gmx.net>
6397
6398         * paragraph_func.[Ch] (outerPar): new function
6399
6400         * paragraph.C:
6401         * paragraph_funcs.C:
6402         * paragraph_funcs.h:
6403         * paragraph_pimpl.C:
6404         * text2.C: remove Inset::par_owner
6405
6406 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
6407
6408         * lyxrow_funcs.C:
6409         * lyxtext.h:
6410         * text.C:
6411         * text2.C: eliminates the needFullRow/display() stuff
6412         altogether, putting the logic in metrics/draw in the insets.
6413
6414 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
6415
6416         * text2.C (redoParagraphInternal, redoParagraphs):
6417         * text.C (redoParagraph): add a call to updateRowPositions at the
6418         end of each 'metrics-like' call. Remove all others.
6419         (getRow): remove the 'y-computing' version.
6420         (getRowNearY): do not compute nor return the real y. Solve the
6421         'y < 0' problem and simplify.
6422
6423 2003-08-22  Angus Leeming  <leeming@lyx.org>
6424
6425         * *.[Ch]: clean-up of licence and author blurbs.
6426         Also move config.h out of a few .h files and into a few .C files.
6427
6428 2003-08-22  André Pönitz  <poenitz@gmx.net>
6429
6430         * lyxrow.[Ch]: add x_ and *fill_ members
6431
6432         * lyxtext.h:
6433         * text.C:
6434         * rowpainter.C:
6435         * text2.C: adjust/remove prepareToPrint() calls
6436
6437 2003-08-22  André Pönitz  <poenitz@gmx.net>
6438
6439         * lyxrow.[Ch]: add  end_ member
6440
6441         * lyxrow_funcs.C: use LyXRow::end_
6442
6443         * lyxtext.h (singleWidth): add LyXFont parameter
6444
6445         * rowpainter.C:
6446         * text2.C: adjust LyXText::singleWidth() calls
6447
6448         * text.C (redoParagraph): simplify row breaking logic
6449
6450
6451 2003-08-19  André Pönitz  <poenitz@gmx.net>
6452
6453         * funcrequest.C: initialize button_ member
6454
6455         * text3.C:
6456         * rowpainter.[Ch]: interface consolidation
6457
6458 2003-08-18  André Pönitz  <poenitz@gmx.net>
6459
6460         * BufferView.C:
6461         * BufferView_pimpl.C:
6462         * lyxfind.C:
6463         * paragraph_funcs.C:
6464         * rowpainter.C:
6465         * text3.C: remove LyXScreen::draw() and fitCursor calls
6466
6467         * BranchList.h: remove spurious semicolons
6468
6469         * MenuBackend.C: fix branchlist related crash
6470
6471 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
6472
6473         * BranchList.[Ch]:
6474         * InsetList.[Ch]:
6475         * LColor.[Ch]:
6476         * LyXAction.C:
6477         * Makefile.am:
6478         * MenuBackend.[Ch]:
6479         * bufferparams.[Ch]:
6480         * factory.C:
6481         * lfuns.h:
6482         * lyxfunc.C:
6483         * text3.C: implements the 'branch inset'
6484         idea. This allows the output of various versions of a document
6485         from a single source version, selectively outputing or suppressing
6486         output of parts of the text.
6487         This implementation contains a 'branch list editor' in a separate
6488         tab of the document settings dialog. Branches are user definable
6489         and have a "display colour" to distinguish them on-screen.
6490
6491         ColorHandler was somewhat cleaned up.
6492         (1) make possible a dynamically growing LColor list by allowing
6493         the graphic context cache to grow along (vector);
6494         (2) eliminate an IMHO unnecessary step in colour allocation.
6495
6496 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
6497
6498         * BufferView_pimpl.C: compile fix
6499
6500 2003-08-15  André Pönitz  <poenitz@gmx.net>
6501
6502         * rowpainter.C: remove extra metrics calls
6503
6504         * lyxtext.h: merge the two constructors into a single one,
6505           pass reference to owner's par list
6506
6507         * BufferView_pimpl.C:
6508         * text.C:
6509         * text2.C: adjust
6510
6511 2003-08-15  André Pönitz  <poenitz@gmx.net>
6512
6513         * lyxrow_funcs.[Ch]:
6514         * lyxtext.h:
6515         * paragraph.h:
6516         * paragraph_funcs.C:
6517         * rowpainter.C:
6518         * text.C:
6519         * text2.C:
6520         * text3.C:
6521         * text_funcs.C: split LyXText::rowlist_ into individual
6522         Paragraph::rows_ chunks
6523
6524         * BufferView.[Ch]:
6525         * BufferView_pimpl.[Ch]:
6526         * lyxfind.C:
6527         * lyxtext.h:
6528         * text3.C: remove toggleSelection()
6529
6530 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
6531
6532         * bufferlist.C: beautify two alerts (shorter text of buttons)
6533         * buffer.C: Remove redundant ' ' from message
6534         * tabular.h:
6535         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6536         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6537         rename VALIGN_CENTER to VALIGN_MIDDLE
6538
6539 2003-08-11  André Pönitz  <poenitz@gmx.net>
6540
6541         * lyxtext.h (getPar):
6542         * text.C: new function
6543
6544 2003-08-11  André Pönitz  <poenitz@gmx.net>
6545
6546         * Makefile.am:
6547         * tracer.[Ch]: remove unneeded files
6548
6549         * InsetList.[Ch]: remove resizeInsetsLyXText()
6550
6551         * lyxtext.h:
6552         * text.C:
6553         * text2.C:
6554         * text3.C: merge insertParagraphs() and appendParagraph()
6555         remove breakAgain(), update()
6556
6557         * BufferView_pimpl.[Ch]:
6558         * bufferview_funcs.[Ch]:
6559         * lyxfunc.C:
6560         * paragraph.[Ch]:
6561         * rowpainter.C:
6562         * tabular.C: adjust after text & InsetList changes.
6563
6564 2003-08-08  André Pönitz  <poenitz@gmx.net>
6565
6566         * text.C (insertChar, backspace): replace rowlist fiddling
6567         with rebreak of full par
6568
6569         * lyxtext.h:
6570         * text.C (breakAgainOneRow, redoHeightOfParagraph,
6571         checkParagraph, updateInset): removed
6572
6573 2003-08-07  André Pönitz  <poenitz@gmx.net>
6574
6575         * paragraph.C:
6576         * text3.C: merge some LFUN handlers, remove dead code
6577
6578 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6579
6580         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6581
6582 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
6583
6584         * text2.C (DEPM): fix part of bug 1255 and 1256
6585
6586 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6587
6588         * BufferView_pimpl.C (workAreaDispatch): change to use
6589         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6590         that are no mouse related.
6591
6592 2003-08-05  André Pönitz  <poenitz@gmx.net>
6593
6594         * BufferView.[Ch]:
6595         * BufferView_pimpl.[Ch]:
6596         * bufferview_funcs.C:
6597         * text2.C:
6598         * text3.C: rip out "deep update"
6599
6600         * textcursor.[Ch] (last_sel_cursor): remove unused member
6601
6602 2003-08-04  André Pönitz  <poenitz@gmx.net>
6603
6604         * BufferView.[Ch]:
6605         * BufferView_pimpl.[Ch]:
6606         * ParagraphParameters.C:
6607         * bufferview_funcs.C:
6608         * lyx_cb.C:
6609         * lyxfind.C:
6610         * lyxfunc.C:
6611         * text.C:
6612         * text2.C:
6613         * text3.C: replace "complicated" BufferView::update(...) calls with
6614         simpler ones.
6615
6616         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6617
6618 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
6619
6620         * Makefile.am (lyx_SOURCES): add paper.h
6621
6622 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6623
6624         * Makefile.am: move things around so that both lyx-qt and
6625         lyx-xforms can be built (according to --with-frontend). Then lyx
6626         is a symbolic link to lyx-[firstfrontend]
6627
6628 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
6629
6630         * Always use std::endl with lyxerr
6631
6632 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
6633
6634         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6635
6636 2003-08-01  André Pönitz  <poenitz@gmx.net>
6637
6638         * BufferView.[Ch]:
6639         * BufferView_pimpl.[Ch]:
6640         * lyxfunc.C:
6641         * text3.C: merge BufferView::repaint() and BufferView::update()
6642
6643 2003-08-01  José Matos  <jamatos@lyx.org>
6644
6645         * buffer.[Ch]: file_format is no longer a buffer data element.
6646
6647 2003-08-01  André Pönitz  <poenitz@gmx.net>
6648
6649         * BufferView.C:
6650         * lyxtext.h:
6651         * text.C:
6652         * text2.C: make redoParagraph more independent of current cursor
6653
6654         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6655         * text.C:
6656         * text2.C: remove unneeded members
6657
6658 2003-07-30  André Pönitz  <poenitz@gmx.net>
6659
6660         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6661
6662         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6663           create a single function...
6664
6665         * paragraph_funcs.C (moveItem): ... here.
6666
6667         * text.C:
6668           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6669
6670 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
6671
6672         * LColor.[Ch]: Add comment and greyedout logical colors.
6673
6674 2003-07-30  André Pönitz  <poenitz@gmx.net>
6675
6676         * tabular.C: don't use Assert too heavily. This crashes where it
6677           shouldn't
6678
6679 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
6680
6681         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6682         is disabled (bug 1232)
6683
6684 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6685
6686         * factory.C: limited 'arg' scope
6687
6688 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6689
6690         * factory.C: fixed Note submenu issues
6691
6692 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6693
6694         * factory.C: submenu for Note/Comment/Greyedout
6695
6696 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
6697
6698         * lyx_main.C (LyX):
6699         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6700
6701 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
6702
6703         * LaTeXFeatures.C:
6704         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6705         greyedout. Patch provided by Jürgen Spitzmüller.
6706
6707 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6708
6709         * kbmap.C (read): fix error message when reading bind files
6710
6711 2003-07-29  Angus Leeming  <leeming@lyx.org>
6712
6713         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6714         certainly does not do what it purports to do. I am doing it, and
6715         us, a favour by killing it.
6716
6717 2003-07-28  José Matos  <jamatos@lyx.org>
6718
6719         * buffer.C (readBody, do_writeFile):
6720         * paragraph.C(readParagraph): \end_document replaces \the_end.
6721
6722 2003-07-29  André Pönitz  <poenitz@gmx.net>
6723
6724         * BufferView.[Ch]:
6725         * BufferView_pimpl.[Ch]:
6726         * lyxfunc.C:
6727         * text2.C:
6728         * text3.C:
6729         * textcursor.[Ch]: remove toggleToggle & Co
6730
6731 2003-07-28  José Matos  <jamatos@fep.up.pt>
6732
6733         * buffer.C (readParagraph):
6734         * params_func (readParToken, readParagraph):
6735         * paragraph.C (write): \layout -> \begin_layout.
6736
6737 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6738
6739         * lyxlex_pimpl.C (setFile): clean up slightly.
6740
6741         * bufferparams.h: add compressed var
6742
6743         * buffer_funcs.C (readFile): adjust for LyXLex change
6744         (newFile): ditto + simplify
6745
6746         * buffer.C (writeFile): handle writing of compressed files
6747
6748         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6749         Check if the file is compressed and set a bufferparm if so.
6750
6751         * Makefile.am (lyx_LDADD): remove explicit -lz
6752
6753 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6754
6755         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6756         makeDocBookFile): put the real LyX version in the first line of
6757         the file
6758
6759         * version.h:
6760         * version.C.in: remove lyx_docversion
6761
6762         * tabular.C (write_attribute): add a template-based version to
6763         write enums properly
6764
6765 2003-07-28  André Pönitz  <poenitz@gmx.net>
6766
6767         * lyxtext.h:
6768         * text.C:
6769         * text2.C:
6770         * text3.C: use doubles again for x-coordinates. They are needed.
6771
6772 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6773
6774         * messages.C (getLocaleDir): use lyx_localedir()
6775
6776         * lyxlex_pimpl.C (setFile): compress stuff
6777
6778         * buffer.C (writeFile): add some compression stuff
6779         (do_writeFile): new func, dont call expliti close... will this
6780         breake anything?
6781
6782         * Makefile.am (lyx_LDADD): add -lz
6783
6784 2003-07-28  José Matos  <jamatos@fep.up.pt>
6785
6786         * buffer.C: increment file format.
6787         * paragraph_funcs (readParagraph, readParToken):
6788         * paragraph.C (readParagraph): add \end_layout.
6789
6790 2003-07-27  Angus Leeming  <leeming@lyx.org>
6791
6792         * Makefile.am: remove special casing for configure-time setting of
6793         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6794
6795         * lyx_main.C (init): remove all Jean-Marc's magic setting of
6796         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6797
6798 2003-07-26  André Pönitz  <poenitz@gmx.net>
6799
6800         * paragraph_func.[Ch]:
6801         * paragraph.C (realizeFont): inline it whereever it is used
6802
6803         * rowpainter.C:
6804         * text.C:
6805         * text2.C:
6806         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6807
6808
6809 2003-07-26  André Pönitz  <poenitz@gmx.net>
6810
6811         *       lyxtext.h:
6812         * text.C:
6813         * text2.C: get rid of LyXText::need_break_row
6814
6815 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6816
6817         * toc.[Ch]: put namespace toc inside namespace lyx
6818
6819         * MenuBackend.C (expandToc2): adjust for lyx::toc
6820         (expandToc): ditto
6821
6822         * lyxfunc.C (dispatch): adjust for lyx::find
6823
6824         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6825         lyx::find instead. Reorganize a bit.
6826         (LyXReplace): rename to replace
6827         (LyXFind): rename to find
6828
6829         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6830         (dispatch): ditto
6831
6832 2003-07-26  André Pönitz  <poenitz@gmx.net>
6833
6834         * text.C (setHeightOfRow): restrict scope of temporary variable
6835
6836         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
6837           code (never has been used?)
6838
6839 2003-07-27  Asger Alstrup  <alstrup@local>
6840
6841         * text.C (fill): Optimise algorithm to exploit that we can reuse
6842         the LyXFont for many characters.
6843         (setHeightOfRow): Same thing.
6844         (rowBreakPoint): Same thing.
6845
6846 2003-07-26  Asger Alstrup  <alstrup@local>
6847
6848         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6849
6850         * text.C (singleWidth): Spurious font copying in hot-spot
6851         singleWidth avoided. Reorder tests for arabic for efficiency.
6852
6853         * text.C (fill): handle empty paragraphs better.
6854
6855 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6856
6857         * ispell.C:
6858         * encoding.h: add includes
6859
6860         * lyxrc.C: remove reading of bind files
6861
6862         * lyx_main.C (init): setup bindings and menus only if we have a
6863         gui.
6864
6865         * kbmap.C (read): new method. Do the actual reading of bind
6866         files.
6867
6868         * converter.C (dvipdfm_options):
6869         * bufferparams.C:
6870         * lyxrc.C (read):
6871         (output): adapt PAPER_* enums.
6872
6873         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6874
6875         * bufferparams.h: remove paper-related enums from there
6876
6877         * paper.h: New file. A trivial header file to hold paper-related
6878         enums. It should later expand to contain many paper-related
6879         horrors access.
6880
6881         * lyxrc.C: declare extern displayTranslator
6882
6883 2003-07-27  José Matos  <jamatos@fep.up.pt>
6884
6885         * tabular.[Ch] (linuxdoc): add support for tables and figures
6886         (linuxdoc).
6887
6888 2003-07-27  José Matos  <jamatos@fep.up.pt>
6889
6890         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6891         consistency in both functions.
6892         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6893
6894 2003-07-26  Asger Alstrup  <alstrup@local>
6895
6896         * rowpainter.C (paintRows): Change algorithm to work directly on
6897         the insets rather than asking every character in the document
6898         whether its an inset.
6899
6900 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
6901
6902         * buffer.C (openFileWrite): factorize some code
6903
6904 2003-07-26  Angus Leeming  <leeming@lyx.org>
6905
6906         * lyx_cb.C:
6907         * lyx_main.[Ch]: replace occurances of system_tempdir with
6908         os::getTmpDir().
6909
6910 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6911
6912         * rename Inset to InsetOld
6913
6914 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
6915
6916         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6917         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6918         which I think is a bit clearer. EDIT is gone, since it was
6919         premature optimisation, and broken for mathed anyway.
6920         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6921         with cursor positioning in insets as well (math insets still do not
6922         work, but that's a different story anyway.) It mysteriously
6923         crashes sometimes with undo in the first paragraph, but I'm fairly
6924         confident that this is a compiler bug.
6925
6926 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6927
6928         * paragraph.C (Paragraph): adjust for new clone return type
6929         (operator==): ditto
6930         (copyIntoMinibuffer): ditto
6931
6932 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
6933
6934         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6935         by not having a special case, and always doing a full rebreak of
6936         the document after undo.
6937
6938 2003-07-23  Angus Leeming  <leeming@lyx.org>
6939
6940         * factory.C (createInset): InsetExternal::setParams now takes a
6941         Buffer const * arg.
6942
6943 2003-07-23  Angus Leeming  <leeming@lyx.org>
6944
6945         * factory.C (createInset): changed interface to the external and
6946         graphics mailers' string2params functions.
6947
6948 2003-07-23  Angus Leeming  <leeming@lyx.org>
6949
6950         * factory.C (createInset): pass a
6951         Buffer const * parameter to InsetExternalMailer's string2params.
6952
6953 2003-07-22  John Levon  <levon@movementarian.org>
6954
6955         * Thesaurus.h: include the right aiksaurus header
6956
6957 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6958
6959         * MenuBackend.C (expand): check menu shortcuts unconditionally
6960
6961 2003-07-21  Angus Leeming  <leeming@lyx.org>
6962
6963         * factory.C (createInset): pass a
6964         buffer_path parameter to InsetGraphicsMailer's string2params.
6965
6966 2003-07-21  Angus Leeming  <leeming@lyx.org>
6967
6968         * BufferView_pimpl.C (buffer):
6969         * buffer.C (d-tor):
6970         * lyx_main.C (LyX):
6971         * lyxfunc.C (dispatch):
6972         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6973         rather than the grfx shortcut.
6974
6975 2003-07-21  André Pönitz  <poenitz@gmx.net>
6976
6977         * rowpainter.C: remove unused variables
6978
6979         * tabular_funcs.C:
6980         * tabular_funcs.h: move to tabular.C
6981         * Makefile.am: adjust
6982
6983         * tabular.[Ch]: basic optical cleaning
6984
6985         * author.h: pass references, not values
6986
6987 2003-07-18  André Pönitz  <poenitz@gmx.net>
6988
6989         * lyxtext.h:
6990         * metricsinfo.C:
6991         * metricsinfo.h:
6992         * rowpainter.C:
6993         * text.C:
6994         * text2.C:
6995         * text3.C: two-phase drawing for InsetText and InsetTabular
6996         some float -> int changes.
6997
6998 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6999
7000         * lyx_main.C: fix the fix
7001
7002 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
7003
7004         * lyx_main.C: fix a crash in batch mode if no files specified
7005         * converter.C: ws
7006
7007 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
7008
7009         * format.[Ch] (papersize): moved to BufferParams
7010         * converter.[Ch] (dvips_options): moved to BufferParams
7011         (dvipdfm_options): moved to anon namespace
7012         * bufferparams.[Ch]: added above functions.
7013
7014 2003-07-17  André Pönitz  <poenitz@gmx.net>
7015
7016         * lyxtext.h:
7017         * rowpainter.C:
7018         * text2.C: don't call inset->update() anymore
7019
7020         * metricsinfo.[Ch]: add convenience constructor
7021
7022 2003-07-16  André Pönitz  <poenitz@gmx.net>
7023
7024         * lyxcursor.[Ch]:
7025         * lyxfunc.[Ch]:
7026         * text.C:
7027         * text2.C: replace the LyXCursor::irow_ member with
7028          on-demand computation of the value
7029
7030 2003-07-16  John Levon  <levon@movementarian.org>
7031
7032         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
7033
7034 2003-07-15  André Pönitz  <poenitz@gmx.net>
7035
7036         * text.C:
7037         * text2.C: remove no more needed refresh_row
7038
7039 2003-07-15  André Pönitz  <poenitz@gmx.net>
7040
7041         * lyxtext.h:
7042         * rowpainter.C:
7043         * text2.C:
7044         * text3.C: refresh_status tristate -> need_update bool
7045
7046 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
7047
7048         * lyxtext.h (init): remove reinit argument (act as if always true)
7049         * text2.C: adjust to that
7050
7051 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7052
7053         * bufferview_funcs.[Ch]: introduce function replaceSelection()
7054         * text3.C: use it to delete selections in some cases
7055         (bugs 441, 673, 702, 954).
7056
7057 2003-07-14  André Pönitz  <poenitz@gmx.net>
7058
7059         * rowpainter.[Ch]: reduce interface
7060
7061 2003-07-14  André Pönitz  <poenitz@gmx.net>
7062
7063         * BufferView_pimpl.C:
7064         * text2.C: adjust after removing unused BufferView * argument
7065
7066 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
7067
7068         * text2.C (init): fix a crash fired on resize
7069
7070 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
7071
7072         * buffer.[Ch]: added new closing signal
7073         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
7074         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
7075         BufferView::Pimpl via the closing the signal
7076
7077 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
7078
7079         * buffer.[Ch]: take out all bv-related from buffer
7080         * BufferView.C:
7081         * BufferView_pimpl.[Ch]: connect to new signals
7082         * CutAndPaste.C: removed useless asserts
7083         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
7084         * lyxvc.[Ch]:
7085         * vc-backend.[Ch]:
7086         * lyxfunc.C: moved view-related funciontality from vc here
7087         * paragraph.C: removed outdated comments
7088         * text.C: ws
7089
7090 2003-07-10  André Pönitz  <poenitz@gmx.net>
7091
7092         * BufferView_pimpl.C:
7093         * tabular.h:
7094         * tabular_funcs.C:
7095         * text.C:
7096         * text2.C: remove InsetText::InnerCache, clean up consequences
7097
7098 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
7099
7100         * ispell.C: fix two typos in error messages
7101
7102 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
7103
7104         * Extend Note inset to other forms of annotation like Comment
7105         and Greyedout. Right button click gives dialog.
7106
7107         Files modified or added (+):
7108
7109         * insetnote.[Ch]
7110         * FormNote.[Ch]      +
7111         * ControlNote.[Ch]   +
7112         * form_note.fd       +
7113         * Makefile.am in frontends/xforms, frontends/xforms/forms,
7114         frontends/controllers
7115         * xforms/Dialogs.C
7116         * factory.C
7117
7118 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7119
7120         * aspell.C: add missing namespace lyx::support
7121
7122 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
7123
7124         * BufferView.[Ch] (newFile): Add
7125         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
7126         * LaTeX.[Ch] (message): added this signal and use it
7127         * buffer.[Ch] (busy, message): added these signals and use them
7128         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
7129         * converter.C:
7130         * exporter.C:
7131         * format.C:
7132         * importer.C: use buffer signals instead of direct bv calling
7133         * lyx_cb.[Ch] (ShowMessage): removed
7134         * lyx_main.C:
7135         * lyxfunc.C:
7136         * paragraph_funcs.C:
7137         * text2.C: use buffer signals
7138
7139 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7140
7141         * introduce namespace lyx::graphics
7142
7143 2003-07-02  André Pönitz  <poenitz@gmx.net>
7144
7145         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
7146
7147 2003-07-01  André Pönitz  <poenitz@gmx.net>
7148
7149         * text.C:
7150         * text2.C:
7151         * text3.C:
7152         * text_funcs.[Ch]:
7153         * textcursor.h:
7154         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
7155           text*.C to text_func.C
7156
7157 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7158
7159         * introduce namespace lyx::support
7160
7161 2003-06-30  André Pönitz  <poenitz@gmx.net>
7162
7163         * Chktex.C:
7164         * funcrequest.C:
7165         * lyxtext.h:
7166         * text.C: re-enable --with-included-string
7167
7168 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7169
7170         * textcursor.C: add <config.h>
7171
7172         * text.C (getWord): remove const from word_location arg
7173
7174         * lyxvc.C (getLogFile): fix const type order
7175
7176         * lyxtext.h: remove const from word_location arg, add arg name
7177
7178         * lyxlayout.h: currect type on labeltype.
7179
7180         * importer.C: correct \file
7181
7182         * converter.C (intToFormat): use std:: on ret val, ws changes
7183
7184         * bufferlist.h: correct \file
7185
7186         * buffer.C (makeLinuxDocFile): fix const type order
7187         (makeDocBookFile): ditto
7188         (fillWithBibKeys): use std:: on stdlib args.
7189
7190         * CutAndPaste.C: fix authors.
7191         (availableSelections): use std:: on return vector
7192
7193 2003-06-27  André Pönitz  <poenitz@gmx.net>
7194
7195         * BufferView_pimpl.C:
7196         * bufferview_funcs.C:
7197         * lyxcursor.C:
7198         * lyxcursor.h:
7199         * lyxfunc.C:
7200         * lyxtext.h:
7201         * rowpainter.C:
7202         * text.C:
7203         * text2.C:
7204         * text3.C: remove LyXCursor::row_ member
7205
7206         * lyxtext.h:
7207         * text.C: rename fullRebreak() to partialRebreak() and implement
7208           a fullRebreak() that really bereks fully
7209
7210         * textcursor.h: new struct for cursor-related data
7211
7212 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
7213
7214         * lyx_main.C (LyX): get full path of document loaded on the
7215         command line
7216
7217 2003-06-26  André Pönitz  <poenitz@gmx.net>
7218
7219         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7220           remove unused/broken operator>,<,>=.
7221
7222         *       text.C: remove only use of broken operator<= in an Assert().
7223
7224 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7225
7226         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7227         moved errorlist_.clear to showErrorList
7228
7229 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7230
7231         * converter.C (scanLog, runLaTeX):
7232         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7233         move the bv->showErrorList call to the callers
7234         * lyxfunc.C: i.e. here...
7235         * text2.C: and here
7236         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7237         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7238         namespace, the second to...
7239         * buffer_funcs (BufferFormat, parseErrors): added
7240         * errorlist.C (ErrorList(TeXErrors const &)): removed
7241
7242 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7243
7244         * ToolbarBackend.C (getIcon): complain when icon cannot be found
7245
7246 2003-06-24  "Garst R. Reese" <reese@isn.net>
7247
7248         * debug.C: fix typo
7249
7250 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7251
7252         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7253
7254         * version.C.in: change docversion to 1.4
7255
7256 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
7257
7258         * buffer.C: fix a bug just introduced
7259
7260 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
7261
7262         * buffer.[Ch]: added the parseError signal and use it, removed
7263         sgmlError
7264         * BufferView.[Ch] (addError): moved to ...
7265         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7266         to the Buffer::parseError signal to catch (guess what) parse errors
7267         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7268
7269 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
7270
7271         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7272         ability to create a buffer and to return an existing one from
7273         the list. Moved these functions to...
7274         * buffer_funcs.[Ch]: added
7275         * BufferView.[Ch] (loadLyXFile): added
7276         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7277         job removed from bufferlist::loadLyXFile.
7278         * buffer.C (setReadOnly): make it work without view
7279         (i.e added an if (users))
7280
7281 2003-06-19  Angus Leeming  <leeming@lyx.org>
7282
7283         * lfuns.h:
7284         * LyXAction.C (init):
7285         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7286         with LFUN_DIALOG_SHOW <name> <data>.
7287
7288 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7289
7290         * CutAndPaste.C (availableSelections): small compilation fix for
7291         ancient (gcc 2.9x) compilers
7292
7293 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
7294
7295         * text3.C (cursorNext): add tmp var
7296
7297         * text2.C (updateCounters): for function calling out of for clause
7298         (replaceSelectionWithString): ditto
7299         (insertStringAsParagraphs): ditto
7300         (getColumnNearX): add tmp var
7301         (setCursorFromCoordinates): add tmp var
7302         (cursorDownParagraph): add tmp var
7303         (deleteEmptyParagraphMechanism): add tmp var
7304
7305         * text.C (insertChar): add tmp var
7306
7307         * rowpainter.C (paintDepthBar): add tmp var
7308
7309         * CutAndPaste.C (availableSelections): potentially check all
7310         paragraphs in a cut to fill the shown strings.
7311
7312 2003-06-18  André Pönitz  <poenitz@gmx.net>
7313
7314         * kbmap.[Ch]: use vector<> instead of list<>
7315
7316 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
7317
7318         * text3.C (dispatch): handle arg to LFUN_PASTE, call
7319         pasteSelection with index
7320
7321         * text2.C (pasteSelection): modify, call pasteSelection with index
7322
7323         * paragraph.C (asString): reimplement version with no interval to
7324         call the one with interval.
7325
7326         * lyxtext.h: add index arg to pasteSelection
7327
7328         * MenuBackend.C (MenuItem): handle PasteRecent
7329         (Menu::read::Menutags): add md_pasterecent
7330         (read): handle it
7331         (expandPasteRecent): new function
7332         (expand): use it
7333
7334         * MenuBackend.h: add PasteRecent to MenuItem::Kind
7335
7336         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7337         the limited stack
7338         (availableSelections): new function
7339
7340 2003-06-17  Angus Leeming  <leeming@lyx.org>
7341
7342         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7343
7344 2003-06-17  Angus Leeming  <leeming@lyx.org>
7345
7346         * lfuns.h:
7347         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7348
7349         * lyxfunc.C (dispatch): invoke it.
7350
7351 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7352
7353         * iterators.C (operator++, ParPosition): reintroduce some
7354         const_cast for the benefit of older compilers.
7355
7356 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7357
7358         * text3.C (dispatch): do not modify clipboard when doing
7359         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7360         LFUN_DELETE_SKIP on a selection selection
7361
7362 2003-06-16  André Pönitz  <poenitz@gmx.net>
7363
7364         * BufferView.C:
7365         * buffer.C:
7366         * buffer.h:
7367         * paragraph.C:
7368         * tabular.[Ch]: IU of clone() and getLabelList();
7369
7370 2003-06-13  André Pönitz  <poenitz@gmx.net>
7371
7372         * tabular.h: compactification
7373
7374 2003-06-12  André Pönitz  <poenitz@gmx.net>
7375
7376         * tabular.C:
7377         * tabular.h:
7378         * tabular_funcs.h: some renaming plus whitespace
7379
7380 2003-06-12  André Pönitz  <poenitz@gmx.net>
7381
7382         * BufferView.C:
7383         * BufferView_pimpl.C:
7384         * CutAndPaste.C:
7385         * buffer.C:
7386         * iterators.[Ch]:
7387         * lyxfunc.C:
7388         * text.C:
7389         * toc.C: Return a Paragraph & for ParIterator::operator*()
7390
7391 2003-06-11  John Levon  <levon@movementarian.org>
7392
7393         * lyx_main.C:
7394         * ToolbarBackend.h:
7395         * ToolbarBackend.C: add "Toolbars" section and
7396         put the flags there
7397
7398 2003-06-10  Angus Leeming  <leeming@lyx.org>
7399
7400         * lfuns.h:
7401         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7402
7403         * lyxfunc.C (dispatch): invoke it.
7404
7405 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7406
7407         * main.C: protect <ios> with HAVE_IOS
7408         (main): protect sync_with_stdio with HAVE_IOS
7409
7410 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
7411
7412         * text2.C (cutSelection): adjust
7413         (pasteSelection): adjust
7414
7415         * messages.C: handle get of empty string
7416
7417         * main.C (main): use sync_with_stdio(false)
7418
7419         * lyxfunc.C (dispatch): adjust
7420
7421         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7422         (WriteAs): remove unneeded BufferView arg.
7423
7424         * bufferparams.h: use correct types on papersize, papersize2 and
7425         paperpackage.
7426
7427         * bufferparams.C (readToken): adjust for type
7428         (writeLaTeX): add missing cases to switch.
7429
7430         * bufferlist.C (quitWriteBuffer): adjust
7431         (close): adjust
7432
7433         * buffer.C (asciiParagraph): remove some commented code.
7434
7435         * CutAndPaste.C: remove current_view extern variable.
7436         (cutSelection): add BufferParams arg.
7437         (eraseSelection): add BufferParams arg.
7438         (pasteSelection): add Buffer const & arg
7439
7440 2003-06-07  John Levon  <levon@movementarian.org>
7441
7442         * buffer.C:
7443         * paragraph_funcs.C:
7444         * paragraph_pimpl.C:
7445         * text.C:
7446         * text2.C:
7447         * paragraph.h:
7448         * paragraph.C: allow InsetERT to freely space lines,
7449         and some consolidation of code
7450
7451 2003-06-06  José Matos  <jamatos@fep.up.pt>
7452
7453         * buffer.C (makeDocBookFile): fix bug #821
7454
7455 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
7456
7457         * BufferView_pimpl.C (dispatch): use Dialogs::visible
7458
7459 2003-06-04  Angus Leeming  <leeming@lyx.org>
7460
7461         * buffer.C: bump format to 224.
7462
7463 2003-06-05  André Pönitz  <poenitz@gmx.net>
7464
7465         * text2.C (redoParagraphs): remove two const_cast<>
7466
7467 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
7468
7469         * ParagraphList.h: remove last remnants of NO_STD_LIST
7470
7471 2003-06-03  Angus Leeming  <leeming@lyx.org>
7472
7473         * factory.C (createInset): small change to the way InsetExternal's params
7474         are set.
7475
7476 2003-06-04  André Pönitz  <poenitz@gmx.net>
7477
7478         * buffer.h: use Undo directly instead of shared_ptr<Undo>
7479
7480         * paragraph_pimpl.h:
7481         * paragraph.[Ch]: some Inset -> UpdatableInset changes
7482
7483         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7484
7485         * undo_funcs.C: make some simple cases of undo work again
7486
7487 2003-06-03  John Levon  <levon@movementarian.org>
7488
7489         * ispell.C: HPUX doesn't have sys/select.h
7490         (from Albert Chin)
7491
7492 2003-06-03  John Levon  <levon@movementarian.org>
7493
7494         * CutAndPaste.C: update tabular and include inset
7495         buffer references
7496
7497         * buffer.h:
7498         * paragraph.h:
7499         * paragraph.C: remove owningBuffer(), don't pass Buffer
7500         to clone()
7501
7502         * factory.C: insetGraphicsParams changed
7503
7504 2003-06-02  John Levon  <levon@movementarian.org>
7505
7506         * LyXAction.C:
7507         * factory.C:
7508         * lfuns.h:
7509         * lyxfunc.C:
7510         * text3.C: remove insetparent
7511
7512 2003-06-02  John Levon  <levon@movementarian.org>
7513
7514         * buffer.h:
7515         * buffer.C: fix inset_iterator.end(), move out of line
7516         (bug 1149)
7517
7518 2003-06-01  John Levon  <levon@movementarian.org>
7519
7520         * text3.C: use a proper cut/paste when doing inset
7521         insert (from Jürgen Spitzmüller)
7522
7523 2003-06-01  John Levon  <levon@movementarian.org>
7524
7525         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7526
7527 2003-05-30  André Pönitz  <poenitz@gmx.net>
7528
7529         * rowpainter.C: unify second drawing phase
7530
7531 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7532
7533         * trans_mgr.C: remove one case of current_view
7534
7535         * text2.C (cursorBottom): delete NO_STD_LIST stuff
7536
7537         * paragraph_funcs.h: remove paragraph.h include
7538
7539         * paragraph.h: delete NO_STD_LIST stuff
7540
7541         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7542
7543         * buffer.h: remove paragraph.h include
7544
7545         * ParagraphList.C: delete file
7546
7547         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7548
7549         * toc.C (getTocList): adjust
7550
7551         * paragraph_pimpl.C (validate): adjust
7552
7553         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7554
7555         * paragraph.C (Paragraph): adjust
7556         (getPositionOfInset): use const_iterator, adjust
7557         (bibitem): use const_iterator, adjust
7558         (setInsetOwner): adjust
7559
7560         * iterators.C (operator++): adjust
7561
7562         * InsetList.[Ch]: Replace selfmade iterator with standard
7563         vector::iterator also introduce const_iterator. Remove getPos,
7564         getInset and setInset from InsetTable. Adjust accordingly.
7565
7566         * BufferView.C (lockInset): adjust
7567         (ChangeInsets): adjust
7568
7569         * tabular.[Ch]: delete commented same_id functions
7570
7571 2003-05-28  John Levon  <levon@movementarian.org>
7572
7573         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7574
7575 2003-05-28  André Pönitz  <poenitz@gmx.net>
7576
7577         * metricsinfo.[Ch]: remove 'fullredraw' member
7578
7579 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
7580
7581         * lyxtextclass.C (operator): remove caching.
7582
7583 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7584
7585         * text3.C: adjust
7586
7587         * text2.C (cursorBottom): adjust
7588         (setCounter): use ParagraphList::find, adjust
7589
7590         * text.C (workWidth): use ParagraphList::find, adjust
7591
7592         * lyxcursor.C (LyXCursor): adjust
7593
7594         * buffer.C (inset_iterator): adjust
7595
7596         * ParagraphList.h: make iterator(value_type) private, make
7597         ParagraphList a friend of iterator.
7598
7599         * ParagraphList.C (find): new function
7600
7601         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7602
7603 2003-05-27  André Pönitz  <poenitz@gmx.net>
7604
7605         * dimension.[Ch]: a -> asc, d -> des, w -> wid
7606
7607 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7608
7609         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7610
7611 2003-05-26  John Levon  <levon@movementarian.org>
7612
7613         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7614
7615 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7616
7617         * remove same_id from function signatures, adjust.
7618
7619 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7620
7621         * undo_funcs.C (createUndo): use the id functions directly, adjust.
7622
7623         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7624
7625         * paragraph.C (Paragraph): get rid of same_ids parameter
7626
7627         * ParagraphList.C (insert): adjust
7628         (push_back): adjust
7629
7630 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7631
7632         * paragraph_funcs.C (breakParagraph): adjust
7633         (breakParagraphConservative): adjust
7634
7635         * buffer.C (readParagraph): adjust
7636
7637         * ParagraphList.C (insert): take a reference instead of a pointer
7638         (insert): adjust
7639
7640         * paragraph.[Ch] (id): new function
7641
7642         * bufferlist.C (newFile): adjust
7643
7644         * ParagraphList.C (ParagraphList): adjust
7645         (assign): adjust
7646         (push_back): take a reference instead of a pointer.
7647
7648         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7649
7650         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7651         instead.
7652
7653         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7654         set else use old code.
7655
7656         * ParagraphList.C: remove all NO_NEXT code and only compile this
7657         code of NO_STD_LIST is set.
7658
7659 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7660
7661         * BufferView_pimpl.C:
7662         * TextCache.C:
7663         * TextCache.h:
7664         * bufferlist.C:
7665         * errorlist.h:
7666         * format.C:
7667         * format.h:
7668         * graph.C:
7669         * lyxfunc.C:
7670         * lyxrc.C:
7671         * graphics/GraphicsConverter.C:
7672         * graphics/PreviewLoader.C: header adjustment
7673
7674 2003-05-23  Angus Leeming  <leeming@lyx.org>
7675
7676         * LaTeXFeatures.[Ch] (useBabel): new method.
7677         * bufferparams.C (writeLaTeX): use it.
7678
7679 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7680
7681         * ParagraphList.h (set): remove unused function.
7682
7683 2003-05-23  André Pönitz  <poenitz@gmx.net>
7684
7685         * BufferView.C:
7686         * BufferView_pimpl.C:
7687         * buffer.C:
7688         * buffer.h:
7689         * lyxfunc.C:
7690         * undo_funcs.C: setUndo reworked
7691
7692         * iterators.[Ch]: add access to topmost ParagraphList
7693
7694         * lyxtext.[Ch] (workWidth): add a const
7695
7696 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7697
7698         * texrow.[Ch] (increasePos): remove function
7699         * exporter.C (export): removed unused var and outdated comment
7700
7701 2003-05-23  Angus Leeming  <leeming@lyx.org>
7702
7703         * latexrunparams.h: rename fragile as moving_arg.
7704         * paragraph.C (simpleTeXOnePar): ditto.
7705         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7706
7707 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7708
7709         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7710         (createUndo): ditto
7711         (textUndoOrRedo): comment out a currently unused var.
7712
7713         * paragraph.h (NO_NEXT): enable NO_NEXT
7714
7715         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7716
7717         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7718
7719         * exporter.C (Export): adjust for removeAutoInsets removal.
7720
7721         * buffer.C (runChktex): adjust for removeAutoInsets removal.
7722
7723         * LyXAction.C (init): remove LFUN_REMOVEERRORS
7724
7725         * BufferView.[Ch] (removeAutoInsets): delete function
7726
7727 2003-05-22  Angus Leeming  <leeming@lyx.org>
7728
7729         * latexrunparams.h: add a free_spacing variable.
7730
7731         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7732         to pass moving_arg, as the data is stored in runparams.fragile.
7733
7734         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7735         to Inset::latexOptional or to simpleTeXOnePar.
7736
7737         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7738         free_spacing arg to Inset::latexOptional.
7739
7740         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7741         free_spacing arg.
7742
7743 2003-05-22  Angus Leeming  <leeming@lyx.org>
7744
7745         * latexrunparams.h: add fragile and use_babel variables.
7746
7747         * bufferparams.[Ch] (writeLaTeX): return use_babel.
7748         * buffer.C (makeLaTeXFile): store this returned value in
7749         runparams.use_babel, thus passing it to the inset::latex methods.
7750
7751         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7752         simpleTeXSpecialChars as it is now stored in runparams.fragile.
7753
7754         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7755         longer has a fragile arg, as it is stored in runparams.fragile.
7756
7757         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7758         moving_arg parameter as the data is stored in runparams.fragile.
7759
7760         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7761         a fragile parameter as the data is stored in runparams.fragile.
7762
7763 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7764
7765         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7766
7767 2003-05-22  Angus Leeming  <leeming@lyx.org>
7768
7769         * latexrunparams.h: add a 'bool nice' which defaults to false.
7770
7771         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7772         now encapsulated within runparams.
7773
7774         * bufferlist.C (updateIncludedTeXfiles):
7775         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7776
7777 2003-05-22  Angus Leeming  <leeming@lyx.org>
7778
7779         * latexrunparams.h: new file containing struct LatexRunParams.
7780         * Makefile.am: add new file.
7781
7782         * LaTeX.[Ch] (c-tor, run):
7783         * buffer.[Ch] (makeLaTeXFile):
7784         * bufferlist.[Ch] (updateIncludedTeXfiles):
7785         * converter.C (convert, scanLog):
7786         * converter.[Ch] (runLaTeX):
7787         * exporter.C (Export):
7788         * paragraph.[Ch] (simpleTeXOnePar):
7789         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7790         * paragraph_funcs.[Ch] (latexParagraphs):
7791         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7792         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7793         pass around a LatexRunParams parameter.
7794
7795 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7796
7797         * paragraph.[Ch]: remove unused constructor
7798
7799         * ParagraphList.C (erase): new function, taking two iterators
7800
7801 2003-05-22  André Pönitz  <poenitz@gmx.net>
7802
7803         * undo_funcs.C: remove duplicated code
7804
7805         * iterator.[Ch]: operator=
7806
7807 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7808
7809         * tabular.C (SetMultiColumn): ws changes
7810
7811         * rowpainter.C (paintFirst): get rid of a ->previous
7812
7813         * lyx_cb.C (getPossibleLabel): parlist simplification
7814
7815         * BufferView.C (ChangeInsets): simplify slightly.
7816
7817 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7818
7819         * LyXAction.C: new lfun space-insert, kill protected-space-insert
7820         * lfuns.h: new LFUN_SPACE
7821         * lyxfunc.C: protected space has a new lfun
7822         * paragraph_funcs.C: read new space insets
7823         * text3.C:
7824         * factory.C: handle new space insets
7825
7826 2003-05-22  André Pönitz  <poenitz@gmx.net>
7827
7828         * BufferView.C:
7829         * BufferView_pimpl.C:
7830         * buffer.[Ch]:
7831         * lyxfunc.C:
7832         * undo_funcs.C: return a ParIterator from getParFromID.
7833
7834         * iterators.[Ch]: add two const's
7835
7836 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7837
7838         * toc.C (getTocList): adjust
7839
7840         * iterators.[Ch]: rework for parlist
7841
7842         * buffer.C (par_iterator_begin): adjust
7843         (par_iterator_end): adjust
7844
7845         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7846
7847         * BufferView.C (removeAutoInsets): adjust
7848         (ChangeInsets): adjust
7849
7850 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
7851
7852         * text.C (top_y): fix bug 1110
7853
7854 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
7855
7856         * errorlist.[Ch]: added
7857         * buffer.C:
7858         * BufferView.[Ch]:
7859         * BufferView_pimpl.C:
7860         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7861         instead
7862
7863 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7864
7865         * Makefile.am: ensure that lyx is relinked upon changes to the
7866         various "convenience" libs.
7867
7868 2003-05-20  Angus Leeming  <leeming@lyx.org>
7869
7870         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7871         files are compiled in alphabetical order again.
7872
7873         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7874
7875 2003-05-19  Angus Leeming  <leeming@lyx.org>
7876
7877         * gettext.[Ch]: remove "char const * _(char const *)".
7878
7879 2003-05-19  André Pönitz  <poenitz@gmx.net>
7880
7881         * dimension.[Ch]: promote from mathed/dimension.[Ch]
7882
7883         * Makefile.am:
7884         * BufferView.C:
7885         * DepTable.h:
7886         * LaTeXFeatures.C:
7887         * buffer.C:
7888         * lyxfont.C:
7889         * lyxlex.h:
7890         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7891
7892 2003-05-19  André Pönitz  <poenitz@gmx.net>
7893
7894         * buffer.C:
7895         * lyxlayout.[Ch]:
7896         * lyxtextclass.[Ch]:
7897         * paragraph.C:
7898         * paragraph_funcs.[Ch]:
7899         * text2.C:
7900         * text3.C: more insetenv work
7901
7902 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
7903
7904         * ParagraphParameters.C (params2string): small bug fixed
7905
7906 2003-05-16  André Pönitz  <poenitz@gmx.net>
7907
7908         * debug.C:
7909         * bufferview_funcs.C: patch from Kornel Benko to prevent
7910           crash when _(...) is called twice in a statement
7911
7912 2003-05-16  André Pönitz  <poenitz@gmx.net>
7913
7914         * BufferView.C:
7915         * lyxfunc.C:
7916         * text.C:
7917         * text2.C:
7918         * text3.C:
7919         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7920
7921 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
7922
7923         * lyx_main.C (init): remove spurious static_cast
7924
7925 2003-05-14  André Pönitz  <poenitz@gmx.net>
7926
7927         * BufferView.C: fix format string
7928
7929 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
7930
7931         * BufferView.[Ch] (insertErrors): removed
7932         * BufferView.[Ch] (showErrorList): added
7933         * buffer.C (runChkTeX):
7934         * converter.C (scanLog): call showErrorList instead of inserterrors
7935
7936 2003-05-13  André Pönitz  <poenitz@gmx.net>
7937
7938         * BufferView_pimpl.C:
7939         * buffer.C:
7940         * bufferview_func.C:
7941         * MenuBackend.C:
7942         * lyxfunc.C:
7943         * lyxrc.C:
7944         * tex-accent.C:
7945         * text3.C:
7946         * toc.C:
7947         * tabular_funcs.h: tostr() from its own header
7948
7949         * ParagraphParameters.C:
7950         * ToolbarBackend.C:
7951         * bufferparams.C:
7952         * format.C:
7953         * lyxlex_pimpl.C:
7954         * text3.C: STRCONV()
7955
7956 2003-05-12  André Pönitz  <poenitz@gmx.net>
7957
7958         * BufferView.C:
7959         * BufferView_pimpl.C:
7960         * CutAndPaste.C:
7961         * LaTeX.C:
7962         * LaTeXFeatures.C:
7963         * ParagraphParameters.C:
7964         * buffer.C:
7965         * bufferlist.C:
7966         * bufferparams.C:
7967         * bufferview_funcs.C:
7968         * converter.C:
7969         * counters.C:
7970         * debug.C:
7971         * exporter.C:
7972         * format.C:
7973         * importer.C:
7974         * lyx_cb.C:
7975         * lyx_main.C:
7976         * lyxfont.C:
7977         * lyxfunc.C:
7978         * lyxvc.C:
7979         * paragraph.C:
7980         * paragraph_funcs.C:
7981         * tabular.C:
7982         * tabular_funcs.C:
7983         * text2.C:
7984         * text3.C:  boost::format -> bformat  all over the place
7985
7986
7987 2003-05-09  André Pönitz  <poenitz@gmx.net>
7988
7989         * LColor.[Ch]: Pimpl the #include <map> away
7990
7991 2003-05-09  John Levon  <levon@movementarian.org>
7992
7993         * bufferlist.C: never remove emergency saves
7994
7995 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7996
7997         * Makefile.am: better lib building
7998
7999 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
8000
8001         * texrow.[Ch]: remove dependency on Paragraph and just store a id
8002         instead.
8003         * paragraph_pimpl.C (simpleTeXBlanks): adjust
8004         (simpleTeXSpecialChars): adjust
8005         (simpleTeXSpecialChars): adjust
8006         * paragraph.C (simpleTeXOnePar): adjust
8007         * buffer.C (makeLaTeXFile): adjust
8008
8009         * Makefile.am (BOOST_LIBS): allow boost as system lib.
8010
8011         * text2.C (changeDepth): parlist cleanup
8012         (getColumnNearX): ditto
8013
8014         * rowpainter.C (getLabelFont): parlist cleanup
8015
8016         * bufferlist.C (newFile): parlist cleanup
8017
8018         * CutAndPaste.C (eraseSelection): parlist cleanup
8019
8020         * BufferView_pimpl.C (trackChanges): parlist cleanup
8021         (dispatch): ditto
8022
8023         * BufferView.C (lockInset): parlist cleanup.
8024         (ChangeInsets): ditto
8025
8026 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8027
8028         * CutAndPaste.h: Update file header.
8029
8030         * CutAndPaste.C: Update file header.
8031         Store the parts cut out of the Document in a limited_stack.
8032         (copySelection): adjust
8033         (pasteSelection): new function, takes the index in the limited stack.
8034         (nrOfParagraphs): adjust
8035         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
8036         simplify error inset insertion.
8037         (checkPastePossible): adjust
8038
8039 2003-05-06  John Levon  <levon@movementarian.org>
8040
8041         * text2.C: don't cast wrap inset to float
8042
8043 2003-05-05  André Pönitz  <poenitz@gmx.net>
8044
8045         * iterator.C:
8046         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
8047
8048         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
8049           few naked Paragraph *.
8050
8051 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
8052
8053         * bufferparams.C: Output warning if a document with missing
8054         TeX document class is loaded
8055         * exporter.C: Disable TeX exports if the document class is missing
8056         * lyxtextclass.C:
8057         * lyxtextclass.h:
8058         * lyxtextclasslist.C: Handle new textclass.lst format; new method
8059         isTeXClassAvailable()
8060
8061 2003-05-03  John Levon  <levon@movementarian.org>
8062
8063         * BufferView.h:
8064         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
8065         explicit cursor show/hide
8066
8067         * BufferView_pimpl.h:
8068         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
8069         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
8070
8071         * lyxfunc.C: hide cursor before dispatching.
8072
8073         * lyx_cb.C:
8074         * lyxfind.C:
8075         * text.C:
8076         * text3.C: remove explicit cursor hides
8077
8078 2003-05-02  André Pönitz  <poenitz@gmx.net>
8079
8080         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
8081
8082         * undo_funcs.C:
8083         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
8084           linked lists
8085
8086         * text2.C: tiny whitespace
8087
8088 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8089
8090         * undo_funcs.C: almost only ws changes.
8091
8092         * ParagraphList.C (splice): just return if pl is empty.
8093
8094 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8095
8096         * ParagraphList.C (splice): new function.
8097
8098         * CutAndPaste.C (pasteSelection): use it
8099
8100 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8101
8102         * CutAndPaste.C (pasteSelection): remove the last next and
8103         previous from this file.
8104
8105 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8106
8107         * CutAndPaste.C (pasteSelection): more clean up, user proper
8108         ParagraphList functions for pasteing.
8109
8110         * ParagraphList.C (insert): new function, three arg insert
8111
8112 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8113
8114         * ParagraphList.C (insert): new function, three arg insert
8115
8116         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
8117         not on paragraphs.
8118
8119 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8120
8121         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
8122
8123 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8124
8125         * CutAndPaste.C (pasteSelection): remove some unneeded code.
8126
8127 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8128
8129         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
8130         (copySelection): clean up a bit.
8131         (pasteSelection): use make_pair
8132
8133         * ParagraphList.C (ParagraphList): implement copy constructor
8134         (operator=): implement, base on copy constructor.
8135         (assign): new func
8136
8137         * paragraph.C (erase): return a bool
8138
8139         * paragraph_pimpl.C (erasePos): remove function, move contents...
8140         (erase): ... here. Return a bool.
8141         (erase): call erase instead of erasePos.
8142
8143 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
8144
8145         * ParagraphList.h: define PitPosPair
8146         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
8147         ParagraphList, fix a bug on pasting multiple pars
8148         * text2.C: change interface to C&P
8149
8150 2003-04-30  André Pönitz  <poenitz@gmx.net>
8151
8152         * undo_func.C: revert part of yesterday's patch 2
8153
8154 2003-04-30  John Levon  <levon@movementarian.org>
8155
8156         * LColor.C: s/tabular/table/
8157
8158 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8159
8160         * text3.C (dispatch): do not convert iterator -> pointer
8161         * undo_funcs.C (setCursorParUndo): ditto
8162         * text_funcs.C (transposeChars): ditto
8163
8164         * text2.C (setLayout): ws changes only
8165
8166         * text.C (breakParagraph): do not convert iterator -> pointer
8167         (insertChar): ditto
8168         (acceptChange): ditto
8169         (rejectChange): ditto
8170         (changeCase): ditto
8171         (Delete): ditto
8172         (backspace): ditto
8173
8174         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
8175         pointer
8176
8177 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8178
8179         * text3.C (gotoInset): YABG (yet another bad getChar)
8180
8181 2003-04-29  André Pönitz  <poenitz@gmx.net>
8182
8183         * paragraph.h: make operator= private unimplemented as long as
8184           it is unusable
8185
8186         * ParagraphList.C: whitespace
8187
8188         * paragraph.[Ch]:
8189         * paragraph_pimpl.[Ch]:
8190         * paragraph_funcs.C:
8191         * CutAndPaste.C:
8192         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
8193
8194         * text2.C:
8195           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8196
8197 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8198
8199         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8200         * paragraph.[Ch] (erase):
8201         * paragraph_pimpl.[Ch] (erase): change return type and value
8202         * text2.C (cutSelection): some rework
8203
8204 2003-04-28  John Levon  <levon@movementarian.org>
8205
8206         * bufferlist.C: changes for unsaved changes dialog
8207
8208 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8209
8210         * bufferlist.C (newFile): set language (messages_) for new
8211         documents also.
8212
8213         * buffer.C (readFile): ws changes only.
8214
8215 2003-04-28  André Pönitz  <poenitz@gmx.net>
8216
8217         * undo_funcs.C:
8218         * lyxfunc.C:
8219         * buffer.[Ch]:
8220         * BufferView_pimpl.C:
8221         * BufferView.C: getParFromID related ParagraphList::iterator changes
8222
8223 2003-04-28  André Pönitz  <poenitz@gmx.net>
8224
8225         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8226           Changes
8227
8228 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8229
8230         * messages.C: remove one more localedir class variable.
8231
8232 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8233
8234         * messages.C (getLocaleDir): singleton generation function
8235         (Pimpl): use it.
8236         (Messages): add a default constructor.
8237
8238         * main.C (main): do not setup localedir here, do not call
8239         gettext_init.
8240
8241         * gettext.C (_): use it.
8242         (gettext_init): delete funciton
8243
8244 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8245
8246         * gettext.C (getLyXMessages): new singleton generating function.
8247
8248         * buffer.C (updateDocLang): adjust
8249
8250         * Makefile.am (messages.o): add target
8251         (main.o): remove target
8252
8253 2003-04-27  John Levon  <levon@movementarian.org>
8254
8255         * bufferlist.C:
8256         * lyx_cb.C:
8257         * lyxfunc.C:
8258         * lyxvc.C: specify cancel button in Alert::prompt
8259
8260 2003-04-26  John Levon  <levon@movementarian.org>
8261
8262         * text3.C:
8263         * lyxfunc.C:
8264         * lfuns.h:
8265         * LyXAction.C: add LFUN_INSET_SETTINGS
8266
8267         * lyxfunc.C: don't enable tabular-feature when there's
8268         just any locking inset
8269
8270 2003-04-26  John Levon  <levon@movementarian.org>
8271
8272         * bufferlist.C: re-add Cancel to buffer close question
8273
8274         * lyxfunc.C: fix import UI a bit
8275
8276 2003-04-25  John Levon  <levon@movementarian.org>
8277
8278         * gettext.C: remove the broken asserts for now
8279
8280 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8281
8282         * messages.C: make case where setlocale cannot comply work better.
8283
8284         * buffer.C (updateDocLang): new function
8285         (changeLanguage): use it
8286         (readFile): use it
8287
8288         * text2.C (setCounter): use B_ a bit.
8289
8290         * lyxlayout.C (Read): be sure to trim the label strings.
8291
8292         * messages.C (Messages): fix typo in comment
8293
8294         * buffer.C (readFile): set message_ after file is loaded.
8295         (makeDocBookFile): remove double return
8296         (changeLanguage): reset message_ upon language change.
8297         (B_): new func, use this to get translated buffer strings.
8298
8299         * main.C: add myself and Jean Marc as authors.
8300
8301 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8302
8303         * messages.[hC]: pimplify Messages, and three different pimpls to be
8304         used in different circumstances.
8305
8306         * gettext.[Ch]: change for use with new message code.
8307
8308 2003-04-24 André Pönitz <poenitz@gmx.net>
8309
8310         * factory.C: support for eqref
8311
8312 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
8313
8314         * messages.[Ch]: add missing char
8315
8316         * Makefile.am (lyx_SOURCES): add messages.[Ch]
8317
8318         * messages.[Ch]: New files
8319
8320 2003-04-18  John Levon  <levon@movementarian.org>
8321
8322         * BufferView.h:
8323         * BufferView.C:
8324         * BufferView_pimpl.C:
8325         * lfuns.h:
8326         * LyXAction.C:
8327         * lyxtext.h:
8328         * text2.C: remove layout-copy/paste (bug 778)
8329
8330 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8331
8332         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8333
8334 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8335
8336         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8337         if they succeed. Act accordingly.
8338
8339 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8340
8341         * text2.C (setCharFont): adjust
8342         (setCounter): adjust
8343         (insertStringAsLines): adjust
8344
8345         * text.C (leftMargin): adjust
8346         (setHeightOfRow): adjust
8347
8348         * rowpainter.C (paintFirst): adjust
8349         (paintLast): adjust
8350
8351         * paragraph_funcs.C (depthHook): ParagraphList::iterators
8352         (outerHook): ditto
8353         (isFirstInSequence): ditto
8354         (getEndLabel): ditto
8355         (outerFont): adjust
8356
8357         * paragraph.C (getParLanguage): comment out some hard stuff.
8358
8359         * buffer.C (insertStringAsLines): take a ParagraphList as arg
8360         (sgmlError): ditto
8361         (simpleDocBookOnePar): ditto
8362         (makeDocBookFile): use ParagraphList::iterator
8363
8364         * CutAndPaste.C (pasteSelection): adjust
8365
8366 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8367
8368         * text2.C (getFont): adjust
8369         (getLayoutFont): adjust
8370         (getLabelFont): adjust
8371
8372         * paragraph_funcs.C (TeXOnePar): adjust
8373
8374         * buffer.C (simpleLinuxDocOnePar): adjust
8375         (simpleDocBookOnePar): adjust
8376
8377         * CutAndPaste.C (pasteSelection): adjust
8378
8379         * BufferView.C (getEncoding): adjust
8380
8381         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8382
8383 2003-04-16  John Levon  <levon@movementarian.org>
8384
8385         * lyxfind.C: use parlist stuff for search/changes
8386
8387 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8388
8389         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8390
8391         * text2.C (deleteEmptyParagraphMechanism): adjust
8392
8393         * text2.[Ch] (ownerParagraph): delete func (both of them
8394
8395 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8396
8397         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8398
8399 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8400
8401         * ParagraphList.C: prepare for NO_NEXT
8402
8403 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8404
8405         * text2.C (getFont): adjust
8406         (getLayoutFont): adjust
8407         (getLabelFont): adjust
8408
8409         * paragraph.C (getFont): adjust
8410         (getLabelFont): adjust
8411         (getLayoutFont): adjust
8412
8413         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8414
8415 2003-04-15  John Levon  <levon@movementarian.org>
8416
8417         From Angus Leeming
8418
8419         * lyx_main.C: handle Include in .ui files
8420
8421 2003-04-15  John Levon  <levon@movementarian.org>
8422
8423         * MenuBackend.C: make the doc files length shorter
8424
8425         * ToolbarBackend.h:
8426         * ToolbarBackend.C: handle toolbar placement flags,
8427         Minibuffer
8428
8429 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8430
8431         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8432         adjust
8433
8434         * paragraph_funcs.C (TeXOnePar): adjust
8435
8436         * paragraph.C (getLabelFont): add outerfont arg, adjust
8437         (getLayoutFont): ditto
8438         (simpleTeXOnePar): adjust
8439
8440         * paragraph_pimpl.C (realizeFont): delete func
8441
8442 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
8443
8444         * text2.C (beforeFullRowInset): added a bad getchar check, removed
8445         row argument, constify cur argument.
8446
8447 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8448
8449         * text2.C (getFont): adjust
8450         (getLayoutFont): adjust
8451         (getLabelFont): adjust
8452
8453         * paragraph_funcs.C (TeXOnePar): adjust
8454         (outerFont): new func...
8455         (realizeFont): ...moved out from here, changed this to facilitate
8456         transition
8457
8458         * paragraph.C (getFont): take outerfont as arg, adjust
8459         (simpleTeXOnePar): add outerfont arg, adjust
8460
8461         * buffer.C (simpleLinuxDocOnePar): adjust
8462         (simpleDocBookOnePar): adjust
8463
8464         * CutAndPaste.C (pasteSelection): adjust
8465
8466         * BufferView.C (getEncoding): adjust
8467
8468 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8469
8470         * text2.C (setCharFont): adjust
8471         (setCounter): adjust
8472
8473         * text.C (leftMargin): adjust
8474         (setHeightOfRow): adjust
8475
8476         * rowpainter.C (paintFirst): adjust
8477         (paintLast): adjust
8478
8479         * paragraph_pimpl.C (realizeFont): adjust
8480
8481         * paragraph.C (isFirstInSequence): move from here...
8482         * paragraph_funcs.C (isFirstInSequence): ...to here
8483
8484         * paragraph.C (outerHook): move from here...
8485         * paragraph_funcs.C (outerHook): ...to here
8486
8487         * paragraph.C (depthHook): move from here...
8488         * paragraph_funcs.C (depthHook): ...to here
8489
8490         * paragraph.C (getEndLabel): move from here...
8491         * paragraph_funcs.C (getEndLabel): ...to here
8492
8493         * text2.C (realizeFont): move from here...
8494         * paragraph_funcs.C (realizeFont): ...to here
8495
8496 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8497
8498         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8499
8500 2003-04-14  Angus Leeming  <leeming@lyx.org>
8501
8502         * LColor.[Ch]: scrap LColor mathcursor.
8503
8504 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8505
8506         * lyxlex.[Ch] (text): delete function
8507         * trans.C (Load): adjust
8508         * paragraph_funcs.C (readParToken): adjust
8509
8510 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8511
8512         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8513         vector<char> instead of a char[].
8514
8515         * lyxlex_pimpl.C (getString): adjust
8516         (next): adjust
8517         (lex): use getString
8518         (eatLine): adjust
8519         (nextToken): adjust
8520
8521         * lyxlex.C (text): use pimpl_->getString()
8522         (getBool): ditto
8523         (findToken): ditto
8524
8525 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8526
8527         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8528         (makeFontEntriesLayoutSpecific): temp var for par.size()
8529         (setLayout): temp var for ownerParagraphs().end()
8530         (fullRebreak): temp var for rows().end()
8531         (selectionAsString): temp var for boost::next(startpit), realize
8532         that the while really is a regular for loop.
8533         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8534         setCursor in one place.
8535         (setParagraph): temp vr for ownerParagraphs().end()
8536         (updateCounters): make the while loop a for loop
8537         (cutSelection): temp var for ownerParagraphs().end()
8538         (updateInset): make the do {} while() a regular for loop
8539         (getCursorX): use temp vars
8540         (setCurrentFont): use temp vars
8541         (getColumnNearX): use temp vars
8542
8543 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8544
8545         * text.C (transformChar): use temp var for getChar
8546         (computeBidiTables): use temp var for row->par()
8547         (fill): move temp vars for row->par() and pit->layout() earlier in
8548         the function.
8549         (labelFill): use temp var for row->par()
8550         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8551         asc and desc, realize that pit never changes and that firstpit is
8552         just a duplicate and not needed. Exchange rit->par() with pit in a
8553         lot of places.
8554         (breakAgain): use a temp var for boost::next(rit)
8555         (breakAgainOneRow): ditto
8556         (breakParagraph): use a temp var for rows().begin()
8557         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8558         (cursorRightOneWord): use temp var for cursor.par() and
8559         cursor.pos(), remove usage of tmpcursor.
8560         (cursorLeftOneWord): use temp var for cursor.par() and
8561         cursor.pos() only set cur at end of function.
8562
8563 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8564
8565         * text.C, text2.C: exchange all usage of Paragraph::next with
8566         boost::next(ParagraphList::iterator)
8567
8568         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8569
8570         * text2.C (cursorTop): simplify implementation
8571         (cursorBottom): ditto
8572         (setParagraph): use ParagraphList::iterator
8573         (setCurrentFont): adjust
8574         (getColumnNearX): adjust
8575         (cursorRight): adjust
8576         (cursorLeft): remove usage of Paragraph::previous
8577         (cursorUpParagraph): ditto
8578         (deleteEmptyParagraphMechanism): slight cleanup
8579
8580         * text.C (isBoundary): take a Paragraph const & instead of a
8581         pointer as arg.
8582         (addressBreakPoint): ditto
8583         (leftMargin): remove usage of Paragraph::previous.
8584         (setHeightOfRow): ditto
8585         (cursorLeftOneWord): ditto
8586         (selectNextWordToSpellcheck): ditto
8587         (Delete): ditto
8588         (backspace): ditto
8589         (breakParagraph): remove one usage of Paragraph::next
8590         (redoParagraph): ditto
8591         (acceptChange): ditto
8592         (insertChar): adjust
8593         (rowBreakPoint): adjust
8594
8595         * bufferview_funcs.C (toggleAndShow): adjust
8596
8597 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
8598
8599         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8600         methods to access it.
8601         * lyxtext.h:
8602         * text.C: Added updateRowPositions to compute all row positions.
8603         Make top_y and getRowNearY() to use the cached y position
8604
8605 2003-04-11  John Levon  <levon@movementarian.org>
8606
8607         * text.C (rowBreakPoint): reintroduce the labelEnd
8608         checks, code copied from the row fill stuff. Deep voodoo.
8609
8610         * text.C (fill): add a comment and debugging for the
8611         next poor soul.
8612
8613 2003-04-11  John Levon  <levon@movementarian.org>
8614
8615         * text.C: make sure fullrow insets get wrapped to the next line,
8616         even when they're in a manual label
8617
8618 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8619
8620         * text2.C (insertParagraph): make it take ParagraphList::iterator
8621         as arg.
8622         (setLayout): make it return ParagraphList::iterator
8623         (redoParagraphs): ditto
8624         (setCounter): ditto
8625         (checkParagraph): ditto
8626
8627         * text.C (getRow): make getrow take ParagraphList::iterator as arg
8628
8629         * text2.C: adjust several funcs.
8630         (realizeFont): take a ParagraphList::iterator as arg.
8631         (getLayoutFont): ditto
8632         (getLabelFont): ditto
8633         (setCharFont): ditto
8634
8635         * text.C: adjust several funcs.
8636
8637 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8638
8639         * text.C (selectNextWordToSpellcheck): don't accidentally
8640         skip insets
8641
8642 2003-04-10  John Levon  <levon@movementarian.org>
8643
8644         * ToolbarBackend.C (getIcon): special handling for
8645         LFUN_MATH_DELIM
8646
8647 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8648
8649         * text2.C (cursorRight): a getChar assert fixed
8650
8651 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8652
8653         * text2.C (getFont): change to take a ParagraphList::iterator
8654         instead of Paragraph*
8655         Adjust several functions.
8656
8657         * text.C (transformChar): change to take a ParagraphList::iterator
8658         instead of Paragraph*
8659         (singleWidth): ditto
8660         Adjust several functions.
8661
8662         * rowpainter.C: adjust several functions
8663         * rowpainter.h:store a ParagraphList::iterator and not a
8664         Paragraph&.
8665
8666
8667 2003-04-09  John Levon  <levon@movementarian.org>
8668
8669         * lyxfunc.C:
8670         * lfuns.h:
8671         * LyXAction.h:
8672         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8673         and the "help" bits as well
8674
8675 2003-04-09  John Levon  <levon@movementarian.org>
8676
8677         * ToolbarBackend.h:
8678         * ToolbarBackend.C: allow multiple toolbars
8679
8680 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8681
8682         * undo_funcs.C (setCursorParUndo): adjust
8683
8684         * text_funcs.C (transposeChars): adjust
8685
8686         * text3.C (gotoNextInset): adjust
8687         (dispatch): adjust
8688
8689         * text2.C (setLayout): adjust
8690         (changeDepth): adjust
8691         (setFont): adjust
8692         (redoParagraphs): adjust
8693         (selectionAsString): adjust
8694         (setParagraph): adjust
8695         (insertInset): adjust
8696         (cutSelection): adjust
8697         (copySelection): adjust
8698         (pasteSelection): adjust
8699         (insertStringAsLines): adjust
8700         (updateInset): adjust
8701         (setCursor): change to take a ParagraphList::iterator parameter
8702         (setCursorIntern): change to take a ParagraphList::iterator parameter
8703         (setCurrentFont): adjust
8704         (cursorLeft): adjust
8705         (cursorRight): adjust
8706         (deleteEmptyParagraphMechanism): adjust
8707
8708         * text.C (breakParagraph): adjust
8709         (insertChar): adjust
8710         (acceptChange): adjust
8711         (rejectChange): adjust
8712         (selectNextWordToSpellcheck): adjust
8713         (changeCase): adjust
8714         (Delete): adjust
8715         (backspace): adjust
8716
8717         * lyxfind.C (SearchForward): adjust
8718         (SearchBackward): adjust
8719         (nextChange): adjust
8720
8721         * lyxcursor.C (par): adjust
8722
8723         * lyxcursor.h: store a ParagraphList::iterator instead of a
8724         Paragraph*
8725
8726         * lyx_cb.C (getPossibleLabel): adjust
8727
8728         * bufferview_funcs.C (toggleAndShow): adjust
8729
8730         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8731         (dispatch): adjust
8732
8733         * BufferView.C (removeAutoInsets): adjust
8734         (lockedInsetStoreUndo): adjust
8735
8736 2003-04-09  John Levon  <levon@movementarian.org>
8737
8738         * ToolbarBackend.C: try icon without argument
8739         if with argument fails
8740
8741 2003-04-08  John Levon  <levon@movementarian.org>
8742
8743         * ToolbarBackend.h:
8744         * ToolbarBackend.C: add getIcon(), handle tooltip,
8745         and change from "Icon" to "Item".
8746
8747 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8748
8749         * BufferView.C (lockInset): another bad getchar crunched
8750
8751 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8752
8753         * text2.C (changeDepth): do not setUndo on test_only (make undo work
8754         again)
8755
8756 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
8757
8758         * lyxfind.C (searchForward, searchBackwards): bug 782
8759
8760 2003-04-07  John Levon  <levon@movementarian.org>
8761
8762         * paragraph.C: remove dead comment
8763
8764         * text.C: remove troublesome depth-fiddling code
8765         in leftMargin() and rightMargin() (bug 1017)
8766
8767         * text.C: fix breaking of rows in nested lists
8768         (bug 1004)
8769
8770         * text2.C (updateCounters): fix up depth values
8771         (bug 1013)
8772
8773 2003-04-07  John Levon  <levon@movementarian.org>
8774
8775         * BufferView_pimpl.C: clear message when doc finishes resizing,
8776         and after a mouse event
8777
8778         * lyxfunc.C: clear message after exiting inset
8779
8780 2003-04-07  John Levon  <levon@movementarian.org>
8781
8782         * bufferview_funcs.C: show math status not outside
8783         status in the statusbar
8784
8785 2003-04-07  John Levon  <levon@movementarian.org>
8786
8787         * lyxfunc.C: note status changed after a depth change
8788
8789 2003-04-04  Angus Leeming  <leeming@lyx.org>
8790
8791         * LaTeX.h: move AuxInfo operator==, != out of line.
8792         Remove LaTeX virtual destructor; nothing derives from it.
8793         Move operator()() out of public area and rename it startscript().
8794         Change protected for private.
8795
8796 2003-04-04  Angus Leeming  <leeming@lyx.org>
8797
8798         * lyxfunc.C:
8799         * text2.C: remove unneeded #includes.
8800
8801 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8802
8803         * text2.C (dEPM): fix the heigth of the next row
8804
8805 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8806
8807         * text.C: squashed an invalid getChar requester + some ws changes
8808
8809 2003-04-03  John Levon  <levon@movementarian.org>
8810
8811         * bufferview_funcs.h:
8812         * bufferview_funcs.C:
8813         * lyxfunc.C:
8814         * lyxtext.h:
8815         * text2.C: make getStatus work for the env depth lfuns
8816
8817 2003-04-03  John Levon  <levon@movementarian.org>
8818
8819         * bufferview_funcs.h:
8820         * bufferview_funcs.C:
8821         * lyxfunc.C:
8822         * lyxtext.h:
8823         * text2.C: parlistize decDepth(), by merging it with incDepth()
8824
8825 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8826
8827         * lyxrow.h: store a ParagraphList::iterator instead of a
8828         Paragraph* and adjust other class functions to suit.
8829
8830         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8831         above.
8832
8833 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8834
8835         * text2.C (setCursor): do not anchor to cursor row for the time being
8836
8837 2003-04-02  John Levon  <levon@movementarian.org>
8838
8839         * LyXAction.C:
8840         * lfuns.h:
8841         * lyx_main.C:
8842         * lyxtext.h:
8843         * text.C:
8844         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8845
8846 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8847
8848         * paragraph.h: make ParagraphList and ParagraphList::iterator
8849         friends of Paragraph.
8850
8851         * buffer.C (makeLinuxDocFile): move towards ParagraphList
8852
8853         * ParagraphList.C: Use the private next_ and previous_ from
8854         Paragraph.
8855
8856 2003-04-01  John Levon  <levon@movementarian.org>
8857
8858         * ToolbarBackend.h:
8859         * ToolbarBackend.C:
8860         * Makefile.am: rename, remove defaults gunk
8861
8862         * MenuBackend.h:
8863         * MenuBackend.C: remove defaults gunk
8864
8865         * Languages.h:
8866         * Languages.C: remove defaults gunk
8867
8868         * lyx_main.h:
8869         * lyx_main.C: error out if files couldn't be found.
8870
8871 2003-04-02  John Levon  <levon@movementarian.org>
8872
8873         * text2.C: make incDepth() use parlist
8874
8875 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8876
8877         * undo_funcs.C (firstUndoParagraph): adjust
8878
8879         * text3.C (gotoInset): adjust
8880         (dispatch): adjust, and rewrite loop.
8881
8882         * text2.C (init): adjust, and rewrite loop.
8883         (redoParagraphs): adjust
8884         (updateInset): adjust, and rewrite loop.
8885         (deleteEmptyParagraphMechanism): adjust
8886
8887         * tabular.C (LyXTabular): adjust
8888         (SetMultiColumn): adjust
8889         (TeXRow): adjust
8890
8891         * lyxtext.[Ch] (ownerParagraph): delete function
8892         (ownerParagraphs): new function returns a ParagraphList.
8893
8894         * BufferView.C (removeAutoInsets): adjust
8895         (insertErrors): adjust
8896         (setCursorFromRow): adjust
8897
8898 2003-04-01  Angus Leeming  <leeming@lyx.org>
8899
8900         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8901         in the frontends.
8902
8903 2003-04-02  John Levon  <levon@movementarian.org>
8904
8905         * lyxtext.h:
8906         * text.C:
8907         * Makefile.am:
8908         * text_funcs.h:
8909         * text_funcs.C: make transposeChars a free function
8910
8911         * lyxrow_funcs.C: remove wrong comment
8912
8913 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8914
8915         * lyxtext.h: adjust
8916         * rowpainter.C: adjust
8917         * text.C: adjust
8918         * text2.C: adjust
8919         * text3.C: adjust
8920
8921         * lyxrow_funcs. [Ch]: new files
8922
8923         * lyxrow.[Ch]: remove next and previous pointers
8924         (next,previous): remove accessor functions
8925         (isParEnd): move to lyxrow_funcs
8926         (lastPos): move to lyxrow_funcs
8927         (nextRowIsAllInset): move to lyxrow_funcs
8928         (lastPrintablePos): move to lyxrow_funcs
8929         (numberOfSeparators): move to lyxrow_funcs
8930         (numberOfHfills): move to lyxrow_funcs
8931         (numberOfLabelHfills): move to lyxrow_funcs
8932         (hfillExpansion): move to lyxrow_funcs
8933
8934         * lyxfunc.C: adjust
8935
8936         * bufferview_funcs.C (toggleAndShow): adjust
8937
8938         * RowList.h: Remove class RowList from file leave just a
8939         std::list<Row>.
8940
8941         * RowList.C: delete file
8942
8943         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8944         and lyxrow_funcs.h
8945
8946 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8947
8948         * text3.C (cursorPrevious): adjust
8949         (cursorNext): adjust
8950         (dispatch): adjust
8951
8952         * text2.C (redoHeightOfParagraph): adjust
8953         (redoDrawingOfParagraph): adjust
8954         (setCursor): adjust
8955
8956         * text.C (breakParagraph): adjust
8957         (insertChar): adjust
8958         (backspace): adjust
8959
8960         * rowpainter.C (RowPainter): adjust
8961         (leftMargin): simplify and adjust
8962         (most rowpainter functions): adjust.
8963
8964         * rowpainter.h: store the row as RowList::iterator not as Row*
8965
8966         * lyxcursor.C (row): taka RowList::iterator as arg
8967         (irow): ditto
8968
8969         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8970         of Row*.
8971
8972 2003-04-01  Angus Leeming  <leeming@lyx.org>
8973
8974         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8975         stuff like bool Bool.
8976
8977 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8978
8979         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8980         rewrite a loop
8981
8982 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8983
8984         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8985         RowList::iterator.
8986
8987         * lyxtext.h (rows): drop one version and leve a const variant that
8988         returns a RowList::iterator.
8989
8990 2003-03-31  Angus Leeming  <leeming@lyx.org>
8991
8992         * text.C (fill): ensure that the signature is the same as that in the
8993         header file.
8994
8995 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
8996
8997         * text2.C (redoParagraphs): adjust
8998         (updateCounters): adjust
8999         (checkParagraph): adjust
9000         (getColumnNearX): adjust and reformat a bit.
9001
9002         * text.C (top_y): adjust
9003         (workWidth): adjust
9004         (leftMargin): adjust
9005         (prepareToPrint): adjust
9006         (getRow): adjust
9007         (getRowNearY): adjust
9008
9009         * lyxtext.h: make rowlist_ mutable.
9010
9011         * RowList.h: add const_iterator
9012         * RowList.C: adjust for RowList::const_iterator.
9013
9014         * text2.C (getCursorX): make it take a RowList::iterator as arg,
9015         adjust.
9016
9017 2003-03-31  John Levon  <levon@movementarian.org>
9018
9019         * lyxrc.h:
9020         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
9021
9022         * lyx_main.C: set default fonts from using lyx_gui funcs
9023
9024         * exporter.C: pdf_mode moved from lyxrc
9025
9026         * lyx_cb.C:
9027         * lyxfunc.C: changes from above
9028
9029 2003-03-31  John Levon  <levon@movementarian.org>
9030
9031         * lyx_main.C: fix to the last fix
9032
9033 2003-03-31  John Levon  <levon@movementarian.org>
9034
9035         * bufferlist.C: "Load original" -> "Load Original"
9036
9037         * converter.C:
9038         * exporter.C:
9039         * importer.C:
9040         * lyx_main.C:
9041         * format.C: more Alert cleanups
9042
9043 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
9044
9045         * text2.C (removeParagraph): make it take a RowList::iterator as
9046         arg, adjust.
9047         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
9048         (postRowPaint): make it take a RowList::iterator as arg, adjust.
9049
9050         * text.C (anchor_row): make it take a RowList::iterator as arg,
9051         adjust.
9052         (computeBidiTables): make it take a const reference to Row instead
9053         of Row pointer, adjust.
9054         (leftMargin): make it take a RowList::iterator as arg, adjust.
9055         (rowBreakPoint): adjust
9056         (breakAgainOneRow): make it take a RowList::iterator as arg,
9057         adjust.
9058         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
9059
9060         * bufferview_funcs.C (toggleAndShow): adjust
9061
9062 2003-03-30  John Levon  <levon@movementarian.org>
9063
9064         * Makefile.am:
9065         * BoostFormat.h:
9066         * boost-inst.C: moved to support
9067
9068         * several files: changes as a result
9069
9070 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
9071
9072         * text2.C (LyXText): adjust.
9073         (init): adjust
9074         (removeRow): make it take a RowList::iterator as arg, adjust.
9075         (fullRebreak): adjust
9076         (deleteEmptyParagraphMechanism): adjust
9077         (clearPaint): adjust
9078         (postPaint): adjust
9079
9080         * text.C (top_y): adjust
9081         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
9082         (breakAgain): make it take a RowList::iterator as arg, adjust.
9083         (breakParagraph): adjust
9084         (insertChar): adjust
9085         (backspace): adjust
9086
9087         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
9088         need_break_row, and refresh_row.
9089
9090         * text3.C (dispatch): adjust
9091
9092         * text2.C (checkParagraph): adjust
9093         (setCursor): adjust
9094         (setCursorFromCoordinates): adjust
9095
9096         * text.C (top_y): adjust
9097         (workWidth): adjust
9098         (getRow): make it return a RowList::iterator, adjust
9099         (getRowNearY): make it return a RowList::iterator, adjust
9100
9101         * text2.C (init): adjust
9102         (insertRow): remove function
9103         (insertParagraph): adjust
9104         (redoParagraphs): adjust
9105         (fullRebreak): adjust
9106         (updateCounters): adjust
9107
9108         * text.C (top_y): rewrite to use RowList iterators.
9109         (top_y): adjust
9110         (setHeightOfRow): rewrite to sue RowList iterators.
9111         (appendParagraph): adjust
9112         (breakAgain): adjust
9113         (breakAgainOneRow): adjust
9114         (breakParagraph): adjust
9115         (getRow): adjust
9116         (getRowNearY): adjust, and remove commented code.
9117
9118         * lyxtext.h (firstRow): delete function
9119         (lastRow): delete function
9120         (rows): new function (const and non-const versions.)
9121         (insertRow): delete function
9122
9123         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
9124
9125 2003-03-29  John Levon  <levon@movementarian.org>
9126
9127         * BufferView_pimpl.C: always update scrollbar top
9128         because pasting text when we're anchored could mean we
9129         miss an update altogether
9130
9131 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9132
9133         * text2.C (init): use rowlist_.end() and not 0.
9134         (insertRow): change to take a RowList::iterator as arg, adjust
9135         for this.
9136         (insertParagraph): change to take a RowList::iterator as arg,
9137         adjust for this.
9138         (redoParagraphs): remove some debug msgs.
9139
9140         * text.C (appendParagraph): change to take a RowList::iterator
9141         arg, adjust for this.
9142         (breakAgain): add an assert
9143         (breakAgainOneRow): ditto
9144
9145 2003-03-29  John Levon  <levon@movementarian.org>
9146
9147         * text2.C: do not clear selection after inc/decDepth
9148         (bug 550)
9149
9150 2003-03-29  John Levon  <levon@movementarian.org>
9151
9152         * BufferView.C:
9153         * buffer.C: fix broken strerrors according to Lars
9154
9155 2003-03-29  John Levon  <levon@movementarian.org>
9156
9157         * converters.C: more Alert cleanups
9158
9159 2003-03-29  John Levon  <levon@movementarian.org>
9160
9161         * bufferview_funcs.C: remove pointless Alert
9162
9163         * buffer.C: fix confusing error message when
9164         a template is chmoded 000
9165
9166 2003-03-29  John Levon  <levon@movementarian.org>
9167
9168         * BufferView.C:
9169         * BufferView.h:
9170         * BufferView_pimpl.C: Alert fixes
9171
9172         * Makefile.am:
9173         * tabular.C:
9174         * tabular-old.C: remove unused table compat reading
9175
9176 2003-03-29  John Levon  <levon@movementarian.org>
9177
9178         * BufferView.C:
9179         * buffer.C:
9180         * lyx_cb.h:
9181         * lyx_cb.C: more Alert cleanups
9182
9183         * lyxfunc.C: don't allow chktex if not latex document
9184
9185 2003-03-29  John Levon  <levon@movementarian.org>
9186
9187         * lyx_cb.C:
9188         * BufferView.C:
9189         * buffer.C: warnings pushed down from support/,
9190         kill err_alert
9191
9192 2003-03-29  John Levon  <levon@movementarian.org>
9193
9194         * lyxfunc.C: safety check for C-r (revert)
9195
9196 2003-03-29  John Levon  <levon@movementarian.org>
9197
9198         * bufferlist.h:
9199         * bufferlist.C: several UI fixes using Alert::prompt.
9200         Fix the pointless looping quit code. Fix stupid revert
9201         behaviour (bug 938)
9202
9203         * lyxvc.h:
9204         * lyxvc.C:
9205         * lyx_cb.C: use Alert::prompt
9206
9207         * lyx_main.C: remove a silly question
9208
9209         * lyxfunc.C: remove a couple of silly questions,
9210         use Alert::prompt
9211
9212 2003-03-28  John Levon  <levon@movementarian.org>
9213
9214         * text2.C: fix bug 974 (End on empty par)
9215
9216 2003-03-28  John Levon  <levon@movementarian.org>
9217
9218         * BufferView_pimpl.C:
9219         * LyXAction.C:
9220         * lfuns.h: remove do-nothing math greek lfuns
9221
9222 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9223
9224         * lyxgluelength.h (isValidGlueLength): add default arg on
9225         parameter 2. Remove default arg from friend in class.
9226
9227         * lyxlength.h (isValidLength): add default arg on parameter 2.
9228         Remove default arg from friend in class.
9229
9230         * text2.C (LyXText): adjust, initialize refresh_row.
9231         (init): adjust
9232         (removeRow): adjust
9233         (insertRow): adjust
9234         (insertParagraph): adjst
9235         (redoParagraphs): adjust
9236         (fullRebreak): adjust
9237         (updateCounters): adjust
9238         (deleteEmptyParagraphMechanism): first attempt at fixing a
9239         crashing bug.
9240
9241         * text.C (top_y): adjust
9242         (setHeightOfRow): adjust
9243         (getRow): adjust
9244         (getRowNearY): adjust
9245
9246         * lyxtext.h: include RowList.h
9247         (~LyXText): not needed anymore, deleted.
9248         (firstRow): modify for RowList
9249         (lastRow): new function
9250         Delete firstrow and lastrow class variables, add a Rowlist
9251         rowlist_ class variable.
9252
9253         * lyxrow.C (lastPos): use empty() and not !size() to check if a
9254         paragraph is empty.
9255
9256         * RowList.C (insert): fix case where it == begin().
9257
9258 2003-03-26  Angus Leeming  <leeming@lyx.org>
9259
9260         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9261         the thesaurus dialog.
9262
9263 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
9264
9265         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9266
9267         * RowList.[Ch]: new files
9268
9269         * ParagraphList.C (erase): handle the case where it == begin
9270         correctly.
9271
9272 2003-03-25  John Levon  <levon@movementarian.org>
9273
9274         * Makefile.am:
9275         * aspell_local.h:
9276         * aspell.C: add new aspell support
9277
9278         * lyxrc.h:
9279         * lyxrc.C: Make use_pspell be use_spell_lib. Always
9280         have it accessible.
9281
9282 2003-03-25  Angus Leeming  <leeming@lyx.org>
9283
9284         * lfuns.h:
9285         * LyXAction.C (init): new LFUN_INSET_INSERT.
9286
9287         * BufferView_pimpl.C (dispatch): split out part of the
9288         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9289
9290         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9291         LFUN_INSET_APPLY.
9292
9293 2003-03-25  Angus Leeming  <leeming@lyx.org>
9294
9295         * lyxfunc.C (dispatch): changes to the Dialogs interface.
9296
9297 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
9298
9299         * text2.C:
9300         * text3.C: remove useless row->height(0)
9301
9302 2003-03-25  John Levon  <levon@movementarian.org>
9303
9304         * lyxtext.h:
9305         * text2.C:
9306         * text3.C: rename the refreshing stuff to better names
9307
9308 2003-03-24  John Levon  <levon@movementarian.org>
9309
9310         * BufferView_pimpl.h:
9311         * BufferView_pimpl.C: update layout choice on a mouse
9312         press/release
9313
9314 2003-03-23  John Levon  <levon@movementarian.org>
9315
9316         * Makefile.am: fix commandtags.h reference
9317
9318 2003-03-22  John Levon  <levon@movementarian.org>
9319
9320         * BufferView_pimpl.C:
9321         * lyxtext.h:
9322         * rowpainter.C:
9323         * rowpainter.h:
9324         * text.C:
9325         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9326
9327 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
9328
9329         * lyxtext.h:
9330         * text.C: take the rtl methods out of line
9331
9332 2003-03-21 André Pönitz <poenitz@gmx.net>
9333
9334         * metricsinfo.[Ch]: new files containing structures to be passed around
9335         during the two-phase-drawing...
9336
9337 2003-03-21 André Pönitz <poenitz@gmx.net>
9338
9339         * lyxtextclass.C: read 'environment' tag.
9340
9341 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
9342
9343         * text2.C (removeRow): fix bug 964
9344
9345 2003-03-20  John Levon  <levon@movementarian.org>
9346
9347         * rowpainter.C:
9348         * text.C:
9349         * text2.C: paint cleanups. Inset::update() dropped font
9350         parameter
9351
9352 2003-03-19  John Levon  <levon@movementarian.org>
9353
9354         * lyxfunc.C: only fitcursor/markDirty if available()
9355
9356 2003-03-19  John Levon  <levon@movementarian.org>
9357
9358         * commandtags.h: rename to ...
9359
9360         * lfuns.h: ... this, and renumber / cleanup
9361
9362 2003-03-19  John Levon  <levon@movementarian.org>
9363
9364         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9365         fit the cursor after an lfun
9366
9367         * BufferView.h:
9368         * BufferView.C:
9369         * BufferView_pimpl.h:
9370         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9371
9372         * LyXAction.C: layout-character should have ReadOnly
9373
9374         * ParagraphParameters.C:
9375         * buffer.C:
9376         * bufferview_funcs.C:
9377         * lyx_cb.C:
9378         * lyxfind.C:
9379         * lyxtext.h:
9380         * text.C:
9381         * text2.C:
9382         * text3.C:
9383         * undo_funcs.C: changes from above
9384
9385 2003-03-18  John Levon  <levon@movementarian.org>
9386
9387         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9388         remove it from update()
9389
9390         * lyxfunc.C: update layout choice after an lfun
9391
9392         * text3.C: remove extra updateLayoutChoice()s
9393
9394 2003-03-18  John Levon  <levon@movementarian.org>
9395
9396         * text.C: top_y change means full repaint, fix
9397         a drawing bug with cursor movement
9398
9399 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9400
9401         * lyxtext.h:
9402         * text.C:
9403         * text2.C: anchor row on setCursor
9404
9405 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9406
9407         * lyxtext.h: remove almost all mutable keywords
9408         * text.C:
9409         * text2.C:
9410         * text3.C: remove const keywords accordingly
9411
9412 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9413
9414         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9415         anon namespace
9416         (TeXEnvironment): ditto
9417         (TeXOnePar): ditto
9418
9419 2003-03-17  John Levon  <levon@movementarian.org>
9420
9421         * text.C (rowBreakPoint): remove attempt to fix displayed
9422         math insets inside a manual label
9423
9424 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9425
9426         * lyxtext.h: remove BufferView* as first arg from almost all class
9427         functions.
9428         * other files: adjust.
9429
9430 2003-03-17  John Levon  <levon@movementarian.org>
9431
9432         * lyxtext.h:
9433         * undo_funcs.C:
9434         * text2.C: more paint cleanups
9435
9436         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9437
9438         * rowpainter.h:
9439         * rowpainter.C: remove "smart" background painting code
9440
9441 2003-03-16  John Levon  <levon@movementarian.org>
9442
9443         * lyxtext.h:
9444         * text.C:
9445         * text2.C:
9446         * text3.C: add helper functions for setting refresh_row/y
9447
9448 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
9449
9450         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9451         newline inset which *can* get inserted in the pass_thru layouts.
9452         This is primarily for literate documents.
9453
9454 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
9455
9456         * buffer.C: increment LYX_FORMAT to 223
9457
9458 2003-03-14 André Pönitz <poenitz@gmx.net>
9459
9460         * textclass.h: prepare for environment handling, ws changes
9461         * lyxlayout.C: read latexheader and latexfooter tags
9462
9463 2003-03-14  John Levon  <levon@movementarian.org>
9464
9465         * text2.C: rewrite ::status() a bit
9466
9467 2003-03-13  John Levon  <levon@movementarian.org>
9468
9469         * lyxtext.h: add some docs
9470
9471 2003-03-13  John Levon  <levon@movementarian.org>
9472
9473         * lyxtext.h:
9474         * text.C:
9475         * text2.C:
9476         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9477
9478 2003-03-13  John Levon  <levon@movementarian.org>
9479
9480         * text3.C: fix appendix redrawing
9481
9482 2003-03-13  John Levon  <levon@movementarian.org>
9483
9484         * text.C (setHeightOfRow):
9485         * rowpainter.h:
9486         * rowpainter.C: make appendix mark have the text
9487           "Appendix" so the user knows what it is
9488
9489         * LColor.h:
9490         * LColor.C: s/appendixline/appendix/ from above
9491
9492 2003-03-13  John Levon  <levon@movementarian.org>
9493
9494         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9495
9496         * text.C: fix a getChar(pos) bug properly
9497
9498 2003-03-13  Angus Leeming  <leeming@lyx.org>
9499
9500         * commandtags.h:
9501         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9502         Probably only temporary. Let's see how things pan out.
9503
9504         * BufferView.C (unlockInset):
9505         * BufferView_pimpl.C (fitCursor):
9506         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9507
9508         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9509         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9510
9511         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9512         new functions that convert ParagraphParameters to and from a string.
9513
9514         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9515         BufferView::Pimpl's dispatch.
9516         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9517
9518 2003-03-13 André Pönitz <poenitz@gmx.net>
9519
9520         * lyxfunc.C:
9521         * text3.C:
9522         * factory.C: make it aware of InsetEnv
9523
9524 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
9525
9526         * text2.C (setCursor): never ask for one past last
9527         (setCursor): add some debugging messages.
9528
9529         * text.C (singleWidth): never ask for one past last
9530         (singleWidth): ditto
9531         (leftMargin): ditto
9532         (rightMargin): ditto
9533         (rowBreakPoint): ditto
9534         (setHeightOfRow): ditto
9535         (prepareToPrint): ditto
9536
9537         * rowpainter.C (paintBackground): never ask for one past last
9538         (paintText): never ask for one past last
9539
9540         * paragraph_pimpl.C (getChar): make the assert stricter, never
9541         allow the one past last pos to be taken
9542
9543         * paragraph.C (getChar): ws changes only
9544
9545         * lyxrow.C (nextRowIsAllInset): never ask for one past last
9546         (numberOfSeparators): ditto
9547         (numberOfHfills): ditto
9548
9549 2003-03-12  John Levon  <levon@movementarian.org>
9550
9551         * author.h:
9552         * author.C:
9553         * bufferparams.h:
9554         * bufferparams.C:
9555         * paragraph_funcs.C: fix per-buffer authorlists
9556
9557 2003-03-12  John Levon  <levon@movementarian.org>
9558
9559         * text.C: fix newline in right address
9560
9561 2003-03-12  Angus Leeming  <leeming@lyx.org>
9562
9563         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9564         duplicate those in LyXFunc::dispatch.
9565
9566         * commandtags.h:
9567         * LyXAction.C:
9568         * ToolbarDefaults.C:
9569         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9570         Add LFUN_FONTFREE_UPDATE.
9571
9572         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9573         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9574
9575         * bufferview_func.[Ch]: several new functions to facilliate
9576         transfer of data to and from the character dialog.
9577
9578 2003-03-12  John Levon  <levon@movementarian.org>
9579
9580         * buffer.C:
9581         * paragraph.h:
9582         * paragraph.C:
9583         * paragraph_funcs.C:
9584         * paragraph_pimpl.C:
9585         * sgml.C:
9586         * tabular.C:
9587         * text.C:
9588         * text3.C: remove META_NEWLINE in favour of an inset
9589
9590         * rowpainter.h:
9591         * rowpainter.C: remove paintNewline (done by inset)
9592
9593 2003-03-12  John Levon  <levon@movementarian.org>
9594
9595         * paragraph_pimpl.C: complain about bad getChar()s
9596         for a while at least
9597
9598 2003-03-12  John Levon  <levon@movementarian.org>
9599
9600         * buffer.h:
9601         * buffer.C: move paragraph read into a separate function,
9602         a little renaming to reflect that.
9603
9604         * bufferparams.h:
9605         * bufferparams.C: remove the author_ids map, not necessary now
9606
9607         * factory.h:
9608         * factory.C: moved Buffer::readInset to here
9609
9610         * paragraph_funcs.h:
9611         * paragraph_funcs.C: readParagraph free function moved from
9612         buffer.C
9613
9614         * tabular.C: name change
9615
9616 2003-03-12  John Levon  <levon@movementarian.org>
9617
9618         * buffer.C:
9619         * ParagraphParameters.C: move par params input to
9620         a read() method
9621
9622         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9623         behave like a normal read from the stream wrt reading
9624         a line vs. a \\token
9625
9626 2003-03-12  John Levon  <levon@movementarian.org>
9627
9628         * paragraph.C:
9629         * ParagraphParameters.h:
9630         * ParagraphParameters.C: move output code to a
9631         ::write() method
9632
9633 2003-03-12  John Levon  <levon@movementarian.org>
9634
9635         * BufferView.C (insertLyXFile):
9636         * buffer.h:
9637         * buffer.C:
9638         * tabular.C: use a parlist iterator for creating the
9639           document.
9640
9641 2003-03-12  John Levon  <levon@movementarian.org>
9642
9643         * buffer.C: make current_change static local not
9644           static file-scope
9645
9646 2003-03-12  John Levon  <levon@movementarian.org>
9647
9648         * buffer.C: fix insertStringAsLines for change tracking
9649
9650 2003-03-12  John Levon  <levon@movementarian.org>
9651
9652         * BufferView.C:
9653         * tabular.C:
9654         * buffer.h:
9655         * buffer.C:
9656         * bufferparams.h:
9657         * bufferparams.C: move author list into params. Rename some
9658           functions. Move the header reading into a separate token
9659           loop. Move the header token reading into BufferParams.
9660
9661 2003-03-12  John Levon  <levon@movementarian.org>
9662
9663         * changes.C: put debug inside lyxerr.debugging() checks
9664
9665 2003-03-11 André Pönitz <poenitz@gmx.net>
9666
9667         * factory.C: make it aware of InsetHFill
9668
9669 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9670
9671         * buffer.C (latexParagraphs): move function from here...
9672         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9673         args.
9674
9675 2003-03-10  Angus Leeming  <leeming@lyx.org>
9676
9677         * LyXAction.C (init): fix bug in poplating array with multiple entries
9678         with the same LFUN (spotted by JMarc).
9679
9680 2003-03-10  John Levon  <levon@movementarian.org>
9681
9682         * text.C:
9683         * text2.C: move getColumnNearX() near its
9684         only call site
9685
9686 2003-03-10  John Levon  <levon@movementarian.org>
9687
9688         * text.C: fix break before a minipage
9689
9690 2003-03-10  John Levon  <levon@movementarian.org>
9691
9692         * text.C: fix the last commit
9693
9694 2003-03-09  John Levon  <levon@movementarian.org>
9695
9696         * lyxtext.h:
9697         * text.C:
9698         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9699         bug 365 (don't break before insets unless needed). Don't
9700         return a value > last under any circumstances.
9701
9702 2003-03-09  Angus Leeming  <leeming@lyx.org>
9703
9704         * BufferView_pimpl.C (trackChanges, dispatch): call
9705         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9706
9707 2003-03-09  Angus Leeming  <leeming@lyx.org>
9708
9709         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9710         than Dialogs::showAboutlyx().
9711
9712 2003-03-09  Angus Leeming  <leeming@lyx.org>
9713
9714         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9715         than Dialogs::showTabularCreate().
9716
9717 2003-03-09  John Levon  <levon@movementarian.org>
9718
9719         * lyxtext.h:
9720         * text.C:
9721         * text2.C: 3rd arg to nextBreakPoint was always the same.
9722           Use references.
9723
9724 2003-03-08  John Levon  <levon@movementarian.org>
9725
9726         * lyxrow.C:
9727         * paragraph.C:
9728         * paragraph.h:
9729         * rowpainter.C:
9730         * text.C:
9731         * text2.C: Remove the "main" bit from the "main body"
9732           notion.
9733
9734 2003-03-08  John Levon  <levon@movementarian.org>
9735
9736         * text.C (leftMargin): The left margin of an empty
9737         manual label paragraph should not include the label width
9738         string length.
9739
9740         * text.C (prepareToPrint): don't attempt to measure hfills
9741         for empty manual label paragraphs - the answer should be 0
9742
9743 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9744
9745         * CutAndPaste.C: remove commented code and reindent.
9746
9747 2003-03-08  John Levon  <levon@movementarian.org>
9748
9749         * lyxfunc.h:
9750         * lyxfunc.C: move reloadBuffer()
9751
9752         * BufferView.h:
9753         * BufferView.C: to here
9754
9755         * lyxvc.C: add comment
9756
9757         * vc-backend.h:
9758         * vc-backend.C: call bv->reload() to avoid
9759           getStatus() check on MENURELOAD
9760
9761 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
9762
9763         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9764         to an old format .dep file.
9765
9766 2003-03-07  Angus Leeming  <leeming@lyx.org>
9767
9768         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9769         when the LFUN_MOUSE_RELEASE should have been handled by
9770         inset->localDispatch.
9771
9772 2003-03-07  Angus Leeming  <leeming@lyx.org>
9773
9774         * BufferView_pimpl.C (dispatch):
9775         * LyXAction.C (init):
9776         * ToolbarDefaults.C (init):
9777         * commandtags.h:
9778         * lyxfunc.C (getStatus):
9779         remove LFUN_INSET_GRAPHICS.
9780
9781         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9782
9783 2003-03-07  Angus Leeming  <leeming@lyx.org>
9784
9785         * commandtags.h:
9786         * LyXAction.C (init):
9787         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9788
9789         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9790
9791         * commandtags.h:
9792         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9793
9794         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9795         localDispatch method LFUN_INSET_DIALOG_UPDATE.
9796
9797 2003-03-07  Angus Leeming  <leeming@lyx.org>
9798
9799         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9800         remove "ert".
9801
9802 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9803
9804         * ParagraphList.C (front): new function
9805         (back): implement
9806
9807 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
9808
9809         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9810         and top_row_offset_. removed var first_y.
9811         * text.C (top_y):
9812         * text2.C (LyXText, removeRow):
9813         * text3.C:
9814         * BufferView_pimpl.C:
9815         use these methods instead of using first_y
9816
9817 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9818
9819         * text2.C (pasteSelection): adjust for checkPastePossible
9820
9821         * CutAndPaste.C: remove Paragraph * buf and replace with
9822         ParagraphList paragraphs.
9823         (DeleteBuffer): delete
9824         (cutSelection): change the tc type to textclass_type
9825         (copySelection): change the tc type to textclass_type
9826         (copySelection): adjust for ParagraphList
9827         (pasteSelection): change the tc type to textclass_type
9828         (pasteSelection): adjust for Paragraphlist
9829         (nrOfParagraphs): simplify for ParagraphList
9830         (checkPastePossible): simplify for ParagraphList
9831         (checkPastePossible): remove unused arg
9832
9833         * ParagraphList.C (insert): handle the case where there are no
9834         paragraphs yet.
9835
9836         * CutAndPaste.h: make CutAndPaste a namespace.
9837
9838         * text3.C (dispatch): adjust
9839
9840         * text.C (breakParagraph): add a ParagraphList as arg
9841
9842         * paragraph_funcs.C (breakParagraph): change to take a
9843         BufferParams and a ParagraphList as args.
9844         (breakParagraphConservative): ditto
9845         (mergeParagraph): ditto
9846         (TeXDeeper): add a ParagraphList arg
9847         (TeXEnvironment): ditto
9848         (TeXOnePar): ditto
9849
9850         * buffer.C (readLyXformat2): adjust
9851         (insertStringAsLines): adjust
9852         (latexParagraphs): adjust
9853
9854         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9855         (cutSelection): adjust
9856         (pasteSelection): adjust
9857
9858         * BufferView_pimpl.C (insertInset): adjust
9859
9860 2003-03-05  Angus Leeming  <leeming@lyx.org>
9861
9862         * commandtags.h:
9863         * LyXAction.C (init):
9864         * BufferView_pimpl.C (dispatch):
9865         * lyxfunc.C (getStatus):
9866         remove LFUN_CHILD_INSERT.
9867
9868         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9869
9870 2003-03-05  Angus Leeming  <leeming@lyx.org>
9871
9872         * commandtags.h:
9873         * LyXAction.C (init):
9874         * src/factory.C (createInset):
9875         * lyxfunc.C (getStatus):
9876         * text3.C (dispatch):
9877         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9878
9879         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9880
9881 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9882
9883         * ParagraphList.C (insert): handle insert right before end()
9884         (erase): fix cases where it can be first or last paragraph.
9885
9886 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9887
9888         * paragraph_funcs.C (TeXEnvironment): remove all usage of
9889         Paragraph::next and Paragraph::previous
9890         (TeXOnePar): ditto
9891
9892         * text.C (breakParagraph): adjust
9893
9894         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9895         BufferParams& as arg.
9896         (breakParagraph): use ParagraphList::insert
9897         (breakParagraphConservative): take a Buffer* instead of a
9898         BufferParams& as arg.
9899         (breakParagraphConservative): use ParagraphList::insert.
9900
9901         * buffer.C (insertStringAsLines): un-const it
9902         (insertStringAsLines): adjust
9903
9904         * ParagraphList.C (insert): new function
9905
9906         * CutAndPaste.C (pasteSelection): adjust
9907
9908         * text.C (backspace): adjust
9909
9910         * tabular.C (SetMultiColumn): adjust
9911
9912         * CutAndPaste.C (cutSelection): adjust
9913         (pasteSelection): adjust
9914
9915         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9916         Buffer const * as arg
9917
9918         * ParagraphList.C (erase): new function
9919         * paragraph_funcs.C (mergeParagraph): use it
9920         (mergeParagraph): make it take a Buffer* instead of a
9921         BufferParams* as arg
9922
9923         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9924         as arg
9925         (breakParagraphConservative): ditto
9926
9927         * paragraph.h: remove the breakParagraph friend
9928
9929         * paragraph.C (eraseIntern): new function
9930         (setChange): new function
9931
9932         * paragraph_funcs.C (mergeParagraph): make it take a
9933         ParagraphList::iterator instead of a Paragraph *, adjust
9934         accordingly.
9935
9936         * paragraph.h: move an #endif so that the change tracking stuff
9937         also works in the NO_NEXT case.
9938
9939 2003-03-04  Angus Leeming  <leeming@lyx.org>
9940
9941         * commandtags.h:
9942         * LyXAction.C: new LFUN_INSET_MODIFY.
9943
9944         * BufferView_pimpl.C (dispatch): if an inset is found to be open
9945         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9946
9947 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9948
9949         * several files: ws changes only
9950
9951         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9952         (TeXEnvironment): ditto
9953         (TeXDeeper): ditto
9954
9955         * buffer.C (makeLaTeXFile): adjust
9956         (latexParagraphs): make it take ParagraphList::iterator as args
9957
9958 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9959
9960         * buffer.C (latexParagraphs): adjust
9961
9962         * paragraph.C (TeXOnePar): move function...
9963         (optArgInset): move function...
9964         (TeXEnvironment): move function...
9965         * paragraph_pimpl.C (TeXDeeper): move function...
9966         * paragraph_funcs.C: ...here
9967
9968         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9969
9970 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9971
9972         * buffer.C (readInset): remove compability code for old Figure and
9973         InsetInfo insets
9974
9975 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9976
9977         * buffer.C: ws changes
9978         (readInset):
9979
9980         * BufferView_pimpl.C: ditto
9981         * author.C: ditto
9982         * buffer.h: ditto
9983         * bufferlist.h: ditto
9984         * changes.h: ditto
9985         * lyxfunc.C: ditto
9986
9987 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
9988
9989         * converter.[Ch]: split into itself +
9990         * graph.[Ch]
9991         * format.[Ch]
9992         * Makefile.am: += graph.[Ch] + format.[Ch]
9993         * MenuBackend.C
9994         * buffer.C
9995         * exporter.C
9996         * importer.C
9997         * lyx_main.C
9998         * lyxfunc.C
9999         * lyxrc.C: added #include "format.h"
10000
10001 2003-02-27  Angus Leeming  <leeming@lyx.org>
10002
10003         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
10004           a label.
10005
10006         * factory.C (createInset): add "label" to the factory.
10007
10008         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
10009           string and do no more.
10010
10011 2003-02-27  Angus Leeming  <leeming@lyx.org>
10012
10013         * commandtags.h:
10014         * LyXAction.C (init):
10015         * factory.C (createInset):
10016         * BufferView_pimpl.C (dispatch):
10017           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
10018
10019         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
10020
10021         * lyxfunc.C (dispatch):
10022         * text3.C (dispatch): pass name to params2string.
10023
10024 2003-02-26  Angus Leeming  <leeming@lyx.org>
10025
10026         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
10027           blocks together.
10028           Rearrange the ~includes. Strip out the unnecessary ones.
10029
10030         * factory.C (createInset): reformat.
10031           create new insets for the various LFUN_XYZ_APPLY lfuns.
10032
10033 2003-02-26  John Levon  <levon@movementarian.org>
10034
10035         * lyxrow.h:
10036         * lyxrow.C: add isParStart,isParEnd helpers
10037
10038         * paragraph.h: make isInserted/DeletedText take refs
10039
10040         * paragraph_funcs.h:
10041         * paragraph_funcs.C: remove #if 0'd code
10042
10043         * lyxtext.h:
10044         * text3.C:
10045         * text2.C:
10046         * text.C: use lyxrow helpers above.
10047           Move draw and paint routines to RowPainter.
10048           Make several methods use refs not pointers.
10049           Make backgroundColor() const.
10050           Add markChangeInDraw(), isInInset().
10051           Merge changeRegionCase into changeCase.
10052           Make workWidth() shouldn't-happen code into an Assert.
10053
10054         * rowpainter.h:
10055         * rowpainter.C: new class for painting a row.
10056
10057         * vspace.h:
10058         * vspace.C: make inPixels take a ref
10059
10060 2003-02-26  Angus Leeming  <leeming@lyx.org>
10061
10062         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
10063         LFUN_REF_APPLY.
10064
10065 2003-02-25  John Levon  <levon@movementarian.org>
10066
10067         * ispell.C: give the forked command a more accurate name
10068
10069 2003-02-22  John Levon  <levon@movementarian.org>
10070
10071         * toc.h:
10072         * toc.C: make TocItem store an id not a Paragraph *
10073           (bug #913)
10074
10075 2003-02-21  Angus Leeming  <leeming@lyx.org>
10076
10077         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
10078           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
10079           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
10080           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
10081           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
10082           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
10083
10084         * BufferView_pimpl.C (dispatch):
10085         * LyXAction.C (init):
10086         * factory.C (createInset):
10087         * lyxfunc.C (getStatus, dispatch):
10088         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
10089
10090 2003-02-21  Angus Leeming  <leeming@lyx.org>
10091
10092         * BufferView_pimpl.C (MenuInsertLyXFile):
10093         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
10094         * lyxfunc.C (menuNew, open, doImport):
10095           no longer pass a LyXView & to fileDlg.
10096
10097 2003-02-21  Angus Leeming  <leeming@lyx.org>
10098
10099         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
10100         * LyXAction.C: change, BIBKEY to BIBITEM.
10101         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
10102         Change InsetBibKey to InsetBibitem.
10103         Change BIBKEY_CODE to BIBITEM_CODE.
10104         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10105         * factory.C: replace insetbib.h with insetbibitem.h.
10106         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10107         * paragraph.C: replace insetbib.h with insetbibitem.h.
10108         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
10109         Change bibkey() to bibitem().
10110         * text.C: remove insetbib.h.
10111         * text2.C: replace insetbib.h with insetbibitem.h.
10112         change bibkey() to bibitem().
10113         * text3.C: remove insetbib.h.
10114         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10115
10116 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10117
10118         * lyxrc.C (output): enclose user email in quotes (in case there are
10119         several words)
10120
10121 2003-02-18  John Levon  <levon@movementarian.org>
10122
10123         * buffer.h: add std::
10124
10125 2003-02-17  John Levon  <levon@movementarian.org>
10126
10127         * SpellBase.h:
10128         * ispell.h:
10129         * ispell.C:
10130         * pspell.h:
10131         * pspell.C: reworking. Especially in ispell, a large
10132           number of clean ups and bug fixes.
10133
10134         * lyxfunc.C: fix revert to behave sensibly
10135
10136 2003-02-17 André Pönitz <poenitz@gmx.net>
10137
10138         * LyXAction.C:
10139         * commandtags.h: new LFUN_INSERT_BIBKEY
10140
10141         * layout.h:
10142         * lyxlayout.C:
10143         * buffer.C:
10144         * factory.C:
10145         * text.C:
10146         * text2.C:
10147         * text3.C:
10148         * paragraph.[Ch]:
10149         * paragraph_func.C: remove special bibkey handling
10150
10151 2003-02-17  John Levon  <levon@movementarian.org>
10152
10153         * text.C (Delete): fix case where delete at the end of
10154           the very first paragraph would not merge the pars
10155
10156 2003-02-17  John Levon  <levon@movementarian.org>
10157
10158         * lyxrow.C: fix lastPrintablePos()
10159
10160 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10161
10162         * bufferparams.C (writeLaTeX): add a std:here
10163
10164         * buffer.C: and remove a using directive there
10165
10166 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10167
10168         * buffer.C (makeLaTeXFile): move the code that generates the
10169           preamble...
10170
10171         * bufferparams.C (writeLaTeX): ... in this new method
10172
10173         * LaTeXFeatures.C (getEncodingSet): make const
10174           (getLanguages): make const
10175
10176         * MenuBackend.C (binding): returns the binding associated to this
10177           action
10178           (add): sets the status of each item by calling getStatus. Adds
10179           some intelligence.
10180           (read): add support for OptSubMenu
10181           (expand): remove extra separator at the end of expanded menu
10182
10183 2003-02-15  John Levon  <levon@movementarian.org>
10184
10185         * BufferView.C:
10186         * BufferView_pimpl.C:
10187         * bufferlist.h:
10188         * bufferlist.C: remove pointless BufferStorage bloat. Remove
10189           inset code that had no actual effect. Remove unneeded status
10190           code.
10191
10192 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10193
10194         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10195           in preamble
10196
10197 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
10198
10199         * text.C (drawLengthMarker): also draw an arrow marker for
10200           symbolic lengths (medskip...)
10201
10202 2003-02-14  John Levon  <levon@movementarian.org>
10203
10204         * tabular.h:
10205         * tabular.C: better method names
10206
10207 2003-02-14  John Levon  <levon@movementarian.org>
10208
10209         * BufferView_pimpl.C:
10210         * bufferlist.C:
10211         * buffer.C:
10212         * converter.C:
10213         * lyx_cb.C:
10214         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10215           it's a more accurate name. Remove some pointless uses.
10216
10217 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10218
10219         * text2.C (LyXText): change order of initilizers to shut off
10220           warnings
10221
10222 2003-02-14  John Levon  <levon@movementarian.org>
10223
10224         * buffer.C: use ParIterator for getParFromID()
10225
10226         * paragraph.h:
10227         * paragraph.C:
10228         * paragraph_pimpl.h:
10229         * paragraph_pimpl.C: remove unused getParFromID()
10230
10231 2003-02-14  John Levon  <levon@movementarian.org>
10232
10233         * buffer.C: remove some very old #if 0'd parse code
10234
10235 2003-02-13  John Levon  <levon@movementarian.org>
10236
10237         * text.h:
10238         * text.C:
10239         * text2.C: move hfillExpansion(), numberOfSeparators(),
10240           rowLast(), rowLastPrintable(), numberofHfills(),
10241           numberOfLabelHfills() ...
10242
10243         * lyxrow.h:
10244         * lyxrow.C: ... to member functions here.
10245
10246         * paragraph.h:
10247         * paragraph.C:
10248         * lyxtext.h:
10249         * text.C: remove LyXText::beginningOfMainBody(), and call
10250           p->beginningOfMainBody() directly. Move the check for
10251           LABEL_MANUAL into the latter.
10252
10253         * text.h:
10254         * text.C:
10255         * text2.C:
10256         * vspace.C:
10257         * BufferView.h:
10258         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10259
10260         * text.h:
10261         * text.C:
10262         * text2.C:
10263         * text3.C:
10264         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10265           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10266
10267 2003-02-13  John Levon  <levon@movementarian.org>
10268
10269         * CutAndPaste.C: remove debug
10270
10271 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10272
10273         * paragraph.C (asString): remove two unused variables
10274
10275         * lyxtextclass.C (readTitleType):
10276           (Read):
10277           (LyXTextClass): handle new members titletype_ and titlename_
10278
10279         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10280
10281 2003-02-09  John Levon  <levon@movementarian.org>
10282
10283         * buffer.h:
10284         * buffer.C: replace hand-coded list with a map for the dep clean
10285
10286 2003-02-08  John Levon  <levon@movementarian.org>
10287
10288         * LaTeX.C: consolidate code into showRunMessage() helper
10289
10290 2003-02-08  John Levon  <levon@movementarian.org>
10291
10292         * lyxfind.C:
10293         * lyxtext.h:
10294         * text2.C:
10295         * BufferView.C: change setSelectionOverString() to setSelectionRange()
10296           and pass the size in explicitly
10297
10298         * BufferView_pimpl.h:
10299         * BufferView_pimpl.C:
10300         * BufferView.h:
10301         * BufferView.C: add getCurrentChange()
10302
10303         * BufferView_pimpl.h:
10304         * BufferView_pimpl.C: handle change lfuns
10305
10306         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10307           for changes. Mark pasted paragraphs as new.
10308
10309         * support/lyxtime.h:
10310         * support/lyxtime.C:
10311         * DepTable.C: abstract time_t as lyx::time_type
10312
10313         * LColor.h:
10314         * LColor.C: add colours for new text, deleted text, changebars
10315
10316         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10317           package use "usenames" option.
10318
10319         * commandtags.h:
10320         * lyxfunc.C:
10321         * LyXAction.C: add change lfuns
10322
10323         * Makefile.am:
10324         * author.h:
10325         * author.C: author handling
10326
10327         * buffer.h:
10328         * buffer.C: add a per-buffer author list, with first entry as
10329           current author. Handle new .lyx tokens for change tracking. Output
10330           author list to .lyx file. Output dvipost stuff to .tex preamble.
10331           Bump lyx format to 222.
10332
10333         * bufferlist.h:
10334         * bufferlist.C: add setCurrentAuthor() to reset current author details
10335           in all buffers.
10336
10337         * bufferparams.h:
10338         * bufferparams.C: add param for tracking
10339
10340         * bufferview_funcs.C: output change info in minibuffer
10341
10342         * Makefile.am:
10343         * changes.h:
10344         * changes.C: add change-tracking structure
10345
10346         * debug.h:
10347         * debug.C: add CHANGES debug flag
10348
10349         * lyxfind.h:
10350         * lyxfind.C: add code for finding the next change piece
10351
10352         * lyxrc.h:
10353         * lyxrc.C: add user_name and user_email
10354
10355         * lyxrow.h:
10356         * lyxrow.C: add a metric for the top of the text line
10357
10358         * lyxtext.h:
10359         * text.C: implement accept/rejectChange()
10360
10361         * lyxtext.h:
10362         * text.C: paint changebars. Paint new/deleted text in the chosen
10363         colours. Strike through deleted text.
10364
10365         * paragraph.h:
10366         * paragraph.C:
10367         * paragraph_pimpl.h:
10368         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10369           in the current change to the insert functions. Rework erase to
10370           mark text as deleted, adding an eraseIntern() and a range-based
10371           erase(). Implement per-paragraph change lookup and
10372           accept/reject.
10373
10374         * paragraph_funcs.C: Fixup paste for change tracking.
10375
10376         * tabular.C: mark added row/columns as new.
10377
10378         * text.C: fix rowLast() to never return -1. Don't allow
10379           spellchecking of deleted text. Track transpose changes. Don't
10380           allow paragraph break or merge where appropriate.
10381
10382         * text2.C: leave cursor at end of selection after a cut.
10383
10384 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10385
10386         * text.C (getLengthMarkerHeight):
10387         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10388         visible on screen too.
10389
10390 2003-02-07  John Levon  <levon@movementarian.org>
10391
10392         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10393
10394 2003-02-05  Angus Leeming  <leeming@lyx.org>
10395
10396         * lyxserver.C (read_ready): revert my patch of 11 September last year
10397         as it sends PC cpu through the roof. Presumably this means that
10398         the lyxserver will no longer run on an Alpha...
10399
10400 2003-01-30  Angus Leeming  <leeming@lyx.org>
10401
10402         * factory.C (createInset): create an InsetCommandParam of type "index"
10403         and use it to 'do the right thing'.
10404
10405         * text2.C (getStringToIndex): ensure that cursor position is always
10406         reset to the reset_cursor position.
10407
10408 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10409
10410         * lyxfunc.C (getStatus): "buffer-export custom" should never be
10411         disabled.
10412
10413 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
10414
10415         * bufferview.C:
10416         * lyxcb.C:
10417         * lyxfunc.C: Output messages with identical spelling, punctuation,
10418         and spaces
10419
10420 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
10421
10422         * MenuBackend.C (expandFormats): List only viewable export formats
10423         in "View" menu
10424
10425         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10426         message
10427
10428         * lyxfunc.C (getStatus): Make sure that formats other than
10429         "fax" can also be disabled
10430
10431 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10432
10433         * text3.C (dispatch): put the lfuns that insert insets in 3
10434         groups, and call doInsertInset with appropriate arguments.
10435         (doInsertInset): new function, that creates an inset and inserts
10436         it according to some boolean parameters.
10437
10438 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
10439
10440         * buffer.C (readFile): remember to pass on 'par' when calling
10441         readFile recursively.
10442
10443 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10444
10445         * MenuBackend.C (expandFormats): add "..." to import formats.
10446
10447 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
10448
10449         * paragraph.C (asString): Remove XForms RTL hacks.
10450
10451 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
10452         * buffer.C: fix typo
10453
10454 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10455
10456         * Makefile.am (LIBS): delete var
10457         (lyx_LDADD): add @LIBS@ here instead.
10458
10459 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
10460
10461         * Clarify the meaning of "wheel mouse jump"
10462
10463 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10464
10465         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10466         tabular in a float
10467
10468 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10469
10470         * importer.C (Loaders): do not preallocate 3 elements in the
10471         vector, since one ends up with 6 elements otherwise
10472
10473 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10474
10475         * DepTable.C (write): write the file name as last element of the
10476         .dep file (because it may contain spaces)
10477         (read): read info in the right order
10478
10479 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10480
10481         * paragraph_pimpl.C (simpleTeXBlanks):
10482         (simpleTeXSpecialChars):
10483         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10484
10485         * tabular.C (latex): add some missing case statements. Reindent.
10486
10487         * MenuBackend.C (expandToc): remove unused variable.
10488
10489 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
10490
10491         * LColor.C:
10492         * LaTeX.C:
10493         * LyXAction.C:
10494         * MenuBackend.C:
10495         * buffer.C:
10496         * exporter.C:
10497         * lyxfunc.C:
10498         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10499         and the like.
10500
10501 2003-01-05  John Levon  <levon@movementarian.org>
10502
10503         * BufferView.h:
10504         * BufferView.C: add getEncoding()
10505
10506         * kbsequence.h:
10507         * kbsequence.C: do not store last keypress
10508
10509         * lyxfunc.h:
10510         * lyxfunc.C: store last keypress here instead. Pass encoding
10511           to getISOEncoded()
10512
10513 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10514
10515         * lyx_main.C (init): remove annoying error message when following
10516         symbolic links (bug #780)
10517
10518 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10519
10520         * text.C (insertChar):
10521         * lyxrc.C (getDescription): remove extra spaces
10522
10523 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10524
10525         * lyxrc.C (getDescription): remove extra spaces
10526
10527 2002-12-20  John Levon  <levon@movementarian.org>
10528
10529         * text3.C: hack fix for page up/down across tall rows
10530
10531 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10532
10533         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10534         not been invoked
10535
10536 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10537
10538         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10539         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10540         thesaurus is not compiled in
10541
10542 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
10543
10544         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
10545
10546 2002-12-16  Angus Leeming  <leeming@lyx.org>
10547
10548         * lyxrc.[Ch]:
10549         * lyx_main.C (init): remove override_x_deadkeys stuff.
10550
10551 2002-12-12  John Levon  <levon@movementarian.org>
10552
10553         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10554           insert. Only remove shift modifier under strict
10555           circumstances.
10556
10557 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
10558
10559         * MenuBackend.C (expandToc): fix crash.
10560
10561 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
10562
10563         * MenuBackend.C (expandToc): gettext on float names.
10564
10565 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
10566
10567         * lyxlength.[Ch]: set default unit to UNIT_NONE,
10568         implement bool empty() [bug 490]
10569
10570 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10571
10572         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10573
10574 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10575
10576         * several files: ws changes
10577
10578 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10579
10580         * text2.C (setCounter): clean up a bit, use boost.format.
10581         (updateCounters): initialize par upon declaration.
10582
10583         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10584         if the layout exists. We do not just store the layout any more.
10585         (SwitchLayoutsBetweenClasses): use boost.format
10586
10587 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10588
10589         * converter.C (convert): if from and to files are the same, use a
10590         temporary files as intermediary
10591
10592 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10593
10594         * commandtags.h:
10595         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10596
10597 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10598
10599         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10600
10601 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
10602
10603         * tabular.C (asciiPrintCell): use string(size, char) instead of
10604         explicit loop.
10605
10606         * sgml.C (openTag): fix order of arguments to string constructor
10607         (closeTag): ditto
10608
10609         * lyxfunc.C (dispatch): use boost.format
10610
10611         * lots of files: change "c" -> 'c'
10612
10613 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10614
10615         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10616
10617 2002-11-25  Angus Leeming  <leeming@lyx.org>
10618
10619         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10620
10621         * lyx_main.C (init): compile fix.
10622
10623 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
10624
10625         * lyx_cb.C (start): boost.formatify
10626         do not include <iostream>
10627
10628         * lengthcommon.C: ws only
10629
10630         * boost-inst.C,BoostFormat.h: add more explict instantations
10631
10632 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
10633
10634         * lots of files: handle USE_BOOST_FORMAT
10635
10636 2002-11-21  John Levon  <levon@movementarian.org>
10637
10638         * pspell.C: fix compile
10639
10640 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10641
10642         * lyxfunc.C (dispatch): use boost::format
10643         (open): ditto
10644         (doImport): ditto
10645
10646         * lyxfont.C (stateText): use boost::format
10647
10648         * lyx_main.C (LyX): use boost::format
10649         (init): ditto
10650         (queryUserLyXDir): ditto
10651         (readRcFile): ditto
10652         (parse_dbg): ditto
10653         (typedef boost::function): use the recommened syntax.
10654
10655         * importer.C (Import): use boost::format
10656
10657         * debug.C (showLevel): use boost::format
10658
10659         * converter.C (view): use boost::format
10660         (convert): ditto
10661         (move): ditto
10662         (scanLog): ditto
10663
10664         * bufferview_funcs.C (currentState): use boost::format
10665
10666         * bufferlist.C (emergencyWrite): use boost::format
10667
10668         * buffer.C (readLyXformat2): use boost::format
10669         (parseSingleLyXformat2Token): ditto
10670
10671         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10672
10673         * LaTeX.C (run): use boost::format
10674
10675         * Chktex.C (scanLogFile): use boost::format
10676
10677         * BufferView_pimpl.C (savePosition): use boost::format
10678         (restorePosition): ditto
10679         (MenuInsertLyXFile): ditto
10680
10681         * BoostFormat.h: help file for explicit instation.
10682
10683 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
10684
10685         * tabular.C (latex): Support for block alignment in fixed width
10686         columns.
10687
10688 2002-11-17  John Levon  <levon@movementarian.org>
10689
10690         * BufferView_pimpl.C:
10691         * lyx_cb.C:
10692         * lyxfunc.C: split filedialog into open/save
10693
10694 2002-11-08  Juergen Vigna  <jug@sad.it>
10695
10696         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10697         by my last patch (hopefully).
10698
10699 2002-11-08  John Levon  <levon@movementarian.org>
10700
10701         * iterators.h:
10702         * iterators.C:
10703         * buffer.h:
10704         * buffer.C:
10705         * paragraph.h:
10706         * paragraph.C:
10707         * toc.h:
10708         * toc.C: ParConstIterator, and use it (from Lars)
10709
10710 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
10711
10712         * lyxtextclass.[Ch]: revise and add doxygen comments
10713
10714 2002-11-07  John Levon  <levon@movementarian.org>
10715
10716         * text.C: fix progress value for spellchecker
10717
10718         * toc.C: fix navigate menu for insetwrap inside minipage
10719
10720         * paragraph_funcs.C: added FIXME for suspect code
10721
10722 2002-11-07  John Levon  <levon@movementarian.org>
10723
10724         * BufferView_pimpl.C: fix redrawing of insets
10725           on buffer switch
10726
10727 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10728
10729         * text2.C (updateCounters): fix bug 668
10730
10731 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
10732
10733         * text3.C (dispatch): Do not make the buffer dirty when moving the
10734         cursor.
10735
10736 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10737
10738         * vc-backend.C: STRCONV
10739         (scanMaster): ditto
10740
10741         * text2.C (setCounter): STRCONV
10742
10743         * paragraph.C (asString): STRCONV
10744
10745         * lyxlength.C (asString): STRCONV
10746         (asLatexString): ditto
10747
10748         * lyxgluelength.C (asString): STRCONV
10749         (asLatexString): ditto
10750
10751         * lyxfunc.C (dispatch): STRCONV
10752         (open): ditto
10753
10754         * lyxfont.C (stateText): STRCONV
10755
10756         * importer.C (Import): STRCONV
10757
10758         * counters.C (labelItem): STRCONV
10759         (numberLabel): ditto
10760         (numberLabel): remove unused ostringstream o
10761
10762         * chset.C: STRCONV
10763         (loadFile): ditto
10764
10765         * bufferview_funcs.C (currentState): STRCONV
10766
10767         * buffer.C (readFile): STRCONV
10768         (asciiParagraph): ditto
10769         (makeLaTeXFile): ditto
10770
10771         * Spacing.C (writeEnvirBegin): STRCONV
10772
10773         * LaTeXFeatures.C (getLanguages): STRCONV
10774         (getPackages): ditto
10775         (getMacros): ditto
10776         (getBabelOptions): ditto
10777         (getTClassPreamble): ditto
10778         (getLyXSGMLEntities): ditto
10779         (getIncludedFiles): ditto
10780
10781         * LaTeX.C: STRCONV
10782         (run): ditto
10783         (scanAuxFile): ditto
10784         (deplog): ditto
10785
10786         * LString.h: add the STRCONV macros
10787
10788         * BufferView_pimpl.C (savePosition): STRCONV
10789         (restorePosition): ditto
10790         (MenuInsertLyXFile): ditto
10791
10792         * vc-backend.C (scanMaster): change from submatch[...] to
10793         submatch.str(...)
10794
10795         * funcrequest.C: include config.h
10796
10797         * factory.C: include config.h
10798
10799         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10800
10801         * box.C: include config.h
10802
10803         * LaTeX.C (scanAuxFile): change from submatch[...] to
10804         submatch.str(...)
10805         (deplog): ditto
10806
10807 2002-10-25  Angus Leeming  <leeming@lyx.org>
10808
10809         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10810
10811         * ispell.[Ch] (setError): new method.
10812         * ispell.C (c-tor): move out child process into new class LaunchIspell.
10813         Use setError() insetead of goto END.
10814
10815         * lyx_cb.C (AutoSave): move out child process into new class
10816         AutoSaveBuffer.
10817
10818 2002-10-30  John Levon  <levon@movementarian.org>
10819
10820         * text3.C: make start appendix undoable
10821
10822 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
10823
10824         * lyxlength.C (inPixels): Fix returned value.
10825
10826         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10827         environment.
10828
10829 2002-10-24  Angus Leeming  <leeming@lyx.org>
10830
10831         * lyxgluelength.h: no need to forward declare BufferParams
10832         or BufferView, so don't.
10833
10834 2002-10-21  John Levon  <levon@movementarian.org>
10835
10836         * BufferView.C: menuUndo ->undo, redo
10837
10838         * BufferView.h: document, remove dead, make some methods private
10839
10840         * paragraph_funcs.h:
10841         * paragraph_funcs.C:
10842         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10843
10844         * buffer.h:
10845         * buffer.C:
10846         * sgml.h:
10847         * sgml.C: move sgml open/close tag into sgml.C
10848
10849         * bufferview_funcs.h: unused prototype
10850
10851         * lyxfunc.h:
10852         * lyxfunc.C: remove unused
10853
10854         * lyxtext.h:
10855         * text.C: remove unused
10856
10857 2002-10-21  John Levon  <levon@movementarian.org>
10858
10859         * BufferView.h:
10860         * BufferView.C:
10861         * BufferView_pimpl.h:
10862         * BufferView_pimpl.C: fix mouse wheel handling based on
10863           patch from Darren Freeman
10864
10865 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
10866
10867         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10868
10869 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
10870
10871         * lyxlength.C (inPixels): Fix hanfling of negative length.
10872         Fix LyXLength::MU case.
10873
10874 2002-10-16  John Levon  <levon@movementarian.org>
10875
10876         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10877
10878 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10879
10880         * converter.C (view): add support for $$i (file name) and $$p
10881         (file path) for the viewer command. If $$i is not specified, then
10882         it is appended to the command (for compatibility with old syntax)
10883
10884 2002-10-14  Juergen Vigna  <jug@sad.it>
10885
10886         * undo_funcs.C (textHandleUndo): alter the order in which the
10887         new undopar is added to the LyXText, as we have to set first
10888         the right prev/next and then add it as otherwise the rebuild of
10889         LyXText is not correct. Also reset the cursor to the right paragraph,
10890         with this IMO we could remove the hack in "redoParagraphs()".
10891
10892 2002-10-09  Angus Leeming  <leeming@lyx.org>
10893
10894         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10895         to turn off an optimisation if a new inset is to be inserted.
10896
10897 2002-10-11 André Pönitz <poenitz@gmx.net>
10898
10899         * lyxtext.h: make some functions public to allow access
10900         from inset/lyxtext for handling LFUN_PRIOR/NEXT
10901
10902 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10903
10904         * text3.C (dispatch): when changing layout, avoid an infinite loop
10905         [bug #652]
10906
10907 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10908
10909         * lyxrc.C (read): treat a viewer or converter command of "none" as
10910         if it were empty.
10911
10912         * MenuBackend.C (expandFormats): for an update, also allow the
10913         formats that are not viewable
10914
10915         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10916         script if it is newer than the lyxrc.defaults in user directory
10917
10918 2002-10-07 André Pönitz <poenitz@gmx.net>
10919
10920         * text.C: Vitaly Lipatov's small i18n fix
10921
10922 2002-09-25  Angus Leeming  <leeming@lyx.org>
10923
10924         * ispell.h: doxygen fix.
10925
10926 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
10927
10928         * buffer.h (readFile): Add a new argument to the method, to allow
10929         reading of old-format templates.
10930
10931 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
10932
10933         * toc.C (getTocList): Get TOC from InsetWrap.
10934
10935 2002-09-16  John Levon  <levon@movementarian.org>
10936
10937         * lyxfunc.C: check tabular for cut/copy too
10938
10939 2002-09-12  John Levon  <levon@movementarian.org>
10940
10941         * LyXAction.C: tidy
10942
10943         * factory.h:
10944         * factory.C: add header
10945
10946         * paragraph_funcs.h:
10947         * paragraph_funcs.C: cleanup
10948
10949 2002-09-11  John Levon  <levon@movementarian.org>
10950
10951         * PrinterParams.h: odd/even default to true
10952
10953 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
10954
10955         * PrinterParams.h: update printer parameters for new xforms dialog
10956
10957 2002-09-11  Angus Leeming  <leeming@lyx.org>
10958
10959         * lyxserver.C (read_ready): re-write to make it more transparent
10960         and to make it work in coherent fashion under Tru64 Unix.
10961
10962 2002-09-11  André Pönitz <poenitz@gmx.net>
10963
10964         * commandtags.h:
10965         * LyXAction.C:
10966         * text3.C: implement LFUN_WORDSEL
10967
10968 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10969
10970         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10971         make floatlist_ a boost::shared_ptr<FloatList>
10972
10973         * lyxtextclass.C: include FloatList.h
10974         (LyXTextClass): initialize floatlist_
10975         (TextClassTags): add TC_NOFLOAT
10976         (Read): match "nofloat" to TC_NOFLOAT and use it.
10977         (readFloat): modify call to floatlist_
10978         (floats): ditto
10979         (floats): ditto
10980
10981         * FloatList.[Ch] (FloatList): remove commented out float
10982         initialization.
10983         (erase): new function
10984
10985 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10986
10987         * MenuBackend.C (expandToc): fix crash when there is no document
10988         open
10989
10990 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
10991
10992         * many files: Add insetwrap.
10993
10994 2002-09-09  John Levon  <levon@movementarian.org>
10995
10996         * text2.C: remove confusing and awkward depth wraparound
10997
10998 2002-09-09  John Levon  <levon@movementarian.org>
10999
11000         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
11001
11002         * buffer.h:
11003         * buffer.C: remove getIncludeonlyList()
11004
11005         * paragraph.C:
11006         * lyxfunc.C: remove headers
11007
11008 2002-09-09  Juergen Vigna  <jug@sad.it>
11009
11010         * text.C (getColumnNearX): fix form Michael this is most
11011         probably a cut&paste bug.
11012
11013 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
11014
11015         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
11016
11017         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
11018         references, ws changes.
11019
11020         * text2.C (init): update counters after init
11021         (insertParagraph): no need to set counter on idividual paragraphs.
11022         (setCounter): access the counters object in the textclass object
11023         on in the buffer object.
11024         (updateCounters): ditto
11025
11026         * lyxtextclass.C: include counters.h, add variable ctrs_ as
11027         shared_ptr<Counters> to avoid loading counters.h in all
11028         compilation units.
11029         (LyXTextClass): initialize ctrs_
11030         (TextClassTags): add TC_COUNTER, and ...
11031         (Read): use it here.
11032         (CounterTags): new tags
11033         (readCounter): new function
11034         (counters): new funtion
11035         (defaultLayoutName): return a const reference
11036
11037         * counters.C (Counters): remove contructor
11038         (newCounter): remove a couple of unneeded statements.
11039         (newCounter): simplify a bit.
11040         (numberLabel): some small formatting changes.
11041
11042         * buffer.[Ch]: remove all traces of counters, move the Counters
11043         object to the LyXTextClass.
11044
11045 2002-09-06  Alain Castera  <castera@in2p3.fr>
11046
11047         * tabular.C: uses \tabularnewline; uses >{...} construct from array
11048         package to set the horizontal alignment on fixed width columns.
11049
11050         * lyx_sty.C:
11051         * lyx_sty.h: added tabularnewline macro def.
11052
11053         * LaTeXFeatures.C: added NeedTabularnewline macro feature
11054
11055 2002-09-06  John Levon  <levon@movementarian.org>
11056
11057         * LyXAction.C: tooltips for sub/superscript
11058
11059         * MenuBackend.C: a bit more verbose
11060
11061         * lyxfunc.C: tiny clean
11062
11063         * undo_funcs.C: document undo_frozen
11064
11065 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
11066
11067         * counters.C (Counters): add missing algorithm counter.
11068
11069         * text2.C (setCounter): lookup the counter with layouts latexname
11070         instead of by section number.
11071         (setCounter): use a hackish way to lookup the correct enum
11072         counter.
11073         a float name->type change
11074         reset enum couners with counter name directly instead of depth value.
11075
11076         * counters.C (Counters): remove the push_backs, change to use the
11077         float type not the float name.
11078         (labelItem): remove unused string, float name->type change
11079
11080         * counters.h: don't include vector, loose the enums and sects vectors
11081
11082 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
11083
11084         * lyxtextclass.C (TextClassTags): add TC_FLOAT
11085         (Read): add float->TC_FLOAT to textclassTags
11086         (Read): and handle it in the switch
11087         (readFloat): new function
11088
11089         * FloatList.C (FloatList): comment out the hardcoded float
11090         definitions.
11091
11092         * lyxlayout.h: ws change.
11093
11094 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
11095
11096         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
11097
11098 2002-09-03  Angus Leeming  <leeming@lyx.org>
11099
11100         * BufferView_pimpl.h: qualified name is not allowed in member
11101         declaration: WorkArea & Pimpl::workarea() const;
11102
11103         * factory.C: added using std::endl directive.
11104
11105         * text3.C: added using std::find and std::vector directives.
11106
11107 2002-08-29  André Pönitz <poenitz@gmx.net>
11108
11109         * lyxtext.h:
11110         * text2.C: remove unused member number_of_rows
11111
11112         * Makefile.am:
11113         * BufferView2.C: remove file, move contents to...
11114         * BufferView.C: ... here
11115
11116         * BufferView_pimpl.C:
11117         * factory.C: move more inset creation to factory
11118
11119         * vspace.C: avoid direct usage of LyXText, ws changes
11120
11121         * BufferView.[Ch]:
11122                 don't provide direct access to WorkArea, use two simple
11123                 acessors haveSelction() and workHeight() instead
11124
11125
11126 2002-08-29  John Levon  <levon@movementarian.org>
11127
11128         * BufferView_pimpl.C (dispatch): do not continue when
11129           no buffer
11130
11131 2002-08-28  André Pönitz <poenitz@gmx.net>
11132
11133         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
11134
11135         * BufferView.h:
11136         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
11137
11138 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
11139
11140         * buffer.C: increment LYX_FORMAT to 221
11141
11142         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
11143         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
11144
11145         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
11146
11147         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
11148
11149 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11150
11151         * factory.C (createInset): use LyXTextClass::floats
11152
11153         * MenuBackend.C (expandFloatListInsert):
11154         (expandFloatInsert):
11155         (expandToc):
11156
11157         * text2.C (setCounter):
11158
11159         * LaTeXFeatures.C (useFloat):
11160         (getFloatDefinitions):
11161
11162         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
11163
11164         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
11165         floatlist_, with accessor floats().
11166
11167         * FloatList.h: remove global FloatList
11168
11169 2002-08-26  André Pönitz <poenitz@gmx.net>
11170
11171         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
11172
11173         * BufferView.h:
11174         * BufferView2.C:
11175         * BufferView_pimpl.C:
11176         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
11177
11178 2002-08-25  John Levon  <levon@movementarian.org>
11179
11180         * LyXAction.C: fix margin note description
11181
11182 2002-08-24  John Levon  <levon@movementarian.org>
11183
11184         * buffer.C:
11185         * bufferlist.C:
11186         * bufferview_funcs.C:
11187         * lyxfont.C:
11188         * undo_funcs.C: cleanups
11189
11190         * lyxfunc.C: disable CUT/COPY when no selection
11191
11192 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
11193
11194         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11195         in "enum UNIT"; e.g. PTW for Percent of TextWidth
11196
11197         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11198         Add backward compatibility to "mono", "gray" and "no".
11199
11200 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
11201
11202         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11203         (and file_format >= 200).
11204
11205 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11206
11207         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11208
11209 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11210
11211         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11212
11213 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
11214
11215         * BufferView_pimpl.C:
11216         * LyXAction.C:
11217         * buffer.C:
11218         * commandtags.h:
11219         * lyxfunc.C:
11220         * paragraph.[Ch]:
11221         * text2.C:
11222         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11223         inset and code to make it  work with the paragraph code. The inset
11224         can be anywhere in the paragraph, but will only do the expected
11225         thing in LaTeX if the layout file contains the parameter line
11226                         OptionalArgs    1
11227         (or more generally, a nonzero value) for that layout.
11228
11229 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
11230
11231         * paragraph.h: remove the declaration of undefined counters class
11232         function.
11233
11234 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
11235
11236         * text2.C (setCounter):  fixed enumeration mis-count as reported by
11237         Dr. Richard Hawkins.
11238
11239 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11240
11241         * paragraph_funcs.h: remove some unneeded includes
11242
11243         * text.C (backspace): pasteParagraph now in global scipe
11244
11245         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11246         (pasteSelection): ditto
11247
11248         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11249         * paragraph_funcs.C (pasteParagraph): ... here
11250
11251 2002-08-20  André Pönitz <poenitz@gmx.net>
11252
11253         * commandtags.h: new LFUNs for swapping/copying table row/colums
11254
11255         * LyXAction.C:
11256         * lyxfunc.C: support for new lfuns
11257
11258 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
11259
11260         * tabular.C:
11261         * buffer.[Ch]: remove NO_COMPABILITY stuff
11262
11263 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
11264
11265         * boost.C (throw_exception): new file, with helper function for
11266         boost compiled without exceptions.
11267
11268         * paragraph.h:
11269         * lyxlength.C:
11270         * buffer.C:
11271         * ParameterStruct.h:
11272         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11273
11274         * bufferlist.C (emergencyWriteAll): use boost bind
11275
11276         * BufferView_pimpl.C (moveCursorUpdate): remove inline
11277
11278         * text.C: include paragraph_funcs.h
11279         (breakParagraph): breakParagraph is now in global scope
11280
11281         * paragraph_funcs.[Ch]: new files
11282
11283         * paragraph.C (breakParagraph,breakParagraphConservative): move to
11284         global scope
11285
11286         * buffer.C: include paragraph_funcs.h
11287         (insertStringAsLines): breakParagraph is now in global scope
11288
11289         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11290         paragraph_funcs.C
11291
11292         * CutAndPaste.C: include paragraph_funcs.h
11293         (cutSelection): breakParagraphConservative is now in global scope
11294         (pasteSelection): ditto
11295
11296         * buffer.h: declare oprator== and operator!= for
11297         Buffer::inset_iterator
11298
11299         * bufferlist.C (emergencyWrite): don't use fmt(...)
11300
11301         * text3.C: add using std::endl
11302
11303         * BufferView.C (moveCursorUpdate): remove default arg
11304
11305 2002-08-20  André Pönitz <poenitz@gmx.net>
11306
11307         * buffer.[Ch]: move inline functions to .C
11308
11309         * BufferView2.C:
11310         * BufferView_pimpl.C:
11311         * text.C:
11312         * buffer.[Ch]: use improved inset_iterator
11313
11314         * buffer.C:
11315         * paragraph.[Ch]: write one paragraph at a time
11316
11317 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11318
11319         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11320         style if style is not specified.
11321
11322 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11323
11324         * text2.C (setCounter): when searching for right label for a
11325         caption, make sure to recurse to parent insets (so that a caption
11326         in a minipage in a figure float works) (bug #568)
11327
11328 2002-08-20  André Pönitz <poenitz@gmx.net>
11329
11330         * text3.C: new file for LyXText::dispatch() and helpers
11331
11332         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11333
11334         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11335
11336 2002-08-19  André Pönitz <poenitz@gmx.net>
11337
11338         * lyxtext.h:
11339         * text.C: new LyXText::dispatch()
11340
11341         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11342
11343 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
11344
11345         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11346
11347         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11348         Hebrew text.
11349
11350 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11351
11352         * Makefile.am: use $(variables) instead of @substitutions@
11353
11354 2002-08-15  André Pönitz <poenitz@gmx.net>
11355
11356         * lyxfunc.C:
11357         * BufferView_pimpl.C: streamlining mathed <-> outer world
11358         interaction
11359
11360         * commandtags.h:
11361         * LyXAction.C: remove unused LFUN_MATH
11362
11363 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11364
11365         * paragraph.[Ch]: add some NO_NEXT ifdefs.
11366
11367 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11368
11369         * paragraph.C (Paragraph): reformat a bit
11370         (cutIntoMinibuffer): use builtin InsetList function instad of
11371         doing it manually.
11372         (getInset): ditto
11373
11374         * buffer.C: include boost/bind.hpp, add using std::for_each
11375         (writeFileAscii): use ParagraphList iterators
11376         (validate): use for_each for validate traversal of paragraphs
11377         (getBibkeyList): use ParagraphList iterators
11378         (resizeInsets): use for_each to resizeInsetsLyXText for all
11379         paragraphs.
11380         (getParFromID): use ParagraphList iterators
11381
11382         * BufferView2.C (lockInset): use paragraph list and iterators
11383
11384 2002-08-14  John Levon  <levon@movementarian.org>
11385
11386         * lyxserver.C: remove spurious xforms include
11387
11388 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11389
11390         * lyxfunc.C (getStatus): disable math-extern outside of math mode
11391
11392 2002-08-13  André Pönitz <poenitz@gmx.net>
11393
11394         * LyXAction.[Ch]:
11395         * lyxfunc.C: further cleaning
11396
11397 2002-08-13  André Pönitz <poenitz@gmx.net>
11398
11399         * funcrequest.h: new constructor
11400
11401         * funcrequest.C: move stuff here from .h
11402
11403         * Makefile.am:
11404         * BufferView_pimpl.C:
11405         * LyXAction.C:
11406         * toc.C:
11407         * lyxfunc.C: subsequent changes
11408
11409         * lyxfunc.h: new view() member function
11410
11411         * lyxfunc.C: subsequent changes
11412
11413 2002-08-13  Angus Leeming  <leeming@lyx.org>
11414
11415         * BufferView2.C:
11416         * BufferView_pimpl.C:
11417         * buffer.C:
11418         * converter.C:
11419         * importer.C:
11420         * lyxfunc.C:
11421         * lyxvc.C:
11422         * toc.C:
11423         * vc-backend.C:
11424         changes due to the changed LyXView interface that now returns references
11425         to member variables not pointers.
11426
11427 2002-08-13  Angus Leeming  <leeming@lyx.org>
11428
11429         * WordLangTuple (word, lang_code): return references to strings,
11430         not strings.
11431
11432         * BufferView.h:
11433         * SpellBase.h:
11434         * lyxtext.h: forward-declare WordLangTuple.
11435
11436         * BufferView2.C:
11437         * ispell.C:
11438         * pspell.C:
11439         * text.C: #include "WordLangTuple.h".
11440
11441         * lyxtext.h:
11442         * text.C: (selectNextWordToSpellcheck): constify return type.
11443
11444 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
11445
11446         * buffer.C:
11447         * buffer.h:
11448         * lyxtext.h:
11449         * paragraph.C:
11450         * paragraph_pimpl.h:
11451         * text.C:
11452         * text2.C:
11453         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11454         suggested by Angus.
11455         Made updateCounter always count from start of buffer, and removed
11456         second argument (par).
11457         Reverted floats number display to '#'. Perhaps I'll try again when the
11458         code base is sanitized a bit.
11459
11460 2002-08-12  Angus Leeming  <leeming@lyx.org>
11461
11462         * buffer.[Ch] (getLabelList): constify.
11463
11464 2002-08-07  André Pönitz <poenitz@gmx.net>
11465
11466         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11467
11468         * funcrequest.h: extension to keep mouse (x,y) position
11469
11470 2002-08-12  Juergen Vigna  <jug@sad.it>
11471
11472         * BufferView2.C (insertErrors): forbid undo when inserting error
11473         insets.
11474
11475         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11476
11477 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
11478
11479         * ParagraphList.[Ch]: new files
11480
11481         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11482
11483         * BufferView2.C (lockInset): ParagraphList changes
11484         * toc.C: ditto
11485         * text2.C: ditto
11486         * bufferlist.C: ditto
11487         * buffer.h: ditto
11488         * buffer.C: ditto
11489
11490 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11491
11492         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11493         unused class variable counter_,
11494
11495         * paragraph.[Ch] (getFirstCounter): delete unused function
11496
11497         * counters.C: include LAssert.h
11498         (reset): add a new function with no arg, change other version to
11499         not have def. arg and to not allow empty arg.
11500
11501         * text2.C (setCounter): remove empty arg from call to Counters::reset
11502
11503 2002-08-11  John Levon  <levon@movementarian.org>
11504
11505         * Makefile.am: add WordLangTuple.h
11506
11507 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11508
11509         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11510         lyxfunc.C lyxlex_pimpl.C: ws changes only.
11511
11512         * insets/insettext.C: InsetList changes
11513
11514         * graphics/GraphicsSupport.C (operator()): InsetList changes
11515
11516         * toc.C (getTocList): InsetList changes
11517
11518         * paragraph_pimpl.[Ch]: InsetList changes
11519
11520         * paragraph.[Ch]: InsetList changes
11521
11522         * buffer.C (inset_iterator): InsetList changes
11523         (setParagraph): ditto
11524         * buffer.h (inset_iterator): ditto
11525         * iterators.C (operator++): ditto
11526         * iterators.h: ditto
11527
11528         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11529
11530         * InsetList.[Ch]: new files, most InsetList handling moved out of
11531         paragraph.C.
11532
11533         * BufferView2.C (removeAutoInsets): InsetList changes
11534         (lockInset): ditto
11535         (ChangeInsets): ditto
11536
11537 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
11538
11539         * paragraph_pimpl.h (empty): new function
11540
11541         * paragraph.[Ch] (empty): new function
11542
11543         * other files: use the new Paragraph::empty function
11544
11545 2002-08-09  John Levon  <levon@movementarian.org>
11546
11547         * lyxtext.h: remove unused refresh_height
11548
11549 2002-08-09  John Levon  <levon@movementarian.org>
11550
11551         * Makefile.am:
11552         * sgml.h:
11553         * sgml.C:
11554         * buffer.C:
11555         * paragraph.h:
11556         * paragraph.C: move sgml char escaping out of paragraph
11557
11558         * paragraph.h:
11559         * paragraph.C: remove id setter
11560
11561         * buffer.C:
11562         * paragraph.C:
11563         * paragraph_pimpl.C: remove dead tex_code_break_column
11564
11565         * bufferview_funcs.C: small cleanup
11566
11567         * lyxfunc.C: remove dead proto
11568
11569         * lyxtext.h: make some stuff private. Remove some dead stuff.
11570
11571         * lyxgluelength.C: make as[LyX]String() readable
11572
11573 2002-08-08  John Levon  <levon@movementarian.org>
11574
11575         * LyXAction.h:
11576         * LyXAction.C:
11577         * MenuBackend.C:
11578         * ToolbarDefaults.C:
11579         * lyxfunc.C:
11580         * lyxrc.C:
11581         * toc.C: lyxaction cleanup
11582
11583 2002-08-08  John Levon  <levon@movementarian.org>
11584
11585         * BufferView2.C: small cleanup
11586
11587         * lyxfind.h:
11588         * lyxfind.C: move unnecessary header into the .C
11589
11590 2002-08-08  John Levon  <levon@movementarian.org>
11591
11592         * funcrequest.h: just tedious nonsense
11593
11594         * lyx_main.h:
11595         * lyx_main.C: cleanups
11596
11597         * buffer.C:
11598         * vspace.C: remove dead header lyx_main.h
11599
11600 2002-08-07  Angus Leeming  <leeming@lyx.org>
11601
11602         * Paragraph.[Ch]:
11603         * paragraph_pimpl.h:
11604         Forward declare class Counters in paragraph.h by moving the ctrs member
11605         variable into Paragraph::Pimpl.
11606         (counters): new method, returning a reference to pimpl_->ctrs.
11607
11608         * text2.C: ensuing changes.
11609
11610 2002-08-07  John Levon  <levon@movementarian.org>
11611
11612         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11613
11614         * BufferView_pimpl.C: announce X selection on double/triple
11615           click
11616
11617         * lyx_main.C: use correct bool in batch dispatch
11618
11619         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11620
11621 2002-08-07  André Pönitz <poenitz@gmx.net>
11622
11623         * funcrequest.h: new class to wrap a kb_action and its argument
11624
11625         * BufferView.[Ch]:
11626         * BufferView_pimpl[Ch]:
11627         * LaTeX.C:
11628         * LyXAction.[Ch]:
11629         * lyxfunc.[Ch]:
11630         * lyxrc.C: subsequent changes
11631
11632
11633 2002-08-07  John Levon  <levon@movementarian.org>
11634
11635         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11636           document options change.
11637
11638 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
11639
11640         * counters.[Ch]
11641         * text2.C
11642         * paragraph.[Ch]
11643         * makefile.am: move counters functionality over from
11644         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11645
11646 2002-08-06  John Levon  <levon@movementarian.org>
11647
11648         * WordLangTuple.h: new file for word + language code tuple
11649
11650         * SpellBase.h:
11651         * pspell.h:
11652         * pspell.C:
11653         * ispell.h:
11654         * ispell.C:
11655         * lyxtext.h:
11656         * text.C:
11657         * text2.C:
11658         * BufferView.h:
11659         * BufferView2.C: use WordLangTuple
11660
11661         * layout.h:
11662         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11663
11664 2002-08-06  John Levon  <levon@movementarian.org>
11665
11666         * lyx_main.C: fix cmdline batch handling
11667
11668 2002-08-06  André Pönitz <poenitz@gmx.net>
11669
11670         * lyxrc.C: set default for show_banner to true
11671
11672 2002-08-06  John Levon  <levon@movementarian.org>
11673
11674         * pspell.C: fix a crash, and allow new aspell to work
11675
11676 2002-08-06  John Levon  <levon@movementarian.org>
11677
11678         * lyxfunc.C:
11679         * kbmap.C: small cleanup
11680
11681         * vspace.h:
11682         * vspace.C: add const
11683
11684 2002-08-05  John Levon  <levon@movementarian.org>
11685
11686         * LyXAction.C: back to tabular-insert
11687
11688 2002-08-04  John Levon  <levon@movementarian.org>
11689
11690         * BufferView.h:
11691         * BufferView.C: cosmetic change
11692
11693         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11694
11695         * bufferlist.C:
11696         * buffer.h:
11697         * buffer.C:
11698         * lyxcb.h:
11699         * lyxcb.C:
11700         * lyxserver.C:
11701         * lyxvc.C:
11702         * vc-backend.C:
11703         * BufferView2.C: purge all "Lyx" not "LyX" strings
11704
11705         * lyxcursor.h:
11706         * lyxcursor.C: attempt to add some documentation
11707
11708         * lyxfunc.C:
11709         * commandtags.h:
11710         * LyXAction.C:
11711         * ToolbarDefaults.C:
11712         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11713           merge with LFUN_TABULAR_INSERT
11714
11715         * Makefile.am:
11716         * SpellBase.h:
11717         * ispell.h:
11718         * ispell.C:
11719         * pspell.h:
11720         * pspell.C: split up i/pspell implementations into separate
11721           files, many cleanups
11722
11723         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11724
11725         * text2.C: some cleanup
11726
11727         * lyxfunc.C: don't check for isp_command == "none" any more, it
11728           didn't make any sense
11729
11730 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
11731
11732         * counters.[Ch]
11733         * text2.C
11734         * paragraph.[Ch]
11735         * makefile.am: move counters functionality over
11736         from text2.C/paragraph.[Ch] to counters.[Ch], and
11737         make proper C++.
11738 2002-08-02  John Levon  <levon@movementarian.org>
11739
11740         * buffer.C: s/lyxconvert/lyx2lyx/
11741
11742 2002-08-02  Angus Leeming  <leeming@lyx.org>
11743
11744         * lyxlex.C: revert John's change as it breaks reading of the user
11745         preamble.
11746
11747 2002-08-02  Angus Leeming  <leeming@lyx.org>
11748
11749         * importer.C (Import):
11750         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11751         changes due to LyXView::view() now returning a boost::shared_ptr.
11752
11753 2002-08-02  John Levon  <levon@movementarian.org>
11754
11755         * lyxlex.C: small cleanup
11756
11757 2002-08-02  John Levon  <levon@movementarian.org>
11758
11759         * text2.C (status): small cleanup, no logic change
11760
11761 2002-08-01  John Levon  <levon@movementarian.org>
11762
11763         * buffer.h:
11764         * buffer.C (writeFile): don't output alerts, caller
11765           handles this
11766
11767         * bufferlist.C:
11768         * lyx_cb.C: from above
11769
11770         * lyxfunc.C: allow to open non-existent files
11771
11772 2002-07-31  John Levon  <levon@movementarian.org>
11773
11774         * lyxserver.C: don't let incidental errors get
11775           in the way (errno)
11776
11777 2002-07-30  John Levon  <levon@movementarian.org>
11778
11779         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11780
11781 2002-07-30  John Levon  <levon@movementarian.org>
11782
11783         * lyxserver.h:
11784         * lyxserver.C: remove I/O callback too
11785
11786 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11787
11788         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11789         log.
11790
11791 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
11792
11793         * many files: strip,frontStrip -> trim,ltrim,rtrim
11794
11795 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
11796
11797         * PrinterParams.h: remove extern containsOnly, and include
11798         support/lstrings.h instead.
11799
11800         * LaTeX.C (scanAuxFile): modify because of strip changes
11801         (deplog): ditto
11802         * buffer.C (makeLaTeXFile): ditto
11803         * bufferparams.C (writeFile): ditt
11804         * lyxfont.C (stateText): ditto
11805         * lyxserver.C (read_ready): ditto
11806         * vc-backend.C (scanMaster): ditto
11807
11808         * BufferView_pimpl.h: ws changes
11809
11810         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11811
11812 2002-07-26  André Pönitz <poenitz@gmx.net>
11813
11814         * kb_sequence.C: remove unnedred usings
11815
11816 2002-07-26  Juergen Vigna  <jug@sad.it>
11817
11818         * lyxfind.C (LyXReplace): we have to check better if the returned
11819         text is not of theLockingInset()->getLockingInset().
11820
11821 2002-07-25  Juergen Vigna  <jug@sad.it>
11822
11823         * lyxfind.C (LyXReplace): don't replace if we don't get the
11824         right LyXText.
11825
11826         * undo_funcs.C (createUndo): remove debugging code.
11827
11828 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
11829
11830         * buffer.C (parseSingleLyXformat2Token): Use default placement
11831         when reading old floats.
11832
11833         * FloatList.C (FloatList): Change the default placement of figure
11834         and tables to "tbp".
11835
11836 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
11837
11838         * MenuBackend.C: using std::max
11839
11840 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11841
11842         * MenuBackend.C (expandToc):
11843         (expandToc2): code moved from xforms menu frontend. It is now
11844         generic and TOCs are transparent to menu frontends.
11845
11846 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11847
11848         * toc.C (getTocList): protect against buf=0
11849
11850         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11851         Menu as first parameter. Now, this calls itself recursively to
11852         expand a whole tree (this will be useful for TOC handling)
11853         (expandFloatInsert): remove 'wide' version of floats
11854
11855         * MenuBackend.h (submenuname): returns the name of the submenu.
11856         (submenu): returns the submenu itself, provided it has been
11857         created by MenuBackend::expand
11858
11859 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11860
11861         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11862         insets which have noFontChange == true. (bug #172)
11863
11864 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11865
11866         * BufferView_pimpl.C: add connection objects and use them...
11867         (Pimpl): here.
11868
11869 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11870
11871         * MenuBackend.C (expandLastfiles):
11872         (expandDocuments):
11873         (expandFormats):
11874         (expandFloatListInsert):
11875         (expandFloatInsert):
11876         (expand): split expand in parts
11877
11878 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11879
11880         * lyx_gui.C: use lyx_gui::exit()
11881
11882 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11883
11884         * LyXAction.C: show the failing pseudo action
11885
11886 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
11887
11888         * buffer.C (readFile): Run the lyxconvert script in order to read
11889         old files.
11890
11891 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11892
11893         * LyXAction.C:
11894         * commandtags.h:
11895         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11896
11897 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11898
11899         * LyXAction.C:
11900         * commandtags.h:
11901         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11902
11903 2002-07-22  Herbert Voss  <voss@lyx.org>
11904
11905         * lengthcommon.C:
11906         * lyxlength.[Ch]: add support for the vertical lengths
11907
11908 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
11909
11910         * toc.[Ch]: std:: fixes
11911
11912 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11913
11914         * lyxrc.C: do not include lyx_main.h
11915
11916         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11917         for layouts
11918
11919         * lyxrc.C:
11920         * encoding.C:
11921         * bufferlist.C:
11922         * BufferView2.C: include "lyxlex.h"
11923
11924         * tabular.h:
11925         * bufferparams.h: do not #include "lyxlex.h"
11926
11927         * lyxtextclasslist.C (Add): remove method
11928         (classlist): renamed to classlist_
11929
11930         * paragraph_pimpl.C:
11931         * paragraph.C:
11932         * text2.C:
11933         * CutAndPaste.C:
11934         * bufferview_funcs.C:
11935         * bufferlist.C:
11936         * text.C:
11937         * LaTeXFeatures.C:
11938         * buffer.C:
11939         * toc.C (getTocList): use BufferParams::getLyXTextClass
11940
11941         * toc.C (getTocList): use InsetFloat::addToToc
11942
11943         * toc.[Ch]: new files, containing helper functions to handle table
11944         of contents
11945
11946         * lyxfunc.C (dispatch): no need to remove spaces around command
11947         given as a string
11948         (getStatus): handle LFUN_SEQUENCE by returning the status of the
11949         first command of the sequence; it is not very clever, but I do not
11950         have a better idea, actually
11951
11952         * LyXAction.C (LookupFunc): make sure to remove space at the
11953         beginning and end of the command
11954
11955 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11956
11957         * MenuBackend.C (getMenubar): new method: return the menubar of
11958         this menu set
11959         (read): treat differently reading of menu and menubar (in
11960         particular, the menubar has no name now)
11961         (Menu::menubar): remove
11962
11963         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11964         saving is finished
11965
11966 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11967
11968         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11969         a bibitem inset in a RTL paragraph.
11970
11971 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
11972
11973         * paragraph_pimpl.C: constify
11974
11975         * BufferView_pimpl.C:
11976         * LaTeX.C:
11977         * lyxfunc.C: fix dispatch in a nicer way
11978
11979 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11980
11981         * lyxfunc.C (dispatch):
11982         * BufferView_pimpl.C:
11983         * BufferView_pimpl.h:
11984         * BufferView.C:
11985         * BufferView.h: rename Dispatch() to dispatch()
11986
11987         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11988
11989         * lyxlayout.C (Read): honor DependsOn tag
11990
11991         * lyxlayout.[Ch] (depends_on): new method
11992
11993         * version.C.in: update lyx_docversion
11994
11995         * LaTeXFeatures.C (getMacros): only define \LyX when needed
11996
11997         * paragraph.C (validate): remove from here...
11998         * paragraph_pimpl.C (validate): ... and move here
11999         (isTextAt): make it const
12000
12001         * buffer.C (getLists): ws cleanup
12002
12003 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
12004
12005         * language.C (read): Use iso8859-1 encoding in latex_lang
12006         (this prevents LyX from crashing when using iso10646-1 encoding).
12007
12008 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12009
12010         * text2.C (toggleInset): if cursor is inside an inset, close the
12011         inset and leave cursor _after_ it
12012
12013 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
12014
12015         * lyxfunc.C: move minibuffer completion handling out of here
12016
12017 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
12018
12019         * BufferView_pimpl.C:
12020         * LaTeX.C: fix dispatch calls
12021
12022 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
12023
12024         * text.C (drawChars): Fix Arabic text rendering.
12025
12026 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
12027
12028         * LyXAction.C:
12029         * commandtags.h:
12030         * lyxfunc.C: remove message-push/pop
12031
12032         * lyxserver.C:
12033         * lyxfunc.h:
12034         * lyxfunc.C: rationalise some code by removing verboseDispatch
12035           in favour of a bool argument to dispatch()
12036
12037 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12038
12039         * lyx_main.C (init): make sure to read symlinks as absolute paths
12040
12041 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12042
12043         * lyxfunc.h:
12044         * lyxfunc.C: no need for commandshortcut to be a member
12045
12046 2002-07-15  André Pönitz <poenitz@gmx.net>
12047
12048         * converter.C: add support for $$s (scripts from lib/scripts dir)
12049         * lyx_main.C: white space
12050
12051 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12052
12053         * bufferlist.C:
12054         * lyxrc.h:
12055         * lyxrc.C: remove second exit confirmation
12056
12057 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12058
12059         * BufferView.h:
12060         * BufferView.C:
12061         * BufferView2.C:
12062         * BufferView_pimpl.h:
12063         * BufferView_pimpl.C:
12064         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
12065
12066 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12067
12068         * MenuBackend.C (expand): add numeric shortcuts to document menu
12069
12070         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
12071
12072 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12073
12074         * lyxfont.C (setLyXFamily):
12075         (setLyXSeries):
12076         (setLyXShape):
12077         (setLyXSize):
12078         (setLyXMisc):
12079         (lyxRead):
12080         * debug.C (value):
12081         * buffer.C (asciiParagraph): use ascii_lowercase
12082
12083 2002-07-15  Mike Fabian  <mfabian@suse.de>
12084
12085         * lyxlex_pimpl.C (search_kw):
12086         * lyxlex.C (getLongString):
12087         * converter.h (operator<):
12088         * converter.C (operator<):
12089         * buffer.C (parseSingleLyXformat2Token):
12090         (asciiParagraph):
12091         * ToolbarDefaults.C (read):
12092         * MenuBackend.C (checkShortcuts):
12093         (read):
12094         * LColor.C (getFromGUIName):
12095         (getFromLyXName): use the compare_ascii_no_case instead of
12096         compare_no_case, because in turkish, 'i' is not the lowercase
12097         version of 'I', and thus turkish locale breaks parsing of tags.
12098
12099 2002-07-16  Angus Leeming  <leeming@lyx.org>
12100
12101         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
12102         now takes a Buffer const & argument.
12103
12104 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
12105
12106         * BufferView.C (resize): check there's a buffer to resize
12107
12108 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
12109
12110         * lyxfunc.C: remove dead code
12111
12112         * lyxserver.h:
12113         * lyxserver.C: use lyx_guii::set_read_callback
12114
12115 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12116
12117         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
12118         an inset in a RTL paragraph.
12119
12120 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12121
12122         * lyxfunc.C: repaint after a font size update
12123
12124 2002-07-15  André Pönitz <poenitz@gmx.net>
12125
12126         * lyxlength.C: inBP should be able to return negative values
12127
12128 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12129
12130         * lyxfunc.C: use lyx_gui::update_fonts()
12131
12132 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12133
12134         * lyxfunc.C: use lyx_gui::update_color()
12135
12136 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
12137
12138         * bufferlist.C:
12139         * lyxfunc.h:
12140         * lyxfunc.C:
12141         * lyxrc.h:
12142         * lyxrc.C: remove file->new asks for name option, and let
12143           buffer-new take an argument
12144
12145 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
12146
12147         * BufferView_pimpl.C: remove unneeded extra repaint()
12148
12149 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
12150
12151         * LyXAction.C: allow command-sequence with NoBuffer
12152
12153         * lyxfunc.C: don't insist on trailing ';' for command-sequence
12154
12155 2002-07-10  Angus Leeming  <leeming@lyx.org>
12156
12157         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
12158
12159 2002-07-09  Angus Leeming  <leeming@lyx.org>
12160
12161         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
12162
12163 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12164
12165         * lengthcommon.h: whitespace
12166
12167         * lyxfunc.C: update scrollbar after goto paragraph
12168
12169         * lyxtext.h: factor out page break drawing, and fix it so
12170           page break/added space paints as selected nicely
12171
12172 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12173
12174         * BufferView_pimpl.C: add FIXMEs, clean up a little
12175
12176 2002-07-09  André Pönitz <poenitz@gmx.net>
12177
12178         * lyxfont.[Ch]: support for wasy symbols
12179
12180 2002-07-08  André Pönitz <poenitz@gmx.net>
12181
12182         * BufferView_pimpl.C: apply John's patch for #93.
12183
12184 2002-07-05  Angus Leeming  <leeming@lyx.org>
12185
12186         * BufferView_pimpl.C (buffer): generate previews if desired.
12187
12188         * LColor.h: add "preview" to the color enum.
12189
12190         * LColor.C (LColor): add a corresponding entry to the items array.
12191
12192         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12193         with this buffer.
12194
12195 2002-07-05  Angus Leeming  <leeming@lyx.org>
12196
12197         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12198         The body of the code is now in the method that is passed an ostream &
12199         rather than a file name.
12200         Pass an additional only_preamble parameter, useful for the forthcoming
12201         preview stuff.
12202
12203 2002-07-03  André Pönitz <poenitz@gmx.net>
12204
12205         * lyxfunc.C: simplify getStatus() a bit for math stuff
12206
12207 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12208
12209         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12210
12211 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12212
12213         * text.C (changeRegionCase): do not change case of all the
12214         document when region ends at paragraph end (bug #461)
12215
12216 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12217
12218         * paragraph.C (startTeXParParams):
12219         (endTeXParParams): add \protect when necessary
12220
12221 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12222
12223         * BufferView_pimpl.C (workAreaExpose): remove warning
12224
12225 2002-06-27  Angus Leeming  <leeming@lyx.org>
12226
12227         * Makefile.am: add lyxlayout_ptr_fwd.h.
12228
12229 2002-06-26  André Pönitz <poenitz@gmx.net>
12230
12231         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12232
12233 2002-06-25  Angus Leeming  <leeming@lyx.org>
12234
12235         * lyxfunc.C (dispatch): Comment out the call to
12236         grfx::GCache::changeDisplay. The method no longer exists now that the
12237         pixmap generation part of the graphics loader has been moved into
12238         InsetGraphics.
12239
12240 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12241
12242         * text2.C: layout as layout
12243
12244         * text.C: layout as layout
12245
12246         * tabular.C (OldFormatRead): layout as layout
12247
12248         * paragraph_pimpl.C (TeXDeeper): layout as layout
12249         (realizeFont): layout as layout
12250
12251         * paragraph.C (writeFile): layout as layout
12252         (validate): layout as layout
12253         (getFont): layout as layout
12254         (getLabelFont): layout as layout
12255         (getLayoutFont): layout as layout
12256         (breakParagraph): layout as layout
12257         (stripLeadingSpaces): layout as layout
12258         (getEndLabel): layout as layout
12259         (getMaxDepthAfter): layout as layout
12260         (applyLayout): layout as layout
12261         (TeXOnePar): layout as layout
12262         (simpleTeXOnePar): layout as layout
12263         (TeXEnvironment): layout as layout
12264         (layout): layout as layout
12265         (layout): layout as layout
12266
12267         * lyxtextclass.C (compare_name): new functor to work with
12268         shared_ptr, layout as layout
12269         (Read): layout as layout
12270         (hasLayout): layout as layout
12271         (operator): layout as layout
12272         (delete_layout): layout as layout
12273         (defaultLayout): layout as layout
12274
12275         * lyxlayout_ptr_fwd.h: new file
12276
12277         * lyxlayout.C (Read): layout as layout
12278
12279         * lyx_cb.C (MenuInsertLabel): layout as layout
12280
12281         * bufferlist.C (newFile): layout as layout
12282
12283         * buffer.C (readLyXformat2): layout as layout
12284         (parseSingleLyXformat2Token): layout as layout
12285         (insertStringAsLines): layout as layout
12286         (asciiParagraph): layout as layout
12287         (latexParagraphs): layout as layout
12288         (makeLinuxDocFile): layout as layout
12289         (simpleLinuxDocOnePar): layout as layout
12290         (makeDocBookFile): layout as layout
12291         (simpleDocBookOnePar): layout as layout
12292         (getLists): layout as layout
12293
12294         * LaTeXFeatures.C (getTClassPreamble): layout as layout
12295
12296         * CutAndPaste.C (cutSelection): layout as layout
12297         (pasteSelection): layout as layout
12298         (SwitchLayoutsBetweenClasses): layout as layout
12299
12300         * BufferView_pimpl.C (Dispatch): layout as layout
12301         (smartQuote): layout as layout
12302
12303         * BufferView2.C (unlockInset): layout as layout
12304
12305 2002-06-24  André Pönitz <poenitz@gmx.net>
12306
12307         * lyxfunc.C: fix #487
12308
12309 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12310
12311         * lyxrc.h:
12312         * lyxrc.C:
12313         * lyxfunc.C: remove display_shortcuts, show_banner
12314
12315 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12316
12317         * Buffer_pimpl.C: oops, update on resize
12318
12319 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12320
12321         * buffer.C:
12322         * converter.C:
12323         * exporter.C:
12324         * lyxfunc.C:
12325         * BufferView.h:
12326         * BufferView.C: use repaint()
12327
12328         * BufferView_pimpl.h:
12329         * BufferView_pimpl.C: s/updateScreen()/repaint()/
12330           as it's a clearer description. Remove superfluous
12331           redraws.
12332
12333 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12334
12335         * text.C: fix bug 488. Not ideal, but getting
12336           getWord() to work properly for the insets that
12337           matter is more difficult ...
12338
12339 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12340
12341         * BufferView_pimpl.C:
12342         * LyXAction.C:
12343         * commandtags.h:
12344         * lyxfunc.C: remove the six million index lyxfuncs to just
12345           one, and DTRT (bug 458)
12346
12347 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12348
12349         * BufferView.h:
12350         * BufferView.C:
12351         * BufferView_pimpl.h:
12352         * BufferView_pimpl.C: clean up resize() stuff,
12353           and unnecessary updateScreen()s
12354
12355 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12356
12357         * BufferView.h:
12358         * BufferView.C:
12359         * BufferView_pimpl.h:
12360         * BufferView_pimpl.C:
12361         * lyxfind.h:
12362         * lyxfind.C:
12363         * minibuffer.C: remove focus management of workarea,
12364           not needed. Use screen's greyOut()
12365
12366 2002-06-17  Herbert Voss  <voss@lyx.org>
12367
12368         * converter.C: (convert) do not post a message, when converting
12369         fails, let the calling function decide what to do in this case
12370
12371 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
12372
12373         * lyxfunc.C: tidy up a little
12374
12375 2002-06-16    <alstrup@diku.dk>
12376
12377         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12378         Got rid of FORMS_H_LOCATION include. Now we are
12379         GUII.
12380
12381 2002-06-15  LyX Development team  <lyx@rilke>
12382
12383         * buffer.[Ch] (sgmlOpenTag):
12384         (sgmlCloseTag): Added support for avoiding pernicious mixed
12385         content. Return number of lines written.
12386
12387         (makeLinuxDocFile):
12388         (makeDocBookFile): Fixed calls to sgml*Tag.
12389         Simple white space clean.
12390
12391         (simpleDocBookOnePar): Simple white space clean.
12392
12393         * tabular.[Ch] (docBook): Renamed to docbook and got another
12394         argument to related with the pernicious mixed content.
12395
12396         (docbookRow): Fixed calls for docbook inset method.
12397
12398 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
12399
12400         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12401         so it's X11 independent.
12402
12403         * kb*.[Ch]: ditto.
12404
12405         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12406
12407 2002-06-15  Lyx Development team  <lyx@electronia>
12408
12409         * intl.h: Renamed getTrans to getTransManager.
12410
12411 2002-06-14  Angus Leeming  <leeming@lyx.org>
12412
12413         * Makefile.am: nuke forgotten stl_string_fwd.h.
12414
12415 2002-06-12  Angus Leeming  <leeming@lyx.org>
12416
12417         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12418
12419 2002-06-13  Angus Leeming  <leeming@lyx.org>
12420
12421         * LaTeX.C:
12422         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12423
12424 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
12425
12426         * kbmap.C (getiso): add support for cyrillic and greek
12427
12428 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12429
12430         * BufferView.h:
12431         * BufferView.C:
12432         * BufferView_pimpl.h:
12433         * BufferView_pimpl.C: move bogus scrolling logic
12434           to xforms
12435
12436 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12437
12438         * lyxfunc.C:
12439         * BufferView_pimpl.C: view->resize() change
12440
12441 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12442
12443         * BufferView_pimpl.C: topCursorVisible
12444           prototype change
12445
12446 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12447
12448         * Makefile.am:
12449         * lyx_gui.h:
12450         * lyx_gui.C: move to frontends/
12451
12452         * main.C:
12453         * lyx_main.h:
12454         * lyx_main.C: changes from above
12455
12456 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12457
12458         * intl.C:
12459         * intl.h:
12460         * kbmap.C:
12461         * kbsequence.C:
12462         * lyx_cb.C:
12463         * lyx_main.C: minor tidy
12464
12465 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12466
12467         * BufferView_pimpl.h:
12468         * BufferView_pimpl.C:
12469         * BufferView.h:
12470         * BufferView.C: make painter() const,
12471           remove dead code
12472
12473         * BufferView2.C: use screen() accessor
12474
12475         * lyx_main.h:
12476         * lyx_main.C: some minor cleanup
12477
12478 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12479
12480         * BufferView_pimpl.h:
12481         * BufferView_pimpl.C: remove enter/leaveView,
12482           use workHeight()
12483
12484 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12485
12486         * BufferView.h:
12487         * BufferView.C:
12488         * BufferView2.C:
12489         * BufferView_pimpl.h:
12490         * BufferView_pimpl.C: only construct screen once,
12491           rename
12492
12493         * lyxrc.C: remove pointless comment
12494
12495 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12496
12497         * BufferView.h:
12498         * BufferView.C: remove active() and belowMouse()
12499
12500         * BufferView_pimpl.h:
12501         * BufferView_pimpl.C: use workarea() not workarea_,
12502           and make it use a scoped_ptr instead
12503
12504 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12505
12506         * lyx_gui.C: add debug message on BadWindow
12507
12508 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12509
12510         * sp_spell.C: fdopen is not part of the C++ standard.
12511
12512         * paragraph.C (InsetIterator): use >= instead of ==
12513
12514 2002-06-07  Angus Leeming  <leeming@lyx.org>
12515
12516         Fixes needed to compile with Compaq cxx 6.5.
12517         * BufferView_pimpl.C:
12518         * DepTable.C:
12519         * buffer.C:
12520         * converter.C:
12521         * encoding.C:
12522         * lyx_gui.C:
12523         * lyx_main.C:
12524         * lyxtextclasslist.C:
12525         * minibuffer.C:
12526         * sp_spell.C:
12527         * tabular_funcs.C:
12528         * vc-backend.C:
12529         all c-library variables have been moved into namespace std. Wrap
12530         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12531
12532         * lyxlength.C:
12533         * tabular-old.C:
12534         * tabular.C:
12535         Add a using std::abs declaration.
12536
12537         * kbmap.h (modifier_pair):
12538         * paragraph.h (InsetTable, InsetList):
12539         * lyxfont.h (FontBits):
12540         type definition made public.
12541
12542         * bufferlist.C (emergencyWriteAll): the compiler complains that
12543         there is more than one possible lyx::class_fun template to choose from.
12544         I re-named the void specialisation as lyx::void_class_fun.
12545
12546         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12547
12548         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12549         the compiler is is unable to find tostr in write_attribute.
12550
12551 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12552
12553         * buffer.C (sgmlError): hide #warning
12554
12555 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12556
12557         * xtl/*: get rid of xtl, which is not in use anyway
12558
12559         * LyXAction.C (init):
12560         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12561         were unimplemented xtl experimentation
12562
12563 2002-06-04  André Pönitz <poenitz@gmx.net>
12564
12565         * lyxfunc.C: disable array operation on simple formulae
12566
12567 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
12568
12569         * converter.C: constify a bit
12570
12571 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
12572
12573         * lyx_gui.C: check xforms version correctly
12574
12575 2002-04-30  Herbert Voss  <voss@lyx.org>
12576
12577         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12578         "keep" option
12579
12580 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
12581
12582         * lyxvc.C: fix bug 416 (make sure buffer is saved before
12583           attempt to register it with a VCS)
12584
12585 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12586
12587         * lyx_main.C (init): honor variables LYX_DIR_13x and
12588         LYX_USERDIR_13x
12589
12590 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12591
12592         * buffer.h:
12593         * buffer.C:
12594         * lyx_main.C: fix a crash on bad command line,
12595           and give a useful exit status on error
12596
12597         * lyxfunc.C (doImport): allow -i lyx to work
12598
12599 2002-03-30  André Pönitz <poenitz@gmx.net>
12600
12601         * lyxfunc.C: mathed font changes
12602
12603 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12604
12605         * LaTeX.C:
12606         * importer.h:
12607         * importer.C:
12608         * lyx_sty.h:
12609         * lyx_sty.C:
12610         * lyxlex.C:
12611         * lyxrow.h:
12612         * lyxtext.h:
12613         * paragraph.h:
12614         * paragraph.C:
12615         * texrow.h:
12616         * texrow.C:
12617         * text.C:
12618         * trans_mgr.h: srcdocs, and some minor cleanups
12619
12620 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12621
12622         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12623         call getFont all the time)
12624
12625 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12626
12627         * switch from SigC signals to boost::signals
12628
12629 2002-05-29  André Pönitz <poenitz@gmx.net>
12630
12631         * paragraph_pimpl.C (getChar): don't call size() too often...
12632
12633 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12634
12635         * paragraph_pimpl.C (insertChar): do not try to update tables when
12636         appending (pos == size())
12637
12638         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12639         in order to reduce drastically the number of comparisons needed to
12640         parse a large document
12641
12642 2002-05-29  André Pönitz <poenitz@gmx.net>
12643
12644         * text.C:
12645         * text2.C:
12646         * lyxtextclass.C:
12647         * sp_pspell.h:
12648         * textclasslist.[Ch]:
12649         * sp_ispell.h: whitespace change
12650
12651 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12652
12653         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12654         lyxaction directly now.
12655
12656 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
12657
12658         * trans.C:
12659         * lyxfont.C:
12660         * lyxvc.C: remove unused headers
12661
12662 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12663
12664         * Makefile.am:
12665         * buffer.h:
12666         * undostack.h:
12667         * undostack.C:
12668         * undo_funcs.h:
12669         * undo_funcs.C: some cleanups. Use shared_ptr
12670           and a template for the undo stacks.
12671
12672 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12673
12674         * BufferView_pimpl.h:
12675         * BufferView_pimpl.C:
12676         * kbmap.h:
12677         * kbmap.C:
12678         * kbsequence.h:
12679         * kbsequence.C:
12680         * lyxfunc.h:
12681         * lyxfunc.C:
12682         * text2.C: use key_state/mouse_state
12683
12684 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12685
12686         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12687         and LSubstring
12688
12689         * chset.C: change include order
12690         (loadFile): use boost regex and get rid of LRegex and LSubstring
12691
12692         * Makefile.am (BOOST_LIBS): new variable
12693         (lyx_LDADD): use it
12694
12695         * LaTeX.C: change include order.
12696         (scanAuxFile): use boost regex and get rid of LRegex and
12697         LSubstring
12698         (deplog): ditto
12699
12700 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12701
12702         * ColorHandler.h:
12703         * ColorHandler.C:
12704         * FontInfo.h:
12705         * FontInfo.C: moved to frontends/xforms/
12706
12707         * FontLoader.h:
12708         * FontLoader.C: moved into frontends for GUIIzation
12709
12710         * Makefile.am:
12711         * lyx_gui.C:
12712         * lyxfont.C:
12713         * lyxfunc.C: changes from above
12714
12715 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12716
12717         * LColor.C: remove spurious X include
12718
12719         * BufferView_pimpl.C:
12720         * Makefile.am:
12721         * font.h:
12722         * font.C:
12723         * text.C:
12724         * text2.C: move font metrics to frontends/
12725
12726 2002-05-24  Juergen Vigna  <jug@sad.it>
12727
12728         * undo_funcs.C (textHandleUndo): fix the cursor selection after
12729         setting the undo_cursor.
12730
12731         * ParagraphParameters.h: include local includes first.
12732
12733 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12734
12735         * BufferView_pimpl.C:
12736         * BufferView_pimpl.h:
12737         * Makefile.am:
12738         * WorkArea.h:
12739         * WorkArea.C:
12740         * screen.C: move WorkArea into frontends/
12741
12742         * lyxscreen.h:
12743         * screen.C:
12744         * text.C:
12745         * BufferView.C:
12746         * BufferView2.C: move LyXScreen into frontends/
12747
12748         * lyxlookup.h:
12749         * lyxlookup.C:
12750         * lyx_gui.C: move lyxlookup into frontends/xforms/
12751
12752 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12753
12754         * BufferView2.C:
12755         * BufferView_pimpl.C:
12756         * FontLoader.C:
12757         * LyXView.h:
12758         * LyXView.C:
12759         * Makefile.am:
12760         * WorkArea.C:
12761         * XFormsView.h:
12762         * XFormsView.C:
12763         * buffer.C:
12764         * bufferlist.C:
12765         * bufferview_funcs.C:
12766         * converter.C:
12767         * importer.C:
12768         * lyx_cb.C:
12769         * lyx_gui.C:
12770         * lyx_main.C:
12771         * lyx_find.C:
12772         * lyxfunc.C:
12773         * lyxvc.C:
12774         * minibuffer.C:
12775         * text.C:
12776         * text2.C:
12777         * trans.C:
12778         * vc-backend.C: move LyX/XFormsView into frontends/
12779
12780 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12781
12782         * Makefile.am:
12783         * PainterBase.C:
12784         * PainterBase.h:
12785         * Painter.C:
12786         * Painter.h:
12787         * WorkArea.C:
12788         * WorkArea.h:
12789         * screen.C:
12790         * tabular.C:
12791         * text.C:
12792         * text2.C: move Painter to frontends/
12793
12794 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12795
12796         * buffer.C: comment out some some code that depend upon lyx_format
12797         < 220
12798
12799         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12800         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12801
12802         * buffer.h (NO_COMPABILITY): turn off compability
12803
12804         * ColorHandler.C: include scoped_array.hpp
12805
12806         * font.C: Use more specific smart_ptr header.
12807         * Painter.C: ditto
12808         * gettext.C: ditto
12809         * ShareContainer.h: ditto
12810         * lyx_main.h: ditto
12811         * kbmap.h: ditto
12812         * FontInfo.h: ditto
12813         * BufferView_pimpl.h: ditto
12814         * ColorHandler.h: ditto
12815
12816         * kbmap.C (defkey): change call to shared_ptr::reset
12817
12818 2002-05-21  Juergen Vigna  <jug@sad.it>
12819
12820         * buffer.C (insertErtContents): fix to insert ert asis if it is
12821         non empty. Skip it completely if it contains only whitespaces.
12822
12823 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
12824
12825         * BufferView_pimpl.C:
12826         * BufferView2.C: clear selection on paste (bug 393)
12827
12828 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12829
12830         * DepTable.C: include ctime
12831
12832 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
12833
12834         * buffer.C (latexParagraphs): Add new argument (moving_arg).
12835
12836 2002-05-14  Juergen Vigna  <jug@sad.it>
12837
12838         * text.C (breakParagraph): fixed function to honor the keepempty
12839         layout in the right maner and also to permit the right breaking
12840         algorithm on empty or non empyt keepempty paragraphs.
12841
12842         * paragraph.C (breakParagraph): we have to check also if the par
12843         is really empty (!size()) for isempty otherwise we do the wrong
12844         paragraph break.
12845
12846 2002-05-10  Juergen Vigna  <jug@sad.it>
12847
12848         * buffer.[Ch] : The following are only changes to the ert
12849         compatibility read reading old LaTeX layout and font stuff and
12850         convert it to ERTInsets.
12851
12852         * buffer.h: added isErtInset().
12853
12854         * buffer.C (struct ErtComp): add a fromlayout bool to check
12855         if we're inside a LaTeX layout.
12856         (isErtInset): new helper function.
12857         (insertErtContents): look for other ert insets before this one
12858         and insert the contents there, so that we don't have subsequent
12859         ERT insets with nothing between them. This way we create only one
12860         inset with multiple paragraphs. Also check if we don't insert only
12861         spaces ' ' as they are ignored anyway afterwards in the .tex file
12862         so if we have only spaces we will ignore this latex part in the
12863         new file.
12864         (parseSingleLyXformat2Token \\layout): better compatibility when
12865         reading layout-latex stuff.
12866         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12867         language tag.
12868         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12869         stuff after reading the inset only get the information back from
12870         the stack.
12871
12872 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
12873
12874         * buffer.C (makeLaTeXFile): Put language options after loading babel.
12875
12876         * LaTeXFeatures.C (getBabelOptions): New method.
12877
12878 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12879
12880         * BufferView_pimpl.C (Dispatch): work around missing argument for
12881         'layout'
12882
12883 2002-05-08  Juergen Vigna  <jug@sad.it>
12884
12885         * text.C (leftMargin): handle paragraph leftindent.
12886
12887         * paragraph.C (writeFile): write the new \\leftindent tag.
12888         (validate): handle leftindent code.
12889         (TeXEnvironment): handle paragraphleftindent code again.
12890
12891         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12892
12893         * buffer.C (parseSingleLyXformat2Token): added compatibility code
12894         for paragrap_extra indent code and new token \\leftindent.
12895         (latexParagraphs): handle the leftindent as environment.
12896
12897         * ParameterStruct.h: added leftindent support.
12898
12899         * ParagraphParameters.C (leftIndent): added support functions for
12900         the paragraph left indent.
12901
12902         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12903         more appropriate.
12904
12905 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
12906
12907         * paragraph.C (isRightToLeftPar): Return false for a paragraph
12908         inside insetERT.
12909
12910         * text.C (computeBidiTables): No bidi in insetERT.
12911
12912         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12913         in RTL documents.
12914
12915 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12916
12917         * version.C.in: pre 5
12918
12919 2002-05-02  José Matos  <jamatos@fep.up.pt>
12920         * buffer.C (makeDocBookFile): white space changes, add newline to
12921         command styles.
12922         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12923
12924         * tabular.C (docBook): fix typo.
12925
12926 2002-05-03  Juergen Vigna  <jug@sad.it>
12927
12928         * screen.C (drawFromTo): recalculate the rowpointer if we had a
12929         change in LyXText as we can not be sure it was not freed.
12930         (drawOneRow): remove unused code.
12931
12932         * text.C (drawInset): redo the calculation of the need_break_row as
12933         it could have a row which was already freed.
12934         (draw): look at the return value of drawInset and return false if
12935         it also returned false.
12936         (paintRowText): look at the return value of draw and return false if
12937         it also returned false.
12938
12939         * lyxtext.h: added bool return type to drawInset() and draw() so that
12940         if we have a change in the row so that the rowbreak has to be redone
12941         we abort drawing as it will be called again.
12942
12943 2002-05-02  Juergen Vigna  <jug@sad.it>
12944
12945         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12946         a change in the maintext also if we're inside an inset.
12947         (Dispatch): set the cursor again after a break line and after the
12948         screen has been updated as it could be we're in a different row.
12949
12950         * text2.C (fixCursorAfterDelete): check to make sure we don't request
12951         to set the cursor behind the pargraph with > size().
12952         (setCursor): check also for the same paragraph when checking where
12953         to put the cursor if we have a NFR inset.
12954
12955         * buffer.C (parseSingleLyXformat2Token): move the compatibility
12956         parts of layout read further up as it still was in the wrong
12957         position.
12958
12959 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12960
12961         * screen.C (drawFromTo): change sine fullRebreak always return
12962         true.
12963
12964         * buffer.C (parseSingleLyXformat2Token): reindent some
12965
12966         * BufferView_pimpl.C (update): change since fullRebreak always
12967         return true.
12968         (Dispatch): git rid of the last hardcoded "Standard"s.
12969
12970 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12971
12972         * text2.[Ch] (fullRebreak): make it return void now that we always
12973         returned true.
12974
12975 2002-04-30  Juergen Vigna  <jug@sad.it>
12976
12977         * buffer.C (parseSingleLyXformat2Token): reset the font before the
12978         ert compatibility check for "latex" layout.
12979
12980 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
12981
12982         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12983         minipages: use col% instead of p%, and also use the current font.
12984         (makeLaTeXFile): Fix use babel condition.
12985         (parseSingleLyXformat2Token): Correct font when reading old floats.
12986
12987 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
12988
12989         * BufferView_pimpl.C (Dispatch): Check that float type exists when
12990         inserting list of floats.
12991
12992 2002-04-25  Herbert Voss  <voss@lyx.org>
12993
12994         * MenuBackend.C (expand): don't add the graphics extensions to the
12995         export menu
12996
12997 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12998
12999         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
13000         non-existing layout, do not complain if it was the default layout
13001         of the original class (bug #342)
13002
13003 2002-04-24  Juergen Vigna  <jug@sad.it>
13004
13005         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
13006         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
13007
13008 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
13009
13010         * buffer.C (getBibkeyList): If using \bibliography, return the
13011         option field with the reference itself. Enables us to provide natbib
13012         support when using \bibliography.
13013
13014 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
13015
13016         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
13017
13018         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
13019         natbib is provided by the LaTeX class.
13020
13021 2002-04-23  Juergen Vigna  <jug@sad.it>
13022
13023         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
13024         Wakeup functions.
13025
13026         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
13027
13028 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13029
13030         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
13031
13032         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
13033         ensuremath around textordmasculine, textordfeminine and
13034         textdegree.
13035
13036 2002-04-19  Juergen Vigna  <jug@sad.it>
13037
13038         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
13039         reinitializing the buffer otherwise row-dimensions may be wrong.
13040         (update): reset also the selection cursors if they do exits otherwise
13041         their x/y positions may be wrong.
13042
13043         * text2.C (cursorDown): don't enter the inset if we came from a row
13044         above and are one row over the inset.
13045
13046         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
13047         really leaving an inset.
13048
13049 2002-04-18  Juergen Vigna  <jug@sad.it>
13050
13051         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
13052         of the selected paragraph does not have the selected layout also if
13053         the last one had!
13054
13055         * text2.C (setLayout): fixed bug which did not change last selected
13056         paragraph.
13057
13058         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
13059         changed the read and substituted \\end_float with \\end_inset!
13060
13061         * BufferView_pimpl.C (cursorPrevious):
13062         (cursorNext): fixed to make it work with rows heigher than the work
13063         area without moving the cursor only the draw of the row.
13064         (workAreaMotionNotify): fix jumping over high rows.
13065
13066 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13067
13068         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
13069         Ressler.
13070
13071 2002-04-16  Juergen Vigna  <jug@sad.it>
13072
13073         * text2.C (setCursor): set also the irow().
13074         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
13075         (cursorUp):
13076         (cursorDown): support for locking an inset if the x_fix value goes
13077         inside it. That way I can transverse insets too with cursor up/down.
13078
13079         * lyxrow.h: added irow helper function same as other (i) functions.
13080
13081         * BufferView_pimpl.C (cursorPrevious):
13082         (cursorNext): fixed for insets!
13083
13084 2002-04-15  Juergen Vigna  <jug@sad.it>
13085
13086         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
13087         position otherwise it is wrong in some cases.
13088
13089         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
13090         inside the inset before the call.
13091
13092 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
13093
13094         * buffer.[Ch] (getBibkeyList): make it const.
13095
13096 2002-04-12  Juergen Vigna  <jug@sad.it>
13097
13098         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
13099
13100         * text2.C (getCursorX): new helper function
13101         (setCursor): compute also ix_
13102         (setCursorFromCoordinates): set also ix.
13103
13104         * lyxcursor.h: added ix_ and helper functions.
13105
13106         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
13107
13108         * buffer.C (insertStringAsLines): dont break paragraph if the this
13109         paragraph is inside an inset which does not permit it!
13110
13111         * text.C (breakParagraph): honor keepempty flag and break the paragraph
13112         also with no chars on this paragraph.
13113         (paintRowText): only paint stuff if it's inside the workarea!
13114
13115         * paragraph.C (breakParagraph): honor keepempty flag and break the
13116         paragraph always below not above.
13117
13118         * BufferView2.C (unlockInset): update the paragraph layout on inset
13119         unlock as we changed paragraph in such a case.
13120
13121         * lyxfind.C (LyXFind): clear the former selection if not found!
13122
13123         * text2.C (insertInset): freeze Undo after setUndo so that it is not
13124         again called in insertChar().
13125
13126         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
13127         an inset which uses the whole row!
13128         (rightMargin): ditto.
13129         (insertChar): force a rebreak if we inserted an inset!
13130
13131 2002-03-28  Herbert Voss  <voss@lyx.org>
13132
13133         * lyxlength.[Ch]: add inBP() to get the right PS-point
13134         units (BigPoint). With inPixels we have rounding errors
13135
13136 2002-04-11  Juergen Vigna  <jug@sad.it>
13137
13138         * text2.C (setCursorFromCoordinates): set iy to the right value.
13139         (setCursor): add check if row->previous exists!
13140
13141         * buffer.C (parseSingleLyXformat2Token): reset font after read of
13142         an old float_type as this was the case in the old code!
13143
13144         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
13145
13146         * BufferView2.C (showLockedInsetCursor): use iy
13147         (fitLockedInsetCursor): ditto
13148
13149         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
13150         locked insets as there we have the right value now.
13151
13152         * lyxcursor.C: added iy_ variable and iy functions to set to the
13153         baseline of cursor-y of the locked inset.
13154
13155         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
13156         (setCursor): fixed for insets which need a full row.
13157
13158         * text.C (rowLastPrintable): don't ignore the last space when before
13159         an inset which needs a full row.
13160         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
13161         as last character of a row when before a inset which needs a full row.
13162
13163 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13164
13165         * version.C.in: update date
13166
13167         * text2.C (fullRebreak): try to always return true and see what
13168         happens...
13169
13170 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13171
13172         * MenuBackend.C (expand): use Floating::listName
13173
13174         * FloatList.C (FloatList): add listName argument to the built-in
13175         floats
13176
13177         * Floating.[Ch]: add listName member, which is the 'List of XXX'
13178         text associated with the float.
13179
13180 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13181
13182         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
13183
13184 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13185
13186         * ShareContainer.h: add a couple of missing typenames.
13187
13188 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
13189
13190         * lyxrc.C (getDescription): use _() correctly rather than N_().
13191
13192 2002-03-28  Herbert Voss  <voss@lyx.org>
13193
13194         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13195         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13196
13197 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13198
13199         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13200         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13201
13202 2002-03-29  Juergen Vigna  <jug@sad.it>
13203
13204         * lyxfunc.C (dispatch): add a missing fitCursor call.
13205
13206         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13207         it was scrolled by a cursor move, so return the bool status.
13208
13209         * BufferView.C (fitCursor): return the bool flag also to the outside
13210         world as this is needed.
13211
13212         * screen.C (toggleToggle): don't subtract the offset if it's positive.
13213
13214         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13215         call the edit() as it is not needed (and wrong) IMO.
13216         (workAreaButtonPress): set the screen_first variable before evt.
13217         unlock the inset as this may change screen_first and then we have
13218         a wrong y position for the click!
13219
13220 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13221
13222         * MenuBackend.C (expand): another translation that I missed
13223
13224 2002-03-28  Juergen Vigna  <jug@sad.it>
13225
13226         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13227
13228         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13229
13230 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13231
13232         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13233
13234         * MenuBackend.C (expand): fix export/view/update when there is no
13235         document open.
13236
13237 2002-03-27  Herbert Voss  <voss@lyx.org>
13238
13239         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13240         and text%
13241
13242 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13243
13244         * bufferview_funcs.C (currentState): only show paragraph number
13245         for is DEVEL_VERSION is set.
13246
13247         * lyxfunc.C (dispatch): put warning in INFO channel
13248
13249         * MenuBackend.C (expand): translate the name of floats
13250
13251         * FloatList.C (FloatList): mark the float names for translation
13252
13253         * converter.C (convert): use LibScriptSearch
13254
13255 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13256
13257         * MenuBackend.C (defaults): fix default menu (we might as well get
13258         rid of it...)
13259
13260 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13261
13262         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13263         directory.
13264
13265 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13266
13267         * lyxvc.C: reorder includes.
13268
13269 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
13270
13271         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13272           properly
13273
13274 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
13275
13276         * CutAndPaste.C: change layouts earlier on paste
13277           to avoid crashing when calling getFont()
13278
13279 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
13280
13281         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13282         irritating #error.
13283
13284 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13285
13286         * WorkArea.C: remove 'Pending' debug message.
13287
13288         * most files: ws cleanup
13289
13290         * buffer.[Ch]: ws changes
13291
13292         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13293
13294 2002-03-21  Juergen Vigna  <jug@sad.it>
13295
13296         * tabular.C (SetMultiColumn): collapse also the contents of the
13297         cells and set the last border right. Added a Buffer const * param.
13298
13299 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13300
13301         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13302         linking or not.
13303
13304 2002-03-19  Juergen Vigna  <jug@sad.it>
13305
13306         * text2.C (clearSelection): reset also xsel_cache.
13307
13308         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13309         where it needs to be called (John tells us to do so too :)
13310         (selectionLost): reset sel_cache.
13311
13312         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13313
13314 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13315
13316         * text2.C (setCursorIntern): put debuging code in INSETS channel
13317
13318 2002-03-19  André Pönitz <poenitz@gmx.net>
13319
13320         * lyxfunc.C: tiny whitespace change
13321
13322 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13323
13324         * ToolbarDefaults.C (init):
13325         * LyXAction.C (init):
13326         * commandtags.h:
13327         * BufferView_pimpl.C (Dispatch):
13328         * lyxfunc.C (dispatch): remove LFUN_DEPTH
13329
13330 2002-03-19  Allan Rae  <rae@lyx.org>
13331
13332         * exporter.C (Export): removeAutoInsets before doing anything else.
13333         While I've just introduced a dependency on BufferView this really is
13334         the best place to clean the buffer otherwise you need to cleanup in
13335         a dozen places before calling export or cleanup in a dozen functions
13336         that export calls.
13337
13338         * converter.C (runLaTeX):
13339         (scanLog): Better handling of removeAutoInsets and screen updates.
13340
13341         * lyxfunc.C (dispatch): small whitespace changes
13342
13343 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13344
13345         * WorkArea.C (C_WorkAreaEvent): return a value.
13346         (event_cb): return 1 if we handled the event, 0 otherwise.
13347
13348         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13349
13350 2002-03-18  Juergen Vigna  <jug@sad.it>
13351
13352         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13353         (GetAdditionalWidth): ditto.
13354         (RightLine): ditto.
13355         (LeftLine): ditto.
13356
13357         * BufferView2.C (copy): use getLyXText() so that we do it inside an
13358         inset if we're there actually (probably not used right now but this
13359         is the direction to go for unifying code).
13360         (paste): disable code to clear the selection.
13361
13362         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13363         inside an InsetText and move the check further up as it is in the
13364         wrong place.
13365
13366         * text2.C (pasteSelection): set a selection over the pasted text.
13367
13368 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
13369
13370         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13371         and libgraphics to build on Cygwin.
13372
13373 2002-03-15  Juergen Vigna  <jug@sad.it>
13374
13375         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13376         inserting an Inset into the paragraph. I know this is not the best
13377         fix but we already use current_view in CutAndPaste so we will remove
13378         all of it's using at the same time.
13379
13380         * buffer.C (sgmlError): deactivated function till it is rewritten in
13381         the right mode, now it can create problems.
13382
13383         * paragraph.C (isLineSeparator): check if getInset returns != 0,
13384         before accessing it.
13385
13386 2002-03-14  Juergen Vigna  <jug@sad.it>
13387
13388         * undo_funcs.C (textHandleUndo): do the right thing when updating
13389         the inset after the undo/redo.
13390
13391         * text2.C (setCursor): just some testcode for #44 not ready yet.
13392
13393         * undo_funcs.C (textHandleUndo): set the next() and previous()
13394         pointers of the paragraph to 0 before deleting otherwise we have
13395         problems with the Paragraph::[destructor].
13396
13397         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13398         on a paragraph insertion.
13399
13400 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13401
13402         * buffer.C (asciiParagraph): use += operator for char append to
13403         string.
13404
13405         * paragraph.C (getFontSettings): compare >= not just >
13406         (highestFontInRange): ditto
13407         (setFont): ditto
13408
13409 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13410
13411         * paragraph.C: change several algorithm to be more appripriate for
13412         the problem domain. This is lookip in FontList and in the InsetList.
13413
13414 2002-03-13  André Pönitz <poenitz@gmx.net>
13415
13416         * commandtags.h:
13417         * LyXAction.C: remove unused LFUN_MATH_MACROARG
13418
13419 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
13420
13421         * commandtags.h:
13422         * LyXAction.C:
13423         * lyxfunc.C:
13424         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13425
13426 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13427
13428         * Painter.C (display): anon helper function, adjust code for this
13429         change.
13430         (pixmap): remove function.
13431
13432         * Painter.h: remove private display variable.
13433
13434         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13435
13436 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
13437
13438         * WorkArea.[Ch]: remove figinset_canvas cruft.
13439
13440 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13441
13442         * lyxtextclass.C (operator): add one item cache optimization.
13443
13444         * bufferlist.h: doxy changes
13445
13446         * bufferlist.C: ws changes
13447
13448         * DepTable.[Ch] (ext_exist): place const in the right spot.
13449
13450         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13451         call resizeInsets.
13452         (workAreaExpose): call resizeInsets when the with BufferView changes.
13453         (Dispatch): adjust for protectedBlank removal
13454         (specialChar): call updateInset if the insert went ok.
13455
13456         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13457         specialChar instead.
13458
13459         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13460
13461         * BufferView.h: doxy change
13462
13463         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13464
13465         * lyxtextclass.C (operator[]): remove non-const version
13466         (defaultLayout): remove non-const version
13467
13468 2002-03-12  Juergen Vigna  <jug@sad.it>
13469
13470         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13471         did resize the LyXText too.
13472
13473         * buffer.C (readLyXformat2): set layout information on newly allocated
13474         paragraphs.
13475
13476         * tabular.C (OldFormatRead): set layout information on the paragraph.
13477
13478 2002-03-12  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13479
13480         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13481
13482 2002-03-11  Juergen Vigna  <jug@sad.it>
13483
13484         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13485         plainly wrong.
13486         (resizeCurrentBuffer): force also the insets to resize themselfes.
13487         (moveCursorUpdate): fixed up for InsetText.
13488
13489 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
13490
13491         * commandtags.h:
13492         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13493         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13494         value of Dialogs::tooltipsEnabled().
13495         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13496
13497 2002-03-08  Juergen Vigna  <jug@sad.it>
13498
13499         * BufferView_pimpl.C (updateInset): update inset inside inset also
13500         if it isn't inside theLockingInset().
13501
13502 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13503
13504         * buffer.C (asciiParagraph): redo some of the word and line length
13505         handling.
13506         (getLists): look for Caption instead of caption.
13507
13508 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13509
13510         * buffer.C (Buffer): initialize niceFile to true
13511         (makeLaTeXFile):
13512         (makeLinuxDocFile):
13513         (makeDocBookFile): make sure niceFile is true on exit
13514
13515 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13516
13517         * buffer.C (makeLaTeXFile): escape ~ in \input@path
13518
13519 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
13520
13521         * LyXSendto.C: remove.
13522         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13523         * lyx_gui.C: remove now-redundant comment.
13524         * ColorHandler.h: remove forward declaration of class WorkArea.
13525         * lyxfunc.C: remove #include "WorkArea.h".
13526
13527 2002-03-07  Juergen Vigna  <jug@sad.it>
13528
13529         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13530         got moved away with the DEPM and also set the inset_owner always
13531         right which before could have been omitted.
13532
13533 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13534
13535         * buffer.C (parseSingleLyXformat2Token): use default layout is the
13536         wanted layout is not found.
13537
13538 2002-03-07  Juergen Vigna  <jug@sad.it>
13539
13540         * CutAndPaste.C (cutSelection): another layout settings forgotten.
13541
13542 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13543
13544         * paragraph.C (breakParagraph): use default layout not layout of
13545         prev paragraph.
13546         (Paragraph): clear ParagraphParameters.
13547
13548 2002-03-06  Juergen Vigna  <jug@sad.it>
13549
13550         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13551         otherwise it would not be a valid lenght. Fixed a special case in
13552         the minipage compatibility read where we end the document with a
13553         minipage.
13554
13555         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13556         was set as it could be 0 for InsetTexts first entry.
13557
13558 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13559
13560         * paragraph.C (writeFile): if layout is empty write out
13561         defaultLayoutName().
13562
13563         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13564         file without named layout we set layout to defaultLayoutName().
13565
13566 2002-03-06  Juergen Vigna  <jug@sad.it>
13567
13568         * CutAndPaste.C (copySelection): set layout for new paragraph.
13569
13570         * text.C (prepareToPrint): leave ERT inset left aligned
13571         (leftMargin): don't indent paragraphs inside ERT insets
13572
13573 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13574
13575         * paragraph.C (breakParagraph): dont call clear do the work manually
13576
13577         * paragraph.[Ch] (clear): remove function
13578
13579 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13580
13581         * paragraph.C (Paragraph): dont call clear, the work has already
13582         been done.
13583
13584         * lyxtextclass.C (operator): assert if n is empty
13585
13586         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13587         work manually instead.
13588
13589 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13590
13591         * BufferView_pimpl.C: protect selectionLost against text == 0
13592
13593 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13594
13595         * text.C (breakParagraph): fix a setting layout to '0' problem.
13596
13597 2002-03-05  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13598
13599         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13600         final location of file, for the included files, and graphics.
13601
13602 2002-03-05  Juergen Vigna  <jug@sad.it>
13603
13604         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13605
13606 2002-03-04  Juergen Vigna  <jug@sad.it>
13607
13608         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13609
13610         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13611         last column of multicolumn cells.
13612         (SetWidthOfMulticolCell): recalculate NMC and real columns.
13613
13614 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
13615
13616         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13617         file if it doesn't go to a temporary file.
13618
13619         * buffer.C (sgmlOpenTag):
13620         (sgmlCloseTag):  remove extra newline insertion.
13621
13622 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13623
13624         * text.C (getRowNearY): comment out debug msg
13625
13626 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13627
13628         * text2.C: first -> first_y
13629
13630         * text.C (getRowNearY): add some attemts at a possible
13631         optimization, not working.
13632
13633         * tabular.[Ch]: add BufferParams to several function so that newly
13634         created paragraph can be initialized to he default layotu for the
13635         buffers textclass.
13636
13637         * tabular-old.C (ReadOld): add buf->params to call of Init
13638
13639         * screen.C: rename text->first to text->first_y
13640
13641         * paragraph.C (breakParagraph): always set layout in the broken
13642         paragraph
13643
13644         * lyxtextclass.C (Read): remove lowercase
13645         (hasLayout): ditto
13646         (operator): ditto
13647         (delete_layout): ditto
13648
13649         * lyxtext.h: rename first -> first_y
13650
13651         * lyxlayout.C (Read): remove lowercase
13652         (name): ditto
13653         (setName): ditto
13654         (obsoleted_by): ditto
13655
13656         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13657
13658         * buffer.C (insertErtContents): add params are to InsetERT
13659         (parseSingleLyXformat2Token): add code to check if a paragraphs
13660         layout really exist.
13661         (parseSingleLyXformat2Token): add params to several inset
13662         constructors
13663         (asciiParagraph): remove lowercase, do the layout comparisons with
13664         no_case
13665
13666         * BufferView_pimpl.C (cursorNext): first -> first_y
13667         (resizeCurrentBuffer): first -> first_y
13668         (updateScrollbar): first -> first_y
13669         (scrollCB): first -> first_y
13670         (workAreaMotionNotify): first -> first_y
13671         (workAreaButtonPress): first -> first_y
13672         (checkInsetHit): first -> first_y
13673         (cursorPrevious): first -> first_y
13674         (cursorNext): first -> first_y
13675         (Dispatch): add buffer_->params to severl inset contructors
13676
13677 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13678
13679         * lyxlayout.C (Read): remove some debug info that I forgot.
13680
13681         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13682         clean up the code slightly.
13683         (makeLinuxDocFile): ditto
13684         (makeDocBookFile): ditto
13685
13686         * text2.C: layout as string
13687
13688         * text.C: layout as string
13689
13690         * paragraph_pimpl.C: layout as string
13691
13692         * paragraph.[Ch]: layout as string
13693
13694         * lyxtextclasslist.[Ch]: layout as string
13695
13696         * lyxtextclass.[Ch]: layout as string
13697
13698         * lyxtext.h: layout as string
13699
13700         * lyxlayout.[Ch]: layout as string
13701
13702         * lyx_cb.C: layout as string
13703
13704         * bufferview_funcs.C: layout as string
13705
13706         * bufferparams.C: layout as string
13707
13708         * buffer.C: layout as string
13709
13710         * LyXView.[Ch]: layout as string
13711
13712         * LaTeXFeatures.[Ch]: layout as string
13713
13714         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13715
13716         * BufferView_pimpl.C: change current_layout to string, remove
13717         lyx::layout_type.
13718         (Dispatch):
13719         (smartQuote):
13720         (insertInset):
13721         (workAreaButtonRelease): layout as string
13722
13723         * BufferView2.C (unlockInset): adjust
13724
13725         * vspace.C (asLatexCommand): use an explict temp variable.
13726
13727 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13728
13729         * Makefile.am: use FRONTEND_*
13730
13731 2002-03-01  Juergen Vigna  <jug@sad.it>
13732
13733         * tabular.C (SetWidthOfMulticolCell): changed to something better
13734         I hope but still work in progress.
13735         (recalculateMulticolumnsOfColumn): renamed function from
13736         recalculateMulticolCells as it is more appropriate now.
13737         (SetWidthOfCell): calculate multicols better.
13738
13739 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13740
13741         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13742
13743         * lyxfunc.C (processKeySym): print sequence also if it is
13744         `deleted' (complete)
13745
13746         * kbsequence.C (print): print sequence even if it is deleted
13747         (complete would be a better word, actually).
13748
13749         * lyxfunc.C (dispatch): print complete options after a prefix key
13750
13751         * vspace.C (asLatexCommand): rewrite in a slightly different form.
13752
13753 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
13754
13755         * text2.C (setCharFont): eliminate setCharFont code duplication.
13756
13757 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13758
13759         * BufferView_pimpl.C (Dispatch): remove bogus handling of
13760         LFUN_TABULAR_FEATURE (bug #177)
13761
13762 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
13763
13764         * Makefile.am: remove figure.h
13765
13766 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
13767
13768         * Bufferview_pimpl.C:
13769         * CutAndPasteC:
13770         * LaTeX.C:
13771         * LyXSendto.C:
13772         * buffer.C:
13773         * bufferlist.C:
13774         * converter.C:
13775         * language.C:
13776         * lyxfunc.C:
13777         * lyxvc.C:
13778         * paragraph.C:
13779         * text.C:
13780         * text2.C: remove #include "lyx_gui_misc.h".
13781
13782         * LaTeX.C: added #include <cstdio>
13783
13784 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13785
13786         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13787         that the paragraph following this one can have.
13788
13789         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13790
13791         * vspace.C (asLatexCommand): fix bogus gcc warning
13792
13793         * Makefile.am (lyx_SOURCES): remove vms_defines.h
13794
13795 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
13796
13797         * text2.C (setLayout): get rid of redundant code
13798
13799 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
13800
13801         * text2.C (incDepth): make sure depth cannot be increased beyond
13802         reasonable values.
13803
13804 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
13805
13806         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13807         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13808
13809         * PainterBase.h (image):
13810         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13811         a LyXImage const *.
13812
13813 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13814
13815         * BufferView.C:
13816         * BufferView.h:
13817         * BufferView_pimpl.C:
13818         * BufferView_pimpl.h:
13819         * LaTeXFeatures.C:
13820         * LyXAction.C:
13821         * LyXView.C:
13822         * Makefile.am:
13823         * UpdateList.h:
13824         * UpdateList.C:
13825         * buffer.C:
13826         * figure.h:
13827         * figureForm.C:
13828         * figureForm.h:
13829         * figure_form.C:
13830         * figure_form.h:
13831         * lyx_cb.C:
13832         * lyx_gui.C:
13833         * lyx_gui_misc.C:
13834         * lyxfunc.C:
13835         * sp_base.h:
13836         * sp_ispell.h:
13837         * sp_pspell.h:
13838         * sp_spell.C: remove fig inset, and the crap house of
13839           cards that follows it
13840
13841 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13842
13843         * Makefile.am:
13844         * lyxserver.C:
13845         * os2_defines.h:
13846         * os2_errortable.h:
13847         * nt_defines.h: move .h into support/
13848
13849         * vms_defines.h: remove
13850
13851         * WorkArea.C: add space in debug output
13852
13853         * text2.C:
13854         * paragraph.C:
13855         * buffer.C: add WITH_WARNINGS
13856
13857         * vc-backend.h:
13858         * vc-backend.C:
13859         * bufferlist.C: s/retrive/retrieve/, add docs
13860
13861         * vspace.h:
13862         * vspace.C:
13863         * kbmap.h:
13864         * lyxlength.h:
13865         * lyxgluelength.h:
13866         * length_common.h:
13867         * chset.h:
13868         * chset.C: add docs
13869
13870         * lyxgui.C: add ID to X error handler
13871
13872         * lyxtestclass.c: fix typo
13873
13874 2002-02-26  Juergen Vigna  <jug@sad.it>
13875
13876         * tabular_funcs.C (write_attribute): changed so that some default
13877         attributes are not written at all.
13878         (getTokenValue): set default values before trying to read the
13879         value so we have the return value always set as default if we don't
13880         find the token we search for.
13881
13882         * tabular.C (Write): write bools as bools not as strings!
13883
13884 2002-02-22  Juergen Vigna  <jug@sad.it>
13885
13886         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13887         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13888
13889         * text.C (leftMargin): don't add an indent for paragraphs inside
13890         tabular cells (fix #208).
13891
13892 2002-02-21  José Matos  <jamatos@fep.up.pt>
13893
13894         * tabular.C (docBook): fixed support for long tables.
13895
13896 2002-02-20  Juergen Vigna  <jug@sad.it>
13897
13898         * text2.C (getFont): get the drawing font of the Inset if this
13899         paragraph is inside an inset (only important for InsetERT for now).
13900
13901         * buffer.C (insertErtContents): use new lanugage params in ERT
13902         constructor.
13903
13904         * CutAndPaste.C: commenting out seemingly uneeded code.
13905
13906 2002-02-19  Allan Rae  <rae@lyx.org>
13907
13908         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13909         Iterators might be simple to use but they also get invalidated.
13910         (removeAutoInsets): renamed saved cursor tracking variables and added
13911         some comments to clarify what everything does.
13912
13913 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
13914
13915         * Chktex.C:
13916         * LaTeX.C:
13917         * LyXSendto.C:
13918         * converter.C:
13919         * lyx_cb.C:
13920         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13921         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13922
13923         * lyxfunc.C:
13924         * vc-backend.h: remove #include "support/syscall.h"
13925
13926         * LaTeX.C:
13927         * LyXSendto.C:
13928         * converter.C: rearrange #includes in Lars' approved fashion.
13929
13930         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13931         forward declare class Timeout in the header file.
13932
13933         * XFormsView.C: changes due to the above.
13934
13935         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13936         similar to LyXView.
13937
13938         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13939         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13940
13941 2002-02-18  José Matos  <jamatos@fep.up.pt>
13942
13943         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13944         insets contents.
13945
13946 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13947
13948         * a lot of small ws changes
13949         * add a lot of using std::XXX
13950         * use std construcs some places where approp.
13951         * use some exisint stuff from lyxfunctional where approp.
13952         * Make file changes to use partial linking (lets test this now...)
13953
13954 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13955
13956         * Chktex.C:
13957         * buffer.C:
13958         remove #include "support/syscontr.h" as it's redundant. Always has been.
13959
13960         * Chktex.C:
13961         * LaTeX.C:
13962         * LyXSendto.C:
13963         * converter.C:
13964         * lyx_cb.C:
13965         * vc-backend.C:
13966         change Systemcalls::System to Systemcalls::Wait and
13967         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13968         No change of functionality, just reflects the stripped down Systemcalls
13969         class.
13970
13971 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13972
13973         * debug.[Ch]: add a GRAPHICS type to the enum.
13974
13975 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13976
13977         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13978
13979         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13980         there is an inset.
13981
13982 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13983
13984         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13985         match the changes below.
13986
13987         * text2.C (toggleInset): if there is not editable inset at cursor
13988         position, try to see if cursor is _inside_ a collapsable inset
13989         and close it.
13990
13991 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13992
13993         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13994         document menu has a nice checkbox
13995
13996 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13997
13998         * lyxlength.C (asLatexString): change PW to output as percent of
13999         \textwidth.
14000
14001         * lengthcommon.C: change '%' to 't%'
14002
14003         * lyxfunc.C (dispatch): a few comments from Martin
14004
14005 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
14006
14007         * WorkArea.h:
14008         * WorkArea.C:
14009         * BufferView_pimpl.h:
14010         * BufferView_pimpl.C: clear our selection when X tells us we've lost
14011           the X selection.
14012
14013 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14014
14015         * vspace.C (inPixels): fix compiler warning
14016
14017 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14018
14019         * lyxfunc.C (getStatus): fix status message for disabled commands.
14020
14021 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
14022
14023         * BufferView_pimpl.C: fix crash on close buffer
14024         during selection (#227)
14025
14026 2002-01-27  Herbert Voss  <voss@lyx.org>
14027
14028         * buffer.C: link old Figure to new graphic inset
14029
14030 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14031
14032         * FontLoader.C (getFontinfo): Change the latex font names in order
14033         to match the names of type1inst.
14034
14035 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14036
14037         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
14038
14039         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
14040         (extchanged): ditto
14041         (ext_exist): ditto
14042         (remove_files_with_extension): ditto
14043         (remove_file): ditto
14044         (write): ditto
14045
14046         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
14047         document is smaller than the work area height. Do not initialize
14048         static variables to 0.
14049
14050 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14051
14052         * lyx_gui.C (init): give the toolbar tooltips a normal font.
14053
14054         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
14055         LFUN_LAYOUT_PARAGRAPHS.
14056
14057         * tabular.C (GetCellFromInset): new method. Finds an inset in a
14058         tabular. It is possible to provide a possible cell, which will
14059         typically be the actcell from the corresponding insettabular
14060
14061         * lyxfunc.C (getStatus): small cleanup; disable
14062         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
14063         true
14064
14065 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14066
14067         * tabular.C (Validate): remove broken optimization (fixes bug #201)
14068
14069         * paragraph.C (startTeXParParams):
14070         (endTeXParParams): new methods. The LaTeX code to
14071         start/end paragraph formatting
14072         (simpleTeXOnePar): call startTeXParParams also when paragraph is
14073         empty (fixes bug #200)
14074
14075         * vspace.C (inPixels): adapt to the change below
14076         (inPixels): [later] more cleanups (remove unused variables)
14077
14078         * lyxlength.C (inPixels): change to use a width and a height as
14079         parameter.
14080
14081 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14082
14083         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
14084         Replaced with \paperwidth
14085
14086         * DepTable.C (insert): add std:: qualifier
14087
14088 2002-01-18  Allan Rae  <rae@lyx.org>
14089
14090         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
14091         updated also?
14092
14093         * text.C (drawInset): Turned out I didn't know enough about how
14094         rebreaking worked.  This fixes most of the redraw problems.  I see
14095         an occasional cursor trail when a line is broken now and the cursor
14096         placement can seem out by a few pixels also after a rebreak.
14097
14098 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14099
14100         * buffer.C (parseSingleLyXformat2Token): update because minipage
14101         width is now a LyXLength
14102
14103         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
14104
14105         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
14106         math insets
14107
14108 2002-01-17  Juergen Vigna  <jug@sad.it>
14109
14110         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
14111
14112         * BufferView2.C (lockInset): call edit() so that theLockingInset()
14113         is set correctly and the inset is updated correctly.
14114
14115 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14116
14117         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
14118         the beginning of the loop.
14119
14120 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
14121
14122         * lyxrc.C: improve help for use_scalable_fonts
14123
14124 2002-01-17  Allan Rae  <rae@lyx.org>
14125
14126         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
14127
14128 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14129
14130         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
14131         make sure to set their inset_owner to the right value (bug #171)
14132
14133 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
14134
14135         * DepTable.h
14136         * DepTable.C: Implement mtime checking to reduce time spent doing
14137         CRCs.
14138
14139 2002-01-16  Juergen Vigna  <jug@sad.it>
14140
14141         * tabular.C (GetAdditionalHeight): one of error fixed.
14142
14143         * lyxrc.C (output): small fix in writing use_pspell.
14144
14145 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
14146
14147         * sp_base.h: #include LString.h
14148
14149 2002-01-16  Allan Rae  <rae@lyx.org>
14150
14151         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
14152         Can someone check this please?
14153
14154         * text.C (drawInset): It was possible that p.row would be removed by
14155         breakAgainOneRow upsetting a few other settings.  There may be another
14156         small tweak possible by setting need_break_row = 0 when p.row has been
14157         removed but I don't know enough about the logic here.
14158
14159 2002-01-15  Allan Rae  <rae@lyx.org>
14160
14161         * text.C (insertChar): removed conditional truism.
14162
14163         * BufferView2.C (removeAutoInsets): More tweaks.
14164         cur_par_prev could be a stray pointer.  Check for trailing empty line
14165         in case last line was cur_par and only had an error inset on it.
14166
14167 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14168
14169         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
14170         absolute
14171
14172         * vc-backend.C (most methods):
14173         * exporter.C (Export):
14174         * converter.C (convert):
14175         (runLaTeX):
14176         * LyXSendto.C (SendtoApplyCB):
14177         * lyxfunc.C (dispatch):
14178         (menuNew):
14179         (open):
14180         (doImport):
14181         * lyx_cb.C (AutoSave):
14182         (InsertAsciiFile):
14183         * BufferView_pimpl.C (MenuInsertLyXFile):
14184         * buffer.C (runChktex): use Buffer::filePath().
14185
14186         * buffer.h: rename filename to filename_; rename filepath to
14187         filepath_ and make it private
14188         (filePath): new method
14189
14190         * buffer.C (writeFile): use fileName()
14191         (getLatexName):
14192
14193         * lyx_main.C (init): fix starting  of LyX when the binary is a
14194         link from so,ewhere else.
14195
14196         * minibuffer.C: include <cctype> for isprint
14197
14198 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14199
14200         * buffer.C (parseSingleLyXformat2Token): changes associated with the
14201         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14202         name clash with InsetCollapsable's width function.
14203
14204 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14205
14206         * lastfiles.C: include <iterator>
14207
14208 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14209
14210         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14211         std::count.
14212
14213         * buffer.C (makeLaTeXFile): ditto.
14214         Also make loop operation more transparent.
14215
14216 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14217
14218         * ToolbarDefaults.C: remove trailing comma closing namespace.
14219
14220         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14221
14222         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14223         as in WorkArea.
14224
14225         * trans.C (Load): comment out unused variable, allowed.
14226
14227 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14228
14229         * minibuffer.[Ch] (append_char): new method to recieve input from the
14230         drop-down completion browser. If a key was pressed, then recieve this
14231         char and append it to the existing string.
14232         (peek_event): modify the positioning data passed to the completion
14233         browser so that it can be placed above the minibuffer rather than below.
14234 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14235
14236         * LyXAction.C (init): alloe error-next for readonly documents.
14237
14238         * BufferView2.C (ChangeRefsIfUnique): use standard version of
14239         count.
14240
14241 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14242
14243         * bufferlist.C (readFile): create the buffer _after_ checking that
14244         the file exists.
14245
14246         * lyxfunc.C (verboseDispatch): fix handling of arguments
14247
14248         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14249
14250         * lyxrc.C: use string::erase() instead of initializing to "".
14251
14252
14253 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14254
14255         * BufferView_pimpl.h:
14256         * BufferView_pimpl.C:
14257         * WorkArea.h:
14258         * WorkArea.C:
14259         * text2.C: tell X when we have made a selection for copying
14260
14261 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14262
14263         * BufferView_pimpl.C (MenuInsertLyXFile):
14264         * lyxfunc.C (menuNew):
14265         (open):
14266         (doImport): add shortcuts to directory buttons
14267
14268         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14269         open a float)
14270
14271         * lyxfunc.C (setStatusMessage):
14272         (getStatusMessage): new methods
14273         (getStatus):use setStatusMessage instead of setErrorMessage
14274         (dispatch): when function is disabled, set error message here
14275         [instead of in getStatus previously]
14276
14277         * BufferView_pimpl.C (workAreaButtonRelease): update
14278         toolbar/menubar here too.
14279
14280 2002-01-13  Allan Rae  <rae@lyx.org>
14281
14282         * BufferView2.C (removeAutoInsets): finished off earlier fix.
14283         Now seems indestructible.  Remaining task is to audit all other
14284         code affected by deleteEmptyParagraphMechanism.  One small quirk
14285         left is that an empty document with an error in the preamble can
14286         be made to report an error but no error box appears.  I don't know
14287         where it goes.
14288         (removeAutoInsets): Improved comments.
14289
14290 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
14291
14292         * Thesaurus.h:
14293         * Thesaurus.C: update for Aiksaurus 0.14
14294
14295 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14296
14297         * text2.C (firstParagraph): removed member function, all uses
14298         replaces with ownerParagraph
14299         (redoParagraphs): here
14300         (updateInset): here
14301         (toggleAppendix): here
14302         * BufferView2.C (insertErrors): here
14303         (setCursorFromRow): here
14304
14305 2002-01-13  Allan Rae  <rae@lyx.org>
14306
14307         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14308         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14309         There is still a way to segfault this although you may have to do this
14310         multiple times: Have an InsetERT with an unknown command in it.
14311         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14312         <down-arrow>, <Enter> again, View->DVI, BANG!
14313
14314         * text2.C (setCursor):
14315         (deleteEmptyParagraphMechanism):
14316         * lyxtext.h (setCursor):
14317         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14318         Making use of the return value may help fix other bugs.
14319
14320 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14321
14322         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14323
14324         * LyXView.C (updateMenubar): call MenuBar::update here
14325         (updateToolbar): but not here
14326         (showState): do not update toolbar/menubar
14327
14328         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14329         should need to care about that.
14330
14331         * lyxfunc.C (verboseDispatch): simplify a bit
14332         (getStatus): have a version which takes a pseudoaction, and
14333         another which requires a (kb_action,string).
14334
14335         * LyXAction.C (retrieveActionArg): make it work also when action
14336         is not a pseudo-action.
14337         (getActionName): simplify a bit
14338         (helpText):
14339
14340 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14341
14342         * lyxfunc.C (verboseDispatch): new families of methods with
14343         several ways to specify a command and a bool to indicate whether
14344         the command name and shortcut should be displayed in minibuffer
14345         (eventually, we could extend that to a finer bitmask like
14346         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14347         (dispatch): the pristine dispatch command which just, well,
14348         dispatchs! Note it still sets its result to minibuffer; I'm not
14349         sure we want that.
14350
14351         * lyxfunc.h: remove setHintMessage
14352
14353         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14354
14355 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14356
14357         * BufferView_pimpl.C (specialChar): delete new inset if we have
14358         not been able to insert it.
14359
14360         * kbmap.C: revert to using int instead of kb_action, since all we
14361         are dealing with is pseudo-actions.
14362
14363         * LyXAction.C (searchActionArg): change to return int instead of
14364         kb_action, since the result is a pseudoaction.
14365
14366 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
14367
14368         * buffer.C (insertErtContents): Fix (partially) the font bug.
14369
14370 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14371
14372         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14373         as the other one is broken on my machine!
14374
14375 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
14376
14377         * commandtags.h:
14378         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14379
14380 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
14381
14382         * lyxrc.[Ch]: change names and descriptions of popup font variables to
14383         reflect their actual use. Provide compatibility code for older lyxrc
14384         files.
14385
14386         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14387         FL_NORMAL_STYLE.
14388         change names of popup font variables in line with the changes to lyxrc.C
14389
14390 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14391
14392         * buffer.C (asciiParagraph): avoid outputing a word twice after
14393         an inset.
14394
14395         * lyxrc.C (getDescription): document that document_path and
14396         template_path can be empty.
14397
14398 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14399
14400         * LaTeXFeatures.C (getMacros):
14401         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14402
14403         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14404
14405         * LaTeXFeatures.C (useFloat): require "float" here instead of in
14406         getPackages.
14407         (getPackages): rename feature "floats" to "float". Use an array to
14408         iterate over 'simple' features (i.e. just a \usepackage). Add
14409         handling of "amsmath" (renamed from "amsstyle").
14410
14411 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
14412
14413         * LaTeXFeatures.C (require): Prevent duplicate entries in the
14414         features list.
14415
14416 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
14417
14418         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14419         FuncStaus::FuncStatus & FuncStaus::some_method().
14420
14421 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
14422
14423         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14424         of the func_satus stuff. Edited and massaged in various ways by
14425         JMarc.
14426
14427         * lyxfunc.C (getStatus): use FuncStatus
14428
14429 2002-01-08  Juergen Vigna  <jug@sad.it>
14430
14431         * text.C (nextBreakPoint): use function Inset::isChar().
14432
14433         * paragraph.C (TeXOnePar): use function
14434         Inset::forceDefaultParagraphs.
14435
14436         * buffer.C (latexParagraphs): use function
14437         Inset::forceDefaultParagraphs.
14438
14439 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14440
14441         * lyx_gui.C (init): set the style of the menu popups to
14442         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14443
14444 2002-01-07  Juergen Vigna  <jug@sad.it>
14445
14446         * text.C (setHeightOfRow): small fix
14447         (prepareToPrint): don't look at alignment if we don't have the place
14448         for doing it.
14449
14450 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14451
14452         * box.C: New file. Move the Box methods and functions out of box.h,
14453         following Lars' suggestion.
14454
14455 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14456
14457         * box.h: #include "support/LOstream.h", needed for inlined function.
14458
14459         * lyxtextclass.C:
14460         * lyxtextclasslist.C: added some using std declarations.
14461
14462 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
14463
14464         * box.h: make signed dimensions to allow insets wider than
14465           the screen (bug #162)
14466
14467         * BufferView_pimpl.C: add some insetHit debug
14468
14469 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
14470
14471         * vc-backend.C: add FIXME
14472
14473 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14474
14475         * lyxfunc.C (getStatus): enable code for showing math font status
14476         in toolbar/menu.
14477
14478 2002-01-07  Juergen Vigna  <jug@sad.it>
14479
14480         * text.C (nextBreakPoint): removed debug output not needed anymore.
14481
14482 2002-01-06  Juergen Vigna  <jug@sad.it>
14483
14484         * text.C (nextBreakPoint): fixed up this function we had this bug
14485         since ever but now hopefully we break row better.
14486         (insertChar): we have to check if an inset is the next char as it
14487         could now happen that a large inset is causing a break.
14488
14489 2002-01-05  Juergen Vigna  <jug@sad.it>
14490
14491         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14492         if it doesn't like to be drawed.
14493
14494 2002-01-04  Juergen Vigna  <jug@sad.it>
14495
14496         * BufferView2.C (lockInset): forgot to set a cursor.
14497
14498         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14499
14500 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
14501
14502         * FormMathsPanel.C:
14503         * FormMathsPanel.h
14504         * MathsSymbols.C:
14505         * form_maths_panel.C:
14506         * form_maths_panel.h:
14507         * form_maths_panel.fd: implemented sub- and super- buttons in math
14508         panel.
14509
14510         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14511         (or ^ space) to be used as in TeX (req'd by Andr�.
14512
14513         * lyxfunc.C: Allow ^ and _ again to be used both as
14514         super/subscript (mathed) and as themselves (in text).
14515
14516 2002-01-03  Allan Rae  <rae@lyx.org>
14517
14518         * LyXView.C (updateWindowTitle): Setup a short icon title of either
14519         "LyX" or the filename of the current buffer if it has one.  This is a
14520         modified form of John Levon's patch.
14521
14522         * XFormsView.C (setWindowTitle): also set icon title.
14523
14524         * LyXView.h (setWindowTitle): signature changed.
14525         * XFormsView.h (setWindowTitle): ditto.
14526
14527 2002-01-02  Juergen Vigna  <jug@sad.it>
14528
14529         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14530
14531 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14532
14533         * screen.C (topCursorVisible): introduce a temp var for
14534         text->cursor.row(), handle the case where this row is null. (kindo
14535         hachish)
14536
14537         * text2.C (setCursor): add a couple of asserts.
14538
14539         * paragraph.h (inset_iterator): add -> operator
14540
14541         * paragraph.[Ch] (autoDeleteInsets): remove member function
14542
14543         * BufferView2.C (removeAutoInsets): rewrite to handle the old
14544         cursor pos correctly and handle inset deletion by itself.
14545         (insertErrors): move iterator declaration out of for expression
14546
14547         * lyxtextclass.C: add <algorithm>
14548
14549         * Makefile.am: added the new files to sources, removed layout.C
14550
14551         * layout.C: removed file
14552
14553         * layout.h: remove LYX_DUMMY_LAYOUT
14554
14555         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14556         layout.
14557
14558         * lyxlayout.[Ch]:
14559         * lyxtextclass.[Ch]:
14560         * lyxtextclasslist.[Ch]: new files
14561
14562         * include order changes to a lot of files, also changes because of
14563         the six new files.
14564
14565 2001-12-27  Juergen Vigna  <jug@sad.it>
14566
14567         * buffer.C (asciiParagraph): more fixes.
14568
14569         * tabular.C (ascii): make ascii export support export of only the
14570         data separated by a column-delimiter.
14571         (ascii): better support for ascii export.
14572
14573         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14574
14575 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14576
14577         * tabular_funcs.C: use a "using std::getline" instead of the
14578         previous fix from Angus (necessary for cxx + lyxstring)
14579
14580 2001-12-24  Juergen Vigna  <jug@sad.it>
14581
14582         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14583
14584         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14585         problems. First check a minipage also if we have some ert-contents
14586         (not only on par->size(), second set the right depth of the paragraph
14587         on the relink to the root-paragraph-list!
14588
14589         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14590         which then did not anymore update the main paragraphs on undo/redo!
14591
14592 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14593
14594         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14595         code. Support all font-changing funcs (even those which are not in
14596         menu currently). Support for reporting font settings in
14597         mathed (disabled until Andre provides a function on mathed's side).
14598
14599         * func_status.h (toggle): small helper function to set toggle
14600         state on a flag.
14601
14602 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
14603
14604         * tabular_funcs.C: getline -> std::getline
14605
14606 2001-12-21  Juergen Vigna  <jug@sad.it>
14607
14608         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14609         accessed and could be 0 (I couldn't generate this but it seems
14610         Michael could!).
14611
14612 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14613
14614         * tabular_funcs.C: add LIstream.h, move write_attribute to..
14615         * tabular_funcs.h: here and include iosfwd
14616
14617 2001-12-20  Juergen Vigna  <jug@sad.it>
14618
14619         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14620         inside inset but undo_par was.
14621
14622 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14623
14624         * Thesaurus.C: always include <config.h> in sources.
14625
14626         * Painter.h:
14627         * lyxlookup.h:
14628         * box.h: do not include <config.h> in header files
14629
14630         * text.C (paintLastRow): remove unused variable
14631
14632         * text.C (transformChar):
14633         (insertChar):
14634         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14635
14636         * Painter.C (text):
14637         * font.C (width): rewrite to use uppercase() instead of
14638         islower/toupper.
14639
14640         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14641
14642 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
14643
14644         * lyxfind.C: clean up of find failure position change
14645
14646 2001-12-20  Juergen Vigna  <jug@sad.it>
14647
14648         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14649
14650         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14651         (TeXRow): added to LaTeX a single tabular row.
14652         (TeXLongtableHeaderFooter): added to output LT-h/f data.
14653         (Latex): simplified and finally good LT-h/f support.
14654         (various_functions): just small adaptions for LT-h/f support.
14655
14656         * tabular_funcs.[hC]: added and moved here all not classfunctions
14657         of LyXTabular.
14658
14659 2001-12-19  Juergen Vigna  <jug@sad.it>
14660
14661         * tabular.[Ch]: better support for longtabular options (not finished
14662         yet!)
14663
14664 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14665
14666         * text.C (paintLastRow): use the label font instead of the font of
14667         the last character to compute the size of *_BOX. This makes more
14668         sense and avoids a crash with empty paragraphs.
14669         Use Painter::rectangle to draw EMPTY_BOX.
14670
14671 2001-12-19  Juergen Vigna  <jug@sad.it>
14672
14673         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14674         the paragraphs if the replaced paragraph is not the first one!
14675         Tried to delete not used paragraphs but does not work yet so for
14676         now it's inside #ifdef's and by default off!
14677
14678 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14679
14680         * MenuBackend.C: include "lyx_main.h" instead of declaring
14681         lastfiles (actually was declared as LastFiles* instead of a
14682         scoped_ptr).
14683
14684 2001-12-17  Juergen Vigna  <jug@sad.it>
14685
14686         * tabular.C (AppendColumn): applied John's fix
14687
14688 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
14689
14690         * BufferView.h:
14691         * BufferView.C:
14692         * BufferView_pimpl.h:
14693         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14694
14695         * Makefile.am:
14696         * box.h: new start of class for above
14697
14698         * lyxfunc.C: ignore space-only minibuffer dispatches.
14699           Show the command name when it doesn't exist
14700
14701         * minibuffer.C: don't add empty lines to the history
14702
14703         * minibuffer.C: add a space on dropdown completion
14704
14705 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
14706
14707         * text.C: fix line above/below drawing in insets
14708
14709 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14710
14711         * lyxlength.C (LyXLength): Initialize private variables.
14712
14713 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
14714
14715         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14716         when inserting error insets.
14717
14718 2001-12-13  Juergen Vigna  <jug@sad.it>
14719
14720         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14721         actually sometimes the before-paragraph.
14722         (setUndo): don't clear the redostack if we're not actually undoing!
14723
14724 2001-12-06  Juergen Vigna  <jug@sad.it>
14725
14726         * undo_funcs.C (textHandleUndo): well after John's hint I got here
14727         and fixed redoing of main paragraph, so we can use it now ;)
14728
14729         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14730
14731 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14732
14733         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14734         Juergen's request
14735
14736 2001-12-13  André Pönitz <poenitz@gmx.net>
14737
14738         * undostack.[Ch]:
14739         * undo_func.C: minor cleanup
14740
14741 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14742
14743         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14744         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14745         font in urw-fonts package which is marked as -urw-fontspecific and
14746         does not work (incidentally, changing the encoding in the
14747         fonts.dir of this package to -adobe-fontspecific fixes the
14748         problem).
14749
14750         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14751         is a crash when undoing first paragraph (Juergen, please take a
14752         look). THis does not mean the undo fix is wrong, just that it
14753         uncovers problems.
14754
14755         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14756         the (Paragraph*) version when needed instead of duplicating the
14757         code.
14758
14759         * text.C (workWidth): use Inset::parOwner to find out where the
14760         inset has been inserted. This is a huge performance gain for large
14761         documents with lots of insets. If Inset::parOwner is not set, fall
14762         back on the brute force method
14763
14764         * paragraph_pimpl.C (insertInset):
14765         * paragraph.C (Paragraph):
14766         (cutIntoMinibuffer): set parOwner of insets when
14767         inserting/removing them
14768
14769         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14770
14771 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
14772
14773         * commandtags.h:
14774         * LyXAction.C:
14775         * lyx_main.C:
14776         * lyxfunc.C:
14777         * mathed/formulabase.C:
14778         * mathed/math_cursor.[Ch]:
14779         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14780
14781
14782 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14783
14784         * lyxlength.[Ch] (operator!=): new function
14785
14786 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14787
14788         * text.C (workWidth): use Inset::parOwner to find out where the
14789         inset has been inserted. This is a huge performance gain for large
14790         documents with lots of insets. If Inset::parOwner is not set, fall
14791         back on the brute force method
14792
14793         * paragraph_pimpl.C (insertInset):
14794         * paragraph.C (Paragraph):
14795         (cutIntoMinibuffer): set parOwner of insets when
14796         inserting/removing them
14797
14798         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14799
14800 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14801
14802         * tabular-old.C (getTokenValue):
14803         * tabular.C (getTokenValue):
14804         (write_attribute): new versions for LyXLength
14805         (everywhere): adjust the use of widths
14806
14807         * tabular.h: change the type of widths from string to LyXLength
14808
14809 2001-12-11  Ben Stanley <bds02@uow.edu.au>
14810
14811         * paragraph.C: fixed missing line number count when exporting
14812         Environments to LaTeX file
14813
14814         * buffer.C: added informational message for checking line numbers.
14815
14816 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14817
14818         * text2.C (deleteEmptyParagraphMechanism): if there is only one
14819         paragraph, do the 'double space' part, but not the 'empty
14820         paragraph' one.
14821
14822         * text.C (workWidth): small optimization
14823         (getLengthMarkerHeight): use minimal size for negative lengths.
14824
14825 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
14826
14827         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14828
14829         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14830
14831 2001-12-11  André Pönitz <poenitz@gmx.net>
14832
14833         * FontLoader.C:
14834         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14835
14836 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14837
14838         * text2.C: keep selection on a setFont()
14839
14840 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14841
14842         * lyx_cb.C: another bv->text misuse, from insert label
14843
14844 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14845
14846         * kbsequence.h:
14847         * kbsequence.C: re-instate nmodifier mask
14848
14849 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
14850
14851         * lyx_main.h: make lyxGUI private.
14852
14853 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14854
14855         * lyxfind.C: place the cursor correctly on failed search
14856
14857 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14858
14859         * text.C (getLengthMarkerHeight): for small heights, the arrows
14860         are not always on top/bottom of the text
14861         (drawLengthMarker): smaller arrows; take the left margin in
14862         account; draw also vfills.
14863         (paintFirstRow):
14864         (paintLastRow): remove special code for vfill and standard spaces,
14865         since everything is handled in drawLengthMarker now.
14866
14867 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14868
14869         * buffer.C (insertErtContents): try to handle font and language
14870         interaction a bit better.g
14871
14872         * ColorHandler.C (updateColor): change the hash to cover the whole
14873         LColor enum, ws cleanup
14874         (getGCLinepars): ditto
14875         (getGCLinepars): only lookup in the linecache once.
14876
14877 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
14878
14879         * iterators.C (operator++): Make the iterator more robust
14880
14881         * BufferView2.C (removeAutoInsets): Use paragraph iterators
14882         (John's patch)
14883         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14884
14885 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14886
14887         * lyxtext.h:
14888         * text.C: better added space drawing
14889
14890 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14891
14892         * LyXView.C:
14893         * BufferView2.C: fix layout combo update on inset unlock
14894
14895 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14896
14897         * Makefile.am: don't compile unused files
14898
14899 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14900
14901         * lyxfunc.C:
14902         * commandtags.h:
14903         * LyXAction.C: remove old LFUN_LAYOUTNO
14904
14905 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14906
14907         * paragraph_pimpl.h:
14908         * paragraph_pimpl.C: isTextAt() doesn't need font param
14909
14910 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14911
14912         * lyxlex.h:
14913         * lyxlex.C: little cleanup
14914
14915 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14916
14917         * BufferView_pimpl.C: fix insertAscii for insets
14918
14919 2001-12-05  Juergen Vigna  <jug@sad.it>
14920
14921         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14922         set the right font on the "multi" paragraph paste!
14923
14924 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14925
14926         * trans_decl.h:
14927         * trans_mgr.[Ch]:
14928         * trans.[Ch]:
14929         * lyxgluelength.C:
14930         * lyxlength.C: remove out-commented code.
14931
14932         * BufferView_pimpl:
14933         * CutAndPaste.C:
14934         * DepTable.C:
14935         * buffer.C:
14936         * chset.C:
14937         * lastfiles.C:
14938         * lyxlex.C:
14939         * lyxlex_pimpl.C:
14940         * lyxserver.C:
14941         * screen.C:
14942         * tabular-old.C:
14943         * tabular.C:
14944         * text.C:
14945         * trans_mgr.C:
14946         * vc-backend.C: change "while(" to "while ("
14947
14948         * lyxlength.[Ch]: add zero function to check if length is zero or
14949         not
14950         * lyxgluelength.C: use it
14951
14952 2001-12-05  Allan Rae  <rae@lyx.org>
14953
14954         * lyxlength.C: Attempted a fix for the abs(int) header selection.
14955         Works for 2.95.3, from what I understand of Garst's reports this should
14956         work for other g++ versions.  We're screwed if the abs(int) definition
14957         changed between bugfix releases of gcc.
14958
14959 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14960
14961         * text.C: fix chapter label offset !
14962
14963 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14964
14965         * lyxtext.h:
14966         * text.C: fix hfill at end of line, clean up
14967
14968 2001-12-04  Juergen Vigna  <jug@sad.it>
14969
14970         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14971         that we force an update of the inset and it's owners if neccessary.
14972
14973 2001-12-03  Juergen Vigna  <jug@sad.it>
14974
14975         * text.C (rowLast): simplified code
14976
14977 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14978
14979         * lyxfunc.C: fix show options on timeout
14980
14981 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14982
14983         * screen.C (topCursorVisible): scroll half a page when the cursor
14984         reached top of bottom of screen
14985
14986 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
14987
14988         * minibuffer.C: deactivate on loss of focus
14989
14990 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14991
14992         * vspace.[Ch] (operator!=): add operator.
14993
14994 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
14995
14996         * BufferView_pimpl.C: refuse to open an inset when
14997         there's a selection.
14998
14999 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
15000
15001         * BufferView_pimpl.C: allow to click on RHS of full row insets
15002
15003 2001-11-30  Juergen Vigna  <jug@sad.it>
15004
15005         * tabular.C (LyXTabular): add a same_id to set the same id's in the
15006         insets for undo reasons.
15007
15008 2001-11-28  André Pönitz <poenitz@gmx.net>
15009
15010         * vspace.[Ch]: cosmetical changes
15011
15012 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15013
15014         * LyXAction.h:
15015         * LyXAction.C:
15016         * lyxfunc.h:
15017         * lyxfunc.C:
15018         * kbmap.h:
15019         * kbmap.C:
15020         * lyxrc.C:
15021         * kbsequence.h:
15022         * kbsequence.C: part re-write of old kb code
15023
15024         * Painter.C:
15025         * WorkArea.C: remove Lgb_bug_find_hack
15026
15027 2001-11-30  José Matos <jamatos@fep.up.pt>
15028
15029         * buffer.C (makeDocBookFile): add a comment to point a hack.
15030         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
15031         Fixed a double write of labels.
15032
15033 2001-11-29 Ben Stanley <bds02@uow.edu.au>
15034
15035         * LaTeX.C:
15036         * LaTeX.h Fixed bug in LaTeX class where it would not
15037         re-run latex if no depfiles were changed, but the .dvi was removed.
15038
15039 2001-11-28  André Pönitz <poenitz@gmx.net>
15040
15041         * all the files from the change on 2001/11/26:
15042         use lyx::layout_type instead of LyXTextClass::size_type
15043         use lyx::textclass_type instead of LyXTextClassList::size_type
15044
15045 2001-11-29  Juergen Vigna  <jug@sad.it>
15046
15047         * text.C: added support for paragraph::isFreeSpacing()
15048
15049         * buffer.C: same as above
15050
15051         * paragraph.h: inserted isFreeSpacing() function to enable
15052         FreeSpacing inside InsetERT.
15053
15054         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
15055         of the paragraph's in the cut/copy buffer to 0!
15056
15057         * text2.C (removeRow): remove the assert as it can!
15058
15059         * lyxtext.h: added helper function firstRow returning firstrow and
15060         made firstrow private again.
15061
15062         * BufferView2.C (lockInset): don't relock if we're already locked!
15063
15064         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
15065         the only paragraph.
15066         (removeRow): added Assert::(firstrow)
15067
15068         * debug.C: forgot to add INSETTEXT here.
15069
15070 2001-11-28  Juergen Vigna  <jug@sad.it>
15071
15072         * sp_spell.C (initialize): changed error text to more general
15073         spellchecker command use (not only ispell!)
15074
15075         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
15076
15077         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
15078
15079 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15080
15081         * vspace.C: initialise lyxgluelength on failure
15082
15083 2001-11-28  Allan Rae  <rae@lyx.org>
15084
15085         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
15086         declaration & definition that looks like a function declaration.
15087
15088 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15089
15090         * BufferView2.C (copy):
15091         (copyEnvironment): do not clear the selection when doing a copy.
15092
15093         * text.C (paintFirstRow): compilation fix
15094
15095 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
15096
15097         * tabular.C (Latex): correct line count when writing latex.
15098
15099 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
15100
15101         * paragraph_pimpl.h:
15102         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
15103           bug a bit
15104
15105 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15106
15107         * text.C:
15108         * LColor.h:
15109         * LColor.C: change vfillline->added_space
15110
15111         * text.C: add markers and text for added space
15112
15113         * vspace.C: fix comment
15114
15115 2001-11-28  André Pönitz <poenitz@gmx.net>
15116
15117         * paragraph.C: whitespace changes
15118         * all the other files from the change on 2001/11/26:
15119         change *::pos_type into lyx::pos_type
15120
15121 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
15122
15123         * buffer.C (parseSingleLyXformat2Token): Set the language to the
15124         language of the document when inserting error insets.
15125
15126 2001-11-26  André Pönitz <poenitz@gmx.net>
15127
15128         * BufferView_pimpl.[Ch]:
15129         *       CutAndPaste.C:
15130         * buffer.[Ch]:
15131         * lyxcursor.[Ch]:
15132         * lyxfind.C:
15133         * lyxfunc.C:
15134         * lyxrow.[Ch]:
15135         * paragraph.[Ch]:
15136         * paragraph_pimpl.[Ch]:
15137         * sp_spell.C:
15138         * text.C:
15139         * text2.C: reduce header dependencies, introduce type for positions
15140
15141 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15142
15143         * <various>: change to use Alert.h
15144
15145 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
15146
15147         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
15148         when encountering an unknown token.
15149         (readLyXformat2): Show an error message if there were unknown tokens.
15150
15151 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
15152
15153         * BufferView2.C:
15154         * BufferView_pimpl.C:
15155         * buffer.C:
15156         * paragraph.h:
15157         * text.C:
15158         * text2.C: use par->isInset()
15159
15160 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15161
15162         * paragraph_pimpl.h:
15163         * paragraph_pimpl.C: cleanup
15164
15165 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15166
15167         * text2.C (removeRow):
15168         * text.C (setHeightOfRow): remove useless (and costly) call to
15169         getRow.
15170
15171 2001-11-20  Allan Rae  <rae@lyx.org>
15172
15173         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
15174         Now need Inset*::checkInsertChar() to return true for appropriate
15175         cases so that the characters in the minibuffer will actually be
15176         inserted.
15177
15178 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15179
15180         * text.C: change the order of the includes.
15181         (workWidth): initialize it at once.
15182         (workWidth): make maxw unsigned
15183         (setHeightOfRow): remove unused variable (inset)
15184         (selectSelectedWord): remove unused variable (inset)
15185         (paintRowText): fix drawing of hfill characters, and clean up a bit.
15186
15187 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15188
15189         * lyxserver.C (emergencyCleanup): do not try to close pipes if
15190         server is not running.
15191         (openConnection):
15192         (closeConnection): add debug info when server is disabled.
15193
15194         * ColorHandler.C (getGCForeground): send debug message to GUI
15195         channel.
15196
15197         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15198
15199         * kbmap.C (bind): modify because return conventions of
15200         kb_sequence::parse have changed.
15201
15202         * kbsequence.C (parse): only ignore spaces and not any stupid
15203         control character. This avoids tests like s[i] <= ' ', which are
15204         guaranteed to fail with 8bit characters and signed chars.
15205         Change return code to string::npos when there have been no error
15206         (0 was a bad idea when error is at first character)
15207
15208 2001-11-14  José Matos  <jamatos@fep.up.pt>
15209
15210         * buffer.h:
15211         * buffer.C (simpleDocBookOnePar): removed unused argument.
15212
15213 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15214
15215         * text.C (selectNextWordToSpellcheck): do not test explicitely for
15216         insets which are part of a word. Paragraph::isLetter takes care of
15217         that now. Use Paragraph::isInset to identify insets.
15218         (selectSelectedWord): do not test for hyphenation break.
15219
15220         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15221         that protected spaces are considered as spaces.
15222
15223         * paragraph.C (isLetter): cleanup the code for ispell extras; use
15224         Inset::isLetter.
15225
15226 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
15227
15228         * lyxserver.h:
15229         * lyxserver.C: fix it. and small cleanup.
15230
15231 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15232
15233         * BufferView_pimpl.C: use inline helpers
15234
15235         * LaTeXFeatures.h:
15236         * LaTeXFeatures.C: fix typos
15237
15238         * Spacing.h:
15239         * Spacing.C: move spacing_string into class
15240
15241         * ToolbarDefaults.C: move stuff into namespace anon
15242
15243         * layout.h: update enum
15244
15245         * lyxfunc.C: use better debug
15246
15247         * minibuffer.h: fix typo
15248
15249         * debug.h:
15250         * debug.C:
15251         * WorkArea.C: add and use Debug::WORKAREA
15252
15253         * lyxtext.h:
15254         * text.C:
15255         * text2.C: code re-organisation, inline helpers
15256
15257 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
15258
15259         * Layout.C: replaced a few cases of std::vector.size() == 0 with
15260         std::vector.empty().
15261
15262 2001-11-09  Allan Rae  <rae@lyx.org>
15263
15264         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15265         '\n's after tables.  Tabular and ERT inset work now makes this no
15266         longer necessary.
15267
15268 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15269
15270         * minibuffer.h:
15271         * minibuffer.C: fix crash, improve drop-down completion
15272
15273 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
15274
15275         * lyxserver.h:
15276         * lyxserver.C: invalidate fd's when doing endPipe()
15277
15278 2001-11-08  José Matos  <jamatos@fep.up.pt>
15279
15280         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15281         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15282
15283         * paragraph.h:
15284         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15285
15286 2001-11-07  José Matos  <jamatos@fep.up.pt>
15287
15288         * buffer.h:
15289         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15290         const qualifier.
15291
15292         * buffer.C (sgmlOpenTag):
15293         * buffer.C (sgmlCloseTag): removed debug info.
15294
15295         * buffer.h (sgmlOpenTag):
15296         * buffer.h (sgmlCloseTag): made public.
15297
15298 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15299
15300         * buffer.C (saveParamsAsDefaults):
15301         * lyx_cb.C (MenuLayoutSave): remove
15302
15303         * LyXAction.C (init):
15304         * commandtags.h:
15305         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15306
15307 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15308
15309         * buffer.C (setPaperStuff): removed from here...
15310
15311         * bufferparams.C (setPaperStuff): ... and moved there.
15312
15313 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
15314
15315         * minibuffer.h:
15316         * minibuffer.C:
15317         * XFormsView.C: add support for drop-down completion
15318
15319 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
15320
15321         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15322         commands.
15323
15324 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15325
15326         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15327         disabled.
15328
15329 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
15330
15331         * lyx_main.C: change ref to known bugs
15332
15333 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
15334
15335         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15336         to work around older babel problems.
15337
15338 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15339
15340         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15341
15342 2001-10-24  Juergen Vigna  <jug@sad.it>
15343
15344         * tabular-old.C (ReadOld): below variable changes reflected.
15345
15346         * tabular.[Ch]: added ltType struct for longtable header/footer
15347         defines and changed all instances where they are used. Added
15348         future support for double top/bottom rows.
15349
15350 2001-10-24  José Matos  <jamatos@fep.up.pt>
15351
15352         * buffer.h (docbookHandleCaption):
15353         * buffer.C (docbookHandleCaption): removed unused function.
15354         (makeDocBookFile): moved docbook supported version to v4.1.
15355
15356 2001-10-24  José Matos  <jamatos@fep.up.pt>
15357
15358         * tabular.h:
15359         * tabular.C (docbookRow): new function to export docbook code of a row.
15360         (DocBook): now honors the longtable flags.
15361
15362 2001-10-23  José Matos  <jamatos@fep.up.pt>
15363
15364         * LaTeXFeatures.h:
15365         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15366         of the lyx defined sgml entities used in a docbook/linuxdoc document.
15367
15368         * buffer.C (makeLinuxDocFile):
15369         (makeDocBookFile): reworked the preamble, more clean, and with
15370         support for lyx defined entities. Changed the document declaration
15371         to be more XML friendly.
15372
15373         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15374         if we need to output XML that should be done with a filter.
15375
15376 2001-10-22  Juergen Vigna  <jug@sad.it>
15377
15378         * sp_pspell.h (class PSpell): add alive function needed in the
15379         controller to see if the spellchecker could be started.
15380
15381 2001-10-22  Juergen Vigna  <jug@sad.it>
15382
15383         * buffer.C (insertStringAsLines): modify the font for inserting
15384         chars in certain conditions by calling checkInsertChar(font).
15385
15386 2001-10-19  Juergen Vigna  <jug@sad.it>
15387
15388         * text.C (workWidth): use getRow instead of wrong algorithm.
15389         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15390
15391 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
15392
15393         * lyxserver.h:
15394         * lyxserver.C:
15395         * lyx_main.h:
15396         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15397
15398 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15399
15400         * text.C (workWidth): do not search for the exact row when
15401         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15402         optimization for big documents.
15403
15404 2001-10-18  Juergen Vigna  <jug@sad.it>
15405
15406         * text.C (workWidth): new function with added Inset * parameter.
15407
15408 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15409
15410         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15411
15412         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15413         change return type of getColumnNearX.
15414
15415
15416         * text.C (changeRegionCase): use uppercase/lowercase instead of
15417         toupper/tolower.
15418         (leftMargin):
15419         (rightMargin): simplify code by factoring out the uses of
15420         textclasslist.
15421         (labelFill):
15422         (numberOfHfills):
15423         (setHeightOfRow):
15424         (appendParagraph): use Paragraph::size_type
15425
15426 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15427
15428         * vspace.C (asLatexString): add a missing break
15429
15430 2001-10-15  Herbert Voss  <voss@perce.de>
15431
15432         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15433
15434 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15435
15436         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15437         is not available.
15438
15439 2001-10-10  André Pönitz <poenitz@gmx.net>
15440
15441         * lyxfunc.C: removed greek_kb_flag.
15442
15443 2001-10-10  Herbert Voss  <voss@perce.de>
15444
15445         * lyx_main.C: delete global string help_lyxdir.
15446
15447 2001-10-09  Herbert Voss  <voss@perce.de>
15448
15449         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15450
15451         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15452
15453         * lyx_main.C: added global string help_lyxdir.
15454
15455         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15456
15457 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15458
15459         * lyxrc.C (set_font_norm_type): support iso8859-4
15460
15461 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
15462
15463         * LaTeX.C (deplog): add another regex for MikTeX
15464
15465 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15466
15467         * lyxrc.C (set_font_norm_type): support iso8859-3
15468
15469 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15470
15471         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15472
15473         * LaTeXFeatures.C: remove special case of french and index
15474
15475         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15476         before \begin{document}). This solves several incompatibilities.
15477
15478 2001-10-03  Garst Reese  <reese@isn.net>
15479
15480         * lyx_cb.C: change CheckTex error msg.
15481
15482 2001-10-03  José Matos  <jamatos@fep.up.pt>
15483
15484         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15485
15486 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15487
15488         * .cvsignore: update
15489
15490         * lyx_main.C (commandLineVersionInfo): use new style version info.
15491
15492         * buffer.C (writeFile):
15493         (makeLaTeXFile):
15494         (makeLinuxDocFile):
15495         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15496
15497         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15498
15499         * version.h: update to use stuff in version.C
15500
15501         * version.C.in: new file. Contains version information determined
15502         at compile time. This is a merging of version.h and
15503         version_info.h.in.
15504
15505 2001-10-03  Juergen Vigna  <jug@sad.it>
15506
15507         * BufferView_pimpl.C (update): don't change "dirty" status in
15508         updateInset call.
15509
15510 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
15511
15512         * WorkArea.C (c-tor): re-position version string slightly.
15513
15514 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
15515
15516         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15517         revert to previous code.
15518
15519         WorkArea.[Ch]: (show, destroySplash): methods removed.
15520
15521         WorkArea.C: rework code so that it's an amalgam of the codes before and
15522         after the splash screen was moved to WorkArea.
15523
15524 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15525
15526         * lyxrc.C (read):
15527         * vspace.C (inPixels):
15528         (lyx_advance):
15529         * kbmap.C (bind):
15530         * buffer.C (insertStringAsLines):
15531         (asciiParagraph): fix types to be large enough
15532
15533         * lyxlex_pimpl.h: change member status from short to int
15534
15535         * layout.h: fix type of endlabeltype
15536
15537         * kbmap.C (bind):
15538         * kbsequence.C (parse): change return type to string::size_type
15539
15540         * LaTeX.C (updateBibtexDependencies): comment out unneeded
15541         variable
15542
15543         * Bullet.C (bulletSize):
15544         (bulletEntry): do not use short ints as parameters
15545
15546         * BufferView2.C (insertLyXFile): change a char to an int.
15547
15548         * WorkArea.C (WorkArea): remove unneeded floats in computation
15549
15550 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
15551
15552         * buffer.C (asciiParagraph): Treat '\\' as other chars.
15553
15554         * paragraph.C (asString): Do not ignore newline/hfill chars when
15555         copying to the clipboard.
15556
15557 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
15558
15559         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15560         after a multi-line inset.
15561
15562 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
15563
15564         * paragraph.C (validate): Set NeedLyXFootnoteCode
15565
15566 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15567
15568         * lyxfont.C (LyXSizeNames): changed increase-error to increase
15569         and decrease-error to decrease.
15570
15571 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15572
15573         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15574         it more readable (should be equivalent)
15575
15576 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15577
15578         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15579
15580 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15581
15582         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15583         of a cursor (row, etc.) after a character has been deleted
15584         (deleteEmptyParagraphMechanism): call the method above on _all_
15585         cursors held by the LyXText when a double space has been
15586         detected/deleted.
15587
15588 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15589
15590         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15591         pixmap.
15592         (resizeCurrentBuff): remove code to destroy the old splash dialog.
15593
15594         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15595         background. Use greyOut() and the new show() methods to toggle between
15596         the foreground and background. Add code to remove the splash after
15597         its initial showing.
15598
15599         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15600         (create_forms): no longer call Dialogs::showSplash.
15601
15602 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15603
15604         * .cvsignore: add version_info.h
15605
15606 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15607
15608         * version_info.h.in: new file
15609
15610         * Makefile.am: add version_info.h.in
15611
15612         * lyx_main.C (commandLineVersionInfo): use version_info defined in
15613         version_info.h instead of VERSION_INFO
15614
15615 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
15616
15617         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15618         The ERT inset now returns string().
15619
15620 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
15621
15622         * lyxtext.h, text.C (selectNextWord): renamed as
15623         selectNextWordToSpellcheck.
15624
15625         * text.C (selectNextWordToSpellcheck): Modified to not select
15626         words inside an ERT inset.
15627
15628 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15629
15630         * lyx_cb.C (MenuLayoutSave): change a bit the question
15631
15632         * sp_base.h: include <sys/types.h>
15633
15634 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
15635
15636         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15637
15638 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
15639
15640         * several files: fix typos in user-visible strings
15641
15642 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15643
15644         * text2.C (pasteSelection): do not set the selection, since it
15645         will be cleared later. Actually, the intent was to fix the way the
15646         selection was set, but I figured rmoving the code was just as good.
15647
15648 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
15649
15650         * FontLoader.C (available): Check if font is available without
15651         loading the font.
15652
15653 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
15654
15655         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15656
15657 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
15658
15659         * lyxrc.[Ch]: added display_graphics variable and associated code.
15660
15661 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15662
15663         * bufferparams.C (hasClassDefaults): new method. Returns true if
15664         the buffer parameters correspond to known class defaults
15665
15666 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
15667
15668         * XFormsView.C (show): set minimum size to the main window.
15669
15670 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15671
15672         * text2.C (copySelection):
15673         (cutSelection):
15674         * lyxfind.C (LyXReplace):
15675         * BufferView_pimpl.C (Dispatch): pass the correct flag to
15676         LyXText::selectionAsString.
15677
15678         * paragraph.C (asString): add "label" argument to the second form
15679
15680         * text2.C (selectionAsString): add "label" argument and pass it to
15681         Paragraph::asString.
15682
15683 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15684
15685         * lyx_main.C (commandLineHelp): remove version information
15686
15687 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
15688
15689         * lyx_main.C: add -version commandline option
15690
15691 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15692
15693         * paragraph.h: make the optional constructor arg required instead.
15694         some modifications to other files because of this.
15695
15696         * minibuffer.C (C_MiniBuffer_peek_event): make it static
15697
15698         * lyxserver.C (C_LyXComm_callback): make it static
15699
15700         * lyx_main.C (error_handler): make it static
15701
15702         * lyx_gui.C (LyX_XErrHandler): make it static
15703
15704         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15705
15706         * WorkArea.C: make the extern "C" methods static.
15707
15708         * Makefile.am (lyx_LDADD): simplify
15709
15710 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15711
15712         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15713         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15714
15715         * LyXAction.C (init):
15716         * lyxfunc.C (dispatch): associated code removal.
15717
15718 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15719
15720         * lyxfont.h (isSymbolFont): shut off warning
15721
15722         * text.C (setHeightOfRow):
15723         (getVisibleRow): fix crash with empty paragraphs which have a
15724         bottom line
15725
15726 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
15727
15728         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15729         code.
15730
15731 2001-09-04  José Matos  <jamatos@fep.up.pt>
15732         * buffer.C
15733         * buffer.h
15734         * tabular.C (docbook): rename docBook method to docbook.
15735
15736 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15737
15738         * Makefile.am: add dependencies to main.o.
15739
15740 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
15741
15742         * FontLoader.C (available): Return false if !lyxrc.use_gui
15743
15744 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
15745
15746         * FontInfo.C (query):
15747         * converter.C (view):
15748         * importer.C (Import):
15749         * exporter.C (Export): Can not -> cannot.
15750
15751 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
15752
15753         * BufferView_pimpl.C: allow to create index inset even if
15754           string is empty
15755
15756 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15757
15758         * buffer.C (getLists): replace boost::tie code with an explicit pair
15759         as boost::tie can break some compilers.
15760
15761         * iterators.h: Added a std:: declaration to the return type of
15762         ParIterator::size.
15763
15764 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
15765
15766         * lyxrc.C: add help for view_dvi_paper_option, default to safe
15767           case.
15768
15769 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
15770
15771         * iterators.[Ch]: New files. Provide paragraph iterators.
15772
15773         * buffer.C (changeLanguage): Use paragraph iterators.
15774         (isMultiLingual): ditto
15775
15776         * BufferView2.C (ChangeInsets): Use paragraph iterators.
15777
15778 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
15779
15780         * FontLoader.C: Support for cmr font.
15781
15782 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
15783
15784         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15785         (available): New method.
15786
15787         * FontInfo.C (getFontname): Use scalable fonts even when
15788         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15789         found.
15790
15791 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15792
15793         * converter.C (Formats::view): reverted! Incorrect fix.
15794
15795 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15796
15797         * converter.C (Formats::view): only output the -paper option
15798         if the dvi viewer is xdvi, thereby fixing bug #233429.
15799
15800 2001-08-23  Herbert Voss  <voss@perce>
15801
15802         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15803
15804 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
15805
15806         * Spacing.h (Spacing): Set space to Default on in the default
15807         constructor.
15808
15809 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15810
15811         * vc-backend.h (RCS::versionString): add RCS to version
15812         (CVS::versionString): add CVS to version
15813
15814         * vc-backend.C (scanMaster): do not add CVS to version.
15815         (scanMaster): do not add RCS to version
15816
15817         * lyxvc.C (versionString): new method
15818
15819         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15820
15821 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15822
15823         * Spacing.C (set): initialize fval
15824
15825 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
15826
15827         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15828         " or \.
15829
15830 2001-08-16  Juergen Vigna  <jug@sad.it>
15831
15832         * lyxfunc.C (dispatch): implemented the new FINISHED states.
15833
15834 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15835
15836         * BufferView_pimpl.C:
15837         * figureForm.C:
15838         * lyxtext.h:
15839         * text2.C: setParagraph takes linespacing now
15840
15841 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
15842
15843         * LyxAction.C: add internal LFUN_CITATION_INSERT
15844
15845         * LyXView.C: actually apply fix
15846
15847         * bufferlist.C: fix open non-existent file
15848
15849         * lyxfind.C: fix indentation
15850
15851         * lyxfunc.C: remove unneeded assert, fix typo
15852
15853 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15854
15855         * MenuBackend.C: use "Floatname List"
15856
15857 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
15858
15859         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15860         when converting LaTeX layout to insetERT.
15861         Generate a non-collapsed float when reading old float
15862
15863 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15864
15865         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15866         ERT insets.
15867
15868 2001-08-13  Juergen Vigna  <jug@sad.it>
15869
15870         * text.C (fill): return 0 instead of 20 as this seems to be the more
15871         correct value.
15872
15873 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15874
15875         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15876         lyxrc.font_norm.
15877
15878 2001-08-13  Juergen Vigna  <jug@sad.it>
15879
15880         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15881         casesensitive off.
15882         (SearchBackward): comment out the unlocking of the inset_owner this
15883         should not be needed!
15884
15885 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
15886
15887         * Many files: Remove inherit_language, and add latex_language
15888
15889         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15890         collapsible insets.
15891
15892 2001-08-10  Juergen Vigna  <jug@sad.it>
15893
15894         * text.C (prepareToPrint): fixed hfill-width in draw!
15895
15896         * BufferView2.C (selectLastWord): save the selection cursor as this
15897         now is cleared in the function LyXText::clearSelection!
15898
15899 2001-08-08  Juergen Vigna  <jug@sad.it>
15900
15901         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15902         BACKSPACE type functions.
15903
15904         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15905         is only cutted from the document but not put in the cut-buffer, where
15906         still the old stuff should be.
15907
15908         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15909
15910         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15911
15912         * tabular.C (SetWidthOfCell): fixed special case where the width
15913         was not updated!
15914         (LeftLine): handle '|' in align_special.
15915         (RightLine): ditto
15916         (LeftAlreadyDrawed): ditto
15917         (SetWidthOfCell): ditto
15918
15919 2001-08-07  Juergen Vigna  <jug@sad.it>
15920
15921         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15922
15923 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15924
15925         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15926         * lyxlex.[hC]: ditto
15927
15928 2001-08-06  Juergen Vigna  <jug@sad.it>
15929
15930         * text.C (getVisibleRow): fix up row clearing a bit.
15931
15932 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15933
15934         * minibuffer.C: make sure the X server sees the changes in the input.
15935
15936 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15937
15938         * paragraph.C (getFont): split into...
15939         (getLabelFont): this
15940         (getLayoutFont): and this
15941         * paragraph_pimpl.C (realizeFont): calling this
15942
15943         * text2.C (getFont): split into...
15944         (getLayoutFont): this
15945         (getLabelFont): and this
15946         (realizeFont): all three calling this
15947
15948         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15949         files where used.
15950
15951 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15952
15953         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15954
15955 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
15956
15957         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15958         layouts from the Quote inset insertion.
15959
15960 2001-08-03  Juergen Vigna  <jug@sad.it>
15961
15962         * BufferView_pimpl.C (update): do the fitCursor only at the end!
15963
15964         * screen.C (drawFromTo): don't call fitcursor here and do the loop
15965         only if status not is already CHANGED_IN_DRAW (second level).
15966
15967         * text.C (draw): don't set the need_break_row when inside an
15968         InsetText LyXText.
15969
15970 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15971
15972         * buffer.C (parseSingleLyXformat2Token): handle more latex
15973         conversion cases.
15974
15975         * bufferview_funcs.[hC]: change function names to
15976         begin with small char, adjust other files.
15977
15978 2001-08-02  André Pönitz <poenitz@gmx.net>
15979
15980         * lyxfunc.C:
15981         BufferView_pimpl.C: remove broken special code for math-greek
15982
15983 2001-08-02  Juergen Vigna  <jug@sad.it>
15984
15985         * BufferView_pimpl.C (update): redone this function so that we
15986         update the text again if there was a CHANGE_IN_DRAW.
15987
15988         * screen.C (cursorToggle): removed LyXText parameter and recoded.
15989         (drawFromTo): added a new internal bool which is used by draw() and
15990         redraw() function.
15991         (general): some cursor drawing problems fixed.
15992
15993 2001-08-01  Juergen Vigna  <jug@sad.it>
15994
15995         * lyxfind.C (LyXFind): fixed
15996         (SearchForward): ditto
15997         (SearchBackward): ditto
15998
15999         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
16000         spurius drawing of the cursor in the main area.
16001
16002         * text2.C (status): small fix which could lead to a segfault!
16003         (clearSelection): remove unneeded BufferView param.
16004
16005 2001-08-01  André Pönitz <poenitz@gmx.net>
16006
16007         * lyxfunc.C: small change due to changed mathed interface
16008
16009 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16010
16011         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
16012
16013 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
16014
16015         * lyxfunc.c: fail gracefully if file doesn't exist
16016
16017         * LyXSendto.C:
16018         * buffer.C:
16019         * lyxfunc.C:
16020         * BufferView_pimpl.C: IsDirWriteable() proto changed
16021
16022         * LyXView.C: fix updateWindowTitle() to store the last title
16023
16024 2001-07-31  Juergen Vigna  <jug@sad.it>
16025
16026         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
16027         the font (wrong since using of Paragraph::highestFontInRange).
16028
16029         * paragraph.C (highestFontInRange): added a default_size parameter.
16030
16031         * text.C (getVisibleRow): minor clear row changes (still not perfect).
16032         (setHeightOfRow): reformat
16033
16034 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16035
16036         * converter.[hC] + affected files: move to (inital-char)lowercase
16037         function names.
16038
16039         * ParagraphParameters.C (ParagraphParameters): remove commented code
16040
16041         * PainterBase.[Ch]: remove commented code
16042
16043         * LaTeXFeatures.h: add "bool floats" for float.sty
16044
16045         * LaTeXFeatures.C (LaTeXFeatures): init floats
16046         (require): handle float
16047         (getPackages): do it with floats
16048
16049 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16050
16051         * BufferView_pimpl.C (Dispatch): improve handling of
16052         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
16053
16054         * commandtags.h: #include lyxfont.h here temporarily to avoid
16055         keybinding bug.
16056
16057         * bufferlist.h: include LString.h here.
16058
16059 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16060
16061         * text2.C (getStringToIndex): new method.
16062
16063 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
16064
16065         * *: Reduced header file dependencies all over.
16066
16067 2001-07-30  Baruch Even  <baruch@lyx.org>
16068
16069         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
16070
16071 2001-07-29  Baruch Even  <baruch@lyx.org>
16072
16073         * buffer.C (readInset): Changed GRAPHICS to Graphics.
16074
16075 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16076
16077         * ParameterStruct.h (endif): add a default constructor to make
16078         sure that all variables is initialized.
16079
16080         * ParagraphParameters.C (ParagraphParameters): adjust
16081
16082 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16083
16084         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
16085         index; also, check that there is something to index, and that it
16086         does not span over several paragraphs.
16087         (doubleClick): use WHOLE_WORD_STRICT for double click.
16088
16089         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
16090
16091         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
16092         scheme.
16093
16094 2001-07-26  Baruch Even  <baruch@lyx.org>
16095
16096         * buffer.C (readInset): Changed to call up InsetGraphics when reading
16097         an InsetFig figure, backwards compatible reading of old figure code.
16098
16099 2001-07-27  Juergen Vigna  <jug@sad.it>
16100
16101         * text2.C: font.realize function adaption.
16102
16103         * text.C (draw): add a warnings lyxerr text if needed.
16104
16105         * layout.C: font.realize function adaption.
16106
16107         * language.C: add inherit_language and implement it's handlings
16108
16109         * bufferview_funcs.C (StyleReset): remove language parameter from
16110         font creation (should be language_inherit now).
16111
16112         * bufferparams.C (writeFile): handle ignore_language.
16113
16114         * paragraph.C (getFontSettings): the language has to be resolved
16115         otherwise we have problems in LyXFont!
16116
16117         * lyxfont.C (lyxWriteChanges): added document_language parameter
16118         (update): removed unneeded language parameter
16119
16120         * paragraph.C (validate): fixed wrong output of color-package when
16121         using interface colors for certain fonts in certain environments,
16122         which should not seen as that on the final output.
16123
16124 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
16125
16126         * BufferView_pimpl.C:
16127         * Thesaurus.h:
16128         * Thesaurus.C:
16129         * Makefile.am:
16130         * commandtags.h:
16131         * LyXAction.C: add thesaurus support
16132
16133         * lyxfind.h:
16134         * lyxfind.C: add "once" parameter, for thesaurus, to not
16135           move to the next match
16136
16137 2001-07-26  Juergen Vigna  <jug@sad.it>
16138
16139         * lyxfont.C (realize): honor ignore_language too!
16140         (resolved): ditto.
16141
16142         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
16143
16144         * text.C (draw): one place more for ignore_language to not draw
16145         itself!
16146
16147 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
16148
16149         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
16150
16151 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16152
16153         * buffer.C (parseSingleLyXformat2Token): a more general fix for
16154         the minipage conversion problem.
16155
16156 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16157
16158         * buffer.C (parseSingleLyXformat2Token): check minipage if we
16159         insert an inset.
16160
16161 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16162
16163         * BufferView.h: don't forward declare WorkArea
16164
16165         * BufferView.C: don't include WorkArea.h
16166
16167 2001-07-25  André Pönitz <poenitz@gmx.net>
16168
16169         * commandtags.h:
16170         * LyXAction.C:
16171         * lyxfunc.C:  new LFUN 'math-space'
16172
16173         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
16174
16175 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16176
16177         * text2.C (toggleInset): call open/close
16178
16179 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16180
16181         * lyxfunc.C (dispatch): add debug for the disabled case
16182
16183         * font.C (buttonText): make similar to rectText
16184
16185         * buffer.C (readInset): comment out parsing of insetlist and
16186         insttheorem
16187
16188         * PainterBase.C (rectText): small correction
16189
16190         * BufferView_pimpl.C: comment out insettheorem and insetlist
16191         * LyXAction.C: ditto
16192         * commandtags.h: ditto
16193
16194 2001-07-24  Juergen Vigna  <jug@sad.it>
16195
16196         * text.C (draw): honor the ignore_language.
16197
16198         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16199
16200 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16201
16202         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16203         char inset.
16204
16205 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16206
16207         * lyxtext.h: remove unused (and unimplemented) methods
16208
16209 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16210
16211         * text.C (getVisibleRow): honor background color
16212
16213         * PainterBase.h:
16214         * Painter.h: remove default color argument for fillRectangle
16215
16216         * text.C (backgroundColor): new method
16217
16218 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16219
16220         * text.C (getVisibleRow): adjust
16221
16222         * font.[Ch] (rectText): new method, metrics
16223         (buttonText): new method, metrics
16224
16225         * PainterBase.[hC]: make rectText and buttonText always draw and take
16226         fewer paramteres.
16227
16228 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16229
16230         * ToolbarDefaults.C (read):
16231         * MenuBackend.C (read): allow escaping in all strings
16232
16233         * BufferView_pimpl.C (insertAndEditInset): new method.
16234         (Dispatch): use insertAndEditInset whenever appropriate.
16235
16236         * BufferView_pimpl.C (insertNote): removed
16237
16238         * BufferView_pimpl.C (smartQuote): new method, moved from
16239         BufferView; if an insetquote cannot be inserted, insert a '"'
16240         character instead.
16241
16242         * BufferView2.C: remove insertCorrectQuote();
16243
16244         * lyxfunc.C (getStatus): Add support for all remaingin
16245         inset-insert lfuns.
16246
16247         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16248
16249         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16250         command (necessary to pass " as parameter of self-insert.
16251
16252         * text.C (selectWordWhenUnderCursor):
16253         (selectWord): add word_location parameter
16254         (selectWordWhenUnderCursor): same + remove special code for word
16255         boundary.
16256         (selectNextWord): use kind() to guess type of insetspecialchar,
16257         not latex().
16258
16259         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16260         (insertErtContents): create ert insets as collapsed.
16261         (readInset): better compatibility code for Info inset.
16262
16263 2001-07-20  Juergen Vigna  <jug@sad.it>
16264
16265         * lyxfunc.C (dispatch): use always LyXFind now!
16266
16267         * text2.C (init): add a reinit flag so that the LyXText can be
16268         reinited instead of deleted and reallocated (used in InsetText).
16269
16270         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16271
16272         * text.C: ditto
16273
16274         * text2.C: ditto
16275
16276 2001-07-18  Juergen Vigna  <jug@sad.it>
16277
16278         * text.C (selectNextWord): handle insets inside inset by calling
16279         always the bv->text functions so that we can go up the_locking_inset!
16280
16281         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16282         in strange locations when inside an inset!
16283
16284         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16285         handling to include insets.
16286
16287         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16288
16289 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16290
16291         * LyXAction.C (init):
16292         * commandtags.h:
16293         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16294         LIGATURE_BREAK, since the name is so stupid.
16295
16296 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16297
16298         * buffer.C (readInset): enable reading of new InsetNotes as well as old
16299         InsetInfos.
16300
16301         * FontLoader.C: remove FORMS_H_LOCATION cruft.
16302
16303         * sp_form.[Ch]: remove.
16304
16305         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16306
16307         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16308         InsetInfo.
16309
16310         * src/buffer.C (readInset): ditto.
16311
16312 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16313
16314         * BufferView_pimpl.C (specialChar): new method. Obsoletes
16315         menuSeparator(), endOfSentenceDot(), ldots() and
16316         hyphenationPoint(), which are therefore removed.
16317         (Dispatch): handle LFUN_HYPHENATION_BREAK.
16318
16319         * LyXAction.C (init):
16320         * commandtags.h: add LFUN_HYPHENATION_BREAK.
16321
16322         * paragraph.C (getWord): removed.
16323
16324         * BufferView_pimpl.C (Dispatch): use last word or selection for
16325         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16326
16327         * lyx_main.C (queryUserLyXDir): do not ask before creating
16328         user_dir, except if it has been named explicitely.
16329
16330 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16331
16332         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16333         a document of zero size.
16334
16335 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
16336
16337         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16338         approriately in the c-tor and in require().
16339         (getPackages): output the appropriate LaTeX for natbib support.
16340
16341         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16342         variables "use_natbib" and "use_numerical_citations" when reading the
16343         LyX file.
16344         (readInset): read the various natbib cite commands.
16345         (validate): white-space change.
16346
16347         * bufferparams.[Ch]: new variables "bool use_natbib" and
16348         "bool use_numerical_citations".
16349         (writeFile): output them in the LyX file.
16350
16351 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16352
16353         * lyxfunc.C (getStatus): add support for all the inset insertion
16354         commands.
16355
16356         * text2.C (insertInset):
16357         * paragraph.C (insetAllowed):
16358         * BufferView_pimpl.C (insertInset): update to take in account the
16359         renaming of insertInsetAllowed
16360
16361         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16362
16363         * text2.C (getInset): new method. returns inset at cursor position.
16364
16365         * BufferView_pimpl.C (Dispatch): changes because of this.
16366
16367         * LyXAction.C (init): rename open-stuff to inset-toggle.
16368
16369         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16370
16371         * text2.C (toggleInset): renamed from openStuff; use
16372         Inset::open().
16373
16374 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
16375
16376         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16377
16378         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16379
16380 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
16381
16382         * buffer.C (readLyXformat2): Add filename to the error dialog
16383
16384 2001-07-18  Juergen Vigna  <jug@sad.it>
16385
16386         * tabular.C (GetCellNumber): put an assert here instead of the check!
16387
16388 2001-07-17  Juergen Vigna  <jug@sad.it>
16389
16390         * BufferView_pimpl.C (toggleSelection): adapted too.
16391
16392         * text.C (selectNextWord): adapted for use with insets.
16393         (selectSelectedWord): ditto
16394
16395 2001-07-17  Juergen Vigna  <jug@sad.it>
16396
16397         * sp_spell.C (PSpell): fix initialitation order.
16398
16399 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16400
16401         * paragraph.C: spacing
16402
16403 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
16404
16405         * sp_spell.C: repair language selection for pspell
16406
16407 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16408
16409         * lyxfunc.h: change more methods to begin with lower char.
16410
16411 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
16412
16413         * buffer.C (parseSingleLyXformat2Token): Generate error insets
16414         for unknown layouts.
16415
16416 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
16417
16418         * buffer.C (readLyXformat2): Generate an error dialog if there are
16419         unknown layouts.
16420
16421 2001-07-16  Juergen Vigna  <jug@sad.it>
16422
16423         * sp_spell.C: always compile ISpell part.
16424
16425         * lyxrc.C: added use_pspell entry and it's handling.
16426
16427 2001-07-13  Juergen Vigna  <jug@sad.it>
16428
16429         * sp_spell.C: removed double includes.
16430
16431 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
16432
16433         Consistent use of Lsstream.h:
16434         * Lsstream.h: added using std::stringstream for consistencies sake.
16435
16436         * buffer.C: removed using std::stringstream
16437
16438         * lyxfont.C (stateText):
16439         * paragraph.C (asString):
16440         * text.C (selectNextWord, selectSelectedWord):
16441         * text2.C (setCounter):
16442         * vspace.C (asString, asLatexString):
16443         std::ostringstream -> ostringstream.
16444
16445 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16446
16447         * LyXAction.C: add LFUN_HELP_ABOUTLYX
16448         * commandtags.h: add LFUN_HELP_ABOUTLYX
16449         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16450
16451 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16452
16453         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16454         cursorToggle()
16455         * lyx_gui_misc.C: remove spellchecker
16456         * lyxfunc.C: showSpellchecker
16457         * sp_base.h: added
16458         * sp_ispell.h: added
16459         * sp_pspell.h: added
16460         * sp_spell.C: added
16461         * sp_form.[Ch]: removed
16462         * spellchecker.[Ch]: removed
16463
16464 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
16465
16466         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16467         is set.
16468         (simpleTeXSpecialChars): Simply print the input character without
16469         any special translation if pass_thru is set.
16470
16471         * layout.h: Added bool pass_thru to layout class for being able to
16472         implement pass through of a paragraph for Literate Programming.
16473
16474         * layout.C: add LT_PASS_THRU to LayoutTags enum.
16475         * layout.C (LyXLayout): set pass_thru to flase in constructor.
16476         * layout.C (Read): add "passthru" to list of layout tags and add
16477         code to set the pass_thru boolean when it is read.
16478
16479 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16480
16481         * trans_decl.h: remove allowed from KmodInfo
16482
16483         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16484         remove allowed code
16485         (Load): adjust
16486
16487         * paragraph_pimpl.C (erase): use boost::prior
16488
16489         * Painter.C (text): use data() instead of c_str() when length is
16490         also provided.
16491         * WorkArea.C (putClipboard): ditto
16492         * font.h (width): ditto
16493
16494         * BufferView2.C: use it-> instead of (*it). for iterators
16495         * texrow.C: ditto
16496         * paragraph_pimpl.C: ditto
16497         * paragraph.C: ditto
16498         * minibuffer.C: ditto
16499         * language.C: ditto
16500         * kbmap.C: ditto
16501         * encoding.C: ditto
16502         * counters.C: ditto
16503         * converter.C: ditto
16504         * chset.C: ditto
16505         * Variables.C: ditto
16506         * TextCache.C: ditto
16507         * MenuBackend.C: ditto
16508         * LyXAction.C: ditto
16509         * LColor.C: ditto
16510         * FloatList.C: ditto
16511         * DepTable.C: ditto
16512         * ColorHandler.C (LyXColorHandler): ditto
16513
16514 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16515
16516         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16517
16518         * text2.C (openStuff): reintroduce this method (which had been
16519         nuked in NEW_INSETS frenzy).
16520
16521         * lyxfunc.C (Dispatch): when an action has not been handled, use
16522         its name in the error message, not its number.
16523
16524         * paragraph.C (inInset): change method name to begin with lowercase.
16525
16526         * undo_funcs.C:
16527         * text2.C: updates because of this.
16528
16529 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16530
16531         * ToolbarDefaults.C (add): add spaces in error message
16532
16533 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16534
16535         * buffer.C (readLyXformat2): initialize the ert comp. variables.
16536         (readLyXformat2): rename return_par to first_par, use lyxlex's
16537         pushToken and remove the manual push handling.
16538         (parseSingleLyXformat2Token): add another ert comp. variable:
16539         in_tabular, rename return_par to first_par. handle newlines better
16540
16541 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16542
16543         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16544
16545 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16546
16547         * text2.C (getParFromID): removed
16548
16549         * buffer.C (getParFromID): new method moved form lyxtext.
16550         * BufferView2.C (insertErrors): adjust
16551         (setCursorFromRow): adjust
16552         * BufferView_pimpl.C (restorePosition): adjust
16553         * lyxfunc.C (Dispatch): adjust
16554         * undo_funcs.C (textUndo): adjust
16555         (textRedo): adjust
16556         (textHandleUndo): adjust
16557         (textHandleUndo): adjust
16558
16559 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16560
16561         * buffer.C: up' the LYX_FORMAT
16562
16563         * lyxfont.h: turn NO_LATEX on as default
16564
16565         * buffer.C (insertErtContents): new methods of tex style compability.
16566         (parseSingleLyXformat2Token): use it several places.
16567         * tabular.C (OldFormatRead): and here
16568
16569 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16570
16571         * text2.C: remove some commented code.
16572         reindent file.
16573
16574         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16575         * trans.C: changes because of the above.
16576
16577 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
16578
16579         * text2.C (setCounter): Fix counters bug with bibliography layout.
16580
16581 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16582
16583         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16584         own member functions
16585         (simpleTeXSpecialChars): ditto
16586
16587 2001-07-06  Juergen Vigna  <jug@sad.it>
16588
16589         * a lot of files: changed the access to LyXText::status and the
16590         call of undo-functions.
16591
16592         * undo.[Ch]: added a inset_id to the undo informations.
16593
16594         * undo_funcs.[Ch]: added and moved here all undo functions.
16595
16596         * lyxtext.h: give the status enum a weight, made status_ a private
16597         variable and made accessor functions for it, removed the whole bunch
16598         of undo-functions as they are now in their own file, make some
16599         functions publically available. Added function ownerParagraph with
16600         int parameter.
16601
16602         * paragraph.[Ch]: added "bool same_ids" to the constructor,
16603         made InInset() a const function, added getParFromID() function.
16604
16605         * buffer.[Ch]: added const version for inset_iterator functions,
16606         added getInsetFromID() function.
16607
16608         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16609         changed undo functions for new version.
16610
16611 2001-07-05  Juergen Vigna  <jug@sad.it>
16612
16613         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16614         unknow mechanism does not call the proper constructor but only this
16615         one also if I request the other!?
16616
16617 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16618
16619         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16620
16621         * text2.C (LyXText): use initialization lists.
16622
16623         * lyxtext.h (Selection): initialize set_ and mark_
16624         (init): remove method
16625
16626 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
16627
16628         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16629
16630 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16631
16632         * screen.[Ch]: change method names to begin with lowercase
16633
16634         * BufferView_pimpl.C (updateScrollbar): simplify further and
16635         hopefully make it a bit faster.
16636
16637 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16638
16639         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16640         calling directly xforms functions.
16641
16642         * Painter.C (Painter):
16643         * lyx_cb.C (MenuWrite):
16644         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16645         fl_display.
16646
16647         * lyx_gui.C: remove bogus guiruntime extern declaration.
16648
16649 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16650
16651         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16652         in NEW_INSETS
16653         (redoDrawingOfParagraph): ditto
16654         (redoParagraphs): ditto
16655         (cutSelection): don't create a object for CutAndPaste use the
16656         static method directly
16657         (pasteSelection): ditto
16658
16659         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16660         LyXview (+ rename)
16661
16662 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16663
16664         * modifications to some other files because of this.
16665
16666         * Makefile.am (lyx_SOURCES): add XFormsView
16667
16668         * XFormsView.[Ch]: new files
16669
16670         * LyXView.[Ch]: make LyXView a base class for the gui handling for
16671         the main window. Move the gui dependent stuff to XFormsView
16672
16673 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16674
16675         * tabular.C (GetCellInset): update cur_cell also in the row/col
16676         version of this function.
16677
16678         * lyxfunc.C: no need to include figure_form.h here.
16679
16680         * FontLoader.h:
16681         * lyxfunc.h:
16682         * lyxscreen.h:
16683         * text2.C:
16684         * lyxvc.C: no need to include forms.h here.
16685
16686 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16687
16688         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16689
16690         * lyxfunc.C (Dispatch):
16691         * Spacing.C (set):
16692         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16693         constructor argument.
16694
16695 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16696
16697         * paragraph.C (Paragraph): dont't clear, and just set layout.
16698         (makeSameLayout): use params's copy contructor.
16699
16700         * ParagraphParameters.[Ch] (makeSame): delete method
16701
16702 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
16703
16704         * Variables.[Ch]: fix indentation, rename set to isSet
16705
16706 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16707
16708         * lyxfunc.C (Dispatch): fix typo
16709
16710 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16711
16712         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16713         upper_bound.
16714
16715         * bufferlist.C: include assert.h for emergencyWrite().
16716
16717 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16718
16719         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16720           give up at last (bug #425202) !
16721
16722 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
16723
16724         * lyx_gui_misc.C:
16725         * sp_form.h:
16726         * sp_form.C:
16727         * spellchecker.h:
16728         * spellchecker.C: strip spellchecker options and bring up
16729           preferences tab instead
16730
16731 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16732
16733         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16734         the istringstream constructor
16735
16736 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16737
16738         * paragraph.C (getLayout): fix return value
16739
16740         * paragraph.h: do not declare getLayout as inline.
16741
16742         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16743
16744 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16745
16746         * lyxcursor.h (operator<): new func
16747         (operator>): new func
16748         (operator>=): new func
16749         (operator<=): new func
16750
16751         * text.C (changeCase): use selection.start and selection.end
16752         (changeRegionCase): require from to be <= to. Require par to be a
16753         valid paragraph.
16754
16755         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16756
16757 2001-06-27  Juergen Vigna  <jug@sad.it>
16758
16759         * text.C (cursorLeftOneWord): changed to return the cursor and added
16760         overlay with BufferView * parameter which calls this one.
16761         (getWord): added
16762         (selectWord): use new getWord function.
16763         (changeCase): renamed from changeWordCase as and extended to work
16764         also on selections.
16765
16766         * lyxtext.h: added enum word_location
16767
16768         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16769         changeCase as this operates now also on selections.
16770
16771 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
16772
16773         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16774
16775         * many files: send debug output to Debug::INFO instead of
16776         Debug::ANY.
16777
16778         * converter.C (View):
16779         (Convert):
16780         (Move): send debug output to Debug::FILES instead of console.
16781
16782 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
16783
16784         * lyxfunc.C (getStatus): use func_status
16785
16786         * func_status.h: new header, describing the results of
16787         LyXFunc::getStatus;
16788
16789         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16790         LFUN_MATH_HALIGN.
16791
16792 2001-06-25  The LyX Project  <jug@sad.it>
16793
16794         * buffer.C (sgmlOpenTag):
16795         (sgmlCloseTag):
16796         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
16797
16798 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16799
16800         * text2.C: remove some dead code
16801
16802         * tabular.C (GetCellInset): store the last cell checked (gotten)
16803
16804         * tabular.h: add the helper for the speedup
16805
16806         * lyxtext.h: remove some dead code
16807
16808 2001-06-26  The LyX Project  <Asger>
16809
16810         * paragraph.C: Change export to LaTeX of alignment to
16811         \begin{center} and family for better roundtrip work with reLyX.
16812
16813         * Tune the math drawing a bit.
16814
16815 2001-06-25  The LyX Project  <Asger>
16816
16817         * LColor.C (LColor): New color for math background. New color
16818         for buttons.
16819
16820 2001-06-25  The LyX Project  <jug@sad.it>
16821
16822         * lyxfunc.C (MenuNew): remove extra check for .lyx file
16823
16824         * lyxfunc.C (Open):
16825         * bufferlist.C (newFile): do not restrict to files ending with
16826         .lyx
16827
16828         * BufferView_pimpl.C (MenuInsertLyXFile):
16829
16830 2001-06-24  The LyX Project  <jug@sad.it>
16831
16832         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16833         of compare_no_case
16834
16835 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16836
16837         * lyxtext.h: rename most methods to begin with a small char.
16838         Lots of changes because of this.
16839
16840         * paragraph.C (Paragraph): do not call fitToSize
16841         (erase): call Pimpl::erase
16842         (insertChar): call Pimpl::insertChar
16843         (insertInset): call Pipl::insertInset
16844         (breakParagraph): do not call fitToSize
16845         (breakParagraphConservative): do not call fitToSize
16846         (fitToSize): remove method
16847
16848         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16849
16850 2001-06-24  The LyX Project  <Asger>
16851
16852         * Fix Qt compilation^2
16853
16854 2001-06-24  The LyX Project  <jug@sad.it>
16855
16856         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16857         depthHook(getDepth()-1).
16858
16859         * paragraph.h:
16860         * ParagraphParameters.h:
16861         * ParameterStruct.h: change type of depth to unsigned int ==
16862         depth_type. Many adaptations to other files before of that.
16863
16864 2001-06-24  The LyX Project  <Asger>
16865
16866         * Fix Qt compilation.
16867
16868 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16869
16870         * paragraph.h: renamed several methods to begin with small letter.
16871         several changes to many parts of the code because of this.
16872
16873 2001-06-23  The LyX Project  <jug@sad.it>
16874
16875         * text2.C (InsertStringAsLines): renamed from InsertStringA;
16876         rewritten to discard all double spaces when KeepEmpty is off
16877         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16878         to only handle newlines but not fiddle with spaces and friends.
16879
16880         * lyxfunc.C (MenuNew): when doing 'new from template', use
16881         template_path as default directory
16882
16883 2001-06-23  The LyX Project  <Asger>
16884
16885         * Clean-up of header file includes all over
16886         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16887
16888 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16889
16890         * paragraph.h: renamed from lyxparagraph.h
16891
16892 2001-06-23  Asger  <lyx@violet.home.sad.it>
16893
16894         * Buffer.h: Removed Buffer::resize
16895         * BufferList.h: Removed BufferList::resize
16896         * LyXView.h: Added LyXView::resize. This way, we will only reflow
16897         the document lazily when we change the width, or the font settings.
16898
16899 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16900
16901         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16902
16903 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16904
16905         * buffer.h: remove out of date comment
16906
16907 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16908
16909         * lyxscreen.h:
16910         * screen.C: fix "theoretical" GC leak
16911
16912 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16913
16914         * LaTeX.C (scanAuxFile):
16915         (deplog): remove trailing \r when reading stream (useful under
16916         win32)
16917
16918 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
16919
16920         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16921         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16922         and BufferView::theLockingInset(Inset*), so should use them and not
16923         access bv_->text->the_locking_inset directly.
16924
16925         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16926
16927 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16928
16929         * Makefile.am:
16930         * tex-defs.h: remove old unused file
16931
16932 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
16933
16934         * BufferView_pimpl.C: fix typo, remove minibuffer message
16935           when buffer has loaded
16936
16937 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16938
16939         * lyxfunc.C (Dispatch): use stringstream
16940         (MenuNew): use stringstream
16941         (Open): use stringstream
16942
16943         * importer.C (Import): use stringstream
16944
16945         * bufferview_funcs.C (CurrentState): use stringstream
16946
16947         * LaTeX.C (run): use stringstream
16948
16949         * BufferView_pimpl.C (savePosition): use stringstream
16950         (restorePosition): use stringstream
16951         (MenuInsertLyXFile): use stringstream
16952
16953 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
16954
16955         * BufferView.C:
16956         * Bullet.C:
16957         * ColorHandler.C:
16958         * FontInfo.C:
16959         * FontLoader.C:
16960         * LColor.C:
16961         * LaTeXFeatures.C:
16962         * Painter.C:
16963         * gettext.C:
16964         * lyx_gui_misc.C:
16965         * lyxserver.C:
16966         * vspace.C: removed // -*- C++ -*- as first line.
16967
16968         * lyxfind.h:
16969         * version.h: added // -*- C++ -*- as first line.
16970
16971 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16972
16973         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16974
16975         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16976         of string
16977
16978 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16979
16980         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16981         of floats.
16982
16983 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16984
16985         * gettext.C: include LString.h even when --disable-nls is on.
16986
16987 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
16988
16989         * converter.h (Get): changed argument type from int to
16990         FormatList::size_type to avoid unnecessary conversion.
16991
16992         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16993         before using it.
16994
16995 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16996
16997         * gettext.h: include LString.h even when --disable-nls is on.
16998
16999 2001-06-07  Juergen Vigna  <jug@sad.it>
17000
17001         * text.C (BreakAgain): subst spaces with tabs.
17002
17003         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
17004         (resizeInsetsLyXText): set force on resizeLyXText.
17005
17006 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17007
17008         * gettext.h (gettext_init):
17009         (locale_init): use a real definition instead of a macro
17010
17011 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
17012
17013         * Bufferview_pimpl.C:
17014         * LColor.h:
17015         * LColor.C: further lcolor tidies
17016
17017 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17018
17019         * BufferView_pimpl.C (updateScrollbar): simplify.
17020
17021         * BufferView2.C: don't include insets/insetinfo.h, change
17022         prototype for insertInset and call the Pimpl version. let
17023         updateInset call Pimpl version.
17024
17025         * BufferView.h: move inset_slept to BufferView::Pimpl, move
17026         gotoInset to BufferView::Pimpl
17027
17028 2001-06-01  Juergen Vigna  <jug@sad.it>
17029
17030         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
17031         inside a LockingInset (is the update needed at all?).
17032
17033 2001-05-31  Juergen Vigna  <jug@sad.it>
17034
17035         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
17036         here not the old one otherwise how should we compare it afterwards
17037         if it's the same!
17038
17039 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17040
17041         * lyxfont.C:
17042         * tabular.C:
17043         * tabular-old.C:
17044         * FontInfo.C: bring C functions into global namespace when
17045         necessary
17046
17047 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17048
17049         * LString.h: make sure config.h has been loaded before LString.h.
17050
17051         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
17052         (one for each char read by EatLine!).
17053
17054         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
17055         variables.
17056
17057 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17058
17059         * paragraph.C (BreakParagraph): set the inset_owner in the new par
17060         to the same as the par we break from
17061
17062 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17063
17064         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
17065
17066         * MenuBackend.C (expand): also create menu entries for wide
17067         versions of the floats.
17068
17069         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
17070
17071         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
17072
17073         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
17074         frontends/Makefile.am
17075
17076         * text2.C: adjust
17077         * text.C: adjust
17078
17079
17080         * tabular.C (getTokenValue): add std::
17081
17082         * tabular-old.C (getTokenValue): add std::
17083         (getTokenValue): ditto
17084         (getTokenValue): ditto
17085
17086         * screen.C (ToggleSelection): adjust
17087
17088         * lyxtext.h: put selection cursors inside a Selection struct.
17089
17090         * lyxfunc.C (moveCursorUpdate): adjust
17091
17092         * lyxfont.C (latexWriteStartChanges): add std::
17093
17094         * lyxfind.C: adjust
17095
17096         * font.h: delete with(char const *, LyXFont const &)
17097
17098         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
17099
17100         * FontInfo.C (getFontname): add std::
17101
17102         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
17103         (workAreaButtonPress): adjust
17104         (tripleClick): adjust
17105         (update): adjust
17106         (moveCursorUpdate): adjust
17107         (Dispatch): adjust
17108
17109         * BufferView2.C (gotoInset): adjust
17110
17111 2001-05-30  Juergen Vigna  <jug@sad.it>
17112
17113         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
17114         to check pspell I add this as default as I now have new pspell
17115         libraries and they seem to use this.
17116
17117 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17118
17119         * text2.C (CutSelection): make the cursor valid before the call to
17120         ClearSelection.
17121
17122 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17123
17124         * kbsequence.C (parse): de-uglify a bit the parsing code, which
17125         relied on 0 terminated strings and other horrors. Bug found due to
17126         the new assert in lyxstring!
17127
17128         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
17129         KP_ keys.
17130
17131 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17132
17133         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
17134         to latinkeys.bind.
17135
17136         * lyxfunc.C (processKeySym): change method of getting to the
17137         self-insert char.
17138
17139         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
17140         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
17141         * BufferView_pimpl.[Ch]: here as private methods.
17142
17143 2001-05-28  Juergen Vigna  <jug@sad.it>
17144
17145         * text.C (SetHeightOfRow): added the update() call again as it is
17146         needed to initialize inset dimensions!
17147
17148 2001-05-16  Juergen Vigna  <jug@sad.it>
17149
17150         * text2.C (SetCharFont): Add new function with BufferView * and
17151         bool toggleall parameters for setting insets internal fonts.
17152         (SetFont): Freeze the undo as we may change fonts in Insets and
17153         all this change should be inside only one Undo!
17154
17155         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
17156         setting font's in insets as for them we have the SetFont function!
17157
17158 2001-05-15  Juergen Vigna  <jug@sad.it>
17159
17160         * text2.C (ClearSelection): to be sure we REALLY don't have any
17161         selection anymore!
17162
17163         * tabular.C (TeXCellPreamble): fixed the left border problem for
17164         multicolumn cells.
17165
17166 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
17167
17168         * LaTeX.C (deplog): Make sure that the main .tex file is in the
17169         dependancy file
17170
17171 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17172
17173         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
17174         LFUN_BREAKPARAGRAPH.
17175
17176         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
17177         help test to "internal only", similar for LFUN_INSERT_URL
17178
17179         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
17180         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
17181         auto_region_delete and deadkeys.
17182
17183 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
17184
17185         * LColor.h:
17186         * LColor.C: remove some dead entries, tidy a little
17187
17188 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17189
17190         * lyxfunc.C (processKeySym): comment the Escape handling, remove
17191         commented code.
17192         (Dispatch): implement LFUN_ESCAPE
17193
17194         * commandtags.h: add LFUN_ESCAPE
17195
17196         * LyXAction.C (init): add entry for LFUN_ESCAPE
17197
17198         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17199         Remove commented code.
17200         (insertNote): moved here
17201         (open_new_inset): moved here
17202
17203         * BufferView[2].[Ch]: move insertNote and open_new_inset to
17204         BufferView_pimpl
17205
17206 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17207
17208         * kbmap.C (findbinding): clean it up and make it work correctly.
17209
17210         * lyx_main.C (init): do not pass argc and argv as parameters
17211
17212 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
17213
17214         * buffer.C: fix path for OS/2 & Win32
17215
17216         * lyx_gui.C:
17217         * lyx_main:
17218         * lyx_main.C: Added os:: class.
17219
17220         * os2_defines.h: update
17221
17222 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17223
17224         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17225         better by trying again with reduced state.
17226
17227 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17228
17229         * lyxrc.C (read): print error about invalid key sequence only when
17230         debugging (because not all latinX keysyms are known to some X
17231         servers)
17232
17233         * kbsequence.C (getiso): add a few std:: qualifiers
17234         (getiso): comment out extra return statement.
17235
17236 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17237
17238         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17239         handling.
17240         (Dispatch): enhance the accent inset a bit. (not perfect)
17241
17242 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17243
17244         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17245
17246 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17247
17248         * bufferlist.C (emergencyWrite): fix assert() call
17249
17250 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
17251
17252         * text.C (InsertChar): Added trivial patch to only send the "you
17253         can not do multiple spaces this way" message once during a
17254         session.
17255
17256 2001-05-08  Baruch Even  <baruch@lyx.org>
17257
17258         * Makefile.am: Changed order of libraries to get LyX to link properly
17259         with the gnome frontend.
17260
17261 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17262
17263         * LaTeXFeatures.h: add a std:: qualifier
17264
17265 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17266
17267         * paragraph.C (String): use stringstream
17268
17269 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17270
17271         * paragraph.C (writeFile): remove footflag arg
17272
17273         * buffer.C (makeLaTeXFile): use stringstream
17274         (latexParagraphs): remove footnot gurba
17275
17276         * LaTeXFeatures.C (getPackages): use stringstream
17277         (getMacros): likewise
17278         (getTClassPreamble): likewise
17279         (getFloatDefinitions): new method
17280
17281         * paragraph.C (writeFile): reindent
17282         (Erase): reindent
17283
17284         * WorkArea.h: revert the xpos + etc changes.
17285
17286         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17287
17288         * lyxparagraph.[Ch]: add copy constructor, remove Clone
17289
17290         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17291         (pasteSelection): likewise
17292         * text2.C (CreateUndo): likewise
17293
17294 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17295
17296         * minibuffer.C (peek_event): temporarily reduce the functionality
17297         of the minibuffer (to allow args on lfuns)
17298
17299         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17300         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17301
17302         * buffer.C (readInset): add compability reading of old float
17303         lists, add reading of new style float list.
17304         (readInset): avoid reevaluation of inscmd.getCmdName()
17305         (getLists): reindent
17306
17307         * MenuBackend.C (MenuItem): implement parsing of
17308         md_floatlistinsert and md_floatinsert.
17309         (expand::LastFiles): move initalizaton of iterators out of loop,
17310         avoid reevaluation.
17311         (expand::Documents): introduce typdedef vector<string> Strings,
17312         and use it.
17313         (expand::ExportFormats): introduce typedef vector<Format const *>
17314         Formats, and use it.
17315         (expand): implement FloatListInsert and FloatInsert.
17316
17317         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17318         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17319         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17320
17321         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17322         handling.
17323         (Dispatch::LFUN_FLOAT_LIST): implement
17324
17325 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
17326
17327         * LaTeX.C (run): Fix problem with --export code.
17328
17329 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17330
17331         * BufferView.[Ch] (workarea): removed.
17332         (getClipboard) new method; wrapper for workarea()->getClipboard()
17333
17334         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17335         bug.
17336
17337         * WorkArea.h (width, height, xpos, ypos): These methods all
17338         returned the dimensions of the work_area sub-area of WorkArea,
17339         resulting in a position error if the WorkArea were resized. Now
17340         return the dimensions of the entire WorkArea.
17341
17342         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17343
17344 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17345
17346         * LaTeX.C (deplog): correct the syntax of regex reg1
17347
17348 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17349
17350         * undo.C: remove !NEW_INSETS cruft
17351
17352 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17353
17354         * text2.C: remove !NEW_INSETS cruft
17355
17356         * text.C: remove !NEW_INSETS cruft
17357
17358         * tabular.C: remove !NEW_INSETS cruft
17359
17360         * spellchecker.C: remove !NEW_INSETS cruft
17361
17362         * lyxtext.h: remove !NEW_INSETS cruft
17363
17364         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17365
17366         * lyxfunc.C: remove !NEW_INSETS cruft
17367
17368         * lyxfind.C: remove !NEW_INSETS cruft
17369
17370         * lyx_cb.C: remove !NEW_INSETS cruft
17371
17372         * figureForm.C: remove  !NEW_INSETS cruft
17373
17374         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17375
17376         * buffer.[Ch]: remove !NEW_INSETS cruft
17377
17378         * ToolbarDefaults.C: remove !NEW_INSETS cruft
17379
17380         * CutAndPaste.C: remove !NEW_INSETS cruft
17381
17382         * BufferView_pimpl.C: remove !NEW_INSETS cruft
17383
17384         * BufferView2.C: remove !NEW_INSETS cruft
17385
17386         * BufferView.h: remove !NEW_INSETS cruft
17387
17388 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17389
17390         * Lsstream.h: include LString.h before the sstream headers to
17391         fix problem with gcc 2.95.3 and lyxstring
17392
17393 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17394
17395         * lyx_main.C: add using directives when needed for C functions
17396         declared in std:: namespace.
17397
17398 2001-04-27  Juergen Vigna  <jug@sad.it>
17399
17400         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17401         (SetHeightOfRow): comment out the update call should not be needed!
17402
17403 2001-04-13  Juergen Vigna  <jug@sad.it>
17404
17405         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17406         (LyXTabular): tried to minimize operator= operations (and realized
17407         hopfully Lars wish).
17408
17409 2001-04-27  Juergen Vigna  <jug@sad.it>
17410
17411         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17412
17413 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17414
17415         * lyxfunc.C (Dispatch): hack to make listof algorithm work
17416
17417         * buffer.C (readInset): hack to make listof algorithm work
17418
17419         * BufferView_pimpl.C: hack to make listof algorithm work
17420
17421 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17422
17423         * LyXAction.C: removed all !NEW_INSETS cruft
17424         (init): moved lfun_item in method
17425
17426         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17427
17428 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17429
17430         * BufferView2.C (theLockingInset): white space.
17431
17432 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17433
17434         * minibuffer.C: include <iostream>
17435
17436         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17437
17438         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17439
17440         * commandtags.h: add LFUN_TRANSPOSE_CHARS
17441
17442         * text.[Ch] (TransposeChars): new method
17443
17444 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17445
17446         * call message directly through LyXView instead of through LyXFunc
17447         * BufferView2.C: adjust
17448         * BufferView_pimpl.C: adjust
17449         * FontLoader.C: adjust
17450         * buffer.C: adjust
17451         * bufferview_funcs.C: adjust
17452         * converter.C: adjust
17453         * figureForm.C: adjust
17454         * importer.C: adjust
17455         * lyx_cb.C: adjust
17456         * lyx_gui_misc.C: adjust
17457         * lyxfunc.C: adjust
17458         * lyxvc.C: adjust
17459         * text2.C: adjust
17460         + more files in subdirs
17461
17462         * lyxparagraph.h (size): move up int file
17463         (GetLayout): ditto
17464
17465         * adjust all uses of Assert to lyx::Assert.
17466
17467         * BufferView2.C (ChangeCitationsIfUnique): adjust for
17468         lyxfunctional in namespace lyx
17469         * layout.C (hasLayout): ditto
17470         (GetLayout): ditto
17471         (GetLayout): ditto
17472         (delete_layout): ditto
17473         (NumberOfClass): ditto
17474         * converter.C (GetFormat): ditto
17475         (GetNumber): ditto
17476         (Add): ditto
17477         (Delete): ditto
17478         (SetViewer): ditto
17479         * bufferlist.C (getFileNames): ditto
17480         (emergencyWriteAll): ditto
17481         (exists): ditto
17482         (getBuffer): ditto
17483         * MenuBackend.C (hasSubmenu): ditto
17484         (hasMenu): ditto
17485         (getMenu): ditto
17486         * BufferView_pimpl.C (getInsetByCode): ditto
17487
17488 2001-04-18  Juergen Vigna  <jug@sad.it>
17489
17490         * vspace.C (asLatexString): fixed the 100% problem.
17491
17492 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17493
17494         * lyxfunc.C (Dispatch):
17495         * minibuffer.C:
17496         * minibuffer.h: add a few std:: qualifiers
17497
17498 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17499
17500         * minibuffer.[Ch]: reimplement so that commands is initiated and
17501         run from lyxfunc, simplified som handling, and made the completion
17502         and history code for complete. wip.
17503
17504         * lyxfunc.C (processKeySym): call message
17505         (miniDispatch): new temporary method
17506         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17507         (LFUN_MESSAGE): implement
17508         (LFUN_MESSAGE_PUSH): implement
17509         (LFUN_MESSAGE_POP): implement
17510         (initMiniBuffer): the initial/defualt minibuffer message.
17511
17512         * lyxfont.[Ch]: inline some more getters
17513
17514         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17515
17516         * lyx_gui_misc.[Ch] (WriteStatus): remove method
17517
17518         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17519         (AutoSave): use LFUN_MESSAGE
17520         (Reconfigure): ditto
17521
17522         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17523
17524         * figureForm.C: use LFUN_MESSAGE
17525
17526         * converter.C (runLaTeX): use LFUN_MESSAGE
17527
17528         * bufferview_funcs.C: use LFUN_MESSAGE
17529         (Melt): ditto
17530         (changeDepth): ditto
17531
17532         * bufferparams.h: use boost::
17533
17534         * bufferlist.h: inherit privately from noncopyable
17535
17536         * bufferlist.C (loadLyXFile): remove some commented code.
17537
17538         * buffer.C (runChktex): use LFUN_MESSAGE
17539
17540         * ShareContainer.h: inherit privately from noncopyable
17541
17542         * ParagraphParameters.[hC] (depth): inline it.
17543
17544         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17545         methods.
17546         (message): new method
17547         (messagePush): ditto
17548         (messagePop): ditto
17549         (show): init minibuffer
17550         (showState): direct call
17551
17552         * LaTeX.[Ch]: inherit privately from noncopyable
17553         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17554         instead of WriteStatus.
17555
17556         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17557
17558         * BufferView_pimpl.C (buffer): don't init minibuffer
17559         (workAreaButtonPress): use LFUN_MESSAGE
17560         (workAreaButtonRelease): ditto
17561         (savePosition): ditto
17562         (restorePosition): ditto
17563         (MenuInsertLyXFile): ditto
17564         (workAreaExpose): don't init minibuffer
17565         (update): remove commented code, simplify
17566
17567         * BufferView2.C (openStuff): use LFUN_MESSAGE
17568         (toggleFloat): ditto
17569         (menuUndo): ditto
17570         (menuRedo): ditto
17571         (copyEnvironment): ditto
17572         (pasteEnvironment): ditto
17573         (copy): ditto
17574         (cut): ditto
17575         (paste): ditto
17576         (gotoInset): ditto
17577         (updateInset): remove some commented code
17578
17579         * lastfiles.h: inherit privately from noncopyable
17580         * layout.h: ditto
17581         * lyx_gui.h: ditto
17582         * lyx_main.h: ditto
17583         * lyxlex.h: ditto
17584         * lyxlex_pimpl.h: ditto
17585
17586         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17587         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17588         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17589
17590         * LyXAction.h: inherit privately from noncopyable, add methods
17591         func_begin, func_end, returning iterators to the func map.
17592
17593         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17594         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17595         (func_begin): new method
17596         (func_end): new method
17597
17598         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17599         and not)
17600         (copySelection): ditto
17601         (pasteSelection): ditto
17602
17603         * BufferView.C: whitespace change
17604         * BufferView.h: inherit privately from noncopyable
17605
17606 2001-04-16  Allan Rae  <rae@lyx.org>
17607
17608         * tabular-old.C (l_getline):
17609         * spellchecker.C (sc_check_word):
17610         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17611         an unrecognised preprocessor directive.  So ensure they're wrapped.
17612
17613 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
17614
17615         * src/exporter.C (Export): Give an error message when path to file
17616         contains spaces.
17617
17618 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
17619
17620         * LaTeX.C (deplog): Always check that foundfile exists.
17621
17622 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17623
17624         * lyx_main.h:
17625         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17626
17627 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17628
17629         * tabular.[Ch] (getLabelList): implement new method
17630
17631         * minibuffer.h: comment ouf setTiimer
17632
17633         * minibuffer.C (ExecutingCB): constify res
17634         (peek_event): constify s
17635         (Set): constify ntext
17636         (Init): constify nicename
17637
17638         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17639
17640         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17641         (savePosition): use two params to Minibuffer::Set
17642         (restorePosition): ditto
17643
17644 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17645
17646         * lyx_main.C: include language.h
17647
17648         * Makefile.am (lyx_main.o): add language.h
17649
17650 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17651
17652         * exporter.C:
17653         * paragraph.C:
17654         * screen.C:
17655         * tabular.C:
17656         * CutAndPaste.C: include gettext.h
17657
17658         * lyxfont.h: remove old hack with ON and OFF.
17659
17660         * lyxparagraph.h:
17661         * lyxfont.h: do not include language.h...
17662
17663         * BufferView2.C:
17664         * LaTeXFeatures.C:
17665         * Painter.C:
17666         * bufferview_funcs.C:
17667         * font.C:
17668         * lyxfont.C:
17669         * text.C:
17670         * text2.C:
17671         * trans_mgr.C:
17672         * paragraph.C: ... but do it here instead
17673
17674 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17675
17676         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17677
17678         * tabular.C: small reformat
17679
17680         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17681         NEW_INSETS version
17682         (GetChar): ditto
17683         (BreakParagraph): ditto
17684         (SetOnlyLayout): ditto
17685         (SetLayout): ditto
17686
17687         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17688         with one arg less.
17689
17690         * lastfiles.C: removed most using decl, add std:: where needed
17691
17692         * buffer.C: ws changes
17693
17694         * MenuBackend.C (class compare_format): put into anon namespace
17695         (expand): constify label, names, action, action2
17696         (expand):
17697
17698         * text.C (SingleWidth): constify font
17699         (IsBoundary): constify rtl2
17700         (GetVisibleRow): constify ww
17701
17702         * LaTeX.C (deplog): constify logfile
17703
17704         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17705         start_x, end_x
17706         (workAreaExpose): constify widthChange, heightChange
17707
17708         * lyxrow.C (par): moved
17709         (height): moved
17710         (next): moved
17711         * lyxrow.h: as inlines here
17712
17713         * lyxfont.h (shape): moved from lyxfont.C
17714         (emph): moved from lyxfont.C
17715
17716         * lyxfont.C (LyXFont): use initialization list for all
17717         constructors
17718         (shape): move to lyxfont.h as inline
17719         (emph): move to lyxfont.h as inline
17720
17721
17722 2001-04-04  Juergen Vigna  <jug@sad.it>
17723
17724         * vspace.C: had to include stdio.h for use of sscanf
17725
17726 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
17727
17728         * BufferView.h:
17729         * BufferView_pimpl.h: remove xforms cruft. Both classes are
17730         independent of xforms.
17731
17732 2001-04-02  Juergen Vigna  <jug@sad.it>
17733
17734         * spellchecker.C: fixed namespace placing!
17735
17736 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
17737
17738         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17739         the LyXParagraph * is 0.
17740
17741 2001-03-29  Juergen Vigna  <jug@sad.it>
17742
17743         * vspace.C: added support for %, c%, p%, l%.
17744         (stringFromUnit): added helper function.
17745         (asLatexString): changed to give right results for the %-values.
17746
17747         * buffer.C: convert the widthp in a width%.
17748
17749 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
17750
17751         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17752         figureForm.[Ch].
17753
17754         * figureForm.[Ch]: stripped the FD_from_figure manipulation
17755         code out of lux_cb.[Ch], ready for its (imminent?) removal.
17756
17757         * lyx_cb.[Ch]: see above.
17758
17759         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17760         form1.[Ch].
17761
17762         * form1.[Ch]:
17763         * lyx.[Ch]: replaced by figure_form.[Ch].
17764
17765         * lyx_gui.C:
17766         * lyx_gui_misc.C:
17767         * lyxfunc.C: changed headers associated with above changes.
17768
17769 2001-03-27  Juergen Vigna  <jug@sad.it>
17770
17771         * BufferView_pimpl.C: set the temporary cursor right!
17772
17773 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
17774
17775         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17776
17777 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
17778
17779         * LString.h: removed "using std::getline"!
17780
17781         * BufferView_pimpl.C (Dispatch): changes due to changes in
17782         InsetInclude::Params.
17783
17784         * buffer.C (tag_name): removed redundant break statements as they were
17785         producing lots of warnings with my compiler.
17786
17787 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17788
17789         * LString.h: add "using std::getline" when using the real <string>.
17790
17791 2001-03-23  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17792
17793         * buffer.C: removed bitset usage.
17794         PAR_TAG moved to an anonymous name space.
17795         (tag_name): new funtion, also in the anonymous namespace.
17796         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17797         (makeDocBookFile): clean code. Completed transition from string arrays
17798         to string vectors.
17799         (SimpleDocBookOnePar): code clean.
17800
17801 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17802
17803         * tabular.C: add some comments.
17804
17805 2001-03-22  Juergen Vigna  <jug@sad.it>
17806
17807         * buffer.C (parseSingleLyXformat2Token): redone the minipage
17808         compatibility read a bit and fixed bug with minipage in different
17809         depth.
17810
17811 2001-03-21  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17812
17813         * buffer.C (pop_tag): removed.
17814         (push_tag): removed.
17815         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17816         array replaced with vector. Added support for CDATA sections.
17817         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17818         at any nest level.
17819         (makeDocBookFile): XML conformant declaration of CDATA section,
17820         fixed bug related to <emphasis> in the first paragraph char.
17821         (sgmlOpenTag): exclude empty tags.
17822         (sgmlCloseTag): ditto.
17823
17824         * buffer.h (pop_tag): removed.
17825         (push_tag): removed.
17826
17827 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
17828
17829         * language.h (Languages): added size_type and size().
17830
17831 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17832
17833         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17834         response on compability reading of minipages. One probliem is that
17835         the old usage of minipages was flertydig
17836
17837         * several files here and in subdirs: don't use static at file
17838         scope use anon namespaces instead.
17839
17840 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
17841
17842         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17843         LaTeX output. This is necessary for Literate document
17844         processing.
17845
17846 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17847
17848         * buffer.C: insert hfill when needed.
17849
17850         * tabular.C (l_getline): use string::erase, small whitespace change.
17851
17852         * BufferView_pimpl.C: try the anon namespace.
17853         * WorkArea.C: ditto
17854
17855 2001-03-16  Juergen Vigna  <jug@sad.it>
17856
17857         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17858         otherwise it won't open options-dialogs.
17859
17860         * buffer.C: honor pextraWidth(p) on converting minipages.
17861
17862         * tabular.C (l_getline): changed the functions to strip trailing \r.
17863
17864 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
17865
17866         * BufferView_pimpl.C:
17867         * minibuffer..C: added "using SigC::slot" declaration.
17868
17869 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17870
17871         * lyxlex_pimpl.h: noncopyable is in namespace boost.
17872
17873         * text2.C: ditto
17874
17875         * text.C: ditto
17876
17877         * paragraph.C: ditto
17878
17879         * lyxtext.h: NO_PEXTRA
17880
17881         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17882
17883         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17884         * ParameterStruct.h: ditto
17885         * ParagraphParameters.h: ditto
17886         * lyxparagraph.h: ditto
17887
17888 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17889
17890         * buffer.C: add compability for minipage alignment.
17891         (latexParagraphs): remove unwanted pextra check.
17892
17893         * several files: remove CXX_WORKING_NAMESPACES
17894
17895         * buffer.C (pop_tag): tie is in namespace boost
17896
17897         * BufferView.h: noncopyable is in namespace boost
17898         * lyxlex.h: ditto
17899         * lyx_main.h: ditto
17900         * lyx_gui.h: ditto
17901         * layout.h: ditto
17902         * lastfiles.h: ditto
17903         * bufferlist.h: ditto
17904         * ShareContainer.h: ditto
17905         * LyXView.h: ditto
17906         * LyXAction.h: ditto
17907         * LaTeX.h: ditto
17908
17909 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17910
17911         * Merging changes from BRANCH_MVC back into HEAD.
17912
17913         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17914
17915 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
17916
17917         * BufferView_pimpl.C: change from intl.C
17918
17919         * combox.h:
17920         * combox.C:
17921         * Makefile.am: move combox.*
17922
17923         * form1.h:
17924         * form1.C:
17925         * lyx_gui.C:
17926         * intl.h:
17927         * intl.C: remove dialog (covered by prefs)
17928
17929 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17930
17931         * lyxfunc.C (Dispatch): removed redundant break statement.
17932
17933 2001-03-14  Juergen Vigna  <jug@sad.it>
17934
17935         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17936
17937 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17938
17939         * buffer.C: add hack to fix compability reading of minipages.
17940
17941 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
17942
17943         * buffer.C (getLists): Cleanup.
17944
17945 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17946
17947         * lyxfont.C (update): don't honor toggleall on font size.
17948
17949 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
17950
17951         * bmtable.c:
17952         * bmtable.h:
17953         * Makefile.am: moved to frontends/xforms/
17954
17955         * lyx_gui_misc.C:
17956         * lyxfunc.C:
17957         * BufferView_pimpl.C: changes for moved mathpanel
17958
17959 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17960
17961         * gettext.h: fix gettext_init() in --disable-nls
17962
17963 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17964
17965         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17966
17967 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
17968
17969         * lyx.C:
17970         * lyx.h: strip external form
17971
17972 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17973
17974         * BufferView_pimpl.C: add comment, destroySplash()
17975
17976 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17977
17978         * BufferView_pimpl.C:
17979         * LyXAction.C:
17980         * buffer.C:
17981         * commandtags.h:
17982         * lyxfunc.C: use re-worked insetinclude
17983
17984 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17985
17986         * buffer.C: add using std::stringstream.
17987
17988         * lyx_cb.C: readd using std::ios.
17989
17990         * buffer.C: add using std::map.
17991
17992         * BufferView_pimpl.C: add using std::vector.
17993
17994         * ShareContainer.h: add std:: to swap.
17995
17996         * buffer.h: add some typedefs
17997         * buffer.C (getLists): use them
17998         (getLists): renamed from getTocList.
17999         add a counter for the different float types and use it in the
18000         generated string.
18001         (getLists): use the same counter for the NEW_INSETS and the "non"
18002         NEW_INSETS
18003
18004         * lyx_cb.h: remove unused items, includes, using etc.
18005
18006         * ShareContainer.h: remove some commented code, add more comments
18007         and "documentation".
18008
18009 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18010
18011         * buffer.C (getTocList): make the list also when NEW_INSETS is
18012         defined.
18013
18014         * buffer.h: remove TocType
18015
18016         * buffer.C (getTocList): change to return a map<string,
18017         vector<TocItem> >, implement for dynamic number of list.
18018
18019         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
18020         * text2.C (PasteSelection): adjust
18021         * CutAndPaste.C (pasteSelection): adjust
18022
18023         * FloatList.C (FloatList): update from the new_insets branch.
18024         * Floating.[Ch]: ditto
18025         * LaTeXFeatures.C: ditto
18026         * buffer.C: ditto
18027         * lyxlex_pimpl.C: ditto
18028
18029         * paragraph.C (Last): remove when NEW_INSETS is defined.
18030
18031         * other file: changes because of the above.
18032
18033 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18034
18035         * lyxparagraph.h: rename next to next_, previous to previous_,
18036         make them private for NEW_INSETS. Rename Next() to next(),
18037         Previous() to previous().
18038
18039         * other files: changes because of the above.
18040
18041 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
18042
18043         * BufferView.h:
18044         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
18045         problem.
18046
18047 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18048
18049         * main.C (main): pass lyx_localedir to gettext_init().
18050
18051         * gettext.h: remove locale_init and gettext_init macros
18052
18053         * gettext.C (locale_init): new function
18054         (gettext_init): new function
18055
18056         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
18057         setlocale().
18058
18059 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
18060
18061         * Moved credits to frontends:
18062         * credits.[Ch]: removed
18063         * credits_form.[Ch]: removed
18064         * lyx_gui_misc.C: remove credits stuff
18065         * Makefile.am:
18066
18067 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18068
18069         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
18070
18071         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
18072         unneeded destructor.
18073
18074         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
18075         a standalone pointer again.
18076
18077         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
18078
18079 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
18080
18081         * Makefile.am:
18082         * filedlg.h:
18083         * filedlg.C:
18084         * LyXAction.C:
18085         * ToolbarDefaults.C:
18086         * bufferlist.C:
18087         * commandtags.h:
18088         * form1.C:
18089         * form1.h:
18090         * lyx_cb.C:
18091         * lyx_cb.h:
18092         * lyxfunc.h:
18093         * lyxfunc.C:
18094         * BufferView_pimpl.C: use new file dialog in GUII
18095
18096         * lyx_cb.h:
18097         * lyx_cb.C: remove LayoutsCB to Toolbar
18098
18099 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18100
18101         * ShareContainer.h (get): add std:: qualifier
18102
18103 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18104
18105         * ShareContainer.h: define a proper ShareContainer::value_type
18106         type (and use typename to please compaq cxx)
18107
18108 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18109
18110         * lyxparagraph.h: move serveral local vars to
18111         ParameterStruct/ParagraphParameters., use ShareContainer in
18112         FontTable., make vars in FontTable private and add getter and
18113         setter.
18114
18115         * paragraph.C: changes because of the above.
18116
18117         * lyxfont.h: remove copy constructor and copy assignment. (the
18118         default ones is ok), move number inside FontBits. move inlines to
18119         lyxfont.C
18120
18121         * lyxfont.C: add number to initializaton of statics, move several
18122         inlines here. constify several local vars. some whitespace
18123         cleanup. Dont hide outerscope variables.
18124
18125         * Spacing.h: add two new constructors to match the set methods.
18126
18127         * ShareContainer.h: new file, will perhaps be moved to support
18128
18129         * ParameterStruct.h: new file
18130
18131         * ParagraphParameters.h: new file
18132
18133         * ParagraphParameters.C: new file
18134
18135         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
18136         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
18137
18138         * BufferView_pimpl.C: ParagraphParameter changes.
18139         * buffer.C: Likewise.
18140         * bufferview_funcs.C: Likewise.
18141         * text.C: Likewise.
18142         * text2.C: Likewise.
18143
18144 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18145
18146         * lyxfind.C (LyXReplace): do not redefine default argument in
18147         implementation.
18148         (IsStringInText): ditto
18149         (SearchForward): ditto
18150         (SearchBackward): ditto
18151
18152 2001-03-06  Juergen Vigna  <jug@sad.it>
18153
18154         * lyxfind.C (IsStringInText): put parentes around expressions.
18155
18156 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
18157
18158         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
18159
18160 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
18161
18162         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
18163
18164         * stl_string_fwd.h: add comment
18165
18166         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
18167
18168         * tabular.h:
18169         * tabular.C: remove unused DocBook methods
18170
18171         * intl.C:
18172         * language.C:
18173         * paragraph.C:
18174         * buffer.C:
18175         killed DO_USE_DEFAULT_LANGUAGE
18176
18177 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18178
18179         * lyx_gui.C: do not include language.h.
18180
18181         * bufferview_funcs.C (ToggleAndShow): do not provide optional
18182         arguments in function implementation.
18183
18184 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18185
18186         * BufferView_pimpl.C: add <ctime>
18187
18188 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18189
18190         * BufferView_pimpl.C: add using std::find_if
18191
18192 2001-02-27  José Matos  <jamatos@fep.up.pt>
18193
18194         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18195         by OnlyPath.
18196
18197 2001-02-11  José Matos  <jamatos@fep.up.pt>
18198
18199         * buffer.C (makeDocBookFile): command styles now have a parameter as
18200         "title" by default.
18201
18202 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
18203
18204         * layout_forms.[Ch]: removed
18205         * lyx_cb.[Ch]: out character
18206         * lyx_gui.C: out character
18207         * lyx_gui_misc.C: out character
18208         * bufferview_funcs.C: : out character,
18209         added toggleall as parameter in ToggleAndShow
18210
18211 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
18212
18213         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18214
18215         * text2.C (SetCurrentFont): Disable number property at boundary.
18216
18217 2001-02-26  Juergen Vigna  <jug@sad.it>
18218
18219         * lyxfunc.C (getStatus): added a string argument override function so
18220         that this is correctly called from LyXFunc::Dispatch if it contains a
18221         do_not_use_argument which is used!
18222         (Dispatch): added check for "custom" export and call appropriate func.
18223
18224 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
18225
18226         * lyxrc.C: Add language_command_local, language_use_babel and
18227         language_global_options.
18228
18229         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18230
18231         * buffer.C (makeLaTeXFile): Use language_use_babel and
18232         language_global_options.
18233
18234 2001-02-23  Juergen Vigna  <jug@sad.it>
18235
18236         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18237         which works with LyXText and putted it inside BufferView. Here now we
18238         only call for that part the BufferView::Dispatch() function.
18239
18240         * BufferView.C (Dispatch): added.
18241
18242         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18243         functions which needs to use a LyXText over from LyXFunc.
18244         (MenuInsertLyXFile): added
18245         (getInsetByCode): added
18246         (moveCursorUpdate): added
18247         (static TEXT): added
18248
18249 2001-02-22  Juergen Vigna  <jug@sad.it>
18250
18251         * BufferView_pimpl.C (update): call a status update to see if LyXText
18252         needs it.
18253
18254 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18255
18256         * vc-backend.C (revert): implement for CVS
18257         (getLog): implement for CVS
18258
18259 2001-02-20  Juergen Vigna  <jug@sad.it>
18260
18261         * text2.C (ClearSelection): added BufferView param for inset_owner call
18262
18263         * lyxfunc.C (TEXT): added this function and use it instead of
18264         directly owner->view()-text of getLyXText().
18265
18266 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
18267
18268         * src/layout_forms.C: out preamble
18269         * src/layout_forms.h: out preamble
18270         * src/lyx_cb.C: out preamble
18271         * src/lyx_cb.h: out preamble
18272         * src/lyx_gui.C: out preamble
18273         * src/lyx_gui_misc.C: out preamble
18274         * src/lyxfunc.C: connect with guii preamble
18275
18276 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
18277
18278         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18279
18280 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
18281
18282         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18283         whether to run bibtex.
18284
18285 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
18286
18287         * Makefile.am (lyx_SOURCES): Remove BackStack.h
18288
18289 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
18290
18291         * Makefile.am (lyx_SOURCES): removed bibforms.h
18292
18293         * vspace.h: doxygen
18294
18295         * text.C (GetVisibleRow): make several local vars const
18296
18297         * tabular.C: small cleanup.
18298
18299         * lyxserver.C (callback): use compare instead of strncmp
18300
18301         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18302         inlines to after class or to paragraph.C
18303
18304         * lyxfont.h: remove friend operator!=
18305
18306         * converter.h: move friend bool operator< to non friend and after
18307         class def.
18308
18309         * combox.h: small cleanup
18310
18311         * buffer.h: doxygen, remove unused constructor, move inclas inlies
18312         to inlines after class def.
18313
18314         * buffer.C (pop_tag): use string operations instead of strcmp
18315
18316         * bmtable.c: doxygen, small cleanup
18317
18318         * LaTeX.h: remove friend operator==
18319
18320 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
18321
18322         * screen.C:
18323         * lyxrc.[Ch]:
18324         * lyxfunc.C:
18325         * lyxfont.[Ch]:
18326         * lyx_cb.C:
18327         * intl.[Ch]:
18328         * commandtags.h:
18329         * buffer.C:
18330         * WorkArea.[Ch]:
18331         * LyXAction.C:
18332         * BufferView_pimpl.C:
18333         * BufferView.[Ch]: remove cruft
18334
18335 2001-02-14  Juergen Vigna  <jug@sad.it>
18336
18337         * lyxfunc.C: removed #if 0 unused code
18338
18339         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18340
18341         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18342
18343         * text2.C (SetSelection): added a BufferView * parameter
18344
18345 2001-02-13  Juergen Vigna  <jug@sad.it>
18346
18347         * lyxfunc.C (Dispatch): fixed protected blank problem.
18348         * BufferView2.C (protectedBlank): added LyxText * parameter.
18349
18350         * tabular.C (AppendRow): forgot to set row_info of newly added row.
18351         (AppendColumn): same as above for column_info.
18352
18353         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18354         (moveCursorUpdate): use a LyXText param for support of InsetText.
18355
18356         * BufferView_pimpl.C (doubleClick): added support for InsetText.
18357         (tripleClick): ditto
18358
18359         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18360
18361         * BufferView_pimpl.C (update): added LyXText param to honor insets.
18362
18363         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18364
18365         * text2.C (SetSelection): set correct update status if inset_owner
18366         (ToggleFree): ditto
18367
18368 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
18369
18370         * tabular.C: remove some commented code.
18371
18372 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
18373
18374         * BufferView_pimpl.C: call hideSplash()
18375
18376         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18377
18378         * include_form.h:
18379         * bibforms.h: remove
18380
18381         * lyxfunc.C:
18382         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18383           add LFUN_CHILD_CREATE
18384
18385         * counters.h: fix tiny typo
18386
18387         * lyx_cb.C:
18388         * lyx.h:
18389         * lyx_gui.C:
18390         * lyx.C: move splash to frontends/xforms/
18391
18392         * lyx_gui_misc.C: move Include and Bibform to frontends
18393
18394         * lyxvc.h: clarify comment
18395
18396         * vspace.C: tiny housekeeping
18397
18398 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
18399
18400         * text.C (PrepareToPrint): RTL Fix.
18401
18402         * paragraph.C (GetUChar): New method.
18403         (String):  Use GetUChar.
18404
18405         * buffer.C (asciiParagraph): Use GetUChar.
18406
18407 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
18408
18409         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18410
18411 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
18412
18413         * buffer.h:
18414         * buffer.C: rename to getLogName(), handle
18415           build log / latex log nicely
18416
18417 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18418
18419         * MenuBackend.C:
18420         * MenuBackend.h: remove support for reference menuitem type.
18421
18422 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
18423
18424         * BufferView_pimpl.C: housekeeping
18425         * BufferView_pimpl.h:
18426         * LyXView.h:
18427         * Makefile.am:
18428         * Timeout.C:
18429         * Timeout.h:
18430         * minibuffer.h: move Timeout GUI-I
18431
18432 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
18433
18434         * lyxrc.C (read): Update converters data-structures.
18435
18436 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
18437
18438         * LaTeX.h (operator!=): add operator != for Aux_Info
18439
18440 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
18441
18442         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18443
18444         * LaTeXLog.C: deleted, useful code moved to Buffer
18445
18446         * buffer.h:
18447         * buffer.C: new function getLatexLogName()
18448
18449         * lyx_gui_misc.C:
18450         * lyx_gui.C:
18451         * lyxvc.C:
18452         * lyxvc.h:
18453         * lyxfunc.C: use frontends for LaTeX and VC logs
18454
18455 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18456
18457         * LaTeX.h: yet another std:: that Allan forgot.
18458
18459         * Variables.C (set): renamed from isset(), because this clashes
18460         with some HP-UX macros (grr).
18461
18462 2001-02-06  Allan Rae  <rae@lyx.org>
18463
18464         * LaTeX.h: Another bug fix.  Missing std:: this time.
18465
18466 2001-02-04  Allan Rae  <rae@lyx.org>
18467
18468         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18469         floats problem. I've left it commented out because it's not quite
18470         correct.  It should also test that the current object is a table or
18471         figure inset.  But I haven't gotten around to figuring out how to do
18472         that.  I *think* it'll be something like: "table" == inset.type()
18473
18474         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18475         bool.
18476
18477 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
18478
18479         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18480         all the citation/databases/styles in the auxilary file.
18481         (run): Rerun latex if there was a babel language error.
18482
18483 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
18484
18485         * text.C (Backspace): Preserve the font when changing newline char
18486         with a space.
18487         (BreakParagraph): If the cursor is before a space, delete the space.
18488
18489         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18490
18491 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
18492
18493         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18494         new argument (code).
18495         (ChangeCitationsIfUnique): New method.
18496
18497         * paragraph.C (GetPositionOfInset): Handle bibkey.
18498
18499 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18500
18501         * BufferView_pimpl.h: change type of Position::par_pos to
18502         LyXParagraph::size_type.
18503
18504 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
18505
18506         * BufferView_pimpl.C (savePosition, restorePosition): Write
18507         messages to minibuffer.
18508
18509 2001-01-28  José Matos  <jamatos@fep.up.pt>
18510
18511         * buffer.C (makeDocBookFile): adds support for document language.
18512         A silly restriction on the name of LatexCommand types where removed.
18513         Added support for CDATA sections, allows to chars unescaped, used
18514         among others in code, to avoid escape < and >.
18515
18516 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18517
18518         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18519         saved positions instrad of a stack. Furthermore, a position is
18520         stored using paragraph id/paragraph position.
18521
18522         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18523         Remove LFUN_REF_BACK.
18524
18525 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18526
18527         * converter.C (dvipdfm_options): New method.
18528
18529 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
18530
18531         * vspace.C (isValidLength): Fix for empty input string.
18532
18533 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18534
18535         * LyXAction.C (init): change description of LFUN_FIGURE to
18536         "Insert Graphics"
18537
18538 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18539
18540         * LaTeX.C: add using directive
18541
18542 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18543
18544         * MenuBackend.C (expand): Fix the sorting of the formats.
18545
18546 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
18547
18548         * lyx_main.C: tiny error message fix
18549
18550 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18551
18552         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18553         calling fl_initialize(). This fixes the problem with ',' as
18554         decimal separator in text files.
18555
18556 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18557
18558         * trans.C (process): Fix the keymap bug.
18559
18560 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
18561
18562         * LaTeX.C (scanAuxFiles): New method. Provides support for
18563         multiple bibliographies (when using the bibtopic/bibunits pacakges).
18564         (scanLogFile) Scan for "run BibTeX" messages.
18565
18566         * buffer.C (makeLaTeXFile): Do not load the ae package when using
18567         OT1 font encoding. Also, load the aecompl package if the ae
18568         package is loaded.
18569
18570         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18571
18572 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18573
18574         * texrow.C (increasePos): turn two error messages into debug
18575         messages.
18576
18577 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
18578
18579         * LaTeX.C (scanAux): Handle the \@input macro.
18580         (runBibTeX): Use scanAux().
18581
18582         * language.C (latex_options_): New field.
18583
18584         * LaTeXFeatures.C (getMacros): Add language macros.
18585
18586         * buffer.C (makeLaTeXFile): Small fix.
18587
18588 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18589
18590         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18591
18592         * text2.C: add a using directive.
18593
18594 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
18595
18596         * BufferView2.C:
18597         * lyx_gui_misc.h:
18598         * lyxfr1.C:
18599         * lyxfunc.C: kill LyXBell.
18600
18601 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
18602
18603         * text.C (IsBoundary): Remove the error message
18604
18605         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18606
18607         * lyxrc.C (setDefaults): Correct initialization value for
18608         font_norm_type.
18609
18610 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
18611
18612         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18613         gotoError().
18614
18615         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18616         and GotoNextNote().
18617
18618         * src/LyXAction.C: Added reference-next.
18619
18620         * text.C (InsertChar): Use contains instead of strchr.
18621
18622         * lyx_cb.C (MenuInsertLabel): Enable default value code.
18623
18624 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
18625
18626         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18627         alignment commands (when needed).
18628
18629         * text.C (InsertChar): Add ':' to number separator chars.