]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
2d595aed44d550e879ee6afe9b06c2462db865ea
[lyx.git] / src / ChangeLog
1 2006-01-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2
3         * rowpainter.C (isCursorOnRow): do not exclude endpos().
4
5 2006-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6
7         * cursor.C (macroModeClose): returns true if an inset actually got
8         inserted; revert faulty fix to bug 2034.
9
10 2006-01-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11
12         * tabular.C (getLabelList): remove (not used anymore).
13
14 2006-01-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
15
16         * outputparams.[Ch]: add new flag inComment
17
18 2006-01-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
19
20         * text2.C (deleteEmptyParagraphMechanism): since we delete a
21         paragraph, recordUndo should span two paragraphs (bug 2155).
22
23 2006-01-01  Martin Vermeer  <martin.vermeer@hut.fi>
24
25         * rowpainter.C (paintPar): always repaint the row with the
26         cursor in it
27
28 2006-01-01  Lars Gullik Bjønnes <larsbj@gullik.net>
29
30         * MenuBackend.h: 
31         * bufferlist.h: 
32         * lyxtext.h: 
33         * paragraph.h:
34         * vspace.h: fix syntax error
35
36 2005-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
37
38         * text3.C (dispatch): Force refresh if typing into inset changes its
39                               metrics
40
41 2005-12-30  Martin Vermeer  <martin.vermeer@hut.fi>
42
43         * RowList_fwd.h:
44         * paragraph.C:
45         * paragraph.h:
46         * rowpainter.C: Speed up rendering by only re-painting rows that
47         have changed. When selection or whole-screen update active, all rows
48         are repainted, as are all rows within insets.
49
50 2005-12-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
51
52         * version.C.in: Use PACKAGE_VERSION instead of VERSION
53
54 2005-12-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
55
56         * tabular.C (toggleFixedWidth): Use default layout of text class
57         instead of hardcoded "Standard"
58
59 2005-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
60
61         * lyxfunc.C (dispatch): do not call getStatus again to determine
62         whether a lfun is disabled (bug 2172).
63
64 2005-12-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
65
66         * cursor.C (macroModeClose): set the cursor inside the new math
67         atom if relevant (think \frac{}{}) (bug 2034)
68
69 2005-12-19  Martin Vermeer  <martin.vermeer@hut.fi>
70
71         * lyxtext.h:
72         * text.C:
73         * text3.C (Delete, backspace): force update when merging paragraphs
74
75 2005-12-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
76
77         * BufferView.C (mouseSetCursor): clear the selection properly (bug
78         2163). 
79
80 2005-12-08  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
81
82         * text.C (redoParagraph): honor inset->noFontChange()
83         * rowpainter.C (paintInset): ditto
84
85 2005-12-15  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
86
87         * lyx_main.C (priv_exec): don't initialize Math on startup 
88         (initMath() has been moved to math_hullinset).
89
90 2005-12-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
91
92         * lyxrc.C: set default_papersize to PAPER_DEFAULT;
93         handle PAPER_DEFAULT in LyXRC::read and LyXRC::write (bug 2148).
94         * paper.h: dispose dead PAPER_PACKAGES enum.
95
96 2005-12-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
97
98         * Makefile.am (OTHERLIBS): add SOCKET_LIBS in case we compile
99         without X support.
100
101 2005-12-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
102
103         * exporter.C (Export): Don't try to copy a file if it does not exist
104         (bug 1888)
105
106 2005-12-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
107
108         * text2.C (makeFontEntriesLayoutSpecific): remove.
109         (setLayout): adapt.
110
111         * text.C (insertChar): remove bogus caching of fonts (did not do
112         anything). 
113
114         * text2.C (LyXText): initialize current_font to ALL_INHERIT (was
115         ALL_SANE). (bug 2146)
116
117 2005-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
118
119         * rowpainter.C (paintFirst): fix centering of
120         LABEL_CENTERED_TOP_ENVIRONMENT. 
121
122 2005-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
123
124         * BufferView.C (mouseSetCursor): new method. Calls
125         deleteEmptyParagraphMechanism if necessary.
126
127         * lyxtext.h: make deleteEmptyParagraphMechanism public.
128
129         * text3.C (dispatch/LFUN_MOUSE_PRESS): use
130         BufferView::mouseSetCursor (bug 2109).
131         (dispatch/LFUN_PASTE): remove #warning that is now irrelevant.
132
133 2005-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>  
134
135         * text3.C (dispatch/LFUN_INDEX_INSERT): when a selection is set,
136         do not remove it (this inset behaves differently from the others).
137
138 2005-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
139
140         Fix bug 2096.
141         
142         * BufferView_pimpl.C (getStatus): it is only possible to insert a
143         file in a text inset.
144
145         * buffer.C (readDocument): remove pit argument and code releated
146         to it; set the inset owner correctly (unrelated, but useful).
147         (readFile): get rid of pit argument.
148
149         * CutAndPaste.C (pasteSelectionHelper): use a ParagraphList and a
150         textclass instead of a selection index.
151         (pasteParagraphList): new function.
152         (pasteSelection): make it a wrapper around pasteParagraphList.
153
154         * BufferView_pimpl.C (MenuInsertLyXFile): use
155         cap::pasteParagraphList to insert a file.
156
157 2005-11-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
158
159         * buffer_funcs.C (bufferErrors): prevent endless loop (bug 2121)
160
161 2005-11-17  Michael Gerz  <michael.gerz@teststep.org>
162
163         * exporter.C: fix typo in text message
164
165 2005-11-28  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
166
167         * text2.C (setLayout): move recUndo call to other setLayout method
168         * tabular.C (toggleFixedWidth): new, handle cell width changes
169         * tabular.C (setColumnPWidth): move some code from insettabular.C here
170         and use toggleFixedWidth
171         * tabular.C (setMColumnPWidth): ditto
172
173 2005-11-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
174
175         * paragraph.C (asString): use new inset->textString method (fix
176         bug 2089) 
177
178 2005-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
179
180         * CutAndPaste.C (numberOfSelections): new helper function.
181
182         * lyxfunc.C (getStatus): remove support for LFUN_COPY and LFUN_CUT.
183
184         * text3.C (getStatus): move code for LFUN_CUT and LFUN_COPY from
185         LyXFunc::getStatus; implement LFUN_PASTE.
186
187 2005-11-17  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
188
189         * dociterator.[Ch]: new member realInset() that returns the cell
190         for tabulars and the inset for the rest (bug 1952).
191         * undo.C (textUndoOrRedo): use realInset when resetting insetOwner
192         (bug 1952).
193
194 2005-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
195
196         * text.C (leftMargin): honor the NextNoIndent tag in layouts.
197
198 2005-11-17  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
199
200         * lyxfunc.C:
201         * paragraph.C:
202         * text3.C: InsetBase::forceDefaultParagraphs now takes a cell as
203         argument.
204
205 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
206
207         * text.C (redoParagraph): Fix bug 1966: cursor doesn't go to next
208         line after typing ctrl-enter
209
210 2005-11-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
211
212         * bufferview_funcs.C (coordOffset): fix the fix for bug 2094, as
213         math insets do not return a proper editable() state yet (bug 2124).
214
215 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
216
217         * BufferView_pimpl.[Ch]: Fix bug 1814: better scroll behaviour for 
218         docs containing very large paragraphs.
219
220 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
221
222         * cursor.C (selectionBegin, selectionEnd):
223         * text.C (drawSelection): Fix bug 2115: assertion when anchor and 
224         cursor at different depths.
225
226 2005-11-03  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
227
228         * bufferview_funcs.C (coordOffset): do not call cursorPos
229         for collapsed collapsables (fix bug 2094).
230
231 2005-11-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
232
233         * paragraph.C (fontSpan): make sure that the FontSpan does not
234         span across beginOfBody (bug 1947).
235
236 2005-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
237
238         * lyxlength.h: undefine macros that clash with solaris/x86 (bug 992)
239
240 2005-11-03  Michael Gerz  <michael.gerz@teststep.org>
241
242         * messages.C: fix crash and localization on MinGW/Windows platform
243
244 2005-11-02  Angus Leeming  <leeming@lyx.org>
245
246         * Bidi.C:
247         * lyxtextclass.C: trivial fixes to some MSVS warnings.
248
249 2005-10-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
250
251         * text3.C (getStatus): re-enable disabled code. (bug 2081)
252
253         * BranchList.h (empty): constify.
254
255 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
256
257         * text3.C (getStatus): 
258         * MenuBackend.C (expandBranches): take the branch list from the
259         master document (bug 2092).
260         
261         * MenuBackend.C (expandBranches): 
262         * bufferparams.C (writeFile): use BranchList type.
263
264 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
265
266         * text3.C (dispatch, getStatus): 
267         * LyXAction.C (init): 
268         * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
269
270 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
271
272         * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
273
274 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
275
276         * text.C (insertChar): do not reset boundary (bug 2061)
277
278 2005-10-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
279
280         * dociterator.C (updateInsets): new method. Updates the inset_
281         cache of all the slices of the iterator.
282
283         * text2.C (deleteEmptyParagraphMechanism): compare also containing
284         insets when comparing pit/pos; pass the right cursor to
285         recordUndo; when a paragraph has been deleted, compare `old.top()' to
286         the right cursor slice of `cur'; use updateInsets on cur to make
287         sure that the inset caches are correct; general cleanup.
288
289 2005-10-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
290
291         * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
292         dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
293         containg inset. If this does not work, the same command will be
294         sent to other insets down the queue by LCursor::dispatch. (bug 2066)
295
296         * lyxfunc.C (dispatch): make sure the cursor is correct when doing
297         a dispatch.
298
299 2005-10-20  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
300
301         * lyxtextclass.C (Read): convert layout file if the format is wrong
302         * lyxtextclass.C (layout2layout): new, needed for the above
303
304 2005-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
305
306         * messages.C: do not forget to include <cerrno>.
307
308 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
309
310         * dociterator.h (StableDocIterator): add access to pos().
311         * undo.C (samePar): new method to check if two
312         iterators are in the same paragraph
313         * undo.C (recordUndo): check for samePar instead of cell identity
314         (which includes pos() and is too strict) (fixes bug 2097)
315
316 2005-10-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
317
318         * text.C (setCursorFromCoordinates): return a bool telling whether
319         dEPM triggered.
320
321         * text3.C (cursorPrevious): update if needed after
322         setCursorFromCoordinates (when dEPM triggered).
323
324         * text2.C (cursorDown, cursorUp): make sure to reset the anchor
325         (otherwise the anchor may be completely wrong and make dEPM assert).
326
327 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
328
329         * buffer.C: version upgrade to 245.
330         * bufferparams.C: remove \quotes_times (bug 2090).
331         * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
332         quotation marks as default.
333
334 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
335
336         * CutAndPaste.C (nrOfParagraphs): remove (unused)
337         * CutAndPaste.C (cutSelection): Remove debug message
338         * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
339         undo information and only copy if this is a real cut
340         * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
341         call
342         * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
343         (bug 2059)
344         * CutAndPaste.C (eraseSelection): prevent cursor corruption
345         * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
346         superflous cur.selection() setting
347         * CutAndPaste.[Ch] (grabSelection): take a const cursor
348         * cursor.C (selectionAsString): implement mathed case ((bug 2059)
349
350 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
351
352         * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
353         change anything.
354
355 2005-10-11  Martin Vermeer  <martin.vermeer@hut.fi>
356
357         * BufferView_pimpl.C: comment layout change
358
359 2005-10-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
360
361         * LyXAction.C:
362         * lfuns.h:
363         * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
364         by bibliography managers (bug 2071).
365
366 2005-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
367
368         * BufferView_pimpl.C (update): choose arguments to update call so
369         that single-par update works most times
370         * text3.C (dispatch): carefully tune updating separately for
371         whole-screen and current-paragraph
372         * rowpainter.C (paintText): 1) replace painting by caching for
373         the two extra paragraphs, because we can;
374         2) suppress greying out of areas below/above drawn area in case of
375         single-par refresh
376         * lyxfunc.C (dispatch): remove superfluous update
377         * LyXAction.[Ch]: introduce SingleParUpdate
378
379 2005-10-05  Angus Leeming  <leeming@lyx.org>
380
381         * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
382         always initialised before use.
383
384         * text.C (setHeightOfRow): squash warning about comparison
385         of signed and unsigned types.
386
387 2005-10-03  Martin Vermeer  <martin.vermeer@hut.fi>
388
389         * text.C (cursorX): two fixes involving RtL text drawing
390
391 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
392
393         * cursor.C (erase): fix 'clever' UI hack. It was activated for all
394         items, not only large ones (part of bug 2057)
395
396 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
397
398         * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
399         argument, use "newcommand".
400
401 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
402
403         * cursor.C (setSelection): do not open collapsable insets;
404         the insets do by themselves now (autoopen).
405
406 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
407
408         * buffer.C: format is up to 244.
409
410 2005-09-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
411
412         * text.C (redoParagraph): fix calcultation of inset width wrt 
413         leftMargin (bug 1957).
414
415         * text3.C (dispatch): leave inset to the right when hitting ESC 
416         (bug 2034).
417
418 2005-09-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
419
420         * text2.C: 
421         * text.C: 
422         * factory.C:
423         * messages.C: include <boost/current_function.hpp> 
424
425 2005-09-12  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
426
427         * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
428         when command is internal. (bug 1941)
429
430 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
431
432         * text2.C (cursorRight): do not honor boundary when at the end of
433         a paragraph. (bug 2010 again)
434
435 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
436
437         * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
438
439 2005-09-19  Martin Vermeer  <martin.vermeer@hut.fi>
440
441         * rowpainter.C (paintText): fix RtL space width display bug (2029)
442
443 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
444
445         * text2.C (setCursor): remove the unused 'boundary' parameter for
446         the CursorSlice version; adapt the LCursor version.
447
448         * lyxrc.C (write): 
449         * paragraph_pimpl.C (markErased): 
450         * cursor.C (bruteFind2, bruteFond3): fix warnings.
451
452 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
453
454         * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
455         as is already done for "chapter".
456
457 2005-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
458
459         * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
460         textclass; do not record undo if nothing is changed.
461
462 2005-09-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
463
464         * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
465
466 2005-09-14  Michael Gerz  <michael.gerz@teststep.org>
467
468         * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
469
470 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
471
472         * BufferView_pimpl.C (setBuffer): when one wants to set the layout
473         combox, it is necessary to search for the topmost paragraph in the
474         cursor stack (bug 1926)
475
476 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
477
478         * text2.C (cursorEnd, cursorRight): do not set boundary to true at
479         end of paragraph. (bug 2010)
480
481 2005-09-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
482
483         * text.C (leftMargin): check for inInset == 0
484
485 2005-09-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
486
487         * text.C (leftMargin): test for insetbase's new neverIndent()
488         bool instead of listing each and every inset that does not
489         wish par indendation.
490
491 2005-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
492
493         * buffer_funcs.C (setCounter): put the code to compute enum label
494         here (where it belongs).
495
496         * counters.C (enumLabel): move code to buffer_funcs.C.
497
498 2005-09-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
499
500         * outputparams.[Ch]: store local_font instead of local_language
501         * paragraph.C (simpleTeXOnePar): adapt to the change above
502
503 2005-09-08  Martin Vermeer  <martin.vermeer@hut.fi>
504
505         * buffer_funcs.C:
506         * counters.[Ch]: clean up special code for Hebrew.
507
508 2005-09-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
509
510         * lyxfunc.C (lookupChange): fix code when cursor depth is greater
511         than 2.
512
513 2005-09-08  Angus Leeming  <leeming@lyx.org>
514
515         * ispell.C:
516         * lyxrc.C: correct grammar describing invocation of the
517         spellchecker.
518
519 2005-08-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
520
521         * text.C (read): remove unused variable.
522         (readParToken): remove static Change variable (never good in
523         recursive settings...); add it as a parameter instead.
524
525         * paragraph_pimpl.C (acceptChange): make debug info conditional.
526
527         * metricsinfo.C (PainterInfo): add new member erased_.
528
529         * rowpainter.C (RowPainter): add erased_ member, initialized from
530         PainterInfo. 
531         (paintInset): pass erased_ to Inset::draw.
532
533         * lyxfunc.C (lookupChange): new function. Tells whether change 
534         tracking is disabled at a given postion.
535         (getStatus): disable some actions when in deleted text with change
536         tracking. 
537
538 2005-08-03  John Levon  <levon@movementarian.org>
539         
540         * tabular.C (appendColumn, setMultiColumn): adapt to change to
541         InsetText::clear().
542
543         * paragraph_pimpl.C (markErased): add bool argument and handle it.
544         Also make sure to mark insets recursively.
545         (rejectChange, erase): be recursive
546
547         * paragraph.C (markErased): add bool argument.
548 2005-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
549
550         * lyxfind.C (findNextChange): tiny cleanup.
551
552         * BufferView_pimpl.C (trackChanges): avoid crash when stopping
553         change tracking with the cursor in an inset; make sure the first
554         change is not skipped.
555
556 2005-09-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
557
558         * CutAndPaste.[Ch]: new methods dirtyTabularStack and 
559         tabularStackDirty to work around bug 1919 (tabular needs
560         to know whether its own cell paste buffer or the one of 
561         texted is newer.
562         * CutAndPaste.C: mark tabular_stack_ clean after copy.
563
564 2005-08-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
565
566         * text2.C (cursorEnd): check for empty text (fixes bug 1998)
567
568 2005-08-19  Lars Gullik Bjønnes  <larsbj@gullik.net>
569
570         * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
571         use old deleteion algorithm when changetracking is on.
572
573 2005-08-18  Martin Vermeer  <martin.vermeer@hut.fi>
574
575         * messages.C (get): add debug output.
576
577 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
578
579         * text.C (cursorX): fix bug 1965: cursor movement at
580         line end broken in RtL.
581         (drawSelection): fix bug 1970: drawing of single-line 
582         selection broken for RtL.
583
584 2005-07-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
585
586         bug 465.
587
588         * dociterator.h (clear, push_back, pop_back): change from
589         protected to public.
590
591         * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
592         and changed to just return the value of the item depth; take a
593         ParIterator as argument; take the itemdepth at outer nesting level
594         in account if necessary; cleanup and comment the code.
595         (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
596         and changed to just return true if reset is needed; take a
597         ParIterator as argument; cleanup and comment the code.
598         (setCounter): adapt to above changes.
599
600 2005-07-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
601
602         * text3.C (dispatch): make debug message optional
603
604 2005-08-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
605
606         * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
607         inset. (bug 1963)
608
609 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
610
611         * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
612
613 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
614
615         * text.C (insertChar):
616         * text2.C (deleteEmptyParagraphMechanism): take care whether 
617         a blank has been deleted (in change tracking mode) (bug 1254).
618
619 2005-07-20  John Levon  <levon@movementarian.org>
620
621         * text2.C (insertStringAsLines): remove old dubious code,
622         fixing bug 1939.
623
624 2005-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
625
626         * MenuBackend.C (expandToc): use Floating::listName() as title of
627         the floats submenus.
628
629 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
630
631         * toc.[Ch]: Do not use translatable strings (bug 1870).
632
633 2005-07-20  John Levon  <levon@movementarian.org>
634
635         * tabular.C: fix 1748 - setting multicolumn adds
636           left line to the first cell
637
638 2005-07-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
639
640         bug 1920
641         * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
642         pars in one go.
643
644 2005-07-18  Lars Gullik Bjønnes  <larsbj@lyx.org>
645
646         * messages.C: supress some lyxerr messages
647
648 2005-07-18  Juergen Vigna  <jug@lyx.org>
649
650         * text.C (drawSelection): honor boundary when asking for cursorX.
651
652 2005-07-17  José Matos  <jamatos@fc.up.pt>
653
654         * tabular.C (recalculateMulticolumns): fix handling of one column
655         tables.
656
657 2005-07-17  Juergen Vigna  <jug@lyx.org>
658
659         * text.C (Delete, backspace): fixed so that paragraph with the
660         same layout can be merged by Delete/Backspace.
661
662 2005-07-17  Michael Schmitt  <michael.schmitt@teststep.org>
663
664         * text.C (readParToken): fix spelling.
665
666 2005-07-17  Martin Vermeer  <martin.vermeer@hut.fi>
667
668         * text2.C: fix counter update for DEPM problem reported by
669         Georg Baum
670
671 2005-07-17  Juergen Vigna  <jug@lyx.org>
672
673         * BufferView_pimpl.C (setBuffer): save/restore the
674         cursor/selection when switching buffers
675
676         * buffer.h: 
677         * buffer.C (saveCursor): add saveDocumentIterators to save the
678         cursor when switching buffer.
679
680 2005-07-17  Michael Schmitt  <michqel.schmitt@teststep.org>
681
682         * debug.C: fix typo
683         * buffer.C: clarify message
684         
685 2005-07-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
686
687         * dociterator.C (DocIterator): fix initialization order
688
689 2005-07-17  Juergen Vigna  <jug@lyx.org>
690
691         * text2.C (cursorHome): 
692         * text.C (drawSelection, cursorX): 
693         * dociterator.C (textRow): add boundary to getRow() call
694
695         * paragraph.C (getRow): implementation of below
696
697         * paragraph.h: add parameter boundary for getRow() function
698
699 2005-07-17  José Matos  <jamatos@fc.up.pt>
700
701         * buffer.C:
702         * bufferparams.[Ch]:
703         * tex-strings.[Ch]: new file format, remove support for a4.sty,
704         a4wide.sty and a4widemargins.
705
706 2005-07-17  Juergen Vigna  <jug@lyx.org>
707
708         * text2.C (cursorLeft): fix one of error
709
710 2005-07-17  Juergen Vigna  <jug@lyx.org>
711
712         * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
713                    cursorEnd):
714         more fixes for boundary handling
715
716         * text3.C (dispatch): don't reset cursor if boundary has changed
717         on cursor movement.
718
719 2005-07-16  Juergen Vigna  <jug@lyx.org>
720
721         * text2.C (getColumnNearX): hopefully got it right now,
722         check if we are on column 0 for special case.
723
724 2005-07-16  Juergen Vigna  <jug@lyx.org>
725
726         * text2.C (getColumnNearX): handle special case Newline Inset
727
728         * text.C (singleWidth): Just remove bogus check
729
730 2005-07-16  Michael Schmitt  <michael.schmitt@teststep.org>
731
732         * funcrequest.C (split): avoid reading uninitialized char c
733
734 2005-07-16  José Matos  <jamatos@fc.up.pt>
735
736         * buffer.C:
737         * converter.C:
738         * lyxrc.C:
739         * paper.h:
740         * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
741         single papersize variable.
742
743 2005-07-16  Juergen Vigna  <jug@lyx.org>
744
745         * text3.C (dispatch): honor boundary when checking if a cursor
746         movement has been done
747
748         * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown) 
749         (setCursor, setCursorIntern): fix cursor movement with boundary
750
751 2005-07-16  Juergen Vigna  <jug@lyx.org>
752
753         * text.C (currentState): output the actual Boundary
754
755 2005-07-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
756
757         * factory.C (createInset): fix bad logic for tabular creation
758
759 2005-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
760
761         * lyx_main.C (init): change some reLyX reference to tex2lyx
762
763 2005-07-16  Juergen Vigna  <jug@lyx.org>
764
765         * dociterator.C (DocIterator): initialize boundary
766
767 2005-07-16  Juergen Vigna  <jug@lyx.org>
768
769         * text2.C (getColumnNearX): Consider rows without trailing blank.  
770
771 2005-07-16  André Pönitz  <poenitz@gmx.net>
772
773         * lyxfont.h: Change order of declarations to give the compiler
774         a better chance to inline things
775
776         * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
777         questions on unsaved docs for better scritability
778
779 2005-07-16  André Pönitz  <poenitz@gmx.net>
780
781         * paragraph.h (getChar): remove asserts as the same kind of security
782         can be achieved by using a suitable standard library implementation
783         and the function was in the critical path (25.9% in profiler)
784
785 2005-07-16  Juergen Vigna  <jug@lyx.org>
786
787         * cursor.C (bruteFind2):
788         * bufferview_funcs.C (coordOffset): 
789         * text.C (cursorX,cursorY): Handle cursor position after last char
790         in row before a inset which uses a whole row.
791
792 2005-07-15  José Matos <jamatos@lyx.org>
793
794         * output_plaintext.[Ch] (writeFileAscii): control reference title
795         printing.
796         (asciiParagraph): noparbreak was already deal and was incorrectly
797         used.
798
799 2005-07-15  Juergen Vigna <jug@lyx.org>
800
801         * lyxfunc.C (dispatch): save and restore the cursor after a
802         textclass switch.
803
804 2005-07-15  Lars Gullik Bjønnes <lgb@tandberg.net>
805
806         * text.C (backspace): bug 806 for empty keepempty paragraphs we
807         change the layout to default before letting DEPM do its thing.
808
809         * paragraph_funcs.C (breakParagraph): dont reset the layout on
810         keepEmpty paragraphs
811
812         * text.C (setCursorFromCoordinates): add a debug statement
813
814         * text2.C (getColumnNearX): bug 1825 make sure that we don't
815         return a pos that is not on the row
816
817         * output_latex.C (TeXDeeper): get rid of potential dereferencing
818         of past the end iterator
819
820 2005-07-14  André Pönitz  <poenitz@gmx.net>
821
822         * undo.C (recordUndoFullBuffer): implement undo for
823         textclass switches
824
825 2005-07-14  André Pönitz  <poenitz@gmx.net>
826
827         * cursor.C (setSelection): open insets when selection is set there
828         to avoid crashs with cold coord cache
829
830 2005-07-14  André Pönitz  <poenitz@gmx.net>
831
832         * trans_mgr.C (insert): move cursor to the right after inserting
833         a char.
834
835 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
836
837         * BufferView_pimpl.C (update): dampen some of the debug blabbering
838         * factory.C (readInset): ditto
839         * text.C, text2.C: ditto
840
841 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
842
843         * buffer.C: format incremented to 242. There is no file format per
844         se, but the "frenchb" language has been removed from lib/language
845         and has to be translated to "french" by lyx2lyx.
846
847 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
848
849         * cursor_slice.h, dociterator.h: add some documentation
850         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
851
852 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
853
854         * text.C (leftMargin): do not add identation to display() style
855         insets, because they are always centered (bug 1293).
856
857 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
858
859         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
860         formatted_time methods in support/lyxtime.
861
862 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
863
864         * toc.[Ch]: new method getGuiName, which is used by the frontends 
865         to set the toc combo (fixes bug 1870). Make TOC string translatable.
866
867 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
868
869         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
870         StableDocIterator const &)
871         * undo.C (recordUndo): use the above instead of cell.size() comparison
872         (fixes bug 1808; instructed by Andr�.
873
874 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
875
876         * cursor_slice.h: 
877         * dociterator.h: Fix the assert when copying rows/cols in math
878
879 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
880
881         * BufferView_pimpl.C:
882         * LyXAction.C:
883         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
884
885         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
886         (findInset): new functions, refactored from goto Inset that return 
887         the position of a certain inset without setting the buffer's cursor
888         (by Jean-Marc); 
889         (gotoInset): rewrite to call findInset and then set the cursor
890         (by Jean-Marc).
891
892 2005-06-16  Angus Leeming  <leeming@lyx.org>
893
894         * lyxrc.C (output, read): wrap all input and output of paths with
895         calls to os::internal_path and os::external_path, respectively.
896         (output): wrap bind_file inside quotes.
897
898         * format.C (view): enable the viewer to use the '$$s' placeholder.
899
900 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
901
902         * LColor.[Ch] (getFromLaTeXName): new
903
904 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
905
906         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
907
908 2005-06-14  Angus Leeming  <leeming@lyx.org>
909
910         * lyx_main.C (init): ensure that the LyX binary dir is the first
911         element in the PATH on non-POSIX builds.
912
913 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
914
915         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
916
917 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
918
919         * rowpainter.C (paintInset, paintHebrewComposeChar)
920         (paintArabicComposeChar, paintChars): add a LyXFont argument.
921         (paintChars): use getFontSpan to reduce calls to getFont to a
922         minimum; use Paragraph::lookupChange instead of isXXXText.
923         (paintForeignMark): rename LyXFont argument.
924         (paintFromPos): pass a LyXFont object to the various paintXXX
925         methods.
926
927         * FontIterator.C (FontIterator, operator++): use
928         Paragraph::getFontSpan
929
930         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
931         version that returns the font span as a pair.
932
933 2005-06-09  Angus Leeming  <leeming@lyx.org>
934
935         * converter.C (convert): Don't forget "outfile = real_outfile" as
936         the final step in a conversion where the input and output file names
937         are the same. Otherwise, future conversion steps won't work...
938
939 2005-06-09  Angus Leeming  <leeming@lyx.org>
940
941         * lyxsocket.C: remove stub code as it isn't needed by
942         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
943
944 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
945
946         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
947         effectively disabled -x
948
949 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
950
951         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
952         when it actually makes sense.
953
954 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
955
956         * BufferView_pimpl.C: revert to showCursor in connection with
957         Lars's front-end stack
958
959 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
960
961         * text.C (redoParagraph): move cursor right after a bibitem
962         has been inserted.
963
964         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
965
966 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
967
968         * buffer_funcs.C (bufferErrors): fix computation of the end of an
969         error range.
970
971 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
972
973         * BufferView.[Ch] (update):
974         * BufferView_pimpl.[Ch] (update, metrics):
975         * dimension.h (operator==):
976         * lyxfunc.C (dispatch):
977         * metricsinfo.h (ViewMetricsInfo):
978         * rowpainter.C (paintText):
979         * lyxtext.h:
980         * text.C (redoParagraph):
981         * text3.C (dispatch): Make LyX only repaint current paragraph in
982         case of character insert --> speedup. Also fix cursor draw
983         artifacts
984
985 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
986
987         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
988         avoid a crash (bug 1891)
989
990 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
991
992         Fix bug 1892:
993
994         * text2.C (getStringToIndex): constify cur argument.
995
996         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
997         argument has been given
998         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
999         try to invoke LFUN_INSET_APPLY).
1000
1001         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
1002         if no inset was created by doInsertInset
1003         (doInsertInset): return true if an inset has been inserted.
1004
1005 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1006
1007         * vspace.C (asGUIName): new method. A version of the space
1008         suitable for showing on screen.
1009
1010 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
1011
1012         * MenuBackend.C:
1013         * lyxrc.C: rename "ASCII" to "Plain Text"
1014
1015 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1016
1017         * buffer_funcs.C (expandLabel): take a Buffer as argument;
1018         translate the labelstring.
1019         (setCounter): translate labelstring as needed.
1020
1021         * output_docbook.C (makeCommand): fix expandLabel invokation
1022
1023 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
1024
1025         * BufferView.C: fix dialog title
1026
1027 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1028
1029         * lyx_main.C (priv_exec): fix logic error with help from Angus
1030         * lyx_main.C (parse_execute): set is_gui = false and remove now
1031         obsolete comment about a segfault
1032
1033 2005-05-18  Angus Leeming  <leeming@lyx.org>
1034
1035         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
1036
1037 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
1038
1039         * tabular.[hC]: added setCellInset to fix tabular paste.
1040
1041 2005-05-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1042
1043         * buffer.C (save): check if destination is writable before trying
1044         to copy a file
1045
1046 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
1047
1048         * BufferView_pimpl.C (update): fix processEvents -caused update
1049         recursion bug
1050
1051 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1052
1053         * buffer_funcs.C (setCounter): fix test for numbering of
1054         environments.
1055
1056         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
1057         depth correctly; use optional argument when it exists
1058
1059         * lyxtextclass.C: remove unused MaxCounterTags enum
1060         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
1061         (max_toclevel, min_toclevel): new methods.
1062
1063         * MenuBackend.C (expandToc2): fix case where depth is smaller than
1064         the smallest depth in toc.
1065
1066         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
1067         layouts that should not appear in a table of contents.
1068
1069 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1070
1071         * cursor.h (undispatched, noUpdate): add comments from Andr�
1072 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
1073
1074         * lfuns.h:
1075         * LyXAction.C:
1076         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
1077
1078 2005-05-07  André Pönitz  <poenitz@gmx.net>
1079
1080         * cursor.[Ch] (leaveInset): new function
1081
1082 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1083
1084         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
1085
1086 2005-05-04  Angus Leeming  <leeming@lyx.org>
1087
1088         * lyxfunc.C (getStatus): disable the spell checker dialog if
1089         none of USE_[AIP]SPELL are defined.
1090
1091 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
1092
1093         * tabular.C (setWidthOfCell): remove obsolete comment
1094
1095 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
1096
1097         * paragraph.C (bibitem):
1098         * buffer_funcs.C (setCounter):
1099         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
1100
1101 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1102
1103         * text3.C (getStatus): immediately return after setOnOff
1104
1105         * rowpainter.C: fix drawing of appendix start
1106
1107 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1108
1109         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
1110         SwitchBetweenClasses and remove the unused return value.
1111         Handle character styles, too
1112
1113 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
1114
1115         * factory.C (createInset): handle undefined character styles
1116
1117 2005-05-02  Angus Leeming  <leeming@lyx.org>
1118
1119         * buffer.C: protect the #include of utime.h with a preprocessor
1120         guard.
1121
1122 2005-05-02  Angus Leeming  <leeming@lyx.org>
1123
1124         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
1125         function so that auto-saving works, albeit in a blocking manner.
1126
1127         * Makefile.am: make compilation of the client sub directory, of
1128         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
1129         on conditionals set at configure time.
1130
1131         * SpellBase.[Ch]: no longer an abstract base class. Instead,
1132         it can be compiled in its own right but has no-op functionality.
1133
1134         * aspell.C, pspell.C: remove preprocessor guards. The files should
1135         be compiled only if the necessary functionality exists.
1136
1137         * lyxserver.C, lyxsocket.C: disable on Windows.
1138
1139 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
1140
1141         * text.C (leftMargin): Fix the parindent use bug (1764)
1142         by dirty trick
1143
1144 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
1145
1146         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
1147         argument.
1148
1149 2005-04-25  Angus Leeming  <leeming@lyx.org>
1150
1151         * Bidi.[Ch]:
1152         * coordcache.[Ch]:
1153         * ispell.C:
1154         * lyxserver.C:
1155         * mover.C:
1156         * pch.h:
1157         include <config.h> in .C files, not .h ones.
1158         add licence blurb.
1159         protect headers inside preprocessor guards.
1160
1161 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1162
1163         * FuncStatus.h (StatusCodes): document
1164
1165 2005-04-21  André Pönitz  <poenitz@gmx.net>
1166
1167         * FuncStatus.h (enabled, onoff): document
1168
1169 2005-04-19  Angus Leeming  <leeming@lyx.org>
1170
1171         * BufferView_pimpl.C (cursorToggle): no longer test whether
1172         any child processes have been reaped before calling
1173         handleCompletedProcesses().
1174
1175 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
1176
1177         * text3.C (dispatch): fix, finally fix, the language problem in
1178         new lyxtexts, without disabling on-the-fly font changes (Helge's
1179         bug report)
1180
1181 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1182
1183         * text3.C (dispatch): set cursor on double/triple click events
1184         (bug 1811)
1185
1186 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1187
1188         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
1189         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
1190
1191         * rowpainter.C (paintFirst): simplify the code a little bit. In
1192         particular, remove the test for secnumdepth.
1193         * text.C (setHeightOfRow): only allocate space for chapter number
1194         when updateCounters provided an actual label, instead of looking
1195         at secnumdepth directly.
1196
1197         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
1198
1199         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
1200         paragraphs when secnumdepth is large enough or, for environments,
1201         when they are not the first in a sequence.
1202
1203 2005-04-17  Angus Leeming  <leeming@lyx.org>
1204
1205         * buffer.C (makeLaTeXFile): replace code to manipulate a path
1206         containing space and '~' characters with a call to latex_path().
1207
1208 2005-04-17  Angus Leeming  <leeming@lyx.org>
1209
1210         * converter.C (convert): protect all args of convertDefault.sh
1211         script with quotes.
1212
1213 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1214
1215         * text3.C (dispatch): change the layout to "Caption" after inserting
1216         a float.
1217
1218 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1219
1220         * text3.C (dispatch): fix language problem in newly created
1221         textinsets (and main text) in non-english docs
1222
1223 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1224
1225         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
1226         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
1227         * text3.C (getStatus): disable LFUN_INSET_MODIFY
1228
1229 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1230
1231         * lyxtext.h:
1232         * text.C (metrics):
1233         * text2.C (getFont):
1234         * rowpainter.C (getFont): Fix metrics bug introduced by inset
1235         fonts fix
1236
1237 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1238
1239         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
1240         output of \item arguments without trailing text.
1241
1242 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1243
1244         * FontIterator.C (operator*): avoid a copy of the font.
1245
1246 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1247
1248         * rowpainter.C (getFont): fix language bug from previous fix
1249
1250 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1251
1252         * rowpainter.C (RowPainter, getFont): fix font inside inset
1253         (bugs 1766, 1809)
1254
1255 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
1256
1257         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1258         preventing inserted font, deco, delim insets jumping to start of
1259         surrounding inset.
1260
1261 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1262
1263         * lyxfunc.C (dispatch): translate message before sending it to the
1264         minibuffer.
1265
1266 2005-03-29  Angus Leeming  <leeming@lyx.org>
1267
1268         * lyx_main.C (priv_exec): call os::internal_path on each file passed
1269         to LyX on the command line.
1270
1271 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
1272
1273         * vc-backend.C: use QuoteName to protect file names wherever
1274         necessary.
1275
1276 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
1277
1278         * buffer.[Ch]:
1279         * BranchList.h: fix bugs 1844,1845: document settings don't
1280         stick
1281
1282 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1283
1284         * lyxrc.C (setDefaults, read, output, getDescription): add support
1285         for tex_allows_spaces.
1286
1287         * exporter.C (Export): allows files in directory containing spaces
1288         if tex_allows_spaces is true.
1289
1290         * buffer.C (makeLaTeXFile): if the document path contains spaces,
1291         output it in double quotes.
1292
1293 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1294
1295         * rowpainter.C: use default text height for drawing change tracker
1296         strikeout lines.
1297
1298 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1299
1300         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1301
1302 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1303
1304         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1305         directory is missing.
1306
1307 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
1308
1309         * text2.C: fixed the fix, extended to other case.
1310
1311 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
1312
1313         * text2.C: fix for cursor up/down stuck in math [bug 1792]
1314
1315 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
1316
1317         * text2.C (cursorUp): get rid of a crash
1318         * text.C (x2pos): add an assert
1319
1320 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1321
1322         * lyxfunc.C (getStatus): fix warning when assertions are disabled
1323
1324         * text3.C:
1325         * lyxfunc.C:
1326         * dociterator.C: include <boost/current_function.hpp>, which is
1327         needed when assertions are disabled.
1328
1329 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1330
1331         * text2.C: fix for stuck cursor when traversing two
1332         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1333
1334 2005-02-25  Andreas Vox  <avox@arcor.de>
1335
1336         * output_docbook.C (makeParagraph): suppress trailing newline
1337         after a run of paragraphs
1338
1339 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1340
1341         * paragraph.C: fix for confused change tracker when pasting
1342         text that begins with a lineseparator. [bug 1827]
1343         (setChange(0, Change::INSERTED);)
1344
1345         * paragraph_funcs.C: fix for lost changes on triple-paste
1346         in change tracking mode [bug 1827] (par.setChange()).
1347
1348 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1349
1350         * text2.C (updateCounters, setCounter, expandLabel): move to
1351         buffer_funcs.
1352
1353         * buffer_funcs.C (updateCounters): turn into a free standing
1354         function and add a buffer parameter. Remove dead code for tracking
1355         labelstring change.
1356         (setCounter): change into a free-standing function which gets a
1357         dociterator as argument. Use this iterator to fix captions in a
1358         simple way. When no float is found above the caption, use the
1359         labelstring of the caption layout as default.
1360
1361         * text.C (breakParagraph, backspace):
1362         * text2.C (init, setLayout, changeDepth):
1363         * text3.C (dispatch):
1364         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1365         updateCounters.
1366
1367         * dociterator.C (forwardPar): make it much faster by calling
1368         forwardPos() only when really necessary.
1369
1370         * output_docbook.C (makeCommand): adapt to expandLabel move.
1371
1372         * cursor.C: remove unused variable
1373
1374 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1375
1376         * paragraph_funcs.C: fix crash when pasting insets in change
1377         tracking mode [bug 1277] (honour change type in moveItem).
1378
1379 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1380
1381         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1382
1383 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1384
1385         * BufferView.C (setCursor): change to use a DocIterator.
1386         (gotoLabel): use BufferView::setCursor (other part of bug 781).
1387         (putSelectionAt): adapt to BufferView::setCursor change.
1388
1389         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1390         moved here from LyXText and rewritten to use proper cursor
1391         methods. Fixes bug 1787, 616 and 835.
1392
1393         * BufferView_pimpl.C (restorePosition): set the cursor correctly
1394         when inside an inset (part of bug 781).
1395         (dispatch): adapt to change of BufferView::setCursor.
1396         (getStatus, dispatch): handle LFUN_GOTOERROR,
1397         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1398
1399         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1400         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1401         * text3.C (gotoNextInset, gotoInset): removed.
1402
1403 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1404
1405         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1406
1407 2005-02-15  Angus Leeming  <leeming@lyx.org>
1408
1409         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1410         can be used meaningfully in a comparison.
1411
1412 2005-02-13  André Pönitz  <poenitz@gmx.net>
1413
1414         * bufferview_funcs.C (coordOffset): improve cursor drawing
1415
1416 2005-02-13  André Pönitz  <poenitz@gmx.net>
1417
1418         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1419         * Cursor.C (dispatch): use fixIfBroken
1420         * lyxfunc.C (getStatus): use fixIfBroken
1421
1422 2005-02-15  Angus Leeming  <leeming@lyx.org>
1423
1424         * lyx_main.C (error_handler):
1425         * lyxfunc.C:
1426         * lyxrc.C (setDefaults):
1427         s/GetEnv/getEnv/.
1428         #include "environment.h".
1429
1430         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1431
1432 2005-02-15  Angus Leeming  <leeming@lyx.org>
1433
1434         * lyxserver.C (startPipe): squash MSVC warning "local variable
1435         'fd' used without having been initialized".
1436
1437 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1438
1439         * BufferView_pimpl.C: revert accidental commit.
1440
1441 2005-02-14  André Pönitz  <poenitz@gmx.net>
1442
1443         * dociterator.[Ch]: new member forwardPosNoDescent(),
1444         which doesn't enter nested insets.
1445         * text2.C (setFont): use forwardPosNoDescent() instead
1446         of ForwardPos() (fixes crash on font change).
1447
1448 2005-02-13  Angus Leeming  <leeming@lyx.org>
1449
1450         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1451         only if lyxrc.path_prefix is not empty.
1452
1453 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1454
1455         * bufferparams.C (readGraphicsDriver): prevent crash
1456
1457 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1458
1459         * text2.C (setCounter): check for inInset() == 0
1460
1461 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1462
1463         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1464         but use update() to get correct screen display; use convert
1465         instead of istringstream.
1466         (getStatus): handle LFUN_GOTO_PARAGRAPH
1467
1468         * lyxfunc.C (dispatch, getStatus): do not handle
1469         LFUN_GOTO_PARAGRAPH here.
1470
1471 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1472
1473         * text3.C (dispatch): size() -> depth()
1474
1475         * text2.C: remove some debug output
1476
1477         * paragraph.C: ws changes only
1478
1479         * lyxfunc.C (getStatus): size() -> depth()
1480
1481         * dociterator.h (clear, push_back, pop_back, internalData,
1482         operator[], resize, empty): new functions
1483         Make StableDocIterator and operator== be friends. Don't inherit
1484         from std::vector use a privat class variable slices_ instead.
1485         Modify to fit.
1486
1487         * dociterator.C: update because of not inheriting from std::vector
1488         anymore. Call explictly to slices_ instead. Use depth() instead of
1489         size() and top() instead of back()
1490
1491         * cursor.C: chagne size() -> depth and back() -> top(). Also
1492         remove some direct operator[](i) calls in favour of foo[i]
1493         (getFont): remove some dead code
1494
1495         * bufferview_funcs.C (coordOffset): size() -> depth()
1496
1497         * buffer.C: ws changes only
1498
1499         * CutAndPaste.C (eraseSelection): back() -> top()
1500
1501         * BufferView_pimpl.C (selectionRequested): back() -> top()
1502
1503         * BufferView.C (setCursor): size() -> depth()
1504
1505 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1506
1507         * text3.C (cursorPrevious): return true if depm changed something
1508         (cursorNext): ditto
1509         (dispatch): rename sl to oldTopSlice, remove moving use the new
1510         NoUpdate func attrib instead. Make sure that needsUpdate is set
1511         for function that have NoUpdate, but where depm might have changed
1512         the buffer anyway.
1513
1514         * text2.C (cursorLeft): make us return true if depm changed
1515         something
1516         (cursorRight): ditto
1517         (cursorUpParagraph): ditto
1518         (curosrDownParagraph): ditto
1519         (cursorUp, cursorDown): ditto, make sure to read comments in code
1520         (deleteEmptyParagraphMechanism): remove an assert, also return
1521         true if just a single char was deleted.
1522
1523         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1524         cursor that we modify, to avoid modifying an active cursor before
1525         we call setCursor. This allows depm to run. Also return true if
1526         depm deleted something.
1527
1528         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1529         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1530         cursorDownParagraph, cursorPrevious and cursorNext, return true if
1531         something was changed in the buffer because of them (ie. depm run)
1532
1533         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1534         debug messages. Make update by default be false. Make sure that
1535         the result of update is retained throught several calls down to
1536         dispatch.
1537
1538         * LyXAction.h: add a new func_attrib: NoUpdate
1539
1540         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1541         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1542         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1543         and LFUN_WORDLEFT
1544         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1545
1546 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1547
1548         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1549         bv_->owner(), bv_->buffer() by direct references to the private
1550         members.
1551         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1552         (getStatus): isSavedPosition() is in BufferView::Pimpl.
1553         (fitCursor): center() is in BufferView::Pimpl.
1554         (getStatus, trackChanges, dispatch): no need for a temporary buf
1555         variable
1556         (fitCursor, workAreaDispatch): use workarea().workheight()
1557
1558 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1559
1560         * CutAndPaste.C (pasteSelectionHelper): fix a crash
1561
1562 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1563
1564         * buffer.C: format up to 241.
1565         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1566         break if pasting into ERT
1567         * lyxfunc.C (getStatus): suppress mathpanel and
1568         LFUN_DIALOG_SHOW_NEW_INSET in ERT
1569
1570 2005-02-01  Angus Leeming  <leeming@lyx.org>
1571
1572         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1573
1574 2005-02-01  Angus Leeming  <leeming@lyx.org>
1575
1576         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1577         calling fs::is_directory().
1578
1579 2005-01-31  Angus Leeming  <leeming@lyx.org>
1580
1581         * lyx_main.C (priv_exec): specify explicitly the relative location
1582         of the top level build directory when run in-place.
1583
1584 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1585
1586         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1587         LyXText containing the cursor, not the top-level one.
1588
1589         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1590         true.
1591         (insertStringAsLines): rename par to pit; use temporary variable
1592         par to hold a Paragraph; do not store par.layout() in a variable,
1593         since the pointer may die when breaking paragraphs; pass pars to
1594         breakParagraph() instead of Buffer::paragraphs().
1595
1596 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1597
1598         * lyxlex_pimpl.h: #include <fstream>.
1599
1600         * BufferView.[Ch] (getLyXText): add a const version.
1601
1602         * BufferView_pimpl.C: add debug aids.
1603
1604         * RowList_fwd.h:
1605         * buffer.h:
1606         * lyxrow.h:
1607         * paragraph_funcs.h: add commentary explaining what the class does.
1608
1609
1610         * coordcache.[Ch]: add lots of commentary.
1611         (startUpdating, doneUpdating): debug aids.
1612         (arrays, insets, parPos, getParPos): accessors to private data.
1613
1614         * cursor_slice.[Ch] (text): add a const version.
1615         * dociterator.[Ch] (text, innerText): add const versions.
1616
1617         * lyxtext.h (breakParagraph): change the keep_layout arg to a
1618         bool.
1619
1620         * paragraph.C (getRow, pos2ros): add asserts.
1621
1622         * paragraph.h: add commentary. Lots of.
1623
1624         * paragraph.[Ch] (metrucs, draw): removed.
1625
1626         * cursor.C:
1627         * rowpainter.[Ch]: const-correct changes.
1628
1629         * text.C: various obvious clean-ups. Removal of ancient cruft.
1630         Bug fixes, even.
1631
1632 2005-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
1633
1634         * vc-backend.C (find_file): rewrite to use boost.filesystem
1635         (scanMaster): ditto
1636
1637         * main.C (main): set default name check for boost.filesystem to
1638         no check
1639
1640         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1641         (open): ditto
1642         (doImport): ditto
1643         (actOnUpdatedPrefs): ditto
1644
1645         * lyx_main.C (init): rewrite to use boost.filesystem
1646         (queryUserLyXDir): ditto
1647
1648         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1649         (getContentsOfAsciiFile): ditto
1650
1651         * lastfiles.C (readFile): rewrite to use boost.filesystem
1652
1653         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1654
1655         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1656         (loadLyXFile): ditto
1657
1658         * buffer.C (Buffer): adjust for destroydir
1659         (getLogName): rewrite to use boost.filesystem
1660         (setFileName): ditto
1661         (save): use fs::copy_file (from fs_extras)
1662
1663         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1664
1665         * LaTeX.C (run): rewrite to use boost.filesystem
1666         (scanAuxFiles): ditto
1667         (handleFoundFile): ditto
1668
1669 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1670
1671         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1672
1673         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1674
1675 2005-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1676
1677         * lyxlayout.[Ch]: change some vars from float to double
1678
1679         * buffer.C (readFile): make a local var const
1680
1681         * Several files: use convert<> instead of atoi,strToXXX and friends
1682
1683 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1684
1685         * LaTeXFeatures.[Ch]: Add a static list packages_ that
1686         holds the contents of packages.lst. New functions getAvailable
1687         and isAvailable to parse and check that list, resp.
1688
1689         * LyXAction.C:
1690         * lfuns.h:
1691         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1692
1693         * bufferparams.[Ch]: new param output_changes.
1694
1695         * Buffer.C: increase file format to 240.
1696         Use output_changes and isVailable.
1697
1698         * changes.[Ch]:
1699         * paragraph.C:
1700         * paragraph_pimpl.C: Use output_changes and isVailable.
1701
1702 2005-01-23  Angus Leeming  <leeming@lyx.org>
1703
1704         * output_latex.C: #include "insetbibitem.h", rather than
1705         forward declare function bibitemWidest.
1706
1707 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
1708
1709         * lyx_main.C (init): make it compile on the Mac.
1710
1711 2005-01-20  Angus Leeming  <leeming@lyx.org>
1712
1713         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1714         (setLyXMisc): (char string literal) != (char string literal) is
1715         performing a comparison on the addresses. Convert one operand
1716         explicitly to string to guarantee expected behaviour.
1717         From MSVC warning.
1718
1719 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1720
1721         * buffer.C:
1722         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1723
1724         * output_plaintext.C: remove unneeded #include gzstream.h.
1725
1726 2005-01-20  Angus Leeming  <leeming@lyx.org>
1727
1728         * SpellBase.h: rename some of the elements of the Result enum.
1729
1730         * aspell_local.h:
1731         * ispell.h:
1732         * pspell.h:
1733         * aspell.C (check):
1734         * ispell.C (check):
1735         * pspell.C (check): ditto
1736
1737 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1738
1739         * buffer.C: add #include <fstream>.
1740
1741         * lyx_main.C (init): Compile fix.
1742
1743         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1744
1745 2005-01-20  Angus Leeming  <leeming@lyx.org>
1746
1747         * mover.h: change commentary to reflect the changed meaning of
1748         the $$s placeholder.
1749
1750 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1751
1752         * output_linuxdoc.C (linuxdocParagraphs): silence warning
1753
1754         * lyxfind.C (MatchString::operator()): remove bogus semicolon
1755
1756 2005-01-20  Angus Leeming  <leeming@lyx.org>
1757
1758         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1759         printing diagnostic data by not dereferecing an iterator past the
1760         end.
1761
1762 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1763
1764         * buffer.C (readHeader): use "&&" rather than "and".
1765
1766         * lyxserver.h (inPipeName, outPipeName): make these const.
1767
1768 2005-01-19  Angus Leeming  <leeming@lyx.org>
1769
1770         * lyx_main.C (error_handler, init): protect SIGHUP with
1771         #ifdef SIGHUP guards.
1772
1773 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1774
1775         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1776
1777 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1778
1779         * text.C (setHeightOfRow): add a margin at the top and bottom of
1780         the document (bug 1761)
1781
1782 2005-01-17  Angus Leeming  <leeming@lyx.org>
1783
1784         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1785         with "python ". Workaround for a brain-dead Windows.
1786
1787 2005-01-16  Angus Leeming  <leeming@lyx.org>
1788
1789         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1790         for MacOSX and Windows to use prependEnvPath.
1791         Strip out the hard-coded block to add elements to the PATH for
1792         MacOSX and replace it with a call to prependEnvPath using the
1793         contents of LyXRC::path_prefix.
1794         (queryUserLyXDir): strip out the code to run reconfigure, instead
1795         returning a boolean indicating the necessity to do so.
1796         (reconfigureUserLyXDir): contains the code to reconfigure the
1797         user support directory. Is now called after the various LyXRC data
1798         files have been read.
1799
1800         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1801
1802 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1803
1804         * converter.[Ch] (convert): take a new parameter try_default. Use
1805         a default converter (imagemagick) if try_default is true.
1806
1807 2005-01-13  Angus Leeming  <leeming@lyx.org>
1808
1809         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1810         os::cygwin_path_fix.
1811         (write): output LyXRC::cygwin_path_fix as necessary.
1812
1813 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
1814
1815         * lyxrc.h:
1816         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1817
1818 2005-01-12  Angus Leeming  <leeming@lyx.org>
1819
1820         * lyx_main.C (init): set the PATH variable to include the
1821         directory containing the LyX binary when running on Mac or Windows.
1822
1823 2005-01-12  Angus Leeming  <leeming@lyx.org>
1824
1825         * lyx_main.C (init): remove cruft that purports to set the locale
1826         dir. It doesn't and is not needed anyway.
1827
1828 2005-01-10  Angus Leeming  <leeming@lyx.org>
1829
1830         * Makefile.am: remove the lyx_main.C special casing.
1831
1832         * BufferView_pimpl.C:
1833         * bufferlist.C:
1834         * exporter.C:
1835         * lyx_cb.C:
1836         * lyx_main.C:
1837         * lyxfunc.C:
1838         * messages.C: use support/package.h to provide the paths to the
1839         various directories used by LyX.
1840
1841 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1842
1843         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1844         layout if pasting into an empty paragraph)
1845
1846 2005-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1847
1848         * tex-accent.C: add <string>
1849
1850 2005-01-06  José Matos  <jamatos@lyx.org>
1851
1852         * ParagraphParameters.C (write): put every parameter in its own line.
1853         * paragraph.C (write): reduce number of consecutive empty lines exported.
1854         * buffer.C (LYX_FORMAT): increase file format to 239.
1855
1856 2005-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1857
1858         * everywhere: change support/tostr.h -> support/convert.h
1859
1860         * tabular.C: make all write_attributes templates, tostr -> convert
1861
1862         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1863         (emptyTag): and -> &&, and fix type for ret from getChar
1864         (getFirstWord): fix type for ret from getChar
1865         (onlyText): and -> &&
1866         (simpleDocBookOnePar): and not -> && !, fix type for ret from
1867         getChar
1868
1869         * toc.C (goTo, action):
1870         * text3.C (dispatch):
1871         * text.C (currentState):
1872         * tex-accent.C (DoAccent):
1873         * sgml.C:
1874         * lyxrc.C:
1875         * lyxfunc.C (menuNew):
1876         * lyxfinc.C (replace):
1877         * counters.C (laberItem):
1878         * bufferview_funcs.C (font2string):
1879         * bufferparams.C (writeFile):
1880         * buffer.C (readFile):
1881         * Spacing.C (set):
1882         * MenuBackend.C: tostr -> convert
1883
1884         * LaTeX.C (runMessage): fix format
1885         (scanAuxFiles): tostr -> convert
1886
1887         * BufferView_pimpl.C (savePosition): fix format
1888         (restorePosition): ditto
1889         (dispatch): ditto
1890
1891 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1892
1893         * Spacing.[Ch]: New method getValueAsString().
1894
1895         * Spacing.[Ch]:
1896         * bufferparams.C:
1897         * ParagraphParameters.C:
1898         * lyxlayout.C:
1899         * text.C:
1900         * text3.C: store/read spacing value as string.
1901
1902         * rowpainter.C: change float value (spacing_val) to double.
1903
1904         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1905         broken custom document spacing).
1906
1907 2005-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
1908
1909         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1910         namespace, also more use of temp references and const
1911
1912         * cursor.[Ch] (getStatus): move to lyxfunc.C
1913
1914         * bufferparams.C: reformat slightly
1915
1916         * bufferview_funcs.C (font2string): constify arg
1917
1918         * changes.C:
1919         * converter.C:
1920         * counters.C:
1921         * bufferlist.C:
1922         * buffer_funcs.C: (many funcs): constify arg on function
1923         definitions, also make more local vars const, also add ASSERTS on
1924         pointer args.
1925
1926         * buffer.C (LYX_FORMAT): put const in correct place
1927         (many funcs): constify arg on function definitions, also make
1928         more local vars const
1929
1930         * aspell_local.h: remove "struct" from typdef setup
1931
1932         * aspell.C (check): make word_ok const
1933         (nextMiss): simplify slightly
1934         (error): ditto
1935
1936 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1937
1938         * lyxrc.[Ch]: store all float values as strings.
1939         use int (not float) for lyxrc.dpi.
1940
1941 2005-01-04  Angus Leeming  <leeming@lyx.org>
1942
1943         * lyx_cb.C (Reconfigure):
1944         * lyx_main.C (queryUserLyXDir):
1945         to run the <system_lyxdir>/configure correctly on Windows, prefix
1946         the path to the script with "sh " when generating the string that
1947         is passed to system().
1948
1949 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1950
1951         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1952
1953 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1954
1955         * lyxlength.C (asLatexString): get rid of setprecision
1956
1957 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1958
1959         * text2.C (setLayout): remove unused variable endpit.
1960         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1961
1962         * paragraph.C (onlyText): remove unused variable style.
1963
1964         * cursor.C (bruteFind): remove unused variables beg and end.
1965
1966         * Makefile.am (dist_noinset_DATA): not needed anymore
1967
1968         * cheaders/*: remove.
1969
1970 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1971
1972         * text3.C: fix LFUN_MATH_MODE.
1973
1974 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1975
1976         * buffer_funcs.C (countWords): new function. Counts words between
1977         two iterators.
1978
1979         * BufferView_pimpl.C (getStatus, dispatch): handle
1980         LFUN_WORDS_COUNT.
1981
1982         * LyXAction.C (init):
1983         * lfuns.h: add LFUN_WORDS_COUNT.
1984
1985 2004-12-19  Angus Leeming  <leeming@lyx.org>
1986
1987         * buffer.C (save): s/slashify_path/internal_path/.
1988
1989 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1990
1991         * lyxfind.C (findChange): do not search for end of pars, because
1992         the change tracker cannot handle this (fixes bug 1719).
1993
1994 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1995
1996         * paragraph.[Ch] (autoBreakRows): remove
1997
1998         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1999
2000         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
2001         avoid using the paragraph one
2002
2003         * text2.C (LyXText, insertStringAsLines): adjust
2004
2005 2004-12-16  Angus Leeming  <leeming@lyx.org>
2006
2007         * bufferlist.C:
2008         * lyx_main.C:
2009         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
2010
2011 2004-12-14  Angus Leeming  <leeming@lyx.org>
2012
2013         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
2014
2015         * bufferlist.C (emergencyWrite):
2016         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
2017         GetEnvPath("HOME").
2018
2019 2004-12-14  Angus Leeming  <leeming@lyx.org>
2020
2021         * main.C: (main): no longer pass pointers to os::init.
2022
2023 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
2024
2025         * undo.C (textUndoOrRedo): simplify logic, fix a crash
2026         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
2027
2028 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
2029
2030         * lyxfunc.C:
2031         * text3.C: remove selection_possible global flag
2032
2033 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
2034
2035         * text2.C (getSelectionSpan): remove
2036         (changeDepth, changeDepthAllowed): adjust
2037
2038 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
2039
2040         * Makefile.am (BOOST_LIBS): use boost variables
2041
2042 2004-12-03  José Matos  <jamatos@lyx.org>
2043
2044         * buffer.C: format up to 238.
2045
2046 2004-12-03  José Matos  <jamatos@lyx.org>
2047
2048         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
2049
2050 2004-12-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2051
2052         * cursor.C (goUpDown): remove call to idxUpDown2
2053
2054 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2055
2056         * tabular.[Ch]: use size_t-like types for cell, row and column
2057         indices
2058
2059 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2060
2061         * lyxfunc.C (getStatus): do not lose previous information when
2062         calling BufferView::getStatus; do not set a default "Command
2063         disabled" message at the beginning, but just before returning.
2064
2065 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2066
2067         * cursor.h (getStatus): add better comment from src/cursor.C
2068
2069 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2070
2071         * text3.C (getStatus): return false when the lfun is not handled
2072
2073 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2074
2075         * broken_headers.h: remove
2076
2077         * Makefile.am (lyx_SOURCES): remove broken_headers.h
2078
2079 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2080
2081         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
2082         offset_ref accessors
2083
2084         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
2085         top_y_, merge fitcursor with update
2086         (updateScrollbar, scrollDocView, fitCursor, center, update): new
2087         coord scheme
2088         (metrics): introduce
2089         (workAreaDispatch): adapt to new coord scheme
2090         (redoCurrentBuffer): remove
2091
2092         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
2093
2094         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
2095         CurStatus enum.
2096
2097         * coordcache.[Ch]: add paragraph cache and helpers
2098
2099         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
2100         adjust everywhere
2101
2102         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
2103         (targetX, setTargetX): introduce
2104
2105         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
2106         baseline -> ascent, as the rest of lyx
2107
2108         * lyxtext.h: remove redoParagraphs, updateParPositions,
2109         fullRebreak, redoParagraphInternal. move dist to anon namespace in
2110         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
2111         have ascent/descent (ascent is ascent of first par)
2112
2113         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
2114         step of BufferView
2115
2116         * paragraph.[Ch]: unify dimension handling with the rest of lyx
2117
2118         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
2119
2120         * pariterator.C: fix infinite loop introduced in par->pit renaming
2121
2122         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
2123         in insets and LyXText, draw two off-screen paragraphs using
2124         NullPainter, and adapt to new coord scheme
2125
2126         * text.C:
2127         * text2.C:
2128         * text3.C: adapt lfun handlers to the new coord scheme, which
2129         means: there's only guaranteed coord information for onscreen pars
2130         plus one above and one below. This implies that one can do search
2131         from y coordinates in the range [-1,workHeight]
2132
2133 2004-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2134
2135         * rename a lot of InsetOld to InsetBase
2136
2137 2004-11-25  Angus Leeming  <leeming@lyx.org>
2138
2139         * BufferView_pimpl.C:
2140         * lyx_cb.C:
2141         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
2142
2143 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2144
2145         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
2146         call BufferView::getStatus if LCursor::getStatus did nothing
2147         (setStatusMessage, getStatusMessage): removed.
2148
2149         * FuncStatus.C (message): new methods. Used to provide an error
2150         message indicating why a command is disabled.
2151         (clear, |=, FuncStatus): update for message.
2152
2153 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2154
2155         * lyxfunc.C (dispatch): always call sendDispatchMessage
2156
2157 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2158
2159         * BufferView.C:
2160         * BufferView_pimpl.C:
2161         * CutAndPaste.C:
2162         * FontIterator.C:
2163         * buffer.C:
2164         * cursor.C:
2165         * cursor_slice.[Ch]:
2166         * dociterator.[Ch]:
2167         * lyxfind.C:
2168         * paragraph_funcs.C:
2169         * pariterator.C:
2170         * rowpainter.C:
2171         * text.C:
2172         * text2.C:
2173         * text3.C:
2174         * undo.C: par->pit renaming
2175
2176 2004-11-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2177
2178         * tabular.C (cellstruct): use initialization, store a shared_ptr
2179         to insettext instead of the insettext directly, adjust to fit.
2180         (operator=):  new function
2181         (swap): new function
2182         (rowstruct): use initialization
2183         (columnstruct): use initialization
2184         (ltType): use initialization
2185
2186
2187         * lyxlength.h (swap): new function
2188
2189         * LColor.[Ch] (operator=): use the common semantics
2190
2191 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2192
2193         * lyxfind.C (findNextChange): update the bufferview after setting
2194         the selection.
2195
2196 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2197
2198         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
2199         number of InsetOptArgs has already been inserted.
2200
2201         * output_latex.C (latexOptArgInsets): new method. This outputs all
2202         the optarg insets, up to the limit defined in the layout file.
2203         (optArgInset): removed
2204         (TeXOnePar): call latexOptArgInsets; correctly update texrow
2205
2206 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2207
2208         * paragraph.C (isLetter): remove special spellchecker-related
2209         code; return true also for digits
2210         (isWord, isKomma): remove
2211
2212         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
2213         * lyxfind.C (MatchString()): use isLetter instead of isWord
2214
2215 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2216
2217         * pariterator.h (operatir=): comment out un-implemented member
2218         function.
2219
2220         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
2221         static cast.
2222
2223 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2224
2225         * lyxfont.h: include LColor.h to satisfy concept checks.
2226
2227 2004-11-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2228
2229         * pariterator.h: add typdefs for value_type, difference_type,
2230         pointer and reference to satisfy concept checks. Also add default
2231         constructor for same reason.
2232
2233         * pariterator.C (operator++): add post-increment operator to
2234         satisfy concept checks.
2235
2236         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
2237         checks.
2238
2239         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
2240
2241         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
2242         checks. Also rename base_type to BaseType to follow naming
2243         standard better.
2244
2245         * FloatList.h: include Floating.h to satisfy concept checks.
2246
2247 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2248
2249         * lyxfunc.C (getStatus): when the origin of the request is menu or
2250         toolbar, and the LyXView does not have focus, do as if there was
2251         no buffer (bug 1720)
2252
2253         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2254         FuncRequest to individual entries of LFUN_SEQUENCE
2255
2256 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2257
2258         * output_latex.C (TeXOnePar): override runparams.moving_arg
2259         according to the needprotect value of the current paragraph (bug
2260         1739)
2261
2262         * paragraph.C (simpleTeXOnePar): no need to override
2263         runparams.moving_args here
2264
2265 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
2266
2267         * vspace.C: fix off-by-one-error, related to fix #1682
2268
2269 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2270
2271         * lengthcommon.C: a more general fix for bug 1682
2272
2273 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2274
2275         * text.C (backspace): fix crash
2276
2277 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2278
2279         * format.[Ch] (getFormatFromFile): new method
2280         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2281
2282 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2283
2284         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2285
2286 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2287
2288         * lyxfunc.C (dispatch): remove the verbose argument
2289         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2290         instead
2291
2292         * kbmap.C (defkey): set the origin of func to KEYBOARD
2293
2294         * MenuBackend.C (MenuItem):
2295         * ToolbarBackend.C (add): set the origin of func to UI
2296
2297         * funcrequest.[Ch]: add origin member, which indicates which part
2298         of LyX requests an action
2299
2300 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2301
2302         * converter.C (move): don't lie in the error message
2303         * converter.h (isReachable, move): document
2304
2305 2004-11-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2306
2307         * buffer.C: remove unused using lyx::support::atoi
2308         * paragraph_funcs.C: ditto
2309
2310 2004-11-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2311
2312         * bufferlist.C (exists): use bind and equal_to instead of
2313         compare_memfun
2314         (getBuffer): ditto
2315         * lyxtextclasslist.C (NumberOfClass): ditto
2316
2317         * cursor.C (insert): use for_each instead of explicit for loop
2318
2319         * bufferlist.C (getFileNames): use std::transform and
2320         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2321
2322         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2323         for loop
2324
2325         * buffer.C (changeLanguage): use for_each instead of explicit for
2326         loop
2327         (hasParWithID): implement using getParFromID
2328
2329         * LaTeXFeatures.C: ws change only
2330
2331         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2332         to cleanup a bit.
2333
2334         * BufferView_pimpl.C (trackChanges): use for_each instead of
2335         expilicit for loop
2336
2337 2004-11-04  André Pönitz  <poenitz@gmx.net>
2338
2339         * undo.h:
2340         * undo.C (textUndoOrRedo): fix crash when creating undo information.
2341
2342         * dociterator.C (asDocIterator): use hard assert again.
2343
2344 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2345
2346         * lyxlength.C (asLatexString): rewrite so that it does not use
2347         snprintf anymore
2348
2349 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2350
2351         * text3.C (specialChar, dispatch): make sure cursor moves to the
2352         right after inserting an inset
2353
2354 2004-11-02  José Matos  <jamatos@lyx.org>
2355
2356         * output_docbook.C (docbook):
2357         * paragraph.C (getID):
2358         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2359         garantee that the output is always legal.
2360
2361         * tabular.C (docbook):
2362         * outputprams.[Ch]: remove mixed contents.
2363
2364 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2365
2366         * text2.C (setCounter): prevent endless loop
2367
2368 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2369
2370         * exporter.C (copyFile): use the mover instead of support::copy()
2371         * exporter.C (Export): pass format and latex name to copyFile()
2372         * exporter.h (addExternalFile): document
2373         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2374
2375 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2376
2377         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2378
2379 2004-10-30  José Matos  <jamatos@lyx.org>
2380
2381         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2382         text and no inset or font change. This allows to use CDATA
2383         sections just for the whole paragraph.
2384
2385 2004-10-30  José Matos  <jamatos@lyx.org>
2386
2387         * paragraph.C (getFirstWord): remove unused variable.
2388
2389 2004-10-30  José Matos  <jamatos@lyx.org>
2390
2391         * paragraph.C (getFirstWord): the content should always be escaped
2392         there.
2393         (simpleDocBookOnePar):
2394         * output_docbook.C (makeEnvironment): replace reference to CDATA
2395         to style pass_thru.
2396
2397 2004-10-30  José Matos  <jamatos@lyx.org>
2398
2399         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2400
2401 2004-10-30  José Matos  <jamatos@lyx.org>
2402
2403         * output_docbook.C (makeParagraphs):
2404         * paragraph.[Ch] (emptyTag): for docbook and company, if the
2405         standard paragraph has only a given type of content drop the wrapper.
2406
2407 2004-10-29  José Matos  <jamatos@lyx.org>
2408
2409         * output_docbook.C (makeEnvironment):
2410         * sgml.C (openTag):
2411         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2412
2413 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
2414
2415         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2416         (cleanID): sanitize any id.
2417
2418 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2419
2420         * buffer.C, lyxlex_pimpl.C:
2421         * lyxlex_pimpl.C (setFile):
2422         s/getExtFromContents/getFormatFromContents/
2423
2424 2004-10-28  José Matos  <jamatos@lyx.org>
2425
2426         * output_docbook.C (makeEnvironment): move id to broadest possible
2427         scope.
2428
2429         * sgml.C (openTag): apply substitution of <> for all attributes.
2430
2431 2004-10-28  José Matos  <jamatos@lyx.org>
2432
2433         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2434         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2435         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2436
2437         * sgml.[Ch]: new version for open and closeTag for paragraph and
2438         for strings. Now they handle the ids of paragraphs.
2439
2440 2004-10-26  Angus Leeming  <leeming@lyx.org>
2441
2442         * Makefile.am: add mover.[Ch].
2443
2444         * converter.C (convert, move): use the new Movers to move external
2445         files to the temp directory.
2446
2447         * lyx_main.C (init): ensure that the global system_movers data
2448         is initialised.
2449
2450         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2451         preferences file.
2452
2453         * mover.[Ch]: new files, defining a Mover as a utility to move an
2454         external file between directories and, if necessary, manipulate this
2455         file using a helper script.
2456
2457 2004-10-25  José Matos  <jamatos@lyx.org>
2458
2459         * output_docbook.C (makeCommand): merge two if's that tested the
2460         same condition.
2461
2462 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2463
2464         * sgml.C (escapeString): fix warning in a better way
2465
2466 2004-10-25  José Matos  <jamatos@lyx.org>
2467
2468         * sgml.C (escapeString): import the require boosts header file for
2469         tie, and avoid a signed unsigned comparison.
2470
2471 2004-10-25  José Matos  <jamatos@lyx.org>
2472
2473         * sgml.h: add #include <string>
2474
2475 2004-10-25  José Matos  <jamatos@lyx.org>
2476
2477         * sgml.[Ch] (escapeString): new function to escape all the string.
2478
2479 2004-10-24  José Matos  <jamatos@lyx.org>
2480
2481         * paragraph.[Ch] (getFirstWord): new function to get the first
2482         word. Useful for description.
2483         (simpleDocBookOnePar): remove depth argument, add another that
2484         says where to start the paragraph.
2485
2486         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2487         use the new functions to fix cleanly the support for descriptions.
2488
2489 2004-10-24  José Matos  <jamatos@lyx.org>
2490
2491         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2492         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2493         * output_linuxdoc.C (linuxdocParagraphs):
2494         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2495         add buffer as argument.
2496
2497 2004-10-24  José Matos  <jamatos@lyx.org>
2498
2499         * output_docbook.C (makeEnvironment, searchEnvironment): place
2500         CDATA inside paragraphs and fix scope for listitems.
2501
2502 2004-10-24  José Matos  <jamatos@lyx.org>
2503
2504         * output_docbook.C: remove using statement for stack.
2505
2506 2004-10-23  José Matos  <jamatos@lyx.org>
2507
2508         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2509         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2510         docbook. The new scheme is recursive and makes use of iterators, the
2511         same as latex export works.
2512         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2513         directly with the paragraph contents. This code was moved up to
2514         output_docbook.C (docbookParagraphs).
2515         * sgml.C (openTag, closeTag): removed unneeded newlines.
2516         (closeEnvTags) removed.
2517
2518 2004-10-23  André Pönitz  <poenitz@gmx.net>
2519
2520         * undo.C (textUndoOrRedo):
2521         * dociterator.C (asDocIterator): work around crash
2522
2523         * cursor.C (getStatus): replace ASSERT by more verbose error message
2524           and manual correction of the problem. Should increase stability
2525           while providing more sensible information.
2526
2527 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2528
2529         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2530
2531         * bufferlist.C (previous, next): new methods
2532
2533         * lfuns.h:
2534         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2535
2536 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
2537
2538         * buffer.C (makeDocBookFile): add dsssl stylesheet control
2539         entities to preamble.
2540
2541 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2542
2543         * messages.C (Pimpl): strip off translation context information
2544
2545 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2546
2547         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2548         the cursor is correct (bug 1694)
2549
2550 2004-10-13  José Matos  <jamatos@lyx.org>
2551
2552         * output_docbook.C (docbookParagraphs): fix closing tags in the
2553         end of the document.
2554
2555 2004-10-09  José Matos  <jamatos@lyx.org>
2556
2557         * buffer.C: format up to 237.
2558         * bufferparams.C (write): use tostr to convert booleans to strings.
2559
2560 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
2561
2562         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2563
2564 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
2565
2566         * LaTeX.C: implement use of babel language in xindy.
2567
2568 2004-10-05  José Matos  <jamatos@lyx.org>
2569
2570         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2571         Add new translators to help reading and writing the lyx file.
2572
2573 2004-10-05  José Matos  <jamatos@lyx.org>
2574
2575         * ParagraphParameters.C (read):
2576         * text.C (readParToken): replace nexToken by more appropriate lex
2577         methods.
2578
2579 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
2580
2581         * LaTeX.C (runMakeIndex):
2582         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2583         (usually 'makeindex') configurable.
2584
2585         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2586         with a variable rather than with a number.
2587
2588 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2589
2590         * output_latex.C (TeXOnePar): make sure font setting is the first
2591         thing that gets output (and the last at the end). Should fix bug
2592         1404.
2593
2594 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2595
2596         * pch.h: use proper signal include
2597
2598         * LaTeX.h: Use preferred calling of Boost.Signal
2599         * buffer.h: ditto
2600
2601 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2602
2603         * pch.h: dont include <boost/function/function0.hpp>
2604
2605         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2606
2607         * paragraph_pimpl.h: remove usage of ShareContainer
2608
2609         * paragraph_pimpl.C: remove initialization of ShareContainer.
2610
2611 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2612
2613         Fix bug #1666
2614
2615         * BufferView.C (putSelectionAt): change the semantics when
2616         backwards == true: now, this just swaps cursor and anchor wrt the
2617         forward case
2618
2619         * BufferView.h (putSelectionAt): add some documentation
2620
2621         * lyxfind.C (findBackwards): rewrite using while(). In particular,
2622         make sure backwardChar is done at least once (to avoid getting
2623         stuck)
2624         (findNextChange): use putSelectionAt in the forward direction
2625         (operator()): use Paragraph::isWord
2626
2627 2004-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2628
2629         * Spacing.C (set): c_str fix
2630
2631 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2632
2633         * lyx_cb.C (Reconfigure): quote the name of configure script in
2634         case it contains spaces
2635
2636 2004-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2637
2638         * client: new dir
2639
2640         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2641         (BOOST_LIBS): use top_buildir when looking for the file
2642
2643 2004-08-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2644
2645         * pch.h: do not use include boost/format.hpp, multiple symbols
2646                 will result (gcc bug)
2647
2648
2649 2004-08-23  José Matos  <jamatos@lyx.org>
2650
2651         * bufferparams.C (readToken): fix reading of the author field.
2652
2653 2004-08-20  José Matos  <jamatos@lyx.org>
2654
2655         * lyxrc.C: remove support/translator.h inclusion since it is not used.
2656
2657 2004-08-20  José Matos  <jamatos@lyx.org>
2658
2659         * lyxlex.[Ch] (findToken): remove function.
2660
2661         * ParagraphParameters.C (findToken):
2662         * bufferparams.C (findToken): replace call for previous function
2663         with local copy. This local function has one more argument, the
2664         read string argument.
2665
2666 2004-08-16  José Matos  <jamatos@lyx.org>
2667
2668         * ParagraphParameters.C (write):
2669         * Spacing.C (writeFile):
2670         * bufferparams.C (writeLaTeX):
2671         * lyx_cb.C (Reconfigure):
2672         * paragraph.C (write):
2673         * tabular.C (write): remove unnecessary space at end of line.
2674
2675
2676 2004-08-16  José Matos  <jamatos@lyx.org>
2677
2678         * text.C (readParagraph): remove debug message.
2679
2680 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2681
2682         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2683         crash
2684
2685         * output_plaintext.C (asciiParagraph): set depth correctly
2686
2687         * outputparams.h: add member depth
2688
2689         * paragraph_funcs.C (ownerPar): remove.
2690
2691         * text2.C (setCounter): remove first_pit; comment out some
2692         non-working code that uses ownerPar
2693
2694         * BufferView.C (getParentLanguage): remove. Not used anymore, and
2695         uses ownerPar
2696
2697 2004-08-16  José Matos  <jamatos@lyx.org>
2698
2699         * text.C (readParToken, readParagraph, read): report all unknown tokens.
2700         For the same level of importance use the same chanel to report problems.
2701         (read): add code to deal with \begin_body and \end_body.
2702
2703
2704 2004-08-15  José Matos  <jamatos@lyx.org>
2705
2706         * lyxlex.C (getString): fix comment, buffer::readBody is now
2707         buffer:readDocument.
2708
2709         * tex-strings.C (string_papersize): Default -> default,
2710         Custom -> custom, for consistency with other options.
2711
2712 2004-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2713
2714         * pch.h: new file
2715
2716         * Makefile.am: support pch
2717
2718 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2719
2720         * text.C (readParToken): remove the static LyXFont variable and
2721         pass it as a parameter instead. This fixes a nasty bug where an
2722         inset will be inserted with a bad font in some situations
2723         (readParagraph): adapt
2724
2725         * text2.C (setCounter): reduce number of calls to pars_[pit]
2726
2727         * text.C (singleWidth): add an assert, fix a test
2728
2729         * rowpainter.C (paintText): reduce number of calls to singleWidth
2730
2731         * paragraph.C (isHfill):
2732         (isNewline): ws only
2733
2734 2004-08-14  André Pönitz  <poenitz@gmx.net>
2735
2736         * text.C:
2737         * text2.C:
2738         * rowpainter.C:
2739         * lyxtext.h (several functions): use a Paragraph & argument
2740         instead of par_type
2741
2742 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2743
2744         * metricsinfo.h: add a new field ltr_pos to PainterInfo
2745
2746         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2747
2748         * text.C (singleWidth): remove useless test
2749
2750 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2751
2752         * tabular.h: remove bogus comments
2753
2754         * tabular.C (getDescentOfRow):
2755         (isPartOfMultiColumn): add assertions
2756
2757         * lyxlength.C (inPixels): remove #warning
2758
2759 2004-08-14  André Pönitz  <poenitz@gmx.net>
2760
2761         * paragraph.h: inline getChar()
2762
2763         * BufferView.h: remove unused declarations
2764
2765 2004-08-14  José Matos  <jamatos@lyx.org>
2766
2767         * Buffer.[Ch] (readDocument): new name for old readBody.
2768         * Buffer.C: new file format, new keywords: \begin_document,
2769         \begin_header, \begin_body, \end_body.
2770
2771         * bufferparams.C (readToken): replace all calls to lex.nextToken
2772         by lex.next(). Do the same to eatLine except where really needed.
2773
2774         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2775         line when writing to the lyx file.
2776
2777         * output_plaintext.C (asciiParagraph): fix Bibliography style
2778         handling.
2779
2780         * text.C (read): fix end of file handling.
2781
2782 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2783
2784         * MenuBackend.C (Menu::operator[]): new method to access
2785         individual menu items
2786         (Menu::hasFunc): new method. search for an item that corresponds
2787         to a given func
2788         (MenuBackend::specialMenu): new method
2789         (MenuBackend::expand): if a special menu has been set, skip
2790         entries whose func() appears in this menu
2791
2792 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2793
2794         * text3.C: use Debug::DEBUG a bit more
2795
2796         * text.C (leftMargin): try to simplify a tiny bit change var x to
2797         l_margin. Dont output the wide margins always.
2798         (rightMargin): no margin in inner texts
2799
2800         * rowpainter.h (nestMargin): new func
2801         (changebarMargin): new func
2802         (rightMargin): new func
2803
2804         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2805         now functions.
2806         (paintLast): ditto
2807
2808         * factory.C (createInset): modify setDrawFrame
2809
2810         * cursor.C: use Debug::DEBUG a bit more
2811
2812 2004-08-14  André Pönitz  <poenitz@gmx.net>
2813
2814         * coordcache.[Ch]:
2815         * Makefile.am: new files to accomodate an 'external' (x,y)-position
2816         cache for all insets in (at least partially) visible (top-level)
2817         paragraphs.
2818
2819         * BufferView_pimpl.C: reset external coord cache before every update.
2820         This means the coord cache only contains valid entries.
2821
2822 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2823
2824         bug 1096
2825         * BufferView_pimpl.C (getInsetByCode): move function out of class
2826         and change in to a template in anon namespace. Also fix to do what
2827         suits us better.
2828
2829 2004-08-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
2830
2831         bug 1305
2832         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2833         of char
2834         (breakParagraph): rename par to par_offset and use a local
2835         reference. Add code to keep the language over a rebreak.
2836         (breakParagraphConservative): rename par to par_offset, use a
2837         local reference
2838         (mergeParagraph): ditto
2839         (outerHook): ditto
2840         (isFirstInSequence): ditto
2841         (outerFont): rename pit to par_offset
2842
2843         * paragraph.C: ws change
2844         * paragraph.h: ditto
2845         * text3.C: ditto
2846         * text.C: ditto
2847
2848 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2849
2850         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2851         treatment for ']'
2852
2853         * paragraph.C (simpleTeXOnePar): when we have a \item with
2854         optional argument, enclose the argument with curly brackets (in
2855         case it contains a closing square bracket)
2856
2857         * text2.C (editXY):
2858         * text2.C (editXY):
2859         * text3.C (checkInsetHit): constify
2860
2861 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2862
2863         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2864         documents (bug 1629)
2865
2866 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2867
2868         Fix toggling of collapsable insets with the mouse (bug 1558)
2869
2870         * lyxfunc.C (dispatch): adapt to LCursor changes
2871
2872         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2873         make sure that dispatch is not invoked twice
2874
2875         * cursor.C (needsUpdate): new method
2876         (dispatch): return void
2877         (result): new method, to access the DispatchResult of the cursor.
2878
2879 2004-08-13  José Matos  <jamatos@lyx.org>
2880
2881         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2882
2883 2004-08-13  André Pönitz  <poenitz@gmx.net>
2884
2885         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2886
2887         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2888           multiple cells
2889
2890 2004-08-12  André Pönitz  <poenitz@gmx.net>
2891
2892         * text3.C: take out the 'cursor right' form insertInset and only
2893         do it in those places when it is really needed. Fixes crash on
2894         C-m...
2895
2896 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2897
2898         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2899
2900         * BufferView_pimpl.C (setBuffer): initialize the current font of
2901         the underlying LyXText
2902
2903 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2904
2905         * kbsequence.C (print): use UI native formatting for menu
2906         shortcuts
2907
2908         * text.C (insertChar): call Paragraph::insertChar with a font
2909         argument (cosmetic)
2910
2911         * paragraph.C (insertInset, insertChar): the version that takes a
2912         LyXFont argument is now a wrapper around the other one (the
2913         opposite used to be true).
2914
2915         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2916         argument. Font setting is done in Paragraph now.
2917
2918 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2919
2920         * outputparams.h: add new members intitle and lang.
2921
2922         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2923         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2924
2925 2004-08-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2926
2927         * text3.C (dispatch): remove special handling of button 4 and 5,
2928         it is now taken care of in the frontend code.
2929
2930 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2931
2932         * Spacing.h: add <string> (STLPort compile fix)
2933
2934 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2935
2936         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2937
2938 2004-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2939
2940         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2941         to bool.
2942
2943         * converter.C (showMessage): inherit from unary_function, make
2944         operator() const.
2945
2946         * buffer.C (writeFile): initialize retval
2947
2948         * InsetList.h: rename private variable list to list_
2949         * InsetList.[Ch]: adjust accordingly.
2950
2951 2004-07-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2952
2953         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2954         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2955         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2956         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2957         * ParagraphParameters.C, LaTeXFeatures.C: replace
2958         "support/std_sstream.h" with <sstream>
2959
2960 2004-07-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2961
2962         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2963         * lyxsocket.C (LyXServerSocket): ditto
2964         (serverCallback): ditto
2965
2966 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2967
2968         * LaTeXFeatures.C: check release date when loading jurabib.
2969
2970 2004-07-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2971
2972         * lyxserver.C (startPipe): call register_socket_callback
2973         (endPipe): call unregister_socket_callback
2974
2975 2004-07-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2976
2977         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2978         (LyXServerSocket): register the callback
2979         (LyXServerSocket): unregister the callback
2980         (fd): delete function
2981         (serverCallback): improve error checking and setup the callbacks.
2982         (dataCallback): change arg to fd.
2983         (writeln): new func (copied fro the client socket) used for server
2984         write to client.
2985         (LyXDataSocket): simplify
2986         (~LyXDataSocket): close ann unregiser callback
2987         (server): delete function
2988         (fd): delete function
2989         (readln): small changes, improve some std::string usage
2990         (writeln): constify a bit
2991
2992 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2993
2994         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2995         Qt frontend
2996
2997 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2998
2999         * BufferView_pimpl.C (setBuffer): set the layout combox value only
3000         after it has been populated
3001
3002 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3003
3004         * text2.C (insertInset): move cursor when inserting inset.
3005
3006 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3007
3008         * kbmap.C (findbindings): a couple of new methods. returns a
3009         container of kb_sequence objects. The real work is done by the
3010         private recursive version
3011         (printbindings): uses findbindings to print out a bracketed list
3012         of bindings (renamed from findbinding).
3013
3014         * MenuBackend.C (binding): use kb_keymap::findbindings
3015
3016         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
3017
3018 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3019
3020         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
3021
3022 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3023
3024         * paragraph.C (isWord): return true on insets that report
3025         isLetter().
3026
3027         * text.C (getWord): use Paragraph::isWord to decide what is in a
3028         word and what is not; fix bug 1609.
3029
3030 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3031
3032         * tex-strings.C: add "none" to string_paperpackages[], fixes
3033         off-by-one-error in the paperpackage selection.
3034
3035         * lyxlex.[Ch]:
3036         * tex-strings.[Ch]: char const * string[n]
3037         -> char const * const string[]
3038
3039 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3040
3041         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
3042         command, return early.
3043
3044 2004-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3045
3046         * debug.h: add DEBUG to enum and fix size of ANY.
3047
3048         * debug.C: add support for Debug::DEBUG
3049         (showTags): cast errorTags.level to unsigned int
3050
3051         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
3052         (redoCurrentBuffer): ditto
3053         (updateScrollbar): ditto
3054         * cursor.C (dispatch): ditto
3055         * text2.C (setLayout): ditto
3056         (setFont): ditto
3057         (updateCounters): ditto
3058         (editXY): ditto
3059         (deleteEmptyParagraphMechanism): ditto
3060
3061 2004-06-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3062
3063         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
3064         annotations to cleanup the Makefile slightly.
3065
3066 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3067
3068         * lyxrc.C: do not set user_email to a default value but use empty
3069         instead. The entry used to be translated, which does not work
3070         since at the point where lyxrc is constructed there is no
3071         translation service available
3072
3073         * messages.C (getLocaleDir): remove and use directly
3074         lyx_localedir() instead
3075
3076 2004-06-02  Angus Leeming  <leeming@lyx.org>
3077
3078         Fix crash caused by dereferencing null pointer 'exportdata' in
3079         OutputParams by creating a new ExportData variable on the heap,
3080         storing it in a boost::shared_ptr.
3081         The crash was triggered when generating an Instant Preview
3082         of an external inset.
3083
3084         * Makefile.am: add outputparams.C
3085
3086         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
3087         (c-tor): allocate memory to it.
3088
3089         * exporter.C (c-tor): associated changes.
3090
3091 2004-06-01  Angus Leeming  <leeming@lyx.org>
3092
3093         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
3094         contains data before calling isInset(0). (Bug 1513.)
3095
3096 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3097
3098         * exporter.C (checkOverwrite): new method
3099         * exporter.C (copyFile): new method
3100         * exporter.C (Export): copy referenced files to the document dir
3101         * exporter.[Ch]: new class ExportedFile
3102         * exporter.[Ch]: new class ExportData. Contains currently the
3103         names of referenced external files
3104         * outputparams.h: add exportdata member.
3105
3106 2004-05-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3107
3108         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
3109         version.C-tmp
3110
3111 2004-05-19  Angus Leeming  <leeming@lyx.org>
3112
3113         * LaTeXFeatures.C:
3114         * ToolbarBackend.C:
3115         * bufferparams.C:
3116         * lyxfunc.C: small changes due to the introduction of namespace
3117         lyx::frontend and the moving of namespace biblio to lyx::biblio.
3118
3119 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
3120
3121         * text3.C (dispatch): supress update when only moving the cursor
3122         * cursor.C (selHandle): remove commented code
3123
3124 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3125
3126         * paragraph.C (startTeXParParams): correct column count
3127         * CutAndPaste.C (pasteSelection): remove const_cast
3128         * output_docbook.C (docbookParagraphs): remove const_cast
3129         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
3130         const_cast and return ParagraphList::const_iterator
3131         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
3132         * output_plaintext.C (writeFileAscii): remove const_cast
3133         * paragraph.[Ch] (simpleTeXOnePar): make const
3134         * paragraph_funcs.C (outerPar): use const iterators
3135         * paragraph_pimpl.C (validate): use const iterators
3136         * text.C (setHeightOfRow): use const iterators
3137
3138 2004-05-17  Angus Leeming  <leeming@lyx.org>
3139
3140         * lfuns.h:
3141         * LyXAction.C (init): new LFUN_INSET_REFRESH.
3142
3143         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
3144         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
3145         if the citation engine has changed.
3146
3147 2004-05-14  José Matos  <jamatos@lyx.org>
3148
3149         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
3150         if the textclass does not provide it. Have it different for sgml and
3151         xml.
3152         support the language of document.
3153         * output_docbook.C (docbookParagraphs):
3154         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
3155         first anchor as the id of the paragraph, remove special case code.
3156         * sgml.C (escapeChar): escape only < & >.
3157
3158 2004-05-14  Angus Leeming  <leeming@lyx.org>
3159
3160         * bufferparams.h: move biblio::CiteEngine enum here to minimize
3161         dependencies on src/frontends/controllers/biblio.h. Define a
3162         CiteEngine_enum wrapper class to enable the enum to be forward
3163         declared.
3164
3165 2004-05-12  Angus Leeming  <leeming@lyx.org>
3166
3167         * buffer.C: up LYX_FORMAT to 234.
3168         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
3169         use_numerical_citations with a single biblio::CiteEngine cite_engine
3170         variable.
3171         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
3172
3173 2004-05-13  José Matos  <jamatos@lyx.org>
3174
3175         * converter.h:
3176         * converter.C (Converter, readFlags): add xml member.
3177         * outputparams.h: add XML flavor.
3178         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
3179
3180 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3181
3182         * lyxfunc.C (dispatch):
3183         (getStatus): fix handling of LFUN_SEQUENCE
3184
3185 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3186
3187         * debug.C (showLevel): do not forget the end-of-line marker
3188
3189 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3190
3191         * kbmap.C (read): do not stop parsing a bind file when an error
3192         occurs (bug 1575)
3193
3194 2004-04-29  Angus Leeming  <leeming@lyx.org>
3195
3196         * cursor.C:
3197         * factory.C:
3198         * pariterator.C:
3199         * text2.C: wrap a bunch of #warning statements
3200         inside #ifdef WITH_WARNINGS blocks.
3201
3202 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3203
3204         * buffer.C: increment format to 233.
3205
3206 2004-04-28  Angus Leeming  <leeming@lyx.org>
3207
3208         * BufferView_pimpl.C:
3209         * lyxfunc.C:
3210         * text3.C:
3211         s/updateToolbar()/updateToolbars()/
3212         s/Toolbar.h/Toolbars.h/
3213
3214 2004-04-28  Angus Leeming  <leeming@lyx.org>
3215
3216         * BufferView.[Ch] (c-tor):
3217         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
3218         No longer passes these data to the WorkArea generator.
3219
3220 2004-04-28  Angus Leeming  <leeming@lyx.org>
3221
3222         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
3223
3224 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3225
3226         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
3227
3228 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3229
3230         * output_latex.C (TeXEnvironment): make sure that there is a line
3231         break before \end{foo} for the last paragraph of a document
3232         (TeXOnePar): if the paragraph is at the end of the document (or
3233         inset) and the language has to be reset, then make sure that the
3234         line break is _before_ the language command, not after (fixes bug
3235         1225); also make sure that the language reset command is the first
3236         thing after the paragraph (to ensure proper nesting of
3237         environments and thus fix bug 1404)
3238
3239 2004-04-21  John Levon  <levon@movementarian.org>
3240
3241         * ToolbarBackend.h:
3242         * ToolbarBackend.C: make "name" be a programmatic name
3243         and a gui_name field.
3244
3245         * lyxfunc.C: display the minibuffer on M-x
3246
3247 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3248
3249         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3250         (bug 1526)
3251
3252 2004-04-19  Angus Leeming  <leeming@lyx.org>
3253
3254         * BufferView_pimpl.C (setBuffer): changed preview interface.
3255
3256         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3257         possible values.
3258
3259 2004-04-19  John Levon  <levon@movementarian.org>
3260
3261         * BufferView_pimpl.C:
3262         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3263
3264 2004-04-05  Angus Leeming  <leeming@lyx.org>
3265
3266         * text.C (redoParagraphs): add call to updateCounters(), thereby
3267         fixing the missing "Figure #:" label from the caption of a
3268         figure float.
3269
3270 2004-04-13  Angus Leeming  <leeming@lyx.org>
3271
3272         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3273         cursor is clicked out of an inset.
3274
3275 2004-04-13  Angus Leeming  <leeming@lyx.org>
3276
3277         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3278         than an InsetOld one.
3279
3280 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3281
3282         * format.[Ch]: add editor to Format
3283         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3284         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3285
3286 2004-04-08  André Pönitz  <poenitz@gmx.net>
3287
3288         * metricsinfo.h: remove PainterInfo::width member
3289
3290 2004-04-08  Angus Leeming  <leeming@lyx.org>
3291
3292         * lyx_sty.C (boldsymbol_def): modify so that it outputs
3293         "\providecommand" rather than "\newcommand", thereby preventing
3294         clashes with packages that define "\boldsymbol" themselves.
3295         Eg, beamer.
3296
3297 2004-04-08  Angus Leeming  <leeming@lyx.org>
3298
3299         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3300         thereby squashing an unnecessary warning.
3301
3302 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3303
3304         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3305         setBuffer()
3306
3307 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
3308
3309         * BufferView.C (setCursor): call redoParagraph (some insets could
3310         have been opened)
3311         (putSelectionAt): remove the 'double update' trick
3312
3313         * BufferView_pimpl.C (fitCursor): call refreshPar
3314         (workAreaDispatch): remove an uneeded update call
3315         (dispatch): remove some manual update calls
3316
3317         * cursor.[Ch]: remove cached_y_, updatePos
3318         (selHandle): set noUpdate when appropriate
3319
3320         * lyxfunc.C (dispatch): track if we need an update
3321
3322         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3323
3324         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3325         (paintSelection): cheap optimization, do not call cursorX when not
3326         needed
3327         (paintPars): change signature
3328         (refreshPar): add
3329         (paintText): adjust
3330         (paintTextInset): adjust
3331
3332         * text.C: adjust
3333
3334 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3335
3336         * lengthcommon.C: compilation fix: remove explicit array size from
3337         unit_name[] and friends
3338
3339 2004-04-05  Angus Leeming  <leeming@lyx.org>
3340
3341         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3342
3343         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3344         present only for the preferences dialog.
3345         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3346
3347 2004-04-05  Angus Leeming  <leeming@lyx.org>
3348
3349         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3350         to enable the frontends to export changes to lyxrc correctly.
3351
3352         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3353
3354 2004-04-07  André Pönitz  <poenitz@gmx.net>
3355
3356         * cursor.[Ch] (selClear, adjust): remove math
3357
3358         * cursor_slice.C: more agressive assert
3359
3360         * lyxfunc.C:
3361         * BufferView_pimpl.C: rework mouse event dispatch
3362
3363         * dociterator.C:
3364         * paragraph.C:
3365         * text2.C:
3366         * text3.C: adjust
3367
3368 2004-04-05  André Pönitz  <poenitz@gmx.net>
3369
3370         * cursor.[Ch] (valign, halign...): remove unneeded functions
3371
3372 2004-04-05  Angus Leeming  <leeming@lyx.org>
3373
3374         * lyxlength.[Ch] (unit_name et al.): const-correct.
3375
3376 2004-04-05  Angus Leeming  <leeming@lyx.org>
3377
3378         * BufferView_pimpl.C:
3379         * buffer.C:
3380         * counters.C:
3381         * cursor.C:
3382         * lyxfunc.C
3383         * paragraph.C:
3384         * pariterator.C:
3385         * text.C:
3386         * text2.C:
3387         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3388
3389 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3390
3391         * text3.C (getStatus): add LFUN_BEGINNINGBUF
3392
3393 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3394
3395         * lyxfind.C: add a couple of inTexted() tests + other small fixes
3396         * BufferView_pimpl.[Ch] (getStatus)
3397         * BufferView.[Ch] (getStatus): add
3398         * lyxfunc.C (getStatus): move lfuns handled in
3399         BufferView::dispatch to te function above
3400         * Cursor.C (setSelection): set selection() = true
3401
3402 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3403
3404         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3405
3406 2004-03-31  Angus Leeming  <leeming@lyx.org>
3407
3408         * lyxfunc.C (dispatch): Fall through to the generic
3409         Dialogs::show("preamble").
3410
3411 2004-03-31  Angus Leeming  <leeming@lyx.org>
3412
3413         * lyxfunc.C (dispatch): Fall through to the generic
3414         Dialogs::show("spellchecker").
3415
3416 2004-03-31  Angus Leeming  <leeming@lyx.org>
3417
3418         * lyxfunc.C (getStatus, dispatch): changed invocation of the
3419         preferences dialog.
3420
3421 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3422
3423         * BufferView.C
3424         * cursor.[Ch]
3425         * dociterator.[Ch]:
3426         * insetiterator.[Ch]:
3427         * lyxfind.C:
3428         * lyxfunc.C:
3429         * pariterator.[Ch]:
3430         * text2.C:
3431         * undo.[Ch]: s/DocumentIterator/DocIterator/g
3432
3433 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3434
3435         * BufferView.C (setCursor, putSelectionAt): call edit to open the
3436         insets where we are putting the cursor.
3437
3438 2004-03-31  Angus Leeming  <leeming@lyx.org>
3439
3440         * lfuns.h:
3441         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3442
3443         * lyxrc.[Ch] (read, write): overloaded member functions taking
3444         a std::[io]stream arguments.
3445
3446         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3447
3448 2004-03-31  Angus Leeming  <leeming@lyx.org>
3449
3450         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3451         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3452
3453         * lyxtextclass.C (load): if the text class couldn't be loaded, then
3454         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3455
3456 2004-03-31  Angus Leeming  <leeming@lyx.org>
3457
3458         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3459         the LFUN_ALL_INSETS_TOGGLE code.
3460
3461 2004-03-30  Angus Leeming  <leeming@lyx.org>
3462
3463         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3464         has died. Fall through to the generic Dialogs::show("document").
3465
3466 2004-03-30  Angus Leeming  <leeming@lyx.org>
3467
3468         * lfuns.h:
3469         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3470         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3471
3472         * lyxfunc.C (getStatus, dispatch): define the actions for these
3473         lfuns. Little more than a cut and pste job from ControlDocument.C
3474
3475         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3476
3477 2004-03-30  Angus Leeming  <leeming@lyx.org>
3478
3479         * lfuns.h:
3480         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3481         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3482
3483         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3484         open/closed state of ollapsable insets. Usage:
3485
3486         all-inset-toggle <state> <name>, where
3487         <state> == "open" || "closed" || "toggle" and
3488         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3489
3490         * lyxtext.h, text2.C (toggleInset): removed.
3491
3492         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3493         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3494         now passes LFUN_INSET_TOGGLE to the found inset.
3495
3496         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3497         is now invoked as "all-insets-toggle toggle branch".
3498
3499 2004-03-30  Angus Leeming  <leeming@lyx.org>
3500
3501         * dociterator.C:
3502         * insetiterator.C:
3503         * pariterator.[Ch]: added/corrected header blurb.
3504
3505 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
3506
3507         * dociterator.[Ch]: add an inset_ member
3508         (backwardPos): implemented
3509         (backwardPos, forwardPos): use inset_ when the stack is empty.
3510         (doc_iterator_begin, doc_iterator_end): implemented
3511         * pariterator.[Ch]: adjust, add begin, end
3512         * insetiterator.[Ch]: adjust, add begin, end
3513         * cursor.C:
3514         * document.C:
3515         * BufferView.C:
3516         * BufferView_pimpl.C:
3517         * CutAndPaste.C: adjust
3518
3519 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3520
3521         * buffer.C: increment file format to 232.
3522         * LaTeXFeatures.C: add bibtopic package.
3523         * bufferparams.[Ch]: param \use_bibtopic.
3524
3525         * lyxrc.[Ch]: add lyxrc bibtex_command
3526         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3527
3528         * buffer.C: increment file format to 231.
3529
3530 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3531
3532         * dociterator.C: implement forwardPar
3533         * iterators.[Ch]: remove, replaced by
3534         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3535         * BufferView.C:
3536         * BufferView_pimpl.C:
3537         * CutAndPaste.C:
3538         * buffer.C:
3539         * bufferview_funcs.C:
3540         * cursor.C:
3541         * lyxfind.C
3542         * lyxfunc.C
3543         * paragraph_funcs.C
3544         * toc.C:
3545         * Makefile.am: adjust
3546
3547 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3548
3549         * CutAndPaste.C (pasteSelection): fix 2 crashes
3550         (eraseSelection): fix a crash
3551         * paragraph_funcs.C: remove a warning
3552
3553 2004-03-28  Angus Leeming  <leeming@lyx.org>
3554
3555         * lfuns.h:
3556         * LyXAction.C (init): new LFUN_PRINT.
3557
3558         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3559
3560 2004-03-27  Angus Leeming  <leeming@lyx.org>
3561
3562         * lfuns.h:
3563         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3564
3565         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3566
3567 2004-03-27  Angus Leeming  <leeming@lyx.org>
3568
3569         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3570         insetlist always contains non-null pointers to insets.
3571
3572 2004-03-26  Angus Leeming  <leeming@lyx.org>
3573
3574         * src/BufferView_pimpl.C:
3575         * src/CutAndPaste.C:
3576         * src/buffer.C:
3577         * src/iterators.C:
3578         * src/output_plaintext.C:
3579         * src/outputparams.h:
3580         * src/paragraph_funcs.C:
3581         * src/rowpainter.C:
3582         * src/text.C:
3583         * src/text2.C:
3584         * src/frontends/controllers/ControlErrorList.C:
3585         * src/frontends/gtk/FileDialogPrivate.C:
3586         * src/frontends/gtk/GPainter.C:
3587         * src/frontends/gtk/GToolbar.C:
3588         * src/frontends/qt2/QRef.C:
3589         * src/mathed/math_scriptinset.C: squash compiler warnings.
3590
3591 2004-03-26  Angus Leeming  <leeming@lyx.org>
3592
3593         * ispell.C (LaunchIspell::start):
3594         * lyx_cb.C (AutoSaveBuffer::start):
3595         invoke run(DontWait) rather than runNonBlocking().
3596
3597 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
3598
3599         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3600
3601 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3602
3603         * kbsequence.C (print): adjust
3604
3605         * kbmap.C (printKeySym): rename and change signature
3606         (printKey): use LyXKeySym::print()
3607
3608 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
3609
3610         * undo.C: add using std::advance to compile for stlport
3611
3612 2004-03-24  Angus Leeming  <leeming@lyx.org>
3613
3614         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3615         it leads to a crash when no buffer is present.
3616
3617 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3618             Martin Vermeer  <martin.vermeer@hut.fi>
3619
3620         * lyxfunc.C (dispatch):
3621         * bufferparams.C (readToken): use the new LColor::setColor
3622
3623         * LColor.[Ch] (setColor): new version that takes two strings as
3624         argument and creates a new color entry if necessary
3625
3626 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3627
3628         * buffer.C (makeLaTeXFile): if the main latex file that is
3629         processed is usually a subdocument of some master, then pretend
3630         for a while that it is actually the master
3631
3632 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3633
3634         * buffer.C (getLabelList):
3635         (getBibkeyList): use getMasterBuffer()
3636         (getMasterBuffer): new method. Returns the main document in the
3637         case where one is using included documents.
3638
3639 2004-03-25  André Pönitz  <poenitz@gmx.net>
3640
3641         * Makefile.am:
3642         * iterators.[Ch]:
3643         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3644
3645         * ParagraphList_fwd.h: change ParagraphList to a std::vector
3646
3647         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3648         text*.C over here. Rename namespace CutAndPaste to lyx::cap
3649
3650         * ParameterStruct.h: merge with ParagraphParameters
3651
3652         * lyxtext.h: remove LyXText::parOffset() and getPar()
3653
3654         * text3.C: Remove all 'manual' update calls. We do now one per user
3655         interaction which is completely sufficient.
3656
3657         * Bidi.C:
3658         * BufferView.[Ch]:
3659         * BufferView_pimpl.C:
3660         * FontIterator.[Ch]:
3661         * MenuBackend.C:
3662         * ParagraphParameters.[Ch]:
3663         * buffer.C:
3664         * buffer.h:
3665         * bufferlist.C:
3666         * cursor.[Ch]:
3667         * cursor_slice.[Ch]:
3668         * dociterator.[Ch]:
3669         * errorlist.[Ch]:
3670         * factory.C:
3671         * lfuns.h:
3672         * lyxfind.C:
3673         * lyxfunc.C:
3674         * output_docbook.[Ch]:
3675         * output_latex.[Ch]:
3676         * output_linuxdoc.[Ch]:
3677         * output_plaintext.[Ch]:
3678         * paragraph.[Ch]:
3679         * paragraph_funcs.[Ch]:
3680         * paragraph_pimpl.[Ch]:
3681         * rowpainter.C:
3682         * tabular.[Ch]:
3683         * text.C:
3684         * text2.C:
3685         * toc.C:
3686         * undo.[Ch]: adjust
3687
3688         * frontends/controllers/ControlDocument.C:
3689         * frontends/controllers/ControlErrorList.C:
3690         * frontends/controllers/ControlSpellchecker.C:
3691         * insets/inset.C:
3692         * insets/inset.h:
3693         * insets/insetbase.h:
3694         * insets/insetbibitem.C:
3695         * insets/insetbox.C:
3696         * insets/insetbranch.C:
3697         * insets/insetcaption.C:
3698         * insets/insetcharstyle.C:
3699         * insets/insetcharstyle.h:
3700         * insets/insetcollapsable.C:
3701         * insets/insetcollapsable.h:
3702         * insets/insetert.C:
3703         * insets/insetfloat.C:
3704         * insets/insetfoot.C:
3705         * insets/insetmarginal.C:
3706         * insets/insetnote.C:
3707         * insets/insetoptarg.C:
3708         * insets/insettabular.C:
3709         * insets/insettext.C:
3710         * insets/insettext.h:
3711         * insets/insetwrap.C:
3712         * mathed/math_mboxinset.C:
3713         * mathed/math_nestinset.C:
3714         * mathed/math_scriptinset.C:
3715         * mathed/math_scriptinset.h:
3716         * support/types.h:
3717
3718 2004-03-24  Angus Leeming  <leeming@lyx.org>
3719
3720         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3721         deal with any child processes that have finished but are waiting to
3722         communicate this fact to the rest of LyX.
3723
3724 2004-03-24  Angus Leeming  <leeming@lyx.org>
3725
3726         64-bit compile fixes.
3727
3728         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3729         (c-tor): pass lyx::pos_types rather than ints.
3730
3731         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3732         lyx::pos_type.
3733
3734         * text.C (Delete): compile fix.
3735         (getPar): ensure that function declaration is the same as that in
3736         the header file.
3737
3738 2004-03-23  Angus Leeming  <leeming@lyx.org>
3739
3740         * ispell.C (LaunchIspell):
3741         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3742         a boost::shred_ptr rather than a std::auto_ptr.
3743
3744 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3745
3746         * lyxfunc.C (getStatus): handle read-only buffers correctly;
3747         handle LFUN_FILE_INSERT_*
3748
3749         * lyxrc.C (setDefaults, getDescription, output, read):
3750         * lyxrc.h: remove ps_command
3751
3752 2004-03-22  Angus Leeming  <leeming@lyx.org>
3753
3754         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3755         Ensure that error_handler is processed once only and that all data
3756         is saved before attempting to output any warning messages.
3757
3758         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3759
3760 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
3761
3762         * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3763
3764 2004-03-19  André Pönitz  <poenitz@gmx.net>
3765
3766         * cursor.[Ch] (reset): take main text inset as argument
3767
3768         * BufferView: adjust
3769         * BufferView_pimpl.C: adjust
3770
3771         * paragraph.[Ch]: fix completely broken operator=()
3772
3773 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3774
3775         * LColor.C (getFromLyXName): make sure that the color name is used
3776         as lowercase.
3777
3778 2004-03-17  Angus Leeming  <leeming@lyx.org>
3779
3780         * lfuns.h:
3781         * LyXAction.C (init): remove LFUN_FORKS_KILL.
3782
3783         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3784         dialog and to kill a forked process.
3785
3786 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3787
3788         * text2.C (setCursorFromCoordinates): fix font problem
3789
3790 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3791
3792         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3793         bogus "rebuild cursor" code
3794
3795 2004-03-11  André Pönitz  <poenitz@gmx.net>
3796
3797         * buffer.[Ch]: use InsetText instead of LyXText as container for
3798         the main lyx text.
3799
3800         * dociterator.[Ch]: drop the BufferView * member which is not needed
3801         anymore after the change to buffer.C
3802
3803         * paragraph_funcs.C:
3804         * text.C:
3805         * text2.C:
3806         * BufferView.[Ch]:
3807         * BufferView_pimpl.[Ch]:
3808         * cursor.[Ch]:
3809         * cursor_slice.[Ch]: adjust
3810
3811         * text3.C: fix bug in mathDispatch
3812
3813 2004-03-08  André Pönitz  <poenitz@gmx.net>
3814
3815         * undo.[Ch]: use 'StableDocumentIterator' as base for
3816         the Undo struct.
3817
3818 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3819
3820         * LaTeXFeatures.C:
3821         * bufferparams.[Ch]: add jurabib support and param.
3822
3823         * LaTeX.C: add FIXME/comment.
3824
3825 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3826
3827         * buffer.C: increment file format to 230.
3828
3829 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
3830
3831         * cursor.C (dispatch): avoid infinite loops
3832
3833 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3834
3835         * rowpainter.C (paintSelection): fix x coordinates
3836
3837 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3838
3839         * text.C (rowBreakPoint): fix breaking before displayed insets
3840
3841 2004-03-01  André Pönitz  <poenitz@gmx.net>
3842
3843         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3844
3845         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3846
3847         * Makefile.am:
3848         * BufferView.C:
3849         * BufferView_pimpl.C:
3850         * buffer.C:
3851         * lyxfind.C:
3852         * lyxfunc.C:
3853         * text.C:
3854         * text2.C:
3855         * text3.C: adjust
3856
3857 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3858
3859         * lyxtext.h:
3860         * text.C:
3861         * text2.C:
3862         * rowpainter.C:
3863         * BufferView_pimpl.C: rename textwidth -> maxwidth,
3864         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3865
3866 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3867
3868         * Bidi.[Ch] (computeTables): const correctness
3869         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3870         fill_hfill, fill_label_hfill and x from Row
3871         * lyxtext.h: prepareToPrint returns a RowMetrics
3872         * rowPainter.C: adjust
3873         * text.C (prepareToPrint): use width, not textWidth. adjust
3874         (redoParagraphInternal, cursorX): adjust
3875         * text2.C (getColumnNearX): adjust
3876         (init): put a default value to the top LyXText::width
3877
3878 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3879
3880         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3881
3882 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3883
3884         * lyxtext.h: add FontIterator class
3885
3886         * text.C (FontIterator, operator*, operator->, operator++): add
3887         (rowBreakPoint, setRowWidth): adjust (fixing a
3888         rebreaking bug)
3889
3890 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3891
3892         * BufferView_pimpl.C (workAreaDispatch): allow also
3893         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3894
3895 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
3896
3897         * text.C (rowBreakPoint): fix a bug showing with very large insets
3898
3899 2004-02-25  André Pönitz  <poenitz@gmx.net>
3900
3901         * text3.C:
3902         * cursor.[Ch]: move some mathed specific code to mathed
3903
3904 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3905
3906         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3907         use_tempdir in preferences
3908         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3909         tempfile creation
3910         * lyx_main.C: ensure that tempdir is valid
3911         * lyxlex.h: correct typo
3912         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3913         * paragraph.[Ch] (isMultiLingual): make const
3914         * cursor.[Ch] (openable): make const
3915
3916 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3917
3918         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3919
3920 2004-02-20  André Pönitz  <poenitz@gmx.net>
3921
3922         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3923
3924         * cursor.[Ch]: prepare for localized getStatus()
3925
3926         * lyxtext.h:
3927         * tabular.C:
3928         * text.C:
3929         * text2.C:
3930         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
3931
3932 2004-02-20  André Pönitz  <poenitz@gmx.net>
3933
3934         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3935
3936 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3937
3938         * text2.C (setCursorFromCoordinates): switch to absolute coords
3939         (cursorUp): adjust
3940         (cursorDown): adjust
3941         * text3.C (dispatch): adjust
3942
3943 2004-02-16  André Pönitz  <poenitz@gmx.net>
3944
3945         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3946           insets/ChangeLog)
3947
3948         * cursor_slice.[Ch]: remove unneeded acessor function
3949
3950         * lyxtext.h: rename rtl() to isRTL()
3951
3952         * rowpainter.C:
3953         * tabular.C:
3954         * text.C:
3955         * text2.C:
3956         * text3.C: adjust
3957
3958 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3959
3960         * rowpainter.C (paintSelection): coord fix
3961
3962 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
3963
3964         * Spacing.C: compile fix
3965
3966 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3967
3968         * cursor.C (dispatch): restore current_ before returning
3969
3970 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3971
3972         * text2.C (cursorUp, cursorDown): fix coords
3973         (moveUp): fix crash
3974
3975 2004-02-12  André Pönitz  <poenitz@gmx.net>
3976
3977         * lyxtext.h:
3978         * text.C:
3979         * text2.C:
3980         * text3.C: add LCursor & parameter to most cursor movement functions
3981           remove usage of LyXText::cursorRow() and cursorPar()
3982
3983         * cursor.[Ch]: add textRow() needed members
3984
3985         * BufferView.C:
3986         * BufferView_pimpl.C:
3987         * paragraph.[Ch]:
3988         * BufferView.C:
3989         * BufferView_pimpl.C: adjust
3990
3991 2004-02-11  André Pönitz  <poenitz@gmx.net>
3992
3993         * lyxfunc.C:
3994         * BufferView.[Ch]:
3995         * BufferView_pimpl.C: shift undo/redo handling
3996
3997         * cursor.[Ch]: fix mathed crash
3998
3999         * lyxfind.C:
4000         * lyxtext.h: move selectionAsText to LCursor
4001
4002         * output_latex.C:
4003         * paragraph.C:
4004         * text.C:
4005         * text2.C:
4006         * text3.C: adjust
4007
4008         * rowpainter.C: fix excessive drawing
4009
4010 2004-02-06  André Pönitz  <poenitz@gmx.net>
4011
4012         * BufferView.[Ch]:
4013         * BufferView_pimpl.[Ch]:
4014         * text3.C: move some text specific LFUN handling
4015
4016 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
4017
4018         * text3.C (checkInsetHit): adjust coords
4019         * text2.C (getColumnNearX): adjust coords
4020         (edit): adjust coords
4021         * text.C (getRowNearY): add two asserts
4022
4023 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
4024
4025         * converter.C:
4026         * format.C: add using std::distance to compile on gcc 2.95/stlport
4027
4028 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
4029
4030         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
4031
4032 2004-02-04  André Pönitz  <poenitz@gmx.net>
4033
4034         * BufferView.[Ch] (insertInset):
4035         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
4036
4037         * text2.C:
4038         * text3.C: adjust
4039
4040 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
4041
4042         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
4043         on the default clause of the switch
4044         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
4045         wasn't catched by LCursor::dispatch
4046
4047 2004-02-03  André Pönitz  <poenitz@gmx.net>
4048
4049         * BufferView.C:
4050         * cursor.[Ch]: some additional asserts
4051
4052         * undo.[Ch]: remove LyXText dependency in interface
4053
4054         * lyxfunc.C: adjust
4055
4056         * lyxtext.h (firstPar, lastPar): remove dead functions
4057
4058         * text.C:
4059         * text2.C:
4060         * text3.C:
4061         * paragraph.[Ch]: adjust
4062
4063 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
4064
4065         * lyxfind.C (find): fix argument order in call to ::find
4066
4067 2004-02-02  André Pönitz  <poenitz@gmx.net>
4068
4069         * cursor.[Ch]: remove direct access to anchor
4070
4071         * text.C: remove findText() hack
4072
4073 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
4074
4075         * iterators.[Ch] (lockPath): remove in favour of...
4076         * BufferView.[Ch] (setCursor): this addition
4077         * BufferView.C (putSelectionAt): adjust
4078         * undo.C (performUndoOrRedo): adjust
4079         * lyxfunc.C (dispatch): adjust
4080
4081 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
4082
4083         * iterators.C (lockPath): add a missing slice
4084         * undo.C (performUndoOrRedo): remove redundant positioning code
4085
4086 2004-02-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4087
4088         * vc-backend.C (scanMaster): ";" -> ';'
4089
4090 2004-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4091
4092         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
4093         std::binary_function
4094
4095         * lyxtextclass.C (compare_name): rename to...
4096         (LayoutNamesEqual): ...this
4097
4098         * lyxlex_pimpl.C (compare_tags): inherit from
4099         std::binary_function, put back into anon namespace
4100
4101         * lyxfind.C (MatchString): inherig from std::binary_function
4102         (findChange): use empty() istead of !size()
4103
4104         * format.C (FormatNamesEqual): new functor
4105         (getFormat): use it
4106         (getNumber): use it
4107         (add): use it
4108         (erase): use it
4109         (setViewer): use it
4110
4111         * converter.C (compare_Converter): rename to...
4112         (ConverterEqual): ...this, and fixup a bit.
4113         (getConverter): use it, and make function const
4114         (getNumber): use it, and make function const
4115         (add): use it
4116         (erase): use it:
4117
4118         * bufferlist.C: add using boost::bind
4119
4120         * MenuBackend.C (MenuNamesEqual): new functor
4121         (hasMenu): use it, and make function const
4122         (hasSubmenu): use nested bind to get rid of compare_memfun.
4123
4124 2004-01-30  André Pönitz  <poenitz@gmx.net>
4125
4126         * BufferView_pimpl.C:
4127         * cursor.C:
4128         * cursor.h:
4129         * cursor_slice.[Ch]:
4130         * lyxfunc.C:
4131         * lyxtext.h:
4132         * paragraph_funcs.C:
4133         * paragraph_funcs.h:
4134         * rowpainter.C:
4135         * text.C:
4136         * text2.C:
4137         * text3.C: move some of the edit(x,y) handling to the insets
4138         some coordinate changes.
4139
4140 2004-01-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4141
4142         * text.C: add using statements for std::advance and std::distance
4143
4144         * paragraph.C: add using statement for std::distance
4145
4146         * lyxfind.C: add using statement for std::advance
4147
4148         * cursor.C (region): remove std:: from swap
4149         (openable): use nucleus in stead of operator->
4150
4151         * BufferView.C: add using statements for std::distance and std::swap
4152
4153 2004-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4154
4155         * iterators.C: Remove the pimple, move the needed structures to
4156         the header file. Create accessor for the positions stack.
4157         (asPosIterator): remove function
4158
4159         * PosIterator.C (PosIterator): move constructors to top of file
4160         (PosIterator): reimplement the constructor taking a ParIterator in
4161         terms of setFrom.
4162         (setFrom): new function
4163         (operator!=): inline it
4164
4165 2004-01-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4166
4167         * lyxfind.C (replaceAll): use std::advance
4168
4169         * iterators.h: inherit from std::iterator.
4170
4171         * PosIterator.C (advance, distance): remove
4172         * PosIterator.h: interit from std::iterator.
4173
4174 2004-01-26  André Pönitz  <poenitz@gmx.net>
4175
4176         * BufferView.[Ch]:
4177         * BufferView_pimpl.[Ch]:
4178         * InsetList.[Ch]:
4179         * PosIterator.[Ch]:
4180         * buffer.h:
4181         * bufferview_funcs.C:
4182         * cursor.[Ch]:
4183         * cursor_slice.h:
4184         * factory.[Ch]:
4185         * iterators.[Ch]:
4186         * lyxfind.C:
4187         * lyxfunc.C:
4188         * lyxtext.h:
4189         * output_docbook.C:
4190         * output_latex.C:
4191         * output_linuxdoc.C:
4192         * output_plaintext.C:
4193         * paragraph.[Ch]:
4194         * paragraph_funcs.[Ch]:
4195         * paragraph_pimpl.[Ch]:
4196         * rowpainter.C:
4197         * tabular.C:
4198         * tabular.h:
4199         * text.C:
4200         * text2.C:
4201         * text3.C: more IU:  dumps most of the rest of the mathcursor
4202     implementation into cursor.[Ch]; "globalize" a bit of it.
4203
4204 2004-01-25  Angus Leeming  <leeming@lyx.org>
4205
4206         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
4207
4208 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4209
4210         * LaTeXFeatures.h: add nice_ and nice() const
4211         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
4212
4213 2004-01-20  André Pönitz  <poenitz@gmx.net>
4214
4215         * BufferView.[Ch]:
4216         * BufferView_pimpl.C:
4217         * PosIterator.C:
4218         * bufferview_funcs.C:
4219         * cursor.[Ch]:
4220         * cursor_slice.[Ch]:
4221         * factory.C:
4222         * iterators.C:
4223         * lyx_cb.C:
4224         * lyxfind.C:
4225         * lyxfunc.C:
4226         * lyxtext.h:
4227         * rowpainter.C:
4228         * text.C:
4229         * text2.C:
4230         * text3.C:
4231         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
4232           LCursor and mathcursor parts to LCursor and InsetBase.
4233
4234 2004-01-15  André Pönitz  <poenitz@gmx.net>
4235
4236         * cursor_slice.[Ch]: add a few covienience functions
4237
4238         * funcrequest.[Ch]: remove BufferView * member
4239
4240         * BufferView_pimpl.C:
4241         * cursor.C:
4242         * factory.[Ch]:
4243         * lyxfind.[Ch]:
4244         * lyxfunc.C:
4245         * lyxtext.h:
4246         * text3.C:
4247         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4248
4249 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
4250
4251         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4252         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4253
4254 2004-01-13  André Pönitz  <poenitz@gmx.net>
4255
4256         * textcursor.[Ch]:
4257         * lyxtext.h: hide cursor and selection anchor behind accessor function
4258
4259         * BufferView.C:
4260         * BufferView_pimpl.[Ch]:
4261         * PosIterator.C:
4262         * bufferview_funcs.C:
4263         * cursor.h:
4264         * lyxfind.C:
4265         * lyxfunc.C:
4266         * text.C:
4267         * text2.C:
4268         * text3.C:
4269         * undo.C: adjust
4270
4271         * cursor.h:
4272         * cursor_slice.[Ch]: some integer type changes for inset unification
4273
4274         * lyxcursor.[hC]: remove, it's CursorSlice now.
4275
4276         * Makefile.am:
4277         * BufferView_pimpl.[Ch]:
4278         * bufferview_funcs.C:
4279         * cursor_slice.C:
4280         * lyxtext.h:
4281         * text.C:
4282         * text2.C:
4283         * text3.C:
4284         * textcursor.[Ch]: adjust
4285
4286 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
4287
4288         * text2.C (undoSpan): add and use
4289         * text.C (breakParagraph): use undoSpan (fix bug 578)
4290         * lyxtext.h: adjust
4291
4292 2004-01-08  Angus Leeming  <leeming@lyx.org>
4293
4294         * BufferView_pimpl.C (MenuInsertLyXFile):
4295         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4296         * lyxfunc.C (menuNew, open, doImport):
4297         FileFilterList change to the FileDialog open and save functions.
4298
4299 2004-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4300
4301         * ShareContainer.h: make isEqual and isUnique adaptable
4302
4303         * CutAndPaste.C: make resetOwnerAndChanges adaptable
4304
4305 2004-01-07  Angus Leeming  <leeming@lyx.org>
4306
4307         * LyXAction.C:
4308         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4309
4310         * BufferView_pimpl.C (dispatch): act on these LFUNs.
4311
4312         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4313         functions replacing find, replace and replaceAll.
4314
4315         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4316         LFUN_WORDFIND(FORWARD|BACKWARD).
4317
4318 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4319
4320         * text.C (breakParagraph): remove an outdated #warning
4321
4322 2004-01-07  André Pönitz  <poenitz@gmx.net>
4323
4324         * lyxfind.C: somewhat clearer logic
4325
4326         * text.C: prevent crash in cursorX on unitialized row cache
4327
4328 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4329
4330         * lyxcursor.[Ch] (operator>): add
4331         * textcursor.C (selStart, selEnd): use std::min and std::max
4332
4333 2004-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4334
4335         * Chktex.C: include boost/format.hpp
4336
4337 2004-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4338
4339         * InsetList.C: replace functor MathcIt with adaptable functor
4340         InsetTablePosLess
4341         (insetIterator): modify accordingly
4342
4343         * BranchList.h: move the BranchNamesEqual functor here from...
4344         * BranchList.C: ... to here
4345
4346         * BranchList.C: new BranchListEqual fuctor, use it. Remove
4347         SameName and match.
4348         (add): replace a finding loop with std::find_if.
4349
4350 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
4351
4352         * output_docbook.C: moving LatexParam functionality into
4353         .layout files
4354
4355 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4356
4357         * buffer.C: increment format to 229.
4358
4359 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
4360
4361         * LaTeXFeatures.C:
4362         * lyx_sty.[Ch]: remove minipageindent_def
4363
4364         * LyXAction.C:
4365         * factory.C:
4366         * lfuns.h:
4367         * lyxfunc.C:
4368         * text3.C: remove LFUN_INSET_MINIPAGE
4369
4370 2003-12-28  Angus Leeming  <leeming@lyx.org>
4371
4372         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4373
4374 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
4375
4376         * text2.C (setParagraph): fix off-by-one crash
4377
4378 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
4379
4380         * output_docbook.C: header stuff for AGU
4381
4382 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
4383
4384         * text2.C (redoCursor): remove
4385         * text.C:
4386         * text3.C:
4387         * BufferView_pimpl.C: remove calls to redoCursor and
4388         setCursor(cursor.par(), cursor.pos()) all around
4389
4390 2003-12-15  Angus Leeming  <leeming@lyx.org>
4391
4392         * buffer.C: up the format to 228.
4393
4394 2003-12-15  André Pönitz  <poenitz@gmx.net>
4395
4396         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4397         slices
4398
4399         * Makefile.am:
4400
4401         * BufferView_pimpl.C:
4402         * cursor.[Ch]:
4403         * lyxcursor.[Ch]:
4404         * rowpainter.[Ch]:
4405         * lyxtext.h:
4406         * text.C:
4407         * text2.C:
4408         * text3.C: adjust
4409
4410 2003-12-15  Angus Leeming  <leeming@lyx.org>
4411
4412         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4413         than getFromGUIName to manipulate the color.
4414
4415 2003-12-14  Angus Leeming  <leeming@lyx.org>
4416
4417         * BranchList.[Ch]: minimize the API.
4418         (Branch::getBranch, getColor): now return a 'const &'.
4419         (Branch::setSelected) now returns a bool set to true if the
4420         selection status changes.
4421         (BranchList::clear, size, getColor, setColor, setSelected,
4422         allBranches, allSelected, separator): removed.
4423         (BranchList::find): new functions, returning the Branch with
4424         the given name.
4425         (BranchList::add, remove): return a bool indicating that
4426         the operation was successful.
4427
4428         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4429         new InsetBranch::isBranchSlected member function.
4430
4431         * LColor.[Ch]: mimimize the API.
4432         (fill): renamed as addColor and made private.
4433         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4434         versions of these functions taking a string arg have been removed.
4435
4436         * bufferparams.C (readToken):
4437         * lyxfunc.C (dispatch):
4438         * lyxrc.C (read): changes due to the altered BranchList and
4439         LColor APIs.
4440
4441         * factory.C (createInset, readInset): changes due to altered
4442         InsetBranch c-tor.
4443
4444 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4445
4446         * factory.C:
4447         * lyxfunc.C: remove insetminipage. "minipage-insert"
4448         now produces a frameless minipage box inset.
4449
4450 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4451
4452         * textcursor.[Ch] (selStart,selEnd): add new methods
4453         remove selection::start, end, use LyXCursor::operator<
4454         * lyxcursor.[Ch] (operator<): add
4455         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4456         * BufferView.[Ch] (unsetXSel): add
4457         * text2.C (clearSelection): use unsetXSel,adjust
4458         * text.C: adjust
4459         * text3.C: adjust
4460         * rowpainter.C: adjust
4461         * bufferview_funcs.C (put_selection_at): adjust
4462
4463 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4464
4465         * BufferView_pimpl.C: small coord. correction
4466
4467 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4468
4469         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4470         dragging over the splash screen.
4471
4472 2003-12-11  Angus Leeming  <leeming@lyx.org>
4473
4474         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4475         as it is now handled in LyXText::dispatch.
4476
4477         * text3.C (doInsertInset): remove a level of nesting.
4478
4479 2003-12-11  Angus Leeming  <leeming@lyx.org>
4480
4481         * factory.C (createInset): changes due to the changed interface to
4482         InsetCommandMailer::string2params.
4483
4484 2003-12-10  Angus Leeming  <leeming@lyx.org>
4485
4486         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4487         'dialog-show-new-inset <inset name>'
4488
4489 2003-12-10  Angus Leeming  <leeming@lyx.org>
4490
4491         * buffer.C: up the format to 227.
4492
4493         * factory.C: the box inset is now identified simply by 'Box'.
4494
4495 2003-12-10  Angus Leeming  <leeming@lyx.org>
4496
4497         * buffer.C: up the format to 226.
4498
4499         * factory.C: the note inset is now identified simply by 'Note'.
4500
4501 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
4502
4503         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4504         when a pit is enough. Standarize a couple of loops.
4505
4506 2003-12-05  Angus Leeming  <leeming@lyx.org>
4507
4508         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4509         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4510         data to the re-worked "log" dialog.
4511
4512 2003-12-03  André Pönitz  <poenitz@gmx.net>
4513
4514         * PosIterator.C:
4515         * iterators.C:
4516         * lyxtext.h:
4517         * output_latex.C:
4518         * paragraph_funcs.C:
4519         * text.C:
4520         * text2.C: use Inset::getText instead of Inset::getParagraph
4521
4522 2003-12-03  André Pönitz  <poenitz@gmx.net>
4523
4524         * buffer.[Ch]:
4525         * lyxtext.h:
4526         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4527         InsetText::read() as LyXText::read()
4528
4529 2003-12-02  Angus Leeming  <leeming@lyx.org>
4530
4531         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4532         type. Add a comment in the implementation that the function uses
4533         the stream's bad() function rather than fail() as the std::streams
4534         would do.
4535
4536 2003-12-02  André Pönitz  <poenitz@gmx.net>
4537
4538         * lyxlex.[Ch]: make interface more similar to std::stream
4539
4540         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4541
4542 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
4543
4544         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4545
4546 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
4547
4548         * vspace.[Ch]: remove VSpace::NONE
4549
4550 2003-12-01  André Pönitz  <poenitz@gmx.net>
4551
4552         * buffer.[Ch]:
4553         * lyxtext.h: move ParagraphList member to LyXText
4554         rename LyXText::ownerParagraphs to LyXText::paragraph
4555
4556         * CutAndPaste.C:
4557         * bufferview_funcs.C:
4558         * iterators.[Ch]:
4559         * lyx_cb.C:
4560         * paragraph.C:
4561         * rowpainter.C:
4562         * tabular.C:
4563         * text.C:
4564         * text2.C:
4565         * text3.C: adjust
4566
4567         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4568
4569         * undo.C: fix cursor positioning
4570
4571 2003-12-01  John Levon  <levon@movementarian.org>
4572
4573         * BufferView_pimpl.C: fix a crash on exit with
4574         a buffer open
4575
4576 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
4577
4578         * BranchList.C: fix setSelected() method.
4579
4580 2003-11-28  André Pönitz  <poenitz@gmx.net>
4581
4582         * ParagraphParameters.[Ch]:
4583         * ParameterStruct.h: remove space above/below from Paragraph to
4584          InsetVSpace
4585
4586         * BufferView_pimpl.C:
4587         * factory.C:
4588         * lyxfunc.C:
4589         * lyxtext.h:
4590         * output_latex.C:
4591         * paragraph.C:
4592         * paragraph_funcs.C:
4593         * rowpainter.[Ch]:
4594         * text.C:
4595         * text2.C:
4596         * text3.C: adjust
4597
4598 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
4599
4600         * factory.C: Syntax change for CharStyles
4601
4602 2003-11-28  André Pönitz  <poenitz@gmx.net>
4603
4604         * BufferView.[Ch]:
4605         * BufferView.[Ch]:
4606         * buffer.[Ch]:
4607         * buffer.[Ch]: move LyXText member
4608
4609 2003-11-28  André Pönitz  <poenitz@gmx.net>
4610
4611         * BufferView.[Ch]: make LyXText * text a private member
4612
4613         * BufferView_pimpl.C:
4614         * cursor.C:
4615         * iterators.C:
4616         * lyx_cb.C:
4617         * lyxfind.C:
4618         * lyxtext.h:
4619         * rowpainter.[Ch]:
4620         * text.C:
4621         * text2.C:
4622         * undo.C: adjust
4623
4624         * output_plaintext.C: cleanup
4625
4626 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4627
4628         * buffer.C:
4629         * lyxtextclass.[Ch]: parametrize SGML document header
4630
4631 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4632
4633         * converter.[Ch]:
4634         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4635         getFlavor().
4636
4637 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
4638
4639         * text2.C (setFont): rework using PosIterator (no more recursive)
4640         (setCharFont): no more needed
4641         (setLayout): no more selection cursors fiddling (done by redoCursor)
4642         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4643         destroy remaining ones)
4644
4645 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
4646
4647         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4648         * lyxtext.h: ditto
4649         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4650         selection cursors
4651         * lyxfunc.C: adjust
4652         * text3.C: adjust + re-allow multi par depth changes
4653         * textcursor.C: simplify a bit
4654
4655 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
4656
4657         * src/buffer.C:
4658         * src/lyxlayout.C:
4659         * src/lyxlayout.h:
4660         * src/lyxtext.h:
4661         * src/output_docbook.C:
4662         * src/output_latex.C:
4663         * src/paragraph.C:
4664         * src/paragraph.h:
4665         * src/sgml.C:
4666         * src/sgml.h:
4667         * src/text2.C: Introducing a number of tags parametrizing various
4668         XML formats that we may want to support
4669
4670 2003-11-25  André Pönitz  <poenitz@gmx.net>
4671
4672         * InsetList.[Ch] (begein, end): inline as suggested by profiler
4673
4674         * lyxtext.h (leftMargin/rightMargin): simplify interface
4675
4676         * rowpainter.C:
4677         * text.C:
4678         * text2.C:
4679         * text3.C: adjust
4680
4681 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4682
4683         * lyxfunc.C (dispatch): propogate the bibtex databases from the
4684         master file to any child files. Fixes bug 546.
4685
4686 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4687
4688         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4689
4690 2003-11-24  André Pönitz  <poenitz@gmx.net>
4691
4692         * rowpainter.C: simplification
4693
4694         * text2.C (updateCounters): remove call to redoParagraph on
4695         changed labels as this is far too expensive.
4696
4697 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4698
4699         * converter.C (convert): fix a crash: this function gets
4700         called with buffer == 0 from importer code.
4701
4702 2003-11-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4703
4704         * text3.C (cursorPrevious): make sure that we do not compare
4705         iterators form different containers.
4706         (cursorNext): ditto
4707
4708         * rowpainter.C (paintSelection): make sure that we do not compare
4709         iterators from different containers.
4710
4711         * text3.C (dispatch): [PRIOR] make sure that we do not compare
4712         iterators from different ParagraphList containers.
4713         [NEXT] ditto
4714
4715         * text2.C (LyXText): change order of initialization slightly
4716         (operator=): new function. copy all variables except cache_par_
4717         (moveUp): make sure that we do not compare iterators from
4718         different ParagraphList constainers.
4719         (moveDown): ditto
4720
4721         * text.C (firstPar): new function
4722         (lastPar): new function
4723         (endPar): new function
4724
4725         * lyxtext.h: move things around and group public functions, public
4726         variables, private functions, private variables
4727
4728 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
4729
4730         * factory.C: change call to InsetERT constructor to avoid
4731         additional invocation of method status
4732         * text2.C (toggleInset): remove redundant update() call
4733         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4734         instead of a Bufferview pointer
4735
4736 2003-11-21  André Pönitz  <poenitz@gmx.net>
4737
4738         * rowpainter.C: simplification
4739
4740 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4741
4742         * text3.C (dispatch): make possible to extend a word/row selection
4743         with the mouse
4744
4745 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4746
4747         * lyxtext.h: x0_,y0_ -> xo_,yo_
4748         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4749         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4750         * rowpainter.C (paintRows): paint full paragraphs
4751
4752 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4753
4754         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4755         screen coordinates)
4756
4757 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4758
4759         * lyxtext.h: add x0_, y0_
4760         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4761         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4762
4763 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
4764
4765         * text2.C (setCursorIntern): move the x_target update here *
4766         * text3.C: change some bv() to true/false in calls to
4767         cursorUp/Down/Right/Left
4768         * cursor.C: use helper function.
4769
4770 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4771
4772         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4773         * paragraph_funcs.[Ch]: correct comment
4774         * rowpainter.C: do not paint selections away from bv->cursor()
4775         Fix a long standing selection painting bug.
4776         * text3.C: generalize mouse-selection code to LyXTexts other that
4777         top one
4778         * textcursor.C: do not use y coords if we can use par offsets
4779
4780 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4781
4782         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4783         cursor position after e.g. inset insert)
4784
4785 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
4786
4787         * lyxfind.C (replace): adjust to locking removal + some
4788         code simplification
4789
4790 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
4791
4792         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4793         of the path
4794
4795 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
4796
4797         * lyxlayout.[Ch]:
4798         * output_docbook.C: XML sanitation: new layout
4799         parameters InnerTag and CommandDepth
4800
4801 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
4802
4803         * BufferView_pimpl.C:
4804         * factory.C:
4805         * text3.C: Fix the insertion and modification of button-style
4806         insets
4807
4808 2003-11-13  André Pönitz  <poenitz@gmx.net>
4809
4810         * InsetList.[Ch]: remove deleteLyXText
4811
4812         * paragraph.[Ch]: cache beginOfBody position
4813
4814         * Bidi.C:
4815         * text.C:
4816         * text2.C:
4817         * text3.C: remove superfluous update() calls
4818
4819         * vspace.C: cleanup
4820
4821 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
4822
4823         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4824         * BufferView.C (fitLockedInsetCursor): remove
4825         * cursor.[Ch] (getDim): add
4826         * text.C (getRowNearY): add faster version
4827         * text3.C: remove some update calls
4828
4829 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
4830
4831         * LaTeXFeatures.C:
4832         * LyXAction.C:
4833         * MenuBackend.C:
4834         * MenuBackend.h:
4835         * dispatchresult.h:
4836         * factory.C:
4837         * lfuns.h:
4838         * lyxfunc.C:
4839         * lyxtextclass.C:
4840         * lyxtextclass.h:
4841         * text3.C: The Character Style /XML short element patch.
4842
4843 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
4844
4845         * text3.C:
4846         * factory.C: Small step to solving 'unable to insert some insets'
4847         problem
4848
4849 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
4850
4851         * cursor.[Ch] (updatePos): new function for updating the y
4852         position of the tip inset
4853         * bufferview_funcs.C (put_selection_at):
4854         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4855
4856 2003-11-11  André Pönitz  <poenitz@gmx.net>
4857
4858         * text.C: remove big comment on invalid Paragraph pointers as it is
4859         not valid anymore
4860
4861 2003-11-11  André Pönitz  <poenitz@gmx.net>
4862
4863         * text_funcs.[Ch]: merge with ...
4864
4865         * text.C: ... this
4866
4867         * lyxtext.h:
4868         * text2.C:
4869         * text3.C: adjust
4870
4871         * Makefile.am: remove text_funcs.[Ch]
4872
4873 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
4874
4875         * cursor.C (getPos): return absolute cached y coord
4876
4877         * BufferView_pimpl.C (fitCursor): new simplistic code
4878         (workAreaDispatch): add a fitCursor call
4879
4880 2003-11-10  André Pönitz  <poenitz@gmx.net>
4881
4882         * BufferView.[Ch]:
4883         * BufferView_pimpl.[Ch]: merge update() and updateInset()
4884
4885 2003-11-10  André Pönitz  <poenitz@gmx.net>
4886
4887         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4888         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4889         indicate that the cursor needs to leave an inset
4890
4891         * lyxtext.h: remove inset locking
4892
4893         * cursor.[Ch]: re-implement functionality provided by inset locking
4894
4895         * BufferView.[Ch]:
4896         * BufferView_pimpl.[Ch]:
4897         * LyXAction.C:
4898         * bufferview_funcs.[Ch]:
4899         * factory.C:
4900         * funcrequest.[Ch]:
4901         * iterators.C:
4902         * lyx_cb.C:
4903         * lyxfind.C:
4904         * lyxfunc.C:
4905         * text.C:
4906         * text2.C:
4907         * text3.C:
4908         * undo.C: adjust
4909
4910 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
4911
4912         * PosIterator.[Ch]: replace the stack with a vector, add inset
4913         accesor
4914         * iterators.[C]: adjust
4915
4916 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4917
4918         * lyxfind.C (replaceAll): mark the buffer dirty if something was
4919         replaced
4920         * paragraph_funcs.C (readParToken): put the correct id in the
4921         error item, not the id of the top paragraph
4922
4923 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4924
4925         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4926         * bufferview_funcs.C (put_selection_at): use the above
4927
4928 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4929
4930         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4931
4932 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4933
4934         * output_linuxdoc.h:
4935         * output_plaintext.h:
4936         * output.h:
4937         * output_docbook.h: add #include statements
4938
4939 2003-11-05  José Matos  <jamatos@lyx.org>
4940
4941         * output_docbook.[Ch]:
4942         * output_latex.[Ch]:
4943         * output_linuxdoc.[Ch]:
4944         * output_plaintext.[Ch]: New files for output formats.
4945         * output.[Ch]: New file for helper functions.
4946
4947         * buffer.[Ch]:
4948         * paragraph_funcs.[Ch]: output functions moved to new files.
4949
4950         * outputparams.h: rename of latexrunparams.h
4951
4952         * LaTeX.[Ch]:
4953         * buffer.[Ch]:
4954         * bufferlist.[Ch]:
4955         * converter.[Ch]:
4956         * exporter.C:
4957         * paragraph.[Ch]:
4958         * paragraph_funcs.[Ch]:
4959         * paragraph_pimpl.[Ch]:
4960         * tabular.[Ch]: rename ascii to plaintext
4961         and LatexRunParams to OutputParams.
4962
4963 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4964
4965         * iterators.[Ch] (text): require bv argument
4966         * undo.C (recordUndo):
4967         * lyxfunc.C (dispatch):
4968         * bufferview_funcs.C (put_selection_at): adjust
4969
4970 2003-11-05  Jo� Luis M. Assirati  <assirati@fma.if.usp.br>
4971
4972         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4973
4974 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4975
4976         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4977         nestings
4978
4979 2003-11-04  André Pönitz  <poenitz@gmx.net>
4980
4981         * cursor.[Ch]: restructure
4982
4983         * BufferView.[Ch]:
4984         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4985
4986         * iterators.[Ch] (asCursor): remove
4987
4988         * lfuns.h: remove LFUN_INSET_EDIT
4989
4990         * lyxfunc.C:
4991         * tabular.C:
4992         * text.C:
4993         * text2.C:
4994         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4995
4996 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4997
4998         * lyxfind.[Ch]: complete overhaul
4999         * BufferView_pimpl.C:
5000         * lyxfunc.C: adjust
5001         * paragraph.[Ch] (insert): add
5002
5003 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5004
5005         * BufferView.[Ch]:
5006         * lyxtext.h:
5007         * text.C: remove dead spellcheck code
5008
5009 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5010
5011         * dispatchresult.h: add a val setter
5012
5013         * cursor.C (dispatch): use a tempvar for data_[i]
5014
5015 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5016
5017         * PosIterator.[Ch]: compile fix
5018
5019 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5020
5021         * text.C (cursorPar): deactivate the cursor cache
5022
5023 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
5024
5025         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
5026
5027 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5028
5029         * text3.C (dispatch): adjust for new DisptchResult semantics.
5030
5031         * lyxfunc.C (dispatch): handle update when return from
5032         Cursor::dispatch, adjust for new DispatchResult semantics.
5033
5034         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
5035         DispatchResult(true) mean to not update. Add class functions for
5036         setting dispatched and update, as well as reading.
5037
5038         * cursor.C (dispatch): don't handle update here
5039
5040 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5041
5042         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
5043         * trans_mgr.C: adjust
5044
5045         * paragraph_funcs.C (readParToken): exception safety
5046
5047         * lyxvc.h: store the vcs pointer in a scoped_ptr
5048         * lyxvc.C: adjust
5049
5050         * lyxsocket.C (serverCallback): exception safety
5051
5052         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
5053
5054         * ispell.C (clone): make it return a auto_ptr
5055
5056         * factory.C (createInset): exception safety
5057         (readInset): exception safety
5058
5059         * bufferlist.C (newBuffer): exception safety
5060
5061         * Thesaurus.C (Thesaurus): use initialization for aik_
5062
5063         * MenuBackend.C (expandToc): exception safety.
5064
5065 2003-11-03  André Pönitz  <poenitz@gmx.net>
5066
5067         * buffer.C:
5068         * buffer.h:
5069         * bufferview_funcs.C: remove getInsetFromId()
5070
5071         * lyxcursor.[Ch]:
5072         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
5073
5074         * lyxfunc.C:
5075         * text2.C:
5076         * text3.C: adjust
5077
5078 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
5079
5080         * PosIterator.C (distance, advance): new
5081         * bufferview_funcs.[Ch] (put_selection_at): new
5082         * iterators.[Ch] (lockPath): new
5083
5084 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
5085
5086         * iterators.[Ch] (asPosIterator): added
5087         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
5088         * PosIterator.[Ch]: added
5089
5090 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5091
5092         * text3.C:
5093         * lyxfunc.C:
5094         * cursor.C (dispatch):
5095         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
5096
5097         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
5098         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
5099         contructor, add a class function dispatched. Remove operator>=
5100
5101 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5102
5103         * debug.C: only use the default constructor for debugstream
5104         (lyxerr) here.
5105
5106         * main.C (main): include debug.h and setup the lyxerr streambuf
5107         here.
5108
5109 2003-10-31  José Matos  <jamatos@lyx.org>
5110
5111         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
5112
5113         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
5114         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
5115         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5116         * paragraph_pimpl.C (simpleTeXSpecialC):
5117         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
5118         add LatexRunParams argument.
5119
5120         * exporter.C (Export): change call accordingly.
5121
5122         * latexrunparams.h: add new member to take care of the other backends.
5123 2003-10-30  José Matos  <jamatos@lyx.org>
5124
5125         * buffer.C (makeLinuxDocFile, makeDocBookFile):
5126         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5127         factorise code for paragraph output.
5128         * buffer.[Ch]:
5129         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
5130         move functions.
5131
5132 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5133
5134         * text3.C (dispatch):
5135         * lyxfunc.C (dispatch):
5136         * cursor.C (dispatch):
5137         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
5138
5139         * dispatchresult.h: make the dispatch_result_t ctor explicit
5140
5141 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
5142
5143         * sgml.[Ch]:
5144         * buffer.C: small refactoring of docbook stuff
5145
5146 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5147
5148         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
5149         meaning.
5150
5151 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5152
5153         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
5154         operator dispatch_result_t, and operators for == != and >=
5155
5156         * cursor.C (dispatch): adjust for operator dispatch_result_t
5157         removal. comment out call to update
5158
5159         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
5160
5161 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5162
5163         * text3.C:
5164         * text2.C:
5165         * text.C:
5166         * lyxtext.h:
5167         * lyxfunc.C:
5168         * cursor.C:
5169         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
5170         (dispatch):
5171
5172         * dispatchresult.h: new file, DispatchResult broken out of
5173         insets/insetbase.h
5174
5175         * Makefile.am (lyx_SOURCES): add dispatchresult.h
5176
5177 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
5178
5179         * text.C (rowBreakPoint): put a hack inside #if 0
5180
5181 2003-10-28  André Pönitz  <poenitz@gmx.net>
5182
5183         * lyxtext.h:
5184         * metricsinfo.C:
5185         * paragraph_funcs.C:
5186         * rowpainter.C:
5187         * text.C:
5188         * text2.C: general cleanup (lots of small stuff)
5189
5190 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
5191
5192         * text2.C (cursorEnd): simple fix to the "end key goes to one
5193         before the end on last row" bug
5194
5195 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5196
5197         * text.C (backspace): fix the "zombie characters"
5198
5199 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5200
5201         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
5202
5203 2003-10-27  André Pönitz  <poenitz@gmx.net>
5204
5205         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
5206
5207         * factory.C: handle new InsetPagebreak, InsetLine
5208
5209         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
5210         and move handling into new InsetPagebreak, InsetLine
5211
5212         * BufferView_pimpl.C:
5213         * LyXAction.C:
5214         * ParagraphParameters.C:
5215         * ParameterStruct.h:
5216         * lyxfunc.C:
5217         * lyxtext.h:
5218         * paragraph.C:
5219         * paragraph.h:
5220         * paragraph_funcs.C:
5221         * paragraph_pimpl.C:
5222         * rowpainter.C:
5223         * text.C:
5224         * text2.C:
5225         * text3.C: adjust
5226
5227 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5228
5229         * text.C:
5230         * lyxrow_funcs.[Ch]:
5231         * Bidi.C:
5232         * paragraph.C:
5233         * lyxtext.h:
5234         * rowpainter.C:
5235         * text2.C:
5236         * text3.C: remove lastPos uses in favour of Row::endpos
5237
5238 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5239
5240         * undo.C (performUndoOrRedo): fix two crashes by setting a
5241         cursor by hand and reordering some calls. Use bv->lockInset instead
5242         of inset->edit because the latter loses cursor information
5243
5244 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
5245
5246         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5247         by Martin
5248         (rowBreakPoint): fix width. change point to point + 1.
5249         Add a missing check.
5250
5251 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
5252
5253         * MenuBackend.C:
5254         * lyxfunc.C: fix (at least partly) the problems
5255         with the Nav menu and headers inside branch insets
5256         reported by Kayvan
5257
5258 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
5259
5260         * paragraph.C (getChar): add strong asserts
5261
5262         * lyxrow_funcs.C (lastPos): remove hideous hack
5263
5264         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5265         (fill): adjust to that (avoid an infinite loop)
5266
5267 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5268
5269         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5270
5271 2003-10-23  André Pönitz  <poenitz@gmx.net>
5272
5273         * RowList_fwd.h: change list<> to vector<> to gain speed
5274         after suggestion from Alfredo
5275
5276 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5277
5278         * lyxtext.h: move the bidi stuff from here...
5279         * text.C: and here
5280         * text2.C: and here
5281         * Bidi.[Ch]: ... to here
5282
5283 2003-10-23  André Pönitz  <poenitz@gmx.net>
5284
5285         * lyxtext.h:
5286         * text.C (isLastRow, isFirstRow): new functions
5287
5288         * paragraph.h: new width cache member
5289
5290         * rowpainter.C: replace RowList::iterator with Row & where possible
5291
5292         * lyxfunc.C: replace several view()->text with a single call
5293
5294         * toc.C: fix 'unused' warning
5295
5296 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5297
5298         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5299         when woring with stream::pos_type
5300         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5301
5302 2003-10-22  André Pönitz  <poenitz@gmx.net>
5303
5304         * lyxtext.h:
5305         * text.C: use Row & instead of RowList::iterator
5306
5307         * lyxrow.h: rename end() to endpos()
5308
5309         * rowpainter.C:
5310         * text.C:
5311         * text2.C: adjust
5312
5313 2003-10-22  Angus Leeming  <leeming@lyx.org>
5314
5315         * buffer.[Ch] (fully_loaded): new member function, returning true
5316         only when the file has been loaded fully.
5317         Used to prevent the premature generation of previews and by the
5318         citation inset to prevent computation of the natbib-style label.
5319
5320         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5321         templates are all set up.
5322
5323         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5324
5325 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
5326
5327         * text.C: fixed an "oops" in the "is a bit silly"
5328         bug fix
5329
5330 2003-10-21  André Pönitz  <poenitz@gmx.net>
5331
5332         * FuncStatus.[Ch]: small stuff, whitespace
5333
5334         * lyxfont.[Ch]: operator<<() for debug reasons
5335
5336         * lyxfunc.C:
5337         * lyxrow_funcs.C:
5338         * lyxtext.h: whitespace, spelling
5339
5340         * paragraph.C: naming of variables
5341
5342         * text.C:
5343         * text2.C: small stuff
5344
5345
5346 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
5347
5348         * text.C: (1) finish off the inset display() work;
5349         (2) fix the "is a bit silly" bug (accessing char
5350         past end of par).
5351
5352 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
5353
5354         * text.C: re-introduce display() for insets, fixing the
5355         various bugs (stretch of line above, math inset
5356         positioning, ...)
5357
5358 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5359
5360         * text.C (rightMargin): remove spurious semicolon
5361
5362         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5363         1415)
5364
5365 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
5366
5367         * text3.C: fix one crash due to wrong cursor def
5368
5369 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5370
5371         * vc-backend.C (scanMaster): make the regex static
5372
5373         * LaTeX.C (scanAuxFile): make the regexs static
5374
5375         * text3.C (doInsertInset, dispatch, dispatch):
5376         * text2.C (cursorUp, cursorDown):
5377         * text.C (selectNextWordToSpellcheck):
5378         * BufferView_pimpl.C (dispatch):
5379         * lyxfunc.C (dispatch):  localDispatch -> dispatch
5380
5381 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5382
5383         * lyxsocket.C: include <cerrno>
5384
5385 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5386
5387         * lyxfunc.C (dispatch): remove textcache stuff
5388
5389         * bufferlist.C (release): remove textcache stuff
5390         (closeAll): ditto
5391
5392         * TextCache.C: delete file
5393         * TextCache.h: delete file
5394
5395         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5396
5397         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5398         delete of the bv_->text.
5399         (resizeCurrentBuffer): remove texcache stuff
5400         (workAreaResize): ditto
5401
5402 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5403
5404         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5405         action.
5406
5407 2003-10-16  André Pönitz  <poenitz@gmx.net>
5408
5409         * lyxrow.[Ch]:
5410         * paragraph.h:
5411         * rowpainter.C:
5412         * text.C:
5413         * text2.C:
5414         * text3.C: speed up by storing y positions per paragraph plus per-row
5415         offset instead of having a 'full' y position in the row.
5416
5417 2003-10-15  André Pönitz  <poenitz@gmx.net>
5418
5419         * iterators.[Ch]:
5420         * iterators.[Ch]:
5421         * undo.[Ch]: make undo aware of inner insets
5422
5423 2003-10-14  Angus Leeming  <leeming@lyx.org>
5424
5425         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5426         static member functions LyX::ref() and LyX::cref.
5427         (lastfiles): new accessor functions for the new lastfiles_ member var.
5428         (addLyXView, views_): add a new LyXView to the list of views_.
5429         (updateInset): loop over all LyXViews to call their own updateInset
5430         member function, returning a pointer to the Buffer owning the inset.
5431
5432         * BufferView_pimpl.C (loadLyXFile):
5433         * MenuBackend.C (expandLastfiles):
5434         * bufferlist.C (MenuWrite, QuitLyX):
5435         lastfiles is no longer a global variable.
5436         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5437
5438         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5439         static function. Access through LyX::cref().emergencyCleanup().
5440
5441 2003-10-14  André Pönitz  <poenitz@gmx.net>
5442
5443         * iterators.[Ch]: new direct access to innermost LyXText and Inset
5444
5445         * undo.[Ch]: restoring part of 'undo in insets'
5446
5447         * Makefile.am:
5448         * undo_funcs.[Ch]: merge with undo.[Ch]
5449
5450         * tabular.C: small cleansing stuff
5451
5452 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
5453
5454         * paragraph_funcs.C (readParToken): report unknown insets as error
5455         boxes. Use the outer paragraph as location (also for unknown
5456         tokens).
5457
5458         * factory.C (readInset): do not abort on reading an unknown inset.
5459         Eat it and return 0.
5460
5461 2003-10-13  Angus Leeming  <leeming@lyx.org>
5462
5463         * lyx_main.C (LyX): remove call to setDisplayTranslator().
5464
5465         * lyxrc.C: displayTranslator is now a function,
5466         declared in GraphicsTypes.h.
5467
5468 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5469
5470         * format.C: new placeholder $$a to pass the socket address.
5471
5472         * bufferlist.[Ch]: new function getBufferFromTmp.
5473
5474         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5475           files in the temporary dir.
5476
5477 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5478
5479         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5480
5481         * Makefile.am: add lyxsocket.[Ch].
5482
5483         * lyx_main.C (error_handler): handle SIGPIPE.
5484
5485 2003-10-13  André Pönitz  <poenitz@gmx.net>
5486
5487         * BufferView_pimpl.C:
5488         * lyxtext.h:
5489         * text.C:
5490         * text2.C:
5491         * text3.C:
5492         * undo_funcs.[Ch]: use paroffset_type instead of
5493           ParagraphList::iterators to prevent multiple conversion
5494           (and get a more robust interface)
5495
5496 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5497
5498         * lyxfunc.C (dispatch): RESULT -> dispatch_result
5499         * lyxtext.h: ditto
5500         * text3.C (dispatch): ditto
5501
5502 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5503
5504         * LaTeX.C (handleFoundFile): move the static to smaller scope,
5505         move the onlyfile, use onlyfile instead of foundfile in a couple
5506         of places.
5507
5508         * DepTable.C (update): flush the error stream a bit more
5509
5510 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5511
5512         * lyxserver.C (callback): adjust
5513
5514         * lyxfunc.C (getStatus): add a missing brace in commented code
5515         (ensureBufferClean): reindent
5516         (dispatch): delete version taking a string
5517
5518 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5519
5520         * LaTeX.C (deplog): move found file handlig from here...
5521         (handleFoundFile): .. to new function here.
5522         (deplog): make sure to discover several files mentioned on the
5523         same log line.
5524
5525 2003-10-10  André Pönitz  <poenitz@gmx.net>
5526
5527         * lyxfunc.C:
5528         * lyxtext.h:
5529         * tabular.C:
5530         * text.C:
5531         * text2.C:
5532         * text3.C: fix some of the tabular crashes
5533
5534 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5535
5536         * MenuBackend.C (binding): put debug message into Debug::KBMAP
5537
5538         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5539
5540 2003-10-09  André Pönitz  <poenitz@gmx.net>
5541
5542         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5543
5544         * BufferView.C:
5545         * BufferView_pimpl.C:
5546         * bufferview_funcs.C:
5547         * lyx_cb.C:
5548         * lyxcursor.C:
5549         * lyxfind.C:
5550         * lyxfunc.C:
5551         * lyxtext.h:
5552         * text.C:
5553         * text2.C:
5554         * text3.C:
5555         * text_funcs.[Ch]:
5556         * textcursor.[Ch]:
5557         * undo_funcs.C: adjust
5558
5559 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5560
5561         * text2.C (incrementItemDepth): new function, use a backtracking
5562         algorithm to discover the correct item depth.
5563         (resetEnumCounterIfNeeded): new function, use a backtracking
5564         algorithm to discover if counter reset is needed.
5565         (setCounter): use them. Simplify a bit. Add different labels for
5566         different item depths for itemize.
5567
5568         * paragraph.C (Paragraph): remove initialization of enumdepth
5569         (operator=): ditto
5570
5571         * paragraph.h: get rid of enumdepth, and use itemdepth both for
5572         enumerate and itemize. Change the type of itemdepth to signed char.
5573
5574 2003-10-08  André Pönitz  <poenitz@gmx.net>
5575
5576         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5577           thing assignable.
5578         * text.C:
5579         * text2.C: adjust
5580
5581         * tabular.[Ch]: fix crash after 'row-insert'
5582
5583 2003-10-08  Angus Leeming  <leeming@lyx.org>
5584
5585         Fix doxygen warnings.
5586
5587         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5588         Remove CutAndPaste:: prefix from header file declaration.
5589
5590         * LColor.h (fill): remove LColor:: prefix from declaration.
5591
5592         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5593         use lyx::depth_type rather than Paragraph::depth_type so that
5594         header file and .C file match.
5595
5596         * converter.h (intToFormat): remove Converters:: prefix from declaration.
5597
5598         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5599         * aspell.C: \file aspell_local.C -> \file aspell.C
5600         * gettext.C: \file gettext.C -> \file src/gettext.C
5601         * gettext.h: \file gettext.h -> \file src/gettext.h
5602         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5603         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5604         * text.C: \file text.C -> \file src/text.C
5605
5606         * toc.C: move comment so that doxygen is not confused.
5607
5608 2003-10-07  Angus Leeming  <leeming@lyx.org>
5609
5610         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5611
5612 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5613
5614         * aspell.C:
5615         * aspell_local.h: add forgotten std::string's.
5616
5617 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5618
5619         * LaTeXFeatures.C:
5620         * LyXAction.C:
5621         * factory.C:
5622         * lfuns.h:
5623         * lyxfunc.C:
5624         * text3.C: The Box patch. Fancybox support, minipage, parbox
5625
5626 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5627
5628         * CutAndPaste.h:
5629         * DepTable.h:
5630         * FloatList.h:
5631         * LaTeXFeatures.h:
5632         * ParagraphParameters.h:
5633         * TextCache.h:
5634         * Thesaurus.h:
5635         * bufferlist.h:
5636         * exporter.h:
5637         * importer.h:
5638         * lastfiles.h:
5639         * lyxfind.h:
5640         * lyxfont.h:
5641         * lyxlex.h:
5642         * lyxtextclasslist.h:
5643         * messages.h:
5644         * paragraph.h:
5645         * paragraph_pimpl.C:
5646         * textcursor.h: add <string> and other small fixes to make Lars'
5647         std::string patch compile with STLport.
5648
5649 2003-10-06  Angus Leeming  <leeming@lyx.org>
5650
5651         * LColor.h: Add missing #include <string>.
5652
5653 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5654
5655         * All most all file in all subdirs: Make <string> be the prefered
5656         way of getting to std::string, add using declarations.
5657
5658 2003-10-06  André Pönitz  <poenitz@gmx.net>
5659
5660         * metricsinfo.C: initialize LyXFont before changing attribute.
5661         (fixes the 'math in \emph is upright' bug)
5662
5663 2003-10-06  André Pönitz  <poenitz@gmx.net>
5664
5665         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5666
5667 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
5668
5669         * graph.C:
5670         * paragraph_pimpl.C: Small fixes to build using STLport
5671
5672 2003-10-02  André Pönitz  <poenitz@gmx.net>
5673
5674         * lyxfunc.C:
5675         * text3.C: move handling of LFUN_DEPTH *; fix #1360
5676
5677 2003-10-01  André Pönitz  <poenitz@gmx.net>
5678
5679         * factory.C: assert early
5680
5681 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5682
5683         * lyx_main.C: remove the global debug object
5684
5685         * debug.h: adjust for new debugstream
5686
5687         * debug.C: adjust for new debugstream and keep the global debug
5688         object here.
5689
5690 2003-09-22  Angus Leeming  <leeming@lyx.org>
5691
5692         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5693         of g++ which otherwise complain that the scoped_ptr destructor can't delete
5694         an incomplete class LyXFont.
5695
5696 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
5697
5698         * factory.C: bug fix in branches
5699
5700 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5701
5702         * lyxfunc.C (processKeySym): adjust
5703         (dispatch): adjust
5704         (dispatch): change arg name from ev to func, adjust
5705         (sendDispatchMessage): ditto
5706
5707         * lyx_main.C (defaultKeyBindings): adjust keybindings
5708         (deadKeyBindings): ditto
5709
5710         * kbsequence.C (addkey): return a FuncRequest
5711
5712         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5713
5714         * kbmap.C (bind): take a FuncRequest as arg, adjust
5715         (read): adjust
5716         (lookup): adjust
5717         (defkey): change to take a FuncRequest as arg, adjust
5718         (findbinding): take a FuncRequest as arg, adjust.
5719
5720         * funcrequest.h (operator=): added
5721
5722         * funcrequest.C (FuncRequest): default kb_action changed from
5723         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5724
5725         * buffer.C (dispatch): simplify
5726         (dispatch): adjust to take a FuncRequest as arg, adjust
5727
5728         * boost.C (assertion_failed): change assertion message slightly
5729
5730         * ToolbarBackend.C (read): simplify
5731
5732         * MenuBackend.C (binding): adjust call to findbinding, add a
5733         message if no binding is found.
5734         (read): simplify
5735         (expandToc): correct by adding a empty FuncRequest
5736
5737         * LyXAction.C: include <boost/assert.hpp>
5738         (isPseudoAction): delete function
5739         (LookupFunc): change name to...
5740         (lookupFunc): this. change return type to FuncRequest.
5741         (getActionName): take kb_action as arg, simplify
5742         (funcHasFlag): add an assert, simplify.
5743
5744 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5745
5746         * toc.C (action): return a FuncRequest, simplify
5747
5748         * lyxfunc.C (processKeySym): adjust
5749         (getStatus): delete version that takes an int.
5750         (getStatus): adjust
5751         (dispatch): delete version that takes action as int
5752         (dispatch): adjust
5753         (sendDispatchMessage): simplify and adjust
5754
5755         * funcrequest.C (getArg): take unsigned int as arg
5756
5757         * ToolbarBackend.C (read): adjust
5758         (add): delete version that takes func as a string.
5759         (getIton): take a FuncRequest as arg
5760
5761         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5762         action.
5763
5764         * MenuBackend.C (MenuItem): add a new construct that only takes a
5765         Kind, simplify the constructor use for submenus.
5766         (add): adjust
5767         (expandLastfiles): adjust
5768         (expandDocuments): adjust
5769         (expandFormats): adjust
5770         (expandFloatListInsert): adjust
5771         (expandFloatInsert): adjust
5772         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5773
5774         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5775         Remove class variables lyx_pseudo_map and lyx_arg_map
5776
5777         * LyXAction.C (searchActionArg): delete function
5778         (getPseudoAction): delete function
5779         (retrieveActionArg): delete function
5780         (LookupFunc): make it return kb_action, simplify.
5781         (getActionName): simplify
5782
5783         * factory.C (createInset): fix new bug
5784
5785 2003-09-19  Angus Leeming  <leeming@lyx.org>
5786
5787         * CutAndPaste.C (pasteSelection): remove fudge used to set the
5788         masterFilename_ parameter in the include inset.
5789
5790         * factory.C (createInset): changes due to the changes to InsetInclude.
5791
5792 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5793
5794         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5795
5796 2003-09-18  Angus Leeming  <leeming@lyx.org>
5797
5798         * buffer.C:
5799         * BufferView.C: pass the buffer when calling Inset::getLabelList,
5800         Inset::fillWithBibKeys.
5801         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5802
5803 2003-09-18  Angus Leeming  <leeming@lyx.org>
5804
5805         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5806         variables.
5807         (ctor): pass and store a 'Buffer const &'
5808         (buffer): new member function.
5809
5810         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5811         '*this' to the LaTeXFeatures ctor.
5812
5813 2003-09-18  Angus Leeming  <leeming@lyx.org>
5814
5815         * LColor.h:
5816         * lyxfont.C:
5817         * lyxfont.h:
5818         * lyxtext.h:
5819         * text.C: rename EnumLColor as LColor_color.
5820
5821 2003-09-18  Angus Leeming  <leeming@lyx.org>
5822
5823         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5824         remove #include "insets/insetbase.h" from cursor.h.
5825
5826 2003-09-18  Angus Leeming  <leeming@lyx.org>
5827
5828         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5829         InsetOld_code to remove #include "inset.h".
5830
5831         * iterators.C: add #include "insets/inset.h"
5832
5833 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
5834
5835         * BufferView.C: remove more locking stuff that apparently doesn't
5836         do anything sensible.
5837
5838 2003-09-16  André Pönitz  <poenitz@gmx.net>
5839
5840         * paragraph.[Ch]:
5841         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5842           performance boost.
5843
5844 2003-09-16  Angus Leeming  <leeming@lyx.org>
5845
5846         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5847
5848         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5849         arg/return type.
5850
5851         * paragraph.h: remove #include "lyxfont.h". Forward declare
5852         LyXFont_size.
5853
5854 2003-09-16  Angus Leeming  <leeming@lyx.org>
5855
5856         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5857         of support/textutils.h.
5858         (isWord): move the contents of support/textutils.h's IsWordChar here.
5859
5860         * buffer.C:
5861         * lyxfind.C:
5862         * rowpainter.C:
5863         * text.C:
5864         * text2.C: add #include "paragraph.h".
5865
5866         * rowpainter.C:
5867         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5868
5869 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5870
5871         * main.C:
5872         * lyx_main.C:
5873         * lyx_cb.C:
5874         * buffer.C:
5875         * LaTeX.C: use namespace alias for lyx::support::os
5876
5877 2003-09-16  Angus Leeming  <leeming@lyx.org>
5878
5879         * bufferparams.C:
5880         * bufferview_funcs.C:
5881         * factory.C:
5882         * lyxfunc.C:
5883         * paragraph_pimpl.C:
5884         * rowpainter.C:
5885         * text.C: add #include "LColor.h".
5886
5887 2003-09-16  Angus Leeming  <leeming@lyx.org>
5888
5889         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5890         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5891         return LyXFont &.
5892         Store the FontBits::color variable as an int rather than as an
5893         LColor::colorso that we can move LColor.h out of the lyxfont.h header
5894         file.
5895
5896         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5897         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5898         string calls together.
5899
5900         * lyxrc.C: add #include "LColor.h".
5901
5902 2003-09-15  Angus Leeming  <leeming@lyx.org>
5903
5904         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5905         a cow_ptr.
5906
5907 2003-09-15  Angus Leeming  <leeming@lyx.org>
5908
5909         * LColor.h: add an EnumLColor wrapper for LColor::color.
5910
5911         * lyxfont.[Ch] (color, setColor, realColor):
5912         * lyxtext.h, text.C (backgroundColor):
5913         pass EnumLColor args to/from the functions, rather than LColor::color
5914         ones.
5915
5916         * lyxfont.h:
5917         * lyxtext.h: forward declare EnumLColor.
5918
5919         * lyx_main.C: add #include "LColor.h".
5920
5921 2003-09-15  Angus Leeming  <leeming@lyx.org>
5922
5923         * .cvsignore: add lyx-gtk.
5924
5925 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5926
5927         * Chktex.C
5928         * LaTeX.C
5929         * LaTeXFeatures.C
5930         * ParagraphParameters.C
5931         * Spacing.C
5932         * buffer.C
5933         * bufferparams.C
5934         * bufferview_funcs.C
5935         * chset.C
5936         * counters.C
5937         * funcrequest.C
5938         * lyxfont.C
5939         * lyxgluelength.C
5940         * lyxlength.C
5941         * paragraph.C
5942         * paragraph_funcs.C
5943         * text3.C
5944         * vc-backend.C: remove usage of STRCONV
5945
5946 2003-09-15  Angus Leeming  <leeming@lyx.org>
5947
5948         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5949         explicitly define the color passed to the painter.
5950
5951 2003-09-15  Angus Leeming  <leeming@lyx.org>
5952
5953         * bufferparams.C (BufferParams): reorder member initializers to avoid
5954         compiler warning.
5955
5956 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
5957
5958         * CutAndPaste.C (pasteSelection): remove an outdated #warning
5959         * text.C (updateRowPositions): remove an unusual nop
5960
5961 2003-09-12  André Pönitz  <poenitz@gmx.net>
5962
5963         * BufferView_pimpl.C:
5964         * Bullet.C:
5965         * layout.h:
5966         * lyxfunc.C:
5967         * lyxlayout.[Ch]:
5968         * lyxtextclass.C:
5969         * rowpainter.C:
5970         * text.C:
5971         * text2.C:
5972         * Counters.[Ch]: finish the 'automatic counters' job
5973
5974 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5975
5976         * aspell.C: include <boost/assert.cpp> (compile fix)
5977
5978 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
5979
5980         * boost.C (assertion_failed): use lyx::support::abort instead of
5981         assert.
5982
5983 2003-09-10  Angus Leeming  <leeming@lyx.org>
5984
5985         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5986         with their _fwd progeny.
5987
5988 2003-09-09  Angus Leeming  <leeming@lyx.org>
5989
5990         134 files throughtout the source tree: replace 'using namespace abc;'
5991         directives with the appropriate 'using abc::xyz;' declarations.
5992
5993 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5994
5995         * boost.C (emergencyCleanup): moved here from LAssert.c
5996         (assertion_failed): new function, called by BOOST_ASSERT
5997
5998         * several files: change Assert to BOOST_ASSERT
5999
6000 2003-09-09  Angus Leeming  <leeming@lyx.org>
6001
6002         * buffer.[Ch]: Add an Impl class and move Buffer's member
6003         variables into it. As a result move several header files out of
6004         buffer.h.
6005
6006         Add header files to lots of .C files all over the tree as a result.
6007
6008 2003-09-09  Angus Leeming  <leeming@lyx.org>
6009
6010         * buffer.[Ch]: make Buffer's member variables private. Add
6011         accessor functions.
6012
6013         Lots of changes all over the tree as a result.
6014
6015 2003-09-08  Angus Leeming  <leeming@lyx.org>
6016
6017         * graph.C: #include <config.h>.
6018
6019 2003-09-08  Angus Leeming  <leeming@lyx.org>
6020
6021         * BranchList.C:
6022         * BufferView.C:
6023         * BufferView_pimpl.C:
6024         * CutAndPaste.C:
6025         * DepTable.C:
6026         * LaTeX.C:
6027         * LaTeXFeatures.C:
6028         * LyXAction.C:
6029         * MenuBackend.C:
6030         * TextCache.C:
6031         * aspell.C:
6032         * buffer.C:
6033         * bufferlist.C:
6034         * changes.C:
6035         * chset.C:
6036         * converter.C:
6037         * counters.C:
6038         * debug.C:
6039         * graph.C:
6040         * ispell.C:
6041         * lyx_cb.C:
6042         * lyxfind.C:
6043         * lyxfunc.C:
6044         * lyxlex_pimpl.C:
6045         * lyxrc.C:
6046         * lyxrow.C:
6047         * paragraph.C:
6048         * rowpainter.C:
6049         * texrow.C:
6050         * text.C:
6051         * text2.C:
6052         * toc.C: remove redundant using directives.
6053
6054 2003-09-07  Angus Leeming  <leeming@lyx.org>
6055
6056         * LaTeXFeatures.h: remove #include "support/types.h".
6057         * ToolbarBackend.h: remove #include <algorithm>.
6058         * changes.h: remove #include <ctime>.
6059         * debug.h: remove #include <iosfwd>.
6060         * graph.h: remove #include "support/std_string.h".
6061         * lyx_main.h: remove #include <csignal>.
6062         * lyxlex_pimpl.h: remove #include <fstream>.
6063         * sgml.h: remove #include <algorithm>, <utility>.
6064         * toc.h: remove #include "support/std_ostream.h".
6065         Add #include <iosfwd>.
6066
6067 2003-09-07  Angus Leeming  <leeming@lyx.org>
6068
6069         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
6070
6071         * converter.h: forward declare LatexRunParams.
6072         * encoding.h: remove #include "lyxrc.h".
6073         * lyxtext.h: remove #include "LColor.h".
6074         * lyxtextclass.h: remove #include "support/types.h".
6075         * trans.h: remove #include "tex-accent.h".
6076         * trans_mgr.h: remove #include "tex-accent.h".
6077         * insets/inset.h: remove #include "support/types.h", <vector>.
6078         * insets/insetcollapsable.h: remove #include "LColor.h".
6079         * insets/insetinclude.h: remove #include "dimension.h".
6080         * insets/insetlatexaccent.h: remove #include "dimension.h".
6081         * insets/insetoptarg.h:: remove #include "insettext.h".
6082         * insets/insettext.h: remove #include "dimension.h",
6083         <boost/shared_ptr.hpp>
6084
6085         * insets/renderers.h: add #include "dimension.h".
6086         * insets/updatableinset.h: add #include "support/types.h".
6087
6088         * many .C files: Associated changes.
6089
6090 2003-09-06  Angus Leeming  <leeming@lyx.org>
6091
6092         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
6093         one, inside testInvariant.
6094
6095         * PrinterParams.C: new file.
6096         * PrinterParams.[Ch]: move the function bodies out of line.
6097
6098 2003-09-06  Angus Leeming  <leeming@lyx.org>
6099
6100         * ParagraphParameters.h: forward declare ParameterStruct rather than
6101         including its header file.
6102         (depth): moved out-of-line.
6103
6104 2003-09-06  Angus Leeming  <leeming@lyx.org>
6105
6106         * BufferView_pimpl.h:
6107         * kbmap.h:
6108         * kbsequence.h:
6109         * lyxfunc.h: forward declare LyXKeySym rather than
6110         #include "frontends/LyXKeySym.h".
6111
6112         * BufferView_pimpl.C:
6113         * kbmap.C:
6114         * kbsequence.C:
6115         * lyxfunc.C: associated changes.
6116
6117 2003-09-06  Angus Leeming  <leeming@lyx.org>
6118
6119         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6120         As a result, can remove the #include "insets/inset.h" from BufferView.h
6121
6122 2003-09-06  Angus Leeming  <leeming@lyx.org>
6123
6124         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6125         As a result, can remove the #include "insets/inset.h" from BufferView.h
6126
6127 2003-09-06  Angus Leeming  <leeming@lyx.org>
6128
6129         * buffer_funcs.C:
6130         * buffer.h:
6131         * bufferlist.C:
6132         * BufferView.C:
6133         * bufferview_funcs.C:
6134         * BufferView_pimpl.C:
6135         * CutAndPaste.C:
6136         * lyx_cb.C:
6137         * lyxfunc.C:
6138         * paragraph.h:
6139         * ParagraphParameters.C:
6140         * tabular.C:
6141         * text3.C:
6142         * toc.C:
6143         * undo_funcs.C:
6144         * frontends/controllers/ControlDocument.C:
6145         * insets/insetcaption.C: rearrange the #includes into some sort of
6146         coherent order.
6147
6148         * buffer.h: remove #includes ErrorList.h, undo.h
6149
6150 2003-09-06  Angus Leeming  <leeming@lyx.org>
6151
6152         * support/types.h: add a 'depth_type' typedef, used to store the
6153         nesting depth of a paragraph.
6154
6155         * paragraph.h:
6156         * ParameterStruct.h: use this lyx::depth_type typedef rather than
6157         defining explicitly.
6158
6159         * buffer.h:
6160         * paragraph_funcs.h:
6161         * ParagraphParameters.h:
6162         * sgml.h: use lyx::depth_type rather than Paragraph or
6163         ParameterStruct's depth_type.
6164
6165         * buffer.h
6166         * paragraph_funcs.h: no need to #include paragraph.h anymore.
6167
6168         * BufferView.C:
6169         * BufferView_pimpl.C:
6170         * CutAndPaste.C:
6171         * ParagraphParameters.C:
6172         * buffer_funcs.C:
6173         * bufferlist.C:
6174         * bufferview_funcs.C:
6175         * lyx_cb.C:
6176         * lyxfunc.C:
6177         * tabular.C:
6178         * text3.C:
6179         * toc.C:
6180         * undo_funcs.C:
6181         * frontends/LyXView.C:
6182         * frontends/controllers/ControlDocument.C:
6183         * frontends/controllers/ControlErrorList.C:
6184         * insets/insetbibitem.C:
6185         * insets/insetbranch.C:
6186         * insets/insetcaption.C:
6187         * insets/insetcollapsable.C:
6188         * insets/insetenv.C:
6189         * insets/insetert.C:
6190         * insets/insetfloat.C:
6191         * insets/insetfoot.C:
6192         * insets/insetfootlike.C:
6193         * insets/insetnewline.C:
6194         * insets/insetquotes.C:
6195         * insets/insettabular.C:
6196         * insets/insettext.C:
6197         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
6198
6199         * frontends/controllers/ControlChanges.C: #include "changes.h".
6200
6201 2003-09-06  Angus Leeming  <leeming@lyx.org>
6202
6203         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
6204         than #including paragraph.h.
6205
6206         * ParagraphList.h:
6207         * RowList.h: deleted. Superfluous.
6208
6209         * CutAndPaste.h:
6210         * iterators.h:
6211         * lyxcursor.h:
6212         * lyxtext.h:
6213         * text_funcs.h:
6214         * undo.h:
6215         * undo_funcs.h:
6216         * insets/inset.h:
6217         * insets/insettext.h: use ParagraphList_fwd.h rather than
6218         ParagraphList.h.
6219
6220         * paragraph.h: don't forward declare ParagraphList.
6221
6222         * buffer.h:
6223         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
6224         rather than ParagraphList.h. paragraph.h is still needed for the
6225         Paragraph::depth_type parameters.
6226
6227         * textcursor.h: enable it to compile stand-alone in light of the
6228         above changes.
6229
6230         * bufferview_funcs.C:
6231         * iterators.C:
6232         * lyxfunc.C:
6233         * lyxrow_funcs.C:
6234         * paragraph.C:
6235         * rowpainter.C:
6236         * text.C:
6237         * text2.C:
6238         * text3.C:
6239         * text_funcs.C:
6240         * textcursor.C:
6241         * undo.C:
6242         * frontends/controllers/ControlParagraph.C:
6243         * frontends/controllers/ControlTabular.C:
6244         * insets/insetmarginal.C:
6245         * insets/insetminipage.C:
6246         * insets/insetnote.C:
6247         * insets/insetoptarg.C: add header files needed to compile again.
6248
6249 2003-09-06  Angus Leeming  <leeming@lyx.org>
6250
6251         * RowList_fwd.h: new file, forward-declaring Row rather than
6252         #including lyxrow.h.
6253
6254         * lyxrow_funcs.h:
6255         * lyxtext.h:
6256         * paragraph.h:
6257         * insets/insettext.h: use it instead of RowList.h
6258
6259         * bufferview_funcs.C:
6260         * lyxfunc.C:
6261         * lyxrow_funcs.C:
6262         * paragraph.C:
6263         * rowpainter.C:
6264         * text.C:
6265         * text2.C:
6266         * text3.C: #include "RowList.h".
6267
6268 2003-09-05  Angus Leeming  <leeming@lyx.org>
6269
6270         * factory.C (createInset):
6271         * vspace.C (c-tor): replace sscanf call with an istringstream.
6272         * ispell.C: re-add missing HP/UX headers.
6273         * lyxserver.C: re-add missing  os2 headers.
6274
6275 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
6276
6277         * BranchList.C:
6278         * graph.C:
6279         * ispell.C:
6280         * lastfiles.C:
6281         * lyx_cb.C:
6282         * lyxserver.C:
6283         * texrow.C:
6284         * text3.C: re-add missing system headers, needed for 2.95.2.
6285
6286 2003-09-05  Angus Leeming  <leeming@lyx.org>
6287
6288         Changes most place everywhere due to the removal of using directives
6289         from support/std_sstream.h.
6290
6291 2003-09-05  Angus Leeming  <leeming@lyx.org>
6292
6293         Replace LString.h with support/std_string.h,
6294         Lsstream.h with support/std_sstream.h,
6295         support/LIstream.h with support/std_istream.h,
6296         support/LOstream.h with support/std_ostream.h.
6297
6298         Changes resulting throughout the tree.
6299
6300 2003-09-05  Angus Leeming  <leeming@lyx.org>
6301
6302         * sgml.h: ensure that the header file can be compiled stand-alone.
6303         * *.C: strip out redundant #includes. (320 in total.)
6304
6305 2003-09-04  Angus Leeming  <leeming@lyx.org>
6306
6307         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6308         here (from getPackages).
6309
6310         * debug.[Ch]: add a new EXTERNAL tag.
6311
6312 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6313
6314         * text2.C (cursorEnd): simplify
6315         (setCursor): adjust
6316         (getColumnNearX): adjust
6317
6318         * text.C (computeBidiTables): adjust
6319         (fill): adjust
6320
6321         * rowpainter.C (paintChars): adjust
6322         (paintSelection): adjust
6323         (paintChangeBar): adjust
6324         (paintText): adjust
6325
6326         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6327         lastPos instead.
6328         (numberOfSeparators): adjust
6329
6330 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6331
6332         * LyXAction.C:
6333         * box.[Ch]:
6334         * lfuns.h:
6335         * lyxfunc.C:
6336         * text3.C: Restricts the mouse click functionality
6337         of insets like bibtex, include, toc and floatlist to the visible
6338         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6339         up the dialogs. Cursor has to be in front of the inset (i.e.
6340         start of row) for this to function.
6341
6342 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6343
6344         * bufferview_funcs.C (currentState): output row information
6345
6346 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6347
6348         * bufferview_funcs.C (currentState): output paragraph position
6349
6350 2003-09-04  Angus Leeming  <leeming@lyx.org>
6351
6352         * FloatList.h: move out #include "Floating.h".
6353         * LaTeX.h: move out #include "DepTable.h".
6354         * LyXAction.h: move out #include "funcrequest.h".
6355         * buffer.h: move out #include "author.h", "iterators.h".
6356         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6357         * lyx_main.h: move out #include "errorlist.h".
6358         * lyxfunc.h: move out #include "FuncStatus.h".
6359         * lyxtext: move out #include "lyxcursor.h".
6360         * paragraph_pimpl.h: move out #include "counters.h".
6361
6362 2003-09-03  Angus Leeming  <leeming@lyx.org>
6363
6364         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6365         preamble_snippets list, enabling us to add snippets to the preamble
6366         only if the snippet was not there already.
6367
6368 2003-09-04  Angus Leeming  <leeming@lyx.org>
6369
6370         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6371
6372 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6373
6374         * lyxfunc.C (dispatch): if fitCursor did something be sure to
6375         update
6376
6377 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6378
6379         * BranchList.C: point fix, earlier forgotten
6380
6381 2003-09-02  Angus Leeming  <leeming@lyx.org>
6382
6383         * box.C (contains): renamed from 'contained' after a fantastic
6384         amount of hot air.
6385
6386 2003-09-02  John Levon  <levon@movementarian.org>
6387
6388         * BufferView.C:
6389         * lyxcursor.h:
6390         * lyxcursor.C:
6391         * lyxfunc.C:
6392         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6393
6394 2003-09-02  John Levon  <levon@movementarian.org>
6395
6396         * text2.C: simplification of cursorEnd(), including partial
6397         fix for bug 1376
6398
6399 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6400
6401         * buffer.C (readFile): add a space
6402
6403 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
6404
6405         * BufferView_pimpl.C (update): remove bogus fitCursor() call
6406
6407 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6408
6409         * buffer.C (readFile): new function, take a filename and a
6410         ParagraphList::iterator
6411         (readFile): adjust
6412         (readFile): adjust, make it private. don't use setStream, make
6413         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6414         always contain the filename.
6415
6416         * BufferView.C (insertLyXFile): simplify and make it work for
6417         gzipped files.
6418
6419 2003-08-30  John Levon  <levon@movementarian.org>
6420
6421         * Makefile.am: fix dist (from Kayvan)
6422
6423 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6424
6425         * most files: change to use const Buffer refs
6426
6427 2003-08-27  André Pönitz  <poenitz@gmx.net>
6428
6429         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6430         on top of ownerPar().
6431
6432 2003-08-27  John Levon  <levon@movementarian.org>
6433
6434         * funcrequest.C: properly initialise POD members
6435
6436 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6437
6438         * lyxtext.h (top_y): move top_y from here
6439         * text.C:
6440         * text2.C:
6441         * text3.C:
6442         * BufferView.[Ch]:
6443         * BufferView_pimpl.[Ch]: to here
6444         * frontends/screen.C:
6445         * insets/insettabular.C:
6446         * insets/insettext.C: adjust
6447         * rowpainter.[Ch] (paintRows): remove LyXText & argument
6448
6449 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6450
6451         * BufferView.[Ch]:
6452         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6453
6454 2003-08-26  André Pönitz  <poenitz@gmx.net>
6455
6456         * paragraph_func.[Ch] (outerPar): new function
6457
6458         * paragraph.C:
6459         * paragraph_funcs.C:
6460         * paragraph_funcs.h:
6461         * paragraph_pimpl.C:
6462         * text2.C: remove Inset::par_owner
6463
6464 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
6465
6466         * lyxrow_funcs.C:
6467         * lyxtext.h:
6468         * text.C:
6469         * text2.C: eliminates the needFullRow/display() stuff
6470         altogether, putting the logic in metrics/draw in the insets.
6471
6472 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
6473
6474         * text2.C (redoParagraphInternal, redoParagraphs):
6475         * text.C (redoParagraph): add a call to updateRowPositions at the
6476         end of each 'metrics-like' call. Remove all others.
6477         (getRow): remove the 'y-computing' version.
6478         (getRowNearY): do not compute nor return the real y. Solve the
6479         'y < 0' problem and simplify.
6480
6481 2003-08-22  Angus Leeming  <leeming@lyx.org>
6482
6483         * *.[Ch]: clean-up of licence and author blurbs.
6484         Also move config.h out of a few .h files and into a few .C files.
6485
6486 2003-08-22  André Pönitz  <poenitz@gmx.net>
6487
6488         * lyxrow.[Ch]: add x_ and *fill_ members
6489
6490         * lyxtext.h:
6491         * text.C:
6492         * rowpainter.C:
6493         * text2.C: adjust/remove prepareToPrint() calls
6494
6495 2003-08-22  André Pönitz  <poenitz@gmx.net>
6496
6497         * lyxrow.[Ch]: add  end_ member
6498
6499         * lyxrow_funcs.C: use LyXRow::end_
6500
6501         * lyxtext.h (singleWidth): add LyXFont parameter
6502
6503         * rowpainter.C:
6504         * text2.C: adjust LyXText::singleWidth() calls
6505
6506         * text.C (redoParagraph): simplify row breaking logic
6507
6508
6509 2003-08-19  André Pönitz  <poenitz@gmx.net>
6510
6511         * funcrequest.C: initialize button_ member
6512
6513         * text3.C:
6514         * rowpainter.[Ch]: interface consolidation
6515
6516 2003-08-18  André Pönitz  <poenitz@gmx.net>
6517
6518         * BufferView.C:
6519         * BufferView_pimpl.C:
6520         * lyxfind.C:
6521         * paragraph_funcs.C:
6522         * rowpainter.C:
6523         * text3.C: remove LyXScreen::draw() and fitCursor calls
6524
6525         * BranchList.h: remove spurious semicolons
6526
6527         * MenuBackend.C: fix branchlist related crash
6528
6529 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
6530
6531         * BranchList.[Ch]:
6532         * InsetList.[Ch]:
6533         * LColor.[Ch]:
6534         * LyXAction.C:
6535         * Makefile.am:
6536         * MenuBackend.[Ch]:
6537         * bufferparams.[Ch]:
6538         * factory.C:
6539         * lfuns.h:
6540         * lyxfunc.C:
6541         * text3.C: implements the 'branch inset'
6542         idea. This allows the output of various versions of a document
6543         from a single source version, selectively outputing or suppressing
6544         output of parts of the text.
6545         This implementation contains a 'branch list editor' in a separate
6546         tab of the document settings dialog. Branches are user definable
6547         and have a "display colour" to distinguish them on-screen.
6548
6549         ColorHandler was somewhat cleaned up.
6550         (1) make possible a dynamically growing LColor list by allowing
6551         the graphic context cache to grow along (vector);
6552         (2) eliminate an IMHO unnecessary step in colour allocation.
6553
6554 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
6555
6556         * BufferView_pimpl.C: compile fix
6557
6558 2003-08-15  André Pönitz  <poenitz@gmx.net>
6559
6560         * rowpainter.C: remove extra metrics calls
6561
6562         * lyxtext.h: merge the two constructors into a single one,
6563           pass reference to owner's par list
6564
6565         * BufferView_pimpl.C:
6566         * text.C:
6567         * text2.C: adjust
6568
6569 2003-08-15  André Pönitz  <poenitz@gmx.net>
6570
6571         * lyxrow_funcs.[Ch]:
6572         * lyxtext.h:
6573         * paragraph.h:
6574         * paragraph_funcs.C:
6575         * rowpainter.C:
6576         * text.C:
6577         * text2.C:
6578         * text3.C:
6579         * text_funcs.C: split LyXText::rowlist_ into individual
6580         Paragraph::rows_ chunks
6581
6582         * BufferView.[Ch]:
6583         * BufferView_pimpl.[Ch]:
6584         * lyxfind.C:
6585         * lyxtext.h:
6586         * text3.C: remove toggleSelection()
6587
6588 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
6589
6590         * bufferlist.C: beautify two alerts (shorter text of buttons)
6591         * buffer.C: Remove redundant ' ' from message
6592         * tabular.h:
6593         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6594         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6595         rename VALIGN_CENTER to VALIGN_MIDDLE
6596
6597 2003-08-11  André Pönitz  <poenitz@gmx.net>
6598
6599         * lyxtext.h (getPar):
6600         * text.C: new function
6601
6602 2003-08-11  André Pönitz  <poenitz@gmx.net>
6603
6604         * Makefile.am:
6605         * tracer.[Ch]: remove unneeded files
6606
6607         * InsetList.[Ch]: remove resizeInsetsLyXText()
6608
6609         * lyxtext.h:
6610         * text.C:
6611         * text2.C:
6612         * text3.C: merge insertParagraphs() and appendParagraph()
6613         remove breakAgain(), update()
6614
6615         * BufferView_pimpl.[Ch]:
6616         * bufferview_funcs.[Ch]:
6617         * lyxfunc.C:
6618         * paragraph.[Ch]:
6619         * rowpainter.C:
6620         * tabular.C: adjust after text & InsetList changes.
6621
6622 2003-08-08  André Pönitz  <poenitz@gmx.net>
6623
6624         * text.C (insertChar, backspace): replace rowlist fiddling
6625         with rebreak of full par
6626
6627         * lyxtext.h:
6628         * text.C (breakAgainOneRow, redoHeightOfParagraph,
6629         checkParagraph, updateInset): removed
6630
6631 2003-08-07  André Pönitz  <poenitz@gmx.net>
6632
6633         * paragraph.C:
6634         * text3.C: merge some LFUN handlers, remove dead code
6635
6636 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6637
6638         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6639
6640 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
6641
6642         * text2.C (DEPM): fix part of bug 1255 and 1256
6643
6644 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6645
6646         * BufferView_pimpl.C (workAreaDispatch): change to use
6647         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6648         that are no mouse related.
6649
6650 2003-08-05  André Pönitz  <poenitz@gmx.net>
6651
6652         * BufferView.[Ch]:
6653         * BufferView_pimpl.[Ch]:
6654         * bufferview_funcs.C:
6655         * text2.C:
6656         * text3.C: rip out "deep update"
6657
6658         * textcursor.[Ch] (last_sel_cursor): remove unused member
6659
6660 2003-08-04  André Pönitz  <poenitz@gmx.net>
6661
6662         * BufferView.[Ch]:
6663         * BufferView_pimpl.[Ch]:
6664         * ParagraphParameters.C:
6665         * bufferview_funcs.C:
6666         * lyx_cb.C:
6667         * lyxfind.C:
6668         * lyxfunc.C:
6669         * text.C:
6670         * text2.C:
6671         * text3.C: replace "complicated" BufferView::update(...) calls with
6672         simpler ones.
6673
6674         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6675
6676 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
6677
6678         * Makefile.am (lyx_SOURCES): add paper.h
6679
6680 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6681
6682         * Makefile.am: move things around so that both lyx-qt and
6683         lyx-xforms can be built (according to --with-frontend). Then lyx
6684         is a symbolic link to lyx-[firstfrontend]
6685
6686 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
6687
6688         * Always use std::endl with lyxerr
6689
6690 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
6691
6692         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6693
6694 2003-08-01  André Pönitz  <poenitz@gmx.net>
6695
6696         * BufferView.[Ch]:
6697         * BufferView_pimpl.[Ch]:
6698         * lyxfunc.C:
6699         * text3.C: merge BufferView::repaint() and BufferView::update()
6700
6701 2003-08-01  José Matos  <jamatos@lyx.org>
6702
6703         * buffer.[Ch]: file_format is no longer a buffer data element.
6704
6705 2003-08-01  André Pönitz  <poenitz@gmx.net>
6706
6707         * BufferView.C:
6708         * lyxtext.h:
6709         * text.C:
6710         * text2.C: make redoParagraph more independent of current cursor
6711
6712         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6713         * text.C:
6714         * text2.C: remove unneeded members
6715
6716 2003-07-30  André Pönitz  <poenitz@gmx.net>
6717
6718         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6719
6720         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6721           create a single function...
6722
6723         * paragraph_funcs.C (moveItem): ... here.
6724
6725         * text.C:
6726           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6727
6728 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
6729
6730         * LColor.[Ch]: Add comment and greyedout logical colors.
6731
6732 2003-07-30  André Pönitz  <poenitz@gmx.net>
6733
6734         * tabular.C: don't use Assert too heavily. This crashes where it
6735           shouldn't
6736
6737 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
6738
6739         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6740         is disabled (bug 1232)
6741
6742 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6743
6744         * factory.C: limited 'arg' scope
6745
6746 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6747
6748         * factory.C: fixed Note submenu issues
6749
6750 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6751
6752         * factory.C: submenu for Note/Comment/Greyedout
6753
6754 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
6755
6756         * lyx_main.C (LyX):
6757         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6758
6759 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
6760
6761         * LaTeXFeatures.C:
6762         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6763         greyedout. Patch provided by Jürgen Spitzmüller.
6764
6765 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6766
6767         * kbmap.C (read): fix error message when reading bind files
6768
6769 2003-07-29  Angus Leeming  <leeming@lyx.org>
6770
6771         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6772         certainly does not do what it purports to do. I am doing it, and
6773         us, a favour by killing it.
6774
6775 2003-07-28  José Matos  <jamatos@lyx.org>
6776
6777         * buffer.C (readBody, do_writeFile):
6778         * paragraph.C(readParagraph): \end_document replaces \the_end.
6779
6780 2003-07-29  André Pönitz  <poenitz@gmx.net>
6781
6782         * BufferView.[Ch]:
6783         * BufferView_pimpl.[Ch]:
6784         * lyxfunc.C:
6785         * text2.C:
6786         * text3.C:
6787         * textcursor.[Ch]: remove toggleToggle & Co
6788
6789 2003-07-28  José Matos  <jamatos@fep.up.pt>
6790
6791         * buffer.C (readParagraph):
6792         * params_func (readParToken, readParagraph):
6793         * paragraph.C (write): \layout -> \begin_layout.
6794
6795 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6796
6797         * lyxlex_pimpl.C (setFile): clean up slightly.
6798
6799         * bufferparams.h: add compressed var
6800
6801         * buffer_funcs.C (readFile): adjust for LyXLex change
6802         (newFile): ditto + simplify
6803
6804         * buffer.C (writeFile): handle writing of compressed files
6805
6806         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6807         Check if the file is compressed and set a bufferparm if so.
6808
6809         * Makefile.am (lyx_LDADD): remove explicit -lz
6810
6811 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6812
6813         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6814         makeDocBookFile): put the real LyX version in the first line of
6815         the file
6816
6817         * version.h:
6818         * version.C.in: remove lyx_docversion
6819
6820         * tabular.C (write_attribute): add a template-based version to
6821         write enums properly
6822
6823 2003-07-28  André Pönitz  <poenitz@gmx.net>
6824
6825         * lyxtext.h:
6826         * text.C:
6827         * text2.C:
6828         * text3.C: use doubles again for x-coordinates. They are needed.
6829
6830 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6831
6832         * messages.C (getLocaleDir): use lyx_localedir()
6833
6834         * lyxlex_pimpl.C (setFile): compress stuff
6835
6836         * buffer.C (writeFile): add some compression stuff
6837         (do_writeFile): new func, dont call expliti close... will this
6838         breake anything?
6839
6840         * Makefile.am (lyx_LDADD): add -lz
6841
6842 2003-07-28  José Matos  <jamatos@fep.up.pt>
6843
6844         * buffer.C: increment file format.
6845         * paragraph_funcs (readParagraph, readParToken):
6846         * paragraph.C (readParagraph): add \end_layout.
6847
6848 2003-07-27  Angus Leeming  <leeming@lyx.org>
6849
6850         * Makefile.am: remove special casing for configure-time setting of
6851         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6852
6853         * lyx_main.C (init): remove all Jean-Marc's magic setting of
6854         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6855
6856 2003-07-26  André Pönitz  <poenitz@gmx.net>
6857
6858         * paragraph_func.[Ch]:
6859         * paragraph.C (realizeFont): inline it whereever it is used
6860
6861         * rowpainter.C:
6862         * text.C:
6863         * text2.C:
6864         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6865
6866
6867 2003-07-26  André Pönitz  <poenitz@gmx.net>
6868
6869         *       lyxtext.h:
6870         * text.C:
6871         * text2.C: get rid of LyXText::need_break_row
6872
6873 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6874
6875         * toc.[Ch]: put namespace toc inside namespace lyx
6876
6877         * MenuBackend.C (expandToc2): adjust for lyx::toc
6878         (expandToc): ditto
6879
6880         * lyxfunc.C (dispatch): adjust for lyx::find
6881
6882         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6883         lyx::find instead. Reorganize a bit.
6884         (LyXReplace): rename to replace
6885         (LyXFind): rename to find
6886
6887         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6888         (dispatch): ditto
6889
6890 2003-07-26  André Pönitz  <poenitz@gmx.net>
6891
6892         * text.C (setHeightOfRow): restrict scope of temporary variable
6893
6894         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
6895           code (never has been used?)
6896
6897 2003-07-27  Asger Alstrup  <alstrup@local>
6898
6899         * text.C (fill): Optimise algorithm to exploit that we can reuse
6900         the LyXFont for many characters.
6901         (setHeightOfRow): Same thing.
6902         (rowBreakPoint): Same thing.
6903
6904 2003-07-26  Asger Alstrup  <alstrup@local>
6905
6906         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6907
6908         * text.C (singleWidth): Spurious font copying in hot-spot
6909         singleWidth avoided. Reorder tests for arabic for efficiency.
6910
6911         * text.C (fill): handle empty paragraphs better.
6912
6913 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6914
6915         * ispell.C:
6916         * encoding.h: add includes
6917
6918         * lyxrc.C: remove reading of bind files
6919
6920         * lyx_main.C (init): setup bindings and menus only if we have a
6921         gui.
6922
6923         * kbmap.C (read): new method. Do the actual reading of bind
6924         files.
6925
6926         * converter.C (dvipdfm_options):
6927         * bufferparams.C:
6928         * lyxrc.C (read):
6929         (output): adapt PAPER_* enums.
6930
6931         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6932
6933         * bufferparams.h: remove paper-related enums from there
6934
6935         * paper.h: New file. A trivial header file to hold paper-related
6936         enums. It should later expand to contain many paper-related
6937         horrors access.
6938
6939         * lyxrc.C: declare extern displayTranslator
6940
6941 2003-07-27  José Matos  <jamatos@fep.up.pt>
6942
6943         * tabular.[Ch] (linuxdoc): add support for tables and figures
6944         (linuxdoc).
6945
6946 2003-07-27  José Matos  <jamatos@fep.up.pt>
6947
6948         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6949         consistency in both functions.
6950         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6951
6952 2003-07-26  Asger Alstrup  <alstrup@local>
6953
6954         * rowpainter.C (paintRows): Change algorithm to work directly on
6955         the insets rather than asking every character in the document
6956         whether its an inset.
6957
6958 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
6959
6960         * buffer.C (openFileWrite): factorize some code
6961
6962 2003-07-26  Angus Leeming  <leeming@lyx.org>
6963
6964         * lyx_cb.C:
6965         * lyx_main.[Ch]: replace occurances of system_tempdir with
6966         os::getTmpDir().
6967
6968 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6969
6970         * rename Inset to InsetOld
6971
6972 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
6973
6974         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6975         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6976         which I think is a bit clearer. EDIT is gone, since it was
6977         premature optimisation, and broken for mathed anyway.
6978         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6979         with cursor positioning in insets as well (math insets still do not
6980         work, but that's a different story anyway.) It mysteriously
6981         crashes sometimes with undo in the first paragraph, but I'm fairly
6982         confident that this is a compiler bug.
6983
6984 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6985
6986         * paragraph.C (Paragraph): adjust for new clone return type
6987         (operator==): ditto
6988         (copyIntoMinibuffer): ditto
6989
6990 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
6991
6992         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6993         by not having a special case, and always doing a full rebreak of
6994         the document after undo.
6995
6996 2003-07-23  Angus Leeming  <leeming@lyx.org>
6997
6998         * factory.C (createInset): InsetExternal::setParams now takes a
6999         Buffer const * arg.
7000
7001 2003-07-23  Angus Leeming  <leeming@lyx.org>
7002
7003         * factory.C (createInset): changed interface to the external and
7004         graphics mailers' string2params functions.
7005
7006 2003-07-23  Angus Leeming  <leeming@lyx.org>
7007
7008         * factory.C (createInset): pass a
7009         Buffer const * parameter to InsetExternalMailer's string2params.
7010
7011 2003-07-22  John Levon  <levon@movementarian.org>
7012
7013         * Thesaurus.h: include the right aiksaurus header
7014
7015 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7016
7017         * MenuBackend.C (expand): check menu shortcuts unconditionally
7018
7019 2003-07-21  Angus Leeming  <leeming@lyx.org>
7020
7021         * factory.C (createInset): pass a
7022         buffer_path parameter to InsetGraphicsMailer's string2params.
7023
7024 2003-07-21  Angus Leeming  <leeming@lyx.org>
7025
7026         * BufferView_pimpl.C (buffer):
7027         * buffer.C (d-tor):
7028         * lyx_main.C (LyX):
7029         * lyxfunc.C (dispatch):
7030         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
7031         rather than the grfx shortcut.
7032
7033 2003-07-21  André Pönitz  <poenitz@gmx.net>
7034
7035         * rowpainter.C: remove unused variables
7036
7037         * tabular_funcs.C:
7038         * tabular_funcs.h: move to tabular.C
7039         * Makefile.am: adjust
7040
7041         * tabular.[Ch]: basic optical cleaning
7042
7043         * author.h: pass references, not values
7044
7045 2003-07-18  André Pönitz  <poenitz@gmx.net>
7046
7047         * lyxtext.h:
7048         * metricsinfo.C:
7049         * metricsinfo.h:
7050         * rowpainter.C:
7051         * text.C:
7052         * text2.C:
7053         * text3.C: two-phase drawing for InsetText and InsetTabular
7054         some float -> int changes.
7055
7056 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
7057
7058         * lyx_main.C: fix the fix
7059
7060 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
7061
7062         * lyx_main.C: fix a crash in batch mode if no files specified
7063         * converter.C: ws
7064
7065 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
7066
7067         * format.[Ch] (papersize): moved to BufferParams
7068         * converter.[Ch] (dvips_options): moved to BufferParams
7069         (dvipdfm_options): moved to anon namespace
7070         * bufferparams.[Ch]: added above functions.
7071
7072 2003-07-17  André Pönitz  <poenitz@gmx.net>
7073
7074         * lyxtext.h:
7075         * rowpainter.C:
7076         * text2.C: don't call inset->update() anymore
7077
7078         * metricsinfo.[Ch]: add convenience constructor
7079
7080 2003-07-16  André Pönitz  <poenitz@gmx.net>
7081
7082         * lyxcursor.[Ch]:
7083         * lyxfunc.[Ch]:
7084         * text.C:
7085         * text2.C: replace the LyXCursor::irow_ member with
7086          on-demand computation of the value
7087
7088 2003-07-16  John Levon  <levon@movementarian.org>
7089
7090         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
7091
7092 2003-07-15  André Pönitz  <poenitz@gmx.net>
7093
7094         * text.C:
7095         * text2.C: remove no more needed refresh_row
7096
7097 2003-07-15  André Pönitz  <poenitz@gmx.net>
7098
7099         * lyxtext.h:
7100         * rowpainter.C:
7101         * text2.C:
7102         * text3.C: refresh_status tristate -> need_update bool
7103
7104 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
7105
7106         * lyxtext.h (init): remove reinit argument (act as if always true)
7107         * text2.C: adjust to that
7108
7109 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7110
7111         * bufferview_funcs.[Ch]: introduce function replaceSelection()
7112         * text3.C: use it to delete selections in some cases
7113         (bugs 441, 673, 702, 954).
7114
7115 2003-07-14  André Pönitz  <poenitz@gmx.net>
7116
7117         * rowpainter.[Ch]: reduce interface
7118
7119 2003-07-14  André Pönitz  <poenitz@gmx.net>
7120
7121         * BufferView_pimpl.C:
7122         * text2.C: adjust after removing unused BufferView * argument
7123
7124 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
7125
7126         * text2.C (init): fix a crash fired on resize
7127
7128 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
7129
7130         * buffer.[Ch]: added new closing signal
7131         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
7132         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
7133         BufferView::Pimpl via the closing the signal
7134
7135 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
7136
7137         * buffer.[Ch]: take out all bv-related from buffer
7138         * BufferView.C:
7139         * BufferView_pimpl.[Ch]: connect to new signals
7140         * CutAndPaste.C: removed useless asserts
7141         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
7142         * lyxvc.[Ch]:
7143         * vc-backend.[Ch]:
7144         * lyxfunc.C: moved view-related funciontality from vc here
7145         * paragraph.C: removed outdated comments
7146         * text.C: ws
7147
7148 2003-07-10  André Pönitz  <poenitz@gmx.net>
7149
7150         * BufferView_pimpl.C:
7151         * tabular.h:
7152         * tabular_funcs.C:
7153         * text.C:
7154         * text2.C: remove InsetText::InnerCache, clean up consequences
7155
7156 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
7157
7158         * ispell.C: fix two typos in error messages
7159
7160 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
7161
7162         * Extend Note inset to other forms of annotation like Comment
7163         and Greyedout. Right button click gives dialog.
7164
7165         Files modified or added (+):
7166
7167         * insetnote.[Ch]
7168         * FormNote.[Ch]      +
7169         * ControlNote.[Ch]   +
7170         * form_note.fd       +
7171         * Makefile.am in frontends/xforms, frontends/xforms/forms,
7172         frontends/controllers
7173         * xforms/Dialogs.C
7174         * factory.C
7175
7176 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7177
7178         * aspell.C: add missing namespace lyx::support
7179
7180 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
7181
7182         * BufferView.[Ch] (newFile): Add
7183         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
7184         * LaTeX.[Ch] (message): added this signal and use it
7185         * buffer.[Ch] (busy, message): added these signals and use them
7186         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
7187         * converter.C:
7188         * exporter.C:
7189         * format.C:
7190         * importer.C: use buffer signals instead of direct bv calling
7191         * lyx_cb.[Ch] (ShowMessage): removed
7192         * lyx_main.C:
7193         * lyxfunc.C:
7194         * paragraph_funcs.C:
7195         * text2.C: use buffer signals
7196
7197 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7198
7199         * introduce namespace lyx::graphics
7200
7201 2003-07-02  André Pönitz  <poenitz@gmx.net>
7202
7203         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
7204
7205 2003-07-01  André Pönitz  <poenitz@gmx.net>
7206
7207         * text.C:
7208         * text2.C:
7209         * text3.C:
7210         * text_funcs.[Ch]:
7211         * textcursor.h:
7212         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
7213           text*.C to text_func.C
7214
7215 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7216
7217         * introduce namespace lyx::support
7218
7219 2003-06-30  André Pönitz  <poenitz@gmx.net>
7220
7221         * Chktex.C:
7222         * funcrequest.C:
7223         * lyxtext.h:
7224         * text.C: re-enable --with-included-string
7225
7226 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7227
7228         * textcursor.C: add <config.h>
7229
7230         * text.C (getWord): remove const from word_location arg
7231
7232         * lyxvc.C (getLogFile): fix const type order
7233
7234         * lyxtext.h: remove const from word_location arg, add arg name
7235
7236         * lyxlayout.h: currect type on labeltype.
7237
7238         * importer.C: correct \file
7239
7240         * converter.C (intToFormat): use std:: on ret val, ws changes
7241
7242         * bufferlist.h: correct \file
7243
7244         * buffer.C (makeLinuxDocFile): fix const type order
7245         (makeDocBookFile): ditto
7246         (fillWithBibKeys): use std:: on stdlib args.
7247
7248         * CutAndPaste.C: fix authors.
7249         (availableSelections): use std:: on return vector
7250
7251 2003-06-27  André Pönitz  <poenitz@gmx.net>
7252
7253         * BufferView_pimpl.C:
7254         * bufferview_funcs.C:
7255         * lyxcursor.C:
7256         * lyxcursor.h:
7257         * lyxfunc.C:
7258         * lyxtext.h:
7259         * rowpainter.C:
7260         * text.C:
7261         * text2.C:
7262         * text3.C: remove LyXCursor::row_ member
7263
7264         * lyxtext.h:
7265         * text.C: rename fullRebreak() to partialRebreak() and implement
7266           a fullRebreak() that really bereks fully
7267
7268         * textcursor.h: new struct for cursor-related data
7269
7270 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
7271
7272         * lyx_main.C (LyX): get full path of document loaded on the
7273         command line
7274
7275 2003-06-26  André Pönitz  <poenitz@gmx.net>
7276
7277         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7278           remove unused/broken operator>,<,>=.
7279
7280         *       text.C: remove only use of broken operator<= in an Assert().
7281
7282 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7283
7284         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7285         moved errorlist_.clear to showErrorList
7286
7287 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7288
7289         * converter.C (scanLog, runLaTeX):
7290         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7291         move the bv->showErrorList call to the callers
7292         * lyxfunc.C: i.e. here...
7293         * text2.C: and here
7294         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7295         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7296         namespace, the second to...
7297         * buffer_funcs (BufferFormat, parseErrors): added
7298         * errorlist.C (ErrorList(TeXErrors const &)): removed
7299
7300 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7301
7302         * ToolbarBackend.C (getIcon): complain when icon cannot be found
7303
7304 2003-06-24  "Garst R. Reese" <reese@isn.net>
7305
7306         * debug.C: fix typo
7307
7308 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7309
7310         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7311
7312         * version.C.in: change docversion to 1.4
7313
7314 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
7315
7316         * buffer.C: fix a bug just introduced
7317
7318 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
7319
7320         * buffer.[Ch]: added the parseError signal and use it, removed
7321         sgmlError
7322         * BufferView.[Ch] (addError): moved to ...
7323         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7324         to the Buffer::parseError signal to catch (guess what) parse errors
7325         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7326
7327 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
7328
7329         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7330         ability to create a buffer and to return an existing one from
7331         the list. Moved these functions to...
7332         * buffer_funcs.[Ch]: added
7333         * BufferView.[Ch] (loadLyXFile): added
7334         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7335         job removed from bufferlist::loadLyXFile.
7336         * buffer.C (setReadOnly): make it work without view
7337         (i.e added an if (users))
7338
7339 2003-06-19  Angus Leeming  <leeming@lyx.org>
7340
7341         * lfuns.h:
7342         * LyXAction.C (init):
7343         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7344         with LFUN_DIALOG_SHOW <name> <data>.
7345
7346 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7347
7348         * CutAndPaste.C (availableSelections): small compilation fix for
7349         ancient (gcc 2.9x) compilers
7350
7351 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
7352
7353         * text3.C (cursorNext): add tmp var
7354
7355         * text2.C (updateCounters): for function calling out of for clause
7356         (replaceSelectionWithString): ditto
7357         (insertStringAsParagraphs): ditto
7358         (getColumnNearX): add tmp var
7359         (setCursorFromCoordinates): add tmp var
7360         (cursorDownParagraph): add tmp var
7361         (deleteEmptyParagraphMechanism): add tmp var
7362
7363         * text.C (insertChar): add tmp var
7364
7365         * rowpainter.C (paintDepthBar): add tmp var
7366
7367         * CutAndPaste.C (availableSelections): potentially check all
7368         paragraphs in a cut to fill the shown strings.
7369
7370 2003-06-18  André Pönitz  <poenitz@gmx.net>
7371
7372         * kbmap.[Ch]: use vector<> instead of list<>
7373
7374 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
7375
7376         * text3.C (dispatch): handle arg to LFUN_PASTE, call
7377         pasteSelection with index
7378
7379         * text2.C (pasteSelection): modify, call pasteSelection with index
7380
7381         * paragraph.C (asString): reimplement version with no interval to
7382         call the one with interval.
7383
7384         * lyxtext.h: add index arg to pasteSelection
7385
7386         * MenuBackend.C (MenuItem): handle PasteRecent
7387         (Menu::read::Menutags): add md_pasterecent
7388         (read): handle it
7389         (expandPasteRecent): new function
7390         (expand): use it
7391
7392         * MenuBackend.h: add PasteRecent to MenuItem::Kind
7393
7394         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7395         the limited stack
7396         (availableSelections): new function
7397
7398 2003-06-17  Angus Leeming  <leeming@lyx.org>
7399
7400         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7401
7402 2003-06-17  Angus Leeming  <leeming@lyx.org>
7403
7404         * lfuns.h:
7405         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7406
7407         * lyxfunc.C (dispatch): invoke it.
7408
7409 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7410
7411         * iterators.C (operator++, ParPosition): reintroduce some
7412         const_cast for the benefit of older compilers.
7413
7414 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7415
7416         * text3.C (dispatch): do not modify clipboard when doing
7417         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7418         LFUN_DELETE_SKIP on a selection selection
7419
7420 2003-06-16  André Pönitz  <poenitz@gmx.net>
7421
7422         * BufferView.C:
7423         * buffer.C:
7424         * buffer.h:
7425         * paragraph.C:
7426         * tabular.[Ch]: IU of clone() and getLabelList();
7427
7428 2003-06-13  André Pönitz  <poenitz@gmx.net>
7429
7430         * tabular.h: compactification
7431
7432 2003-06-12  André Pönitz  <poenitz@gmx.net>
7433
7434         * tabular.C:
7435         * tabular.h:
7436         * tabular_funcs.h: some renaming plus whitespace
7437
7438 2003-06-12  André Pönitz  <poenitz@gmx.net>
7439
7440         * BufferView.C:
7441         * BufferView_pimpl.C:
7442         * CutAndPaste.C:
7443         * buffer.C:
7444         * iterators.[Ch]:
7445         * lyxfunc.C:
7446         * text.C:
7447         * toc.C: Return a Paragraph & for ParIterator::operator*()
7448
7449 2003-06-11  John Levon  <levon@movementarian.org>
7450
7451         * lyx_main.C:
7452         * ToolbarBackend.h:
7453         * ToolbarBackend.C: add "Toolbars" section and
7454         put the flags there
7455
7456 2003-06-10  Angus Leeming  <leeming@lyx.org>
7457
7458         * lfuns.h:
7459         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7460
7461         * lyxfunc.C (dispatch): invoke it.
7462
7463 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7464
7465         * main.C: protect <ios> with HAVE_IOS
7466         (main): protect sync_with_stdio with HAVE_IOS
7467
7468 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
7469
7470         * text2.C (cutSelection): adjust
7471         (pasteSelection): adjust
7472
7473         * messages.C: handle get of empty string
7474
7475         * main.C (main): use sync_with_stdio(false)
7476
7477         * lyxfunc.C (dispatch): adjust
7478
7479         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7480         (WriteAs): remove unneeded BufferView arg.
7481
7482         * bufferparams.h: use correct types on papersize, papersize2 and
7483         paperpackage.
7484
7485         * bufferparams.C (readToken): adjust for type
7486         (writeLaTeX): add missing cases to switch.
7487
7488         * bufferlist.C (quitWriteBuffer): adjust
7489         (close): adjust
7490
7491         * buffer.C (asciiParagraph): remove some commented code.
7492
7493         * CutAndPaste.C: remove current_view extern variable.
7494         (cutSelection): add BufferParams arg.
7495         (eraseSelection): add BufferParams arg.
7496         (pasteSelection): add Buffer const & arg
7497
7498 2003-06-07  John Levon  <levon@movementarian.org>
7499
7500         * buffer.C:
7501         * paragraph_funcs.C:
7502         * paragraph_pimpl.C:
7503         * text.C:
7504         * text2.C:
7505         * paragraph.h:
7506         * paragraph.C: allow InsetERT to freely space lines,
7507         and some consolidation of code
7508
7509 2003-06-06  José Matos  <jamatos@fep.up.pt>
7510
7511         * buffer.C (makeDocBookFile): fix bug #821
7512
7513 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
7514
7515         * BufferView_pimpl.C (dispatch): use Dialogs::visible
7516
7517 2003-06-04  Angus Leeming  <leeming@lyx.org>
7518
7519         * buffer.C: bump format to 224.
7520
7521 2003-06-05  André Pönitz  <poenitz@gmx.net>
7522
7523         * text2.C (redoParagraphs): remove two const_cast<>
7524
7525 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
7526
7527         * ParagraphList.h: remove last remnants of NO_STD_LIST
7528
7529 2003-06-03  Angus Leeming  <leeming@lyx.org>
7530
7531         * factory.C (createInset): small change to the way InsetExternal's params
7532         are set.
7533
7534 2003-06-04  André Pönitz  <poenitz@gmx.net>
7535
7536         * buffer.h: use Undo directly instead of shared_ptr<Undo>
7537
7538         * paragraph_pimpl.h:
7539         * paragraph.[Ch]: some Inset -> UpdatableInset changes
7540
7541         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7542
7543         * undo_funcs.C: make some simple cases of undo work again
7544
7545 2003-06-03  John Levon  <levon@movementarian.org>
7546
7547         * ispell.C: HPUX doesn't have sys/select.h
7548         (from Albert Chin)
7549
7550 2003-06-03  John Levon  <levon@movementarian.org>
7551
7552         * CutAndPaste.C: update tabular and include inset
7553         buffer references
7554
7555         * buffer.h:
7556         * paragraph.h:
7557         * paragraph.C: remove owningBuffer(), don't pass Buffer
7558         to clone()
7559
7560         * factory.C: insetGraphicsParams changed
7561
7562 2003-06-02  John Levon  <levon@movementarian.org>
7563
7564         * LyXAction.C:
7565         * factory.C:
7566         * lfuns.h:
7567         * lyxfunc.C:
7568         * text3.C: remove insetparent
7569
7570 2003-06-02  John Levon  <levon@movementarian.org>
7571
7572         * buffer.h:
7573         * buffer.C: fix inset_iterator.end(), move out of line
7574         (bug 1149)
7575
7576 2003-06-01  John Levon  <levon@movementarian.org>
7577
7578         * text3.C: use a proper cut/paste when doing inset
7579         insert (from Jürgen Spitzmüller)
7580
7581 2003-06-01  John Levon  <levon@movementarian.org>
7582
7583         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7584
7585 2003-05-30  André Pönitz  <poenitz@gmx.net>
7586
7587         * rowpainter.C: unify second drawing phase
7588
7589 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7590
7591         * trans_mgr.C: remove one case of current_view
7592
7593         * text2.C (cursorBottom): delete NO_STD_LIST stuff
7594
7595         * paragraph_funcs.h: remove paragraph.h include
7596
7597         * paragraph.h: delete NO_STD_LIST stuff
7598
7599         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7600
7601         * buffer.h: remove paragraph.h include
7602
7603         * ParagraphList.C: delete file
7604
7605         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7606
7607         * toc.C (getTocList): adjust
7608
7609         * paragraph_pimpl.C (validate): adjust
7610
7611         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7612
7613         * paragraph.C (Paragraph): adjust
7614         (getPositionOfInset): use const_iterator, adjust
7615         (bibitem): use const_iterator, adjust
7616         (setInsetOwner): adjust
7617
7618         * iterators.C (operator++): adjust
7619
7620         * InsetList.[Ch]: Replace selfmade iterator with standard
7621         vector::iterator also introduce const_iterator. Remove getPos,
7622         getInset and setInset from InsetTable. Adjust accordingly.
7623
7624         * BufferView.C (lockInset): adjust
7625         (ChangeInsets): adjust
7626
7627         * tabular.[Ch]: delete commented same_id functions
7628
7629 2003-05-28  John Levon  <levon@movementarian.org>
7630
7631         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7632
7633 2003-05-28  André Pönitz  <poenitz@gmx.net>
7634
7635         * metricsinfo.[Ch]: remove 'fullredraw' member
7636
7637 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
7638
7639         * lyxtextclass.C (operator): remove caching.
7640
7641 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7642
7643         * text3.C: adjust
7644
7645         * text2.C (cursorBottom): adjust
7646         (setCounter): use ParagraphList::find, adjust
7647
7648         * text.C (workWidth): use ParagraphList::find, adjust
7649
7650         * lyxcursor.C (LyXCursor): adjust
7651
7652         * buffer.C (inset_iterator): adjust
7653
7654         * ParagraphList.h: make iterator(value_type) private, make
7655         ParagraphList a friend of iterator.
7656
7657         * ParagraphList.C (find): new function
7658
7659         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7660
7661 2003-05-27  André Pönitz  <poenitz@gmx.net>
7662
7663         * dimension.[Ch]: a -> asc, d -> des, w -> wid
7664
7665 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7666
7667         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7668
7669 2003-05-26  John Levon  <levon@movementarian.org>
7670
7671         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7672
7673 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7674
7675         * remove same_id from function signatures, adjust.
7676
7677 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7678
7679         * undo_funcs.C (createUndo): use the id functions directly, adjust.
7680
7681         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7682
7683         * paragraph.C (Paragraph): get rid of same_ids parameter
7684
7685         * ParagraphList.C (insert): adjust
7686         (push_back): adjust
7687
7688 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7689
7690         * paragraph_funcs.C (breakParagraph): adjust
7691         (breakParagraphConservative): adjust
7692
7693         * buffer.C (readParagraph): adjust
7694
7695         * ParagraphList.C (insert): take a reference instead of a pointer
7696         (insert): adjust
7697
7698         * paragraph.[Ch] (id): new function
7699
7700         * bufferlist.C (newFile): adjust
7701
7702         * ParagraphList.C (ParagraphList): adjust
7703         (assign): adjust
7704         (push_back): take a reference instead of a pointer.
7705
7706         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7707
7708         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7709         instead.
7710
7711         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7712         set else use old code.
7713
7714         * ParagraphList.C: remove all NO_NEXT code and only compile this
7715         code of NO_STD_LIST is set.
7716
7717 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7718
7719         * BufferView_pimpl.C:
7720         * TextCache.C:
7721         * TextCache.h:
7722         * bufferlist.C:
7723         * errorlist.h:
7724         * format.C:
7725         * format.h:
7726         * graph.C:
7727         * lyxfunc.C:
7728         * lyxrc.C:
7729         * graphics/GraphicsConverter.C:
7730         * graphics/PreviewLoader.C: header adjustment
7731
7732 2003-05-23  Angus Leeming  <leeming@lyx.org>
7733
7734         * LaTeXFeatures.[Ch] (useBabel): new method.
7735         * bufferparams.C (writeLaTeX): use it.
7736
7737 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7738
7739         * ParagraphList.h (set): remove unused function.
7740
7741 2003-05-23  André Pönitz  <poenitz@gmx.net>
7742
7743         * BufferView.C:
7744         * BufferView_pimpl.C:
7745         * buffer.C:
7746         * buffer.h:
7747         * lyxfunc.C:
7748         * undo_funcs.C: setUndo reworked
7749
7750         * iterators.[Ch]: add access to topmost ParagraphList
7751
7752         * lyxtext.[Ch] (workWidth): add a const
7753
7754 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7755
7756         * texrow.[Ch] (increasePos): remove function
7757         * exporter.C (export): removed unused var and outdated comment
7758
7759 2003-05-23  Angus Leeming  <leeming@lyx.org>
7760
7761         * latexrunparams.h: rename fragile as moving_arg.
7762         * paragraph.C (simpleTeXOnePar): ditto.
7763         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7764
7765 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7766
7767         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7768         (createUndo): ditto
7769         (textUndoOrRedo): comment out a currently unused var.
7770
7771         * paragraph.h (NO_NEXT): enable NO_NEXT
7772
7773         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7774
7775         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7776
7777         * exporter.C (Export): adjust for removeAutoInsets removal.
7778
7779         * buffer.C (runChktex): adjust for removeAutoInsets removal.
7780
7781         * LyXAction.C (init): remove LFUN_REMOVEERRORS
7782
7783         * BufferView.[Ch] (removeAutoInsets): delete function
7784
7785 2003-05-22  Angus Leeming  <leeming@lyx.org>
7786
7787         * latexrunparams.h: add a free_spacing variable.
7788
7789         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7790         to pass moving_arg, as the data is stored in runparams.fragile.
7791
7792         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7793         to Inset::latexOptional or to simpleTeXOnePar.
7794
7795         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7796         free_spacing arg to Inset::latexOptional.
7797
7798         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7799         free_spacing arg.
7800
7801 2003-05-22  Angus Leeming  <leeming@lyx.org>
7802
7803         * latexrunparams.h: add fragile and use_babel variables.
7804
7805         * bufferparams.[Ch] (writeLaTeX): return use_babel.
7806         * buffer.C (makeLaTeXFile): store this returned value in
7807         runparams.use_babel, thus passing it to the inset::latex methods.
7808
7809         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7810         simpleTeXSpecialChars as it is now stored in runparams.fragile.
7811
7812         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7813         longer has a fragile arg, as it is stored in runparams.fragile.
7814
7815         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7816         moving_arg parameter as the data is stored in runparams.fragile.
7817
7818         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7819         a fragile parameter as the data is stored in runparams.fragile.
7820
7821 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7822
7823         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7824
7825 2003-05-22  Angus Leeming  <leeming@lyx.org>
7826
7827         * latexrunparams.h: add a 'bool nice' which defaults to false.
7828
7829         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7830         now encapsulated within runparams.
7831
7832         * bufferlist.C (updateIncludedTeXfiles):
7833         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7834
7835 2003-05-22  Angus Leeming  <leeming@lyx.org>
7836
7837         * latexrunparams.h: new file containing struct LatexRunParams.
7838         * Makefile.am: add new file.
7839
7840         * LaTeX.[Ch] (c-tor, run):
7841         * buffer.[Ch] (makeLaTeXFile):
7842         * bufferlist.[Ch] (updateIncludedTeXfiles):
7843         * converter.C (convert, scanLog):
7844         * converter.[Ch] (runLaTeX):
7845         * exporter.C (Export):
7846         * paragraph.[Ch] (simpleTeXOnePar):
7847         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7848         * paragraph_funcs.[Ch] (latexParagraphs):
7849         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7850         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7851         pass around a LatexRunParams parameter.
7852
7853 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7854
7855         * paragraph.[Ch]: remove unused constructor
7856
7857         * ParagraphList.C (erase): new function, taking two iterators
7858
7859 2003-05-22  André Pönitz  <poenitz@gmx.net>
7860
7861         * undo_funcs.C: remove duplicated code
7862
7863         * iterator.[Ch]: operator=
7864
7865 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7866
7867         * tabular.C (SetMultiColumn): ws changes
7868
7869         * rowpainter.C (paintFirst): get rid of a ->previous
7870
7871         * lyx_cb.C (getPossibleLabel): parlist simplification
7872
7873         * BufferView.C (ChangeInsets): simplify slightly.
7874
7875 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7876
7877         * LyXAction.C: new lfun space-insert, kill protected-space-insert
7878         * lfuns.h: new LFUN_SPACE
7879         * lyxfunc.C: protected space has a new lfun
7880         * paragraph_funcs.C: read new space insets
7881         * text3.C:
7882         * factory.C: handle new space insets
7883
7884 2003-05-22  André Pönitz  <poenitz@gmx.net>
7885
7886         * BufferView.C:
7887         * BufferView_pimpl.C:
7888         * buffer.[Ch]:
7889         * lyxfunc.C:
7890         * undo_funcs.C: return a ParIterator from getParFromID.
7891
7892         * iterators.[Ch]: add two const's
7893
7894 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7895
7896         * toc.C (getTocList): adjust
7897
7898         * iterators.[Ch]: rework for parlist
7899
7900         * buffer.C (par_iterator_begin): adjust
7901         (par_iterator_end): adjust
7902
7903         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7904
7905         * BufferView.C (removeAutoInsets): adjust
7906         (ChangeInsets): adjust
7907
7908 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
7909
7910         * text.C (top_y): fix bug 1110
7911
7912 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
7913
7914         * errorlist.[Ch]: added
7915         * buffer.C:
7916         * BufferView.[Ch]:
7917         * BufferView_pimpl.C:
7918         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7919         instead
7920
7921 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7922
7923         * Makefile.am: ensure that lyx is relinked upon changes to the
7924         various "convenience" libs.
7925
7926 2003-05-20  Angus Leeming  <leeming@lyx.org>
7927
7928         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7929         files are compiled in alphabetical order again.
7930
7931         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7932
7933 2003-05-19  Angus Leeming  <leeming@lyx.org>
7934
7935         * gettext.[Ch]: remove "char const * _(char const *)".
7936
7937 2003-05-19  André Pönitz  <poenitz@gmx.net>
7938
7939         * dimension.[Ch]: promote from mathed/dimension.[Ch]
7940
7941         * Makefile.am:
7942         * BufferView.C:
7943         * DepTable.h:
7944         * LaTeXFeatures.C:
7945         * buffer.C:
7946         * lyxfont.C:
7947         * lyxlex.h:
7948         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7949
7950 2003-05-19  André Pönitz  <poenitz@gmx.net>
7951
7952         * buffer.C:
7953         * lyxlayout.[Ch]:
7954         * lyxtextclass.[Ch]:
7955         * paragraph.C:
7956         * paragraph_funcs.[Ch]:
7957         * text2.C:
7958         * text3.C: more insetenv work
7959
7960 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
7961
7962         * ParagraphParameters.C (params2string): small bug fixed
7963
7964 2003-05-16  André Pönitz  <poenitz@gmx.net>
7965
7966         * debug.C:
7967         * bufferview_funcs.C: patch from Kornel Benko to prevent
7968           crash when _(...) is called twice in a statement
7969
7970 2003-05-16  André Pönitz  <poenitz@gmx.net>
7971
7972         * BufferView.C:
7973         * lyxfunc.C:
7974         * text.C:
7975         * text2.C:
7976         * text3.C:
7977         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7978
7979 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
7980
7981         * lyx_main.C (init): remove spurious static_cast
7982
7983 2003-05-14  André Pönitz  <poenitz@gmx.net>
7984
7985         * BufferView.C: fix format string
7986
7987 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
7988
7989         * BufferView.[Ch] (insertErrors): removed
7990         * BufferView.[Ch] (showErrorList): added
7991         * buffer.C (runChkTeX):
7992         * converter.C (scanLog): call showErrorList instead of inserterrors
7993
7994 2003-05-13  André Pönitz  <poenitz@gmx.net>
7995
7996         * BufferView_pimpl.C:
7997         * buffer.C:
7998         * bufferview_func.C:
7999         * MenuBackend.C:
8000         * lyxfunc.C:
8001         * lyxrc.C:
8002         * tex-accent.C:
8003         * text3.C:
8004         * toc.C:
8005         * tabular_funcs.h: tostr() from its own header
8006
8007         * ParagraphParameters.C:
8008         * ToolbarBackend.C:
8009         * bufferparams.C:
8010         * format.C:
8011         * lyxlex_pimpl.C:
8012         * text3.C: STRCONV()
8013
8014 2003-05-12  André Pönitz  <poenitz@gmx.net>
8015
8016         * BufferView.C:
8017         * BufferView_pimpl.C:
8018         * CutAndPaste.C:
8019         * LaTeX.C:
8020         * LaTeXFeatures.C:
8021         * ParagraphParameters.C:
8022         * buffer.C:
8023         * bufferlist.C:
8024         * bufferparams.C:
8025         * bufferview_funcs.C:
8026         * converter.C:
8027         * counters.C:
8028         * debug.C:
8029         * exporter.C:
8030         * format.C:
8031         * importer.C:
8032         * lyx_cb.C:
8033         * lyx_main.C:
8034         * lyxfont.C:
8035         * lyxfunc.C:
8036         * lyxvc.C:
8037         * paragraph.C:
8038         * paragraph_funcs.C:
8039         * tabular.C:
8040         * tabular_funcs.C:
8041         * text2.C:
8042         * text3.C:  boost::format -> bformat  all over the place
8043
8044
8045 2003-05-09  André Pönitz  <poenitz@gmx.net>
8046
8047         * LColor.[Ch]: Pimpl the #include <map> away
8048
8049 2003-05-09  John Levon  <levon@movementarian.org>
8050
8051         * bufferlist.C: never remove emergency saves
8052
8053 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8054
8055         * Makefile.am: better lib building
8056
8057 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
8058
8059         * texrow.[Ch]: remove dependency on Paragraph and just store a id
8060         instead.
8061         * paragraph_pimpl.C (simpleTeXBlanks): adjust
8062         (simpleTeXSpecialChars): adjust
8063         (simpleTeXSpecialChars): adjust
8064         * paragraph.C (simpleTeXOnePar): adjust
8065         * buffer.C (makeLaTeXFile): adjust
8066
8067         * Makefile.am (BOOST_LIBS): allow boost as system lib.
8068
8069         * text2.C (changeDepth): parlist cleanup
8070         (getColumnNearX): ditto
8071
8072         * rowpainter.C (getLabelFont): parlist cleanup
8073
8074         * bufferlist.C (newFile): parlist cleanup
8075
8076         * CutAndPaste.C (eraseSelection): parlist cleanup
8077
8078         * BufferView_pimpl.C (trackChanges): parlist cleanup
8079         (dispatch): ditto
8080
8081         * BufferView.C (lockInset): parlist cleanup.
8082         (ChangeInsets): ditto
8083
8084 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8085
8086         * CutAndPaste.h: Update file header.
8087
8088         * CutAndPaste.C: Update file header.
8089         Store the parts cut out of the Document in a limited_stack.
8090         (copySelection): adjust
8091         (pasteSelection): new function, takes the index in the limited stack.
8092         (nrOfParagraphs): adjust
8093         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
8094         simplify error inset insertion.
8095         (checkPastePossible): adjust
8096
8097 2003-05-06  John Levon  <levon@movementarian.org>
8098
8099         * text2.C: don't cast wrap inset to float
8100
8101 2003-05-05  André Pönitz  <poenitz@gmx.net>
8102
8103         * iterator.C:
8104         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
8105
8106         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
8107           few naked Paragraph *.
8108
8109 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
8110
8111         * bufferparams.C: Output warning if a document with missing
8112         TeX document class is loaded
8113         * exporter.C: Disable TeX exports if the document class is missing
8114         * lyxtextclass.C:
8115         * lyxtextclass.h:
8116         * lyxtextclasslist.C: Handle new textclass.lst format; new method
8117         isTeXClassAvailable()
8118
8119 2003-05-03  John Levon  <levon@movementarian.org>
8120
8121         * BufferView.h:
8122         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
8123         explicit cursor show/hide
8124
8125         * BufferView_pimpl.h:
8126         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
8127         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
8128
8129         * lyxfunc.C: hide cursor before dispatching.
8130
8131         * lyx_cb.C:
8132         * lyxfind.C:
8133         * text.C:
8134         * text3.C: remove explicit cursor hides
8135
8136 2003-05-02  André Pönitz  <poenitz@gmx.net>
8137
8138         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
8139
8140         * undo_funcs.C:
8141         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
8142           linked lists
8143
8144         * text2.C: tiny whitespace
8145
8146 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8147
8148         * undo_funcs.C: almost only ws changes.
8149
8150         * ParagraphList.C (splice): just return if pl is empty.
8151
8152 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8153
8154         * ParagraphList.C (splice): new function.
8155
8156         * CutAndPaste.C (pasteSelection): use it
8157
8158 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8159
8160         * CutAndPaste.C (pasteSelection): remove the last next and
8161         previous from this file.
8162
8163 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8164
8165         * CutAndPaste.C (pasteSelection): more clean up, user proper
8166         ParagraphList functions for pasteing.
8167
8168         * ParagraphList.C (insert): new function, three arg insert
8169
8170 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8171
8172         * ParagraphList.C (insert): new function, three arg insert
8173
8174         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
8175         not on paragraphs.
8176
8177 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8178
8179         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
8180
8181 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8182
8183         * CutAndPaste.C (pasteSelection): remove some unneeded code.
8184
8185 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8186
8187         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
8188         (copySelection): clean up a bit.
8189         (pasteSelection): use make_pair
8190
8191         * ParagraphList.C (ParagraphList): implement copy constructor
8192         (operator=): implement, base on copy constructor.
8193         (assign): new func
8194
8195         * paragraph.C (erase): return a bool
8196
8197         * paragraph_pimpl.C (erasePos): remove function, move contents...
8198         (erase): ... here. Return a bool.
8199         (erase): call erase instead of erasePos.
8200
8201 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
8202
8203         * ParagraphList.h: define PitPosPair
8204         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
8205         ParagraphList, fix a bug on pasting multiple pars
8206         * text2.C: change interface to C&P
8207
8208 2003-04-30  André Pönitz  <poenitz@gmx.net>
8209
8210         * undo_func.C: revert part of yesterday's patch 2
8211
8212 2003-04-30  John Levon  <levon@movementarian.org>
8213
8214         * LColor.C: s/tabular/table/
8215
8216 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8217
8218         * text3.C (dispatch): do not convert iterator -> pointer
8219         * undo_funcs.C (setCursorParUndo): ditto
8220         * text_funcs.C (transposeChars): ditto
8221
8222         * text2.C (setLayout): ws changes only
8223
8224         * text.C (breakParagraph): do not convert iterator -> pointer
8225         (insertChar): ditto
8226         (acceptChange): ditto
8227         (rejectChange): ditto
8228         (changeCase): ditto
8229         (Delete): ditto
8230         (backspace): ditto
8231
8232         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
8233         pointer
8234
8235 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8236
8237         * text3.C (gotoInset): YABG (yet another bad getChar)
8238
8239 2003-04-29  André Pönitz  <poenitz@gmx.net>
8240
8241         * paragraph.h: make operator= private unimplemented as long as
8242           it is unusable
8243
8244         * ParagraphList.C: whitespace
8245
8246         * paragraph.[Ch]:
8247         * paragraph_pimpl.[Ch]:
8248         * paragraph_funcs.C:
8249         * CutAndPaste.C:
8250         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
8251
8252         * text2.C:
8253           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8254
8255 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8256
8257         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8258         * paragraph.[Ch] (erase):
8259         * paragraph_pimpl.[Ch] (erase): change return type and value
8260         * text2.C (cutSelection): some rework
8261
8262 2003-04-28  John Levon  <levon@movementarian.org>
8263
8264         * bufferlist.C: changes for unsaved changes dialog
8265
8266 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8267
8268         * bufferlist.C (newFile): set language (messages_) for new
8269         documents also.
8270
8271         * buffer.C (readFile): ws changes only.
8272
8273 2003-04-28  André Pönitz  <poenitz@gmx.net>
8274
8275         * undo_funcs.C:
8276         * lyxfunc.C:
8277         * buffer.[Ch]:
8278         * BufferView_pimpl.C:
8279         * BufferView.C: getParFromID related ParagraphList::iterator changes
8280
8281 2003-04-28  André Pönitz  <poenitz@gmx.net>
8282
8283         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8284           Changes
8285
8286 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8287
8288         * messages.C: remove one more localedir class variable.
8289
8290 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8291
8292         * messages.C (getLocaleDir): singleton generation function
8293         (Pimpl): use it.
8294         (Messages): add a default constructor.
8295
8296         * main.C (main): do not setup localedir here, do not call
8297         gettext_init.
8298
8299         * gettext.C (_): use it.
8300         (gettext_init): delete funciton
8301
8302 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8303
8304         * gettext.C (getLyXMessages): new singleton generating function.
8305
8306         * buffer.C (updateDocLang): adjust
8307
8308         * Makefile.am (messages.o): add target
8309         (main.o): remove target
8310
8311 2003-04-27  John Levon  <levon@movementarian.org>
8312
8313         * bufferlist.C:
8314         * lyx_cb.C:
8315         * lyxfunc.C:
8316         * lyxvc.C: specify cancel button in Alert::prompt
8317
8318 2003-04-26  John Levon  <levon@movementarian.org>
8319
8320         * text3.C:
8321         * lyxfunc.C:
8322         * lfuns.h:
8323         * LyXAction.C: add LFUN_INSET_SETTINGS
8324
8325         * lyxfunc.C: don't enable tabular-feature when there's
8326         just any locking inset
8327
8328 2003-04-26  John Levon  <levon@movementarian.org>
8329
8330         * bufferlist.C: re-add Cancel to buffer close question
8331
8332         * lyxfunc.C: fix import UI a bit
8333
8334 2003-04-25  John Levon  <levon@movementarian.org>
8335
8336         * gettext.C: remove the broken asserts for now
8337
8338 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8339
8340         * messages.C: make case where setlocale cannot comply work better.
8341
8342         * buffer.C (updateDocLang): new function
8343         (changeLanguage): use it
8344         (readFile): use it
8345
8346         * text2.C (setCounter): use B_ a bit.
8347
8348         * lyxlayout.C (Read): be sure to trim the label strings.
8349
8350         * messages.C (Messages): fix typo in comment
8351
8352         * buffer.C (readFile): set message_ after file is loaded.
8353         (makeDocBookFile): remove double return
8354         (changeLanguage): reset message_ upon language change.
8355         (B_): new func, use this to get translated buffer strings.
8356
8357         * main.C: add myself and Jean Marc as authors.
8358
8359 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8360
8361         * messages.[hC]: pimplify Messages, and three different pimpls to be
8362         used in different circumstances.
8363
8364         * gettext.[Ch]: change for use with new message code.
8365
8366 2003-04-24 André Pönitz <poenitz@gmx.net>
8367
8368         * factory.C: support for eqref
8369
8370 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
8371
8372         * messages.[Ch]: add missing char
8373
8374         * Makefile.am (lyx_SOURCES): add messages.[Ch]
8375
8376         * messages.[Ch]: New files
8377
8378 2003-04-18  John Levon  <levon@movementarian.org>
8379
8380         * BufferView.h:
8381         * BufferView.C:
8382         * BufferView_pimpl.C:
8383         * lfuns.h:
8384         * LyXAction.C:
8385         * lyxtext.h:
8386         * text2.C: remove layout-copy/paste (bug 778)
8387
8388 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8389
8390         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8391
8392 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8393
8394         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8395         if they succeed. Act accordingly.
8396
8397 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8398
8399         * text2.C (setCharFont): adjust
8400         (setCounter): adjust
8401         (insertStringAsLines): adjust
8402
8403         * text.C (leftMargin): adjust
8404         (setHeightOfRow): adjust
8405
8406         * rowpainter.C (paintFirst): adjust
8407         (paintLast): adjust
8408
8409         * paragraph_funcs.C (depthHook): ParagraphList::iterators
8410         (outerHook): ditto
8411         (isFirstInSequence): ditto
8412         (getEndLabel): ditto
8413         (outerFont): adjust
8414
8415         * paragraph.C (getParLanguage): comment out some hard stuff.
8416
8417         * buffer.C (insertStringAsLines): take a ParagraphList as arg
8418         (sgmlError): ditto
8419         (simpleDocBookOnePar): ditto
8420         (makeDocBookFile): use ParagraphList::iterator
8421
8422         * CutAndPaste.C (pasteSelection): adjust
8423
8424 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8425
8426         * text2.C (getFont): adjust
8427         (getLayoutFont): adjust
8428         (getLabelFont): adjust
8429
8430         * paragraph_funcs.C (TeXOnePar): adjust
8431
8432         * buffer.C (simpleLinuxDocOnePar): adjust
8433         (simpleDocBookOnePar): adjust
8434
8435         * CutAndPaste.C (pasteSelection): adjust
8436
8437         * BufferView.C (getEncoding): adjust
8438
8439         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8440
8441 2003-04-16  John Levon  <levon@movementarian.org>
8442
8443         * lyxfind.C: use parlist stuff for search/changes
8444
8445 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8446
8447         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8448
8449         * text2.C (deleteEmptyParagraphMechanism): adjust
8450
8451         * text2.[Ch] (ownerParagraph): delete func (both of them
8452
8453 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8454
8455         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8456
8457 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8458
8459         * ParagraphList.C: prepare for NO_NEXT
8460
8461 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8462
8463         * text2.C (getFont): adjust
8464         (getLayoutFont): adjust
8465         (getLabelFont): adjust
8466
8467         * paragraph.C (getFont): adjust
8468         (getLabelFont): adjust
8469         (getLayoutFont): adjust
8470
8471         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8472
8473 2003-04-15  John Levon  <levon@movementarian.org>
8474
8475         From Angus Leeming
8476
8477         * lyx_main.C: handle Include in .ui files
8478
8479 2003-04-15  John Levon  <levon@movementarian.org>
8480
8481         * MenuBackend.C: make the doc files length shorter
8482
8483         * ToolbarBackend.h:
8484         * ToolbarBackend.C: handle toolbar placement flags,
8485         Minibuffer
8486
8487 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8488
8489         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8490         adjust
8491
8492         * paragraph_funcs.C (TeXOnePar): adjust
8493
8494         * paragraph.C (getLabelFont): add outerfont arg, adjust
8495         (getLayoutFont): ditto
8496         (simpleTeXOnePar): adjust
8497
8498         * paragraph_pimpl.C (realizeFont): delete func
8499
8500 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
8501
8502         * text2.C (beforeFullRowInset): added a bad getchar check, removed
8503         row argument, constify cur argument.
8504
8505 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8506
8507         * text2.C (getFont): adjust
8508         (getLayoutFont): adjust
8509         (getLabelFont): adjust
8510
8511         * paragraph_funcs.C (TeXOnePar): adjust
8512         (outerFont): new func...
8513         (realizeFont): ...moved out from here, changed this to facilitate
8514         transition
8515
8516         * paragraph.C (getFont): take outerfont as arg, adjust
8517         (simpleTeXOnePar): add outerfont arg, adjust
8518
8519         * buffer.C (simpleLinuxDocOnePar): adjust
8520         (simpleDocBookOnePar): adjust
8521
8522         * CutAndPaste.C (pasteSelection): adjust
8523
8524         * BufferView.C (getEncoding): adjust
8525
8526 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8527
8528         * text2.C (setCharFont): adjust
8529         (setCounter): adjust
8530
8531         * text.C (leftMargin): adjust
8532         (setHeightOfRow): adjust
8533
8534         * rowpainter.C (paintFirst): adjust
8535         (paintLast): adjust
8536
8537         * paragraph_pimpl.C (realizeFont): adjust
8538
8539         * paragraph.C (isFirstInSequence): move from here...
8540         * paragraph_funcs.C (isFirstInSequence): ...to here
8541
8542         * paragraph.C (outerHook): move from here...
8543         * paragraph_funcs.C (outerHook): ...to here
8544
8545         * paragraph.C (depthHook): move from here...
8546         * paragraph_funcs.C (depthHook): ...to here
8547
8548         * paragraph.C (getEndLabel): move from here...
8549         * paragraph_funcs.C (getEndLabel): ...to here
8550
8551         * text2.C (realizeFont): move from here...
8552         * paragraph_funcs.C (realizeFont): ...to here
8553
8554 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8555
8556         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8557
8558 2003-04-14  Angus Leeming  <leeming@lyx.org>
8559
8560         * LColor.[Ch]: scrap LColor mathcursor.
8561
8562 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8563
8564         * lyxlex.[Ch] (text): delete function
8565         * trans.C (Load): adjust
8566         * paragraph_funcs.C (readParToken): adjust
8567
8568 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8569
8570         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8571         vector<char> instead of a char[].
8572
8573         * lyxlex_pimpl.C (getString): adjust
8574         (next): adjust
8575         (lex): use getString
8576         (eatLine): adjust
8577         (nextToken): adjust
8578
8579         * lyxlex.C (text): use pimpl_->getString()
8580         (getBool): ditto
8581         (findToken): ditto
8582
8583 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8584
8585         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8586         (makeFontEntriesLayoutSpecific): temp var for par.size()
8587         (setLayout): temp var for ownerParagraphs().end()
8588         (fullRebreak): temp var for rows().end()
8589         (selectionAsString): temp var for boost::next(startpit), realize
8590         that the while really is a regular for loop.
8591         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8592         setCursor in one place.
8593         (setParagraph): temp vr for ownerParagraphs().end()
8594         (updateCounters): make the while loop a for loop
8595         (cutSelection): temp var for ownerParagraphs().end()
8596         (updateInset): make the do {} while() a regular for loop
8597         (getCursorX): use temp vars
8598         (setCurrentFont): use temp vars
8599         (getColumnNearX): use temp vars
8600
8601 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8602
8603         * text.C (transformChar): use temp var for getChar
8604         (computeBidiTables): use temp var for row->par()
8605         (fill): move temp vars for row->par() and pit->layout() earlier in
8606         the function.
8607         (labelFill): use temp var for row->par()
8608         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8609         asc and desc, realize that pit never changes and that firstpit is
8610         just a duplicate and not needed. Exchange rit->par() with pit in a
8611         lot of places.
8612         (breakAgain): use a temp var for boost::next(rit)
8613         (breakAgainOneRow): ditto
8614         (breakParagraph): use a temp var for rows().begin()
8615         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8616         (cursorRightOneWord): use temp var for cursor.par() and
8617         cursor.pos(), remove usage of tmpcursor.
8618         (cursorLeftOneWord): use temp var for cursor.par() and
8619         cursor.pos() only set cur at end of function.
8620
8621 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8622
8623         * text.C, text2.C: exchange all usage of Paragraph::next with
8624         boost::next(ParagraphList::iterator)
8625
8626         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8627
8628         * text2.C (cursorTop): simplify implementation
8629         (cursorBottom): ditto
8630         (setParagraph): use ParagraphList::iterator
8631         (setCurrentFont): adjust
8632         (getColumnNearX): adjust
8633         (cursorRight): adjust
8634         (cursorLeft): remove usage of Paragraph::previous
8635         (cursorUpParagraph): ditto
8636         (deleteEmptyParagraphMechanism): slight cleanup
8637
8638         * text.C (isBoundary): take a Paragraph const & instead of a
8639         pointer as arg.
8640         (addressBreakPoint): ditto
8641         (leftMargin): remove usage of Paragraph::previous.
8642         (setHeightOfRow): ditto
8643         (cursorLeftOneWord): ditto
8644         (selectNextWordToSpellcheck): ditto
8645         (Delete): ditto
8646         (backspace): ditto
8647         (breakParagraph): remove one usage of Paragraph::next
8648         (redoParagraph): ditto
8649         (acceptChange): ditto
8650         (insertChar): adjust
8651         (rowBreakPoint): adjust
8652
8653         * bufferview_funcs.C (toggleAndShow): adjust
8654
8655 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
8656
8657         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8658         methods to access it.
8659         * lyxtext.h:
8660         * text.C: Added updateRowPositions to compute all row positions.
8661         Make top_y and getRowNearY() to use the cached y position
8662
8663 2003-04-11  John Levon  <levon@movementarian.org>
8664
8665         * text.C (rowBreakPoint): reintroduce the labelEnd
8666         checks, code copied from the row fill stuff. Deep voodoo.
8667
8668         * text.C (fill): add a comment and debugging for the
8669         next poor soul.
8670
8671 2003-04-11  John Levon  <levon@movementarian.org>
8672
8673         * text.C: make sure fullrow insets get wrapped to the next line,
8674         even when they're in a manual label
8675
8676 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8677
8678         * text2.C (insertParagraph): make it take ParagraphList::iterator
8679         as arg.
8680         (setLayout): make it return ParagraphList::iterator
8681         (redoParagraphs): ditto
8682         (setCounter): ditto
8683         (checkParagraph): ditto
8684
8685         * text.C (getRow): make getrow take ParagraphList::iterator as arg
8686
8687         * text2.C: adjust several funcs.
8688         (realizeFont): take a ParagraphList::iterator as arg.
8689         (getLayoutFont): ditto
8690         (getLabelFont): ditto
8691         (setCharFont): ditto
8692
8693         * text.C: adjust several funcs.
8694
8695 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8696
8697         * text.C (selectNextWordToSpellcheck): don't accidentally
8698         skip insets
8699
8700 2003-04-10  John Levon  <levon@movementarian.org>
8701
8702         * ToolbarBackend.C (getIcon): special handling for
8703         LFUN_MATH_DELIM
8704
8705 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8706
8707         * text2.C (cursorRight): a getChar assert fixed
8708
8709 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8710
8711         * text2.C (getFont): change to take a ParagraphList::iterator
8712         instead of Paragraph*
8713         Adjust several functions.
8714
8715         * text.C (transformChar): change to take a ParagraphList::iterator
8716         instead of Paragraph*
8717         (singleWidth): ditto
8718         Adjust several functions.
8719
8720         * rowpainter.C: adjust several functions
8721         * rowpainter.h:store a ParagraphList::iterator and not a
8722         Paragraph&.
8723
8724
8725 2003-04-09  John Levon  <levon@movementarian.org>
8726
8727         * lyxfunc.C:
8728         * lfuns.h:
8729         * LyXAction.h:
8730         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8731         and the "help" bits as well
8732
8733 2003-04-09  John Levon  <levon@movementarian.org>
8734
8735         * ToolbarBackend.h:
8736         * ToolbarBackend.C: allow multiple toolbars
8737
8738 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8739
8740         * undo_funcs.C (setCursorParUndo): adjust
8741
8742         * text_funcs.C (transposeChars): adjust
8743
8744         * text3.C (gotoNextInset): adjust
8745         (dispatch): adjust
8746
8747         * text2.C (setLayout): adjust
8748         (changeDepth): adjust
8749         (setFont): adjust
8750         (redoParagraphs): adjust
8751         (selectionAsString): adjust
8752         (setParagraph): adjust
8753         (insertInset): adjust
8754         (cutSelection): adjust
8755         (copySelection): adjust
8756         (pasteSelection): adjust
8757         (insertStringAsLines): adjust
8758         (updateInset): adjust
8759         (setCursor): change to take a ParagraphList::iterator parameter
8760         (setCursorIntern): change to take a ParagraphList::iterator parameter
8761         (setCurrentFont): adjust
8762         (cursorLeft): adjust
8763         (cursorRight): adjust
8764         (deleteEmptyParagraphMechanism): adjust
8765
8766         * text.C (breakParagraph): adjust
8767         (insertChar): adjust
8768         (acceptChange): adjust
8769         (rejectChange): adjust
8770         (selectNextWordToSpellcheck): adjust
8771         (changeCase): adjust
8772         (Delete): adjust
8773         (backspace): adjust
8774
8775         * lyxfind.C (SearchForward): adjust
8776         (SearchBackward): adjust
8777         (nextChange): adjust
8778
8779         * lyxcursor.C (par): adjust
8780
8781         * lyxcursor.h: store a ParagraphList::iterator instead of a
8782         Paragraph*
8783
8784         * lyx_cb.C (getPossibleLabel): adjust
8785
8786         * bufferview_funcs.C (toggleAndShow): adjust
8787
8788         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8789         (dispatch): adjust
8790
8791         * BufferView.C (removeAutoInsets): adjust
8792         (lockedInsetStoreUndo): adjust
8793
8794 2003-04-09  John Levon  <levon@movementarian.org>
8795
8796         * ToolbarBackend.C: try icon without argument
8797         if with argument fails
8798
8799 2003-04-08  John Levon  <levon@movementarian.org>
8800
8801         * ToolbarBackend.h:
8802         * ToolbarBackend.C: add getIcon(), handle tooltip,
8803         and change from "Icon" to "Item".
8804
8805 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8806
8807         * BufferView.C (lockInset): another bad getchar crunched
8808
8809 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8810
8811         * text2.C (changeDepth): do not setUndo on test_only (make undo work
8812         again)
8813
8814 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
8815
8816         * lyxfind.C (searchForward, searchBackwards): bug 782
8817
8818 2003-04-07  John Levon  <levon@movementarian.org>
8819
8820         * paragraph.C: remove dead comment
8821
8822         * text.C: remove troublesome depth-fiddling code
8823         in leftMargin() and rightMargin() (bug 1017)
8824
8825         * text.C: fix breaking of rows in nested lists
8826         (bug 1004)
8827
8828         * text2.C (updateCounters): fix up depth values
8829         (bug 1013)
8830
8831 2003-04-07  John Levon  <levon@movementarian.org>
8832
8833         * BufferView_pimpl.C: clear message when doc finishes resizing,
8834         and after a mouse event
8835
8836         * lyxfunc.C: clear message after exiting inset
8837
8838 2003-04-07  John Levon  <levon@movementarian.org>
8839
8840         * bufferview_funcs.C: show math status not outside
8841         status in the statusbar
8842
8843 2003-04-07  John Levon  <levon@movementarian.org>
8844
8845         * lyxfunc.C: note status changed after a depth change
8846
8847 2003-04-04  Angus Leeming  <leeming@lyx.org>
8848
8849         * LaTeX.h: move AuxInfo operator==, != out of line.
8850         Remove LaTeX virtual destructor; nothing derives from it.
8851         Move operator()() out of public area and rename it startscript().
8852         Change protected for private.
8853
8854 2003-04-04  Angus Leeming  <leeming@lyx.org>
8855
8856         * lyxfunc.C:
8857         * text2.C: remove unneeded #includes.
8858
8859 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8860
8861         * text2.C (dEPM): fix the heigth of the next row
8862
8863 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8864
8865         * text.C: squashed an invalid getChar requester + some ws changes
8866
8867 2003-04-03  John Levon  <levon@movementarian.org>
8868
8869         * bufferview_funcs.h:
8870         * bufferview_funcs.C:
8871         * lyxfunc.C:
8872         * lyxtext.h:
8873         * text2.C: make getStatus work for the env depth lfuns
8874
8875 2003-04-03  John Levon  <levon@movementarian.org>
8876
8877         * bufferview_funcs.h:
8878         * bufferview_funcs.C:
8879         * lyxfunc.C:
8880         * lyxtext.h:
8881         * text2.C: parlistize decDepth(), by merging it with incDepth()
8882
8883 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8884
8885         * lyxrow.h: store a ParagraphList::iterator instead of a
8886         Paragraph* and adjust other class functions to suit.
8887
8888         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8889         above.
8890
8891 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8892
8893         * text2.C (setCursor): do not anchor to cursor row for the time being
8894
8895 2003-04-02  John Levon  <levon@movementarian.org>
8896
8897         * LyXAction.C:
8898         * lfuns.h:
8899         * lyx_main.C:
8900         * lyxtext.h:
8901         * text.C:
8902         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8903
8904 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8905
8906         * paragraph.h: make ParagraphList and ParagraphList::iterator
8907         friends of Paragraph.
8908
8909         * buffer.C (makeLinuxDocFile): move towards ParagraphList
8910
8911         * ParagraphList.C: Use the private next_ and previous_ from
8912         Paragraph.
8913
8914 2003-04-01  John Levon  <levon@movementarian.org>
8915
8916         * ToolbarBackend.h:
8917         * ToolbarBackend.C:
8918         * Makefile.am: rename, remove defaults gunk
8919
8920         * MenuBackend.h:
8921         * MenuBackend.C: remove defaults gunk
8922
8923         * Languages.h:
8924         * Languages.C: remove defaults gunk
8925
8926         * lyx_main.h:
8927         * lyx_main.C: error out if files couldn't be found.
8928
8929 2003-04-02  John Levon  <levon@movementarian.org>
8930
8931         * text2.C: make incDepth() use parlist
8932
8933 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8934
8935         * undo_funcs.C (firstUndoParagraph): adjust
8936
8937         * text3.C (gotoInset): adjust
8938         (dispatch): adjust, and rewrite loop.
8939
8940         * text2.C (init): adjust, and rewrite loop.
8941         (redoParagraphs): adjust
8942         (updateInset): adjust, and rewrite loop.
8943         (deleteEmptyParagraphMechanism): adjust
8944
8945         * tabular.C (LyXTabular): adjust
8946         (SetMultiColumn): adjust
8947         (TeXRow): adjust
8948
8949         * lyxtext.[Ch] (ownerParagraph): delete function
8950         (ownerParagraphs): new function returns a ParagraphList.
8951
8952         * BufferView.C (removeAutoInsets): adjust
8953         (insertErrors): adjust
8954         (setCursorFromRow): adjust
8955
8956 2003-04-01  Angus Leeming  <leeming@lyx.org>
8957
8958         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8959         in the frontends.
8960
8961 2003-04-02  John Levon  <levon@movementarian.org>
8962
8963         * lyxtext.h:
8964         * text.C:
8965         * Makefile.am:
8966         * text_funcs.h:
8967         * text_funcs.C: make transposeChars a free function
8968
8969         * lyxrow_funcs.C: remove wrong comment
8970
8971 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8972
8973         * lyxtext.h: adjust
8974         * rowpainter.C: adjust
8975         * text.C: adjust
8976         * text2.C: adjust
8977         * text3.C: adjust
8978
8979         * lyxrow_funcs. [Ch]: new files
8980
8981         * lyxrow.[Ch]: remove next and previous pointers
8982         (next,previous): remove accessor functions
8983         (isParEnd): move to lyxrow_funcs
8984         (lastPos): move to lyxrow_funcs
8985         (nextRowIsAllInset): move to lyxrow_funcs
8986         (lastPrintablePos): move to lyxrow_funcs
8987         (numberOfSeparators): move to lyxrow_funcs
8988         (numberOfHfills): move to lyxrow_funcs
8989         (numberOfLabelHfills): move to lyxrow_funcs
8990         (hfillExpansion): move to lyxrow_funcs
8991
8992         * lyxfunc.C: adjust
8993
8994         * bufferview_funcs.C (toggleAndShow): adjust
8995
8996         * RowList.h: Remove class RowList from file leave just a
8997         std::list<Row>.
8998
8999         * RowList.C: delete file
9000
9001         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
9002         and lyxrow_funcs.h
9003
9004 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9005
9006         * text3.C (cursorPrevious): adjust
9007         (cursorNext): adjust
9008         (dispatch): adjust
9009
9010         * text2.C (redoHeightOfParagraph): adjust
9011         (redoDrawingOfParagraph): adjust
9012         (setCursor): adjust
9013
9014         * text.C (breakParagraph): adjust
9015         (insertChar): adjust
9016         (backspace): adjust
9017
9018         * rowpainter.C (RowPainter): adjust
9019         (leftMargin): simplify and adjust
9020         (most rowpainter functions): adjust.
9021
9022         * rowpainter.h: store the row as RowList::iterator not as Row*
9023
9024         * lyxcursor.C (row): taka RowList::iterator as arg
9025         (irow): ditto
9026
9027         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
9028         of Row*.
9029
9030 2003-04-01  Angus Leeming  <leeming@lyx.org>
9031
9032         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
9033         stuff like bool Bool.
9034
9035 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
9036
9037         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
9038         rewrite a loop
9039
9040 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9041
9042         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
9043         RowList::iterator.
9044
9045         * lyxtext.h (rows): drop one version and leve a const variant that
9046         returns a RowList::iterator.
9047
9048 2003-03-31  Angus Leeming  <leeming@lyx.org>
9049
9050         * text.C (fill): ensure that the signature is the same as that in the
9051         header file.
9052
9053 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
9054
9055         * text2.C (redoParagraphs): adjust
9056         (updateCounters): adjust
9057         (checkParagraph): adjust
9058         (getColumnNearX): adjust and reformat a bit.
9059
9060         * text.C (top_y): adjust
9061         (workWidth): adjust
9062         (leftMargin): adjust
9063         (prepareToPrint): adjust
9064         (getRow): adjust
9065         (getRowNearY): adjust
9066
9067         * lyxtext.h: make rowlist_ mutable.
9068
9069         * RowList.h: add const_iterator
9070         * RowList.C: adjust for RowList::const_iterator.
9071
9072         * text2.C (getCursorX): make it take a RowList::iterator as arg,
9073         adjust.
9074
9075 2003-03-31  John Levon  <levon@movementarian.org>
9076
9077         * lyxrc.h:
9078         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
9079
9080         * lyx_main.C: set default fonts from using lyx_gui funcs
9081
9082         * exporter.C: pdf_mode moved from lyxrc
9083
9084         * lyx_cb.C:
9085         * lyxfunc.C: changes from above
9086
9087 2003-03-31  John Levon  <levon@movementarian.org>
9088
9089         * lyx_main.C: fix to the last fix
9090
9091 2003-03-31  John Levon  <levon@movementarian.org>
9092
9093         * bufferlist.C: "Load original" -> "Load Original"
9094
9095         * converter.C:
9096         * exporter.C:
9097         * importer.C:
9098         * lyx_main.C:
9099         * format.C: more Alert cleanups
9100
9101 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
9102
9103         * text2.C (removeParagraph): make it take a RowList::iterator as
9104         arg, adjust.
9105         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
9106         (postRowPaint): make it take a RowList::iterator as arg, adjust.
9107
9108         * text.C (anchor_row): make it take a RowList::iterator as arg,
9109         adjust.
9110         (computeBidiTables): make it take a const reference to Row instead
9111         of Row pointer, adjust.
9112         (leftMargin): make it take a RowList::iterator as arg, adjust.
9113         (rowBreakPoint): adjust
9114         (breakAgainOneRow): make it take a RowList::iterator as arg,
9115         adjust.
9116         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
9117
9118         * bufferview_funcs.C (toggleAndShow): adjust
9119
9120 2003-03-30  John Levon  <levon@movementarian.org>
9121
9122         * Makefile.am:
9123         * BoostFormat.h:
9124         * boost-inst.C: moved to support
9125
9126         * several files: changes as a result
9127
9128 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
9129
9130         * text2.C (LyXText): adjust.
9131         (init): adjust
9132         (removeRow): make it take a RowList::iterator as arg, adjust.
9133         (fullRebreak): adjust
9134         (deleteEmptyParagraphMechanism): adjust
9135         (clearPaint): adjust
9136         (postPaint): adjust
9137
9138         * text.C (top_y): adjust
9139         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
9140         (breakAgain): make it take a RowList::iterator as arg, adjust.
9141         (breakParagraph): adjust
9142         (insertChar): adjust
9143         (backspace): adjust
9144
9145         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
9146         need_break_row, and refresh_row.
9147
9148         * text3.C (dispatch): adjust
9149
9150         * text2.C (checkParagraph): adjust
9151         (setCursor): adjust
9152         (setCursorFromCoordinates): adjust
9153
9154         * text.C (top_y): adjust
9155         (workWidth): adjust
9156         (getRow): make it return a RowList::iterator, adjust
9157         (getRowNearY): make it return a RowList::iterator, adjust
9158
9159         * text2.C (init): adjust
9160         (insertRow): remove function
9161         (insertParagraph): adjust
9162         (redoParagraphs): adjust
9163         (fullRebreak): adjust
9164         (updateCounters): adjust
9165
9166         * text.C (top_y): rewrite to use RowList iterators.
9167         (top_y): adjust
9168         (setHeightOfRow): rewrite to sue RowList iterators.
9169         (appendParagraph): adjust
9170         (breakAgain): adjust
9171         (breakAgainOneRow): adjust
9172         (breakParagraph): adjust
9173         (getRow): adjust
9174         (getRowNearY): adjust, and remove commented code.
9175
9176         * lyxtext.h (firstRow): delete function
9177         (lastRow): delete function
9178         (rows): new function (const and non-const versions.)
9179         (insertRow): delete function
9180
9181         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
9182
9183 2003-03-29  John Levon  <levon@movementarian.org>
9184
9185         * BufferView_pimpl.C: always update scrollbar top
9186         because pasting text when we're anchored could mean we
9187         miss an update altogether
9188
9189 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9190
9191         * text2.C (init): use rowlist_.end() and not 0.
9192         (insertRow): change to take a RowList::iterator as arg, adjust
9193         for this.
9194         (insertParagraph): change to take a RowList::iterator as arg,
9195         adjust for this.
9196         (redoParagraphs): remove some debug msgs.
9197
9198         * text.C (appendParagraph): change to take a RowList::iterator
9199         arg, adjust for this.
9200         (breakAgain): add an assert
9201         (breakAgainOneRow): ditto
9202
9203 2003-03-29  John Levon  <levon@movementarian.org>
9204
9205         * text2.C: do not clear selection after inc/decDepth
9206         (bug 550)
9207
9208 2003-03-29  John Levon  <levon@movementarian.org>
9209
9210         * BufferView.C:
9211         * buffer.C: fix broken strerrors according to Lars
9212
9213 2003-03-29  John Levon  <levon@movementarian.org>
9214
9215         * converters.C: more Alert cleanups
9216
9217 2003-03-29  John Levon  <levon@movementarian.org>
9218
9219         * bufferview_funcs.C: remove pointless Alert
9220
9221         * buffer.C: fix confusing error message when
9222         a template is chmoded 000
9223
9224 2003-03-29  John Levon  <levon@movementarian.org>
9225
9226         * BufferView.C:
9227         * BufferView.h:
9228         * BufferView_pimpl.C: Alert fixes
9229
9230         * Makefile.am:
9231         * tabular.C:
9232         * tabular-old.C: remove unused table compat reading
9233
9234 2003-03-29  John Levon  <levon@movementarian.org>
9235
9236         * BufferView.C:
9237         * buffer.C:
9238         * lyx_cb.h:
9239         * lyx_cb.C: more Alert cleanups
9240
9241         * lyxfunc.C: don't allow chktex if not latex document
9242
9243 2003-03-29  John Levon  <levon@movementarian.org>
9244
9245         * lyx_cb.C:
9246         * BufferView.C:
9247         * buffer.C: warnings pushed down from support/,
9248         kill err_alert
9249
9250 2003-03-29  John Levon  <levon@movementarian.org>
9251
9252         * lyxfunc.C: safety check for C-r (revert)
9253
9254 2003-03-29  John Levon  <levon@movementarian.org>
9255
9256         * bufferlist.h:
9257         * bufferlist.C: several UI fixes using Alert::prompt.
9258         Fix the pointless looping quit code. Fix stupid revert
9259         behaviour (bug 938)
9260
9261         * lyxvc.h:
9262         * lyxvc.C:
9263         * lyx_cb.C: use Alert::prompt
9264
9265         * lyx_main.C: remove a silly question
9266
9267         * lyxfunc.C: remove a couple of silly questions,
9268         use Alert::prompt
9269
9270 2003-03-28  John Levon  <levon@movementarian.org>
9271
9272         * text2.C: fix bug 974 (End on empty par)
9273
9274 2003-03-28  John Levon  <levon@movementarian.org>
9275
9276         * BufferView_pimpl.C:
9277         * LyXAction.C:
9278         * lfuns.h: remove do-nothing math greek lfuns
9279
9280 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9281
9282         * lyxgluelength.h (isValidGlueLength): add default arg on
9283         parameter 2. Remove default arg from friend in class.
9284
9285         * lyxlength.h (isValidLength): add default arg on parameter 2.
9286         Remove default arg from friend in class.
9287
9288         * text2.C (LyXText): adjust, initialize refresh_row.
9289         (init): adjust
9290         (removeRow): adjust
9291         (insertRow): adjust
9292         (insertParagraph): adjst
9293         (redoParagraphs): adjust
9294         (fullRebreak): adjust
9295         (updateCounters): adjust
9296         (deleteEmptyParagraphMechanism): first attempt at fixing a
9297         crashing bug.
9298
9299         * text.C (top_y): adjust
9300         (setHeightOfRow): adjust
9301         (getRow): adjust
9302         (getRowNearY): adjust
9303
9304         * lyxtext.h: include RowList.h
9305         (~LyXText): not needed anymore, deleted.
9306         (firstRow): modify for RowList
9307         (lastRow): new function
9308         Delete firstrow and lastrow class variables, add a Rowlist
9309         rowlist_ class variable.
9310
9311         * lyxrow.C (lastPos): use empty() and not !size() to check if a
9312         paragraph is empty.
9313
9314         * RowList.C (insert): fix case where it == begin().
9315
9316 2003-03-26  Angus Leeming  <leeming@lyx.org>
9317
9318         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9319         the thesaurus dialog.
9320
9321 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
9322
9323         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9324
9325         * RowList.[Ch]: new files
9326
9327         * ParagraphList.C (erase): handle the case where it == begin
9328         correctly.
9329
9330 2003-03-25  John Levon  <levon@movementarian.org>
9331
9332         * Makefile.am:
9333         * aspell_local.h:
9334         * aspell.C: add new aspell support
9335
9336         * lyxrc.h:
9337         * lyxrc.C: Make use_pspell be use_spell_lib. Always
9338         have it accessible.
9339
9340 2003-03-25  Angus Leeming  <leeming@lyx.org>
9341
9342         * lfuns.h:
9343         * LyXAction.C (init): new LFUN_INSET_INSERT.
9344
9345         * BufferView_pimpl.C (dispatch): split out part of the
9346         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9347
9348         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9349         LFUN_INSET_APPLY.
9350
9351 2003-03-25  Angus Leeming  <leeming@lyx.org>
9352
9353         * lyxfunc.C (dispatch): changes to the Dialogs interface.
9354
9355 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
9356
9357         * text2.C:
9358         * text3.C: remove useless row->height(0)
9359
9360 2003-03-25  John Levon  <levon@movementarian.org>
9361
9362         * lyxtext.h:
9363         * text2.C:
9364         * text3.C: rename the refreshing stuff to better names
9365
9366 2003-03-24  John Levon  <levon@movementarian.org>
9367
9368         * BufferView_pimpl.h:
9369         * BufferView_pimpl.C: update layout choice on a mouse
9370         press/release
9371
9372 2003-03-23  John Levon  <levon@movementarian.org>
9373
9374         * Makefile.am: fix commandtags.h reference
9375
9376 2003-03-22  John Levon  <levon@movementarian.org>
9377
9378         * BufferView_pimpl.C:
9379         * lyxtext.h:
9380         * rowpainter.C:
9381         * rowpainter.h:
9382         * text.C:
9383         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9384
9385 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
9386
9387         * lyxtext.h:
9388         * text.C: take the rtl methods out of line
9389
9390 2003-03-21 André Pönitz <poenitz@gmx.net>
9391
9392         * metricsinfo.[Ch]: new files containing structures to be passed around
9393         during the two-phase-drawing...
9394
9395 2003-03-21 André Pönitz <poenitz@gmx.net>
9396
9397         * lyxtextclass.C: read 'environment' tag.
9398
9399 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
9400
9401         * text2.C (removeRow): fix bug 964
9402
9403 2003-03-20  John Levon  <levon@movementarian.org>
9404
9405         * rowpainter.C:
9406         * text.C:
9407         * text2.C: paint cleanups. Inset::update() dropped font
9408         parameter
9409
9410 2003-03-19  John Levon  <levon@movementarian.org>
9411
9412         * lyxfunc.C: only fitcursor/markDirty if available()
9413
9414 2003-03-19  John Levon  <levon@movementarian.org>
9415
9416         * commandtags.h: rename to ...
9417
9418         * lfuns.h: ... this, and renumber / cleanup
9419
9420 2003-03-19  John Levon  <levon@movementarian.org>
9421
9422         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9423         fit the cursor after an lfun
9424
9425         * BufferView.h:
9426         * BufferView.C:
9427         * BufferView_pimpl.h:
9428         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9429
9430         * LyXAction.C: layout-character should have ReadOnly
9431
9432         * ParagraphParameters.C:
9433         * buffer.C:
9434         * bufferview_funcs.C:
9435         * lyx_cb.C:
9436         * lyxfind.C:
9437         * lyxtext.h:
9438         * text.C:
9439         * text2.C:
9440         * text3.C:
9441         * undo_funcs.C: changes from above
9442
9443 2003-03-18  John Levon  <levon@movementarian.org>
9444
9445         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9446         remove it from update()
9447
9448         * lyxfunc.C: update layout choice after an lfun
9449
9450         * text3.C: remove extra updateLayoutChoice()s
9451
9452 2003-03-18  John Levon  <levon@movementarian.org>
9453
9454         * text.C: top_y change means full repaint, fix
9455         a drawing bug with cursor movement
9456
9457 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9458
9459         * lyxtext.h:
9460         * text.C:
9461         * text2.C: anchor row on setCursor
9462
9463 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9464
9465         * lyxtext.h: remove almost all mutable keywords
9466         * text.C:
9467         * text2.C:
9468         * text3.C: remove const keywords accordingly
9469
9470 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9471
9472         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9473         anon namespace
9474         (TeXEnvironment): ditto
9475         (TeXOnePar): ditto
9476
9477 2003-03-17  John Levon  <levon@movementarian.org>
9478
9479         * text.C (rowBreakPoint): remove attempt to fix displayed
9480         math insets inside a manual label
9481
9482 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9483
9484         * lyxtext.h: remove BufferView* as first arg from almost all class
9485         functions.
9486         * other files: adjust.
9487
9488 2003-03-17  John Levon  <levon@movementarian.org>
9489
9490         * lyxtext.h:
9491         * undo_funcs.C:
9492         * text2.C: more paint cleanups
9493
9494         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9495
9496         * rowpainter.h:
9497         * rowpainter.C: remove "smart" background painting code
9498
9499 2003-03-16  John Levon  <levon@movementarian.org>
9500
9501         * lyxtext.h:
9502         * text.C:
9503         * text2.C:
9504         * text3.C: add helper functions for setting refresh_row/y
9505
9506 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
9507
9508         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9509         newline inset which *can* get inserted in the pass_thru layouts.
9510         This is primarily for literate documents.
9511
9512 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
9513
9514         * buffer.C: increment LYX_FORMAT to 223
9515
9516 2003-03-14 André Pönitz <poenitz@gmx.net>
9517
9518         * textclass.h: prepare for environment handling, ws changes
9519         * lyxlayout.C: read latexheader and latexfooter tags
9520
9521 2003-03-14  John Levon  <levon@movementarian.org>
9522
9523         * text2.C: rewrite ::status() a bit
9524
9525 2003-03-13  John Levon  <levon@movementarian.org>
9526
9527         * lyxtext.h: add some docs
9528
9529 2003-03-13  John Levon  <levon@movementarian.org>
9530
9531         * lyxtext.h:
9532         * text.C:
9533         * text2.C:
9534         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9535
9536 2003-03-13  John Levon  <levon@movementarian.org>
9537
9538         * text3.C: fix appendix redrawing
9539
9540 2003-03-13  John Levon  <levon@movementarian.org>
9541
9542         * text.C (setHeightOfRow):
9543         * rowpainter.h:
9544         * rowpainter.C: make appendix mark have the text
9545           "Appendix" so the user knows what it is
9546
9547         * LColor.h:
9548         * LColor.C: s/appendixline/appendix/ from above
9549
9550 2003-03-13  John Levon  <levon@movementarian.org>
9551
9552         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9553
9554         * text.C: fix a getChar(pos) bug properly
9555
9556 2003-03-13  Angus Leeming  <leeming@lyx.org>
9557
9558         * commandtags.h:
9559         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9560         Probably only temporary. Let's see how things pan out.
9561
9562         * BufferView.C (unlockInset):
9563         * BufferView_pimpl.C (fitCursor):
9564         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9565
9566         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9567         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9568
9569         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9570         new functions that convert ParagraphParameters to and from a string.
9571
9572         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9573         BufferView::Pimpl's dispatch.
9574         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9575
9576 2003-03-13 André Pönitz <poenitz@gmx.net>
9577
9578         * lyxfunc.C:
9579         * text3.C:
9580         * factory.C: make it aware of InsetEnv
9581
9582 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
9583
9584         * text2.C (setCursor): never ask for one past last
9585         (setCursor): add some debugging messages.
9586
9587         * text.C (singleWidth): never ask for one past last
9588         (singleWidth): ditto
9589         (leftMargin): ditto
9590         (rightMargin): ditto
9591         (rowBreakPoint): ditto
9592         (setHeightOfRow): ditto
9593         (prepareToPrint): ditto
9594
9595         * rowpainter.C (paintBackground): never ask for one past last
9596         (paintText): never ask for one past last
9597
9598         * paragraph_pimpl.C (getChar): make the assert stricter, never
9599         allow the one past last pos to be taken
9600
9601         * paragraph.C (getChar): ws changes only
9602
9603         * lyxrow.C (nextRowIsAllInset): never ask for one past last
9604         (numberOfSeparators): ditto
9605         (numberOfHfills): ditto
9606
9607 2003-03-12  John Levon  <levon@movementarian.org>
9608
9609         * author.h:
9610         * author.C:
9611         * bufferparams.h:
9612         * bufferparams.C:
9613         * paragraph_funcs.C: fix per-buffer authorlists
9614
9615 2003-03-12  John Levon  <levon@movementarian.org>
9616
9617         * text.C: fix newline in right address
9618
9619 2003-03-12  Angus Leeming  <leeming@lyx.org>
9620
9621         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9622         duplicate those in LyXFunc::dispatch.
9623
9624         * commandtags.h:
9625         * LyXAction.C:
9626         * ToolbarDefaults.C:
9627         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9628         Add LFUN_FONTFREE_UPDATE.
9629
9630         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9631         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9632
9633         * bufferview_func.[Ch]: several new functions to facilliate
9634         transfer of data to and from the character dialog.
9635
9636 2003-03-12  John Levon  <levon@movementarian.org>
9637
9638         * buffer.C:
9639         * paragraph.h:
9640         * paragraph.C:
9641         * paragraph_funcs.C:
9642         * paragraph_pimpl.C:
9643         * sgml.C:
9644         * tabular.C:
9645         * text.C:
9646         * text3.C: remove META_NEWLINE in favour of an inset
9647
9648         * rowpainter.h:
9649         * rowpainter.C: remove paintNewline (done by inset)
9650
9651 2003-03-12  John Levon  <levon@movementarian.org>
9652
9653         * paragraph_pimpl.C: complain about bad getChar()s
9654         for a while at least
9655
9656 2003-03-12  John Levon  <levon@movementarian.org>
9657
9658         * buffer.h:
9659         * buffer.C: move paragraph read into a separate function,
9660         a little renaming to reflect that.
9661
9662         * bufferparams.h:
9663         * bufferparams.C: remove the author_ids map, not necessary now
9664
9665         * factory.h:
9666         * factory.C: moved Buffer::readInset to here
9667
9668         * paragraph_funcs.h:
9669         * paragraph_funcs.C: readParagraph free function moved from
9670         buffer.C
9671
9672         * tabular.C: name change
9673
9674 2003-03-12  John Levon  <levon@movementarian.org>
9675
9676         * buffer.C:
9677         * ParagraphParameters.C: move par params input to
9678         a read() method
9679
9680         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9681         behave like a normal read from the stream wrt reading
9682         a line vs. a \\token
9683
9684 2003-03-12  John Levon  <levon@movementarian.org>
9685
9686         * paragraph.C:
9687         * ParagraphParameters.h:
9688         * ParagraphParameters.C: move output code to a
9689         ::write() method
9690
9691 2003-03-12  John Levon  <levon@movementarian.org>
9692
9693         * BufferView.C (insertLyXFile):
9694         * buffer.h:
9695         * buffer.C:
9696         * tabular.C: use a parlist iterator for creating the
9697           document.
9698
9699 2003-03-12  John Levon  <levon@movementarian.org>
9700
9701         * buffer.C: make current_change static local not
9702           static file-scope
9703
9704 2003-03-12  John Levon  <levon@movementarian.org>
9705
9706         * buffer.C: fix insertStringAsLines for change tracking
9707
9708 2003-03-12  John Levon  <levon@movementarian.org>
9709
9710         * BufferView.C:
9711         * tabular.C:
9712         * buffer.h:
9713         * buffer.C:
9714         * bufferparams.h:
9715         * bufferparams.C: move author list into params. Rename some
9716           functions. Move the header reading into a separate token
9717           loop. Move the header token reading into BufferParams.
9718
9719 2003-03-12  John Levon  <levon@movementarian.org>
9720
9721         * changes.C: put debug inside lyxerr.debugging() checks
9722
9723 2003-03-11 André Pönitz <poenitz@gmx.net>
9724
9725         * factory.C: make it aware of InsetHFill
9726
9727 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9728
9729         * buffer.C (latexParagraphs): move function from here...
9730         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9731         args.
9732
9733 2003-03-10  Angus Leeming  <leeming@lyx.org>
9734
9735         * LyXAction.C (init): fix bug in poplating array with multiple entries
9736         with the same LFUN (spotted by JMarc).
9737
9738 2003-03-10  John Levon  <levon@movementarian.org>
9739
9740         * text.C:
9741         * text2.C: move getColumnNearX() near its
9742         only call site
9743
9744 2003-03-10  John Levon  <levon@movementarian.org>
9745
9746         * text.C: fix break before a minipage
9747
9748 2003-03-10  John Levon  <levon@movementarian.org>
9749
9750         * text.C: fix the last commit
9751
9752 2003-03-09  John Levon  <levon@movementarian.org>
9753
9754         * lyxtext.h:
9755         * text.C:
9756         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9757         bug 365 (don't break before insets unless needed). Don't
9758         return a value > last under any circumstances.
9759
9760 2003-03-09  Angus Leeming  <leeming@lyx.org>
9761
9762         * BufferView_pimpl.C (trackChanges, dispatch): call
9763         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9764
9765 2003-03-09  Angus Leeming  <leeming@lyx.org>
9766
9767         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9768         than Dialogs::showAboutlyx().
9769
9770 2003-03-09  Angus Leeming  <leeming@lyx.org>
9771
9772         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9773         than Dialogs::showTabularCreate().
9774
9775 2003-03-09  John Levon  <levon@movementarian.org>
9776
9777         * lyxtext.h:
9778         * text.C:
9779         * text2.C: 3rd arg to nextBreakPoint was always the same.
9780           Use references.
9781
9782 2003-03-08  John Levon  <levon@movementarian.org>
9783
9784         * lyxrow.C:
9785         * paragraph.C:
9786         * paragraph.h:
9787         * rowpainter.C:
9788         * text.C:
9789         * text2.C: Remove the "main" bit from the "main body"
9790           notion.
9791
9792 2003-03-08  John Levon  <levon@movementarian.org>
9793
9794         * text.C (leftMargin): The left margin of an empty
9795         manual label paragraph should not include the label width
9796         string length.
9797
9798         * text.C (prepareToPrint): don't attempt to measure hfills
9799         for empty manual label paragraphs - the answer should be 0
9800
9801 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9802
9803         * CutAndPaste.C: remove commented code and reindent.
9804
9805 2003-03-08  John Levon  <levon@movementarian.org>
9806
9807         * lyxfunc.h:
9808         * lyxfunc.C: move reloadBuffer()
9809
9810         * BufferView.h:
9811         * BufferView.C: to here
9812
9813         * lyxvc.C: add comment
9814
9815         * vc-backend.h:
9816         * vc-backend.C: call bv->reload() to avoid
9817           getStatus() check on MENURELOAD
9818
9819 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
9820
9821         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9822         to an old format .dep file.
9823
9824 2003-03-07  Angus Leeming  <leeming@lyx.org>
9825
9826         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9827         when the LFUN_MOUSE_RELEASE should have been handled by
9828         inset->localDispatch.
9829
9830 2003-03-07  Angus Leeming  <leeming@lyx.org>
9831
9832         * BufferView_pimpl.C (dispatch):
9833         * LyXAction.C (init):
9834         * ToolbarDefaults.C (init):
9835         * commandtags.h:
9836         * lyxfunc.C (getStatus):
9837         remove LFUN_INSET_GRAPHICS.
9838
9839         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9840
9841 2003-03-07  Angus Leeming  <leeming@lyx.org>
9842
9843         * commandtags.h:
9844         * LyXAction.C (init):
9845         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9846
9847         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9848
9849         * commandtags.h:
9850         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9851
9852         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9853         localDispatch method LFUN_INSET_DIALOG_UPDATE.
9854
9855 2003-03-07  Angus Leeming  <leeming@lyx.org>
9856
9857         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9858         remove "ert".
9859
9860 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9861
9862         * ParagraphList.C (front): new function
9863         (back): implement
9864
9865 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
9866
9867         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9868         and top_row_offset_. removed var first_y.
9869         * text.C (top_y):
9870         * text2.C (LyXText, removeRow):
9871         * text3.C:
9872         * BufferView_pimpl.C:
9873         use these methods instead of using first_y
9874
9875 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9876
9877         * text2.C (pasteSelection): adjust for checkPastePossible
9878
9879         * CutAndPaste.C: remove Paragraph * buf and replace with
9880         ParagraphList paragraphs.
9881         (DeleteBuffer): delete
9882         (cutSelection): change the tc type to textclass_type
9883         (copySelection): change the tc type to textclass_type
9884         (copySelection): adjust for ParagraphList
9885         (pasteSelection): change the tc type to textclass_type
9886         (pasteSelection): adjust for Paragraphlist
9887         (nrOfParagraphs): simplify for ParagraphList
9888         (checkPastePossible): simplify for ParagraphList
9889         (checkPastePossible): remove unused arg
9890
9891         * ParagraphList.C (insert): handle the case where there are no
9892         paragraphs yet.
9893
9894         * CutAndPaste.h: make CutAndPaste a namespace.
9895
9896         * text3.C (dispatch): adjust
9897
9898         * text.C (breakParagraph): add a ParagraphList as arg
9899
9900         * paragraph_funcs.C (breakParagraph): change to take a
9901         BufferParams and a ParagraphList as args.
9902         (breakParagraphConservative): ditto
9903         (mergeParagraph): ditto
9904         (TeXDeeper): add a ParagraphList arg
9905         (TeXEnvironment): ditto
9906         (TeXOnePar): ditto
9907
9908         * buffer.C (readLyXformat2): adjust
9909         (insertStringAsLines): adjust
9910         (latexParagraphs): adjust
9911
9912         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9913         (cutSelection): adjust
9914         (pasteSelection): adjust
9915
9916         * BufferView_pimpl.C (insertInset): adjust
9917
9918 2003-03-05  Angus Leeming  <leeming@lyx.org>
9919
9920         * commandtags.h:
9921         * LyXAction.C (init):
9922         * BufferView_pimpl.C (dispatch):
9923         * lyxfunc.C (getStatus):
9924         remove LFUN_CHILD_INSERT.
9925
9926         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9927
9928 2003-03-05  Angus Leeming  <leeming@lyx.org>
9929
9930         * commandtags.h:
9931         * LyXAction.C (init):
9932         * src/factory.C (createInset):
9933         * lyxfunc.C (getStatus):
9934         * text3.C (dispatch):
9935         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9936
9937         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9938
9939 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9940
9941         * ParagraphList.C (insert): handle insert right before end()
9942         (erase): fix cases where it can be first or last paragraph.
9943
9944 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9945
9946         * paragraph_funcs.C (TeXEnvironment): remove all usage of
9947         Paragraph::next and Paragraph::previous
9948         (TeXOnePar): ditto
9949
9950         * text.C (breakParagraph): adjust
9951
9952         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9953         BufferParams& as arg.
9954         (breakParagraph): use ParagraphList::insert
9955         (breakParagraphConservative): take a Buffer* instead of a
9956         BufferParams& as arg.
9957         (breakParagraphConservative): use ParagraphList::insert.
9958
9959         * buffer.C (insertStringAsLines): un-const it
9960         (insertStringAsLines): adjust
9961
9962         * ParagraphList.C (insert): new function
9963
9964         * CutAndPaste.C (pasteSelection): adjust
9965
9966         * text.C (backspace): adjust
9967
9968         * tabular.C (SetMultiColumn): adjust
9969
9970         * CutAndPaste.C (cutSelection): adjust
9971         (pasteSelection): adjust
9972
9973         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9974         Buffer const * as arg
9975
9976         * ParagraphList.C (erase): new function
9977         * paragraph_funcs.C (mergeParagraph): use it
9978         (mergeParagraph): make it take a Buffer* instead of a
9979         BufferParams* as arg
9980
9981         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9982         as arg
9983         (breakParagraphConservative): ditto
9984
9985         * paragraph.h: remove the breakParagraph friend
9986
9987         * paragraph.C (eraseIntern): new function
9988         (setChange): new function
9989
9990         * paragraph_funcs.C (mergeParagraph): make it take a
9991         ParagraphList::iterator instead of a Paragraph *, adjust
9992         accordingly.
9993
9994         * paragraph.h: move an #endif so that the change tracking stuff
9995         also works in the NO_NEXT case.
9996
9997 2003-03-04  Angus Leeming  <leeming@lyx.org>
9998
9999         * commandtags.h:
10000         * LyXAction.C: new LFUN_INSET_MODIFY.
10001
10002         * BufferView_pimpl.C (dispatch): if an inset is found to be open
10003         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
10004
10005 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10006
10007         * several files: ws changes only
10008
10009         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
10010         (TeXEnvironment): ditto
10011         (TeXDeeper): ditto
10012
10013         * buffer.C (makeLaTeXFile): adjust
10014         (latexParagraphs): make it take ParagraphList::iterator as args
10015
10016 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
10017
10018         * buffer.C (latexParagraphs): adjust
10019
10020         * paragraph.C (TeXOnePar): move function...
10021         (optArgInset): move function...
10022         (TeXEnvironment): move function...
10023         * paragraph_pimpl.C (TeXDeeper): move function...
10024         * paragraph_funcs.C: ...here
10025
10026         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
10027
10028 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10029
10030         * buffer.C (readInset): remove compability code for old Figure and
10031         InsetInfo insets
10032
10033 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10034
10035         * buffer.C: ws changes
10036         (readInset):
10037
10038         * BufferView_pimpl.C: ditto
10039         * author.C: ditto
10040         * buffer.h: ditto
10041         * bufferlist.h: ditto
10042         * changes.h: ditto
10043         * lyxfunc.C: ditto
10044
10045 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
10046
10047         * converter.[Ch]: split into itself +
10048         * graph.[Ch]
10049         * format.[Ch]
10050         * Makefile.am: += graph.[Ch] + format.[Ch]
10051         * MenuBackend.C
10052         * buffer.C
10053         * exporter.C
10054         * importer.C
10055         * lyx_main.C
10056         * lyxfunc.C
10057         * lyxrc.C: added #include "format.h"
10058
10059 2003-02-27  Angus Leeming  <leeming@lyx.org>
10060
10061         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
10062           a label.
10063
10064         * factory.C (createInset): add "label" to the factory.
10065
10066         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
10067           string and do no more.
10068
10069 2003-02-27  Angus Leeming  <leeming@lyx.org>
10070
10071         * commandtags.h:
10072         * LyXAction.C (init):
10073         * factory.C (createInset):
10074         * BufferView_pimpl.C (dispatch):
10075           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
10076
10077         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
10078
10079         * lyxfunc.C (dispatch):
10080         * text3.C (dispatch): pass name to params2string.
10081
10082 2003-02-26  Angus Leeming  <leeming@lyx.org>
10083
10084         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
10085           blocks together.
10086           Rearrange the ~includes. Strip out the unnecessary ones.
10087
10088         * factory.C (createInset): reformat.
10089           create new insets for the various LFUN_XYZ_APPLY lfuns.
10090
10091 2003-02-26  John Levon  <levon@movementarian.org>
10092
10093         * lyxrow.h:
10094         * lyxrow.C: add isParStart,isParEnd helpers
10095
10096         * paragraph.h: make isInserted/DeletedText take refs
10097
10098         * paragraph_funcs.h:
10099         * paragraph_funcs.C: remove #if 0'd code
10100
10101         * lyxtext.h:
10102         * text3.C:
10103         * text2.C:
10104         * text.C: use lyxrow helpers above.
10105           Move draw and paint routines to RowPainter.
10106           Make several methods use refs not pointers.
10107           Make backgroundColor() const.
10108           Add markChangeInDraw(), isInInset().
10109           Merge changeRegionCase into changeCase.
10110           Make workWidth() shouldn't-happen code into an Assert.
10111
10112         * rowpainter.h:
10113         * rowpainter.C: new class for painting a row.
10114
10115         * vspace.h:
10116         * vspace.C: make inPixels take a ref
10117
10118 2003-02-26  Angus Leeming  <leeming@lyx.org>
10119
10120         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
10121         LFUN_REF_APPLY.
10122
10123 2003-02-25  John Levon  <levon@movementarian.org>
10124
10125         * ispell.C: give the forked command a more accurate name
10126
10127 2003-02-22  John Levon  <levon@movementarian.org>
10128
10129         * toc.h:
10130         * toc.C: make TocItem store an id not a Paragraph *
10131           (bug #913)
10132
10133 2003-02-21  Angus Leeming  <leeming@lyx.org>
10134
10135         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
10136           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
10137           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
10138           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
10139           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
10140           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
10141
10142         * BufferView_pimpl.C (dispatch):
10143         * LyXAction.C (init):
10144         * factory.C (createInset):
10145         * lyxfunc.C (getStatus, dispatch):
10146         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
10147
10148 2003-02-21  Angus Leeming  <leeming@lyx.org>
10149
10150         * BufferView_pimpl.C (MenuInsertLyXFile):
10151         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
10152         * lyxfunc.C (menuNew, open, doImport):
10153           no longer pass a LyXView & to fileDlg.
10154
10155 2003-02-21  Angus Leeming  <leeming@lyx.org>
10156
10157         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
10158         * LyXAction.C: change, BIBKEY to BIBITEM.
10159         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
10160         Change InsetBibKey to InsetBibitem.
10161         Change BIBKEY_CODE to BIBITEM_CODE.
10162         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10163         * factory.C: replace insetbib.h with insetbibitem.h.
10164         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10165         * paragraph.C: replace insetbib.h with insetbibitem.h.
10166         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
10167         Change bibkey() to bibitem().
10168         * text.C: remove insetbib.h.
10169         * text2.C: replace insetbib.h with insetbibitem.h.
10170         change bibkey() to bibitem().
10171         * text3.C: remove insetbib.h.
10172         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10173
10174 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10175
10176         * lyxrc.C (output): enclose user email in quotes (in case there are
10177         several words)
10178
10179 2003-02-18  John Levon  <levon@movementarian.org>
10180
10181         * buffer.h: add std::
10182
10183 2003-02-17  John Levon  <levon@movementarian.org>
10184
10185         * SpellBase.h:
10186         * ispell.h:
10187         * ispell.C:
10188         * pspell.h:
10189         * pspell.C: reworking. Especially in ispell, a large
10190           number of clean ups and bug fixes.
10191
10192         * lyxfunc.C: fix revert to behave sensibly
10193
10194 2003-02-17 André Pönitz <poenitz@gmx.net>
10195
10196         * LyXAction.C:
10197         * commandtags.h: new LFUN_INSERT_BIBKEY
10198
10199         * layout.h:
10200         * lyxlayout.C:
10201         * buffer.C:
10202         * factory.C:
10203         * text.C:
10204         * text2.C:
10205         * text3.C:
10206         * paragraph.[Ch]:
10207         * paragraph_func.C: remove special bibkey handling
10208
10209 2003-02-17  John Levon  <levon@movementarian.org>
10210
10211         * text.C (Delete): fix case where delete at the end of
10212           the very first paragraph would not merge the pars
10213
10214 2003-02-17  John Levon  <levon@movementarian.org>
10215
10216         * lyxrow.C: fix lastPrintablePos()
10217
10218 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10219
10220         * bufferparams.C (writeLaTeX): add a std:here
10221
10222         * buffer.C: and remove a using directive there
10223
10224 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10225
10226         * buffer.C (makeLaTeXFile): move the code that generates the
10227           preamble...
10228
10229         * bufferparams.C (writeLaTeX): ... in this new method
10230
10231         * LaTeXFeatures.C (getEncodingSet): make const
10232           (getLanguages): make const
10233
10234         * MenuBackend.C (binding): returns the binding associated to this
10235           action
10236           (add): sets the status of each item by calling getStatus. Adds
10237           some intelligence.
10238           (read): add support for OptSubMenu
10239           (expand): remove extra separator at the end of expanded menu
10240
10241 2003-02-15  John Levon  <levon@movementarian.org>
10242
10243         * BufferView.C:
10244         * BufferView_pimpl.C:
10245         * bufferlist.h:
10246         * bufferlist.C: remove pointless BufferStorage bloat. Remove
10247           inset code that had no actual effect. Remove unneeded status
10248           code.
10249
10250 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10251
10252         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10253           in preamble
10254
10255 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
10256
10257         * text.C (drawLengthMarker): also draw an arrow marker for
10258           symbolic lengths (medskip...)
10259
10260 2003-02-14  John Levon  <levon@movementarian.org>
10261
10262         * tabular.h:
10263         * tabular.C: better method names
10264
10265 2003-02-14  John Levon  <levon@movementarian.org>
10266
10267         * BufferView_pimpl.C:
10268         * bufferlist.C:
10269         * buffer.C:
10270         * converter.C:
10271         * lyx_cb.C:
10272         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10273           it's a more accurate name. Remove some pointless uses.
10274
10275 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10276
10277         * text2.C (LyXText): change order of initilizers to shut off
10278           warnings
10279
10280 2003-02-14  John Levon  <levon@movementarian.org>
10281
10282         * buffer.C: use ParIterator for getParFromID()
10283
10284         * paragraph.h:
10285         * paragraph.C:
10286         * paragraph_pimpl.h:
10287         * paragraph_pimpl.C: remove unused getParFromID()
10288
10289 2003-02-14  John Levon  <levon@movementarian.org>
10290
10291         * buffer.C: remove some very old #if 0'd parse code
10292
10293 2003-02-13  John Levon  <levon@movementarian.org>
10294
10295         * text.h:
10296         * text.C:
10297         * text2.C: move hfillExpansion(), numberOfSeparators(),
10298           rowLast(), rowLastPrintable(), numberofHfills(),
10299           numberOfLabelHfills() ...
10300
10301         * lyxrow.h:
10302         * lyxrow.C: ... to member functions here.
10303
10304         * paragraph.h:
10305         * paragraph.C:
10306         * lyxtext.h:
10307         * text.C: remove LyXText::beginningOfMainBody(), and call
10308           p->beginningOfMainBody() directly. Move the check for
10309           LABEL_MANUAL into the latter.
10310
10311         * text.h:
10312         * text.C:
10313         * text2.C:
10314         * vspace.C:
10315         * BufferView.h:
10316         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10317
10318         * text.h:
10319         * text.C:
10320         * text2.C:
10321         * text3.C:
10322         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10323           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10324
10325 2003-02-13  John Levon  <levon@movementarian.org>
10326
10327         * CutAndPaste.C: remove debug
10328
10329 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10330
10331         * paragraph.C (asString): remove two unused variables
10332
10333         * lyxtextclass.C (readTitleType):
10334           (Read):
10335           (LyXTextClass): handle new members titletype_ and titlename_
10336
10337         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10338
10339 2003-02-09  John Levon  <levon@movementarian.org>
10340
10341         * buffer.h:
10342         * buffer.C: replace hand-coded list with a map for the dep clean
10343
10344 2003-02-08  John Levon  <levon@movementarian.org>
10345
10346         * LaTeX.C: consolidate code into showRunMessage() helper
10347
10348 2003-02-08  John Levon  <levon@movementarian.org>
10349
10350         * lyxfind.C:
10351         * lyxtext.h:
10352         * text2.C:
10353         * BufferView.C: change setSelectionOverString() to setSelectionRange()
10354           and pass the size in explicitly
10355
10356         * BufferView_pimpl.h:
10357         * BufferView_pimpl.C:
10358         * BufferView.h:
10359         * BufferView.C: add getCurrentChange()
10360
10361         * BufferView_pimpl.h:
10362         * BufferView_pimpl.C: handle change lfuns
10363
10364         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10365           for changes. Mark pasted paragraphs as new.
10366
10367         * support/lyxtime.h:
10368         * support/lyxtime.C:
10369         * DepTable.C: abstract time_t as lyx::time_type
10370
10371         * LColor.h:
10372         * LColor.C: add colours for new text, deleted text, changebars
10373
10374         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10375           package use "usenames" option.
10376
10377         * commandtags.h:
10378         * lyxfunc.C:
10379         * LyXAction.C: add change lfuns
10380
10381         * Makefile.am:
10382         * author.h:
10383         * author.C: author handling
10384
10385         * buffer.h:
10386         * buffer.C: add a per-buffer author list, with first entry as
10387           current author. Handle new .lyx tokens for change tracking. Output
10388           author list to .lyx file. Output dvipost stuff to .tex preamble.
10389           Bump lyx format to 222.
10390
10391         * bufferlist.h:
10392         * bufferlist.C: add setCurrentAuthor() to reset current author details
10393           in all buffers.
10394
10395         * bufferparams.h:
10396         * bufferparams.C: add param for tracking
10397
10398         * bufferview_funcs.C: output change info in minibuffer
10399
10400         * Makefile.am:
10401         * changes.h:
10402         * changes.C: add change-tracking structure
10403
10404         * debug.h:
10405         * debug.C: add CHANGES debug flag
10406
10407         * lyxfind.h:
10408         * lyxfind.C: add code for finding the next change piece
10409
10410         * lyxrc.h:
10411         * lyxrc.C: add user_name and user_email
10412
10413         * lyxrow.h:
10414         * lyxrow.C: add a metric for the top of the text line
10415
10416         * lyxtext.h:
10417         * text.C: implement accept/rejectChange()
10418
10419         * lyxtext.h:
10420         * text.C: paint changebars. Paint new/deleted text in the chosen
10421         colours. Strike through deleted text.
10422
10423         * paragraph.h:
10424         * paragraph.C:
10425         * paragraph_pimpl.h:
10426         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10427           in the current change to the insert functions. Rework erase to
10428           mark text as deleted, adding an eraseIntern() and a range-based
10429           erase(). Implement per-paragraph change lookup and
10430           accept/reject.
10431
10432         * paragraph_funcs.C: Fixup paste for change tracking.
10433
10434         * tabular.C: mark added row/columns as new.
10435
10436         * text.C: fix rowLast() to never return -1. Don't allow
10437           spellchecking of deleted text. Track transpose changes. Don't
10438           allow paragraph break or merge where appropriate.
10439
10440         * text2.C: leave cursor at end of selection after a cut.
10441
10442 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10443
10444         * text.C (getLengthMarkerHeight):
10445         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10446         visible on screen too.
10447
10448 2003-02-07  John Levon  <levon@movementarian.org>
10449
10450         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10451
10452 2003-02-05  Angus Leeming  <leeming@lyx.org>
10453
10454         * lyxserver.C (read_ready): revert my patch of 11 September last year
10455         as it sends PC cpu through the roof. Presumably this means that
10456         the lyxserver will no longer run on an Alpha...
10457
10458 2003-01-30  Angus Leeming  <leeming@lyx.org>
10459
10460         * factory.C (createInset): create an InsetCommandParam of type "index"
10461         and use it to 'do the right thing'.
10462
10463         * text2.C (getStringToIndex): ensure that cursor position is always
10464         reset to the reset_cursor position.
10465
10466 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10467
10468         * lyxfunc.C (getStatus): "buffer-export custom" should never be
10469         disabled.
10470
10471 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
10472
10473         * bufferview.C:
10474         * lyxcb.C:
10475         * lyxfunc.C: Output messages with identical spelling, punctuation,
10476         and spaces
10477
10478 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
10479
10480         * MenuBackend.C (expandFormats): List only viewable export formats
10481         in "View" menu
10482
10483         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10484         message
10485
10486         * lyxfunc.C (getStatus): Make sure that formats other than
10487         "fax" can also be disabled
10488
10489 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10490
10491         * text3.C (dispatch): put the lfuns that insert insets in 3
10492         groups, and call doInsertInset with appropriate arguments.
10493         (doInsertInset): new function, that creates an inset and inserts
10494         it according to some boolean parameters.
10495
10496 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
10497
10498         * buffer.C (readFile): remember to pass on 'par' when calling
10499         readFile recursively.
10500
10501 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10502
10503         * MenuBackend.C (expandFormats): add "..." to import formats.
10504
10505 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
10506
10507         * paragraph.C (asString): Remove XForms RTL hacks.
10508
10509 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
10510         * buffer.C: fix typo
10511
10512 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10513
10514         * Makefile.am (LIBS): delete var
10515         (lyx_LDADD): add @LIBS@ here instead.
10516
10517 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
10518
10519         * Clarify the meaning of "wheel mouse jump"
10520
10521 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10522
10523         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10524         tabular in a float
10525
10526 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10527
10528         * importer.C (Loaders): do not preallocate 3 elements in the
10529         vector, since one ends up with 6 elements otherwise
10530
10531 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10532
10533         * DepTable.C (write): write the file name as last element of the
10534         .dep file (because it may contain spaces)
10535         (read): read info in the right order
10536
10537 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10538
10539         * paragraph_pimpl.C (simpleTeXBlanks):
10540         (simpleTeXSpecialChars):
10541         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10542
10543         * tabular.C (latex): add some missing case statements. Reindent.
10544
10545         * MenuBackend.C (expandToc): remove unused variable.
10546
10547 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
10548
10549         * LColor.C:
10550         * LaTeX.C:
10551         * LyXAction.C:
10552         * MenuBackend.C:
10553         * buffer.C:
10554         * exporter.C:
10555         * lyxfunc.C:
10556         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10557         and the like.
10558
10559 2003-01-05  John Levon  <levon@movementarian.org>
10560
10561         * BufferView.h:
10562         * BufferView.C: add getEncoding()
10563
10564         * kbsequence.h:
10565         * kbsequence.C: do not store last keypress
10566
10567         * lyxfunc.h:
10568         * lyxfunc.C: store last keypress here instead. Pass encoding
10569           to getISOEncoded()
10570
10571 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10572
10573         * lyx_main.C (init): remove annoying error message when following
10574         symbolic links (bug #780)
10575
10576 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10577
10578         * text.C (insertChar):
10579         * lyxrc.C (getDescription): remove extra spaces
10580
10581 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10582
10583         * lyxrc.C (getDescription): remove extra spaces
10584
10585 2002-12-20  John Levon  <levon@movementarian.org>
10586
10587         * text3.C: hack fix for page up/down across tall rows
10588
10589 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10590
10591         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10592         not been invoked
10593
10594 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10595
10596         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10597         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10598         thesaurus is not compiled in
10599
10600 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
10601
10602         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
10603
10604 2002-12-16  Angus Leeming  <leeming@lyx.org>
10605
10606         * lyxrc.[Ch]:
10607         * lyx_main.C (init): remove override_x_deadkeys stuff.
10608
10609 2002-12-12  John Levon  <levon@movementarian.org>
10610
10611         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10612           insert. Only remove shift modifier under strict
10613           circumstances.
10614
10615 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
10616
10617         * MenuBackend.C (expandToc): fix crash.
10618
10619 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
10620
10621         * MenuBackend.C (expandToc): gettext on float names.
10622
10623 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
10624
10625         * lyxlength.[Ch]: set default unit to UNIT_NONE,
10626         implement bool empty() [bug 490]
10627
10628 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10629
10630         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10631
10632 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10633
10634         * several files: ws changes
10635
10636 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10637
10638         * text2.C (setCounter): clean up a bit, use boost.format.
10639         (updateCounters): initialize par upon declaration.
10640
10641         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10642         if the layout exists. We do not just store the layout any more.
10643         (SwitchLayoutsBetweenClasses): use boost.format
10644
10645 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10646
10647         * converter.C (convert): if from and to files are the same, use a
10648         temporary files as intermediary
10649
10650 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10651
10652         * commandtags.h:
10653         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10654
10655 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10656
10657         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10658
10659 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
10660
10661         * tabular.C (asciiPrintCell): use string(size, char) instead of
10662         explicit loop.
10663
10664         * sgml.C (openTag): fix order of arguments to string constructor
10665         (closeTag): ditto
10666
10667         * lyxfunc.C (dispatch): use boost.format
10668
10669         * lots of files: change "c" -> 'c'
10670
10671 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10672
10673         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10674
10675 2002-11-25  Angus Leeming  <leeming@lyx.org>
10676
10677         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10678
10679         * lyx_main.C (init): compile fix.
10680
10681 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
10682
10683         * lyx_cb.C (start): boost.formatify
10684         do not include <iostream>
10685
10686         * lengthcommon.C: ws only
10687
10688         * boost-inst.C,BoostFormat.h: add more explict instantations
10689
10690 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
10691
10692         * lots of files: handle USE_BOOST_FORMAT
10693
10694 2002-11-21  John Levon  <levon@movementarian.org>
10695
10696         * pspell.C: fix compile
10697
10698 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10699
10700         * lyxfunc.C (dispatch): use boost::format
10701         (open): ditto
10702         (doImport): ditto
10703
10704         * lyxfont.C (stateText): use boost::format
10705
10706         * lyx_main.C (LyX): use boost::format
10707         (init): ditto
10708         (queryUserLyXDir): ditto
10709         (readRcFile): ditto
10710         (parse_dbg): ditto
10711         (typedef boost::function): use the recommened syntax.
10712
10713         * importer.C (Import): use boost::format
10714
10715         * debug.C (showLevel): use boost::format
10716
10717         * converter.C (view): use boost::format
10718         (convert): ditto
10719         (move): ditto
10720         (scanLog): ditto
10721
10722         * bufferview_funcs.C (currentState): use boost::format
10723
10724         * bufferlist.C (emergencyWrite): use boost::format
10725
10726         * buffer.C (readLyXformat2): use boost::format
10727         (parseSingleLyXformat2Token): ditto
10728
10729         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10730
10731         * LaTeX.C (run): use boost::format
10732
10733         * Chktex.C (scanLogFile): use boost::format
10734
10735         * BufferView_pimpl.C (savePosition): use boost::format
10736         (restorePosition): ditto
10737         (MenuInsertLyXFile): ditto
10738
10739         * BoostFormat.h: help file for explicit instation.
10740
10741 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
10742
10743         * tabular.C (latex): Support for block alignment in fixed width
10744         columns.
10745
10746 2002-11-17  John Levon  <levon@movementarian.org>
10747
10748         * BufferView_pimpl.C:
10749         * lyx_cb.C:
10750         * lyxfunc.C: split filedialog into open/save
10751
10752 2002-11-08  Juergen Vigna  <jug@sad.it>
10753
10754         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10755         by my last patch (hopefully).
10756
10757 2002-11-08  John Levon  <levon@movementarian.org>
10758
10759         * iterators.h:
10760         * iterators.C:
10761         * buffer.h:
10762         * buffer.C:
10763         * paragraph.h:
10764         * paragraph.C:
10765         * toc.h:
10766         * toc.C: ParConstIterator, and use it (from Lars)
10767
10768 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
10769
10770         * lyxtextclass.[Ch]: revise and add doxygen comments
10771
10772 2002-11-07  John Levon  <levon@movementarian.org>
10773
10774         * text.C: fix progress value for spellchecker
10775
10776         * toc.C: fix navigate menu for insetwrap inside minipage
10777
10778         * paragraph_funcs.C: added FIXME for suspect code
10779
10780 2002-11-07  John Levon  <levon@movementarian.org>
10781
10782         * BufferView_pimpl.C: fix redrawing of insets
10783           on buffer switch
10784
10785 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10786
10787         * text2.C (updateCounters): fix bug 668
10788
10789 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
10790
10791         * text3.C (dispatch): Do not make the buffer dirty when moving the
10792         cursor.
10793
10794 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10795
10796         * vc-backend.C: STRCONV
10797         (scanMaster): ditto
10798
10799         * text2.C (setCounter): STRCONV
10800
10801         * paragraph.C (asString): STRCONV
10802
10803         * lyxlength.C (asString): STRCONV
10804         (asLatexString): ditto
10805
10806         * lyxgluelength.C (asString): STRCONV
10807         (asLatexString): ditto
10808
10809         * lyxfunc.C (dispatch): STRCONV
10810         (open): ditto
10811
10812         * lyxfont.C (stateText): STRCONV
10813
10814         * importer.C (Import): STRCONV
10815
10816         * counters.C (labelItem): STRCONV
10817         (numberLabel): ditto
10818         (numberLabel): remove unused ostringstream o
10819
10820         * chset.C: STRCONV
10821         (loadFile): ditto
10822
10823         * bufferview_funcs.C (currentState): STRCONV
10824
10825         * buffer.C (readFile): STRCONV
10826         (asciiParagraph): ditto
10827         (makeLaTeXFile): ditto
10828
10829         * Spacing.C (writeEnvirBegin): STRCONV
10830
10831         * LaTeXFeatures.C (getLanguages): STRCONV
10832         (getPackages): ditto
10833         (getMacros): ditto
10834         (getBabelOptions): ditto
10835         (getTClassPreamble): ditto
10836         (getLyXSGMLEntities): ditto
10837         (getIncludedFiles): ditto
10838
10839         * LaTeX.C: STRCONV
10840         (run): ditto
10841         (scanAuxFile): ditto
10842         (deplog): ditto
10843
10844         * LString.h: add the STRCONV macros
10845
10846         * BufferView_pimpl.C (savePosition): STRCONV
10847         (restorePosition): ditto
10848         (MenuInsertLyXFile): ditto
10849
10850         * vc-backend.C (scanMaster): change from submatch[...] to
10851         submatch.str(...)
10852
10853         * funcrequest.C: include config.h
10854
10855         * factory.C: include config.h
10856
10857         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10858
10859         * box.C: include config.h
10860
10861         * LaTeX.C (scanAuxFile): change from submatch[...] to
10862         submatch.str(...)
10863         (deplog): ditto
10864
10865 2002-10-25  Angus Leeming  <leeming@lyx.org>
10866
10867         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10868
10869         * ispell.[Ch] (setError): new method.
10870         * ispell.C (c-tor): move out child process into new class LaunchIspell.
10871         Use setError() insetead of goto END.
10872
10873         * lyx_cb.C (AutoSave): move out child process into new class
10874         AutoSaveBuffer.
10875
10876 2002-10-30  John Levon  <levon@movementarian.org>
10877
10878         * text3.C: make start appendix undoable
10879
10880 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
10881
10882         * lyxlength.C (inPixels): Fix returned value.
10883
10884         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10885         environment.
10886
10887 2002-10-24  Angus Leeming  <leeming@lyx.org>
10888
10889         * lyxgluelength.h: no need to forward declare BufferParams
10890         or BufferView, so don't.
10891
10892 2002-10-21  John Levon  <levon@movementarian.org>
10893
10894         * BufferView.C: menuUndo ->undo, redo
10895
10896         * BufferView.h: document, remove dead, make some methods private
10897
10898         * paragraph_funcs.h:
10899         * paragraph_funcs.C:
10900         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10901
10902         * buffer.h:
10903         * buffer.C:
10904         * sgml.h:
10905         * sgml.C: move sgml open/close tag into sgml.C
10906
10907         * bufferview_funcs.h: unused prototype
10908
10909         * lyxfunc.h:
10910         * lyxfunc.C: remove unused
10911
10912         * lyxtext.h:
10913         * text.C: remove unused
10914
10915 2002-10-21  John Levon  <levon@movementarian.org>
10916
10917         * BufferView.h:
10918         * BufferView.C:
10919         * BufferView_pimpl.h:
10920         * BufferView_pimpl.C: fix mouse wheel handling based on
10921           patch from Darren Freeman
10922
10923 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
10924
10925         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10926
10927 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
10928
10929         * lyxlength.C (inPixels): Fix hanfling of negative length.
10930         Fix LyXLength::MU case.
10931
10932 2002-10-16  John Levon  <levon@movementarian.org>
10933
10934         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10935
10936 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10937
10938         * converter.C (view): add support for $$i (file name) and $$p
10939         (file path) for the viewer command. If $$i is not specified, then
10940         it is appended to the command (for compatibility with old syntax)
10941
10942 2002-10-14  Juergen Vigna  <jug@sad.it>
10943
10944         * undo_funcs.C (textHandleUndo): alter the order in which the
10945         new undopar is added to the LyXText, as we have to set first
10946         the right prev/next and then add it as otherwise the rebuild of
10947         LyXText is not correct. Also reset the cursor to the right paragraph,
10948         with this IMO we could remove the hack in "redoParagraphs()".
10949
10950 2002-10-09  Angus Leeming  <leeming@lyx.org>
10951
10952         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10953         to turn off an optimisation if a new inset is to be inserted.
10954
10955 2002-10-11 André Pönitz <poenitz@gmx.net>
10956
10957         * lyxtext.h: make some functions public to allow access
10958         from inset/lyxtext for handling LFUN_PRIOR/NEXT
10959
10960 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10961
10962         * text3.C (dispatch): when changing layout, avoid an infinite loop
10963         [bug #652]
10964
10965 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10966
10967         * lyxrc.C (read): treat a viewer or converter command of "none" as
10968         if it were empty.
10969
10970         * MenuBackend.C (expandFormats): for an update, also allow the
10971         formats that are not viewable
10972
10973         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10974         script if it is newer than the lyxrc.defaults in user directory
10975
10976 2002-10-07 André Pönitz <poenitz@gmx.net>
10977
10978         * text.C: Vitaly Lipatov's small i18n fix
10979
10980 2002-09-25  Angus Leeming  <leeming@lyx.org>
10981
10982         * ispell.h: doxygen fix.
10983
10984 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
10985
10986         * buffer.h (readFile): Add a new argument to the method, to allow
10987         reading of old-format templates.
10988
10989 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
10990
10991         * toc.C (getTocList): Get TOC from InsetWrap.
10992
10993 2002-09-16  John Levon  <levon@movementarian.org>
10994
10995         * lyxfunc.C: check tabular for cut/copy too
10996
10997 2002-09-12  John Levon  <levon@movementarian.org>
10998
10999         * LyXAction.C: tidy
11000
11001         * factory.h:
11002         * factory.C: add header
11003
11004         * paragraph_funcs.h:
11005         * paragraph_funcs.C: cleanup
11006
11007 2002-09-11  John Levon  <levon@movementarian.org>
11008
11009         * PrinterParams.h: odd/even default to true
11010
11011 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
11012
11013         * PrinterParams.h: update printer parameters for new xforms dialog
11014
11015 2002-09-11  Angus Leeming  <leeming@lyx.org>
11016
11017         * lyxserver.C (read_ready): re-write to make it more transparent
11018         and to make it work in coherent fashion under Tru64 Unix.
11019
11020 2002-09-11  André Pönitz <poenitz@gmx.net>
11021
11022         * commandtags.h:
11023         * LyXAction.C:
11024         * text3.C: implement LFUN_WORDSEL
11025
11026 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11027
11028         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
11029         make floatlist_ a boost::shared_ptr<FloatList>
11030
11031         * lyxtextclass.C: include FloatList.h
11032         (LyXTextClass): initialize floatlist_
11033         (TextClassTags): add TC_NOFLOAT
11034         (Read): match "nofloat" to TC_NOFLOAT and use it.
11035         (readFloat): modify call to floatlist_
11036         (floats): ditto
11037         (floats): ditto
11038
11039         * FloatList.[Ch] (FloatList): remove commented out float
11040         initialization.
11041         (erase): new function
11042
11043 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11044
11045         * MenuBackend.C (expandToc): fix crash when there is no document
11046         open
11047
11048 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
11049
11050         * many files: Add insetwrap.
11051
11052 2002-09-09  John Levon  <levon@movementarian.org>
11053
11054         * text2.C: remove confusing and awkward depth wraparound
11055
11056 2002-09-09  John Levon  <levon@movementarian.org>
11057
11058         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
11059
11060         * buffer.h:
11061         * buffer.C: remove getIncludeonlyList()
11062
11063         * paragraph.C:
11064         * lyxfunc.C: remove headers
11065
11066 2002-09-09  Juergen Vigna  <jug@sad.it>
11067
11068         * text.C (getColumnNearX): fix form Michael this is most
11069         probably a cut&paste bug.
11070
11071 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
11072
11073         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
11074
11075         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
11076         references, ws changes.
11077
11078         * text2.C (init): update counters after init
11079         (insertParagraph): no need to set counter on idividual paragraphs.
11080         (setCounter): access the counters object in the textclass object
11081         on in the buffer object.
11082         (updateCounters): ditto
11083
11084         * lyxtextclass.C: include counters.h, add variable ctrs_ as
11085         shared_ptr<Counters> to avoid loading counters.h in all
11086         compilation units.
11087         (LyXTextClass): initialize ctrs_
11088         (TextClassTags): add TC_COUNTER, and ...
11089         (Read): use it here.
11090         (CounterTags): new tags
11091         (readCounter): new function
11092         (counters): new funtion
11093         (defaultLayoutName): return a const reference
11094
11095         * counters.C (Counters): remove contructor
11096         (newCounter): remove a couple of unneeded statements.
11097         (newCounter): simplify a bit.
11098         (numberLabel): some small formatting changes.
11099
11100         * buffer.[Ch]: remove all traces of counters, move the Counters
11101         object to the LyXTextClass.
11102
11103 2002-09-06  Alain Castera  <castera@in2p3.fr>
11104
11105         * tabular.C: uses \tabularnewline; uses >{...} construct from array
11106         package to set the horizontal alignment on fixed width columns.
11107
11108         * lyx_sty.C:
11109         * lyx_sty.h: added tabularnewline macro def.
11110
11111         * LaTeXFeatures.C: added NeedTabularnewline macro feature
11112
11113 2002-09-06  John Levon  <levon@movementarian.org>
11114
11115         * LyXAction.C: tooltips for sub/superscript
11116
11117         * MenuBackend.C: a bit more verbose
11118
11119         * lyxfunc.C: tiny clean
11120
11121         * undo_funcs.C: document undo_frozen
11122
11123 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
11124
11125         * counters.C (Counters): add missing algorithm counter.
11126
11127         * text2.C (setCounter): lookup the counter with layouts latexname
11128         instead of by section number.
11129         (setCounter): use a hackish way to lookup the correct enum
11130         counter.
11131         a float name->type change
11132         reset enum couners with counter name directly instead of depth value.
11133
11134         * counters.C (Counters): remove the push_backs, change to use the
11135         float type not the float name.
11136         (labelItem): remove unused string, float name->type change
11137
11138         * counters.h: don't include vector, loose the enums and sects vectors
11139
11140 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
11141
11142         * lyxtextclass.C (TextClassTags): add TC_FLOAT
11143         (Read): add float->TC_FLOAT to textclassTags
11144         (Read): and handle it in the switch
11145         (readFloat): new function
11146
11147         * FloatList.C (FloatList): comment out the hardcoded float
11148         definitions.
11149
11150         * lyxlayout.h: ws change.
11151
11152 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
11153
11154         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
11155
11156 2002-09-03  Angus Leeming  <leeming@lyx.org>
11157
11158         * BufferView_pimpl.h: qualified name is not allowed in member
11159         declaration: WorkArea & Pimpl::workarea() const;
11160
11161         * factory.C: added using std::endl directive.
11162
11163         * text3.C: added using std::find and std::vector directives.
11164
11165 2002-08-29  André Pönitz <poenitz@gmx.net>
11166
11167         * lyxtext.h:
11168         * text2.C: remove unused member number_of_rows
11169
11170         * Makefile.am:
11171         * BufferView2.C: remove file, move contents to...
11172         * BufferView.C: ... here
11173
11174         * BufferView_pimpl.C:
11175         * factory.C: move more inset creation to factory
11176
11177         * vspace.C: avoid direct usage of LyXText, ws changes
11178
11179         * BufferView.[Ch]:
11180                 don't provide direct access to WorkArea, use two simple
11181                 acessors haveSelction() and workHeight() instead
11182
11183
11184 2002-08-29  John Levon  <levon@movementarian.org>
11185
11186         * BufferView_pimpl.C (dispatch): do not continue when
11187           no buffer
11188
11189 2002-08-28  André Pönitz <poenitz@gmx.net>
11190
11191         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
11192
11193         * BufferView.h:
11194         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
11195
11196 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
11197
11198         * buffer.C: increment LYX_FORMAT to 221
11199
11200         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
11201         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
11202
11203         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
11204
11205         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
11206
11207 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11208
11209         * factory.C (createInset): use LyXTextClass::floats
11210
11211         * MenuBackend.C (expandFloatListInsert):
11212         (expandFloatInsert):
11213         (expandToc):
11214
11215         * text2.C (setCounter):
11216
11217         * LaTeXFeatures.C (useFloat):
11218         (getFloatDefinitions):
11219
11220         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
11221
11222         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
11223         floatlist_, with accessor floats().
11224
11225         * FloatList.h: remove global FloatList
11226
11227 2002-08-26  André Pönitz <poenitz@gmx.net>
11228
11229         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
11230
11231         * BufferView.h:
11232         * BufferView2.C:
11233         * BufferView_pimpl.C:
11234         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
11235
11236 2002-08-25  John Levon  <levon@movementarian.org>
11237
11238         * LyXAction.C: fix margin note description
11239
11240 2002-08-24  John Levon  <levon@movementarian.org>
11241
11242         * buffer.C:
11243         * bufferlist.C:
11244         * bufferview_funcs.C:
11245         * lyxfont.C:
11246         * undo_funcs.C: cleanups
11247
11248         * lyxfunc.C: disable CUT/COPY when no selection
11249
11250 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
11251
11252         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11253         in "enum UNIT"; e.g. PTW for Percent of TextWidth
11254
11255         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11256         Add backward compatibility to "mono", "gray" and "no".
11257
11258 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
11259
11260         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11261         (and file_format >= 200).
11262
11263 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11264
11265         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11266
11267 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11268
11269         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11270
11271 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
11272
11273         * BufferView_pimpl.C:
11274         * LyXAction.C:
11275         * buffer.C:
11276         * commandtags.h:
11277         * lyxfunc.C:
11278         * paragraph.[Ch]:
11279         * text2.C:
11280         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11281         inset and code to make it  work with the paragraph code. The inset
11282         can be anywhere in the paragraph, but will only do the expected
11283         thing in LaTeX if the layout file contains the parameter line
11284                         OptionalArgs    1
11285         (or more generally, a nonzero value) for that layout.
11286
11287 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
11288
11289         * paragraph.h: remove the declaration of undefined counters class
11290         function.
11291
11292 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
11293
11294         * text2.C (setCounter):  fixed enumeration mis-count as reported by
11295         Dr. Richard Hawkins.
11296
11297 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11298
11299         * paragraph_funcs.h: remove some unneeded includes
11300
11301         * text.C (backspace): pasteParagraph now in global scipe
11302
11303         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11304         (pasteSelection): ditto
11305
11306         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11307         * paragraph_funcs.C (pasteParagraph): ... here
11308
11309 2002-08-20  André Pönitz <poenitz@gmx.net>
11310
11311         * commandtags.h: new LFUNs for swapping/copying table row/colums
11312
11313         * LyXAction.C:
11314         * lyxfunc.C: support for new lfuns
11315
11316 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
11317
11318         * tabular.C:
11319         * buffer.[Ch]: remove NO_COMPABILITY stuff
11320
11321 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
11322
11323         * boost.C (throw_exception): new file, with helper function for
11324         boost compiled without exceptions.
11325
11326         * paragraph.h:
11327         * lyxlength.C:
11328         * buffer.C:
11329         * ParameterStruct.h:
11330         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11331
11332         * bufferlist.C (emergencyWriteAll): use boost bind
11333
11334         * BufferView_pimpl.C (moveCursorUpdate): remove inline
11335
11336         * text.C: include paragraph_funcs.h
11337         (breakParagraph): breakParagraph is now in global scope
11338
11339         * paragraph_funcs.[Ch]: new files
11340
11341         * paragraph.C (breakParagraph,breakParagraphConservative): move to
11342         global scope
11343
11344         * buffer.C: include paragraph_funcs.h
11345         (insertStringAsLines): breakParagraph is now in global scope
11346
11347         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11348         paragraph_funcs.C
11349
11350         * CutAndPaste.C: include paragraph_funcs.h
11351         (cutSelection): breakParagraphConservative is now in global scope
11352         (pasteSelection): ditto
11353
11354         * buffer.h: declare oprator== and operator!= for
11355         Buffer::inset_iterator
11356
11357         * bufferlist.C (emergencyWrite): don't use fmt(...)
11358
11359         * text3.C: add using std::endl
11360
11361         * BufferView.C (moveCursorUpdate): remove default arg
11362
11363 2002-08-20  André Pönitz <poenitz@gmx.net>
11364
11365         * buffer.[Ch]: move inline functions to .C
11366
11367         * BufferView2.C:
11368         * BufferView_pimpl.C:
11369         * text.C:
11370         * buffer.[Ch]: use improved inset_iterator
11371
11372         * buffer.C:
11373         * paragraph.[Ch]: write one paragraph at a time
11374
11375 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11376
11377         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11378         style if style is not specified.
11379
11380 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11381
11382         * text2.C (setCounter): when searching for right label for a
11383         caption, make sure to recurse to parent insets (so that a caption
11384         in a minipage in a figure float works) (bug #568)
11385
11386 2002-08-20  André Pönitz <poenitz@gmx.net>
11387
11388         * text3.C: new file for LyXText::dispatch() and helpers
11389
11390         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11391
11392         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11393
11394 2002-08-19  André Pönitz <poenitz@gmx.net>
11395
11396         * lyxtext.h:
11397         * text.C: new LyXText::dispatch()
11398
11399         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11400
11401 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
11402
11403         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11404
11405         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11406         Hebrew text.
11407
11408 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11409
11410         * Makefile.am: use $(variables) instead of @substitutions@
11411
11412 2002-08-15  André Pönitz <poenitz@gmx.net>
11413
11414         * lyxfunc.C:
11415         * BufferView_pimpl.C: streamlining mathed <-> outer world
11416         interaction
11417
11418         * commandtags.h:
11419         * LyXAction.C: remove unused LFUN_MATH
11420
11421 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11422
11423         * paragraph.[Ch]: add some NO_NEXT ifdefs.
11424
11425 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11426
11427         * paragraph.C (Paragraph): reformat a bit
11428         (cutIntoMinibuffer): use builtin InsetList function instad of
11429         doing it manually.
11430         (getInset): ditto
11431
11432         * buffer.C: include boost/bind.hpp, add using std::for_each
11433         (writeFileAscii): use ParagraphList iterators
11434         (validate): use for_each for validate traversal of paragraphs
11435         (getBibkeyList): use ParagraphList iterators
11436         (resizeInsets): use for_each to resizeInsetsLyXText for all
11437         paragraphs.
11438         (getParFromID): use ParagraphList iterators
11439
11440         * BufferView2.C (lockInset): use paragraph list and iterators
11441
11442 2002-08-14  John Levon  <levon@movementarian.org>
11443
11444         * lyxserver.C: remove spurious xforms include
11445
11446 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11447
11448         * lyxfunc.C (getStatus): disable math-extern outside of math mode
11449
11450 2002-08-13  André Pönitz <poenitz@gmx.net>
11451
11452         * LyXAction.[Ch]:
11453         * lyxfunc.C: further cleaning
11454
11455 2002-08-13  André Pönitz <poenitz@gmx.net>
11456
11457         * funcrequest.h: new constructor
11458
11459         * funcrequest.C: move stuff here from .h
11460
11461         * Makefile.am:
11462         * BufferView_pimpl.C:
11463         * LyXAction.C:
11464         * toc.C:
11465         * lyxfunc.C: subsequent changes
11466
11467         * lyxfunc.h: new view() member function
11468
11469         * lyxfunc.C: subsequent changes
11470
11471 2002-08-13  Angus Leeming  <leeming@lyx.org>
11472
11473         * BufferView2.C:
11474         * BufferView_pimpl.C:
11475         * buffer.C:
11476         * converter.C:
11477         * importer.C:
11478         * lyxfunc.C:
11479         * lyxvc.C:
11480         * toc.C:
11481         * vc-backend.C:
11482         changes due to the changed LyXView interface that now returns references
11483         to member variables not pointers.
11484
11485 2002-08-13  Angus Leeming  <leeming@lyx.org>
11486
11487         * WordLangTuple (word, lang_code): return references to strings,
11488         not strings.
11489
11490         * BufferView.h:
11491         * SpellBase.h:
11492         * lyxtext.h: forward-declare WordLangTuple.
11493
11494         * BufferView2.C:
11495         * ispell.C:
11496         * pspell.C:
11497         * text.C: #include "WordLangTuple.h".
11498
11499         * lyxtext.h:
11500         * text.C: (selectNextWordToSpellcheck): constify return type.
11501
11502 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
11503
11504         * buffer.C:
11505         * buffer.h:
11506         * lyxtext.h:
11507         * paragraph.C:
11508         * paragraph_pimpl.h:
11509         * text.C:
11510         * text2.C:
11511         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11512         suggested by Angus.
11513         Made updateCounter always count from start of buffer, and removed
11514         second argument (par).
11515         Reverted floats number display to '#'. Perhaps I'll try again when the
11516         code base is sanitized a bit.
11517
11518 2002-08-12  Angus Leeming  <leeming@lyx.org>
11519
11520         * buffer.[Ch] (getLabelList): constify.
11521
11522 2002-08-07  André Pönitz <poenitz@gmx.net>
11523
11524         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11525
11526         * funcrequest.h: extension to keep mouse (x,y) position
11527
11528 2002-08-12  Juergen Vigna  <jug@sad.it>
11529
11530         * BufferView2.C (insertErrors): forbid undo when inserting error
11531         insets.
11532
11533         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11534
11535 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
11536
11537         * ParagraphList.[Ch]: new files
11538
11539         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11540
11541         * BufferView2.C (lockInset): ParagraphList changes
11542         * toc.C: ditto
11543         * text2.C: ditto
11544         * bufferlist.C: ditto
11545         * buffer.h: ditto
11546         * buffer.C: ditto
11547
11548 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11549
11550         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11551         unused class variable counter_,
11552
11553         * paragraph.[Ch] (getFirstCounter): delete unused function
11554
11555         * counters.C: include LAssert.h
11556         (reset): add a new function with no arg, change other version to
11557         not have def. arg and to not allow empty arg.
11558
11559         * text2.C (setCounter): remove empty arg from call to Counters::reset
11560
11561 2002-08-11  John Levon  <levon@movementarian.org>
11562
11563         * Makefile.am: add WordLangTuple.h
11564
11565 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11566
11567         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11568         lyxfunc.C lyxlex_pimpl.C: ws changes only.
11569
11570         * insets/insettext.C: InsetList changes
11571
11572         * graphics/GraphicsSupport.C (operator()): InsetList changes
11573
11574         * toc.C (getTocList): InsetList changes
11575
11576         * paragraph_pimpl.[Ch]: InsetList changes
11577
11578         * paragraph.[Ch]: InsetList changes
11579
11580         * buffer.C (inset_iterator): InsetList changes
11581         (setParagraph): ditto
11582         * buffer.h (inset_iterator): ditto
11583         * iterators.C (operator++): ditto
11584         * iterators.h: ditto
11585
11586         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11587
11588         * InsetList.[Ch]: new files, most InsetList handling moved out of
11589         paragraph.C.
11590
11591         * BufferView2.C (removeAutoInsets): InsetList changes
11592         (lockInset): ditto
11593         (ChangeInsets): ditto
11594
11595 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
11596
11597         * paragraph_pimpl.h (empty): new function
11598
11599         * paragraph.[Ch] (empty): new function
11600
11601         * other files: use the new Paragraph::empty function
11602
11603 2002-08-09  John Levon  <levon@movementarian.org>
11604
11605         * lyxtext.h: remove unused refresh_height
11606
11607 2002-08-09  John Levon  <levon@movementarian.org>
11608
11609         * Makefile.am:
11610         * sgml.h:
11611         * sgml.C:
11612         * buffer.C:
11613         * paragraph.h:
11614         * paragraph.C: move sgml char escaping out of paragraph
11615
11616         * paragraph.h:
11617         * paragraph.C: remove id setter
11618
11619         * buffer.C:
11620         * paragraph.C:
11621         * paragraph_pimpl.C: remove dead tex_code_break_column
11622
11623         * bufferview_funcs.C: small cleanup
11624
11625         * lyxfunc.C: remove dead proto
11626
11627         * lyxtext.h: make some stuff private. Remove some dead stuff.
11628
11629         * lyxgluelength.C: make as[LyX]String() readable
11630
11631 2002-08-08  John Levon  <levon@movementarian.org>
11632
11633         * LyXAction.h:
11634         * LyXAction.C:
11635         * MenuBackend.C:
11636         * ToolbarDefaults.C:
11637         * lyxfunc.C:
11638         * lyxrc.C:
11639         * toc.C: lyxaction cleanup
11640
11641 2002-08-08  John Levon  <levon@movementarian.org>
11642
11643         * BufferView2.C: small cleanup
11644
11645         * lyxfind.h:
11646         * lyxfind.C: move unnecessary header into the .C
11647
11648 2002-08-08  John Levon  <levon@movementarian.org>
11649
11650         * funcrequest.h: just tedious nonsense
11651
11652         * lyx_main.h:
11653         * lyx_main.C: cleanups
11654
11655         * buffer.C:
11656         * vspace.C: remove dead header lyx_main.h
11657
11658 2002-08-07  Angus Leeming  <leeming@lyx.org>
11659
11660         * Paragraph.[Ch]:
11661         * paragraph_pimpl.h:
11662         Forward declare class Counters in paragraph.h by moving the ctrs member
11663         variable into Paragraph::Pimpl.
11664         (counters): new method, returning a reference to pimpl_->ctrs.
11665
11666         * text2.C: ensuing changes.
11667
11668 2002-08-07  John Levon  <levon@movementarian.org>
11669
11670         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11671
11672         * BufferView_pimpl.C: announce X selection on double/triple
11673           click
11674
11675         * lyx_main.C: use correct bool in batch dispatch
11676
11677         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11678
11679 2002-08-07  André Pönitz <poenitz@gmx.net>
11680
11681         * funcrequest.h: new class to wrap a kb_action and its argument
11682
11683         * BufferView.[Ch]:
11684         * BufferView_pimpl[Ch]:
11685         * LaTeX.C:
11686         * LyXAction.[Ch]:
11687         * lyxfunc.[Ch]:
11688         * lyxrc.C: subsequent changes
11689
11690
11691 2002-08-07  John Levon  <levon@movementarian.org>
11692
11693         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11694           document options change.
11695
11696 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
11697
11698         * counters.[Ch]
11699         * text2.C
11700         * paragraph.[Ch]
11701         * makefile.am: move counters functionality over from
11702         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11703
11704 2002-08-06  John Levon  <levon@movementarian.org>
11705
11706         * WordLangTuple.h: new file for word + language code tuple
11707
11708         * SpellBase.h:
11709         * pspell.h:
11710         * pspell.C:
11711         * ispell.h:
11712         * ispell.C:
11713         * lyxtext.h:
11714         * text.C:
11715         * text2.C:
11716         * BufferView.h:
11717         * BufferView2.C: use WordLangTuple
11718
11719         * layout.h:
11720         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11721
11722 2002-08-06  John Levon  <levon@movementarian.org>
11723
11724         * lyx_main.C: fix cmdline batch handling
11725
11726 2002-08-06  André Pönitz <poenitz@gmx.net>
11727
11728         * lyxrc.C: set default for show_banner to true
11729
11730 2002-08-06  John Levon  <levon@movementarian.org>
11731
11732         * pspell.C: fix a crash, and allow new aspell to work
11733
11734 2002-08-06  John Levon  <levon@movementarian.org>
11735
11736         * lyxfunc.C:
11737         * kbmap.C: small cleanup
11738
11739         * vspace.h:
11740         * vspace.C: add const
11741
11742 2002-08-05  John Levon  <levon@movementarian.org>
11743
11744         * LyXAction.C: back to tabular-insert
11745
11746 2002-08-04  John Levon  <levon@movementarian.org>
11747
11748         * BufferView.h:
11749         * BufferView.C: cosmetic change
11750
11751         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11752
11753         * bufferlist.C:
11754         * buffer.h:
11755         * buffer.C:
11756         * lyxcb.h:
11757         * lyxcb.C:
11758         * lyxserver.C:
11759         * lyxvc.C:
11760         * vc-backend.C:
11761         * BufferView2.C: purge all "Lyx" not "LyX" strings
11762
11763         * lyxcursor.h:
11764         * lyxcursor.C: attempt to add some documentation
11765
11766         * lyxfunc.C:
11767         * commandtags.h:
11768         * LyXAction.C:
11769         * ToolbarDefaults.C:
11770         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11771           merge with LFUN_TABULAR_INSERT
11772
11773         * Makefile.am:
11774         * SpellBase.h:
11775         * ispell.h:
11776         * ispell.C:
11777         * pspell.h:
11778         * pspell.C: split up i/pspell implementations into separate
11779           files, many cleanups
11780
11781         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11782
11783         * text2.C: some cleanup
11784
11785         * lyxfunc.C: don't check for isp_command == "none" any more, it
11786           didn't make any sense
11787
11788 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
11789
11790         * counters.[Ch]
11791         * text2.C
11792         * paragraph.[Ch]
11793         * makefile.am: move counters functionality over
11794         from text2.C/paragraph.[Ch] to counters.[Ch], and
11795         make proper C++.
11796 2002-08-02  John Levon  <levon@movementarian.org>
11797
11798         * buffer.C: s/lyxconvert/lyx2lyx/
11799
11800 2002-08-02  Angus Leeming  <leeming@lyx.org>
11801
11802         * lyxlex.C: revert John's change as it breaks reading of the user
11803         preamble.
11804
11805 2002-08-02  Angus Leeming  <leeming@lyx.org>
11806
11807         * importer.C (Import):
11808         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11809         changes due to LyXView::view() now returning a boost::shared_ptr.
11810
11811 2002-08-02  John Levon  <levon@movementarian.org>
11812
11813         * lyxlex.C: small cleanup
11814
11815 2002-08-02  John Levon  <levon@movementarian.org>
11816
11817         * text2.C (status): small cleanup, no logic change
11818
11819 2002-08-01  John Levon  <levon@movementarian.org>
11820
11821         * buffer.h:
11822         * buffer.C (writeFile): don't output alerts, caller
11823           handles this
11824
11825         * bufferlist.C:
11826         * lyx_cb.C: from above
11827
11828         * lyxfunc.C: allow to open non-existent files
11829
11830 2002-07-31  John Levon  <levon@movementarian.org>
11831
11832         * lyxserver.C: don't let incidental errors get
11833           in the way (errno)
11834
11835 2002-07-30  John Levon  <levon@movementarian.org>
11836
11837         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11838
11839 2002-07-30  John Levon  <levon@movementarian.org>
11840
11841         * lyxserver.h:
11842         * lyxserver.C: remove I/O callback too
11843
11844 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11845
11846         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11847         log.
11848
11849 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
11850
11851         * many files: strip,frontStrip -> trim,ltrim,rtrim
11852
11853 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
11854
11855         * PrinterParams.h: remove extern containsOnly, and include
11856         support/lstrings.h instead.
11857
11858         * LaTeX.C (scanAuxFile): modify because of strip changes
11859         (deplog): ditto
11860         * buffer.C (makeLaTeXFile): ditto
11861         * bufferparams.C (writeFile): ditt
11862         * lyxfont.C (stateText): ditto
11863         * lyxserver.C (read_ready): ditto
11864         * vc-backend.C (scanMaster): ditto
11865
11866         * BufferView_pimpl.h: ws changes
11867
11868         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11869
11870 2002-07-26  André Pönitz <poenitz@gmx.net>
11871
11872         * kb_sequence.C: remove unnedred usings
11873
11874 2002-07-26  Juergen Vigna  <jug@sad.it>
11875
11876         * lyxfind.C (LyXReplace): we have to check better if the returned
11877         text is not of theLockingInset()->getLockingInset().
11878
11879 2002-07-25  Juergen Vigna  <jug@sad.it>
11880
11881         * lyxfind.C (LyXReplace): don't replace if we don't get the
11882         right LyXText.
11883
11884         * undo_funcs.C (createUndo): remove debugging code.
11885
11886 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
11887
11888         * buffer.C (parseSingleLyXformat2Token): Use default placement
11889         when reading old floats.
11890
11891         * FloatList.C (FloatList): Change the default placement of figure
11892         and tables to "tbp".
11893
11894 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
11895
11896         * MenuBackend.C: using std::max
11897
11898 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11899
11900         * MenuBackend.C (expandToc):
11901         (expandToc2): code moved from xforms menu frontend. It is now
11902         generic and TOCs are transparent to menu frontends.
11903
11904 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11905
11906         * toc.C (getTocList): protect against buf=0
11907
11908         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11909         Menu as first parameter. Now, this calls itself recursively to
11910         expand a whole tree (this will be useful for TOC handling)
11911         (expandFloatInsert): remove 'wide' version of floats
11912
11913         * MenuBackend.h (submenuname): returns the name of the submenu.
11914         (submenu): returns the submenu itself, provided it has been
11915         created by MenuBackend::expand
11916
11917 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11918
11919         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11920         insets which have noFontChange == true. (bug #172)
11921
11922 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11923
11924         * BufferView_pimpl.C: add connection objects and use them...
11925         (Pimpl): here.
11926
11927 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11928
11929         * MenuBackend.C (expandLastfiles):
11930         (expandDocuments):
11931         (expandFormats):
11932         (expandFloatListInsert):
11933         (expandFloatInsert):
11934         (expand): split expand in parts
11935
11936 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11937
11938         * lyx_gui.C: use lyx_gui::exit()
11939
11940 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11941
11942         * LyXAction.C: show the failing pseudo action
11943
11944 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
11945
11946         * buffer.C (readFile): Run the lyxconvert script in order to read
11947         old files.
11948
11949 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11950
11951         * LyXAction.C:
11952         * commandtags.h:
11953         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11954
11955 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11956
11957         * LyXAction.C:
11958         * commandtags.h:
11959         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11960
11961 2002-07-22  Herbert Voss  <voss@lyx.org>
11962
11963         * lengthcommon.C:
11964         * lyxlength.[Ch]: add support for the vertical lengths
11965
11966 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
11967
11968         * toc.[Ch]: std:: fixes
11969
11970 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11971
11972         * lyxrc.C: do not include lyx_main.h
11973
11974         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11975         for layouts
11976
11977         * lyxrc.C:
11978         * encoding.C:
11979         * bufferlist.C:
11980         * BufferView2.C: include "lyxlex.h"
11981
11982         * tabular.h:
11983         * bufferparams.h: do not #include "lyxlex.h"
11984
11985         * lyxtextclasslist.C (Add): remove method
11986         (classlist): renamed to classlist_
11987
11988         * paragraph_pimpl.C:
11989         * paragraph.C:
11990         * text2.C:
11991         * CutAndPaste.C:
11992         * bufferview_funcs.C:
11993         * bufferlist.C:
11994         * text.C:
11995         * LaTeXFeatures.C:
11996         * buffer.C:
11997         * toc.C (getTocList): use BufferParams::getLyXTextClass
11998
11999         * toc.C (getTocList): use InsetFloat::addToToc
12000
12001         * toc.[Ch]: new files, containing helper functions to handle table
12002         of contents
12003
12004         * lyxfunc.C (dispatch): no need to remove spaces around command
12005         given as a string
12006         (getStatus): handle LFUN_SEQUENCE by returning the status of the
12007         first command of the sequence; it is not very clever, but I do not
12008         have a better idea, actually
12009
12010         * LyXAction.C (LookupFunc): make sure to remove space at the
12011         beginning and end of the command
12012
12013 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12014
12015         * MenuBackend.C (getMenubar): new method: return the menubar of
12016         this menu set
12017         (read): treat differently reading of menu and menubar (in
12018         particular, the menubar has no name now)
12019         (Menu::menubar): remove
12020
12021         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
12022         saving is finished
12023
12024 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
12025
12026         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
12027         a bibitem inset in a RTL paragraph.
12028
12029 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
12030
12031         * paragraph_pimpl.C: constify
12032
12033         * BufferView_pimpl.C:
12034         * LaTeX.C:
12035         * lyxfunc.C: fix dispatch in a nicer way
12036
12037 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12038
12039         * lyxfunc.C (dispatch):
12040         * BufferView_pimpl.C:
12041         * BufferView_pimpl.h:
12042         * BufferView.C:
12043         * BufferView.h: rename Dispatch() to dispatch()
12044
12045         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
12046
12047         * lyxlayout.C (Read): honor DependsOn tag
12048
12049         * lyxlayout.[Ch] (depends_on): new method
12050
12051         * version.C.in: update lyx_docversion
12052
12053         * LaTeXFeatures.C (getMacros): only define \LyX when needed
12054
12055         * paragraph.C (validate): remove from here...
12056         * paragraph_pimpl.C (validate): ... and move here
12057         (isTextAt): make it const
12058
12059         * buffer.C (getLists): ws cleanup
12060
12061 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
12062
12063         * language.C (read): Use iso8859-1 encoding in latex_lang
12064         (this prevents LyX from crashing when using iso10646-1 encoding).
12065
12066 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12067
12068         * text2.C (toggleInset): if cursor is inside an inset, close the
12069         inset and leave cursor _after_ it
12070
12071 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
12072
12073         * lyxfunc.C: move minibuffer completion handling out of here
12074
12075 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
12076
12077         * BufferView_pimpl.C:
12078         * LaTeX.C: fix dispatch calls
12079
12080 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
12081
12082         * text.C (drawChars): Fix Arabic text rendering.
12083
12084 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
12085
12086         * LyXAction.C:
12087         * commandtags.h:
12088         * lyxfunc.C: remove message-push/pop
12089
12090         * lyxserver.C:
12091         * lyxfunc.h:
12092         * lyxfunc.C: rationalise some code by removing verboseDispatch
12093           in favour of a bool argument to dispatch()
12094
12095 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12096
12097         * lyx_main.C (init): make sure to read symlinks as absolute paths
12098
12099 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12100
12101         * lyxfunc.h:
12102         * lyxfunc.C: no need for commandshortcut to be a member
12103
12104 2002-07-15  André Pönitz <poenitz@gmx.net>
12105
12106         * converter.C: add support for $$s (scripts from lib/scripts dir)
12107         * lyx_main.C: white space
12108
12109 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12110
12111         * bufferlist.C:
12112         * lyxrc.h:
12113         * lyxrc.C: remove second exit confirmation
12114
12115 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12116
12117         * BufferView.h:
12118         * BufferView.C:
12119         * BufferView2.C:
12120         * BufferView_pimpl.h:
12121         * BufferView_pimpl.C:
12122         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
12123
12124 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12125
12126         * MenuBackend.C (expand): add numeric shortcuts to document menu
12127
12128         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
12129
12130 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12131
12132         * lyxfont.C (setLyXFamily):
12133         (setLyXSeries):
12134         (setLyXShape):
12135         (setLyXSize):
12136         (setLyXMisc):
12137         (lyxRead):
12138         * debug.C (value):
12139         * buffer.C (asciiParagraph): use ascii_lowercase
12140
12141 2002-07-15  Mike Fabian  <mfabian@suse.de>
12142
12143         * lyxlex_pimpl.C (search_kw):
12144         * lyxlex.C (getLongString):
12145         * converter.h (operator<):
12146         * converter.C (operator<):
12147         * buffer.C (parseSingleLyXformat2Token):
12148         (asciiParagraph):
12149         * ToolbarDefaults.C (read):
12150         * MenuBackend.C (checkShortcuts):
12151         (read):
12152         * LColor.C (getFromGUIName):
12153         (getFromLyXName): use the compare_ascii_no_case instead of
12154         compare_no_case, because in turkish, 'i' is not the lowercase
12155         version of 'I', and thus turkish locale breaks parsing of tags.
12156
12157 2002-07-16  Angus Leeming  <leeming@lyx.org>
12158
12159         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
12160         now takes a Buffer const & argument.
12161
12162 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
12163
12164         * BufferView.C (resize): check there's a buffer to resize
12165
12166 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
12167
12168         * lyxfunc.C: remove dead code
12169
12170         * lyxserver.h:
12171         * lyxserver.C: use lyx_guii::set_read_callback
12172
12173 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12174
12175         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
12176         an inset in a RTL paragraph.
12177
12178 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12179
12180         * lyxfunc.C: repaint after a font size update
12181
12182 2002-07-15  André Pönitz <poenitz@gmx.net>
12183
12184         * lyxlength.C: inBP should be able to return negative values
12185
12186 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12187
12188         * lyxfunc.C: use lyx_gui::update_fonts()
12189
12190 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12191
12192         * lyxfunc.C: use lyx_gui::update_color()
12193
12194 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
12195
12196         * bufferlist.C:
12197         * lyxfunc.h:
12198         * lyxfunc.C:
12199         * lyxrc.h:
12200         * lyxrc.C: remove file->new asks for name option, and let
12201           buffer-new take an argument
12202
12203 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
12204
12205         * BufferView_pimpl.C: remove unneeded extra repaint()
12206
12207 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
12208
12209         * LyXAction.C: allow command-sequence with NoBuffer
12210
12211         * lyxfunc.C: don't insist on trailing ';' for command-sequence
12212
12213 2002-07-10  Angus Leeming  <leeming@lyx.org>
12214
12215         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
12216
12217 2002-07-09  Angus Leeming  <leeming@lyx.org>
12218
12219         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
12220
12221 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12222
12223         * lengthcommon.h: whitespace
12224
12225         * lyxfunc.C: update scrollbar after goto paragraph
12226
12227         * lyxtext.h: factor out page break drawing, and fix it so
12228           page break/added space paints as selected nicely
12229
12230 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12231
12232         * BufferView_pimpl.C: add FIXMEs, clean up a little
12233
12234 2002-07-09  André Pönitz <poenitz@gmx.net>
12235
12236         * lyxfont.[Ch]: support for wasy symbols
12237
12238 2002-07-08  André Pönitz <poenitz@gmx.net>
12239
12240         * BufferView_pimpl.C: apply John's patch for #93.
12241
12242 2002-07-05  Angus Leeming  <leeming@lyx.org>
12243
12244         * BufferView_pimpl.C (buffer): generate previews if desired.
12245
12246         * LColor.h: add "preview" to the color enum.
12247
12248         * LColor.C (LColor): add a corresponding entry to the items array.
12249
12250         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12251         with this buffer.
12252
12253 2002-07-05  Angus Leeming  <leeming@lyx.org>
12254
12255         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12256         The body of the code is now in the method that is passed an ostream &
12257         rather than a file name.
12258         Pass an additional only_preamble parameter, useful for the forthcoming
12259         preview stuff.
12260
12261 2002-07-03  André Pönitz <poenitz@gmx.net>
12262
12263         * lyxfunc.C: simplify getStatus() a bit for math stuff
12264
12265 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12266
12267         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12268
12269 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12270
12271         * text.C (changeRegionCase): do not change case of all the
12272         document when region ends at paragraph end (bug #461)
12273
12274 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12275
12276         * paragraph.C (startTeXParParams):
12277         (endTeXParParams): add \protect when necessary
12278
12279 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12280
12281         * BufferView_pimpl.C (workAreaExpose): remove warning
12282
12283 2002-06-27  Angus Leeming  <leeming@lyx.org>
12284
12285         * Makefile.am: add lyxlayout_ptr_fwd.h.
12286
12287 2002-06-26  André Pönitz <poenitz@gmx.net>
12288
12289         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12290
12291 2002-06-25  Angus Leeming  <leeming@lyx.org>
12292
12293         * lyxfunc.C (dispatch): Comment out the call to
12294         grfx::GCache::changeDisplay. The method no longer exists now that the
12295         pixmap generation part of the graphics loader has been moved into
12296         InsetGraphics.
12297
12298 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12299
12300         * text2.C: layout as layout
12301
12302         * text.C: layout as layout
12303
12304         * tabular.C (OldFormatRead): layout as layout
12305
12306         * paragraph_pimpl.C (TeXDeeper): layout as layout
12307         (realizeFont): layout as layout
12308
12309         * paragraph.C (writeFile): layout as layout
12310         (validate): layout as layout
12311         (getFont): layout as layout
12312         (getLabelFont): layout as layout
12313         (getLayoutFont): layout as layout
12314         (breakParagraph): layout as layout
12315         (stripLeadingSpaces): layout as layout
12316         (getEndLabel): layout as layout
12317         (getMaxDepthAfter): layout as layout
12318         (applyLayout): layout as layout
12319         (TeXOnePar): layout as layout
12320         (simpleTeXOnePar): layout as layout
12321         (TeXEnvironment): layout as layout
12322         (layout): layout as layout
12323         (layout): layout as layout
12324
12325         * lyxtextclass.C (compare_name): new functor to work with
12326         shared_ptr, layout as layout
12327         (Read): layout as layout
12328         (hasLayout): layout as layout
12329         (operator): layout as layout
12330         (delete_layout): layout as layout
12331         (defaultLayout): layout as layout
12332
12333         * lyxlayout_ptr_fwd.h: new file
12334
12335         * lyxlayout.C (Read): layout as layout
12336
12337         * lyx_cb.C (MenuInsertLabel): layout as layout
12338
12339         * bufferlist.C (newFile): layout as layout
12340
12341         * buffer.C (readLyXformat2): layout as layout
12342         (parseSingleLyXformat2Token): layout as layout
12343         (insertStringAsLines): layout as layout
12344         (asciiParagraph): layout as layout
12345         (latexParagraphs): layout as layout
12346         (makeLinuxDocFile): layout as layout
12347         (simpleLinuxDocOnePar): layout as layout
12348         (makeDocBookFile): layout as layout
12349         (simpleDocBookOnePar): layout as layout
12350         (getLists): layout as layout
12351
12352         * LaTeXFeatures.C (getTClassPreamble): layout as layout
12353
12354         * CutAndPaste.C (cutSelection): layout as layout
12355         (pasteSelection): layout as layout
12356         (SwitchLayoutsBetweenClasses): layout as layout
12357
12358         * BufferView_pimpl.C (Dispatch): layout as layout
12359         (smartQuote): layout as layout
12360
12361         * BufferView2.C (unlockInset): layout as layout
12362
12363 2002-06-24  André Pönitz <poenitz@gmx.net>
12364
12365         * lyxfunc.C: fix #487
12366
12367 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12368
12369         * lyxrc.h:
12370         * lyxrc.C:
12371         * lyxfunc.C: remove display_shortcuts, show_banner
12372
12373 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12374
12375         * Buffer_pimpl.C: oops, update on resize
12376
12377 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12378
12379         * buffer.C:
12380         * converter.C:
12381         * exporter.C:
12382         * lyxfunc.C:
12383         * BufferView.h:
12384         * BufferView.C: use repaint()
12385
12386         * BufferView_pimpl.h:
12387         * BufferView_pimpl.C: s/updateScreen()/repaint()/
12388           as it's a clearer description. Remove superfluous
12389           redraws.
12390
12391 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12392
12393         * text.C: fix bug 488. Not ideal, but getting
12394           getWord() to work properly for the insets that
12395           matter is more difficult ...
12396
12397 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12398
12399         * BufferView_pimpl.C:
12400         * LyXAction.C:
12401         * commandtags.h:
12402         * lyxfunc.C: remove the six million index lyxfuncs to just
12403           one, and DTRT (bug 458)
12404
12405 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12406
12407         * BufferView.h:
12408         * BufferView.C:
12409         * BufferView_pimpl.h:
12410         * BufferView_pimpl.C: clean up resize() stuff,
12411           and unnecessary updateScreen()s
12412
12413 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12414
12415         * BufferView.h:
12416         * BufferView.C:
12417         * BufferView_pimpl.h:
12418         * BufferView_pimpl.C:
12419         * lyxfind.h:
12420         * lyxfind.C:
12421         * minibuffer.C: remove focus management of workarea,
12422           not needed. Use screen's greyOut()
12423
12424 2002-06-17  Herbert Voss  <voss@lyx.org>
12425
12426         * converter.C: (convert) do not post a message, when converting
12427         fails, let the calling function decide what to do in this case
12428
12429 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
12430
12431         * lyxfunc.C: tidy up a little
12432
12433 2002-06-16    <alstrup@diku.dk>
12434
12435         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12436         Got rid of FORMS_H_LOCATION include. Now we are
12437         GUII.
12438
12439 2002-06-15  LyX Development team  <lyx@rilke>
12440
12441         * buffer.[Ch] (sgmlOpenTag):
12442         (sgmlCloseTag): Added support for avoiding pernicious mixed
12443         content. Return number of lines written.
12444
12445         (makeLinuxDocFile):
12446         (makeDocBookFile): Fixed calls to sgml*Tag.
12447         Simple white space clean.
12448
12449         (simpleDocBookOnePar): Simple white space clean.
12450
12451         * tabular.[Ch] (docBook): Renamed to docbook and got another
12452         argument to related with the pernicious mixed content.
12453
12454         (docbookRow): Fixed calls for docbook inset method.
12455
12456 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
12457
12458         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12459         so it's X11 independent.
12460
12461         * kb*.[Ch]: ditto.
12462
12463         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12464
12465 2002-06-15  Lyx Development team  <lyx@electronia>
12466
12467         * intl.h: Renamed getTrans to getTransManager.
12468
12469 2002-06-14  Angus Leeming  <leeming@lyx.org>
12470
12471         * Makefile.am: nuke forgotten stl_string_fwd.h.
12472
12473 2002-06-12  Angus Leeming  <leeming@lyx.org>
12474
12475         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12476
12477 2002-06-13  Angus Leeming  <leeming@lyx.org>
12478
12479         * LaTeX.C:
12480         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12481
12482 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
12483
12484         * kbmap.C (getiso): add support for cyrillic and greek
12485
12486 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12487
12488         * BufferView.h:
12489         * BufferView.C:
12490         * BufferView_pimpl.h:
12491         * BufferView_pimpl.C: move bogus scrolling logic
12492           to xforms
12493
12494 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12495
12496         * lyxfunc.C:
12497         * BufferView_pimpl.C: view->resize() change
12498
12499 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12500
12501         * BufferView_pimpl.C: topCursorVisible
12502           prototype change
12503
12504 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12505
12506         * Makefile.am:
12507         * lyx_gui.h:
12508         * lyx_gui.C: move to frontends/
12509
12510         * main.C:
12511         * lyx_main.h:
12512         * lyx_main.C: changes from above
12513
12514 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12515
12516         * intl.C:
12517         * intl.h:
12518         * kbmap.C:
12519         * kbsequence.C:
12520         * lyx_cb.C:
12521         * lyx_main.C: minor tidy
12522
12523 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12524
12525         * BufferView_pimpl.h:
12526         * BufferView_pimpl.C:
12527         * BufferView.h:
12528         * BufferView.C: make painter() const,
12529           remove dead code
12530
12531         * BufferView2.C: use screen() accessor
12532
12533         * lyx_main.h:
12534         * lyx_main.C: some minor cleanup
12535
12536 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12537
12538         * BufferView_pimpl.h:
12539         * BufferView_pimpl.C: remove enter/leaveView,
12540           use workHeight()
12541
12542 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12543
12544         * BufferView.h:
12545         * BufferView.C:
12546         * BufferView2.C:
12547         * BufferView_pimpl.h:
12548         * BufferView_pimpl.C: only construct screen once,
12549           rename
12550
12551         * lyxrc.C: remove pointless comment
12552
12553 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12554
12555         * BufferView.h:
12556         * BufferView.C: remove active() and belowMouse()
12557
12558         * BufferView_pimpl.h:
12559         * BufferView_pimpl.C: use workarea() not workarea_,
12560           and make it use a scoped_ptr instead
12561
12562 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12563
12564         * lyx_gui.C: add debug message on BadWindow
12565
12566 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12567
12568         * sp_spell.C: fdopen is not part of the C++ standard.
12569
12570         * paragraph.C (InsetIterator): use >= instead of ==
12571
12572 2002-06-07  Angus Leeming  <leeming@lyx.org>
12573
12574         Fixes needed to compile with Compaq cxx 6.5.
12575         * BufferView_pimpl.C:
12576         * DepTable.C:
12577         * buffer.C:
12578         * converter.C:
12579         * encoding.C:
12580         * lyx_gui.C:
12581         * lyx_main.C:
12582         * lyxtextclasslist.C:
12583         * minibuffer.C:
12584         * sp_spell.C:
12585         * tabular_funcs.C:
12586         * vc-backend.C:
12587         all c-library variables have been moved into namespace std. Wrap
12588         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12589
12590         * lyxlength.C:
12591         * tabular-old.C:
12592         * tabular.C:
12593         Add a using std::abs declaration.
12594
12595         * kbmap.h (modifier_pair):
12596         * paragraph.h (InsetTable, InsetList):
12597         * lyxfont.h (FontBits):
12598         type definition made public.
12599
12600         * bufferlist.C (emergencyWriteAll): the compiler complains that
12601         there is more than one possible lyx::class_fun template to choose from.
12602         I re-named the void specialisation as lyx::void_class_fun.
12603
12604         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12605
12606         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12607         the compiler is is unable to find tostr in write_attribute.
12608
12609 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12610
12611         * buffer.C (sgmlError): hide #warning
12612
12613 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12614
12615         * xtl/*: get rid of xtl, which is not in use anyway
12616
12617         * LyXAction.C (init):
12618         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12619         were unimplemented xtl experimentation
12620
12621 2002-06-04  André Pönitz <poenitz@gmx.net>
12622
12623         * lyxfunc.C: disable array operation on simple formulae
12624
12625 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
12626
12627         * converter.C: constify a bit
12628
12629 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
12630
12631         * lyx_gui.C: check xforms version correctly
12632
12633 2002-04-30  Herbert Voss  <voss@lyx.org>
12634
12635         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12636         "keep" option
12637
12638 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
12639
12640         * lyxvc.C: fix bug 416 (make sure buffer is saved before
12641           attempt to register it with a VCS)
12642
12643 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12644
12645         * lyx_main.C (init): honor variables LYX_DIR_13x and
12646         LYX_USERDIR_13x
12647
12648 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12649
12650         * buffer.h:
12651         * buffer.C:
12652         * lyx_main.C: fix a crash on bad command line,
12653           and give a useful exit status on error
12654
12655         * lyxfunc.C (doImport): allow -i lyx to work
12656
12657 2002-03-30  André Pönitz <poenitz@gmx.net>
12658
12659         * lyxfunc.C: mathed font changes
12660
12661 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12662
12663         * LaTeX.C:
12664         * importer.h:
12665         * importer.C:
12666         * lyx_sty.h:
12667         * lyx_sty.C:
12668         * lyxlex.C:
12669         * lyxrow.h:
12670         * lyxtext.h:
12671         * paragraph.h:
12672         * paragraph.C:
12673         * texrow.h:
12674         * texrow.C:
12675         * text.C:
12676         * trans_mgr.h: srcdocs, and some minor cleanups
12677
12678 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12679
12680         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12681         call getFont all the time)
12682
12683 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12684
12685         * switch from SigC signals to boost::signals
12686
12687 2002-05-29  André Pönitz <poenitz@gmx.net>
12688
12689         * paragraph_pimpl.C (getChar): don't call size() too often...
12690
12691 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12692
12693         * paragraph_pimpl.C (insertChar): do not try to update tables when
12694         appending (pos == size())
12695
12696         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12697         in order to reduce drastically the number of comparisons needed to
12698         parse a large document
12699
12700 2002-05-29  André Pönitz <poenitz@gmx.net>
12701
12702         * text.C:
12703         * text2.C:
12704         * lyxtextclass.C:
12705         * sp_pspell.h:
12706         * textclasslist.[Ch]:
12707         * sp_ispell.h: whitespace change
12708
12709 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12710
12711         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12712         lyxaction directly now.
12713
12714 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
12715
12716         * trans.C:
12717         * lyxfont.C:
12718         * lyxvc.C: remove unused headers
12719
12720 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12721
12722         * Makefile.am:
12723         * buffer.h:
12724         * undostack.h:
12725         * undostack.C:
12726         * undo_funcs.h:
12727         * undo_funcs.C: some cleanups. Use shared_ptr
12728           and a template for the undo stacks.
12729
12730 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12731
12732         * BufferView_pimpl.h:
12733         * BufferView_pimpl.C:
12734         * kbmap.h:
12735         * kbmap.C:
12736         * kbsequence.h:
12737         * kbsequence.C:
12738         * lyxfunc.h:
12739         * lyxfunc.C:
12740         * text2.C: use key_state/mouse_state
12741
12742 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12743
12744         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12745         and LSubstring
12746
12747         * chset.C: change include order
12748         (loadFile): use boost regex and get rid of LRegex and LSubstring
12749
12750         * Makefile.am (BOOST_LIBS): new variable
12751         (lyx_LDADD): use it
12752
12753         * LaTeX.C: change include order.
12754         (scanAuxFile): use boost regex and get rid of LRegex and
12755         LSubstring
12756         (deplog): ditto
12757
12758 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12759
12760         * ColorHandler.h:
12761         * ColorHandler.C:
12762         * FontInfo.h:
12763         * FontInfo.C: moved to frontends/xforms/
12764
12765         * FontLoader.h:
12766         * FontLoader.C: moved into frontends for GUIIzation
12767
12768         * Makefile.am:
12769         * lyx_gui.C:
12770         * lyxfont.C:
12771         * lyxfunc.C: changes from above
12772
12773 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12774
12775         * LColor.C: remove spurious X include
12776
12777         * BufferView_pimpl.C:
12778         * Makefile.am:
12779         * font.h:
12780         * font.C:
12781         * text.C:
12782         * text2.C: move font metrics to frontends/
12783
12784 2002-05-24  Juergen Vigna  <jug@sad.it>
12785
12786         * undo_funcs.C (textHandleUndo): fix the cursor selection after
12787         setting the undo_cursor.
12788
12789         * ParagraphParameters.h: include local includes first.
12790
12791 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12792
12793         * BufferView_pimpl.C:
12794         * BufferView_pimpl.h:
12795         * Makefile.am:
12796         * WorkArea.h:
12797         * WorkArea.C:
12798         * screen.C: move WorkArea into frontends/
12799
12800         * lyxscreen.h:
12801         * screen.C:
12802         * text.C:
12803         * BufferView.C:
12804         * BufferView2.C: move LyXScreen into frontends/
12805
12806         * lyxlookup.h:
12807         * lyxlookup.C:
12808         * lyx_gui.C: move lyxlookup into frontends/xforms/
12809
12810 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12811
12812         * BufferView2.C:
12813         * BufferView_pimpl.C:
12814         * FontLoader.C:
12815         * LyXView.h:
12816         * LyXView.C:
12817         * Makefile.am:
12818         * WorkArea.C:
12819         * XFormsView.h:
12820         * XFormsView.C:
12821         * buffer.C:
12822         * bufferlist.C:
12823         * bufferview_funcs.C:
12824         * converter.C:
12825         * importer.C:
12826         * lyx_cb.C:
12827         * lyx_gui.C:
12828         * lyx_main.C:
12829         * lyx_find.C:
12830         * lyxfunc.C:
12831         * lyxvc.C:
12832         * minibuffer.C:
12833         * text.C:
12834         * text2.C:
12835         * trans.C:
12836         * vc-backend.C: move LyX/XFormsView into frontends/
12837
12838 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12839
12840         * Makefile.am:
12841         * PainterBase.C:
12842         * PainterBase.h:
12843         * Painter.C:
12844         * Painter.h:
12845         * WorkArea.C:
12846         * WorkArea.h:
12847         * screen.C:
12848         * tabular.C:
12849         * text.C:
12850         * text2.C: move Painter to frontends/
12851
12852 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12853
12854         * buffer.C: comment out some some code that depend upon lyx_format
12855         < 220
12856
12857         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12858         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12859
12860         * buffer.h (NO_COMPABILITY): turn off compability
12861
12862         * ColorHandler.C: include scoped_array.hpp
12863
12864         * font.C: Use more specific smart_ptr header.
12865         * Painter.C: ditto
12866         * gettext.C: ditto
12867         * ShareContainer.h: ditto
12868         * lyx_main.h: ditto
12869         * kbmap.h: ditto
12870         * FontInfo.h: ditto
12871         * BufferView_pimpl.h: ditto
12872         * ColorHandler.h: ditto
12873
12874         * kbmap.C (defkey): change call to shared_ptr::reset
12875
12876 2002-05-21  Juergen Vigna  <jug@sad.it>
12877
12878         * buffer.C (insertErtContents): fix to insert ert asis if it is
12879         non empty. Skip it completely if it contains only whitespaces.
12880
12881 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
12882
12883         * BufferView_pimpl.C:
12884         * BufferView2.C: clear selection on paste (bug 393)
12885
12886 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12887
12888         * DepTable.C: include ctime
12889
12890 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
12891
12892         * buffer.C (latexParagraphs): Add new argument (moving_arg).
12893
12894 2002-05-14  Juergen Vigna  <jug@sad.it>
12895
12896         * text.C (breakParagraph): fixed function to honor the keepempty
12897         layout in the right maner and also to permit the right breaking
12898         algorithm on empty or non empyt keepempty paragraphs.
12899
12900         * paragraph.C (breakParagraph): we have to check also if the par
12901         is really empty (!size()) for isempty otherwise we do the wrong
12902         paragraph break.
12903
12904 2002-05-10  Juergen Vigna  <jug@sad.it>
12905
12906         * buffer.[Ch] : The following are only changes to the ert
12907         compatibility read reading old LaTeX layout and font stuff and
12908         convert it to ERTInsets.
12909
12910         * buffer.h: added isErtInset().
12911
12912         * buffer.C (struct ErtComp): add a fromlayout bool to check
12913         if we're inside a LaTeX layout.
12914         (isErtInset): new helper function.
12915         (insertErtContents): look for other ert insets before this one
12916         and insert the contents there, so that we don't have subsequent
12917         ERT insets with nothing between them. This way we create only one
12918         inset with multiple paragraphs. Also check if we don't insert only
12919         spaces ' ' as they are ignored anyway afterwards in the .tex file
12920         so if we have only spaces we will ignore this latex part in the
12921         new file.
12922         (parseSingleLyXformat2Token \\layout): better compatibility when
12923         reading layout-latex stuff.
12924         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12925         language tag.
12926         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12927         stuff after reading the inset only get the information back from
12928         the stack.
12929
12930 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
12931
12932         * buffer.C (makeLaTeXFile): Put language options after loading babel.
12933
12934         * LaTeXFeatures.C (getBabelOptions): New method.
12935
12936 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12937
12938         * BufferView_pimpl.C (Dispatch): work around missing argument for
12939         'layout'
12940
12941 2002-05-08  Juergen Vigna  <jug@sad.it>
12942
12943         * text.C (leftMargin): handle paragraph leftindent.
12944
12945         * paragraph.C (writeFile): write the new \\leftindent tag.
12946         (validate): handle leftindent code.
12947         (TeXEnvironment): handle paragraphleftindent code again.
12948
12949         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12950
12951         * buffer.C (parseSingleLyXformat2Token): added compatibility code
12952         for paragrap_extra indent code and new token \\leftindent.
12953         (latexParagraphs): handle the leftindent as environment.
12954
12955         * ParameterStruct.h: added leftindent support.
12956
12957         * ParagraphParameters.C (leftIndent): added support functions for
12958         the paragraph left indent.
12959
12960         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12961         more appropriate.
12962
12963 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
12964
12965         * paragraph.C (isRightToLeftPar): Return false for a paragraph
12966         inside insetERT.
12967
12968         * text.C (computeBidiTables): No bidi in insetERT.
12969
12970         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12971         in RTL documents.
12972
12973 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12974
12975         * version.C.in: pre 5
12976
12977 2002-05-02  José Matos  <jamatos@fep.up.pt>
12978         * buffer.C (makeDocBookFile): white space changes, add newline to
12979         command styles.
12980         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12981
12982         * tabular.C (docBook): fix typo.
12983
12984 2002-05-03  Juergen Vigna  <jug@sad.it>
12985
12986         * screen.C (drawFromTo): recalculate the rowpointer if we had a
12987         change in LyXText as we can not be sure it was not freed.
12988         (drawOneRow): remove unused code.
12989
12990         * text.C (drawInset): redo the calculation of the need_break_row as
12991         it could have a row which was already freed.
12992         (draw): look at the return value of drawInset and return false if
12993         it also returned false.
12994         (paintRowText): look at the return value of draw and return false if
12995         it also returned false.
12996
12997         * lyxtext.h: added bool return type to drawInset() and draw() so that
12998         if we have a change in the row so that the rowbreak has to be redone
12999         we abort drawing as it will be called again.
13000
13001 2002-05-02  Juergen Vigna  <jug@sad.it>
13002
13003         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
13004         a change in the maintext also if we're inside an inset.
13005         (Dispatch): set the cursor again after a break line and after the
13006         screen has been updated as it could be we're in a different row.
13007
13008         * text2.C (fixCursorAfterDelete): check to make sure we don't request
13009         to set the cursor behind the pargraph with > size().
13010         (setCursor): check also for the same paragraph when checking where
13011         to put the cursor if we have a NFR inset.
13012
13013         * buffer.C (parseSingleLyXformat2Token): move the compatibility
13014         parts of layout read further up as it still was in the wrong
13015         position.
13016
13017 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13018
13019         * screen.C (drawFromTo): change sine fullRebreak always return
13020         true.
13021
13022         * buffer.C (parseSingleLyXformat2Token): reindent some
13023
13024         * BufferView_pimpl.C (update): change since fullRebreak always
13025         return true.
13026         (Dispatch): git rid of the last hardcoded "Standard"s.
13027
13028 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13029
13030         * text2.[Ch] (fullRebreak): make it return void now that we always
13031         returned true.
13032
13033 2002-04-30  Juergen Vigna  <jug@sad.it>
13034
13035         * buffer.C (parseSingleLyXformat2Token): reset the font before the
13036         ert compatibility check for "latex" layout.
13037
13038 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
13039
13040         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
13041         minipages: use col% instead of p%, and also use the current font.
13042         (makeLaTeXFile): Fix use babel condition.
13043         (parseSingleLyXformat2Token): Correct font when reading old floats.
13044
13045 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
13046
13047         * BufferView_pimpl.C (Dispatch): Check that float type exists when
13048         inserting list of floats.
13049
13050 2002-04-25  Herbert Voss  <voss@lyx.org>
13051
13052         * MenuBackend.C (expand): don't add the graphics extensions to the
13053         export menu
13054
13055 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13056
13057         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
13058         non-existing layout, do not complain if it was the default layout
13059         of the original class (bug #342)
13060
13061 2002-04-24  Juergen Vigna  <jug@sad.it>
13062
13063         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
13064         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
13065
13066 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
13067
13068         * buffer.C (getBibkeyList): If using \bibliography, return the
13069         option field with the reference itself. Enables us to provide natbib
13070         support when using \bibliography.
13071
13072 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
13073
13074         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
13075
13076         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
13077         natbib is provided by the LaTeX class.
13078
13079 2002-04-23  Juergen Vigna  <jug@sad.it>
13080
13081         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
13082         Wakeup functions.
13083
13084         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
13085
13086 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13087
13088         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
13089
13090         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
13091         ensuremath around textordmasculine, textordfeminine and
13092         textdegree.
13093
13094 2002-04-19  Juergen Vigna  <jug@sad.it>
13095
13096         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
13097         reinitializing the buffer otherwise row-dimensions may be wrong.
13098         (update): reset also the selection cursors if they do exits otherwise
13099         their x/y positions may be wrong.
13100
13101         * text2.C (cursorDown): don't enter the inset if we came from a row
13102         above and are one row over the inset.
13103
13104         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
13105         really leaving an inset.
13106
13107 2002-04-18  Juergen Vigna  <jug@sad.it>
13108
13109         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
13110         of the selected paragraph does not have the selected layout also if
13111         the last one had!
13112
13113         * text2.C (setLayout): fixed bug which did not change last selected
13114         paragraph.
13115
13116         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
13117         changed the read and substituted \\end_float with \\end_inset!
13118
13119         * BufferView_pimpl.C (cursorPrevious):
13120         (cursorNext): fixed to make it work with rows heigher than the work
13121         area without moving the cursor only the draw of the row.
13122         (workAreaMotionNotify): fix jumping over high rows.
13123
13124 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13125
13126         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
13127         Ressler.
13128
13129 2002-04-16  Juergen Vigna  <jug@sad.it>
13130
13131         * text2.C (setCursor): set also the irow().
13132         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
13133         (cursorUp):
13134         (cursorDown): support for locking an inset if the x_fix value goes
13135         inside it. That way I can transverse insets too with cursor up/down.
13136
13137         * lyxrow.h: added irow helper function same as other (i) functions.
13138
13139         * BufferView_pimpl.C (cursorPrevious):
13140         (cursorNext): fixed for insets!
13141
13142 2002-04-15  Juergen Vigna  <jug@sad.it>
13143
13144         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
13145         position otherwise it is wrong in some cases.
13146
13147         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
13148         inside the inset before the call.
13149
13150 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
13151
13152         * buffer.[Ch] (getBibkeyList): make it const.
13153
13154 2002-04-12  Juergen Vigna  <jug@sad.it>
13155
13156         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
13157
13158         * text2.C (getCursorX): new helper function
13159         (setCursor): compute also ix_
13160         (setCursorFromCoordinates): set also ix.
13161
13162         * lyxcursor.h: added ix_ and helper functions.
13163
13164         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
13165
13166         * buffer.C (insertStringAsLines): dont break paragraph if the this
13167         paragraph is inside an inset which does not permit it!
13168
13169         * text.C (breakParagraph): honor keepempty flag and break the paragraph
13170         also with no chars on this paragraph.
13171         (paintRowText): only paint stuff if it's inside the workarea!
13172
13173         * paragraph.C (breakParagraph): honor keepempty flag and break the
13174         paragraph always below not above.
13175
13176         * BufferView2.C (unlockInset): update the paragraph layout on inset
13177         unlock as we changed paragraph in such a case.
13178
13179         * lyxfind.C (LyXFind): clear the former selection if not found!
13180
13181         * text2.C (insertInset): freeze Undo after setUndo so that it is not
13182         again called in insertChar().
13183
13184         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
13185         an inset which uses the whole row!
13186         (rightMargin): ditto.
13187         (insertChar): force a rebreak if we inserted an inset!
13188
13189 2002-03-28  Herbert Voss  <voss@lyx.org>
13190
13191         * lyxlength.[Ch]: add inBP() to get the right PS-point
13192         units (BigPoint). With inPixels we have rounding errors
13193
13194 2002-04-11  Juergen Vigna  <jug@sad.it>
13195
13196         * text2.C (setCursorFromCoordinates): set iy to the right value.
13197         (setCursor): add check if row->previous exists!
13198
13199         * buffer.C (parseSingleLyXformat2Token): reset font after read of
13200         an old float_type as this was the case in the old code!
13201
13202         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
13203
13204         * BufferView2.C (showLockedInsetCursor): use iy
13205         (fitLockedInsetCursor): ditto
13206
13207         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
13208         locked insets as there we have the right value now.
13209
13210         * lyxcursor.C: added iy_ variable and iy functions to set to the
13211         baseline of cursor-y of the locked inset.
13212
13213         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
13214         (setCursor): fixed for insets which need a full row.
13215
13216         * text.C (rowLastPrintable): don't ignore the last space when before
13217         an inset which needs a full row.
13218         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
13219         as last character of a row when before a inset which needs a full row.
13220
13221 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13222
13223         * version.C.in: update date
13224
13225         * text2.C (fullRebreak): try to always return true and see what
13226         happens...
13227
13228 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13229
13230         * MenuBackend.C (expand): use Floating::listName
13231
13232         * FloatList.C (FloatList): add listName argument to the built-in
13233         floats
13234
13235         * Floating.[Ch]: add listName member, which is the 'List of XXX'
13236         text associated with the float.
13237
13238 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13239
13240         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
13241
13242 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13243
13244         * ShareContainer.h: add a couple of missing typenames.
13245
13246 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
13247
13248         * lyxrc.C (getDescription): use _() correctly rather than N_().
13249
13250 2002-03-28  Herbert Voss  <voss@lyx.org>
13251
13252         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13253         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13254
13255 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13256
13257         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13258         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13259
13260 2002-03-29  Juergen Vigna  <jug@sad.it>
13261
13262         * lyxfunc.C (dispatch): add a missing fitCursor call.
13263
13264         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13265         it was scrolled by a cursor move, so return the bool status.
13266
13267         * BufferView.C (fitCursor): return the bool flag also to the outside
13268         world as this is needed.
13269
13270         * screen.C (toggleToggle): don't subtract the offset if it's positive.
13271
13272         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13273         call the edit() as it is not needed (and wrong) IMO.
13274         (workAreaButtonPress): set the screen_first variable before evt.
13275         unlock the inset as this may change screen_first and then we have
13276         a wrong y position for the click!
13277
13278 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13279
13280         * MenuBackend.C (expand): another translation that I missed
13281
13282 2002-03-28  Juergen Vigna  <jug@sad.it>
13283
13284         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13285
13286         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13287
13288 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13289
13290         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13291
13292         * MenuBackend.C (expand): fix export/view/update when there is no
13293         document open.
13294
13295 2002-03-27  Herbert Voss  <voss@lyx.org>
13296
13297         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13298         and text%
13299
13300 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13301
13302         * bufferview_funcs.C (currentState): only show paragraph number
13303         for is DEVEL_VERSION is set.
13304
13305         * lyxfunc.C (dispatch): put warning in INFO channel
13306
13307         * MenuBackend.C (expand): translate the name of floats
13308
13309         * FloatList.C (FloatList): mark the float names for translation
13310
13311         * converter.C (convert): use LibScriptSearch
13312
13313 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13314
13315         * MenuBackend.C (defaults): fix default menu (we might as well get
13316         rid of it...)
13317
13318 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13319
13320         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13321         directory.
13322
13323 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13324
13325         * lyxvc.C: reorder includes.
13326
13327 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
13328
13329         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13330           properly
13331
13332 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
13333
13334         * CutAndPaste.C: change layouts earlier on paste
13335           to avoid crashing when calling getFont()
13336
13337 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
13338
13339         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13340         irritating #error.
13341
13342 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13343
13344         * WorkArea.C: remove 'Pending' debug message.
13345
13346         * most files: ws cleanup
13347
13348         * buffer.[Ch]: ws changes
13349
13350         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13351
13352 2002-03-21  Juergen Vigna  <jug@sad.it>
13353
13354         * tabular.C (SetMultiColumn): collapse also the contents of the
13355         cells and set the last border right. Added a Buffer const * param.
13356
13357 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13358
13359         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13360         linking or not.
13361
13362 2002-03-19  Juergen Vigna  <jug@sad.it>
13363
13364         * text2.C (clearSelection): reset also xsel_cache.
13365
13366         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13367         where it needs to be called (John tells us to do so too :)
13368         (selectionLost): reset sel_cache.
13369
13370         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13371
13372 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13373
13374         * text2.C (setCursorIntern): put debuging code in INSETS channel
13375
13376 2002-03-19  André Pönitz <poenitz@gmx.net>
13377
13378         * lyxfunc.C: tiny whitespace change
13379
13380 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13381
13382         * ToolbarDefaults.C (init):
13383         * LyXAction.C (init):
13384         * commandtags.h:
13385         * BufferView_pimpl.C (Dispatch):
13386         * lyxfunc.C (dispatch): remove LFUN_DEPTH
13387
13388 2002-03-19  Allan Rae  <rae@lyx.org>
13389
13390         * exporter.C (Export): removeAutoInsets before doing anything else.
13391         While I've just introduced a dependency on BufferView this really is
13392         the best place to clean the buffer otherwise you need to cleanup in
13393         a dozen places before calling export or cleanup in a dozen functions
13394         that export calls.
13395
13396         * converter.C (runLaTeX):
13397         (scanLog): Better handling of removeAutoInsets and screen updates.
13398
13399         * lyxfunc.C (dispatch): small whitespace changes
13400
13401 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13402
13403         * WorkArea.C (C_WorkAreaEvent): return a value.
13404         (event_cb): return 1 if we handled the event, 0 otherwise.
13405
13406         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13407
13408 2002-03-18  Juergen Vigna  <jug@sad.it>
13409
13410         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13411         (GetAdditionalWidth): ditto.
13412         (RightLine): ditto.
13413         (LeftLine): ditto.
13414
13415         * BufferView2.C (copy): use getLyXText() so that we do it inside an
13416         inset if we're there actually (probably not used right now but this
13417         is the direction to go for unifying code).
13418         (paste): disable code to clear the selection.
13419
13420         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13421         inside an InsetText and move the check further up as it is in the
13422         wrong place.
13423
13424         * text2.C (pasteSelection): set a selection over the pasted text.
13425
13426 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
13427
13428         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13429         and libgraphics to build on Cygwin.
13430
13431 2002-03-15  Juergen Vigna  <jug@sad.it>
13432
13433         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13434         inserting an Inset into the paragraph. I know this is not the best
13435         fix but we already use current_view in CutAndPaste so we will remove
13436         all of it's using at the same time.
13437
13438         * buffer.C (sgmlError): deactivated function till it is rewritten in
13439         the right mode, now it can create problems.
13440
13441         * paragraph.C (isLineSeparator): check if getInset returns != 0,
13442         before accessing it.
13443
13444 2002-03-14  Juergen Vigna  <jug@sad.it>
13445
13446         * undo_funcs.C (textHandleUndo): do the right thing when updating
13447         the inset after the undo/redo.
13448
13449         * text2.C (setCursor): just some testcode for #44 not ready yet.
13450
13451         * undo_funcs.C (textHandleUndo): set the next() and previous()
13452         pointers of the paragraph to 0 before deleting otherwise we have
13453         problems with the Paragraph::[destructor].
13454
13455         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13456         on a paragraph insertion.
13457
13458 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13459
13460         * buffer.C (asciiParagraph): use += operator for char append to
13461         string.
13462
13463         * paragraph.C (getFontSettings): compare >= not just >
13464         (highestFontInRange): ditto
13465         (setFont): ditto
13466
13467 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13468
13469         * paragraph.C: change several algorithm to be more appripriate for
13470         the problem domain. This is lookip in FontList and in the InsetList.
13471
13472 2002-03-13  André Pönitz <poenitz@gmx.net>
13473
13474         * commandtags.h:
13475         * LyXAction.C: remove unused LFUN_MATH_MACROARG
13476
13477 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
13478
13479         * commandtags.h:
13480         * LyXAction.C:
13481         * lyxfunc.C:
13482         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13483
13484 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13485
13486         * Painter.C (display): anon helper function, adjust code for this
13487         change.
13488         (pixmap): remove function.
13489
13490         * Painter.h: remove private display variable.
13491
13492         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13493
13494 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
13495
13496         * WorkArea.[Ch]: remove figinset_canvas cruft.
13497
13498 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13499
13500         * lyxtextclass.C (operator): add one item cache optimization.
13501
13502         * bufferlist.h: doxy changes
13503
13504         * bufferlist.C: ws changes
13505
13506         * DepTable.[Ch] (ext_exist): place const in the right spot.
13507
13508         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13509         call resizeInsets.
13510         (workAreaExpose): call resizeInsets when the with BufferView changes.
13511         (Dispatch): adjust for protectedBlank removal
13512         (specialChar): call updateInset if the insert went ok.
13513
13514         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13515         specialChar instead.
13516
13517         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13518
13519         * BufferView.h: doxy change
13520
13521         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13522
13523         * lyxtextclass.C (operator[]): remove non-const version
13524         (defaultLayout): remove non-const version
13525
13526 2002-03-12  Juergen Vigna  <jug@sad.it>
13527
13528         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13529         did resize the LyXText too.
13530
13531         * buffer.C (readLyXformat2): set layout information on newly allocated
13532         paragraphs.
13533
13534         * tabular.C (OldFormatRead): set layout information on the paragraph.
13535
13536 2002-03-12  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13537
13538         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13539
13540 2002-03-11  Juergen Vigna  <jug@sad.it>
13541
13542         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13543         plainly wrong.
13544         (resizeCurrentBuffer): force also the insets to resize themselfes.
13545         (moveCursorUpdate): fixed up for InsetText.
13546
13547 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
13548
13549         * commandtags.h:
13550         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13551         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13552         value of Dialogs::tooltipsEnabled().
13553         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13554
13555 2002-03-08  Juergen Vigna  <jug@sad.it>
13556
13557         * BufferView_pimpl.C (updateInset): update inset inside inset also
13558         if it isn't inside theLockingInset().
13559
13560 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13561
13562         * buffer.C (asciiParagraph): redo some of the word and line length
13563         handling.
13564         (getLists): look for Caption instead of caption.
13565
13566 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13567
13568         * buffer.C (Buffer): initialize niceFile to true
13569         (makeLaTeXFile):
13570         (makeLinuxDocFile):
13571         (makeDocBookFile): make sure niceFile is true on exit
13572
13573 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13574
13575         * buffer.C (makeLaTeXFile): escape ~ in \input@path
13576
13577 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
13578
13579         * LyXSendto.C: remove.
13580         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13581         * lyx_gui.C: remove now-redundant comment.
13582         * ColorHandler.h: remove forward declaration of class WorkArea.
13583         * lyxfunc.C: remove #include "WorkArea.h".
13584
13585 2002-03-07  Juergen Vigna  <jug@sad.it>
13586
13587         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13588         got moved away with the DEPM and also set the inset_owner always
13589         right which before could have been omitted.
13590
13591 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13592
13593         * buffer.C (parseSingleLyXformat2Token): use default layout is the
13594         wanted layout is not found.
13595
13596 2002-03-07  Juergen Vigna  <jug@sad.it>
13597
13598         * CutAndPaste.C (cutSelection): another layout settings forgotten.
13599
13600 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13601
13602         * paragraph.C (breakParagraph): use default layout not layout of
13603         prev paragraph.
13604         (Paragraph): clear ParagraphParameters.
13605
13606 2002-03-06  Juergen Vigna  <jug@sad.it>
13607
13608         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13609         otherwise it would not be a valid lenght. Fixed a special case in
13610         the minipage compatibility read where we end the document with a
13611         minipage.
13612
13613         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13614         was set as it could be 0 for InsetTexts first entry.
13615
13616 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13617
13618         * paragraph.C (writeFile): if layout is empty write out
13619         defaultLayoutName().
13620
13621         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13622         file without named layout we set layout to defaultLayoutName().
13623
13624 2002-03-06  Juergen Vigna  <jug@sad.it>
13625
13626         * CutAndPaste.C (copySelection): set layout for new paragraph.
13627
13628         * text.C (prepareToPrint): leave ERT inset left aligned
13629         (leftMargin): don't indent paragraphs inside ERT insets
13630
13631 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13632
13633         * paragraph.C (breakParagraph): dont call clear do the work manually
13634
13635         * paragraph.[Ch] (clear): remove function
13636
13637 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13638
13639         * paragraph.C (Paragraph): dont call clear, the work has already
13640         been done.
13641
13642         * lyxtextclass.C (operator): assert if n is empty
13643
13644         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13645         work manually instead.
13646
13647 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13648
13649         * BufferView_pimpl.C: protect selectionLost against text == 0
13650
13651 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13652
13653         * text.C (breakParagraph): fix a setting layout to '0' problem.
13654
13655 2002-03-05  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13656
13657         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13658         final location of file, for the included files, and graphics.
13659
13660 2002-03-05  Juergen Vigna  <jug@sad.it>
13661
13662         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13663
13664 2002-03-04  Juergen Vigna  <jug@sad.it>
13665
13666         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13667
13668         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13669         last column of multicolumn cells.
13670         (SetWidthOfMulticolCell): recalculate NMC and real columns.
13671
13672 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
13673
13674         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13675         file if it doesn't go to a temporary file.
13676
13677         * buffer.C (sgmlOpenTag):
13678         (sgmlCloseTag):  remove extra newline insertion.
13679
13680 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13681
13682         * text.C (getRowNearY): comment out debug msg
13683
13684 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13685
13686         * text2.C: first -> first_y
13687
13688         * text.C (getRowNearY): add some attemts at a possible
13689         optimization, not working.
13690
13691         * tabular.[Ch]: add BufferParams to several function so that newly
13692         created paragraph can be initialized to he default layotu for the
13693         buffers textclass.
13694
13695         * tabular-old.C (ReadOld): add buf->params to call of Init
13696
13697         * screen.C: rename text->first to text->first_y
13698
13699         * paragraph.C (breakParagraph): always set layout in the broken
13700         paragraph
13701
13702         * lyxtextclass.C (Read): remove lowercase
13703         (hasLayout): ditto
13704         (operator): ditto
13705         (delete_layout): ditto
13706
13707         * lyxtext.h: rename first -> first_y
13708
13709         * lyxlayout.C (Read): remove lowercase
13710         (name): ditto
13711         (setName): ditto
13712         (obsoleted_by): ditto
13713
13714         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13715
13716         * buffer.C (insertErtContents): add params are to InsetERT
13717         (parseSingleLyXformat2Token): add code to check if a paragraphs
13718         layout really exist.
13719         (parseSingleLyXformat2Token): add params to several inset
13720         constructors
13721         (asciiParagraph): remove lowercase, do the layout comparisons with
13722         no_case
13723
13724         * BufferView_pimpl.C (cursorNext): first -> first_y
13725         (resizeCurrentBuffer): first -> first_y
13726         (updateScrollbar): first -> first_y
13727         (scrollCB): first -> first_y
13728         (workAreaMotionNotify): first -> first_y
13729         (workAreaButtonPress): first -> first_y
13730         (checkInsetHit): first -> first_y
13731         (cursorPrevious): first -> first_y
13732         (cursorNext): first -> first_y
13733         (Dispatch): add buffer_->params to severl inset contructors
13734
13735 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13736
13737         * lyxlayout.C (Read): remove some debug info that I forgot.
13738
13739         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13740         clean up the code slightly.
13741         (makeLinuxDocFile): ditto
13742         (makeDocBookFile): ditto
13743
13744         * text2.C: layout as string
13745
13746         * text.C: layout as string
13747
13748         * paragraph_pimpl.C: layout as string
13749
13750         * paragraph.[Ch]: layout as string
13751
13752         * lyxtextclasslist.[Ch]: layout as string
13753
13754         * lyxtextclass.[Ch]: layout as string
13755
13756         * lyxtext.h: layout as string
13757
13758         * lyxlayout.[Ch]: layout as string
13759
13760         * lyx_cb.C: layout as string
13761
13762         * bufferview_funcs.C: layout as string
13763
13764         * bufferparams.C: layout as string
13765
13766         * buffer.C: layout as string
13767
13768         * LyXView.[Ch]: layout as string
13769
13770         * LaTeXFeatures.[Ch]: layout as string
13771
13772         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13773
13774         * BufferView_pimpl.C: change current_layout to string, remove
13775         lyx::layout_type.
13776         (Dispatch):
13777         (smartQuote):
13778         (insertInset):
13779         (workAreaButtonRelease): layout as string
13780
13781         * BufferView2.C (unlockInset): adjust
13782
13783         * vspace.C (asLatexCommand): use an explict temp variable.
13784
13785 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13786
13787         * Makefile.am: use FRONTEND_*
13788
13789 2002-03-01  Juergen Vigna  <jug@sad.it>
13790
13791         * tabular.C (SetWidthOfMulticolCell): changed to something better
13792         I hope but still work in progress.
13793         (recalculateMulticolumnsOfColumn): renamed function from
13794         recalculateMulticolCells as it is more appropriate now.
13795         (SetWidthOfCell): calculate multicols better.
13796
13797 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13798
13799         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13800
13801         * lyxfunc.C (processKeySym): print sequence also if it is
13802         `deleted' (complete)
13803
13804         * kbsequence.C (print): print sequence even if it is deleted
13805         (complete would be a better word, actually).
13806
13807         * lyxfunc.C (dispatch): print complete options after a prefix key
13808
13809         * vspace.C (asLatexCommand): rewrite in a slightly different form.
13810
13811 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
13812
13813         * text2.C (setCharFont): eliminate setCharFont code duplication.
13814
13815 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13816
13817         * BufferView_pimpl.C (Dispatch): remove bogus handling of
13818         LFUN_TABULAR_FEATURE (bug #177)
13819
13820 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
13821
13822         * Makefile.am: remove figure.h
13823
13824 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
13825
13826         * Bufferview_pimpl.C:
13827         * CutAndPasteC:
13828         * LaTeX.C:
13829         * LyXSendto.C:
13830         * buffer.C:
13831         * bufferlist.C:
13832         * converter.C:
13833         * language.C:
13834         * lyxfunc.C:
13835         * lyxvc.C:
13836         * paragraph.C:
13837         * text.C:
13838         * text2.C: remove #include "lyx_gui_misc.h".
13839
13840         * LaTeX.C: added #include <cstdio>
13841
13842 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13843
13844         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13845         that the paragraph following this one can have.
13846
13847         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13848
13849         * vspace.C (asLatexCommand): fix bogus gcc warning
13850
13851         * Makefile.am (lyx_SOURCES): remove vms_defines.h
13852
13853 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
13854
13855         * text2.C (setLayout): get rid of redundant code
13856
13857 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
13858
13859         * text2.C (incDepth): make sure depth cannot be increased beyond
13860         reasonable values.
13861
13862 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
13863
13864         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13865         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13866
13867         * PainterBase.h (image):
13868         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13869         a LyXImage const *.
13870
13871 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13872
13873         * BufferView.C:
13874         * BufferView.h:
13875         * BufferView_pimpl.C:
13876         * BufferView_pimpl.h:
13877         * LaTeXFeatures.C:
13878         * LyXAction.C:
13879         * LyXView.C:
13880         * Makefile.am:
13881         * UpdateList.h:
13882         * UpdateList.C:
13883         * buffer.C:
13884         * figure.h:
13885         * figureForm.C:
13886         * figureForm.h:
13887         * figure_form.C:
13888         * figure_form.h:
13889         * lyx_cb.C:
13890         * lyx_gui.C:
13891         * lyx_gui_misc.C:
13892         * lyxfunc.C:
13893         * sp_base.h:
13894         * sp_ispell.h:
13895         * sp_pspell.h:
13896         * sp_spell.C: remove fig inset, and the crap house of
13897           cards that follows it
13898
13899 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13900
13901         * Makefile.am:
13902         * lyxserver.C:
13903         * os2_defines.h:
13904         * os2_errortable.h:
13905         * nt_defines.h: move .h into support/
13906
13907         * vms_defines.h: remove
13908
13909         * WorkArea.C: add space in debug output
13910
13911         * text2.C:
13912         * paragraph.C:
13913         * buffer.C: add WITH_WARNINGS
13914
13915         * vc-backend.h:
13916         * vc-backend.C:
13917         * bufferlist.C: s/retrive/retrieve/, add docs
13918
13919         * vspace.h:
13920         * vspace.C:
13921         * kbmap.h:
13922         * lyxlength.h:
13923         * lyxgluelength.h:
13924         * length_common.h:
13925         * chset.h:
13926         * chset.C: add docs
13927
13928         * lyxgui.C: add ID to X error handler
13929
13930         * lyxtestclass.c: fix typo
13931
13932 2002-02-26  Juergen Vigna  <jug@sad.it>
13933
13934         * tabular_funcs.C (write_attribute): changed so that some default
13935         attributes are not written at all.
13936         (getTokenValue): set default values before trying to read the
13937         value so we have the return value always set as default if we don't
13938         find the token we search for.
13939
13940         * tabular.C (Write): write bools as bools not as strings!
13941
13942 2002-02-22  Juergen Vigna  <jug@sad.it>
13943
13944         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13945         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13946
13947         * text.C (leftMargin): don't add an indent for paragraphs inside
13948         tabular cells (fix #208).
13949
13950 2002-02-21  José Matos  <jamatos@fep.up.pt>
13951
13952         * tabular.C (docBook): fixed support for long tables.
13953
13954 2002-02-20  Juergen Vigna  <jug@sad.it>
13955
13956         * text2.C (getFont): get the drawing font of the Inset if this
13957         paragraph is inside an inset (only important for InsetERT for now).
13958
13959         * buffer.C (insertErtContents): use new lanugage params in ERT
13960         constructor.
13961
13962         * CutAndPaste.C: commenting out seemingly uneeded code.
13963
13964 2002-02-19  Allan Rae  <rae@lyx.org>
13965
13966         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13967         Iterators might be simple to use but they also get invalidated.
13968         (removeAutoInsets): renamed saved cursor tracking variables and added
13969         some comments to clarify what everything does.
13970
13971 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
13972
13973         * Chktex.C:
13974         * LaTeX.C:
13975         * LyXSendto.C:
13976         * converter.C:
13977         * lyx_cb.C:
13978         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13979         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13980
13981         * lyxfunc.C:
13982         * vc-backend.h: remove #include "support/syscall.h"
13983
13984         * LaTeX.C:
13985         * LyXSendto.C:
13986         * converter.C: rearrange #includes in Lars' approved fashion.
13987
13988         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13989         forward declare class Timeout in the header file.
13990
13991         * XFormsView.C: changes due to the above.
13992
13993         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13994         similar to LyXView.
13995
13996         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13997         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13998
13999 2002-02-18  José Matos  <jamatos@fep.up.pt>
14000
14001         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
14002         insets contents.
14003
14004 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14005
14006         * a lot of small ws changes
14007         * add a lot of using std::XXX
14008         * use std construcs some places where approp.
14009         * use some exisint stuff from lyxfunctional where approp.
14010         * Make file changes to use partial linking (lets test this now...)
14011
14012 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
14013
14014         * Chktex.C:
14015         * buffer.C:
14016         remove #include "support/syscontr.h" as it's redundant. Always has been.
14017
14018         * Chktex.C:
14019         * LaTeX.C:
14020         * LyXSendto.C:
14021         * converter.C:
14022         * lyx_cb.C:
14023         * vc-backend.C:
14024         change Systemcalls::System to Systemcalls::Wait and
14025         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
14026         No change of functionality, just reflects the stripped down Systemcalls
14027         class.
14028
14029 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
14030
14031         * debug.[Ch]: add a GRAPHICS type to the enum.
14032
14033 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14034
14035         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
14036
14037         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
14038         there is an inset.
14039
14040 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14041
14042         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
14043         match the changes below.
14044
14045         * text2.C (toggleInset): if there is not editable inset at cursor
14046         position, try to see if cursor is _inside_ a collapsable inset
14047         and close it.
14048
14049 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14050
14051         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
14052         document menu has a nice checkbox
14053
14054 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14055
14056         * lyxlength.C (asLatexString): change PW to output as percent of
14057         \textwidth.
14058
14059         * lengthcommon.C: change '%' to 't%'
14060
14061         * lyxfunc.C (dispatch): a few comments from Martin
14062
14063 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
14064
14065         * WorkArea.h:
14066         * WorkArea.C:
14067         * BufferView_pimpl.h:
14068         * BufferView_pimpl.C: clear our selection when X tells us we've lost
14069           the X selection.
14070
14071 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14072
14073         * vspace.C (inPixels): fix compiler warning
14074
14075 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14076
14077         * lyxfunc.C (getStatus): fix status message for disabled commands.
14078
14079 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
14080
14081         * BufferView_pimpl.C: fix crash on close buffer
14082         during selection (#227)
14083
14084 2002-01-27  Herbert Voss  <voss@lyx.org>
14085
14086         * buffer.C: link old Figure to new graphic inset
14087
14088 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14089
14090         * FontLoader.C (getFontinfo): Change the latex font names in order
14091         to match the names of type1inst.
14092
14093 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14094
14095         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
14096
14097         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
14098         (extchanged): ditto
14099         (ext_exist): ditto
14100         (remove_files_with_extension): ditto
14101         (remove_file): ditto
14102         (write): ditto
14103
14104         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
14105         document is smaller than the work area height. Do not initialize
14106         static variables to 0.
14107
14108 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14109
14110         * lyx_gui.C (init): give the toolbar tooltips a normal font.
14111
14112         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
14113         LFUN_LAYOUT_PARAGRAPHS.
14114
14115         * tabular.C (GetCellFromInset): new method. Finds an inset in a
14116         tabular. It is possible to provide a possible cell, which will
14117         typically be the actcell from the corresponding insettabular
14118
14119         * lyxfunc.C (getStatus): small cleanup; disable
14120         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
14121         true
14122
14123 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14124
14125         * tabular.C (Validate): remove broken optimization (fixes bug #201)
14126
14127         * paragraph.C (startTeXParParams):
14128         (endTeXParParams): new methods. The LaTeX code to
14129         start/end paragraph formatting
14130         (simpleTeXOnePar): call startTeXParParams also when paragraph is
14131         empty (fixes bug #200)
14132
14133         * vspace.C (inPixels): adapt to the change below
14134         (inPixels): [later] more cleanups (remove unused variables)
14135
14136         * lyxlength.C (inPixels): change to use a width and a height as
14137         parameter.
14138
14139 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14140
14141         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
14142         Replaced with \paperwidth
14143
14144         * DepTable.C (insert): add std:: qualifier
14145
14146 2002-01-18  Allan Rae  <rae@lyx.org>
14147
14148         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
14149         updated also?
14150
14151         * text.C (drawInset): Turned out I didn't know enough about how
14152         rebreaking worked.  This fixes most of the redraw problems.  I see
14153         an occasional cursor trail when a line is broken now and the cursor
14154         placement can seem out by a few pixels also after a rebreak.
14155
14156 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14157
14158         * buffer.C (parseSingleLyXformat2Token): update because minipage
14159         width is now a LyXLength
14160
14161         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
14162
14163         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
14164         math insets
14165
14166 2002-01-17  Juergen Vigna  <jug@sad.it>
14167
14168         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
14169
14170         * BufferView2.C (lockInset): call edit() so that theLockingInset()
14171         is set correctly and the inset is updated correctly.
14172
14173 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14174
14175         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
14176         the beginning of the loop.
14177
14178 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
14179
14180         * lyxrc.C: improve help for use_scalable_fonts
14181
14182 2002-01-17  Allan Rae  <rae@lyx.org>
14183
14184         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
14185
14186 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14187
14188         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
14189         make sure to set their inset_owner to the right value (bug #171)
14190
14191 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
14192
14193         * DepTable.h
14194         * DepTable.C: Implement mtime checking to reduce time spent doing
14195         CRCs.
14196
14197 2002-01-16  Juergen Vigna  <jug@sad.it>
14198
14199         * tabular.C (GetAdditionalHeight): one of error fixed.
14200
14201         * lyxrc.C (output): small fix in writing use_pspell.
14202
14203 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
14204
14205         * sp_base.h: #include LString.h
14206
14207 2002-01-16  Allan Rae  <rae@lyx.org>
14208
14209         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
14210         Can someone check this please?
14211
14212         * text.C (drawInset): It was possible that p.row would be removed by
14213         breakAgainOneRow upsetting a few other settings.  There may be another
14214         small tweak possible by setting need_break_row = 0 when p.row has been
14215         removed but I don't know enough about the logic here.
14216
14217 2002-01-15  Allan Rae  <rae@lyx.org>
14218
14219         * text.C (insertChar): removed conditional truism.
14220
14221         * BufferView2.C (removeAutoInsets): More tweaks.
14222         cur_par_prev could be a stray pointer.  Check for trailing empty line
14223         in case last line was cur_par and only had an error inset on it.
14224
14225 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14226
14227         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
14228         absolute
14229
14230         * vc-backend.C (most methods):
14231         * exporter.C (Export):
14232         * converter.C (convert):
14233         (runLaTeX):
14234         * LyXSendto.C (SendtoApplyCB):
14235         * lyxfunc.C (dispatch):
14236         (menuNew):
14237         (open):
14238         (doImport):
14239         * lyx_cb.C (AutoSave):
14240         (InsertAsciiFile):
14241         * BufferView_pimpl.C (MenuInsertLyXFile):
14242         * buffer.C (runChktex): use Buffer::filePath().
14243
14244         * buffer.h: rename filename to filename_; rename filepath to
14245         filepath_ and make it private
14246         (filePath): new method
14247
14248         * buffer.C (writeFile): use fileName()
14249         (getLatexName):
14250
14251         * lyx_main.C (init): fix starting  of LyX when the binary is a
14252         link from so,ewhere else.
14253
14254         * minibuffer.C: include <cctype> for isprint
14255
14256 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14257
14258         * buffer.C (parseSingleLyXformat2Token): changes associated with the
14259         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14260         name clash with InsetCollapsable's width function.
14261
14262 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14263
14264         * lastfiles.C: include <iterator>
14265
14266 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14267
14268         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14269         std::count.
14270
14271         * buffer.C (makeLaTeXFile): ditto.
14272         Also make loop operation more transparent.
14273
14274 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14275
14276         * ToolbarDefaults.C: remove trailing comma closing namespace.
14277
14278         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14279
14280         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14281         as in WorkArea.
14282
14283         * trans.C (Load): comment out unused variable, allowed.
14284
14285 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14286
14287         * minibuffer.[Ch] (append_char): new method to recieve input from the
14288         drop-down completion browser. If a key was pressed, then recieve this
14289         char and append it to the existing string.
14290         (peek_event): modify the positioning data passed to the completion
14291         browser so that it can be placed above the minibuffer rather than below.
14292 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14293
14294         * LyXAction.C (init): alloe error-next for readonly documents.
14295
14296         * BufferView2.C (ChangeRefsIfUnique): use standard version of
14297         count.
14298
14299 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14300
14301         * bufferlist.C (readFile): create the buffer _after_ checking that
14302         the file exists.
14303
14304         * lyxfunc.C (verboseDispatch): fix handling of arguments
14305
14306         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14307
14308         * lyxrc.C: use string::erase() instead of initializing to "".
14309
14310
14311 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14312
14313         * BufferView_pimpl.h:
14314         * BufferView_pimpl.C:
14315         * WorkArea.h:
14316         * WorkArea.C:
14317         * text2.C: tell X when we have made a selection for copying
14318
14319 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14320
14321         * BufferView_pimpl.C (MenuInsertLyXFile):
14322         * lyxfunc.C (menuNew):
14323         (open):
14324         (doImport): add shortcuts to directory buttons
14325
14326         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14327         open a float)
14328
14329         * lyxfunc.C (setStatusMessage):
14330         (getStatusMessage): new methods
14331         (getStatus):use setStatusMessage instead of setErrorMessage
14332         (dispatch): when function is disabled, set error message here
14333         [instead of in getStatus previously]
14334
14335         * BufferView_pimpl.C (workAreaButtonRelease): update
14336         toolbar/menubar here too.
14337
14338 2002-01-13  Allan Rae  <rae@lyx.org>
14339
14340         * BufferView2.C (removeAutoInsets): finished off earlier fix.
14341         Now seems indestructible.  Remaining task is to audit all other
14342         code affected by deleteEmptyParagraphMechanism.  One small quirk
14343         left is that an empty document with an error in the preamble can
14344         be made to report an error but no error box appears.  I don't know
14345         where it goes.
14346         (removeAutoInsets): Improved comments.
14347
14348 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
14349
14350         * Thesaurus.h:
14351         * Thesaurus.C: update for Aiksaurus 0.14
14352
14353 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14354
14355         * text2.C (firstParagraph): removed member function, all uses
14356         replaces with ownerParagraph
14357         (redoParagraphs): here
14358         (updateInset): here
14359         (toggleAppendix): here
14360         * BufferView2.C (insertErrors): here
14361         (setCursorFromRow): here
14362
14363 2002-01-13  Allan Rae  <rae@lyx.org>
14364
14365         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14366         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14367         There is still a way to segfault this although you may have to do this
14368         multiple times: Have an InsetERT with an unknown command in it.
14369         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14370         <down-arrow>, <Enter> again, View->DVI, BANG!
14371
14372         * text2.C (setCursor):
14373         (deleteEmptyParagraphMechanism):
14374         * lyxtext.h (setCursor):
14375         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14376         Making use of the return value may help fix other bugs.
14377
14378 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14379
14380         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14381
14382         * LyXView.C (updateMenubar): call MenuBar::update here
14383         (updateToolbar): but not here
14384         (showState): do not update toolbar/menubar
14385
14386         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14387         should need to care about that.
14388
14389         * lyxfunc.C (verboseDispatch): simplify a bit
14390         (getStatus): have a version which takes a pseudoaction, and
14391         another which requires a (kb_action,string).
14392
14393         * LyXAction.C (retrieveActionArg): make it work also when action
14394         is not a pseudo-action.
14395         (getActionName): simplify a bit
14396         (helpText):
14397
14398 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14399
14400         * lyxfunc.C (verboseDispatch): new families of methods with
14401         several ways to specify a command and a bool to indicate whether
14402         the command name and shortcut should be displayed in minibuffer
14403         (eventually, we could extend that to a finer bitmask like
14404         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14405         (dispatch): the pristine dispatch command which just, well,
14406         dispatchs! Note it still sets its result to minibuffer; I'm not
14407         sure we want that.
14408
14409         * lyxfunc.h: remove setHintMessage
14410
14411         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14412
14413 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14414
14415         * BufferView_pimpl.C (specialChar): delete new inset if we have
14416         not been able to insert it.
14417
14418         * kbmap.C: revert to using int instead of kb_action, since all we
14419         are dealing with is pseudo-actions.
14420
14421         * LyXAction.C (searchActionArg): change to return int instead of
14422         kb_action, since the result is a pseudoaction.
14423
14424 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
14425
14426         * buffer.C (insertErtContents): Fix (partially) the font bug.
14427
14428 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14429
14430         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14431         as the other one is broken on my machine!
14432
14433 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
14434
14435         * commandtags.h:
14436         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14437
14438 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
14439
14440         * lyxrc.[Ch]: change names and descriptions of popup font variables to
14441         reflect their actual use. Provide compatibility code for older lyxrc
14442         files.
14443
14444         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14445         FL_NORMAL_STYLE.
14446         change names of popup font variables in line with the changes to lyxrc.C
14447
14448 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14449
14450         * buffer.C (asciiParagraph): avoid outputing a word twice after
14451         an inset.
14452
14453         * lyxrc.C (getDescription): document that document_path and
14454         template_path can be empty.
14455
14456 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14457
14458         * LaTeXFeatures.C (getMacros):
14459         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14460
14461         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14462
14463         * LaTeXFeatures.C (useFloat): require "float" here instead of in
14464         getPackages.
14465         (getPackages): rename feature "floats" to "float". Use an array to
14466         iterate over 'simple' features (i.e. just a \usepackage). Add
14467         handling of "amsmath" (renamed from "amsstyle").
14468
14469 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
14470
14471         * LaTeXFeatures.C (require): Prevent duplicate entries in the
14472         features list.
14473
14474 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
14475
14476         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14477         FuncStaus::FuncStatus & FuncStaus::some_method().
14478
14479 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
14480
14481         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14482         of the func_satus stuff. Edited and massaged in various ways by
14483         JMarc.
14484
14485         * lyxfunc.C (getStatus): use FuncStatus
14486
14487 2002-01-08  Juergen Vigna  <jug@sad.it>
14488
14489         * text.C (nextBreakPoint): use function Inset::isChar().
14490
14491         * paragraph.C (TeXOnePar): use function
14492         Inset::forceDefaultParagraphs.
14493
14494         * buffer.C (latexParagraphs): use function
14495         Inset::forceDefaultParagraphs.
14496
14497 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14498
14499         * lyx_gui.C (init): set the style of the menu popups to
14500         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14501
14502 2002-01-07  Juergen Vigna  <jug@sad.it>
14503
14504         * text.C (setHeightOfRow): small fix
14505         (prepareToPrint): don't look at alignment if we don't have the place
14506         for doing it.
14507
14508 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14509
14510         * box.C: New file. Move the Box methods and functions out of box.h,
14511         following Lars' suggestion.
14512
14513 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14514
14515         * box.h: #include "support/LOstream.h", needed for inlined function.
14516
14517         * lyxtextclass.C:
14518         * lyxtextclasslist.C: added some using std declarations.
14519
14520 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
14521
14522         * box.h: make signed dimensions to allow insets wider than
14523           the screen (bug #162)
14524
14525         * BufferView_pimpl.C: add some insetHit debug
14526
14527 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
14528
14529         * vc-backend.C: add FIXME
14530
14531 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14532
14533         * lyxfunc.C (getStatus): enable code for showing math font status
14534         in toolbar/menu.
14535
14536 2002-01-07  Juergen Vigna  <jug@sad.it>
14537
14538         * text.C (nextBreakPoint): removed debug output not needed anymore.
14539
14540 2002-01-06  Juergen Vigna  <jug@sad.it>
14541
14542         * text.C (nextBreakPoint): fixed up this function we had this bug
14543         since ever but now hopefully we break row better.
14544         (insertChar): we have to check if an inset is the next char as it
14545         could now happen that a large inset is causing a break.
14546
14547 2002-01-05  Juergen Vigna  <jug@sad.it>
14548
14549         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14550         if it doesn't like to be drawed.
14551
14552 2002-01-04  Juergen Vigna  <jug@sad.it>
14553
14554         * BufferView2.C (lockInset): forgot to set a cursor.
14555
14556         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14557
14558 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
14559
14560         * FormMathsPanel.C:
14561         * FormMathsPanel.h
14562         * MathsSymbols.C:
14563         * form_maths_panel.C:
14564         * form_maths_panel.h:
14565         * form_maths_panel.fd: implemented sub- and super- buttons in math
14566         panel.
14567
14568         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14569         (or ^ space) to be used as in TeX (req'd by Andr�.
14570
14571         * lyxfunc.C: Allow ^ and _ again to be used both as
14572         super/subscript (mathed) and as themselves (in text).
14573
14574 2002-01-03  Allan Rae  <rae@lyx.org>
14575
14576         * LyXView.C (updateWindowTitle): Setup a short icon title of either
14577         "LyX" or the filename of the current buffer if it has one.  This is a
14578         modified form of John Levon's patch.
14579
14580         * XFormsView.C (setWindowTitle): also set icon title.
14581
14582         * LyXView.h (setWindowTitle): signature changed.
14583         * XFormsView.h (setWindowTitle): ditto.
14584
14585 2002-01-02  Juergen Vigna  <jug@sad.it>
14586
14587         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14588
14589 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14590
14591         * screen.C (topCursorVisible): introduce a temp var for
14592         text->cursor.row(), handle the case where this row is null. (kindo
14593         hachish)
14594
14595         * text2.C (setCursor): add a couple of asserts.
14596
14597         * paragraph.h (inset_iterator): add -> operator
14598
14599         * paragraph.[Ch] (autoDeleteInsets): remove member function
14600
14601         * BufferView2.C (removeAutoInsets): rewrite to handle the old
14602         cursor pos correctly and handle inset deletion by itself.
14603         (insertErrors): move iterator declaration out of for expression
14604
14605         * lyxtextclass.C: add <algorithm>
14606
14607         * Makefile.am: added the new files to sources, removed layout.C
14608
14609         * layout.C: removed file
14610
14611         * layout.h: remove LYX_DUMMY_LAYOUT
14612
14613         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14614         layout.
14615
14616         * lyxlayout.[Ch]:
14617         * lyxtextclass.[Ch]:
14618         * lyxtextclasslist.[Ch]: new files
14619
14620         * include order changes to a lot of files, also changes because of
14621         the six new files.
14622
14623 2001-12-27  Juergen Vigna  <jug@sad.it>
14624
14625         * buffer.C (asciiParagraph): more fixes.
14626
14627         * tabular.C (ascii): make ascii export support export of only the
14628         data separated by a column-delimiter.
14629         (ascii): better support for ascii export.
14630
14631         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14632
14633 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14634
14635         * tabular_funcs.C: use a "using std::getline" instead of the
14636         previous fix from Angus (necessary for cxx + lyxstring)
14637
14638 2001-12-24  Juergen Vigna  <jug@sad.it>
14639
14640         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14641
14642         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14643         problems. First check a minipage also if we have some ert-contents
14644         (not only on par->size(), second set the right depth of the paragraph
14645         on the relink to the root-paragraph-list!
14646
14647         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14648         which then did not anymore update the main paragraphs on undo/redo!
14649
14650 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14651
14652         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14653         code. Support all font-changing funcs (even those which are not in
14654         menu currently). Support for reporting font settings in
14655         mathed (disabled until Andre provides a function on mathed's side).
14656
14657         * func_status.h (toggle): small helper function to set toggle
14658         state on a flag.
14659
14660 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
14661
14662         * tabular_funcs.C: getline -> std::getline
14663
14664 2001-12-21  Juergen Vigna  <jug@sad.it>
14665
14666         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14667         accessed and could be 0 (I couldn't generate this but it seems
14668         Michael could!).
14669
14670 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14671
14672         * tabular_funcs.C: add LIstream.h, move write_attribute to..
14673         * tabular_funcs.h: here and include iosfwd
14674
14675 2001-12-20  Juergen Vigna  <jug@sad.it>
14676
14677         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14678         inside inset but undo_par was.
14679
14680 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14681
14682         * Thesaurus.C: always include <config.h> in sources.
14683
14684         * Painter.h:
14685         * lyxlookup.h:
14686         * box.h: do not include <config.h> in header files
14687
14688         * text.C (paintLastRow): remove unused variable
14689
14690         * text.C (transformChar):
14691         (insertChar):
14692         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14693
14694         * Painter.C (text):
14695         * font.C (width): rewrite to use uppercase() instead of
14696         islower/toupper.
14697
14698         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14699
14700 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
14701
14702         * lyxfind.C: clean up of find failure position change
14703
14704 2001-12-20  Juergen Vigna  <jug@sad.it>
14705
14706         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14707
14708         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14709         (TeXRow): added to LaTeX a single tabular row.
14710         (TeXLongtableHeaderFooter): added to output LT-h/f data.
14711         (Latex): simplified and finally good LT-h/f support.
14712         (various_functions): just small adaptions for LT-h/f support.
14713
14714         * tabular_funcs.[hC]: added and moved here all not classfunctions
14715         of LyXTabular.
14716
14717 2001-12-19  Juergen Vigna  <jug@sad.it>
14718
14719         * tabular.[Ch]: better support for longtabular options (not finished
14720         yet!)
14721
14722 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14723
14724         * text.C (paintLastRow): use the label font instead of the font of
14725         the last character to compute the size of *_BOX. This makes more
14726         sense and avoids a crash with empty paragraphs.
14727         Use Painter::rectangle to draw EMPTY_BOX.
14728
14729 2001-12-19  Juergen Vigna  <jug@sad.it>
14730
14731         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14732         the paragraphs if the replaced paragraph is not the first one!
14733         Tried to delete not used paragraphs but does not work yet so for
14734         now it's inside #ifdef's and by default off!
14735
14736 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14737
14738         * MenuBackend.C: include "lyx_main.h" instead of declaring
14739         lastfiles (actually was declared as LastFiles* instead of a
14740         scoped_ptr).
14741
14742 2001-12-17  Juergen Vigna  <jug@sad.it>
14743
14744         * tabular.C (AppendColumn): applied John's fix
14745
14746 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
14747
14748         * BufferView.h:
14749         * BufferView.C:
14750         * BufferView_pimpl.h:
14751         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14752
14753         * Makefile.am:
14754         * box.h: new start of class for above
14755
14756         * lyxfunc.C: ignore space-only minibuffer dispatches.
14757           Show the command name when it doesn't exist
14758
14759         * minibuffer.C: don't add empty lines to the history
14760
14761         * minibuffer.C: add a space on dropdown completion
14762
14763 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
14764
14765         * text.C: fix line above/below drawing in insets
14766
14767 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14768
14769         * lyxlength.C (LyXLength): Initialize private variables.
14770
14771 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
14772
14773         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14774         when inserting error insets.
14775
14776 2001-12-13  Juergen Vigna  <jug@sad.it>
14777
14778         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14779         actually sometimes the before-paragraph.
14780         (setUndo): don't clear the redostack if we're not actually undoing!
14781
14782 2001-12-06  Juergen Vigna  <jug@sad.it>
14783
14784         * undo_funcs.C (textHandleUndo): well after John's hint I got here
14785         and fixed redoing of main paragraph, so we can use it now ;)
14786
14787         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14788
14789 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14790
14791         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14792         Juergen's request
14793
14794 2001-12-13  André Pönitz <poenitz@gmx.net>
14795
14796         * undostack.[Ch]:
14797         * undo_func.C: minor cleanup
14798
14799 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14800
14801         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14802         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14803         font in urw-fonts package which is marked as -urw-fontspecific and
14804         does not work (incidentally, changing the encoding in the
14805         fonts.dir of this package to -adobe-fontspecific fixes the
14806         problem).
14807
14808         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14809         is a crash when undoing first paragraph (Juergen, please take a
14810         look). THis does not mean the undo fix is wrong, just that it
14811         uncovers problems.
14812
14813         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14814         the (Paragraph*) version when needed instead of duplicating the
14815         code.
14816
14817         * text.C (workWidth): use Inset::parOwner to find out where the
14818         inset has been inserted. This is a huge performance gain for large
14819         documents with lots of insets. If Inset::parOwner is not set, fall
14820         back on the brute force method
14821
14822         * paragraph_pimpl.C (insertInset):
14823         * paragraph.C (Paragraph):
14824         (cutIntoMinibuffer): set parOwner of insets when
14825         inserting/removing them
14826
14827         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14828
14829 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
14830
14831         * commandtags.h:
14832         * LyXAction.C:
14833         * lyx_main.C:
14834         * lyxfunc.C:
14835         * mathed/formulabase.C:
14836         * mathed/math_cursor.[Ch]:
14837         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14838
14839
14840 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14841
14842         * lyxlength.[Ch] (operator!=): new function
14843
14844 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14845
14846         * text.C (workWidth): use Inset::parOwner to find out where the
14847         inset has been inserted. This is a huge performance gain for large
14848         documents with lots of insets. If Inset::parOwner is not set, fall
14849         back on the brute force method
14850
14851         * paragraph_pimpl.C (insertInset):
14852         * paragraph.C (Paragraph):
14853         (cutIntoMinibuffer): set parOwner of insets when
14854         inserting/removing them
14855
14856         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14857
14858 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14859
14860         * tabular-old.C (getTokenValue):
14861         * tabular.C (getTokenValue):
14862         (write_attribute): new versions for LyXLength
14863         (everywhere): adjust the use of widths
14864
14865         * tabular.h: change the type of widths from string to LyXLength
14866
14867 2001-12-11  Ben Stanley <bds02@uow.edu.au>
14868
14869         * paragraph.C: fixed missing line number count when exporting
14870         Environments to LaTeX file
14871
14872         * buffer.C: added informational message for checking line numbers.
14873
14874 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14875
14876         * text2.C (deleteEmptyParagraphMechanism): if there is only one
14877         paragraph, do the 'double space' part, but not the 'empty
14878         paragraph' one.
14879
14880         * text.C (workWidth): small optimization
14881         (getLengthMarkerHeight): use minimal size for negative lengths.
14882
14883 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
14884
14885         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14886
14887         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14888
14889 2001-12-11  André Pönitz <poenitz@gmx.net>
14890
14891         * FontLoader.C:
14892         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14893
14894 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14895
14896         * text2.C: keep selection on a setFont()
14897
14898 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14899
14900         * lyx_cb.C: another bv->text misuse, from insert label
14901
14902 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14903
14904         * kbsequence.h:
14905         * kbsequence.C: re-instate nmodifier mask
14906
14907 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
14908
14909         * lyx_main.h: make lyxGUI private.
14910
14911 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14912
14913         * lyxfind.C: place the cursor correctly on failed search
14914
14915 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14916
14917         * text.C (getLengthMarkerHeight): for small heights, the arrows
14918         are not always on top/bottom of the text
14919         (drawLengthMarker): smaller arrows; take the left margin in
14920         account; draw also vfills.
14921         (paintFirstRow):
14922         (paintLastRow): remove special code for vfill and standard spaces,
14923         since everything is handled in drawLengthMarker now.
14924
14925 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14926
14927         * buffer.C (insertErtContents): try to handle font and language
14928         interaction a bit better.g
14929
14930         * ColorHandler.C (updateColor): change the hash to cover the whole
14931         LColor enum, ws cleanup
14932         (getGCLinepars): ditto
14933         (getGCLinepars): only lookup in the linecache once.
14934
14935 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
14936
14937         * iterators.C (operator++): Make the iterator more robust
14938
14939         * BufferView2.C (removeAutoInsets): Use paragraph iterators
14940         (John's patch)
14941         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14942
14943 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14944
14945         * lyxtext.h:
14946         * text.C: better added space drawing
14947
14948 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14949
14950         * LyXView.C:
14951         * BufferView2.C: fix layout combo update on inset unlock
14952
14953 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14954
14955         * Makefile.am: don't compile unused files
14956
14957 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14958
14959         * lyxfunc.C:
14960         * commandtags.h:
14961         * LyXAction.C: remove old LFUN_LAYOUTNO
14962
14963 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14964
14965         * paragraph_pimpl.h:
14966         * paragraph_pimpl.C: isTextAt() doesn't need font param
14967
14968 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14969
14970         * lyxlex.h:
14971         * lyxlex.C: little cleanup
14972
14973 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14974
14975         * BufferView_pimpl.C: fix insertAscii for insets
14976
14977 2001-12-05  Juergen Vigna  <jug@sad.it>
14978
14979         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14980         set the right font on the "multi" paragraph paste!
14981
14982 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14983
14984         * trans_decl.h:
14985         * trans_mgr.[Ch]:
14986         * trans.[Ch]:
14987         * lyxgluelength.C:
14988         * lyxlength.C: remove out-commented code.
14989
14990         * BufferView_pimpl:
14991         * CutAndPaste.C:
14992         * DepTable.C:
14993         * buffer.C:
14994         * chset.C:
14995         * lastfiles.C:
14996         * lyxlex.C:
14997         * lyxlex_pimpl.C:
14998         * lyxserver.C:
14999         * screen.C:
15000         * tabular-old.C:
15001         * tabular.C:
15002         * text.C:
15003         * trans_mgr.C:
15004         * vc-backend.C: change "while(" to "while ("
15005
15006         * lyxlength.[Ch]: add zero function to check if length is zero or
15007         not
15008         * lyxgluelength.C: use it
15009
15010 2001-12-05  Allan Rae  <rae@lyx.org>
15011
15012         * lyxlength.C: Attempted a fix for the abs(int) header selection.
15013         Works for 2.95.3, from what I understand of Garst's reports this should
15014         work for other g++ versions.  We're screwed if the abs(int) definition
15015         changed between bugfix releases of gcc.
15016
15017 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
15018
15019         * text.C: fix chapter label offset !
15020
15021 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
15022
15023         * lyxtext.h:
15024         * text.C: fix hfill at end of line, clean up
15025
15026 2001-12-04  Juergen Vigna  <jug@sad.it>
15027
15028         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
15029         that we force an update of the inset and it's owners if neccessary.
15030
15031 2001-12-03  Juergen Vigna  <jug@sad.it>
15032
15033         * text.C (rowLast): simplified code
15034
15035 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
15036
15037         * lyxfunc.C: fix show options on timeout
15038
15039 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15040
15041         * screen.C (topCursorVisible): scroll half a page when the cursor
15042         reached top of bottom of screen
15043
15044 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
15045
15046         * minibuffer.C: deactivate on loss of focus
15047
15048 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15049
15050         * vspace.[Ch] (operator!=): add operator.
15051
15052 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
15053
15054         * BufferView_pimpl.C: refuse to open an inset when
15055         there's a selection.
15056
15057 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
15058
15059         * BufferView_pimpl.C: allow to click on RHS of full row insets
15060
15061 2001-11-30  Juergen Vigna  <jug@sad.it>
15062
15063         * tabular.C (LyXTabular): add a same_id to set the same id's in the
15064         insets for undo reasons.
15065
15066 2001-11-28  André Pönitz <poenitz@gmx.net>
15067
15068         * vspace.[Ch]: cosmetical changes
15069
15070 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15071
15072         * LyXAction.h:
15073         * LyXAction.C:
15074         * lyxfunc.h:
15075         * lyxfunc.C:
15076         * kbmap.h:
15077         * kbmap.C:
15078         * lyxrc.C:
15079         * kbsequence.h:
15080         * kbsequence.C: part re-write of old kb code
15081
15082         * Painter.C:
15083         * WorkArea.C: remove Lgb_bug_find_hack
15084
15085 2001-11-30  José Matos <jamatos@fep.up.pt>
15086
15087         * buffer.C (makeDocBookFile): add a comment to point a hack.
15088         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
15089         Fixed a double write of labels.
15090
15091 2001-11-29 Ben Stanley <bds02@uow.edu.au>
15092
15093         * LaTeX.C:
15094         * LaTeX.h Fixed bug in LaTeX class where it would not
15095         re-run latex if no depfiles were changed, but the .dvi was removed.
15096
15097 2001-11-28  André Pönitz <poenitz@gmx.net>
15098
15099         * all the files from the change on 2001/11/26:
15100         use lyx::layout_type instead of LyXTextClass::size_type
15101         use lyx::textclass_type instead of LyXTextClassList::size_type
15102
15103 2001-11-29  Juergen Vigna  <jug@sad.it>
15104
15105         * text.C: added support for paragraph::isFreeSpacing()
15106
15107         * buffer.C: same as above
15108
15109         * paragraph.h: inserted isFreeSpacing() function to enable
15110         FreeSpacing inside InsetERT.
15111
15112         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
15113         of the paragraph's in the cut/copy buffer to 0!
15114
15115         * text2.C (removeRow): remove the assert as it can!
15116
15117         * lyxtext.h: added helper function firstRow returning firstrow and
15118         made firstrow private again.
15119
15120         * BufferView2.C (lockInset): don't relock if we're already locked!
15121
15122         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
15123         the only paragraph.
15124         (removeRow): added Assert::(firstrow)
15125
15126         * debug.C: forgot to add INSETTEXT here.
15127
15128 2001-11-28  Juergen Vigna  <jug@sad.it>
15129
15130         * sp_spell.C (initialize): changed error text to more general
15131         spellchecker command use (not only ispell!)
15132
15133         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
15134
15135         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
15136
15137 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15138
15139         * vspace.C: initialise lyxgluelength on failure
15140
15141 2001-11-28  Allan Rae  <rae@lyx.org>
15142
15143         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
15144         declaration & definition that looks like a function declaration.
15145
15146 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15147
15148         * BufferView2.C (copy):
15149         (copyEnvironment): do not clear the selection when doing a copy.
15150
15151         * text.C (paintFirstRow): compilation fix
15152
15153 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
15154
15155         * tabular.C (Latex): correct line count when writing latex.
15156
15157 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
15158
15159         * paragraph_pimpl.h:
15160         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
15161           bug a bit
15162
15163 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15164
15165         * text.C:
15166         * LColor.h:
15167         * LColor.C: change vfillline->added_space
15168
15169         * text.C: add markers and text for added space
15170
15171         * vspace.C: fix comment
15172
15173 2001-11-28  André Pönitz <poenitz@gmx.net>
15174
15175         * paragraph.C: whitespace changes
15176         * all the other files from the change on 2001/11/26:
15177         change *::pos_type into lyx::pos_type
15178
15179 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
15180
15181         * buffer.C (parseSingleLyXformat2Token): Set the language to the
15182         language of the document when inserting error insets.
15183
15184 2001-11-26  André Pönitz <poenitz@gmx.net>
15185
15186         * BufferView_pimpl.[Ch]:
15187         *       CutAndPaste.C:
15188         * buffer.[Ch]:
15189         * lyxcursor.[Ch]:
15190         * lyxfind.C:
15191         * lyxfunc.C:
15192         * lyxrow.[Ch]:
15193         * paragraph.[Ch]:
15194         * paragraph_pimpl.[Ch]:
15195         * sp_spell.C:
15196         * text.C:
15197         * text2.C: reduce header dependencies, introduce type for positions
15198
15199 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15200
15201         * <various>: change to use Alert.h
15202
15203 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
15204
15205         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
15206         when encountering an unknown token.
15207         (readLyXformat2): Show an error message if there were unknown tokens.
15208
15209 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
15210
15211         * BufferView2.C:
15212         * BufferView_pimpl.C:
15213         * buffer.C:
15214         * paragraph.h:
15215         * text.C:
15216         * text2.C: use par->isInset()
15217
15218 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15219
15220         * paragraph_pimpl.h:
15221         * paragraph_pimpl.C: cleanup
15222
15223 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15224
15225         * text2.C (removeRow):
15226         * text.C (setHeightOfRow): remove useless (and costly) call to
15227         getRow.
15228
15229 2001-11-20  Allan Rae  <rae@lyx.org>
15230
15231         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
15232         Now need Inset*::checkInsertChar() to return true for appropriate
15233         cases so that the characters in the minibuffer will actually be
15234         inserted.
15235
15236 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15237
15238         * text.C: change the order of the includes.
15239         (workWidth): initialize it at once.
15240         (workWidth): make maxw unsigned
15241         (setHeightOfRow): remove unused variable (inset)
15242         (selectSelectedWord): remove unused variable (inset)
15243         (paintRowText): fix drawing of hfill characters, and clean up a bit.
15244
15245 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15246
15247         * lyxserver.C (emergencyCleanup): do not try to close pipes if
15248         server is not running.
15249         (openConnection):
15250         (closeConnection): add debug info when server is disabled.
15251
15252         * ColorHandler.C (getGCForeground): send debug message to GUI
15253         channel.
15254
15255         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15256
15257         * kbmap.C (bind): modify because return conventions of
15258         kb_sequence::parse have changed.
15259
15260         * kbsequence.C (parse): only ignore spaces and not any stupid
15261         control character. This avoids tests like s[i] <= ' ', which are
15262         guaranteed to fail with 8bit characters and signed chars.
15263         Change return code to string::npos when there have been no error
15264         (0 was a bad idea when error is at first character)
15265
15266 2001-11-14  José Matos  <jamatos@fep.up.pt>
15267
15268         * buffer.h:
15269         * buffer.C (simpleDocBookOnePar): removed unused argument.
15270
15271 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15272
15273         * text.C (selectNextWordToSpellcheck): do not test explicitely for
15274         insets which are part of a word. Paragraph::isLetter takes care of
15275         that now. Use Paragraph::isInset to identify insets.
15276         (selectSelectedWord): do not test for hyphenation break.
15277
15278         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15279         that protected spaces are considered as spaces.
15280
15281         * paragraph.C (isLetter): cleanup the code for ispell extras; use
15282         Inset::isLetter.
15283
15284 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
15285
15286         * lyxserver.h:
15287         * lyxserver.C: fix it. and small cleanup.
15288
15289 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15290
15291         * BufferView_pimpl.C: use inline helpers
15292
15293         * LaTeXFeatures.h:
15294         * LaTeXFeatures.C: fix typos
15295
15296         * Spacing.h:
15297         * Spacing.C: move spacing_string into class
15298
15299         * ToolbarDefaults.C: move stuff into namespace anon
15300
15301         * layout.h: update enum
15302
15303         * lyxfunc.C: use better debug
15304
15305         * minibuffer.h: fix typo
15306
15307         * debug.h:
15308         * debug.C:
15309         * WorkArea.C: add and use Debug::WORKAREA
15310
15311         * lyxtext.h:
15312         * text.C:
15313         * text2.C: code re-organisation, inline helpers
15314
15315 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
15316
15317         * Layout.C: replaced a few cases of std::vector.size() == 0 with
15318         std::vector.empty().
15319
15320 2001-11-09  Allan Rae  <rae@lyx.org>
15321
15322         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15323         '\n's after tables.  Tabular and ERT inset work now makes this no
15324         longer necessary.
15325
15326 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15327
15328         * minibuffer.h:
15329         * minibuffer.C: fix crash, improve drop-down completion
15330
15331 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
15332
15333         * lyxserver.h:
15334         * lyxserver.C: invalidate fd's when doing endPipe()
15335
15336 2001-11-08  José Matos  <jamatos@fep.up.pt>
15337
15338         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15339         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15340
15341         * paragraph.h:
15342         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15343
15344 2001-11-07  José Matos  <jamatos@fep.up.pt>
15345
15346         * buffer.h:
15347         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15348         const qualifier.
15349
15350         * buffer.C (sgmlOpenTag):
15351         * buffer.C (sgmlCloseTag): removed debug info.
15352
15353         * buffer.h (sgmlOpenTag):
15354         * buffer.h (sgmlCloseTag): made public.
15355
15356 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15357
15358         * buffer.C (saveParamsAsDefaults):
15359         * lyx_cb.C (MenuLayoutSave): remove
15360
15361         * LyXAction.C (init):
15362         * commandtags.h:
15363         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15364
15365 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15366
15367         * buffer.C (setPaperStuff): removed from here...
15368
15369         * bufferparams.C (setPaperStuff): ... and moved there.
15370
15371 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
15372
15373         * minibuffer.h:
15374         * minibuffer.C:
15375         * XFormsView.C: add support for drop-down completion
15376
15377 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
15378
15379         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15380         commands.
15381
15382 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15383
15384         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15385         disabled.
15386
15387 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
15388
15389         * lyx_main.C: change ref to known bugs
15390
15391 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
15392
15393         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15394         to work around older babel problems.
15395
15396 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15397
15398         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15399
15400 2001-10-24  Juergen Vigna  <jug@sad.it>
15401
15402         * tabular-old.C (ReadOld): below variable changes reflected.
15403
15404         * tabular.[Ch]: added ltType struct for longtable header/footer
15405         defines and changed all instances where they are used. Added
15406         future support for double top/bottom rows.
15407
15408 2001-10-24  José Matos  <jamatos@fep.up.pt>
15409
15410         * buffer.h (docbookHandleCaption):
15411         * buffer.C (docbookHandleCaption): removed unused function.
15412         (makeDocBookFile): moved docbook supported version to v4.1.
15413
15414 2001-10-24  José Matos  <jamatos@fep.up.pt>
15415
15416         * tabular.h:
15417         * tabular.C (docbookRow): new function to export docbook code of a row.
15418         (DocBook): now honors the longtable flags.
15419
15420 2001-10-23  José Matos  <jamatos@fep.up.pt>
15421
15422         * LaTeXFeatures.h:
15423         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15424         of the lyx defined sgml entities used in a docbook/linuxdoc document.
15425
15426         * buffer.C (makeLinuxDocFile):
15427         (makeDocBookFile): reworked the preamble, more clean, and with
15428         support for lyx defined entities. Changed the document declaration
15429         to be more XML friendly.
15430
15431         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15432         if we need to output XML that should be done with a filter.
15433
15434 2001-10-22  Juergen Vigna  <jug@sad.it>
15435
15436         * sp_pspell.h (class PSpell): add alive function needed in the
15437         controller to see if the spellchecker could be started.
15438
15439 2001-10-22  Juergen Vigna  <jug@sad.it>
15440
15441         * buffer.C (insertStringAsLines): modify the font for inserting
15442         chars in certain conditions by calling checkInsertChar(font).
15443
15444 2001-10-19  Juergen Vigna  <jug@sad.it>
15445
15446         * text.C (workWidth): use getRow instead of wrong algorithm.
15447         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15448
15449 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
15450
15451         * lyxserver.h:
15452         * lyxserver.C:
15453         * lyx_main.h:
15454         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15455
15456 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15457
15458         * text.C (workWidth): do not search for the exact row when
15459         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15460         optimization for big documents.
15461
15462 2001-10-18  Juergen Vigna  <jug@sad.it>
15463
15464         * text.C (workWidth): new function with added Inset * parameter.
15465
15466 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15467
15468         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15469
15470         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15471         change return type of getColumnNearX.
15472
15473
15474         * text.C (changeRegionCase): use uppercase/lowercase instead of
15475         toupper/tolower.
15476         (leftMargin):
15477         (rightMargin): simplify code by factoring out the uses of
15478         textclasslist.
15479         (labelFill):
15480         (numberOfHfills):
15481         (setHeightOfRow):
15482         (appendParagraph): use Paragraph::size_type
15483
15484 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15485
15486         * vspace.C (asLatexString): add a missing break
15487
15488 2001-10-15  Herbert Voss  <voss@perce.de>
15489
15490         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15491
15492 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15493
15494         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15495         is not available.
15496
15497 2001-10-10  André Pönitz <poenitz@gmx.net>
15498
15499         * lyxfunc.C: removed greek_kb_flag.
15500
15501 2001-10-10  Herbert Voss  <voss@perce.de>
15502
15503         * lyx_main.C: delete global string help_lyxdir.
15504
15505 2001-10-09  Herbert Voss  <voss@perce.de>
15506
15507         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15508
15509         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15510
15511         * lyx_main.C: added global string help_lyxdir.
15512
15513         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15514
15515 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15516
15517         * lyxrc.C (set_font_norm_type): support iso8859-4
15518
15519 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
15520
15521         * LaTeX.C (deplog): add another regex for MikTeX
15522
15523 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15524
15525         * lyxrc.C (set_font_norm_type): support iso8859-3
15526
15527 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15528
15529         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15530
15531         * LaTeXFeatures.C: remove special case of french and index
15532
15533         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15534         before \begin{document}). This solves several incompatibilities.
15535
15536 2001-10-03  Garst Reese  <reese@isn.net>
15537
15538         * lyx_cb.C: change CheckTex error msg.
15539
15540 2001-10-03  José Matos  <jamatos@fep.up.pt>
15541
15542         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15543
15544 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15545
15546         * .cvsignore: update
15547
15548         * lyx_main.C (commandLineVersionInfo): use new style version info.
15549
15550         * buffer.C (writeFile):
15551         (makeLaTeXFile):
15552         (makeLinuxDocFile):
15553         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15554
15555         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15556
15557         * version.h: update to use stuff in version.C
15558
15559         * version.C.in: new file. Contains version information determined
15560         at compile time. This is a merging of version.h and
15561         version_info.h.in.
15562
15563 2001-10-03  Juergen Vigna  <jug@sad.it>
15564
15565         * BufferView_pimpl.C (update): don't change "dirty" status in
15566         updateInset call.
15567
15568 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
15569
15570         * WorkArea.C (c-tor): re-position version string slightly.
15571
15572 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
15573
15574         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15575         revert to previous code.
15576
15577         WorkArea.[Ch]: (show, destroySplash): methods removed.
15578
15579         WorkArea.C: rework code so that it's an amalgam of the codes before and
15580         after the splash screen was moved to WorkArea.
15581
15582 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15583
15584         * lyxrc.C (read):
15585         * vspace.C (inPixels):
15586         (lyx_advance):
15587         * kbmap.C (bind):
15588         * buffer.C (insertStringAsLines):
15589         (asciiParagraph): fix types to be large enough
15590
15591         * lyxlex_pimpl.h: change member status from short to int
15592
15593         * layout.h: fix type of endlabeltype
15594
15595         * kbmap.C (bind):
15596         * kbsequence.C (parse): change return type to string::size_type
15597
15598         * LaTeX.C (updateBibtexDependencies): comment out unneeded
15599         variable
15600
15601         * Bullet.C (bulletSize):
15602         (bulletEntry): do not use short ints as parameters
15603
15604         * BufferView2.C (insertLyXFile): change a char to an int.
15605
15606         * WorkArea.C (WorkArea): remove unneeded floats in computation
15607
15608 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
15609
15610         * buffer.C (asciiParagraph): Treat '\\' as other chars.
15611
15612         * paragraph.C (asString): Do not ignore newline/hfill chars when
15613         copying to the clipboard.
15614
15615 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
15616
15617         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15618         after a multi-line inset.
15619
15620 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
15621
15622         * paragraph.C (validate): Set NeedLyXFootnoteCode
15623
15624 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15625
15626         * lyxfont.C (LyXSizeNames): changed increase-error to increase
15627         and decrease-error to decrease.
15628
15629 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15630
15631         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15632         it more readable (should be equivalent)
15633
15634 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15635
15636         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15637
15638 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15639
15640         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15641         of a cursor (row, etc.) after a character has been deleted
15642         (deleteEmptyParagraphMechanism): call the method above on _all_
15643         cursors held by the LyXText when a double space has been
15644         detected/deleted.
15645
15646 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15647
15648         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15649         pixmap.
15650         (resizeCurrentBuff): remove code to destroy the old splash dialog.
15651
15652         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15653         background. Use greyOut() and the new show() methods to toggle between
15654         the foreground and background. Add code to remove the splash after
15655         its initial showing.
15656
15657         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15658         (create_forms): no longer call Dialogs::showSplash.
15659
15660 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15661
15662         * .cvsignore: add version_info.h
15663
15664 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15665
15666         * version_info.h.in: new file
15667
15668         * Makefile.am: add version_info.h.in
15669
15670         * lyx_main.C (commandLineVersionInfo): use version_info defined in
15671         version_info.h instead of VERSION_INFO
15672
15673 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
15674
15675         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15676         The ERT inset now returns string().
15677
15678 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
15679
15680         * lyxtext.h, text.C (selectNextWord): renamed as
15681         selectNextWordToSpellcheck.
15682
15683         * text.C (selectNextWordToSpellcheck): Modified to not select
15684         words inside an ERT inset.
15685
15686 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15687
15688         * lyx_cb.C (MenuLayoutSave): change a bit the question
15689
15690         * sp_base.h: include <sys/types.h>
15691
15692 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
15693
15694         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15695
15696 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
15697
15698         * several files: fix typos in user-visible strings
15699
15700 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15701
15702         * text2.C (pasteSelection): do not set the selection, since it
15703         will be cleared later. Actually, the intent was to fix the way the
15704         selection was set, but I figured rmoving the code was just as good.
15705
15706 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
15707
15708         * FontLoader.C (available): Check if font is available without
15709         loading the font.
15710
15711 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
15712
15713         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15714
15715 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
15716
15717         * lyxrc.[Ch]: added display_graphics variable and associated code.
15718
15719 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15720
15721         * bufferparams.C (hasClassDefaults): new method. Returns true if
15722         the buffer parameters correspond to known class defaults
15723
15724 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
15725
15726         * XFormsView.C (show): set minimum size to the main window.
15727
15728 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15729
15730         * text2.C (copySelection):
15731         (cutSelection):
15732         * lyxfind.C (LyXReplace):
15733         * BufferView_pimpl.C (Dispatch): pass the correct flag to
15734         LyXText::selectionAsString.
15735
15736         * paragraph.C (asString): add "label" argument to the second form
15737
15738         * text2.C (selectionAsString): add "label" argument and pass it to
15739         Paragraph::asString.
15740
15741 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15742
15743         * lyx_main.C (commandLineHelp): remove version information
15744
15745 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
15746
15747         * lyx_main.C: add -version commandline option
15748
15749 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15750
15751         * paragraph.h: make the optional constructor arg required instead.
15752         some modifications to other files because of this.
15753
15754         * minibuffer.C (C_MiniBuffer_peek_event): make it static
15755
15756         * lyxserver.C (C_LyXComm_callback): make it static
15757
15758         * lyx_main.C (error_handler): make it static
15759
15760         * lyx_gui.C (LyX_XErrHandler): make it static
15761
15762         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15763
15764         * WorkArea.C: make the extern "C" methods static.
15765
15766         * Makefile.am (lyx_LDADD): simplify
15767
15768 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15769
15770         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15771         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15772
15773         * LyXAction.C (init):
15774         * lyxfunc.C (dispatch): associated code removal.
15775
15776 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15777
15778         * lyxfont.h (isSymbolFont): shut off warning
15779
15780         * text.C (setHeightOfRow):
15781         (getVisibleRow): fix crash with empty paragraphs which have a
15782         bottom line
15783
15784 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
15785
15786         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15787         code.
15788
15789 2001-09-04  José Matos  <jamatos@fep.up.pt>
15790         * buffer.C
15791         * buffer.h
15792         * tabular.C (docbook): rename docBook method to docbook.
15793
15794 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15795
15796         * Makefile.am: add dependencies to main.o.
15797
15798 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
15799
15800         * FontLoader.C (available): Return false if !lyxrc.use_gui
15801
15802 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
15803
15804         * FontInfo.C (query):
15805         * converter.C (view):
15806         * importer.C (Import):
15807         * exporter.C (Export): Can not -> cannot.
15808
15809 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
15810
15811         * BufferView_pimpl.C: allow to create index inset even if
15812           string is empty
15813
15814 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15815
15816         * buffer.C (getLists): replace boost::tie code with an explicit pair
15817         as boost::tie can break some compilers.
15818
15819         * iterators.h: Added a std:: declaration to the return type of
15820         ParIterator::size.
15821
15822 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
15823
15824         * lyxrc.C: add help for view_dvi_paper_option, default to safe
15825           case.
15826
15827 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
15828
15829         * iterators.[Ch]: New files. Provide paragraph iterators.
15830
15831         * buffer.C (changeLanguage): Use paragraph iterators.
15832         (isMultiLingual): ditto
15833
15834         * BufferView2.C (ChangeInsets): Use paragraph iterators.
15835
15836 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
15837
15838         * FontLoader.C: Support for cmr font.
15839
15840 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
15841
15842         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15843         (available): New method.
15844
15845         * FontInfo.C (getFontname): Use scalable fonts even when
15846         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15847         found.
15848
15849 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15850
15851         * converter.C (Formats::view): reverted! Incorrect fix.
15852
15853 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15854
15855         * converter.C (Formats::view): only output the -paper option
15856         if the dvi viewer is xdvi, thereby fixing bug #233429.
15857
15858 2001-08-23  Herbert Voss  <voss@perce>
15859
15860         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15861
15862 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
15863
15864         * Spacing.h (Spacing): Set space to Default on in the default
15865         constructor.
15866
15867 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15868
15869         * vc-backend.h (RCS::versionString): add RCS to version
15870         (CVS::versionString): add CVS to version
15871
15872         * vc-backend.C (scanMaster): do not add CVS to version.
15873         (scanMaster): do not add RCS to version
15874
15875         * lyxvc.C (versionString): new method
15876
15877         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15878
15879 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15880
15881         * Spacing.C (set): initialize fval
15882
15883 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
15884
15885         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15886         " or \.
15887
15888 2001-08-16  Juergen Vigna  <jug@sad.it>
15889
15890         * lyxfunc.C (dispatch): implemented the new FINISHED states.
15891
15892 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15893
15894         * BufferView_pimpl.C:
15895         * figureForm.C:
15896         * lyxtext.h:
15897         * text2.C: setParagraph takes linespacing now
15898
15899 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
15900
15901         * LyxAction.C: add internal LFUN_CITATION_INSERT
15902
15903         * LyXView.C: actually apply fix
15904
15905         * bufferlist.C: fix open non-existent file
15906
15907         * lyxfind.C: fix indentation
15908
15909         * lyxfunc.C: remove unneeded assert, fix typo
15910
15911 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15912
15913         * MenuBackend.C: use "Floatname List"
15914
15915 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
15916
15917         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15918         when converting LaTeX layout to insetERT.
15919         Generate a non-collapsed float when reading old float
15920
15921 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15922
15923         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15924         ERT insets.
15925
15926 2001-08-13  Juergen Vigna  <jug@sad.it>
15927
15928         * text.C (fill): return 0 instead of 20 as this seems to be the more
15929         correct value.
15930
15931 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15932
15933         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15934         lyxrc.font_norm.
15935
15936 2001-08-13  Juergen Vigna  <jug@sad.it>
15937
15938         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15939         casesensitive off.
15940         (SearchBackward): comment out the unlocking of the inset_owner this
15941         should not be needed!
15942
15943 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
15944
15945         * Many files: Remove inherit_language, and add latex_language
15946
15947         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15948         collapsible insets.
15949
15950 2001-08-10  Juergen Vigna  <jug@sad.it>
15951
15952         * text.C (prepareToPrint): fixed hfill-width in draw!
15953
15954         * BufferView2.C (selectLastWord): save the selection cursor as this
15955         now is cleared in the function LyXText::clearSelection!
15956
15957 2001-08-08  Juergen Vigna  <jug@sad.it>
15958
15959         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15960         BACKSPACE type functions.
15961
15962         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15963         is only cutted from the document but not put in the cut-buffer, where
15964         still the old stuff should be.
15965
15966         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15967
15968         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15969
15970         * tabular.C (SetWidthOfCell): fixed special case where the width
15971         was not updated!
15972         (LeftLine): handle '|' in align_special.
15973         (RightLine): ditto
15974         (LeftAlreadyDrawed): ditto
15975         (SetWidthOfCell): ditto
15976
15977 2001-08-07  Juergen Vigna  <jug@sad.it>
15978
15979         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15980
15981 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15982
15983         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15984         * lyxlex.[hC]: ditto
15985
15986 2001-08-06  Juergen Vigna  <jug@sad.it>
15987
15988         * text.C (getVisibleRow): fix up row clearing a bit.
15989
15990 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15991
15992         * minibuffer.C: make sure the X server sees the changes in the input.
15993
15994 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15995
15996         * paragraph.C (getFont): split into...
15997         (getLabelFont): this
15998         (getLayoutFont): and this
15999         * paragraph_pimpl.C (realizeFont): calling this
16000
16001         * text2.C (getFont): split into...
16002         (getLayoutFont): this
16003         (getLabelFont): and this
16004         (realizeFont): all three calling this
16005
16006         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
16007         files where used.
16008
16009 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16010
16011         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
16012
16013 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
16014
16015         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
16016         layouts from the Quote inset insertion.
16017
16018 2001-08-03  Juergen Vigna  <jug@sad.it>
16019
16020         * BufferView_pimpl.C (update): do the fitCursor only at the end!
16021
16022         * screen.C (drawFromTo): don't call fitcursor here and do the loop
16023         only if status not is already CHANGED_IN_DRAW (second level).
16024
16025         * text.C (draw): don't set the need_break_row when inside an
16026         InsetText LyXText.
16027
16028 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16029
16030         * buffer.C (parseSingleLyXformat2Token): handle more latex
16031         conversion cases.
16032
16033         * bufferview_funcs.[hC]: change function names to
16034         begin with small char, adjust other files.
16035
16036 2001-08-02  André Pönitz <poenitz@gmx.net>
16037
16038         * lyxfunc.C:
16039         BufferView_pimpl.C: remove broken special code for math-greek
16040
16041 2001-08-02  Juergen Vigna  <jug@sad.it>
16042
16043         * BufferView_pimpl.C (update): redone this function so that we
16044         update the text again if there was a CHANGE_IN_DRAW.
16045
16046         * screen.C (cursorToggle): removed LyXText parameter and recoded.
16047         (drawFromTo): added a new internal bool which is used by draw() and
16048         redraw() function.
16049         (general): some cursor drawing problems fixed.
16050
16051 2001-08-01  Juergen Vigna  <jug@sad.it>
16052
16053         * lyxfind.C (LyXFind): fixed
16054         (SearchForward): ditto
16055         (SearchBackward): ditto
16056
16057         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
16058         spurius drawing of the cursor in the main area.
16059
16060         * text2.C (status): small fix which could lead to a segfault!
16061         (clearSelection): remove unneeded BufferView param.
16062
16063 2001-08-01  André Pönitz <poenitz@gmx.net>
16064
16065         * lyxfunc.C: small change due to changed mathed interface
16066
16067 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16068
16069         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
16070
16071 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
16072
16073         * lyxfunc.c: fail gracefully if file doesn't exist
16074
16075         * LyXSendto.C:
16076         * buffer.C:
16077         * lyxfunc.C:
16078         * BufferView_pimpl.C: IsDirWriteable() proto changed
16079
16080         * LyXView.C: fix updateWindowTitle() to store the last title
16081
16082 2001-07-31  Juergen Vigna  <jug@sad.it>
16083
16084         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
16085         the font (wrong since using of Paragraph::highestFontInRange).
16086
16087         * paragraph.C (highestFontInRange): added a default_size parameter.
16088
16089         * text.C (getVisibleRow): minor clear row changes (still not perfect).
16090         (setHeightOfRow): reformat
16091
16092 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16093
16094         * converter.[hC] + affected files: move to (inital-char)lowercase
16095         function names.
16096
16097         * ParagraphParameters.C (ParagraphParameters): remove commented code
16098
16099         * PainterBase.[Ch]: remove commented code
16100
16101         * LaTeXFeatures.h: add "bool floats" for float.sty
16102
16103         * LaTeXFeatures.C (LaTeXFeatures): init floats
16104         (require): handle float
16105         (getPackages): do it with floats
16106
16107 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16108
16109         * BufferView_pimpl.C (Dispatch): improve handling of
16110         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
16111
16112         * commandtags.h: #include lyxfont.h here temporarily to avoid
16113         keybinding bug.
16114
16115         * bufferlist.h: include LString.h here.
16116
16117 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16118
16119         * text2.C (getStringToIndex): new method.
16120
16121 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
16122
16123         * *: Reduced header file dependencies all over.
16124
16125 2001-07-30  Baruch Even  <baruch@lyx.org>
16126
16127         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
16128
16129 2001-07-29  Baruch Even  <baruch@lyx.org>
16130
16131         * buffer.C (readInset): Changed GRAPHICS to Graphics.
16132
16133 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16134
16135         * ParameterStruct.h (endif): add a default constructor to make
16136         sure that all variables is initialized.
16137
16138         * ParagraphParameters.C (ParagraphParameters): adjust
16139
16140 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16141
16142         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
16143         index; also, check that there is something to index, and that it
16144         does not span over several paragraphs.
16145         (doubleClick): use WHOLE_WORD_STRICT for double click.
16146
16147         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
16148
16149         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
16150         scheme.
16151
16152 2001-07-26  Baruch Even  <baruch@lyx.org>
16153
16154         * buffer.C (readInset): Changed to call up InsetGraphics when reading
16155         an InsetFig figure, backwards compatible reading of old figure code.
16156
16157 2001-07-27  Juergen Vigna  <jug@sad.it>
16158
16159         * text2.C: font.realize function adaption.
16160
16161         * text.C (draw): add a warnings lyxerr text if needed.
16162
16163         * layout.C: font.realize function adaption.
16164
16165         * language.C: add inherit_language and implement it's handlings
16166
16167         * bufferview_funcs.C (StyleReset): remove language parameter from
16168         font creation (should be language_inherit now).
16169
16170         * bufferparams.C (writeFile): handle ignore_language.
16171
16172         * paragraph.C (getFontSettings): the language has to be resolved
16173         otherwise we have problems in LyXFont!
16174
16175         * lyxfont.C (lyxWriteChanges): added document_language parameter
16176         (update): removed unneeded language parameter
16177
16178         * paragraph.C (validate): fixed wrong output of color-package when
16179         using interface colors for certain fonts in certain environments,
16180         which should not seen as that on the final output.
16181
16182 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
16183
16184         * BufferView_pimpl.C:
16185         * Thesaurus.h:
16186         * Thesaurus.C:
16187         * Makefile.am:
16188         * commandtags.h:
16189         * LyXAction.C: add thesaurus support
16190
16191         * lyxfind.h:
16192         * lyxfind.C: add "once" parameter, for thesaurus, to not
16193           move to the next match
16194
16195 2001-07-26  Juergen Vigna  <jug@sad.it>
16196
16197         * lyxfont.C (realize): honor ignore_language too!
16198         (resolved): ditto.
16199
16200         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
16201
16202         * text.C (draw): one place more for ignore_language to not draw
16203         itself!
16204
16205 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
16206
16207         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
16208
16209 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16210
16211         * buffer.C (parseSingleLyXformat2Token): a more general fix for
16212         the minipage conversion problem.
16213
16214 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16215
16216         * buffer.C (parseSingleLyXformat2Token): check minipage if we
16217         insert an inset.
16218
16219 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16220
16221         * BufferView.h: don't forward declare WorkArea
16222
16223         * BufferView.C: don't include WorkArea.h
16224
16225 2001-07-25  André Pönitz <poenitz@gmx.net>
16226
16227         * commandtags.h:
16228         * LyXAction.C:
16229         * lyxfunc.C:  new LFUN 'math-space'
16230
16231         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
16232
16233 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16234
16235         * text2.C (toggleInset): call open/close
16236
16237 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16238
16239         * lyxfunc.C (dispatch): add debug for the disabled case
16240
16241         * font.C (buttonText): make similar to rectText
16242
16243         * buffer.C (readInset): comment out parsing of insetlist and
16244         insttheorem
16245
16246         * PainterBase.C (rectText): small correction
16247
16248         * BufferView_pimpl.C: comment out insettheorem and insetlist
16249         * LyXAction.C: ditto
16250         * commandtags.h: ditto
16251
16252 2001-07-24  Juergen Vigna  <jug@sad.it>
16253
16254         * text.C (draw): honor the ignore_language.
16255
16256         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16257
16258 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16259
16260         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16261         char inset.
16262
16263 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16264
16265         * lyxtext.h: remove unused (and unimplemented) methods
16266
16267 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16268
16269         * text.C (getVisibleRow): honor background color
16270
16271         * PainterBase.h:
16272         * Painter.h: remove default color argument for fillRectangle
16273
16274         * text.C (backgroundColor): new method
16275
16276 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16277
16278         * text.C (getVisibleRow): adjust
16279
16280         * font.[Ch] (rectText): new method, metrics
16281         (buttonText): new method, metrics
16282
16283         * PainterBase.[hC]: make rectText and buttonText always draw and take
16284         fewer paramteres.
16285
16286 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16287
16288         * ToolbarDefaults.C (read):
16289         * MenuBackend.C (read): allow escaping in all strings
16290
16291         * BufferView_pimpl.C (insertAndEditInset): new method.
16292         (Dispatch): use insertAndEditInset whenever appropriate.
16293
16294         * BufferView_pimpl.C (insertNote): removed
16295
16296         * BufferView_pimpl.C (smartQuote): new method, moved from
16297         BufferView; if an insetquote cannot be inserted, insert a '"'
16298         character instead.
16299
16300         * BufferView2.C: remove insertCorrectQuote();
16301
16302         * lyxfunc.C (getStatus): Add support for all remaingin
16303         inset-insert lfuns.
16304
16305         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16306
16307         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16308         command (necessary to pass " as parameter of self-insert.
16309
16310         * text.C (selectWordWhenUnderCursor):
16311         (selectWord): add word_location parameter
16312         (selectWordWhenUnderCursor): same + remove special code for word
16313         boundary.
16314         (selectNextWord): use kind() to guess type of insetspecialchar,
16315         not latex().
16316
16317         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16318         (insertErtContents): create ert insets as collapsed.
16319         (readInset): better compatibility code for Info inset.
16320
16321 2001-07-20  Juergen Vigna  <jug@sad.it>
16322
16323         * lyxfunc.C (dispatch): use always LyXFind now!
16324
16325         * text2.C (init): add a reinit flag so that the LyXText can be
16326         reinited instead of deleted and reallocated (used in InsetText).
16327
16328         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16329
16330         * text.C: ditto
16331
16332         * text2.C: ditto
16333
16334 2001-07-18  Juergen Vigna  <jug@sad.it>
16335
16336         * text.C (selectNextWord): handle insets inside inset by calling
16337         always the bv->text functions so that we can go up the_locking_inset!
16338
16339         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16340         in strange locations when inside an inset!
16341
16342         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16343         handling to include insets.
16344
16345         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16346
16347 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16348
16349         * LyXAction.C (init):
16350         * commandtags.h:
16351         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16352         LIGATURE_BREAK, since the name is so stupid.
16353
16354 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16355
16356         * buffer.C (readInset): enable reading of new InsetNotes as well as old
16357         InsetInfos.
16358
16359         * FontLoader.C: remove FORMS_H_LOCATION cruft.
16360
16361         * sp_form.[Ch]: remove.
16362
16363         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16364
16365         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16366         InsetInfo.
16367
16368         * src/buffer.C (readInset): ditto.
16369
16370 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16371
16372         * BufferView_pimpl.C (specialChar): new method. Obsoletes
16373         menuSeparator(), endOfSentenceDot(), ldots() and
16374         hyphenationPoint(), which are therefore removed.
16375         (Dispatch): handle LFUN_HYPHENATION_BREAK.
16376
16377         * LyXAction.C (init):
16378         * commandtags.h: add LFUN_HYPHENATION_BREAK.
16379
16380         * paragraph.C (getWord): removed.
16381
16382         * BufferView_pimpl.C (Dispatch): use last word or selection for
16383         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16384
16385         * lyx_main.C (queryUserLyXDir): do not ask before creating
16386         user_dir, except if it has been named explicitely.
16387
16388 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16389
16390         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16391         a document of zero size.
16392
16393 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
16394
16395         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16396         approriately in the c-tor and in require().
16397         (getPackages): output the appropriate LaTeX for natbib support.
16398
16399         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16400         variables "use_natbib" and "use_numerical_citations" when reading the
16401         LyX file.
16402         (readInset): read the various natbib cite commands.
16403         (validate): white-space change.
16404
16405         * bufferparams.[Ch]: new variables "bool use_natbib" and
16406         "bool use_numerical_citations".
16407         (writeFile): output them in the LyX file.
16408
16409 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16410
16411         * lyxfunc.C (getStatus): add support for all the inset insertion
16412         commands.
16413
16414         * text2.C (insertInset):
16415         * paragraph.C (insetAllowed):
16416         * BufferView_pimpl.C (insertInset): update to take in account the
16417         renaming of insertInsetAllowed
16418
16419         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16420
16421         * text2.C (getInset): new method. returns inset at cursor position.
16422
16423         * BufferView_pimpl.C (Dispatch): changes because of this.
16424
16425         * LyXAction.C (init): rename open-stuff to inset-toggle.
16426
16427         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16428
16429         * text2.C (toggleInset): renamed from openStuff; use
16430         Inset::open().
16431
16432 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
16433
16434         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16435
16436         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16437
16438 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
16439
16440         * buffer.C (readLyXformat2): Add filename to the error dialog
16441
16442 2001-07-18  Juergen Vigna  <jug@sad.it>
16443
16444         * tabular.C (GetCellNumber): put an assert here instead of the check!
16445
16446 2001-07-17  Juergen Vigna  <jug@sad.it>
16447
16448         * BufferView_pimpl.C (toggleSelection): adapted too.
16449
16450         * text.C (selectNextWord): adapted for use with insets.
16451         (selectSelectedWord): ditto
16452
16453 2001-07-17  Juergen Vigna  <jug@sad.it>
16454
16455         * sp_spell.C (PSpell): fix initialitation order.
16456
16457 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16458
16459         * paragraph.C: spacing
16460
16461 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
16462
16463         * sp_spell.C: repair language selection for pspell
16464
16465 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16466
16467         * lyxfunc.h: change more methods to begin with lower char.
16468
16469 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
16470
16471         * buffer.C (parseSingleLyXformat2Token): Generate error insets
16472         for unknown layouts.
16473
16474 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
16475
16476         * buffer.C (readLyXformat2): Generate an error dialog if there are
16477         unknown layouts.
16478
16479 2001-07-16  Juergen Vigna  <jug@sad.it>
16480
16481         * sp_spell.C: always compile ISpell part.
16482
16483         * lyxrc.C: added use_pspell entry and it's handling.
16484
16485 2001-07-13  Juergen Vigna  <jug@sad.it>
16486
16487         * sp_spell.C: removed double includes.
16488
16489 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
16490
16491         Consistent use of Lsstream.h:
16492         * Lsstream.h: added using std::stringstream for consistencies sake.
16493
16494         * buffer.C: removed using std::stringstream
16495
16496         * lyxfont.C (stateText):
16497         * paragraph.C (asString):
16498         * text.C (selectNextWord, selectSelectedWord):
16499         * text2.C (setCounter):
16500         * vspace.C (asString, asLatexString):
16501         std::ostringstream -> ostringstream.
16502
16503 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16504
16505         * LyXAction.C: add LFUN_HELP_ABOUTLYX
16506         * commandtags.h: add LFUN_HELP_ABOUTLYX
16507         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16508
16509 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16510
16511         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16512         cursorToggle()
16513         * lyx_gui_misc.C: remove spellchecker
16514         * lyxfunc.C: showSpellchecker
16515         * sp_base.h: added
16516         * sp_ispell.h: added
16517         * sp_pspell.h: added
16518         * sp_spell.C: added
16519         * sp_form.[Ch]: removed
16520         * spellchecker.[Ch]: removed
16521
16522 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
16523
16524         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16525         is set.
16526         (simpleTeXSpecialChars): Simply print the input character without
16527         any special translation if pass_thru is set.
16528
16529         * layout.h: Added bool pass_thru to layout class for being able to
16530         implement pass through of a paragraph for Literate Programming.
16531
16532         * layout.C: add LT_PASS_THRU to LayoutTags enum.
16533         * layout.C (LyXLayout): set pass_thru to flase in constructor.
16534         * layout.C (Read): add "passthru" to list of layout tags and add
16535         code to set the pass_thru boolean when it is read.
16536
16537 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16538
16539         * trans_decl.h: remove allowed from KmodInfo
16540
16541         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16542         remove allowed code
16543         (Load): adjust
16544
16545         * paragraph_pimpl.C (erase): use boost::prior
16546
16547         * Painter.C (text): use data() instead of c_str() when length is
16548         also provided.
16549         * WorkArea.C (putClipboard): ditto
16550         * font.h (width): ditto
16551
16552         * BufferView2.C: use it-> instead of (*it). for iterators
16553         * texrow.C: ditto
16554         * paragraph_pimpl.C: ditto
16555         * paragraph.C: ditto
16556         * minibuffer.C: ditto
16557         * language.C: ditto
16558         * kbmap.C: ditto
16559         * encoding.C: ditto
16560         * counters.C: ditto
16561         * converter.C: ditto
16562         * chset.C: ditto
16563         * Variables.C: ditto
16564         * TextCache.C: ditto
16565         * MenuBackend.C: ditto
16566         * LyXAction.C: ditto
16567         * LColor.C: ditto
16568         * FloatList.C: ditto
16569         * DepTable.C: ditto
16570         * ColorHandler.C (LyXColorHandler): ditto
16571
16572 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16573
16574         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16575
16576         * text2.C (openStuff): reintroduce this method (which had been
16577         nuked in NEW_INSETS frenzy).
16578
16579         * lyxfunc.C (Dispatch): when an action has not been handled, use
16580         its name in the error message, not its number.
16581
16582         * paragraph.C (inInset): change method name to begin with lowercase.
16583
16584         * undo_funcs.C:
16585         * text2.C: updates because of this.
16586
16587 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16588
16589         * ToolbarDefaults.C (add): add spaces in error message
16590
16591 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16592
16593         * buffer.C (readLyXformat2): initialize the ert comp. variables.
16594         (readLyXformat2): rename return_par to first_par, use lyxlex's
16595         pushToken and remove the manual push handling.
16596         (parseSingleLyXformat2Token): add another ert comp. variable:
16597         in_tabular, rename return_par to first_par. handle newlines better
16598
16599 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16600
16601         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16602
16603 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16604
16605         * text2.C (getParFromID): removed
16606
16607         * buffer.C (getParFromID): new method moved form lyxtext.
16608         * BufferView2.C (insertErrors): adjust
16609         (setCursorFromRow): adjust
16610         * BufferView_pimpl.C (restorePosition): adjust
16611         * lyxfunc.C (Dispatch): adjust
16612         * undo_funcs.C (textUndo): adjust
16613         (textRedo): adjust
16614         (textHandleUndo): adjust
16615         (textHandleUndo): adjust
16616
16617 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16618
16619         * buffer.C: up' the LYX_FORMAT
16620
16621         * lyxfont.h: turn NO_LATEX on as default
16622
16623         * buffer.C (insertErtContents): new methods of tex style compability.
16624         (parseSingleLyXformat2Token): use it several places.
16625         * tabular.C (OldFormatRead): and here
16626
16627 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16628
16629         * text2.C: remove some commented code.
16630         reindent file.
16631
16632         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16633         * trans.C: changes because of the above.
16634
16635 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
16636
16637         * text2.C (setCounter): Fix counters bug with bibliography layout.
16638
16639 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16640
16641         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16642         own member functions
16643         (simpleTeXSpecialChars): ditto
16644
16645 2001-07-06  Juergen Vigna  <jug@sad.it>
16646
16647         * a lot of files: changed the access to LyXText::status and the
16648         call of undo-functions.
16649
16650         * undo.[Ch]: added a inset_id to the undo informations.
16651
16652         * undo_funcs.[Ch]: added and moved here all undo functions.
16653
16654         * lyxtext.h: give the status enum a weight, made status_ a private
16655         variable and made accessor functions for it, removed the whole bunch
16656         of undo-functions as they are now in their own file, make some
16657         functions publically available. Added function ownerParagraph with
16658         int parameter.
16659
16660         * paragraph.[Ch]: added "bool same_ids" to the constructor,
16661         made InInset() a const function, added getParFromID() function.
16662
16663         * buffer.[Ch]: added const version for inset_iterator functions,
16664         added getInsetFromID() function.
16665
16666         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16667         changed undo functions for new version.
16668
16669 2001-07-05  Juergen Vigna  <jug@sad.it>
16670
16671         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16672         unknow mechanism does not call the proper constructor but only this
16673         one also if I request the other!?
16674
16675 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16676
16677         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16678
16679         * text2.C (LyXText): use initialization lists.
16680
16681         * lyxtext.h (Selection): initialize set_ and mark_
16682         (init): remove method
16683
16684 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
16685
16686         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16687
16688 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16689
16690         * screen.[Ch]: change method names to begin with lowercase
16691
16692         * BufferView_pimpl.C (updateScrollbar): simplify further and
16693         hopefully make it a bit faster.
16694
16695 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16696
16697         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16698         calling directly xforms functions.
16699
16700         * Painter.C (Painter):
16701         * lyx_cb.C (MenuWrite):
16702         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16703         fl_display.
16704
16705         * lyx_gui.C: remove bogus guiruntime extern declaration.
16706
16707 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16708
16709         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16710         in NEW_INSETS
16711         (redoDrawingOfParagraph): ditto
16712         (redoParagraphs): ditto
16713         (cutSelection): don't create a object for CutAndPaste use the
16714         static method directly
16715         (pasteSelection): ditto
16716
16717         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16718         LyXview (+ rename)
16719
16720 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16721
16722         * modifications to some other files because of this.
16723
16724         * Makefile.am (lyx_SOURCES): add XFormsView
16725
16726         * XFormsView.[Ch]: new files
16727
16728         * LyXView.[Ch]: make LyXView a base class for the gui handling for
16729         the main window. Move the gui dependent stuff to XFormsView
16730
16731 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16732
16733         * tabular.C (GetCellInset): update cur_cell also in the row/col
16734         version of this function.
16735
16736         * lyxfunc.C: no need to include figure_form.h here.
16737
16738         * FontLoader.h:
16739         * lyxfunc.h:
16740         * lyxscreen.h:
16741         * text2.C:
16742         * lyxvc.C: no need to include forms.h here.
16743
16744 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16745
16746         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16747
16748         * lyxfunc.C (Dispatch):
16749         * Spacing.C (set):
16750         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16751         constructor argument.
16752
16753 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16754
16755         * paragraph.C (Paragraph): dont't clear, and just set layout.
16756         (makeSameLayout): use params's copy contructor.
16757
16758         * ParagraphParameters.[Ch] (makeSame): delete method
16759
16760 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
16761
16762         * Variables.[Ch]: fix indentation, rename set to isSet
16763
16764 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16765
16766         * lyxfunc.C (Dispatch): fix typo
16767
16768 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16769
16770         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16771         upper_bound.
16772
16773         * bufferlist.C: include assert.h for emergencyWrite().
16774
16775 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16776
16777         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16778           give up at last (bug #425202) !
16779
16780 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
16781
16782         * lyx_gui_misc.C:
16783         * sp_form.h:
16784         * sp_form.C:
16785         * spellchecker.h:
16786         * spellchecker.C: strip spellchecker options and bring up
16787           preferences tab instead
16788
16789 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16790
16791         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16792         the istringstream constructor
16793
16794 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16795
16796         * paragraph.C (getLayout): fix return value
16797
16798         * paragraph.h: do not declare getLayout as inline.
16799
16800         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16801
16802 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16803
16804         * lyxcursor.h (operator<): new func
16805         (operator>): new func
16806         (operator>=): new func
16807         (operator<=): new func
16808
16809         * text.C (changeCase): use selection.start and selection.end
16810         (changeRegionCase): require from to be <= to. Require par to be a
16811         valid paragraph.
16812
16813         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16814
16815 2001-06-27  Juergen Vigna  <jug@sad.it>
16816
16817         * text.C (cursorLeftOneWord): changed to return the cursor and added
16818         overlay with BufferView * parameter which calls this one.
16819         (getWord): added
16820         (selectWord): use new getWord function.
16821         (changeCase): renamed from changeWordCase as and extended to work
16822         also on selections.
16823
16824         * lyxtext.h: added enum word_location
16825
16826         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16827         changeCase as this operates now also on selections.
16828
16829 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
16830
16831         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16832
16833         * many files: send debug output to Debug::INFO instead of
16834         Debug::ANY.
16835
16836         * converter.C (View):
16837         (Convert):
16838         (Move): send debug output to Debug::FILES instead of console.
16839
16840 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
16841
16842         * lyxfunc.C (getStatus): use func_status
16843
16844         * func_status.h: new header, describing the results of
16845         LyXFunc::getStatus;
16846
16847         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16848         LFUN_MATH_HALIGN.
16849
16850 2001-06-25  The LyX Project  <jug@sad.it>
16851
16852         * buffer.C (sgmlOpenTag):
16853         (sgmlCloseTag):
16854         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
16855
16856 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16857
16858         * text2.C: remove some dead code
16859
16860         * tabular.C (GetCellInset): store the last cell checked (gotten)
16861
16862         * tabular.h: add the helper for the speedup
16863
16864         * lyxtext.h: remove some dead code
16865
16866 2001-06-26  The LyX Project  <Asger>
16867
16868         * paragraph.C: Change export to LaTeX of alignment to
16869         \begin{center} and family for better roundtrip work with reLyX.
16870
16871         * Tune the math drawing a bit.
16872
16873 2001-06-25  The LyX Project  <Asger>
16874
16875         * LColor.C (LColor): New color for math background. New color
16876         for buttons.
16877
16878 2001-06-25  The LyX Project  <jug@sad.it>
16879
16880         * lyxfunc.C (MenuNew): remove extra check for .lyx file
16881
16882         * lyxfunc.C (Open):
16883         * bufferlist.C (newFile): do not restrict to files ending with
16884         .lyx
16885
16886         * BufferView_pimpl.C (MenuInsertLyXFile):
16887
16888 2001-06-24  The LyX Project  <jug@sad.it>
16889
16890         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16891         of compare_no_case
16892
16893 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16894
16895         * lyxtext.h: rename most methods to begin with a small char.
16896         Lots of changes because of this.
16897
16898         * paragraph.C (Paragraph): do not call fitToSize
16899         (erase): call Pimpl::erase
16900         (insertChar): call Pimpl::insertChar
16901         (insertInset): call Pipl::insertInset
16902         (breakParagraph): do not call fitToSize
16903         (breakParagraphConservative): do not call fitToSize
16904         (fitToSize): remove method
16905
16906         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16907
16908 2001-06-24  The LyX Project  <Asger>
16909
16910         * Fix Qt compilation^2
16911
16912 2001-06-24  The LyX Project  <jug@sad.it>
16913
16914         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16915         depthHook(getDepth()-1).
16916
16917         * paragraph.h:
16918         * ParagraphParameters.h:
16919         * ParameterStruct.h: change type of depth to unsigned int ==
16920         depth_type. Many adaptations to other files before of that.
16921
16922 2001-06-24  The LyX Project  <Asger>
16923
16924         * Fix Qt compilation.
16925
16926 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16927
16928         * paragraph.h: renamed several methods to begin with small letter.
16929         several changes to many parts of the code because of this.
16930
16931 2001-06-23  The LyX Project  <jug@sad.it>
16932
16933         * text2.C (InsertStringAsLines): renamed from InsertStringA;
16934         rewritten to discard all double spaces when KeepEmpty is off
16935         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16936         to only handle newlines but not fiddle with spaces and friends.
16937
16938         * lyxfunc.C (MenuNew): when doing 'new from template', use
16939         template_path as default directory
16940
16941 2001-06-23  The LyX Project  <Asger>
16942
16943         * Clean-up of header file includes all over
16944         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16945
16946 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16947
16948         * paragraph.h: renamed from lyxparagraph.h
16949
16950 2001-06-23  Asger  <lyx@violet.home.sad.it>
16951
16952         * Buffer.h: Removed Buffer::resize
16953         * BufferList.h: Removed BufferList::resize
16954         * LyXView.h: Added LyXView::resize. This way, we will only reflow
16955         the document lazily when we change the width, or the font settings.
16956
16957 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16958
16959         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16960
16961 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16962
16963         * buffer.h: remove out of date comment
16964
16965 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16966
16967         * lyxscreen.h:
16968         * screen.C: fix "theoretical" GC leak
16969
16970 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16971
16972         * LaTeX.C (scanAuxFile):
16973         (deplog): remove trailing \r when reading stream (useful under
16974         win32)
16975
16976 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
16977
16978         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16979         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16980         and BufferView::theLockingInset(Inset*), so should use them and not
16981         access bv_->text->the_locking_inset directly.
16982
16983         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16984
16985 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16986
16987         * Makefile.am:
16988         * tex-defs.h: remove old unused file
16989
16990 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
16991
16992         * BufferView_pimpl.C: fix typo, remove minibuffer message
16993           when buffer has loaded
16994
16995 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16996
16997         * lyxfunc.C (Dispatch): use stringstream
16998         (MenuNew): use stringstream
16999         (Open): use stringstream
17000
17001         * importer.C (Import): use stringstream
17002
17003         * bufferview_funcs.C (CurrentState): use stringstream
17004
17005         * LaTeX.C (run): use stringstream
17006
17007         * BufferView_pimpl.C (savePosition): use stringstream
17008         (restorePosition): use stringstream
17009         (MenuInsertLyXFile): use stringstream
17010
17011 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
17012
17013         * BufferView.C:
17014         * Bullet.C:
17015         * ColorHandler.C:
17016         * FontInfo.C:
17017         * FontLoader.C:
17018         * LColor.C:
17019         * LaTeXFeatures.C:
17020         * Painter.C:
17021         * gettext.C:
17022         * lyx_gui_misc.C:
17023         * lyxserver.C:
17024         * vspace.C: removed // -*- C++ -*- as first line.
17025
17026         * lyxfind.h:
17027         * version.h: added // -*- C++ -*- as first line.
17028
17029 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17030
17031         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
17032
17033         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
17034         of string
17035
17036 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17037
17038         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
17039         of floats.
17040
17041 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17042
17043         * gettext.C: include LString.h even when --disable-nls is on.
17044
17045 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
17046
17047         * converter.h (Get): changed argument type from int to
17048         FormatList::size_type to avoid unnecessary conversion.
17049
17050         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
17051         before using it.
17052
17053 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17054
17055         * gettext.h: include LString.h even when --disable-nls is on.
17056
17057 2001-06-07  Juergen Vigna  <jug@sad.it>
17058
17059         * text.C (BreakAgain): subst spaces with tabs.
17060
17061         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
17062         (resizeInsetsLyXText): set force on resizeLyXText.
17063
17064 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17065
17066         * gettext.h (gettext_init):
17067         (locale_init): use a real definition instead of a macro
17068
17069 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
17070
17071         * Bufferview_pimpl.C:
17072         * LColor.h:
17073         * LColor.C: further lcolor tidies
17074
17075 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17076
17077         * BufferView_pimpl.C (updateScrollbar): simplify.
17078
17079         * BufferView2.C: don't include insets/insetinfo.h, change
17080         prototype for insertInset and call the Pimpl version. let
17081         updateInset call Pimpl version.
17082
17083         * BufferView.h: move inset_slept to BufferView::Pimpl, move
17084         gotoInset to BufferView::Pimpl
17085
17086 2001-06-01  Juergen Vigna  <jug@sad.it>
17087
17088         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
17089         inside a LockingInset (is the update needed at all?).
17090
17091 2001-05-31  Juergen Vigna  <jug@sad.it>
17092
17093         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
17094         here not the old one otherwise how should we compare it afterwards
17095         if it's the same!
17096
17097 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17098
17099         * lyxfont.C:
17100         * tabular.C:
17101         * tabular-old.C:
17102         * FontInfo.C: bring C functions into global namespace when
17103         necessary
17104
17105 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17106
17107         * LString.h: make sure config.h has been loaded before LString.h.
17108
17109         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
17110         (one for each char read by EatLine!).
17111
17112         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
17113         variables.
17114
17115 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17116
17117         * paragraph.C (BreakParagraph): set the inset_owner in the new par
17118         to the same as the par we break from
17119
17120 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17121
17122         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
17123
17124         * MenuBackend.C (expand): also create menu entries for wide
17125         versions of the floats.
17126
17127         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
17128
17129         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
17130
17131         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
17132         frontends/Makefile.am
17133
17134         * text2.C: adjust
17135         * text.C: adjust
17136
17137
17138         * tabular.C (getTokenValue): add std::
17139
17140         * tabular-old.C (getTokenValue): add std::
17141         (getTokenValue): ditto
17142         (getTokenValue): ditto
17143
17144         * screen.C (ToggleSelection): adjust
17145
17146         * lyxtext.h: put selection cursors inside a Selection struct.
17147
17148         * lyxfunc.C (moveCursorUpdate): adjust
17149
17150         * lyxfont.C (latexWriteStartChanges): add std::
17151
17152         * lyxfind.C: adjust
17153
17154         * font.h: delete with(char const *, LyXFont const &)
17155
17156         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
17157
17158         * FontInfo.C (getFontname): add std::
17159
17160         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
17161         (workAreaButtonPress): adjust
17162         (tripleClick): adjust
17163         (update): adjust
17164         (moveCursorUpdate): adjust
17165         (Dispatch): adjust
17166
17167         * BufferView2.C (gotoInset): adjust
17168
17169 2001-05-30  Juergen Vigna  <jug@sad.it>
17170
17171         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
17172         to check pspell I add this as default as I now have new pspell
17173         libraries and they seem to use this.
17174
17175 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17176
17177         * text2.C (CutSelection): make the cursor valid before the call to
17178         ClearSelection.
17179
17180 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17181
17182         * kbsequence.C (parse): de-uglify a bit the parsing code, which
17183         relied on 0 terminated strings and other horrors. Bug found due to
17184         the new assert in lyxstring!
17185
17186         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
17187         KP_ keys.
17188
17189 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17190
17191         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
17192         to latinkeys.bind.
17193
17194         * lyxfunc.C (processKeySym): change method of getting to the
17195         self-insert char.
17196
17197         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
17198         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
17199         * BufferView_pimpl.[Ch]: here as private methods.
17200
17201 2001-05-28  Juergen Vigna  <jug@sad.it>
17202
17203         * text.C (SetHeightOfRow): added the update() call again as it is
17204         needed to initialize inset dimensions!
17205
17206 2001-05-16  Juergen Vigna  <jug@sad.it>
17207
17208         * text2.C (SetCharFont): Add new function with BufferView * and
17209         bool toggleall parameters for setting insets internal fonts.
17210         (SetFont): Freeze the undo as we may change fonts in Insets and
17211         all this change should be inside only one Undo!
17212
17213         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
17214         setting font's in insets as for them we have the SetFont function!
17215
17216 2001-05-15  Juergen Vigna  <jug@sad.it>
17217
17218         * text2.C (ClearSelection): to be sure we REALLY don't have any
17219         selection anymore!
17220
17221         * tabular.C (TeXCellPreamble): fixed the left border problem for
17222         multicolumn cells.
17223
17224 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
17225
17226         * LaTeX.C (deplog): Make sure that the main .tex file is in the
17227         dependancy file
17228
17229 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17230
17231         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
17232         LFUN_BREAKPARAGRAPH.
17233
17234         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
17235         help test to "internal only", similar for LFUN_INSERT_URL
17236
17237         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
17238         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
17239         auto_region_delete and deadkeys.
17240
17241 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
17242
17243         * LColor.h:
17244         * LColor.C: remove some dead entries, tidy a little
17245
17246 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17247
17248         * lyxfunc.C (processKeySym): comment the Escape handling, remove
17249         commented code.
17250         (Dispatch): implement LFUN_ESCAPE
17251
17252         * commandtags.h: add LFUN_ESCAPE
17253
17254         * LyXAction.C (init): add entry for LFUN_ESCAPE
17255
17256         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17257         Remove commented code.
17258         (insertNote): moved here
17259         (open_new_inset): moved here
17260
17261         * BufferView[2].[Ch]: move insertNote and open_new_inset to
17262         BufferView_pimpl
17263
17264 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17265
17266         * kbmap.C (findbinding): clean it up and make it work correctly.
17267
17268         * lyx_main.C (init): do not pass argc and argv as parameters
17269
17270 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
17271
17272         * buffer.C: fix path for OS/2 & Win32
17273
17274         * lyx_gui.C:
17275         * lyx_main:
17276         * lyx_main.C: Added os:: class.
17277
17278         * os2_defines.h: update
17279
17280 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17281
17282         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17283         better by trying again with reduced state.
17284
17285 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17286
17287         * lyxrc.C (read): print error about invalid key sequence only when
17288         debugging (because not all latinX keysyms are known to some X
17289         servers)
17290
17291         * kbsequence.C (getiso): add a few std:: qualifiers
17292         (getiso): comment out extra return statement.
17293
17294 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17295
17296         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17297         handling.
17298         (Dispatch): enhance the accent inset a bit. (not perfect)
17299
17300 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17301
17302         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17303
17304 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17305
17306         * bufferlist.C (emergencyWrite): fix assert() call
17307
17308 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
17309
17310         * text.C (InsertChar): Added trivial patch to only send the "you
17311         can not do multiple spaces this way" message once during a
17312         session.
17313
17314 2001-05-08  Baruch Even  <baruch@lyx.org>
17315
17316         * Makefile.am: Changed order of libraries to get LyX to link properly
17317         with the gnome frontend.
17318
17319 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17320
17321         * LaTeXFeatures.h: add a std:: qualifier
17322
17323 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17324
17325         * paragraph.C (String): use stringstream
17326
17327 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17328
17329         * paragraph.C (writeFile): remove footflag arg
17330
17331         * buffer.C (makeLaTeXFile): use stringstream
17332         (latexParagraphs): remove footnot gurba
17333
17334         * LaTeXFeatures.C (getPackages): use stringstream
17335         (getMacros): likewise
17336         (getTClassPreamble): likewise
17337         (getFloatDefinitions): new method
17338
17339         * paragraph.C (writeFile): reindent
17340         (Erase): reindent
17341
17342         * WorkArea.h: revert the xpos + etc changes.
17343
17344         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17345
17346         * lyxparagraph.[Ch]: add copy constructor, remove Clone
17347
17348         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17349         (pasteSelection): likewise
17350         * text2.C (CreateUndo): likewise
17351
17352 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17353
17354         * minibuffer.C (peek_event): temporarily reduce the functionality
17355         of the minibuffer (to allow args on lfuns)
17356
17357         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17358         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17359
17360         * buffer.C (readInset): add compability reading of old float
17361         lists, add reading of new style float list.
17362         (readInset): avoid reevaluation of inscmd.getCmdName()
17363         (getLists): reindent
17364
17365         * MenuBackend.C (MenuItem): implement parsing of
17366         md_floatlistinsert and md_floatinsert.
17367         (expand::LastFiles): move initalizaton of iterators out of loop,
17368         avoid reevaluation.
17369         (expand::Documents): introduce typdedef vector<string> Strings,
17370         and use it.
17371         (expand::ExportFormats): introduce typedef vector<Format const *>
17372         Formats, and use it.
17373         (expand): implement FloatListInsert and FloatInsert.
17374
17375         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17376         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17377         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17378
17379         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17380         handling.
17381         (Dispatch::LFUN_FLOAT_LIST): implement
17382
17383 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
17384
17385         * LaTeX.C (run): Fix problem with --export code.
17386
17387 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17388
17389         * BufferView.[Ch] (workarea): removed.
17390         (getClipboard) new method; wrapper for workarea()->getClipboard()
17391
17392         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17393         bug.
17394
17395         * WorkArea.h (width, height, xpos, ypos): These methods all
17396         returned the dimensions of the work_area sub-area of WorkArea,
17397         resulting in a position error if the WorkArea were resized. Now
17398         return the dimensions of the entire WorkArea.
17399
17400         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17401
17402 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17403
17404         * LaTeX.C (deplog): correct the syntax of regex reg1
17405
17406 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17407
17408         * undo.C: remove !NEW_INSETS cruft
17409
17410 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17411
17412         * text2.C: remove !NEW_INSETS cruft
17413
17414         * text.C: remove !NEW_INSETS cruft
17415
17416         * tabular.C: remove !NEW_INSETS cruft
17417
17418         * spellchecker.C: remove !NEW_INSETS cruft
17419
17420         * lyxtext.h: remove !NEW_INSETS cruft
17421
17422         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17423
17424         * lyxfunc.C: remove !NEW_INSETS cruft
17425
17426         * lyxfind.C: remove !NEW_INSETS cruft
17427
17428         * lyx_cb.C: remove !NEW_INSETS cruft
17429
17430         * figureForm.C: remove  !NEW_INSETS cruft
17431
17432         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17433
17434         * buffer.[Ch]: remove !NEW_INSETS cruft
17435
17436         * ToolbarDefaults.C: remove !NEW_INSETS cruft
17437
17438         * CutAndPaste.C: remove !NEW_INSETS cruft
17439
17440         * BufferView_pimpl.C: remove !NEW_INSETS cruft
17441
17442         * BufferView2.C: remove !NEW_INSETS cruft
17443
17444         * BufferView.h: remove !NEW_INSETS cruft
17445
17446 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17447
17448         * Lsstream.h: include LString.h before the sstream headers to
17449         fix problem with gcc 2.95.3 and lyxstring
17450
17451 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17452
17453         * lyx_main.C: add using directives when needed for C functions
17454         declared in std:: namespace.
17455
17456 2001-04-27  Juergen Vigna  <jug@sad.it>
17457
17458         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17459         (SetHeightOfRow): comment out the update call should not be needed!
17460
17461 2001-04-13  Juergen Vigna  <jug@sad.it>
17462
17463         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17464         (LyXTabular): tried to minimize operator= operations (and realized
17465         hopfully Lars wish).
17466
17467 2001-04-27  Juergen Vigna  <jug@sad.it>
17468
17469         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17470
17471 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17472
17473         * lyxfunc.C (Dispatch): hack to make listof algorithm work
17474
17475         * buffer.C (readInset): hack to make listof algorithm work
17476
17477         * BufferView_pimpl.C: hack to make listof algorithm work
17478
17479 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17480
17481         * LyXAction.C: removed all !NEW_INSETS cruft
17482         (init): moved lfun_item in method
17483
17484         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17485
17486 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17487
17488         * BufferView2.C (theLockingInset): white space.
17489
17490 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17491
17492         * minibuffer.C: include <iostream>
17493
17494         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17495
17496         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17497
17498         * commandtags.h: add LFUN_TRANSPOSE_CHARS
17499
17500         * text.[Ch] (TransposeChars): new method
17501
17502 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17503
17504         * call message directly through LyXView instead of through LyXFunc
17505         * BufferView2.C: adjust
17506         * BufferView_pimpl.C: adjust
17507         * FontLoader.C: adjust
17508         * buffer.C: adjust
17509         * bufferview_funcs.C: adjust
17510         * converter.C: adjust
17511         * figureForm.C: adjust
17512         * importer.C: adjust
17513         * lyx_cb.C: adjust
17514         * lyx_gui_misc.C: adjust
17515         * lyxfunc.C: adjust
17516         * lyxvc.C: adjust
17517         * text2.C: adjust
17518         + more files in subdirs
17519
17520         * lyxparagraph.h (size): move up int file
17521         (GetLayout): ditto
17522
17523         * adjust all uses of Assert to lyx::Assert.
17524
17525         * BufferView2.C (ChangeCitationsIfUnique): adjust for
17526         lyxfunctional in namespace lyx
17527         * layout.C (hasLayout): ditto
17528         (GetLayout): ditto
17529         (GetLayout): ditto
17530         (delete_layout): ditto
17531         (NumberOfClass): ditto
17532         * converter.C (GetFormat): ditto
17533         (GetNumber): ditto
17534         (Add): ditto
17535         (Delete): ditto
17536         (SetViewer): ditto
17537         * bufferlist.C (getFileNames): ditto
17538         (emergencyWriteAll): ditto
17539         (exists): ditto
17540         (getBuffer): ditto
17541         * MenuBackend.C (hasSubmenu): ditto
17542         (hasMenu): ditto
17543         (getMenu): ditto
17544         * BufferView_pimpl.C (getInsetByCode): ditto
17545
17546 2001-04-18  Juergen Vigna  <jug@sad.it>
17547
17548         * vspace.C (asLatexString): fixed the 100% problem.
17549
17550 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17551
17552         * lyxfunc.C (Dispatch):
17553         * minibuffer.C:
17554         * minibuffer.h: add a few std:: qualifiers
17555
17556 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17557
17558         * minibuffer.[Ch]: reimplement so that commands is initiated and
17559         run from lyxfunc, simplified som handling, and made the completion
17560         and history code for complete. wip.
17561
17562         * lyxfunc.C (processKeySym): call message
17563         (miniDispatch): new temporary method
17564         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17565         (LFUN_MESSAGE): implement
17566         (LFUN_MESSAGE_PUSH): implement
17567         (LFUN_MESSAGE_POP): implement
17568         (initMiniBuffer): the initial/defualt minibuffer message.
17569
17570         * lyxfont.[Ch]: inline some more getters
17571
17572         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17573
17574         * lyx_gui_misc.[Ch] (WriteStatus): remove method
17575
17576         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17577         (AutoSave): use LFUN_MESSAGE
17578         (Reconfigure): ditto
17579
17580         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17581
17582         * figureForm.C: use LFUN_MESSAGE
17583
17584         * converter.C (runLaTeX): use LFUN_MESSAGE
17585
17586         * bufferview_funcs.C: use LFUN_MESSAGE
17587         (Melt): ditto
17588         (changeDepth): ditto
17589
17590         * bufferparams.h: use boost::
17591
17592         * bufferlist.h: inherit privately from noncopyable
17593
17594         * bufferlist.C (loadLyXFile): remove some commented code.
17595
17596         * buffer.C (runChktex): use LFUN_MESSAGE
17597
17598         * ShareContainer.h: inherit privately from noncopyable
17599
17600         * ParagraphParameters.[hC] (depth): inline it.
17601
17602         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17603         methods.
17604         (message): new method
17605         (messagePush): ditto
17606         (messagePop): ditto
17607         (show): init minibuffer
17608         (showState): direct call
17609
17610         * LaTeX.[Ch]: inherit privately from noncopyable
17611         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17612         instead of WriteStatus.
17613
17614         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17615
17616         * BufferView_pimpl.C (buffer): don't init minibuffer
17617         (workAreaButtonPress): use LFUN_MESSAGE
17618         (workAreaButtonRelease): ditto
17619         (savePosition): ditto
17620         (restorePosition): ditto
17621         (MenuInsertLyXFile): ditto
17622         (workAreaExpose): don't init minibuffer
17623         (update): remove commented code, simplify
17624
17625         * BufferView2.C (openStuff): use LFUN_MESSAGE
17626         (toggleFloat): ditto
17627         (menuUndo): ditto
17628         (menuRedo): ditto
17629         (copyEnvironment): ditto
17630         (pasteEnvironment): ditto
17631         (copy): ditto
17632         (cut): ditto
17633         (paste): ditto
17634         (gotoInset): ditto
17635         (updateInset): remove some commented code
17636
17637         * lastfiles.h: inherit privately from noncopyable
17638         * layout.h: ditto
17639         * lyx_gui.h: ditto
17640         * lyx_main.h: ditto
17641         * lyxlex.h: ditto
17642         * lyxlex_pimpl.h: ditto
17643
17644         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17645         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17646         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17647
17648         * LyXAction.h: inherit privately from noncopyable, add methods
17649         func_begin, func_end, returning iterators to the func map.
17650
17651         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17652         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17653         (func_begin): new method
17654         (func_end): new method
17655
17656         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17657         and not)
17658         (copySelection): ditto
17659         (pasteSelection): ditto
17660
17661         * BufferView.C: whitespace change
17662         * BufferView.h: inherit privately from noncopyable
17663
17664 2001-04-16  Allan Rae  <rae@lyx.org>
17665
17666         * tabular-old.C (l_getline):
17667         * spellchecker.C (sc_check_word):
17668         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17669         an unrecognised preprocessor directive.  So ensure they're wrapped.
17670
17671 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
17672
17673         * src/exporter.C (Export): Give an error message when path to file
17674         contains spaces.
17675
17676 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
17677
17678         * LaTeX.C (deplog): Always check that foundfile exists.
17679
17680 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17681
17682         * lyx_main.h:
17683         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17684
17685 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17686
17687         * tabular.[Ch] (getLabelList): implement new method
17688
17689         * minibuffer.h: comment ouf setTiimer
17690
17691         * minibuffer.C (ExecutingCB): constify res
17692         (peek_event): constify s
17693         (Set): constify ntext
17694         (Init): constify nicename
17695
17696         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17697
17698         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17699         (savePosition): use two params to Minibuffer::Set
17700         (restorePosition): ditto
17701
17702 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17703
17704         * lyx_main.C: include language.h
17705
17706         * Makefile.am (lyx_main.o): add language.h
17707
17708 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17709
17710         * exporter.C:
17711         * paragraph.C:
17712         * screen.C:
17713         * tabular.C:
17714         * CutAndPaste.C: include gettext.h
17715
17716         * lyxfont.h: remove old hack with ON and OFF.
17717
17718         * lyxparagraph.h:
17719         * lyxfont.h: do not include language.h...
17720
17721         * BufferView2.C:
17722         * LaTeXFeatures.C:
17723         * Painter.C:
17724         * bufferview_funcs.C:
17725         * font.C:
17726         * lyxfont.C:
17727         * text.C:
17728         * text2.C:
17729         * trans_mgr.C:
17730         * paragraph.C: ... but do it here instead
17731
17732 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17733
17734         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17735
17736         * tabular.C: small reformat
17737
17738         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17739         NEW_INSETS version
17740         (GetChar): ditto
17741         (BreakParagraph): ditto
17742         (SetOnlyLayout): ditto
17743         (SetLayout): ditto
17744
17745         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17746         with one arg less.
17747
17748         * lastfiles.C: removed most using decl, add std:: where needed
17749
17750         * buffer.C: ws changes
17751
17752         * MenuBackend.C (class compare_format): put into anon namespace
17753         (expand): constify label, names, action, action2
17754         (expand):
17755
17756         * text.C (SingleWidth): constify font
17757         (IsBoundary): constify rtl2
17758         (GetVisibleRow): constify ww
17759
17760         * LaTeX.C (deplog): constify logfile
17761
17762         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17763         start_x, end_x
17764         (workAreaExpose): constify widthChange, heightChange
17765
17766         * lyxrow.C (par): moved
17767         (height): moved
17768         (next): moved
17769         * lyxrow.h: as inlines here
17770
17771         * lyxfont.h (shape): moved from lyxfont.C
17772         (emph): moved from lyxfont.C
17773
17774         * lyxfont.C (LyXFont): use initialization list for all
17775         constructors
17776         (shape): move to lyxfont.h as inline
17777         (emph): move to lyxfont.h as inline
17778
17779
17780 2001-04-04  Juergen Vigna  <jug@sad.it>
17781
17782         * vspace.C: had to include stdio.h for use of sscanf
17783
17784 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
17785
17786         * BufferView.h:
17787         * BufferView_pimpl.h: remove xforms cruft. Both classes are
17788         independent of xforms.
17789
17790 2001-04-02  Juergen Vigna  <jug@sad.it>
17791
17792         * spellchecker.C: fixed namespace placing!
17793
17794 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
17795
17796         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17797         the LyXParagraph * is 0.
17798
17799 2001-03-29  Juergen Vigna  <jug@sad.it>
17800
17801         * vspace.C: added support for %, c%, p%, l%.
17802         (stringFromUnit): added helper function.
17803         (asLatexString): changed to give right results for the %-values.
17804
17805         * buffer.C: convert the widthp in a width%.
17806
17807 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
17808
17809         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17810         figureForm.[Ch].
17811
17812         * figureForm.[Ch]: stripped the FD_from_figure manipulation
17813         code out of lux_cb.[Ch], ready for its (imminent?) removal.
17814
17815         * lyx_cb.[Ch]: see above.
17816
17817         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17818         form1.[Ch].
17819
17820         * form1.[Ch]:
17821         * lyx.[Ch]: replaced by figure_form.[Ch].
17822
17823         * lyx_gui.C:
17824         * lyx_gui_misc.C:
17825         * lyxfunc.C: changed headers associated with above changes.
17826
17827 2001-03-27  Juergen Vigna  <jug@sad.it>
17828
17829         * BufferView_pimpl.C: set the temporary cursor right!
17830
17831 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
17832
17833         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17834
17835 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
17836
17837         * LString.h: removed "using std::getline"!
17838
17839         * BufferView_pimpl.C (Dispatch): changes due to changes in
17840         InsetInclude::Params.
17841
17842         * buffer.C (tag_name): removed redundant break statements as they were
17843         producing lots of warnings with my compiler.
17844
17845 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17846
17847         * LString.h: add "using std::getline" when using the real <string>.
17848
17849 2001-03-23  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17850
17851         * buffer.C: removed bitset usage.
17852         PAR_TAG moved to an anonymous name space.
17853         (tag_name): new funtion, also in the anonymous namespace.
17854         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17855         (makeDocBookFile): clean code. Completed transition from string arrays
17856         to string vectors.
17857         (SimpleDocBookOnePar): code clean.
17858
17859 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17860
17861         * tabular.C: add some comments.
17862
17863 2001-03-22  Juergen Vigna  <jug@sad.it>
17864
17865         * buffer.C (parseSingleLyXformat2Token): redone the minipage
17866         compatibility read a bit and fixed bug with minipage in different
17867         depth.
17868
17869 2001-03-21  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17870
17871         * buffer.C (pop_tag): removed.
17872         (push_tag): removed.
17873         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17874         array replaced with vector. Added support for CDATA sections.
17875         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17876         at any nest level.
17877         (makeDocBookFile): XML conformant declaration of CDATA section,
17878         fixed bug related to <emphasis> in the first paragraph char.
17879         (sgmlOpenTag): exclude empty tags.
17880         (sgmlCloseTag): ditto.
17881
17882         * buffer.h (pop_tag): removed.
17883         (push_tag): removed.
17884
17885 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
17886
17887         * language.h (Languages): added size_type and size().
17888
17889 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17890
17891         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17892         response on compability reading of minipages. One probliem is that
17893         the old usage of minipages was flertydig
17894
17895         * several files here and in subdirs: don't use static at file
17896         scope use anon namespaces instead.
17897
17898 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
17899
17900         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17901         LaTeX output. This is necessary for Literate document
17902         processing.
17903
17904 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17905
17906         * buffer.C: insert hfill when needed.
17907
17908         * tabular.C (l_getline): use string::erase, small whitespace change.
17909
17910         * BufferView_pimpl.C: try the anon namespace.
17911         * WorkArea.C: ditto
17912
17913 2001-03-16  Juergen Vigna  <jug@sad.it>
17914
17915         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17916         otherwise it won't open options-dialogs.
17917
17918         * buffer.C: honor pextraWidth(p) on converting minipages.
17919
17920         * tabular.C (l_getline): changed the functions to strip trailing \r.
17921
17922 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
17923
17924         * BufferView_pimpl.C:
17925         * minibuffer..C: added "using SigC::slot" declaration.
17926
17927 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17928
17929         * lyxlex_pimpl.h: noncopyable is in namespace boost.
17930
17931         * text2.C: ditto
17932
17933         * text.C: ditto
17934
17935         * paragraph.C: ditto
17936
17937         * lyxtext.h: NO_PEXTRA
17938
17939         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17940
17941         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17942         * ParameterStruct.h: ditto
17943         * ParagraphParameters.h: ditto
17944         * lyxparagraph.h: ditto
17945
17946 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17947
17948         * buffer.C: add compability for minipage alignment.
17949         (latexParagraphs): remove unwanted pextra check.
17950
17951         * several files: remove CXX_WORKING_NAMESPACES
17952
17953         * buffer.C (pop_tag): tie is in namespace boost
17954
17955         * BufferView.h: noncopyable is in namespace boost
17956         * lyxlex.h: ditto
17957         * lyx_main.h: ditto
17958         * lyx_gui.h: ditto
17959         * layout.h: ditto
17960         * lastfiles.h: ditto
17961         * bufferlist.h: ditto
17962         * ShareContainer.h: ditto
17963         * LyXView.h: ditto
17964         * LyXAction.h: ditto
17965         * LaTeX.h: ditto
17966
17967 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17968
17969         * Merging changes from BRANCH_MVC back into HEAD.
17970
17971         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17972
17973 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
17974
17975         * BufferView_pimpl.C: change from intl.C
17976
17977         * combox.h:
17978         * combox.C:
17979         * Makefile.am: move combox.*
17980
17981         * form1.h:
17982         * form1.C:
17983         * lyx_gui.C:
17984         * intl.h:
17985         * intl.C: remove dialog (covered by prefs)
17986
17987 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17988
17989         * lyxfunc.C (Dispatch): removed redundant break statement.
17990
17991 2001-03-14  Juergen Vigna  <jug@sad.it>
17992
17993         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17994
17995 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17996
17997         * buffer.C: add hack to fix compability reading of minipages.
17998
17999 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
18000
18001         * buffer.C (getLists): Cleanup.
18002
18003 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18004
18005         * lyxfont.C (update): don't honor toggleall on font size.
18006
18007 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
18008
18009         * bmtable.c:
18010         * bmtable.h:
18011         * Makefile.am: moved to frontends/xforms/
18012
18013         * lyx_gui_misc.C:
18014         * lyxfunc.C:
18015         * BufferView_pimpl.C: changes for moved mathpanel
18016
18017 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
18018
18019         * gettext.h: fix gettext_init() in --disable-nls
18020
18021 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18022
18023         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
18024
18025 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
18026
18027         * lyx.C:
18028         * lyx.h: strip external form
18029
18030 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
18031
18032         * BufferView_pimpl.C: add comment, destroySplash()
18033
18034 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
18035
18036         * BufferView_pimpl.C:
18037         * LyXAction.C:
18038         * buffer.C:
18039         * commandtags.h:
18040         * lyxfunc.C: use re-worked insetinclude
18041
18042 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18043
18044         * buffer.C: add using std::stringstream.
18045
18046         * lyx_cb.C: readd using std::ios.
18047
18048         * buffer.C: add using std::map.
18049
18050         * BufferView_pimpl.C: add using std::vector.
18051
18052         * ShareContainer.h: add std:: to swap.
18053
18054         * buffer.h: add some typedefs
18055         * buffer.C (getLists): use them
18056         (getLists): renamed from getTocList.
18057         add a counter for the different float types and use it in the
18058         generated string.
18059         (getLists): use the same counter for the NEW_INSETS and the "non"
18060         NEW_INSETS
18061
18062         * lyx_cb.h: remove unused items, includes, using etc.
18063
18064         * ShareContainer.h: remove some commented code, add more comments
18065         and "documentation".
18066
18067 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18068
18069         * buffer.C (getTocList): make the list also when NEW_INSETS is
18070         defined.
18071
18072         * buffer.h: remove TocType
18073
18074         * buffer.C (getTocList): change to return a map<string,
18075         vector<TocItem> >, implement for dynamic number of list.
18076
18077         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
18078         * text2.C (PasteSelection): adjust
18079         * CutAndPaste.C (pasteSelection): adjust
18080
18081         * FloatList.C (FloatList): update from the new_insets branch.
18082         * Floating.[Ch]: ditto
18083         * LaTeXFeatures.C: ditto
18084         * buffer.C: ditto
18085         * lyxlex_pimpl.C: ditto
18086
18087         * paragraph.C (Last): remove when NEW_INSETS is defined.
18088
18089         * other file: changes because of the above.
18090
18091 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18092
18093         * lyxparagraph.h: rename next to next_, previous to previous_,
18094         make them private for NEW_INSETS. Rename Next() to next(),
18095         Previous() to previous().
18096
18097         * other files: changes because of the above.
18098
18099 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
18100
18101         * BufferView.h:
18102         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
18103         problem.
18104
18105 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18106
18107         * main.C (main): pass lyx_localedir to gettext_init().
18108
18109         * gettext.h: remove locale_init and gettext_init macros
18110
18111         * gettext.C (locale_init): new function
18112         (gettext_init): new function
18113
18114         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
18115         setlocale().
18116
18117 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
18118
18119         * Moved credits to frontends:
18120         * credits.[Ch]: removed
18121         * credits_form.[Ch]: removed
18122         * lyx_gui_misc.C: remove credits stuff
18123         * Makefile.am:
18124
18125 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18126
18127         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
18128
18129         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
18130         unneeded destructor.
18131
18132         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
18133         a standalone pointer again.
18134
18135         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
18136
18137 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
18138
18139         * Makefile.am:
18140         * filedlg.h:
18141         * filedlg.C:
18142         * LyXAction.C:
18143         * ToolbarDefaults.C:
18144         * bufferlist.C:
18145         * commandtags.h:
18146         * form1.C:
18147         * form1.h:
18148         * lyx_cb.C:
18149         * lyx_cb.h:
18150         * lyxfunc.h:
18151         * lyxfunc.C:
18152         * BufferView_pimpl.C: use new file dialog in GUII
18153
18154         * lyx_cb.h:
18155         * lyx_cb.C: remove LayoutsCB to Toolbar
18156
18157 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18158
18159         * ShareContainer.h (get): add std:: qualifier
18160
18161 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18162
18163         * ShareContainer.h: define a proper ShareContainer::value_type
18164         type (and use typename to please compaq cxx)
18165
18166 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18167
18168         * lyxparagraph.h: move serveral local vars to
18169         ParameterStruct/ParagraphParameters., use ShareContainer in
18170         FontTable., make vars in FontTable private and add getter and
18171         setter.
18172
18173         * paragraph.C: changes because of the above.
18174
18175         * lyxfont.h: remove copy constructor and copy assignment. (the
18176         default ones is ok), move number inside FontBits. move inlines to
18177         lyxfont.C
18178
18179         * lyxfont.C: add number to initializaton of statics, move several
18180         inlines here. constify several local vars. some whitespace
18181         cleanup. Dont hide outerscope variables.
18182
18183         * Spacing.h: add two new constructors to match the set methods.
18184
18185         * ShareContainer.h: new file, will perhaps be moved to support
18186
18187         * ParameterStruct.h: new file
18188
18189         * ParagraphParameters.h: new file
18190
18191         * ParagraphParameters.C: new file
18192
18193         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
18194         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
18195
18196         * BufferView_pimpl.C: ParagraphParameter changes.
18197         * buffer.C: Likewise.
18198         * bufferview_funcs.C: Likewise.
18199         * text.C: Likewise.
18200         * text2.C: Likewise.
18201
18202 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18203
18204         * lyxfind.C (LyXReplace): do not redefine default argument in
18205         implementation.
18206         (IsStringInText): ditto
18207         (SearchForward): ditto
18208         (SearchBackward): ditto
18209
18210 2001-03-06  Juergen Vigna  <jug@sad.it>
18211
18212         * lyxfind.C (IsStringInText): put parentes around expressions.
18213
18214 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
18215
18216         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
18217
18218 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
18219
18220         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
18221
18222         * stl_string_fwd.h: add comment
18223
18224         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
18225
18226         * tabular.h:
18227         * tabular.C: remove unused DocBook methods
18228
18229         * intl.C:
18230         * language.C:
18231         * paragraph.C:
18232         * buffer.C:
18233         killed DO_USE_DEFAULT_LANGUAGE
18234
18235 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18236
18237         * lyx_gui.C: do not include language.h.
18238
18239         * bufferview_funcs.C (ToggleAndShow): do not provide optional
18240         arguments in function implementation.
18241
18242 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18243
18244         * BufferView_pimpl.C: add <ctime>
18245
18246 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18247
18248         * BufferView_pimpl.C: add using std::find_if
18249
18250 2001-02-27  José Matos  <jamatos@fep.up.pt>
18251
18252         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18253         by OnlyPath.
18254
18255 2001-02-11  José Matos  <jamatos@fep.up.pt>
18256
18257         * buffer.C (makeDocBookFile): command styles now have a parameter as
18258         "title" by default.
18259
18260 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
18261
18262         * layout_forms.[Ch]: removed
18263         * lyx_cb.[Ch]: out character
18264         * lyx_gui.C: out character
18265         * lyx_gui_misc.C: out character
18266         * bufferview_funcs.C: : out character,
18267         added toggleall as parameter in ToggleAndShow
18268
18269 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
18270
18271         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18272
18273         * text2.C (SetCurrentFont): Disable number property at boundary.
18274
18275 2001-02-26  Juergen Vigna  <jug@sad.it>
18276
18277         * lyxfunc.C (getStatus): added a string argument override function so
18278         that this is correctly called from LyXFunc::Dispatch if it contains a
18279         do_not_use_argument which is used!
18280         (Dispatch): added check for "custom" export and call appropriate func.
18281
18282 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
18283
18284         * lyxrc.C: Add language_command_local, language_use_babel and
18285         language_global_options.
18286
18287         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18288
18289         * buffer.C (makeLaTeXFile): Use language_use_babel and
18290         language_global_options.
18291
18292 2001-02-23  Juergen Vigna  <jug@sad.it>
18293
18294         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18295         which works with LyXText and putted it inside BufferView. Here now we
18296         only call for that part the BufferView::Dispatch() function.
18297
18298         * BufferView.C (Dispatch): added.
18299
18300         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18301         functions which needs to use a LyXText over from LyXFunc.
18302         (MenuInsertLyXFile): added
18303         (getInsetByCode): added
18304         (moveCursorUpdate): added
18305         (static TEXT): added
18306
18307 2001-02-22  Juergen Vigna  <jug@sad.it>
18308
18309         * BufferView_pimpl.C (update): call a status update to see if LyXText
18310         needs it.
18311
18312 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18313
18314         * vc-backend.C (revert): implement for CVS
18315         (getLog): implement for CVS
18316
18317 2001-02-20  Juergen Vigna  <jug@sad.it>
18318
18319         * text2.C (ClearSelection): added BufferView param for inset_owner call
18320
18321         * lyxfunc.C (TEXT): added this function and use it instead of
18322         directly owner->view()-text of getLyXText().
18323
18324 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
18325
18326         * src/layout_forms.C: out preamble
18327         * src/layout_forms.h: out preamble
18328         * src/lyx_cb.C: out preamble
18329         * src/lyx_cb.h: out preamble
18330         * src/lyx_gui.C: out preamble
18331         * src/lyx_gui_misc.C: out preamble
18332         * src/lyxfunc.C: connect with guii preamble
18333
18334 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
18335
18336         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18337
18338 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
18339
18340         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18341         whether to run bibtex.
18342
18343 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
18344
18345         * Makefile.am (lyx_SOURCES): Remove BackStack.h
18346
18347 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
18348
18349         * Makefile.am (lyx_SOURCES): removed bibforms.h
18350
18351         * vspace.h: doxygen
18352
18353         * text.C (GetVisibleRow): make several local vars const
18354
18355         * tabular.C: small cleanup.
18356
18357         * lyxserver.C (callback): use compare instead of strncmp
18358
18359         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18360         inlines to after class or to paragraph.C
18361
18362         * lyxfont.h: remove friend operator!=
18363
18364         * converter.h: move friend bool operator< to non friend and after
18365         class def.
18366
18367         * combox.h: small cleanup
18368
18369         * buffer.h: doxygen, remove unused constructor, move inclas inlies
18370         to inlines after class def.
18371
18372         * buffer.C (pop_tag): use string operations instead of strcmp
18373
18374         * bmtable.c: doxygen, small cleanup
18375
18376         * LaTeX.h: remove friend operator==
18377
18378 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
18379
18380         * screen.C:
18381         * lyxrc.[Ch]:
18382         * lyxfunc.C:
18383         * lyxfont.[Ch]:
18384         * lyx_cb.C:
18385         * intl.[Ch]:
18386         * commandtags.h:
18387         * buffer.C:
18388         * WorkArea.[Ch]:
18389         * LyXAction.C:
18390         * BufferView_pimpl.C:
18391         * BufferView.[Ch]: remove cruft
18392
18393 2001-02-14  Juergen Vigna  <jug@sad.it>
18394
18395         * lyxfunc.C: removed #if 0 unused code
18396
18397         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18398
18399         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18400
18401         * text2.C (SetSelection): added a BufferView * parameter
18402
18403 2001-02-13  Juergen Vigna  <jug@sad.it>
18404
18405         * lyxfunc.C (Dispatch): fixed protected blank problem.
18406         * BufferView2.C (protectedBlank): added LyxText * parameter.
18407
18408         * tabular.C (AppendRow): forgot to set row_info of newly added row.
18409         (AppendColumn): same as above for column_info.
18410
18411         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18412         (moveCursorUpdate): use a LyXText param for support of InsetText.
18413
18414         * BufferView_pimpl.C (doubleClick): added support for InsetText.
18415         (tripleClick): ditto
18416
18417         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18418
18419         * BufferView_pimpl.C (update): added LyXText param to honor insets.
18420
18421         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18422
18423         * text2.C (SetSelection): set correct update status if inset_owner
18424         (ToggleFree): ditto
18425
18426 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
18427
18428         * tabular.C: remove some commented code.
18429
18430 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
18431
18432         * BufferView_pimpl.C: call hideSplash()
18433
18434         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18435
18436         * include_form.h:
18437         * bibforms.h: remove
18438
18439         * lyxfunc.C:
18440         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18441           add LFUN_CHILD_CREATE
18442
18443         * counters.h: fix tiny typo
18444
18445         * lyx_cb.C:
18446         * lyx.h:
18447         * lyx_gui.C:
18448         * lyx.C: move splash to frontends/xforms/
18449
18450         * lyx_gui_misc.C: move Include and Bibform to frontends
18451
18452         * lyxvc.h: clarify comment
18453
18454         * vspace.C: tiny housekeeping
18455
18456 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
18457
18458         * text.C (PrepareToPrint): RTL Fix.
18459
18460         * paragraph.C (GetUChar): New method.
18461         (String):  Use GetUChar.
18462
18463         * buffer.C (asciiParagraph): Use GetUChar.
18464
18465 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
18466
18467         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18468
18469 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
18470
18471         * buffer.h:
18472         * buffer.C: rename to getLogName(), handle
18473           build log / latex log nicely
18474
18475 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18476
18477         * MenuBackend.C:
18478         * MenuBackend.h: remove support for reference menuitem type.
18479
18480 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
18481
18482         * BufferView_pimpl.C: housekeeping
18483         * BufferView_pimpl.h:
18484         * LyXView.h:
18485         * Makefile.am:
18486         * Timeout.C:
18487         * Timeout.h:
18488         * minibuffer.h: move Timeout GUI-I
18489
18490 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
18491
18492         * lyxrc.C (read): Update converters data-structures.
18493
18494 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
18495
18496         * LaTeX.h (operator!=): add operator != for Aux_Info
18497
18498 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
18499
18500         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18501
18502         * LaTeXLog.C: deleted, useful code moved to Buffer
18503
18504         * buffer.h:
18505         * buffer.C: new function getLatexLogName()
18506
18507         * lyx_gui_misc.C:
18508         * lyx_gui.C:
18509         * lyxvc.C:
18510         * lyxvc.h:
18511         * lyxfunc.C: use frontends for LaTeX and VC logs
18512
18513 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18514
18515         * LaTeX.h: yet another std:: that Allan forgot.
18516
18517         * Variables.C (set): renamed from isset(), because this clashes
18518         with some HP-UX macros (grr).
18519
18520 2001-02-06  Allan Rae  <rae@lyx.org>
18521
18522         * LaTeX.h: Another bug fix.  Missing std:: this time.
18523
18524 2001-02-04  Allan Rae  <rae@lyx.org>
18525
18526         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18527         floats problem. I've left it commented out because it's not quite
18528         correct.  It should also test that the current object is a table or
18529         figure inset.  But I haven't gotten around to figuring out how to do
18530         that.  I *think* it'll be something like: "table" == inset.type()
18531
18532         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18533         bool.
18534
18535 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
18536
18537         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18538         all the citation/databases/styles in the auxilary file.
18539         (run): Rerun latex if there was a babel language error.
18540
18541 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
18542
18543         * text.C (Backspace): Preserve the font when changing newline char
18544         with a space.
18545         (BreakParagraph): If the cursor is before a space, delete the space.
18546
18547         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18548
18549 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
18550
18551         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18552         new argument (code).
18553         (ChangeCitationsIfUnique): New method.
18554
18555         * paragraph.C (GetPositionOfInset): Handle bibkey.
18556
18557 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18558
18559         * BufferView_pimpl.h: change type of Position::par_pos to
18560         LyXParagraph::size_type.
18561
18562 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
18563
18564         * BufferView_pimpl.C (savePosition, restorePosition): Write
18565         messages to minibuffer.
18566
18567 2001-01-28  José Matos  <jamatos@fep.up.pt>
18568
18569         * buffer.C (makeDocBookFile): adds support for document language.
18570         A silly restriction on the name of LatexCommand types where removed.
18571         Added support for CDATA sections, allows to chars unescaped, used
18572         among others in code, to avoid escape < and >.
18573
18574 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18575
18576         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18577         saved positions instrad of a stack. Furthermore, a position is
18578         stored using paragraph id/paragraph position.
18579
18580         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18581         Remove LFUN_REF_BACK.
18582
18583 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18584
18585         * converter.C (dvipdfm_options): New method.
18586
18587 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
18588
18589         * vspace.C (isValidLength): Fix for empty input string.
18590
18591 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18592
18593         * LyXAction.C (init): change description of LFUN_FIGURE to
18594         "Insert Graphics"
18595
18596 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18597
18598         * LaTeX.C: add using directive
18599
18600 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18601
18602         * MenuBackend.C (expand): Fix the sorting of the formats.
18603
18604 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
18605
18606         * lyx_main.C: tiny error message fix
18607
18608 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18609
18610         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18611         calling fl_initialize(). This fixes the problem with ',' as
18612         decimal separator in text files.
18613
18614 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18615
18616         * trans.C (process): Fix the keymap bug.
18617
18618 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
18619
18620         * LaTeX.C (scanAuxFiles): New method. Provides support for
18621         multiple bibliographies (when using the bibtopic/bibunits pacakges).
18622         (scanLogFile) Scan for "run BibTeX" messages.
18623
18624         * buffer.C (makeLaTeXFile): Do not load the ae package when using
18625         OT1 font encoding. Also, load the aecompl package if the ae
18626         package is loaded.
18627
18628         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18629
18630 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18631
18632         * texrow.C (increasePos): turn two error messages into debug
18633         messages.
18634
18635 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
18636
18637         * LaTeX.C (scanAux): Handle the \@input macro.
18638         (runBibTeX): Use scanAux().
18639
18640         * language.C (latex_options_): New field.
18641
18642         * LaTeXFeatures.C (getMacros): Add language macros.
18643
18644         * buffer.C (makeLaTeXFile): Small fix.
18645
18646 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18647
18648         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18649
18650         * text2.C: add a using directive.
18651
18652 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
18653
18654         * BufferView2.C:
18655         * lyx_gui_misc.h:
18656         * lyxfr1.C:
18657         * lyxfunc.C: kill LyXBell.
18658
18659 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
18660
18661         * text.C (IsBoundary): Remove the error message
18662
18663         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18664
18665         * lyxrc.C (setDefaults): Correct initialization value for
18666         font_norm_type.
18667
18668 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
18669
18670         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18671         gotoError().
18672
18673         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18674         and GotoNextNote().
18675
18676         * src/LyXAction.C: Added reference-next.
18677
18678         * text.C (InsertChar): Use contains instead of strchr.
18679
18680         * lyx_cb.C (MenuInsertLabel): Enable default value code.
18681
18682 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
18683
18684         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18685         alignment commands (when needed).
18686
18687         * text.C (InsertChar): Add ':' to number separator chars.