]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
426f9923afd59e252889d42bd626e8939fbb22e4
[lyx.git] / src / ChangeLog
1 2006-01-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2
3         * text2.C (deleteEmptyParagraphMechanism): since we delete a
4         paragraph, recordUndo should span two paragraphs (bug 2155).
5
6 2006-01-01  Martin Vermeer  <martin.vermeer@hut.fi>
7
8         * rowpainter.C (paintPar): always repaint the row with the
9         cursor in it
10
11 2006-01-01  Lars Gullik Bjønnes <larsbj@gullik.net>
12
13         * MenuBackend.h: 
14         * bufferlist.h: 
15         * lyxtext.h: 
16         * paragraph.h:
17         * vspace.h: fix syntax error
18
19 2005-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
20
21         * text3.C (dispatch): Force refresh if typing into inset changes its
22                               metrics
23
24 2005-12-30  Martin Vermeer  <martin.vermeer@hut.fi>
25
26         * RowList_fwd.h:
27         * paragraph.C:
28         * paragraph.h:
29         * rowpainter.C: Speed up rendering by only re-painting rows that
30         have changed. When selection or whole-screen update active, all rows
31         are repainted, as are all rows within insets.
32
33 2005-12-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
34
35         * version.C.in: Use PACKAGE_VERSION instead of VERSION
36
37 2005-12-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
38
39         * tabular.C (toggleFixedWidth): Use default layout of text class
40         instead of hardcoded "Standard"
41
42 2005-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
43
44         * lyxfunc.C (dispatch): do not call getStatus again to determine
45         whether a lfun is disabled (bug 2172).
46
47 2005-12-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
48
49         * cursor.C (macroModeClose): set the cursor inside the new math
50         atom if relevant (think \frac{}{}) (bug 2034)
51
52 2005-12-19  Martin Vermeer  <martin.vermeer@hut.fi>
53
54         * lyxtext.h:
55         * text.C:
56         * text3.C (Delete, backspace): force update when merging paragraphs
57
58 2005-12-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
59
60         * BufferView.C (mouseSetCursor): clear the selection properly (bug
61         2163). 
62
63 2005-12-08  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
64
65         * text.C (redoParagraph): honor inset->noFontChange()
66         * rowpainter.C (paintInset): ditto
67
68 2005-12-15  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
69
70         * lyx_main.C (priv_exec): don't initialize Math on startup 
71         (initMath() has been moved to math_hullinset).
72
73 2005-12-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
74
75         * lyxrc.C: set default_papersize to PAPER_DEFAULT;
76         handle PAPER_DEFAULT in LyXRC::read and LyXRC::write (bug 2148).
77         * paper.h: dispose dead PAPER_PACKAGES enum.
78
79 2005-12-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
80
81         * Makefile.am (OTHERLIBS): add SOCKET_LIBS in case we compile
82         without X support.
83
84 2005-12-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
85
86         * exporter.C (Export): Don't try to copy a file if it does not exist
87         (bug 1888)
88
89 2005-12-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
90
91         * text2.C (makeFontEntriesLayoutSpecific): remove.
92         (setLayout): adapt.
93
94         * text.C (insertChar): remove bogus caching of fonts (did not do
95         anything). 
96
97         * text2.C (LyXText): initialize current_font to ALL_INHERIT (was
98         ALL_SANE). (bug 2146)
99
100 2005-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
101
102         * rowpainter.C (paintFirst): fix centering of
103         LABEL_CENTERED_TOP_ENVIRONMENT. 
104
105 2005-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
106
107         * BufferView.C (mouseSetCursor): new method. Calls
108         deleteEmptyParagraphMechanism if necessary.
109
110         * lyxtext.h: make deleteEmptyParagraphMechanism public.
111
112         * text3.C (dispatch/LFUN_MOUSE_PRESS): use
113         BufferView::mouseSetCursor (bug 2109).
114         (dispatch/LFUN_PASTE): remove #warning that is now irrelevant.
115
116 2005-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>  
117
118         * text3.C (dispatch/LFUN_INDEX_INSERT): when a selection is set,
119         do not remove it (this inset behaves differently from the others).
120
121 2005-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
122
123         Fix bug 2096.
124         
125         * BufferView_pimpl.C (getStatus): it is only possible to insert a
126         file in a text inset.
127
128         * buffer.C (readDocument): remove pit argument and code releated
129         to it; set the inset owner correctly (unrelated, but useful).
130         (readFile): get rid of pit argument.
131
132         * CutAndPaste.C (pasteSelectionHelper): use a ParagraphList and a
133         textclass instead of a selection index.
134         (pasteParagraphList): new function.
135         (pasteSelection): make it a wrapper around pasteParagraphList.
136
137         * BufferView_pimpl.C (MenuInsertLyXFile): use
138         cap::pasteParagraphList to insert a file.
139
140 2005-11-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
141
142         * buffer_funcs.C (bufferErrors): prevent endless loop (bug 2121)
143
144 2005-11-17  Michael Gerz  <michael.gerz@teststep.org>
145
146         * exporter.C: fix typo in text message
147
148 2005-11-28  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
149
150         * text2.C (setLayout): move recUndo call to other setLayout method
151         * tabular.C (toggleFixedWidth): new, handle cell width changes
152         * tabular.C (setColumnPWidth): move some code from insettabular.C here
153         and use toggleFixedWidth
154         * tabular.C (setMColumnPWidth): ditto
155
156 2005-11-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
157
158         * paragraph.C (asString): use new inset->textString method (fix
159         bug 2089) 
160
161 2005-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
162
163         * CutAndPaste.C (numberOfSelections): new helper function.
164
165         * lyxfunc.C (getStatus): remove support for LFUN_COPY and LFUN_CUT.
166
167         * text3.C (getStatus): move code for LFUN_CUT and LFUN_COPY from
168         LyXFunc::getStatus; implement LFUN_PASTE.
169
170 2005-11-17  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
171
172         * dociterator.[Ch]: new member realInset() that returns the cell
173         for tabulars and the inset for the rest (bug 1952).
174         * undo.C (textUndoOrRedo): use realInset when resetting insetOwner
175         (bug 1952).
176
177 2005-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
178
179         * text.C (leftMargin): honor the NextNoIndent tag in layouts.
180
181 2005-11-17  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
182
183         * lyxfunc.C:
184         * paragraph.C:
185         * text3.C: InsetBase::forceDefaultParagraphs now takes a cell as
186         argument.
187
188 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
189
190         * text.C (redoParagraph): Fix bug 1966: cursor doesn't go to next
191         line after typing ctrl-enter
192
193 2005-11-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
194
195         * bufferview_funcs.C (coordOffset): fix the fix for bug 2094, as
196         math insets do not return a proper editable() state yet (bug 2124).
197
198 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
199
200         * BufferView_pimpl.[Ch]: Fix bug 1814: better scroll behaviour for 
201         docs containing very large paragraphs.
202
203 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
204
205         * cursor.C (selectionBegin, selectionEnd):
206         * text.C (drawSelection): Fix bug 2115: assertion when anchor and 
207         cursor at different depths.
208
209 2005-11-03  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
210
211         * bufferview_funcs.C (coordOffset): do not call cursorPos
212         for collapsed collapsables (fix bug 2094).
213
214 2005-11-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
215
216         * paragraph.C (fontSpan): make sure that the FontSpan does not
217         span across beginOfBody (bug 1947).
218
219 2005-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
220
221         * lyxlength.h: undefine macros that clash with solaris/x86 (bug 992)
222
223 2005-11-03  Michael Gerz  <michael.gerz@teststep.org>
224
225         * messages.C: fix crash and localization on MinGW/Windows platform
226
227 2005-11-02  Angus Leeming  <leeming@lyx.org>
228
229         * Bidi.C:
230         * lyxtextclass.C: trivial fixes to some MSVS warnings.
231
232 2005-10-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
233
234         * text3.C (getStatus): re-enable disabled code. (bug 2081)
235
236         * BranchList.h (empty): constify.
237
238 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
239
240         * text3.C (getStatus): 
241         * MenuBackend.C (expandBranches): take the branch list from the
242         master document (bug 2092).
243         
244         * MenuBackend.C (expandBranches): 
245         * bufferparams.C (writeFile): use BranchList type.
246
247 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
248
249         * text3.C (dispatch, getStatus): 
250         * LyXAction.C (init): 
251         * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
252
253 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
254
255         * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
256
257 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
258
259         * text.C (insertChar): do not reset boundary (bug 2061)
260
261 2005-10-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
262
263         * dociterator.C (updateInsets): new method. Updates the inset_
264         cache of all the slices of the iterator.
265
266         * text2.C (deleteEmptyParagraphMechanism): compare also containing
267         insets when comparing pit/pos; pass the right cursor to
268         recordUndo; when a paragraph has been deleted, compare `old.top()' to
269         the right cursor slice of `cur'; use updateInsets on cur to make
270         sure that the inset caches are correct; general cleanup.
271
272 2005-10-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
273
274         * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
275         dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
276         containg inset. If this does not work, the same command will be
277         sent to other insets down the queue by LCursor::dispatch. (bug 2066)
278
279         * lyxfunc.C (dispatch): make sure the cursor is correct when doing
280         a dispatch.
281
282 2005-10-20  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
283
284         * lyxtextclass.C (Read): convert layout file if the format is wrong
285         * lyxtextclass.C (layout2layout): new, needed for the above
286
287 2005-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
288
289         * messages.C: do not forget to include <cerrno>.
290
291 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
292
293         * dociterator.h (StableDocIterator): add access to pos().
294         * undo.C (samePar): new method to check if two
295         iterators are in the same paragraph
296         * undo.C (recordUndo): check for samePar instead of cell identity
297         (which includes pos() and is too strict) (fixes bug 2097)
298
299 2005-10-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
300
301         * text.C (setCursorFromCoordinates): return a bool telling whether
302         dEPM triggered.
303
304         * text3.C (cursorPrevious): update if needed after
305         setCursorFromCoordinates (when dEPM triggered).
306
307         * text2.C (cursorDown, cursorUp): make sure to reset the anchor
308         (otherwise the anchor may be completely wrong and make dEPM assert).
309
310 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
311
312         * buffer.C: version upgrade to 245.
313         * bufferparams.C: remove \quotes_times (bug 2090).
314         * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
315         quotation marks as default.
316
317 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
318
319         * CutAndPaste.C (nrOfParagraphs): remove (unused)
320         * CutAndPaste.C (cutSelection): Remove debug message
321         * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
322         undo information and only copy if this is a real cut
323         * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
324         call
325         * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
326         (bug 2059)
327         * CutAndPaste.C (eraseSelection): prevent cursor corruption
328         * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
329         superflous cur.selection() setting
330         * CutAndPaste.[Ch] (grabSelection): take a const cursor
331         * cursor.C (selectionAsString): implement mathed case ((bug 2059)
332
333 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
334
335         * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
336         change anything.
337
338 2005-10-11  Martin Vermeer  <martin.vermeer@hut.fi>
339
340         * BufferView_pimpl.C: comment layout change
341
342 2005-10-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
343
344         * LyXAction.C:
345         * lfuns.h:
346         * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
347         by bibliography managers (bug 2071).
348
349 2005-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
350
351         * BufferView_pimpl.C (update): choose arguments to update call so
352         that single-par update works most times
353         * text3.C (dispatch): carefully tune updating separately for
354         whole-screen and current-paragraph
355         * rowpainter.C (paintText): 1) replace painting by caching for
356         the two extra paragraphs, because we can;
357         2) suppress greying out of areas below/above drawn area in case of
358         single-par refresh
359         * lyxfunc.C (dispatch): remove superfluous update
360         * LyXAction.[Ch]: introduce SingleParUpdate
361
362 2005-10-05  Angus Leeming  <leeming@lyx.org>
363
364         * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
365         always initialised before use.
366
367         * text.C (setHeightOfRow): squash warning about comparison
368         of signed and unsigned types.
369
370 2005-10-03  Martin Vermeer  <martin.vermeer@hut.fi>
371
372         * text.C (cursorX): two fixes involving RtL text drawing
373
374 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
375
376         * cursor.C (erase): fix 'clever' UI hack. It was activated for all
377         items, not only large ones (part of bug 2057)
378
379 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
380
381         * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
382         argument, use "newcommand".
383
384 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
385
386         * cursor.C (setSelection): do not open collapsable insets;
387         the insets do by themselves now (autoopen).
388
389 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
390
391         * buffer.C: format is up to 244.
392
393 2005-09-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
394
395         * text.C (redoParagraph): fix calcultation of inset width wrt 
396         leftMargin (bug 1957).
397
398         * text3.C (dispatch): leave inset to the right when hitting ESC 
399         (bug 2034).
400
401 2005-09-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
402
403         * text2.C: 
404         * text.C: 
405         * factory.C:
406         * messages.C: include <boost/current_function.hpp> 
407
408 2005-09-12  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
409
410         * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
411         when command is internal. (bug 1941)
412
413 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
414
415         * text2.C (cursorRight): do not honor boundary when at the end of
416         a paragraph. (bug 2010 again)
417
418 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
419
420         * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
421
422 2005-09-19  Martin Vermeer  <martin.vermeer@hut.fi>
423
424         * rowpainter.C (paintText): fix RtL space width display bug (2029)
425
426 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
427
428         * text2.C (setCursor): remove the unused 'boundary' parameter for
429         the CursorSlice version; adapt the LCursor version.
430
431         * lyxrc.C (write): 
432         * paragraph_pimpl.C (markErased): 
433         * cursor.C (bruteFind2, bruteFond3): fix warnings.
434
435 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
436
437         * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
438         as is already done for "chapter".
439
440 2005-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
441
442         * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
443         textclass; do not record undo if nothing is changed.
444
445 2005-09-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
446
447         * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
448
449 2005-09-14  Michael Gerz  <michael.gerz@teststep.org>
450
451         * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
452
453 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
454
455         * BufferView_pimpl.C (setBuffer): when one wants to set the layout
456         combox, it is necessary to search for the topmost paragraph in the
457         cursor stack (bug 1926)
458
459 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
460
461         * text2.C (cursorEnd, cursorRight): do not set boundary to true at
462         end of paragraph. (bug 2010)
463
464 2005-09-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
465
466         * text.C (leftMargin): check for inInset == 0
467
468 2005-09-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
469
470         * text.C (leftMargin): test for insetbase's new neverIndent()
471         bool instead of listing each and every inset that does not
472         wish par indendation.
473
474 2005-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
475
476         * buffer_funcs.C (setCounter): put the code to compute enum label
477         here (where it belongs).
478
479         * counters.C (enumLabel): move code to buffer_funcs.C.
480
481 2005-09-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
482
483         * outputparams.[Ch]: store local_font instead of local_language
484         * paragraph.C (simpleTeXOnePar): adapt to the change above
485
486 2005-09-08  Martin Vermeer  <martin.vermeer@hut.fi>
487
488         * buffer_funcs.C:
489         * counters.[Ch]: clean up special code for Hebrew.
490
491 2005-09-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
492
493         * lyxfunc.C (lookupChange): fix code when cursor depth is greater
494         than 2.
495
496 2005-09-08  Angus Leeming  <leeming@lyx.org>
497
498         * ispell.C:
499         * lyxrc.C: correct grammar describing invocation of the
500         spellchecker.
501
502 2005-08-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
503
504         * text.C (read): remove unused variable.
505         (readParToken): remove static Change variable (never good in
506         recursive settings...); add it as a parameter instead.
507
508         * paragraph_pimpl.C (acceptChange): make debug info conditional.
509
510         * metricsinfo.C (PainterInfo): add new member erased_.
511
512         * rowpainter.C (RowPainter): add erased_ member, initialized from
513         PainterInfo. 
514         (paintInset): pass erased_ to Inset::draw.
515
516         * lyxfunc.C (lookupChange): new function. Tells whether change 
517         tracking is disabled at a given postion.
518         (getStatus): disable some actions when in deleted text with change
519         tracking. 
520
521 2005-08-03  John Levon  <levon@movementarian.org>
522         
523         * tabular.C (appendColumn, setMultiColumn): adapt to change to
524         InsetText::clear().
525
526         * paragraph_pimpl.C (markErased): add bool argument and handle it.
527         Also make sure to mark insets recursively.
528         (rejectChange, erase): be recursive
529
530         * paragraph.C (markErased): add bool argument.
531 2005-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
532
533         * lyxfind.C (findNextChange): tiny cleanup.
534
535         * BufferView_pimpl.C (trackChanges): avoid crash when stopping
536         change tracking with the cursor in an inset; make sure the first
537         change is not skipped.
538
539 2005-09-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
540
541         * CutAndPaste.[Ch]: new methods dirtyTabularStack and 
542         tabularStackDirty to work around bug 1919 (tabular needs
543         to know whether its own cell paste buffer or the one of 
544         texted is newer.
545         * CutAndPaste.C: mark tabular_stack_ clean after copy.
546
547 2005-08-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
548
549         * text2.C (cursorEnd): check for empty text (fixes bug 1998)
550
551 2005-08-19  Lars Gullik Bjønnes  <larsbj@gullik.net>
552
553         * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
554         use old deleteion algorithm when changetracking is on.
555
556 2005-08-18  Martin Vermeer  <martin.vermeer@hut.fi>
557
558         * messages.C (get): add debug output.
559
560 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
561
562         * text.C (cursorX): fix bug 1965: cursor movement at
563         line end broken in RtL.
564         (drawSelection): fix bug 1970: drawing of single-line 
565         selection broken for RtL.
566
567 2005-07-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
568
569         bug 465.
570
571         * dociterator.h (clear, push_back, pop_back): change from
572         protected to public.
573
574         * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
575         and changed to just return the value of the item depth; take a
576         ParIterator as argument; take the itemdepth at outer nesting level
577         in account if necessary; cleanup and comment the code.
578         (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
579         and changed to just return true if reset is needed; take a
580         ParIterator as argument; cleanup and comment the code.
581         (setCounter): adapt to above changes.
582
583 2005-07-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
584
585         * text3.C (dispatch): make debug message optional
586
587 2005-08-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
588
589         * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
590         inset. (bug 1963)
591
592 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
593
594         * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
595
596 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
597
598         * text.C (insertChar):
599         * text2.C (deleteEmptyParagraphMechanism): take care whether 
600         a blank has been deleted (in change tracking mode) (bug 1254).
601
602 2005-07-20  John Levon  <levon@movementarian.org>
603
604         * text2.C (insertStringAsLines): remove old dubious code,
605         fixing bug 1939.
606
607 2005-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
608
609         * MenuBackend.C (expandToc): use Floating::listName() as title of
610         the floats submenus.
611
612 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
613
614         * toc.[Ch]: Do not use translatable strings (bug 1870).
615
616 2005-07-20  John Levon  <levon@movementarian.org>
617
618         * tabular.C: fix 1748 - setting multicolumn adds
619           left line to the first cell
620
621 2005-07-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
622
623         bug 1920
624         * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
625         pars in one go.
626
627 2005-07-18  Lars Gullik Bjønnes  <larsbj@lyx.org>
628
629         * messages.C: supress some lyxerr messages
630
631 2005-07-18  Juergen Vigna  <jug@lyx.org>
632
633         * text.C (drawSelection): honor boundary when asking for cursorX.
634
635 2005-07-17  José Matos  <jamatos@fc.up.pt>
636
637         * tabular.C (recalculateMulticolumns): fix handling of one column
638         tables.
639
640 2005-07-17  Juergen Vigna  <jug@lyx.org>
641
642         * text.C (Delete, backspace): fixed so that paragraph with the
643         same layout can be merged by Delete/Backspace.
644
645 2005-07-17  Michael Schmitt  <michael.schmitt@teststep.org>
646
647         * text.C (readParToken): fix spelling.
648
649 2005-07-17  Martin Vermeer  <martin.vermeer@hut.fi>
650
651         * text2.C: fix counter update for DEPM problem reported by
652         Georg Baum
653
654 2005-07-17  Juergen Vigna  <jug@lyx.org>
655
656         * BufferView_pimpl.C (setBuffer): save/restore the
657         cursor/selection when switching buffers
658
659         * buffer.h: 
660         * buffer.C (saveCursor): add saveDocumentIterators to save the
661         cursor when switching buffer.
662
663 2005-07-17  Michael Schmitt  <michqel.schmitt@teststep.org>
664
665         * debug.C: fix typo
666         * buffer.C: clarify message
667         
668 2005-07-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
669
670         * dociterator.C (DocIterator): fix initialization order
671
672 2005-07-17  Juergen Vigna  <jug@lyx.org>
673
674         * text2.C (cursorHome): 
675         * text.C (drawSelection, cursorX): 
676         * dociterator.C (textRow): add boundary to getRow() call
677
678         * paragraph.C (getRow): implementation of below
679
680         * paragraph.h: add parameter boundary for getRow() function
681
682 2005-07-17  José Matos  <jamatos@fc.up.pt>
683
684         * buffer.C:
685         * bufferparams.[Ch]:
686         * tex-strings.[Ch]: new file format, remove support for a4.sty,
687         a4wide.sty and a4widemargins.
688
689 2005-07-17  Juergen Vigna  <jug@lyx.org>
690
691         * text2.C (cursorLeft): fix one of error
692
693 2005-07-17  Juergen Vigna  <jug@lyx.org>
694
695         * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
696                    cursorEnd):
697         more fixes for boundary handling
698
699         * text3.C (dispatch): don't reset cursor if boundary has changed
700         on cursor movement.
701
702 2005-07-16  Juergen Vigna  <jug@lyx.org>
703
704         * text2.C (getColumnNearX): hopefully got it right now,
705         check if we are on column 0 for special case.
706
707 2005-07-16  Juergen Vigna  <jug@lyx.org>
708
709         * text2.C (getColumnNearX): handle special case Newline Inset
710
711         * text.C (singleWidth): Just remove bogus check
712
713 2005-07-16  Michael Schmitt  <michael.schmitt@teststep.org>
714
715         * funcrequest.C (split): avoid reading uninitialized char c
716
717 2005-07-16  José Matos  <jamatos@fc.up.pt>
718
719         * buffer.C:
720         * converter.C:
721         * lyxrc.C:
722         * paper.h:
723         * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
724         single papersize variable.
725
726 2005-07-16  Juergen Vigna  <jug@lyx.org>
727
728         * text3.C (dispatch): honor boundary when checking if a cursor
729         movement has been done
730
731         * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown) 
732         (setCursor, setCursorIntern): fix cursor movement with boundary
733
734 2005-07-16  Juergen Vigna  <jug@lyx.org>
735
736         * text.C (currentState): output the actual Boundary
737
738 2005-07-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
739
740         * factory.C (createInset): fix bad logic for tabular creation
741
742 2005-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
743
744         * lyx_main.C (init): change some reLyX reference to tex2lyx
745
746 2005-07-16  Juergen Vigna  <jug@lyx.org>
747
748         * dociterator.C (DocIterator): initialize boundary
749
750 2005-07-16  Juergen Vigna  <jug@lyx.org>
751
752         * text2.C (getColumnNearX): Consider rows without trailing blank.  
753
754 2005-07-16  André Pönitz  <poenitz@gmx.net>
755
756         * lyxfont.h: Change order of declarations to give the compiler
757         a better chance to inline things
758
759         * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
760         questions on unsaved docs for better scritability
761
762 2005-07-16  André Pönitz  <poenitz@gmx.net>
763
764         * paragraph.h (getChar): remove asserts as the same kind of security
765         can be achieved by using a suitable standard library implementation
766         and the function was in the critical path (25.9% in profiler)
767
768 2005-07-16  Juergen Vigna  <jug@lyx.org>
769
770         * cursor.C (bruteFind2):
771         * bufferview_funcs.C (coordOffset): 
772         * text.C (cursorX,cursorY): Handle cursor position after last char
773         in row before a inset which uses a whole row.
774
775 2005-07-15  José Matos <jamatos@lyx.org>
776
777         * output_plaintext.[Ch] (writeFileAscii): control reference title
778         printing.
779         (asciiParagraph): noparbreak was already deal and was incorrectly
780         used.
781
782 2005-07-15  Juergen Vigna <jug@lyx.org>
783
784         * lyxfunc.C (dispatch): save and restore the cursor after a
785         textclass switch.
786
787 2005-07-15  Lars Gullik Bjønnes <lgb@tandberg.net>
788
789         * text.C (backspace): bug 806 for empty keepempty paragraphs we
790         change the layout to default before letting DEPM do its thing.
791
792         * paragraph_funcs.C (breakParagraph): dont reset the layout on
793         keepEmpty paragraphs
794
795         * text.C (setCursorFromCoordinates): add a debug statement
796
797         * text2.C (getColumnNearX): bug 1825 make sure that we don't
798         return a pos that is not on the row
799
800         * output_latex.C (TeXDeeper): get rid of potential dereferencing
801         of past the end iterator
802
803 2005-07-14  André Pönitz  <poenitz@gmx.net>
804
805         * undo.C (recordUndoFullBuffer): implement undo for
806         textclass switches
807
808 2005-07-14  André Pönitz  <poenitz@gmx.net>
809
810         * cursor.C (setSelection): open insets when selection is set there
811         to avoid crashs with cold coord cache
812
813 2005-07-14  André Pönitz  <poenitz@gmx.net>
814
815         * trans_mgr.C (insert): move cursor to the right after inserting
816         a char.
817
818 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
819
820         * BufferView_pimpl.C (update): dampen some of the debug blabbering
821         * factory.C (readInset): ditto
822         * text.C, text2.C: ditto
823
824 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
825
826         * buffer.C: format incremented to 242. There is no file format per
827         se, but the "frenchb" language has been removed from lib/language
828         and has to be translated to "french" by lyx2lyx.
829
830 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
831
832         * cursor_slice.h, dociterator.h: add some documentation
833         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
834
835 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
836
837         * text.C (leftMargin): do not add identation to display() style
838         insets, because they are always centered (bug 1293).
839
840 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
841
842         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
843         formatted_time methods in support/lyxtime.
844
845 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
846
847         * toc.[Ch]: new method getGuiName, which is used by the frontends 
848         to set the toc combo (fixes bug 1870). Make TOC string translatable.
849
850 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
851
852         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
853         StableDocIterator const &)
854         * undo.C (recordUndo): use the above instead of cell.size() comparison
855         (fixes bug 1808; instructed by Andr�.
856
857 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
858
859         * cursor_slice.h: 
860         * dociterator.h: Fix the assert when copying rows/cols in math
861
862 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
863
864         * BufferView_pimpl.C:
865         * LyXAction.C:
866         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
867
868         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
869         (findInset): new functions, refactored from goto Inset that return 
870         the position of a certain inset without setting the buffer's cursor
871         (by Jean-Marc); 
872         (gotoInset): rewrite to call findInset and then set the cursor
873         (by Jean-Marc).
874
875 2005-06-16  Angus Leeming  <leeming@lyx.org>
876
877         * lyxrc.C (output, read): wrap all input and output of paths with
878         calls to os::internal_path and os::external_path, respectively.
879         (output): wrap bind_file inside quotes.
880
881         * format.C (view): enable the viewer to use the '$$s' placeholder.
882
883 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
884
885         * LColor.[Ch] (getFromLaTeXName): new
886
887 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
888
889         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
890
891 2005-06-14  Angus Leeming  <leeming@lyx.org>
892
893         * lyx_main.C (init): ensure that the LyX binary dir is the first
894         element in the PATH on non-POSIX builds.
895
896 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
897
898         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
899
900 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
901
902         * rowpainter.C (paintInset, paintHebrewComposeChar)
903         (paintArabicComposeChar, paintChars): add a LyXFont argument.
904         (paintChars): use getFontSpan to reduce calls to getFont to a
905         minimum; use Paragraph::lookupChange instead of isXXXText.
906         (paintForeignMark): rename LyXFont argument.
907         (paintFromPos): pass a LyXFont object to the various paintXXX
908         methods.
909
910         * FontIterator.C (FontIterator, operator++): use
911         Paragraph::getFontSpan
912
913         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
914         version that returns the font span as a pair.
915
916 2005-06-09  Angus Leeming  <leeming@lyx.org>
917
918         * converter.C (convert): Don't forget "outfile = real_outfile" as
919         the final step in a conversion where the input and output file names
920         are the same. Otherwise, future conversion steps won't work...
921
922 2005-06-09  Angus Leeming  <leeming@lyx.org>
923
924         * lyxsocket.C: remove stub code as it isn't needed by
925         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
926
927 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
928
929         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
930         effectively disabled -x
931
932 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
933
934         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
935         when it actually makes sense.
936
937 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
938
939         * BufferView_pimpl.C: revert to showCursor in connection with
940         Lars's front-end stack
941
942 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
943
944         * text.C (redoParagraph): move cursor right after a bibitem
945         has been inserted.
946
947         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
948
949 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
950
951         * buffer_funcs.C (bufferErrors): fix computation of the end of an
952         error range.
953
954 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
955
956         * BufferView.[Ch] (update):
957         * BufferView_pimpl.[Ch] (update, metrics):
958         * dimension.h (operator==):
959         * lyxfunc.C (dispatch):
960         * metricsinfo.h (ViewMetricsInfo):
961         * rowpainter.C (paintText):
962         * lyxtext.h:
963         * text.C (redoParagraph):
964         * text3.C (dispatch): Make LyX only repaint current paragraph in
965         case of character insert --> speedup. Also fix cursor draw
966         artifacts
967
968 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
969
970         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
971         avoid a crash (bug 1891)
972
973 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
974
975         Fix bug 1892:
976
977         * text2.C (getStringToIndex): constify cur argument.
978
979         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
980         argument has been given
981         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
982         try to invoke LFUN_INSET_APPLY).
983
984         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
985         if no inset was created by doInsertInset
986         (doInsertInset): return true if an inset has been inserted.
987
988 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
989
990         * vspace.C (asGUIName): new method. A version of the space
991         suitable for showing on screen.
992
993 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
994
995         * MenuBackend.C:
996         * lyxrc.C: rename "ASCII" to "Plain Text"
997
998 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
999
1000         * buffer_funcs.C (expandLabel): take a Buffer as argument;
1001         translate the labelstring.
1002         (setCounter): translate labelstring as needed.
1003
1004         * output_docbook.C (makeCommand): fix expandLabel invokation
1005
1006 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
1007
1008         * BufferView.C: fix dialog title
1009
1010 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1011
1012         * lyx_main.C (priv_exec): fix logic error with help from Angus
1013         * lyx_main.C (parse_execute): set is_gui = false and remove now
1014         obsolete comment about a segfault
1015
1016 2005-05-18  Angus Leeming  <leeming@lyx.org>
1017
1018         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
1019
1020 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
1021
1022         * tabular.[hC]: added setCellInset to fix tabular paste.
1023
1024 2005-05-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1025
1026         * buffer.C (save): check if destination is writable before trying
1027         to copy a file
1028
1029 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
1030
1031         * BufferView_pimpl.C (update): fix processEvents -caused update
1032         recursion bug
1033
1034 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1035
1036         * buffer_funcs.C (setCounter): fix test for numbering of
1037         environments.
1038
1039         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
1040         depth correctly; use optional argument when it exists
1041
1042         * lyxtextclass.C: remove unused MaxCounterTags enum
1043         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
1044         (max_toclevel, min_toclevel): new methods.
1045
1046         * MenuBackend.C (expandToc2): fix case where depth is smaller than
1047         the smallest depth in toc.
1048
1049         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
1050         layouts that should not appear in a table of contents.
1051
1052 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1053
1054         * cursor.h (undispatched, noUpdate): add comments from Andr�
1055 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
1056
1057         * lfuns.h:
1058         * LyXAction.C:
1059         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
1060
1061 2005-05-07  André Pönitz  <poenitz@gmx.net>
1062
1063         * cursor.[Ch] (leaveInset): new function
1064
1065 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1066
1067         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
1068
1069 2005-05-04  Angus Leeming  <leeming@lyx.org>
1070
1071         * lyxfunc.C (getStatus): disable the spell checker dialog if
1072         none of USE_[AIP]SPELL are defined.
1073
1074 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
1075
1076         * tabular.C (setWidthOfCell): remove obsolete comment
1077
1078 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
1079
1080         * paragraph.C (bibitem):
1081         * buffer_funcs.C (setCounter):
1082         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
1083
1084 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1085
1086         * text3.C (getStatus): immediately return after setOnOff
1087
1088         * rowpainter.C: fix drawing of appendix start
1089
1090 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1091
1092         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
1093         SwitchBetweenClasses and remove the unused return value.
1094         Handle character styles, too
1095
1096 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
1097
1098         * factory.C (createInset): handle undefined character styles
1099
1100 2005-05-02  Angus Leeming  <leeming@lyx.org>
1101
1102         * buffer.C: protect the #include of utime.h with a preprocessor
1103         guard.
1104
1105 2005-05-02  Angus Leeming  <leeming@lyx.org>
1106
1107         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
1108         function so that auto-saving works, albeit in a blocking manner.
1109
1110         * Makefile.am: make compilation of the client sub directory, of
1111         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
1112         on conditionals set at configure time.
1113
1114         * SpellBase.[Ch]: no longer an abstract base class. Instead,
1115         it can be compiled in its own right but has no-op functionality.
1116
1117         * aspell.C, pspell.C: remove preprocessor guards. The files should
1118         be compiled only if the necessary functionality exists.
1119
1120         * lyxserver.C, lyxsocket.C: disable on Windows.
1121
1122 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
1123
1124         * text.C (leftMargin): Fix the parindent use bug (1764)
1125         by dirty trick
1126
1127 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
1128
1129         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
1130         argument.
1131
1132 2005-04-25  Angus Leeming  <leeming@lyx.org>
1133
1134         * Bidi.[Ch]:
1135         * coordcache.[Ch]:
1136         * ispell.C:
1137         * lyxserver.C:
1138         * mover.C:
1139         * pch.h:
1140         include <config.h> in .C files, not .h ones.
1141         add licence blurb.
1142         protect headers inside preprocessor guards.
1143
1144 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1145
1146         * FuncStatus.h (StatusCodes): document
1147
1148 2005-04-21  André Pönitz  <poenitz@gmx.net>
1149
1150         * FuncStatus.h (enabled, onoff): document
1151
1152 2005-04-19  Angus Leeming  <leeming@lyx.org>
1153
1154         * BufferView_pimpl.C (cursorToggle): no longer test whether
1155         any child processes have been reaped before calling
1156         handleCompletedProcesses().
1157
1158 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
1159
1160         * text3.C (dispatch): fix, finally fix, the language problem in
1161         new lyxtexts, without disabling on-the-fly font changes (Helge's
1162         bug report)
1163
1164 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1165
1166         * text3.C (dispatch): set cursor on double/triple click events
1167         (bug 1811)
1168
1169 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1170
1171         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
1172         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
1173
1174         * rowpainter.C (paintFirst): simplify the code a little bit. In
1175         particular, remove the test for secnumdepth.
1176         * text.C (setHeightOfRow): only allocate space for chapter number
1177         when updateCounters provided an actual label, instead of looking
1178         at secnumdepth directly.
1179
1180         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
1181
1182         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
1183         paragraphs when secnumdepth is large enough or, for environments,
1184         when they are not the first in a sequence.
1185
1186 2005-04-17  Angus Leeming  <leeming@lyx.org>
1187
1188         * buffer.C (makeLaTeXFile): replace code to manipulate a path
1189         containing space and '~' characters with a call to latex_path().
1190
1191 2005-04-17  Angus Leeming  <leeming@lyx.org>
1192
1193         * converter.C (convert): protect all args of convertDefault.sh
1194         script with quotes.
1195
1196 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1197
1198         * text3.C (dispatch): change the layout to "Caption" after inserting
1199         a float.
1200
1201 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1202
1203         * text3.C (dispatch): fix language problem in newly created
1204         textinsets (and main text) in non-english docs
1205
1206 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1207
1208         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
1209         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
1210         * text3.C (getStatus): disable LFUN_INSET_MODIFY
1211
1212 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1213
1214         * lyxtext.h:
1215         * text.C (metrics):
1216         * text2.C (getFont):
1217         * rowpainter.C (getFont): Fix metrics bug introduced by inset
1218         fonts fix
1219
1220 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1221
1222         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
1223         output of \item arguments without trailing text.
1224
1225 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1226
1227         * FontIterator.C (operator*): avoid a copy of the font.
1228
1229 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1230
1231         * rowpainter.C (getFont): fix language bug from previous fix
1232
1233 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1234
1235         * rowpainter.C (RowPainter, getFont): fix font inside inset
1236         (bugs 1766, 1809)
1237
1238 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
1239
1240         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1241         preventing inserted font, deco, delim insets jumping to start of
1242         surrounding inset.
1243
1244 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1245
1246         * lyxfunc.C (dispatch): translate message before sending it to the
1247         minibuffer.
1248
1249 2005-03-29  Angus Leeming  <leeming@lyx.org>
1250
1251         * lyx_main.C (priv_exec): call os::internal_path on each file passed
1252         to LyX on the command line.
1253
1254 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
1255
1256         * vc-backend.C: use QuoteName to protect file names wherever
1257         necessary.
1258
1259 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
1260
1261         * buffer.[Ch]:
1262         * BranchList.h: fix bugs 1844,1845: document settings don't
1263         stick
1264
1265 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1266
1267         * lyxrc.C (setDefaults, read, output, getDescription): add support
1268         for tex_allows_spaces.
1269
1270         * exporter.C (Export): allows files in directory containing spaces
1271         if tex_allows_spaces is true.
1272
1273         * buffer.C (makeLaTeXFile): if the document path contains spaces,
1274         output it in double quotes.
1275
1276 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1277
1278         * rowpainter.C: use default text height for drawing change tracker
1279         strikeout lines.
1280
1281 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1282
1283         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1284
1285 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1286
1287         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1288         directory is missing.
1289
1290 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
1291
1292         * text2.C: fixed the fix, extended to other case.
1293
1294 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
1295
1296         * text2.C: fix for cursor up/down stuck in math [bug 1792]
1297
1298 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
1299
1300         * text2.C (cursorUp): get rid of a crash
1301         * text.C (x2pos): add an assert
1302
1303 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1304
1305         * lyxfunc.C (getStatus): fix warning when assertions are disabled
1306
1307         * text3.C:
1308         * lyxfunc.C:
1309         * dociterator.C: include <boost/current_function.hpp>, which is
1310         needed when assertions are disabled.
1311
1312 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1313
1314         * text2.C: fix for stuck cursor when traversing two
1315         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1316
1317 2005-02-25  Andreas Vox  <avox@arcor.de>
1318
1319         * output_docbook.C (makeParagraph): suppress trailing newline
1320         after a run of paragraphs
1321
1322 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1323
1324         * paragraph.C: fix for confused change tracker when pasting
1325         text that begins with a lineseparator. [bug 1827]
1326         (setChange(0, Change::INSERTED);)
1327
1328         * paragraph_funcs.C: fix for lost changes on triple-paste
1329         in change tracking mode [bug 1827] (par.setChange()).
1330
1331 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1332
1333         * text2.C (updateCounters, setCounter, expandLabel): move to
1334         buffer_funcs.
1335
1336         * buffer_funcs.C (updateCounters): turn into a free standing
1337         function and add a buffer parameter. Remove dead code for tracking
1338         labelstring change.
1339         (setCounter): change into a free-standing function which gets a
1340         dociterator as argument. Use this iterator to fix captions in a
1341         simple way. When no float is found above the caption, use the
1342         labelstring of the caption layout as default.
1343
1344         * text.C (breakParagraph, backspace):
1345         * text2.C (init, setLayout, changeDepth):
1346         * text3.C (dispatch):
1347         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1348         updateCounters.
1349
1350         * dociterator.C (forwardPar): make it much faster by calling
1351         forwardPos() only when really necessary.
1352
1353         * output_docbook.C (makeCommand): adapt to expandLabel move.
1354
1355         * cursor.C: remove unused variable
1356
1357 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1358
1359         * paragraph_funcs.C: fix crash when pasting insets in change
1360         tracking mode [bug 1277] (honour change type in moveItem).
1361
1362 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1363
1364         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1365
1366 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1367
1368         * BufferView.C (setCursor): change to use a DocIterator.
1369         (gotoLabel): use BufferView::setCursor (other part of bug 781).
1370         (putSelectionAt): adapt to BufferView::setCursor change.
1371
1372         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1373         moved here from LyXText and rewritten to use proper cursor
1374         methods. Fixes bug 1787, 616 and 835.
1375
1376         * BufferView_pimpl.C (restorePosition): set the cursor correctly
1377         when inside an inset (part of bug 781).
1378         (dispatch): adapt to change of BufferView::setCursor.
1379         (getStatus, dispatch): handle LFUN_GOTOERROR,
1380         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1381
1382         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1383         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1384         * text3.C (gotoNextInset, gotoInset): removed.
1385
1386 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1387
1388         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1389
1390 2005-02-15  Angus Leeming  <leeming@lyx.org>
1391
1392         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1393         can be used meaningfully in a comparison.
1394
1395 2005-02-13  André Pönitz  <poenitz@gmx.net>
1396
1397         * bufferview_funcs.C (coordOffset): improve cursor drawing
1398
1399 2005-02-13  André Pönitz  <poenitz@gmx.net>
1400
1401         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1402         * Cursor.C (dispatch): use fixIfBroken
1403         * lyxfunc.C (getStatus): use fixIfBroken
1404
1405 2005-02-15  Angus Leeming  <leeming@lyx.org>
1406
1407         * lyx_main.C (error_handler):
1408         * lyxfunc.C:
1409         * lyxrc.C (setDefaults):
1410         s/GetEnv/getEnv/.
1411         #include "environment.h".
1412
1413         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1414
1415 2005-02-15  Angus Leeming  <leeming@lyx.org>
1416
1417         * lyxserver.C (startPipe): squash MSVC warning "local variable
1418         'fd' used without having been initialized".
1419
1420 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1421
1422         * BufferView_pimpl.C: revert accidental commit.
1423
1424 2005-02-14  André Pönitz  <poenitz@gmx.net>
1425
1426         * dociterator.[Ch]: new member forwardPosNoDescent(),
1427         which doesn't enter nested insets.
1428         * text2.C (setFont): use forwardPosNoDescent() instead
1429         of ForwardPos() (fixes crash on font change).
1430
1431 2005-02-13  Angus Leeming  <leeming@lyx.org>
1432
1433         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1434         only if lyxrc.path_prefix is not empty.
1435
1436 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1437
1438         * bufferparams.C (readGraphicsDriver): prevent crash
1439
1440 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1441
1442         * text2.C (setCounter): check for inInset() == 0
1443
1444 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1445
1446         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1447         but use update() to get correct screen display; use convert
1448         instead of istringstream.
1449         (getStatus): handle LFUN_GOTO_PARAGRAPH
1450
1451         * lyxfunc.C (dispatch, getStatus): do not handle
1452         LFUN_GOTO_PARAGRAPH here.
1453
1454 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1455
1456         * text3.C (dispatch): size() -> depth()
1457
1458         * text2.C: remove some debug output
1459
1460         * paragraph.C: ws changes only
1461
1462         * lyxfunc.C (getStatus): size() -> depth()
1463
1464         * dociterator.h (clear, push_back, pop_back, internalData,
1465         operator[], resize, empty): new functions
1466         Make StableDocIterator and operator== be friends. Don't inherit
1467         from std::vector use a privat class variable slices_ instead.
1468         Modify to fit.
1469
1470         * dociterator.C: update because of not inheriting from std::vector
1471         anymore. Call explictly to slices_ instead. Use depth() instead of
1472         size() and top() instead of back()
1473
1474         * cursor.C: chagne size() -> depth and back() -> top(). Also
1475         remove some direct operator[](i) calls in favour of foo[i]
1476         (getFont): remove some dead code
1477
1478         * bufferview_funcs.C (coordOffset): size() -> depth()
1479
1480         * buffer.C: ws changes only
1481
1482         * CutAndPaste.C (eraseSelection): back() -> top()
1483
1484         * BufferView_pimpl.C (selectionRequested): back() -> top()
1485
1486         * BufferView.C (setCursor): size() -> depth()
1487
1488 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1489
1490         * text3.C (cursorPrevious): return true if depm changed something
1491         (cursorNext): ditto
1492         (dispatch): rename sl to oldTopSlice, remove moving use the new
1493         NoUpdate func attrib instead. Make sure that needsUpdate is set
1494         for function that have NoUpdate, but where depm might have changed
1495         the buffer anyway.
1496
1497         * text2.C (cursorLeft): make us return true if depm changed
1498         something
1499         (cursorRight): ditto
1500         (cursorUpParagraph): ditto
1501         (curosrDownParagraph): ditto
1502         (cursorUp, cursorDown): ditto, make sure to read comments in code
1503         (deleteEmptyParagraphMechanism): remove an assert, also return
1504         true if just a single char was deleted.
1505
1506         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1507         cursor that we modify, to avoid modifying an active cursor before
1508         we call setCursor. This allows depm to run. Also return true if
1509         depm deleted something.
1510
1511         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1512         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1513         cursorDownParagraph, cursorPrevious and cursorNext, return true if
1514         something was changed in the buffer because of them (ie. depm run)
1515
1516         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1517         debug messages. Make update by default be false. Make sure that
1518         the result of update is retained throught several calls down to
1519         dispatch.
1520
1521         * LyXAction.h: add a new func_attrib: NoUpdate
1522
1523         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1524         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1525         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1526         and LFUN_WORDLEFT
1527         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1528
1529 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1530
1531         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1532         bv_->owner(), bv_->buffer() by direct references to the private
1533         members.
1534         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1535         (getStatus): isSavedPosition() is in BufferView::Pimpl.
1536         (fitCursor): center() is in BufferView::Pimpl.
1537         (getStatus, trackChanges, dispatch): no need for a temporary buf
1538         variable
1539         (fitCursor, workAreaDispatch): use workarea().workheight()
1540
1541 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1542
1543         * CutAndPaste.C (pasteSelectionHelper): fix a crash
1544
1545 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1546
1547         * buffer.C: format up to 241.
1548         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1549         break if pasting into ERT
1550         * lyxfunc.C (getStatus): suppress mathpanel and
1551         LFUN_DIALOG_SHOW_NEW_INSET in ERT
1552
1553 2005-02-01  Angus Leeming  <leeming@lyx.org>
1554
1555         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1556
1557 2005-02-01  Angus Leeming  <leeming@lyx.org>
1558
1559         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1560         calling fs::is_directory().
1561
1562 2005-01-31  Angus Leeming  <leeming@lyx.org>
1563
1564         * lyx_main.C (priv_exec): specify explicitly the relative location
1565         of the top level build directory when run in-place.
1566
1567 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1568
1569         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1570         LyXText containing the cursor, not the top-level one.
1571
1572         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1573         true.
1574         (insertStringAsLines): rename par to pit; use temporary variable
1575         par to hold a Paragraph; do not store par.layout() in a variable,
1576         since the pointer may die when breaking paragraphs; pass pars to
1577         breakParagraph() instead of Buffer::paragraphs().
1578
1579 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1580
1581         * lyxlex_pimpl.h: #include <fstream>.
1582
1583         * BufferView.[Ch] (getLyXText): add a const version.
1584
1585         * BufferView_pimpl.C: add debug aids.
1586
1587         * RowList_fwd.h:
1588         * buffer.h:
1589         * lyxrow.h:
1590         * paragraph_funcs.h: add commentary explaining what the class does.
1591
1592
1593         * coordcache.[Ch]: add lots of commentary.
1594         (startUpdating, doneUpdating): debug aids.
1595         (arrays, insets, parPos, getParPos): accessors to private data.
1596
1597         * cursor_slice.[Ch] (text): add a const version.
1598         * dociterator.[Ch] (text, innerText): add const versions.
1599
1600         * lyxtext.h (breakParagraph): change the keep_layout arg to a
1601         bool.
1602
1603         * paragraph.C (getRow, pos2ros): add asserts.
1604
1605         * paragraph.h: add commentary. Lots of.
1606
1607         * paragraph.[Ch] (metrucs, draw): removed.
1608
1609         * cursor.C:
1610         * rowpainter.[Ch]: const-correct changes.
1611
1612         * text.C: various obvious clean-ups. Removal of ancient cruft.
1613         Bug fixes, even.
1614
1615 2005-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
1616
1617         * vc-backend.C (find_file): rewrite to use boost.filesystem
1618         (scanMaster): ditto
1619
1620         * main.C (main): set default name check for boost.filesystem to
1621         no check
1622
1623         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1624         (open): ditto
1625         (doImport): ditto
1626         (actOnUpdatedPrefs): ditto
1627
1628         * lyx_main.C (init): rewrite to use boost.filesystem
1629         (queryUserLyXDir): ditto
1630
1631         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1632         (getContentsOfAsciiFile): ditto
1633
1634         * lastfiles.C (readFile): rewrite to use boost.filesystem
1635
1636         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1637
1638         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1639         (loadLyXFile): ditto
1640
1641         * buffer.C (Buffer): adjust for destroydir
1642         (getLogName): rewrite to use boost.filesystem
1643         (setFileName): ditto
1644         (save): use fs::copy_file (from fs_extras)
1645
1646         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1647
1648         * LaTeX.C (run): rewrite to use boost.filesystem
1649         (scanAuxFiles): ditto
1650         (handleFoundFile): ditto
1651
1652 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1653
1654         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1655
1656         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1657
1658 2005-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1659
1660         * lyxlayout.[Ch]: change some vars from float to double
1661
1662         * buffer.C (readFile): make a local var const
1663
1664         * Several files: use convert<> instead of atoi,strToXXX and friends
1665
1666 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1667
1668         * LaTeXFeatures.[Ch]: Add a static list packages_ that
1669         holds the contents of packages.lst. New functions getAvailable
1670         and isAvailable to parse and check that list, resp.
1671
1672         * LyXAction.C:
1673         * lfuns.h:
1674         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1675
1676         * bufferparams.[Ch]: new param output_changes.
1677
1678         * Buffer.C: increase file format to 240.
1679         Use output_changes and isVailable.
1680
1681         * changes.[Ch]:
1682         * paragraph.C:
1683         * paragraph_pimpl.C: Use output_changes and isVailable.
1684
1685 2005-01-23  Angus Leeming  <leeming@lyx.org>
1686
1687         * output_latex.C: #include "insetbibitem.h", rather than
1688         forward declare function bibitemWidest.
1689
1690 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
1691
1692         * lyx_main.C (init): make it compile on the Mac.
1693
1694 2005-01-20  Angus Leeming  <leeming@lyx.org>
1695
1696         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1697         (setLyXMisc): (char string literal) != (char string literal) is
1698         performing a comparison on the addresses. Convert one operand
1699         explicitly to string to guarantee expected behaviour.
1700         From MSVC warning.
1701
1702 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1703
1704         * buffer.C:
1705         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1706
1707         * output_plaintext.C: remove unneeded #include gzstream.h.
1708
1709 2005-01-20  Angus Leeming  <leeming@lyx.org>
1710
1711         * SpellBase.h: rename some of the elements of the Result enum.
1712
1713         * aspell_local.h:
1714         * ispell.h:
1715         * pspell.h:
1716         * aspell.C (check):
1717         * ispell.C (check):
1718         * pspell.C (check): ditto
1719
1720 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1721
1722         * buffer.C: add #include <fstream>.
1723
1724         * lyx_main.C (init): Compile fix.
1725
1726         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1727
1728 2005-01-20  Angus Leeming  <leeming@lyx.org>
1729
1730         * mover.h: change commentary to reflect the changed meaning of
1731         the $$s placeholder.
1732
1733 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1734
1735         * output_linuxdoc.C (linuxdocParagraphs): silence warning
1736
1737         * lyxfind.C (MatchString::operator()): remove bogus semicolon
1738
1739 2005-01-20  Angus Leeming  <leeming@lyx.org>
1740
1741         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1742         printing diagnostic data by not dereferecing an iterator past the
1743         end.
1744
1745 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1746
1747         * buffer.C (readHeader): use "&&" rather than "and".
1748
1749         * lyxserver.h (inPipeName, outPipeName): make these const.
1750
1751 2005-01-19  Angus Leeming  <leeming@lyx.org>
1752
1753         * lyx_main.C (error_handler, init): protect SIGHUP with
1754         #ifdef SIGHUP guards.
1755
1756 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1757
1758         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1759
1760 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1761
1762         * text.C (setHeightOfRow): add a margin at the top and bottom of
1763         the document (bug 1761)
1764
1765 2005-01-17  Angus Leeming  <leeming@lyx.org>
1766
1767         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1768         with "python ". Workaround for a brain-dead Windows.
1769
1770 2005-01-16  Angus Leeming  <leeming@lyx.org>
1771
1772         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1773         for MacOSX and Windows to use prependEnvPath.
1774         Strip out the hard-coded block to add elements to the PATH for
1775         MacOSX and replace it with a call to prependEnvPath using the
1776         contents of LyXRC::path_prefix.
1777         (queryUserLyXDir): strip out the code to run reconfigure, instead
1778         returning a boolean indicating the necessity to do so.
1779         (reconfigureUserLyXDir): contains the code to reconfigure the
1780         user support directory. Is now called after the various LyXRC data
1781         files have been read.
1782
1783         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1784
1785 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1786
1787         * converter.[Ch] (convert): take a new parameter try_default. Use
1788         a default converter (imagemagick) if try_default is true.
1789
1790 2005-01-13  Angus Leeming  <leeming@lyx.org>
1791
1792         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1793         os::cygwin_path_fix.
1794         (write): output LyXRC::cygwin_path_fix as necessary.
1795
1796 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
1797
1798         * lyxrc.h:
1799         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1800
1801 2005-01-12  Angus Leeming  <leeming@lyx.org>
1802
1803         * lyx_main.C (init): set the PATH variable to include the
1804         directory containing the LyX binary when running on Mac or Windows.
1805
1806 2005-01-12  Angus Leeming  <leeming@lyx.org>
1807
1808         * lyx_main.C (init): remove cruft that purports to set the locale
1809         dir. It doesn't and is not needed anyway.
1810
1811 2005-01-10  Angus Leeming  <leeming@lyx.org>
1812
1813         * Makefile.am: remove the lyx_main.C special casing.
1814
1815         * BufferView_pimpl.C:
1816         * bufferlist.C:
1817         * exporter.C:
1818         * lyx_cb.C:
1819         * lyx_main.C:
1820         * lyxfunc.C:
1821         * messages.C: use support/package.h to provide the paths to the
1822         various directories used by LyX.
1823
1824 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1825
1826         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1827         layout if pasting into an empty paragraph)
1828
1829 2005-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1830
1831         * tex-accent.C: add <string>
1832
1833 2005-01-06  José Matos  <jamatos@lyx.org>
1834
1835         * ParagraphParameters.C (write): put every parameter in its own line.
1836         * paragraph.C (write): reduce number of consecutive empty lines exported.
1837         * buffer.C (LYX_FORMAT): increase file format to 239.
1838
1839 2005-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1840
1841         * everywhere: change support/tostr.h -> support/convert.h
1842
1843         * tabular.C: make all write_attributes templates, tostr -> convert
1844
1845         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1846         (emptyTag): and -> &&, and fix type for ret from getChar
1847         (getFirstWord): fix type for ret from getChar
1848         (onlyText): and -> &&
1849         (simpleDocBookOnePar): and not -> && !, fix type for ret from
1850         getChar
1851
1852         * toc.C (goTo, action):
1853         * text3.C (dispatch):
1854         * text.C (currentState):
1855         * tex-accent.C (DoAccent):
1856         * sgml.C:
1857         * lyxrc.C:
1858         * lyxfunc.C (menuNew):
1859         * lyxfinc.C (replace):
1860         * counters.C (laberItem):
1861         * bufferview_funcs.C (font2string):
1862         * bufferparams.C (writeFile):
1863         * buffer.C (readFile):
1864         * Spacing.C (set):
1865         * MenuBackend.C: tostr -> convert
1866
1867         * LaTeX.C (runMessage): fix format
1868         (scanAuxFiles): tostr -> convert
1869
1870         * BufferView_pimpl.C (savePosition): fix format
1871         (restorePosition): ditto
1872         (dispatch): ditto
1873
1874 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1875
1876         * Spacing.[Ch]: New method getValueAsString().
1877
1878         * Spacing.[Ch]:
1879         * bufferparams.C:
1880         * ParagraphParameters.C:
1881         * lyxlayout.C:
1882         * text.C:
1883         * text3.C: store/read spacing value as string.
1884
1885         * rowpainter.C: change float value (spacing_val) to double.
1886
1887         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1888         broken custom document spacing).
1889
1890 2005-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
1891
1892         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1893         namespace, also more use of temp references and const
1894
1895         * cursor.[Ch] (getStatus): move to lyxfunc.C
1896
1897         * bufferparams.C: reformat slightly
1898
1899         * bufferview_funcs.C (font2string): constify arg
1900
1901         * changes.C:
1902         * converter.C:
1903         * counters.C:
1904         * bufferlist.C:
1905         * buffer_funcs.C: (many funcs): constify arg on function
1906         definitions, also make more local vars const, also add ASSERTS on
1907         pointer args.
1908
1909         * buffer.C (LYX_FORMAT): put const in correct place
1910         (many funcs): constify arg on function definitions, also make
1911         more local vars const
1912
1913         * aspell_local.h: remove "struct" from typdef setup
1914
1915         * aspell.C (check): make word_ok const
1916         (nextMiss): simplify slightly
1917         (error): ditto
1918
1919 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1920
1921         * lyxrc.[Ch]: store all float values as strings.
1922         use int (not float) for lyxrc.dpi.
1923
1924 2005-01-04  Angus Leeming  <leeming@lyx.org>
1925
1926         * lyx_cb.C (Reconfigure):
1927         * lyx_main.C (queryUserLyXDir):
1928         to run the <system_lyxdir>/configure correctly on Windows, prefix
1929         the path to the script with "sh " when generating the string that
1930         is passed to system().
1931
1932 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1933
1934         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1935
1936 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1937
1938         * lyxlength.C (asLatexString): get rid of setprecision
1939
1940 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1941
1942         * text2.C (setLayout): remove unused variable endpit.
1943         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1944
1945         * paragraph.C (onlyText): remove unused variable style.
1946
1947         * cursor.C (bruteFind): remove unused variables beg and end.
1948
1949         * Makefile.am (dist_noinset_DATA): not needed anymore
1950
1951         * cheaders/*: remove.
1952
1953 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1954
1955         * text3.C: fix LFUN_MATH_MODE.
1956
1957 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1958
1959         * buffer_funcs.C (countWords): new function. Counts words between
1960         two iterators.
1961
1962         * BufferView_pimpl.C (getStatus, dispatch): handle
1963         LFUN_WORDS_COUNT.
1964
1965         * LyXAction.C (init):
1966         * lfuns.h: add LFUN_WORDS_COUNT.
1967
1968 2004-12-19  Angus Leeming  <leeming@lyx.org>
1969
1970         * buffer.C (save): s/slashify_path/internal_path/.
1971
1972 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1973
1974         * lyxfind.C (findChange): do not search for end of pars, because
1975         the change tracker cannot handle this (fixes bug 1719).
1976
1977 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1978
1979         * paragraph.[Ch] (autoBreakRows): remove
1980
1981         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1982
1983         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1984         avoid using the paragraph one
1985
1986         * text2.C (LyXText, insertStringAsLines): adjust
1987
1988 2004-12-16  Angus Leeming  <leeming@lyx.org>
1989
1990         * bufferlist.C:
1991         * lyx_main.C:
1992         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1993
1994 2004-12-14  Angus Leeming  <leeming@lyx.org>
1995
1996         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1997
1998         * bufferlist.C (emergencyWrite):
1999         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
2000         GetEnvPath("HOME").
2001
2002 2004-12-14  Angus Leeming  <leeming@lyx.org>
2003
2004         * main.C: (main): no longer pass pointers to os::init.
2005
2006 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
2007
2008         * undo.C (textUndoOrRedo): simplify logic, fix a crash
2009         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
2010
2011 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
2012
2013         * lyxfunc.C:
2014         * text3.C: remove selection_possible global flag
2015
2016 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
2017
2018         * text2.C (getSelectionSpan): remove
2019         (changeDepth, changeDepthAllowed): adjust
2020
2021 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
2022
2023         * Makefile.am (BOOST_LIBS): use boost variables
2024
2025 2004-12-03  José Matos  <jamatos@lyx.org>
2026
2027         * buffer.C: format up to 238.
2028
2029 2004-12-03  José Matos  <jamatos@lyx.org>
2030
2031         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
2032
2033 2004-12-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2034
2035         * cursor.C (goUpDown): remove call to idxUpDown2
2036
2037 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2038
2039         * tabular.[Ch]: use size_t-like types for cell, row and column
2040         indices
2041
2042 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2043
2044         * lyxfunc.C (getStatus): do not lose previous information when
2045         calling BufferView::getStatus; do not set a default "Command
2046         disabled" message at the beginning, but just before returning.
2047
2048 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2049
2050         * cursor.h (getStatus): add better comment from src/cursor.C
2051
2052 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2053
2054         * text3.C (getStatus): return false when the lfun is not handled
2055
2056 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2057
2058         * broken_headers.h: remove
2059
2060         * Makefile.am (lyx_SOURCES): remove broken_headers.h
2061
2062 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2063
2064         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
2065         offset_ref accessors
2066
2067         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
2068         top_y_, merge fitcursor with update
2069         (updateScrollbar, scrollDocView, fitCursor, center, update): new
2070         coord scheme
2071         (metrics): introduce
2072         (workAreaDispatch): adapt to new coord scheme
2073         (redoCurrentBuffer): remove
2074
2075         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
2076
2077         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
2078         CurStatus enum.
2079
2080         * coordcache.[Ch]: add paragraph cache and helpers
2081
2082         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
2083         adjust everywhere
2084
2085         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
2086         (targetX, setTargetX): introduce
2087
2088         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
2089         baseline -> ascent, as the rest of lyx
2090
2091         * lyxtext.h: remove redoParagraphs, updateParPositions,
2092         fullRebreak, redoParagraphInternal. move dist to anon namespace in
2093         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
2094         have ascent/descent (ascent is ascent of first par)
2095
2096         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
2097         step of BufferView
2098
2099         * paragraph.[Ch]: unify dimension handling with the rest of lyx
2100
2101         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
2102
2103         * pariterator.C: fix infinite loop introduced in par->pit renaming
2104
2105         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
2106         in insets and LyXText, draw two off-screen paragraphs using
2107         NullPainter, and adapt to new coord scheme
2108
2109         * text.C:
2110         * text2.C:
2111         * text3.C: adapt lfun handlers to the new coord scheme, which
2112         means: there's only guaranteed coord information for onscreen pars
2113         plus one above and one below. This implies that one can do search
2114         from y coordinates in the range [-1,workHeight]
2115
2116 2004-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2117
2118         * rename a lot of InsetOld to InsetBase
2119
2120 2004-11-25  Angus Leeming  <leeming@lyx.org>
2121
2122         * BufferView_pimpl.C:
2123         * lyx_cb.C:
2124         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
2125
2126 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2127
2128         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
2129         call BufferView::getStatus if LCursor::getStatus did nothing
2130         (setStatusMessage, getStatusMessage): removed.
2131
2132         * FuncStatus.C (message): new methods. Used to provide an error
2133         message indicating why a command is disabled.
2134         (clear, |=, FuncStatus): update for message.
2135
2136 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2137
2138         * lyxfunc.C (dispatch): always call sendDispatchMessage
2139
2140 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2141
2142         * BufferView.C:
2143         * BufferView_pimpl.C:
2144         * CutAndPaste.C:
2145         * FontIterator.C:
2146         * buffer.C:
2147         * cursor.C:
2148         * cursor_slice.[Ch]:
2149         * dociterator.[Ch]:
2150         * lyxfind.C:
2151         * paragraph_funcs.C:
2152         * pariterator.C:
2153         * rowpainter.C:
2154         * text.C:
2155         * text2.C:
2156         * text3.C:
2157         * undo.C: par->pit renaming
2158
2159 2004-11-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2160
2161         * tabular.C (cellstruct): use initialization, store a shared_ptr
2162         to insettext instead of the insettext directly, adjust to fit.
2163         (operator=):  new function
2164         (swap): new function
2165         (rowstruct): use initialization
2166         (columnstruct): use initialization
2167         (ltType): use initialization
2168
2169
2170         * lyxlength.h (swap): new function
2171
2172         * LColor.[Ch] (operator=): use the common semantics
2173
2174 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2175
2176         * lyxfind.C (findNextChange): update the bufferview after setting
2177         the selection.
2178
2179 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2180
2181         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
2182         number of InsetOptArgs has already been inserted.
2183
2184         * output_latex.C (latexOptArgInsets): new method. This outputs all
2185         the optarg insets, up to the limit defined in the layout file.
2186         (optArgInset): removed
2187         (TeXOnePar): call latexOptArgInsets; correctly update texrow
2188
2189 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2190
2191         * paragraph.C (isLetter): remove special spellchecker-related
2192         code; return true also for digits
2193         (isWord, isKomma): remove
2194
2195         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
2196         * lyxfind.C (MatchString()): use isLetter instead of isWord
2197
2198 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2199
2200         * pariterator.h (operatir=): comment out un-implemented member
2201         function.
2202
2203         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
2204         static cast.
2205
2206 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2207
2208         * lyxfont.h: include LColor.h to satisfy concept checks.
2209
2210 2004-11-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2211
2212         * pariterator.h: add typdefs for value_type, difference_type,
2213         pointer and reference to satisfy concept checks. Also add default
2214         constructor for same reason.
2215
2216         * pariterator.C (operator++): add post-increment operator to
2217         satisfy concept checks.
2218
2219         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
2220         checks.
2221
2222         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
2223
2224         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
2225         checks. Also rename base_type to BaseType to follow naming
2226         standard better.
2227
2228         * FloatList.h: include Floating.h to satisfy concept checks.
2229
2230 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2231
2232         * lyxfunc.C (getStatus): when the origin of the request is menu or
2233         toolbar, and the LyXView does not have focus, do as if there was
2234         no buffer (bug 1720)
2235
2236         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2237         FuncRequest to individual entries of LFUN_SEQUENCE
2238
2239 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2240
2241         * output_latex.C (TeXOnePar): override runparams.moving_arg
2242         according to the needprotect value of the current paragraph (bug
2243         1739)
2244
2245         * paragraph.C (simpleTeXOnePar): no need to override
2246         runparams.moving_args here
2247
2248 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
2249
2250         * vspace.C: fix off-by-one-error, related to fix #1682
2251
2252 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2253
2254         * lengthcommon.C: a more general fix for bug 1682
2255
2256 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2257
2258         * text.C (backspace): fix crash
2259
2260 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2261
2262         * format.[Ch] (getFormatFromFile): new method
2263         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2264
2265 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2266
2267         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2268
2269 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2270
2271         * lyxfunc.C (dispatch): remove the verbose argument
2272         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2273         instead
2274
2275         * kbmap.C (defkey): set the origin of func to KEYBOARD
2276
2277         * MenuBackend.C (MenuItem):
2278         * ToolbarBackend.C (add): set the origin of func to UI
2279
2280         * funcrequest.[Ch]: add origin member, which indicates which part
2281         of LyX requests an action
2282
2283 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2284
2285         * converter.C (move): don't lie in the error message
2286         * converter.h (isReachable, move): document
2287
2288 2004-11-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2289
2290         * buffer.C: remove unused using lyx::support::atoi
2291         * paragraph_funcs.C: ditto
2292
2293 2004-11-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2294
2295         * bufferlist.C (exists): use bind and equal_to instead of
2296         compare_memfun
2297         (getBuffer): ditto
2298         * lyxtextclasslist.C (NumberOfClass): ditto
2299
2300         * cursor.C (insert): use for_each instead of explicit for loop
2301
2302         * bufferlist.C (getFileNames): use std::transform and
2303         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2304
2305         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2306         for loop
2307
2308         * buffer.C (changeLanguage): use for_each instead of explicit for
2309         loop
2310         (hasParWithID): implement using getParFromID
2311
2312         * LaTeXFeatures.C: ws change only
2313
2314         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2315         to cleanup a bit.
2316
2317         * BufferView_pimpl.C (trackChanges): use for_each instead of
2318         expilicit for loop
2319
2320 2004-11-04  André Pönitz  <poenitz@gmx.net>
2321
2322         * undo.h:
2323         * undo.C (textUndoOrRedo): fix crash when creating undo information.
2324
2325         * dociterator.C (asDocIterator): use hard assert again.
2326
2327 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2328
2329         * lyxlength.C (asLatexString): rewrite so that it does not use
2330         snprintf anymore
2331
2332 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2333
2334         * text3.C (specialChar, dispatch): make sure cursor moves to the
2335         right after inserting an inset
2336
2337 2004-11-02  José Matos  <jamatos@lyx.org>
2338
2339         * output_docbook.C (docbook):
2340         * paragraph.C (getID):
2341         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2342         garantee that the output is always legal.
2343
2344         * tabular.C (docbook):
2345         * outputprams.[Ch]: remove mixed contents.
2346
2347 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2348
2349         * text2.C (setCounter): prevent endless loop
2350
2351 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2352
2353         * exporter.C (copyFile): use the mover instead of support::copy()
2354         * exporter.C (Export): pass format and latex name to copyFile()
2355         * exporter.h (addExternalFile): document
2356         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2357
2358 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2359
2360         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2361
2362 2004-10-30  José Matos  <jamatos@lyx.org>
2363
2364         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2365         text and no inset or font change. This allows to use CDATA
2366         sections just for the whole paragraph.
2367
2368 2004-10-30  José Matos  <jamatos@lyx.org>
2369
2370         * paragraph.C (getFirstWord): remove unused variable.
2371
2372 2004-10-30  José Matos  <jamatos@lyx.org>
2373
2374         * paragraph.C (getFirstWord): the content should always be escaped
2375         there.
2376         (simpleDocBookOnePar):
2377         * output_docbook.C (makeEnvironment): replace reference to CDATA
2378         to style pass_thru.
2379
2380 2004-10-30  José Matos  <jamatos@lyx.org>
2381
2382         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2383
2384 2004-10-30  José Matos  <jamatos@lyx.org>
2385
2386         * output_docbook.C (makeParagraphs):
2387         * paragraph.[Ch] (emptyTag): for docbook and company, if the
2388         standard paragraph has only a given type of content drop the wrapper.
2389
2390 2004-10-29  José Matos  <jamatos@lyx.org>
2391
2392         * output_docbook.C (makeEnvironment):
2393         * sgml.C (openTag):
2394         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2395
2396 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
2397
2398         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2399         (cleanID): sanitize any id.
2400
2401 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2402
2403         * buffer.C, lyxlex_pimpl.C:
2404         * lyxlex_pimpl.C (setFile):
2405         s/getExtFromContents/getFormatFromContents/
2406
2407 2004-10-28  José Matos  <jamatos@lyx.org>
2408
2409         * output_docbook.C (makeEnvironment): move id to broadest possible
2410         scope.
2411
2412         * sgml.C (openTag): apply substitution of <> for all attributes.
2413
2414 2004-10-28  José Matos  <jamatos@lyx.org>
2415
2416         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2417         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2418         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2419
2420         * sgml.[Ch]: new version for open and closeTag for paragraph and
2421         for strings. Now they handle the ids of paragraphs.
2422
2423 2004-10-26  Angus Leeming  <leeming@lyx.org>
2424
2425         * Makefile.am: add mover.[Ch].
2426
2427         * converter.C (convert, move): use the new Movers to move external
2428         files to the temp directory.
2429
2430         * lyx_main.C (init): ensure that the global system_movers data
2431         is initialised.
2432
2433         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2434         preferences file.
2435
2436         * mover.[Ch]: new files, defining a Mover as a utility to move an
2437         external file between directories and, if necessary, manipulate this
2438         file using a helper script.
2439
2440 2004-10-25  José Matos  <jamatos@lyx.org>
2441
2442         * output_docbook.C (makeCommand): merge two if's that tested the
2443         same condition.
2444
2445 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2446
2447         * sgml.C (escapeString): fix warning in a better way
2448
2449 2004-10-25  José Matos  <jamatos@lyx.org>
2450
2451         * sgml.C (escapeString): import the require boosts header file for
2452         tie, and avoid a signed unsigned comparison.
2453
2454 2004-10-25  José Matos  <jamatos@lyx.org>
2455
2456         * sgml.h: add #include <string>
2457
2458 2004-10-25  José Matos  <jamatos@lyx.org>
2459
2460         * sgml.[Ch] (escapeString): new function to escape all the string.
2461
2462 2004-10-24  José Matos  <jamatos@lyx.org>
2463
2464         * paragraph.[Ch] (getFirstWord): new function to get the first
2465         word. Useful for description.
2466         (simpleDocBookOnePar): remove depth argument, add another that
2467         says where to start the paragraph.
2468
2469         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2470         use the new functions to fix cleanly the support for descriptions.
2471
2472 2004-10-24  José Matos  <jamatos@lyx.org>
2473
2474         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2475         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2476         * output_linuxdoc.C (linuxdocParagraphs):
2477         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2478         add buffer as argument.
2479
2480 2004-10-24  José Matos  <jamatos@lyx.org>
2481
2482         * output_docbook.C (makeEnvironment, searchEnvironment): place
2483         CDATA inside paragraphs and fix scope for listitems.
2484
2485 2004-10-24  José Matos  <jamatos@lyx.org>
2486
2487         * output_docbook.C: remove using statement for stack.
2488
2489 2004-10-23  José Matos  <jamatos@lyx.org>
2490
2491         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2492         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2493         docbook. The new scheme is recursive and makes use of iterators, the
2494         same as latex export works.
2495         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2496         directly with the paragraph contents. This code was moved up to
2497         output_docbook.C (docbookParagraphs).
2498         * sgml.C (openTag, closeTag): removed unneeded newlines.
2499         (closeEnvTags) removed.
2500
2501 2004-10-23  André Pönitz  <poenitz@gmx.net>
2502
2503         * undo.C (textUndoOrRedo):
2504         * dociterator.C (asDocIterator): work around crash
2505
2506         * cursor.C (getStatus): replace ASSERT by more verbose error message
2507           and manual correction of the problem. Should increase stability
2508           while providing more sensible information.
2509
2510 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2511
2512         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2513
2514         * bufferlist.C (previous, next): new methods
2515
2516         * lfuns.h:
2517         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2518
2519 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
2520
2521         * buffer.C (makeDocBookFile): add dsssl stylesheet control
2522         entities to preamble.
2523
2524 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2525
2526         * messages.C (Pimpl): strip off translation context information
2527
2528 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2529
2530         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2531         the cursor is correct (bug 1694)
2532
2533 2004-10-13  José Matos  <jamatos@lyx.org>
2534
2535         * output_docbook.C (docbookParagraphs): fix closing tags in the
2536         end of the document.
2537
2538 2004-10-09  José Matos  <jamatos@lyx.org>
2539
2540         * buffer.C: format up to 237.
2541         * bufferparams.C (write): use tostr to convert booleans to strings.
2542
2543 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
2544
2545         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2546
2547 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
2548
2549         * LaTeX.C: implement use of babel language in xindy.
2550
2551 2004-10-05  José Matos  <jamatos@lyx.org>
2552
2553         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2554         Add new translators to help reading and writing the lyx file.
2555
2556 2004-10-05  José Matos  <jamatos@lyx.org>
2557
2558         * ParagraphParameters.C (read):
2559         * text.C (readParToken): replace nexToken by more appropriate lex
2560         methods.
2561
2562 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
2563
2564         * LaTeX.C (runMakeIndex):
2565         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2566         (usually 'makeindex') configurable.
2567
2568         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2569         with a variable rather than with a number.
2570
2571 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2572
2573         * output_latex.C (TeXOnePar): make sure font setting is the first
2574         thing that gets output (and the last at the end). Should fix bug
2575         1404.
2576
2577 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2578
2579         * pch.h: use proper signal include
2580
2581         * LaTeX.h: Use preferred calling of Boost.Signal
2582         * buffer.h: ditto
2583
2584 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2585
2586         * pch.h: dont include <boost/function/function0.hpp>
2587
2588         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2589
2590         * paragraph_pimpl.h: remove usage of ShareContainer
2591
2592         * paragraph_pimpl.C: remove initialization of ShareContainer.
2593
2594 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2595
2596         Fix bug #1666
2597
2598         * BufferView.C (putSelectionAt): change the semantics when
2599         backwards == true: now, this just swaps cursor and anchor wrt the
2600         forward case
2601
2602         * BufferView.h (putSelectionAt): add some documentation
2603
2604         * lyxfind.C (findBackwards): rewrite using while(). In particular,
2605         make sure backwardChar is done at least once (to avoid getting
2606         stuck)
2607         (findNextChange): use putSelectionAt in the forward direction
2608         (operator()): use Paragraph::isWord
2609
2610 2004-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2611
2612         * Spacing.C (set): c_str fix
2613
2614 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2615
2616         * lyx_cb.C (Reconfigure): quote the name of configure script in
2617         case it contains spaces
2618
2619 2004-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2620
2621         * client: new dir
2622
2623         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2624         (BOOST_LIBS): use top_buildir when looking for the file
2625
2626 2004-08-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2627
2628         * pch.h: do not use include boost/format.hpp, multiple symbols
2629                 will result (gcc bug)
2630
2631
2632 2004-08-23  José Matos  <jamatos@lyx.org>
2633
2634         * bufferparams.C (readToken): fix reading of the author field.
2635
2636 2004-08-20  José Matos  <jamatos@lyx.org>
2637
2638         * lyxrc.C: remove support/translator.h inclusion since it is not used.
2639
2640 2004-08-20  José Matos  <jamatos@lyx.org>
2641
2642         * lyxlex.[Ch] (findToken): remove function.
2643
2644         * ParagraphParameters.C (findToken):
2645         * bufferparams.C (findToken): replace call for previous function
2646         with local copy. This local function has one more argument, the
2647         read string argument.
2648
2649 2004-08-16  José Matos  <jamatos@lyx.org>
2650
2651         * ParagraphParameters.C (write):
2652         * Spacing.C (writeFile):
2653         * bufferparams.C (writeLaTeX):
2654         * lyx_cb.C (Reconfigure):
2655         * paragraph.C (write):
2656         * tabular.C (write): remove unnecessary space at end of line.
2657
2658
2659 2004-08-16  José Matos  <jamatos@lyx.org>
2660
2661         * text.C (readParagraph): remove debug message.
2662
2663 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2664
2665         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2666         crash
2667
2668         * output_plaintext.C (asciiParagraph): set depth correctly
2669
2670         * outputparams.h: add member depth
2671
2672         * paragraph_funcs.C (ownerPar): remove.
2673
2674         * text2.C (setCounter): remove first_pit; comment out some
2675         non-working code that uses ownerPar
2676
2677         * BufferView.C (getParentLanguage): remove. Not used anymore, and
2678         uses ownerPar
2679
2680 2004-08-16  José Matos  <jamatos@lyx.org>
2681
2682         * text.C (readParToken, readParagraph, read): report all unknown tokens.
2683         For the same level of importance use the same chanel to report problems.
2684         (read): add code to deal with \begin_body and \end_body.
2685
2686
2687 2004-08-15  José Matos  <jamatos@lyx.org>
2688
2689         * lyxlex.C (getString): fix comment, buffer::readBody is now
2690         buffer:readDocument.
2691
2692         * tex-strings.C (string_papersize): Default -> default,
2693         Custom -> custom, for consistency with other options.
2694
2695 2004-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2696
2697         * pch.h: new file
2698
2699         * Makefile.am: support pch
2700
2701 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2702
2703         * text.C (readParToken): remove the static LyXFont variable and
2704         pass it as a parameter instead. This fixes a nasty bug where an
2705         inset will be inserted with a bad font in some situations
2706         (readParagraph): adapt
2707
2708         * text2.C (setCounter): reduce number of calls to pars_[pit]
2709
2710         * text.C (singleWidth): add an assert, fix a test
2711
2712         * rowpainter.C (paintText): reduce number of calls to singleWidth
2713
2714         * paragraph.C (isHfill):
2715         (isNewline): ws only
2716
2717 2004-08-14  André Pönitz  <poenitz@gmx.net>
2718
2719         * text.C:
2720         * text2.C:
2721         * rowpainter.C:
2722         * lyxtext.h (several functions): use a Paragraph & argument
2723         instead of par_type
2724
2725 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2726
2727         * metricsinfo.h: add a new field ltr_pos to PainterInfo
2728
2729         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2730
2731         * text.C (singleWidth): remove useless test
2732
2733 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2734
2735         * tabular.h: remove bogus comments
2736
2737         * tabular.C (getDescentOfRow):
2738         (isPartOfMultiColumn): add assertions
2739
2740         * lyxlength.C (inPixels): remove #warning
2741
2742 2004-08-14  André Pönitz  <poenitz@gmx.net>
2743
2744         * paragraph.h: inline getChar()
2745
2746         * BufferView.h: remove unused declarations
2747
2748 2004-08-14  José Matos  <jamatos@lyx.org>
2749
2750         * Buffer.[Ch] (readDocument): new name for old readBody.
2751         * Buffer.C: new file format, new keywords: \begin_document,
2752         \begin_header, \begin_body, \end_body.
2753
2754         * bufferparams.C (readToken): replace all calls to lex.nextToken
2755         by lex.next(). Do the same to eatLine except where really needed.
2756
2757         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2758         line when writing to the lyx file.
2759
2760         * output_plaintext.C (asciiParagraph): fix Bibliography style
2761         handling.
2762
2763         * text.C (read): fix end of file handling.
2764
2765 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2766
2767         * MenuBackend.C (Menu::operator[]): new method to access
2768         individual menu items
2769         (Menu::hasFunc): new method. search for an item that corresponds
2770         to a given func
2771         (MenuBackend::specialMenu): new method
2772         (MenuBackend::expand): if a special menu has been set, skip
2773         entries whose func() appears in this menu
2774
2775 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2776
2777         * text3.C: use Debug::DEBUG a bit more
2778
2779         * text.C (leftMargin): try to simplify a tiny bit change var x to
2780         l_margin. Dont output the wide margins always.
2781         (rightMargin): no margin in inner texts
2782
2783         * rowpainter.h (nestMargin): new func
2784         (changebarMargin): new func
2785         (rightMargin): new func
2786
2787         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2788         now functions.
2789         (paintLast): ditto
2790
2791         * factory.C (createInset): modify setDrawFrame
2792
2793         * cursor.C: use Debug::DEBUG a bit more
2794
2795 2004-08-14  André Pönitz  <poenitz@gmx.net>
2796
2797         * coordcache.[Ch]:
2798         * Makefile.am: new files to accomodate an 'external' (x,y)-position
2799         cache for all insets in (at least partially) visible (top-level)
2800         paragraphs.
2801
2802         * BufferView_pimpl.C: reset external coord cache before every update.
2803         This means the coord cache only contains valid entries.
2804
2805 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2806
2807         bug 1096
2808         * BufferView_pimpl.C (getInsetByCode): move function out of class
2809         and change in to a template in anon namespace. Also fix to do what
2810         suits us better.
2811
2812 2004-08-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
2813
2814         bug 1305
2815         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2816         of char
2817         (breakParagraph): rename par to par_offset and use a local
2818         reference. Add code to keep the language over a rebreak.
2819         (breakParagraphConservative): rename par to par_offset, use a
2820         local reference
2821         (mergeParagraph): ditto
2822         (outerHook): ditto
2823         (isFirstInSequence): ditto
2824         (outerFont): rename pit to par_offset
2825
2826         * paragraph.C: ws change
2827         * paragraph.h: ditto
2828         * text3.C: ditto
2829         * text.C: ditto
2830
2831 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2832
2833         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2834         treatment for ']'
2835
2836         * paragraph.C (simpleTeXOnePar): when we have a \item with
2837         optional argument, enclose the argument with curly brackets (in
2838         case it contains a closing square bracket)
2839
2840         * text2.C (editXY):
2841         * text2.C (editXY):
2842         * text3.C (checkInsetHit): constify
2843
2844 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2845
2846         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2847         documents (bug 1629)
2848
2849 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2850
2851         Fix toggling of collapsable insets with the mouse (bug 1558)
2852
2853         * lyxfunc.C (dispatch): adapt to LCursor changes
2854
2855         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2856         make sure that dispatch is not invoked twice
2857
2858         * cursor.C (needsUpdate): new method
2859         (dispatch): return void
2860         (result): new method, to access the DispatchResult of the cursor.
2861
2862 2004-08-13  José Matos  <jamatos@lyx.org>
2863
2864         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2865
2866 2004-08-13  André Pönitz  <poenitz@gmx.net>
2867
2868         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2869
2870         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2871           multiple cells
2872
2873 2004-08-12  André Pönitz  <poenitz@gmx.net>
2874
2875         * text3.C: take out the 'cursor right' form insertInset and only
2876         do it in those places when it is really needed. Fixes crash on
2877         C-m...
2878
2879 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2880
2881         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2882
2883         * BufferView_pimpl.C (setBuffer): initialize the current font of
2884         the underlying LyXText
2885
2886 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2887
2888         * kbsequence.C (print): use UI native formatting for menu
2889         shortcuts
2890
2891         * text.C (insertChar): call Paragraph::insertChar with a font
2892         argument (cosmetic)
2893
2894         * paragraph.C (insertInset, insertChar): the version that takes a
2895         LyXFont argument is now a wrapper around the other one (the
2896         opposite used to be true).
2897
2898         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2899         argument. Font setting is done in Paragraph now.
2900
2901 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2902
2903         * outputparams.h: add new members intitle and lang.
2904
2905         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2906         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2907
2908 2004-08-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2909
2910         * text3.C (dispatch): remove special handling of button 4 and 5,
2911         it is now taken care of in the frontend code.
2912
2913 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2914
2915         * Spacing.h: add <string> (STLPort compile fix)
2916
2917 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2918
2919         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2920
2921 2004-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2922
2923         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2924         to bool.
2925
2926         * converter.C (showMessage): inherit from unary_function, make
2927         operator() const.
2928
2929         * buffer.C (writeFile): initialize retval
2930
2931         * InsetList.h: rename private variable list to list_
2932         * InsetList.[Ch]: adjust accordingly.
2933
2934 2004-07-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2935
2936         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2937         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2938         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2939         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2940         * ParagraphParameters.C, LaTeXFeatures.C: replace
2941         "support/std_sstream.h" with <sstream>
2942
2943 2004-07-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2944
2945         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2946         * lyxsocket.C (LyXServerSocket): ditto
2947         (serverCallback): ditto
2948
2949 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2950
2951         * LaTeXFeatures.C: check release date when loading jurabib.
2952
2953 2004-07-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2954
2955         * lyxserver.C (startPipe): call register_socket_callback
2956         (endPipe): call unregister_socket_callback
2957
2958 2004-07-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2959
2960         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2961         (LyXServerSocket): register the callback
2962         (LyXServerSocket): unregister the callback
2963         (fd): delete function
2964         (serverCallback): improve error checking and setup the callbacks.
2965         (dataCallback): change arg to fd.
2966         (writeln): new func (copied fro the client socket) used for server
2967         write to client.
2968         (LyXDataSocket): simplify
2969         (~LyXDataSocket): close ann unregiser callback
2970         (server): delete function
2971         (fd): delete function
2972         (readln): small changes, improve some std::string usage
2973         (writeln): constify a bit
2974
2975 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2976
2977         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2978         Qt frontend
2979
2980 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2981
2982         * BufferView_pimpl.C (setBuffer): set the layout combox value only
2983         after it has been populated
2984
2985 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2986
2987         * text2.C (insertInset): move cursor when inserting inset.
2988
2989 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2990
2991         * kbmap.C (findbindings): a couple of new methods. returns a
2992         container of kb_sequence objects. The real work is done by the
2993         private recursive version
2994         (printbindings): uses findbindings to print out a bracketed list
2995         of bindings (renamed from findbinding).
2996
2997         * MenuBackend.C (binding): use kb_keymap::findbindings
2998
2999         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
3000
3001 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3002
3003         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
3004
3005 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3006
3007         * paragraph.C (isWord): return true on insets that report
3008         isLetter().
3009
3010         * text.C (getWord): use Paragraph::isWord to decide what is in a
3011         word and what is not; fix bug 1609.
3012
3013 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3014
3015         * tex-strings.C: add "none" to string_paperpackages[], fixes
3016         off-by-one-error in the paperpackage selection.
3017
3018         * lyxlex.[Ch]:
3019         * tex-strings.[Ch]: char const * string[n]
3020         -> char const * const string[]
3021
3022 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3023
3024         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
3025         command, return early.
3026
3027 2004-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3028
3029         * debug.h: add DEBUG to enum and fix size of ANY.
3030
3031         * debug.C: add support for Debug::DEBUG
3032         (showTags): cast errorTags.level to unsigned int
3033
3034         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
3035         (redoCurrentBuffer): ditto
3036         (updateScrollbar): ditto
3037         * cursor.C (dispatch): ditto
3038         * text2.C (setLayout): ditto
3039         (setFont): ditto
3040         (updateCounters): ditto
3041         (editXY): ditto
3042         (deleteEmptyParagraphMechanism): ditto
3043
3044 2004-06-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3045
3046         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
3047         annotations to cleanup the Makefile slightly.
3048
3049 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3050
3051         * lyxrc.C: do not set user_email to a default value but use empty
3052         instead. The entry used to be translated, which does not work
3053         since at the point where lyxrc is constructed there is no
3054         translation service available
3055
3056         * messages.C (getLocaleDir): remove and use directly
3057         lyx_localedir() instead
3058
3059 2004-06-02  Angus Leeming  <leeming@lyx.org>
3060
3061         Fix crash caused by dereferencing null pointer 'exportdata' in
3062         OutputParams by creating a new ExportData variable on the heap,
3063         storing it in a boost::shared_ptr.
3064         The crash was triggered when generating an Instant Preview
3065         of an external inset.
3066
3067         * Makefile.am: add outputparams.C
3068
3069         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
3070         (c-tor): allocate memory to it.
3071
3072         * exporter.C (c-tor): associated changes.
3073
3074 2004-06-01  Angus Leeming  <leeming@lyx.org>
3075
3076         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
3077         contains data before calling isInset(0). (Bug 1513.)
3078
3079 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3080
3081         * exporter.C (checkOverwrite): new method
3082         * exporter.C (copyFile): new method
3083         * exporter.C (Export): copy referenced files to the document dir
3084         * exporter.[Ch]: new class ExportedFile
3085         * exporter.[Ch]: new class ExportData. Contains currently the
3086         names of referenced external files
3087         * outputparams.h: add exportdata member.
3088
3089 2004-05-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3090
3091         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
3092         version.C-tmp
3093
3094 2004-05-19  Angus Leeming  <leeming@lyx.org>
3095
3096         * LaTeXFeatures.C:
3097         * ToolbarBackend.C:
3098         * bufferparams.C:
3099         * lyxfunc.C: small changes due to the introduction of namespace
3100         lyx::frontend and the moving of namespace biblio to lyx::biblio.
3101
3102 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
3103
3104         * text3.C (dispatch): supress update when only moving the cursor
3105         * cursor.C (selHandle): remove commented code
3106
3107 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3108
3109         * paragraph.C (startTeXParParams): correct column count
3110         * CutAndPaste.C (pasteSelection): remove const_cast
3111         * output_docbook.C (docbookParagraphs): remove const_cast
3112         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
3113         const_cast and return ParagraphList::const_iterator
3114         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
3115         * output_plaintext.C (writeFileAscii): remove const_cast
3116         * paragraph.[Ch] (simpleTeXOnePar): make const
3117         * paragraph_funcs.C (outerPar): use const iterators
3118         * paragraph_pimpl.C (validate): use const iterators
3119         * text.C (setHeightOfRow): use const iterators
3120
3121 2004-05-17  Angus Leeming  <leeming@lyx.org>
3122
3123         * lfuns.h:
3124         * LyXAction.C (init): new LFUN_INSET_REFRESH.
3125
3126         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
3127         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
3128         if the citation engine has changed.
3129
3130 2004-05-14  José Matos  <jamatos@lyx.org>
3131
3132         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
3133         if the textclass does not provide it. Have it different for sgml and
3134         xml.
3135         support the language of document.
3136         * output_docbook.C (docbookParagraphs):
3137         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
3138         first anchor as the id of the paragraph, remove special case code.
3139         * sgml.C (escapeChar): escape only < & >.
3140
3141 2004-05-14  Angus Leeming  <leeming@lyx.org>
3142
3143         * bufferparams.h: move biblio::CiteEngine enum here to minimize
3144         dependencies on src/frontends/controllers/biblio.h. Define a
3145         CiteEngine_enum wrapper class to enable the enum to be forward
3146         declared.
3147
3148 2004-05-12  Angus Leeming  <leeming@lyx.org>
3149
3150         * buffer.C: up LYX_FORMAT to 234.
3151         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
3152         use_numerical_citations with a single biblio::CiteEngine cite_engine
3153         variable.
3154         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
3155
3156 2004-05-13  José Matos  <jamatos@lyx.org>
3157
3158         * converter.h:
3159         * converter.C (Converter, readFlags): add xml member.
3160         * outputparams.h: add XML flavor.
3161         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
3162
3163 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3164
3165         * lyxfunc.C (dispatch):
3166         (getStatus): fix handling of LFUN_SEQUENCE
3167
3168 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3169
3170         * debug.C (showLevel): do not forget the end-of-line marker
3171
3172 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3173
3174         * kbmap.C (read): do not stop parsing a bind file when an error
3175         occurs (bug 1575)
3176
3177 2004-04-29  Angus Leeming  <leeming@lyx.org>
3178
3179         * cursor.C:
3180         * factory.C:
3181         * pariterator.C:
3182         * text2.C: wrap a bunch of #warning statements
3183         inside #ifdef WITH_WARNINGS blocks.
3184
3185 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3186
3187         * buffer.C: increment format to 233.
3188
3189 2004-04-28  Angus Leeming  <leeming@lyx.org>
3190
3191         * BufferView_pimpl.C:
3192         * lyxfunc.C:
3193         * text3.C:
3194         s/updateToolbar()/updateToolbars()/
3195         s/Toolbar.h/Toolbars.h/
3196
3197 2004-04-28  Angus Leeming  <leeming@lyx.org>
3198
3199         * BufferView.[Ch] (c-tor):
3200         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
3201         No longer passes these data to the WorkArea generator.
3202
3203 2004-04-28  Angus Leeming  <leeming@lyx.org>
3204
3205         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
3206
3207 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3208
3209         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
3210
3211 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3212
3213         * output_latex.C (TeXEnvironment): make sure that there is a line
3214         break before \end{foo} for the last paragraph of a document
3215         (TeXOnePar): if the paragraph is at the end of the document (or
3216         inset) and the language has to be reset, then make sure that the
3217         line break is _before_ the language command, not after (fixes bug
3218         1225); also make sure that the language reset command is the first
3219         thing after the paragraph (to ensure proper nesting of
3220         environments and thus fix bug 1404)
3221
3222 2004-04-21  John Levon  <levon@movementarian.org>
3223
3224         * ToolbarBackend.h:
3225         * ToolbarBackend.C: make "name" be a programmatic name
3226         and a gui_name field.
3227
3228         * lyxfunc.C: display the minibuffer on M-x
3229
3230 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3231
3232         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3233         (bug 1526)
3234
3235 2004-04-19  Angus Leeming  <leeming@lyx.org>
3236
3237         * BufferView_pimpl.C (setBuffer): changed preview interface.
3238
3239         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3240         possible values.
3241
3242 2004-04-19  John Levon  <levon@movementarian.org>
3243
3244         * BufferView_pimpl.C:
3245         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3246
3247 2004-04-05  Angus Leeming  <leeming@lyx.org>
3248
3249         * text.C (redoParagraphs): add call to updateCounters(), thereby
3250         fixing the missing "Figure #:" label from the caption of a
3251         figure float.
3252
3253 2004-04-13  Angus Leeming  <leeming@lyx.org>
3254
3255         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3256         cursor is clicked out of an inset.
3257
3258 2004-04-13  Angus Leeming  <leeming@lyx.org>
3259
3260         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3261         than an InsetOld one.
3262
3263 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3264
3265         * format.[Ch]: add editor to Format
3266         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3267         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3268
3269 2004-04-08  André Pönitz  <poenitz@gmx.net>
3270
3271         * metricsinfo.h: remove PainterInfo::width member
3272
3273 2004-04-08  Angus Leeming  <leeming@lyx.org>
3274
3275         * lyx_sty.C (boldsymbol_def): modify so that it outputs
3276         "\providecommand" rather than "\newcommand", thereby preventing
3277         clashes with packages that define "\boldsymbol" themselves.
3278         Eg, beamer.
3279
3280 2004-04-08  Angus Leeming  <leeming@lyx.org>
3281
3282         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3283         thereby squashing an unnecessary warning.
3284
3285 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3286
3287         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3288         setBuffer()
3289
3290 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
3291
3292         * BufferView.C (setCursor): call redoParagraph (some insets could
3293         have been opened)
3294         (putSelectionAt): remove the 'double update' trick
3295
3296         * BufferView_pimpl.C (fitCursor): call refreshPar
3297         (workAreaDispatch): remove an uneeded update call
3298         (dispatch): remove some manual update calls
3299
3300         * cursor.[Ch]: remove cached_y_, updatePos
3301         (selHandle): set noUpdate when appropriate
3302
3303         * lyxfunc.C (dispatch): track if we need an update
3304
3305         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3306
3307         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3308         (paintSelection): cheap optimization, do not call cursorX when not
3309         needed
3310         (paintPars): change signature
3311         (refreshPar): add
3312         (paintText): adjust
3313         (paintTextInset): adjust
3314
3315         * text.C: adjust
3316
3317 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3318
3319         * lengthcommon.C: compilation fix: remove explicit array size from
3320         unit_name[] and friends
3321
3322 2004-04-05  Angus Leeming  <leeming@lyx.org>
3323
3324         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3325
3326         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3327         present only for the preferences dialog.
3328         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3329
3330 2004-04-05  Angus Leeming  <leeming@lyx.org>
3331
3332         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3333         to enable the frontends to export changes to lyxrc correctly.
3334
3335         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3336
3337 2004-04-07  André Pönitz  <poenitz@gmx.net>
3338
3339         * cursor.[Ch] (selClear, adjust): remove math
3340
3341         * cursor_slice.C: more agressive assert
3342
3343         * lyxfunc.C:
3344         * BufferView_pimpl.C: rework mouse event dispatch
3345
3346         * dociterator.C:
3347         * paragraph.C:
3348         * text2.C:
3349         * text3.C: adjust
3350
3351 2004-04-05  André Pönitz  <poenitz@gmx.net>
3352
3353         * cursor.[Ch] (valign, halign...): remove unneeded functions
3354
3355 2004-04-05  Angus Leeming  <leeming@lyx.org>
3356
3357         * lyxlength.[Ch] (unit_name et al.): const-correct.
3358
3359 2004-04-05  Angus Leeming  <leeming@lyx.org>
3360
3361         * BufferView_pimpl.C:
3362         * buffer.C:
3363         * counters.C:
3364         * cursor.C:
3365         * lyxfunc.C
3366         * paragraph.C:
3367         * pariterator.C:
3368         * text.C:
3369         * text2.C:
3370         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3371
3372 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3373
3374         * text3.C (getStatus): add LFUN_BEGINNINGBUF
3375
3376 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3377
3378         * lyxfind.C: add a couple of inTexted() tests + other small fixes
3379         * BufferView_pimpl.[Ch] (getStatus)
3380         * BufferView.[Ch] (getStatus): add
3381         * lyxfunc.C (getStatus): move lfuns handled in
3382         BufferView::dispatch to te function above
3383         * Cursor.C (setSelection): set selection() = true
3384
3385 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3386
3387         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3388
3389 2004-03-31  Angus Leeming  <leeming@lyx.org>
3390
3391         * lyxfunc.C (dispatch): Fall through to the generic
3392         Dialogs::show("preamble").
3393
3394 2004-03-31  Angus Leeming  <leeming@lyx.org>
3395
3396         * lyxfunc.C (dispatch): Fall through to the generic
3397         Dialogs::show("spellchecker").
3398
3399 2004-03-31  Angus Leeming  <leeming@lyx.org>
3400
3401         * lyxfunc.C (getStatus, dispatch): changed invocation of the
3402         preferences dialog.
3403
3404 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3405
3406         * BufferView.C
3407         * cursor.[Ch]
3408         * dociterator.[Ch]:
3409         * insetiterator.[Ch]:
3410         * lyxfind.C:
3411         * lyxfunc.C:
3412         * pariterator.[Ch]:
3413         * text2.C:
3414         * undo.[Ch]: s/DocumentIterator/DocIterator/g
3415
3416 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3417
3418         * BufferView.C (setCursor, putSelectionAt): call edit to open the
3419         insets where we are putting the cursor.
3420
3421 2004-03-31  Angus Leeming  <leeming@lyx.org>
3422
3423         * lfuns.h:
3424         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3425
3426         * lyxrc.[Ch] (read, write): overloaded member functions taking
3427         a std::[io]stream arguments.
3428
3429         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3430
3431 2004-03-31  Angus Leeming  <leeming@lyx.org>
3432
3433         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3434         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3435
3436         * lyxtextclass.C (load): if the text class couldn't be loaded, then
3437         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3438
3439 2004-03-31  Angus Leeming  <leeming@lyx.org>
3440
3441         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3442         the LFUN_ALL_INSETS_TOGGLE code.
3443
3444 2004-03-30  Angus Leeming  <leeming@lyx.org>
3445
3446         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3447         has died. Fall through to the generic Dialogs::show("document").
3448
3449 2004-03-30  Angus Leeming  <leeming@lyx.org>
3450
3451         * lfuns.h:
3452         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3453         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3454
3455         * lyxfunc.C (getStatus, dispatch): define the actions for these
3456         lfuns. Little more than a cut and pste job from ControlDocument.C
3457
3458         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3459
3460 2004-03-30  Angus Leeming  <leeming@lyx.org>
3461
3462         * lfuns.h:
3463         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3464         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3465
3466         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3467         open/closed state of ollapsable insets. Usage:
3468
3469         all-inset-toggle <state> <name>, where
3470         <state> == "open" || "closed" || "toggle" and
3471         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3472
3473         * lyxtext.h, text2.C (toggleInset): removed.
3474
3475         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3476         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3477         now passes LFUN_INSET_TOGGLE to the found inset.
3478
3479         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3480         is now invoked as "all-insets-toggle toggle branch".
3481
3482 2004-03-30  Angus Leeming  <leeming@lyx.org>
3483
3484         * dociterator.C:
3485         * insetiterator.C:
3486         * pariterator.[Ch]: added/corrected header blurb.
3487
3488 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
3489
3490         * dociterator.[Ch]: add an inset_ member
3491         (backwardPos): implemented
3492         (backwardPos, forwardPos): use inset_ when the stack is empty.
3493         (doc_iterator_begin, doc_iterator_end): implemented
3494         * pariterator.[Ch]: adjust, add begin, end
3495         * insetiterator.[Ch]: adjust, add begin, end
3496         * cursor.C:
3497         * document.C:
3498         * BufferView.C:
3499         * BufferView_pimpl.C:
3500         * CutAndPaste.C: adjust
3501
3502 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3503
3504         * buffer.C: increment file format to 232.
3505         * LaTeXFeatures.C: add bibtopic package.
3506         * bufferparams.[Ch]: param \use_bibtopic.
3507
3508         * lyxrc.[Ch]: add lyxrc bibtex_command
3509         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3510
3511         * buffer.C: increment file format to 231.
3512
3513 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3514
3515         * dociterator.C: implement forwardPar
3516         * iterators.[Ch]: remove, replaced by
3517         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3518         * BufferView.C:
3519         * BufferView_pimpl.C:
3520         * CutAndPaste.C:
3521         * buffer.C:
3522         * bufferview_funcs.C:
3523         * cursor.C:
3524         * lyxfind.C
3525         * lyxfunc.C
3526         * paragraph_funcs.C
3527         * toc.C:
3528         * Makefile.am: adjust
3529
3530 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3531
3532         * CutAndPaste.C (pasteSelection): fix 2 crashes
3533         (eraseSelection): fix a crash
3534         * paragraph_funcs.C: remove a warning
3535
3536 2004-03-28  Angus Leeming  <leeming@lyx.org>
3537
3538         * lfuns.h:
3539         * LyXAction.C (init): new LFUN_PRINT.
3540
3541         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3542
3543 2004-03-27  Angus Leeming  <leeming@lyx.org>
3544
3545         * lfuns.h:
3546         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3547
3548         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3549
3550 2004-03-27  Angus Leeming  <leeming@lyx.org>
3551
3552         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3553         insetlist always contains non-null pointers to insets.
3554
3555 2004-03-26  Angus Leeming  <leeming@lyx.org>
3556
3557         * src/BufferView_pimpl.C:
3558         * src/CutAndPaste.C:
3559         * src/buffer.C:
3560         * src/iterators.C:
3561         * src/output_plaintext.C:
3562         * src/outputparams.h:
3563         * src/paragraph_funcs.C:
3564         * src/rowpainter.C:
3565         * src/text.C:
3566         * src/text2.C:
3567         * src/frontends/controllers/ControlErrorList.C:
3568         * src/frontends/gtk/FileDialogPrivate.C:
3569         * src/frontends/gtk/GPainter.C:
3570         * src/frontends/gtk/GToolbar.C:
3571         * src/frontends/qt2/QRef.C:
3572         * src/mathed/math_scriptinset.C: squash compiler warnings.
3573
3574 2004-03-26  Angus Leeming  <leeming@lyx.org>
3575
3576         * ispell.C (LaunchIspell::start):
3577         * lyx_cb.C (AutoSaveBuffer::start):
3578         invoke run(DontWait) rather than runNonBlocking().
3579
3580 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
3581
3582         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3583
3584 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3585
3586         * kbsequence.C (print): adjust
3587
3588         * kbmap.C (printKeySym): rename and change signature
3589         (printKey): use LyXKeySym::print()
3590
3591 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
3592
3593         * undo.C: add using std::advance to compile for stlport
3594
3595 2004-03-24  Angus Leeming  <leeming@lyx.org>
3596
3597         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3598         it leads to a crash when no buffer is present.
3599
3600 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3601             Martin Vermeer  <martin.vermeer@hut.fi>
3602
3603         * lyxfunc.C (dispatch):
3604         * bufferparams.C (readToken): use the new LColor::setColor
3605
3606         * LColor.[Ch] (setColor): new version that takes two strings as
3607         argument and creates a new color entry if necessary
3608
3609 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3610
3611         * buffer.C (makeLaTeXFile): if the main latex file that is
3612         processed is usually a subdocument of some master, then pretend
3613         for a while that it is actually the master
3614
3615 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3616
3617         * buffer.C (getLabelList):
3618         (getBibkeyList): use getMasterBuffer()
3619         (getMasterBuffer): new method. Returns the main document in the
3620         case where one is using included documents.
3621
3622 2004-03-25  André Pönitz  <poenitz@gmx.net>
3623
3624         * Makefile.am:
3625         * iterators.[Ch]:
3626         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3627
3628         * ParagraphList_fwd.h: change ParagraphList to a std::vector
3629
3630         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3631         text*.C over here. Rename namespace CutAndPaste to lyx::cap
3632
3633         * ParameterStruct.h: merge with ParagraphParameters
3634
3635         * lyxtext.h: remove LyXText::parOffset() and getPar()
3636
3637         * text3.C: Remove all 'manual' update calls. We do now one per user
3638         interaction which is completely sufficient.
3639
3640         * Bidi.C:
3641         * BufferView.[Ch]:
3642         * BufferView_pimpl.C:
3643         * FontIterator.[Ch]:
3644         * MenuBackend.C:
3645         * ParagraphParameters.[Ch]:
3646         * buffer.C:
3647         * buffer.h:
3648         * bufferlist.C:
3649         * cursor.[Ch]:
3650         * cursor_slice.[Ch]:
3651         * dociterator.[Ch]:
3652         * errorlist.[Ch]:
3653         * factory.C:
3654         * lfuns.h:
3655         * lyxfind.C:
3656         * lyxfunc.C:
3657         * output_docbook.[Ch]:
3658         * output_latex.[Ch]:
3659         * output_linuxdoc.[Ch]:
3660         * output_plaintext.[Ch]:
3661         * paragraph.[Ch]:
3662         * paragraph_funcs.[Ch]:
3663         * paragraph_pimpl.[Ch]:
3664         * rowpainter.C:
3665         * tabular.[Ch]:
3666         * text.C:
3667         * text2.C:
3668         * toc.C:
3669         * undo.[Ch]: adjust
3670
3671         * frontends/controllers/ControlDocument.C:
3672         * frontends/controllers/ControlErrorList.C:
3673         * frontends/controllers/ControlSpellchecker.C:
3674         * insets/inset.C:
3675         * insets/inset.h:
3676         * insets/insetbase.h:
3677         * insets/insetbibitem.C:
3678         * insets/insetbox.C:
3679         * insets/insetbranch.C:
3680         * insets/insetcaption.C:
3681         * insets/insetcharstyle.C:
3682         * insets/insetcharstyle.h:
3683         * insets/insetcollapsable.C:
3684         * insets/insetcollapsable.h:
3685         * insets/insetert.C:
3686         * insets/insetfloat.C:
3687         * insets/insetfoot.C:
3688         * insets/insetmarginal.C:
3689         * insets/insetnote.C:
3690         * insets/insetoptarg.C:
3691         * insets/insettabular.C:
3692         * insets/insettext.C:
3693         * insets/insettext.h:
3694         * insets/insetwrap.C:
3695         * mathed/math_mboxinset.C:
3696         * mathed/math_nestinset.C:
3697         * mathed/math_scriptinset.C:
3698         * mathed/math_scriptinset.h:
3699         * support/types.h:
3700
3701 2004-03-24  Angus Leeming  <leeming@lyx.org>
3702
3703         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3704         deal with any child processes that have finished but are waiting to
3705         communicate this fact to the rest of LyX.
3706
3707 2004-03-24  Angus Leeming  <leeming@lyx.org>
3708
3709         64-bit compile fixes.
3710
3711         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3712         (c-tor): pass lyx::pos_types rather than ints.
3713
3714         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3715         lyx::pos_type.
3716
3717         * text.C (Delete): compile fix.
3718         (getPar): ensure that function declaration is the same as that in
3719         the header file.
3720
3721 2004-03-23  Angus Leeming  <leeming@lyx.org>
3722
3723         * ispell.C (LaunchIspell):
3724         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3725         a boost::shred_ptr rather than a std::auto_ptr.
3726
3727 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3728
3729         * lyxfunc.C (getStatus): handle read-only buffers correctly;
3730         handle LFUN_FILE_INSERT_*
3731
3732         * lyxrc.C (setDefaults, getDescription, output, read):
3733         * lyxrc.h: remove ps_command
3734
3735 2004-03-22  Angus Leeming  <leeming@lyx.org>
3736
3737         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3738         Ensure that error_handler is processed once only and that all data
3739         is saved before attempting to output any warning messages.
3740
3741         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3742
3743 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
3744
3745         * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3746
3747 2004-03-19  André Pönitz  <poenitz@gmx.net>
3748
3749         * cursor.[Ch] (reset): take main text inset as argument
3750
3751         * BufferView: adjust
3752         * BufferView_pimpl.C: adjust
3753
3754         * paragraph.[Ch]: fix completely broken operator=()
3755
3756 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3757
3758         * LColor.C (getFromLyXName): make sure that the color name is used
3759         as lowercase.
3760
3761 2004-03-17  Angus Leeming  <leeming@lyx.org>
3762
3763         * lfuns.h:
3764         * LyXAction.C (init): remove LFUN_FORKS_KILL.
3765
3766         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3767         dialog and to kill a forked process.
3768
3769 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3770
3771         * text2.C (setCursorFromCoordinates): fix font problem
3772
3773 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3774
3775         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3776         bogus "rebuild cursor" code
3777
3778 2004-03-11  André Pönitz  <poenitz@gmx.net>
3779
3780         * buffer.[Ch]: use InsetText instead of LyXText as container for
3781         the main lyx text.
3782
3783         * dociterator.[Ch]: drop the BufferView * member which is not needed
3784         anymore after the change to buffer.C
3785
3786         * paragraph_funcs.C:
3787         * text.C:
3788         * text2.C:
3789         * BufferView.[Ch]:
3790         * BufferView_pimpl.[Ch]:
3791         * cursor.[Ch]:
3792         * cursor_slice.[Ch]: adjust
3793
3794         * text3.C: fix bug in mathDispatch
3795
3796 2004-03-08  André Pönitz  <poenitz@gmx.net>
3797
3798         * undo.[Ch]: use 'StableDocumentIterator' as base for
3799         the Undo struct.
3800
3801 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3802
3803         * LaTeXFeatures.C:
3804         * bufferparams.[Ch]: add jurabib support and param.
3805
3806         * LaTeX.C: add FIXME/comment.
3807
3808 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3809
3810         * buffer.C: increment file format to 230.
3811
3812 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
3813
3814         * cursor.C (dispatch): avoid infinite loops
3815
3816 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3817
3818         * rowpainter.C (paintSelection): fix x coordinates
3819
3820 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3821
3822         * text.C (rowBreakPoint): fix breaking before displayed insets
3823
3824 2004-03-01  André Pönitz  <poenitz@gmx.net>
3825
3826         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3827
3828         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3829
3830         * Makefile.am:
3831         * BufferView.C:
3832         * BufferView_pimpl.C:
3833         * buffer.C:
3834         * lyxfind.C:
3835         * lyxfunc.C:
3836         * text.C:
3837         * text2.C:
3838         * text3.C: adjust
3839
3840 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3841
3842         * lyxtext.h:
3843         * text.C:
3844         * text2.C:
3845         * rowpainter.C:
3846         * BufferView_pimpl.C: rename textwidth -> maxwidth,
3847         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3848
3849 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3850
3851         * Bidi.[Ch] (computeTables): const correctness
3852         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3853         fill_hfill, fill_label_hfill and x from Row
3854         * lyxtext.h: prepareToPrint returns a RowMetrics
3855         * rowPainter.C: adjust
3856         * text.C (prepareToPrint): use width, not textWidth. adjust
3857         (redoParagraphInternal, cursorX): adjust
3858         * text2.C (getColumnNearX): adjust
3859         (init): put a default value to the top LyXText::width
3860
3861 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3862
3863         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3864
3865 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3866
3867         * lyxtext.h: add FontIterator class
3868
3869         * text.C (FontIterator, operator*, operator->, operator++): add
3870         (rowBreakPoint, setRowWidth): adjust (fixing a
3871         rebreaking bug)
3872
3873 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3874
3875         * BufferView_pimpl.C (workAreaDispatch): allow also
3876         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3877
3878 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
3879
3880         * text.C (rowBreakPoint): fix a bug showing with very large insets
3881
3882 2004-02-25  André Pönitz  <poenitz@gmx.net>
3883
3884         * text3.C:
3885         * cursor.[Ch]: move some mathed specific code to mathed
3886
3887 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3888
3889         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3890         use_tempdir in preferences
3891         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3892         tempfile creation
3893         * lyx_main.C: ensure that tempdir is valid
3894         * lyxlex.h: correct typo
3895         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3896         * paragraph.[Ch] (isMultiLingual): make const
3897         * cursor.[Ch] (openable): make const
3898
3899 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3900
3901         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3902
3903 2004-02-20  André Pönitz  <poenitz@gmx.net>
3904
3905         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3906
3907         * cursor.[Ch]: prepare for localized getStatus()
3908
3909         * lyxtext.h:
3910         * tabular.C:
3911         * text.C:
3912         * text2.C:
3913         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
3914
3915 2004-02-20  André Pönitz  <poenitz@gmx.net>
3916
3917         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3918
3919 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3920
3921         * text2.C (setCursorFromCoordinates): switch to absolute coords
3922         (cursorUp): adjust
3923         (cursorDown): adjust
3924         * text3.C (dispatch): adjust
3925
3926 2004-02-16  André Pönitz  <poenitz@gmx.net>
3927
3928         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3929           insets/ChangeLog)
3930
3931         * cursor_slice.[Ch]: remove unneeded acessor function
3932
3933         * lyxtext.h: rename rtl() to isRTL()
3934
3935         * rowpainter.C:
3936         * tabular.C:
3937         * text.C:
3938         * text2.C:
3939         * text3.C: adjust
3940
3941 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3942
3943         * rowpainter.C (paintSelection): coord fix
3944
3945 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
3946
3947         * Spacing.C: compile fix
3948
3949 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3950
3951         * cursor.C (dispatch): restore current_ before returning
3952
3953 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3954
3955         * text2.C (cursorUp, cursorDown): fix coords
3956         (moveUp): fix crash
3957
3958 2004-02-12  André Pönitz  <poenitz@gmx.net>
3959
3960         * lyxtext.h:
3961         * text.C:
3962         * text2.C:
3963         * text3.C: add LCursor & parameter to most cursor movement functions
3964           remove usage of LyXText::cursorRow() and cursorPar()
3965
3966         * cursor.[Ch]: add textRow() needed members
3967
3968         * BufferView.C:
3969         * BufferView_pimpl.C:
3970         * paragraph.[Ch]:
3971         * BufferView.C:
3972         * BufferView_pimpl.C: adjust
3973
3974 2004-02-11  André Pönitz  <poenitz@gmx.net>
3975
3976         * lyxfunc.C:
3977         * BufferView.[Ch]:
3978         * BufferView_pimpl.C: shift undo/redo handling
3979
3980         * cursor.[Ch]: fix mathed crash
3981
3982         * lyxfind.C:
3983         * lyxtext.h: move selectionAsText to LCursor
3984
3985         * output_latex.C:
3986         * paragraph.C:
3987         * text.C:
3988         * text2.C:
3989         * text3.C: adjust
3990
3991         * rowpainter.C: fix excessive drawing
3992
3993 2004-02-06  André Pönitz  <poenitz@gmx.net>
3994
3995         * BufferView.[Ch]:
3996         * BufferView_pimpl.[Ch]:
3997         * text3.C: move some text specific LFUN handling
3998
3999 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
4000
4001         * text3.C (checkInsetHit): adjust coords
4002         * text2.C (getColumnNearX): adjust coords
4003         (edit): adjust coords
4004         * text.C (getRowNearY): add two asserts
4005
4006 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
4007
4008         * converter.C:
4009         * format.C: add using std::distance to compile on gcc 2.95/stlport
4010
4011 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
4012
4013         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
4014
4015 2004-02-04  André Pönitz  <poenitz@gmx.net>
4016
4017         * BufferView.[Ch] (insertInset):
4018         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
4019
4020         * text2.C:
4021         * text3.C: adjust
4022
4023 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
4024
4025         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
4026         on the default clause of the switch
4027         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
4028         wasn't catched by LCursor::dispatch
4029
4030 2004-02-03  André Pönitz  <poenitz@gmx.net>
4031
4032         * BufferView.C:
4033         * cursor.[Ch]: some additional asserts
4034
4035         * undo.[Ch]: remove LyXText dependency in interface
4036
4037         * lyxfunc.C: adjust
4038
4039         * lyxtext.h (firstPar, lastPar): remove dead functions
4040
4041         * text.C:
4042         * text2.C:
4043         * text3.C:
4044         * paragraph.[Ch]: adjust
4045
4046 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
4047
4048         * lyxfind.C (find): fix argument order in call to ::find
4049
4050 2004-02-02  André Pönitz  <poenitz@gmx.net>
4051
4052         * cursor.[Ch]: remove direct access to anchor
4053
4054         * text.C: remove findText() hack
4055
4056 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
4057
4058         * iterators.[Ch] (lockPath): remove in favour of...
4059         * BufferView.[Ch] (setCursor): this addition
4060         * BufferView.C (putSelectionAt): adjust
4061         * undo.C (performUndoOrRedo): adjust
4062         * lyxfunc.C (dispatch): adjust
4063
4064 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
4065
4066         * iterators.C (lockPath): add a missing slice
4067         * undo.C (performUndoOrRedo): remove redundant positioning code
4068
4069 2004-02-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4070
4071         * vc-backend.C (scanMaster): ";" -> ';'
4072
4073 2004-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4074
4075         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
4076         std::binary_function
4077
4078         * lyxtextclass.C (compare_name): rename to...
4079         (LayoutNamesEqual): ...this
4080
4081         * lyxlex_pimpl.C (compare_tags): inherit from
4082         std::binary_function, put back into anon namespace
4083
4084         * lyxfind.C (MatchString): inherig from std::binary_function
4085         (findChange): use empty() istead of !size()
4086
4087         * format.C (FormatNamesEqual): new functor
4088         (getFormat): use it
4089         (getNumber): use it
4090         (add): use it
4091         (erase): use it
4092         (setViewer): use it
4093
4094         * converter.C (compare_Converter): rename to...
4095         (ConverterEqual): ...this, and fixup a bit.
4096         (getConverter): use it, and make function const
4097         (getNumber): use it, and make function const
4098         (add): use it
4099         (erase): use it:
4100
4101         * bufferlist.C: add using boost::bind
4102
4103         * MenuBackend.C (MenuNamesEqual): new functor
4104         (hasMenu): use it, and make function const
4105         (hasSubmenu): use nested bind to get rid of compare_memfun.
4106
4107 2004-01-30  André Pönitz  <poenitz@gmx.net>
4108
4109         * BufferView_pimpl.C:
4110         * cursor.C:
4111         * cursor.h:
4112         * cursor_slice.[Ch]:
4113         * lyxfunc.C:
4114         * lyxtext.h:
4115         * paragraph_funcs.C:
4116         * paragraph_funcs.h:
4117         * rowpainter.C:
4118         * text.C:
4119         * text2.C:
4120         * text3.C: move some of the edit(x,y) handling to the insets
4121         some coordinate changes.
4122
4123 2004-01-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4124
4125         * text.C: add using statements for std::advance and std::distance
4126
4127         * paragraph.C: add using statement for std::distance
4128
4129         * lyxfind.C: add using statement for std::advance
4130
4131         * cursor.C (region): remove std:: from swap
4132         (openable): use nucleus in stead of operator->
4133
4134         * BufferView.C: add using statements for std::distance and std::swap
4135
4136 2004-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4137
4138         * iterators.C: Remove the pimple, move the needed structures to
4139         the header file. Create accessor for the positions stack.
4140         (asPosIterator): remove function
4141
4142         * PosIterator.C (PosIterator): move constructors to top of file
4143         (PosIterator): reimplement the constructor taking a ParIterator in
4144         terms of setFrom.
4145         (setFrom): new function
4146         (operator!=): inline it
4147
4148 2004-01-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4149
4150         * lyxfind.C (replaceAll): use std::advance
4151
4152         * iterators.h: inherit from std::iterator.
4153
4154         * PosIterator.C (advance, distance): remove
4155         * PosIterator.h: interit from std::iterator.
4156
4157 2004-01-26  André Pönitz  <poenitz@gmx.net>
4158
4159         * BufferView.[Ch]:
4160         * BufferView_pimpl.[Ch]:
4161         * InsetList.[Ch]:
4162         * PosIterator.[Ch]:
4163         * buffer.h:
4164         * bufferview_funcs.C:
4165         * cursor.[Ch]:
4166         * cursor_slice.h:
4167         * factory.[Ch]:
4168         * iterators.[Ch]:
4169         * lyxfind.C:
4170         * lyxfunc.C:
4171         * lyxtext.h:
4172         * output_docbook.C:
4173         * output_latex.C:
4174         * output_linuxdoc.C:
4175         * output_plaintext.C:
4176         * paragraph.[Ch]:
4177         * paragraph_funcs.[Ch]:
4178         * paragraph_pimpl.[Ch]:
4179         * rowpainter.C:
4180         * tabular.C:
4181         * tabular.h:
4182         * text.C:
4183         * text2.C:
4184         * text3.C: more IU:  dumps most of the rest of the mathcursor
4185     implementation into cursor.[Ch]; "globalize" a bit of it.
4186
4187 2004-01-25  Angus Leeming  <leeming@lyx.org>
4188
4189         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
4190
4191 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4192
4193         * LaTeXFeatures.h: add nice_ and nice() const
4194         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
4195
4196 2004-01-20  André Pönitz  <poenitz@gmx.net>
4197
4198         * BufferView.[Ch]:
4199         * BufferView_pimpl.C:
4200         * PosIterator.C:
4201         * bufferview_funcs.C:
4202         * cursor.[Ch]:
4203         * cursor_slice.[Ch]:
4204         * factory.C:
4205         * iterators.C:
4206         * lyx_cb.C:
4207         * lyxfind.C:
4208         * lyxfunc.C:
4209         * lyxtext.h:
4210         * rowpainter.C:
4211         * text.C:
4212         * text2.C:
4213         * text3.C:
4214         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
4215           LCursor and mathcursor parts to LCursor and InsetBase.
4216
4217 2004-01-15  André Pönitz  <poenitz@gmx.net>
4218
4219         * cursor_slice.[Ch]: add a few covienience functions
4220
4221         * funcrequest.[Ch]: remove BufferView * member
4222
4223         * BufferView_pimpl.C:
4224         * cursor.C:
4225         * factory.[Ch]:
4226         * lyxfind.[Ch]:
4227         * lyxfunc.C:
4228         * lyxtext.h:
4229         * text3.C:
4230         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4231
4232 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
4233
4234         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4235         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4236
4237 2004-01-13  André Pönitz  <poenitz@gmx.net>
4238
4239         * textcursor.[Ch]:
4240         * lyxtext.h: hide cursor and selection anchor behind accessor function
4241
4242         * BufferView.C:
4243         * BufferView_pimpl.[Ch]:
4244         * PosIterator.C:
4245         * bufferview_funcs.C:
4246         * cursor.h:
4247         * lyxfind.C:
4248         * lyxfunc.C:
4249         * text.C:
4250         * text2.C:
4251         * text3.C:
4252         * undo.C: adjust
4253
4254         * cursor.h:
4255         * cursor_slice.[Ch]: some integer type changes for inset unification
4256
4257         * lyxcursor.[hC]: remove, it's CursorSlice now.
4258
4259         * Makefile.am:
4260         * BufferView_pimpl.[Ch]:
4261         * bufferview_funcs.C:
4262         * cursor_slice.C:
4263         * lyxtext.h:
4264         * text.C:
4265         * text2.C:
4266         * text3.C:
4267         * textcursor.[Ch]: adjust
4268
4269 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
4270
4271         * text2.C (undoSpan): add and use
4272         * text.C (breakParagraph): use undoSpan (fix bug 578)
4273         * lyxtext.h: adjust
4274
4275 2004-01-08  Angus Leeming  <leeming@lyx.org>
4276
4277         * BufferView_pimpl.C (MenuInsertLyXFile):
4278         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4279         * lyxfunc.C (menuNew, open, doImport):
4280         FileFilterList change to the FileDialog open and save functions.
4281
4282 2004-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4283
4284         * ShareContainer.h: make isEqual and isUnique adaptable
4285
4286         * CutAndPaste.C: make resetOwnerAndChanges adaptable
4287
4288 2004-01-07  Angus Leeming  <leeming@lyx.org>
4289
4290         * LyXAction.C:
4291         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4292
4293         * BufferView_pimpl.C (dispatch): act on these LFUNs.
4294
4295         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4296         functions replacing find, replace and replaceAll.
4297
4298         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4299         LFUN_WORDFIND(FORWARD|BACKWARD).
4300
4301 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4302
4303         * text.C (breakParagraph): remove an outdated #warning
4304
4305 2004-01-07  André Pönitz  <poenitz@gmx.net>
4306
4307         * lyxfind.C: somewhat clearer logic
4308
4309         * text.C: prevent crash in cursorX on unitialized row cache
4310
4311 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4312
4313         * lyxcursor.[Ch] (operator>): add
4314         * textcursor.C (selStart, selEnd): use std::min and std::max
4315
4316 2004-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4317
4318         * Chktex.C: include boost/format.hpp
4319
4320 2004-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4321
4322         * InsetList.C: replace functor MathcIt with adaptable functor
4323         InsetTablePosLess
4324         (insetIterator): modify accordingly
4325
4326         * BranchList.h: move the BranchNamesEqual functor here from...
4327         * BranchList.C: ... to here
4328
4329         * BranchList.C: new BranchListEqual fuctor, use it. Remove
4330         SameName and match.
4331         (add): replace a finding loop with std::find_if.
4332
4333 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
4334
4335         * output_docbook.C: moving LatexParam functionality into
4336         .layout files
4337
4338 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4339
4340         * buffer.C: increment format to 229.
4341
4342 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
4343
4344         * LaTeXFeatures.C:
4345         * lyx_sty.[Ch]: remove minipageindent_def
4346
4347         * LyXAction.C:
4348         * factory.C:
4349         * lfuns.h:
4350         * lyxfunc.C:
4351         * text3.C: remove LFUN_INSET_MINIPAGE
4352
4353 2003-12-28  Angus Leeming  <leeming@lyx.org>
4354
4355         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4356
4357 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
4358
4359         * text2.C (setParagraph): fix off-by-one crash
4360
4361 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
4362
4363         * output_docbook.C: header stuff for AGU
4364
4365 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
4366
4367         * text2.C (redoCursor): remove
4368         * text.C:
4369         * text3.C:
4370         * BufferView_pimpl.C: remove calls to redoCursor and
4371         setCursor(cursor.par(), cursor.pos()) all around
4372
4373 2003-12-15  Angus Leeming  <leeming@lyx.org>
4374
4375         * buffer.C: up the format to 228.
4376
4377 2003-12-15  André Pönitz  <poenitz@gmx.net>
4378
4379         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4380         slices
4381
4382         * Makefile.am:
4383
4384         * BufferView_pimpl.C:
4385         * cursor.[Ch]:
4386         * lyxcursor.[Ch]:
4387         * rowpainter.[Ch]:
4388         * lyxtext.h:
4389         * text.C:
4390         * text2.C:
4391         * text3.C: adjust
4392
4393 2003-12-15  Angus Leeming  <leeming@lyx.org>
4394
4395         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4396         than getFromGUIName to manipulate the color.
4397
4398 2003-12-14  Angus Leeming  <leeming@lyx.org>
4399
4400         * BranchList.[Ch]: minimize the API.
4401         (Branch::getBranch, getColor): now return a 'const &'.
4402         (Branch::setSelected) now returns a bool set to true if the
4403         selection status changes.
4404         (BranchList::clear, size, getColor, setColor, setSelected,
4405         allBranches, allSelected, separator): removed.
4406         (BranchList::find): new functions, returning the Branch with
4407         the given name.
4408         (BranchList::add, remove): return a bool indicating that
4409         the operation was successful.
4410
4411         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4412         new InsetBranch::isBranchSlected member function.
4413
4414         * LColor.[Ch]: mimimize the API.
4415         (fill): renamed as addColor and made private.
4416         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4417         versions of these functions taking a string arg have been removed.
4418
4419         * bufferparams.C (readToken):
4420         * lyxfunc.C (dispatch):
4421         * lyxrc.C (read): changes due to the altered BranchList and
4422         LColor APIs.
4423
4424         * factory.C (createInset, readInset): changes due to altered
4425         InsetBranch c-tor.
4426
4427 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4428
4429         * factory.C:
4430         * lyxfunc.C: remove insetminipage. "minipage-insert"
4431         now produces a frameless minipage box inset.
4432
4433 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4434
4435         * textcursor.[Ch] (selStart,selEnd): add new methods
4436         remove selection::start, end, use LyXCursor::operator<
4437         * lyxcursor.[Ch] (operator<): add
4438         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4439         * BufferView.[Ch] (unsetXSel): add
4440         * text2.C (clearSelection): use unsetXSel,adjust
4441         * text.C: adjust
4442         * text3.C: adjust
4443         * rowpainter.C: adjust
4444         * bufferview_funcs.C (put_selection_at): adjust
4445
4446 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4447
4448         * BufferView_pimpl.C: small coord. correction
4449
4450 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4451
4452         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4453         dragging over the splash screen.
4454
4455 2003-12-11  Angus Leeming  <leeming@lyx.org>
4456
4457         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4458         as it is now handled in LyXText::dispatch.
4459
4460         * text3.C (doInsertInset): remove a level of nesting.
4461
4462 2003-12-11  Angus Leeming  <leeming@lyx.org>
4463
4464         * factory.C (createInset): changes due to the changed interface to
4465         InsetCommandMailer::string2params.
4466
4467 2003-12-10  Angus Leeming  <leeming@lyx.org>
4468
4469         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4470         'dialog-show-new-inset <inset name>'
4471
4472 2003-12-10  Angus Leeming  <leeming@lyx.org>
4473
4474         * buffer.C: up the format to 227.
4475
4476         * factory.C: the box inset is now identified simply by 'Box'.
4477
4478 2003-12-10  Angus Leeming  <leeming@lyx.org>
4479
4480         * buffer.C: up the format to 226.
4481
4482         * factory.C: the note inset is now identified simply by 'Note'.
4483
4484 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
4485
4486         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4487         when a pit is enough. Standarize a couple of loops.
4488
4489 2003-12-05  Angus Leeming  <leeming@lyx.org>
4490
4491         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4492         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4493         data to the re-worked "log" dialog.
4494
4495 2003-12-03  André Pönitz  <poenitz@gmx.net>
4496
4497         * PosIterator.C:
4498         * iterators.C:
4499         * lyxtext.h:
4500         * output_latex.C:
4501         * paragraph_funcs.C:
4502         * text.C:
4503         * text2.C: use Inset::getText instead of Inset::getParagraph
4504
4505 2003-12-03  André Pönitz  <poenitz@gmx.net>
4506
4507         * buffer.[Ch]:
4508         * lyxtext.h:
4509         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4510         InsetText::read() as LyXText::read()
4511
4512 2003-12-02  Angus Leeming  <leeming@lyx.org>
4513
4514         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4515         type. Add a comment in the implementation that the function uses
4516         the stream's bad() function rather than fail() as the std::streams
4517         would do.
4518
4519 2003-12-02  André Pönitz  <poenitz@gmx.net>
4520
4521         * lyxlex.[Ch]: make interface more similar to std::stream
4522
4523         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4524
4525 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
4526
4527         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4528
4529 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
4530
4531         * vspace.[Ch]: remove VSpace::NONE
4532
4533 2003-12-01  André Pönitz  <poenitz@gmx.net>
4534
4535         * buffer.[Ch]:
4536         * lyxtext.h: move ParagraphList member to LyXText
4537         rename LyXText::ownerParagraphs to LyXText::paragraph
4538
4539         * CutAndPaste.C:
4540         * bufferview_funcs.C:
4541         * iterators.[Ch]:
4542         * lyx_cb.C:
4543         * paragraph.C:
4544         * rowpainter.C:
4545         * tabular.C:
4546         * text.C:
4547         * text2.C:
4548         * text3.C: adjust
4549
4550         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4551
4552         * undo.C: fix cursor positioning
4553
4554 2003-12-01  John Levon  <levon@movementarian.org>
4555
4556         * BufferView_pimpl.C: fix a crash on exit with
4557         a buffer open
4558
4559 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
4560
4561         * BranchList.C: fix setSelected() method.
4562
4563 2003-11-28  André Pönitz  <poenitz@gmx.net>
4564
4565         * ParagraphParameters.[Ch]:
4566         * ParameterStruct.h: remove space above/below from Paragraph to
4567          InsetVSpace
4568
4569         * BufferView_pimpl.C:
4570         * factory.C:
4571         * lyxfunc.C:
4572         * lyxtext.h:
4573         * output_latex.C:
4574         * paragraph.C:
4575         * paragraph_funcs.C:
4576         * rowpainter.[Ch]:
4577         * text.C:
4578         * text2.C:
4579         * text3.C: adjust
4580
4581 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
4582
4583         * factory.C: Syntax change for CharStyles
4584
4585 2003-11-28  André Pönitz  <poenitz@gmx.net>
4586
4587         * BufferView.[Ch]:
4588         * BufferView.[Ch]:
4589         * buffer.[Ch]:
4590         * buffer.[Ch]: move LyXText member
4591
4592 2003-11-28  André Pönitz  <poenitz@gmx.net>
4593
4594         * BufferView.[Ch]: make LyXText * text a private member
4595
4596         * BufferView_pimpl.C:
4597         * cursor.C:
4598         * iterators.C:
4599         * lyx_cb.C:
4600         * lyxfind.C:
4601         * lyxtext.h:
4602         * rowpainter.[Ch]:
4603         * text.C:
4604         * text2.C:
4605         * undo.C: adjust
4606
4607         * output_plaintext.C: cleanup
4608
4609 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4610
4611         * buffer.C:
4612         * lyxtextclass.[Ch]: parametrize SGML document header
4613
4614 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4615
4616         * converter.[Ch]:
4617         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4618         getFlavor().
4619
4620 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
4621
4622         * text2.C (setFont): rework using PosIterator (no more recursive)
4623         (setCharFont): no more needed
4624         (setLayout): no more selection cursors fiddling (done by redoCursor)
4625         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4626         destroy remaining ones)
4627
4628 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
4629
4630         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4631         * lyxtext.h: ditto
4632         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4633         selection cursors
4634         * lyxfunc.C: adjust
4635         * text3.C: adjust + re-allow multi par depth changes
4636         * textcursor.C: simplify a bit
4637
4638 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
4639
4640         * src/buffer.C:
4641         * src/lyxlayout.C:
4642         * src/lyxlayout.h:
4643         * src/lyxtext.h:
4644         * src/output_docbook.C:
4645         * src/output_latex.C:
4646         * src/paragraph.C:
4647         * src/paragraph.h:
4648         * src/sgml.C:
4649         * src/sgml.h:
4650         * src/text2.C: Introducing a number of tags parametrizing various
4651         XML formats that we may want to support
4652
4653 2003-11-25  André Pönitz  <poenitz@gmx.net>
4654
4655         * InsetList.[Ch] (begein, end): inline as suggested by profiler
4656
4657         * lyxtext.h (leftMargin/rightMargin): simplify interface
4658
4659         * rowpainter.C:
4660         * text.C:
4661         * text2.C:
4662         * text3.C: adjust
4663
4664 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4665
4666         * lyxfunc.C (dispatch): propogate the bibtex databases from the
4667         master file to any child files. Fixes bug 546.
4668
4669 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4670
4671         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4672
4673 2003-11-24  André Pönitz  <poenitz@gmx.net>
4674
4675         * rowpainter.C: simplification
4676
4677         * text2.C (updateCounters): remove call to redoParagraph on
4678         changed labels as this is far too expensive.
4679
4680 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4681
4682         * converter.C (convert): fix a crash: this function gets
4683         called with buffer == 0 from importer code.
4684
4685 2003-11-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4686
4687         * text3.C (cursorPrevious): make sure that we do not compare
4688         iterators form different containers.
4689         (cursorNext): ditto
4690
4691         * rowpainter.C (paintSelection): make sure that we do not compare
4692         iterators from different containers.
4693
4694         * text3.C (dispatch): [PRIOR] make sure that we do not compare
4695         iterators from different ParagraphList containers.
4696         [NEXT] ditto
4697
4698         * text2.C (LyXText): change order of initialization slightly
4699         (operator=): new function. copy all variables except cache_par_
4700         (moveUp): make sure that we do not compare iterators from
4701         different ParagraphList constainers.
4702         (moveDown): ditto
4703
4704         * text.C (firstPar): new function
4705         (lastPar): new function
4706         (endPar): new function
4707
4708         * lyxtext.h: move things around and group public functions, public
4709         variables, private functions, private variables
4710
4711 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
4712
4713         * factory.C: change call to InsetERT constructor to avoid
4714         additional invocation of method status
4715         * text2.C (toggleInset): remove redundant update() call
4716         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4717         instead of a Bufferview pointer
4718
4719 2003-11-21  André Pönitz  <poenitz@gmx.net>
4720
4721         * rowpainter.C: simplification
4722
4723 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4724
4725         * text3.C (dispatch): make possible to extend a word/row selection
4726         with the mouse
4727
4728 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4729
4730         * lyxtext.h: x0_,y0_ -> xo_,yo_
4731         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4732         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4733         * rowpainter.C (paintRows): paint full paragraphs
4734
4735 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4736
4737         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4738         screen coordinates)
4739
4740 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4741
4742         * lyxtext.h: add x0_, y0_
4743         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4744         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4745
4746 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
4747
4748         * text2.C (setCursorIntern): move the x_target update here *
4749         * text3.C: change some bv() to true/false in calls to
4750         cursorUp/Down/Right/Left
4751         * cursor.C: use helper function.
4752
4753 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4754
4755         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4756         * paragraph_funcs.[Ch]: correct comment
4757         * rowpainter.C: do not paint selections away from bv->cursor()
4758         Fix a long standing selection painting bug.
4759         * text3.C: generalize mouse-selection code to LyXTexts other that
4760         top one
4761         * textcursor.C: do not use y coords if we can use par offsets
4762
4763 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4764
4765         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4766         cursor position after e.g. inset insert)
4767
4768 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
4769
4770         * lyxfind.C (replace): adjust to locking removal + some
4771         code simplification
4772
4773 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
4774
4775         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4776         of the path
4777
4778 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
4779
4780         * lyxlayout.[Ch]:
4781         * output_docbook.C: XML sanitation: new layout
4782         parameters InnerTag and CommandDepth
4783
4784 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
4785
4786         * BufferView_pimpl.C:
4787         * factory.C:
4788         * text3.C: Fix the insertion and modification of button-style
4789         insets
4790
4791 2003-11-13  André Pönitz  <poenitz@gmx.net>
4792
4793         * InsetList.[Ch]: remove deleteLyXText
4794
4795         * paragraph.[Ch]: cache beginOfBody position
4796
4797         * Bidi.C:
4798         * text.C:
4799         * text2.C:
4800         * text3.C: remove superfluous update() calls
4801
4802         * vspace.C: cleanup
4803
4804 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
4805
4806         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4807         * BufferView.C (fitLockedInsetCursor): remove
4808         * cursor.[Ch] (getDim): add
4809         * text.C (getRowNearY): add faster version
4810         * text3.C: remove some update calls
4811
4812 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
4813
4814         * LaTeXFeatures.C:
4815         * LyXAction.C:
4816         * MenuBackend.C:
4817         * MenuBackend.h:
4818         * dispatchresult.h:
4819         * factory.C:
4820         * lfuns.h:
4821         * lyxfunc.C:
4822         * lyxtextclass.C:
4823         * lyxtextclass.h:
4824         * text3.C: The Character Style /XML short element patch.
4825
4826 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
4827
4828         * text3.C:
4829         * factory.C: Small step to solving 'unable to insert some insets'
4830         problem
4831
4832 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
4833
4834         * cursor.[Ch] (updatePos): new function for updating the y
4835         position of the tip inset
4836         * bufferview_funcs.C (put_selection_at):
4837         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4838
4839 2003-11-11  André Pönitz  <poenitz@gmx.net>
4840
4841         * text.C: remove big comment on invalid Paragraph pointers as it is
4842         not valid anymore
4843
4844 2003-11-11  André Pönitz  <poenitz@gmx.net>
4845
4846         * text_funcs.[Ch]: merge with ...
4847
4848         * text.C: ... this
4849
4850         * lyxtext.h:
4851         * text2.C:
4852         * text3.C: adjust
4853
4854         * Makefile.am: remove text_funcs.[Ch]
4855
4856 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
4857
4858         * cursor.C (getPos): return absolute cached y coord
4859
4860         * BufferView_pimpl.C (fitCursor): new simplistic code
4861         (workAreaDispatch): add a fitCursor call
4862
4863 2003-11-10  André Pönitz  <poenitz@gmx.net>
4864
4865         * BufferView.[Ch]:
4866         * BufferView_pimpl.[Ch]: merge update() and updateInset()
4867
4868 2003-11-10  André Pönitz  <poenitz@gmx.net>
4869
4870         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4871         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4872         indicate that the cursor needs to leave an inset
4873
4874         * lyxtext.h: remove inset locking
4875
4876         * cursor.[Ch]: re-implement functionality provided by inset locking
4877
4878         * BufferView.[Ch]:
4879         * BufferView_pimpl.[Ch]:
4880         * LyXAction.C:
4881         * bufferview_funcs.[Ch]:
4882         * factory.C:
4883         * funcrequest.[Ch]:
4884         * iterators.C:
4885         * lyx_cb.C:
4886         * lyxfind.C:
4887         * lyxfunc.C:
4888         * text.C:
4889         * text2.C:
4890         * text3.C:
4891         * undo.C: adjust
4892
4893 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
4894
4895         * PosIterator.[Ch]: replace the stack with a vector, add inset
4896         accesor
4897         * iterators.[C]: adjust
4898
4899 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4900
4901         * lyxfind.C (replaceAll): mark the buffer dirty if something was
4902         replaced
4903         * paragraph_funcs.C (readParToken): put the correct id in the
4904         error item, not the id of the top paragraph
4905
4906 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4907
4908         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4909         * bufferview_funcs.C (put_selection_at): use the above
4910
4911 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4912
4913         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4914
4915 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4916
4917         * output_linuxdoc.h:
4918         * output_plaintext.h:
4919         * output.h:
4920         * output_docbook.h: add #include statements
4921
4922 2003-11-05  José Matos  <jamatos@lyx.org>
4923
4924         * output_docbook.[Ch]:
4925         * output_latex.[Ch]:
4926         * output_linuxdoc.[Ch]:
4927         * output_plaintext.[Ch]: New files for output formats.
4928         * output.[Ch]: New file for helper functions.
4929
4930         * buffer.[Ch]:
4931         * paragraph_funcs.[Ch]: output functions moved to new files.
4932
4933         * outputparams.h: rename of latexrunparams.h
4934
4935         * LaTeX.[Ch]:
4936         * buffer.[Ch]:
4937         * bufferlist.[Ch]:
4938         * converter.[Ch]:
4939         * exporter.C:
4940         * paragraph.[Ch]:
4941         * paragraph_funcs.[Ch]:
4942         * paragraph_pimpl.[Ch]:
4943         * tabular.[Ch]: rename ascii to plaintext
4944         and LatexRunParams to OutputParams.
4945
4946 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4947
4948         * iterators.[Ch] (text): require bv argument
4949         * undo.C (recordUndo):
4950         * lyxfunc.C (dispatch):
4951         * bufferview_funcs.C (put_selection_at): adjust
4952
4953 2003-11-05  Jo� Luis M. Assirati  <assirati@fma.if.usp.br>
4954
4955         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4956
4957 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4958
4959         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4960         nestings
4961
4962 2003-11-04  André Pönitz  <poenitz@gmx.net>
4963
4964         * cursor.[Ch]: restructure
4965
4966         * BufferView.[Ch]:
4967         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4968
4969         * iterators.[Ch] (asCursor): remove
4970
4971         * lfuns.h: remove LFUN_INSET_EDIT
4972
4973         * lyxfunc.C:
4974         * tabular.C:
4975         * text.C:
4976         * text2.C:
4977         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4978
4979 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4980
4981         * lyxfind.[Ch]: complete overhaul
4982         * BufferView_pimpl.C:
4983         * lyxfunc.C: adjust
4984         * paragraph.[Ch] (insert): add
4985
4986 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4987
4988         * BufferView.[Ch]:
4989         * lyxtext.h:
4990         * text.C: remove dead spellcheck code
4991
4992 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4993
4994         * dispatchresult.h: add a val setter
4995
4996         * cursor.C (dispatch): use a tempvar for data_[i]
4997
4998 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4999
5000         * PosIterator.[Ch]: compile fix
5001
5002 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5003
5004         * text.C (cursorPar): deactivate the cursor cache
5005
5006 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
5007
5008         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
5009
5010 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5011
5012         * text3.C (dispatch): adjust for new DisptchResult semantics.
5013
5014         * lyxfunc.C (dispatch): handle update when return from
5015         Cursor::dispatch, adjust for new DispatchResult semantics.
5016
5017         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
5018         DispatchResult(true) mean to not update. Add class functions for
5019         setting dispatched and update, as well as reading.
5020
5021         * cursor.C (dispatch): don't handle update here
5022
5023 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5024
5025         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
5026         * trans_mgr.C: adjust
5027
5028         * paragraph_funcs.C (readParToken): exception safety
5029
5030         * lyxvc.h: store the vcs pointer in a scoped_ptr
5031         * lyxvc.C: adjust
5032
5033         * lyxsocket.C (serverCallback): exception safety
5034
5035         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
5036
5037         * ispell.C (clone): make it return a auto_ptr
5038
5039         * factory.C (createInset): exception safety
5040         (readInset): exception safety
5041
5042         * bufferlist.C (newBuffer): exception safety
5043
5044         * Thesaurus.C (Thesaurus): use initialization for aik_
5045
5046         * MenuBackend.C (expandToc): exception safety.
5047
5048 2003-11-03  André Pönitz  <poenitz@gmx.net>
5049
5050         * buffer.C:
5051         * buffer.h:
5052         * bufferview_funcs.C: remove getInsetFromId()
5053
5054         * lyxcursor.[Ch]:
5055         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
5056
5057         * lyxfunc.C:
5058         * text2.C:
5059         * text3.C: adjust
5060
5061 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
5062
5063         * PosIterator.C (distance, advance): new
5064         * bufferview_funcs.[Ch] (put_selection_at): new
5065         * iterators.[Ch] (lockPath): new
5066
5067 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
5068
5069         * iterators.[Ch] (asPosIterator): added
5070         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
5071         * PosIterator.[Ch]: added
5072
5073 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5074
5075         * text3.C:
5076         * lyxfunc.C:
5077         * cursor.C (dispatch):
5078         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
5079
5080         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
5081         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
5082         contructor, add a class function dispatched. Remove operator>=
5083
5084 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5085
5086         * debug.C: only use the default constructor for debugstream
5087         (lyxerr) here.
5088
5089         * main.C (main): include debug.h and setup the lyxerr streambuf
5090         here.
5091
5092 2003-10-31  José Matos  <jamatos@lyx.org>
5093
5094         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
5095
5096         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
5097         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
5098         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5099         * paragraph_pimpl.C (simpleTeXSpecialC):
5100         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
5101         add LatexRunParams argument.
5102
5103         * exporter.C (Export): change call accordingly.
5104
5105         * latexrunparams.h: add new member to take care of the other backends.
5106 2003-10-30  José Matos  <jamatos@lyx.org>
5107
5108         * buffer.C (makeLinuxDocFile, makeDocBookFile):
5109         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5110         factorise code for paragraph output.
5111         * buffer.[Ch]:
5112         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
5113         move functions.
5114
5115 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5116
5117         * text3.C (dispatch):
5118         * lyxfunc.C (dispatch):
5119         * cursor.C (dispatch):
5120         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
5121
5122         * dispatchresult.h: make the dispatch_result_t ctor explicit
5123
5124 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
5125
5126         * sgml.[Ch]:
5127         * buffer.C: small refactoring of docbook stuff
5128
5129 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5130
5131         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
5132         meaning.
5133
5134 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5135
5136         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
5137         operator dispatch_result_t, and operators for == != and >=
5138
5139         * cursor.C (dispatch): adjust for operator dispatch_result_t
5140         removal. comment out call to update
5141
5142         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
5143
5144 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5145
5146         * text3.C:
5147         * text2.C:
5148         * text.C:
5149         * lyxtext.h:
5150         * lyxfunc.C:
5151         * cursor.C:
5152         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
5153         (dispatch):
5154
5155         * dispatchresult.h: new file, DispatchResult broken out of
5156         insets/insetbase.h
5157
5158         * Makefile.am (lyx_SOURCES): add dispatchresult.h
5159
5160 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
5161
5162         * text.C (rowBreakPoint): put a hack inside #if 0
5163
5164 2003-10-28  André Pönitz  <poenitz@gmx.net>
5165
5166         * lyxtext.h:
5167         * metricsinfo.C:
5168         * paragraph_funcs.C:
5169         * rowpainter.C:
5170         * text.C:
5171         * text2.C: general cleanup (lots of small stuff)
5172
5173 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
5174
5175         * text2.C (cursorEnd): simple fix to the "end key goes to one
5176         before the end on last row" bug
5177
5178 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5179
5180         * text.C (backspace): fix the "zombie characters"
5181
5182 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5183
5184         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
5185
5186 2003-10-27  André Pönitz  <poenitz@gmx.net>
5187
5188         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
5189
5190         * factory.C: handle new InsetPagebreak, InsetLine
5191
5192         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
5193         and move handling into new InsetPagebreak, InsetLine
5194
5195         * BufferView_pimpl.C:
5196         * LyXAction.C:
5197         * ParagraphParameters.C:
5198         * ParameterStruct.h:
5199         * lyxfunc.C:
5200         * lyxtext.h:
5201         * paragraph.C:
5202         * paragraph.h:
5203         * paragraph_funcs.C:
5204         * paragraph_pimpl.C:
5205         * rowpainter.C:
5206         * text.C:
5207         * text2.C:
5208         * text3.C: adjust
5209
5210 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5211
5212         * text.C:
5213         * lyxrow_funcs.[Ch]:
5214         * Bidi.C:
5215         * paragraph.C:
5216         * lyxtext.h:
5217         * rowpainter.C:
5218         * text2.C:
5219         * text3.C: remove lastPos uses in favour of Row::endpos
5220
5221 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5222
5223         * undo.C (performUndoOrRedo): fix two crashes by setting a
5224         cursor by hand and reordering some calls. Use bv->lockInset instead
5225         of inset->edit because the latter loses cursor information
5226
5227 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
5228
5229         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5230         by Martin
5231         (rowBreakPoint): fix width. change point to point + 1.
5232         Add a missing check.
5233
5234 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
5235
5236         * MenuBackend.C:
5237         * lyxfunc.C: fix (at least partly) the problems
5238         with the Nav menu and headers inside branch insets
5239         reported by Kayvan
5240
5241 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
5242
5243         * paragraph.C (getChar): add strong asserts
5244
5245         * lyxrow_funcs.C (lastPos): remove hideous hack
5246
5247         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5248         (fill): adjust to that (avoid an infinite loop)
5249
5250 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5251
5252         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5253
5254 2003-10-23  André Pönitz  <poenitz@gmx.net>
5255
5256         * RowList_fwd.h: change list<> to vector<> to gain speed
5257         after suggestion from Alfredo
5258
5259 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5260
5261         * lyxtext.h: move the bidi stuff from here...
5262         * text.C: and here
5263         * text2.C: and here
5264         * Bidi.[Ch]: ... to here
5265
5266 2003-10-23  André Pönitz  <poenitz@gmx.net>
5267
5268         * lyxtext.h:
5269         * text.C (isLastRow, isFirstRow): new functions
5270
5271         * paragraph.h: new width cache member
5272
5273         * rowpainter.C: replace RowList::iterator with Row & where possible
5274
5275         * lyxfunc.C: replace several view()->text with a single call
5276
5277         * toc.C: fix 'unused' warning
5278
5279 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5280
5281         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5282         when woring with stream::pos_type
5283         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5284
5285 2003-10-22  André Pönitz  <poenitz@gmx.net>
5286
5287         * lyxtext.h:
5288         * text.C: use Row & instead of RowList::iterator
5289
5290         * lyxrow.h: rename end() to endpos()
5291
5292         * rowpainter.C:
5293         * text.C:
5294         * text2.C: adjust
5295
5296 2003-10-22  Angus Leeming  <leeming@lyx.org>
5297
5298         * buffer.[Ch] (fully_loaded): new member function, returning true
5299         only when the file has been loaded fully.
5300         Used to prevent the premature generation of previews and by the
5301         citation inset to prevent computation of the natbib-style label.
5302
5303         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5304         templates are all set up.
5305
5306         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5307
5308 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
5309
5310         * text.C: fixed an "oops" in the "is a bit silly"
5311         bug fix
5312
5313 2003-10-21  André Pönitz  <poenitz@gmx.net>
5314
5315         * FuncStatus.[Ch]: small stuff, whitespace
5316
5317         * lyxfont.[Ch]: operator<<() for debug reasons
5318
5319         * lyxfunc.C:
5320         * lyxrow_funcs.C:
5321         * lyxtext.h: whitespace, spelling
5322
5323         * paragraph.C: naming of variables
5324
5325         * text.C:
5326         * text2.C: small stuff
5327
5328
5329 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
5330
5331         * text.C: (1) finish off the inset display() work;
5332         (2) fix the "is a bit silly" bug (accessing char
5333         past end of par).
5334
5335 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
5336
5337         * text.C: re-introduce display() for insets, fixing the
5338         various bugs (stretch of line above, math inset
5339         positioning, ...)
5340
5341 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5342
5343         * text.C (rightMargin): remove spurious semicolon
5344
5345         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5346         1415)
5347
5348 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
5349
5350         * text3.C: fix one crash due to wrong cursor def
5351
5352 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5353
5354         * vc-backend.C (scanMaster): make the regex static
5355
5356         * LaTeX.C (scanAuxFile): make the regexs static
5357
5358         * text3.C (doInsertInset, dispatch, dispatch):
5359         * text2.C (cursorUp, cursorDown):
5360         * text.C (selectNextWordToSpellcheck):
5361         * BufferView_pimpl.C (dispatch):
5362         * lyxfunc.C (dispatch):  localDispatch -> dispatch
5363
5364 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5365
5366         * lyxsocket.C: include <cerrno>
5367
5368 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5369
5370         * lyxfunc.C (dispatch): remove textcache stuff
5371
5372         * bufferlist.C (release): remove textcache stuff
5373         (closeAll): ditto
5374
5375         * TextCache.C: delete file
5376         * TextCache.h: delete file
5377
5378         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5379
5380         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5381         delete of the bv_->text.
5382         (resizeCurrentBuffer): remove texcache stuff
5383         (workAreaResize): ditto
5384
5385 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5386
5387         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5388         action.
5389
5390 2003-10-16  André Pönitz  <poenitz@gmx.net>
5391
5392         * lyxrow.[Ch]:
5393         * paragraph.h:
5394         * rowpainter.C:
5395         * text.C:
5396         * text2.C:
5397         * text3.C: speed up by storing y positions per paragraph plus per-row
5398         offset instead of having a 'full' y position in the row.
5399
5400 2003-10-15  André Pönitz  <poenitz@gmx.net>
5401
5402         * iterators.[Ch]:
5403         * iterators.[Ch]:
5404         * undo.[Ch]: make undo aware of inner insets
5405
5406 2003-10-14  Angus Leeming  <leeming@lyx.org>
5407
5408         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5409         static member functions LyX::ref() and LyX::cref.
5410         (lastfiles): new accessor functions for the new lastfiles_ member var.
5411         (addLyXView, views_): add a new LyXView to the list of views_.
5412         (updateInset): loop over all LyXViews to call their own updateInset
5413         member function, returning a pointer to the Buffer owning the inset.
5414
5415         * BufferView_pimpl.C (loadLyXFile):
5416         * MenuBackend.C (expandLastfiles):
5417         * bufferlist.C (MenuWrite, QuitLyX):
5418         lastfiles is no longer a global variable.
5419         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5420
5421         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5422         static function. Access through LyX::cref().emergencyCleanup().
5423
5424 2003-10-14  André Pönitz  <poenitz@gmx.net>
5425
5426         * iterators.[Ch]: new direct access to innermost LyXText and Inset
5427
5428         * undo.[Ch]: restoring part of 'undo in insets'
5429
5430         * Makefile.am:
5431         * undo_funcs.[Ch]: merge with undo.[Ch]
5432
5433         * tabular.C: small cleansing stuff
5434
5435 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
5436
5437         * paragraph_funcs.C (readParToken): report unknown insets as error
5438         boxes. Use the outer paragraph as location (also for unknown
5439         tokens).
5440
5441         * factory.C (readInset): do not abort on reading an unknown inset.
5442         Eat it and return 0.
5443
5444 2003-10-13  Angus Leeming  <leeming@lyx.org>
5445
5446         * lyx_main.C (LyX): remove call to setDisplayTranslator().
5447
5448         * lyxrc.C: displayTranslator is now a function,
5449         declared in GraphicsTypes.h.
5450
5451 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5452
5453         * format.C: new placeholder $$a to pass the socket address.
5454
5455         * bufferlist.[Ch]: new function getBufferFromTmp.
5456
5457         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5458           files in the temporary dir.
5459
5460 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5461
5462         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5463
5464         * Makefile.am: add lyxsocket.[Ch].
5465
5466         * lyx_main.C (error_handler): handle SIGPIPE.
5467
5468 2003-10-13  André Pönitz  <poenitz@gmx.net>
5469
5470         * BufferView_pimpl.C:
5471         * lyxtext.h:
5472         * text.C:
5473         * text2.C:
5474         * text3.C:
5475         * undo_funcs.[Ch]: use paroffset_type instead of
5476           ParagraphList::iterators to prevent multiple conversion
5477           (and get a more robust interface)
5478
5479 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5480
5481         * lyxfunc.C (dispatch): RESULT -> dispatch_result
5482         * lyxtext.h: ditto
5483         * text3.C (dispatch): ditto
5484
5485 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5486
5487         * LaTeX.C (handleFoundFile): move the static to smaller scope,
5488         move the onlyfile, use onlyfile instead of foundfile in a couple
5489         of places.
5490
5491         * DepTable.C (update): flush the error stream a bit more
5492
5493 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5494
5495         * lyxserver.C (callback): adjust
5496
5497         * lyxfunc.C (getStatus): add a missing brace in commented code
5498         (ensureBufferClean): reindent
5499         (dispatch): delete version taking a string
5500
5501 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5502
5503         * LaTeX.C (deplog): move found file handlig from here...
5504         (handleFoundFile): .. to new function here.
5505         (deplog): make sure to discover several files mentioned on the
5506         same log line.
5507
5508 2003-10-10  André Pönitz  <poenitz@gmx.net>
5509
5510         * lyxfunc.C:
5511         * lyxtext.h:
5512         * tabular.C:
5513         * text.C:
5514         * text2.C:
5515         * text3.C: fix some of the tabular crashes
5516
5517 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5518
5519         * MenuBackend.C (binding): put debug message into Debug::KBMAP
5520
5521         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5522
5523 2003-10-09  André Pönitz  <poenitz@gmx.net>
5524
5525         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5526
5527         * BufferView.C:
5528         * BufferView_pimpl.C:
5529         * bufferview_funcs.C:
5530         * lyx_cb.C:
5531         * lyxcursor.C:
5532         * lyxfind.C:
5533         * lyxfunc.C:
5534         * lyxtext.h:
5535         * text.C:
5536         * text2.C:
5537         * text3.C:
5538         * text_funcs.[Ch]:
5539         * textcursor.[Ch]:
5540         * undo_funcs.C: adjust
5541
5542 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5543
5544         * text2.C (incrementItemDepth): new function, use a backtracking
5545         algorithm to discover the correct item depth.
5546         (resetEnumCounterIfNeeded): new function, use a backtracking
5547         algorithm to discover if counter reset is needed.
5548         (setCounter): use them. Simplify a bit. Add different labels for
5549         different item depths for itemize.
5550
5551         * paragraph.C (Paragraph): remove initialization of enumdepth
5552         (operator=): ditto
5553
5554         * paragraph.h: get rid of enumdepth, and use itemdepth both for
5555         enumerate and itemize. Change the type of itemdepth to signed char.
5556
5557 2003-10-08  André Pönitz  <poenitz@gmx.net>
5558
5559         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5560           thing assignable.
5561         * text.C:
5562         * text2.C: adjust
5563
5564         * tabular.[Ch]: fix crash after 'row-insert'
5565
5566 2003-10-08  Angus Leeming  <leeming@lyx.org>
5567
5568         Fix doxygen warnings.
5569
5570         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5571         Remove CutAndPaste:: prefix from header file declaration.
5572
5573         * LColor.h (fill): remove LColor:: prefix from declaration.
5574
5575         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5576         use lyx::depth_type rather than Paragraph::depth_type so that
5577         header file and .C file match.
5578
5579         * converter.h (intToFormat): remove Converters:: prefix from declaration.
5580
5581         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5582         * aspell.C: \file aspell_local.C -> \file aspell.C
5583         * gettext.C: \file gettext.C -> \file src/gettext.C
5584         * gettext.h: \file gettext.h -> \file src/gettext.h
5585         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5586         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5587         * text.C: \file text.C -> \file src/text.C
5588
5589         * toc.C: move comment so that doxygen is not confused.
5590
5591 2003-10-07  Angus Leeming  <leeming@lyx.org>
5592
5593         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5594
5595 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5596
5597         * aspell.C:
5598         * aspell_local.h: add forgotten std::string's.
5599
5600 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5601
5602         * LaTeXFeatures.C:
5603         * LyXAction.C:
5604         * factory.C:
5605         * lfuns.h:
5606         * lyxfunc.C:
5607         * text3.C: The Box patch. Fancybox support, minipage, parbox
5608
5609 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5610
5611         * CutAndPaste.h:
5612         * DepTable.h:
5613         * FloatList.h:
5614         * LaTeXFeatures.h:
5615         * ParagraphParameters.h:
5616         * TextCache.h:
5617         * Thesaurus.h:
5618         * bufferlist.h:
5619         * exporter.h:
5620         * importer.h:
5621         * lastfiles.h:
5622         * lyxfind.h:
5623         * lyxfont.h:
5624         * lyxlex.h:
5625         * lyxtextclasslist.h:
5626         * messages.h:
5627         * paragraph.h:
5628         * paragraph_pimpl.C:
5629         * textcursor.h: add <string> and other small fixes to make Lars'
5630         std::string patch compile with STLport.
5631
5632 2003-10-06  Angus Leeming  <leeming@lyx.org>
5633
5634         * LColor.h: Add missing #include <string>.
5635
5636 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5637
5638         * All most all file in all subdirs: Make <string> be the prefered
5639         way of getting to std::string, add using declarations.
5640
5641 2003-10-06  André Pönitz  <poenitz@gmx.net>
5642
5643         * metricsinfo.C: initialize LyXFont before changing attribute.
5644         (fixes the 'math in \emph is upright' bug)
5645
5646 2003-10-06  André Pönitz  <poenitz@gmx.net>
5647
5648         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5649
5650 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
5651
5652         * graph.C:
5653         * paragraph_pimpl.C: Small fixes to build using STLport
5654
5655 2003-10-02  André Pönitz  <poenitz@gmx.net>
5656
5657         * lyxfunc.C:
5658         * text3.C: move handling of LFUN_DEPTH *; fix #1360
5659
5660 2003-10-01  André Pönitz  <poenitz@gmx.net>
5661
5662         * factory.C: assert early
5663
5664 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5665
5666         * lyx_main.C: remove the global debug object
5667
5668         * debug.h: adjust for new debugstream
5669
5670         * debug.C: adjust for new debugstream and keep the global debug
5671         object here.
5672
5673 2003-09-22  Angus Leeming  <leeming@lyx.org>
5674
5675         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5676         of g++ which otherwise complain that the scoped_ptr destructor can't delete
5677         an incomplete class LyXFont.
5678
5679 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
5680
5681         * factory.C: bug fix in branches
5682
5683 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5684
5685         * lyxfunc.C (processKeySym): adjust
5686         (dispatch): adjust
5687         (dispatch): change arg name from ev to func, adjust
5688         (sendDispatchMessage): ditto
5689
5690         * lyx_main.C (defaultKeyBindings): adjust keybindings
5691         (deadKeyBindings): ditto
5692
5693         * kbsequence.C (addkey): return a FuncRequest
5694
5695         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5696
5697         * kbmap.C (bind): take a FuncRequest as arg, adjust
5698         (read): adjust
5699         (lookup): adjust
5700         (defkey): change to take a FuncRequest as arg, adjust
5701         (findbinding): take a FuncRequest as arg, adjust.
5702
5703         * funcrequest.h (operator=): added
5704
5705         * funcrequest.C (FuncRequest): default kb_action changed from
5706         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5707
5708         * buffer.C (dispatch): simplify
5709         (dispatch): adjust to take a FuncRequest as arg, adjust
5710
5711         * boost.C (assertion_failed): change assertion message slightly
5712
5713         * ToolbarBackend.C (read): simplify
5714
5715         * MenuBackend.C (binding): adjust call to findbinding, add a
5716         message if no binding is found.
5717         (read): simplify
5718         (expandToc): correct by adding a empty FuncRequest
5719
5720         * LyXAction.C: include <boost/assert.hpp>
5721         (isPseudoAction): delete function
5722         (LookupFunc): change name to...
5723         (lookupFunc): this. change return type to FuncRequest.
5724         (getActionName): take kb_action as arg, simplify
5725         (funcHasFlag): add an assert, simplify.
5726
5727 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5728
5729         * toc.C (action): return a FuncRequest, simplify
5730
5731         * lyxfunc.C (processKeySym): adjust
5732         (getStatus): delete version that takes an int.
5733         (getStatus): adjust
5734         (dispatch): delete version that takes action as int
5735         (dispatch): adjust
5736         (sendDispatchMessage): simplify and adjust
5737
5738         * funcrequest.C (getArg): take unsigned int as arg
5739
5740         * ToolbarBackend.C (read): adjust
5741         (add): delete version that takes func as a string.
5742         (getIton): take a FuncRequest as arg
5743
5744         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5745         action.
5746
5747         * MenuBackend.C (MenuItem): add a new construct that only takes a
5748         Kind, simplify the constructor use for submenus.
5749         (add): adjust
5750         (expandLastfiles): adjust
5751         (expandDocuments): adjust
5752         (expandFormats): adjust
5753         (expandFloatListInsert): adjust
5754         (expandFloatInsert): adjust
5755         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5756
5757         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5758         Remove class variables lyx_pseudo_map and lyx_arg_map
5759
5760         * LyXAction.C (searchActionArg): delete function
5761         (getPseudoAction): delete function
5762         (retrieveActionArg): delete function
5763         (LookupFunc): make it return kb_action, simplify.
5764         (getActionName): simplify
5765
5766         * factory.C (createInset): fix new bug
5767
5768 2003-09-19  Angus Leeming  <leeming@lyx.org>
5769
5770         * CutAndPaste.C (pasteSelection): remove fudge used to set the
5771         masterFilename_ parameter in the include inset.
5772
5773         * factory.C (createInset): changes due to the changes to InsetInclude.
5774
5775 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5776
5777         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5778
5779 2003-09-18  Angus Leeming  <leeming@lyx.org>
5780
5781         * buffer.C:
5782         * BufferView.C: pass the buffer when calling Inset::getLabelList,
5783         Inset::fillWithBibKeys.
5784         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5785
5786 2003-09-18  Angus Leeming  <leeming@lyx.org>
5787
5788         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5789         variables.
5790         (ctor): pass and store a 'Buffer const &'
5791         (buffer): new member function.
5792
5793         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5794         '*this' to the LaTeXFeatures ctor.
5795
5796 2003-09-18  Angus Leeming  <leeming@lyx.org>
5797
5798         * LColor.h:
5799         * lyxfont.C:
5800         * lyxfont.h:
5801         * lyxtext.h:
5802         * text.C: rename EnumLColor as LColor_color.
5803
5804 2003-09-18  Angus Leeming  <leeming@lyx.org>
5805
5806         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5807         remove #include "insets/insetbase.h" from cursor.h.
5808
5809 2003-09-18  Angus Leeming  <leeming@lyx.org>
5810
5811         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5812         InsetOld_code to remove #include "inset.h".
5813
5814         * iterators.C: add #include "insets/inset.h"
5815
5816 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
5817
5818         * BufferView.C: remove more locking stuff that apparently doesn't
5819         do anything sensible.
5820
5821 2003-09-16  André Pönitz  <poenitz@gmx.net>
5822
5823         * paragraph.[Ch]:
5824         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5825           performance boost.
5826
5827 2003-09-16  Angus Leeming  <leeming@lyx.org>
5828
5829         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5830
5831         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5832         arg/return type.
5833
5834         * paragraph.h: remove #include "lyxfont.h". Forward declare
5835         LyXFont_size.
5836
5837 2003-09-16  Angus Leeming  <leeming@lyx.org>
5838
5839         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5840         of support/textutils.h.
5841         (isWord): move the contents of support/textutils.h's IsWordChar here.
5842
5843         * buffer.C:
5844         * lyxfind.C:
5845         * rowpainter.C:
5846         * text.C:
5847         * text2.C: add #include "paragraph.h".
5848
5849         * rowpainter.C:
5850         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5851
5852 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5853
5854         * main.C:
5855         * lyx_main.C:
5856         * lyx_cb.C:
5857         * buffer.C:
5858         * LaTeX.C: use namespace alias for lyx::support::os
5859
5860 2003-09-16  Angus Leeming  <leeming@lyx.org>
5861
5862         * bufferparams.C:
5863         * bufferview_funcs.C:
5864         * factory.C:
5865         * lyxfunc.C:
5866         * paragraph_pimpl.C:
5867         * rowpainter.C:
5868         * text.C: add #include "LColor.h".
5869
5870 2003-09-16  Angus Leeming  <leeming@lyx.org>
5871
5872         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5873         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5874         return LyXFont &.
5875         Store the FontBits::color variable as an int rather than as an
5876         LColor::colorso that we can move LColor.h out of the lyxfont.h header
5877         file.
5878
5879         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5880         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5881         string calls together.
5882
5883         * lyxrc.C: add #include "LColor.h".
5884
5885 2003-09-15  Angus Leeming  <leeming@lyx.org>
5886
5887         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5888         a cow_ptr.
5889
5890 2003-09-15  Angus Leeming  <leeming@lyx.org>
5891
5892         * LColor.h: add an EnumLColor wrapper for LColor::color.
5893
5894         * lyxfont.[Ch] (color, setColor, realColor):
5895         * lyxtext.h, text.C (backgroundColor):
5896         pass EnumLColor args to/from the functions, rather than LColor::color
5897         ones.
5898
5899         * lyxfont.h:
5900         * lyxtext.h: forward declare EnumLColor.
5901
5902         * lyx_main.C: add #include "LColor.h".
5903
5904 2003-09-15  Angus Leeming  <leeming@lyx.org>
5905
5906         * .cvsignore: add lyx-gtk.
5907
5908 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5909
5910         * Chktex.C
5911         * LaTeX.C
5912         * LaTeXFeatures.C
5913         * ParagraphParameters.C
5914         * Spacing.C
5915         * buffer.C
5916         * bufferparams.C
5917         * bufferview_funcs.C
5918         * chset.C
5919         * counters.C
5920         * funcrequest.C
5921         * lyxfont.C
5922         * lyxgluelength.C
5923         * lyxlength.C
5924         * paragraph.C
5925         * paragraph_funcs.C
5926         * text3.C
5927         * vc-backend.C: remove usage of STRCONV
5928
5929 2003-09-15  Angus Leeming  <leeming@lyx.org>
5930
5931         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5932         explicitly define the color passed to the painter.
5933
5934 2003-09-15  Angus Leeming  <leeming@lyx.org>
5935
5936         * bufferparams.C (BufferParams): reorder member initializers to avoid
5937         compiler warning.
5938
5939 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
5940
5941         * CutAndPaste.C (pasteSelection): remove an outdated #warning
5942         * text.C (updateRowPositions): remove an unusual nop
5943
5944 2003-09-12  André Pönitz  <poenitz@gmx.net>
5945
5946         * BufferView_pimpl.C:
5947         * Bullet.C:
5948         * layout.h:
5949         * lyxfunc.C:
5950         * lyxlayout.[Ch]:
5951         * lyxtextclass.C:
5952         * rowpainter.C:
5953         * text.C:
5954         * text2.C:
5955         * Counters.[Ch]: finish the 'automatic counters' job
5956
5957 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5958
5959         * aspell.C: include <boost/assert.cpp> (compile fix)
5960
5961 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
5962
5963         * boost.C (assertion_failed): use lyx::support::abort instead of
5964         assert.
5965
5966 2003-09-10  Angus Leeming  <leeming@lyx.org>
5967
5968         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5969         with their _fwd progeny.
5970
5971 2003-09-09  Angus Leeming  <leeming@lyx.org>
5972
5973         134 files throughtout the source tree: replace 'using namespace abc;'
5974         directives with the appropriate 'using abc::xyz;' declarations.
5975
5976 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5977
5978         * boost.C (emergencyCleanup): moved here from LAssert.c
5979         (assertion_failed): new function, called by BOOST_ASSERT
5980
5981         * several files: change Assert to BOOST_ASSERT
5982
5983 2003-09-09  Angus Leeming  <leeming@lyx.org>
5984
5985         * buffer.[Ch]: Add an Impl class and move Buffer's member
5986         variables into it. As a result move several header files out of
5987         buffer.h.
5988
5989         Add header files to lots of .C files all over the tree as a result.
5990
5991 2003-09-09  Angus Leeming  <leeming@lyx.org>
5992
5993         * buffer.[Ch]: make Buffer's member variables private. Add
5994         accessor functions.
5995
5996         Lots of changes all over the tree as a result.
5997
5998 2003-09-08  Angus Leeming  <leeming@lyx.org>
5999
6000         * graph.C: #include <config.h>.
6001
6002 2003-09-08  Angus Leeming  <leeming@lyx.org>
6003
6004         * BranchList.C:
6005         * BufferView.C:
6006         * BufferView_pimpl.C:
6007         * CutAndPaste.C:
6008         * DepTable.C:
6009         * LaTeX.C:
6010         * LaTeXFeatures.C:
6011         * LyXAction.C:
6012         * MenuBackend.C:
6013         * TextCache.C:
6014         * aspell.C:
6015         * buffer.C:
6016         * bufferlist.C:
6017         * changes.C:
6018         * chset.C:
6019         * converter.C:
6020         * counters.C:
6021         * debug.C:
6022         * graph.C:
6023         * ispell.C:
6024         * lyx_cb.C:
6025         * lyxfind.C:
6026         * lyxfunc.C:
6027         * lyxlex_pimpl.C:
6028         * lyxrc.C:
6029         * lyxrow.C:
6030         * paragraph.C:
6031         * rowpainter.C:
6032         * texrow.C:
6033         * text.C:
6034         * text2.C:
6035         * toc.C: remove redundant using directives.
6036
6037 2003-09-07  Angus Leeming  <leeming@lyx.org>
6038
6039         * LaTeXFeatures.h: remove #include "support/types.h".
6040         * ToolbarBackend.h: remove #include <algorithm>.
6041         * changes.h: remove #include <ctime>.
6042         * debug.h: remove #include <iosfwd>.
6043         * graph.h: remove #include "support/std_string.h".
6044         * lyx_main.h: remove #include <csignal>.
6045         * lyxlex_pimpl.h: remove #include <fstream>.
6046         * sgml.h: remove #include <algorithm>, <utility>.
6047         * toc.h: remove #include "support/std_ostream.h".
6048         Add #include <iosfwd>.
6049
6050 2003-09-07  Angus Leeming  <leeming@lyx.org>
6051
6052         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
6053
6054         * converter.h: forward declare LatexRunParams.
6055         * encoding.h: remove #include "lyxrc.h".
6056         * lyxtext.h: remove #include "LColor.h".
6057         * lyxtextclass.h: remove #include "support/types.h".
6058         * trans.h: remove #include "tex-accent.h".
6059         * trans_mgr.h: remove #include "tex-accent.h".
6060         * insets/inset.h: remove #include "support/types.h", <vector>.
6061         * insets/insetcollapsable.h: remove #include "LColor.h".
6062         * insets/insetinclude.h: remove #include "dimension.h".
6063         * insets/insetlatexaccent.h: remove #include "dimension.h".
6064         * insets/insetoptarg.h:: remove #include "insettext.h".
6065         * insets/insettext.h: remove #include "dimension.h",
6066         <boost/shared_ptr.hpp>
6067
6068         * insets/renderers.h: add #include "dimension.h".
6069         * insets/updatableinset.h: add #include "support/types.h".
6070
6071         * many .C files: Associated changes.
6072
6073 2003-09-06  Angus Leeming  <leeming@lyx.org>
6074
6075         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
6076         one, inside testInvariant.
6077
6078         * PrinterParams.C: new file.
6079         * PrinterParams.[Ch]: move the function bodies out of line.
6080
6081 2003-09-06  Angus Leeming  <leeming@lyx.org>
6082
6083         * ParagraphParameters.h: forward declare ParameterStruct rather than
6084         including its header file.
6085         (depth): moved out-of-line.
6086
6087 2003-09-06  Angus Leeming  <leeming@lyx.org>
6088
6089         * BufferView_pimpl.h:
6090         * kbmap.h:
6091         * kbsequence.h:
6092         * lyxfunc.h: forward declare LyXKeySym rather than
6093         #include "frontends/LyXKeySym.h".
6094
6095         * BufferView_pimpl.C:
6096         * kbmap.C:
6097         * kbsequence.C:
6098         * lyxfunc.C: associated changes.
6099
6100 2003-09-06  Angus Leeming  <leeming@lyx.org>
6101
6102         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6103         As a result, can remove the #include "insets/inset.h" from BufferView.h
6104
6105 2003-09-06  Angus Leeming  <leeming@lyx.org>
6106
6107         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6108         As a result, can remove the #include "insets/inset.h" from BufferView.h
6109
6110 2003-09-06  Angus Leeming  <leeming@lyx.org>
6111
6112         * buffer_funcs.C:
6113         * buffer.h:
6114         * bufferlist.C:
6115         * BufferView.C:
6116         * bufferview_funcs.C:
6117         * BufferView_pimpl.C:
6118         * CutAndPaste.C:
6119         * lyx_cb.C:
6120         * lyxfunc.C:
6121         * paragraph.h:
6122         * ParagraphParameters.C:
6123         * tabular.C:
6124         * text3.C:
6125         * toc.C:
6126         * undo_funcs.C:
6127         * frontends/controllers/ControlDocument.C:
6128         * insets/insetcaption.C: rearrange the #includes into some sort of
6129         coherent order.
6130
6131         * buffer.h: remove #includes ErrorList.h, undo.h
6132
6133 2003-09-06  Angus Leeming  <leeming@lyx.org>
6134
6135         * support/types.h: add a 'depth_type' typedef, used to store the
6136         nesting depth of a paragraph.
6137
6138         * paragraph.h:
6139         * ParameterStruct.h: use this lyx::depth_type typedef rather than
6140         defining explicitly.
6141
6142         * buffer.h:
6143         * paragraph_funcs.h:
6144         * ParagraphParameters.h:
6145         * sgml.h: use lyx::depth_type rather than Paragraph or
6146         ParameterStruct's depth_type.
6147
6148         * buffer.h
6149         * paragraph_funcs.h: no need to #include paragraph.h anymore.
6150
6151         * BufferView.C:
6152         * BufferView_pimpl.C:
6153         * CutAndPaste.C:
6154         * ParagraphParameters.C:
6155         * buffer_funcs.C:
6156         * bufferlist.C:
6157         * bufferview_funcs.C:
6158         * lyx_cb.C:
6159         * lyxfunc.C:
6160         * tabular.C:
6161         * text3.C:
6162         * toc.C:
6163         * undo_funcs.C:
6164         * frontends/LyXView.C:
6165         * frontends/controllers/ControlDocument.C:
6166         * frontends/controllers/ControlErrorList.C:
6167         * insets/insetbibitem.C:
6168         * insets/insetbranch.C:
6169         * insets/insetcaption.C:
6170         * insets/insetcollapsable.C:
6171         * insets/insetenv.C:
6172         * insets/insetert.C:
6173         * insets/insetfloat.C:
6174         * insets/insetfoot.C:
6175         * insets/insetfootlike.C:
6176         * insets/insetnewline.C:
6177         * insets/insetquotes.C:
6178         * insets/insettabular.C:
6179         * insets/insettext.C:
6180         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
6181
6182         * frontends/controllers/ControlChanges.C: #include "changes.h".
6183
6184 2003-09-06  Angus Leeming  <leeming@lyx.org>
6185
6186         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
6187         than #including paragraph.h.
6188
6189         * ParagraphList.h:
6190         * RowList.h: deleted. Superfluous.
6191
6192         * CutAndPaste.h:
6193         * iterators.h:
6194         * lyxcursor.h:
6195         * lyxtext.h:
6196         * text_funcs.h:
6197         * undo.h:
6198         * undo_funcs.h:
6199         * insets/inset.h:
6200         * insets/insettext.h: use ParagraphList_fwd.h rather than
6201         ParagraphList.h.
6202
6203         * paragraph.h: don't forward declare ParagraphList.
6204
6205         * buffer.h:
6206         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
6207         rather than ParagraphList.h. paragraph.h is still needed for the
6208         Paragraph::depth_type parameters.
6209
6210         * textcursor.h: enable it to compile stand-alone in light of the
6211         above changes.
6212
6213         * bufferview_funcs.C:
6214         * iterators.C:
6215         * lyxfunc.C:
6216         * lyxrow_funcs.C:
6217         * paragraph.C:
6218         * rowpainter.C:
6219         * text.C:
6220         * text2.C:
6221         * text3.C:
6222         * text_funcs.C:
6223         * textcursor.C:
6224         * undo.C:
6225         * frontends/controllers/ControlParagraph.C:
6226         * frontends/controllers/ControlTabular.C:
6227         * insets/insetmarginal.C:
6228         * insets/insetminipage.C:
6229         * insets/insetnote.C:
6230         * insets/insetoptarg.C: add header files needed to compile again.
6231
6232 2003-09-06  Angus Leeming  <leeming@lyx.org>
6233
6234         * RowList_fwd.h: new file, forward-declaring Row rather than
6235         #including lyxrow.h.
6236
6237         * lyxrow_funcs.h:
6238         * lyxtext.h:
6239         * paragraph.h:
6240         * insets/insettext.h: use it instead of RowList.h
6241
6242         * bufferview_funcs.C:
6243         * lyxfunc.C:
6244         * lyxrow_funcs.C:
6245         * paragraph.C:
6246         * rowpainter.C:
6247         * text.C:
6248         * text2.C:
6249         * text3.C: #include "RowList.h".
6250
6251 2003-09-05  Angus Leeming  <leeming@lyx.org>
6252
6253         * factory.C (createInset):
6254         * vspace.C (c-tor): replace sscanf call with an istringstream.
6255         * ispell.C: re-add missing HP/UX headers.
6256         * lyxserver.C: re-add missing  os2 headers.
6257
6258 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
6259
6260         * BranchList.C:
6261         * graph.C:
6262         * ispell.C:
6263         * lastfiles.C:
6264         * lyx_cb.C:
6265         * lyxserver.C:
6266         * texrow.C:
6267         * text3.C: re-add missing system headers, needed for 2.95.2.
6268
6269 2003-09-05  Angus Leeming  <leeming@lyx.org>
6270
6271         Changes most place everywhere due to the removal of using directives
6272         from support/std_sstream.h.
6273
6274 2003-09-05  Angus Leeming  <leeming@lyx.org>
6275
6276         Replace LString.h with support/std_string.h,
6277         Lsstream.h with support/std_sstream.h,
6278         support/LIstream.h with support/std_istream.h,
6279         support/LOstream.h with support/std_ostream.h.
6280
6281         Changes resulting throughout the tree.
6282
6283 2003-09-05  Angus Leeming  <leeming@lyx.org>
6284
6285         * sgml.h: ensure that the header file can be compiled stand-alone.
6286         * *.C: strip out redundant #includes. (320 in total.)
6287
6288 2003-09-04  Angus Leeming  <leeming@lyx.org>
6289
6290         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6291         here (from getPackages).
6292
6293         * debug.[Ch]: add a new EXTERNAL tag.
6294
6295 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6296
6297         * text2.C (cursorEnd): simplify
6298         (setCursor): adjust
6299         (getColumnNearX): adjust
6300
6301         * text.C (computeBidiTables): adjust
6302         (fill): adjust
6303
6304         * rowpainter.C (paintChars): adjust
6305         (paintSelection): adjust
6306         (paintChangeBar): adjust
6307         (paintText): adjust
6308
6309         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6310         lastPos instead.
6311         (numberOfSeparators): adjust
6312
6313 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6314
6315         * LyXAction.C:
6316         * box.[Ch]:
6317         * lfuns.h:
6318         * lyxfunc.C:
6319         * text3.C: Restricts the mouse click functionality
6320         of insets like bibtex, include, toc and floatlist to the visible
6321         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6322         up the dialogs. Cursor has to be in front of the inset (i.e.
6323         start of row) for this to function.
6324
6325 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6326
6327         * bufferview_funcs.C (currentState): output row information
6328
6329 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6330
6331         * bufferview_funcs.C (currentState): output paragraph position
6332
6333 2003-09-04  Angus Leeming  <leeming@lyx.org>
6334
6335         * FloatList.h: move out #include "Floating.h".
6336         * LaTeX.h: move out #include "DepTable.h".
6337         * LyXAction.h: move out #include "funcrequest.h".
6338         * buffer.h: move out #include "author.h", "iterators.h".
6339         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6340         * lyx_main.h: move out #include "errorlist.h".
6341         * lyxfunc.h: move out #include "FuncStatus.h".
6342         * lyxtext: move out #include "lyxcursor.h".
6343         * paragraph_pimpl.h: move out #include "counters.h".
6344
6345 2003-09-03  Angus Leeming  <leeming@lyx.org>
6346
6347         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6348         preamble_snippets list, enabling us to add snippets to the preamble
6349         only if the snippet was not there already.
6350
6351 2003-09-04  Angus Leeming  <leeming@lyx.org>
6352
6353         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6354
6355 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6356
6357         * lyxfunc.C (dispatch): if fitCursor did something be sure to
6358         update
6359
6360 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6361
6362         * BranchList.C: point fix, earlier forgotten
6363
6364 2003-09-02  Angus Leeming  <leeming@lyx.org>
6365
6366         * box.C (contains): renamed from 'contained' after a fantastic
6367         amount of hot air.
6368
6369 2003-09-02  John Levon  <levon@movementarian.org>
6370
6371         * BufferView.C:
6372         * lyxcursor.h:
6373         * lyxcursor.C:
6374         * lyxfunc.C:
6375         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6376
6377 2003-09-02  John Levon  <levon@movementarian.org>
6378
6379         * text2.C: simplification of cursorEnd(), including partial
6380         fix for bug 1376
6381
6382 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6383
6384         * buffer.C (readFile): add a space
6385
6386 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
6387
6388         * BufferView_pimpl.C (update): remove bogus fitCursor() call
6389
6390 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6391
6392         * buffer.C (readFile): new function, take a filename and a
6393         ParagraphList::iterator
6394         (readFile): adjust
6395         (readFile): adjust, make it private. don't use setStream, make
6396         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6397         always contain the filename.
6398
6399         * BufferView.C (insertLyXFile): simplify and make it work for
6400         gzipped files.
6401
6402 2003-08-30  John Levon  <levon@movementarian.org>
6403
6404         * Makefile.am: fix dist (from Kayvan)
6405
6406 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6407
6408         * most files: change to use const Buffer refs
6409
6410 2003-08-27  André Pönitz  <poenitz@gmx.net>
6411
6412         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6413         on top of ownerPar().
6414
6415 2003-08-27  John Levon  <levon@movementarian.org>
6416
6417         * funcrequest.C: properly initialise POD members
6418
6419 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6420
6421         * lyxtext.h (top_y): move top_y from here
6422         * text.C:
6423         * text2.C:
6424         * text3.C:
6425         * BufferView.[Ch]:
6426         * BufferView_pimpl.[Ch]: to here
6427         * frontends/screen.C:
6428         * insets/insettabular.C:
6429         * insets/insettext.C: adjust
6430         * rowpainter.[Ch] (paintRows): remove LyXText & argument
6431
6432 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6433
6434         * BufferView.[Ch]:
6435         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6436
6437 2003-08-26  André Pönitz  <poenitz@gmx.net>
6438
6439         * paragraph_func.[Ch] (outerPar): new function
6440
6441         * paragraph.C:
6442         * paragraph_funcs.C:
6443         * paragraph_funcs.h:
6444         * paragraph_pimpl.C:
6445         * text2.C: remove Inset::par_owner
6446
6447 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
6448
6449         * lyxrow_funcs.C:
6450         * lyxtext.h:
6451         * text.C:
6452         * text2.C: eliminates the needFullRow/display() stuff
6453         altogether, putting the logic in metrics/draw in the insets.
6454
6455 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
6456
6457         * text2.C (redoParagraphInternal, redoParagraphs):
6458         * text.C (redoParagraph): add a call to updateRowPositions at the
6459         end of each 'metrics-like' call. Remove all others.
6460         (getRow): remove the 'y-computing' version.
6461         (getRowNearY): do not compute nor return the real y. Solve the
6462         'y < 0' problem and simplify.
6463
6464 2003-08-22  Angus Leeming  <leeming@lyx.org>
6465
6466         * *.[Ch]: clean-up of licence and author blurbs.
6467         Also move config.h out of a few .h files and into a few .C files.
6468
6469 2003-08-22  André Pönitz  <poenitz@gmx.net>
6470
6471         * lyxrow.[Ch]: add x_ and *fill_ members
6472
6473         * lyxtext.h:
6474         * text.C:
6475         * rowpainter.C:
6476         * text2.C: adjust/remove prepareToPrint() calls
6477
6478 2003-08-22  André Pönitz  <poenitz@gmx.net>
6479
6480         * lyxrow.[Ch]: add  end_ member
6481
6482         * lyxrow_funcs.C: use LyXRow::end_
6483
6484         * lyxtext.h (singleWidth): add LyXFont parameter
6485
6486         * rowpainter.C:
6487         * text2.C: adjust LyXText::singleWidth() calls
6488
6489         * text.C (redoParagraph): simplify row breaking logic
6490
6491
6492 2003-08-19  André Pönitz  <poenitz@gmx.net>
6493
6494         * funcrequest.C: initialize button_ member
6495
6496         * text3.C:
6497         * rowpainter.[Ch]: interface consolidation
6498
6499 2003-08-18  André Pönitz  <poenitz@gmx.net>
6500
6501         * BufferView.C:
6502         * BufferView_pimpl.C:
6503         * lyxfind.C:
6504         * paragraph_funcs.C:
6505         * rowpainter.C:
6506         * text3.C: remove LyXScreen::draw() and fitCursor calls
6507
6508         * BranchList.h: remove spurious semicolons
6509
6510         * MenuBackend.C: fix branchlist related crash
6511
6512 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
6513
6514         * BranchList.[Ch]:
6515         * InsetList.[Ch]:
6516         * LColor.[Ch]:
6517         * LyXAction.C:
6518         * Makefile.am:
6519         * MenuBackend.[Ch]:
6520         * bufferparams.[Ch]:
6521         * factory.C:
6522         * lfuns.h:
6523         * lyxfunc.C:
6524         * text3.C: implements the 'branch inset'
6525         idea. This allows the output of various versions of a document
6526         from a single source version, selectively outputing or suppressing
6527         output of parts of the text.
6528         This implementation contains a 'branch list editor' in a separate
6529         tab of the document settings dialog. Branches are user definable
6530         and have a "display colour" to distinguish them on-screen.
6531
6532         ColorHandler was somewhat cleaned up.
6533         (1) make possible a dynamically growing LColor list by allowing
6534         the graphic context cache to grow along (vector);
6535         (2) eliminate an IMHO unnecessary step in colour allocation.
6536
6537 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
6538
6539         * BufferView_pimpl.C: compile fix
6540
6541 2003-08-15  André Pönitz  <poenitz@gmx.net>
6542
6543         * rowpainter.C: remove extra metrics calls
6544
6545         * lyxtext.h: merge the two constructors into a single one,
6546           pass reference to owner's par list
6547
6548         * BufferView_pimpl.C:
6549         * text.C:
6550         * text2.C: adjust
6551
6552 2003-08-15  André Pönitz  <poenitz@gmx.net>
6553
6554         * lyxrow_funcs.[Ch]:
6555         * lyxtext.h:
6556         * paragraph.h:
6557         * paragraph_funcs.C:
6558         * rowpainter.C:
6559         * text.C:
6560         * text2.C:
6561         * text3.C:
6562         * text_funcs.C: split LyXText::rowlist_ into individual
6563         Paragraph::rows_ chunks
6564
6565         * BufferView.[Ch]:
6566         * BufferView_pimpl.[Ch]:
6567         * lyxfind.C:
6568         * lyxtext.h:
6569         * text3.C: remove toggleSelection()
6570
6571 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
6572
6573         * bufferlist.C: beautify two alerts (shorter text of buttons)
6574         * buffer.C: Remove redundant ' ' from message
6575         * tabular.h:
6576         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6577         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6578         rename VALIGN_CENTER to VALIGN_MIDDLE
6579
6580 2003-08-11  André Pönitz  <poenitz@gmx.net>
6581
6582         * lyxtext.h (getPar):
6583         * text.C: new function
6584
6585 2003-08-11  André Pönitz  <poenitz@gmx.net>
6586
6587         * Makefile.am:
6588         * tracer.[Ch]: remove unneeded files
6589
6590         * InsetList.[Ch]: remove resizeInsetsLyXText()
6591
6592         * lyxtext.h:
6593         * text.C:
6594         * text2.C:
6595         * text3.C: merge insertParagraphs() and appendParagraph()
6596         remove breakAgain(), update()
6597
6598         * BufferView_pimpl.[Ch]:
6599         * bufferview_funcs.[Ch]:
6600         * lyxfunc.C:
6601         * paragraph.[Ch]:
6602         * rowpainter.C:
6603         * tabular.C: adjust after text & InsetList changes.
6604
6605 2003-08-08  André Pönitz  <poenitz@gmx.net>
6606
6607         * text.C (insertChar, backspace): replace rowlist fiddling
6608         with rebreak of full par
6609
6610         * lyxtext.h:
6611         * text.C (breakAgainOneRow, redoHeightOfParagraph,
6612         checkParagraph, updateInset): removed
6613
6614 2003-08-07  André Pönitz  <poenitz@gmx.net>
6615
6616         * paragraph.C:
6617         * text3.C: merge some LFUN handlers, remove dead code
6618
6619 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6620
6621         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6622
6623 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
6624
6625         * text2.C (DEPM): fix part of bug 1255 and 1256
6626
6627 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6628
6629         * BufferView_pimpl.C (workAreaDispatch): change to use
6630         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6631         that are no mouse related.
6632
6633 2003-08-05  André Pönitz  <poenitz@gmx.net>
6634
6635         * BufferView.[Ch]:
6636         * BufferView_pimpl.[Ch]:
6637         * bufferview_funcs.C:
6638         * text2.C:
6639         * text3.C: rip out "deep update"
6640
6641         * textcursor.[Ch] (last_sel_cursor): remove unused member
6642
6643 2003-08-04  André Pönitz  <poenitz@gmx.net>
6644
6645         * BufferView.[Ch]:
6646         * BufferView_pimpl.[Ch]:
6647         * ParagraphParameters.C:
6648         * bufferview_funcs.C:
6649         * lyx_cb.C:
6650         * lyxfind.C:
6651         * lyxfunc.C:
6652         * text.C:
6653         * text2.C:
6654         * text3.C: replace "complicated" BufferView::update(...) calls with
6655         simpler ones.
6656
6657         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6658
6659 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
6660
6661         * Makefile.am (lyx_SOURCES): add paper.h
6662
6663 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6664
6665         * Makefile.am: move things around so that both lyx-qt and
6666         lyx-xforms can be built (according to --with-frontend). Then lyx
6667         is a symbolic link to lyx-[firstfrontend]
6668
6669 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
6670
6671         * Always use std::endl with lyxerr
6672
6673 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
6674
6675         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6676
6677 2003-08-01  André Pönitz  <poenitz@gmx.net>
6678
6679         * BufferView.[Ch]:
6680         * BufferView_pimpl.[Ch]:
6681         * lyxfunc.C:
6682         * text3.C: merge BufferView::repaint() and BufferView::update()
6683
6684 2003-08-01  José Matos  <jamatos@lyx.org>
6685
6686         * buffer.[Ch]: file_format is no longer a buffer data element.
6687
6688 2003-08-01  André Pönitz  <poenitz@gmx.net>
6689
6690         * BufferView.C:
6691         * lyxtext.h:
6692         * text.C:
6693         * text2.C: make redoParagraph more independent of current cursor
6694
6695         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6696         * text.C:
6697         * text2.C: remove unneeded members
6698
6699 2003-07-30  André Pönitz  <poenitz@gmx.net>
6700
6701         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6702
6703         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6704           create a single function...
6705
6706         * paragraph_funcs.C (moveItem): ... here.
6707
6708         * text.C:
6709           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6710
6711 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
6712
6713         * LColor.[Ch]: Add comment and greyedout logical colors.
6714
6715 2003-07-30  André Pönitz  <poenitz@gmx.net>
6716
6717         * tabular.C: don't use Assert too heavily. This crashes where it
6718           shouldn't
6719
6720 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
6721
6722         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6723         is disabled (bug 1232)
6724
6725 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6726
6727         * factory.C: limited 'arg' scope
6728
6729 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6730
6731         * factory.C: fixed Note submenu issues
6732
6733 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6734
6735         * factory.C: submenu for Note/Comment/Greyedout
6736
6737 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
6738
6739         * lyx_main.C (LyX):
6740         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6741
6742 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
6743
6744         * LaTeXFeatures.C:
6745         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6746         greyedout. Patch provided by Jürgen Spitzmüller.
6747
6748 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6749
6750         * kbmap.C (read): fix error message when reading bind files
6751
6752 2003-07-29  Angus Leeming  <leeming@lyx.org>
6753
6754         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6755         certainly does not do what it purports to do. I am doing it, and
6756         us, a favour by killing it.
6757
6758 2003-07-28  José Matos  <jamatos@lyx.org>
6759
6760         * buffer.C (readBody, do_writeFile):
6761         * paragraph.C(readParagraph): \end_document replaces \the_end.
6762
6763 2003-07-29  André Pönitz  <poenitz@gmx.net>
6764
6765         * BufferView.[Ch]:
6766         * BufferView_pimpl.[Ch]:
6767         * lyxfunc.C:
6768         * text2.C:
6769         * text3.C:
6770         * textcursor.[Ch]: remove toggleToggle & Co
6771
6772 2003-07-28  José Matos  <jamatos@fep.up.pt>
6773
6774         * buffer.C (readParagraph):
6775         * params_func (readParToken, readParagraph):
6776         * paragraph.C (write): \layout -> \begin_layout.
6777
6778 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6779
6780         * lyxlex_pimpl.C (setFile): clean up slightly.
6781
6782         * bufferparams.h: add compressed var
6783
6784         * buffer_funcs.C (readFile): adjust for LyXLex change
6785         (newFile): ditto + simplify
6786
6787         * buffer.C (writeFile): handle writing of compressed files
6788
6789         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6790         Check if the file is compressed and set a bufferparm if so.
6791
6792         * Makefile.am (lyx_LDADD): remove explicit -lz
6793
6794 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6795
6796         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6797         makeDocBookFile): put the real LyX version in the first line of
6798         the file
6799
6800         * version.h:
6801         * version.C.in: remove lyx_docversion
6802
6803         * tabular.C (write_attribute): add a template-based version to
6804         write enums properly
6805
6806 2003-07-28  André Pönitz  <poenitz@gmx.net>
6807
6808         * lyxtext.h:
6809         * text.C:
6810         * text2.C:
6811         * text3.C: use doubles again for x-coordinates. They are needed.
6812
6813 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6814
6815         * messages.C (getLocaleDir): use lyx_localedir()
6816
6817         * lyxlex_pimpl.C (setFile): compress stuff
6818
6819         * buffer.C (writeFile): add some compression stuff
6820         (do_writeFile): new func, dont call expliti close... will this
6821         breake anything?
6822
6823         * Makefile.am (lyx_LDADD): add -lz
6824
6825 2003-07-28  José Matos  <jamatos@fep.up.pt>
6826
6827         * buffer.C: increment file format.
6828         * paragraph_funcs (readParagraph, readParToken):
6829         * paragraph.C (readParagraph): add \end_layout.
6830
6831 2003-07-27  Angus Leeming  <leeming@lyx.org>
6832
6833         * Makefile.am: remove special casing for configure-time setting of
6834         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6835
6836         * lyx_main.C (init): remove all Jean-Marc's magic setting of
6837         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6838
6839 2003-07-26  André Pönitz  <poenitz@gmx.net>
6840
6841         * paragraph_func.[Ch]:
6842         * paragraph.C (realizeFont): inline it whereever it is used
6843
6844         * rowpainter.C:
6845         * text.C:
6846         * text2.C:
6847         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6848
6849
6850 2003-07-26  André Pönitz  <poenitz@gmx.net>
6851
6852         *       lyxtext.h:
6853         * text.C:
6854         * text2.C: get rid of LyXText::need_break_row
6855
6856 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6857
6858         * toc.[Ch]: put namespace toc inside namespace lyx
6859
6860         * MenuBackend.C (expandToc2): adjust for lyx::toc
6861         (expandToc): ditto
6862
6863         * lyxfunc.C (dispatch): adjust for lyx::find
6864
6865         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6866         lyx::find instead. Reorganize a bit.
6867         (LyXReplace): rename to replace
6868         (LyXFind): rename to find
6869
6870         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6871         (dispatch): ditto
6872
6873 2003-07-26  André Pönitz  <poenitz@gmx.net>
6874
6875         * text.C (setHeightOfRow): restrict scope of temporary variable
6876
6877         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
6878           code (never has been used?)
6879
6880 2003-07-27  Asger Alstrup  <alstrup@local>
6881
6882         * text.C (fill): Optimise algorithm to exploit that we can reuse
6883         the LyXFont for many characters.
6884         (setHeightOfRow): Same thing.
6885         (rowBreakPoint): Same thing.
6886
6887 2003-07-26  Asger Alstrup  <alstrup@local>
6888
6889         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6890
6891         * text.C (singleWidth): Spurious font copying in hot-spot
6892         singleWidth avoided. Reorder tests for arabic for efficiency.
6893
6894         * text.C (fill): handle empty paragraphs better.
6895
6896 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6897
6898         * ispell.C:
6899         * encoding.h: add includes
6900
6901         * lyxrc.C: remove reading of bind files
6902
6903         * lyx_main.C (init): setup bindings and menus only if we have a
6904         gui.
6905
6906         * kbmap.C (read): new method. Do the actual reading of bind
6907         files.
6908
6909         * converter.C (dvipdfm_options):
6910         * bufferparams.C:
6911         * lyxrc.C (read):
6912         (output): adapt PAPER_* enums.
6913
6914         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6915
6916         * bufferparams.h: remove paper-related enums from there
6917
6918         * paper.h: New file. A trivial header file to hold paper-related
6919         enums. It should later expand to contain many paper-related
6920         horrors access.
6921
6922         * lyxrc.C: declare extern displayTranslator
6923
6924 2003-07-27  José Matos  <jamatos@fep.up.pt>
6925
6926         * tabular.[Ch] (linuxdoc): add support for tables and figures
6927         (linuxdoc).
6928
6929 2003-07-27  José Matos  <jamatos@fep.up.pt>
6930
6931         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6932         consistency in both functions.
6933         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6934
6935 2003-07-26  Asger Alstrup  <alstrup@local>
6936
6937         * rowpainter.C (paintRows): Change algorithm to work directly on
6938         the insets rather than asking every character in the document
6939         whether its an inset.
6940
6941 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
6942
6943         * buffer.C (openFileWrite): factorize some code
6944
6945 2003-07-26  Angus Leeming  <leeming@lyx.org>
6946
6947         * lyx_cb.C:
6948         * lyx_main.[Ch]: replace occurances of system_tempdir with
6949         os::getTmpDir().
6950
6951 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6952
6953         * rename Inset to InsetOld
6954
6955 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
6956
6957         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6958         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6959         which I think is a bit clearer. EDIT is gone, since it was
6960         premature optimisation, and broken for mathed anyway.
6961         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6962         with cursor positioning in insets as well (math insets still do not
6963         work, but that's a different story anyway.) It mysteriously
6964         crashes sometimes with undo in the first paragraph, but I'm fairly
6965         confident that this is a compiler bug.
6966
6967 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6968
6969         * paragraph.C (Paragraph): adjust for new clone return type
6970         (operator==): ditto
6971         (copyIntoMinibuffer): ditto
6972
6973 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
6974
6975         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6976         by not having a special case, and always doing a full rebreak of
6977         the document after undo.
6978
6979 2003-07-23  Angus Leeming  <leeming@lyx.org>
6980
6981         * factory.C (createInset): InsetExternal::setParams now takes a
6982         Buffer const * arg.
6983
6984 2003-07-23  Angus Leeming  <leeming@lyx.org>
6985
6986         * factory.C (createInset): changed interface to the external and
6987         graphics mailers' string2params functions.
6988
6989 2003-07-23  Angus Leeming  <leeming@lyx.org>
6990
6991         * factory.C (createInset): pass a
6992         Buffer const * parameter to InsetExternalMailer's string2params.
6993
6994 2003-07-22  John Levon  <levon@movementarian.org>
6995
6996         * Thesaurus.h: include the right aiksaurus header
6997
6998 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6999
7000         * MenuBackend.C (expand): check menu shortcuts unconditionally
7001
7002 2003-07-21  Angus Leeming  <leeming@lyx.org>
7003
7004         * factory.C (createInset): pass a
7005         buffer_path parameter to InsetGraphicsMailer's string2params.
7006
7007 2003-07-21  Angus Leeming  <leeming@lyx.org>
7008
7009         * BufferView_pimpl.C (buffer):
7010         * buffer.C (d-tor):
7011         * lyx_main.C (LyX):
7012         * lyxfunc.C (dispatch):
7013         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
7014         rather than the grfx shortcut.
7015
7016 2003-07-21  André Pönitz  <poenitz@gmx.net>
7017
7018         * rowpainter.C: remove unused variables
7019
7020         * tabular_funcs.C:
7021         * tabular_funcs.h: move to tabular.C
7022         * Makefile.am: adjust
7023
7024         * tabular.[Ch]: basic optical cleaning
7025
7026         * author.h: pass references, not values
7027
7028 2003-07-18  André Pönitz  <poenitz@gmx.net>
7029
7030         * lyxtext.h:
7031         * metricsinfo.C:
7032         * metricsinfo.h:
7033         * rowpainter.C:
7034         * text.C:
7035         * text2.C:
7036         * text3.C: two-phase drawing for InsetText and InsetTabular
7037         some float -> int changes.
7038
7039 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
7040
7041         * lyx_main.C: fix the fix
7042
7043 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
7044
7045         * lyx_main.C: fix a crash in batch mode if no files specified
7046         * converter.C: ws
7047
7048 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
7049
7050         * format.[Ch] (papersize): moved to BufferParams
7051         * converter.[Ch] (dvips_options): moved to BufferParams
7052         (dvipdfm_options): moved to anon namespace
7053         * bufferparams.[Ch]: added above functions.
7054
7055 2003-07-17  André Pönitz  <poenitz@gmx.net>
7056
7057         * lyxtext.h:
7058         * rowpainter.C:
7059         * text2.C: don't call inset->update() anymore
7060
7061         * metricsinfo.[Ch]: add convenience constructor
7062
7063 2003-07-16  André Pönitz  <poenitz@gmx.net>
7064
7065         * lyxcursor.[Ch]:
7066         * lyxfunc.[Ch]:
7067         * text.C:
7068         * text2.C: replace the LyXCursor::irow_ member with
7069          on-demand computation of the value
7070
7071 2003-07-16  John Levon  <levon@movementarian.org>
7072
7073         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
7074
7075 2003-07-15  André Pönitz  <poenitz@gmx.net>
7076
7077         * text.C:
7078         * text2.C: remove no more needed refresh_row
7079
7080 2003-07-15  André Pönitz  <poenitz@gmx.net>
7081
7082         * lyxtext.h:
7083         * rowpainter.C:
7084         * text2.C:
7085         * text3.C: refresh_status tristate -> need_update bool
7086
7087 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
7088
7089         * lyxtext.h (init): remove reinit argument (act as if always true)
7090         * text2.C: adjust to that
7091
7092 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7093
7094         * bufferview_funcs.[Ch]: introduce function replaceSelection()
7095         * text3.C: use it to delete selections in some cases
7096         (bugs 441, 673, 702, 954).
7097
7098 2003-07-14  André Pönitz  <poenitz@gmx.net>
7099
7100         * rowpainter.[Ch]: reduce interface
7101
7102 2003-07-14  André Pönitz  <poenitz@gmx.net>
7103
7104         * BufferView_pimpl.C:
7105         * text2.C: adjust after removing unused BufferView * argument
7106
7107 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
7108
7109         * text2.C (init): fix a crash fired on resize
7110
7111 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
7112
7113         * buffer.[Ch]: added new closing signal
7114         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
7115         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
7116         BufferView::Pimpl via the closing the signal
7117
7118 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
7119
7120         * buffer.[Ch]: take out all bv-related from buffer
7121         * BufferView.C:
7122         * BufferView_pimpl.[Ch]: connect to new signals
7123         * CutAndPaste.C: removed useless asserts
7124         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
7125         * lyxvc.[Ch]:
7126         * vc-backend.[Ch]:
7127         * lyxfunc.C: moved view-related funciontality from vc here
7128         * paragraph.C: removed outdated comments
7129         * text.C: ws
7130
7131 2003-07-10  André Pönitz  <poenitz@gmx.net>
7132
7133         * BufferView_pimpl.C:
7134         * tabular.h:
7135         * tabular_funcs.C:
7136         * text.C:
7137         * text2.C: remove InsetText::InnerCache, clean up consequences
7138
7139 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
7140
7141         * ispell.C: fix two typos in error messages
7142
7143 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
7144
7145         * Extend Note inset to other forms of annotation like Comment
7146         and Greyedout. Right button click gives dialog.
7147
7148         Files modified or added (+):
7149
7150         * insetnote.[Ch]
7151         * FormNote.[Ch]      +
7152         * ControlNote.[Ch]   +
7153         * form_note.fd       +
7154         * Makefile.am in frontends/xforms, frontends/xforms/forms,
7155         frontends/controllers
7156         * xforms/Dialogs.C
7157         * factory.C
7158
7159 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7160
7161         * aspell.C: add missing namespace lyx::support
7162
7163 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
7164
7165         * BufferView.[Ch] (newFile): Add
7166         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
7167         * LaTeX.[Ch] (message): added this signal and use it
7168         * buffer.[Ch] (busy, message): added these signals and use them
7169         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
7170         * converter.C:
7171         * exporter.C:
7172         * format.C:
7173         * importer.C: use buffer signals instead of direct bv calling
7174         * lyx_cb.[Ch] (ShowMessage): removed
7175         * lyx_main.C:
7176         * lyxfunc.C:
7177         * paragraph_funcs.C:
7178         * text2.C: use buffer signals
7179
7180 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7181
7182         * introduce namespace lyx::graphics
7183
7184 2003-07-02  André Pönitz  <poenitz@gmx.net>
7185
7186         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
7187
7188 2003-07-01  André Pönitz  <poenitz@gmx.net>
7189
7190         * text.C:
7191         * text2.C:
7192         * text3.C:
7193         * text_funcs.[Ch]:
7194         * textcursor.h:
7195         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
7196           text*.C to text_func.C
7197
7198 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7199
7200         * introduce namespace lyx::support
7201
7202 2003-06-30  André Pönitz  <poenitz@gmx.net>
7203
7204         * Chktex.C:
7205         * funcrequest.C:
7206         * lyxtext.h:
7207         * text.C: re-enable --with-included-string
7208
7209 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7210
7211         * textcursor.C: add <config.h>
7212
7213         * text.C (getWord): remove const from word_location arg
7214
7215         * lyxvc.C (getLogFile): fix const type order
7216
7217         * lyxtext.h: remove const from word_location arg, add arg name
7218
7219         * lyxlayout.h: currect type on labeltype.
7220
7221         * importer.C: correct \file
7222
7223         * converter.C (intToFormat): use std:: on ret val, ws changes
7224
7225         * bufferlist.h: correct \file
7226
7227         * buffer.C (makeLinuxDocFile): fix const type order
7228         (makeDocBookFile): ditto
7229         (fillWithBibKeys): use std:: on stdlib args.
7230
7231         * CutAndPaste.C: fix authors.
7232         (availableSelections): use std:: on return vector
7233
7234 2003-06-27  André Pönitz  <poenitz@gmx.net>
7235
7236         * BufferView_pimpl.C:
7237         * bufferview_funcs.C:
7238         * lyxcursor.C:
7239         * lyxcursor.h:
7240         * lyxfunc.C:
7241         * lyxtext.h:
7242         * rowpainter.C:
7243         * text.C:
7244         * text2.C:
7245         * text3.C: remove LyXCursor::row_ member
7246
7247         * lyxtext.h:
7248         * text.C: rename fullRebreak() to partialRebreak() and implement
7249           a fullRebreak() that really bereks fully
7250
7251         * textcursor.h: new struct for cursor-related data
7252
7253 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
7254
7255         * lyx_main.C (LyX): get full path of document loaded on the
7256         command line
7257
7258 2003-06-26  André Pönitz  <poenitz@gmx.net>
7259
7260         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7261           remove unused/broken operator>,<,>=.
7262
7263         *       text.C: remove only use of broken operator<= in an Assert().
7264
7265 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7266
7267         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7268         moved errorlist_.clear to showErrorList
7269
7270 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7271
7272         * converter.C (scanLog, runLaTeX):
7273         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7274         move the bv->showErrorList call to the callers
7275         * lyxfunc.C: i.e. here...
7276         * text2.C: and here
7277         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7278         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7279         namespace, the second to...
7280         * buffer_funcs (BufferFormat, parseErrors): added
7281         * errorlist.C (ErrorList(TeXErrors const &)): removed
7282
7283 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7284
7285         * ToolbarBackend.C (getIcon): complain when icon cannot be found
7286
7287 2003-06-24  "Garst R. Reese" <reese@isn.net>
7288
7289         * debug.C: fix typo
7290
7291 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7292
7293         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7294
7295         * version.C.in: change docversion to 1.4
7296
7297 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
7298
7299         * buffer.C: fix a bug just introduced
7300
7301 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
7302
7303         * buffer.[Ch]: added the parseError signal and use it, removed
7304         sgmlError
7305         * BufferView.[Ch] (addError): moved to ...
7306         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7307         to the Buffer::parseError signal to catch (guess what) parse errors
7308         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7309
7310 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
7311
7312         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7313         ability to create a buffer and to return an existing one from
7314         the list. Moved these functions to...
7315         * buffer_funcs.[Ch]: added
7316         * BufferView.[Ch] (loadLyXFile): added
7317         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7318         job removed from bufferlist::loadLyXFile.
7319         * buffer.C (setReadOnly): make it work without view
7320         (i.e added an if (users))
7321
7322 2003-06-19  Angus Leeming  <leeming@lyx.org>
7323
7324         * lfuns.h:
7325         * LyXAction.C (init):
7326         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7327         with LFUN_DIALOG_SHOW <name> <data>.
7328
7329 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7330
7331         * CutAndPaste.C (availableSelections): small compilation fix for
7332         ancient (gcc 2.9x) compilers
7333
7334 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
7335
7336         * text3.C (cursorNext): add tmp var
7337
7338         * text2.C (updateCounters): for function calling out of for clause
7339         (replaceSelectionWithString): ditto
7340         (insertStringAsParagraphs): ditto
7341         (getColumnNearX): add tmp var
7342         (setCursorFromCoordinates): add tmp var
7343         (cursorDownParagraph): add tmp var
7344         (deleteEmptyParagraphMechanism): add tmp var
7345
7346         * text.C (insertChar): add tmp var
7347
7348         * rowpainter.C (paintDepthBar): add tmp var
7349
7350         * CutAndPaste.C (availableSelections): potentially check all
7351         paragraphs in a cut to fill the shown strings.
7352
7353 2003-06-18  André Pönitz  <poenitz@gmx.net>
7354
7355         * kbmap.[Ch]: use vector<> instead of list<>
7356
7357 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
7358
7359         * text3.C (dispatch): handle arg to LFUN_PASTE, call
7360         pasteSelection with index
7361
7362         * text2.C (pasteSelection): modify, call pasteSelection with index
7363
7364         * paragraph.C (asString): reimplement version with no interval to
7365         call the one with interval.
7366
7367         * lyxtext.h: add index arg to pasteSelection
7368
7369         * MenuBackend.C (MenuItem): handle PasteRecent
7370         (Menu::read::Menutags): add md_pasterecent
7371         (read): handle it
7372         (expandPasteRecent): new function
7373         (expand): use it
7374
7375         * MenuBackend.h: add PasteRecent to MenuItem::Kind
7376
7377         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7378         the limited stack
7379         (availableSelections): new function
7380
7381 2003-06-17  Angus Leeming  <leeming@lyx.org>
7382
7383         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7384
7385 2003-06-17  Angus Leeming  <leeming@lyx.org>
7386
7387         * lfuns.h:
7388         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7389
7390         * lyxfunc.C (dispatch): invoke it.
7391
7392 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7393
7394         * iterators.C (operator++, ParPosition): reintroduce some
7395         const_cast for the benefit of older compilers.
7396
7397 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7398
7399         * text3.C (dispatch): do not modify clipboard when doing
7400         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7401         LFUN_DELETE_SKIP on a selection selection
7402
7403 2003-06-16  André Pönitz  <poenitz@gmx.net>
7404
7405         * BufferView.C:
7406         * buffer.C:
7407         * buffer.h:
7408         * paragraph.C:
7409         * tabular.[Ch]: IU of clone() and getLabelList();
7410
7411 2003-06-13  André Pönitz  <poenitz@gmx.net>
7412
7413         * tabular.h: compactification
7414
7415 2003-06-12  André Pönitz  <poenitz@gmx.net>
7416
7417         * tabular.C:
7418         * tabular.h:
7419         * tabular_funcs.h: some renaming plus whitespace
7420
7421 2003-06-12  André Pönitz  <poenitz@gmx.net>
7422
7423         * BufferView.C:
7424         * BufferView_pimpl.C:
7425         * CutAndPaste.C:
7426         * buffer.C:
7427         * iterators.[Ch]:
7428         * lyxfunc.C:
7429         * text.C:
7430         * toc.C: Return a Paragraph & for ParIterator::operator*()
7431
7432 2003-06-11  John Levon  <levon@movementarian.org>
7433
7434         * lyx_main.C:
7435         * ToolbarBackend.h:
7436         * ToolbarBackend.C: add "Toolbars" section and
7437         put the flags there
7438
7439 2003-06-10  Angus Leeming  <leeming@lyx.org>
7440
7441         * lfuns.h:
7442         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7443
7444         * lyxfunc.C (dispatch): invoke it.
7445
7446 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7447
7448         * main.C: protect <ios> with HAVE_IOS
7449         (main): protect sync_with_stdio with HAVE_IOS
7450
7451 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
7452
7453         * text2.C (cutSelection): adjust
7454         (pasteSelection): adjust
7455
7456         * messages.C: handle get of empty string
7457
7458         * main.C (main): use sync_with_stdio(false)
7459
7460         * lyxfunc.C (dispatch): adjust
7461
7462         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7463         (WriteAs): remove unneeded BufferView arg.
7464
7465         * bufferparams.h: use correct types on papersize, papersize2 and
7466         paperpackage.
7467
7468         * bufferparams.C (readToken): adjust for type
7469         (writeLaTeX): add missing cases to switch.
7470
7471         * bufferlist.C (quitWriteBuffer): adjust
7472         (close): adjust
7473
7474         * buffer.C (asciiParagraph): remove some commented code.
7475
7476         * CutAndPaste.C: remove current_view extern variable.
7477         (cutSelection): add BufferParams arg.
7478         (eraseSelection): add BufferParams arg.
7479         (pasteSelection): add Buffer const & arg
7480
7481 2003-06-07  John Levon  <levon@movementarian.org>
7482
7483         * buffer.C:
7484         * paragraph_funcs.C:
7485         * paragraph_pimpl.C:
7486         * text.C:
7487         * text2.C:
7488         * paragraph.h:
7489         * paragraph.C: allow InsetERT to freely space lines,
7490         and some consolidation of code
7491
7492 2003-06-06  José Matos  <jamatos@fep.up.pt>
7493
7494         * buffer.C (makeDocBookFile): fix bug #821
7495
7496 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
7497
7498         * BufferView_pimpl.C (dispatch): use Dialogs::visible
7499
7500 2003-06-04  Angus Leeming  <leeming@lyx.org>
7501
7502         * buffer.C: bump format to 224.
7503
7504 2003-06-05  André Pönitz  <poenitz@gmx.net>
7505
7506         * text2.C (redoParagraphs): remove two const_cast<>
7507
7508 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
7509
7510         * ParagraphList.h: remove last remnants of NO_STD_LIST
7511
7512 2003-06-03  Angus Leeming  <leeming@lyx.org>
7513
7514         * factory.C (createInset): small change to the way InsetExternal's params
7515         are set.
7516
7517 2003-06-04  André Pönitz  <poenitz@gmx.net>
7518
7519         * buffer.h: use Undo directly instead of shared_ptr<Undo>
7520
7521         * paragraph_pimpl.h:
7522         * paragraph.[Ch]: some Inset -> UpdatableInset changes
7523
7524         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7525
7526         * undo_funcs.C: make some simple cases of undo work again
7527
7528 2003-06-03  John Levon  <levon@movementarian.org>
7529
7530         * ispell.C: HPUX doesn't have sys/select.h
7531         (from Albert Chin)
7532
7533 2003-06-03  John Levon  <levon@movementarian.org>
7534
7535         * CutAndPaste.C: update tabular and include inset
7536         buffer references
7537
7538         * buffer.h:
7539         * paragraph.h:
7540         * paragraph.C: remove owningBuffer(), don't pass Buffer
7541         to clone()
7542
7543         * factory.C: insetGraphicsParams changed
7544
7545 2003-06-02  John Levon  <levon@movementarian.org>
7546
7547         * LyXAction.C:
7548         * factory.C:
7549         * lfuns.h:
7550         * lyxfunc.C:
7551         * text3.C: remove insetparent
7552
7553 2003-06-02  John Levon  <levon@movementarian.org>
7554
7555         * buffer.h:
7556         * buffer.C: fix inset_iterator.end(), move out of line
7557         (bug 1149)
7558
7559 2003-06-01  John Levon  <levon@movementarian.org>
7560
7561         * text3.C: use a proper cut/paste when doing inset
7562         insert (from Jürgen Spitzmüller)
7563
7564 2003-06-01  John Levon  <levon@movementarian.org>
7565
7566         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7567
7568 2003-05-30  André Pönitz  <poenitz@gmx.net>
7569
7570         * rowpainter.C: unify second drawing phase
7571
7572 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7573
7574         * trans_mgr.C: remove one case of current_view
7575
7576         * text2.C (cursorBottom): delete NO_STD_LIST stuff
7577
7578         * paragraph_funcs.h: remove paragraph.h include
7579
7580         * paragraph.h: delete NO_STD_LIST stuff
7581
7582         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7583
7584         * buffer.h: remove paragraph.h include
7585
7586         * ParagraphList.C: delete file
7587
7588         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7589
7590         * toc.C (getTocList): adjust
7591
7592         * paragraph_pimpl.C (validate): adjust
7593
7594         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7595
7596         * paragraph.C (Paragraph): adjust
7597         (getPositionOfInset): use const_iterator, adjust
7598         (bibitem): use const_iterator, adjust
7599         (setInsetOwner): adjust
7600
7601         * iterators.C (operator++): adjust
7602
7603         * InsetList.[Ch]: Replace selfmade iterator with standard
7604         vector::iterator also introduce const_iterator. Remove getPos,
7605         getInset and setInset from InsetTable. Adjust accordingly.
7606
7607         * BufferView.C (lockInset): adjust
7608         (ChangeInsets): adjust
7609
7610         * tabular.[Ch]: delete commented same_id functions
7611
7612 2003-05-28  John Levon  <levon@movementarian.org>
7613
7614         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7615
7616 2003-05-28  André Pönitz  <poenitz@gmx.net>
7617
7618         * metricsinfo.[Ch]: remove 'fullredraw' member
7619
7620 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
7621
7622         * lyxtextclass.C (operator): remove caching.
7623
7624 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7625
7626         * text3.C: adjust
7627
7628         * text2.C (cursorBottom): adjust
7629         (setCounter): use ParagraphList::find, adjust
7630
7631         * text.C (workWidth): use ParagraphList::find, adjust
7632
7633         * lyxcursor.C (LyXCursor): adjust
7634
7635         * buffer.C (inset_iterator): adjust
7636
7637         * ParagraphList.h: make iterator(value_type) private, make
7638         ParagraphList a friend of iterator.
7639
7640         * ParagraphList.C (find): new function
7641
7642         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7643
7644 2003-05-27  André Pönitz  <poenitz@gmx.net>
7645
7646         * dimension.[Ch]: a -> asc, d -> des, w -> wid
7647
7648 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7649
7650         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7651
7652 2003-05-26  John Levon  <levon@movementarian.org>
7653
7654         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7655
7656 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7657
7658         * remove same_id from function signatures, adjust.
7659
7660 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7661
7662         * undo_funcs.C (createUndo): use the id functions directly, adjust.
7663
7664         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7665
7666         * paragraph.C (Paragraph): get rid of same_ids parameter
7667
7668         * ParagraphList.C (insert): adjust
7669         (push_back): adjust
7670
7671 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7672
7673         * paragraph_funcs.C (breakParagraph): adjust
7674         (breakParagraphConservative): adjust
7675
7676         * buffer.C (readParagraph): adjust
7677
7678         * ParagraphList.C (insert): take a reference instead of a pointer
7679         (insert): adjust
7680
7681         * paragraph.[Ch] (id): new function
7682
7683         * bufferlist.C (newFile): adjust
7684
7685         * ParagraphList.C (ParagraphList): adjust
7686         (assign): adjust
7687         (push_back): take a reference instead of a pointer.
7688
7689         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7690
7691         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7692         instead.
7693
7694         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7695         set else use old code.
7696
7697         * ParagraphList.C: remove all NO_NEXT code and only compile this
7698         code of NO_STD_LIST is set.
7699
7700 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7701
7702         * BufferView_pimpl.C:
7703         * TextCache.C:
7704         * TextCache.h:
7705         * bufferlist.C:
7706         * errorlist.h:
7707         * format.C:
7708         * format.h:
7709         * graph.C:
7710         * lyxfunc.C:
7711         * lyxrc.C:
7712         * graphics/GraphicsConverter.C:
7713         * graphics/PreviewLoader.C: header adjustment
7714
7715 2003-05-23  Angus Leeming  <leeming@lyx.org>
7716
7717         * LaTeXFeatures.[Ch] (useBabel): new method.
7718         * bufferparams.C (writeLaTeX): use it.
7719
7720 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7721
7722         * ParagraphList.h (set): remove unused function.
7723
7724 2003-05-23  André Pönitz  <poenitz@gmx.net>
7725
7726         * BufferView.C:
7727         * BufferView_pimpl.C:
7728         * buffer.C:
7729         * buffer.h:
7730         * lyxfunc.C:
7731         * undo_funcs.C: setUndo reworked
7732
7733         * iterators.[Ch]: add access to topmost ParagraphList
7734
7735         * lyxtext.[Ch] (workWidth): add a const
7736
7737 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7738
7739         * texrow.[Ch] (increasePos): remove function
7740         * exporter.C (export): removed unused var and outdated comment
7741
7742 2003-05-23  Angus Leeming  <leeming@lyx.org>
7743
7744         * latexrunparams.h: rename fragile as moving_arg.
7745         * paragraph.C (simpleTeXOnePar): ditto.
7746         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7747
7748 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7749
7750         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7751         (createUndo): ditto
7752         (textUndoOrRedo): comment out a currently unused var.
7753
7754         * paragraph.h (NO_NEXT): enable NO_NEXT
7755
7756         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7757
7758         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7759
7760         * exporter.C (Export): adjust for removeAutoInsets removal.
7761
7762         * buffer.C (runChktex): adjust for removeAutoInsets removal.
7763
7764         * LyXAction.C (init): remove LFUN_REMOVEERRORS
7765
7766         * BufferView.[Ch] (removeAutoInsets): delete function
7767
7768 2003-05-22  Angus Leeming  <leeming@lyx.org>
7769
7770         * latexrunparams.h: add a free_spacing variable.
7771
7772         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7773         to pass moving_arg, as the data is stored in runparams.fragile.
7774
7775         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7776         to Inset::latexOptional or to simpleTeXOnePar.
7777
7778         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7779         free_spacing arg to Inset::latexOptional.
7780
7781         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7782         free_spacing arg.
7783
7784 2003-05-22  Angus Leeming  <leeming@lyx.org>
7785
7786         * latexrunparams.h: add fragile and use_babel variables.
7787
7788         * bufferparams.[Ch] (writeLaTeX): return use_babel.
7789         * buffer.C (makeLaTeXFile): store this returned value in
7790         runparams.use_babel, thus passing it to the inset::latex methods.
7791
7792         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7793         simpleTeXSpecialChars as it is now stored in runparams.fragile.
7794
7795         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7796         longer has a fragile arg, as it is stored in runparams.fragile.
7797
7798         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7799         moving_arg parameter as the data is stored in runparams.fragile.
7800
7801         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7802         a fragile parameter as the data is stored in runparams.fragile.
7803
7804 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7805
7806         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7807
7808 2003-05-22  Angus Leeming  <leeming@lyx.org>
7809
7810         * latexrunparams.h: add a 'bool nice' which defaults to false.
7811
7812         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7813         now encapsulated within runparams.
7814
7815         * bufferlist.C (updateIncludedTeXfiles):
7816         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7817
7818 2003-05-22  Angus Leeming  <leeming@lyx.org>
7819
7820         * latexrunparams.h: new file containing struct LatexRunParams.
7821         * Makefile.am: add new file.
7822
7823         * LaTeX.[Ch] (c-tor, run):
7824         * buffer.[Ch] (makeLaTeXFile):
7825         * bufferlist.[Ch] (updateIncludedTeXfiles):
7826         * converter.C (convert, scanLog):
7827         * converter.[Ch] (runLaTeX):
7828         * exporter.C (Export):
7829         * paragraph.[Ch] (simpleTeXOnePar):
7830         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7831         * paragraph_funcs.[Ch] (latexParagraphs):
7832         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7833         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7834         pass around a LatexRunParams parameter.
7835
7836 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7837
7838         * paragraph.[Ch]: remove unused constructor
7839
7840         * ParagraphList.C (erase): new function, taking two iterators
7841
7842 2003-05-22  André Pönitz  <poenitz@gmx.net>
7843
7844         * undo_funcs.C: remove duplicated code
7845
7846         * iterator.[Ch]: operator=
7847
7848 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7849
7850         * tabular.C (SetMultiColumn): ws changes
7851
7852         * rowpainter.C (paintFirst): get rid of a ->previous
7853
7854         * lyx_cb.C (getPossibleLabel): parlist simplification
7855
7856         * BufferView.C (ChangeInsets): simplify slightly.
7857
7858 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7859
7860         * LyXAction.C: new lfun space-insert, kill protected-space-insert
7861         * lfuns.h: new LFUN_SPACE
7862         * lyxfunc.C: protected space has a new lfun
7863         * paragraph_funcs.C: read new space insets
7864         * text3.C:
7865         * factory.C: handle new space insets
7866
7867 2003-05-22  André Pönitz  <poenitz@gmx.net>
7868
7869         * BufferView.C:
7870         * BufferView_pimpl.C:
7871         * buffer.[Ch]:
7872         * lyxfunc.C:
7873         * undo_funcs.C: return a ParIterator from getParFromID.
7874
7875         * iterators.[Ch]: add two const's
7876
7877 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7878
7879         * toc.C (getTocList): adjust
7880
7881         * iterators.[Ch]: rework for parlist
7882
7883         * buffer.C (par_iterator_begin): adjust
7884         (par_iterator_end): adjust
7885
7886         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7887
7888         * BufferView.C (removeAutoInsets): adjust
7889         (ChangeInsets): adjust
7890
7891 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
7892
7893         * text.C (top_y): fix bug 1110
7894
7895 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
7896
7897         * errorlist.[Ch]: added
7898         * buffer.C:
7899         * BufferView.[Ch]:
7900         * BufferView_pimpl.C:
7901         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7902         instead
7903
7904 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7905
7906         * Makefile.am: ensure that lyx is relinked upon changes to the
7907         various "convenience" libs.
7908
7909 2003-05-20  Angus Leeming  <leeming@lyx.org>
7910
7911         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7912         files are compiled in alphabetical order again.
7913
7914         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7915
7916 2003-05-19  Angus Leeming  <leeming@lyx.org>
7917
7918         * gettext.[Ch]: remove "char const * _(char const *)".
7919
7920 2003-05-19  André Pönitz  <poenitz@gmx.net>
7921
7922         * dimension.[Ch]: promote from mathed/dimension.[Ch]
7923
7924         * Makefile.am:
7925         * BufferView.C:
7926         * DepTable.h:
7927         * LaTeXFeatures.C:
7928         * buffer.C:
7929         * lyxfont.C:
7930         * lyxlex.h:
7931         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7932
7933 2003-05-19  André Pönitz  <poenitz@gmx.net>
7934
7935         * buffer.C:
7936         * lyxlayout.[Ch]:
7937         * lyxtextclass.[Ch]:
7938         * paragraph.C:
7939         * paragraph_funcs.[Ch]:
7940         * text2.C:
7941         * text3.C: more insetenv work
7942
7943 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
7944
7945         * ParagraphParameters.C (params2string): small bug fixed
7946
7947 2003-05-16  André Pönitz  <poenitz@gmx.net>
7948
7949         * debug.C:
7950         * bufferview_funcs.C: patch from Kornel Benko to prevent
7951           crash when _(...) is called twice in a statement
7952
7953 2003-05-16  André Pönitz  <poenitz@gmx.net>
7954
7955         * BufferView.C:
7956         * lyxfunc.C:
7957         * text.C:
7958         * text2.C:
7959         * text3.C:
7960         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7961
7962 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
7963
7964         * lyx_main.C (init): remove spurious static_cast
7965
7966 2003-05-14  André Pönitz  <poenitz@gmx.net>
7967
7968         * BufferView.C: fix format string
7969
7970 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
7971
7972         * BufferView.[Ch] (insertErrors): removed
7973         * BufferView.[Ch] (showErrorList): added
7974         * buffer.C (runChkTeX):
7975         * converter.C (scanLog): call showErrorList instead of inserterrors
7976
7977 2003-05-13  André Pönitz  <poenitz@gmx.net>
7978
7979         * BufferView_pimpl.C:
7980         * buffer.C:
7981         * bufferview_func.C:
7982         * MenuBackend.C:
7983         * lyxfunc.C:
7984         * lyxrc.C:
7985         * tex-accent.C:
7986         * text3.C:
7987         * toc.C:
7988         * tabular_funcs.h: tostr() from its own header
7989
7990         * ParagraphParameters.C:
7991         * ToolbarBackend.C:
7992         * bufferparams.C:
7993         * format.C:
7994         * lyxlex_pimpl.C:
7995         * text3.C: STRCONV()
7996
7997 2003-05-12  André Pönitz  <poenitz@gmx.net>
7998
7999         * BufferView.C:
8000         * BufferView_pimpl.C:
8001         * CutAndPaste.C:
8002         * LaTeX.C:
8003         * LaTeXFeatures.C:
8004         * ParagraphParameters.C:
8005         * buffer.C:
8006         * bufferlist.C:
8007         * bufferparams.C:
8008         * bufferview_funcs.C:
8009         * converter.C:
8010         * counters.C:
8011         * debug.C:
8012         * exporter.C:
8013         * format.C:
8014         * importer.C:
8015         * lyx_cb.C:
8016         * lyx_main.C:
8017         * lyxfont.C:
8018         * lyxfunc.C:
8019         * lyxvc.C:
8020         * paragraph.C:
8021         * paragraph_funcs.C:
8022         * tabular.C:
8023         * tabular_funcs.C:
8024         * text2.C:
8025         * text3.C:  boost::format -> bformat  all over the place
8026
8027
8028 2003-05-09  André Pönitz  <poenitz@gmx.net>
8029
8030         * LColor.[Ch]: Pimpl the #include <map> away
8031
8032 2003-05-09  John Levon  <levon@movementarian.org>
8033
8034         * bufferlist.C: never remove emergency saves
8035
8036 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8037
8038         * Makefile.am: better lib building
8039
8040 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
8041
8042         * texrow.[Ch]: remove dependency on Paragraph and just store a id
8043         instead.
8044         * paragraph_pimpl.C (simpleTeXBlanks): adjust
8045         (simpleTeXSpecialChars): adjust
8046         (simpleTeXSpecialChars): adjust
8047         * paragraph.C (simpleTeXOnePar): adjust
8048         * buffer.C (makeLaTeXFile): adjust
8049
8050         * Makefile.am (BOOST_LIBS): allow boost as system lib.
8051
8052         * text2.C (changeDepth): parlist cleanup
8053         (getColumnNearX): ditto
8054
8055         * rowpainter.C (getLabelFont): parlist cleanup
8056
8057         * bufferlist.C (newFile): parlist cleanup
8058
8059         * CutAndPaste.C (eraseSelection): parlist cleanup
8060
8061         * BufferView_pimpl.C (trackChanges): parlist cleanup
8062         (dispatch): ditto
8063
8064         * BufferView.C (lockInset): parlist cleanup.
8065         (ChangeInsets): ditto
8066
8067 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8068
8069         * CutAndPaste.h: Update file header.
8070
8071         * CutAndPaste.C: Update file header.
8072         Store the parts cut out of the Document in a limited_stack.
8073         (copySelection): adjust
8074         (pasteSelection): new function, takes the index in the limited stack.
8075         (nrOfParagraphs): adjust
8076         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
8077         simplify error inset insertion.
8078         (checkPastePossible): adjust
8079
8080 2003-05-06  John Levon  <levon@movementarian.org>
8081
8082         * text2.C: don't cast wrap inset to float
8083
8084 2003-05-05  André Pönitz  <poenitz@gmx.net>
8085
8086         * iterator.C:
8087         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
8088
8089         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
8090           few naked Paragraph *.
8091
8092 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
8093
8094         * bufferparams.C: Output warning if a document with missing
8095         TeX document class is loaded
8096         * exporter.C: Disable TeX exports if the document class is missing
8097         * lyxtextclass.C:
8098         * lyxtextclass.h:
8099         * lyxtextclasslist.C: Handle new textclass.lst format; new method
8100         isTeXClassAvailable()
8101
8102 2003-05-03  John Levon  <levon@movementarian.org>
8103
8104         * BufferView.h:
8105         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
8106         explicit cursor show/hide
8107
8108         * BufferView_pimpl.h:
8109         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
8110         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
8111
8112         * lyxfunc.C: hide cursor before dispatching.
8113
8114         * lyx_cb.C:
8115         * lyxfind.C:
8116         * text.C:
8117         * text3.C: remove explicit cursor hides
8118
8119 2003-05-02  André Pönitz  <poenitz@gmx.net>
8120
8121         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
8122
8123         * undo_funcs.C:
8124         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
8125           linked lists
8126
8127         * text2.C: tiny whitespace
8128
8129 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8130
8131         * undo_funcs.C: almost only ws changes.
8132
8133         * ParagraphList.C (splice): just return if pl is empty.
8134
8135 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8136
8137         * ParagraphList.C (splice): new function.
8138
8139         * CutAndPaste.C (pasteSelection): use it
8140
8141 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8142
8143         * CutAndPaste.C (pasteSelection): remove the last next and
8144         previous from this file.
8145
8146 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8147
8148         * CutAndPaste.C (pasteSelection): more clean up, user proper
8149         ParagraphList functions for pasteing.
8150
8151         * ParagraphList.C (insert): new function, three arg insert
8152
8153 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8154
8155         * ParagraphList.C (insert): new function, three arg insert
8156
8157         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
8158         not on paragraphs.
8159
8160 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8161
8162         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
8163
8164 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8165
8166         * CutAndPaste.C (pasteSelection): remove some unneeded code.
8167
8168 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8169
8170         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
8171         (copySelection): clean up a bit.
8172         (pasteSelection): use make_pair
8173
8174         * ParagraphList.C (ParagraphList): implement copy constructor
8175         (operator=): implement, base on copy constructor.
8176         (assign): new func
8177
8178         * paragraph.C (erase): return a bool
8179
8180         * paragraph_pimpl.C (erasePos): remove function, move contents...
8181         (erase): ... here. Return a bool.
8182         (erase): call erase instead of erasePos.
8183
8184 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
8185
8186         * ParagraphList.h: define PitPosPair
8187         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
8188         ParagraphList, fix a bug on pasting multiple pars
8189         * text2.C: change interface to C&P
8190
8191 2003-04-30  André Pönitz  <poenitz@gmx.net>
8192
8193         * undo_func.C: revert part of yesterday's patch 2
8194
8195 2003-04-30  John Levon  <levon@movementarian.org>
8196
8197         * LColor.C: s/tabular/table/
8198
8199 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8200
8201         * text3.C (dispatch): do not convert iterator -> pointer
8202         * undo_funcs.C (setCursorParUndo): ditto
8203         * text_funcs.C (transposeChars): ditto
8204
8205         * text2.C (setLayout): ws changes only
8206
8207         * text.C (breakParagraph): do not convert iterator -> pointer
8208         (insertChar): ditto
8209         (acceptChange): ditto
8210         (rejectChange): ditto
8211         (changeCase): ditto
8212         (Delete): ditto
8213         (backspace): ditto
8214
8215         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
8216         pointer
8217
8218 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8219
8220         * text3.C (gotoInset): YABG (yet another bad getChar)
8221
8222 2003-04-29  André Pönitz  <poenitz@gmx.net>
8223
8224         * paragraph.h: make operator= private unimplemented as long as
8225           it is unusable
8226
8227         * ParagraphList.C: whitespace
8228
8229         * paragraph.[Ch]:
8230         * paragraph_pimpl.[Ch]:
8231         * paragraph_funcs.C:
8232         * CutAndPaste.C:
8233         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
8234
8235         * text2.C:
8236           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8237
8238 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8239
8240         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8241         * paragraph.[Ch] (erase):
8242         * paragraph_pimpl.[Ch] (erase): change return type and value
8243         * text2.C (cutSelection): some rework
8244
8245 2003-04-28  John Levon  <levon@movementarian.org>
8246
8247         * bufferlist.C: changes for unsaved changes dialog
8248
8249 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8250
8251         * bufferlist.C (newFile): set language (messages_) for new
8252         documents also.
8253
8254         * buffer.C (readFile): ws changes only.
8255
8256 2003-04-28  André Pönitz  <poenitz@gmx.net>
8257
8258         * undo_funcs.C:
8259         * lyxfunc.C:
8260         * buffer.[Ch]:
8261         * BufferView_pimpl.C:
8262         * BufferView.C: getParFromID related ParagraphList::iterator changes
8263
8264 2003-04-28  André Pönitz  <poenitz@gmx.net>
8265
8266         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8267           Changes
8268
8269 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8270
8271         * messages.C: remove one more localedir class variable.
8272
8273 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8274
8275         * messages.C (getLocaleDir): singleton generation function
8276         (Pimpl): use it.
8277         (Messages): add a default constructor.
8278
8279         * main.C (main): do not setup localedir here, do not call
8280         gettext_init.
8281
8282         * gettext.C (_): use it.
8283         (gettext_init): delete funciton
8284
8285 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8286
8287         * gettext.C (getLyXMessages): new singleton generating function.
8288
8289         * buffer.C (updateDocLang): adjust
8290
8291         * Makefile.am (messages.o): add target
8292         (main.o): remove target
8293
8294 2003-04-27  John Levon  <levon@movementarian.org>
8295
8296         * bufferlist.C:
8297         * lyx_cb.C:
8298         * lyxfunc.C:
8299         * lyxvc.C: specify cancel button in Alert::prompt
8300
8301 2003-04-26  John Levon  <levon@movementarian.org>
8302
8303         * text3.C:
8304         * lyxfunc.C:
8305         * lfuns.h:
8306         * LyXAction.C: add LFUN_INSET_SETTINGS
8307
8308         * lyxfunc.C: don't enable tabular-feature when there's
8309         just any locking inset
8310
8311 2003-04-26  John Levon  <levon@movementarian.org>
8312
8313         * bufferlist.C: re-add Cancel to buffer close question
8314
8315         * lyxfunc.C: fix import UI a bit
8316
8317 2003-04-25  John Levon  <levon@movementarian.org>
8318
8319         * gettext.C: remove the broken asserts for now
8320
8321 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8322
8323         * messages.C: make case where setlocale cannot comply work better.
8324
8325         * buffer.C (updateDocLang): new function
8326         (changeLanguage): use it
8327         (readFile): use it
8328
8329         * text2.C (setCounter): use B_ a bit.
8330
8331         * lyxlayout.C (Read): be sure to trim the label strings.
8332
8333         * messages.C (Messages): fix typo in comment
8334
8335         * buffer.C (readFile): set message_ after file is loaded.
8336         (makeDocBookFile): remove double return
8337         (changeLanguage): reset message_ upon language change.
8338         (B_): new func, use this to get translated buffer strings.
8339
8340         * main.C: add myself and Jean Marc as authors.
8341
8342 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8343
8344         * messages.[hC]: pimplify Messages, and three different pimpls to be
8345         used in different circumstances.
8346
8347         * gettext.[Ch]: change for use with new message code.
8348
8349 2003-04-24 André Pönitz <poenitz@gmx.net>
8350
8351         * factory.C: support for eqref
8352
8353 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
8354
8355         * messages.[Ch]: add missing char
8356
8357         * Makefile.am (lyx_SOURCES): add messages.[Ch]
8358
8359         * messages.[Ch]: New files
8360
8361 2003-04-18  John Levon  <levon@movementarian.org>
8362
8363         * BufferView.h:
8364         * BufferView.C:
8365         * BufferView_pimpl.C:
8366         * lfuns.h:
8367         * LyXAction.C:
8368         * lyxtext.h:
8369         * text2.C: remove layout-copy/paste (bug 778)
8370
8371 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8372
8373         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8374
8375 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8376
8377         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8378         if they succeed. Act accordingly.
8379
8380 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8381
8382         * text2.C (setCharFont): adjust
8383         (setCounter): adjust
8384         (insertStringAsLines): adjust
8385
8386         * text.C (leftMargin): adjust
8387         (setHeightOfRow): adjust
8388
8389         * rowpainter.C (paintFirst): adjust
8390         (paintLast): adjust
8391
8392         * paragraph_funcs.C (depthHook): ParagraphList::iterators
8393         (outerHook): ditto
8394         (isFirstInSequence): ditto
8395         (getEndLabel): ditto
8396         (outerFont): adjust
8397
8398         * paragraph.C (getParLanguage): comment out some hard stuff.
8399
8400         * buffer.C (insertStringAsLines): take a ParagraphList as arg
8401         (sgmlError): ditto
8402         (simpleDocBookOnePar): ditto
8403         (makeDocBookFile): use ParagraphList::iterator
8404
8405         * CutAndPaste.C (pasteSelection): adjust
8406
8407 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8408
8409         * text2.C (getFont): adjust
8410         (getLayoutFont): adjust
8411         (getLabelFont): adjust
8412
8413         * paragraph_funcs.C (TeXOnePar): adjust
8414
8415         * buffer.C (simpleLinuxDocOnePar): adjust
8416         (simpleDocBookOnePar): adjust
8417
8418         * CutAndPaste.C (pasteSelection): adjust
8419
8420         * BufferView.C (getEncoding): adjust
8421
8422         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8423
8424 2003-04-16  John Levon  <levon@movementarian.org>
8425
8426         * lyxfind.C: use parlist stuff for search/changes
8427
8428 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8429
8430         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8431
8432         * text2.C (deleteEmptyParagraphMechanism): adjust
8433
8434         * text2.[Ch] (ownerParagraph): delete func (both of them
8435
8436 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8437
8438         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8439
8440 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8441
8442         * ParagraphList.C: prepare for NO_NEXT
8443
8444 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8445
8446         * text2.C (getFont): adjust
8447         (getLayoutFont): adjust
8448         (getLabelFont): adjust
8449
8450         * paragraph.C (getFont): adjust
8451         (getLabelFont): adjust
8452         (getLayoutFont): adjust
8453
8454         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8455
8456 2003-04-15  John Levon  <levon@movementarian.org>
8457
8458         From Angus Leeming
8459
8460         * lyx_main.C: handle Include in .ui files
8461
8462 2003-04-15  John Levon  <levon@movementarian.org>
8463
8464         * MenuBackend.C: make the doc files length shorter
8465
8466         * ToolbarBackend.h:
8467         * ToolbarBackend.C: handle toolbar placement flags,
8468         Minibuffer
8469
8470 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8471
8472         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8473         adjust
8474
8475         * paragraph_funcs.C (TeXOnePar): adjust
8476
8477         * paragraph.C (getLabelFont): add outerfont arg, adjust
8478         (getLayoutFont): ditto
8479         (simpleTeXOnePar): adjust
8480
8481         * paragraph_pimpl.C (realizeFont): delete func
8482
8483 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
8484
8485         * text2.C (beforeFullRowInset): added a bad getchar check, removed
8486         row argument, constify cur argument.
8487
8488 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8489
8490         * text2.C (getFont): adjust
8491         (getLayoutFont): adjust
8492         (getLabelFont): adjust
8493
8494         * paragraph_funcs.C (TeXOnePar): adjust
8495         (outerFont): new func...
8496         (realizeFont): ...moved out from here, changed this to facilitate
8497         transition
8498
8499         * paragraph.C (getFont): take outerfont as arg, adjust
8500         (simpleTeXOnePar): add outerfont arg, adjust
8501
8502         * buffer.C (simpleLinuxDocOnePar): adjust
8503         (simpleDocBookOnePar): adjust
8504
8505         * CutAndPaste.C (pasteSelection): adjust
8506
8507         * BufferView.C (getEncoding): adjust
8508
8509 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8510
8511         * text2.C (setCharFont): adjust
8512         (setCounter): adjust
8513
8514         * text.C (leftMargin): adjust
8515         (setHeightOfRow): adjust
8516
8517         * rowpainter.C (paintFirst): adjust
8518         (paintLast): adjust
8519
8520         * paragraph_pimpl.C (realizeFont): adjust
8521
8522         * paragraph.C (isFirstInSequence): move from here...
8523         * paragraph_funcs.C (isFirstInSequence): ...to here
8524
8525         * paragraph.C (outerHook): move from here...
8526         * paragraph_funcs.C (outerHook): ...to here
8527
8528         * paragraph.C (depthHook): move from here...
8529         * paragraph_funcs.C (depthHook): ...to here
8530
8531         * paragraph.C (getEndLabel): move from here...
8532         * paragraph_funcs.C (getEndLabel): ...to here
8533
8534         * text2.C (realizeFont): move from here...
8535         * paragraph_funcs.C (realizeFont): ...to here
8536
8537 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8538
8539         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8540
8541 2003-04-14  Angus Leeming  <leeming@lyx.org>
8542
8543         * LColor.[Ch]: scrap LColor mathcursor.
8544
8545 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8546
8547         * lyxlex.[Ch] (text): delete function
8548         * trans.C (Load): adjust
8549         * paragraph_funcs.C (readParToken): adjust
8550
8551 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8552
8553         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8554         vector<char> instead of a char[].
8555
8556         * lyxlex_pimpl.C (getString): adjust
8557         (next): adjust
8558         (lex): use getString
8559         (eatLine): adjust
8560         (nextToken): adjust
8561
8562         * lyxlex.C (text): use pimpl_->getString()
8563         (getBool): ditto
8564         (findToken): ditto
8565
8566 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8567
8568         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8569         (makeFontEntriesLayoutSpecific): temp var for par.size()
8570         (setLayout): temp var for ownerParagraphs().end()
8571         (fullRebreak): temp var for rows().end()
8572         (selectionAsString): temp var for boost::next(startpit), realize
8573         that the while really is a regular for loop.
8574         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8575         setCursor in one place.
8576         (setParagraph): temp vr for ownerParagraphs().end()
8577         (updateCounters): make the while loop a for loop
8578         (cutSelection): temp var for ownerParagraphs().end()
8579         (updateInset): make the do {} while() a regular for loop
8580         (getCursorX): use temp vars
8581         (setCurrentFont): use temp vars
8582         (getColumnNearX): use temp vars
8583
8584 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8585
8586         * text.C (transformChar): use temp var for getChar
8587         (computeBidiTables): use temp var for row->par()
8588         (fill): move temp vars for row->par() and pit->layout() earlier in
8589         the function.
8590         (labelFill): use temp var for row->par()
8591         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8592         asc and desc, realize that pit never changes and that firstpit is
8593         just a duplicate and not needed. Exchange rit->par() with pit in a
8594         lot of places.
8595         (breakAgain): use a temp var for boost::next(rit)
8596         (breakAgainOneRow): ditto
8597         (breakParagraph): use a temp var for rows().begin()
8598         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8599         (cursorRightOneWord): use temp var for cursor.par() and
8600         cursor.pos(), remove usage of tmpcursor.
8601         (cursorLeftOneWord): use temp var for cursor.par() and
8602         cursor.pos() only set cur at end of function.
8603
8604 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8605
8606         * text.C, text2.C: exchange all usage of Paragraph::next with
8607         boost::next(ParagraphList::iterator)
8608
8609         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8610
8611         * text2.C (cursorTop): simplify implementation
8612         (cursorBottom): ditto
8613         (setParagraph): use ParagraphList::iterator
8614         (setCurrentFont): adjust
8615         (getColumnNearX): adjust
8616         (cursorRight): adjust
8617         (cursorLeft): remove usage of Paragraph::previous
8618         (cursorUpParagraph): ditto
8619         (deleteEmptyParagraphMechanism): slight cleanup
8620
8621         * text.C (isBoundary): take a Paragraph const & instead of a
8622         pointer as arg.
8623         (addressBreakPoint): ditto
8624         (leftMargin): remove usage of Paragraph::previous.
8625         (setHeightOfRow): ditto
8626         (cursorLeftOneWord): ditto
8627         (selectNextWordToSpellcheck): ditto
8628         (Delete): ditto
8629         (backspace): ditto
8630         (breakParagraph): remove one usage of Paragraph::next
8631         (redoParagraph): ditto
8632         (acceptChange): ditto
8633         (insertChar): adjust
8634         (rowBreakPoint): adjust
8635
8636         * bufferview_funcs.C (toggleAndShow): adjust
8637
8638 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
8639
8640         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8641         methods to access it.
8642         * lyxtext.h:
8643         * text.C: Added updateRowPositions to compute all row positions.
8644         Make top_y and getRowNearY() to use the cached y position
8645
8646 2003-04-11  John Levon  <levon@movementarian.org>
8647
8648         * text.C (rowBreakPoint): reintroduce the labelEnd
8649         checks, code copied from the row fill stuff. Deep voodoo.
8650
8651         * text.C (fill): add a comment and debugging for the
8652         next poor soul.
8653
8654 2003-04-11  John Levon  <levon@movementarian.org>
8655
8656         * text.C: make sure fullrow insets get wrapped to the next line,
8657         even when they're in a manual label
8658
8659 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8660
8661         * text2.C (insertParagraph): make it take ParagraphList::iterator
8662         as arg.
8663         (setLayout): make it return ParagraphList::iterator
8664         (redoParagraphs): ditto
8665         (setCounter): ditto
8666         (checkParagraph): ditto
8667
8668         * text.C (getRow): make getrow take ParagraphList::iterator as arg
8669
8670         * text2.C: adjust several funcs.
8671         (realizeFont): take a ParagraphList::iterator as arg.
8672         (getLayoutFont): ditto
8673         (getLabelFont): ditto
8674         (setCharFont): ditto
8675
8676         * text.C: adjust several funcs.
8677
8678 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8679
8680         * text.C (selectNextWordToSpellcheck): don't accidentally
8681         skip insets
8682
8683 2003-04-10  John Levon  <levon@movementarian.org>
8684
8685         * ToolbarBackend.C (getIcon): special handling for
8686         LFUN_MATH_DELIM
8687
8688 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8689
8690         * text2.C (cursorRight): a getChar assert fixed
8691
8692 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8693
8694         * text2.C (getFont): change to take a ParagraphList::iterator
8695         instead of Paragraph*
8696         Adjust several functions.
8697
8698         * text.C (transformChar): change to take a ParagraphList::iterator
8699         instead of Paragraph*
8700         (singleWidth): ditto
8701         Adjust several functions.
8702
8703         * rowpainter.C: adjust several functions
8704         * rowpainter.h:store a ParagraphList::iterator and not a
8705         Paragraph&.
8706
8707
8708 2003-04-09  John Levon  <levon@movementarian.org>
8709
8710         * lyxfunc.C:
8711         * lfuns.h:
8712         * LyXAction.h:
8713         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8714         and the "help" bits as well
8715
8716 2003-04-09  John Levon  <levon@movementarian.org>
8717
8718         * ToolbarBackend.h:
8719         * ToolbarBackend.C: allow multiple toolbars
8720
8721 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8722
8723         * undo_funcs.C (setCursorParUndo): adjust
8724
8725         * text_funcs.C (transposeChars): adjust
8726
8727         * text3.C (gotoNextInset): adjust
8728         (dispatch): adjust
8729
8730         * text2.C (setLayout): adjust
8731         (changeDepth): adjust
8732         (setFont): adjust
8733         (redoParagraphs): adjust
8734         (selectionAsString): adjust
8735         (setParagraph): adjust
8736         (insertInset): adjust
8737         (cutSelection): adjust
8738         (copySelection): adjust
8739         (pasteSelection): adjust
8740         (insertStringAsLines): adjust
8741         (updateInset): adjust
8742         (setCursor): change to take a ParagraphList::iterator parameter
8743         (setCursorIntern): change to take a ParagraphList::iterator parameter
8744         (setCurrentFont): adjust
8745         (cursorLeft): adjust
8746         (cursorRight): adjust
8747         (deleteEmptyParagraphMechanism): adjust
8748
8749         * text.C (breakParagraph): adjust
8750         (insertChar): adjust
8751         (acceptChange): adjust
8752         (rejectChange): adjust
8753         (selectNextWordToSpellcheck): adjust
8754         (changeCase): adjust
8755         (Delete): adjust
8756         (backspace): adjust
8757
8758         * lyxfind.C (SearchForward): adjust
8759         (SearchBackward): adjust
8760         (nextChange): adjust
8761
8762         * lyxcursor.C (par): adjust
8763
8764         * lyxcursor.h: store a ParagraphList::iterator instead of a
8765         Paragraph*
8766
8767         * lyx_cb.C (getPossibleLabel): adjust
8768
8769         * bufferview_funcs.C (toggleAndShow): adjust
8770
8771         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8772         (dispatch): adjust
8773
8774         * BufferView.C (removeAutoInsets): adjust
8775         (lockedInsetStoreUndo): adjust
8776
8777 2003-04-09  John Levon  <levon@movementarian.org>
8778
8779         * ToolbarBackend.C: try icon without argument
8780         if with argument fails
8781
8782 2003-04-08  John Levon  <levon@movementarian.org>
8783
8784         * ToolbarBackend.h:
8785         * ToolbarBackend.C: add getIcon(), handle tooltip,
8786         and change from "Icon" to "Item".
8787
8788 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8789
8790         * BufferView.C (lockInset): another bad getchar crunched
8791
8792 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8793
8794         * text2.C (changeDepth): do not setUndo on test_only (make undo work
8795         again)
8796
8797 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
8798
8799         * lyxfind.C (searchForward, searchBackwards): bug 782
8800
8801 2003-04-07  John Levon  <levon@movementarian.org>
8802
8803         * paragraph.C: remove dead comment
8804
8805         * text.C: remove troublesome depth-fiddling code
8806         in leftMargin() and rightMargin() (bug 1017)
8807
8808         * text.C: fix breaking of rows in nested lists
8809         (bug 1004)
8810
8811         * text2.C (updateCounters): fix up depth values
8812         (bug 1013)
8813
8814 2003-04-07  John Levon  <levon@movementarian.org>
8815
8816         * BufferView_pimpl.C: clear message when doc finishes resizing,
8817         and after a mouse event
8818
8819         * lyxfunc.C: clear message after exiting inset
8820
8821 2003-04-07  John Levon  <levon@movementarian.org>
8822
8823         * bufferview_funcs.C: show math status not outside
8824         status in the statusbar
8825
8826 2003-04-07  John Levon  <levon@movementarian.org>
8827
8828         * lyxfunc.C: note status changed after a depth change
8829
8830 2003-04-04  Angus Leeming  <leeming@lyx.org>
8831
8832         * LaTeX.h: move AuxInfo operator==, != out of line.
8833         Remove LaTeX virtual destructor; nothing derives from it.
8834         Move operator()() out of public area and rename it startscript().
8835         Change protected for private.
8836
8837 2003-04-04  Angus Leeming  <leeming@lyx.org>
8838
8839         * lyxfunc.C:
8840         * text2.C: remove unneeded #includes.
8841
8842 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8843
8844         * text2.C (dEPM): fix the heigth of the next row
8845
8846 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8847
8848         * text.C: squashed an invalid getChar requester + some ws changes
8849
8850 2003-04-03  John Levon  <levon@movementarian.org>
8851
8852         * bufferview_funcs.h:
8853         * bufferview_funcs.C:
8854         * lyxfunc.C:
8855         * lyxtext.h:
8856         * text2.C: make getStatus work for the env depth lfuns
8857
8858 2003-04-03  John Levon  <levon@movementarian.org>
8859
8860         * bufferview_funcs.h:
8861         * bufferview_funcs.C:
8862         * lyxfunc.C:
8863         * lyxtext.h:
8864         * text2.C: parlistize decDepth(), by merging it with incDepth()
8865
8866 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8867
8868         * lyxrow.h: store a ParagraphList::iterator instead of a
8869         Paragraph* and adjust other class functions to suit.
8870
8871         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8872         above.
8873
8874 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8875
8876         * text2.C (setCursor): do not anchor to cursor row for the time being
8877
8878 2003-04-02  John Levon  <levon@movementarian.org>
8879
8880         * LyXAction.C:
8881         * lfuns.h:
8882         * lyx_main.C:
8883         * lyxtext.h:
8884         * text.C:
8885         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8886
8887 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8888
8889         * paragraph.h: make ParagraphList and ParagraphList::iterator
8890         friends of Paragraph.
8891
8892         * buffer.C (makeLinuxDocFile): move towards ParagraphList
8893
8894         * ParagraphList.C: Use the private next_ and previous_ from
8895         Paragraph.
8896
8897 2003-04-01  John Levon  <levon@movementarian.org>
8898
8899         * ToolbarBackend.h:
8900         * ToolbarBackend.C:
8901         * Makefile.am: rename, remove defaults gunk
8902
8903         * MenuBackend.h:
8904         * MenuBackend.C: remove defaults gunk
8905
8906         * Languages.h:
8907         * Languages.C: remove defaults gunk
8908
8909         * lyx_main.h:
8910         * lyx_main.C: error out if files couldn't be found.
8911
8912 2003-04-02  John Levon  <levon@movementarian.org>
8913
8914         * text2.C: make incDepth() use parlist
8915
8916 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8917
8918         * undo_funcs.C (firstUndoParagraph): adjust
8919
8920         * text3.C (gotoInset): adjust
8921         (dispatch): adjust, and rewrite loop.
8922
8923         * text2.C (init): adjust, and rewrite loop.
8924         (redoParagraphs): adjust
8925         (updateInset): adjust, and rewrite loop.
8926         (deleteEmptyParagraphMechanism): adjust
8927
8928         * tabular.C (LyXTabular): adjust
8929         (SetMultiColumn): adjust
8930         (TeXRow): adjust
8931
8932         * lyxtext.[Ch] (ownerParagraph): delete function
8933         (ownerParagraphs): new function returns a ParagraphList.
8934
8935         * BufferView.C (removeAutoInsets): adjust
8936         (insertErrors): adjust
8937         (setCursorFromRow): adjust
8938
8939 2003-04-01  Angus Leeming  <leeming@lyx.org>
8940
8941         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8942         in the frontends.
8943
8944 2003-04-02  John Levon  <levon@movementarian.org>
8945
8946         * lyxtext.h:
8947         * text.C:
8948         * Makefile.am:
8949         * text_funcs.h:
8950         * text_funcs.C: make transposeChars a free function
8951
8952         * lyxrow_funcs.C: remove wrong comment
8953
8954 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8955
8956         * lyxtext.h: adjust
8957         * rowpainter.C: adjust
8958         * text.C: adjust
8959         * text2.C: adjust
8960         * text3.C: adjust
8961
8962         * lyxrow_funcs. [Ch]: new files
8963
8964         * lyxrow.[Ch]: remove next and previous pointers
8965         (next,previous): remove accessor functions
8966         (isParEnd): move to lyxrow_funcs
8967         (lastPos): move to lyxrow_funcs
8968         (nextRowIsAllInset): move to lyxrow_funcs
8969         (lastPrintablePos): move to lyxrow_funcs
8970         (numberOfSeparators): move to lyxrow_funcs
8971         (numberOfHfills): move to lyxrow_funcs
8972         (numberOfLabelHfills): move to lyxrow_funcs
8973         (hfillExpansion): move to lyxrow_funcs
8974
8975         * lyxfunc.C: adjust
8976
8977         * bufferview_funcs.C (toggleAndShow): adjust
8978
8979         * RowList.h: Remove class RowList from file leave just a
8980         std::list<Row>.
8981
8982         * RowList.C: delete file
8983
8984         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8985         and lyxrow_funcs.h
8986
8987 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8988
8989         * text3.C (cursorPrevious): adjust
8990         (cursorNext): adjust
8991         (dispatch): adjust
8992
8993         * text2.C (redoHeightOfParagraph): adjust
8994         (redoDrawingOfParagraph): adjust
8995         (setCursor): adjust
8996
8997         * text.C (breakParagraph): adjust
8998         (insertChar): adjust
8999         (backspace): adjust
9000
9001         * rowpainter.C (RowPainter): adjust
9002         (leftMargin): simplify and adjust
9003         (most rowpainter functions): adjust.
9004
9005         * rowpainter.h: store the row as RowList::iterator not as Row*
9006
9007         * lyxcursor.C (row): taka RowList::iterator as arg
9008         (irow): ditto
9009
9010         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
9011         of Row*.
9012
9013 2003-04-01  Angus Leeming  <leeming@lyx.org>
9014
9015         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
9016         stuff like bool Bool.
9017
9018 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
9019
9020         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
9021         rewrite a loop
9022
9023 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9024
9025         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
9026         RowList::iterator.
9027
9028         * lyxtext.h (rows): drop one version and leve a const variant that
9029         returns a RowList::iterator.
9030
9031 2003-03-31  Angus Leeming  <leeming@lyx.org>
9032
9033         * text.C (fill): ensure that the signature is the same as that in the
9034         header file.
9035
9036 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
9037
9038         * text2.C (redoParagraphs): adjust
9039         (updateCounters): adjust
9040         (checkParagraph): adjust
9041         (getColumnNearX): adjust and reformat a bit.
9042
9043         * text.C (top_y): adjust
9044         (workWidth): adjust
9045         (leftMargin): adjust
9046         (prepareToPrint): adjust
9047         (getRow): adjust
9048         (getRowNearY): adjust
9049
9050         * lyxtext.h: make rowlist_ mutable.
9051
9052         * RowList.h: add const_iterator
9053         * RowList.C: adjust for RowList::const_iterator.
9054
9055         * text2.C (getCursorX): make it take a RowList::iterator as arg,
9056         adjust.
9057
9058 2003-03-31  John Levon  <levon@movementarian.org>
9059
9060         * lyxrc.h:
9061         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
9062
9063         * lyx_main.C: set default fonts from using lyx_gui funcs
9064
9065         * exporter.C: pdf_mode moved from lyxrc
9066
9067         * lyx_cb.C:
9068         * lyxfunc.C: changes from above
9069
9070 2003-03-31  John Levon  <levon@movementarian.org>
9071
9072         * lyx_main.C: fix to the last fix
9073
9074 2003-03-31  John Levon  <levon@movementarian.org>
9075
9076         * bufferlist.C: "Load original" -> "Load Original"
9077
9078         * converter.C:
9079         * exporter.C:
9080         * importer.C:
9081         * lyx_main.C:
9082         * format.C: more Alert cleanups
9083
9084 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
9085
9086         * text2.C (removeParagraph): make it take a RowList::iterator as
9087         arg, adjust.
9088         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
9089         (postRowPaint): make it take a RowList::iterator as arg, adjust.
9090
9091         * text.C (anchor_row): make it take a RowList::iterator as arg,
9092         adjust.
9093         (computeBidiTables): make it take a const reference to Row instead
9094         of Row pointer, adjust.
9095         (leftMargin): make it take a RowList::iterator as arg, adjust.
9096         (rowBreakPoint): adjust
9097         (breakAgainOneRow): make it take a RowList::iterator as arg,
9098         adjust.
9099         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
9100
9101         * bufferview_funcs.C (toggleAndShow): adjust
9102
9103 2003-03-30  John Levon  <levon@movementarian.org>
9104
9105         * Makefile.am:
9106         * BoostFormat.h:
9107         * boost-inst.C: moved to support
9108
9109         * several files: changes as a result
9110
9111 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
9112
9113         * text2.C (LyXText): adjust.
9114         (init): adjust
9115         (removeRow): make it take a RowList::iterator as arg, adjust.
9116         (fullRebreak): adjust
9117         (deleteEmptyParagraphMechanism): adjust
9118         (clearPaint): adjust
9119         (postPaint): adjust
9120
9121         * text.C (top_y): adjust
9122         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
9123         (breakAgain): make it take a RowList::iterator as arg, adjust.
9124         (breakParagraph): adjust
9125         (insertChar): adjust
9126         (backspace): adjust
9127
9128         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
9129         need_break_row, and refresh_row.
9130
9131         * text3.C (dispatch): adjust
9132
9133         * text2.C (checkParagraph): adjust
9134         (setCursor): adjust
9135         (setCursorFromCoordinates): adjust
9136
9137         * text.C (top_y): adjust
9138         (workWidth): adjust
9139         (getRow): make it return a RowList::iterator, adjust
9140         (getRowNearY): make it return a RowList::iterator, adjust
9141
9142         * text2.C (init): adjust
9143         (insertRow): remove function
9144         (insertParagraph): adjust
9145         (redoParagraphs): adjust
9146         (fullRebreak): adjust
9147         (updateCounters): adjust
9148
9149         * text.C (top_y): rewrite to use RowList iterators.
9150         (top_y): adjust
9151         (setHeightOfRow): rewrite to sue RowList iterators.
9152         (appendParagraph): adjust
9153         (breakAgain): adjust
9154         (breakAgainOneRow): adjust
9155         (breakParagraph): adjust
9156         (getRow): adjust
9157         (getRowNearY): adjust, and remove commented code.
9158
9159         * lyxtext.h (firstRow): delete function
9160         (lastRow): delete function
9161         (rows): new function (const and non-const versions.)
9162         (insertRow): delete function
9163
9164         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
9165
9166 2003-03-29  John Levon  <levon@movementarian.org>
9167
9168         * BufferView_pimpl.C: always update scrollbar top
9169         because pasting text when we're anchored could mean we
9170         miss an update altogether
9171
9172 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9173
9174         * text2.C (init): use rowlist_.end() and not 0.
9175         (insertRow): change to take a RowList::iterator as arg, adjust
9176         for this.
9177         (insertParagraph): change to take a RowList::iterator as arg,
9178         adjust for this.
9179         (redoParagraphs): remove some debug msgs.
9180
9181         * text.C (appendParagraph): change to take a RowList::iterator
9182         arg, adjust for this.
9183         (breakAgain): add an assert
9184         (breakAgainOneRow): ditto
9185
9186 2003-03-29  John Levon  <levon@movementarian.org>
9187
9188         * text2.C: do not clear selection after inc/decDepth
9189         (bug 550)
9190
9191 2003-03-29  John Levon  <levon@movementarian.org>
9192
9193         * BufferView.C:
9194         * buffer.C: fix broken strerrors according to Lars
9195
9196 2003-03-29  John Levon  <levon@movementarian.org>
9197
9198         * converters.C: more Alert cleanups
9199
9200 2003-03-29  John Levon  <levon@movementarian.org>
9201
9202         * bufferview_funcs.C: remove pointless Alert
9203
9204         * buffer.C: fix confusing error message when
9205         a template is chmoded 000
9206
9207 2003-03-29  John Levon  <levon@movementarian.org>
9208
9209         * BufferView.C:
9210         * BufferView.h:
9211         * BufferView_pimpl.C: Alert fixes
9212
9213         * Makefile.am:
9214         * tabular.C:
9215         * tabular-old.C: remove unused table compat reading
9216
9217 2003-03-29  John Levon  <levon@movementarian.org>
9218
9219         * BufferView.C:
9220         * buffer.C:
9221         * lyx_cb.h:
9222         * lyx_cb.C: more Alert cleanups
9223
9224         * lyxfunc.C: don't allow chktex if not latex document
9225
9226 2003-03-29  John Levon  <levon@movementarian.org>
9227
9228         * lyx_cb.C:
9229         * BufferView.C:
9230         * buffer.C: warnings pushed down from support/,
9231         kill err_alert
9232
9233 2003-03-29  John Levon  <levon@movementarian.org>
9234
9235         * lyxfunc.C: safety check for C-r (revert)
9236
9237 2003-03-29  John Levon  <levon@movementarian.org>
9238
9239         * bufferlist.h:
9240         * bufferlist.C: several UI fixes using Alert::prompt.
9241         Fix the pointless looping quit code. Fix stupid revert
9242         behaviour (bug 938)
9243
9244         * lyxvc.h:
9245         * lyxvc.C:
9246         * lyx_cb.C: use Alert::prompt
9247
9248         * lyx_main.C: remove a silly question
9249
9250         * lyxfunc.C: remove a couple of silly questions,
9251         use Alert::prompt
9252
9253 2003-03-28  John Levon  <levon@movementarian.org>
9254
9255         * text2.C: fix bug 974 (End on empty par)
9256
9257 2003-03-28  John Levon  <levon@movementarian.org>
9258
9259         * BufferView_pimpl.C:
9260         * LyXAction.C:
9261         * lfuns.h: remove do-nothing math greek lfuns
9262
9263 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9264
9265         * lyxgluelength.h (isValidGlueLength): add default arg on
9266         parameter 2. Remove default arg from friend in class.
9267
9268         * lyxlength.h (isValidLength): add default arg on parameter 2.
9269         Remove default arg from friend in class.
9270
9271         * text2.C (LyXText): adjust, initialize refresh_row.
9272         (init): adjust
9273         (removeRow): adjust
9274         (insertRow): adjust
9275         (insertParagraph): adjst
9276         (redoParagraphs): adjust
9277         (fullRebreak): adjust
9278         (updateCounters): adjust
9279         (deleteEmptyParagraphMechanism): first attempt at fixing a
9280         crashing bug.
9281
9282         * text.C (top_y): adjust
9283         (setHeightOfRow): adjust
9284         (getRow): adjust
9285         (getRowNearY): adjust
9286
9287         * lyxtext.h: include RowList.h
9288         (~LyXText): not needed anymore, deleted.
9289         (firstRow): modify for RowList
9290         (lastRow): new function
9291         Delete firstrow and lastrow class variables, add a Rowlist
9292         rowlist_ class variable.
9293
9294         * lyxrow.C (lastPos): use empty() and not !size() to check if a
9295         paragraph is empty.
9296
9297         * RowList.C (insert): fix case where it == begin().
9298
9299 2003-03-26  Angus Leeming  <leeming@lyx.org>
9300
9301         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9302         the thesaurus dialog.
9303
9304 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
9305
9306         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9307
9308         * RowList.[Ch]: new files
9309
9310         * ParagraphList.C (erase): handle the case where it == begin
9311         correctly.
9312
9313 2003-03-25  John Levon  <levon@movementarian.org>
9314
9315         * Makefile.am:
9316         * aspell_local.h:
9317         * aspell.C: add new aspell support
9318
9319         * lyxrc.h:
9320         * lyxrc.C: Make use_pspell be use_spell_lib. Always
9321         have it accessible.
9322
9323 2003-03-25  Angus Leeming  <leeming@lyx.org>
9324
9325         * lfuns.h:
9326         * LyXAction.C (init): new LFUN_INSET_INSERT.
9327
9328         * BufferView_pimpl.C (dispatch): split out part of the
9329         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9330
9331         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9332         LFUN_INSET_APPLY.
9333
9334 2003-03-25  Angus Leeming  <leeming@lyx.org>
9335
9336         * lyxfunc.C (dispatch): changes to the Dialogs interface.
9337
9338 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
9339
9340         * text2.C:
9341         * text3.C: remove useless row->height(0)
9342
9343 2003-03-25  John Levon  <levon@movementarian.org>
9344
9345         * lyxtext.h:
9346         * text2.C:
9347         * text3.C: rename the refreshing stuff to better names
9348
9349 2003-03-24  John Levon  <levon@movementarian.org>
9350
9351         * BufferView_pimpl.h:
9352         * BufferView_pimpl.C: update layout choice on a mouse
9353         press/release
9354
9355 2003-03-23  John Levon  <levon@movementarian.org>
9356
9357         * Makefile.am: fix commandtags.h reference
9358
9359 2003-03-22  John Levon  <levon@movementarian.org>
9360
9361         * BufferView_pimpl.C:
9362         * lyxtext.h:
9363         * rowpainter.C:
9364         * rowpainter.h:
9365         * text.C:
9366         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9367
9368 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
9369
9370         * lyxtext.h:
9371         * text.C: take the rtl methods out of line
9372
9373 2003-03-21 André Pönitz <poenitz@gmx.net>
9374
9375         * metricsinfo.[Ch]: new files containing structures to be passed around
9376         during the two-phase-drawing...
9377
9378 2003-03-21 André Pönitz <poenitz@gmx.net>
9379
9380         * lyxtextclass.C: read 'environment' tag.
9381
9382 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
9383
9384         * text2.C (removeRow): fix bug 964
9385
9386 2003-03-20  John Levon  <levon@movementarian.org>
9387
9388         * rowpainter.C:
9389         * text.C:
9390         * text2.C: paint cleanups. Inset::update() dropped font
9391         parameter
9392
9393 2003-03-19  John Levon  <levon@movementarian.org>
9394
9395         * lyxfunc.C: only fitcursor/markDirty if available()
9396
9397 2003-03-19  John Levon  <levon@movementarian.org>
9398
9399         * commandtags.h: rename to ...
9400
9401         * lfuns.h: ... this, and renumber / cleanup
9402
9403 2003-03-19  John Levon  <levon@movementarian.org>
9404
9405         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9406         fit the cursor after an lfun
9407
9408         * BufferView.h:
9409         * BufferView.C:
9410         * BufferView_pimpl.h:
9411         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9412
9413         * LyXAction.C: layout-character should have ReadOnly
9414
9415         * ParagraphParameters.C:
9416         * buffer.C:
9417         * bufferview_funcs.C:
9418         * lyx_cb.C:
9419         * lyxfind.C:
9420         * lyxtext.h:
9421         * text.C:
9422         * text2.C:
9423         * text3.C:
9424         * undo_funcs.C: changes from above
9425
9426 2003-03-18  John Levon  <levon@movementarian.org>
9427
9428         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9429         remove it from update()
9430
9431         * lyxfunc.C: update layout choice after an lfun
9432
9433         * text3.C: remove extra updateLayoutChoice()s
9434
9435 2003-03-18  John Levon  <levon@movementarian.org>
9436
9437         * text.C: top_y change means full repaint, fix
9438         a drawing bug with cursor movement
9439
9440 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9441
9442         * lyxtext.h:
9443         * text.C:
9444         * text2.C: anchor row on setCursor
9445
9446 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9447
9448         * lyxtext.h: remove almost all mutable keywords
9449         * text.C:
9450         * text2.C:
9451         * text3.C: remove const keywords accordingly
9452
9453 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9454
9455         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9456         anon namespace
9457         (TeXEnvironment): ditto
9458         (TeXOnePar): ditto
9459
9460 2003-03-17  John Levon  <levon@movementarian.org>
9461
9462         * text.C (rowBreakPoint): remove attempt to fix displayed
9463         math insets inside a manual label
9464
9465 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9466
9467         * lyxtext.h: remove BufferView* as first arg from almost all class
9468         functions.
9469         * other files: adjust.
9470
9471 2003-03-17  John Levon  <levon@movementarian.org>
9472
9473         * lyxtext.h:
9474         * undo_funcs.C:
9475         * text2.C: more paint cleanups
9476
9477         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9478
9479         * rowpainter.h:
9480         * rowpainter.C: remove "smart" background painting code
9481
9482 2003-03-16  John Levon  <levon@movementarian.org>
9483
9484         * lyxtext.h:
9485         * text.C:
9486         * text2.C:
9487         * text3.C: add helper functions for setting refresh_row/y
9488
9489 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
9490
9491         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9492         newline inset which *can* get inserted in the pass_thru layouts.
9493         This is primarily for literate documents.
9494
9495 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
9496
9497         * buffer.C: increment LYX_FORMAT to 223
9498
9499 2003-03-14 André Pönitz <poenitz@gmx.net>
9500
9501         * textclass.h: prepare for environment handling, ws changes
9502         * lyxlayout.C: read latexheader and latexfooter tags
9503
9504 2003-03-14  John Levon  <levon@movementarian.org>
9505
9506         * text2.C: rewrite ::status() a bit
9507
9508 2003-03-13  John Levon  <levon@movementarian.org>
9509
9510         * lyxtext.h: add some docs
9511
9512 2003-03-13  John Levon  <levon@movementarian.org>
9513
9514         * lyxtext.h:
9515         * text.C:
9516         * text2.C:
9517         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9518
9519 2003-03-13  John Levon  <levon@movementarian.org>
9520
9521         * text3.C: fix appendix redrawing
9522
9523 2003-03-13  John Levon  <levon@movementarian.org>
9524
9525         * text.C (setHeightOfRow):
9526         * rowpainter.h:
9527         * rowpainter.C: make appendix mark have the text
9528           "Appendix" so the user knows what it is
9529
9530         * LColor.h:
9531         * LColor.C: s/appendixline/appendix/ from above
9532
9533 2003-03-13  John Levon  <levon@movementarian.org>
9534
9535         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9536
9537         * text.C: fix a getChar(pos) bug properly
9538
9539 2003-03-13  Angus Leeming  <leeming@lyx.org>
9540
9541         * commandtags.h:
9542         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9543         Probably only temporary. Let's see how things pan out.
9544
9545         * BufferView.C (unlockInset):
9546         * BufferView_pimpl.C (fitCursor):
9547         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9548
9549         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9550         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9551
9552         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9553         new functions that convert ParagraphParameters to and from a string.
9554
9555         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9556         BufferView::Pimpl's dispatch.
9557         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9558
9559 2003-03-13 André Pönitz <poenitz@gmx.net>
9560
9561         * lyxfunc.C:
9562         * text3.C:
9563         * factory.C: make it aware of InsetEnv
9564
9565 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
9566
9567         * text2.C (setCursor): never ask for one past last
9568         (setCursor): add some debugging messages.
9569
9570         * text.C (singleWidth): never ask for one past last
9571         (singleWidth): ditto
9572         (leftMargin): ditto
9573         (rightMargin): ditto
9574         (rowBreakPoint): ditto
9575         (setHeightOfRow): ditto
9576         (prepareToPrint): ditto
9577
9578         * rowpainter.C (paintBackground): never ask for one past last
9579         (paintText): never ask for one past last
9580
9581         * paragraph_pimpl.C (getChar): make the assert stricter, never
9582         allow the one past last pos to be taken
9583
9584         * paragraph.C (getChar): ws changes only
9585
9586         * lyxrow.C (nextRowIsAllInset): never ask for one past last
9587         (numberOfSeparators): ditto
9588         (numberOfHfills): ditto
9589
9590 2003-03-12  John Levon  <levon@movementarian.org>
9591
9592         * author.h:
9593         * author.C:
9594         * bufferparams.h:
9595         * bufferparams.C:
9596         * paragraph_funcs.C: fix per-buffer authorlists
9597
9598 2003-03-12  John Levon  <levon@movementarian.org>
9599
9600         * text.C: fix newline in right address
9601
9602 2003-03-12  Angus Leeming  <leeming@lyx.org>
9603
9604         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9605         duplicate those in LyXFunc::dispatch.
9606
9607         * commandtags.h:
9608         * LyXAction.C:
9609         * ToolbarDefaults.C:
9610         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9611         Add LFUN_FONTFREE_UPDATE.
9612
9613         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9614         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9615
9616         * bufferview_func.[Ch]: several new functions to facilliate
9617         transfer of data to and from the character dialog.
9618
9619 2003-03-12  John Levon  <levon@movementarian.org>
9620
9621         * buffer.C:
9622         * paragraph.h:
9623         * paragraph.C:
9624         * paragraph_funcs.C:
9625         * paragraph_pimpl.C:
9626         * sgml.C:
9627         * tabular.C:
9628         * text.C:
9629         * text3.C: remove META_NEWLINE in favour of an inset
9630
9631         * rowpainter.h:
9632         * rowpainter.C: remove paintNewline (done by inset)
9633
9634 2003-03-12  John Levon  <levon@movementarian.org>
9635
9636         * paragraph_pimpl.C: complain about bad getChar()s
9637         for a while at least
9638
9639 2003-03-12  John Levon  <levon@movementarian.org>
9640
9641         * buffer.h:
9642         * buffer.C: move paragraph read into a separate function,
9643         a little renaming to reflect that.
9644
9645         * bufferparams.h:
9646         * bufferparams.C: remove the author_ids map, not necessary now
9647
9648         * factory.h:
9649         * factory.C: moved Buffer::readInset to here
9650
9651         * paragraph_funcs.h:
9652         * paragraph_funcs.C: readParagraph free function moved from
9653         buffer.C
9654
9655         * tabular.C: name change
9656
9657 2003-03-12  John Levon  <levon@movementarian.org>
9658
9659         * buffer.C:
9660         * ParagraphParameters.C: move par params input to
9661         a read() method
9662
9663         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9664         behave like a normal read from the stream wrt reading
9665         a line vs. a \\token
9666
9667 2003-03-12  John Levon  <levon@movementarian.org>
9668
9669         * paragraph.C:
9670         * ParagraphParameters.h:
9671         * ParagraphParameters.C: move output code to a
9672         ::write() method
9673
9674 2003-03-12  John Levon  <levon@movementarian.org>
9675
9676         * BufferView.C (insertLyXFile):
9677         * buffer.h:
9678         * buffer.C:
9679         * tabular.C: use a parlist iterator for creating the
9680           document.
9681
9682 2003-03-12  John Levon  <levon@movementarian.org>
9683
9684         * buffer.C: make current_change static local not
9685           static file-scope
9686
9687 2003-03-12  John Levon  <levon@movementarian.org>
9688
9689         * buffer.C: fix insertStringAsLines for change tracking
9690
9691 2003-03-12  John Levon  <levon@movementarian.org>
9692
9693         * BufferView.C:
9694         * tabular.C:
9695         * buffer.h:
9696         * buffer.C:
9697         * bufferparams.h:
9698         * bufferparams.C: move author list into params. Rename some
9699           functions. Move the header reading into a separate token
9700           loop. Move the header token reading into BufferParams.
9701
9702 2003-03-12  John Levon  <levon@movementarian.org>
9703
9704         * changes.C: put debug inside lyxerr.debugging() checks
9705
9706 2003-03-11 André Pönitz <poenitz@gmx.net>
9707
9708         * factory.C: make it aware of InsetHFill
9709
9710 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9711
9712         * buffer.C (latexParagraphs): move function from here...
9713         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9714         args.
9715
9716 2003-03-10  Angus Leeming  <leeming@lyx.org>
9717
9718         * LyXAction.C (init): fix bug in poplating array with multiple entries
9719         with the same LFUN (spotted by JMarc).
9720
9721 2003-03-10  John Levon  <levon@movementarian.org>
9722
9723         * text.C:
9724         * text2.C: move getColumnNearX() near its
9725         only call site
9726
9727 2003-03-10  John Levon  <levon@movementarian.org>
9728
9729         * text.C: fix break before a minipage
9730
9731 2003-03-10  John Levon  <levon@movementarian.org>
9732
9733         * text.C: fix the last commit
9734
9735 2003-03-09  John Levon  <levon@movementarian.org>
9736
9737         * lyxtext.h:
9738         * text.C:
9739         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9740         bug 365 (don't break before insets unless needed). Don't
9741         return a value > last under any circumstances.
9742
9743 2003-03-09  Angus Leeming  <leeming@lyx.org>
9744
9745         * BufferView_pimpl.C (trackChanges, dispatch): call
9746         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9747
9748 2003-03-09  Angus Leeming  <leeming@lyx.org>
9749
9750         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9751         than Dialogs::showAboutlyx().
9752
9753 2003-03-09  Angus Leeming  <leeming@lyx.org>
9754
9755         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9756         than Dialogs::showTabularCreate().
9757
9758 2003-03-09  John Levon  <levon@movementarian.org>
9759
9760         * lyxtext.h:
9761         * text.C:
9762         * text2.C: 3rd arg to nextBreakPoint was always the same.
9763           Use references.
9764
9765 2003-03-08  John Levon  <levon@movementarian.org>
9766
9767         * lyxrow.C:
9768         * paragraph.C:
9769         * paragraph.h:
9770         * rowpainter.C:
9771         * text.C:
9772         * text2.C: Remove the "main" bit from the "main body"
9773           notion.
9774
9775 2003-03-08  John Levon  <levon@movementarian.org>
9776
9777         * text.C (leftMargin): The left margin of an empty
9778         manual label paragraph should not include the label width
9779         string length.
9780
9781         * text.C (prepareToPrint): don't attempt to measure hfills
9782         for empty manual label paragraphs - the answer should be 0
9783
9784 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9785
9786         * CutAndPaste.C: remove commented code and reindent.
9787
9788 2003-03-08  John Levon  <levon@movementarian.org>
9789
9790         * lyxfunc.h:
9791         * lyxfunc.C: move reloadBuffer()
9792
9793         * BufferView.h:
9794         * BufferView.C: to here
9795
9796         * lyxvc.C: add comment
9797
9798         * vc-backend.h:
9799         * vc-backend.C: call bv->reload() to avoid
9800           getStatus() check on MENURELOAD
9801
9802 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
9803
9804         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9805         to an old format .dep file.
9806
9807 2003-03-07  Angus Leeming  <leeming@lyx.org>
9808
9809         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9810         when the LFUN_MOUSE_RELEASE should have been handled by
9811         inset->localDispatch.
9812
9813 2003-03-07  Angus Leeming  <leeming@lyx.org>
9814
9815         * BufferView_pimpl.C (dispatch):
9816         * LyXAction.C (init):
9817         * ToolbarDefaults.C (init):
9818         * commandtags.h:
9819         * lyxfunc.C (getStatus):
9820         remove LFUN_INSET_GRAPHICS.
9821
9822         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9823
9824 2003-03-07  Angus Leeming  <leeming@lyx.org>
9825
9826         * commandtags.h:
9827         * LyXAction.C (init):
9828         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9829
9830         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9831
9832         * commandtags.h:
9833         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9834
9835         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9836         localDispatch method LFUN_INSET_DIALOG_UPDATE.
9837
9838 2003-03-07  Angus Leeming  <leeming@lyx.org>
9839
9840         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9841         remove "ert".
9842
9843 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9844
9845         * ParagraphList.C (front): new function
9846         (back): implement
9847
9848 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
9849
9850         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9851         and top_row_offset_. removed var first_y.
9852         * text.C (top_y):
9853         * text2.C (LyXText, removeRow):
9854         * text3.C:
9855         * BufferView_pimpl.C:
9856         use these methods instead of using first_y
9857
9858 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9859
9860         * text2.C (pasteSelection): adjust for checkPastePossible
9861
9862         * CutAndPaste.C: remove Paragraph * buf and replace with
9863         ParagraphList paragraphs.
9864         (DeleteBuffer): delete
9865         (cutSelection): change the tc type to textclass_type
9866         (copySelection): change the tc type to textclass_type
9867         (copySelection): adjust for ParagraphList
9868         (pasteSelection): change the tc type to textclass_type
9869         (pasteSelection): adjust for Paragraphlist
9870         (nrOfParagraphs): simplify for ParagraphList
9871         (checkPastePossible): simplify for ParagraphList
9872         (checkPastePossible): remove unused arg
9873
9874         * ParagraphList.C (insert): handle the case where there are no
9875         paragraphs yet.
9876
9877         * CutAndPaste.h: make CutAndPaste a namespace.
9878
9879         * text3.C (dispatch): adjust
9880
9881         * text.C (breakParagraph): add a ParagraphList as arg
9882
9883         * paragraph_funcs.C (breakParagraph): change to take a
9884         BufferParams and a ParagraphList as args.
9885         (breakParagraphConservative): ditto
9886         (mergeParagraph): ditto
9887         (TeXDeeper): add a ParagraphList arg
9888         (TeXEnvironment): ditto
9889         (TeXOnePar): ditto
9890
9891         * buffer.C (readLyXformat2): adjust
9892         (insertStringAsLines): adjust
9893         (latexParagraphs): adjust
9894
9895         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9896         (cutSelection): adjust
9897         (pasteSelection): adjust
9898
9899         * BufferView_pimpl.C (insertInset): adjust
9900
9901 2003-03-05  Angus Leeming  <leeming@lyx.org>
9902
9903         * commandtags.h:
9904         * LyXAction.C (init):
9905         * BufferView_pimpl.C (dispatch):
9906         * lyxfunc.C (getStatus):
9907         remove LFUN_CHILD_INSERT.
9908
9909         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9910
9911 2003-03-05  Angus Leeming  <leeming@lyx.org>
9912
9913         * commandtags.h:
9914         * LyXAction.C (init):
9915         * src/factory.C (createInset):
9916         * lyxfunc.C (getStatus):
9917         * text3.C (dispatch):
9918         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9919
9920         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9921
9922 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9923
9924         * ParagraphList.C (insert): handle insert right before end()
9925         (erase): fix cases where it can be first or last paragraph.
9926
9927 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9928
9929         * paragraph_funcs.C (TeXEnvironment): remove all usage of
9930         Paragraph::next and Paragraph::previous
9931         (TeXOnePar): ditto
9932
9933         * text.C (breakParagraph): adjust
9934
9935         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9936         BufferParams& as arg.
9937         (breakParagraph): use ParagraphList::insert
9938         (breakParagraphConservative): take a Buffer* instead of a
9939         BufferParams& as arg.
9940         (breakParagraphConservative): use ParagraphList::insert.
9941
9942         * buffer.C (insertStringAsLines): un-const it
9943         (insertStringAsLines): adjust
9944
9945         * ParagraphList.C (insert): new function
9946
9947         * CutAndPaste.C (pasteSelection): adjust
9948
9949         * text.C (backspace): adjust
9950
9951         * tabular.C (SetMultiColumn): adjust
9952
9953         * CutAndPaste.C (cutSelection): adjust
9954         (pasteSelection): adjust
9955
9956         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9957         Buffer const * as arg
9958
9959         * ParagraphList.C (erase): new function
9960         * paragraph_funcs.C (mergeParagraph): use it
9961         (mergeParagraph): make it take a Buffer* instead of a
9962         BufferParams* as arg
9963
9964         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9965         as arg
9966         (breakParagraphConservative): ditto
9967
9968         * paragraph.h: remove the breakParagraph friend
9969
9970         * paragraph.C (eraseIntern): new function
9971         (setChange): new function
9972
9973         * paragraph_funcs.C (mergeParagraph): make it take a
9974         ParagraphList::iterator instead of a Paragraph *, adjust
9975         accordingly.
9976
9977         * paragraph.h: move an #endif so that the change tracking stuff
9978         also works in the NO_NEXT case.
9979
9980 2003-03-04  Angus Leeming  <leeming@lyx.org>
9981
9982         * commandtags.h:
9983         * LyXAction.C: new LFUN_INSET_MODIFY.
9984
9985         * BufferView_pimpl.C (dispatch): if an inset is found to be open
9986         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9987
9988 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9989
9990         * several files: ws changes only
9991
9992         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9993         (TeXEnvironment): ditto
9994         (TeXDeeper): ditto
9995
9996         * buffer.C (makeLaTeXFile): adjust
9997         (latexParagraphs): make it take ParagraphList::iterator as args
9998
9999 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
10000
10001         * buffer.C (latexParagraphs): adjust
10002
10003         * paragraph.C (TeXOnePar): move function...
10004         (optArgInset): move function...
10005         (TeXEnvironment): move function...
10006         * paragraph_pimpl.C (TeXDeeper): move function...
10007         * paragraph_funcs.C: ...here
10008
10009         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
10010
10011 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10012
10013         * buffer.C (readInset): remove compability code for old Figure and
10014         InsetInfo insets
10015
10016 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10017
10018         * buffer.C: ws changes
10019         (readInset):
10020
10021         * BufferView_pimpl.C: ditto
10022         * author.C: ditto
10023         * buffer.h: ditto
10024         * bufferlist.h: ditto
10025         * changes.h: ditto
10026         * lyxfunc.C: ditto
10027
10028 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
10029
10030         * converter.[Ch]: split into itself +
10031         * graph.[Ch]
10032         * format.[Ch]
10033         * Makefile.am: += graph.[Ch] + format.[Ch]
10034         * MenuBackend.C
10035         * buffer.C
10036         * exporter.C
10037         * importer.C
10038         * lyx_main.C
10039         * lyxfunc.C
10040         * lyxrc.C: added #include "format.h"
10041
10042 2003-02-27  Angus Leeming  <leeming@lyx.org>
10043
10044         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
10045           a label.
10046
10047         * factory.C (createInset): add "label" to the factory.
10048
10049         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
10050           string and do no more.
10051
10052 2003-02-27  Angus Leeming  <leeming@lyx.org>
10053
10054         * commandtags.h:
10055         * LyXAction.C (init):
10056         * factory.C (createInset):
10057         * BufferView_pimpl.C (dispatch):
10058           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
10059
10060         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
10061
10062         * lyxfunc.C (dispatch):
10063         * text3.C (dispatch): pass name to params2string.
10064
10065 2003-02-26  Angus Leeming  <leeming@lyx.org>
10066
10067         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
10068           blocks together.
10069           Rearrange the ~includes. Strip out the unnecessary ones.
10070
10071         * factory.C (createInset): reformat.
10072           create new insets for the various LFUN_XYZ_APPLY lfuns.
10073
10074 2003-02-26  John Levon  <levon@movementarian.org>
10075
10076         * lyxrow.h:
10077         * lyxrow.C: add isParStart,isParEnd helpers
10078
10079         * paragraph.h: make isInserted/DeletedText take refs
10080
10081         * paragraph_funcs.h:
10082         * paragraph_funcs.C: remove #if 0'd code
10083
10084         * lyxtext.h:
10085         * text3.C:
10086         * text2.C:
10087         * text.C: use lyxrow helpers above.
10088           Move draw and paint routines to RowPainter.
10089           Make several methods use refs not pointers.
10090           Make backgroundColor() const.
10091           Add markChangeInDraw(), isInInset().
10092           Merge changeRegionCase into changeCase.
10093           Make workWidth() shouldn't-happen code into an Assert.
10094
10095         * rowpainter.h:
10096         * rowpainter.C: new class for painting a row.
10097
10098         * vspace.h:
10099         * vspace.C: make inPixels take a ref
10100
10101 2003-02-26  Angus Leeming  <leeming@lyx.org>
10102
10103         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
10104         LFUN_REF_APPLY.
10105
10106 2003-02-25  John Levon  <levon@movementarian.org>
10107
10108         * ispell.C: give the forked command a more accurate name
10109
10110 2003-02-22  John Levon  <levon@movementarian.org>
10111
10112         * toc.h:
10113         * toc.C: make TocItem store an id not a Paragraph *
10114           (bug #913)
10115
10116 2003-02-21  Angus Leeming  <leeming@lyx.org>
10117
10118         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
10119           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
10120           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
10121           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
10122           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
10123           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
10124
10125         * BufferView_pimpl.C (dispatch):
10126         * LyXAction.C (init):
10127         * factory.C (createInset):
10128         * lyxfunc.C (getStatus, dispatch):
10129         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
10130
10131 2003-02-21  Angus Leeming  <leeming@lyx.org>
10132
10133         * BufferView_pimpl.C (MenuInsertLyXFile):
10134         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
10135         * lyxfunc.C (menuNew, open, doImport):
10136           no longer pass a LyXView & to fileDlg.
10137
10138 2003-02-21  Angus Leeming  <leeming@lyx.org>
10139
10140         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
10141         * LyXAction.C: change, BIBKEY to BIBITEM.
10142         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
10143         Change InsetBibKey to InsetBibitem.
10144         Change BIBKEY_CODE to BIBITEM_CODE.
10145         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10146         * factory.C: replace insetbib.h with insetbibitem.h.
10147         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10148         * paragraph.C: replace insetbib.h with insetbibitem.h.
10149         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
10150         Change bibkey() to bibitem().
10151         * text.C: remove insetbib.h.
10152         * text2.C: replace insetbib.h with insetbibitem.h.
10153         change bibkey() to bibitem().
10154         * text3.C: remove insetbib.h.
10155         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10156
10157 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10158
10159         * lyxrc.C (output): enclose user email in quotes (in case there are
10160         several words)
10161
10162 2003-02-18  John Levon  <levon@movementarian.org>
10163
10164         * buffer.h: add std::
10165
10166 2003-02-17  John Levon  <levon@movementarian.org>
10167
10168         * SpellBase.h:
10169         * ispell.h:
10170         * ispell.C:
10171         * pspell.h:
10172         * pspell.C: reworking. Especially in ispell, a large
10173           number of clean ups and bug fixes.
10174
10175         * lyxfunc.C: fix revert to behave sensibly
10176
10177 2003-02-17 André Pönitz <poenitz@gmx.net>
10178
10179         * LyXAction.C:
10180         * commandtags.h: new LFUN_INSERT_BIBKEY
10181
10182         * layout.h:
10183         * lyxlayout.C:
10184         * buffer.C:
10185         * factory.C:
10186         * text.C:
10187         * text2.C:
10188         * text3.C:
10189         * paragraph.[Ch]:
10190         * paragraph_func.C: remove special bibkey handling
10191
10192 2003-02-17  John Levon  <levon@movementarian.org>
10193
10194         * text.C (Delete): fix case where delete at the end of
10195           the very first paragraph would not merge the pars
10196
10197 2003-02-17  John Levon  <levon@movementarian.org>
10198
10199         * lyxrow.C: fix lastPrintablePos()
10200
10201 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10202
10203         * bufferparams.C (writeLaTeX): add a std:here
10204
10205         * buffer.C: and remove a using directive there
10206
10207 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10208
10209         * buffer.C (makeLaTeXFile): move the code that generates the
10210           preamble...
10211
10212         * bufferparams.C (writeLaTeX): ... in this new method
10213
10214         * LaTeXFeatures.C (getEncodingSet): make const
10215           (getLanguages): make const
10216
10217         * MenuBackend.C (binding): returns the binding associated to this
10218           action
10219           (add): sets the status of each item by calling getStatus. Adds
10220           some intelligence.
10221           (read): add support for OptSubMenu
10222           (expand): remove extra separator at the end of expanded menu
10223
10224 2003-02-15  John Levon  <levon@movementarian.org>
10225
10226         * BufferView.C:
10227         * BufferView_pimpl.C:
10228         * bufferlist.h:
10229         * bufferlist.C: remove pointless BufferStorage bloat. Remove
10230           inset code that had no actual effect. Remove unneeded status
10231           code.
10232
10233 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10234
10235         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10236           in preamble
10237
10238 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
10239
10240         * text.C (drawLengthMarker): also draw an arrow marker for
10241           symbolic lengths (medskip...)
10242
10243 2003-02-14  John Levon  <levon@movementarian.org>
10244
10245         * tabular.h:
10246         * tabular.C: better method names
10247
10248 2003-02-14  John Levon  <levon@movementarian.org>
10249
10250         * BufferView_pimpl.C:
10251         * bufferlist.C:
10252         * buffer.C:
10253         * converter.C:
10254         * lyx_cb.C:
10255         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10256           it's a more accurate name. Remove some pointless uses.
10257
10258 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10259
10260         * text2.C (LyXText): change order of initilizers to shut off
10261           warnings
10262
10263 2003-02-14  John Levon  <levon@movementarian.org>
10264
10265         * buffer.C: use ParIterator for getParFromID()
10266
10267         * paragraph.h:
10268         * paragraph.C:
10269         * paragraph_pimpl.h:
10270         * paragraph_pimpl.C: remove unused getParFromID()
10271
10272 2003-02-14  John Levon  <levon@movementarian.org>
10273
10274         * buffer.C: remove some very old #if 0'd parse code
10275
10276 2003-02-13  John Levon  <levon@movementarian.org>
10277
10278         * text.h:
10279         * text.C:
10280         * text2.C: move hfillExpansion(), numberOfSeparators(),
10281           rowLast(), rowLastPrintable(), numberofHfills(),
10282           numberOfLabelHfills() ...
10283
10284         * lyxrow.h:
10285         * lyxrow.C: ... to member functions here.
10286
10287         * paragraph.h:
10288         * paragraph.C:
10289         * lyxtext.h:
10290         * text.C: remove LyXText::beginningOfMainBody(), and call
10291           p->beginningOfMainBody() directly. Move the check for
10292           LABEL_MANUAL into the latter.
10293
10294         * text.h:
10295         * text.C:
10296         * text2.C:
10297         * vspace.C:
10298         * BufferView.h:
10299         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10300
10301         * text.h:
10302         * text.C:
10303         * text2.C:
10304         * text3.C:
10305         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10306           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10307
10308 2003-02-13  John Levon  <levon@movementarian.org>
10309
10310         * CutAndPaste.C: remove debug
10311
10312 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10313
10314         * paragraph.C (asString): remove two unused variables
10315
10316         * lyxtextclass.C (readTitleType):
10317           (Read):
10318           (LyXTextClass): handle new members titletype_ and titlename_
10319
10320         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10321
10322 2003-02-09  John Levon  <levon@movementarian.org>
10323
10324         * buffer.h:
10325         * buffer.C: replace hand-coded list with a map for the dep clean
10326
10327 2003-02-08  John Levon  <levon@movementarian.org>
10328
10329         * LaTeX.C: consolidate code into showRunMessage() helper
10330
10331 2003-02-08  John Levon  <levon@movementarian.org>
10332
10333         * lyxfind.C:
10334         * lyxtext.h:
10335         * text2.C:
10336         * BufferView.C: change setSelectionOverString() to setSelectionRange()
10337           and pass the size in explicitly
10338
10339         * BufferView_pimpl.h:
10340         * BufferView_pimpl.C:
10341         * BufferView.h:
10342         * BufferView.C: add getCurrentChange()
10343
10344         * BufferView_pimpl.h:
10345         * BufferView_pimpl.C: handle change lfuns
10346
10347         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10348           for changes. Mark pasted paragraphs as new.
10349
10350         * support/lyxtime.h:
10351         * support/lyxtime.C:
10352         * DepTable.C: abstract time_t as lyx::time_type
10353
10354         * LColor.h:
10355         * LColor.C: add colours for new text, deleted text, changebars
10356
10357         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10358           package use "usenames" option.
10359
10360         * commandtags.h:
10361         * lyxfunc.C:
10362         * LyXAction.C: add change lfuns
10363
10364         * Makefile.am:
10365         * author.h:
10366         * author.C: author handling
10367
10368         * buffer.h:
10369         * buffer.C: add a per-buffer author list, with first entry as
10370           current author. Handle new .lyx tokens for change tracking. Output
10371           author list to .lyx file. Output dvipost stuff to .tex preamble.
10372           Bump lyx format to 222.
10373
10374         * bufferlist.h:
10375         * bufferlist.C: add setCurrentAuthor() to reset current author details
10376           in all buffers.
10377
10378         * bufferparams.h:
10379         * bufferparams.C: add param for tracking
10380
10381         * bufferview_funcs.C: output change info in minibuffer
10382
10383         * Makefile.am:
10384         * changes.h:
10385         * changes.C: add change-tracking structure
10386
10387         * debug.h:
10388         * debug.C: add CHANGES debug flag
10389
10390         * lyxfind.h:
10391         * lyxfind.C: add code for finding the next change piece
10392
10393         * lyxrc.h:
10394         * lyxrc.C: add user_name and user_email
10395
10396         * lyxrow.h:
10397         * lyxrow.C: add a metric for the top of the text line
10398
10399         * lyxtext.h:
10400         * text.C: implement accept/rejectChange()
10401
10402         * lyxtext.h:
10403         * text.C: paint changebars. Paint new/deleted text in the chosen
10404         colours. Strike through deleted text.
10405
10406         * paragraph.h:
10407         * paragraph.C:
10408         * paragraph_pimpl.h:
10409         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10410           in the current change to the insert functions. Rework erase to
10411           mark text as deleted, adding an eraseIntern() and a range-based
10412           erase(). Implement per-paragraph change lookup and
10413           accept/reject.
10414
10415         * paragraph_funcs.C: Fixup paste for change tracking.
10416
10417         * tabular.C: mark added row/columns as new.
10418
10419         * text.C: fix rowLast() to never return -1. Don't allow
10420           spellchecking of deleted text. Track transpose changes. Don't
10421           allow paragraph break or merge where appropriate.
10422
10423         * text2.C: leave cursor at end of selection after a cut.
10424
10425 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10426
10427         * text.C (getLengthMarkerHeight):
10428         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10429         visible on screen too.
10430
10431 2003-02-07  John Levon  <levon@movementarian.org>
10432
10433         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10434
10435 2003-02-05  Angus Leeming  <leeming@lyx.org>
10436
10437         * lyxserver.C (read_ready): revert my patch of 11 September last year
10438         as it sends PC cpu through the roof. Presumably this means that
10439         the lyxserver will no longer run on an Alpha...
10440
10441 2003-01-30  Angus Leeming  <leeming@lyx.org>
10442
10443         * factory.C (createInset): create an InsetCommandParam of type "index"
10444         and use it to 'do the right thing'.
10445
10446         * text2.C (getStringToIndex): ensure that cursor position is always
10447         reset to the reset_cursor position.
10448
10449 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10450
10451         * lyxfunc.C (getStatus): "buffer-export custom" should never be
10452         disabled.
10453
10454 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
10455
10456         * bufferview.C:
10457         * lyxcb.C:
10458         * lyxfunc.C: Output messages with identical spelling, punctuation,
10459         and spaces
10460
10461 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
10462
10463         * MenuBackend.C (expandFormats): List only viewable export formats
10464         in "View" menu
10465
10466         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10467         message
10468
10469         * lyxfunc.C (getStatus): Make sure that formats other than
10470         "fax" can also be disabled
10471
10472 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10473
10474         * text3.C (dispatch): put the lfuns that insert insets in 3
10475         groups, and call doInsertInset with appropriate arguments.
10476         (doInsertInset): new function, that creates an inset and inserts
10477         it according to some boolean parameters.
10478
10479 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
10480
10481         * buffer.C (readFile): remember to pass on 'par' when calling
10482         readFile recursively.
10483
10484 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10485
10486         * MenuBackend.C (expandFormats): add "..." to import formats.
10487
10488 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
10489
10490         * paragraph.C (asString): Remove XForms RTL hacks.
10491
10492 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
10493         * buffer.C: fix typo
10494
10495 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10496
10497         * Makefile.am (LIBS): delete var
10498         (lyx_LDADD): add @LIBS@ here instead.
10499
10500 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
10501
10502         * Clarify the meaning of "wheel mouse jump"
10503
10504 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10505
10506         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10507         tabular in a float
10508
10509 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10510
10511         * importer.C (Loaders): do not preallocate 3 elements in the
10512         vector, since one ends up with 6 elements otherwise
10513
10514 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10515
10516         * DepTable.C (write): write the file name as last element of the
10517         .dep file (because it may contain spaces)
10518         (read): read info in the right order
10519
10520 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10521
10522         * paragraph_pimpl.C (simpleTeXBlanks):
10523         (simpleTeXSpecialChars):
10524         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10525
10526         * tabular.C (latex): add some missing case statements. Reindent.
10527
10528         * MenuBackend.C (expandToc): remove unused variable.
10529
10530 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
10531
10532         * LColor.C:
10533         * LaTeX.C:
10534         * LyXAction.C:
10535         * MenuBackend.C:
10536         * buffer.C:
10537         * exporter.C:
10538         * lyxfunc.C:
10539         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10540         and the like.
10541
10542 2003-01-05  John Levon  <levon@movementarian.org>
10543
10544         * BufferView.h:
10545         * BufferView.C: add getEncoding()
10546
10547         * kbsequence.h:
10548         * kbsequence.C: do not store last keypress
10549
10550         * lyxfunc.h:
10551         * lyxfunc.C: store last keypress here instead. Pass encoding
10552           to getISOEncoded()
10553
10554 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10555
10556         * lyx_main.C (init): remove annoying error message when following
10557         symbolic links (bug #780)
10558
10559 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10560
10561         * text.C (insertChar):
10562         * lyxrc.C (getDescription): remove extra spaces
10563
10564 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10565
10566         * lyxrc.C (getDescription): remove extra spaces
10567
10568 2002-12-20  John Levon  <levon@movementarian.org>
10569
10570         * text3.C: hack fix for page up/down across tall rows
10571
10572 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10573
10574         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10575         not been invoked
10576
10577 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10578
10579         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10580         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10581         thesaurus is not compiled in
10582
10583 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
10584
10585         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
10586
10587 2002-12-16  Angus Leeming  <leeming@lyx.org>
10588
10589         * lyxrc.[Ch]:
10590         * lyx_main.C (init): remove override_x_deadkeys stuff.
10591
10592 2002-12-12  John Levon  <levon@movementarian.org>
10593
10594         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10595           insert. Only remove shift modifier under strict
10596           circumstances.
10597
10598 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
10599
10600         * MenuBackend.C (expandToc): fix crash.
10601
10602 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
10603
10604         * MenuBackend.C (expandToc): gettext on float names.
10605
10606 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
10607
10608         * lyxlength.[Ch]: set default unit to UNIT_NONE,
10609         implement bool empty() [bug 490]
10610
10611 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10612
10613         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10614
10615 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10616
10617         * several files: ws changes
10618
10619 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10620
10621         * text2.C (setCounter): clean up a bit, use boost.format.
10622         (updateCounters): initialize par upon declaration.
10623
10624         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10625         if the layout exists. We do not just store the layout any more.
10626         (SwitchLayoutsBetweenClasses): use boost.format
10627
10628 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10629
10630         * converter.C (convert): if from and to files are the same, use a
10631         temporary files as intermediary
10632
10633 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10634
10635         * commandtags.h:
10636         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10637
10638 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10639
10640         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10641
10642 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
10643
10644         * tabular.C (asciiPrintCell): use string(size, char) instead of
10645         explicit loop.
10646
10647         * sgml.C (openTag): fix order of arguments to string constructor
10648         (closeTag): ditto
10649
10650         * lyxfunc.C (dispatch): use boost.format
10651
10652         * lots of files: change "c" -> 'c'
10653
10654 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10655
10656         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10657
10658 2002-11-25  Angus Leeming  <leeming@lyx.org>
10659
10660         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10661
10662         * lyx_main.C (init): compile fix.
10663
10664 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
10665
10666         * lyx_cb.C (start): boost.formatify
10667         do not include <iostream>
10668
10669         * lengthcommon.C: ws only
10670
10671         * boost-inst.C,BoostFormat.h: add more explict instantations
10672
10673 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
10674
10675         * lots of files: handle USE_BOOST_FORMAT
10676
10677 2002-11-21  John Levon  <levon@movementarian.org>
10678
10679         * pspell.C: fix compile
10680
10681 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10682
10683         * lyxfunc.C (dispatch): use boost::format
10684         (open): ditto
10685         (doImport): ditto
10686
10687         * lyxfont.C (stateText): use boost::format
10688
10689         * lyx_main.C (LyX): use boost::format
10690         (init): ditto
10691         (queryUserLyXDir): ditto
10692         (readRcFile): ditto
10693         (parse_dbg): ditto
10694         (typedef boost::function): use the recommened syntax.
10695
10696         * importer.C (Import): use boost::format
10697
10698         * debug.C (showLevel): use boost::format
10699
10700         * converter.C (view): use boost::format
10701         (convert): ditto
10702         (move): ditto
10703         (scanLog): ditto
10704
10705         * bufferview_funcs.C (currentState): use boost::format
10706
10707         * bufferlist.C (emergencyWrite): use boost::format
10708
10709         * buffer.C (readLyXformat2): use boost::format
10710         (parseSingleLyXformat2Token): ditto
10711
10712         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10713
10714         * LaTeX.C (run): use boost::format
10715
10716         * Chktex.C (scanLogFile): use boost::format
10717
10718         * BufferView_pimpl.C (savePosition): use boost::format
10719         (restorePosition): ditto
10720         (MenuInsertLyXFile): ditto
10721
10722         * BoostFormat.h: help file for explicit instation.
10723
10724 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
10725
10726         * tabular.C (latex): Support for block alignment in fixed width
10727         columns.
10728
10729 2002-11-17  John Levon  <levon@movementarian.org>
10730
10731         * BufferView_pimpl.C:
10732         * lyx_cb.C:
10733         * lyxfunc.C: split filedialog into open/save
10734
10735 2002-11-08  Juergen Vigna  <jug@sad.it>
10736
10737         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10738         by my last patch (hopefully).
10739
10740 2002-11-08  John Levon  <levon@movementarian.org>
10741
10742         * iterators.h:
10743         * iterators.C:
10744         * buffer.h:
10745         * buffer.C:
10746         * paragraph.h:
10747         * paragraph.C:
10748         * toc.h:
10749         * toc.C: ParConstIterator, and use it (from Lars)
10750
10751 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
10752
10753         * lyxtextclass.[Ch]: revise and add doxygen comments
10754
10755 2002-11-07  John Levon  <levon@movementarian.org>
10756
10757         * text.C: fix progress value for spellchecker
10758
10759         * toc.C: fix navigate menu for insetwrap inside minipage
10760
10761         * paragraph_funcs.C: added FIXME for suspect code
10762
10763 2002-11-07  John Levon  <levon@movementarian.org>
10764
10765         * BufferView_pimpl.C: fix redrawing of insets
10766           on buffer switch
10767
10768 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10769
10770         * text2.C (updateCounters): fix bug 668
10771
10772 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
10773
10774         * text3.C (dispatch): Do not make the buffer dirty when moving the
10775         cursor.
10776
10777 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10778
10779         * vc-backend.C: STRCONV
10780         (scanMaster): ditto
10781
10782         * text2.C (setCounter): STRCONV
10783
10784         * paragraph.C (asString): STRCONV
10785
10786         * lyxlength.C (asString): STRCONV
10787         (asLatexString): ditto
10788
10789         * lyxgluelength.C (asString): STRCONV
10790         (asLatexString): ditto
10791
10792         * lyxfunc.C (dispatch): STRCONV
10793         (open): ditto
10794
10795         * lyxfont.C (stateText): STRCONV
10796
10797         * importer.C (Import): STRCONV
10798
10799         * counters.C (labelItem): STRCONV
10800         (numberLabel): ditto
10801         (numberLabel): remove unused ostringstream o
10802
10803         * chset.C: STRCONV
10804         (loadFile): ditto
10805
10806         * bufferview_funcs.C (currentState): STRCONV
10807
10808         * buffer.C (readFile): STRCONV
10809         (asciiParagraph): ditto
10810         (makeLaTeXFile): ditto
10811
10812         * Spacing.C (writeEnvirBegin): STRCONV
10813
10814         * LaTeXFeatures.C (getLanguages): STRCONV
10815         (getPackages): ditto
10816         (getMacros): ditto
10817         (getBabelOptions): ditto
10818         (getTClassPreamble): ditto
10819         (getLyXSGMLEntities): ditto
10820         (getIncludedFiles): ditto
10821
10822         * LaTeX.C: STRCONV
10823         (run): ditto
10824         (scanAuxFile): ditto
10825         (deplog): ditto
10826
10827         * LString.h: add the STRCONV macros
10828
10829         * BufferView_pimpl.C (savePosition): STRCONV
10830         (restorePosition): ditto
10831         (MenuInsertLyXFile): ditto
10832
10833         * vc-backend.C (scanMaster): change from submatch[...] to
10834         submatch.str(...)
10835
10836         * funcrequest.C: include config.h
10837
10838         * factory.C: include config.h
10839
10840         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10841
10842         * box.C: include config.h
10843
10844         * LaTeX.C (scanAuxFile): change from submatch[...] to
10845         submatch.str(...)
10846         (deplog): ditto
10847
10848 2002-10-25  Angus Leeming  <leeming@lyx.org>
10849
10850         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10851
10852         * ispell.[Ch] (setError): new method.
10853         * ispell.C (c-tor): move out child process into new class LaunchIspell.
10854         Use setError() insetead of goto END.
10855
10856         * lyx_cb.C (AutoSave): move out child process into new class
10857         AutoSaveBuffer.
10858
10859 2002-10-30  John Levon  <levon@movementarian.org>
10860
10861         * text3.C: make start appendix undoable
10862
10863 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
10864
10865         * lyxlength.C (inPixels): Fix returned value.
10866
10867         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10868         environment.
10869
10870 2002-10-24  Angus Leeming  <leeming@lyx.org>
10871
10872         * lyxgluelength.h: no need to forward declare BufferParams
10873         or BufferView, so don't.
10874
10875 2002-10-21  John Levon  <levon@movementarian.org>
10876
10877         * BufferView.C: menuUndo ->undo, redo
10878
10879         * BufferView.h: document, remove dead, make some methods private
10880
10881         * paragraph_funcs.h:
10882         * paragraph_funcs.C:
10883         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10884
10885         * buffer.h:
10886         * buffer.C:
10887         * sgml.h:
10888         * sgml.C: move sgml open/close tag into sgml.C
10889
10890         * bufferview_funcs.h: unused prototype
10891
10892         * lyxfunc.h:
10893         * lyxfunc.C: remove unused
10894
10895         * lyxtext.h:
10896         * text.C: remove unused
10897
10898 2002-10-21  John Levon  <levon@movementarian.org>
10899
10900         * BufferView.h:
10901         * BufferView.C:
10902         * BufferView_pimpl.h:
10903         * BufferView_pimpl.C: fix mouse wheel handling based on
10904           patch from Darren Freeman
10905
10906 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
10907
10908         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10909
10910 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
10911
10912         * lyxlength.C (inPixels): Fix hanfling of negative length.
10913         Fix LyXLength::MU case.
10914
10915 2002-10-16  John Levon  <levon@movementarian.org>
10916
10917         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10918
10919 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10920
10921         * converter.C (view): add support for $$i (file name) and $$p
10922         (file path) for the viewer command. If $$i is not specified, then
10923         it is appended to the command (for compatibility with old syntax)
10924
10925 2002-10-14  Juergen Vigna  <jug@sad.it>
10926
10927         * undo_funcs.C (textHandleUndo): alter the order in which the
10928         new undopar is added to the LyXText, as we have to set first
10929         the right prev/next and then add it as otherwise the rebuild of
10930         LyXText is not correct. Also reset the cursor to the right paragraph,
10931         with this IMO we could remove the hack in "redoParagraphs()".
10932
10933 2002-10-09  Angus Leeming  <leeming@lyx.org>
10934
10935         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10936         to turn off an optimisation if a new inset is to be inserted.
10937
10938 2002-10-11 André Pönitz <poenitz@gmx.net>
10939
10940         * lyxtext.h: make some functions public to allow access
10941         from inset/lyxtext for handling LFUN_PRIOR/NEXT
10942
10943 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10944
10945         * text3.C (dispatch): when changing layout, avoid an infinite loop
10946         [bug #652]
10947
10948 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10949
10950         * lyxrc.C (read): treat a viewer or converter command of "none" as
10951         if it were empty.
10952
10953         * MenuBackend.C (expandFormats): for an update, also allow the
10954         formats that are not viewable
10955
10956         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10957         script if it is newer than the lyxrc.defaults in user directory
10958
10959 2002-10-07 André Pönitz <poenitz@gmx.net>
10960
10961         * text.C: Vitaly Lipatov's small i18n fix
10962
10963 2002-09-25  Angus Leeming  <leeming@lyx.org>
10964
10965         * ispell.h: doxygen fix.
10966
10967 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
10968
10969         * buffer.h (readFile): Add a new argument to the method, to allow
10970         reading of old-format templates.
10971
10972 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
10973
10974         * toc.C (getTocList): Get TOC from InsetWrap.
10975
10976 2002-09-16  John Levon  <levon@movementarian.org>
10977
10978         * lyxfunc.C: check tabular for cut/copy too
10979
10980 2002-09-12  John Levon  <levon@movementarian.org>
10981
10982         * LyXAction.C: tidy
10983
10984         * factory.h:
10985         * factory.C: add header
10986
10987         * paragraph_funcs.h:
10988         * paragraph_funcs.C: cleanup
10989
10990 2002-09-11  John Levon  <levon@movementarian.org>
10991
10992         * PrinterParams.h: odd/even default to true
10993
10994 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
10995
10996         * PrinterParams.h: update printer parameters for new xforms dialog
10997
10998 2002-09-11  Angus Leeming  <leeming@lyx.org>
10999
11000         * lyxserver.C (read_ready): re-write to make it more transparent
11001         and to make it work in coherent fashion under Tru64 Unix.
11002
11003 2002-09-11  André Pönitz <poenitz@gmx.net>
11004
11005         * commandtags.h:
11006         * LyXAction.C:
11007         * text3.C: implement LFUN_WORDSEL
11008
11009 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11010
11011         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
11012         make floatlist_ a boost::shared_ptr<FloatList>
11013
11014         * lyxtextclass.C: include FloatList.h
11015         (LyXTextClass): initialize floatlist_
11016         (TextClassTags): add TC_NOFLOAT
11017         (Read): match "nofloat" to TC_NOFLOAT and use it.
11018         (readFloat): modify call to floatlist_
11019         (floats): ditto
11020         (floats): ditto
11021
11022         * FloatList.[Ch] (FloatList): remove commented out float
11023         initialization.
11024         (erase): new function
11025
11026 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11027
11028         * MenuBackend.C (expandToc): fix crash when there is no document
11029         open
11030
11031 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
11032
11033         * many files: Add insetwrap.
11034
11035 2002-09-09  John Levon  <levon@movementarian.org>
11036
11037         * text2.C: remove confusing and awkward depth wraparound
11038
11039 2002-09-09  John Levon  <levon@movementarian.org>
11040
11041         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
11042
11043         * buffer.h:
11044         * buffer.C: remove getIncludeonlyList()
11045
11046         * paragraph.C:
11047         * lyxfunc.C: remove headers
11048
11049 2002-09-09  Juergen Vigna  <jug@sad.it>
11050
11051         * text.C (getColumnNearX): fix form Michael this is most
11052         probably a cut&paste bug.
11053
11054 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
11055
11056         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
11057
11058         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
11059         references, ws changes.
11060
11061         * text2.C (init): update counters after init
11062         (insertParagraph): no need to set counter on idividual paragraphs.
11063         (setCounter): access the counters object in the textclass object
11064         on in the buffer object.
11065         (updateCounters): ditto
11066
11067         * lyxtextclass.C: include counters.h, add variable ctrs_ as
11068         shared_ptr<Counters> to avoid loading counters.h in all
11069         compilation units.
11070         (LyXTextClass): initialize ctrs_
11071         (TextClassTags): add TC_COUNTER, and ...
11072         (Read): use it here.
11073         (CounterTags): new tags
11074         (readCounter): new function
11075         (counters): new funtion
11076         (defaultLayoutName): return a const reference
11077
11078         * counters.C (Counters): remove contructor
11079         (newCounter): remove a couple of unneeded statements.
11080         (newCounter): simplify a bit.
11081         (numberLabel): some small formatting changes.
11082
11083         * buffer.[Ch]: remove all traces of counters, move the Counters
11084         object to the LyXTextClass.
11085
11086 2002-09-06  Alain Castera  <castera@in2p3.fr>
11087
11088         * tabular.C: uses \tabularnewline; uses >{...} construct from array
11089         package to set the horizontal alignment on fixed width columns.
11090
11091         * lyx_sty.C:
11092         * lyx_sty.h: added tabularnewline macro def.
11093
11094         * LaTeXFeatures.C: added NeedTabularnewline macro feature
11095
11096 2002-09-06  John Levon  <levon@movementarian.org>
11097
11098         * LyXAction.C: tooltips for sub/superscript
11099
11100         * MenuBackend.C: a bit more verbose
11101
11102         * lyxfunc.C: tiny clean
11103
11104         * undo_funcs.C: document undo_frozen
11105
11106 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
11107
11108         * counters.C (Counters): add missing algorithm counter.
11109
11110         * text2.C (setCounter): lookup the counter with layouts latexname
11111         instead of by section number.
11112         (setCounter): use a hackish way to lookup the correct enum
11113         counter.
11114         a float name->type change
11115         reset enum couners with counter name directly instead of depth value.
11116
11117         * counters.C (Counters): remove the push_backs, change to use the
11118         float type not the float name.
11119         (labelItem): remove unused string, float name->type change
11120
11121         * counters.h: don't include vector, loose the enums and sects vectors
11122
11123 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
11124
11125         * lyxtextclass.C (TextClassTags): add TC_FLOAT
11126         (Read): add float->TC_FLOAT to textclassTags
11127         (Read): and handle it in the switch
11128         (readFloat): new function
11129
11130         * FloatList.C (FloatList): comment out the hardcoded float
11131         definitions.
11132
11133         * lyxlayout.h: ws change.
11134
11135 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
11136
11137         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
11138
11139 2002-09-03  Angus Leeming  <leeming@lyx.org>
11140
11141         * BufferView_pimpl.h: qualified name is not allowed in member
11142         declaration: WorkArea & Pimpl::workarea() const;
11143
11144         * factory.C: added using std::endl directive.
11145
11146         * text3.C: added using std::find and std::vector directives.
11147
11148 2002-08-29  André Pönitz <poenitz@gmx.net>
11149
11150         * lyxtext.h:
11151         * text2.C: remove unused member number_of_rows
11152
11153         * Makefile.am:
11154         * BufferView2.C: remove file, move contents to...
11155         * BufferView.C: ... here
11156
11157         * BufferView_pimpl.C:
11158         * factory.C: move more inset creation to factory
11159
11160         * vspace.C: avoid direct usage of LyXText, ws changes
11161
11162         * BufferView.[Ch]:
11163                 don't provide direct access to WorkArea, use two simple
11164                 acessors haveSelction() and workHeight() instead
11165
11166
11167 2002-08-29  John Levon  <levon@movementarian.org>
11168
11169         * BufferView_pimpl.C (dispatch): do not continue when
11170           no buffer
11171
11172 2002-08-28  André Pönitz <poenitz@gmx.net>
11173
11174         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
11175
11176         * BufferView.h:
11177         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
11178
11179 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
11180
11181         * buffer.C: increment LYX_FORMAT to 221
11182
11183         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
11184         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
11185
11186         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
11187
11188         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
11189
11190 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11191
11192         * factory.C (createInset): use LyXTextClass::floats
11193
11194         * MenuBackend.C (expandFloatListInsert):
11195         (expandFloatInsert):
11196         (expandToc):
11197
11198         * text2.C (setCounter):
11199
11200         * LaTeXFeatures.C (useFloat):
11201         (getFloatDefinitions):
11202
11203         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
11204
11205         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
11206         floatlist_, with accessor floats().
11207
11208         * FloatList.h: remove global FloatList
11209
11210 2002-08-26  André Pönitz <poenitz@gmx.net>
11211
11212         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
11213
11214         * BufferView.h:
11215         * BufferView2.C:
11216         * BufferView_pimpl.C:
11217         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
11218
11219 2002-08-25  John Levon  <levon@movementarian.org>
11220
11221         * LyXAction.C: fix margin note description
11222
11223 2002-08-24  John Levon  <levon@movementarian.org>
11224
11225         * buffer.C:
11226         * bufferlist.C:
11227         * bufferview_funcs.C:
11228         * lyxfont.C:
11229         * undo_funcs.C: cleanups
11230
11231         * lyxfunc.C: disable CUT/COPY when no selection
11232
11233 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
11234
11235         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11236         in "enum UNIT"; e.g. PTW for Percent of TextWidth
11237
11238         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11239         Add backward compatibility to "mono", "gray" and "no".
11240
11241 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
11242
11243         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11244         (and file_format >= 200).
11245
11246 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11247
11248         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11249
11250 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11251
11252         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11253
11254 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
11255
11256         * BufferView_pimpl.C:
11257         * LyXAction.C:
11258         * buffer.C:
11259         * commandtags.h:
11260         * lyxfunc.C:
11261         * paragraph.[Ch]:
11262         * text2.C:
11263         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11264         inset and code to make it  work with the paragraph code. The inset
11265         can be anywhere in the paragraph, but will only do the expected
11266         thing in LaTeX if the layout file contains the parameter line
11267                         OptionalArgs    1
11268         (or more generally, a nonzero value) for that layout.
11269
11270 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
11271
11272         * paragraph.h: remove the declaration of undefined counters class
11273         function.
11274
11275 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
11276
11277         * text2.C (setCounter):  fixed enumeration mis-count as reported by
11278         Dr. Richard Hawkins.
11279
11280 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11281
11282         * paragraph_funcs.h: remove some unneeded includes
11283
11284         * text.C (backspace): pasteParagraph now in global scipe
11285
11286         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11287         (pasteSelection): ditto
11288
11289         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11290         * paragraph_funcs.C (pasteParagraph): ... here
11291
11292 2002-08-20  André Pönitz <poenitz@gmx.net>
11293
11294         * commandtags.h: new LFUNs for swapping/copying table row/colums
11295
11296         * LyXAction.C:
11297         * lyxfunc.C: support for new lfuns
11298
11299 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
11300
11301         * tabular.C:
11302         * buffer.[Ch]: remove NO_COMPABILITY stuff
11303
11304 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
11305
11306         * boost.C (throw_exception): new file, with helper function for
11307         boost compiled without exceptions.
11308
11309         * paragraph.h:
11310         * lyxlength.C:
11311         * buffer.C:
11312         * ParameterStruct.h:
11313         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11314
11315         * bufferlist.C (emergencyWriteAll): use boost bind
11316
11317         * BufferView_pimpl.C (moveCursorUpdate): remove inline
11318
11319         * text.C: include paragraph_funcs.h
11320         (breakParagraph): breakParagraph is now in global scope
11321
11322         * paragraph_funcs.[Ch]: new files
11323
11324         * paragraph.C (breakParagraph,breakParagraphConservative): move to
11325         global scope
11326
11327         * buffer.C: include paragraph_funcs.h
11328         (insertStringAsLines): breakParagraph is now in global scope
11329
11330         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11331         paragraph_funcs.C
11332
11333         * CutAndPaste.C: include paragraph_funcs.h
11334         (cutSelection): breakParagraphConservative is now in global scope
11335         (pasteSelection): ditto
11336
11337         * buffer.h: declare oprator== and operator!= for
11338         Buffer::inset_iterator
11339
11340         * bufferlist.C (emergencyWrite): don't use fmt(...)
11341
11342         * text3.C: add using std::endl
11343
11344         * BufferView.C (moveCursorUpdate): remove default arg
11345
11346 2002-08-20  André Pönitz <poenitz@gmx.net>
11347
11348         * buffer.[Ch]: move inline functions to .C
11349
11350         * BufferView2.C:
11351         * BufferView_pimpl.C:
11352         * text.C:
11353         * buffer.[Ch]: use improved inset_iterator
11354
11355         * buffer.C:
11356         * paragraph.[Ch]: write one paragraph at a time
11357
11358 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11359
11360         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11361         style if style is not specified.
11362
11363 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11364
11365         * text2.C (setCounter): when searching for right label for a
11366         caption, make sure to recurse to parent insets (so that a caption
11367         in a minipage in a figure float works) (bug #568)
11368
11369 2002-08-20  André Pönitz <poenitz@gmx.net>
11370
11371         * text3.C: new file for LyXText::dispatch() and helpers
11372
11373         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11374
11375         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11376
11377 2002-08-19  André Pönitz <poenitz@gmx.net>
11378
11379         * lyxtext.h:
11380         * text.C: new LyXText::dispatch()
11381
11382         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11383
11384 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
11385
11386         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11387
11388         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11389         Hebrew text.
11390
11391 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11392
11393         * Makefile.am: use $(variables) instead of @substitutions@
11394
11395 2002-08-15  André Pönitz <poenitz@gmx.net>
11396
11397         * lyxfunc.C:
11398         * BufferView_pimpl.C: streamlining mathed <-> outer world
11399         interaction
11400
11401         * commandtags.h:
11402         * LyXAction.C: remove unused LFUN_MATH
11403
11404 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11405
11406         * paragraph.[Ch]: add some NO_NEXT ifdefs.
11407
11408 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11409
11410         * paragraph.C (Paragraph): reformat a bit
11411         (cutIntoMinibuffer): use builtin InsetList function instad of
11412         doing it manually.
11413         (getInset): ditto
11414
11415         * buffer.C: include boost/bind.hpp, add using std::for_each
11416         (writeFileAscii): use ParagraphList iterators
11417         (validate): use for_each for validate traversal of paragraphs
11418         (getBibkeyList): use ParagraphList iterators
11419         (resizeInsets): use for_each to resizeInsetsLyXText for all
11420         paragraphs.
11421         (getParFromID): use ParagraphList iterators
11422
11423         * BufferView2.C (lockInset): use paragraph list and iterators
11424
11425 2002-08-14  John Levon  <levon@movementarian.org>
11426
11427         * lyxserver.C: remove spurious xforms include
11428
11429 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11430
11431         * lyxfunc.C (getStatus): disable math-extern outside of math mode
11432
11433 2002-08-13  André Pönitz <poenitz@gmx.net>
11434
11435         * LyXAction.[Ch]:
11436         * lyxfunc.C: further cleaning
11437
11438 2002-08-13  André Pönitz <poenitz@gmx.net>
11439
11440         * funcrequest.h: new constructor
11441
11442         * funcrequest.C: move stuff here from .h
11443
11444         * Makefile.am:
11445         * BufferView_pimpl.C:
11446         * LyXAction.C:
11447         * toc.C:
11448         * lyxfunc.C: subsequent changes
11449
11450         * lyxfunc.h: new view() member function
11451
11452         * lyxfunc.C: subsequent changes
11453
11454 2002-08-13  Angus Leeming  <leeming@lyx.org>
11455
11456         * BufferView2.C:
11457         * BufferView_pimpl.C:
11458         * buffer.C:
11459         * converter.C:
11460         * importer.C:
11461         * lyxfunc.C:
11462         * lyxvc.C:
11463         * toc.C:
11464         * vc-backend.C:
11465         changes due to the changed LyXView interface that now returns references
11466         to member variables not pointers.
11467
11468 2002-08-13  Angus Leeming  <leeming@lyx.org>
11469
11470         * WordLangTuple (word, lang_code): return references to strings,
11471         not strings.
11472
11473         * BufferView.h:
11474         * SpellBase.h:
11475         * lyxtext.h: forward-declare WordLangTuple.
11476
11477         * BufferView2.C:
11478         * ispell.C:
11479         * pspell.C:
11480         * text.C: #include "WordLangTuple.h".
11481
11482         * lyxtext.h:
11483         * text.C: (selectNextWordToSpellcheck): constify return type.
11484
11485 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
11486
11487         * buffer.C:
11488         * buffer.h:
11489         * lyxtext.h:
11490         * paragraph.C:
11491         * paragraph_pimpl.h:
11492         * text.C:
11493         * text2.C:
11494         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11495         suggested by Angus.
11496         Made updateCounter always count from start of buffer, and removed
11497         second argument (par).
11498         Reverted floats number display to '#'. Perhaps I'll try again when the
11499         code base is sanitized a bit.
11500
11501 2002-08-12  Angus Leeming  <leeming@lyx.org>
11502
11503         * buffer.[Ch] (getLabelList): constify.
11504
11505 2002-08-07  André Pönitz <poenitz@gmx.net>
11506
11507         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11508
11509         * funcrequest.h: extension to keep mouse (x,y) position
11510
11511 2002-08-12  Juergen Vigna  <jug@sad.it>
11512
11513         * BufferView2.C (insertErrors): forbid undo when inserting error
11514         insets.
11515
11516         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11517
11518 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
11519
11520         * ParagraphList.[Ch]: new files
11521
11522         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11523
11524         * BufferView2.C (lockInset): ParagraphList changes
11525         * toc.C: ditto
11526         * text2.C: ditto
11527         * bufferlist.C: ditto
11528         * buffer.h: ditto
11529         * buffer.C: ditto
11530
11531 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11532
11533         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11534         unused class variable counter_,
11535
11536         * paragraph.[Ch] (getFirstCounter): delete unused function
11537
11538         * counters.C: include LAssert.h
11539         (reset): add a new function with no arg, change other version to
11540         not have def. arg and to not allow empty arg.
11541
11542         * text2.C (setCounter): remove empty arg from call to Counters::reset
11543
11544 2002-08-11  John Levon  <levon@movementarian.org>
11545
11546         * Makefile.am: add WordLangTuple.h
11547
11548 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11549
11550         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11551         lyxfunc.C lyxlex_pimpl.C: ws changes only.
11552
11553         * insets/insettext.C: InsetList changes
11554
11555         * graphics/GraphicsSupport.C (operator()): InsetList changes
11556
11557         * toc.C (getTocList): InsetList changes
11558
11559         * paragraph_pimpl.[Ch]: InsetList changes
11560
11561         * paragraph.[Ch]: InsetList changes
11562
11563         * buffer.C (inset_iterator): InsetList changes
11564         (setParagraph): ditto
11565         * buffer.h (inset_iterator): ditto
11566         * iterators.C (operator++): ditto
11567         * iterators.h: ditto
11568
11569         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11570
11571         * InsetList.[Ch]: new files, most InsetList handling moved out of
11572         paragraph.C.
11573
11574         * BufferView2.C (removeAutoInsets): InsetList changes
11575         (lockInset): ditto
11576         (ChangeInsets): ditto
11577
11578 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
11579
11580         * paragraph_pimpl.h (empty): new function
11581
11582         * paragraph.[Ch] (empty): new function
11583
11584         * other files: use the new Paragraph::empty function
11585
11586 2002-08-09  John Levon  <levon@movementarian.org>
11587
11588         * lyxtext.h: remove unused refresh_height
11589
11590 2002-08-09  John Levon  <levon@movementarian.org>
11591
11592         * Makefile.am:
11593         * sgml.h:
11594         * sgml.C:
11595         * buffer.C:
11596         * paragraph.h:
11597         * paragraph.C: move sgml char escaping out of paragraph
11598
11599         * paragraph.h:
11600         * paragraph.C: remove id setter
11601
11602         * buffer.C:
11603         * paragraph.C:
11604         * paragraph_pimpl.C: remove dead tex_code_break_column
11605
11606         * bufferview_funcs.C: small cleanup
11607
11608         * lyxfunc.C: remove dead proto
11609
11610         * lyxtext.h: make some stuff private. Remove some dead stuff.
11611
11612         * lyxgluelength.C: make as[LyX]String() readable
11613
11614 2002-08-08  John Levon  <levon@movementarian.org>
11615
11616         * LyXAction.h:
11617         * LyXAction.C:
11618         * MenuBackend.C:
11619         * ToolbarDefaults.C:
11620         * lyxfunc.C:
11621         * lyxrc.C:
11622         * toc.C: lyxaction cleanup
11623
11624 2002-08-08  John Levon  <levon@movementarian.org>
11625
11626         * BufferView2.C: small cleanup
11627
11628         * lyxfind.h:
11629         * lyxfind.C: move unnecessary header into the .C
11630
11631 2002-08-08  John Levon  <levon@movementarian.org>
11632
11633         * funcrequest.h: just tedious nonsense
11634
11635         * lyx_main.h:
11636         * lyx_main.C: cleanups
11637
11638         * buffer.C:
11639         * vspace.C: remove dead header lyx_main.h
11640
11641 2002-08-07  Angus Leeming  <leeming@lyx.org>
11642
11643         * Paragraph.[Ch]:
11644         * paragraph_pimpl.h:
11645         Forward declare class Counters in paragraph.h by moving the ctrs member
11646         variable into Paragraph::Pimpl.
11647         (counters): new method, returning a reference to pimpl_->ctrs.
11648
11649         * text2.C: ensuing changes.
11650
11651 2002-08-07  John Levon  <levon@movementarian.org>
11652
11653         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11654
11655         * BufferView_pimpl.C: announce X selection on double/triple
11656           click
11657
11658         * lyx_main.C: use correct bool in batch dispatch
11659
11660         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11661
11662 2002-08-07  André Pönitz <poenitz@gmx.net>
11663
11664         * funcrequest.h: new class to wrap a kb_action and its argument
11665
11666         * BufferView.[Ch]:
11667         * BufferView_pimpl[Ch]:
11668         * LaTeX.C:
11669         * LyXAction.[Ch]:
11670         * lyxfunc.[Ch]:
11671         * lyxrc.C: subsequent changes
11672
11673
11674 2002-08-07  John Levon  <levon@movementarian.org>
11675
11676         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11677           document options change.
11678
11679 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
11680
11681         * counters.[Ch]
11682         * text2.C
11683         * paragraph.[Ch]
11684         * makefile.am: move counters functionality over from
11685         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11686
11687 2002-08-06  John Levon  <levon@movementarian.org>
11688
11689         * WordLangTuple.h: new file for word + language code tuple
11690
11691         * SpellBase.h:
11692         * pspell.h:
11693         * pspell.C:
11694         * ispell.h:
11695         * ispell.C:
11696         * lyxtext.h:
11697         * text.C:
11698         * text2.C:
11699         * BufferView.h:
11700         * BufferView2.C: use WordLangTuple
11701
11702         * layout.h:
11703         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11704
11705 2002-08-06  John Levon  <levon@movementarian.org>
11706
11707         * lyx_main.C: fix cmdline batch handling
11708
11709 2002-08-06  André Pönitz <poenitz@gmx.net>
11710
11711         * lyxrc.C: set default for show_banner to true
11712
11713 2002-08-06  John Levon  <levon@movementarian.org>
11714
11715         * pspell.C: fix a crash, and allow new aspell to work
11716
11717 2002-08-06  John Levon  <levon@movementarian.org>
11718
11719         * lyxfunc.C:
11720         * kbmap.C: small cleanup
11721
11722         * vspace.h:
11723         * vspace.C: add const
11724
11725 2002-08-05  John Levon  <levon@movementarian.org>
11726
11727         * LyXAction.C: back to tabular-insert
11728
11729 2002-08-04  John Levon  <levon@movementarian.org>
11730
11731         * BufferView.h:
11732         * BufferView.C: cosmetic change
11733
11734         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11735
11736         * bufferlist.C:
11737         * buffer.h:
11738         * buffer.C:
11739         * lyxcb.h:
11740         * lyxcb.C:
11741         * lyxserver.C:
11742         * lyxvc.C:
11743         * vc-backend.C:
11744         * BufferView2.C: purge all "Lyx" not "LyX" strings
11745
11746         * lyxcursor.h:
11747         * lyxcursor.C: attempt to add some documentation
11748
11749         * lyxfunc.C:
11750         * commandtags.h:
11751         * LyXAction.C:
11752         * ToolbarDefaults.C:
11753         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11754           merge with LFUN_TABULAR_INSERT
11755
11756         * Makefile.am:
11757         * SpellBase.h:
11758         * ispell.h:
11759         * ispell.C:
11760         * pspell.h:
11761         * pspell.C: split up i/pspell implementations into separate
11762           files, many cleanups
11763
11764         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11765
11766         * text2.C: some cleanup
11767
11768         * lyxfunc.C: don't check for isp_command == "none" any more, it
11769           didn't make any sense
11770
11771 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
11772
11773         * counters.[Ch]
11774         * text2.C
11775         * paragraph.[Ch]
11776         * makefile.am: move counters functionality over
11777         from text2.C/paragraph.[Ch] to counters.[Ch], and
11778         make proper C++.
11779 2002-08-02  John Levon  <levon@movementarian.org>
11780
11781         * buffer.C: s/lyxconvert/lyx2lyx/
11782
11783 2002-08-02  Angus Leeming  <leeming@lyx.org>
11784
11785         * lyxlex.C: revert John's change as it breaks reading of the user
11786         preamble.
11787
11788 2002-08-02  Angus Leeming  <leeming@lyx.org>
11789
11790         * importer.C (Import):
11791         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11792         changes due to LyXView::view() now returning a boost::shared_ptr.
11793
11794 2002-08-02  John Levon  <levon@movementarian.org>
11795
11796         * lyxlex.C: small cleanup
11797
11798 2002-08-02  John Levon  <levon@movementarian.org>
11799
11800         * text2.C (status): small cleanup, no logic change
11801
11802 2002-08-01  John Levon  <levon@movementarian.org>
11803
11804         * buffer.h:
11805         * buffer.C (writeFile): don't output alerts, caller
11806           handles this
11807
11808         * bufferlist.C:
11809         * lyx_cb.C: from above
11810
11811         * lyxfunc.C: allow to open non-existent files
11812
11813 2002-07-31  John Levon  <levon@movementarian.org>
11814
11815         * lyxserver.C: don't let incidental errors get
11816           in the way (errno)
11817
11818 2002-07-30  John Levon  <levon@movementarian.org>
11819
11820         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11821
11822 2002-07-30  John Levon  <levon@movementarian.org>
11823
11824         * lyxserver.h:
11825         * lyxserver.C: remove I/O callback too
11826
11827 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11828
11829         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11830         log.
11831
11832 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
11833
11834         * many files: strip,frontStrip -> trim,ltrim,rtrim
11835
11836 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
11837
11838         * PrinterParams.h: remove extern containsOnly, and include
11839         support/lstrings.h instead.
11840
11841         * LaTeX.C (scanAuxFile): modify because of strip changes
11842         (deplog): ditto
11843         * buffer.C (makeLaTeXFile): ditto
11844         * bufferparams.C (writeFile): ditt
11845         * lyxfont.C (stateText): ditto
11846         * lyxserver.C (read_ready): ditto
11847         * vc-backend.C (scanMaster): ditto
11848
11849         * BufferView_pimpl.h: ws changes
11850
11851         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11852
11853 2002-07-26  André Pönitz <poenitz@gmx.net>
11854
11855         * kb_sequence.C: remove unnedred usings
11856
11857 2002-07-26  Juergen Vigna  <jug@sad.it>
11858
11859         * lyxfind.C (LyXReplace): we have to check better if the returned
11860         text is not of theLockingInset()->getLockingInset().
11861
11862 2002-07-25  Juergen Vigna  <jug@sad.it>
11863
11864         * lyxfind.C (LyXReplace): don't replace if we don't get the
11865         right LyXText.
11866
11867         * undo_funcs.C (createUndo): remove debugging code.
11868
11869 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
11870
11871         * buffer.C (parseSingleLyXformat2Token): Use default placement
11872         when reading old floats.
11873
11874         * FloatList.C (FloatList): Change the default placement of figure
11875         and tables to "tbp".
11876
11877 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
11878
11879         * MenuBackend.C: using std::max
11880
11881 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11882
11883         * MenuBackend.C (expandToc):
11884         (expandToc2): code moved from xforms menu frontend. It is now
11885         generic and TOCs are transparent to menu frontends.
11886
11887 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11888
11889         * toc.C (getTocList): protect against buf=0
11890
11891         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11892         Menu as first parameter. Now, this calls itself recursively to
11893         expand a whole tree (this will be useful for TOC handling)
11894         (expandFloatInsert): remove 'wide' version of floats
11895
11896         * MenuBackend.h (submenuname): returns the name of the submenu.
11897         (submenu): returns the submenu itself, provided it has been
11898         created by MenuBackend::expand
11899
11900 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11901
11902         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11903         insets which have noFontChange == true. (bug #172)
11904
11905 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11906
11907         * BufferView_pimpl.C: add connection objects and use them...
11908         (Pimpl): here.
11909
11910 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11911
11912         * MenuBackend.C (expandLastfiles):
11913         (expandDocuments):
11914         (expandFormats):
11915         (expandFloatListInsert):
11916         (expandFloatInsert):
11917         (expand): split expand in parts
11918
11919 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11920
11921         * lyx_gui.C: use lyx_gui::exit()
11922
11923 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11924
11925         * LyXAction.C: show the failing pseudo action
11926
11927 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
11928
11929         * buffer.C (readFile): Run the lyxconvert script in order to read
11930         old files.
11931
11932 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11933
11934         * LyXAction.C:
11935         * commandtags.h:
11936         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11937
11938 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11939
11940         * LyXAction.C:
11941         * commandtags.h:
11942         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11943
11944 2002-07-22  Herbert Voss  <voss@lyx.org>
11945
11946         * lengthcommon.C:
11947         * lyxlength.[Ch]: add support for the vertical lengths
11948
11949 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
11950
11951         * toc.[Ch]: std:: fixes
11952
11953 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11954
11955         * lyxrc.C: do not include lyx_main.h
11956
11957         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11958         for layouts
11959
11960         * lyxrc.C:
11961         * encoding.C:
11962         * bufferlist.C:
11963         * BufferView2.C: include "lyxlex.h"
11964
11965         * tabular.h:
11966         * bufferparams.h: do not #include "lyxlex.h"
11967
11968         * lyxtextclasslist.C (Add): remove method
11969         (classlist): renamed to classlist_
11970
11971         * paragraph_pimpl.C:
11972         * paragraph.C:
11973         * text2.C:
11974         * CutAndPaste.C:
11975         * bufferview_funcs.C:
11976         * bufferlist.C:
11977         * text.C:
11978         * LaTeXFeatures.C:
11979         * buffer.C:
11980         * toc.C (getTocList): use BufferParams::getLyXTextClass
11981
11982         * toc.C (getTocList): use InsetFloat::addToToc
11983
11984         * toc.[Ch]: new files, containing helper functions to handle table
11985         of contents
11986
11987         * lyxfunc.C (dispatch): no need to remove spaces around command
11988         given as a string
11989         (getStatus): handle LFUN_SEQUENCE by returning the status of the
11990         first command of the sequence; it is not very clever, but I do not
11991         have a better idea, actually
11992
11993         * LyXAction.C (LookupFunc): make sure to remove space at the
11994         beginning and end of the command
11995
11996 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11997
11998         * MenuBackend.C (getMenubar): new method: return the menubar of
11999         this menu set
12000         (read): treat differently reading of menu and menubar (in
12001         particular, the menubar has no name now)
12002         (Menu::menubar): remove
12003
12004         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
12005         saving is finished
12006
12007 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
12008
12009         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
12010         a bibitem inset in a RTL paragraph.
12011
12012 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
12013
12014         * paragraph_pimpl.C: constify
12015
12016         * BufferView_pimpl.C:
12017         * LaTeX.C:
12018         * lyxfunc.C: fix dispatch in a nicer way
12019
12020 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12021
12022         * lyxfunc.C (dispatch):
12023         * BufferView_pimpl.C:
12024         * BufferView_pimpl.h:
12025         * BufferView.C:
12026         * BufferView.h: rename Dispatch() to dispatch()
12027
12028         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
12029
12030         * lyxlayout.C (Read): honor DependsOn tag
12031
12032         * lyxlayout.[Ch] (depends_on): new method
12033
12034         * version.C.in: update lyx_docversion
12035
12036         * LaTeXFeatures.C (getMacros): only define \LyX when needed
12037
12038         * paragraph.C (validate): remove from here...
12039         * paragraph_pimpl.C (validate): ... and move here
12040         (isTextAt): make it const
12041
12042         * buffer.C (getLists): ws cleanup
12043
12044 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
12045
12046         * language.C (read): Use iso8859-1 encoding in latex_lang
12047         (this prevents LyX from crashing when using iso10646-1 encoding).
12048
12049 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12050
12051         * text2.C (toggleInset): if cursor is inside an inset, close the
12052         inset and leave cursor _after_ it
12053
12054 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
12055
12056         * lyxfunc.C: move minibuffer completion handling out of here
12057
12058 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
12059
12060         * BufferView_pimpl.C:
12061         * LaTeX.C: fix dispatch calls
12062
12063 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
12064
12065         * text.C (drawChars): Fix Arabic text rendering.
12066
12067 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
12068
12069         * LyXAction.C:
12070         * commandtags.h:
12071         * lyxfunc.C: remove message-push/pop
12072
12073         * lyxserver.C:
12074         * lyxfunc.h:
12075         * lyxfunc.C: rationalise some code by removing verboseDispatch
12076           in favour of a bool argument to dispatch()
12077
12078 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12079
12080         * lyx_main.C (init): make sure to read symlinks as absolute paths
12081
12082 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12083
12084         * lyxfunc.h:
12085         * lyxfunc.C: no need for commandshortcut to be a member
12086
12087 2002-07-15  André Pönitz <poenitz@gmx.net>
12088
12089         * converter.C: add support for $$s (scripts from lib/scripts dir)
12090         * lyx_main.C: white space
12091
12092 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12093
12094         * bufferlist.C:
12095         * lyxrc.h:
12096         * lyxrc.C: remove second exit confirmation
12097
12098 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12099
12100         * BufferView.h:
12101         * BufferView.C:
12102         * BufferView2.C:
12103         * BufferView_pimpl.h:
12104         * BufferView_pimpl.C:
12105         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
12106
12107 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12108
12109         * MenuBackend.C (expand): add numeric shortcuts to document menu
12110
12111         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
12112
12113 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12114
12115         * lyxfont.C (setLyXFamily):
12116         (setLyXSeries):
12117         (setLyXShape):
12118         (setLyXSize):
12119         (setLyXMisc):
12120         (lyxRead):
12121         * debug.C (value):
12122         * buffer.C (asciiParagraph): use ascii_lowercase
12123
12124 2002-07-15  Mike Fabian  <mfabian@suse.de>
12125
12126         * lyxlex_pimpl.C (search_kw):
12127         * lyxlex.C (getLongString):
12128         * converter.h (operator<):
12129         * converter.C (operator<):
12130         * buffer.C (parseSingleLyXformat2Token):
12131         (asciiParagraph):
12132         * ToolbarDefaults.C (read):
12133         * MenuBackend.C (checkShortcuts):
12134         (read):
12135         * LColor.C (getFromGUIName):
12136         (getFromLyXName): use the compare_ascii_no_case instead of
12137         compare_no_case, because in turkish, 'i' is not the lowercase
12138         version of 'I', and thus turkish locale breaks parsing of tags.
12139
12140 2002-07-16  Angus Leeming  <leeming@lyx.org>
12141
12142         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
12143         now takes a Buffer const & argument.
12144
12145 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
12146
12147         * BufferView.C (resize): check there's a buffer to resize
12148
12149 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
12150
12151         * lyxfunc.C: remove dead code
12152
12153         * lyxserver.h:
12154         * lyxserver.C: use lyx_guii::set_read_callback
12155
12156 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12157
12158         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
12159         an inset in a RTL paragraph.
12160
12161 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12162
12163         * lyxfunc.C: repaint after a font size update
12164
12165 2002-07-15  André Pönitz <poenitz@gmx.net>
12166
12167         * lyxlength.C: inBP should be able to return negative values
12168
12169 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12170
12171         * lyxfunc.C: use lyx_gui::update_fonts()
12172
12173 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12174
12175         * lyxfunc.C: use lyx_gui::update_color()
12176
12177 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
12178
12179         * bufferlist.C:
12180         * lyxfunc.h:
12181         * lyxfunc.C:
12182         * lyxrc.h:
12183         * lyxrc.C: remove file->new asks for name option, and let
12184           buffer-new take an argument
12185
12186 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
12187
12188         * BufferView_pimpl.C: remove unneeded extra repaint()
12189
12190 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
12191
12192         * LyXAction.C: allow command-sequence with NoBuffer
12193
12194         * lyxfunc.C: don't insist on trailing ';' for command-sequence
12195
12196 2002-07-10  Angus Leeming  <leeming@lyx.org>
12197
12198         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
12199
12200 2002-07-09  Angus Leeming  <leeming@lyx.org>
12201
12202         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
12203
12204 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12205
12206         * lengthcommon.h: whitespace
12207
12208         * lyxfunc.C: update scrollbar after goto paragraph
12209
12210         * lyxtext.h: factor out page break drawing, and fix it so
12211           page break/added space paints as selected nicely
12212
12213 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12214
12215         * BufferView_pimpl.C: add FIXMEs, clean up a little
12216
12217 2002-07-09  André Pönitz <poenitz@gmx.net>
12218
12219         * lyxfont.[Ch]: support for wasy symbols
12220
12221 2002-07-08  André Pönitz <poenitz@gmx.net>
12222
12223         * BufferView_pimpl.C: apply John's patch for #93.
12224
12225 2002-07-05  Angus Leeming  <leeming@lyx.org>
12226
12227         * BufferView_pimpl.C (buffer): generate previews if desired.
12228
12229         * LColor.h: add "preview" to the color enum.
12230
12231         * LColor.C (LColor): add a corresponding entry to the items array.
12232
12233         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12234         with this buffer.
12235
12236 2002-07-05  Angus Leeming  <leeming@lyx.org>
12237
12238         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12239         The body of the code is now in the method that is passed an ostream &
12240         rather than a file name.
12241         Pass an additional only_preamble parameter, useful for the forthcoming
12242         preview stuff.
12243
12244 2002-07-03  André Pönitz <poenitz@gmx.net>
12245
12246         * lyxfunc.C: simplify getStatus() a bit for math stuff
12247
12248 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12249
12250         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12251
12252 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12253
12254         * text.C (changeRegionCase): do not change case of all the
12255         document when region ends at paragraph end (bug #461)
12256
12257 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12258
12259         * paragraph.C (startTeXParParams):
12260         (endTeXParParams): add \protect when necessary
12261
12262 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12263
12264         * BufferView_pimpl.C (workAreaExpose): remove warning
12265
12266 2002-06-27  Angus Leeming  <leeming@lyx.org>
12267
12268         * Makefile.am: add lyxlayout_ptr_fwd.h.
12269
12270 2002-06-26  André Pönitz <poenitz@gmx.net>
12271
12272         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12273
12274 2002-06-25  Angus Leeming  <leeming@lyx.org>
12275
12276         * lyxfunc.C (dispatch): Comment out the call to
12277         grfx::GCache::changeDisplay. The method no longer exists now that the
12278         pixmap generation part of the graphics loader has been moved into
12279         InsetGraphics.
12280
12281 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12282
12283         * text2.C: layout as layout
12284
12285         * text.C: layout as layout
12286
12287         * tabular.C (OldFormatRead): layout as layout
12288
12289         * paragraph_pimpl.C (TeXDeeper): layout as layout
12290         (realizeFont): layout as layout
12291
12292         * paragraph.C (writeFile): layout as layout
12293         (validate): layout as layout
12294         (getFont): layout as layout
12295         (getLabelFont): layout as layout
12296         (getLayoutFont): layout as layout
12297         (breakParagraph): layout as layout
12298         (stripLeadingSpaces): layout as layout
12299         (getEndLabel): layout as layout
12300         (getMaxDepthAfter): layout as layout
12301         (applyLayout): layout as layout
12302         (TeXOnePar): layout as layout
12303         (simpleTeXOnePar): layout as layout
12304         (TeXEnvironment): layout as layout
12305         (layout): layout as layout
12306         (layout): layout as layout
12307
12308         * lyxtextclass.C (compare_name): new functor to work with
12309         shared_ptr, layout as layout
12310         (Read): layout as layout
12311         (hasLayout): layout as layout
12312         (operator): layout as layout
12313         (delete_layout): layout as layout
12314         (defaultLayout): layout as layout
12315
12316         * lyxlayout_ptr_fwd.h: new file
12317
12318         * lyxlayout.C (Read): layout as layout
12319
12320         * lyx_cb.C (MenuInsertLabel): layout as layout
12321
12322         * bufferlist.C (newFile): layout as layout
12323
12324         * buffer.C (readLyXformat2): layout as layout
12325         (parseSingleLyXformat2Token): layout as layout
12326         (insertStringAsLines): layout as layout
12327         (asciiParagraph): layout as layout
12328         (latexParagraphs): layout as layout
12329         (makeLinuxDocFile): layout as layout
12330         (simpleLinuxDocOnePar): layout as layout
12331         (makeDocBookFile): layout as layout
12332         (simpleDocBookOnePar): layout as layout
12333         (getLists): layout as layout
12334
12335         * LaTeXFeatures.C (getTClassPreamble): layout as layout
12336
12337         * CutAndPaste.C (cutSelection): layout as layout
12338         (pasteSelection): layout as layout
12339         (SwitchLayoutsBetweenClasses): layout as layout
12340
12341         * BufferView_pimpl.C (Dispatch): layout as layout
12342         (smartQuote): layout as layout
12343
12344         * BufferView2.C (unlockInset): layout as layout
12345
12346 2002-06-24  André Pönitz <poenitz@gmx.net>
12347
12348         * lyxfunc.C: fix #487
12349
12350 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12351
12352         * lyxrc.h:
12353         * lyxrc.C:
12354         * lyxfunc.C: remove display_shortcuts, show_banner
12355
12356 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12357
12358         * Buffer_pimpl.C: oops, update on resize
12359
12360 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12361
12362         * buffer.C:
12363         * converter.C:
12364         * exporter.C:
12365         * lyxfunc.C:
12366         * BufferView.h:
12367         * BufferView.C: use repaint()
12368
12369         * BufferView_pimpl.h:
12370         * BufferView_pimpl.C: s/updateScreen()/repaint()/
12371           as it's a clearer description. Remove superfluous
12372           redraws.
12373
12374 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12375
12376         * text.C: fix bug 488. Not ideal, but getting
12377           getWord() to work properly for the insets that
12378           matter is more difficult ...
12379
12380 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12381
12382         * BufferView_pimpl.C:
12383         * LyXAction.C:
12384         * commandtags.h:
12385         * lyxfunc.C: remove the six million index lyxfuncs to just
12386           one, and DTRT (bug 458)
12387
12388 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12389
12390         * BufferView.h:
12391         * BufferView.C:
12392         * BufferView_pimpl.h:
12393         * BufferView_pimpl.C: clean up resize() stuff,
12394           and unnecessary updateScreen()s
12395
12396 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12397
12398         * BufferView.h:
12399         * BufferView.C:
12400         * BufferView_pimpl.h:
12401         * BufferView_pimpl.C:
12402         * lyxfind.h:
12403         * lyxfind.C:
12404         * minibuffer.C: remove focus management of workarea,
12405           not needed. Use screen's greyOut()
12406
12407 2002-06-17  Herbert Voss  <voss@lyx.org>
12408
12409         * converter.C: (convert) do not post a message, when converting
12410         fails, let the calling function decide what to do in this case
12411
12412 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
12413
12414         * lyxfunc.C: tidy up a little
12415
12416 2002-06-16    <alstrup@diku.dk>
12417
12418         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12419         Got rid of FORMS_H_LOCATION include. Now we are
12420         GUII.
12421
12422 2002-06-15  LyX Development team  <lyx@rilke>
12423
12424         * buffer.[Ch] (sgmlOpenTag):
12425         (sgmlCloseTag): Added support for avoiding pernicious mixed
12426         content. Return number of lines written.
12427
12428         (makeLinuxDocFile):
12429         (makeDocBookFile): Fixed calls to sgml*Tag.
12430         Simple white space clean.
12431
12432         (simpleDocBookOnePar): Simple white space clean.
12433
12434         * tabular.[Ch] (docBook): Renamed to docbook and got another
12435         argument to related with the pernicious mixed content.
12436
12437         (docbookRow): Fixed calls for docbook inset method.
12438
12439 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
12440
12441         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12442         so it's X11 independent.
12443
12444         * kb*.[Ch]: ditto.
12445
12446         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12447
12448 2002-06-15  Lyx Development team  <lyx@electronia>
12449
12450         * intl.h: Renamed getTrans to getTransManager.
12451
12452 2002-06-14  Angus Leeming  <leeming@lyx.org>
12453
12454         * Makefile.am: nuke forgotten stl_string_fwd.h.
12455
12456 2002-06-12  Angus Leeming  <leeming@lyx.org>
12457
12458         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12459
12460 2002-06-13  Angus Leeming  <leeming@lyx.org>
12461
12462         * LaTeX.C:
12463         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12464
12465 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
12466
12467         * kbmap.C (getiso): add support for cyrillic and greek
12468
12469 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12470
12471         * BufferView.h:
12472         * BufferView.C:
12473         * BufferView_pimpl.h:
12474         * BufferView_pimpl.C: move bogus scrolling logic
12475           to xforms
12476
12477 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12478
12479         * lyxfunc.C:
12480         * BufferView_pimpl.C: view->resize() change
12481
12482 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12483
12484         * BufferView_pimpl.C: topCursorVisible
12485           prototype change
12486
12487 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12488
12489         * Makefile.am:
12490         * lyx_gui.h:
12491         * lyx_gui.C: move to frontends/
12492
12493         * main.C:
12494         * lyx_main.h:
12495         * lyx_main.C: changes from above
12496
12497 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12498
12499         * intl.C:
12500         * intl.h:
12501         * kbmap.C:
12502         * kbsequence.C:
12503         * lyx_cb.C:
12504         * lyx_main.C: minor tidy
12505
12506 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12507
12508         * BufferView_pimpl.h:
12509         * BufferView_pimpl.C:
12510         * BufferView.h:
12511         * BufferView.C: make painter() const,
12512           remove dead code
12513
12514         * BufferView2.C: use screen() accessor
12515
12516         * lyx_main.h:
12517         * lyx_main.C: some minor cleanup
12518
12519 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12520
12521         * BufferView_pimpl.h:
12522         * BufferView_pimpl.C: remove enter/leaveView,
12523           use workHeight()
12524
12525 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12526
12527         * BufferView.h:
12528         * BufferView.C:
12529         * BufferView2.C:
12530         * BufferView_pimpl.h:
12531         * BufferView_pimpl.C: only construct screen once,
12532           rename
12533
12534         * lyxrc.C: remove pointless comment
12535
12536 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12537
12538         * BufferView.h:
12539         * BufferView.C: remove active() and belowMouse()
12540
12541         * BufferView_pimpl.h:
12542         * BufferView_pimpl.C: use workarea() not workarea_,
12543           and make it use a scoped_ptr instead
12544
12545 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12546
12547         * lyx_gui.C: add debug message on BadWindow
12548
12549 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12550
12551         * sp_spell.C: fdopen is not part of the C++ standard.
12552
12553         * paragraph.C (InsetIterator): use >= instead of ==
12554
12555 2002-06-07  Angus Leeming  <leeming@lyx.org>
12556
12557         Fixes needed to compile with Compaq cxx 6.5.
12558         * BufferView_pimpl.C:
12559         * DepTable.C:
12560         * buffer.C:
12561         * converter.C:
12562         * encoding.C:
12563         * lyx_gui.C:
12564         * lyx_main.C:
12565         * lyxtextclasslist.C:
12566         * minibuffer.C:
12567         * sp_spell.C:
12568         * tabular_funcs.C:
12569         * vc-backend.C:
12570         all c-library variables have been moved into namespace std. Wrap
12571         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12572
12573         * lyxlength.C:
12574         * tabular-old.C:
12575         * tabular.C:
12576         Add a using std::abs declaration.
12577
12578         * kbmap.h (modifier_pair):
12579         * paragraph.h (InsetTable, InsetList):
12580         * lyxfont.h (FontBits):
12581         type definition made public.
12582
12583         * bufferlist.C (emergencyWriteAll): the compiler complains that
12584         there is more than one possible lyx::class_fun template to choose from.
12585         I re-named the void specialisation as lyx::void_class_fun.
12586
12587         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12588
12589         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12590         the compiler is is unable to find tostr in write_attribute.
12591
12592 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12593
12594         * buffer.C (sgmlError): hide #warning
12595
12596 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12597
12598         * xtl/*: get rid of xtl, which is not in use anyway
12599
12600         * LyXAction.C (init):
12601         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12602         were unimplemented xtl experimentation
12603
12604 2002-06-04  André Pönitz <poenitz@gmx.net>
12605
12606         * lyxfunc.C: disable array operation on simple formulae
12607
12608 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
12609
12610         * converter.C: constify a bit
12611
12612 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
12613
12614         * lyx_gui.C: check xforms version correctly
12615
12616 2002-04-30  Herbert Voss  <voss@lyx.org>
12617
12618         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12619         "keep" option
12620
12621 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
12622
12623         * lyxvc.C: fix bug 416 (make sure buffer is saved before
12624           attempt to register it with a VCS)
12625
12626 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12627
12628         * lyx_main.C (init): honor variables LYX_DIR_13x and
12629         LYX_USERDIR_13x
12630
12631 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12632
12633         * buffer.h:
12634         * buffer.C:
12635         * lyx_main.C: fix a crash on bad command line,
12636           and give a useful exit status on error
12637
12638         * lyxfunc.C (doImport): allow -i lyx to work
12639
12640 2002-03-30  André Pönitz <poenitz@gmx.net>
12641
12642         * lyxfunc.C: mathed font changes
12643
12644 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12645
12646         * LaTeX.C:
12647         * importer.h:
12648         * importer.C:
12649         * lyx_sty.h:
12650         * lyx_sty.C:
12651         * lyxlex.C:
12652         * lyxrow.h:
12653         * lyxtext.h:
12654         * paragraph.h:
12655         * paragraph.C:
12656         * texrow.h:
12657         * texrow.C:
12658         * text.C:
12659         * trans_mgr.h: srcdocs, and some minor cleanups
12660
12661 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12662
12663         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12664         call getFont all the time)
12665
12666 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12667
12668         * switch from SigC signals to boost::signals
12669
12670 2002-05-29  André Pönitz <poenitz@gmx.net>
12671
12672         * paragraph_pimpl.C (getChar): don't call size() too often...
12673
12674 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12675
12676         * paragraph_pimpl.C (insertChar): do not try to update tables when
12677         appending (pos == size())
12678
12679         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12680         in order to reduce drastically the number of comparisons needed to
12681         parse a large document
12682
12683 2002-05-29  André Pönitz <poenitz@gmx.net>
12684
12685         * text.C:
12686         * text2.C:
12687         * lyxtextclass.C:
12688         * sp_pspell.h:
12689         * textclasslist.[Ch]:
12690         * sp_ispell.h: whitespace change
12691
12692 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12693
12694         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12695         lyxaction directly now.
12696
12697 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
12698
12699         * trans.C:
12700         * lyxfont.C:
12701         * lyxvc.C: remove unused headers
12702
12703 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12704
12705         * Makefile.am:
12706         * buffer.h:
12707         * undostack.h:
12708         * undostack.C:
12709         * undo_funcs.h:
12710         * undo_funcs.C: some cleanups. Use shared_ptr
12711           and a template for the undo stacks.
12712
12713 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12714
12715         * BufferView_pimpl.h:
12716         * BufferView_pimpl.C:
12717         * kbmap.h:
12718         * kbmap.C:
12719         * kbsequence.h:
12720         * kbsequence.C:
12721         * lyxfunc.h:
12722         * lyxfunc.C:
12723         * text2.C: use key_state/mouse_state
12724
12725 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12726
12727         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12728         and LSubstring
12729
12730         * chset.C: change include order
12731         (loadFile): use boost regex and get rid of LRegex and LSubstring
12732
12733         * Makefile.am (BOOST_LIBS): new variable
12734         (lyx_LDADD): use it
12735
12736         * LaTeX.C: change include order.
12737         (scanAuxFile): use boost regex and get rid of LRegex and
12738         LSubstring
12739         (deplog): ditto
12740
12741 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12742
12743         * ColorHandler.h:
12744         * ColorHandler.C:
12745         * FontInfo.h:
12746         * FontInfo.C: moved to frontends/xforms/
12747
12748         * FontLoader.h:
12749         * FontLoader.C: moved into frontends for GUIIzation
12750
12751         * Makefile.am:
12752         * lyx_gui.C:
12753         * lyxfont.C:
12754         * lyxfunc.C: changes from above
12755
12756 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12757
12758         * LColor.C: remove spurious X include
12759
12760         * BufferView_pimpl.C:
12761         * Makefile.am:
12762         * font.h:
12763         * font.C:
12764         * text.C:
12765         * text2.C: move font metrics to frontends/
12766
12767 2002-05-24  Juergen Vigna  <jug@sad.it>
12768
12769         * undo_funcs.C (textHandleUndo): fix the cursor selection after
12770         setting the undo_cursor.
12771
12772         * ParagraphParameters.h: include local includes first.
12773
12774 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12775
12776         * BufferView_pimpl.C:
12777         * BufferView_pimpl.h:
12778         * Makefile.am:
12779         * WorkArea.h:
12780         * WorkArea.C:
12781         * screen.C: move WorkArea into frontends/
12782
12783         * lyxscreen.h:
12784         * screen.C:
12785         * text.C:
12786         * BufferView.C:
12787         * BufferView2.C: move LyXScreen into frontends/
12788
12789         * lyxlookup.h:
12790         * lyxlookup.C:
12791         * lyx_gui.C: move lyxlookup into frontends/xforms/
12792
12793 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12794
12795         * BufferView2.C:
12796         * BufferView_pimpl.C:
12797         * FontLoader.C:
12798         * LyXView.h:
12799         * LyXView.C:
12800         * Makefile.am:
12801         * WorkArea.C:
12802         * XFormsView.h:
12803         * XFormsView.C:
12804         * buffer.C:
12805         * bufferlist.C:
12806         * bufferview_funcs.C:
12807         * converter.C:
12808         * importer.C:
12809         * lyx_cb.C:
12810         * lyx_gui.C:
12811         * lyx_main.C:
12812         * lyx_find.C:
12813         * lyxfunc.C:
12814         * lyxvc.C:
12815         * minibuffer.C:
12816         * text.C:
12817         * text2.C:
12818         * trans.C:
12819         * vc-backend.C: move LyX/XFormsView into frontends/
12820
12821 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12822
12823         * Makefile.am:
12824         * PainterBase.C:
12825         * PainterBase.h:
12826         * Painter.C:
12827         * Painter.h:
12828         * WorkArea.C:
12829         * WorkArea.h:
12830         * screen.C:
12831         * tabular.C:
12832         * text.C:
12833         * text2.C: move Painter to frontends/
12834
12835 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12836
12837         * buffer.C: comment out some some code that depend upon lyx_format
12838         < 220
12839
12840         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12841         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12842
12843         * buffer.h (NO_COMPABILITY): turn off compability
12844
12845         * ColorHandler.C: include scoped_array.hpp
12846
12847         * font.C: Use more specific smart_ptr header.
12848         * Painter.C: ditto
12849         * gettext.C: ditto
12850         * ShareContainer.h: ditto
12851         * lyx_main.h: ditto
12852         * kbmap.h: ditto
12853         * FontInfo.h: ditto
12854         * BufferView_pimpl.h: ditto
12855         * ColorHandler.h: ditto
12856
12857         * kbmap.C (defkey): change call to shared_ptr::reset
12858
12859 2002-05-21  Juergen Vigna  <jug@sad.it>
12860
12861         * buffer.C (insertErtContents): fix to insert ert asis if it is
12862         non empty. Skip it completely if it contains only whitespaces.
12863
12864 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
12865
12866         * BufferView_pimpl.C:
12867         * BufferView2.C: clear selection on paste (bug 393)
12868
12869 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12870
12871         * DepTable.C: include ctime
12872
12873 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
12874
12875         * buffer.C (latexParagraphs): Add new argument (moving_arg).
12876
12877 2002-05-14  Juergen Vigna  <jug@sad.it>
12878
12879         * text.C (breakParagraph): fixed function to honor the keepempty
12880         layout in the right maner and also to permit the right breaking
12881         algorithm on empty or non empyt keepempty paragraphs.
12882
12883         * paragraph.C (breakParagraph): we have to check also if the par
12884         is really empty (!size()) for isempty otherwise we do the wrong
12885         paragraph break.
12886
12887 2002-05-10  Juergen Vigna  <jug@sad.it>
12888
12889         * buffer.[Ch] : The following are only changes to the ert
12890         compatibility read reading old LaTeX layout and font stuff and
12891         convert it to ERTInsets.
12892
12893         * buffer.h: added isErtInset().
12894
12895         * buffer.C (struct ErtComp): add a fromlayout bool to check
12896         if we're inside a LaTeX layout.
12897         (isErtInset): new helper function.
12898         (insertErtContents): look for other ert insets before this one
12899         and insert the contents there, so that we don't have subsequent
12900         ERT insets with nothing between them. This way we create only one
12901         inset with multiple paragraphs. Also check if we don't insert only
12902         spaces ' ' as they are ignored anyway afterwards in the .tex file
12903         so if we have only spaces we will ignore this latex part in the
12904         new file.
12905         (parseSingleLyXformat2Token \\layout): better compatibility when
12906         reading layout-latex stuff.
12907         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12908         language tag.
12909         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12910         stuff after reading the inset only get the information back from
12911         the stack.
12912
12913 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
12914
12915         * buffer.C (makeLaTeXFile): Put language options after loading babel.
12916
12917         * LaTeXFeatures.C (getBabelOptions): New method.
12918
12919 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12920
12921         * BufferView_pimpl.C (Dispatch): work around missing argument for
12922         'layout'
12923
12924 2002-05-08  Juergen Vigna  <jug@sad.it>
12925
12926         * text.C (leftMargin): handle paragraph leftindent.
12927
12928         * paragraph.C (writeFile): write the new \\leftindent tag.
12929         (validate): handle leftindent code.
12930         (TeXEnvironment): handle paragraphleftindent code again.
12931
12932         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12933
12934         * buffer.C (parseSingleLyXformat2Token): added compatibility code
12935         for paragrap_extra indent code and new token \\leftindent.
12936         (latexParagraphs): handle the leftindent as environment.
12937
12938         * ParameterStruct.h: added leftindent support.
12939
12940         * ParagraphParameters.C (leftIndent): added support functions for
12941         the paragraph left indent.
12942
12943         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12944         more appropriate.
12945
12946 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
12947
12948         * paragraph.C (isRightToLeftPar): Return false for a paragraph
12949         inside insetERT.
12950
12951         * text.C (computeBidiTables): No bidi in insetERT.
12952
12953         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12954         in RTL documents.
12955
12956 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12957
12958         * version.C.in: pre 5
12959
12960 2002-05-02  José Matos  <jamatos@fep.up.pt>
12961         * buffer.C (makeDocBookFile): white space changes, add newline to
12962         command styles.
12963         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12964
12965         * tabular.C (docBook): fix typo.
12966
12967 2002-05-03  Juergen Vigna  <jug@sad.it>
12968
12969         * screen.C (drawFromTo): recalculate the rowpointer if we had a
12970         change in LyXText as we can not be sure it was not freed.
12971         (drawOneRow): remove unused code.
12972
12973         * text.C (drawInset): redo the calculation of the need_break_row as
12974         it could have a row which was already freed.
12975         (draw): look at the return value of drawInset and return false if
12976         it also returned false.
12977         (paintRowText): look at the return value of draw and return false if
12978         it also returned false.
12979
12980         * lyxtext.h: added bool return type to drawInset() and draw() so that
12981         if we have a change in the row so that the rowbreak has to be redone
12982         we abort drawing as it will be called again.
12983
12984 2002-05-02  Juergen Vigna  <jug@sad.it>
12985
12986         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12987         a change in the maintext also if we're inside an inset.
12988         (Dispatch): set the cursor again after a break line and after the
12989         screen has been updated as it could be we're in a different row.
12990
12991         * text2.C (fixCursorAfterDelete): check to make sure we don't request
12992         to set the cursor behind the pargraph with > size().
12993         (setCursor): check also for the same paragraph when checking where
12994         to put the cursor if we have a NFR inset.
12995
12996         * buffer.C (parseSingleLyXformat2Token): move the compatibility
12997         parts of layout read further up as it still was in the wrong
12998         position.
12999
13000 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13001
13002         * screen.C (drawFromTo): change sine fullRebreak always return
13003         true.
13004
13005         * buffer.C (parseSingleLyXformat2Token): reindent some
13006
13007         * BufferView_pimpl.C (update): change since fullRebreak always
13008         return true.
13009         (Dispatch): git rid of the last hardcoded "Standard"s.
13010
13011 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13012
13013         * text2.[Ch] (fullRebreak): make it return void now that we always
13014         returned true.
13015
13016 2002-04-30  Juergen Vigna  <jug@sad.it>
13017
13018         * buffer.C (parseSingleLyXformat2Token): reset the font before the
13019         ert compatibility check for "latex" layout.
13020
13021 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
13022
13023         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
13024         minipages: use col% instead of p%, and also use the current font.
13025         (makeLaTeXFile): Fix use babel condition.
13026         (parseSingleLyXformat2Token): Correct font when reading old floats.
13027
13028 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
13029
13030         * BufferView_pimpl.C (Dispatch): Check that float type exists when
13031         inserting list of floats.
13032
13033 2002-04-25  Herbert Voss  <voss@lyx.org>
13034
13035         * MenuBackend.C (expand): don't add the graphics extensions to the
13036         export menu
13037
13038 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13039
13040         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
13041         non-existing layout, do not complain if it was the default layout
13042         of the original class (bug #342)
13043
13044 2002-04-24  Juergen Vigna  <jug@sad.it>
13045
13046         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
13047         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
13048
13049 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
13050
13051         * buffer.C (getBibkeyList): If using \bibliography, return the
13052         option field with the reference itself. Enables us to provide natbib
13053         support when using \bibliography.
13054
13055 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
13056
13057         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
13058
13059         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
13060         natbib is provided by the LaTeX class.
13061
13062 2002-04-23  Juergen Vigna  <jug@sad.it>
13063
13064         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
13065         Wakeup functions.
13066
13067         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
13068
13069 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13070
13071         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
13072
13073         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
13074         ensuremath around textordmasculine, textordfeminine and
13075         textdegree.
13076
13077 2002-04-19  Juergen Vigna  <jug@sad.it>
13078
13079         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
13080         reinitializing the buffer otherwise row-dimensions may be wrong.
13081         (update): reset also the selection cursors if they do exits otherwise
13082         their x/y positions may be wrong.
13083
13084         * text2.C (cursorDown): don't enter the inset if we came from a row
13085         above and are one row over the inset.
13086
13087         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
13088         really leaving an inset.
13089
13090 2002-04-18  Juergen Vigna  <jug@sad.it>
13091
13092         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
13093         of the selected paragraph does not have the selected layout also if
13094         the last one had!
13095
13096         * text2.C (setLayout): fixed bug which did not change last selected
13097         paragraph.
13098
13099         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
13100         changed the read and substituted \\end_float with \\end_inset!
13101
13102         * BufferView_pimpl.C (cursorPrevious):
13103         (cursorNext): fixed to make it work with rows heigher than the work
13104         area without moving the cursor only the draw of the row.
13105         (workAreaMotionNotify): fix jumping over high rows.
13106
13107 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13108
13109         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
13110         Ressler.
13111
13112 2002-04-16  Juergen Vigna  <jug@sad.it>
13113
13114         * text2.C (setCursor): set also the irow().
13115         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
13116         (cursorUp):
13117         (cursorDown): support for locking an inset if the x_fix value goes
13118         inside it. That way I can transverse insets too with cursor up/down.
13119
13120         * lyxrow.h: added irow helper function same as other (i) functions.
13121
13122         * BufferView_pimpl.C (cursorPrevious):
13123         (cursorNext): fixed for insets!
13124
13125 2002-04-15  Juergen Vigna  <jug@sad.it>
13126
13127         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
13128         position otherwise it is wrong in some cases.
13129
13130         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
13131         inside the inset before the call.
13132
13133 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
13134
13135         * buffer.[Ch] (getBibkeyList): make it const.
13136
13137 2002-04-12  Juergen Vigna  <jug@sad.it>
13138
13139         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
13140
13141         * text2.C (getCursorX): new helper function
13142         (setCursor): compute also ix_
13143         (setCursorFromCoordinates): set also ix.
13144
13145         * lyxcursor.h: added ix_ and helper functions.
13146
13147         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
13148
13149         * buffer.C (insertStringAsLines): dont break paragraph if the this
13150         paragraph is inside an inset which does not permit it!
13151
13152         * text.C (breakParagraph): honor keepempty flag and break the paragraph
13153         also with no chars on this paragraph.
13154         (paintRowText): only paint stuff if it's inside the workarea!
13155
13156         * paragraph.C (breakParagraph): honor keepempty flag and break the
13157         paragraph always below not above.
13158
13159         * BufferView2.C (unlockInset): update the paragraph layout on inset
13160         unlock as we changed paragraph in such a case.
13161
13162         * lyxfind.C (LyXFind): clear the former selection if not found!
13163
13164         * text2.C (insertInset): freeze Undo after setUndo so that it is not
13165         again called in insertChar().
13166
13167         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
13168         an inset which uses the whole row!
13169         (rightMargin): ditto.
13170         (insertChar): force a rebreak if we inserted an inset!
13171
13172 2002-03-28  Herbert Voss  <voss@lyx.org>
13173
13174         * lyxlength.[Ch]: add inBP() to get the right PS-point
13175         units (BigPoint). With inPixels we have rounding errors
13176
13177 2002-04-11  Juergen Vigna  <jug@sad.it>
13178
13179         * text2.C (setCursorFromCoordinates): set iy to the right value.
13180         (setCursor): add check if row->previous exists!
13181
13182         * buffer.C (parseSingleLyXformat2Token): reset font after read of
13183         an old float_type as this was the case in the old code!
13184
13185         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
13186
13187         * BufferView2.C (showLockedInsetCursor): use iy
13188         (fitLockedInsetCursor): ditto
13189
13190         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
13191         locked insets as there we have the right value now.
13192
13193         * lyxcursor.C: added iy_ variable and iy functions to set to the
13194         baseline of cursor-y of the locked inset.
13195
13196         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
13197         (setCursor): fixed for insets which need a full row.
13198
13199         * text.C (rowLastPrintable): don't ignore the last space when before
13200         an inset which needs a full row.
13201         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
13202         as last character of a row when before a inset which needs a full row.
13203
13204 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13205
13206         * version.C.in: update date
13207
13208         * text2.C (fullRebreak): try to always return true and see what
13209         happens...
13210
13211 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13212
13213         * MenuBackend.C (expand): use Floating::listName
13214
13215         * FloatList.C (FloatList): add listName argument to the built-in
13216         floats
13217
13218         * Floating.[Ch]: add listName member, which is the 'List of XXX'
13219         text associated with the float.
13220
13221 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13222
13223         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
13224
13225 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13226
13227         * ShareContainer.h: add a couple of missing typenames.
13228
13229 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
13230
13231         * lyxrc.C (getDescription): use _() correctly rather than N_().
13232
13233 2002-03-28  Herbert Voss  <voss@lyx.org>
13234
13235         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13236         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13237
13238 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13239
13240         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13241         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13242
13243 2002-03-29  Juergen Vigna  <jug@sad.it>
13244
13245         * lyxfunc.C (dispatch): add a missing fitCursor call.
13246
13247         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13248         it was scrolled by a cursor move, so return the bool status.
13249
13250         * BufferView.C (fitCursor): return the bool flag also to the outside
13251         world as this is needed.
13252
13253         * screen.C (toggleToggle): don't subtract the offset if it's positive.
13254
13255         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13256         call the edit() as it is not needed (and wrong) IMO.
13257         (workAreaButtonPress): set the screen_first variable before evt.
13258         unlock the inset as this may change screen_first and then we have
13259         a wrong y position for the click!
13260
13261 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13262
13263         * MenuBackend.C (expand): another translation that I missed
13264
13265 2002-03-28  Juergen Vigna  <jug@sad.it>
13266
13267         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13268
13269         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13270
13271 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13272
13273         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13274
13275         * MenuBackend.C (expand): fix export/view/update when there is no
13276         document open.
13277
13278 2002-03-27  Herbert Voss  <voss@lyx.org>
13279
13280         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13281         and text%
13282
13283 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13284
13285         * bufferview_funcs.C (currentState): only show paragraph number
13286         for is DEVEL_VERSION is set.
13287
13288         * lyxfunc.C (dispatch): put warning in INFO channel
13289
13290         * MenuBackend.C (expand): translate the name of floats
13291
13292         * FloatList.C (FloatList): mark the float names for translation
13293
13294         * converter.C (convert): use LibScriptSearch
13295
13296 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13297
13298         * MenuBackend.C (defaults): fix default menu (we might as well get
13299         rid of it...)
13300
13301 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13302
13303         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13304         directory.
13305
13306 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13307
13308         * lyxvc.C: reorder includes.
13309
13310 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
13311
13312         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13313           properly
13314
13315 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
13316
13317         * CutAndPaste.C: change layouts earlier on paste
13318           to avoid crashing when calling getFont()
13319
13320 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
13321
13322         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13323         irritating #error.
13324
13325 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13326
13327         * WorkArea.C: remove 'Pending' debug message.
13328
13329         * most files: ws cleanup
13330
13331         * buffer.[Ch]: ws changes
13332
13333         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13334
13335 2002-03-21  Juergen Vigna  <jug@sad.it>
13336
13337         * tabular.C (SetMultiColumn): collapse also the contents of the
13338         cells and set the last border right. Added a Buffer const * param.
13339
13340 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13341
13342         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13343         linking or not.
13344
13345 2002-03-19  Juergen Vigna  <jug@sad.it>
13346
13347         * text2.C (clearSelection): reset also xsel_cache.
13348
13349         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13350         where it needs to be called (John tells us to do so too :)
13351         (selectionLost): reset sel_cache.
13352
13353         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13354
13355 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13356
13357         * text2.C (setCursorIntern): put debuging code in INSETS channel
13358
13359 2002-03-19  André Pönitz <poenitz@gmx.net>
13360
13361         * lyxfunc.C: tiny whitespace change
13362
13363 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13364
13365         * ToolbarDefaults.C (init):
13366         * LyXAction.C (init):
13367         * commandtags.h:
13368         * BufferView_pimpl.C (Dispatch):
13369         * lyxfunc.C (dispatch): remove LFUN_DEPTH
13370
13371 2002-03-19  Allan Rae  <rae@lyx.org>
13372
13373         * exporter.C (Export): removeAutoInsets before doing anything else.
13374         While I've just introduced a dependency on BufferView this really is
13375         the best place to clean the buffer otherwise you need to cleanup in
13376         a dozen places before calling export or cleanup in a dozen functions
13377         that export calls.
13378
13379         * converter.C (runLaTeX):
13380         (scanLog): Better handling of removeAutoInsets and screen updates.
13381
13382         * lyxfunc.C (dispatch): small whitespace changes
13383
13384 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13385
13386         * WorkArea.C (C_WorkAreaEvent): return a value.
13387         (event_cb): return 1 if we handled the event, 0 otherwise.
13388
13389         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13390
13391 2002-03-18  Juergen Vigna  <jug@sad.it>
13392
13393         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13394         (GetAdditionalWidth): ditto.
13395         (RightLine): ditto.
13396         (LeftLine): ditto.
13397
13398         * BufferView2.C (copy): use getLyXText() so that we do it inside an
13399         inset if we're there actually (probably not used right now but this
13400         is the direction to go for unifying code).
13401         (paste): disable code to clear the selection.
13402
13403         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13404         inside an InsetText and move the check further up as it is in the
13405         wrong place.
13406
13407         * text2.C (pasteSelection): set a selection over the pasted text.
13408
13409 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
13410
13411         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13412         and libgraphics to build on Cygwin.
13413
13414 2002-03-15  Juergen Vigna  <jug@sad.it>
13415
13416         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13417         inserting an Inset into the paragraph. I know this is not the best
13418         fix but we already use current_view in CutAndPaste so we will remove
13419         all of it's using at the same time.
13420
13421         * buffer.C (sgmlError): deactivated function till it is rewritten in
13422         the right mode, now it can create problems.
13423
13424         * paragraph.C (isLineSeparator): check if getInset returns != 0,
13425         before accessing it.
13426
13427 2002-03-14  Juergen Vigna  <jug@sad.it>
13428
13429         * undo_funcs.C (textHandleUndo): do the right thing when updating
13430         the inset after the undo/redo.
13431
13432         * text2.C (setCursor): just some testcode for #44 not ready yet.
13433
13434         * undo_funcs.C (textHandleUndo): set the next() and previous()
13435         pointers of the paragraph to 0 before deleting otherwise we have
13436         problems with the Paragraph::[destructor].
13437
13438         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13439         on a paragraph insertion.
13440
13441 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13442
13443         * buffer.C (asciiParagraph): use += operator for char append to
13444         string.
13445
13446         * paragraph.C (getFontSettings): compare >= not just >
13447         (highestFontInRange): ditto
13448         (setFont): ditto
13449
13450 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13451
13452         * paragraph.C: change several algorithm to be more appripriate for
13453         the problem domain. This is lookip in FontList and in the InsetList.
13454
13455 2002-03-13  André Pönitz <poenitz@gmx.net>
13456
13457         * commandtags.h:
13458         * LyXAction.C: remove unused LFUN_MATH_MACROARG
13459
13460 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
13461
13462         * commandtags.h:
13463         * LyXAction.C:
13464         * lyxfunc.C:
13465         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13466
13467 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13468
13469         * Painter.C (display): anon helper function, adjust code for this
13470         change.
13471         (pixmap): remove function.
13472
13473         * Painter.h: remove private display variable.
13474
13475         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13476
13477 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
13478
13479         * WorkArea.[Ch]: remove figinset_canvas cruft.
13480
13481 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13482
13483         * lyxtextclass.C (operator): add one item cache optimization.
13484
13485         * bufferlist.h: doxy changes
13486
13487         * bufferlist.C: ws changes
13488
13489         * DepTable.[Ch] (ext_exist): place const in the right spot.
13490
13491         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13492         call resizeInsets.
13493         (workAreaExpose): call resizeInsets when the with BufferView changes.
13494         (Dispatch): adjust for protectedBlank removal
13495         (specialChar): call updateInset if the insert went ok.
13496
13497         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13498         specialChar instead.
13499
13500         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13501
13502         * BufferView.h: doxy change
13503
13504         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13505
13506         * lyxtextclass.C (operator[]): remove non-const version
13507         (defaultLayout): remove non-const version
13508
13509 2002-03-12  Juergen Vigna  <jug@sad.it>
13510
13511         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13512         did resize the LyXText too.
13513
13514         * buffer.C (readLyXformat2): set layout information on newly allocated
13515         paragraphs.
13516
13517         * tabular.C (OldFormatRead): set layout information on the paragraph.
13518
13519 2002-03-12  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13520
13521         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13522
13523 2002-03-11  Juergen Vigna  <jug@sad.it>
13524
13525         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13526         plainly wrong.
13527         (resizeCurrentBuffer): force also the insets to resize themselfes.
13528         (moveCursorUpdate): fixed up for InsetText.
13529
13530 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
13531
13532         * commandtags.h:
13533         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13534         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13535         value of Dialogs::tooltipsEnabled().
13536         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13537
13538 2002-03-08  Juergen Vigna  <jug@sad.it>
13539
13540         * BufferView_pimpl.C (updateInset): update inset inside inset also
13541         if it isn't inside theLockingInset().
13542
13543 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13544
13545         * buffer.C (asciiParagraph): redo some of the word and line length
13546         handling.
13547         (getLists): look for Caption instead of caption.
13548
13549 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13550
13551         * buffer.C (Buffer): initialize niceFile to true
13552         (makeLaTeXFile):
13553         (makeLinuxDocFile):
13554         (makeDocBookFile): make sure niceFile is true on exit
13555
13556 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13557
13558         * buffer.C (makeLaTeXFile): escape ~ in \input@path
13559
13560 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
13561
13562         * LyXSendto.C: remove.
13563         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13564         * lyx_gui.C: remove now-redundant comment.
13565         * ColorHandler.h: remove forward declaration of class WorkArea.
13566         * lyxfunc.C: remove #include "WorkArea.h".
13567
13568 2002-03-07  Juergen Vigna  <jug@sad.it>
13569
13570         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13571         got moved away with the DEPM and also set the inset_owner always
13572         right which before could have been omitted.
13573
13574 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13575
13576         * buffer.C (parseSingleLyXformat2Token): use default layout is the
13577         wanted layout is not found.
13578
13579 2002-03-07  Juergen Vigna  <jug@sad.it>
13580
13581         * CutAndPaste.C (cutSelection): another layout settings forgotten.
13582
13583 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13584
13585         * paragraph.C (breakParagraph): use default layout not layout of
13586         prev paragraph.
13587         (Paragraph): clear ParagraphParameters.
13588
13589 2002-03-06  Juergen Vigna  <jug@sad.it>
13590
13591         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13592         otherwise it would not be a valid lenght. Fixed a special case in
13593         the minipage compatibility read where we end the document with a
13594         minipage.
13595
13596         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13597         was set as it could be 0 for InsetTexts first entry.
13598
13599 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13600
13601         * paragraph.C (writeFile): if layout is empty write out
13602         defaultLayoutName().
13603
13604         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13605         file without named layout we set layout to defaultLayoutName().
13606
13607 2002-03-06  Juergen Vigna  <jug@sad.it>
13608
13609         * CutAndPaste.C (copySelection): set layout for new paragraph.
13610
13611         * text.C (prepareToPrint): leave ERT inset left aligned
13612         (leftMargin): don't indent paragraphs inside ERT insets
13613
13614 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13615
13616         * paragraph.C (breakParagraph): dont call clear do the work manually
13617
13618         * paragraph.[Ch] (clear): remove function
13619
13620 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13621
13622         * paragraph.C (Paragraph): dont call clear, the work has already
13623         been done.
13624
13625         * lyxtextclass.C (operator): assert if n is empty
13626
13627         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13628         work manually instead.
13629
13630 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13631
13632         * BufferView_pimpl.C: protect selectionLost against text == 0
13633
13634 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13635
13636         * text.C (breakParagraph): fix a setting layout to '0' problem.
13637
13638 2002-03-05  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13639
13640         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13641         final location of file, for the included files, and graphics.
13642
13643 2002-03-05  Juergen Vigna  <jug@sad.it>
13644
13645         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13646
13647 2002-03-04  Juergen Vigna  <jug@sad.it>
13648
13649         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13650
13651         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13652         last column of multicolumn cells.
13653         (SetWidthOfMulticolCell): recalculate NMC and real columns.
13654
13655 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
13656
13657         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13658         file if it doesn't go to a temporary file.
13659
13660         * buffer.C (sgmlOpenTag):
13661         (sgmlCloseTag):  remove extra newline insertion.
13662
13663 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13664
13665         * text.C (getRowNearY): comment out debug msg
13666
13667 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13668
13669         * text2.C: first -> first_y
13670
13671         * text.C (getRowNearY): add some attemts at a possible
13672         optimization, not working.
13673
13674         * tabular.[Ch]: add BufferParams to several function so that newly
13675         created paragraph can be initialized to he default layotu for the
13676         buffers textclass.
13677
13678         * tabular-old.C (ReadOld): add buf->params to call of Init
13679
13680         * screen.C: rename text->first to text->first_y
13681
13682         * paragraph.C (breakParagraph): always set layout in the broken
13683         paragraph
13684
13685         * lyxtextclass.C (Read): remove lowercase
13686         (hasLayout): ditto
13687         (operator): ditto
13688         (delete_layout): ditto
13689
13690         * lyxtext.h: rename first -> first_y
13691
13692         * lyxlayout.C (Read): remove lowercase
13693         (name): ditto
13694         (setName): ditto
13695         (obsoleted_by): ditto
13696
13697         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13698
13699         * buffer.C (insertErtContents): add params are to InsetERT
13700         (parseSingleLyXformat2Token): add code to check if a paragraphs
13701         layout really exist.
13702         (parseSingleLyXformat2Token): add params to several inset
13703         constructors
13704         (asciiParagraph): remove lowercase, do the layout comparisons with
13705         no_case
13706
13707         * BufferView_pimpl.C (cursorNext): first -> first_y
13708         (resizeCurrentBuffer): first -> first_y
13709         (updateScrollbar): first -> first_y
13710         (scrollCB): first -> first_y
13711         (workAreaMotionNotify): first -> first_y
13712         (workAreaButtonPress): first -> first_y
13713         (checkInsetHit): first -> first_y
13714         (cursorPrevious): first -> first_y
13715         (cursorNext): first -> first_y
13716         (Dispatch): add buffer_->params to severl inset contructors
13717
13718 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13719
13720         * lyxlayout.C (Read): remove some debug info that I forgot.
13721
13722         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13723         clean up the code slightly.
13724         (makeLinuxDocFile): ditto
13725         (makeDocBookFile): ditto
13726
13727         * text2.C: layout as string
13728
13729         * text.C: layout as string
13730
13731         * paragraph_pimpl.C: layout as string
13732
13733         * paragraph.[Ch]: layout as string
13734
13735         * lyxtextclasslist.[Ch]: layout as string
13736
13737         * lyxtextclass.[Ch]: layout as string
13738
13739         * lyxtext.h: layout as string
13740
13741         * lyxlayout.[Ch]: layout as string
13742
13743         * lyx_cb.C: layout as string
13744
13745         * bufferview_funcs.C: layout as string
13746
13747         * bufferparams.C: layout as string
13748
13749         * buffer.C: layout as string
13750
13751         * LyXView.[Ch]: layout as string
13752
13753         * LaTeXFeatures.[Ch]: layout as string
13754
13755         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13756
13757         * BufferView_pimpl.C: change current_layout to string, remove
13758         lyx::layout_type.
13759         (Dispatch):
13760         (smartQuote):
13761         (insertInset):
13762         (workAreaButtonRelease): layout as string
13763
13764         * BufferView2.C (unlockInset): adjust
13765
13766         * vspace.C (asLatexCommand): use an explict temp variable.
13767
13768 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13769
13770         * Makefile.am: use FRONTEND_*
13771
13772 2002-03-01  Juergen Vigna  <jug@sad.it>
13773
13774         * tabular.C (SetWidthOfMulticolCell): changed to something better
13775         I hope but still work in progress.
13776         (recalculateMulticolumnsOfColumn): renamed function from
13777         recalculateMulticolCells as it is more appropriate now.
13778         (SetWidthOfCell): calculate multicols better.
13779
13780 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13781
13782         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13783
13784         * lyxfunc.C (processKeySym): print sequence also if it is
13785         `deleted' (complete)
13786
13787         * kbsequence.C (print): print sequence even if it is deleted
13788         (complete would be a better word, actually).
13789
13790         * lyxfunc.C (dispatch): print complete options after a prefix key
13791
13792         * vspace.C (asLatexCommand): rewrite in a slightly different form.
13793
13794 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
13795
13796         * text2.C (setCharFont): eliminate setCharFont code duplication.
13797
13798 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13799
13800         * BufferView_pimpl.C (Dispatch): remove bogus handling of
13801         LFUN_TABULAR_FEATURE (bug #177)
13802
13803 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
13804
13805         * Makefile.am: remove figure.h
13806
13807 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
13808
13809         * Bufferview_pimpl.C:
13810         * CutAndPasteC:
13811         * LaTeX.C:
13812         * LyXSendto.C:
13813         * buffer.C:
13814         * bufferlist.C:
13815         * converter.C:
13816         * language.C:
13817         * lyxfunc.C:
13818         * lyxvc.C:
13819         * paragraph.C:
13820         * text.C:
13821         * text2.C: remove #include "lyx_gui_misc.h".
13822
13823         * LaTeX.C: added #include <cstdio>
13824
13825 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13826
13827         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13828         that the paragraph following this one can have.
13829
13830         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13831
13832         * vspace.C (asLatexCommand): fix bogus gcc warning
13833
13834         * Makefile.am (lyx_SOURCES): remove vms_defines.h
13835
13836 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
13837
13838         * text2.C (setLayout): get rid of redundant code
13839
13840 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
13841
13842         * text2.C (incDepth): make sure depth cannot be increased beyond
13843         reasonable values.
13844
13845 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
13846
13847         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13848         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13849
13850         * PainterBase.h (image):
13851         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13852         a LyXImage const *.
13853
13854 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13855
13856         * BufferView.C:
13857         * BufferView.h:
13858         * BufferView_pimpl.C:
13859         * BufferView_pimpl.h:
13860         * LaTeXFeatures.C:
13861         * LyXAction.C:
13862         * LyXView.C:
13863         * Makefile.am:
13864         * UpdateList.h:
13865         * UpdateList.C:
13866         * buffer.C:
13867         * figure.h:
13868         * figureForm.C:
13869         * figureForm.h:
13870         * figure_form.C:
13871         * figure_form.h:
13872         * lyx_cb.C:
13873         * lyx_gui.C:
13874         * lyx_gui_misc.C:
13875         * lyxfunc.C:
13876         * sp_base.h:
13877         * sp_ispell.h:
13878         * sp_pspell.h:
13879         * sp_spell.C: remove fig inset, and the crap house of
13880           cards that follows it
13881
13882 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13883
13884         * Makefile.am:
13885         * lyxserver.C:
13886         * os2_defines.h:
13887         * os2_errortable.h:
13888         * nt_defines.h: move .h into support/
13889
13890         * vms_defines.h: remove
13891
13892         * WorkArea.C: add space in debug output
13893
13894         * text2.C:
13895         * paragraph.C:
13896         * buffer.C: add WITH_WARNINGS
13897
13898         * vc-backend.h:
13899         * vc-backend.C:
13900         * bufferlist.C: s/retrive/retrieve/, add docs
13901
13902         * vspace.h:
13903         * vspace.C:
13904         * kbmap.h:
13905         * lyxlength.h:
13906         * lyxgluelength.h:
13907         * length_common.h:
13908         * chset.h:
13909         * chset.C: add docs
13910
13911         * lyxgui.C: add ID to X error handler
13912
13913         * lyxtestclass.c: fix typo
13914
13915 2002-02-26  Juergen Vigna  <jug@sad.it>
13916
13917         * tabular_funcs.C (write_attribute): changed so that some default
13918         attributes are not written at all.
13919         (getTokenValue): set default values before trying to read the
13920         value so we have the return value always set as default if we don't
13921         find the token we search for.
13922
13923         * tabular.C (Write): write bools as bools not as strings!
13924
13925 2002-02-22  Juergen Vigna  <jug@sad.it>
13926
13927         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13928         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13929
13930         * text.C (leftMargin): don't add an indent for paragraphs inside
13931         tabular cells (fix #208).
13932
13933 2002-02-21  José Matos  <jamatos@fep.up.pt>
13934
13935         * tabular.C (docBook): fixed support for long tables.
13936
13937 2002-02-20  Juergen Vigna  <jug@sad.it>
13938
13939         * text2.C (getFont): get the drawing font of the Inset if this
13940         paragraph is inside an inset (only important for InsetERT for now).
13941
13942         * buffer.C (insertErtContents): use new lanugage params in ERT
13943         constructor.
13944
13945         * CutAndPaste.C: commenting out seemingly uneeded code.
13946
13947 2002-02-19  Allan Rae  <rae@lyx.org>
13948
13949         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13950         Iterators might be simple to use but they also get invalidated.
13951         (removeAutoInsets): renamed saved cursor tracking variables and added
13952         some comments to clarify what everything does.
13953
13954 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
13955
13956         * Chktex.C:
13957         * LaTeX.C:
13958         * LyXSendto.C:
13959         * converter.C:
13960         * lyx_cb.C:
13961         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13962         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13963
13964         * lyxfunc.C:
13965         * vc-backend.h: remove #include "support/syscall.h"
13966
13967         * LaTeX.C:
13968         * LyXSendto.C:
13969         * converter.C: rearrange #includes in Lars' approved fashion.
13970
13971         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13972         forward declare class Timeout in the header file.
13973
13974         * XFormsView.C: changes due to the above.
13975
13976         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13977         similar to LyXView.
13978
13979         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13980         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13981
13982 2002-02-18  José Matos  <jamatos@fep.up.pt>
13983
13984         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13985         insets contents.
13986
13987 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13988
13989         * a lot of small ws changes
13990         * add a lot of using std::XXX
13991         * use std construcs some places where approp.
13992         * use some exisint stuff from lyxfunctional where approp.
13993         * Make file changes to use partial linking (lets test this now...)
13994
13995 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13996
13997         * Chktex.C:
13998         * buffer.C:
13999         remove #include "support/syscontr.h" as it's redundant. Always has been.
14000
14001         * Chktex.C:
14002         * LaTeX.C:
14003         * LyXSendto.C:
14004         * converter.C:
14005         * lyx_cb.C:
14006         * vc-backend.C:
14007         change Systemcalls::System to Systemcalls::Wait and
14008         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
14009         No change of functionality, just reflects the stripped down Systemcalls
14010         class.
14011
14012 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
14013
14014         * debug.[Ch]: add a GRAPHICS type to the enum.
14015
14016 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14017
14018         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
14019
14020         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
14021         there is an inset.
14022
14023 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14024
14025         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
14026         match the changes below.
14027
14028         * text2.C (toggleInset): if there is not editable inset at cursor
14029         position, try to see if cursor is _inside_ a collapsable inset
14030         and close it.
14031
14032 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14033
14034         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
14035         document menu has a nice checkbox
14036
14037 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14038
14039         * lyxlength.C (asLatexString): change PW to output as percent of
14040         \textwidth.
14041
14042         * lengthcommon.C: change '%' to 't%'
14043
14044         * lyxfunc.C (dispatch): a few comments from Martin
14045
14046 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
14047
14048         * WorkArea.h:
14049         * WorkArea.C:
14050         * BufferView_pimpl.h:
14051         * BufferView_pimpl.C: clear our selection when X tells us we've lost
14052           the X selection.
14053
14054 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14055
14056         * vspace.C (inPixels): fix compiler warning
14057
14058 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14059
14060         * lyxfunc.C (getStatus): fix status message for disabled commands.
14061
14062 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
14063
14064         * BufferView_pimpl.C: fix crash on close buffer
14065         during selection (#227)
14066
14067 2002-01-27  Herbert Voss  <voss@lyx.org>
14068
14069         * buffer.C: link old Figure to new graphic inset
14070
14071 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14072
14073         * FontLoader.C (getFontinfo): Change the latex font names in order
14074         to match the names of type1inst.
14075
14076 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14077
14078         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
14079
14080         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
14081         (extchanged): ditto
14082         (ext_exist): ditto
14083         (remove_files_with_extension): ditto
14084         (remove_file): ditto
14085         (write): ditto
14086
14087         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
14088         document is smaller than the work area height. Do not initialize
14089         static variables to 0.
14090
14091 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14092
14093         * lyx_gui.C (init): give the toolbar tooltips a normal font.
14094
14095         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
14096         LFUN_LAYOUT_PARAGRAPHS.
14097
14098         * tabular.C (GetCellFromInset): new method. Finds an inset in a
14099         tabular. It is possible to provide a possible cell, which will
14100         typically be the actcell from the corresponding insettabular
14101
14102         * lyxfunc.C (getStatus): small cleanup; disable
14103         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
14104         true
14105
14106 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14107
14108         * tabular.C (Validate): remove broken optimization (fixes bug #201)
14109
14110         * paragraph.C (startTeXParParams):
14111         (endTeXParParams): new methods. The LaTeX code to
14112         start/end paragraph formatting
14113         (simpleTeXOnePar): call startTeXParParams also when paragraph is
14114         empty (fixes bug #200)
14115
14116         * vspace.C (inPixels): adapt to the change below
14117         (inPixels): [later] more cleanups (remove unused variables)
14118
14119         * lyxlength.C (inPixels): change to use a width and a height as
14120         parameter.
14121
14122 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14123
14124         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
14125         Replaced with \paperwidth
14126
14127         * DepTable.C (insert): add std:: qualifier
14128
14129 2002-01-18  Allan Rae  <rae@lyx.org>
14130
14131         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
14132         updated also?
14133
14134         * text.C (drawInset): Turned out I didn't know enough about how
14135         rebreaking worked.  This fixes most of the redraw problems.  I see
14136         an occasional cursor trail when a line is broken now and the cursor
14137         placement can seem out by a few pixels also after a rebreak.
14138
14139 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14140
14141         * buffer.C (parseSingleLyXformat2Token): update because minipage
14142         width is now a LyXLength
14143
14144         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
14145
14146         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
14147         math insets
14148
14149 2002-01-17  Juergen Vigna  <jug@sad.it>
14150
14151         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
14152
14153         * BufferView2.C (lockInset): call edit() so that theLockingInset()
14154         is set correctly and the inset is updated correctly.
14155
14156 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14157
14158         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
14159         the beginning of the loop.
14160
14161 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
14162
14163         * lyxrc.C: improve help for use_scalable_fonts
14164
14165 2002-01-17  Allan Rae  <rae@lyx.org>
14166
14167         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
14168
14169 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14170
14171         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
14172         make sure to set their inset_owner to the right value (bug #171)
14173
14174 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
14175
14176         * DepTable.h
14177         * DepTable.C: Implement mtime checking to reduce time spent doing
14178         CRCs.
14179
14180 2002-01-16  Juergen Vigna  <jug@sad.it>
14181
14182         * tabular.C (GetAdditionalHeight): one of error fixed.
14183
14184         * lyxrc.C (output): small fix in writing use_pspell.
14185
14186 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
14187
14188         * sp_base.h: #include LString.h
14189
14190 2002-01-16  Allan Rae  <rae@lyx.org>
14191
14192         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
14193         Can someone check this please?
14194
14195         * text.C (drawInset): It was possible that p.row would be removed by
14196         breakAgainOneRow upsetting a few other settings.  There may be another
14197         small tweak possible by setting need_break_row = 0 when p.row has been
14198         removed but I don't know enough about the logic here.
14199
14200 2002-01-15  Allan Rae  <rae@lyx.org>
14201
14202         * text.C (insertChar): removed conditional truism.
14203
14204         * BufferView2.C (removeAutoInsets): More tweaks.
14205         cur_par_prev could be a stray pointer.  Check for trailing empty line
14206         in case last line was cur_par and only had an error inset on it.
14207
14208 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14209
14210         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
14211         absolute
14212
14213         * vc-backend.C (most methods):
14214         * exporter.C (Export):
14215         * converter.C (convert):
14216         (runLaTeX):
14217         * LyXSendto.C (SendtoApplyCB):
14218         * lyxfunc.C (dispatch):
14219         (menuNew):
14220         (open):
14221         (doImport):
14222         * lyx_cb.C (AutoSave):
14223         (InsertAsciiFile):
14224         * BufferView_pimpl.C (MenuInsertLyXFile):
14225         * buffer.C (runChktex): use Buffer::filePath().
14226
14227         * buffer.h: rename filename to filename_; rename filepath to
14228         filepath_ and make it private
14229         (filePath): new method
14230
14231         * buffer.C (writeFile): use fileName()
14232         (getLatexName):
14233
14234         * lyx_main.C (init): fix starting  of LyX when the binary is a
14235         link from so,ewhere else.
14236
14237         * minibuffer.C: include <cctype> for isprint
14238
14239 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14240
14241         * buffer.C (parseSingleLyXformat2Token): changes associated with the
14242         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14243         name clash with InsetCollapsable's width function.
14244
14245 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14246
14247         * lastfiles.C: include <iterator>
14248
14249 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14250
14251         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14252         std::count.
14253
14254         * buffer.C (makeLaTeXFile): ditto.
14255         Also make loop operation more transparent.
14256
14257 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14258
14259         * ToolbarDefaults.C: remove trailing comma closing namespace.
14260
14261         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14262
14263         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14264         as in WorkArea.
14265
14266         * trans.C (Load): comment out unused variable, allowed.
14267
14268 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14269
14270         * minibuffer.[Ch] (append_char): new method to recieve input from the
14271         drop-down completion browser. If a key was pressed, then recieve this
14272         char and append it to the existing string.
14273         (peek_event): modify the positioning data passed to the completion
14274         browser so that it can be placed above the minibuffer rather than below.
14275 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14276
14277         * LyXAction.C (init): alloe error-next for readonly documents.
14278
14279         * BufferView2.C (ChangeRefsIfUnique): use standard version of
14280         count.
14281
14282 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14283
14284         * bufferlist.C (readFile): create the buffer _after_ checking that
14285         the file exists.
14286
14287         * lyxfunc.C (verboseDispatch): fix handling of arguments
14288
14289         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14290
14291         * lyxrc.C: use string::erase() instead of initializing to "".
14292
14293
14294 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14295
14296         * BufferView_pimpl.h:
14297         * BufferView_pimpl.C:
14298         * WorkArea.h:
14299         * WorkArea.C:
14300         * text2.C: tell X when we have made a selection for copying
14301
14302 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14303
14304         * BufferView_pimpl.C (MenuInsertLyXFile):
14305         * lyxfunc.C (menuNew):
14306         (open):
14307         (doImport): add shortcuts to directory buttons
14308
14309         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14310         open a float)
14311
14312         * lyxfunc.C (setStatusMessage):
14313         (getStatusMessage): new methods
14314         (getStatus):use setStatusMessage instead of setErrorMessage
14315         (dispatch): when function is disabled, set error message here
14316         [instead of in getStatus previously]
14317
14318         * BufferView_pimpl.C (workAreaButtonRelease): update
14319         toolbar/menubar here too.
14320
14321 2002-01-13  Allan Rae  <rae@lyx.org>
14322
14323         * BufferView2.C (removeAutoInsets): finished off earlier fix.
14324         Now seems indestructible.  Remaining task is to audit all other
14325         code affected by deleteEmptyParagraphMechanism.  One small quirk
14326         left is that an empty document with an error in the preamble can
14327         be made to report an error but no error box appears.  I don't know
14328         where it goes.
14329         (removeAutoInsets): Improved comments.
14330
14331 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
14332
14333         * Thesaurus.h:
14334         * Thesaurus.C: update for Aiksaurus 0.14
14335
14336 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14337
14338         * text2.C (firstParagraph): removed member function, all uses
14339         replaces with ownerParagraph
14340         (redoParagraphs): here
14341         (updateInset): here
14342         (toggleAppendix): here
14343         * BufferView2.C (insertErrors): here
14344         (setCursorFromRow): here
14345
14346 2002-01-13  Allan Rae  <rae@lyx.org>
14347
14348         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14349         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14350         There is still a way to segfault this although you may have to do this
14351         multiple times: Have an InsetERT with an unknown command in it.
14352         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14353         <down-arrow>, <Enter> again, View->DVI, BANG!
14354
14355         * text2.C (setCursor):
14356         (deleteEmptyParagraphMechanism):
14357         * lyxtext.h (setCursor):
14358         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14359         Making use of the return value may help fix other bugs.
14360
14361 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14362
14363         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14364
14365         * LyXView.C (updateMenubar): call MenuBar::update here
14366         (updateToolbar): but not here
14367         (showState): do not update toolbar/menubar
14368
14369         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14370         should need to care about that.
14371
14372         * lyxfunc.C (verboseDispatch): simplify a bit
14373         (getStatus): have a version which takes a pseudoaction, and
14374         another which requires a (kb_action,string).
14375
14376         * LyXAction.C (retrieveActionArg): make it work also when action
14377         is not a pseudo-action.
14378         (getActionName): simplify a bit
14379         (helpText):
14380
14381 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14382
14383         * lyxfunc.C (verboseDispatch): new families of methods with
14384         several ways to specify a command and a bool to indicate whether
14385         the command name and shortcut should be displayed in minibuffer
14386         (eventually, we could extend that to a finer bitmask like
14387         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14388         (dispatch): the pristine dispatch command which just, well,
14389         dispatchs! Note it still sets its result to minibuffer; I'm not
14390         sure we want that.
14391
14392         * lyxfunc.h: remove setHintMessage
14393
14394         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14395
14396 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14397
14398         * BufferView_pimpl.C (specialChar): delete new inset if we have
14399         not been able to insert it.
14400
14401         * kbmap.C: revert to using int instead of kb_action, since all we
14402         are dealing with is pseudo-actions.
14403
14404         * LyXAction.C (searchActionArg): change to return int instead of
14405         kb_action, since the result is a pseudoaction.
14406
14407 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
14408
14409         * buffer.C (insertErtContents): Fix (partially) the font bug.
14410
14411 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14412
14413         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14414         as the other one is broken on my machine!
14415
14416 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
14417
14418         * commandtags.h:
14419         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14420
14421 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
14422
14423         * lyxrc.[Ch]: change names and descriptions of popup font variables to
14424         reflect their actual use. Provide compatibility code for older lyxrc
14425         files.
14426
14427         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14428         FL_NORMAL_STYLE.
14429         change names of popup font variables in line with the changes to lyxrc.C
14430
14431 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14432
14433         * buffer.C (asciiParagraph): avoid outputing a word twice after
14434         an inset.
14435
14436         * lyxrc.C (getDescription): document that document_path and
14437         template_path can be empty.
14438
14439 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14440
14441         * LaTeXFeatures.C (getMacros):
14442         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14443
14444         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14445
14446         * LaTeXFeatures.C (useFloat): require "float" here instead of in
14447         getPackages.
14448         (getPackages): rename feature "floats" to "float". Use an array to
14449         iterate over 'simple' features (i.e. just a \usepackage). Add
14450         handling of "amsmath" (renamed from "amsstyle").
14451
14452 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
14453
14454         * LaTeXFeatures.C (require): Prevent duplicate entries in the
14455         features list.
14456
14457 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
14458
14459         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14460         FuncStaus::FuncStatus & FuncStaus::some_method().
14461
14462 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
14463
14464         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14465         of the func_satus stuff. Edited and massaged in various ways by
14466         JMarc.
14467
14468         * lyxfunc.C (getStatus): use FuncStatus
14469
14470 2002-01-08  Juergen Vigna  <jug@sad.it>
14471
14472         * text.C (nextBreakPoint): use function Inset::isChar().
14473
14474         * paragraph.C (TeXOnePar): use function
14475         Inset::forceDefaultParagraphs.
14476
14477         * buffer.C (latexParagraphs): use function
14478         Inset::forceDefaultParagraphs.
14479
14480 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14481
14482         * lyx_gui.C (init): set the style of the menu popups to
14483         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14484
14485 2002-01-07  Juergen Vigna  <jug@sad.it>
14486
14487         * text.C (setHeightOfRow): small fix
14488         (prepareToPrint): don't look at alignment if we don't have the place
14489         for doing it.
14490
14491 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14492
14493         * box.C: New file. Move the Box methods and functions out of box.h,
14494         following Lars' suggestion.
14495
14496 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14497
14498         * box.h: #include "support/LOstream.h", needed for inlined function.
14499
14500         * lyxtextclass.C:
14501         * lyxtextclasslist.C: added some using std declarations.
14502
14503 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
14504
14505         * box.h: make signed dimensions to allow insets wider than
14506           the screen (bug #162)
14507
14508         * BufferView_pimpl.C: add some insetHit debug
14509
14510 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
14511
14512         * vc-backend.C: add FIXME
14513
14514 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14515
14516         * lyxfunc.C (getStatus): enable code for showing math font status
14517         in toolbar/menu.
14518
14519 2002-01-07  Juergen Vigna  <jug@sad.it>
14520
14521         * text.C (nextBreakPoint): removed debug output not needed anymore.
14522
14523 2002-01-06  Juergen Vigna  <jug@sad.it>
14524
14525         * text.C (nextBreakPoint): fixed up this function we had this bug
14526         since ever but now hopefully we break row better.
14527         (insertChar): we have to check if an inset is the next char as it
14528         could now happen that a large inset is causing a break.
14529
14530 2002-01-05  Juergen Vigna  <jug@sad.it>
14531
14532         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14533         if it doesn't like to be drawed.
14534
14535 2002-01-04  Juergen Vigna  <jug@sad.it>
14536
14537         * BufferView2.C (lockInset): forgot to set a cursor.
14538
14539         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14540
14541 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
14542
14543         * FormMathsPanel.C:
14544         * FormMathsPanel.h
14545         * MathsSymbols.C:
14546         * form_maths_panel.C:
14547         * form_maths_panel.h:
14548         * form_maths_panel.fd: implemented sub- and super- buttons in math
14549         panel.
14550
14551         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14552         (or ^ space) to be used as in TeX (req'd by Andr�.
14553
14554         * lyxfunc.C: Allow ^ and _ again to be used both as
14555         super/subscript (mathed) and as themselves (in text).
14556
14557 2002-01-03  Allan Rae  <rae@lyx.org>
14558
14559         * LyXView.C (updateWindowTitle): Setup a short icon title of either
14560         "LyX" or the filename of the current buffer if it has one.  This is a
14561         modified form of John Levon's patch.
14562
14563         * XFormsView.C (setWindowTitle): also set icon title.
14564
14565         * LyXView.h (setWindowTitle): signature changed.
14566         * XFormsView.h (setWindowTitle): ditto.
14567
14568 2002-01-02  Juergen Vigna  <jug@sad.it>
14569
14570         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14571
14572 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14573
14574         * screen.C (topCursorVisible): introduce a temp var for
14575         text->cursor.row(), handle the case where this row is null. (kindo
14576         hachish)
14577
14578         * text2.C (setCursor): add a couple of asserts.
14579
14580         * paragraph.h (inset_iterator): add -> operator
14581
14582         * paragraph.[Ch] (autoDeleteInsets): remove member function
14583
14584         * BufferView2.C (removeAutoInsets): rewrite to handle the old
14585         cursor pos correctly and handle inset deletion by itself.
14586         (insertErrors): move iterator declaration out of for expression
14587
14588         * lyxtextclass.C: add <algorithm>
14589
14590         * Makefile.am: added the new files to sources, removed layout.C
14591
14592         * layout.C: removed file
14593
14594         * layout.h: remove LYX_DUMMY_LAYOUT
14595
14596         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14597         layout.
14598
14599         * lyxlayout.[Ch]:
14600         * lyxtextclass.[Ch]:
14601         * lyxtextclasslist.[Ch]: new files
14602
14603         * include order changes to a lot of files, also changes because of
14604         the six new files.
14605
14606 2001-12-27  Juergen Vigna  <jug@sad.it>
14607
14608         * buffer.C (asciiParagraph): more fixes.
14609
14610         * tabular.C (ascii): make ascii export support export of only the
14611         data separated by a column-delimiter.
14612         (ascii): better support for ascii export.
14613
14614         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14615
14616 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14617
14618         * tabular_funcs.C: use a "using std::getline" instead of the
14619         previous fix from Angus (necessary for cxx + lyxstring)
14620
14621 2001-12-24  Juergen Vigna  <jug@sad.it>
14622
14623         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14624
14625         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14626         problems. First check a minipage also if we have some ert-contents
14627         (not only on par->size(), second set the right depth of the paragraph
14628         on the relink to the root-paragraph-list!
14629
14630         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14631         which then did not anymore update the main paragraphs on undo/redo!
14632
14633 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14634
14635         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14636         code. Support all font-changing funcs (even those which are not in
14637         menu currently). Support for reporting font settings in
14638         mathed (disabled until Andre provides a function on mathed's side).
14639
14640         * func_status.h (toggle): small helper function to set toggle
14641         state on a flag.
14642
14643 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
14644
14645         * tabular_funcs.C: getline -> std::getline
14646
14647 2001-12-21  Juergen Vigna  <jug@sad.it>
14648
14649         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14650         accessed and could be 0 (I couldn't generate this but it seems
14651         Michael could!).
14652
14653 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14654
14655         * tabular_funcs.C: add LIstream.h, move write_attribute to..
14656         * tabular_funcs.h: here and include iosfwd
14657
14658 2001-12-20  Juergen Vigna  <jug@sad.it>
14659
14660         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14661         inside inset but undo_par was.
14662
14663 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14664
14665         * Thesaurus.C: always include <config.h> in sources.
14666
14667         * Painter.h:
14668         * lyxlookup.h:
14669         * box.h: do not include <config.h> in header files
14670
14671         * text.C (paintLastRow): remove unused variable
14672
14673         * text.C (transformChar):
14674         (insertChar):
14675         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14676
14677         * Painter.C (text):
14678         * font.C (width): rewrite to use uppercase() instead of
14679         islower/toupper.
14680
14681         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14682
14683 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
14684
14685         * lyxfind.C: clean up of find failure position change
14686
14687 2001-12-20  Juergen Vigna  <jug@sad.it>
14688
14689         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14690
14691         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14692         (TeXRow): added to LaTeX a single tabular row.
14693         (TeXLongtableHeaderFooter): added to output LT-h/f data.
14694         (Latex): simplified and finally good LT-h/f support.
14695         (various_functions): just small adaptions for LT-h/f support.
14696
14697         * tabular_funcs.[hC]: added and moved here all not classfunctions
14698         of LyXTabular.
14699
14700 2001-12-19  Juergen Vigna  <jug@sad.it>
14701
14702         * tabular.[Ch]: better support for longtabular options (not finished
14703         yet!)
14704
14705 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14706
14707         * text.C (paintLastRow): use the label font instead of the font of
14708         the last character to compute the size of *_BOX. This makes more
14709         sense and avoids a crash with empty paragraphs.
14710         Use Painter::rectangle to draw EMPTY_BOX.
14711
14712 2001-12-19  Juergen Vigna  <jug@sad.it>
14713
14714         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14715         the paragraphs if the replaced paragraph is not the first one!
14716         Tried to delete not used paragraphs but does not work yet so for
14717         now it's inside #ifdef's and by default off!
14718
14719 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14720
14721         * MenuBackend.C: include "lyx_main.h" instead of declaring
14722         lastfiles (actually was declared as LastFiles* instead of a
14723         scoped_ptr).
14724
14725 2001-12-17  Juergen Vigna  <jug@sad.it>
14726
14727         * tabular.C (AppendColumn): applied John's fix
14728
14729 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
14730
14731         * BufferView.h:
14732         * BufferView.C:
14733         * BufferView_pimpl.h:
14734         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14735
14736         * Makefile.am:
14737         * box.h: new start of class for above
14738
14739         * lyxfunc.C: ignore space-only minibuffer dispatches.
14740           Show the command name when it doesn't exist
14741
14742         * minibuffer.C: don't add empty lines to the history
14743
14744         * minibuffer.C: add a space on dropdown completion
14745
14746 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
14747
14748         * text.C: fix line above/below drawing in insets
14749
14750 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14751
14752         * lyxlength.C (LyXLength): Initialize private variables.
14753
14754 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
14755
14756         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14757         when inserting error insets.
14758
14759 2001-12-13  Juergen Vigna  <jug@sad.it>
14760
14761         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14762         actually sometimes the before-paragraph.
14763         (setUndo): don't clear the redostack if we're not actually undoing!
14764
14765 2001-12-06  Juergen Vigna  <jug@sad.it>
14766
14767         * undo_funcs.C (textHandleUndo): well after John's hint I got here
14768         and fixed redoing of main paragraph, so we can use it now ;)
14769
14770         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14771
14772 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14773
14774         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14775         Juergen's request
14776
14777 2001-12-13  André Pönitz <poenitz@gmx.net>
14778
14779         * undostack.[Ch]:
14780         * undo_func.C: minor cleanup
14781
14782 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14783
14784         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14785         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14786         font in urw-fonts package which is marked as -urw-fontspecific and
14787         does not work (incidentally, changing the encoding in the
14788         fonts.dir of this package to -adobe-fontspecific fixes the
14789         problem).
14790
14791         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14792         is a crash when undoing first paragraph (Juergen, please take a
14793         look). THis does not mean the undo fix is wrong, just that it
14794         uncovers problems.
14795
14796         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14797         the (Paragraph*) version when needed instead of duplicating the
14798         code.
14799
14800         * text.C (workWidth): use Inset::parOwner to find out where the
14801         inset has been inserted. This is a huge performance gain for large
14802         documents with lots of insets. If Inset::parOwner is not set, fall
14803         back on the brute force method
14804
14805         * paragraph_pimpl.C (insertInset):
14806         * paragraph.C (Paragraph):
14807         (cutIntoMinibuffer): set parOwner of insets when
14808         inserting/removing them
14809
14810         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14811
14812 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
14813
14814         * commandtags.h:
14815         * LyXAction.C:
14816         * lyx_main.C:
14817         * lyxfunc.C:
14818         * mathed/formulabase.C:
14819         * mathed/math_cursor.[Ch]:
14820         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14821
14822
14823 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14824
14825         * lyxlength.[Ch] (operator!=): new function
14826
14827 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14828
14829         * text.C (workWidth): use Inset::parOwner to find out where the
14830         inset has been inserted. This is a huge performance gain for large
14831         documents with lots of insets. If Inset::parOwner is not set, fall
14832         back on the brute force method
14833
14834         * paragraph_pimpl.C (insertInset):
14835         * paragraph.C (Paragraph):
14836         (cutIntoMinibuffer): set parOwner of insets when
14837         inserting/removing them
14838
14839         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14840
14841 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14842
14843         * tabular-old.C (getTokenValue):
14844         * tabular.C (getTokenValue):
14845         (write_attribute): new versions for LyXLength
14846         (everywhere): adjust the use of widths
14847
14848         * tabular.h: change the type of widths from string to LyXLength
14849
14850 2001-12-11  Ben Stanley <bds02@uow.edu.au>
14851
14852         * paragraph.C: fixed missing line number count when exporting
14853         Environments to LaTeX file
14854
14855         * buffer.C: added informational message for checking line numbers.
14856
14857 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14858
14859         * text2.C (deleteEmptyParagraphMechanism): if there is only one
14860         paragraph, do the 'double space' part, but not the 'empty
14861         paragraph' one.
14862
14863         * text.C (workWidth): small optimization
14864         (getLengthMarkerHeight): use minimal size for negative lengths.
14865
14866 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
14867
14868         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14869
14870         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14871
14872 2001-12-11  André Pönitz <poenitz@gmx.net>
14873
14874         * FontLoader.C:
14875         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14876
14877 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14878
14879         * text2.C: keep selection on a setFont()
14880
14881 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14882
14883         * lyx_cb.C: another bv->text misuse, from insert label
14884
14885 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14886
14887         * kbsequence.h:
14888         * kbsequence.C: re-instate nmodifier mask
14889
14890 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
14891
14892         * lyx_main.h: make lyxGUI private.
14893
14894 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14895
14896         * lyxfind.C: place the cursor correctly on failed search
14897
14898 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14899
14900         * text.C (getLengthMarkerHeight): for small heights, the arrows
14901         are not always on top/bottom of the text
14902         (drawLengthMarker): smaller arrows; take the left margin in
14903         account; draw also vfills.
14904         (paintFirstRow):
14905         (paintLastRow): remove special code for vfill and standard spaces,
14906         since everything is handled in drawLengthMarker now.
14907
14908 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14909
14910         * buffer.C (insertErtContents): try to handle font and language
14911         interaction a bit better.g
14912
14913         * ColorHandler.C (updateColor): change the hash to cover the whole
14914         LColor enum, ws cleanup
14915         (getGCLinepars): ditto
14916         (getGCLinepars): only lookup in the linecache once.
14917
14918 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
14919
14920         * iterators.C (operator++): Make the iterator more robust
14921
14922         * BufferView2.C (removeAutoInsets): Use paragraph iterators
14923         (John's patch)
14924         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14925
14926 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14927
14928         * lyxtext.h:
14929         * text.C: better added space drawing
14930
14931 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14932
14933         * LyXView.C:
14934         * BufferView2.C: fix layout combo update on inset unlock
14935
14936 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14937
14938         * Makefile.am: don't compile unused files
14939
14940 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14941
14942         * lyxfunc.C:
14943         * commandtags.h:
14944         * LyXAction.C: remove old LFUN_LAYOUTNO
14945
14946 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14947
14948         * paragraph_pimpl.h:
14949         * paragraph_pimpl.C: isTextAt() doesn't need font param
14950
14951 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14952
14953         * lyxlex.h:
14954         * lyxlex.C: little cleanup
14955
14956 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14957
14958         * BufferView_pimpl.C: fix insertAscii for insets
14959
14960 2001-12-05  Juergen Vigna  <jug@sad.it>
14961
14962         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14963         set the right font on the "multi" paragraph paste!
14964
14965 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14966
14967         * trans_decl.h:
14968         * trans_mgr.[Ch]:
14969         * trans.[Ch]:
14970         * lyxgluelength.C:
14971         * lyxlength.C: remove out-commented code.
14972
14973         * BufferView_pimpl:
14974         * CutAndPaste.C:
14975         * DepTable.C:
14976         * buffer.C:
14977         * chset.C:
14978         * lastfiles.C:
14979         * lyxlex.C:
14980         * lyxlex_pimpl.C:
14981         * lyxserver.C:
14982         * screen.C:
14983         * tabular-old.C:
14984         * tabular.C:
14985         * text.C:
14986         * trans_mgr.C:
14987         * vc-backend.C: change "while(" to "while ("
14988
14989         * lyxlength.[Ch]: add zero function to check if length is zero or
14990         not
14991         * lyxgluelength.C: use it
14992
14993 2001-12-05  Allan Rae  <rae@lyx.org>
14994
14995         * lyxlength.C: Attempted a fix for the abs(int) header selection.
14996         Works for 2.95.3, from what I understand of Garst's reports this should
14997         work for other g++ versions.  We're screwed if the abs(int) definition
14998         changed between bugfix releases of gcc.
14999
15000 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
15001
15002         * text.C: fix chapter label offset !
15003
15004 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
15005
15006         * lyxtext.h:
15007         * text.C: fix hfill at end of line, clean up
15008
15009 2001-12-04  Juergen Vigna  <jug@sad.it>
15010
15011         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
15012         that we force an update of the inset and it's owners if neccessary.
15013
15014 2001-12-03  Juergen Vigna  <jug@sad.it>
15015
15016         * text.C (rowLast): simplified code
15017
15018 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
15019
15020         * lyxfunc.C: fix show options on timeout
15021
15022 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15023
15024         * screen.C (topCursorVisible): scroll half a page when the cursor
15025         reached top of bottom of screen
15026
15027 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
15028
15029         * minibuffer.C: deactivate on loss of focus
15030
15031 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15032
15033         * vspace.[Ch] (operator!=): add operator.
15034
15035 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
15036
15037         * BufferView_pimpl.C: refuse to open an inset when
15038         there's a selection.
15039
15040 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
15041
15042         * BufferView_pimpl.C: allow to click on RHS of full row insets
15043
15044 2001-11-30  Juergen Vigna  <jug@sad.it>
15045
15046         * tabular.C (LyXTabular): add a same_id to set the same id's in the
15047         insets for undo reasons.
15048
15049 2001-11-28  André Pönitz <poenitz@gmx.net>
15050
15051         * vspace.[Ch]: cosmetical changes
15052
15053 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15054
15055         * LyXAction.h:
15056         * LyXAction.C:
15057         * lyxfunc.h:
15058         * lyxfunc.C:
15059         * kbmap.h:
15060         * kbmap.C:
15061         * lyxrc.C:
15062         * kbsequence.h:
15063         * kbsequence.C: part re-write of old kb code
15064
15065         * Painter.C:
15066         * WorkArea.C: remove Lgb_bug_find_hack
15067
15068 2001-11-30  José Matos <jamatos@fep.up.pt>
15069
15070         * buffer.C (makeDocBookFile): add a comment to point a hack.
15071         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
15072         Fixed a double write of labels.
15073
15074 2001-11-29 Ben Stanley <bds02@uow.edu.au>
15075
15076         * LaTeX.C:
15077         * LaTeX.h Fixed bug in LaTeX class where it would not
15078         re-run latex if no depfiles were changed, but the .dvi was removed.
15079
15080 2001-11-28  André Pönitz <poenitz@gmx.net>
15081
15082         * all the files from the change on 2001/11/26:
15083         use lyx::layout_type instead of LyXTextClass::size_type
15084         use lyx::textclass_type instead of LyXTextClassList::size_type
15085
15086 2001-11-29  Juergen Vigna  <jug@sad.it>
15087
15088         * text.C: added support for paragraph::isFreeSpacing()
15089
15090         * buffer.C: same as above
15091
15092         * paragraph.h: inserted isFreeSpacing() function to enable
15093         FreeSpacing inside InsetERT.
15094
15095         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
15096         of the paragraph's in the cut/copy buffer to 0!
15097
15098         * text2.C (removeRow): remove the assert as it can!
15099
15100         * lyxtext.h: added helper function firstRow returning firstrow and
15101         made firstrow private again.
15102
15103         * BufferView2.C (lockInset): don't relock if we're already locked!
15104
15105         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
15106         the only paragraph.
15107         (removeRow): added Assert::(firstrow)
15108
15109         * debug.C: forgot to add INSETTEXT here.
15110
15111 2001-11-28  Juergen Vigna  <jug@sad.it>
15112
15113         * sp_spell.C (initialize): changed error text to more general
15114         spellchecker command use (not only ispell!)
15115
15116         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
15117
15118         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
15119
15120 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15121
15122         * vspace.C: initialise lyxgluelength on failure
15123
15124 2001-11-28  Allan Rae  <rae@lyx.org>
15125
15126         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
15127         declaration & definition that looks like a function declaration.
15128
15129 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15130
15131         * BufferView2.C (copy):
15132         (copyEnvironment): do not clear the selection when doing a copy.
15133
15134         * text.C (paintFirstRow): compilation fix
15135
15136 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
15137
15138         * tabular.C (Latex): correct line count when writing latex.
15139
15140 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
15141
15142         * paragraph_pimpl.h:
15143         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
15144           bug a bit
15145
15146 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15147
15148         * text.C:
15149         * LColor.h:
15150         * LColor.C: change vfillline->added_space
15151
15152         * text.C: add markers and text for added space
15153
15154         * vspace.C: fix comment
15155
15156 2001-11-28  André Pönitz <poenitz@gmx.net>
15157
15158         * paragraph.C: whitespace changes
15159         * all the other files from the change on 2001/11/26:
15160         change *::pos_type into lyx::pos_type
15161
15162 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
15163
15164         * buffer.C (parseSingleLyXformat2Token): Set the language to the
15165         language of the document when inserting error insets.
15166
15167 2001-11-26  André Pönitz <poenitz@gmx.net>
15168
15169         * BufferView_pimpl.[Ch]:
15170         *       CutAndPaste.C:
15171         * buffer.[Ch]:
15172         * lyxcursor.[Ch]:
15173         * lyxfind.C:
15174         * lyxfunc.C:
15175         * lyxrow.[Ch]:
15176         * paragraph.[Ch]:
15177         * paragraph_pimpl.[Ch]:
15178         * sp_spell.C:
15179         * text.C:
15180         * text2.C: reduce header dependencies, introduce type for positions
15181
15182 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15183
15184         * <various>: change to use Alert.h
15185
15186 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
15187
15188         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
15189         when encountering an unknown token.
15190         (readLyXformat2): Show an error message if there were unknown tokens.
15191
15192 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
15193
15194         * BufferView2.C:
15195         * BufferView_pimpl.C:
15196         * buffer.C:
15197         * paragraph.h:
15198         * text.C:
15199         * text2.C: use par->isInset()
15200
15201 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15202
15203         * paragraph_pimpl.h:
15204         * paragraph_pimpl.C: cleanup
15205
15206 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15207
15208         * text2.C (removeRow):
15209         * text.C (setHeightOfRow): remove useless (and costly) call to
15210         getRow.
15211
15212 2001-11-20  Allan Rae  <rae@lyx.org>
15213
15214         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
15215         Now need Inset*::checkInsertChar() to return true for appropriate
15216         cases so that the characters in the minibuffer will actually be
15217         inserted.
15218
15219 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15220
15221         * text.C: change the order of the includes.
15222         (workWidth): initialize it at once.
15223         (workWidth): make maxw unsigned
15224         (setHeightOfRow): remove unused variable (inset)
15225         (selectSelectedWord): remove unused variable (inset)
15226         (paintRowText): fix drawing of hfill characters, and clean up a bit.
15227
15228 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15229
15230         * lyxserver.C (emergencyCleanup): do not try to close pipes if
15231         server is not running.
15232         (openConnection):
15233         (closeConnection): add debug info when server is disabled.
15234
15235         * ColorHandler.C (getGCForeground): send debug message to GUI
15236         channel.
15237
15238         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15239
15240         * kbmap.C (bind): modify because return conventions of
15241         kb_sequence::parse have changed.
15242
15243         * kbsequence.C (parse): only ignore spaces and not any stupid
15244         control character. This avoids tests like s[i] <= ' ', which are
15245         guaranteed to fail with 8bit characters and signed chars.
15246         Change return code to string::npos when there have been no error
15247         (0 was a bad idea when error is at first character)
15248
15249 2001-11-14  José Matos  <jamatos@fep.up.pt>
15250
15251         * buffer.h:
15252         * buffer.C (simpleDocBookOnePar): removed unused argument.
15253
15254 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15255
15256         * text.C (selectNextWordToSpellcheck): do not test explicitely for
15257         insets which are part of a word. Paragraph::isLetter takes care of
15258         that now. Use Paragraph::isInset to identify insets.
15259         (selectSelectedWord): do not test for hyphenation break.
15260
15261         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15262         that protected spaces are considered as spaces.
15263
15264         * paragraph.C (isLetter): cleanup the code for ispell extras; use
15265         Inset::isLetter.
15266
15267 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
15268
15269         * lyxserver.h:
15270         * lyxserver.C: fix it. and small cleanup.
15271
15272 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15273
15274         * BufferView_pimpl.C: use inline helpers
15275
15276         * LaTeXFeatures.h:
15277         * LaTeXFeatures.C: fix typos
15278
15279         * Spacing.h:
15280         * Spacing.C: move spacing_string into class
15281
15282         * ToolbarDefaults.C: move stuff into namespace anon
15283
15284         * layout.h: update enum
15285
15286         * lyxfunc.C: use better debug
15287
15288         * minibuffer.h: fix typo
15289
15290         * debug.h:
15291         * debug.C:
15292         * WorkArea.C: add and use Debug::WORKAREA
15293
15294         * lyxtext.h:
15295         * text.C:
15296         * text2.C: code re-organisation, inline helpers
15297
15298 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
15299
15300         * Layout.C: replaced a few cases of std::vector.size() == 0 with
15301         std::vector.empty().
15302
15303 2001-11-09  Allan Rae  <rae@lyx.org>
15304
15305         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15306         '\n's after tables.  Tabular and ERT inset work now makes this no
15307         longer necessary.
15308
15309 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15310
15311         * minibuffer.h:
15312         * minibuffer.C: fix crash, improve drop-down completion
15313
15314 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
15315
15316         * lyxserver.h:
15317         * lyxserver.C: invalidate fd's when doing endPipe()
15318
15319 2001-11-08  José Matos  <jamatos@fep.up.pt>
15320
15321         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15322         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15323
15324         * paragraph.h:
15325         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15326
15327 2001-11-07  José Matos  <jamatos@fep.up.pt>
15328
15329         * buffer.h:
15330         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15331         const qualifier.
15332
15333         * buffer.C (sgmlOpenTag):
15334         * buffer.C (sgmlCloseTag): removed debug info.
15335
15336         * buffer.h (sgmlOpenTag):
15337         * buffer.h (sgmlCloseTag): made public.
15338
15339 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15340
15341         * buffer.C (saveParamsAsDefaults):
15342         * lyx_cb.C (MenuLayoutSave): remove
15343
15344         * LyXAction.C (init):
15345         * commandtags.h:
15346         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15347
15348 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15349
15350         * buffer.C (setPaperStuff): removed from here...
15351
15352         * bufferparams.C (setPaperStuff): ... and moved there.
15353
15354 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
15355
15356         * minibuffer.h:
15357         * minibuffer.C:
15358         * XFormsView.C: add support for drop-down completion
15359
15360 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
15361
15362         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15363         commands.
15364
15365 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15366
15367         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15368         disabled.
15369
15370 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
15371
15372         * lyx_main.C: change ref to known bugs
15373
15374 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
15375
15376         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15377         to work around older babel problems.
15378
15379 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15380
15381         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15382
15383 2001-10-24  Juergen Vigna  <jug@sad.it>
15384
15385         * tabular-old.C (ReadOld): below variable changes reflected.
15386
15387         * tabular.[Ch]: added ltType struct for longtable header/footer
15388         defines and changed all instances where they are used. Added
15389         future support for double top/bottom rows.
15390
15391 2001-10-24  José Matos  <jamatos@fep.up.pt>
15392
15393         * buffer.h (docbookHandleCaption):
15394         * buffer.C (docbookHandleCaption): removed unused function.
15395         (makeDocBookFile): moved docbook supported version to v4.1.
15396
15397 2001-10-24  José Matos  <jamatos@fep.up.pt>
15398
15399         * tabular.h:
15400         * tabular.C (docbookRow): new function to export docbook code of a row.
15401         (DocBook): now honors the longtable flags.
15402
15403 2001-10-23  José Matos  <jamatos@fep.up.pt>
15404
15405         * LaTeXFeatures.h:
15406         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15407         of the lyx defined sgml entities used in a docbook/linuxdoc document.
15408
15409         * buffer.C (makeLinuxDocFile):
15410         (makeDocBookFile): reworked the preamble, more clean, and with
15411         support for lyx defined entities. Changed the document declaration
15412         to be more XML friendly.
15413
15414         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15415         if we need to output XML that should be done with a filter.
15416
15417 2001-10-22  Juergen Vigna  <jug@sad.it>
15418
15419         * sp_pspell.h (class PSpell): add alive function needed in the
15420         controller to see if the spellchecker could be started.
15421
15422 2001-10-22  Juergen Vigna  <jug@sad.it>
15423
15424         * buffer.C (insertStringAsLines): modify the font for inserting
15425         chars in certain conditions by calling checkInsertChar(font).
15426
15427 2001-10-19  Juergen Vigna  <jug@sad.it>
15428
15429         * text.C (workWidth): use getRow instead of wrong algorithm.
15430         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15431
15432 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
15433
15434         * lyxserver.h:
15435         * lyxserver.C:
15436         * lyx_main.h:
15437         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15438
15439 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15440
15441         * text.C (workWidth): do not search for the exact row when
15442         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15443         optimization for big documents.
15444
15445 2001-10-18  Juergen Vigna  <jug@sad.it>
15446
15447         * text.C (workWidth): new function with added Inset * parameter.
15448
15449 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15450
15451         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15452
15453         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15454         change return type of getColumnNearX.
15455
15456
15457         * text.C (changeRegionCase): use uppercase/lowercase instead of
15458         toupper/tolower.
15459         (leftMargin):
15460         (rightMargin): simplify code by factoring out the uses of
15461         textclasslist.
15462         (labelFill):
15463         (numberOfHfills):
15464         (setHeightOfRow):
15465         (appendParagraph): use Paragraph::size_type
15466
15467 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15468
15469         * vspace.C (asLatexString): add a missing break
15470
15471 2001-10-15  Herbert Voss  <voss@perce.de>
15472
15473         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15474
15475 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15476
15477         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15478         is not available.
15479
15480 2001-10-10  André Pönitz <poenitz@gmx.net>
15481
15482         * lyxfunc.C: removed greek_kb_flag.
15483
15484 2001-10-10  Herbert Voss  <voss@perce.de>
15485
15486         * lyx_main.C: delete global string help_lyxdir.
15487
15488 2001-10-09  Herbert Voss  <voss@perce.de>
15489
15490         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15491
15492         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15493
15494         * lyx_main.C: added global string help_lyxdir.
15495
15496         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15497
15498 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15499
15500         * lyxrc.C (set_font_norm_type): support iso8859-4
15501
15502 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
15503
15504         * LaTeX.C (deplog): add another regex for MikTeX
15505
15506 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15507
15508         * lyxrc.C (set_font_norm_type): support iso8859-3
15509
15510 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15511
15512         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15513
15514         * LaTeXFeatures.C: remove special case of french and index
15515
15516         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15517         before \begin{document}). This solves several incompatibilities.
15518
15519 2001-10-03  Garst Reese  <reese@isn.net>
15520
15521         * lyx_cb.C: change CheckTex error msg.
15522
15523 2001-10-03  José Matos  <jamatos@fep.up.pt>
15524
15525         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15526
15527 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15528
15529         * .cvsignore: update
15530
15531         * lyx_main.C (commandLineVersionInfo): use new style version info.
15532
15533         * buffer.C (writeFile):
15534         (makeLaTeXFile):
15535         (makeLinuxDocFile):
15536         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15537
15538         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15539
15540         * version.h: update to use stuff in version.C
15541
15542         * version.C.in: new file. Contains version information determined
15543         at compile time. This is a merging of version.h and
15544         version_info.h.in.
15545
15546 2001-10-03  Juergen Vigna  <jug@sad.it>
15547
15548         * BufferView_pimpl.C (update): don't change "dirty" status in
15549         updateInset call.
15550
15551 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
15552
15553         * WorkArea.C (c-tor): re-position version string slightly.
15554
15555 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
15556
15557         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15558         revert to previous code.
15559
15560         WorkArea.[Ch]: (show, destroySplash): methods removed.
15561
15562         WorkArea.C: rework code so that it's an amalgam of the codes before and
15563         after the splash screen was moved to WorkArea.
15564
15565 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15566
15567         * lyxrc.C (read):
15568         * vspace.C (inPixels):
15569         (lyx_advance):
15570         * kbmap.C (bind):
15571         * buffer.C (insertStringAsLines):
15572         (asciiParagraph): fix types to be large enough
15573
15574         * lyxlex_pimpl.h: change member status from short to int
15575
15576         * layout.h: fix type of endlabeltype
15577
15578         * kbmap.C (bind):
15579         * kbsequence.C (parse): change return type to string::size_type
15580
15581         * LaTeX.C (updateBibtexDependencies): comment out unneeded
15582         variable
15583
15584         * Bullet.C (bulletSize):
15585         (bulletEntry): do not use short ints as parameters
15586
15587         * BufferView2.C (insertLyXFile): change a char to an int.
15588
15589         * WorkArea.C (WorkArea): remove unneeded floats in computation
15590
15591 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
15592
15593         * buffer.C (asciiParagraph): Treat '\\' as other chars.
15594
15595         * paragraph.C (asString): Do not ignore newline/hfill chars when
15596         copying to the clipboard.
15597
15598 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
15599
15600         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15601         after a multi-line inset.
15602
15603 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
15604
15605         * paragraph.C (validate): Set NeedLyXFootnoteCode
15606
15607 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15608
15609         * lyxfont.C (LyXSizeNames): changed increase-error to increase
15610         and decrease-error to decrease.
15611
15612 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15613
15614         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15615         it more readable (should be equivalent)
15616
15617 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15618
15619         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15620
15621 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15622
15623         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15624         of a cursor (row, etc.) after a character has been deleted
15625         (deleteEmptyParagraphMechanism): call the method above on _all_
15626         cursors held by the LyXText when a double space has been
15627         detected/deleted.
15628
15629 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15630
15631         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15632         pixmap.
15633         (resizeCurrentBuff): remove code to destroy the old splash dialog.
15634
15635         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15636         background. Use greyOut() and the new show() methods to toggle between
15637         the foreground and background. Add code to remove the splash after
15638         its initial showing.
15639
15640         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15641         (create_forms): no longer call Dialogs::showSplash.
15642
15643 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15644
15645         * .cvsignore: add version_info.h
15646
15647 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15648
15649         * version_info.h.in: new file
15650
15651         * Makefile.am: add version_info.h.in
15652
15653         * lyx_main.C (commandLineVersionInfo): use version_info defined in
15654         version_info.h instead of VERSION_INFO
15655
15656 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
15657
15658         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15659         The ERT inset now returns string().
15660
15661 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
15662
15663         * lyxtext.h, text.C (selectNextWord): renamed as
15664         selectNextWordToSpellcheck.
15665
15666         * text.C (selectNextWordToSpellcheck): Modified to not select
15667         words inside an ERT inset.
15668
15669 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15670
15671         * lyx_cb.C (MenuLayoutSave): change a bit the question
15672
15673         * sp_base.h: include <sys/types.h>
15674
15675 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
15676
15677         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15678
15679 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
15680
15681         * several files: fix typos in user-visible strings
15682
15683 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15684
15685         * text2.C (pasteSelection): do not set the selection, since it
15686         will be cleared later. Actually, the intent was to fix the way the
15687         selection was set, but I figured rmoving the code was just as good.
15688
15689 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
15690
15691         * FontLoader.C (available): Check if font is available without
15692         loading the font.
15693
15694 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
15695
15696         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15697
15698 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
15699
15700         * lyxrc.[Ch]: added display_graphics variable and associated code.
15701
15702 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15703
15704         * bufferparams.C (hasClassDefaults): new method. Returns true if
15705         the buffer parameters correspond to known class defaults
15706
15707 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
15708
15709         * XFormsView.C (show): set minimum size to the main window.
15710
15711 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15712
15713         * text2.C (copySelection):
15714         (cutSelection):
15715         * lyxfind.C (LyXReplace):
15716         * BufferView_pimpl.C (Dispatch): pass the correct flag to
15717         LyXText::selectionAsString.
15718
15719         * paragraph.C (asString): add "label" argument to the second form
15720
15721         * text2.C (selectionAsString): add "label" argument and pass it to
15722         Paragraph::asString.
15723
15724 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15725
15726         * lyx_main.C (commandLineHelp): remove version information
15727
15728 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
15729
15730         * lyx_main.C: add -version commandline option
15731
15732 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15733
15734         * paragraph.h: make the optional constructor arg required instead.
15735         some modifications to other files because of this.
15736
15737         * minibuffer.C (C_MiniBuffer_peek_event): make it static
15738
15739         * lyxserver.C (C_LyXComm_callback): make it static
15740
15741         * lyx_main.C (error_handler): make it static
15742
15743         * lyx_gui.C (LyX_XErrHandler): make it static
15744
15745         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15746
15747         * WorkArea.C: make the extern "C" methods static.
15748
15749         * Makefile.am (lyx_LDADD): simplify
15750
15751 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15752
15753         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15754         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15755
15756         * LyXAction.C (init):
15757         * lyxfunc.C (dispatch): associated code removal.
15758
15759 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15760
15761         * lyxfont.h (isSymbolFont): shut off warning
15762
15763         * text.C (setHeightOfRow):
15764         (getVisibleRow): fix crash with empty paragraphs which have a
15765         bottom line
15766
15767 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
15768
15769         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15770         code.
15771
15772 2001-09-04  José Matos  <jamatos@fep.up.pt>
15773         * buffer.C
15774         * buffer.h
15775         * tabular.C (docbook): rename docBook method to docbook.
15776
15777 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15778
15779         * Makefile.am: add dependencies to main.o.
15780
15781 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
15782
15783         * FontLoader.C (available): Return false if !lyxrc.use_gui
15784
15785 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
15786
15787         * FontInfo.C (query):
15788         * converter.C (view):
15789         * importer.C (Import):
15790         * exporter.C (Export): Can not -> cannot.
15791
15792 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
15793
15794         * BufferView_pimpl.C: allow to create index inset even if
15795           string is empty
15796
15797 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15798
15799         * buffer.C (getLists): replace boost::tie code with an explicit pair
15800         as boost::tie can break some compilers.
15801
15802         * iterators.h: Added a std:: declaration to the return type of
15803         ParIterator::size.
15804
15805 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
15806
15807         * lyxrc.C: add help for view_dvi_paper_option, default to safe
15808           case.
15809
15810 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
15811
15812         * iterators.[Ch]: New files. Provide paragraph iterators.
15813
15814         * buffer.C (changeLanguage): Use paragraph iterators.
15815         (isMultiLingual): ditto
15816
15817         * BufferView2.C (ChangeInsets): Use paragraph iterators.
15818
15819 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
15820
15821         * FontLoader.C: Support for cmr font.
15822
15823 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
15824
15825         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15826         (available): New method.
15827
15828         * FontInfo.C (getFontname): Use scalable fonts even when
15829         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15830         found.
15831
15832 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15833
15834         * converter.C (Formats::view): reverted! Incorrect fix.
15835
15836 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15837
15838         * converter.C (Formats::view): only output the -paper option
15839         if the dvi viewer is xdvi, thereby fixing bug #233429.
15840
15841 2001-08-23  Herbert Voss  <voss@perce>
15842
15843         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15844
15845 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
15846
15847         * Spacing.h (Spacing): Set space to Default on in the default
15848         constructor.
15849
15850 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15851
15852         * vc-backend.h (RCS::versionString): add RCS to version
15853         (CVS::versionString): add CVS to version
15854
15855         * vc-backend.C (scanMaster): do not add CVS to version.
15856         (scanMaster): do not add RCS to version
15857
15858         * lyxvc.C (versionString): new method
15859
15860         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15861
15862 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15863
15864         * Spacing.C (set): initialize fval
15865
15866 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
15867
15868         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15869         " or \.
15870
15871 2001-08-16  Juergen Vigna  <jug@sad.it>
15872
15873         * lyxfunc.C (dispatch): implemented the new FINISHED states.
15874
15875 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15876
15877         * BufferView_pimpl.C:
15878         * figureForm.C:
15879         * lyxtext.h:
15880         * text2.C: setParagraph takes linespacing now
15881
15882 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
15883
15884         * LyxAction.C: add internal LFUN_CITATION_INSERT
15885
15886         * LyXView.C: actually apply fix
15887
15888         * bufferlist.C: fix open non-existent file
15889
15890         * lyxfind.C: fix indentation
15891
15892         * lyxfunc.C: remove unneeded assert, fix typo
15893
15894 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15895
15896         * MenuBackend.C: use "Floatname List"
15897
15898 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
15899
15900         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15901         when converting LaTeX layout to insetERT.
15902         Generate a non-collapsed float when reading old float
15903
15904 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15905
15906         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15907         ERT insets.
15908
15909 2001-08-13  Juergen Vigna  <jug@sad.it>
15910
15911         * text.C (fill): return 0 instead of 20 as this seems to be the more
15912         correct value.
15913
15914 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15915
15916         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15917         lyxrc.font_norm.
15918
15919 2001-08-13  Juergen Vigna  <jug@sad.it>
15920
15921         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15922         casesensitive off.
15923         (SearchBackward): comment out the unlocking of the inset_owner this
15924         should not be needed!
15925
15926 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
15927
15928         * Many files: Remove inherit_language, and add latex_language
15929
15930         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15931         collapsible insets.
15932
15933 2001-08-10  Juergen Vigna  <jug@sad.it>
15934
15935         * text.C (prepareToPrint): fixed hfill-width in draw!
15936
15937         * BufferView2.C (selectLastWord): save the selection cursor as this
15938         now is cleared in the function LyXText::clearSelection!
15939
15940 2001-08-08  Juergen Vigna  <jug@sad.it>
15941
15942         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15943         BACKSPACE type functions.
15944
15945         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15946         is only cutted from the document but not put in the cut-buffer, where
15947         still the old stuff should be.
15948
15949         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15950
15951         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15952
15953         * tabular.C (SetWidthOfCell): fixed special case where the width
15954         was not updated!
15955         (LeftLine): handle '|' in align_special.
15956         (RightLine): ditto
15957         (LeftAlreadyDrawed): ditto
15958         (SetWidthOfCell): ditto
15959
15960 2001-08-07  Juergen Vigna  <jug@sad.it>
15961
15962         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15963
15964 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15965
15966         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15967         * lyxlex.[hC]: ditto
15968
15969 2001-08-06  Juergen Vigna  <jug@sad.it>
15970
15971         * text.C (getVisibleRow): fix up row clearing a bit.
15972
15973 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15974
15975         * minibuffer.C: make sure the X server sees the changes in the input.
15976
15977 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15978
15979         * paragraph.C (getFont): split into...
15980         (getLabelFont): this
15981         (getLayoutFont): and this
15982         * paragraph_pimpl.C (realizeFont): calling this
15983
15984         * text2.C (getFont): split into...
15985         (getLayoutFont): this
15986         (getLabelFont): and this
15987         (realizeFont): all three calling this
15988
15989         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15990         files where used.
15991
15992 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15993
15994         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15995
15996 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
15997
15998         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15999         layouts from the Quote inset insertion.
16000
16001 2001-08-03  Juergen Vigna  <jug@sad.it>
16002
16003         * BufferView_pimpl.C (update): do the fitCursor only at the end!
16004
16005         * screen.C (drawFromTo): don't call fitcursor here and do the loop
16006         only if status not is already CHANGED_IN_DRAW (second level).
16007
16008         * text.C (draw): don't set the need_break_row when inside an
16009         InsetText LyXText.
16010
16011 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16012
16013         * buffer.C (parseSingleLyXformat2Token): handle more latex
16014         conversion cases.
16015
16016         * bufferview_funcs.[hC]: change function names to
16017         begin with small char, adjust other files.
16018
16019 2001-08-02  André Pönitz <poenitz@gmx.net>
16020
16021         * lyxfunc.C:
16022         BufferView_pimpl.C: remove broken special code for math-greek
16023
16024 2001-08-02  Juergen Vigna  <jug@sad.it>
16025
16026         * BufferView_pimpl.C (update): redone this function so that we
16027         update the text again if there was a CHANGE_IN_DRAW.
16028
16029         * screen.C (cursorToggle): removed LyXText parameter and recoded.
16030         (drawFromTo): added a new internal bool which is used by draw() and
16031         redraw() function.
16032         (general): some cursor drawing problems fixed.
16033
16034 2001-08-01  Juergen Vigna  <jug@sad.it>
16035
16036         * lyxfind.C (LyXFind): fixed
16037         (SearchForward): ditto
16038         (SearchBackward): ditto
16039
16040         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
16041         spurius drawing of the cursor in the main area.
16042
16043         * text2.C (status): small fix which could lead to a segfault!
16044         (clearSelection): remove unneeded BufferView param.
16045
16046 2001-08-01  André Pönitz <poenitz@gmx.net>
16047
16048         * lyxfunc.C: small change due to changed mathed interface
16049
16050 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16051
16052         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
16053
16054 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
16055
16056         * lyxfunc.c: fail gracefully if file doesn't exist
16057
16058         * LyXSendto.C:
16059         * buffer.C:
16060         * lyxfunc.C:
16061         * BufferView_pimpl.C: IsDirWriteable() proto changed
16062
16063         * LyXView.C: fix updateWindowTitle() to store the last title
16064
16065 2001-07-31  Juergen Vigna  <jug@sad.it>
16066
16067         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
16068         the font (wrong since using of Paragraph::highestFontInRange).
16069
16070         * paragraph.C (highestFontInRange): added a default_size parameter.
16071
16072         * text.C (getVisibleRow): minor clear row changes (still not perfect).
16073         (setHeightOfRow): reformat
16074
16075 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16076
16077         * converter.[hC] + affected files: move to (inital-char)lowercase
16078         function names.
16079
16080         * ParagraphParameters.C (ParagraphParameters): remove commented code
16081
16082         * PainterBase.[Ch]: remove commented code
16083
16084         * LaTeXFeatures.h: add "bool floats" for float.sty
16085
16086         * LaTeXFeatures.C (LaTeXFeatures): init floats
16087         (require): handle float
16088         (getPackages): do it with floats
16089
16090 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16091
16092         * BufferView_pimpl.C (Dispatch): improve handling of
16093         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
16094
16095         * commandtags.h: #include lyxfont.h here temporarily to avoid
16096         keybinding bug.
16097
16098         * bufferlist.h: include LString.h here.
16099
16100 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16101
16102         * text2.C (getStringToIndex): new method.
16103
16104 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
16105
16106         * *: Reduced header file dependencies all over.
16107
16108 2001-07-30  Baruch Even  <baruch@lyx.org>
16109
16110         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
16111
16112 2001-07-29  Baruch Even  <baruch@lyx.org>
16113
16114         * buffer.C (readInset): Changed GRAPHICS to Graphics.
16115
16116 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16117
16118         * ParameterStruct.h (endif): add a default constructor to make
16119         sure that all variables is initialized.
16120
16121         * ParagraphParameters.C (ParagraphParameters): adjust
16122
16123 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16124
16125         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
16126         index; also, check that there is something to index, and that it
16127         does not span over several paragraphs.
16128         (doubleClick): use WHOLE_WORD_STRICT for double click.
16129
16130         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
16131
16132         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
16133         scheme.
16134
16135 2001-07-26  Baruch Even  <baruch@lyx.org>
16136
16137         * buffer.C (readInset): Changed to call up InsetGraphics when reading
16138         an InsetFig figure, backwards compatible reading of old figure code.
16139
16140 2001-07-27  Juergen Vigna  <jug@sad.it>
16141
16142         * text2.C: font.realize function adaption.
16143
16144         * text.C (draw): add a warnings lyxerr text if needed.
16145
16146         * layout.C: font.realize function adaption.
16147
16148         * language.C: add inherit_language and implement it's handlings
16149
16150         * bufferview_funcs.C (StyleReset): remove language parameter from
16151         font creation (should be language_inherit now).
16152
16153         * bufferparams.C (writeFile): handle ignore_language.
16154
16155         * paragraph.C (getFontSettings): the language has to be resolved
16156         otherwise we have problems in LyXFont!
16157
16158         * lyxfont.C (lyxWriteChanges): added document_language parameter
16159         (update): removed unneeded language parameter
16160
16161         * paragraph.C (validate): fixed wrong output of color-package when
16162         using interface colors for certain fonts in certain environments,
16163         which should not seen as that on the final output.
16164
16165 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
16166
16167         * BufferView_pimpl.C:
16168         * Thesaurus.h:
16169         * Thesaurus.C:
16170         * Makefile.am:
16171         * commandtags.h:
16172         * LyXAction.C: add thesaurus support
16173
16174         * lyxfind.h:
16175         * lyxfind.C: add "once" parameter, for thesaurus, to not
16176           move to the next match
16177
16178 2001-07-26  Juergen Vigna  <jug@sad.it>
16179
16180         * lyxfont.C (realize): honor ignore_language too!
16181         (resolved): ditto.
16182
16183         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
16184
16185         * text.C (draw): one place more for ignore_language to not draw
16186         itself!
16187
16188 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
16189
16190         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
16191
16192 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16193
16194         * buffer.C (parseSingleLyXformat2Token): a more general fix for
16195         the minipage conversion problem.
16196
16197 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16198
16199         * buffer.C (parseSingleLyXformat2Token): check minipage if we
16200         insert an inset.
16201
16202 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16203
16204         * BufferView.h: don't forward declare WorkArea
16205
16206         * BufferView.C: don't include WorkArea.h
16207
16208 2001-07-25  André Pönitz <poenitz@gmx.net>
16209
16210         * commandtags.h:
16211         * LyXAction.C:
16212         * lyxfunc.C:  new LFUN 'math-space'
16213
16214         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
16215
16216 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16217
16218         * text2.C (toggleInset): call open/close
16219
16220 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16221
16222         * lyxfunc.C (dispatch): add debug for the disabled case
16223
16224         * font.C (buttonText): make similar to rectText
16225
16226         * buffer.C (readInset): comment out parsing of insetlist and
16227         insttheorem
16228
16229         * PainterBase.C (rectText): small correction
16230
16231         * BufferView_pimpl.C: comment out insettheorem and insetlist
16232         * LyXAction.C: ditto
16233         * commandtags.h: ditto
16234
16235 2001-07-24  Juergen Vigna  <jug@sad.it>
16236
16237         * text.C (draw): honor the ignore_language.
16238
16239         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16240
16241 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16242
16243         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16244         char inset.
16245
16246 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16247
16248         * lyxtext.h: remove unused (and unimplemented) methods
16249
16250 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16251
16252         * text.C (getVisibleRow): honor background color
16253
16254         * PainterBase.h:
16255         * Painter.h: remove default color argument for fillRectangle
16256
16257         * text.C (backgroundColor): new method
16258
16259 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16260
16261         * text.C (getVisibleRow): adjust
16262
16263         * font.[Ch] (rectText): new method, metrics
16264         (buttonText): new method, metrics
16265
16266         * PainterBase.[hC]: make rectText and buttonText always draw and take
16267         fewer paramteres.
16268
16269 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16270
16271         * ToolbarDefaults.C (read):
16272         * MenuBackend.C (read): allow escaping in all strings
16273
16274         * BufferView_pimpl.C (insertAndEditInset): new method.
16275         (Dispatch): use insertAndEditInset whenever appropriate.
16276
16277         * BufferView_pimpl.C (insertNote): removed
16278
16279         * BufferView_pimpl.C (smartQuote): new method, moved from
16280         BufferView; if an insetquote cannot be inserted, insert a '"'
16281         character instead.
16282
16283         * BufferView2.C: remove insertCorrectQuote();
16284
16285         * lyxfunc.C (getStatus): Add support for all remaingin
16286         inset-insert lfuns.
16287
16288         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16289
16290         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16291         command (necessary to pass " as parameter of self-insert.
16292
16293         * text.C (selectWordWhenUnderCursor):
16294         (selectWord): add word_location parameter
16295         (selectWordWhenUnderCursor): same + remove special code for word
16296         boundary.
16297         (selectNextWord): use kind() to guess type of insetspecialchar,
16298         not latex().
16299
16300         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16301         (insertErtContents): create ert insets as collapsed.
16302         (readInset): better compatibility code for Info inset.
16303
16304 2001-07-20  Juergen Vigna  <jug@sad.it>
16305
16306         * lyxfunc.C (dispatch): use always LyXFind now!
16307
16308         * text2.C (init): add a reinit flag so that the LyXText can be
16309         reinited instead of deleted and reallocated (used in InsetText).
16310
16311         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16312
16313         * text.C: ditto
16314
16315         * text2.C: ditto
16316
16317 2001-07-18  Juergen Vigna  <jug@sad.it>
16318
16319         * text.C (selectNextWord): handle insets inside inset by calling
16320         always the bv->text functions so that we can go up the_locking_inset!
16321
16322         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16323         in strange locations when inside an inset!
16324
16325         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16326         handling to include insets.
16327
16328         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16329
16330 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16331
16332         * LyXAction.C (init):
16333         * commandtags.h:
16334         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16335         LIGATURE_BREAK, since the name is so stupid.
16336
16337 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16338
16339         * buffer.C (readInset): enable reading of new InsetNotes as well as old
16340         InsetInfos.
16341
16342         * FontLoader.C: remove FORMS_H_LOCATION cruft.
16343
16344         * sp_form.[Ch]: remove.
16345
16346         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16347
16348         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16349         InsetInfo.
16350
16351         * src/buffer.C (readInset): ditto.
16352
16353 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16354
16355         * BufferView_pimpl.C (specialChar): new method. Obsoletes
16356         menuSeparator(), endOfSentenceDot(), ldots() and
16357         hyphenationPoint(), which are therefore removed.
16358         (Dispatch): handle LFUN_HYPHENATION_BREAK.
16359
16360         * LyXAction.C (init):
16361         * commandtags.h: add LFUN_HYPHENATION_BREAK.
16362
16363         * paragraph.C (getWord): removed.
16364
16365         * BufferView_pimpl.C (Dispatch): use last word or selection for
16366         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16367
16368         * lyx_main.C (queryUserLyXDir): do not ask before creating
16369         user_dir, except if it has been named explicitely.
16370
16371 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16372
16373         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16374         a document of zero size.
16375
16376 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
16377
16378         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16379         approriately in the c-tor and in require().
16380         (getPackages): output the appropriate LaTeX for natbib support.
16381
16382         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16383         variables "use_natbib" and "use_numerical_citations" when reading the
16384         LyX file.
16385         (readInset): read the various natbib cite commands.
16386         (validate): white-space change.
16387
16388         * bufferparams.[Ch]: new variables "bool use_natbib" and
16389         "bool use_numerical_citations".
16390         (writeFile): output them in the LyX file.
16391
16392 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16393
16394         * lyxfunc.C (getStatus): add support for all the inset insertion
16395         commands.
16396
16397         * text2.C (insertInset):
16398         * paragraph.C (insetAllowed):
16399         * BufferView_pimpl.C (insertInset): update to take in account the
16400         renaming of insertInsetAllowed
16401
16402         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16403
16404         * text2.C (getInset): new method. returns inset at cursor position.
16405
16406         * BufferView_pimpl.C (Dispatch): changes because of this.
16407
16408         * LyXAction.C (init): rename open-stuff to inset-toggle.
16409
16410         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16411
16412         * text2.C (toggleInset): renamed from openStuff; use
16413         Inset::open().
16414
16415 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
16416
16417         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16418
16419         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16420
16421 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
16422
16423         * buffer.C (readLyXformat2): Add filename to the error dialog
16424
16425 2001-07-18  Juergen Vigna  <jug@sad.it>
16426
16427         * tabular.C (GetCellNumber): put an assert here instead of the check!
16428
16429 2001-07-17  Juergen Vigna  <jug@sad.it>
16430
16431         * BufferView_pimpl.C (toggleSelection): adapted too.
16432
16433         * text.C (selectNextWord): adapted for use with insets.
16434         (selectSelectedWord): ditto
16435
16436 2001-07-17  Juergen Vigna  <jug@sad.it>
16437
16438         * sp_spell.C (PSpell): fix initialitation order.
16439
16440 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16441
16442         * paragraph.C: spacing
16443
16444 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
16445
16446         * sp_spell.C: repair language selection for pspell
16447
16448 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16449
16450         * lyxfunc.h: change more methods to begin with lower char.
16451
16452 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
16453
16454         * buffer.C (parseSingleLyXformat2Token): Generate error insets
16455         for unknown layouts.
16456
16457 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
16458
16459         * buffer.C (readLyXformat2): Generate an error dialog if there are
16460         unknown layouts.
16461
16462 2001-07-16  Juergen Vigna  <jug@sad.it>
16463
16464         * sp_spell.C: always compile ISpell part.
16465
16466         * lyxrc.C: added use_pspell entry and it's handling.
16467
16468 2001-07-13  Juergen Vigna  <jug@sad.it>
16469
16470         * sp_spell.C: removed double includes.
16471
16472 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
16473
16474         Consistent use of Lsstream.h:
16475         * Lsstream.h: added using std::stringstream for consistencies sake.
16476
16477         * buffer.C: removed using std::stringstream
16478
16479         * lyxfont.C (stateText):
16480         * paragraph.C (asString):
16481         * text.C (selectNextWord, selectSelectedWord):
16482         * text2.C (setCounter):
16483         * vspace.C (asString, asLatexString):
16484         std::ostringstream -> ostringstream.
16485
16486 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16487
16488         * LyXAction.C: add LFUN_HELP_ABOUTLYX
16489         * commandtags.h: add LFUN_HELP_ABOUTLYX
16490         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16491
16492 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16493
16494         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16495         cursorToggle()
16496         * lyx_gui_misc.C: remove spellchecker
16497         * lyxfunc.C: showSpellchecker
16498         * sp_base.h: added
16499         * sp_ispell.h: added
16500         * sp_pspell.h: added
16501         * sp_spell.C: added
16502         * sp_form.[Ch]: removed
16503         * spellchecker.[Ch]: removed
16504
16505 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
16506
16507         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16508         is set.
16509         (simpleTeXSpecialChars): Simply print the input character without
16510         any special translation if pass_thru is set.
16511
16512         * layout.h: Added bool pass_thru to layout class for being able to
16513         implement pass through of a paragraph for Literate Programming.
16514
16515         * layout.C: add LT_PASS_THRU to LayoutTags enum.
16516         * layout.C (LyXLayout): set pass_thru to flase in constructor.
16517         * layout.C (Read): add "passthru" to list of layout tags and add
16518         code to set the pass_thru boolean when it is read.
16519
16520 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16521
16522         * trans_decl.h: remove allowed from KmodInfo
16523
16524         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16525         remove allowed code
16526         (Load): adjust
16527
16528         * paragraph_pimpl.C (erase): use boost::prior
16529
16530         * Painter.C (text): use data() instead of c_str() when length is
16531         also provided.
16532         * WorkArea.C (putClipboard): ditto
16533         * font.h (width): ditto
16534
16535         * BufferView2.C: use it-> instead of (*it). for iterators
16536         * texrow.C: ditto
16537         * paragraph_pimpl.C: ditto
16538         * paragraph.C: ditto
16539         * minibuffer.C: ditto
16540         * language.C: ditto
16541         * kbmap.C: ditto
16542         * encoding.C: ditto
16543         * counters.C: ditto
16544         * converter.C: ditto
16545         * chset.C: ditto
16546         * Variables.C: ditto
16547         * TextCache.C: ditto
16548         * MenuBackend.C: ditto
16549         * LyXAction.C: ditto
16550         * LColor.C: ditto
16551         * FloatList.C: ditto
16552         * DepTable.C: ditto
16553         * ColorHandler.C (LyXColorHandler): ditto
16554
16555 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16556
16557         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16558
16559         * text2.C (openStuff): reintroduce this method (which had been
16560         nuked in NEW_INSETS frenzy).
16561
16562         * lyxfunc.C (Dispatch): when an action has not been handled, use
16563         its name in the error message, not its number.
16564
16565         * paragraph.C (inInset): change method name to begin with lowercase.
16566
16567         * undo_funcs.C:
16568         * text2.C: updates because of this.
16569
16570 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16571
16572         * ToolbarDefaults.C (add): add spaces in error message
16573
16574 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16575
16576         * buffer.C (readLyXformat2): initialize the ert comp. variables.
16577         (readLyXformat2): rename return_par to first_par, use lyxlex's
16578         pushToken and remove the manual push handling.
16579         (parseSingleLyXformat2Token): add another ert comp. variable:
16580         in_tabular, rename return_par to first_par. handle newlines better
16581
16582 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16583
16584         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16585
16586 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16587
16588         * text2.C (getParFromID): removed
16589
16590         * buffer.C (getParFromID): new method moved form lyxtext.
16591         * BufferView2.C (insertErrors): adjust
16592         (setCursorFromRow): adjust
16593         * BufferView_pimpl.C (restorePosition): adjust
16594         * lyxfunc.C (Dispatch): adjust
16595         * undo_funcs.C (textUndo): adjust
16596         (textRedo): adjust
16597         (textHandleUndo): adjust
16598         (textHandleUndo): adjust
16599
16600 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16601
16602         * buffer.C: up' the LYX_FORMAT
16603
16604         * lyxfont.h: turn NO_LATEX on as default
16605
16606         * buffer.C (insertErtContents): new methods of tex style compability.
16607         (parseSingleLyXformat2Token): use it several places.
16608         * tabular.C (OldFormatRead): and here
16609
16610 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16611
16612         * text2.C: remove some commented code.
16613         reindent file.
16614
16615         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16616         * trans.C: changes because of the above.
16617
16618 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
16619
16620         * text2.C (setCounter): Fix counters bug with bibliography layout.
16621
16622 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16623
16624         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16625         own member functions
16626         (simpleTeXSpecialChars): ditto
16627
16628 2001-07-06  Juergen Vigna  <jug@sad.it>
16629
16630         * a lot of files: changed the access to LyXText::status and the
16631         call of undo-functions.
16632
16633         * undo.[Ch]: added a inset_id to the undo informations.
16634
16635         * undo_funcs.[Ch]: added and moved here all undo functions.
16636
16637         * lyxtext.h: give the status enum a weight, made status_ a private
16638         variable and made accessor functions for it, removed the whole bunch
16639         of undo-functions as they are now in their own file, make some
16640         functions publically available. Added function ownerParagraph with
16641         int parameter.
16642
16643         * paragraph.[Ch]: added "bool same_ids" to the constructor,
16644         made InInset() a const function, added getParFromID() function.
16645
16646         * buffer.[Ch]: added const version for inset_iterator functions,
16647         added getInsetFromID() function.
16648
16649         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16650         changed undo functions for new version.
16651
16652 2001-07-05  Juergen Vigna  <jug@sad.it>
16653
16654         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16655         unknow mechanism does not call the proper constructor but only this
16656         one also if I request the other!?
16657
16658 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16659
16660         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16661
16662         * text2.C (LyXText): use initialization lists.
16663
16664         * lyxtext.h (Selection): initialize set_ and mark_
16665         (init): remove method
16666
16667 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
16668
16669         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16670
16671 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16672
16673         * screen.[Ch]: change method names to begin with lowercase
16674
16675         * BufferView_pimpl.C (updateScrollbar): simplify further and
16676         hopefully make it a bit faster.
16677
16678 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16679
16680         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16681         calling directly xforms functions.
16682
16683         * Painter.C (Painter):
16684         * lyx_cb.C (MenuWrite):
16685         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16686         fl_display.
16687
16688         * lyx_gui.C: remove bogus guiruntime extern declaration.
16689
16690 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16691
16692         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16693         in NEW_INSETS
16694         (redoDrawingOfParagraph): ditto
16695         (redoParagraphs): ditto
16696         (cutSelection): don't create a object for CutAndPaste use the
16697         static method directly
16698         (pasteSelection): ditto
16699
16700         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16701         LyXview (+ rename)
16702
16703 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16704
16705         * modifications to some other files because of this.
16706
16707         * Makefile.am (lyx_SOURCES): add XFormsView
16708
16709         * XFormsView.[Ch]: new files
16710
16711         * LyXView.[Ch]: make LyXView a base class for the gui handling for
16712         the main window. Move the gui dependent stuff to XFormsView
16713
16714 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16715
16716         * tabular.C (GetCellInset): update cur_cell also in the row/col
16717         version of this function.
16718
16719         * lyxfunc.C: no need to include figure_form.h here.
16720
16721         * FontLoader.h:
16722         * lyxfunc.h:
16723         * lyxscreen.h:
16724         * text2.C:
16725         * lyxvc.C: no need to include forms.h here.
16726
16727 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16728
16729         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16730
16731         * lyxfunc.C (Dispatch):
16732         * Spacing.C (set):
16733         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16734         constructor argument.
16735
16736 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16737
16738         * paragraph.C (Paragraph): dont't clear, and just set layout.
16739         (makeSameLayout): use params's copy contructor.
16740
16741         * ParagraphParameters.[Ch] (makeSame): delete method
16742
16743 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
16744
16745         * Variables.[Ch]: fix indentation, rename set to isSet
16746
16747 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16748
16749         * lyxfunc.C (Dispatch): fix typo
16750
16751 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16752
16753         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16754         upper_bound.
16755
16756         * bufferlist.C: include assert.h for emergencyWrite().
16757
16758 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16759
16760         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16761           give up at last (bug #425202) !
16762
16763 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
16764
16765         * lyx_gui_misc.C:
16766         * sp_form.h:
16767         * sp_form.C:
16768         * spellchecker.h:
16769         * spellchecker.C: strip spellchecker options and bring up
16770           preferences tab instead
16771
16772 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16773
16774         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16775         the istringstream constructor
16776
16777 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16778
16779         * paragraph.C (getLayout): fix return value
16780
16781         * paragraph.h: do not declare getLayout as inline.
16782
16783         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16784
16785 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16786
16787         * lyxcursor.h (operator<): new func
16788         (operator>): new func
16789         (operator>=): new func
16790         (operator<=): new func
16791
16792         * text.C (changeCase): use selection.start and selection.end
16793         (changeRegionCase): require from to be <= to. Require par to be a
16794         valid paragraph.
16795
16796         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16797
16798 2001-06-27  Juergen Vigna  <jug@sad.it>
16799
16800         * text.C (cursorLeftOneWord): changed to return the cursor and added
16801         overlay with BufferView * parameter which calls this one.
16802         (getWord): added
16803         (selectWord): use new getWord function.
16804         (changeCase): renamed from changeWordCase as and extended to work
16805         also on selections.
16806
16807         * lyxtext.h: added enum word_location
16808
16809         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16810         changeCase as this operates now also on selections.
16811
16812 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
16813
16814         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16815
16816         * many files: send debug output to Debug::INFO instead of
16817         Debug::ANY.
16818
16819         * converter.C (View):
16820         (Convert):
16821         (Move): send debug output to Debug::FILES instead of console.
16822
16823 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
16824
16825         * lyxfunc.C (getStatus): use func_status
16826
16827         * func_status.h: new header, describing the results of
16828         LyXFunc::getStatus;
16829
16830         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16831         LFUN_MATH_HALIGN.
16832
16833 2001-06-25  The LyX Project  <jug@sad.it>
16834
16835         * buffer.C (sgmlOpenTag):
16836         (sgmlCloseTag):
16837         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
16838
16839 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16840
16841         * text2.C: remove some dead code
16842
16843         * tabular.C (GetCellInset): store the last cell checked (gotten)
16844
16845         * tabular.h: add the helper for the speedup
16846
16847         * lyxtext.h: remove some dead code
16848
16849 2001-06-26  The LyX Project  <Asger>
16850
16851         * paragraph.C: Change export to LaTeX of alignment to
16852         \begin{center} and family for better roundtrip work with reLyX.
16853
16854         * Tune the math drawing a bit.
16855
16856 2001-06-25  The LyX Project  <Asger>
16857
16858         * LColor.C (LColor): New color for math background. New color
16859         for buttons.
16860
16861 2001-06-25  The LyX Project  <jug@sad.it>
16862
16863         * lyxfunc.C (MenuNew): remove extra check for .lyx file
16864
16865         * lyxfunc.C (Open):
16866         * bufferlist.C (newFile): do not restrict to files ending with
16867         .lyx
16868
16869         * BufferView_pimpl.C (MenuInsertLyXFile):
16870
16871 2001-06-24  The LyX Project  <jug@sad.it>
16872
16873         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16874         of compare_no_case
16875
16876 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16877
16878         * lyxtext.h: rename most methods to begin with a small char.
16879         Lots of changes because of this.
16880
16881         * paragraph.C (Paragraph): do not call fitToSize
16882         (erase): call Pimpl::erase
16883         (insertChar): call Pimpl::insertChar
16884         (insertInset): call Pipl::insertInset
16885         (breakParagraph): do not call fitToSize
16886         (breakParagraphConservative): do not call fitToSize
16887         (fitToSize): remove method
16888
16889         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16890
16891 2001-06-24  The LyX Project  <Asger>
16892
16893         * Fix Qt compilation^2
16894
16895 2001-06-24  The LyX Project  <jug@sad.it>
16896
16897         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16898         depthHook(getDepth()-1).
16899
16900         * paragraph.h:
16901         * ParagraphParameters.h:
16902         * ParameterStruct.h: change type of depth to unsigned int ==
16903         depth_type. Many adaptations to other files before of that.
16904
16905 2001-06-24  The LyX Project  <Asger>
16906
16907         * Fix Qt compilation.
16908
16909 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16910
16911         * paragraph.h: renamed several methods to begin with small letter.
16912         several changes to many parts of the code because of this.
16913
16914 2001-06-23  The LyX Project  <jug@sad.it>
16915
16916         * text2.C (InsertStringAsLines): renamed from InsertStringA;
16917         rewritten to discard all double spaces when KeepEmpty is off
16918         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16919         to only handle newlines but not fiddle with spaces and friends.
16920
16921         * lyxfunc.C (MenuNew): when doing 'new from template', use
16922         template_path as default directory
16923
16924 2001-06-23  The LyX Project  <Asger>
16925
16926         * Clean-up of header file includes all over
16927         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16928
16929 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16930
16931         * paragraph.h: renamed from lyxparagraph.h
16932
16933 2001-06-23  Asger  <lyx@violet.home.sad.it>
16934
16935         * Buffer.h: Removed Buffer::resize
16936         * BufferList.h: Removed BufferList::resize
16937         * LyXView.h: Added LyXView::resize. This way, we will only reflow
16938         the document lazily when we change the width, or the font settings.
16939
16940 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16941
16942         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16943
16944 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16945
16946         * buffer.h: remove out of date comment
16947
16948 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16949
16950         * lyxscreen.h:
16951         * screen.C: fix "theoretical" GC leak
16952
16953 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16954
16955         * LaTeX.C (scanAuxFile):
16956         (deplog): remove trailing \r when reading stream (useful under
16957         win32)
16958
16959 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
16960
16961         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16962         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16963         and BufferView::theLockingInset(Inset*), so should use them and not
16964         access bv_->text->the_locking_inset directly.
16965
16966         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16967
16968 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16969
16970         * Makefile.am:
16971         * tex-defs.h: remove old unused file
16972
16973 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
16974
16975         * BufferView_pimpl.C: fix typo, remove minibuffer message
16976           when buffer has loaded
16977
16978 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16979
16980         * lyxfunc.C (Dispatch): use stringstream
16981         (MenuNew): use stringstream
16982         (Open): use stringstream
16983
16984         * importer.C (Import): use stringstream
16985
16986         * bufferview_funcs.C (CurrentState): use stringstream
16987
16988         * LaTeX.C (run): use stringstream
16989
16990         * BufferView_pimpl.C (savePosition): use stringstream
16991         (restorePosition): use stringstream
16992         (MenuInsertLyXFile): use stringstream
16993
16994 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
16995
16996         * BufferView.C:
16997         * Bullet.C:
16998         * ColorHandler.C:
16999         * FontInfo.C:
17000         * FontLoader.C:
17001         * LColor.C:
17002         * LaTeXFeatures.C:
17003         * Painter.C:
17004         * gettext.C:
17005         * lyx_gui_misc.C:
17006         * lyxserver.C:
17007         * vspace.C: removed // -*- C++ -*- as first line.
17008
17009         * lyxfind.h:
17010         * version.h: added // -*- C++ -*- as first line.
17011
17012 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17013
17014         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
17015
17016         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
17017         of string
17018
17019 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17020
17021         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
17022         of floats.
17023
17024 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17025
17026         * gettext.C: include LString.h even when --disable-nls is on.
17027
17028 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
17029
17030         * converter.h (Get): changed argument type from int to
17031         FormatList::size_type to avoid unnecessary conversion.
17032
17033         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
17034         before using it.
17035
17036 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17037
17038         * gettext.h: include LString.h even when --disable-nls is on.
17039
17040 2001-06-07  Juergen Vigna  <jug@sad.it>
17041
17042         * text.C (BreakAgain): subst spaces with tabs.
17043
17044         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
17045         (resizeInsetsLyXText): set force on resizeLyXText.
17046
17047 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17048
17049         * gettext.h (gettext_init):
17050         (locale_init): use a real definition instead of a macro
17051
17052 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
17053
17054         * Bufferview_pimpl.C:
17055         * LColor.h:
17056         * LColor.C: further lcolor tidies
17057
17058 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17059
17060         * BufferView_pimpl.C (updateScrollbar): simplify.
17061
17062         * BufferView2.C: don't include insets/insetinfo.h, change
17063         prototype for insertInset and call the Pimpl version. let
17064         updateInset call Pimpl version.
17065
17066         * BufferView.h: move inset_slept to BufferView::Pimpl, move
17067         gotoInset to BufferView::Pimpl
17068
17069 2001-06-01  Juergen Vigna  <jug@sad.it>
17070
17071         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
17072         inside a LockingInset (is the update needed at all?).
17073
17074 2001-05-31  Juergen Vigna  <jug@sad.it>
17075
17076         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
17077         here not the old one otherwise how should we compare it afterwards
17078         if it's the same!
17079
17080 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17081
17082         * lyxfont.C:
17083         * tabular.C:
17084         * tabular-old.C:
17085         * FontInfo.C: bring C functions into global namespace when
17086         necessary
17087
17088 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17089
17090         * LString.h: make sure config.h has been loaded before LString.h.
17091
17092         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
17093         (one for each char read by EatLine!).
17094
17095         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
17096         variables.
17097
17098 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17099
17100         * paragraph.C (BreakParagraph): set the inset_owner in the new par
17101         to the same as the par we break from
17102
17103 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17104
17105         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
17106
17107         * MenuBackend.C (expand): also create menu entries for wide
17108         versions of the floats.
17109
17110         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
17111
17112         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
17113
17114         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
17115         frontends/Makefile.am
17116
17117         * text2.C: adjust
17118         * text.C: adjust
17119
17120
17121         * tabular.C (getTokenValue): add std::
17122
17123         * tabular-old.C (getTokenValue): add std::
17124         (getTokenValue): ditto
17125         (getTokenValue): ditto
17126
17127         * screen.C (ToggleSelection): adjust
17128
17129         * lyxtext.h: put selection cursors inside a Selection struct.
17130
17131         * lyxfunc.C (moveCursorUpdate): adjust
17132
17133         * lyxfont.C (latexWriteStartChanges): add std::
17134
17135         * lyxfind.C: adjust
17136
17137         * font.h: delete with(char const *, LyXFont const &)
17138
17139         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
17140
17141         * FontInfo.C (getFontname): add std::
17142
17143         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
17144         (workAreaButtonPress): adjust
17145         (tripleClick): adjust
17146         (update): adjust
17147         (moveCursorUpdate): adjust
17148         (Dispatch): adjust
17149
17150         * BufferView2.C (gotoInset): adjust
17151
17152 2001-05-30  Juergen Vigna  <jug@sad.it>
17153
17154         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
17155         to check pspell I add this as default as I now have new pspell
17156         libraries and they seem to use this.
17157
17158 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17159
17160         * text2.C (CutSelection): make the cursor valid before the call to
17161         ClearSelection.
17162
17163 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17164
17165         * kbsequence.C (parse): de-uglify a bit the parsing code, which
17166         relied on 0 terminated strings and other horrors. Bug found due to
17167         the new assert in lyxstring!
17168
17169         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
17170         KP_ keys.
17171
17172 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17173
17174         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
17175         to latinkeys.bind.
17176
17177         * lyxfunc.C (processKeySym): change method of getting to the
17178         self-insert char.
17179
17180         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
17181         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
17182         * BufferView_pimpl.[Ch]: here as private methods.
17183
17184 2001-05-28  Juergen Vigna  <jug@sad.it>
17185
17186         * text.C (SetHeightOfRow): added the update() call again as it is
17187         needed to initialize inset dimensions!
17188
17189 2001-05-16  Juergen Vigna  <jug@sad.it>
17190
17191         * text2.C (SetCharFont): Add new function with BufferView * and
17192         bool toggleall parameters for setting insets internal fonts.
17193         (SetFont): Freeze the undo as we may change fonts in Insets and
17194         all this change should be inside only one Undo!
17195
17196         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
17197         setting font's in insets as for them we have the SetFont function!
17198
17199 2001-05-15  Juergen Vigna  <jug@sad.it>
17200
17201         * text2.C (ClearSelection): to be sure we REALLY don't have any
17202         selection anymore!
17203
17204         * tabular.C (TeXCellPreamble): fixed the left border problem for
17205         multicolumn cells.
17206
17207 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
17208
17209         * LaTeX.C (deplog): Make sure that the main .tex file is in the
17210         dependancy file
17211
17212 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17213
17214         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
17215         LFUN_BREAKPARAGRAPH.
17216
17217         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
17218         help test to "internal only", similar for LFUN_INSERT_URL
17219
17220         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
17221         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
17222         auto_region_delete and deadkeys.
17223
17224 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
17225
17226         * LColor.h:
17227         * LColor.C: remove some dead entries, tidy a little
17228
17229 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17230
17231         * lyxfunc.C (processKeySym): comment the Escape handling, remove
17232         commented code.
17233         (Dispatch): implement LFUN_ESCAPE
17234
17235         * commandtags.h: add LFUN_ESCAPE
17236
17237         * LyXAction.C (init): add entry for LFUN_ESCAPE
17238
17239         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17240         Remove commented code.
17241         (insertNote): moved here
17242         (open_new_inset): moved here
17243
17244         * BufferView[2].[Ch]: move insertNote and open_new_inset to
17245         BufferView_pimpl
17246
17247 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17248
17249         * kbmap.C (findbinding): clean it up and make it work correctly.
17250
17251         * lyx_main.C (init): do not pass argc and argv as parameters
17252
17253 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
17254
17255         * buffer.C: fix path for OS/2 & Win32
17256
17257         * lyx_gui.C:
17258         * lyx_main:
17259         * lyx_main.C: Added os:: class.
17260
17261         * os2_defines.h: update
17262
17263 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17264
17265         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17266         better by trying again with reduced state.
17267
17268 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17269
17270         * lyxrc.C (read): print error about invalid key sequence only when
17271         debugging (because not all latinX keysyms are known to some X
17272         servers)
17273
17274         * kbsequence.C (getiso): add a few std:: qualifiers
17275         (getiso): comment out extra return statement.
17276
17277 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17278
17279         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17280         handling.
17281         (Dispatch): enhance the accent inset a bit. (not perfect)
17282
17283 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17284
17285         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17286
17287 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17288
17289         * bufferlist.C (emergencyWrite): fix assert() call
17290
17291 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
17292
17293         * text.C (InsertChar): Added trivial patch to only send the "you
17294         can not do multiple spaces this way" message once during a
17295         session.
17296
17297 2001-05-08  Baruch Even  <baruch@lyx.org>
17298
17299         * Makefile.am: Changed order of libraries to get LyX to link properly
17300         with the gnome frontend.
17301
17302 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17303
17304         * LaTeXFeatures.h: add a std:: qualifier
17305
17306 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17307
17308         * paragraph.C (String): use stringstream
17309
17310 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17311
17312         * paragraph.C (writeFile): remove footflag arg
17313
17314         * buffer.C (makeLaTeXFile): use stringstream
17315         (latexParagraphs): remove footnot gurba
17316
17317         * LaTeXFeatures.C (getPackages): use stringstream
17318         (getMacros): likewise
17319         (getTClassPreamble): likewise
17320         (getFloatDefinitions): new method
17321
17322         * paragraph.C (writeFile): reindent
17323         (Erase): reindent
17324
17325         * WorkArea.h: revert the xpos + etc changes.
17326
17327         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17328
17329         * lyxparagraph.[Ch]: add copy constructor, remove Clone
17330
17331         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17332         (pasteSelection): likewise
17333         * text2.C (CreateUndo): likewise
17334
17335 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17336
17337         * minibuffer.C (peek_event): temporarily reduce the functionality
17338         of the minibuffer (to allow args on lfuns)
17339
17340         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17341         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17342
17343         * buffer.C (readInset): add compability reading of old float
17344         lists, add reading of new style float list.
17345         (readInset): avoid reevaluation of inscmd.getCmdName()
17346         (getLists): reindent
17347
17348         * MenuBackend.C (MenuItem): implement parsing of
17349         md_floatlistinsert and md_floatinsert.
17350         (expand::LastFiles): move initalizaton of iterators out of loop,
17351         avoid reevaluation.
17352         (expand::Documents): introduce typdedef vector<string> Strings,
17353         and use it.
17354         (expand::ExportFormats): introduce typedef vector<Format const *>
17355         Formats, and use it.
17356         (expand): implement FloatListInsert and FloatInsert.
17357
17358         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17359         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17360         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17361
17362         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17363         handling.
17364         (Dispatch::LFUN_FLOAT_LIST): implement
17365
17366 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
17367
17368         * LaTeX.C (run): Fix problem with --export code.
17369
17370 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17371
17372         * BufferView.[Ch] (workarea): removed.
17373         (getClipboard) new method; wrapper for workarea()->getClipboard()
17374
17375         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17376         bug.
17377
17378         * WorkArea.h (width, height, xpos, ypos): These methods all
17379         returned the dimensions of the work_area sub-area of WorkArea,
17380         resulting in a position error if the WorkArea were resized. Now
17381         return the dimensions of the entire WorkArea.
17382
17383         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17384
17385 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17386
17387         * LaTeX.C (deplog): correct the syntax of regex reg1
17388
17389 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17390
17391         * undo.C: remove !NEW_INSETS cruft
17392
17393 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17394
17395         * text2.C: remove !NEW_INSETS cruft
17396
17397         * text.C: remove !NEW_INSETS cruft
17398
17399         * tabular.C: remove !NEW_INSETS cruft
17400
17401         * spellchecker.C: remove !NEW_INSETS cruft
17402
17403         * lyxtext.h: remove !NEW_INSETS cruft
17404
17405         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17406
17407         * lyxfunc.C: remove !NEW_INSETS cruft
17408
17409         * lyxfind.C: remove !NEW_INSETS cruft
17410
17411         * lyx_cb.C: remove !NEW_INSETS cruft
17412
17413         * figureForm.C: remove  !NEW_INSETS cruft
17414
17415         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17416
17417         * buffer.[Ch]: remove !NEW_INSETS cruft
17418
17419         * ToolbarDefaults.C: remove !NEW_INSETS cruft
17420
17421         * CutAndPaste.C: remove !NEW_INSETS cruft
17422
17423         * BufferView_pimpl.C: remove !NEW_INSETS cruft
17424
17425         * BufferView2.C: remove !NEW_INSETS cruft
17426
17427         * BufferView.h: remove !NEW_INSETS cruft
17428
17429 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17430
17431         * Lsstream.h: include LString.h before the sstream headers to
17432         fix problem with gcc 2.95.3 and lyxstring
17433
17434 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17435
17436         * lyx_main.C: add using directives when needed for C functions
17437         declared in std:: namespace.
17438
17439 2001-04-27  Juergen Vigna  <jug@sad.it>
17440
17441         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17442         (SetHeightOfRow): comment out the update call should not be needed!
17443
17444 2001-04-13  Juergen Vigna  <jug@sad.it>
17445
17446         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17447         (LyXTabular): tried to minimize operator= operations (and realized
17448         hopfully Lars wish).
17449
17450 2001-04-27  Juergen Vigna  <jug@sad.it>
17451
17452         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17453
17454 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17455
17456         * lyxfunc.C (Dispatch): hack to make listof algorithm work
17457
17458         * buffer.C (readInset): hack to make listof algorithm work
17459
17460         * BufferView_pimpl.C: hack to make listof algorithm work
17461
17462 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17463
17464         * LyXAction.C: removed all !NEW_INSETS cruft
17465         (init): moved lfun_item in method
17466
17467         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17468
17469 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17470
17471         * BufferView2.C (theLockingInset): white space.
17472
17473 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17474
17475         * minibuffer.C: include <iostream>
17476
17477         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17478
17479         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17480
17481         * commandtags.h: add LFUN_TRANSPOSE_CHARS
17482
17483         * text.[Ch] (TransposeChars): new method
17484
17485 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17486
17487         * call message directly through LyXView instead of through LyXFunc
17488         * BufferView2.C: adjust
17489         * BufferView_pimpl.C: adjust
17490         * FontLoader.C: adjust
17491         * buffer.C: adjust
17492         * bufferview_funcs.C: adjust
17493         * converter.C: adjust
17494         * figureForm.C: adjust
17495         * importer.C: adjust
17496         * lyx_cb.C: adjust
17497         * lyx_gui_misc.C: adjust
17498         * lyxfunc.C: adjust
17499         * lyxvc.C: adjust
17500         * text2.C: adjust
17501         + more files in subdirs
17502
17503         * lyxparagraph.h (size): move up int file
17504         (GetLayout): ditto
17505
17506         * adjust all uses of Assert to lyx::Assert.
17507
17508         * BufferView2.C (ChangeCitationsIfUnique): adjust for
17509         lyxfunctional in namespace lyx
17510         * layout.C (hasLayout): ditto
17511         (GetLayout): ditto
17512         (GetLayout): ditto
17513         (delete_layout): ditto
17514         (NumberOfClass): ditto
17515         * converter.C (GetFormat): ditto
17516         (GetNumber): ditto
17517         (Add): ditto
17518         (Delete): ditto
17519         (SetViewer): ditto
17520         * bufferlist.C (getFileNames): ditto
17521         (emergencyWriteAll): ditto
17522         (exists): ditto
17523         (getBuffer): ditto
17524         * MenuBackend.C (hasSubmenu): ditto
17525         (hasMenu): ditto
17526         (getMenu): ditto
17527         * BufferView_pimpl.C (getInsetByCode): ditto
17528
17529 2001-04-18  Juergen Vigna  <jug@sad.it>
17530
17531         * vspace.C (asLatexString): fixed the 100% problem.
17532
17533 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17534
17535         * lyxfunc.C (Dispatch):
17536         * minibuffer.C:
17537         * minibuffer.h: add a few std:: qualifiers
17538
17539 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17540
17541         * minibuffer.[Ch]: reimplement so that commands is initiated and
17542         run from lyxfunc, simplified som handling, and made the completion
17543         and history code for complete. wip.
17544
17545         * lyxfunc.C (processKeySym): call message
17546         (miniDispatch): new temporary method
17547         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17548         (LFUN_MESSAGE): implement
17549         (LFUN_MESSAGE_PUSH): implement
17550         (LFUN_MESSAGE_POP): implement
17551         (initMiniBuffer): the initial/defualt minibuffer message.
17552
17553         * lyxfont.[Ch]: inline some more getters
17554
17555         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17556
17557         * lyx_gui_misc.[Ch] (WriteStatus): remove method
17558
17559         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17560         (AutoSave): use LFUN_MESSAGE
17561         (Reconfigure): ditto
17562
17563         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17564
17565         * figureForm.C: use LFUN_MESSAGE
17566
17567         * converter.C (runLaTeX): use LFUN_MESSAGE
17568
17569         * bufferview_funcs.C: use LFUN_MESSAGE
17570         (Melt): ditto
17571         (changeDepth): ditto
17572
17573         * bufferparams.h: use boost::
17574
17575         * bufferlist.h: inherit privately from noncopyable
17576
17577         * bufferlist.C (loadLyXFile): remove some commented code.
17578
17579         * buffer.C (runChktex): use LFUN_MESSAGE
17580
17581         * ShareContainer.h: inherit privately from noncopyable
17582
17583         * ParagraphParameters.[hC] (depth): inline it.
17584
17585         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17586         methods.
17587         (message): new method
17588         (messagePush): ditto
17589         (messagePop): ditto
17590         (show): init minibuffer
17591         (showState): direct call
17592
17593         * LaTeX.[Ch]: inherit privately from noncopyable
17594         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17595         instead of WriteStatus.
17596
17597         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17598
17599         * BufferView_pimpl.C (buffer): don't init minibuffer
17600         (workAreaButtonPress): use LFUN_MESSAGE
17601         (workAreaButtonRelease): ditto
17602         (savePosition): ditto
17603         (restorePosition): ditto
17604         (MenuInsertLyXFile): ditto
17605         (workAreaExpose): don't init minibuffer
17606         (update): remove commented code, simplify
17607
17608         * BufferView2.C (openStuff): use LFUN_MESSAGE
17609         (toggleFloat): ditto
17610         (menuUndo): ditto
17611         (menuRedo): ditto
17612         (copyEnvironment): ditto
17613         (pasteEnvironment): ditto
17614         (copy): ditto
17615         (cut): ditto
17616         (paste): ditto
17617         (gotoInset): ditto
17618         (updateInset): remove some commented code
17619
17620         * lastfiles.h: inherit privately from noncopyable
17621         * layout.h: ditto
17622         * lyx_gui.h: ditto
17623         * lyx_main.h: ditto
17624         * lyxlex.h: ditto
17625         * lyxlex_pimpl.h: ditto
17626
17627         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17628         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17629         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17630
17631         * LyXAction.h: inherit privately from noncopyable, add methods
17632         func_begin, func_end, returning iterators to the func map.
17633
17634         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17635         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17636         (func_begin): new method
17637         (func_end): new method
17638
17639         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17640         and not)
17641         (copySelection): ditto
17642         (pasteSelection): ditto
17643
17644         * BufferView.C: whitespace change
17645         * BufferView.h: inherit privately from noncopyable
17646
17647 2001-04-16  Allan Rae  <rae@lyx.org>
17648
17649         * tabular-old.C (l_getline):
17650         * spellchecker.C (sc_check_word):
17651         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17652         an unrecognised preprocessor directive.  So ensure they're wrapped.
17653
17654 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
17655
17656         * src/exporter.C (Export): Give an error message when path to file
17657         contains spaces.
17658
17659 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
17660
17661         * LaTeX.C (deplog): Always check that foundfile exists.
17662
17663 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17664
17665         * lyx_main.h:
17666         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17667
17668 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17669
17670         * tabular.[Ch] (getLabelList): implement new method
17671
17672         * minibuffer.h: comment ouf setTiimer
17673
17674         * minibuffer.C (ExecutingCB): constify res
17675         (peek_event): constify s
17676         (Set): constify ntext
17677         (Init): constify nicename
17678
17679         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17680
17681         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17682         (savePosition): use two params to Minibuffer::Set
17683         (restorePosition): ditto
17684
17685 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17686
17687         * lyx_main.C: include language.h
17688
17689         * Makefile.am (lyx_main.o): add language.h
17690
17691 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17692
17693         * exporter.C:
17694         * paragraph.C:
17695         * screen.C:
17696         * tabular.C:
17697         * CutAndPaste.C: include gettext.h
17698
17699         * lyxfont.h: remove old hack with ON and OFF.
17700
17701         * lyxparagraph.h:
17702         * lyxfont.h: do not include language.h...
17703
17704         * BufferView2.C:
17705         * LaTeXFeatures.C:
17706         * Painter.C:
17707         * bufferview_funcs.C:
17708         * font.C:
17709         * lyxfont.C:
17710         * text.C:
17711         * text2.C:
17712         * trans_mgr.C:
17713         * paragraph.C: ... but do it here instead
17714
17715 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17716
17717         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17718
17719         * tabular.C: small reformat
17720
17721         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17722         NEW_INSETS version
17723         (GetChar): ditto
17724         (BreakParagraph): ditto
17725         (SetOnlyLayout): ditto
17726         (SetLayout): ditto
17727
17728         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17729         with one arg less.
17730
17731         * lastfiles.C: removed most using decl, add std:: where needed
17732
17733         * buffer.C: ws changes
17734
17735         * MenuBackend.C (class compare_format): put into anon namespace
17736         (expand): constify label, names, action, action2
17737         (expand):
17738
17739         * text.C (SingleWidth): constify font
17740         (IsBoundary): constify rtl2
17741         (GetVisibleRow): constify ww
17742
17743         * LaTeX.C (deplog): constify logfile
17744
17745         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17746         start_x, end_x
17747         (workAreaExpose): constify widthChange, heightChange
17748
17749         * lyxrow.C (par): moved
17750         (height): moved
17751         (next): moved
17752         * lyxrow.h: as inlines here
17753
17754         * lyxfont.h (shape): moved from lyxfont.C
17755         (emph): moved from lyxfont.C
17756
17757         * lyxfont.C (LyXFont): use initialization list for all
17758         constructors
17759         (shape): move to lyxfont.h as inline
17760         (emph): move to lyxfont.h as inline
17761
17762
17763 2001-04-04  Juergen Vigna  <jug@sad.it>
17764
17765         * vspace.C: had to include stdio.h for use of sscanf
17766
17767 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
17768
17769         * BufferView.h:
17770         * BufferView_pimpl.h: remove xforms cruft. Both classes are
17771         independent of xforms.
17772
17773 2001-04-02  Juergen Vigna  <jug@sad.it>
17774
17775         * spellchecker.C: fixed namespace placing!
17776
17777 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
17778
17779         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17780         the LyXParagraph * is 0.
17781
17782 2001-03-29  Juergen Vigna  <jug@sad.it>
17783
17784         * vspace.C: added support for %, c%, p%, l%.
17785         (stringFromUnit): added helper function.
17786         (asLatexString): changed to give right results for the %-values.
17787
17788         * buffer.C: convert the widthp in a width%.
17789
17790 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
17791
17792         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17793         figureForm.[Ch].
17794
17795         * figureForm.[Ch]: stripped the FD_from_figure manipulation
17796         code out of lux_cb.[Ch], ready for its (imminent?) removal.
17797
17798         * lyx_cb.[Ch]: see above.
17799
17800         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17801         form1.[Ch].
17802
17803         * form1.[Ch]:
17804         * lyx.[Ch]: replaced by figure_form.[Ch].
17805
17806         * lyx_gui.C:
17807         * lyx_gui_misc.C:
17808         * lyxfunc.C: changed headers associated with above changes.
17809
17810 2001-03-27  Juergen Vigna  <jug@sad.it>
17811
17812         * BufferView_pimpl.C: set the temporary cursor right!
17813
17814 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
17815
17816         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17817
17818 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
17819
17820         * LString.h: removed "using std::getline"!
17821
17822         * BufferView_pimpl.C (Dispatch): changes due to changes in
17823         InsetInclude::Params.
17824
17825         * buffer.C (tag_name): removed redundant break statements as they were
17826         producing lots of warnings with my compiler.
17827
17828 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17829
17830         * LString.h: add "using std::getline" when using the real <string>.
17831
17832 2001-03-23  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17833
17834         * buffer.C: removed bitset usage.
17835         PAR_TAG moved to an anonymous name space.
17836         (tag_name): new funtion, also in the anonymous namespace.
17837         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17838         (makeDocBookFile): clean code. Completed transition from string arrays
17839         to string vectors.
17840         (SimpleDocBookOnePar): code clean.
17841
17842 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17843
17844         * tabular.C: add some comments.
17845
17846 2001-03-22  Juergen Vigna  <jug@sad.it>
17847
17848         * buffer.C (parseSingleLyXformat2Token): redone the minipage
17849         compatibility read a bit and fixed bug with minipage in different
17850         depth.
17851
17852 2001-03-21  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17853
17854         * buffer.C (pop_tag): removed.
17855         (push_tag): removed.
17856         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17857         array replaced with vector. Added support for CDATA sections.
17858         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17859         at any nest level.
17860         (makeDocBookFile): XML conformant declaration of CDATA section,
17861         fixed bug related to <emphasis> in the first paragraph char.
17862         (sgmlOpenTag): exclude empty tags.
17863         (sgmlCloseTag): ditto.
17864
17865         * buffer.h (pop_tag): removed.
17866         (push_tag): removed.
17867
17868 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
17869
17870         * language.h (Languages): added size_type and size().
17871
17872 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17873
17874         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17875         response on compability reading of minipages. One probliem is that
17876         the old usage of minipages was flertydig
17877
17878         * several files here and in subdirs: don't use static at file
17879         scope use anon namespaces instead.
17880
17881 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
17882
17883         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17884         LaTeX output. This is necessary for Literate document
17885         processing.
17886
17887 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17888
17889         * buffer.C: insert hfill when needed.
17890
17891         * tabular.C (l_getline): use string::erase, small whitespace change.
17892
17893         * BufferView_pimpl.C: try the anon namespace.
17894         * WorkArea.C: ditto
17895
17896 2001-03-16  Juergen Vigna  <jug@sad.it>
17897
17898         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17899         otherwise it won't open options-dialogs.
17900
17901         * buffer.C: honor pextraWidth(p) on converting minipages.
17902
17903         * tabular.C (l_getline): changed the functions to strip trailing \r.
17904
17905 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
17906
17907         * BufferView_pimpl.C:
17908         * minibuffer..C: added "using SigC::slot" declaration.
17909
17910 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17911
17912         * lyxlex_pimpl.h: noncopyable is in namespace boost.
17913
17914         * text2.C: ditto
17915
17916         * text.C: ditto
17917
17918         * paragraph.C: ditto
17919
17920         * lyxtext.h: NO_PEXTRA
17921
17922         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17923
17924         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17925         * ParameterStruct.h: ditto
17926         * ParagraphParameters.h: ditto
17927         * lyxparagraph.h: ditto
17928
17929 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17930
17931         * buffer.C: add compability for minipage alignment.
17932         (latexParagraphs): remove unwanted pextra check.
17933
17934         * several files: remove CXX_WORKING_NAMESPACES
17935
17936         * buffer.C (pop_tag): tie is in namespace boost
17937
17938         * BufferView.h: noncopyable is in namespace boost
17939         * lyxlex.h: ditto
17940         * lyx_main.h: ditto
17941         * lyx_gui.h: ditto
17942         * layout.h: ditto
17943         * lastfiles.h: ditto
17944         * bufferlist.h: ditto
17945         * ShareContainer.h: ditto
17946         * LyXView.h: ditto
17947         * LyXAction.h: ditto
17948         * LaTeX.h: ditto
17949
17950 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17951
17952         * Merging changes from BRANCH_MVC back into HEAD.
17953
17954         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17955
17956 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
17957
17958         * BufferView_pimpl.C: change from intl.C
17959
17960         * combox.h:
17961         * combox.C:
17962         * Makefile.am: move combox.*
17963
17964         * form1.h:
17965         * form1.C:
17966         * lyx_gui.C:
17967         * intl.h:
17968         * intl.C: remove dialog (covered by prefs)
17969
17970 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17971
17972         * lyxfunc.C (Dispatch): removed redundant break statement.
17973
17974 2001-03-14  Juergen Vigna  <jug@sad.it>
17975
17976         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17977
17978 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17979
17980         * buffer.C: add hack to fix compability reading of minipages.
17981
17982 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
17983
17984         * buffer.C (getLists): Cleanup.
17985
17986 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17987
17988         * lyxfont.C (update): don't honor toggleall on font size.
17989
17990 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
17991
17992         * bmtable.c:
17993         * bmtable.h:
17994         * Makefile.am: moved to frontends/xforms/
17995
17996         * lyx_gui_misc.C:
17997         * lyxfunc.C:
17998         * BufferView_pimpl.C: changes for moved mathpanel
17999
18000 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
18001
18002         * gettext.h: fix gettext_init() in --disable-nls
18003
18004 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18005
18006         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
18007
18008 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
18009
18010         * lyx.C:
18011         * lyx.h: strip external form
18012
18013 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
18014
18015         * BufferView_pimpl.C: add comment, destroySplash()
18016
18017 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
18018
18019         * BufferView_pimpl.C:
18020         * LyXAction.C:
18021         * buffer.C:
18022         * commandtags.h:
18023         * lyxfunc.C: use re-worked insetinclude
18024
18025 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18026
18027         * buffer.C: add using std::stringstream.
18028
18029         * lyx_cb.C: readd using std::ios.
18030
18031         * buffer.C: add using std::map.
18032
18033         * BufferView_pimpl.C: add using std::vector.
18034
18035         * ShareContainer.h: add std:: to swap.
18036
18037         * buffer.h: add some typedefs
18038         * buffer.C (getLists): use them
18039         (getLists): renamed from getTocList.
18040         add a counter for the different float types and use it in the
18041         generated string.
18042         (getLists): use the same counter for the NEW_INSETS and the "non"
18043         NEW_INSETS
18044
18045         * lyx_cb.h: remove unused items, includes, using etc.
18046
18047         * ShareContainer.h: remove some commented code, add more comments
18048         and "documentation".
18049
18050 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18051
18052         * buffer.C (getTocList): make the list also when NEW_INSETS is
18053         defined.
18054
18055         * buffer.h: remove TocType
18056
18057         * buffer.C (getTocList): change to return a map<string,
18058         vector<TocItem> >, implement for dynamic number of list.
18059
18060         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
18061         * text2.C (PasteSelection): adjust
18062         * CutAndPaste.C (pasteSelection): adjust
18063
18064         * FloatList.C (FloatList): update from the new_insets branch.
18065         * Floating.[Ch]: ditto
18066         * LaTeXFeatures.C: ditto
18067         * buffer.C: ditto
18068         * lyxlex_pimpl.C: ditto
18069
18070         * paragraph.C (Last): remove when NEW_INSETS is defined.
18071
18072         * other file: changes because of the above.
18073
18074 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18075
18076         * lyxparagraph.h: rename next to next_, previous to previous_,
18077         make them private for NEW_INSETS. Rename Next() to next(),
18078         Previous() to previous().
18079
18080         * other files: changes because of the above.
18081
18082 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
18083
18084         * BufferView.h:
18085         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
18086         problem.
18087
18088 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18089
18090         * main.C (main): pass lyx_localedir to gettext_init().
18091
18092         * gettext.h: remove locale_init and gettext_init macros
18093
18094         * gettext.C (locale_init): new function
18095         (gettext_init): new function
18096
18097         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
18098         setlocale().
18099
18100 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
18101
18102         * Moved credits to frontends:
18103         * credits.[Ch]: removed
18104         * credits_form.[Ch]: removed
18105         * lyx_gui_misc.C: remove credits stuff
18106         * Makefile.am:
18107
18108 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18109
18110         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
18111
18112         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
18113         unneeded destructor.
18114
18115         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
18116         a standalone pointer again.
18117
18118         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
18119
18120 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
18121
18122         * Makefile.am:
18123         * filedlg.h:
18124         * filedlg.C:
18125         * LyXAction.C:
18126         * ToolbarDefaults.C:
18127         * bufferlist.C:
18128         * commandtags.h:
18129         * form1.C:
18130         * form1.h:
18131         * lyx_cb.C:
18132         * lyx_cb.h:
18133         * lyxfunc.h:
18134         * lyxfunc.C:
18135         * BufferView_pimpl.C: use new file dialog in GUII
18136
18137         * lyx_cb.h:
18138         * lyx_cb.C: remove LayoutsCB to Toolbar
18139
18140 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18141
18142         * ShareContainer.h (get): add std:: qualifier
18143
18144 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18145
18146         * ShareContainer.h: define a proper ShareContainer::value_type
18147         type (and use typename to please compaq cxx)
18148
18149 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18150
18151         * lyxparagraph.h: move serveral local vars to
18152         ParameterStruct/ParagraphParameters., use ShareContainer in
18153         FontTable., make vars in FontTable private and add getter and
18154         setter.
18155
18156         * paragraph.C: changes because of the above.
18157
18158         * lyxfont.h: remove copy constructor and copy assignment. (the
18159         default ones is ok), move number inside FontBits. move inlines to
18160         lyxfont.C
18161
18162         * lyxfont.C: add number to initializaton of statics, move several
18163         inlines here. constify several local vars. some whitespace
18164         cleanup. Dont hide outerscope variables.
18165
18166         * Spacing.h: add two new constructors to match the set methods.
18167
18168         * ShareContainer.h: new file, will perhaps be moved to support
18169
18170         * ParameterStruct.h: new file
18171
18172         * ParagraphParameters.h: new file
18173
18174         * ParagraphParameters.C: new file
18175
18176         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
18177         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
18178
18179         * BufferView_pimpl.C: ParagraphParameter changes.
18180         * buffer.C: Likewise.
18181         * bufferview_funcs.C: Likewise.
18182         * text.C: Likewise.
18183         * text2.C: Likewise.
18184
18185 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18186
18187         * lyxfind.C (LyXReplace): do not redefine default argument in
18188         implementation.
18189         (IsStringInText): ditto
18190         (SearchForward): ditto
18191         (SearchBackward): ditto
18192
18193 2001-03-06  Juergen Vigna  <jug@sad.it>
18194
18195         * lyxfind.C (IsStringInText): put parentes around expressions.
18196
18197 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
18198
18199         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
18200
18201 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
18202
18203         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
18204
18205         * stl_string_fwd.h: add comment
18206
18207         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
18208
18209         * tabular.h:
18210         * tabular.C: remove unused DocBook methods
18211
18212         * intl.C:
18213         * language.C:
18214         * paragraph.C:
18215         * buffer.C:
18216         killed DO_USE_DEFAULT_LANGUAGE
18217
18218 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18219
18220         * lyx_gui.C: do not include language.h.
18221
18222         * bufferview_funcs.C (ToggleAndShow): do not provide optional
18223         arguments in function implementation.
18224
18225 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18226
18227         * BufferView_pimpl.C: add <ctime>
18228
18229 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18230
18231         * BufferView_pimpl.C: add using std::find_if
18232
18233 2001-02-27  José Matos  <jamatos@fep.up.pt>
18234
18235         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18236         by OnlyPath.
18237
18238 2001-02-11  José Matos  <jamatos@fep.up.pt>
18239
18240         * buffer.C (makeDocBookFile): command styles now have a parameter as
18241         "title" by default.
18242
18243 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
18244
18245         * layout_forms.[Ch]: removed
18246         * lyx_cb.[Ch]: out character
18247         * lyx_gui.C: out character
18248         * lyx_gui_misc.C: out character
18249         * bufferview_funcs.C: : out character,
18250         added toggleall as parameter in ToggleAndShow
18251
18252 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
18253
18254         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18255
18256         * text2.C (SetCurrentFont): Disable number property at boundary.
18257
18258 2001-02-26  Juergen Vigna  <jug@sad.it>
18259
18260         * lyxfunc.C (getStatus): added a string argument override function so
18261         that this is correctly called from LyXFunc::Dispatch if it contains a
18262         do_not_use_argument which is used!
18263         (Dispatch): added check for "custom" export and call appropriate func.
18264
18265 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
18266
18267         * lyxrc.C: Add language_command_local, language_use_babel and
18268         language_global_options.
18269
18270         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18271
18272         * buffer.C (makeLaTeXFile): Use language_use_babel and
18273         language_global_options.
18274
18275 2001-02-23  Juergen Vigna  <jug@sad.it>
18276
18277         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18278         which works with LyXText and putted it inside BufferView. Here now we
18279         only call for that part the BufferView::Dispatch() function.
18280
18281         * BufferView.C (Dispatch): added.
18282
18283         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18284         functions which needs to use a LyXText over from LyXFunc.
18285         (MenuInsertLyXFile): added
18286         (getInsetByCode): added
18287         (moveCursorUpdate): added
18288         (static TEXT): added
18289
18290 2001-02-22  Juergen Vigna  <jug@sad.it>
18291
18292         * BufferView_pimpl.C (update): call a status update to see if LyXText
18293         needs it.
18294
18295 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18296
18297         * vc-backend.C (revert): implement for CVS
18298         (getLog): implement for CVS
18299
18300 2001-02-20  Juergen Vigna  <jug@sad.it>
18301
18302         * text2.C (ClearSelection): added BufferView param for inset_owner call
18303
18304         * lyxfunc.C (TEXT): added this function and use it instead of
18305         directly owner->view()-text of getLyXText().
18306
18307 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
18308
18309         * src/layout_forms.C: out preamble
18310         * src/layout_forms.h: out preamble
18311         * src/lyx_cb.C: out preamble
18312         * src/lyx_cb.h: out preamble
18313         * src/lyx_gui.C: out preamble
18314         * src/lyx_gui_misc.C: out preamble
18315         * src/lyxfunc.C: connect with guii preamble
18316
18317 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
18318
18319         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18320
18321 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
18322
18323         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18324         whether to run bibtex.
18325
18326 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
18327
18328         * Makefile.am (lyx_SOURCES): Remove BackStack.h
18329
18330 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
18331
18332         * Makefile.am (lyx_SOURCES): removed bibforms.h
18333
18334         * vspace.h: doxygen
18335
18336         * text.C (GetVisibleRow): make several local vars const
18337
18338         * tabular.C: small cleanup.
18339
18340         * lyxserver.C (callback): use compare instead of strncmp
18341
18342         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18343         inlines to after class or to paragraph.C
18344
18345         * lyxfont.h: remove friend operator!=
18346
18347         * converter.h: move friend bool operator< to non friend and after
18348         class def.
18349
18350         * combox.h: small cleanup
18351
18352         * buffer.h: doxygen, remove unused constructor, move inclas inlies
18353         to inlines after class def.
18354
18355         * buffer.C (pop_tag): use string operations instead of strcmp
18356
18357         * bmtable.c: doxygen, small cleanup
18358
18359         * LaTeX.h: remove friend operator==
18360
18361 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
18362
18363         * screen.C:
18364         * lyxrc.[Ch]:
18365         * lyxfunc.C:
18366         * lyxfont.[Ch]:
18367         * lyx_cb.C:
18368         * intl.[Ch]:
18369         * commandtags.h:
18370         * buffer.C:
18371         * WorkArea.[Ch]:
18372         * LyXAction.C:
18373         * BufferView_pimpl.C:
18374         * BufferView.[Ch]: remove cruft
18375
18376 2001-02-14  Juergen Vigna  <jug@sad.it>
18377
18378         * lyxfunc.C: removed #if 0 unused code
18379
18380         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18381
18382         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18383
18384         * text2.C (SetSelection): added a BufferView * parameter
18385
18386 2001-02-13  Juergen Vigna  <jug@sad.it>
18387
18388         * lyxfunc.C (Dispatch): fixed protected blank problem.
18389         * BufferView2.C (protectedBlank): added LyxText * parameter.
18390
18391         * tabular.C (AppendRow): forgot to set row_info of newly added row.
18392         (AppendColumn): same as above for column_info.
18393
18394         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18395         (moveCursorUpdate): use a LyXText param for support of InsetText.
18396
18397         * BufferView_pimpl.C (doubleClick): added support for InsetText.
18398         (tripleClick): ditto
18399
18400         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18401
18402         * BufferView_pimpl.C (update): added LyXText param to honor insets.
18403
18404         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18405
18406         * text2.C (SetSelection): set correct update status if inset_owner
18407         (ToggleFree): ditto
18408
18409 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
18410
18411         * tabular.C: remove some commented code.
18412
18413 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
18414
18415         * BufferView_pimpl.C: call hideSplash()
18416
18417         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18418
18419         * include_form.h:
18420         * bibforms.h: remove
18421
18422         * lyxfunc.C:
18423         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18424           add LFUN_CHILD_CREATE
18425
18426         * counters.h: fix tiny typo
18427
18428         * lyx_cb.C:
18429         * lyx.h:
18430         * lyx_gui.C:
18431         * lyx.C: move splash to frontends/xforms/
18432
18433         * lyx_gui_misc.C: move Include and Bibform to frontends
18434
18435         * lyxvc.h: clarify comment
18436
18437         * vspace.C: tiny housekeeping
18438
18439 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
18440
18441         * text.C (PrepareToPrint): RTL Fix.
18442
18443         * paragraph.C (GetUChar): New method.
18444         (String):  Use GetUChar.
18445
18446         * buffer.C (asciiParagraph): Use GetUChar.
18447
18448 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
18449
18450         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18451
18452 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
18453
18454         * buffer.h:
18455         * buffer.C: rename to getLogName(), handle
18456           build log / latex log nicely
18457
18458 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18459
18460         * MenuBackend.C:
18461         * MenuBackend.h: remove support for reference menuitem type.
18462
18463 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
18464
18465         * BufferView_pimpl.C: housekeeping
18466         * BufferView_pimpl.h:
18467         * LyXView.h:
18468         * Makefile.am:
18469         * Timeout.C:
18470         * Timeout.h:
18471         * minibuffer.h: move Timeout GUI-I
18472
18473 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
18474
18475         * lyxrc.C (read): Update converters data-structures.
18476
18477 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
18478
18479         * LaTeX.h (operator!=): add operator != for Aux_Info
18480
18481 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
18482
18483         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18484
18485         * LaTeXLog.C: deleted, useful code moved to Buffer
18486
18487         * buffer.h:
18488         * buffer.C: new function getLatexLogName()
18489
18490         * lyx_gui_misc.C:
18491         * lyx_gui.C:
18492         * lyxvc.C:
18493         * lyxvc.h:
18494         * lyxfunc.C: use frontends for LaTeX and VC logs
18495
18496 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18497
18498         * LaTeX.h: yet another std:: that Allan forgot.
18499
18500         * Variables.C (set): renamed from isset(), because this clashes
18501         with some HP-UX macros (grr).
18502
18503 2001-02-06  Allan Rae  <rae@lyx.org>
18504
18505         * LaTeX.h: Another bug fix.  Missing std:: this time.
18506
18507 2001-02-04  Allan Rae  <rae@lyx.org>
18508
18509         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18510         floats problem. I've left it commented out because it's not quite
18511         correct.  It should also test that the current object is a table or
18512         figure inset.  But I haven't gotten around to figuring out how to do
18513         that.  I *think* it'll be something like: "table" == inset.type()
18514
18515         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18516         bool.
18517
18518 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
18519
18520         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18521         all the citation/databases/styles in the auxilary file.
18522         (run): Rerun latex if there was a babel language error.
18523
18524 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
18525
18526         * text.C (Backspace): Preserve the font when changing newline char
18527         with a space.
18528         (BreakParagraph): If the cursor is before a space, delete the space.
18529
18530         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18531
18532 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
18533
18534         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18535         new argument (code).
18536         (ChangeCitationsIfUnique): New method.
18537
18538         * paragraph.C (GetPositionOfInset): Handle bibkey.
18539
18540 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18541
18542         * BufferView_pimpl.h: change type of Position::par_pos to
18543         LyXParagraph::size_type.
18544
18545 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
18546
18547         * BufferView_pimpl.C (savePosition, restorePosition): Write
18548         messages to minibuffer.
18549
18550 2001-01-28  José Matos  <jamatos@fep.up.pt>
18551
18552         * buffer.C (makeDocBookFile): adds support for document language.
18553         A silly restriction on the name of LatexCommand types where removed.
18554         Added support for CDATA sections, allows to chars unescaped, used
18555         among others in code, to avoid escape < and >.
18556
18557 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18558
18559         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18560         saved positions instrad of a stack. Furthermore, a position is
18561         stored using paragraph id/paragraph position.
18562
18563         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18564         Remove LFUN_REF_BACK.
18565
18566 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18567
18568         * converter.C (dvipdfm_options): New method.
18569
18570 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
18571
18572         * vspace.C (isValidLength): Fix for empty input string.
18573
18574 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18575
18576         * LyXAction.C (init): change description of LFUN_FIGURE to
18577         "Insert Graphics"
18578
18579 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18580
18581         * LaTeX.C: add using directive
18582
18583 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18584
18585         * MenuBackend.C (expand): Fix the sorting of the formats.
18586
18587 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
18588
18589         * lyx_main.C: tiny error message fix
18590
18591 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18592
18593         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18594         calling fl_initialize(). This fixes the problem with ',' as
18595         decimal separator in text files.
18596
18597 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18598
18599         * trans.C (process): Fix the keymap bug.
18600
18601 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
18602
18603         * LaTeX.C (scanAuxFiles): New method. Provides support for
18604         multiple bibliographies (when using the bibtopic/bibunits pacakges).
18605         (scanLogFile) Scan for "run BibTeX" messages.
18606
18607         * buffer.C (makeLaTeXFile): Do not load the ae package when using
18608         OT1 font encoding. Also, load the aecompl package if the ae
18609         package is loaded.
18610
18611         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18612
18613 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18614
18615         * texrow.C (increasePos): turn two error messages into debug
18616         messages.
18617
18618 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
18619
18620         * LaTeX.C (scanAux): Handle the \@input macro.
18621         (runBibTeX): Use scanAux().
18622
18623         * language.C (latex_options_): New field.
18624
18625         * LaTeXFeatures.C (getMacros): Add language macros.
18626
18627         * buffer.C (makeLaTeXFile): Small fix.
18628
18629 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18630
18631         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18632
18633         * text2.C: add a using directive.
18634
18635 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
18636
18637         * BufferView2.C:
18638         * lyx_gui_misc.h:
18639         * lyxfr1.C:
18640         * lyxfunc.C: kill LyXBell.
18641
18642 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
18643
18644         * text.C (IsBoundary): Remove the error message
18645
18646         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18647
18648         * lyxrc.C (setDefaults): Correct initialization value for
18649         font_norm_type.
18650
18651 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
18652
18653         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18654         gotoError().
18655
18656         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18657         and GotoNextNote().
18658
18659         * src/LyXAction.C: Added reference-next.
18660
18661         * text.C (InsertChar): Use contains instead of strchr.
18662
18663         * lyx_cb.C (MenuInsertLabel): Enable default value code.
18664
18665 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
18666
18667         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18668         alignment commands (when needed).
18669
18670         * text.C (InsertChar): Add ':' to number separator chars.