]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
b40100846ceb997a4f3ae86c51d9d5ffd18c7916
[lyx.git] / src / ChangeLog
1 2006-03-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2
3         * MenuBackend.C (expand): make sure the menu is empty before
4         starting. 
5
6         * MenuBackend.h (clear): new method.
7
8 2006-03-13  Martin Vermeer  <martin.vermeer@hut.fi>
9
10         * rowpainter.C (paintChangeBar): fix painting of change bar with
11         only paragraph break changed
12
13 2006-03-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
14
15         * lyx_cb.C (Reconfigure): run lib/configure.py, not lib/configure
16         * lyx_main.C (reconfigureUserLyXDir): run ditto
17
18 2006-03-12  Martin Vermeer  <martin.vermeer@hut.fi>
19
20         * lyxtext.h: doxygen documentation fix
21
22 2006-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
23
24         * paragraph.[Ch] (write, lookupChange, lookupChangeFull;
25         added setChangeFull):
26         * paragraph_pimpl.[Ch] (trackChanges, cleanChanges, acceptChange,
27         rejectChange, erase; added setChangeFull):
28         * CutAndPaste.C (eraseSelectionHelper):
29         * lyxtext.h:
30         * text.C (readParToken, readParagraph, breakParagraph,
31         acceptChange, rejectChange, backspace, currentState; 
32         added backspacePos0):
33         * paragraph_funcs.C (breakParagraphConservative, mergeParagraph):
34         * lyxfind.C (findChange, findNextChange): fix bug 880: Change
35         tracked paragraphs should still allow a paragraph split (and related
36         things, i.e., multi-paragraph change tracking)
37
38 2006-03-10  Martin Vermeer  <martin.vermeer@hut.fi>
39
40         * BufferView_pimpl.C: fix bug 2212: First change is skipped is
41         "Merge changes..." dialog
42
43 2006-03-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
44
45         * bufferparams.C (writeLaTeX): define \labelitemi with \def. Fixes LaTeX 
46         error if the class has not defined them yet (bug 2053).
47
48 2006-03-10  Martin Vermeer  <martin.vermeer@hut.fi>
49
50         * BufferView.[Ch]:
51         * BufferView_pimpl.[Ch]: 
52         * LyXAction.C:
53         * debug.[Ch]:
54         * rowpainter.C:
55         * text3.C: Inside-inset speedup, esp. for the Mac (bug 2195)
56
57 2006-03-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
58
59         * pch.h: fix nullstream.hpp location for boost 1.33.0
60
61 2006-03-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
62
63         * pch.h:
64         * support/pch.h:
65         * support/debugstream.h: Use the correct nullstream.
66
67 2006-02-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
68
69         * text3.C (mathDispatch): fix math inset creation from string (bug 2315)
70
71 2006-02-28  Martin Vermeer  <martin.vermeer@hut.fi>
72
73         * cursor.C (niceInsert): fix (properly) insertion of
74         fonts/decorations around selection
75
76 2006-02-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
77
78         * lyxfont.C (lyxWriteChanges): Don't write \lang latex
79
80 2006-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
81
82         * text3.C (mathDispatch): fix crash when selection is not empty
83         but selectionAsString is empty (bug 2321).
84
85 2006-02-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
86
87         * text.C (changeCase): avoid crash in empty paragraph or on last
88         word of the paragraph. (buf 2323)
89         (cursorRightOneWord): fix the logic to stop at a beginning of a word.
90
91 2006-02-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
92
93         * buffer.C (readHeader): also erase params.preamble in advance
94         so that an empty preamble is actually recognized (bug 2317).
95
96         * rowpainter.C (paintFromPos): ditch applyOuterFont (bug 2308).
97
98 2006-02-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
99
100         * text2.C (deleteEmptyParagraphMechanism): 64bit compile fix
101
102 2006-02-05  Martin Vermeer  <martin.vermeer@hut.fi>
103
104         * buffer.C:
105         * bufferparams.[Ch]:
106         * lyxtext.h:
107         * paragraph.[Ch]:
108         * paragraph_funcs.C
109         * rowpainter.C:
110         * text.C:
111         * text2.C:
112         * text3.C: Fix bug 2115: blue language lines (for default font)
113         popping up when the documnent font is different. This includes work
114         by Georg Baum.
115
116 2006-02-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
117
118         * exporter.C (Backends): Add "lyx" backend
119         * exporter.C (Export): Handle "lyx" backend
120         * graph.C (getReachable): Don't exclude "lyx"
121         * MenuBackend.C (expandFormats): exclude "lyx" from export menu
122
123 2006-02-03  Martin Vermeer  <martin.vermeer@hut.fi>
124
125         * cursor.C (bruteFind2): convert relative to absolute co-ordinates
126         for correct in-mathed positioning
127
128 2006-02-03  Martin Vermeer  <martin.vermeer@hut.fi>
129
130         * rowpainter.C (paintForeignMark): fix foreign blue line under
131         insets
132
133 2006-01-30  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
134
135         * * text2.C (deleteEmptyParagraphMechanism): fix off-by-one error of the start 
136         pit of the uno range (bug 2022).
137
138 2006-01-28  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
139
140         * messages.C (get): Only warn once if setlocale fails (bug 2177)
141
142 2006-01-28  Martin Vermeer  <martin.vermeer@hut.fi>
143
144         * text2.C (setCharFont): take inset's own font settings into account
145         when defining the font to reduce to, fixes 2019
146
147 2006-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
148
149         * bufferview_funcs.C (coordOffset): remove the check for
150         collapsed collapsables (fix for bug 2094). This is now done
151         on a more general level (cursor.C).
152
153         * dociterator.[Ch] (forwardPos): add an optional argument
154         bool "ignorecollapsed" (default false), which lets forwardPos
155         skip collapsed insets.
156
157         * cursor.C (bruteFind): use forwardPos(ignorecollapsed = true)
158         (fixes bug 2241 and 2094).
159
160 2006-01-26  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
161
162         * buffer.C: change tracking (dvipost) doesn't require
163         color.sty anymore.
164
165         * LaTeXFeatures.C (getPackages): no need for the color
166         option "usenames" (bug 2169).
167
168 2006-01-23  Helge Hafting <helge.hafting@aitel.hist.no>
169         * buffer_funcs.C: Trivial fix - added {} around
170         the statements to be affected by a if-test. Now
171         label in a minipage in a float looks ok on screen again.
172
173 2006-01-23  Martin Vermeer  <martin.vermeer@hut.fi>
174
175         * text2.C: fix bug 2015: on screen fonts in nested environments 
176         can be wrong
177
178 2006-01-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
179
180         * converter.C (convert): handle unknown formats
181
182 2006-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
183
184         * cursor.C (goUpDown): comment out some debug messages.
185
186         * counters.C (newCounter): make error messages more explicit
187         (these appear with some textclasses like beamer)
188
189 2006-01-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
190
191         * kbmap.C (defkey): 
192         * lyxfunc.C (processKeySym): make sure new FuncRequest objects
193         have origin set to KEYBOARD. (bug 2221)
194
195 2006-01-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
196
197         * rowpainter.C (isCursorOnRow): do not exclude endpos().
198
199 2006-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
200
201         * cursor.C (macroModeClose): returns true if an inset actually got
202         inserted; revert faulty fix to bug 2034.
203
204 2006-01-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
205
206         * tabular.C (getLabelList): remove (not used anymore).
207
208 2006-01-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
209
210         * outputparams.[Ch]: add new flag inComment
211
212 2006-01-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
213
214         * text2.C (deleteEmptyParagraphMechanism): since we delete a
215         paragraph, recordUndo should span two paragraphs (bug 2155).
216
217 2006-01-01  Martin Vermeer  <martin.vermeer@hut.fi>
218
219         * rowpainter.C (paintPar): always repaint the row with the
220         cursor in it
221
222 2006-01-01  Lars Gullik Bjønnes <larsbj@gullik.net>
223
224         * MenuBackend.h: 
225         * bufferlist.h: 
226         * lyxtext.h: 
227         * paragraph.h:
228         * vspace.h: fix syntax error
229
230 2005-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
231
232         * text3.C (dispatch): Force refresh if typing into inset changes its
233                               metrics
234
235 2005-12-30  Martin Vermeer  <martin.vermeer@hut.fi>
236
237         * RowList_fwd.h:
238         * paragraph.C:
239         * paragraph.h:
240         * rowpainter.C: Speed up rendering by only re-painting rows that
241         have changed. When selection or whole-screen update active, all rows
242         are repainted, as are all rows within insets.
243
244 2005-12-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
245
246         * version.C.in: Use PACKAGE_VERSION instead of VERSION
247
248 2005-12-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
249
250         * tabular.C (toggleFixedWidth): Use default layout of text class
251         instead of hardcoded "Standard"
252
253 2005-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
254
255         * lyxfunc.C (dispatch): do not call getStatus again to determine
256         whether a lfun is disabled (bug 2172).
257
258 2005-12-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
259
260         * cursor.C (macroModeClose): set the cursor inside the new math
261         atom if relevant (think \frac{}{}) (bug 2034)
262
263 2005-12-19  Martin Vermeer  <martin.vermeer@hut.fi>
264
265         * lyxtext.h:
266         * text.C:
267         * text3.C (Delete, backspace): force update when merging paragraphs
268
269 2005-12-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
270
271         * BufferView.C (mouseSetCursor): clear the selection properly (bug
272         2163). 
273
274 2005-12-08  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
275
276         * text.C (redoParagraph): honor inset->noFontChange()
277         * rowpainter.C (paintInset): ditto
278
279 2005-12-15  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
280
281         * lyx_main.C (priv_exec): don't initialize Math on startup 
282         (initMath() has been moved to math_hullinset).
283
284 2005-12-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
285
286         * lyxrc.C: set default_papersize to PAPER_DEFAULT;
287         handle PAPER_DEFAULT in LyXRC::read and LyXRC::write (bug 2148).
288         * paper.h: dispose dead PAPER_PACKAGES enum.
289
290 2005-12-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
291
292         * Makefile.am (OTHERLIBS): add SOCKET_LIBS in case we compile
293         without X support.
294
295 2005-12-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
296
297         * exporter.C (Export): Don't try to copy a file if it does not exist
298         (bug 1888)
299
300 2005-12-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
301
302         * text2.C (makeFontEntriesLayoutSpecific): remove.
303         (setLayout): adapt.
304
305         * text.C (insertChar): remove bogus caching of fonts (did not do
306         anything). 
307
308         * text2.C (LyXText): initialize current_font to ALL_INHERIT (was
309         ALL_SANE). (bug 2146)
310
311 2005-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
312
313         * rowpainter.C (paintFirst): fix centering of
314         LABEL_CENTERED_TOP_ENVIRONMENT. 
315
316 2005-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
317
318         * BufferView.C (mouseSetCursor): new method. Calls
319         deleteEmptyParagraphMechanism if necessary.
320
321         * lyxtext.h: make deleteEmptyParagraphMechanism public.
322
323         * text3.C (dispatch/LFUN_MOUSE_PRESS): use
324         BufferView::mouseSetCursor (bug 2109).
325         (dispatch/LFUN_PASTE): remove #warning that is now irrelevant.
326
327 2005-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>  
328
329         * text3.C (dispatch/LFUN_INDEX_INSERT): when a selection is set,
330         do not remove it (this inset behaves differently from the others).
331
332 2005-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
333
334         Fix bug 2096.
335         
336         * BufferView_pimpl.C (getStatus): it is only possible to insert a
337         file in a text inset.
338
339         * buffer.C (readDocument): remove pit argument and code releated
340         to it; set the inset owner correctly (unrelated, but useful).
341         (readFile): get rid of pit argument.
342
343         * CutAndPaste.C (pasteSelectionHelper): use a ParagraphList and a
344         textclass instead of a selection index.
345         (pasteParagraphList): new function.
346         (pasteSelection): make it a wrapper around pasteParagraphList.
347
348         * BufferView_pimpl.C (MenuInsertLyXFile): use
349         cap::pasteParagraphList to insert a file.
350
351 2005-11-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
352
353         * buffer_funcs.C (bufferErrors): prevent endless loop (bug 2121)
354
355 2005-11-17  Michael Gerz  <michael.gerz@teststep.org>
356
357         * exporter.C: fix typo in text message
358
359 2005-11-28  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
360
361         * text2.C (setLayout): move recUndo call to other setLayout method
362         * tabular.C (toggleFixedWidth): new, handle cell width changes
363         * tabular.C (setColumnPWidth): move some code from insettabular.C here
364         and use toggleFixedWidth
365         * tabular.C (setMColumnPWidth): ditto
366
367 2005-11-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
368
369         * paragraph.C (asString): use new inset->textString method (fix
370         bug 2089) 
371
372 2005-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
373
374         * CutAndPaste.C (numberOfSelections): new helper function.
375
376         * lyxfunc.C (getStatus): remove support for LFUN_COPY and LFUN_CUT.
377
378         * text3.C (getStatus): move code for LFUN_CUT and LFUN_COPY from
379         LyXFunc::getStatus; implement LFUN_PASTE.
380
381 2005-11-17  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
382
383         * dociterator.[Ch]: new member realInset() that returns the cell
384         for tabulars and the inset for the rest (bug 1952).
385         * undo.C (textUndoOrRedo): use realInset when resetting insetOwner
386         (bug 1952).
387
388 2005-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
389
390         * text.C (leftMargin): honor the NextNoIndent tag in layouts.
391
392 2005-11-17  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
393
394         * lyxfunc.C:
395         * paragraph.C:
396         * text3.C: InsetBase::forceDefaultParagraphs now takes a cell as
397         argument.
398
399 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
400
401         * text.C (redoParagraph): Fix bug 1966: cursor doesn't go to next
402         line after typing ctrl-enter
403
404 2005-11-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
405
406         * bufferview_funcs.C (coordOffset): fix the fix for bug 2094, as
407         math insets do not return a proper editable() state yet (bug 2124).
408
409 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
410
411         * BufferView_pimpl.[Ch]: Fix bug 1814: better scroll behaviour for 
412         docs containing very large paragraphs.
413
414 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
415
416         * cursor.C (selectionBegin, selectionEnd):
417         * text.C (drawSelection): Fix bug 2115: assertion when anchor and 
418         cursor at different depths.
419
420 2005-11-03  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
421
422         * bufferview_funcs.C (coordOffset): do not call cursorPos
423         for collapsed collapsables (fix bug 2094).
424
425 2005-11-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
426
427         * paragraph.C (fontSpan): make sure that the FontSpan does not
428         span across beginOfBody (bug 1947).
429
430 2005-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
431
432         * lyxlength.h: undefine macros that clash with solaris/x86 (bug 992)
433
434 2005-11-03  Michael Gerz  <michael.gerz@teststep.org>
435
436         * messages.C: fix crash and localization on MinGW/Windows platform
437
438 2005-11-02  Angus Leeming  <leeming@lyx.org>
439
440         * Bidi.C:
441         * lyxtextclass.C: trivial fixes to some MSVS warnings.
442
443 2005-10-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
444
445         * text3.C (getStatus): re-enable disabled code. (bug 2081)
446
447         * BranchList.h (empty): constify.
448
449 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
450
451         * text3.C (getStatus): 
452         * MenuBackend.C (expandBranches): take the branch list from the
453         master document (bug 2092).
454         
455         * MenuBackend.C (expandBranches): 
456         * bufferparams.C (writeFile): use BranchList type.
457
458 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
459
460         * text3.C (dispatch, getStatus): 
461         * LyXAction.C (init): 
462         * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
463
464 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
465
466         * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
467
468 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
469
470         * text.C (insertChar): do not reset boundary (bug 2061)
471
472 2005-10-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
473
474         * dociterator.C (updateInsets): new method. Updates the inset_
475         cache of all the slices of the iterator.
476
477         * text2.C (deleteEmptyParagraphMechanism): compare also containing
478         insets when comparing pit/pos; pass the right cursor to
479         recordUndo; when a paragraph has been deleted, compare `old.top()' to
480         the right cursor slice of `cur'; use updateInsets on cur to make
481         sure that the inset caches are correct; general cleanup.
482
483 2005-10-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
484
485         * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
486         dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
487         containg inset. If this does not work, the same command will be
488         sent to other insets down the queue by LCursor::dispatch. (bug 2066)
489
490         * lyxfunc.C (dispatch): make sure the cursor is correct when doing
491         a dispatch.
492
493 2005-10-20  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
494
495         * lyxtextclass.C (Read): convert layout file if the format is wrong
496         * lyxtextclass.C (layout2layout): new, needed for the above
497
498 2005-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
499
500         * messages.C: do not forget to include <cerrno>.
501
502 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
503
504         * dociterator.h (StableDocIterator): add access to pos().
505         * undo.C (samePar): new method to check if two
506         iterators are in the same paragraph
507         * undo.C (recordUndo): check for samePar instead of cell identity
508         (which includes pos() and is too strict) (fixes bug 2097)
509
510 2005-10-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
511
512         * text.C (setCursorFromCoordinates): return a bool telling whether
513         dEPM triggered.
514
515         * text3.C (cursorPrevious): update if needed after
516         setCursorFromCoordinates (when dEPM triggered).
517
518         * text2.C (cursorDown, cursorUp): make sure to reset the anchor
519         (otherwise the anchor may be completely wrong and make dEPM assert).
520
521 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
522
523         * buffer.C: version upgrade to 245.
524         * bufferparams.C: remove \quotes_times (bug 2090).
525         * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
526         quotation marks as default.
527
528 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
529
530         * CutAndPaste.C (nrOfParagraphs): remove (unused)
531         * CutAndPaste.C (cutSelection): Remove debug message
532         * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
533         undo information and only copy if this is a real cut
534         * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
535         call
536         * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
537         (bug 2059)
538         * CutAndPaste.C (eraseSelection): prevent cursor corruption
539         * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
540         superflous cur.selection() setting
541         * CutAndPaste.[Ch] (grabSelection): take a const cursor
542         * cursor.C (selectionAsString): implement mathed case ((bug 2059)
543
544 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
545
546         * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
547         change anything.
548
549 2005-10-11  Martin Vermeer  <martin.vermeer@hut.fi>
550
551         * BufferView_pimpl.C: comment layout change
552
553 2005-10-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
554
555         * LyXAction.C:
556         * lfuns.h:
557         * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
558         by bibliography managers (bug 2071).
559
560 2005-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
561
562         * BufferView_pimpl.C (update): choose arguments to update call so
563         that single-par update works most times
564         * text3.C (dispatch): carefully tune updating separately for
565         whole-screen and current-paragraph
566         * rowpainter.C (paintText): 1) replace painting by caching for
567         the two extra paragraphs, because we can;
568         2) suppress greying out of areas below/above drawn area in case of
569         single-par refresh
570         * lyxfunc.C (dispatch): remove superfluous update
571         * LyXAction.[Ch]: introduce SingleParUpdate
572
573 2005-10-05  Angus Leeming  <leeming@lyx.org>
574
575         * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
576         always initialised before use.
577
578         * text.C (setHeightOfRow): squash warning about comparison
579         of signed and unsigned types.
580
581 2005-10-03  Martin Vermeer  <martin.vermeer@hut.fi>
582
583         * text.C (cursorX): two fixes involving RtL text drawing
584
585 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
586
587         * cursor.C (erase): fix 'clever' UI hack. It was activated for all
588         items, not only large ones (part of bug 2057)
589
590 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
591
592         * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
593         argument, use "newcommand".
594
595 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
596
597         * cursor.C (setSelection): do not open collapsable insets;
598         the insets do by themselves now (autoopen).
599
600 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
601
602         * buffer.C: format is up to 244.
603
604 2005-09-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
605
606         * text.C (redoParagraph): fix calcultation of inset width wrt 
607         leftMargin (bug 1957).
608
609         * text3.C (dispatch): leave inset to the right when hitting ESC 
610         (bug 2034).
611
612 2005-09-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
613
614         * text2.C: 
615         * text.C: 
616         * factory.C:
617         * messages.C: include <boost/current_function.hpp> 
618
619 2005-09-12  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
620
621         * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
622         when command is internal. (bug 1941)
623
624 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
625
626         * text2.C (cursorRight): do not honor boundary when at the end of
627         a paragraph. (bug 2010 again)
628
629 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
630
631         * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
632
633 2005-09-19  Martin Vermeer  <martin.vermeer@hut.fi>
634
635         * rowpainter.C (paintText): fix RtL space width display bug (2029)
636
637 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
638
639         * text2.C (setCursor): remove the unused 'boundary' parameter for
640         the CursorSlice version; adapt the LCursor version.
641
642         * lyxrc.C (write): 
643         * paragraph_pimpl.C (markErased): 
644         * cursor.C (bruteFind2, bruteFond3): fix warnings.
645
646 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
647
648         * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
649         as is already done for "chapter".
650
651 2005-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
652
653         * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
654         textclass; do not record undo if nothing is changed.
655
656 2005-09-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
657
658         * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
659
660 2005-09-14  Michael Gerz  <michael.gerz@teststep.org>
661
662         * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
663
664 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
665
666         * BufferView_pimpl.C (setBuffer): when one wants to set the layout
667         combox, it is necessary to search for the topmost paragraph in the
668         cursor stack (bug 1926)
669
670 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
671
672         * text2.C (cursorEnd, cursorRight): do not set boundary to true at
673         end of paragraph. (bug 2010)
674
675 2005-09-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
676
677         * text.C (leftMargin): check for inInset == 0
678
679 2005-09-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
680
681         * text.C (leftMargin): test for insetbase's new neverIndent()
682         bool instead of listing each and every inset that does not
683         wish par indendation.
684
685 2005-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
686
687         * buffer_funcs.C (setCounter): put the code to compute enum label
688         here (where it belongs).
689
690         * counters.C (enumLabel): move code to buffer_funcs.C.
691
692 2005-09-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
693
694         * outputparams.[Ch]: store local_font instead of local_language
695         * paragraph.C (simpleTeXOnePar): adapt to the change above
696
697 2005-09-08  Martin Vermeer  <martin.vermeer@hut.fi>
698
699         * buffer_funcs.C:
700         * counters.[Ch]: clean up special code for Hebrew.
701
702 2005-09-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
703
704         * lyxfunc.C (lookupChange): fix code when cursor depth is greater
705         than 2.
706
707 2005-09-08  Angus Leeming  <leeming@lyx.org>
708
709         * ispell.C:
710         * lyxrc.C: correct grammar describing invocation of the
711         spellchecker.
712
713 2005-08-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
714
715         * text.C (read): remove unused variable.
716         (readParToken): remove static Change variable (never good in
717         recursive settings...); add it as a parameter instead.
718
719         * paragraph_pimpl.C (acceptChange): make debug info conditional.
720
721         * metricsinfo.C (PainterInfo): add new member erased_.
722
723         * rowpainter.C (RowPainter): add erased_ member, initialized from
724         PainterInfo. 
725         (paintInset): pass erased_ to Inset::draw.
726
727         * lyxfunc.C (lookupChange): new function. Tells whether change 
728         tracking is disabled at a given postion.
729         (getStatus): disable some actions when in deleted text with change
730         tracking. 
731
732 2005-08-03  John Levon  <levon@movementarian.org>
733         
734         * tabular.C (appendColumn, setMultiColumn): adapt to change to
735         InsetText::clear().
736
737         * paragraph_pimpl.C (markErased): add bool argument and handle it.
738         Also make sure to mark insets recursively.
739         (rejectChange, erase): be recursive
740
741         * paragraph.C (markErased): add bool argument.
742 2005-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
743
744         * lyxfind.C (findNextChange): tiny cleanup.
745
746         * BufferView_pimpl.C (trackChanges): avoid crash when stopping
747         change tracking with the cursor in an inset; make sure the first
748         change is not skipped.
749
750 2005-09-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
751
752         * CutAndPaste.[Ch]: new methods dirtyTabularStack and 
753         tabularStackDirty to work around bug 1919 (tabular needs
754         to know whether its own cell paste buffer or the one of 
755         texted is newer.
756         * CutAndPaste.C: mark tabular_stack_ clean after copy.
757
758 2005-08-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
759
760         * text2.C (cursorEnd): check for empty text (fixes bug 1998)
761
762 2005-08-19  Lars Gullik Bjønnes  <larsbj@gullik.net>
763
764         * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
765         use old deleteion algorithm when changetracking is on.
766
767 2005-08-18  Martin Vermeer  <martin.vermeer@hut.fi>
768
769         * messages.C (get): add debug output.
770
771 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
772
773         * text.C (cursorX): fix bug 1965: cursor movement at
774         line end broken in RtL.
775         (drawSelection): fix bug 1970: drawing of single-line 
776         selection broken for RtL.
777
778 2005-07-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
779
780         bug 465.
781
782         * dociterator.h (clear, push_back, pop_back): change from
783         protected to public.
784
785         * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
786         and changed to just return the value of the item depth; take a
787         ParIterator as argument; take the itemdepth at outer nesting level
788         in account if necessary; cleanup and comment the code.
789         (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
790         and changed to just return true if reset is needed; take a
791         ParIterator as argument; cleanup and comment the code.
792         (setCounter): adapt to above changes.
793
794 2005-07-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
795
796         * text3.C (dispatch): make debug message optional
797
798 2005-08-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
799
800         * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
801         inset. (bug 1963)
802
803 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
804
805         * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
806
807 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
808
809         * text.C (insertChar):
810         * text2.C (deleteEmptyParagraphMechanism): take care whether 
811         a blank has been deleted (in change tracking mode) (bug 1254).
812
813 2005-07-20  John Levon  <levon@movementarian.org>
814
815         * text2.C (insertStringAsLines): remove old dubious code,
816         fixing bug 1939.
817
818 2005-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
819
820         * MenuBackend.C (expandToc): use Floating::listName() as title of
821         the floats submenus.
822
823 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
824
825         * toc.[Ch]: Do not use translatable strings (bug 1870).
826
827 2005-07-20  John Levon  <levon@movementarian.org>
828
829         * tabular.C: fix 1748 - setting multicolumn adds
830           left line to the first cell
831
832 2005-07-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
833
834         bug 1920
835         * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
836         pars in one go.
837
838 2005-07-18  Lars Gullik Bjønnes  <larsbj@lyx.org>
839
840         * messages.C: supress some lyxerr messages
841
842 2005-07-18  Juergen Vigna  <jug@lyx.org>
843
844         * text.C (drawSelection): honor boundary when asking for cursorX.
845
846 2005-07-17  José Matos  <jamatos@fc.up.pt>
847
848         * tabular.C (recalculateMulticolumns): fix handling of one column
849         tables.
850
851 2005-07-17  Juergen Vigna  <jug@lyx.org>
852
853         * text.C (Delete, backspace): fixed so that paragraph with the
854         same layout can be merged by Delete/Backspace.
855
856 2005-07-17  Michael Schmitt  <michael.schmitt@teststep.org>
857
858         * text.C (readParToken): fix spelling.
859
860 2005-07-17  Martin Vermeer  <martin.vermeer@hut.fi>
861
862         * text2.C: fix counter update for DEPM problem reported by
863         Georg Baum
864
865 2005-07-17  Juergen Vigna  <jug@lyx.org>
866
867         * BufferView_pimpl.C (setBuffer): save/restore the
868         cursor/selection when switching buffers
869
870         * buffer.h: 
871         * buffer.C (saveCursor): add saveDocumentIterators to save the
872         cursor when switching buffer.
873
874 2005-07-17  Michael Schmitt  <michqel.schmitt@teststep.org>
875
876         * debug.C: fix typo
877         * buffer.C: clarify message
878         
879 2005-07-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
880
881         * dociterator.C (DocIterator): fix initialization order
882
883 2005-07-17  Juergen Vigna  <jug@lyx.org>
884
885         * text2.C (cursorHome): 
886         * text.C (drawSelection, cursorX): 
887         * dociterator.C (textRow): add boundary to getRow() call
888
889         * paragraph.C (getRow): implementation of below
890
891         * paragraph.h: add parameter boundary for getRow() function
892
893 2005-07-17  José Matos  <jamatos@fc.up.pt>
894
895         * buffer.C:
896         * bufferparams.[Ch]:
897         * tex-strings.[Ch]: new file format, remove support for a4.sty,
898         a4wide.sty and a4widemargins.
899
900 2005-07-17  Juergen Vigna  <jug@lyx.org>
901
902         * text2.C (cursorLeft): fix one of error
903
904 2005-07-17  Juergen Vigna  <jug@lyx.org>
905
906         * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
907                    cursorEnd):
908         more fixes for boundary handling
909
910         * text3.C (dispatch): don't reset cursor if boundary has changed
911         on cursor movement.
912
913 2005-07-16  Juergen Vigna  <jug@lyx.org>
914
915         * text2.C (getColumnNearX): hopefully got it right now,
916         check if we are on column 0 for special case.
917
918 2005-07-16  Juergen Vigna  <jug@lyx.org>
919
920         * text2.C (getColumnNearX): handle special case Newline Inset
921
922         * text.C (singleWidth): Just remove bogus check
923
924 2005-07-16  Michael Schmitt  <michael.schmitt@teststep.org>
925
926         * funcrequest.C (split): avoid reading uninitialized char c
927
928 2005-07-16  José Matos  <jamatos@fc.up.pt>
929
930         * buffer.C:
931         * converter.C:
932         * lyxrc.C:
933         * paper.h:
934         * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
935         single papersize variable.
936
937 2005-07-16  Juergen Vigna  <jug@lyx.org>
938
939         * text3.C (dispatch): honor boundary when checking if a cursor
940         movement has been done
941
942         * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown) 
943         (setCursor, setCursorIntern): fix cursor movement with boundary
944
945 2005-07-16  Juergen Vigna  <jug@lyx.org>
946
947         * text.C (currentState): output the actual Boundary
948
949 2005-07-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
950
951         * factory.C (createInset): fix bad logic for tabular creation
952
953 2005-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
954
955         * lyx_main.C (init): change some reLyX reference to tex2lyx
956
957 2005-07-16  Juergen Vigna  <jug@lyx.org>
958
959         * dociterator.C (DocIterator): initialize boundary
960
961 2005-07-16  Juergen Vigna  <jug@lyx.org>
962
963         * text2.C (getColumnNearX): Consider rows without trailing blank.  
964
965 2005-07-16  André Pönitz  <poenitz@gmx.net>
966
967         * lyxfont.h: Change order of declarations to give the compiler
968         a better chance to inline things
969
970         * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
971         questions on unsaved docs for better scritability
972
973 2005-07-16  André Pönitz  <poenitz@gmx.net>
974
975         * paragraph.h (getChar): remove asserts as the same kind of security
976         can be achieved by using a suitable standard library implementation
977         and the function was in the critical path (25.9% in profiler)
978
979 2005-07-16  Juergen Vigna  <jug@lyx.org>
980
981         * cursor.C (bruteFind2):
982         * bufferview_funcs.C (coordOffset): 
983         * text.C (cursorX,cursorY): Handle cursor position after last char
984         in row before a inset which uses a whole row.
985
986 2005-07-15  José Matos <jamatos@lyx.org>
987
988         * output_plaintext.[Ch] (writeFileAscii): control reference title
989         printing.
990         (asciiParagraph): noparbreak was already deal and was incorrectly
991         used.
992
993 2005-07-15  Juergen Vigna <jug@lyx.org>
994
995         * lyxfunc.C (dispatch): save and restore the cursor after a
996         textclass switch.
997
998 2005-07-15  Lars Gullik Bjønnes <lgb@tandberg.net>
999
1000         * text.C (backspace): bug 806 for empty keepempty paragraphs we
1001         change the layout to default before letting DEPM do its thing.
1002
1003         * paragraph_funcs.C (breakParagraph): dont reset the layout on
1004         keepEmpty paragraphs
1005
1006         * text.C (setCursorFromCoordinates): add a debug statement
1007
1008         * text2.C (getColumnNearX): bug 1825 make sure that we don't
1009         return a pos that is not on the row
1010
1011         * output_latex.C (TeXDeeper): get rid of potential dereferencing
1012         of past the end iterator
1013
1014 2005-07-14  André Pönitz  <poenitz@gmx.net>
1015
1016         * undo.C (recordUndoFullBuffer): implement undo for
1017         textclass switches
1018
1019 2005-07-14  André Pönitz  <poenitz@gmx.net>
1020
1021         * cursor.C (setSelection): open insets when selection is set there
1022         to avoid crashs with cold coord cache
1023
1024 2005-07-14  André Pönitz  <poenitz@gmx.net>
1025
1026         * trans_mgr.C (insert): move cursor to the right after inserting
1027         a char.
1028
1029 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
1030
1031         * BufferView_pimpl.C (update): dampen some of the debug blabbering
1032         * factory.C (readInset): ditto
1033         * text.C, text2.C: ditto
1034
1035 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1036
1037         * buffer.C: format incremented to 242. There is no file format per
1038         se, but the "frenchb" language has been removed from lib/language
1039         and has to be translated to "french" by lyx2lyx.
1040
1041 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1042
1043         * cursor_slice.h, dociterator.h: add some documentation
1044         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
1045
1046 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1047
1048         * text.C (leftMargin): do not add identation to display() style
1049         insets, because they are always centered (bug 1293).
1050
1051 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1052
1053         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
1054         formatted_time methods in support/lyxtime.
1055
1056 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1057
1058         * toc.[Ch]: new method getGuiName, which is used by the frontends 
1059         to set the toc combo (fixes bug 1870). Make TOC string translatable.
1060
1061 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1062
1063         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
1064         StableDocIterator const &)
1065         * undo.C (recordUndo): use the above instead of cell.size() comparison
1066         (fixes bug 1808; instructed by Andr�.
1067
1068 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
1069
1070         * cursor_slice.h: 
1071         * dociterator.h: Fix the assert when copying rows/cols in math
1072
1073 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1074
1075         * BufferView_pimpl.C:
1076         * LyXAction.C:
1077         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
1078
1079         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
1080         (findInset): new functions, refactored from goto Inset that return 
1081         the position of a certain inset without setting the buffer's cursor
1082         (by Jean-Marc); 
1083         (gotoInset): rewrite to call findInset and then set the cursor
1084         (by Jean-Marc).
1085
1086 2005-06-16  Angus Leeming  <leeming@lyx.org>
1087
1088         * lyxrc.C (output, read): wrap all input and output of paths with
1089         calls to os::internal_path and os::external_path, respectively.
1090         (output): wrap bind_file inside quotes.
1091
1092         * format.C (view): enable the viewer to use the '$$s' placeholder.
1093
1094 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1095
1096         * LColor.[Ch] (getFromLaTeXName): new
1097
1098 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
1099
1100         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
1101
1102 2005-06-14  Angus Leeming  <leeming@lyx.org>
1103
1104         * lyx_main.C (init): ensure that the LyX binary dir is the first
1105         element in the PATH on non-POSIX builds.
1106
1107 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1108
1109         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
1110
1111 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1112
1113         * rowpainter.C (paintInset, paintHebrewComposeChar)
1114         (paintArabicComposeChar, paintChars): add a LyXFont argument.
1115         (paintChars): use getFontSpan to reduce calls to getFont to a
1116         minimum; use Paragraph::lookupChange instead of isXXXText.
1117         (paintForeignMark): rename LyXFont argument.
1118         (paintFromPos): pass a LyXFont object to the various paintXXX
1119         methods.
1120
1121         * FontIterator.C (FontIterator, operator++): use
1122         Paragraph::getFontSpan
1123
1124         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
1125         version that returns the font span as a pair.
1126
1127 2005-06-09  Angus Leeming  <leeming@lyx.org>
1128
1129         * converter.C (convert): Don't forget "outfile = real_outfile" as
1130         the final step in a conversion where the input and output file names
1131         are the same. Otherwise, future conversion steps won't work...
1132
1133 2005-06-09  Angus Leeming  <leeming@lyx.org>
1134
1135         * lyxsocket.C: remove stub code as it isn't needed by
1136         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
1137
1138 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1139
1140         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
1141         effectively disabled -x
1142
1143 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1144
1145         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
1146         when it actually makes sense.
1147
1148 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
1149
1150         * BufferView_pimpl.C: revert to showCursor in connection with
1151         Lars's front-end stack
1152
1153 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1154
1155         * text.C (redoParagraph): move cursor right after a bibitem
1156         has been inserted.
1157
1158         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
1159
1160 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1161
1162         * buffer_funcs.C (bufferErrors): fix computation of the end of an
1163         error range.
1164
1165 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
1166
1167         * BufferView.[Ch] (update):
1168         * BufferView_pimpl.[Ch] (update, metrics):
1169         * dimension.h (operator==):
1170         * lyxfunc.C (dispatch):
1171         * metricsinfo.h (ViewMetricsInfo):
1172         * rowpainter.C (paintText):
1173         * lyxtext.h:
1174         * text.C (redoParagraph):
1175         * text3.C (dispatch): Make LyX only repaint current paragraph in
1176         case of character insert --> speedup. Also fix cursor draw
1177         artifacts
1178
1179 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1180
1181         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
1182         avoid a crash (bug 1891)
1183
1184 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1185
1186         Fix bug 1892:
1187
1188         * text2.C (getStringToIndex): constify cur argument.
1189
1190         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
1191         argument has been given
1192         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
1193         try to invoke LFUN_INSET_APPLY).
1194
1195         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
1196         if no inset was created by doInsertInset
1197         (doInsertInset): return true if an inset has been inserted.
1198
1199 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1200
1201         * vspace.C (asGUIName): new method. A version of the space
1202         suitable for showing on screen.
1203
1204 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
1205
1206         * MenuBackend.C:
1207         * lyxrc.C: rename "ASCII" to "Plain Text"
1208
1209 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1210
1211         * buffer_funcs.C (expandLabel): take a Buffer as argument;
1212         translate the labelstring.
1213         (setCounter): translate labelstring as needed.
1214
1215         * output_docbook.C (makeCommand): fix expandLabel invokation
1216
1217 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
1218
1219         * BufferView.C: fix dialog title
1220
1221 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1222
1223         * lyx_main.C (priv_exec): fix logic error with help from Angus
1224         * lyx_main.C (parse_execute): set is_gui = false and remove now
1225         obsolete comment about a segfault
1226
1227 2005-05-18  Angus Leeming  <leeming@lyx.org>
1228
1229         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
1230
1231 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
1232
1233         * tabular.[hC]: added setCellInset to fix tabular paste.
1234
1235 2005-05-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1236
1237         * buffer.C (save): check if destination is writable before trying
1238         to copy a file
1239
1240 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
1241
1242         * BufferView_pimpl.C (update): fix processEvents -caused update
1243         recursion bug
1244
1245 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1246
1247         * buffer_funcs.C (setCounter): fix test for numbering of
1248         environments.
1249
1250         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
1251         depth correctly; use optional argument when it exists
1252
1253         * lyxtextclass.C: remove unused MaxCounterTags enum
1254         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
1255         (max_toclevel, min_toclevel): new methods.
1256
1257         * MenuBackend.C (expandToc2): fix case where depth is smaller than
1258         the smallest depth in toc.
1259
1260         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
1261         layouts that should not appear in a table of contents.
1262
1263 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1264
1265         * cursor.h (undispatched, noUpdate): add comments from Andr�
1266 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
1267
1268         * lfuns.h:
1269         * LyXAction.C:
1270         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
1271
1272 2005-05-07  André Pönitz  <poenitz@gmx.net>
1273
1274         * cursor.[Ch] (leaveInset): new function
1275
1276 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1277
1278         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
1279
1280 2005-05-04  Angus Leeming  <leeming@lyx.org>
1281
1282         * lyxfunc.C (getStatus): disable the spell checker dialog if
1283         none of USE_[AIP]SPELL are defined.
1284
1285 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
1286
1287         * tabular.C (setWidthOfCell): remove obsolete comment
1288
1289 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
1290
1291         * paragraph.C (bibitem):
1292         * buffer_funcs.C (setCounter):
1293         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
1294
1295 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1296
1297         * text3.C (getStatus): immediately return after setOnOff
1298
1299         * rowpainter.C: fix drawing of appendix start
1300
1301 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1302
1303         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
1304         SwitchBetweenClasses and remove the unused return value.
1305         Handle character styles, too
1306
1307 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
1308
1309         * factory.C (createInset): handle undefined character styles
1310
1311 2005-05-02  Angus Leeming  <leeming@lyx.org>
1312
1313         * buffer.C: protect the #include of utime.h with a preprocessor
1314         guard.
1315
1316 2005-05-02  Angus Leeming  <leeming@lyx.org>
1317
1318         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
1319         function so that auto-saving works, albeit in a blocking manner.
1320
1321         * Makefile.am: make compilation of the client sub directory, of
1322         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
1323         on conditionals set at configure time.
1324
1325         * SpellBase.[Ch]: no longer an abstract base class. Instead,
1326         it can be compiled in its own right but has no-op functionality.
1327
1328         * aspell.C, pspell.C: remove preprocessor guards. The files should
1329         be compiled only if the necessary functionality exists.
1330
1331         * lyxserver.C, lyxsocket.C: disable on Windows.
1332
1333 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
1334
1335         * text.C (leftMargin): Fix the parindent use bug (1764)
1336         by dirty trick
1337
1338 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
1339
1340         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
1341         argument.
1342
1343 2005-04-25  Angus Leeming  <leeming@lyx.org>
1344
1345         * Bidi.[Ch]:
1346         * coordcache.[Ch]:
1347         * ispell.C:
1348         * lyxserver.C:
1349         * mover.C:
1350         * pch.h:
1351         include <config.h> in .C files, not .h ones.
1352         add licence blurb.
1353         protect headers inside preprocessor guards.
1354
1355 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1356
1357         * FuncStatus.h (StatusCodes): document
1358
1359 2005-04-21  André Pönitz  <poenitz@gmx.net>
1360
1361         * FuncStatus.h (enabled, onoff): document
1362
1363 2005-04-19  Angus Leeming  <leeming@lyx.org>
1364
1365         * BufferView_pimpl.C (cursorToggle): no longer test whether
1366         any child processes have been reaped before calling
1367         handleCompletedProcesses().
1368
1369 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
1370
1371         * text3.C (dispatch): fix, finally fix, the language problem in
1372         new lyxtexts, without disabling on-the-fly font changes (Helge's
1373         bug report)
1374
1375 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1376
1377         * text3.C (dispatch): set cursor on double/triple click events
1378         (bug 1811)
1379
1380 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1381
1382         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
1383         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
1384
1385         * rowpainter.C (paintFirst): simplify the code a little bit. In
1386         particular, remove the test for secnumdepth.
1387         * text.C (setHeightOfRow): only allocate space for chapter number
1388         when updateCounters provided an actual label, instead of looking
1389         at secnumdepth directly.
1390
1391         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
1392
1393         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
1394         paragraphs when secnumdepth is large enough or, for environments,
1395         when they are not the first in a sequence.
1396
1397 2005-04-17  Angus Leeming  <leeming@lyx.org>
1398
1399         * buffer.C (makeLaTeXFile): replace code to manipulate a path
1400         containing space and '~' characters with a call to latex_path().
1401
1402 2005-04-17  Angus Leeming  <leeming@lyx.org>
1403
1404         * converter.C (convert): protect all args of convertDefault.sh
1405         script with quotes.
1406
1407 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1408
1409         * text3.C (dispatch): change the layout to "Caption" after inserting
1410         a float.
1411
1412 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1413
1414         * text3.C (dispatch): fix language problem in newly created
1415         textinsets (and main text) in non-english docs
1416
1417 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1418
1419         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
1420         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
1421         * text3.C (getStatus): disable LFUN_INSET_MODIFY
1422
1423 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1424
1425         * lyxtext.h:
1426         * text.C (metrics):
1427         * text2.C (getFont):
1428         * rowpainter.C (getFont): Fix metrics bug introduced by inset
1429         fonts fix
1430
1431 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1432
1433         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
1434         output of \item arguments without trailing text.
1435
1436 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1437
1438         * FontIterator.C (operator*): avoid a copy of the font.
1439
1440 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1441
1442         * rowpainter.C (getFont): fix language bug from previous fix
1443
1444 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1445
1446         * rowpainter.C (RowPainter, getFont): fix font inside inset
1447         (bugs 1766, 1809)
1448
1449 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
1450
1451         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1452         preventing inserted font, deco, delim insets jumping to start of
1453         surrounding inset.
1454
1455 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1456
1457         * lyxfunc.C (dispatch): translate message before sending it to the
1458         minibuffer.
1459
1460 2005-03-29  Angus Leeming  <leeming@lyx.org>
1461
1462         * lyx_main.C (priv_exec): call os::internal_path on each file passed
1463         to LyX on the command line.
1464
1465 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
1466
1467         * vc-backend.C: use QuoteName to protect file names wherever
1468         necessary.
1469
1470 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
1471
1472         * buffer.[Ch]:
1473         * BranchList.h: fix bugs 1844,1845: document settings don't
1474         stick
1475
1476 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1477
1478         * lyxrc.C (setDefaults, read, output, getDescription): add support
1479         for tex_allows_spaces.
1480
1481         * exporter.C (Export): allows files in directory containing spaces
1482         if tex_allows_spaces is true.
1483
1484         * buffer.C (makeLaTeXFile): if the document path contains spaces,
1485         output it in double quotes.
1486
1487 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1488
1489         * rowpainter.C: use default text height for drawing change tracker
1490         strikeout lines.
1491
1492 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1493
1494         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1495
1496 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1497
1498         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1499         directory is missing.
1500
1501 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
1502
1503         * text2.C: fixed the fix, extended to other case.
1504
1505 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
1506
1507         * text2.C: fix for cursor up/down stuck in math [bug 1792]
1508
1509 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
1510
1511         * text2.C (cursorUp): get rid of a crash
1512         * text.C (x2pos): add an assert
1513
1514 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1515
1516         * lyxfunc.C (getStatus): fix warning when assertions are disabled
1517
1518         * text3.C:
1519         * lyxfunc.C:
1520         * dociterator.C: include <boost/current_function.hpp>, which is
1521         needed when assertions are disabled.
1522
1523 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1524
1525         * text2.C: fix for stuck cursor when traversing two
1526         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1527
1528 2005-02-25  Andreas Vox  <avox@arcor.de>
1529
1530         * output_docbook.C (makeParagraph): suppress trailing newline
1531         after a run of paragraphs
1532
1533 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1534
1535         * paragraph.C: fix for confused change tracker when pasting
1536         text that begins with a lineseparator. [bug 1827]
1537         (setChange(0, Change::INSERTED);)
1538
1539         * paragraph_funcs.C: fix for lost changes on triple-paste
1540         in change tracking mode [bug 1827] (par.setChange()).
1541
1542 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1543
1544         * text2.C (updateCounters, setCounter, expandLabel): move to
1545         buffer_funcs.
1546
1547         * buffer_funcs.C (updateCounters): turn into a free standing
1548         function and add a buffer parameter. Remove dead code for tracking
1549         labelstring change.
1550         (setCounter): change into a free-standing function which gets a
1551         dociterator as argument. Use this iterator to fix captions in a
1552         simple way. When no float is found above the caption, use the
1553         labelstring of the caption layout as default.
1554
1555         * text.C (breakParagraph, backspace):
1556         * text2.C (init, setLayout, changeDepth):
1557         * text3.C (dispatch):
1558         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1559         updateCounters.
1560
1561         * dociterator.C (forwardPar): make it much faster by calling
1562         forwardPos() only when really necessary.
1563
1564         * output_docbook.C (makeCommand): adapt to expandLabel move.
1565
1566         * cursor.C: remove unused variable
1567
1568 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1569
1570         * paragraph_funcs.C: fix crash when pasting insets in change
1571         tracking mode [bug 1277] (honour change type in moveItem).
1572
1573 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1574
1575         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1576
1577 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1578
1579         * BufferView.C (setCursor): change to use a DocIterator.
1580         (gotoLabel): use BufferView::setCursor (other part of bug 781).
1581         (putSelectionAt): adapt to BufferView::setCursor change.
1582
1583         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1584         moved here from LyXText and rewritten to use proper cursor
1585         methods. Fixes bug 1787, 616 and 835.
1586
1587         * BufferView_pimpl.C (restorePosition): set the cursor correctly
1588         when inside an inset (part of bug 781).
1589         (dispatch): adapt to change of BufferView::setCursor.
1590         (getStatus, dispatch): handle LFUN_GOTOERROR,
1591         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1592
1593         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1594         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1595         * text3.C (gotoNextInset, gotoInset): removed.
1596
1597 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1598
1599         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1600
1601 2005-02-15  Angus Leeming  <leeming@lyx.org>
1602
1603         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1604         can be used meaningfully in a comparison.
1605
1606 2005-02-13  André Pönitz  <poenitz@gmx.net>
1607
1608         * bufferview_funcs.C (coordOffset): improve cursor drawing
1609
1610 2005-02-13  André Pönitz  <poenitz@gmx.net>
1611
1612         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1613         * Cursor.C (dispatch): use fixIfBroken
1614         * lyxfunc.C (getStatus): use fixIfBroken
1615
1616 2005-02-15  Angus Leeming  <leeming@lyx.org>
1617
1618         * lyx_main.C (error_handler):
1619         * lyxfunc.C:
1620         * lyxrc.C (setDefaults):
1621         s/GetEnv/getEnv/.
1622         #include "environment.h".
1623
1624         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1625
1626 2005-02-15  Angus Leeming  <leeming@lyx.org>
1627
1628         * lyxserver.C (startPipe): squash MSVC warning "local variable
1629         'fd' used without having been initialized".
1630
1631 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1632
1633         * BufferView_pimpl.C: revert accidental commit.
1634
1635 2005-02-14  André Pönitz  <poenitz@gmx.net>
1636
1637         * dociterator.[Ch]: new member forwardPosNoDescent(),
1638         which doesn't enter nested insets.
1639         * text2.C (setFont): use forwardPosNoDescent() instead
1640         of ForwardPos() (fixes crash on font change).
1641
1642 2005-02-13  Angus Leeming  <leeming@lyx.org>
1643
1644         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1645         only if lyxrc.path_prefix is not empty.
1646
1647 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1648
1649         * bufferparams.C (readGraphicsDriver): prevent crash
1650
1651 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1652
1653         * text2.C (setCounter): check for inInset() == 0
1654
1655 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1656
1657         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1658         but use update() to get correct screen display; use convert
1659         instead of istringstream.
1660         (getStatus): handle LFUN_GOTO_PARAGRAPH
1661
1662         * lyxfunc.C (dispatch, getStatus): do not handle
1663         LFUN_GOTO_PARAGRAPH here.
1664
1665 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1666
1667         * text3.C (dispatch): size() -> depth()
1668
1669         * text2.C: remove some debug output
1670
1671         * paragraph.C: ws changes only
1672
1673         * lyxfunc.C (getStatus): size() -> depth()
1674
1675         * dociterator.h (clear, push_back, pop_back, internalData,
1676         operator[], resize, empty): new functions
1677         Make StableDocIterator and operator== be friends. Don't inherit
1678         from std::vector use a privat class variable slices_ instead.
1679         Modify to fit.
1680
1681         * dociterator.C: update because of not inheriting from std::vector
1682         anymore. Call explictly to slices_ instead. Use depth() instead of
1683         size() and top() instead of back()
1684
1685         * cursor.C: chagne size() -> depth and back() -> top(). Also
1686         remove some direct operator[](i) calls in favour of foo[i]
1687         (getFont): remove some dead code
1688
1689         * bufferview_funcs.C (coordOffset): size() -> depth()
1690
1691         * buffer.C: ws changes only
1692
1693         * CutAndPaste.C (eraseSelection): back() -> top()
1694
1695         * BufferView_pimpl.C (selectionRequested): back() -> top()
1696
1697         * BufferView.C (setCursor): size() -> depth()
1698
1699 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1700
1701         * text3.C (cursorPrevious): return true if depm changed something
1702         (cursorNext): ditto
1703         (dispatch): rename sl to oldTopSlice, remove moving use the new
1704         NoUpdate func attrib instead. Make sure that needsUpdate is set
1705         for function that have NoUpdate, but where depm might have changed
1706         the buffer anyway.
1707
1708         * text2.C (cursorLeft): make us return true if depm changed
1709         something
1710         (cursorRight): ditto
1711         (cursorUpParagraph): ditto
1712         (curosrDownParagraph): ditto
1713         (cursorUp, cursorDown): ditto, make sure to read comments in code
1714         (deleteEmptyParagraphMechanism): remove an assert, also return
1715         true if just a single char was deleted.
1716
1717         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1718         cursor that we modify, to avoid modifying an active cursor before
1719         we call setCursor. This allows depm to run. Also return true if
1720         depm deleted something.
1721
1722         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1723         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1724         cursorDownParagraph, cursorPrevious and cursorNext, return true if
1725         something was changed in the buffer because of them (ie. depm run)
1726
1727         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1728         debug messages. Make update by default be false. Make sure that
1729         the result of update is retained throught several calls down to
1730         dispatch.
1731
1732         * LyXAction.h: add a new func_attrib: NoUpdate
1733
1734         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1735         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1736         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1737         and LFUN_WORDLEFT
1738         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1739
1740 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1741
1742         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1743         bv_->owner(), bv_->buffer() by direct references to the private
1744         members.
1745         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1746         (getStatus): isSavedPosition() is in BufferView::Pimpl.
1747         (fitCursor): center() is in BufferView::Pimpl.
1748         (getStatus, trackChanges, dispatch): no need for a temporary buf
1749         variable
1750         (fitCursor, workAreaDispatch): use workarea().workheight()
1751
1752 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1753
1754         * CutAndPaste.C (pasteSelectionHelper): fix a crash
1755
1756 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1757
1758         * buffer.C: format up to 241.
1759         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1760         break if pasting into ERT
1761         * lyxfunc.C (getStatus): suppress mathpanel and
1762         LFUN_DIALOG_SHOW_NEW_INSET in ERT
1763
1764 2005-02-01  Angus Leeming  <leeming@lyx.org>
1765
1766         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1767
1768 2005-02-01  Angus Leeming  <leeming@lyx.org>
1769
1770         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1771         calling fs::is_directory().
1772
1773 2005-01-31  Angus Leeming  <leeming@lyx.org>
1774
1775         * lyx_main.C (priv_exec): specify explicitly the relative location
1776         of the top level build directory when run in-place.
1777
1778 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1779
1780         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1781         LyXText containing the cursor, not the top-level one.
1782
1783         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1784         true.
1785         (insertStringAsLines): rename par to pit; use temporary variable
1786         par to hold a Paragraph; do not store par.layout() in a variable,
1787         since the pointer may die when breaking paragraphs; pass pars to
1788         breakParagraph() instead of Buffer::paragraphs().
1789
1790 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1791
1792         * lyxlex_pimpl.h: #include <fstream>.
1793
1794         * BufferView.[Ch] (getLyXText): add a const version.
1795
1796         * BufferView_pimpl.C: add debug aids.
1797
1798         * RowList_fwd.h:
1799         * buffer.h:
1800         * lyxrow.h:
1801         * paragraph_funcs.h: add commentary explaining what the class does.
1802
1803
1804         * coordcache.[Ch]: add lots of commentary.
1805         (startUpdating, doneUpdating): debug aids.
1806         (arrays, insets, parPos, getParPos): accessors to private data.
1807
1808         * cursor_slice.[Ch] (text): add a const version.
1809         * dociterator.[Ch] (text, innerText): add const versions.
1810
1811         * lyxtext.h (breakParagraph): change the keep_layout arg to a
1812         bool.
1813
1814         * paragraph.C (getRow, pos2ros): add asserts.
1815
1816         * paragraph.h: add commentary. Lots of.
1817
1818         * paragraph.[Ch] (metrucs, draw): removed.
1819
1820         * cursor.C:
1821         * rowpainter.[Ch]: const-correct changes.
1822
1823         * text.C: various obvious clean-ups. Removal of ancient cruft.
1824         Bug fixes, even.
1825
1826 2005-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
1827
1828         * vc-backend.C (find_file): rewrite to use boost.filesystem
1829         (scanMaster): ditto
1830
1831         * main.C (main): set default name check for boost.filesystem to
1832         no check
1833
1834         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1835         (open): ditto
1836         (doImport): ditto
1837         (actOnUpdatedPrefs): ditto
1838
1839         * lyx_main.C (init): rewrite to use boost.filesystem
1840         (queryUserLyXDir): ditto
1841
1842         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1843         (getContentsOfAsciiFile): ditto
1844
1845         * lastfiles.C (readFile): rewrite to use boost.filesystem
1846
1847         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1848
1849         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1850         (loadLyXFile): ditto
1851
1852         * buffer.C (Buffer): adjust for destroydir
1853         (getLogName): rewrite to use boost.filesystem
1854         (setFileName): ditto
1855         (save): use fs::copy_file (from fs_extras)
1856
1857         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1858
1859         * LaTeX.C (run): rewrite to use boost.filesystem
1860         (scanAuxFiles): ditto
1861         (handleFoundFile): ditto
1862
1863 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1864
1865         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1866
1867         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1868
1869 2005-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1870
1871         * lyxlayout.[Ch]: change some vars from float to double
1872
1873         * buffer.C (readFile): make a local var const
1874
1875         * Several files: use convert<> instead of atoi,strToXXX and friends
1876
1877 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1878
1879         * LaTeXFeatures.[Ch]: Add a static list packages_ that
1880         holds the contents of packages.lst. New functions getAvailable
1881         and isAvailable to parse and check that list, resp.
1882
1883         * LyXAction.C:
1884         * lfuns.h:
1885         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1886
1887         * bufferparams.[Ch]: new param output_changes.
1888
1889         * Buffer.C: increase file format to 240.
1890         Use output_changes and isVailable.
1891
1892         * changes.[Ch]:
1893         * paragraph.C:
1894         * paragraph_pimpl.C: Use output_changes and isVailable.
1895
1896 2005-01-23  Angus Leeming  <leeming@lyx.org>
1897
1898         * output_latex.C: #include "insetbibitem.h", rather than
1899         forward declare function bibitemWidest.
1900
1901 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
1902
1903         * lyx_main.C (init): make it compile on the Mac.
1904
1905 2005-01-20  Angus Leeming  <leeming@lyx.org>
1906
1907         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1908         (setLyXMisc): (char string literal) != (char string literal) is
1909         performing a comparison on the addresses. Convert one operand
1910         explicitly to string to guarantee expected behaviour.
1911         From MSVC warning.
1912
1913 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1914
1915         * buffer.C:
1916         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1917
1918         * output_plaintext.C: remove unneeded #include gzstream.h.
1919
1920 2005-01-20  Angus Leeming  <leeming@lyx.org>
1921
1922         * SpellBase.h: rename some of the elements of the Result enum.
1923
1924         * aspell_local.h:
1925         * ispell.h:
1926         * pspell.h:
1927         * aspell.C (check):
1928         * ispell.C (check):
1929         * pspell.C (check): ditto
1930
1931 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1932
1933         * buffer.C: add #include <fstream>.
1934
1935         * lyx_main.C (init): Compile fix.
1936
1937         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1938
1939 2005-01-20  Angus Leeming  <leeming@lyx.org>
1940
1941         * mover.h: change commentary to reflect the changed meaning of
1942         the $$s placeholder.
1943
1944 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1945
1946         * output_linuxdoc.C (linuxdocParagraphs): silence warning
1947
1948         * lyxfind.C (MatchString::operator()): remove bogus semicolon
1949
1950 2005-01-20  Angus Leeming  <leeming@lyx.org>
1951
1952         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1953         printing diagnostic data by not dereferecing an iterator past the
1954         end.
1955
1956 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1957
1958         * buffer.C (readHeader): use "&&" rather than "and".
1959
1960         * lyxserver.h (inPipeName, outPipeName): make these const.
1961
1962 2005-01-19  Angus Leeming  <leeming@lyx.org>
1963
1964         * lyx_main.C (error_handler, init): protect SIGHUP with
1965         #ifdef SIGHUP guards.
1966
1967 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1968
1969         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1970
1971 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1972
1973         * text.C (setHeightOfRow): add a margin at the top and bottom of
1974         the document (bug 1761)
1975
1976 2005-01-17  Angus Leeming  <leeming@lyx.org>
1977
1978         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1979         with "python ". Workaround for a brain-dead Windows.
1980
1981 2005-01-16  Angus Leeming  <leeming@lyx.org>
1982
1983         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1984         for MacOSX and Windows to use prependEnvPath.
1985         Strip out the hard-coded block to add elements to the PATH for
1986         MacOSX and replace it with a call to prependEnvPath using the
1987         contents of LyXRC::path_prefix.
1988         (queryUserLyXDir): strip out the code to run reconfigure, instead
1989         returning a boolean indicating the necessity to do so.
1990         (reconfigureUserLyXDir): contains the code to reconfigure the
1991         user support directory. Is now called after the various LyXRC data
1992         files have been read.
1993
1994         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1995
1996 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1997
1998         * converter.[Ch] (convert): take a new parameter try_default. Use
1999         a default converter (imagemagick) if try_default is true.
2000
2001 2005-01-13  Angus Leeming  <leeming@lyx.org>
2002
2003         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
2004         os::cygwin_path_fix.
2005         (write): output LyXRC::cygwin_path_fix as necessary.
2006
2007 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
2008
2009         * lyxrc.h:
2010         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
2011
2012 2005-01-12  Angus Leeming  <leeming@lyx.org>
2013
2014         * lyx_main.C (init): set the PATH variable to include the
2015         directory containing the LyX binary when running on Mac or Windows.
2016
2017 2005-01-12  Angus Leeming  <leeming@lyx.org>
2018
2019         * lyx_main.C (init): remove cruft that purports to set the locale
2020         dir. It doesn't and is not needed anyway.
2021
2022 2005-01-10  Angus Leeming  <leeming@lyx.org>
2023
2024         * Makefile.am: remove the lyx_main.C special casing.
2025
2026         * BufferView_pimpl.C:
2027         * bufferlist.C:
2028         * exporter.C:
2029         * lyx_cb.C:
2030         * lyx_main.C:
2031         * lyxfunc.C:
2032         * messages.C: use support/package.h to provide the paths to the
2033         various directories used by LyX.
2034
2035 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2036
2037         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
2038         layout if pasting into an empty paragraph)
2039
2040 2005-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2041
2042         * tex-accent.C: add <string>
2043
2044 2005-01-06  José Matos  <jamatos@lyx.org>
2045
2046         * ParagraphParameters.C (write): put every parameter in its own line.
2047         * paragraph.C (write): reduce number of consecutive empty lines exported.
2048         * buffer.C (LYX_FORMAT): increase file format to 239.
2049
2050 2005-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2051
2052         * everywhere: change support/tostr.h -> support/convert.h
2053
2054         * tabular.C: make all write_attributes templates, tostr -> convert
2055
2056         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
2057         (emptyTag): and -> &&, and fix type for ret from getChar
2058         (getFirstWord): fix type for ret from getChar
2059         (onlyText): and -> &&
2060         (simpleDocBookOnePar): and not -> && !, fix type for ret from
2061         getChar
2062
2063         * toc.C (goTo, action):
2064         * text3.C (dispatch):
2065         * text.C (currentState):
2066         * tex-accent.C (DoAccent):
2067         * sgml.C:
2068         * lyxrc.C:
2069         * lyxfunc.C (menuNew):
2070         * lyxfinc.C (replace):
2071         * counters.C (laberItem):
2072         * bufferview_funcs.C (font2string):
2073         * bufferparams.C (writeFile):
2074         * buffer.C (readFile):
2075         * Spacing.C (set):
2076         * MenuBackend.C: tostr -> convert
2077
2078         * LaTeX.C (runMessage): fix format
2079         (scanAuxFiles): tostr -> convert
2080
2081         * BufferView_pimpl.C (savePosition): fix format
2082         (restorePosition): ditto
2083         (dispatch): ditto
2084
2085 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2086
2087         * Spacing.[Ch]: New method getValueAsString().
2088
2089         * Spacing.[Ch]:
2090         * bufferparams.C:
2091         * ParagraphParameters.C:
2092         * lyxlayout.C:
2093         * text.C:
2094         * text3.C: store/read spacing value as string.
2095
2096         * rowpainter.C: change float value (spacing_val) to double.
2097
2098         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
2099         broken custom document spacing).
2100
2101 2005-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
2102
2103         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
2104         namespace, also more use of temp references and const
2105
2106         * cursor.[Ch] (getStatus): move to lyxfunc.C
2107
2108         * bufferparams.C: reformat slightly
2109
2110         * bufferview_funcs.C (font2string): constify arg
2111
2112         * changes.C:
2113         * converter.C:
2114         * counters.C:
2115         * bufferlist.C:
2116         * buffer_funcs.C: (many funcs): constify arg on function
2117         definitions, also make more local vars const, also add ASSERTS on
2118         pointer args.
2119
2120         * buffer.C (LYX_FORMAT): put const in correct place
2121         (many funcs): constify arg on function definitions, also make
2122         more local vars const
2123
2124         * aspell_local.h: remove "struct" from typdef setup
2125
2126         * aspell.C (check): make word_ok const
2127         (nextMiss): simplify slightly
2128         (error): ditto
2129
2130 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2131
2132         * lyxrc.[Ch]: store all float values as strings.
2133         use int (not float) for lyxrc.dpi.
2134
2135 2005-01-04  Angus Leeming  <leeming@lyx.org>
2136
2137         * lyx_cb.C (Reconfigure):
2138         * lyx_main.C (queryUserLyXDir):
2139         to run the <system_lyxdir>/configure correctly on Windows, prefix
2140         the path to the script with "sh " when generating the string that
2141         is passed to system().
2142
2143 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2144
2145         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
2146
2147 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2148
2149         * lyxlength.C (asLatexString): get rid of setprecision
2150
2151 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2152
2153         * text2.C (setLayout): remove unused variable endpit.
2154         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
2155
2156         * paragraph.C (onlyText): remove unused variable style.
2157
2158         * cursor.C (bruteFind): remove unused variables beg and end.
2159
2160         * Makefile.am (dist_noinset_DATA): not needed anymore
2161
2162         * cheaders/*: remove.
2163
2164 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2165
2166         * text3.C: fix LFUN_MATH_MODE.
2167
2168 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2169
2170         * buffer_funcs.C (countWords): new function. Counts words between
2171         two iterators.
2172
2173         * BufferView_pimpl.C (getStatus, dispatch): handle
2174         LFUN_WORDS_COUNT.
2175
2176         * LyXAction.C (init):
2177         * lfuns.h: add LFUN_WORDS_COUNT.
2178
2179 2004-12-19  Angus Leeming  <leeming@lyx.org>
2180
2181         * buffer.C (save): s/slashify_path/internal_path/.
2182
2183 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2184
2185         * lyxfind.C (findChange): do not search for end of pars, because
2186         the change tracker cannot handle this (fixes bug 1719).
2187
2188 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2189
2190         * paragraph.[Ch] (autoBreakRows): remove
2191
2192         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
2193
2194         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
2195         avoid using the paragraph one
2196
2197         * text2.C (LyXText, insertStringAsLines): adjust
2198
2199 2004-12-16  Angus Leeming  <leeming@lyx.org>
2200
2201         * bufferlist.C:
2202         * lyx_main.C:
2203         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
2204
2205 2004-12-14  Angus Leeming  <leeming@lyx.org>
2206
2207         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
2208
2209         * bufferlist.C (emergencyWrite):
2210         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
2211         GetEnvPath("HOME").
2212
2213 2004-12-14  Angus Leeming  <leeming@lyx.org>
2214
2215         * main.C: (main): no longer pass pointers to os::init.
2216
2217 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
2218
2219         * undo.C (textUndoOrRedo): simplify logic, fix a crash
2220         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
2221
2222 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
2223
2224         * lyxfunc.C:
2225         * text3.C: remove selection_possible global flag
2226
2227 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
2228
2229         * text2.C (getSelectionSpan): remove
2230         (changeDepth, changeDepthAllowed): adjust
2231
2232 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
2233
2234         * Makefile.am (BOOST_LIBS): use boost variables
2235
2236 2004-12-03  José Matos  <jamatos@lyx.org>
2237
2238         * buffer.C: format up to 238.
2239
2240 2004-12-03  José Matos  <jamatos@lyx.org>
2241
2242         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
2243
2244 2004-12-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2245
2246         * cursor.C (goUpDown): remove call to idxUpDown2
2247
2248 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2249
2250         * tabular.[Ch]: use size_t-like types for cell, row and column
2251         indices
2252
2253 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2254
2255         * lyxfunc.C (getStatus): do not lose previous information when
2256         calling BufferView::getStatus; do not set a default "Command
2257         disabled" message at the beginning, but just before returning.
2258
2259 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2260
2261         * cursor.h (getStatus): add better comment from src/cursor.C
2262
2263 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2264
2265         * text3.C (getStatus): return false when the lfun is not handled
2266
2267 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2268
2269         * broken_headers.h: remove
2270
2271         * Makefile.am (lyx_SOURCES): remove broken_headers.h
2272
2273 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2274
2275         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
2276         offset_ref accessors
2277
2278         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
2279         top_y_, merge fitcursor with update
2280         (updateScrollbar, scrollDocView, fitCursor, center, update): new
2281         coord scheme
2282         (metrics): introduce
2283         (workAreaDispatch): adapt to new coord scheme
2284         (redoCurrentBuffer): remove
2285
2286         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
2287
2288         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
2289         CurStatus enum.
2290
2291         * coordcache.[Ch]: add paragraph cache and helpers
2292
2293         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
2294         adjust everywhere
2295
2296         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
2297         (targetX, setTargetX): introduce
2298
2299         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
2300         baseline -> ascent, as the rest of lyx
2301
2302         * lyxtext.h: remove redoParagraphs, updateParPositions,
2303         fullRebreak, redoParagraphInternal. move dist to anon namespace in
2304         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
2305         have ascent/descent (ascent is ascent of first par)
2306
2307         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
2308         step of BufferView
2309
2310         * paragraph.[Ch]: unify dimension handling with the rest of lyx
2311
2312         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
2313
2314         * pariterator.C: fix infinite loop introduced in par->pit renaming
2315
2316         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
2317         in insets and LyXText, draw two off-screen paragraphs using
2318         NullPainter, and adapt to new coord scheme
2319
2320         * text.C:
2321         * text2.C:
2322         * text3.C: adapt lfun handlers to the new coord scheme, which
2323         means: there's only guaranteed coord information for onscreen pars
2324         plus one above and one below. This implies that one can do search
2325         from y coordinates in the range [-1,workHeight]
2326
2327 2004-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2328
2329         * rename a lot of InsetOld to InsetBase
2330
2331 2004-11-25  Angus Leeming  <leeming@lyx.org>
2332
2333         * BufferView_pimpl.C:
2334         * lyx_cb.C:
2335         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
2336
2337 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2338
2339         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
2340         call BufferView::getStatus if LCursor::getStatus did nothing
2341         (setStatusMessage, getStatusMessage): removed.
2342
2343         * FuncStatus.C (message): new methods. Used to provide an error
2344         message indicating why a command is disabled.
2345         (clear, |=, FuncStatus): update for message.
2346
2347 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2348
2349         * lyxfunc.C (dispatch): always call sendDispatchMessage
2350
2351 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2352
2353         * BufferView.C:
2354         * BufferView_pimpl.C:
2355         * CutAndPaste.C:
2356         * FontIterator.C:
2357         * buffer.C:
2358         * cursor.C:
2359         * cursor_slice.[Ch]:
2360         * dociterator.[Ch]:
2361         * lyxfind.C:
2362         * paragraph_funcs.C:
2363         * pariterator.C:
2364         * rowpainter.C:
2365         * text.C:
2366         * text2.C:
2367         * text3.C:
2368         * undo.C: par->pit renaming
2369
2370 2004-11-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2371
2372         * tabular.C (cellstruct): use initialization, store a shared_ptr
2373         to insettext instead of the insettext directly, adjust to fit.
2374         (operator=):  new function
2375         (swap): new function
2376         (rowstruct): use initialization
2377         (columnstruct): use initialization
2378         (ltType): use initialization
2379
2380
2381         * lyxlength.h (swap): new function
2382
2383         * LColor.[Ch] (operator=): use the common semantics
2384
2385 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2386
2387         * lyxfind.C (findNextChange): update the bufferview after setting
2388         the selection.
2389
2390 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2391
2392         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
2393         number of InsetOptArgs has already been inserted.
2394
2395         * output_latex.C (latexOptArgInsets): new method. This outputs all
2396         the optarg insets, up to the limit defined in the layout file.
2397         (optArgInset): removed
2398         (TeXOnePar): call latexOptArgInsets; correctly update texrow
2399
2400 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2401
2402         * paragraph.C (isLetter): remove special spellchecker-related
2403         code; return true also for digits
2404         (isWord, isKomma): remove
2405
2406         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
2407         * lyxfind.C (MatchString()): use isLetter instead of isWord
2408
2409 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2410
2411         * pariterator.h (operatir=): comment out un-implemented member
2412         function.
2413
2414         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
2415         static cast.
2416
2417 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2418
2419         * lyxfont.h: include LColor.h to satisfy concept checks.
2420
2421 2004-11-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2422
2423         * pariterator.h: add typdefs for value_type, difference_type,
2424         pointer and reference to satisfy concept checks. Also add default
2425         constructor for same reason.
2426
2427         * pariterator.C (operator++): add post-increment operator to
2428         satisfy concept checks.
2429
2430         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
2431         checks.
2432
2433         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
2434
2435         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
2436         checks. Also rename base_type to BaseType to follow naming
2437         standard better.
2438
2439         * FloatList.h: include Floating.h to satisfy concept checks.
2440
2441 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2442
2443         * lyxfunc.C (getStatus): when the origin of the request is menu or
2444         toolbar, and the LyXView does not have focus, do as if there was
2445         no buffer (bug 1720)
2446
2447         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2448         FuncRequest to individual entries of LFUN_SEQUENCE
2449
2450 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2451
2452         * output_latex.C (TeXOnePar): override runparams.moving_arg
2453         according to the needprotect value of the current paragraph (bug
2454         1739)
2455
2456         * paragraph.C (simpleTeXOnePar): no need to override
2457         runparams.moving_args here
2458
2459 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
2460
2461         * vspace.C: fix off-by-one-error, related to fix #1682
2462
2463 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2464
2465         * lengthcommon.C: a more general fix for bug 1682
2466
2467 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2468
2469         * text.C (backspace): fix crash
2470
2471 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2472
2473         * format.[Ch] (getFormatFromFile): new method
2474         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2475
2476 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2477
2478         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2479
2480 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2481
2482         * lyxfunc.C (dispatch): remove the verbose argument
2483         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2484         instead
2485
2486         * kbmap.C (defkey): set the origin of func to KEYBOARD
2487
2488         * MenuBackend.C (MenuItem):
2489         * ToolbarBackend.C (add): set the origin of func to UI
2490
2491         * funcrequest.[Ch]: add origin member, which indicates which part
2492         of LyX requests an action
2493
2494 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2495
2496         * converter.C (move): don't lie in the error message
2497         * converter.h (isReachable, move): document
2498
2499 2004-11-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2500
2501         * buffer.C: remove unused using lyx::support::atoi
2502         * paragraph_funcs.C: ditto
2503
2504 2004-11-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2505
2506         * bufferlist.C (exists): use bind and equal_to instead of
2507         compare_memfun
2508         (getBuffer): ditto
2509         * lyxtextclasslist.C (NumberOfClass): ditto
2510
2511         * cursor.C (insert): use for_each instead of explicit for loop
2512
2513         * bufferlist.C (getFileNames): use std::transform and
2514         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2515
2516         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2517         for loop
2518
2519         * buffer.C (changeLanguage): use for_each instead of explicit for
2520         loop
2521         (hasParWithID): implement using getParFromID
2522
2523         * LaTeXFeatures.C: ws change only
2524
2525         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2526         to cleanup a bit.
2527
2528         * BufferView_pimpl.C (trackChanges): use for_each instead of
2529         expilicit for loop
2530
2531 2004-11-04  André Pönitz  <poenitz@gmx.net>
2532
2533         * undo.h:
2534         * undo.C (textUndoOrRedo): fix crash when creating undo information.
2535
2536         * dociterator.C (asDocIterator): use hard assert again.
2537
2538 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2539
2540         * lyxlength.C (asLatexString): rewrite so that it does not use
2541         snprintf anymore
2542
2543 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2544
2545         * text3.C (specialChar, dispatch): make sure cursor moves to the
2546         right after inserting an inset
2547
2548 2004-11-02  José Matos  <jamatos@lyx.org>
2549
2550         * output_docbook.C (docbook):
2551         * paragraph.C (getID):
2552         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2553         garantee that the output is always legal.
2554
2555         * tabular.C (docbook):
2556         * outputprams.[Ch]: remove mixed contents.
2557
2558 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2559
2560         * text2.C (setCounter): prevent endless loop
2561
2562 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2563
2564         * exporter.C (copyFile): use the mover instead of support::copy()
2565         * exporter.C (Export): pass format and latex name to copyFile()
2566         * exporter.h (addExternalFile): document
2567         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2568
2569 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2570
2571         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2572
2573 2004-10-30  José Matos  <jamatos@lyx.org>
2574
2575         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2576         text and no inset or font change. This allows to use CDATA
2577         sections just for the whole paragraph.
2578
2579 2004-10-30  José Matos  <jamatos@lyx.org>
2580
2581         * paragraph.C (getFirstWord): remove unused variable.
2582
2583 2004-10-30  José Matos  <jamatos@lyx.org>
2584
2585         * paragraph.C (getFirstWord): the content should always be escaped
2586         there.
2587         (simpleDocBookOnePar):
2588         * output_docbook.C (makeEnvironment): replace reference to CDATA
2589         to style pass_thru.
2590
2591 2004-10-30  José Matos  <jamatos@lyx.org>
2592
2593         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2594
2595 2004-10-30  José Matos  <jamatos@lyx.org>
2596
2597         * output_docbook.C (makeParagraphs):
2598         * paragraph.[Ch] (emptyTag): for docbook and company, if the
2599         standard paragraph has only a given type of content drop the wrapper.
2600
2601 2004-10-29  José Matos  <jamatos@lyx.org>
2602
2603         * output_docbook.C (makeEnvironment):
2604         * sgml.C (openTag):
2605         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2606
2607 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
2608
2609         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2610         (cleanID): sanitize any id.
2611
2612 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2613
2614         * buffer.C, lyxlex_pimpl.C:
2615         * lyxlex_pimpl.C (setFile):
2616         s/getExtFromContents/getFormatFromContents/
2617
2618 2004-10-28  José Matos  <jamatos@lyx.org>
2619
2620         * output_docbook.C (makeEnvironment): move id to broadest possible
2621         scope.
2622
2623         * sgml.C (openTag): apply substitution of <> for all attributes.
2624
2625 2004-10-28  José Matos  <jamatos@lyx.org>
2626
2627         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2628         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2629         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2630
2631         * sgml.[Ch]: new version for open and closeTag for paragraph and
2632         for strings. Now they handle the ids of paragraphs.
2633
2634 2004-10-26  Angus Leeming  <leeming@lyx.org>
2635
2636         * Makefile.am: add mover.[Ch].
2637
2638         * converter.C (convert, move): use the new Movers to move external
2639         files to the temp directory.
2640
2641         * lyx_main.C (init): ensure that the global system_movers data
2642         is initialised.
2643
2644         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2645         preferences file.
2646
2647         * mover.[Ch]: new files, defining a Mover as a utility to move an
2648         external file between directories and, if necessary, manipulate this
2649         file using a helper script.
2650
2651 2004-10-25  José Matos  <jamatos@lyx.org>
2652
2653         * output_docbook.C (makeCommand): merge two if's that tested the
2654         same condition.
2655
2656 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2657
2658         * sgml.C (escapeString): fix warning in a better way
2659
2660 2004-10-25  José Matos  <jamatos@lyx.org>
2661
2662         * sgml.C (escapeString): import the require boosts header file for
2663         tie, and avoid a signed unsigned comparison.
2664
2665 2004-10-25  José Matos  <jamatos@lyx.org>
2666
2667         * sgml.h: add #include <string>
2668
2669 2004-10-25  José Matos  <jamatos@lyx.org>
2670
2671         * sgml.[Ch] (escapeString): new function to escape all the string.
2672
2673 2004-10-24  José Matos  <jamatos@lyx.org>
2674
2675         * paragraph.[Ch] (getFirstWord): new function to get the first
2676         word. Useful for description.
2677         (simpleDocBookOnePar): remove depth argument, add another that
2678         says where to start the paragraph.
2679
2680         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2681         use the new functions to fix cleanly the support for descriptions.
2682
2683 2004-10-24  José Matos  <jamatos@lyx.org>
2684
2685         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2686         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2687         * output_linuxdoc.C (linuxdocParagraphs):
2688         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2689         add buffer as argument.
2690
2691 2004-10-24  José Matos  <jamatos@lyx.org>
2692
2693         * output_docbook.C (makeEnvironment, searchEnvironment): place
2694         CDATA inside paragraphs and fix scope for listitems.
2695
2696 2004-10-24  José Matos  <jamatos@lyx.org>
2697
2698         * output_docbook.C: remove using statement for stack.
2699
2700 2004-10-23  José Matos  <jamatos@lyx.org>
2701
2702         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2703         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2704         docbook. The new scheme is recursive and makes use of iterators, the
2705         same as latex export works.
2706         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2707         directly with the paragraph contents. This code was moved up to
2708         output_docbook.C (docbookParagraphs).
2709         * sgml.C (openTag, closeTag): removed unneeded newlines.
2710         (closeEnvTags) removed.
2711
2712 2004-10-23  André Pönitz  <poenitz@gmx.net>
2713
2714         * undo.C (textUndoOrRedo):
2715         * dociterator.C (asDocIterator): work around crash
2716
2717         * cursor.C (getStatus): replace ASSERT by more verbose error message
2718           and manual correction of the problem. Should increase stability
2719           while providing more sensible information.
2720
2721 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2722
2723         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2724
2725         * bufferlist.C (previous, next): new methods
2726
2727         * lfuns.h:
2728         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2729
2730 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
2731
2732         * buffer.C (makeDocBookFile): add dsssl stylesheet control
2733         entities to preamble.
2734
2735 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2736
2737         * messages.C (Pimpl): strip off translation context information
2738
2739 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2740
2741         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2742         the cursor is correct (bug 1694)
2743
2744 2004-10-13  José Matos  <jamatos@lyx.org>
2745
2746         * output_docbook.C (docbookParagraphs): fix closing tags in the
2747         end of the document.
2748
2749 2004-10-09  José Matos  <jamatos@lyx.org>
2750
2751         * buffer.C: format up to 237.
2752         * bufferparams.C (write): use tostr to convert booleans to strings.
2753
2754 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
2755
2756         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2757
2758 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
2759
2760         * LaTeX.C: implement use of babel language in xindy.
2761
2762 2004-10-05  José Matos  <jamatos@lyx.org>
2763
2764         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2765         Add new translators to help reading and writing the lyx file.
2766
2767 2004-10-05  José Matos  <jamatos@lyx.org>
2768
2769         * ParagraphParameters.C (read):
2770         * text.C (readParToken): replace nexToken by more appropriate lex
2771         methods.
2772
2773 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
2774
2775         * LaTeX.C (runMakeIndex):
2776         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2777         (usually 'makeindex') configurable.
2778
2779         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2780         with a variable rather than with a number.
2781
2782 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2783
2784         * output_latex.C (TeXOnePar): make sure font setting is the first
2785         thing that gets output (and the last at the end). Should fix bug
2786         1404.
2787
2788 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2789
2790         * pch.h: use proper signal include
2791
2792         * LaTeX.h: Use preferred calling of Boost.Signal
2793         * buffer.h: ditto
2794
2795 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2796
2797         * pch.h: dont include <boost/function/function0.hpp>
2798
2799         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2800
2801         * paragraph_pimpl.h: remove usage of ShareContainer
2802
2803         * paragraph_pimpl.C: remove initialization of ShareContainer.
2804
2805 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2806
2807         Fix bug #1666
2808
2809         * BufferView.C (putSelectionAt): change the semantics when
2810         backwards == true: now, this just swaps cursor and anchor wrt the
2811         forward case
2812
2813         * BufferView.h (putSelectionAt): add some documentation
2814
2815         * lyxfind.C (findBackwards): rewrite using while(). In particular,
2816         make sure backwardChar is done at least once (to avoid getting
2817         stuck)
2818         (findNextChange): use putSelectionAt in the forward direction
2819         (operator()): use Paragraph::isWord
2820
2821 2004-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2822
2823         * Spacing.C (set): c_str fix
2824
2825 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2826
2827         * lyx_cb.C (Reconfigure): quote the name of configure script in
2828         case it contains spaces
2829
2830 2004-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2831
2832         * client: new dir
2833
2834         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2835         (BOOST_LIBS): use top_buildir when looking for the file
2836
2837 2004-08-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2838
2839         * pch.h: do not use include boost/format.hpp, multiple symbols
2840                 will result (gcc bug)
2841
2842
2843 2004-08-23  José Matos  <jamatos@lyx.org>
2844
2845         * bufferparams.C (readToken): fix reading of the author field.
2846
2847 2004-08-20  José Matos  <jamatos@lyx.org>
2848
2849         * lyxrc.C: remove support/translator.h inclusion since it is not used.
2850
2851 2004-08-20  José Matos  <jamatos@lyx.org>
2852
2853         * lyxlex.[Ch] (findToken): remove function.
2854
2855         * ParagraphParameters.C (findToken):
2856         * bufferparams.C (findToken): replace call for previous function
2857         with local copy. This local function has one more argument, the
2858         read string argument.
2859
2860 2004-08-16  José Matos  <jamatos@lyx.org>
2861
2862         * ParagraphParameters.C (write):
2863         * Spacing.C (writeFile):
2864         * bufferparams.C (writeLaTeX):
2865         * lyx_cb.C (Reconfigure):
2866         * paragraph.C (write):
2867         * tabular.C (write): remove unnecessary space at end of line.
2868
2869
2870 2004-08-16  José Matos  <jamatos@lyx.org>
2871
2872         * text.C (readParagraph): remove debug message.
2873
2874 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2875
2876         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2877         crash
2878
2879         * output_plaintext.C (asciiParagraph): set depth correctly
2880
2881         * outputparams.h: add member depth
2882
2883         * paragraph_funcs.C (ownerPar): remove.
2884
2885         * text2.C (setCounter): remove first_pit; comment out some
2886         non-working code that uses ownerPar
2887
2888         * BufferView.C (getParentLanguage): remove. Not used anymore, and
2889         uses ownerPar
2890
2891 2004-08-16  José Matos  <jamatos@lyx.org>
2892
2893         * text.C (readParToken, readParagraph, read): report all unknown tokens.
2894         For the same level of importance use the same chanel to report problems.
2895         (read): add code to deal with \begin_body and \end_body.
2896
2897
2898 2004-08-15  José Matos  <jamatos@lyx.org>
2899
2900         * lyxlex.C (getString): fix comment, buffer::readBody is now
2901         buffer:readDocument.
2902
2903         * tex-strings.C (string_papersize): Default -> default,
2904         Custom -> custom, for consistency with other options.
2905
2906 2004-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2907
2908         * pch.h: new file
2909
2910         * Makefile.am: support pch
2911
2912 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2913
2914         * text.C (readParToken): remove the static LyXFont variable and
2915         pass it as a parameter instead. This fixes a nasty bug where an
2916         inset will be inserted with a bad font in some situations
2917         (readParagraph): adapt
2918
2919         * text2.C (setCounter): reduce number of calls to pars_[pit]
2920
2921         * text.C (singleWidth): add an assert, fix a test
2922
2923         * rowpainter.C (paintText): reduce number of calls to singleWidth
2924
2925         * paragraph.C (isHfill):
2926         (isNewline): ws only
2927
2928 2004-08-14  André Pönitz  <poenitz@gmx.net>
2929
2930         * text.C:
2931         * text2.C:
2932         * rowpainter.C:
2933         * lyxtext.h (several functions): use a Paragraph & argument
2934         instead of par_type
2935
2936 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2937
2938         * metricsinfo.h: add a new field ltr_pos to PainterInfo
2939
2940         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2941
2942         * text.C (singleWidth): remove useless test
2943
2944 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2945
2946         * tabular.h: remove bogus comments
2947
2948         * tabular.C (getDescentOfRow):
2949         (isPartOfMultiColumn): add assertions
2950
2951         * lyxlength.C (inPixels): remove #warning
2952
2953 2004-08-14  André Pönitz  <poenitz@gmx.net>
2954
2955         * paragraph.h: inline getChar()
2956
2957         * BufferView.h: remove unused declarations
2958
2959 2004-08-14  José Matos  <jamatos@lyx.org>
2960
2961         * Buffer.[Ch] (readDocument): new name for old readBody.
2962         * Buffer.C: new file format, new keywords: \begin_document,
2963         \begin_header, \begin_body, \end_body.
2964
2965         * bufferparams.C (readToken): replace all calls to lex.nextToken
2966         by lex.next(). Do the same to eatLine except where really needed.
2967
2968         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2969         line when writing to the lyx file.
2970
2971         * output_plaintext.C (asciiParagraph): fix Bibliography style
2972         handling.
2973
2974         * text.C (read): fix end of file handling.
2975
2976 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2977
2978         * MenuBackend.C (Menu::operator[]): new method to access
2979         individual menu items
2980         (Menu::hasFunc): new method. search for an item that corresponds
2981         to a given func
2982         (MenuBackend::specialMenu): new method
2983         (MenuBackend::expand): if a special menu has been set, skip
2984         entries whose func() appears in this menu
2985
2986 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2987
2988         * text3.C: use Debug::DEBUG a bit more
2989
2990         * text.C (leftMargin): try to simplify a tiny bit change var x to
2991         l_margin. Dont output the wide margins always.
2992         (rightMargin): no margin in inner texts
2993
2994         * rowpainter.h (nestMargin): new func
2995         (changebarMargin): new func
2996         (rightMargin): new func
2997
2998         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2999         now functions.
3000         (paintLast): ditto
3001
3002         * factory.C (createInset): modify setDrawFrame
3003
3004         * cursor.C: use Debug::DEBUG a bit more
3005
3006 2004-08-14  André Pönitz  <poenitz@gmx.net>
3007
3008         * coordcache.[Ch]:
3009         * Makefile.am: new files to accomodate an 'external' (x,y)-position
3010         cache for all insets in (at least partially) visible (top-level)
3011         paragraphs.
3012
3013         * BufferView_pimpl.C: reset external coord cache before every update.
3014         This means the coord cache only contains valid entries.
3015
3016 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
3017
3018         bug 1096
3019         * BufferView_pimpl.C (getInsetByCode): move function out of class
3020         and change in to a template in anon namespace. Also fix to do what
3021         suits us better.
3022
3023 2004-08-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
3024
3025         bug 1305
3026         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
3027         of char
3028         (breakParagraph): rename par to par_offset and use a local
3029         reference. Add code to keep the language over a rebreak.
3030         (breakParagraphConservative): rename par to par_offset, use a
3031         local reference
3032         (mergeParagraph): ditto
3033         (outerHook): ditto
3034         (isFirstInSequence): ditto
3035         (outerFont): rename pit to par_offset
3036
3037         * paragraph.C: ws change
3038         * paragraph.h: ditto
3039         * text3.C: ditto
3040         * text.C: ditto
3041
3042 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3043
3044         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
3045         treatment for ']'
3046
3047         * paragraph.C (simpleTeXOnePar): when we have a \item with
3048         optional argument, enclose the argument with curly brackets (in
3049         case it contains a closing square bracket)
3050
3051         * text2.C (editXY):
3052         * text2.C (editXY):
3053         * text3.C (checkInsetHit): constify
3054
3055 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3056
3057         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
3058         documents (bug 1629)
3059
3060 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3061
3062         Fix toggling of collapsable insets with the mouse (bug 1558)
3063
3064         * lyxfunc.C (dispatch): adapt to LCursor changes
3065
3066         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
3067         make sure that dispatch is not invoked twice
3068
3069         * cursor.C (needsUpdate): new method
3070         (dispatch): return void
3071         (result): new method, to access the DispatchResult of the cursor.
3072
3073 2004-08-13  José Matos  <jamatos@lyx.org>
3074
3075         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
3076
3077 2004-08-13  André Pönitz  <poenitz@gmx.net>
3078
3079         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
3080
3081         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
3082           multiple cells
3083
3084 2004-08-12  André Pönitz  <poenitz@gmx.net>
3085
3086         * text3.C: take out the 'cursor right' form insertInset and only
3087         do it in those places when it is really needed. Fixes crash on
3088         C-m...
3089
3090 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3091
3092         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
3093
3094         * BufferView_pimpl.C (setBuffer): initialize the current font of
3095         the underlying LyXText
3096
3097 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3098
3099         * kbsequence.C (print): use UI native formatting for menu
3100         shortcuts
3101
3102         * text.C (insertChar): call Paragraph::insertChar with a font
3103         argument (cosmetic)
3104
3105         * paragraph.C (insertInset, insertChar): the version that takes a
3106         LyXFont argument is now a wrapper around the other one (the
3107         opposite used to be true).
3108
3109         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
3110         argument. Font setting is done in Paragraph now.
3111
3112 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3113
3114         * outputparams.h: add new members intitle and lang.
3115
3116         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
3117         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
3118
3119 2004-08-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3120
3121         * text3.C (dispatch): remove special handling of button 4 and 5,
3122         it is now taken care of in the frontend code.
3123
3124 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3125
3126         * Spacing.h: add <string> (STLPort compile fix)
3127
3128 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3129
3130         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
3131
3132 2004-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3133
3134         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
3135         to bool.
3136
3137         * converter.C (showMessage): inherit from unary_function, make
3138         operator() const.
3139
3140         * buffer.C (writeFile): initialize retval
3141
3142         * InsetList.h: rename private variable list to list_
3143         * InsetList.[Ch]: adjust accordingly.
3144
3145 2004-07-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3146
3147         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
3148         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
3149         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
3150         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
3151         * ParagraphParameters.C, LaTeXFeatures.C: replace
3152         "support/std_sstream.h" with <sstream>
3153
3154 2004-07-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3155
3156         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
3157         * lyxsocket.C (LyXServerSocket): ditto
3158         (serverCallback): ditto
3159
3160 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3161
3162         * LaTeXFeatures.C: check release date when loading jurabib.
3163
3164 2004-07-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3165
3166         * lyxserver.C (startPipe): call register_socket_callback
3167         (endPipe): call unregister_socket_callback
3168
3169 2004-07-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3170
3171         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
3172         (LyXServerSocket): register the callback
3173         (LyXServerSocket): unregister the callback
3174         (fd): delete function
3175         (serverCallback): improve error checking and setup the callbacks.
3176         (dataCallback): change arg to fd.
3177         (writeln): new func (copied fro the client socket) used for server
3178         write to client.
3179         (LyXDataSocket): simplify
3180         (~LyXDataSocket): close ann unregiser callback
3181         (server): delete function
3182         (fd): delete function
3183         (readln): small changes, improve some std::string usage
3184         (writeln): constify a bit
3185
3186 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3187
3188         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
3189         Qt frontend
3190
3191 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3192
3193         * BufferView_pimpl.C (setBuffer): set the layout combox value only
3194         after it has been populated
3195
3196 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3197
3198         * text2.C (insertInset): move cursor when inserting inset.
3199
3200 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3201
3202         * kbmap.C (findbindings): a couple of new methods. returns a
3203         container of kb_sequence objects. The real work is done by the
3204         private recursive version
3205         (printbindings): uses findbindings to print out a bracketed list
3206         of bindings (renamed from findbinding).
3207
3208         * MenuBackend.C (binding): use kb_keymap::findbindings
3209
3210         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
3211
3212 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3213
3214         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
3215
3216 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3217
3218         * paragraph.C (isWord): return true on insets that report
3219         isLetter().
3220
3221         * text.C (getWord): use Paragraph::isWord to decide what is in a
3222         word and what is not; fix bug 1609.
3223
3224 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3225
3226         * tex-strings.C: add "none" to string_paperpackages[], fixes
3227         off-by-one-error in the paperpackage selection.
3228
3229         * lyxlex.[Ch]:
3230         * tex-strings.[Ch]: char const * string[n]
3231         -> char const * const string[]
3232
3233 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3234
3235         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
3236         command, return early.
3237
3238 2004-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3239
3240         * debug.h: add DEBUG to enum and fix size of ANY.
3241
3242         * debug.C: add support for Debug::DEBUG
3243         (showTags): cast errorTags.level to unsigned int
3244
3245         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
3246         (redoCurrentBuffer): ditto
3247         (updateScrollbar): ditto
3248         * cursor.C (dispatch): ditto
3249         * text2.C (setLayout): ditto
3250         (setFont): ditto
3251         (updateCounters): ditto
3252         (editXY): ditto
3253         (deleteEmptyParagraphMechanism): ditto
3254
3255 2004-06-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3256
3257         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
3258         annotations to cleanup the Makefile slightly.
3259
3260 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3261
3262         * lyxrc.C: do not set user_email to a default value but use empty
3263         instead. The entry used to be translated, which does not work
3264         since at the point where lyxrc is constructed there is no
3265         translation service available
3266
3267         * messages.C (getLocaleDir): remove and use directly
3268         lyx_localedir() instead
3269
3270 2004-06-02  Angus Leeming  <leeming@lyx.org>
3271
3272         Fix crash caused by dereferencing null pointer 'exportdata' in
3273         OutputParams by creating a new ExportData variable on the heap,
3274         storing it in a boost::shared_ptr.
3275         The crash was triggered when generating an Instant Preview
3276         of an external inset.
3277
3278         * Makefile.am: add outputparams.C
3279
3280         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
3281         (c-tor): allocate memory to it.
3282
3283         * exporter.C (c-tor): associated changes.
3284
3285 2004-06-01  Angus Leeming  <leeming@lyx.org>
3286
3287         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
3288         contains data before calling isInset(0). (Bug 1513.)
3289
3290 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3291
3292         * exporter.C (checkOverwrite): new method
3293         * exporter.C (copyFile): new method
3294         * exporter.C (Export): copy referenced files to the document dir
3295         * exporter.[Ch]: new class ExportedFile
3296         * exporter.[Ch]: new class ExportData. Contains currently the
3297         names of referenced external files
3298         * outputparams.h: add exportdata member.
3299
3300 2004-05-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3301
3302         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
3303         version.C-tmp
3304
3305 2004-05-19  Angus Leeming  <leeming@lyx.org>
3306
3307         * LaTeXFeatures.C:
3308         * ToolbarBackend.C:
3309         * bufferparams.C:
3310         * lyxfunc.C: small changes due to the introduction of namespace
3311         lyx::frontend and the moving of namespace biblio to lyx::biblio.
3312
3313 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
3314
3315         * text3.C (dispatch): supress update when only moving the cursor
3316         * cursor.C (selHandle): remove commented code
3317
3318 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3319
3320         * paragraph.C (startTeXParParams): correct column count
3321         * CutAndPaste.C (pasteSelection): remove const_cast
3322         * output_docbook.C (docbookParagraphs): remove const_cast
3323         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
3324         const_cast and return ParagraphList::const_iterator
3325         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
3326         * output_plaintext.C (writeFileAscii): remove const_cast
3327         * paragraph.[Ch] (simpleTeXOnePar): make const
3328         * paragraph_funcs.C (outerPar): use const iterators
3329         * paragraph_pimpl.C (validate): use const iterators
3330         * text.C (setHeightOfRow): use const iterators
3331
3332 2004-05-17  Angus Leeming  <leeming@lyx.org>
3333
3334         * lfuns.h:
3335         * LyXAction.C (init): new LFUN_INSET_REFRESH.
3336
3337         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
3338         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
3339         if the citation engine has changed.
3340
3341 2004-05-14  José Matos  <jamatos@lyx.org>
3342
3343         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
3344         if the textclass does not provide it. Have it different for sgml and
3345         xml.
3346         support the language of document.
3347         * output_docbook.C (docbookParagraphs):
3348         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
3349         first anchor as the id of the paragraph, remove special case code.
3350         * sgml.C (escapeChar): escape only < & >.
3351
3352 2004-05-14  Angus Leeming  <leeming@lyx.org>
3353
3354         * bufferparams.h: move biblio::CiteEngine enum here to minimize
3355         dependencies on src/frontends/controllers/biblio.h. Define a
3356         CiteEngine_enum wrapper class to enable the enum to be forward
3357         declared.
3358
3359 2004-05-12  Angus Leeming  <leeming@lyx.org>
3360
3361         * buffer.C: up LYX_FORMAT to 234.
3362         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
3363         use_numerical_citations with a single biblio::CiteEngine cite_engine
3364         variable.
3365         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
3366
3367 2004-05-13  José Matos  <jamatos@lyx.org>
3368
3369         * converter.h:
3370         * converter.C (Converter, readFlags): add xml member.
3371         * outputparams.h: add XML flavor.
3372         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
3373
3374 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3375
3376         * lyxfunc.C (dispatch):
3377         (getStatus): fix handling of LFUN_SEQUENCE
3378
3379 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3380
3381         * debug.C (showLevel): do not forget the end-of-line marker
3382
3383 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3384
3385         * kbmap.C (read): do not stop parsing a bind file when an error
3386         occurs (bug 1575)
3387
3388 2004-04-29  Angus Leeming  <leeming@lyx.org>
3389
3390         * cursor.C:
3391         * factory.C:
3392         * pariterator.C:
3393         * text2.C: wrap a bunch of #warning statements
3394         inside #ifdef WITH_WARNINGS blocks.
3395
3396 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3397
3398         * buffer.C: increment format to 233.
3399
3400 2004-04-28  Angus Leeming  <leeming@lyx.org>
3401
3402         * BufferView_pimpl.C:
3403         * lyxfunc.C:
3404         * text3.C:
3405         s/updateToolbar()/updateToolbars()/
3406         s/Toolbar.h/Toolbars.h/
3407
3408 2004-04-28  Angus Leeming  <leeming@lyx.org>
3409
3410         * BufferView.[Ch] (c-tor):
3411         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
3412         No longer passes these data to the WorkArea generator.
3413
3414 2004-04-28  Angus Leeming  <leeming@lyx.org>
3415
3416         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
3417
3418 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3419
3420         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
3421
3422 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3423
3424         * output_latex.C (TeXEnvironment): make sure that there is a line
3425         break before \end{foo} for the last paragraph of a document
3426         (TeXOnePar): if the paragraph is at the end of the document (or
3427         inset) and the language has to be reset, then make sure that the
3428         line break is _before_ the language command, not after (fixes bug
3429         1225); also make sure that the language reset command is the first
3430         thing after the paragraph (to ensure proper nesting of
3431         environments and thus fix bug 1404)
3432
3433 2004-04-21  John Levon  <levon@movementarian.org>
3434
3435         * ToolbarBackend.h:
3436         * ToolbarBackend.C: make "name" be a programmatic name
3437         and a gui_name field.
3438
3439         * lyxfunc.C: display the minibuffer on M-x
3440
3441 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3442
3443         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3444         (bug 1526)
3445
3446 2004-04-19  Angus Leeming  <leeming@lyx.org>
3447
3448         * BufferView_pimpl.C (setBuffer): changed preview interface.
3449
3450         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3451         possible values.
3452
3453 2004-04-19  John Levon  <levon@movementarian.org>
3454
3455         * BufferView_pimpl.C:
3456         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3457
3458 2004-04-05  Angus Leeming  <leeming@lyx.org>
3459
3460         * text.C (redoParagraphs): add call to updateCounters(), thereby
3461         fixing the missing "Figure #:" label from the caption of a
3462         figure float.
3463
3464 2004-04-13  Angus Leeming  <leeming@lyx.org>
3465
3466         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3467         cursor is clicked out of an inset.
3468
3469 2004-04-13  Angus Leeming  <leeming@lyx.org>
3470
3471         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3472         than an InsetOld one.
3473
3474 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3475
3476         * format.[Ch]: add editor to Format
3477         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3478         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3479
3480 2004-04-08  André Pönitz  <poenitz@gmx.net>
3481
3482         * metricsinfo.h: remove PainterInfo::width member
3483
3484 2004-04-08  Angus Leeming  <leeming@lyx.org>
3485
3486         * lyx_sty.C (boldsymbol_def): modify so that it outputs
3487         "\providecommand" rather than "\newcommand", thereby preventing
3488         clashes with packages that define "\boldsymbol" themselves.
3489         Eg, beamer.
3490
3491 2004-04-08  Angus Leeming  <leeming@lyx.org>
3492
3493         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3494         thereby squashing an unnecessary warning.
3495
3496 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3497
3498         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3499         setBuffer()
3500
3501 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
3502
3503         * BufferView.C (setCursor): call redoParagraph (some insets could
3504         have been opened)
3505         (putSelectionAt): remove the 'double update' trick
3506
3507         * BufferView_pimpl.C (fitCursor): call refreshPar
3508         (workAreaDispatch): remove an uneeded update call
3509         (dispatch): remove some manual update calls
3510
3511         * cursor.[Ch]: remove cached_y_, updatePos
3512         (selHandle): set noUpdate when appropriate
3513
3514         * lyxfunc.C (dispatch): track if we need an update
3515
3516         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3517
3518         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3519         (paintSelection): cheap optimization, do not call cursorX when not
3520         needed
3521         (paintPars): change signature
3522         (refreshPar): add
3523         (paintText): adjust
3524         (paintTextInset): adjust
3525
3526         * text.C: adjust
3527
3528 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3529
3530         * lengthcommon.C: compilation fix: remove explicit array size from
3531         unit_name[] and friends
3532
3533 2004-04-05  Angus Leeming  <leeming@lyx.org>
3534
3535         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3536
3537         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3538         present only for the preferences dialog.
3539         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3540
3541 2004-04-05  Angus Leeming  <leeming@lyx.org>
3542
3543         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3544         to enable the frontends to export changes to lyxrc correctly.
3545
3546         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3547
3548 2004-04-07  André Pönitz  <poenitz@gmx.net>
3549
3550         * cursor.[Ch] (selClear, adjust): remove math
3551
3552         * cursor_slice.C: more agressive assert
3553
3554         * lyxfunc.C:
3555         * BufferView_pimpl.C: rework mouse event dispatch
3556
3557         * dociterator.C:
3558         * paragraph.C:
3559         * text2.C:
3560         * text3.C: adjust
3561
3562 2004-04-05  André Pönitz  <poenitz@gmx.net>
3563
3564         * cursor.[Ch] (valign, halign...): remove unneeded functions
3565
3566 2004-04-05  Angus Leeming  <leeming@lyx.org>
3567
3568         * lyxlength.[Ch] (unit_name et al.): const-correct.
3569
3570 2004-04-05  Angus Leeming  <leeming@lyx.org>
3571
3572         * BufferView_pimpl.C:
3573         * buffer.C:
3574         * counters.C:
3575         * cursor.C:
3576         * lyxfunc.C
3577         * paragraph.C:
3578         * pariterator.C:
3579         * text.C:
3580         * text2.C:
3581         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3582
3583 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3584
3585         * text3.C (getStatus): add LFUN_BEGINNINGBUF
3586
3587 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3588
3589         * lyxfind.C: add a couple of inTexted() tests + other small fixes
3590         * BufferView_pimpl.[Ch] (getStatus)
3591         * BufferView.[Ch] (getStatus): add
3592         * lyxfunc.C (getStatus): move lfuns handled in
3593         BufferView::dispatch to te function above
3594         * Cursor.C (setSelection): set selection() = true
3595
3596 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3597
3598         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3599
3600 2004-03-31  Angus Leeming  <leeming@lyx.org>
3601
3602         * lyxfunc.C (dispatch): Fall through to the generic
3603         Dialogs::show("preamble").
3604
3605 2004-03-31  Angus Leeming  <leeming@lyx.org>
3606
3607         * lyxfunc.C (dispatch): Fall through to the generic
3608         Dialogs::show("spellchecker").
3609
3610 2004-03-31  Angus Leeming  <leeming@lyx.org>
3611
3612         * lyxfunc.C (getStatus, dispatch): changed invocation of the
3613         preferences dialog.
3614
3615 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3616
3617         * BufferView.C
3618         * cursor.[Ch]
3619         * dociterator.[Ch]:
3620         * insetiterator.[Ch]:
3621         * lyxfind.C:
3622         * lyxfunc.C:
3623         * pariterator.[Ch]:
3624         * text2.C:
3625         * undo.[Ch]: s/DocumentIterator/DocIterator/g
3626
3627 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3628
3629         * BufferView.C (setCursor, putSelectionAt): call edit to open the
3630         insets where we are putting the cursor.
3631
3632 2004-03-31  Angus Leeming  <leeming@lyx.org>
3633
3634         * lfuns.h:
3635         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3636
3637         * lyxrc.[Ch] (read, write): overloaded member functions taking
3638         a std::[io]stream arguments.
3639
3640         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3641
3642 2004-03-31  Angus Leeming  <leeming@lyx.org>
3643
3644         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3645         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3646
3647         * lyxtextclass.C (load): if the text class couldn't be loaded, then
3648         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3649
3650 2004-03-31  Angus Leeming  <leeming@lyx.org>
3651
3652         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3653         the LFUN_ALL_INSETS_TOGGLE code.
3654
3655 2004-03-30  Angus Leeming  <leeming@lyx.org>
3656
3657         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3658         has died. Fall through to the generic Dialogs::show("document").
3659
3660 2004-03-30  Angus Leeming  <leeming@lyx.org>
3661
3662         * lfuns.h:
3663         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3664         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3665
3666         * lyxfunc.C (getStatus, dispatch): define the actions for these
3667         lfuns. Little more than a cut and pste job from ControlDocument.C
3668
3669         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3670
3671 2004-03-30  Angus Leeming  <leeming@lyx.org>
3672
3673         * lfuns.h:
3674         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3675         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3676
3677         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3678         open/closed state of ollapsable insets. Usage:
3679
3680         all-inset-toggle <state> <name>, where
3681         <state> == "open" || "closed" || "toggle" and
3682         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3683
3684         * lyxtext.h, text2.C (toggleInset): removed.
3685
3686         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3687         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3688         now passes LFUN_INSET_TOGGLE to the found inset.
3689
3690         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3691         is now invoked as "all-insets-toggle toggle branch".
3692
3693 2004-03-30  Angus Leeming  <leeming@lyx.org>
3694
3695         * dociterator.C:
3696         * insetiterator.C:
3697         * pariterator.[Ch]: added/corrected header blurb.
3698
3699 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
3700
3701         * dociterator.[Ch]: add an inset_ member
3702         (backwardPos): implemented
3703         (backwardPos, forwardPos): use inset_ when the stack is empty.
3704         (doc_iterator_begin, doc_iterator_end): implemented
3705         * pariterator.[Ch]: adjust, add begin, end
3706         * insetiterator.[Ch]: adjust, add begin, end
3707         * cursor.C:
3708         * document.C:
3709         * BufferView.C:
3710         * BufferView_pimpl.C:
3711         * CutAndPaste.C: adjust
3712
3713 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3714
3715         * buffer.C: increment file format to 232.
3716         * LaTeXFeatures.C: add bibtopic package.
3717         * bufferparams.[Ch]: param \use_bibtopic.
3718
3719         * lyxrc.[Ch]: add lyxrc bibtex_command
3720         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3721
3722         * buffer.C: increment file format to 231.
3723
3724 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3725
3726         * dociterator.C: implement forwardPar
3727         * iterators.[Ch]: remove, replaced by
3728         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3729         * BufferView.C:
3730         * BufferView_pimpl.C:
3731         * CutAndPaste.C:
3732         * buffer.C:
3733         * bufferview_funcs.C:
3734         * cursor.C:
3735         * lyxfind.C
3736         * lyxfunc.C
3737         * paragraph_funcs.C
3738         * toc.C:
3739         * Makefile.am: adjust
3740
3741 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3742
3743         * CutAndPaste.C (pasteSelection): fix 2 crashes
3744         (eraseSelection): fix a crash
3745         * paragraph_funcs.C: remove a warning
3746
3747 2004-03-28  Angus Leeming  <leeming@lyx.org>
3748
3749         * lfuns.h:
3750         * LyXAction.C (init): new LFUN_PRINT.
3751
3752         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3753
3754 2004-03-27  Angus Leeming  <leeming@lyx.org>
3755
3756         * lfuns.h:
3757         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3758
3759         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3760
3761 2004-03-27  Angus Leeming  <leeming@lyx.org>
3762
3763         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3764         insetlist always contains non-null pointers to insets.
3765
3766 2004-03-26  Angus Leeming  <leeming@lyx.org>
3767
3768         * src/BufferView_pimpl.C:
3769         * src/CutAndPaste.C:
3770         * src/buffer.C:
3771         * src/iterators.C:
3772         * src/output_plaintext.C:
3773         * src/outputparams.h:
3774         * src/paragraph_funcs.C:
3775         * src/rowpainter.C:
3776         * src/text.C:
3777         * src/text2.C:
3778         * src/frontends/controllers/ControlErrorList.C:
3779         * src/frontends/gtk/FileDialogPrivate.C:
3780         * src/frontends/gtk/GPainter.C:
3781         * src/frontends/gtk/GToolbar.C:
3782         * src/frontends/qt2/QRef.C:
3783         * src/mathed/math_scriptinset.C: squash compiler warnings.
3784
3785 2004-03-26  Angus Leeming  <leeming@lyx.org>
3786
3787         * ispell.C (LaunchIspell::start):
3788         * lyx_cb.C (AutoSaveBuffer::start):
3789         invoke run(DontWait) rather than runNonBlocking().
3790
3791 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
3792
3793         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3794
3795 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3796
3797         * kbsequence.C (print): adjust
3798
3799         * kbmap.C (printKeySym): rename and change signature
3800         (printKey): use LyXKeySym::print()
3801
3802 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
3803
3804         * undo.C: add using std::advance to compile for stlport
3805
3806 2004-03-24  Angus Leeming  <leeming@lyx.org>
3807
3808         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3809         it leads to a crash when no buffer is present.
3810
3811 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3812             Martin Vermeer  <martin.vermeer@hut.fi>
3813
3814         * lyxfunc.C (dispatch):
3815         * bufferparams.C (readToken): use the new LColor::setColor
3816
3817         * LColor.[Ch] (setColor): new version that takes two strings as
3818         argument and creates a new color entry if necessary
3819
3820 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3821
3822         * buffer.C (makeLaTeXFile): if the main latex file that is
3823         processed is usually a subdocument of some master, then pretend
3824         for a while that it is actually the master
3825
3826 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3827
3828         * buffer.C (getLabelList):
3829         (getBibkeyList): use getMasterBuffer()
3830         (getMasterBuffer): new method. Returns the main document in the
3831         case where one is using included documents.
3832
3833 2004-03-25  André Pönitz  <poenitz@gmx.net>
3834
3835         * Makefile.am:
3836         * iterators.[Ch]:
3837         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3838
3839         * ParagraphList_fwd.h: change ParagraphList to a std::vector
3840
3841         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3842         text*.C over here. Rename namespace CutAndPaste to lyx::cap
3843
3844         * ParameterStruct.h: merge with ParagraphParameters
3845
3846         * lyxtext.h: remove LyXText::parOffset() and getPar()
3847
3848         * text3.C: Remove all 'manual' update calls. We do now one per user
3849         interaction which is completely sufficient.
3850
3851         * Bidi.C:
3852         * BufferView.[Ch]:
3853         * BufferView_pimpl.C:
3854         * FontIterator.[Ch]:
3855         * MenuBackend.C:
3856         * ParagraphParameters.[Ch]:
3857         * buffer.C:
3858         * buffer.h:
3859         * bufferlist.C:
3860         * cursor.[Ch]:
3861         * cursor_slice.[Ch]:
3862         * dociterator.[Ch]:
3863         * errorlist.[Ch]:
3864         * factory.C:
3865         * lfuns.h:
3866         * lyxfind.C:
3867         * lyxfunc.C:
3868         * output_docbook.[Ch]:
3869         * output_latex.[Ch]:
3870         * output_linuxdoc.[Ch]:
3871         * output_plaintext.[Ch]:
3872         * paragraph.[Ch]:
3873         * paragraph_funcs.[Ch]:
3874         * paragraph_pimpl.[Ch]:
3875         * rowpainter.C:
3876         * tabular.[Ch]:
3877         * text.C:
3878         * text2.C:
3879         * toc.C:
3880         * undo.[Ch]: adjust
3881
3882         * frontends/controllers/ControlDocument.C:
3883         * frontends/controllers/ControlErrorList.C:
3884         * frontends/controllers/ControlSpellchecker.C:
3885         * insets/inset.C:
3886         * insets/inset.h:
3887         * insets/insetbase.h:
3888         * insets/insetbibitem.C:
3889         * insets/insetbox.C:
3890         * insets/insetbranch.C:
3891         * insets/insetcaption.C:
3892         * insets/insetcharstyle.C:
3893         * insets/insetcharstyle.h:
3894         * insets/insetcollapsable.C:
3895         * insets/insetcollapsable.h:
3896         * insets/insetert.C:
3897         * insets/insetfloat.C:
3898         * insets/insetfoot.C:
3899         * insets/insetmarginal.C:
3900         * insets/insetnote.C:
3901         * insets/insetoptarg.C:
3902         * insets/insettabular.C:
3903         * insets/insettext.C:
3904         * insets/insettext.h:
3905         * insets/insetwrap.C:
3906         * mathed/math_mboxinset.C:
3907         * mathed/math_nestinset.C:
3908         * mathed/math_scriptinset.C:
3909         * mathed/math_scriptinset.h:
3910         * support/types.h:
3911
3912 2004-03-24  Angus Leeming  <leeming@lyx.org>
3913
3914         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3915         deal with any child processes that have finished but are waiting to
3916         communicate this fact to the rest of LyX.
3917
3918 2004-03-24  Angus Leeming  <leeming@lyx.org>
3919
3920         64-bit compile fixes.
3921
3922         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3923         (c-tor): pass lyx::pos_types rather than ints.
3924
3925         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3926         lyx::pos_type.
3927
3928         * text.C (Delete): compile fix.
3929         (getPar): ensure that function declaration is the same as that in
3930         the header file.
3931
3932 2004-03-23  Angus Leeming  <leeming@lyx.org>
3933
3934         * ispell.C (LaunchIspell):
3935         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3936         a boost::shred_ptr rather than a std::auto_ptr.
3937
3938 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3939
3940         * lyxfunc.C (getStatus): handle read-only buffers correctly;
3941         handle LFUN_FILE_INSERT_*
3942
3943         * lyxrc.C (setDefaults, getDescription, output, read):
3944         * lyxrc.h: remove ps_command
3945
3946 2004-03-22  Angus Leeming  <leeming@lyx.org>
3947
3948         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3949         Ensure that error_handler is processed once only and that all data
3950         is saved before attempting to output any warning messages.
3951
3952         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3953
3954 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
3955
3956         * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3957
3958 2004-03-19  André Pönitz  <poenitz@gmx.net>
3959
3960         * cursor.[Ch] (reset): take main text inset as argument
3961
3962         * BufferView: adjust
3963         * BufferView_pimpl.C: adjust
3964
3965         * paragraph.[Ch]: fix completely broken operator=()
3966
3967 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3968
3969         * LColor.C (getFromLyXName): make sure that the color name is used
3970         as lowercase.
3971
3972 2004-03-17  Angus Leeming  <leeming@lyx.org>
3973
3974         * lfuns.h:
3975         * LyXAction.C (init): remove LFUN_FORKS_KILL.
3976
3977         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3978         dialog and to kill a forked process.
3979
3980 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3981
3982         * text2.C (setCursorFromCoordinates): fix font problem
3983
3984 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3985
3986         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3987         bogus "rebuild cursor" code
3988
3989 2004-03-11  André Pönitz  <poenitz@gmx.net>
3990
3991         * buffer.[Ch]: use InsetText instead of LyXText as container for
3992         the main lyx text.
3993
3994         * dociterator.[Ch]: drop the BufferView * member which is not needed
3995         anymore after the change to buffer.C
3996
3997         * paragraph_funcs.C:
3998         * text.C:
3999         * text2.C:
4000         * BufferView.[Ch]:
4001         * BufferView_pimpl.[Ch]:
4002         * cursor.[Ch]:
4003         * cursor_slice.[Ch]: adjust
4004
4005         * text3.C: fix bug in mathDispatch
4006
4007 2004-03-08  André Pönitz  <poenitz@gmx.net>
4008
4009         * undo.[Ch]: use 'StableDocumentIterator' as base for
4010         the Undo struct.
4011
4012 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4013
4014         * LaTeXFeatures.C:
4015         * bufferparams.[Ch]: add jurabib support and param.
4016
4017         * LaTeX.C: add FIXME/comment.
4018
4019 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4020
4021         * buffer.C: increment file format to 230.
4022
4023 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
4024
4025         * cursor.C (dispatch): avoid infinite loops
4026
4027 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
4028
4029         * rowpainter.C (paintSelection): fix x coordinates
4030
4031 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
4032
4033         * text.C (rowBreakPoint): fix breaking before displayed insets
4034
4035 2004-03-01  André Pönitz  <poenitz@gmx.net>
4036
4037         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
4038
4039         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
4040
4041         * Makefile.am:
4042         * BufferView.C:
4043         * BufferView_pimpl.C:
4044         * buffer.C:
4045         * lyxfind.C:
4046         * lyxfunc.C:
4047         * text.C:
4048         * text2.C:
4049         * text3.C: adjust
4050
4051 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
4052
4053         * lyxtext.h:
4054         * text.C:
4055         * text2.C:
4056         * rowpainter.C:
4057         * BufferView_pimpl.C: rename textwidth -> maxwidth,
4058         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
4059
4060 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
4061
4062         * Bidi.[Ch] (computeTables): const correctness
4063         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
4064         fill_hfill, fill_label_hfill and x from Row
4065         * lyxtext.h: prepareToPrint returns a RowMetrics
4066         * rowPainter.C: adjust
4067         * text.C (prepareToPrint): use width, not textWidth. adjust
4068         (redoParagraphInternal, cursorX): adjust
4069         * text2.C (getColumnNearX): adjust
4070         (init): put a default value to the top LyXText::width
4071
4072 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
4073
4074         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
4075
4076 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
4077
4078         * lyxtext.h: add FontIterator class
4079
4080         * text.C (FontIterator, operator*, operator->, operator++): add
4081         (rowBreakPoint, setRowWidth): adjust (fixing a
4082         rebreaking bug)
4083
4084 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4085
4086         * BufferView_pimpl.C (workAreaDispatch): allow also
4087         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
4088
4089 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
4090
4091         * text.C (rowBreakPoint): fix a bug showing with very large insets
4092
4093 2004-02-25  André Pönitz  <poenitz@gmx.net>
4094
4095         * text3.C:
4096         * cursor.[Ch]: move some mathed specific code to mathed
4097
4098 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4099
4100         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
4101         use_tempdir in preferences
4102         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
4103         tempfile creation
4104         * lyx_main.C: ensure that tempdir is valid
4105         * lyxlex.h: correct typo
4106         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
4107         * paragraph.[Ch] (isMultiLingual): make const
4108         * cursor.[Ch] (openable): make const
4109
4110 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4111
4112         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
4113
4114 2004-02-20  André Pönitz  <poenitz@gmx.net>
4115
4116         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
4117
4118         * cursor.[Ch]: prepare for localized getStatus()
4119
4120         * lyxtext.h:
4121         * tabular.C:
4122         * text.C:
4123         * text2.C:
4124         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
4125
4126 2004-02-20  André Pönitz  <poenitz@gmx.net>
4127
4128         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
4129
4130 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
4131
4132         * text2.C (setCursorFromCoordinates): switch to absolute coords
4133         (cursorUp): adjust
4134         (cursorDown): adjust
4135         * text3.C (dispatch): adjust
4136
4137 2004-02-16  André Pönitz  <poenitz@gmx.net>
4138
4139         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
4140           insets/ChangeLog)
4141
4142         * cursor_slice.[Ch]: remove unneeded acessor function
4143
4144         * lyxtext.h: rename rtl() to isRTL()
4145
4146         * rowpainter.C:
4147         * tabular.C:
4148         * text.C:
4149         * text2.C:
4150         * text3.C: adjust
4151
4152 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
4153
4154         * rowpainter.C (paintSelection): coord fix
4155
4156 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
4157
4158         * Spacing.C: compile fix
4159
4160 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
4161
4162         * cursor.C (dispatch): restore current_ before returning
4163
4164 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
4165
4166         * text2.C (cursorUp, cursorDown): fix coords
4167         (moveUp): fix crash
4168
4169 2004-02-12  André Pönitz  <poenitz@gmx.net>
4170
4171         * lyxtext.h:
4172         * text.C:
4173         * text2.C:
4174         * text3.C: add LCursor & parameter to most cursor movement functions
4175           remove usage of LyXText::cursorRow() and cursorPar()
4176
4177         * cursor.[Ch]: add textRow() needed members
4178
4179         * BufferView.C:
4180         * BufferView_pimpl.C:
4181         * paragraph.[Ch]:
4182         * BufferView.C:
4183         * BufferView_pimpl.C: adjust
4184
4185 2004-02-11  André Pönitz  <poenitz@gmx.net>
4186
4187         * lyxfunc.C:
4188         * BufferView.[Ch]:
4189         * BufferView_pimpl.C: shift undo/redo handling
4190
4191         * cursor.[Ch]: fix mathed crash
4192
4193         * lyxfind.C:
4194         * lyxtext.h: move selectionAsText to LCursor
4195
4196         * output_latex.C:
4197         * paragraph.C:
4198         * text.C:
4199         * text2.C:
4200         * text3.C: adjust
4201
4202         * rowpainter.C: fix excessive drawing
4203
4204 2004-02-06  André Pönitz  <poenitz@gmx.net>
4205
4206         * BufferView.[Ch]:
4207         * BufferView_pimpl.[Ch]:
4208         * text3.C: move some text specific LFUN handling
4209
4210 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
4211
4212         * text3.C (checkInsetHit): adjust coords
4213         * text2.C (getColumnNearX): adjust coords
4214         (edit): adjust coords
4215         * text.C (getRowNearY): add two asserts
4216
4217 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
4218
4219         * converter.C:
4220         * format.C: add using std::distance to compile on gcc 2.95/stlport
4221
4222 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
4223
4224         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
4225
4226 2004-02-04  André Pönitz  <poenitz@gmx.net>
4227
4228         * BufferView.[Ch] (insertInset):
4229         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
4230
4231         * text2.C:
4232         * text3.C: adjust
4233
4234 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
4235
4236         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
4237         on the default clause of the switch
4238         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
4239         wasn't catched by LCursor::dispatch
4240
4241 2004-02-03  André Pönitz  <poenitz@gmx.net>
4242
4243         * BufferView.C:
4244         * cursor.[Ch]: some additional asserts
4245
4246         * undo.[Ch]: remove LyXText dependency in interface
4247
4248         * lyxfunc.C: adjust
4249
4250         * lyxtext.h (firstPar, lastPar): remove dead functions
4251
4252         * text.C:
4253         * text2.C:
4254         * text3.C:
4255         * paragraph.[Ch]: adjust
4256
4257 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
4258
4259         * lyxfind.C (find): fix argument order in call to ::find
4260
4261 2004-02-02  André Pönitz  <poenitz@gmx.net>
4262
4263         * cursor.[Ch]: remove direct access to anchor
4264
4265         * text.C: remove findText() hack
4266
4267 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
4268
4269         * iterators.[Ch] (lockPath): remove in favour of...
4270         * BufferView.[Ch] (setCursor): this addition
4271         * BufferView.C (putSelectionAt): adjust
4272         * undo.C (performUndoOrRedo): adjust
4273         * lyxfunc.C (dispatch): adjust
4274
4275 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
4276
4277         * iterators.C (lockPath): add a missing slice
4278         * undo.C (performUndoOrRedo): remove redundant positioning code
4279
4280 2004-02-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4281
4282         * vc-backend.C (scanMaster): ";" -> ';'
4283
4284 2004-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4285
4286         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
4287         std::binary_function
4288
4289         * lyxtextclass.C (compare_name): rename to...
4290         (LayoutNamesEqual): ...this
4291
4292         * lyxlex_pimpl.C (compare_tags): inherit from
4293         std::binary_function, put back into anon namespace
4294
4295         * lyxfind.C (MatchString): inherig from std::binary_function
4296         (findChange): use empty() istead of !size()
4297
4298         * format.C (FormatNamesEqual): new functor
4299         (getFormat): use it
4300         (getNumber): use it
4301         (add): use it
4302         (erase): use it
4303         (setViewer): use it
4304
4305         * converter.C (compare_Converter): rename to...
4306         (ConverterEqual): ...this, and fixup a bit.
4307         (getConverter): use it, and make function const
4308         (getNumber): use it, and make function const
4309         (add): use it
4310         (erase): use it:
4311
4312         * bufferlist.C: add using boost::bind
4313
4314         * MenuBackend.C (MenuNamesEqual): new functor
4315         (hasMenu): use it, and make function const
4316         (hasSubmenu): use nested bind to get rid of compare_memfun.
4317
4318 2004-01-30  André Pönitz  <poenitz@gmx.net>
4319
4320         * BufferView_pimpl.C:
4321         * cursor.C:
4322         * cursor.h:
4323         * cursor_slice.[Ch]:
4324         * lyxfunc.C:
4325         * lyxtext.h:
4326         * paragraph_funcs.C:
4327         * paragraph_funcs.h:
4328         * rowpainter.C:
4329         * text.C:
4330         * text2.C:
4331         * text3.C: move some of the edit(x,y) handling to the insets
4332         some coordinate changes.
4333
4334 2004-01-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4335
4336         * text.C: add using statements for std::advance and std::distance
4337
4338         * paragraph.C: add using statement for std::distance
4339
4340         * lyxfind.C: add using statement for std::advance
4341
4342         * cursor.C (region): remove std:: from swap
4343         (openable): use nucleus in stead of operator->
4344
4345         * BufferView.C: add using statements for std::distance and std::swap
4346
4347 2004-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4348
4349         * iterators.C: Remove the pimple, move the needed structures to
4350         the header file. Create accessor for the positions stack.
4351         (asPosIterator): remove function
4352
4353         * PosIterator.C (PosIterator): move constructors to top of file
4354         (PosIterator): reimplement the constructor taking a ParIterator in
4355         terms of setFrom.
4356         (setFrom): new function
4357         (operator!=): inline it
4358
4359 2004-01-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4360
4361         * lyxfind.C (replaceAll): use std::advance
4362
4363         * iterators.h: inherit from std::iterator.
4364
4365         * PosIterator.C (advance, distance): remove
4366         * PosIterator.h: interit from std::iterator.
4367
4368 2004-01-26  André Pönitz  <poenitz@gmx.net>
4369
4370         * BufferView.[Ch]:
4371         * BufferView_pimpl.[Ch]:
4372         * InsetList.[Ch]:
4373         * PosIterator.[Ch]:
4374         * buffer.h:
4375         * bufferview_funcs.C:
4376         * cursor.[Ch]:
4377         * cursor_slice.h:
4378         * factory.[Ch]:
4379         * iterators.[Ch]:
4380         * lyxfind.C:
4381         * lyxfunc.C:
4382         * lyxtext.h:
4383         * output_docbook.C:
4384         * output_latex.C:
4385         * output_linuxdoc.C:
4386         * output_plaintext.C:
4387         * paragraph.[Ch]:
4388         * paragraph_funcs.[Ch]:
4389         * paragraph_pimpl.[Ch]:
4390         * rowpainter.C:
4391         * tabular.C:
4392         * tabular.h:
4393         * text.C:
4394         * text2.C:
4395         * text3.C: more IU:  dumps most of the rest of the mathcursor
4396     implementation into cursor.[Ch]; "globalize" a bit of it.
4397
4398 2004-01-25  Angus Leeming  <leeming@lyx.org>
4399
4400         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
4401
4402 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4403
4404         * LaTeXFeatures.h: add nice_ and nice() const
4405         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
4406
4407 2004-01-20  André Pönitz  <poenitz@gmx.net>
4408
4409         * BufferView.[Ch]:
4410         * BufferView_pimpl.C:
4411         * PosIterator.C:
4412         * bufferview_funcs.C:
4413         * cursor.[Ch]:
4414         * cursor_slice.[Ch]:
4415         * factory.C:
4416         * iterators.C:
4417         * lyx_cb.C:
4418         * lyxfind.C:
4419         * lyxfunc.C:
4420         * lyxtext.h:
4421         * rowpainter.C:
4422         * text.C:
4423         * text2.C:
4424         * text3.C:
4425         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
4426           LCursor and mathcursor parts to LCursor and InsetBase.
4427
4428 2004-01-15  André Pönitz  <poenitz@gmx.net>
4429
4430         * cursor_slice.[Ch]: add a few covienience functions
4431
4432         * funcrequest.[Ch]: remove BufferView * member
4433
4434         * BufferView_pimpl.C:
4435         * cursor.C:
4436         * factory.[Ch]:
4437         * lyxfind.[Ch]:
4438         * lyxfunc.C:
4439         * lyxtext.h:
4440         * text3.C:
4441         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4442
4443 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
4444
4445         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4446         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4447
4448 2004-01-13  André Pönitz  <poenitz@gmx.net>
4449
4450         * textcursor.[Ch]:
4451         * lyxtext.h: hide cursor and selection anchor behind accessor function
4452
4453         * BufferView.C:
4454         * BufferView_pimpl.[Ch]:
4455         * PosIterator.C:
4456         * bufferview_funcs.C:
4457         * cursor.h:
4458         * lyxfind.C:
4459         * lyxfunc.C:
4460         * text.C:
4461         * text2.C:
4462         * text3.C:
4463         * undo.C: adjust
4464
4465         * cursor.h:
4466         * cursor_slice.[Ch]: some integer type changes for inset unification
4467
4468         * lyxcursor.[hC]: remove, it's CursorSlice now.
4469
4470         * Makefile.am:
4471         * BufferView_pimpl.[Ch]:
4472         * bufferview_funcs.C:
4473         * cursor_slice.C:
4474         * lyxtext.h:
4475         * text.C:
4476         * text2.C:
4477         * text3.C:
4478         * textcursor.[Ch]: adjust
4479
4480 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
4481
4482         * text2.C (undoSpan): add and use
4483         * text.C (breakParagraph): use undoSpan (fix bug 578)
4484         * lyxtext.h: adjust
4485
4486 2004-01-08  Angus Leeming  <leeming@lyx.org>
4487
4488         * BufferView_pimpl.C (MenuInsertLyXFile):
4489         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4490         * lyxfunc.C (menuNew, open, doImport):
4491         FileFilterList change to the FileDialog open and save functions.
4492
4493 2004-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4494
4495         * ShareContainer.h: make isEqual and isUnique adaptable
4496
4497         * CutAndPaste.C: make resetOwnerAndChanges adaptable
4498
4499 2004-01-07  Angus Leeming  <leeming@lyx.org>
4500
4501         * LyXAction.C:
4502         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4503
4504         * BufferView_pimpl.C (dispatch): act on these LFUNs.
4505
4506         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4507         functions replacing find, replace and replaceAll.
4508
4509         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4510         LFUN_WORDFIND(FORWARD|BACKWARD).
4511
4512 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4513
4514         * text.C (breakParagraph): remove an outdated #warning
4515
4516 2004-01-07  André Pönitz  <poenitz@gmx.net>
4517
4518         * lyxfind.C: somewhat clearer logic
4519
4520         * text.C: prevent crash in cursorX on unitialized row cache
4521
4522 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4523
4524         * lyxcursor.[Ch] (operator>): add
4525         * textcursor.C (selStart, selEnd): use std::min and std::max
4526
4527 2004-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4528
4529         * Chktex.C: include boost/format.hpp
4530
4531 2004-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4532
4533         * InsetList.C: replace functor MathcIt with adaptable functor
4534         InsetTablePosLess
4535         (insetIterator): modify accordingly
4536
4537         * BranchList.h: move the BranchNamesEqual functor here from...
4538         * BranchList.C: ... to here
4539
4540         * BranchList.C: new BranchListEqual fuctor, use it. Remove
4541         SameName and match.
4542         (add): replace a finding loop with std::find_if.
4543
4544 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
4545
4546         * output_docbook.C: moving LatexParam functionality into
4547         .layout files
4548
4549 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4550
4551         * buffer.C: increment format to 229.
4552
4553 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
4554
4555         * LaTeXFeatures.C:
4556         * lyx_sty.[Ch]: remove minipageindent_def
4557
4558         * LyXAction.C:
4559         * factory.C:
4560         * lfuns.h:
4561         * lyxfunc.C:
4562         * text3.C: remove LFUN_INSET_MINIPAGE
4563
4564 2003-12-28  Angus Leeming  <leeming@lyx.org>
4565
4566         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4567
4568 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
4569
4570         * text2.C (setParagraph): fix off-by-one crash
4571
4572 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
4573
4574         * output_docbook.C: header stuff for AGU
4575
4576 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
4577
4578         * text2.C (redoCursor): remove
4579         * text.C:
4580         * text3.C:
4581         * BufferView_pimpl.C: remove calls to redoCursor and
4582         setCursor(cursor.par(), cursor.pos()) all around
4583
4584 2003-12-15  Angus Leeming  <leeming@lyx.org>
4585
4586         * buffer.C: up the format to 228.
4587
4588 2003-12-15  André Pönitz  <poenitz@gmx.net>
4589
4590         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4591         slices
4592
4593         * Makefile.am:
4594
4595         * BufferView_pimpl.C:
4596         * cursor.[Ch]:
4597         * lyxcursor.[Ch]:
4598         * rowpainter.[Ch]:
4599         * lyxtext.h:
4600         * text.C:
4601         * text2.C:
4602         * text3.C: adjust
4603
4604 2003-12-15  Angus Leeming  <leeming@lyx.org>
4605
4606         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4607         than getFromGUIName to manipulate the color.
4608
4609 2003-12-14  Angus Leeming  <leeming@lyx.org>
4610
4611         * BranchList.[Ch]: minimize the API.
4612         (Branch::getBranch, getColor): now return a 'const &'.
4613         (Branch::setSelected) now returns a bool set to true if the
4614         selection status changes.
4615         (BranchList::clear, size, getColor, setColor, setSelected,
4616         allBranches, allSelected, separator): removed.
4617         (BranchList::find): new functions, returning the Branch with
4618         the given name.
4619         (BranchList::add, remove): return a bool indicating that
4620         the operation was successful.
4621
4622         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4623         new InsetBranch::isBranchSlected member function.
4624
4625         * LColor.[Ch]: mimimize the API.
4626         (fill): renamed as addColor and made private.
4627         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4628         versions of these functions taking a string arg have been removed.
4629
4630         * bufferparams.C (readToken):
4631         * lyxfunc.C (dispatch):
4632         * lyxrc.C (read): changes due to the altered BranchList and
4633         LColor APIs.
4634
4635         * factory.C (createInset, readInset): changes due to altered
4636         InsetBranch c-tor.
4637
4638 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4639
4640         * factory.C:
4641         * lyxfunc.C: remove insetminipage. "minipage-insert"
4642         now produces a frameless minipage box inset.
4643
4644 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4645
4646         * textcursor.[Ch] (selStart,selEnd): add new methods
4647         remove selection::start, end, use LyXCursor::operator<
4648         * lyxcursor.[Ch] (operator<): add
4649         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4650         * BufferView.[Ch] (unsetXSel): add
4651         * text2.C (clearSelection): use unsetXSel,adjust
4652         * text.C: adjust
4653         * text3.C: adjust
4654         * rowpainter.C: adjust
4655         * bufferview_funcs.C (put_selection_at): adjust
4656
4657 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4658
4659         * BufferView_pimpl.C: small coord. correction
4660
4661 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4662
4663         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4664         dragging over the splash screen.
4665
4666 2003-12-11  Angus Leeming  <leeming@lyx.org>
4667
4668         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4669         as it is now handled in LyXText::dispatch.
4670
4671         * text3.C (doInsertInset): remove a level of nesting.
4672
4673 2003-12-11  Angus Leeming  <leeming@lyx.org>
4674
4675         * factory.C (createInset): changes due to the changed interface to
4676         InsetCommandMailer::string2params.
4677
4678 2003-12-10  Angus Leeming  <leeming@lyx.org>
4679
4680         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4681         'dialog-show-new-inset <inset name>'
4682
4683 2003-12-10  Angus Leeming  <leeming@lyx.org>
4684
4685         * buffer.C: up the format to 227.
4686
4687         * factory.C: the box inset is now identified simply by 'Box'.
4688
4689 2003-12-10  Angus Leeming  <leeming@lyx.org>
4690
4691         * buffer.C: up the format to 226.
4692
4693         * factory.C: the note inset is now identified simply by 'Note'.
4694
4695 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
4696
4697         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4698         when a pit is enough. Standarize a couple of loops.
4699
4700 2003-12-05  Angus Leeming  <leeming@lyx.org>
4701
4702         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4703         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4704         data to the re-worked "log" dialog.
4705
4706 2003-12-03  André Pönitz  <poenitz@gmx.net>
4707
4708         * PosIterator.C:
4709         * iterators.C:
4710         * lyxtext.h:
4711         * output_latex.C:
4712         * paragraph_funcs.C:
4713         * text.C:
4714         * text2.C: use Inset::getText instead of Inset::getParagraph
4715
4716 2003-12-03  André Pönitz  <poenitz@gmx.net>
4717
4718         * buffer.[Ch]:
4719         * lyxtext.h:
4720         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4721         InsetText::read() as LyXText::read()
4722
4723 2003-12-02  Angus Leeming  <leeming@lyx.org>
4724
4725         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4726         type. Add a comment in the implementation that the function uses
4727         the stream's bad() function rather than fail() as the std::streams
4728         would do.
4729
4730 2003-12-02  André Pönitz  <poenitz@gmx.net>
4731
4732         * lyxlex.[Ch]: make interface more similar to std::stream
4733
4734         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4735
4736 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
4737
4738         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4739
4740 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
4741
4742         * vspace.[Ch]: remove VSpace::NONE
4743
4744 2003-12-01  André Pönitz  <poenitz@gmx.net>
4745
4746         * buffer.[Ch]:
4747         * lyxtext.h: move ParagraphList member to LyXText
4748         rename LyXText::ownerParagraphs to LyXText::paragraph
4749
4750         * CutAndPaste.C:
4751         * bufferview_funcs.C:
4752         * iterators.[Ch]:
4753         * lyx_cb.C:
4754         * paragraph.C:
4755         * rowpainter.C:
4756         * tabular.C:
4757         * text.C:
4758         * text2.C:
4759         * text3.C: adjust
4760
4761         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4762
4763         * undo.C: fix cursor positioning
4764
4765 2003-12-01  John Levon  <levon@movementarian.org>
4766
4767         * BufferView_pimpl.C: fix a crash on exit with
4768         a buffer open
4769
4770 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
4771
4772         * BranchList.C: fix setSelected() method.
4773
4774 2003-11-28  André Pönitz  <poenitz@gmx.net>
4775
4776         * ParagraphParameters.[Ch]:
4777         * ParameterStruct.h: remove space above/below from Paragraph to
4778          InsetVSpace
4779
4780         * BufferView_pimpl.C:
4781         * factory.C:
4782         * lyxfunc.C:
4783         * lyxtext.h:
4784         * output_latex.C:
4785         * paragraph.C:
4786         * paragraph_funcs.C:
4787         * rowpainter.[Ch]:
4788         * text.C:
4789         * text2.C:
4790         * text3.C: adjust
4791
4792 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
4793
4794         * factory.C: Syntax change for CharStyles
4795
4796 2003-11-28  André Pönitz  <poenitz@gmx.net>
4797
4798         * BufferView.[Ch]:
4799         * BufferView.[Ch]:
4800         * buffer.[Ch]:
4801         * buffer.[Ch]: move LyXText member
4802
4803 2003-11-28  André Pönitz  <poenitz@gmx.net>
4804
4805         * BufferView.[Ch]: make LyXText * text a private member
4806
4807         * BufferView_pimpl.C:
4808         * cursor.C:
4809         * iterators.C:
4810         * lyx_cb.C:
4811         * lyxfind.C:
4812         * lyxtext.h:
4813         * rowpainter.[Ch]:
4814         * text.C:
4815         * text2.C:
4816         * undo.C: adjust
4817
4818         * output_plaintext.C: cleanup
4819
4820 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4821
4822         * buffer.C:
4823         * lyxtextclass.[Ch]: parametrize SGML document header
4824
4825 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4826
4827         * converter.[Ch]:
4828         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4829         getFlavor().
4830
4831 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
4832
4833         * text2.C (setFont): rework using PosIterator (no more recursive)
4834         (setCharFont): no more needed
4835         (setLayout): no more selection cursors fiddling (done by redoCursor)
4836         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4837         destroy remaining ones)
4838
4839 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
4840
4841         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4842         * lyxtext.h: ditto
4843         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4844         selection cursors
4845         * lyxfunc.C: adjust
4846         * text3.C: adjust + re-allow multi par depth changes
4847         * textcursor.C: simplify a bit
4848
4849 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
4850
4851         * src/buffer.C:
4852         * src/lyxlayout.C:
4853         * src/lyxlayout.h:
4854         * src/lyxtext.h:
4855         * src/output_docbook.C:
4856         * src/output_latex.C:
4857         * src/paragraph.C:
4858         * src/paragraph.h:
4859         * src/sgml.C:
4860         * src/sgml.h:
4861         * src/text2.C: Introducing a number of tags parametrizing various
4862         XML formats that we may want to support
4863
4864 2003-11-25  André Pönitz  <poenitz@gmx.net>
4865
4866         * InsetList.[Ch] (begein, end): inline as suggested by profiler
4867
4868         * lyxtext.h (leftMargin/rightMargin): simplify interface
4869
4870         * rowpainter.C:
4871         * text.C:
4872         * text2.C:
4873         * text3.C: adjust
4874
4875 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4876
4877         * lyxfunc.C (dispatch): propogate the bibtex databases from the
4878         master file to any child files. Fixes bug 546.
4879
4880 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4881
4882         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4883
4884 2003-11-24  André Pönitz  <poenitz@gmx.net>
4885
4886         * rowpainter.C: simplification
4887
4888         * text2.C (updateCounters): remove call to redoParagraph on
4889         changed labels as this is far too expensive.
4890
4891 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4892
4893         * converter.C (convert): fix a crash: this function gets
4894         called with buffer == 0 from importer code.
4895
4896 2003-11-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4897
4898         * text3.C (cursorPrevious): make sure that we do not compare
4899         iterators form different containers.
4900         (cursorNext): ditto
4901
4902         * rowpainter.C (paintSelection): make sure that we do not compare
4903         iterators from different containers.
4904
4905         * text3.C (dispatch): [PRIOR] make sure that we do not compare
4906         iterators from different ParagraphList containers.
4907         [NEXT] ditto
4908
4909         * text2.C (LyXText): change order of initialization slightly
4910         (operator=): new function. copy all variables except cache_par_
4911         (moveUp): make sure that we do not compare iterators from
4912         different ParagraphList constainers.
4913         (moveDown): ditto
4914
4915         * text.C (firstPar): new function
4916         (lastPar): new function
4917         (endPar): new function
4918
4919         * lyxtext.h: move things around and group public functions, public
4920         variables, private functions, private variables
4921
4922 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
4923
4924         * factory.C: change call to InsetERT constructor to avoid
4925         additional invocation of method status
4926         * text2.C (toggleInset): remove redundant update() call
4927         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4928         instead of a Bufferview pointer
4929
4930 2003-11-21  André Pönitz  <poenitz@gmx.net>
4931
4932         * rowpainter.C: simplification
4933
4934 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4935
4936         * text3.C (dispatch): make possible to extend a word/row selection
4937         with the mouse
4938
4939 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4940
4941         * lyxtext.h: x0_,y0_ -> xo_,yo_
4942         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4943         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4944         * rowpainter.C (paintRows): paint full paragraphs
4945
4946 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4947
4948         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4949         screen coordinates)
4950
4951 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4952
4953         * lyxtext.h: add x0_, y0_
4954         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4955         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4956
4957 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
4958
4959         * text2.C (setCursorIntern): move the x_target update here *
4960         * text3.C: change some bv() to true/false in calls to
4961         cursorUp/Down/Right/Left
4962         * cursor.C: use helper function.
4963
4964 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4965
4966         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4967         * paragraph_funcs.[Ch]: correct comment
4968         * rowpainter.C: do not paint selections away from bv->cursor()
4969         Fix a long standing selection painting bug.
4970         * text3.C: generalize mouse-selection code to LyXTexts other that
4971         top one
4972         * textcursor.C: do not use y coords if we can use par offsets
4973
4974 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4975
4976         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4977         cursor position after e.g. inset insert)
4978
4979 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
4980
4981         * lyxfind.C (replace): adjust to locking removal + some
4982         code simplification
4983
4984 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
4985
4986         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4987         of the path
4988
4989 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
4990
4991         * lyxlayout.[Ch]:
4992         * output_docbook.C: XML sanitation: new layout
4993         parameters InnerTag and CommandDepth
4994
4995 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
4996
4997         * BufferView_pimpl.C:
4998         * factory.C:
4999         * text3.C: Fix the insertion and modification of button-style
5000         insets
5001
5002 2003-11-13  André Pönitz  <poenitz@gmx.net>
5003
5004         * InsetList.[Ch]: remove deleteLyXText
5005
5006         * paragraph.[Ch]: cache beginOfBody position
5007
5008         * Bidi.C:
5009         * text.C:
5010         * text2.C:
5011         * text3.C: remove superfluous update() calls
5012
5013         * vspace.C: cleanup
5014
5015 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
5016
5017         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
5018         * BufferView.C (fitLockedInsetCursor): remove
5019         * cursor.[Ch] (getDim): add
5020         * text.C (getRowNearY): add faster version
5021         * text3.C: remove some update calls
5022
5023 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
5024
5025         * LaTeXFeatures.C:
5026         * LyXAction.C:
5027         * MenuBackend.C:
5028         * MenuBackend.h:
5029         * dispatchresult.h:
5030         * factory.C:
5031         * lfuns.h:
5032         * lyxfunc.C:
5033         * lyxtextclass.C:
5034         * lyxtextclass.h:
5035         * text3.C: The Character Style /XML short element patch.
5036
5037 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
5038
5039         * text3.C:
5040         * factory.C: Small step to solving 'unable to insert some insets'
5041         problem
5042
5043 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
5044
5045         * cursor.[Ch] (updatePos): new function for updating the y
5046         position of the tip inset
5047         * bufferview_funcs.C (put_selection_at):
5048         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
5049
5050 2003-11-11  André Pönitz  <poenitz@gmx.net>
5051
5052         * text.C: remove big comment on invalid Paragraph pointers as it is
5053         not valid anymore
5054
5055 2003-11-11  André Pönitz  <poenitz@gmx.net>
5056
5057         * text_funcs.[Ch]: merge with ...
5058
5059         * text.C: ... this
5060
5061         * lyxtext.h:
5062         * text2.C:
5063         * text3.C: adjust
5064
5065         * Makefile.am: remove text_funcs.[Ch]
5066
5067 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
5068
5069         * cursor.C (getPos): return absolute cached y coord
5070
5071         * BufferView_pimpl.C (fitCursor): new simplistic code
5072         (workAreaDispatch): add a fitCursor call
5073
5074 2003-11-10  André Pönitz  <poenitz@gmx.net>
5075
5076         * BufferView.[Ch]:
5077         * BufferView_pimpl.[Ch]: merge update() and updateInset()
5078
5079 2003-11-10  André Pönitz  <poenitz@gmx.net>
5080
5081         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
5082         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
5083         indicate that the cursor needs to leave an inset
5084
5085         * lyxtext.h: remove inset locking
5086
5087         * cursor.[Ch]: re-implement functionality provided by inset locking
5088
5089         * BufferView.[Ch]:
5090         * BufferView_pimpl.[Ch]:
5091         * LyXAction.C:
5092         * bufferview_funcs.[Ch]:
5093         * factory.C:
5094         * funcrequest.[Ch]:
5095         * iterators.C:
5096         * lyx_cb.C:
5097         * lyxfind.C:
5098         * lyxfunc.C:
5099         * text.C:
5100         * text2.C:
5101         * text3.C:
5102         * undo.C: adjust
5103
5104 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
5105
5106         * PosIterator.[Ch]: replace the stack with a vector, add inset
5107         accesor
5108         * iterators.[C]: adjust
5109
5110 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
5111
5112         * lyxfind.C (replaceAll): mark the buffer dirty if something was
5113         replaced
5114         * paragraph_funcs.C (readParToken): put the correct id in the
5115         error item, not the id of the top paragraph
5116
5117 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
5118
5119         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
5120         * bufferview_funcs.C (put_selection_at): use the above
5121
5122 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
5123
5124         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
5125
5126 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5127
5128         * output_linuxdoc.h:
5129         * output_plaintext.h:
5130         * output.h:
5131         * output_docbook.h: add #include statements
5132
5133 2003-11-05  José Matos  <jamatos@lyx.org>
5134
5135         * output_docbook.[Ch]:
5136         * output_latex.[Ch]:
5137         * output_linuxdoc.[Ch]:
5138         * output_plaintext.[Ch]: New files for output formats.
5139         * output.[Ch]: New file for helper functions.
5140
5141         * buffer.[Ch]:
5142         * paragraph_funcs.[Ch]: output functions moved to new files.
5143
5144         * outputparams.h: rename of latexrunparams.h
5145
5146         * LaTeX.[Ch]:
5147         * buffer.[Ch]:
5148         * bufferlist.[Ch]:
5149         * converter.[Ch]:
5150         * exporter.C:
5151         * paragraph.[Ch]:
5152         * paragraph_funcs.[Ch]:
5153         * paragraph_pimpl.[Ch]:
5154         * tabular.[Ch]: rename ascii to plaintext
5155         and LatexRunParams to OutputParams.
5156
5157 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
5158
5159         * iterators.[Ch] (text): require bv argument
5160         * undo.C (recordUndo):
5161         * lyxfunc.C (dispatch):
5162         * bufferview_funcs.C (put_selection_at): adjust
5163
5164 2003-11-05  Jo� Luis M. Assirati  <assirati@fma.if.usp.br>
5165
5166         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
5167
5168 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
5169
5170         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
5171         nestings
5172
5173 2003-11-04  André Pönitz  <poenitz@gmx.net>
5174
5175         * cursor.[Ch]: restructure
5176
5177         * BufferView.[Ch]:
5178         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
5179
5180         * iterators.[Ch] (asCursor): remove
5181
5182         * lfuns.h: remove LFUN_INSET_EDIT
5183
5184         * lyxfunc.C:
5185         * tabular.C:
5186         * text.C:
5187         * text2.C:
5188         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
5189
5190 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5191
5192         * lyxfind.[Ch]: complete overhaul
5193         * BufferView_pimpl.C:
5194         * lyxfunc.C: adjust
5195         * paragraph.[Ch] (insert): add
5196
5197 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5198
5199         * BufferView.[Ch]:
5200         * lyxtext.h:
5201         * text.C: remove dead spellcheck code
5202
5203 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5204
5205         * dispatchresult.h: add a val setter
5206
5207         * cursor.C (dispatch): use a tempvar for data_[i]
5208
5209 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5210
5211         * PosIterator.[Ch]: compile fix
5212
5213 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5214
5215         * text.C (cursorPar): deactivate the cursor cache
5216
5217 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
5218
5219         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
5220
5221 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5222
5223         * text3.C (dispatch): adjust for new DisptchResult semantics.
5224
5225         * lyxfunc.C (dispatch): handle update when return from
5226         Cursor::dispatch, adjust for new DispatchResult semantics.
5227
5228         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
5229         DispatchResult(true) mean to not update. Add class functions for
5230         setting dispatched and update, as well as reading.
5231
5232         * cursor.C (dispatch): don't handle update here
5233
5234 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5235
5236         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
5237         * trans_mgr.C: adjust
5238
5239         * paragraph_funcs.C (readParToken): exception safety
5240
5241         * lyxvc.h: store the vcs pointer in a scoped_ptr
5242         * lyxvc.C: adjust
5243
5244         * lyxsocket.C (serverCallback): exception safety
5245
5246         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
5247
5248         * ispell.C (clone): make it return a auto_ptr
5249
5250         * factory.C (createInset): exception safety
5251         (readInset): exception safety
5252
5253         * bufferlist.C (newBuffer): exception safety
5254
5255         * Thesaurus.C (Thesaurus): use initialization for aik_
5256
5257         * MenuBackend.C (expandToc): exception safety.
5258
5259 2003-11-03  André Pönitz  <poenitz@gmx.net>
5260
5261         * buffer.C:
5262         * buffer.h:
5263         * bufferview_funcs.C: remove getInsetFromId()
5264
5265         * lyxcursor.[Ch]:
5266         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
5267
5268         * lyxfunc.C:
5269         * text2.C:
5270         * text3.C: adjust
5271
5272 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
5273
5274         * PosIterator.C (distance, advance): new
5275         * bufferview_funcs.[Ch] (put_selection_at): new
5276         * iterators.[Ch] (lockPath): new
5277
5278 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
5279
5280         * iterators.[Ch] (asPosIterator): added
5281         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
5282         * PosIterator.[Ch]: added
5283
5284 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5285
5286         * text3.C:
5287         * lyxfunc.C:
5288         * cursor.C (dispatch):
5289         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
5290
5291         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
5292         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
5293         contructor, add a class function dispatched. Remove operator>=
5294
5295 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5296
5297         * debug.C: only use the default constructor for debugstream
5298         (lyxerr) here.
5299
5300         * main.C (main): include debug.h and setup the lyxerr streambuf
5301         here.
5302
5303 2003-10-31  José Matos  <jamatos@lyx.org>
5304
5305         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
5306
5307         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
5308         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
5309         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5310         * paragraph_pimpl.C (simpleTeXSpecialC):
5311         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
5312         add LatexRunParams argument.
5313
5314         * exporter.C (Export): change call accordingly.
5315
5316         * latexrunparams.h: add new member to take care of the other backends.
5317 2003-10-30  José Matos  <jamatos@lyx.org>
5318
5319         * buffer.C (makeLinuxDocFile, makeDocBookFile):
5320         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5321         factorise code for paragraph output.
5322         * buffer.[Ch]:
5323         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
5324         move functions.
5325
5326 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5327
5328         * text3.C (dispatch):
5329         * lyxfunc.C (dispatch):
5330         * cursor.C (dispatch):
5331         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
5332
5333         * dispatchresult.h: make the dispatch_result_t ctor explicit
5334
5335 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
5336
5337         * sgml.[Ch]:
5338         * buffer.C: small refactoring of docbook stuff
5339
5340 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5341
5342         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
5343         meaning.
5344
5345 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5346
5347         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
5348         operator dispatch_result_t, and operators for == != and >=
5349
5350         * cursor.C (dispatch): adjust for operator dispatch_result_t
5351         removal. comment out call to update
5352
5353         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
5354
5355 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5356
5357         * text3.C:
5358         * text2.C:
5359         * text.C:
5360         * lyxtext.h:
5361         * lyxfunc.C:
5362         * cursor.C:
5363         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
5364         (dispatch):
5365
5366         * dispatchresult.h: new file, DispatchResult broken out of
5367         insets/insetbase.h
5368
5369         * Makefile.am (lyx_SOURCES): add dispatchresult.h
5370
5371 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
5372
5373         * text.C (rowBreakPoint): put a hack inside #if 0
5374
5375 2003-10-28  André Pönitz  <poenitz@gmx.net>
5376
5377         * lyxtext.h:
5378         * metricsinfo.C:
5379         * paragraph_funcs.C:
5380         * rowpainter.C:
5381         * text.C:
5382         * text2.C: general cleanup (lots of small stuff)
5383
5384 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
5385
5386         * text2.C (cursorEnd): simple fix to the "end key goes to one
5387         before the end on last row" bug
5388
5389 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5390
5391         * text.C (backspace): fix the "zombie characters"
5392
5393 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5394
5395         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
5396
5397 2003-10-27  André Pönitz  <poenitz@gmx.net>
5398
5399         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
5400
5401         * factory.C: handle new InsetPagebreak, InsetLine
5402
5403         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
5404         and move handling into new InsetPagebreak, InsetLine
5405
5406         * BufferView_pimpl.C:
5407         * LyXAction.C:
5408         * ParagraphParameters.C:
5409         * ParameterStruct.h:
5410         * lyxfunc.C:
5411         * lyxtext.h:
5412         * paragraph.C:
5413         * paragraph.h:
5414         * paragraph_funcs.C:
5415         * paragraph_pimpl.C:
5416         * rowpainter.C:
5417         * text.C:
5418         * text2.C:
5419         * text3.C: adjust
5420
5421 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5422
5423         * text.C:
5424         * lyxrow_funcs.[Ch]:
5425         * Bidi.C:
5426         * paragraph.C:
5427         * lyxtext.h:
5428         * rowpainter.C:
5429         * text2.C:
5430         * text3.C: remove lastPos uses in favour of Row::endpos
5431
5432 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5433
5434         * undo.C (performUndoOrRedo): fix two crashes by setting a
5435         cursor by hand and reordering some calls. Use bv->lockInset instead
5436         of inset->edit because the latter loses cursor information
5437
5438 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
5439
5440         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5441         by Martin
5442         (rowBreakPoint): fix width. change point to point + 1.
5443         Add a missing check.
5444
5445 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
5446
5447         * MenuBackend.C:
5448         * lyxfunc.C: fix (at least partly) the problems
5449         with the Nav menu and headers inside branch insets
5450         reported by Kayvan
5451
5452 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
5453
5454         * paragraph.C (getChar): add strong asserts
5455
5456         * lyxrow_funcs.C (lastPos): remove hideous hack
5457
5458         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5459         (fill): adjust to that (avoid an infinite loop)
5460
5461 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5462
5463         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5464
5465 2003-10-23  André Pönitz  <poenitz@gmx.net>
5466
5467         * RowList_fwd.h: change list<> to vector<> to gain speed
5468         after suggestion from Alfredo
5469
5470 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5471
5472         * lyxtext.h: move the bidi stuff from here...
5473         * text.C: and here
5474         * text2.C: and here
5475         * Bidi.[Ch]: ... to here
5476
5477 2003-10-23  André Pönitz  <poenitz@gmx.net>
5478
5479         * lyxtext.h:
5480         * text.C (isLastRow, isFirstRow): new functions
5481
5482         * paragraph.h: new width cache member
5483
5484         * rowpainter.C: replace RowList::iterator with Row & where possible
5485
5486         * lyxfunc.C: replace several view()->text with a single call
5487
5488         * toc.C: fix 'unused' warning
5489
5490 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5491
5492         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5493         when woring with stream::pos_type
5494         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5495
5496 2003-10-22  André Pönitz  <poenitz@gmx.net>
5497
5498         * lyxtext.h:
5499         * text.C: use Row & instead of RowList::iterator
5500
5501         * lyxrow.h: rename end() to endpos()
5502
5503         * rowpainter.C:
5504         * text.C:
5505         * text2.C: adjust
5506
5507 2003-10-22  Angus Leeming  <leeming@lyx.org>
5508
5509         * buffer.[Ch] (fully_loaded): new member function, returning true
5510         only when the file has been loaded fully.
5511         Used to prevent the premature generation of previews and by the
5512         citation inset to prevent computation of the natbib-style label.
5513
5514         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5515         templates are all set up.
5516
5517         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5518
5519 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
5520
5521         * text.C: fixed an "oops" in the "is a bit silly"
5522         bug fix
5523
5524 2003-10-21  André Pönitz  <poenitz@gmx.net>
5525
5526         * FuncStatus.[Ch]: small stuff, whitespace
5527
5528         * lyxfont.[Ch]: operator<<() for debug reasons
5529
5530         * lyxfunc.C:
5531         * lyxrow_funcs.C:
5532         * lyxtext.h: whitespace, spelling
5533
5534         * paragraph.C: naming of variables
5535
5536         * text.C:
5537         * text2.C: small stuff
5538
5539
5540 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
5541
5542         * text.C: (1) finish off the inset display() work;
5543         (2) fix the "is a bit silly" bug (accessing char
5544         past end of par).
5545
5546 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
5547
5548         * text.C: re-introduce display() for insets, fixing the
5549         various bugs (stretch of line above, math inset
5550         positioning, ...)
5551
5552 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5553
5554         * text.C (rightMargin): remove spurious semicolon
5555
5556         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5557         1415)
5558
5559 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
5560
5561         * text3.C: fix one crash due to wrong cursor def
5562
5563 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5564
5565         * vc-backend.C (scanMaster): make the regex static
5566
5567         * LaTeX.C (scanAuxFile): make the regexs static
5568
5569         * text3.C (doInsertInset, dispatch, dispatch):
5570         * text2.C (cursorUp, cursorDown):
5571         * text.C (selectNextWordToSpellcheck):
5572         * BufferView_pimpl.C (dispatch):
5573         * lyxfunc.C (dispatch):  localDispatch -> dispatch
5574
5575 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5576
5577         * lyxsocket.C: include <cerrno>
5578
5579 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5580
5581         * lyxfunc.C (dispatch): remove textcache stuff
5582
5583         * bufferlist.C (release): remove textcache stuff
5584         (closeAll): ditto
5585
5586         * TextCache.C: delete file
5587         * TextCache.h: delete file
5588
5589         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5590
5591         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5592         delete of the bv_->text.
5593         (resizeCurrentBuffer): remove texcache stuff
5594         (workAreaResize): ditto
5595
5596 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5597
5598         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5599         action.
5600
5601 2003-10-16  André Pönitz  <poenitz@gmx.net>
5602
5603         * lyxrow.[Ch]:
5604         * paragraph.h:
5605         * rowpainter.C:
5606         * text.C:
5607         * text2.C:
5608         * text3.C: speed up by storing y positions per paragraph plus per-row
5609         offset instead of having a 'full' y position in the row.
5610
5611 2003-10-15  André Pönitz  <poenitz@gmx.net>
5612
5613         * iterators.[Ch]:
5614         * iterators.[Ch]:
5615         * undo.[Ch]: make undo aware of inner insets
5616
5617 2003-10-14  Angus Leeming  <leeming@lyx.org>
5618
5619         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5620         static member functions LyX::ref() and LyX::cref.
5621         (lastfiles): new accessor functions for the new lastfiles_ member var.
5622         (addLyXView, views_): add a new LyXView to the list of views_.
5623         (updateInset): loop over all LyXViews to call their own updateInset
5624         member function, returning a pointer to the Buffer owning the inset.
5625
5626         * BufferView_pimpl.C (loadLyXFile):
5627         * MenuBackend.C (expandLastfiles):
5628         * bufferlist.C (MenuWrite, QuitLyX):
5629         lastfiles is no longer a global variable.
5630         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5631
5632         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5633         static function. Access through LyX::cref().emergencyCleanup().
5634
5635 2003-10-14  André Pönitz  <poenitz@gmx.net>
5636
5637         * iterators.[Ch]: new direct access to innermost LyXText and Inset
5638
5639         * undo.[Ch]: restoring part of 'undo in insets'
5640
5641         * Makefile.am:
5642         * undo_funcs.[Ch]: merge with undo.[Ch]
5643
5644         * tabular.C: small cleansing stuff
5645
5646 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
5647
5648         * paragraph_funcs.C (readParToken): report unknown insets as error
5649         boxes. Use the outer paragraph as location (also for unknown
5650         tokens).
5651
5652         * factory.C (readInset): do not abort on reading an unknown inset.
5653         Eat it and return 0.
5654
5655 2003-10-13  Angus Leeming  <leeming@lyx.org>
5656
5657         * lyx_main.C (LyX): remove call to setDisplayTranslator().
5658
5659         * lyxrc.C: displayTranslator is now a function,
5660         declared in GraphicsTypes.h.
5661
5662 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5663
5664         * format.C: new placeholder $$a to pass the socket address.
5665
5666         * bufferlist.[Ch]: new function getBufferFromTmp.
5667
5668         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5669           files in the temporary dir.
5670
5671 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5672
5673         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5674
5675         * Makefile.am: add lyxsocket.[Ch].
5676
5677         * lyx_main.C (error_handler): handle SIGPIPE.
5678
5679 2003-10-13  André Pönitz  <poenitz@gmx.net>
5680
5681         * BufferView_pimpl.C:
5682         * lyxtext.h:
5683         * text.C:
5684         * text2.C:
5685         * text3.C:
5686         * undo_funcs.[Ch]: use paroffset_type instead of
5687           ParagraphList::iterators to prevent multiple conversion
5688           (and get a more robust interface)
5689
5690 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5691
5692         * lyxfunc.C (dispatch): RESULT -> dispatch_result
5693         * lyxtext.h: ditto
5694         * text3.C (dispatch): ditto
5695
5696 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5697
5698         * LaTeX.C (handleFoundFile): move the static to smaller scope,
5699         move the onlyfile, use onlyfile instead of foundfile in a couple
5700         of places.
5701
5702         * DepTable.C (update): flush the error stream a bit more
5703
5704 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5705
5706         * lyxserver.C (callback): adjust
5707
5708         * lyxfunc.C (getStatus): add a missing brace in commented code
5709         (ensureBufferClean): reindent
5710         (dispatch): delete version taking a string
5711
5712 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5713
5714         * LaTeX.C (deplog): move found file handlig from here...
5715         (handleFoundFile): .. to new function here.
5716         (deplog): make sure to discover several files mentioned on the
5717         same log line.
5718
5719 2003-10-10  André Pönitz  <poenitz@gmx.net>
5720
5721         * lyxfunc.C:
5722         * lyxtext.h:
5723         * tabular.C:
5724         * text.C:
5725         * text2.C:
5726         * text3.C: fix some of the tabular crashes
5727
5728 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5729
5730         * MenuBackend.C (binding): put debug message into Debug::KBMAP
5731
5732         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5733
5734 2003-10-09  André Pönitz  <poenitz@gmx.net>
5735
5736         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5737
5738         * BufferView.C:
5739         * BufferView_pimpl.C:
5740         * bufferview_funcs.C:
5741         * lyx_cb.C:
5742         * lyxcursor.C:
5743         * lyxfind.C:
5744         * lyxfunc.C:
5745         * lyxtext.h:
5746         * text.C:
5747         * text2.C:
5748         * text3.C:
5749         * text_funcs.[Ch]:
5750         * textcursor.[Ch]:
5751         * undo_funcs.C: adjust
5752
5753 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5754
5755         * text2.C (incrementItemDepth): new function, use a backtracking
5756         algorithm to discover the correct item depth.
5757         (resetEnumCounterIfNeeded): new function, use a backtracking
5758         algorithm to discover if counter reset is needed.
5759         (setCounter): use them. Simplify a bit. Add different labels for
5760         different item depths for itemize.
5761
5762         * paragraph.C (Paragraph): remove initialization of enumdepth
5763         (operator=): ditto
5764
5765         * paragraph.h: get rid of enumdepth, and use itemdepth both for
5766         enumerate and itemize. Change the type of itemdepth to signed char.
5767
5768 2003-10-08  André Pönitz  <poenitz@gmx.net>
5769
5770         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5771           thing assignable.
5772         * text.C:
5773         * text2.C: adjust
5774
5775         * tabular.[Ch]: fix crash after 'row-insert'
5776
5777 2003-10-08  Angus Leeming  <leeming@lyx.org>
5778
5779         Fix doxygen warnings.
5780
5781         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5782         Remove CutAndPaste:: prefix from header file declaration.
5783
5784         * LColor.h (fill): remove LColor:: prefix from declaration.
5785
5786         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5787         use lyx::depth_type rather than Paragraph::depth_type so that
5788         header file and .C file match.
5789
5790         * converter.h (intToFormat): remove Converters:: prefix from declaration.
5791
5792         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5793         * aspell.C: \file aspell_local.C -> \file aspell.C
5794         * gettext.C: \file gettext.C -> \file src/gettext.C
5795         * gettext.h: \file gettext.h -> \file src/gettext.h
5796         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5797         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5798         * text.C: \file text.C -> \file src/text.C
5799
5800         * toc.C: move comment so that doxygen is not confused.
5801
5802 2003-10-07  Angus Leeming  <leeming@lyx.org>
5803
5804         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5805
5806 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5807
5808         * aspell.C:
5809         * aspell_local.h: add forgotten std::string's.
5810
5811 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5812
5813         * LaTeXFeatures.C:
5814         * LyXAction.C:
5815         * factory.C:
5816         * lfuns.h:
5817         * lyxfunc.C:
5818         * text3.C: The Box patch. Fancybox support, minipage, parbox
5819
5820 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5821
5822         * CutAndPaste.h:
5823         * DepTable.h:
5824         * FloatList.h:
5825         * LaTeXFeatures.h:
5826         * ParagraphParameters.h:
5827         * TextCache.h:
5828         * Thesaurus.h:
5829         * bufferlist.h:
5830         * exporter.h:
5831         * importer.h:
5832         * lastfiles.h:
5833         * lyxfind.h:
5834         * lyxfont.h:
5835         * lyxlex.h:
5836         * lyxtextclasslist.h:
5837         * messages.h:
5838         * paragraph.h:
5839         * paragraph_pimpl.C:
5840         * textcursor.h: add <string> and other small fixes to make Lars'
5841         std::string patch compile with STLport.
5842
5843 2003-10-06  Angus Leeming  <leeming@lyx.org>
5844
5845         * LColor.h: Add missing #include <string>.
5846
5847 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5848
5849         * All most all file in all subdirs: Make <string> be the prefered
5850         way of getting to std::string, add using declarations.
5851
5852 2003-10-06  André Pönitz  <poenitz@gmx.net>
5853
5854         * metricsinfo.C: initialize LyXFont before changing attribute.
5855         (fixes the 'math in \emph is upright' bug)
5856
5857 2003-10-06  André Pönitz  <poenitz@gmx.net>
5858
5859         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5860
5861 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
5862
5863         * graph.C:
5864         * paragraph_pimpl.C: Small fixes to build using STLport
5865
5866 2003-10-02  André Pönitz  <poenitz@gmx.net>
5867
5868         * lyxfunc.C:
5869         * text3.C: move handling of LFUN_DEPTH *; fix #1360
5870
5871 2003-10-01  André Pönitz  <poenitz@gmx.net>
5872
5873         * factory.C: assert early
5874
5875 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5876
5877         * lyx_main.C: remove the global debug object
5878
5879         * debug.h: adjust for new debugstream
5880
5881         * debug.C: adjust for new debugstream and keep the global debug
5882         object here.
5883
5884 2003-09-22  Angus Leeming  <leeming@lyx.org>
5885
5886         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5887         of g++ which otherwise complain that the scoped_ptr destructor can't delete
5888         an incomplete class LyXFont.
5889
5890 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
5891
5892         * factory.C: bug fix in branches
5893
5894 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5895
5896         * lyxfunc.C (processKeySym): adjust
5897         (dispatch): adjust
5898         (dispatch): change arg name from ev to func, adjust
5899         (sendDispatchMessage): ditto
5900
5901         * lyx_main.C (defaultKeyBindings): adjust keybindings
5902         (deadKeyBindings): ditto
5903
5904         * kbsequence.C (addkey): return a FuncRequest
5905
5906         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5907
5908         * kbmap.C (bind): take a FuncRequest as arg, adjust
5909         (read): adjust
5910         (lookup): adjust
5911         (defkey): change to take a FuncRequest as arg, adjust
5912         (findbinding): take a FuncRequest as arg, adjust.
5913
5914         * funcrequest.h (operator=): added
5915
5916         * funcrequest.C (FuncRequest): default kb_action changed from
5917         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5918
5919         * buffer.C (dispatch): simplify
5920         (dispatch): adjust to take a FuncRequest as arg, adjust
5921
5922         * boost.C (assertion_failed): change assertion message slightly
5923
5924         * ToolbarBackend.C (read): simplify
5925
5926         * MenuBackend.C (binding): adjust call to findbinding, add a
5927         message if no binding is found.
5928         (read): simplify
5929         (expandToc): correct by adding a empty FuncRequest
5930
5931         * LyXAction.C: include <boost/assert.hpp>
5932         (isPseudoAction): delete function
5933         (LookupFunc): change name to...
5934         (lookupFunc): this. change return type to FuncRequest.
5935         (getActionName): take kb_action as arg, simplify
5936         (funcHasFlag): add an assert, simplify.
5937
5938 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5939
5940         * toc.C (action): return a FuncRequest, simplify
5941
5942         * lyxfunc.C (processKeySym): adjust
5943         (getStatus): delete version that takes an int.
5944         (getStatus): adjust
5945         (dispatch): delete version that takes action as int
5946         (dispatch): adjust
5947         (sendDispatchMessage): simplify and adjust
5948
5949         * funcrequest.C (getArg): take unsigned int as arg
5950
5951         * ToolbarBackend.C (read): adjust
5952         (add): delete version that takes func as a string.
5953         (getIton): take a FuncRequest as arg
5954
5955         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5956         action.
5957
5958         * MenuBackend.C (MenuItem): add a new construct that only takes a
5959         Kind, simplify the constructor use for submenus.
5960         (add): adjust
5961         (expandLastfiles): adjust
5962         (expandDocuments): adjust
5963         (expandFormats): adjust
5964         (expandFloatListInsert): adjust
5965         (expandFloatInsert): adjust
5966         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5967
5968         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5969         Remove class variables lyx_pseudo_map and lyx_arg_map
5970
5971         * LyXAction.C (searchActionArg): delete function
5972         (getPseudoAction): delete function
5973         (retrieveActionArg): delete function
5974         (LookupFunc): make it return kb_action, simplify.
5975         (getActionName): simplify
5976
5977         * factory.C (createInset): fix new bug
5978
5979 2003-09-19  Angus Leeming  <leeming@lyx.org>
5980
5981         * CutAndPaste.C (pasteSelection): remove fudge used to set the
5982         masterFilename_ parameter in the include inset.
5983
5984         * factory.C (createInset): changes due to the changes to InsetInclude.
5985
5986 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5987
5988         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5989
5990 2003-09-18  Angus Leeming  <leeming@lyx.org>
5991
5992         * buffer.C:
5993         * BufferView.C: pass the buffer when calling Inset::getLabelList,
5994         Inset::fillWithBibKeys.
5995         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5996
5997 2003-09-18  Angus Leeming  <leeming@lyx.org>
5998
5999         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
6000         variables.
6001         (ctor): pass and store a 'Buffer const &'
6002         (buffer): new member function.
6003
6004         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
6005         '*this' to the LaTeXFeatures ctor.
6006
6007 2003-09-18  Angus Leeming  <leeming@lyx.org>
6008
6009         * LColor.h:
6010         * lyxfont.C:
6011         * lyxfont.h:
6012         * lyxtext.h:
6013         * text.C: rename EnumLColor as LColor_color.
6014
6015 2003-09-18  Angus Leeming  <leeming@lyx.org>
6016
6017         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
6018         remove #include "insets/insetbase.h" from cursor.h.
6019
6020 2003-09-18  Angus Leeming  <leeming@lyx.org>
6021
6022         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
6023         InsetOld_code to remove #include "inset.h".
6024
6025         * iterators.C: add #include "insets/inset.h"
6026
6027 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
6028
6029         * BufferView.C: remove more locking stuff that apparently doesn't
6030         do anything sensible.
6031
6032 2003-09-16  André Pönitz  <poenitz@gmx.net>
6033
6034         * paragraph.[Ch]:
6035         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
6036           performance boost.
6037
6038 2003-09-16  Angus Leeming  <leeming@lyx.org>
6039
6040         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
6041
6042         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
6043         arg/return type.
6044
6045         * paragraph.h: remove #include "lyxfont.h". Forward declare
6046         LyXFont_size.
6047
6048 2003-09-16  Angus Leeming  <leeming@lyx.org>
6049
6050         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
6051         of support/textutils.h.
6052         (isWord): move the contents of support/textutils.h's IsWordChar here.
6053
6054         * buffer.C:
6055         * lyxfind.C:
6056         * rowpainter.C:
6057         * text.C:
6058         * text2.C: add #include "paragraph.h".
6059
6060         * rowpainter.C:
6061         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
6062
6063 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6064
6065         * main.C:
6066         * lyx_main.C:
6067         * lyx_cb.C:
6068         * buffer.C:
6069         * LaTeX.C: use namespace alias for lyx::support::os
6070
6071 2003-09-16  Angus Leeming  <leeming@lyx.org>
6072
6073         * bufferparams.C:
6074         * bufferview_funcs.C:
6075         * factory.C:
6076         * lyxfunc.C:
6077         * paragraph_pimpl.C:
6078         * rowpainter.C:
6079         * text.C: add #include "LColor.h".
6080
6081 2003-09-16  Angus Leeming  <leeming@lyx.org>
6082
6083         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
6084         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
6085         return LyXFont &.
6086         Store the FontBits::color variable as an int rather than as an
6087         LColor::colorso that we can move LColor.h out of the lyxfont.h header
6088         file.
6089
6090         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
6091         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
6092         string calls together.
6093
6094         * lyxrc.C: add #include "LColor.h".
6095
6096 2003-09-15  Angus Leeming  <leeming@lyx.org>
6097
6098         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
6099         a cow_ptr.
6100
6101 2003-09-15  Angus Leeming  <leeming@lyx.org>
6102
6103         * LColor.h: add an EnumLColor wrapper for LColor::color.
6104
6105         * lyxfont.[Ch] (color, setColor, realColor):
6106         * lyxtext.h, text.C (backgroundColor):
6107         pass EnumLColor args to/from the functions, rather than LColor::color
6108         ones.
6109
6110         * lyxfont.h:
6111         * lyxtext.h: forward declare EnumLColor.
6112
6113         * lyx_main.C: add #include "LColor.h".
6114
6115 2003-09-15  Angus Leeming  <leeming@lyx.org>
6116
6117         * .cvsignore: add lyx-gtk.
6118
6119 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6120
6121         * Chktex.C
6122         * LaTeX.C
6123         * LaTeXFeatures.C
6124         * ParagraphParameters.C
6125         * Spacing.C
6126         * buffer.C
6127         * bufferparams.C
6128         * bufferview_funcs.C
6129         * chset.C
6130         * counters.C
6131         * funcrequest.C
6132         * lyxfont.C
6133         * lyxgluelength.C
6134         * lyxlength.C
6135         * paragraph.C
6136         * paragraph_funcs.C
6137         * text3.C
6138         * vc-backend.C: remove usage of STRCONV
6139
6140 2003-09-15  Angus Leeming  <leeming@lyx.org>
6141
6142         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
6143         explicitly define the color passed to the painter.
6144
6145 2003-09-15  Angus Leeming  <leeming@lyx.org>
6146
6147         * bufferparams.C (BufferParams): reorder member initializers to avoid
6148         compiler warning.
6149
6150 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
6151
6152         * CutAndPaste.C (pasteSelection): remove an outdated #warning
6153         * text.C (updateRowPositions): remove an unusual nop
6154
6155 2003-09-12  André Pönitz  <poenitz@gmx.net>
6156
6157         * BufferView_pimpl.C:
6158         * Bullet.C:
6159         * layout.h:
6160         * lyxfunc.C:
6161         * lyxlayout.[Ch]:
6162         * lyxtextclass.C:
6163         * rowpainter.C:
6164         * text.C:
6165         * text2.C:
6166         * Counters.[Ch]: finish the 'automatic counters' job
6167
6168 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6169
6170         * aspell.C: include <boost/assert.cpp> (compile fix)
6171
6172 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
6173
6174         * boost.C (assertion_failed): use lyx::support::abort instead of
6175         assert.
6176
6177 2003-09-10  Angus Leeming  <leeming@lyx.org>
6178
6179         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
6180         with their _fwd progeny.
6181
6182 2003-09-09  Angus Leeming  <leeming@lyx.org>
6183
6184         134 files throughtout the source tree: replace 'using namespace abc;'
6185         directives with the appropriate 'using abc::xyz;' declarations.
6186
6187 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
6188
6189         * boost.C (emergencyCleanup): moved here from LAssert.c
6190         (assertion_failed): new function, called by BOOST_ASSERT
6191
6192         * several files: change Assert to BOOST_ASSERT
6193
6194 2003-09-09  Angus Leeming  <leeming@lyx.org>
6195
6196         * buffer.[Ch]: Add an Impl class and move Buffer's member
6197         variables into it. As a result move several header files out of
6198         buffer.h.
6199
6200         Add header files to lots of .C files all over the tree as a result.
6201
6202 2003-09-09  Angus Leeming  <leeming@lyx.org>
6203
6204         * buffer.[Ch]: make Buffer's member variables private. Add
6205         accessor functions.
6206
6207         Lots of changes all over the tree as a result.
6208
6209 2003-09-08  Angus Leeming  <leeming@lyx.org>
6210
6211         * graph.C: #include <config.h>.
6212
6213 2003-09-08  Angus Leeming  <leeming@lyx.org>
6214
6215         * BranchList.C:
6216         * BufferView.C:
6217         * BufferView_pimpl.C:
6218         * CutAndPaste.C:
6219         * DepTable.C:
6220         * LaTeX.C:
6221         * LaTeXFeatures.C:
6222         * LyXAction.C:
6223         * MenuBackend.C:
6224         * TextCache.C:
6225         * aspell.C:
6226         * buffer.C:
6227         * bufferlist.C:
6228         * changes.C:
6229         * chset.C:
6230         * converter.C:
6231         * counters.C:
6232         * debug.C:
6233         * graph.C:
6234         * ispell.C:
6235         * lyx_cb.C:
6236         * lyxfind.C:
6237         * lyxfunc.C:
6238         * lyxlex_pimpl.C:
6239         * lyxrc.C:
6240         * lyxrow.C:
6241         * paragraph.C:
6242         * rowpainter.C:
6243         * texrow.C:
6244         * text.C:
6245         * text2.C:
6246         * toc.C: remove redundant using directives.
6247
6248 2003-09-07  Angus Leeming  <leeming@lyx.org>
6249
6250         * LaTeXFeatures.h: remove #include "support/types.h".
6251         * ToolbarBackend.h: remove #include <algorithm>.
6252         * changes.h: remove #include <ctime>.
6253         * debug.h: remove #include <iosfwd>.
6254         * graph.h: remove #include "support/std_string.h".
6255         * lyx_main.h: remove #include <csignal>.
6256         * lyxlex_pimpl.h: remove #include <fstream>.
6257         * sgml.h: remove #include <algorithm>, <utility>.
6258         * toc.h: remove #include "support/std_ostream.h".
6259         Add #include <iosfwd>.
6260
6261 2003-09-07  Angus Leeming  <leeming@lyx.org>
6262
6263         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
6264
6265         * converter.h: forward declare LatexRunParams.
6266         * encoding.h: remove #include "lyxrc.h".
6267         * lyxtext.h: remove #include "LColor.h".
6268         * lyxtextclass.h: remove #include "support/types.h".
6269         * trans.h: remove #include "tex-accent.h".
6270         * trans_mgr.h: remove #include "tex-accent.h".
6271         * insets/inset.h: remove #include "support/types.h", <vector>.
6272         * insets/insetcollapsable.h: remove #include "LColor.h".
6273         * insets/insetinclude.h: remove #include "dimension.h".
6274         * insets/insetlatexaccent.h: remove #include "dimension.h".
6275         * insets/insetoptarg.h:: remove #include "insettext.h".
6276         * insets/insettext.h: remove #include "dimension.h",
6277         <boost/shared_ptr.hpp>
6278
6279         * insets/renderers.h: add #include "dimension.h".
6280         * insets/updatableinset.h: add #include "support/types.h".
6281
6282         * many .C files: Associated changes.
6283
6284 2003-09-06  Angus Leeming  <leeming@lyx.org>
6285
6286         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
6287         one, inside testInvariant.
6288
6289         * PrinterParams.C: new file.
6290         * PrinterParams.[Ch]: move the function bodies out of line.
6291
6292 2003-09-06  Angus Leeming  <leeming@lyx.org>
6293
6294         * ParagraphParameters.h: forward declare ParameterStruct rather than
6295         including its header file.
6296         (depth): moved out-of-line.
6297
6298 2003-09-06  Angus Leeming  <leeming@lyx.org>
6299
6300         * BufferView_pimpl.h:
6301         * kbmap.h:
6302         * kbsequence.h:
6303         * lyxfunc.h: forward declare LyXKeySym rather than
6304         #include "frontends/LyXKeySym.h".
6305
6306         * BufferView_pimpl.C:
6307         * kbmap.C:
6308         * kbsequence.C:
6309         * lyxfunc.C: associated changes.
6310
6311 2003-09-06  Angus Leeming  <leeming@lyx.org>
6312
6313         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6314         As a result, can remove the #include "insets/inset.h" from BufferView.h
6315
6316 2003-09-06  Angus Leeming  <leeming@lyx.org>
6317
6318         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6319         As a result, can remove the #include "insets/inset.h" from BufferView.h
6320
6321 2003-09-06  Angus Leeming  <leeming@lyx.org>
6322
6323         * buffer_funcs.C:
6324         * buffer.h:
6325         * bufferlist.C:
6326         * BufferView.C:
6327         * bufferview_funcs.C:
6328         * BufferView_pimpl.C:
6329         * CutAndPaste.C:
6330         * lyx_cb.C:
6331         * lyxfunc.C:
6332         * paragraph.h:
6333         * ParagraphParameters.C:
6334         * tabular.C:
6335         * text3.C:
6336         * toc.C:
6337         * undo_funcs.C:
6338         * frontends/controllers/ControlDocument.C:
6339         * insets/insetcaption.C: rearrange the #includes into some sort of
6340         coherent order.
6341
6342         * buffer.h: remove #includes ErrorList.h, undo.h
6343
6344 2003-09-06  Angus Leeming  <leeming@lyx.org>
6345
6346         * support/types.h: add a 'depth_type' typedef, used to store the
6347         nesting depth of a paragraph.
6348
6349         * paragraph.h:
6350         * ParameterStruct.h: use this lyx::depth_type typedef rather than
6351         defining explicitly.
6352
6353         * buffer.h:
6354         * paragraph_funcs.h:
6355         * ParagraphParameters.h:
6356         * sgml.h: use lyx::depth_type rather than Paragraph or
6357         ParameterStruct's depth_type.
6358
6359         * buffer.h
6360         * paragraph_funcs.h: no need to #include paragraph.h anymore.
6361
6362         * BufferView.C:
6363         * BufferView_pimpl.C:
6364         * CutAndPaste.C:
6365         * ParagraphParameters.C:
6366         * buffer_funcs.C:
6367         * bufferlist.C:
6368         * bufferview_funcs.C:
6369         * lyx_cb.C:
6370         * lyxfunc.C:
6371         * tabular.C:
6372         * text3.C:
6373         * toc.C:
6374         * undo_funcs.C:
6375         * frontends/LyXView.C:
6376         * frontends/controllers/ControlDocument.C:
6377         * frontends/controllers/ControlErrorList.C:
6378         * insets/insetbibitem.C:
6379         * insets/insetbranch.C:
6380         * insets/insetcaption.C:
6381         * insets/insetcollapsable.C:
6382         * insets/insetenv.C:
6383         * insets/insetert.C:
6384         * insets/insetfloat.C:
6385         * insets/insetfoot.C:
6386         * insets/insetfootlike.C:
6387         * insets/insetnewline.C:
6388         * insets/insetquotes.C:
6389         * insets/insettabular.C:
6390         * insets/insettext.C:
6391         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
6392
6393         * frontends/controllers/ControlChanges.C: #include "changes.h".
6394
6395 2003-09-06  Angus Leeming  <leeming@lyx.org>
6396
6397         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
6398         than #including paragraph.h.
6399
6400         * ParagraphList.h:
6401         * RowList.h: deleted. Superfluous.
6402
6403         * CutAndPaste.h:
6404         * iterators.h:
6405         * lyxcursor.h:
6406         * lyxtext.h:
6407         * text_funcs.h:
6408         * undo.h:
6409         * undo_funcs.h:
6410         * insets/inset.h:
6411         * insets/insettext.h: use ParagraphList_fwd.h rather than
6412         ParagraphList.h.
6413
6414         * paragraph.h: don't forward declare ParagraphList.
6415
6416         * buffer.h:
6417         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
6418         rather than ParagraphList.h. paragraph.h is still needed for the
6419         Paragraph::depth_type parameters.
6420
6421         * textcursor.h: enable it to compile stand-alone in light of the
6422         above changes.
6423
6424         * bufferview_funcs.C:
6425         * iterators.C:
6426         * lyxfunc.C:
6427         * lyxrow_funcs.C:
6428         * paragraph.C:
6429         * rowpainter.C:
6430         * text.C:
6431         * text2.C:
6432         * text3.C:
6433         * text_funcs.C:
6434         * textcursor.C:
6435         * undo.C:
6436         * frontends/controllers/ControlParagraph.C:
6437         * frontends/controllers/ControlTabular.C:
6438         * insets/insetmarginal.C:
6439         * insets/insetminipage.C:
6440         * insets/insetnote.C:
6441         * insets/insetoptarg.C: add header files needed to compile again.
6442
6443 2003-09-06  Angus Leeming  <leeming@lyx.org>
6444
6445         * RowList_fwd.h: new file, forward-declaring Row rather than
6446         #including lyxrow.h.
6447
6448         * lyxrow_funcs.h:
6449         * lyxtext.h:
6450         * paragraph.h:
6451         * insets/insettext.h: use it instead of RowList.h
6452
6453         * bufferview_funcs.C:
6454         * lyxfunc.C:
6455         * lyxrow_funcs.C:
6456         * paragraph.C:
6457         * rowpainter.C:
6458         * text.C:
6459         * text2.C:
6460         * text3.C: #include "RowList.h".
6461
6462 2003-09-05  Angus Leeming  <leeming@lyx.org>
6463
6464         * factory.C (createInset):
6465         * vspace.C (c-tor): replace sscanf call with an istringstream.
6466         * ispell.C: re-add missing HP/UX headers.
6467         * lyxserver.C: re-add missing  os2 headers.
6468
6469 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
6470
6471         * BranchList.C:
6472         * graph.C:
6473         * ispell.C:
6474         * lastfiles.C:
6475         * lyx_cb.C:
6476         * lyxserver.C:
6477         * texrow.C:
6478         * text3.C: re-add missing system headers, needed for 2.95.2.
6479
6480 2003-09-05  Angus Leeming  <leeming@lyx.org>
6481
6482         Changes most place everywhere due to the removal of using directives
6483         from support/std_sstream.h.
6484
6485 2003-09-05  Angus Leeming  <leeming@lyx.org>
6486
6487         Replace LString.h with support/std_string.h,
6488         Lsstream.h with support/std_sstream.h,
6489         support/LIstream.h with support/std_istream.h,
6490         support/LOstream.h with support/std_ostream.h.
6491
6492         Changes resulting throughout the tree.
6493
6494 2003-09-05  Angus Leeming  <leeming@lyx.org>
6495
6496         * sgml.h: ensure that the header file can be compiled stand-alone.
6497         * *.C: strip out redundant #includes. (320 in total.)
6498
6499 2003-09-04  Angus Leeming  <leeming@lyx.org>
6500
6501         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6502         here (from getPackages).
6503
6504         * debug.[Ch]: add a new EXTERNAL tag.
6505
6506 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6507
6508         * text2.C (cursorEnd): simplify
6509         (setCursor): adjust
6510         (getColumnNearX): adjust
6511
6512         * text.C (computeBidiTables): adjust
6513         (fill): adjust
6514
6515         * rowpainter.C (paintChars): adjust
6516         (paintSelection): adjust
6517         (paintChangeBar): adjust
6518         (paintText): adjust
6519
6520         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6521         lastPos instead.
6522         (numberOfSeparators): adjust
6523
6524 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6525
6526         * LyXAction.C:
6527         * box.[Ch]:
6528         * lfuns.h:
6529         * lyxfunc.C:
6530         * text3.C: Restricts the mouse click functionality
6531         of insets like bibtex, include, toc and floatlist to the visible
6532         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6533         up the dialogs. Cursor has to be in front of the inset (i.e.
6534         start of row) for this to function.
6535
6536 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6537
6538         * bufferview_funcs.C (currentState): output row information
6539
6540 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6541
6542         * bufferview_funcs.C (currentState): output paragraph position
6543
6544 2003-09-04  Angus Leeming  <leeming@lyx.org>
6545
6546         * FloatList.h: move out #include "Floating.h".
6547         * LaTeX.h: move out #include "DepTable.h".
6548         * LyXAction.h: move out #include "funcrequest.h".
6549         * buffer.h: move out #include "author.h", "iterators.h".
6550         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6551         * lyx_main.h: move out #include "errorlist.h".
6552         * lyxfunc.h: move out #include "FuncStatus.h".
6553         * lyxtext: move out #include "lyxcursor.h".
6554         * paragraph_pimpl.h: move out #include "counters.h".
6555
6556 2003-09-03  Angus Leeming  <leeming@lyx.org>
6557
6558         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6559         preamble_snippets list, enabling us to add snippets to the preamble
6560         only if the snippet was not there already.
6561
6562 2003-09-04  Angus Leeming  <leeming@lyx.org>
6563
6564         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6565
6566 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6567
6568         * lyxfunc.C (dispatch): if fitCursor did something be sure to
6569         update
6570
6571 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6572
6573         * BranchList.C: point fix, earlier forgotten
6574
6575 2003-09-02  Angus Leeming  <leeming@lyx.org>
6576
6577         * box.C (contains): renamed from 'contained' after a fantastic
6578         amount of hot air.
6579
6580 2003-09-02  John Levon  <levon@movementarian.org>
6581
6582         * BufferView.C:
6583         * lyxcursor.h:
6584         * lyxcursor.C:
6585         * lyxfunc.C:
6586         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6587
6588 2003-09-02  John Levon  <levon@movementarian.org>
6589
6590         * text2.C: simplification of cursorEnd(), including partial
6591         fix for bug 1376
6592
6593 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6594
6595         * buffer.C (readFile): add a space
6596
6597 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
6598
6599         * BufferView_pimpl.C (update): remove bogus fitCursor() call
6600
6601 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6602
6603         * buffer.C (readFile): new function, take a filename and a
6604         ParagraphList::iterator
6605         (readFile): adjust
6606         (readFile): adjust, make it private. don't use setStream, make
6607         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6608         always contain the filename.
6609
6610         * BufferView.C (insertLyXFile): simplify and make it work for
6611         gzipped files.
6612
6613 2003-08-30  John Levon  <levon@movementarian.org>
6614
6615         * Makefile.am: fix dist (from Kayvan)
6616
6617 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6618
6619         * most files: change to use const Buffer refs
6620
6621 2003-08-27  André Pönitz  <poenitz@gmx.net>
6622
6623         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6624         on top of ownerPar().
6625
6626 2003-08-27  John Levon  <levon@movementarian.org>
6627
6628         * funcrequest.C: properly initialise POD members
6629
6630 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6631
6632         * lyxtext.h (top_y): move top_y from here
6633         * text.C:
6634         * text2.C:
6635         * text3.C:
6636         * BufferView.[Ch]:
6637         * BufferView_pimpl.[Ch]: to here
6638         * frontends/screen.C:
6639         * insets/insettabular.C:
6640         * insets/insettext.C: adjust
6641         * rowpainter.[Ch] (paintRows): remove LyXText & argument
6642
6643 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6644
6645         * BufferView.[Ch]:
6646         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6647
6648 2003-08-26  André Pönitz  <poenitz@gmx.net>
6649
6650         * paragraph_func.[Ch] (outerPar): new function
6651
6652         * paragraph.C:
6653         * paragraph_funcs.C:
6654         * paragraph_funcs.h:
6655         * paragraph_pimpl.C:
6656         * text2.C: remove Inset::par_owner
6657
6658 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
6659
6660         * lyxrow_funcs.C:
6661         * lyxtext.h:
6662         * text.C:
6663         * text2.C: eliminates the needFullRow/display() stuff
6664         altogether, putting the logic in metrics/draw in the insets.
6665
6666 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
6667
6668         * text2.C (redoParagraphInternal, redoParagraphs):
6669         * text.C (redoParagraph): add a call to updateRowPositions at the
6670         end of each 'metrics-like' call. Remove all others.
6671         (getRow): remove the 'y-computing' version.
6672         (getRowNearY): do not compute nor return the real y. Solve the
6673         'y < 0' problem and simplify.
6674
6675 2003-08-22  Angus Leeming  <leeming@lyx.org>
6676
6677         * *.[Ch]: clean-up of licence and author blurbs.
6678         Also move config.h out of a few .h files and into a few .C files.
6679
6680 2003-08-22  André Pönitz  <poenitz@gmx.net>
6681
6682         * lyxrow.[Ch]: add x_ and *fill_ members
6683
6684         * lyxtext.h:
6685         * text.C:
6686         * rowpainter.C:
6687         * text2.C: adjust/remove prepareToPrint() calls
6688
6689 2003-08-22  André Pönitz  <poenitz@gmx.net>
6690
6691         * lyxrow.[Ch]: add  end_ member
6692
6693         * lyxrow_funcs.C: use LyXRow::end_
6694
6695         * lyxtext.h (singleWidth): add LyXFont parameter
6696
6697         * rowpainter.C:
6698         * text2.C: adjust LyXText::singleWidth() calls
6699
6700         * text.C (redoParagraph): simplify row breaking logic
6701
6702
6703 2003-08-19  André Pönitz  <poenitz@gmx.net>
6704
6705         * funcrequest.C: initialize button_ member
6706
6707         * text3.C:
6708         * rowpainter.[Ch]: interface consolidation
6709
6710 2003-08-18  André Pönitz  <poenitz@gmx.net>
6711
6712         * BufferView.C:
6713         * BufferView_pimpl.C:
6714         * lyxfind.C:
6715         * paragraph_funcs.C:
6716         * rowpainter.C:
6717         * text3.C: remove LyXScreen::draw() and fitCursor calls
6718
6719         * BranchList.h: remove spurious semicolons
6720
6721         * MenuBackend.C: fix branchlist related crash
6722
6723 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
6724
6725         * BranchList.[Ch]:
6726         * InsetList.[Ch]:
6727         * LColor.[Ch]:
6728         * LyXAction.C:
6729         * Makefile.am:
6730         * MenuBackend.[Ch]:
6731         * bufferparams.[Ch]:
6732         * factory.C:
6733         * lfuns.h:
6734         * lyxfunc.C:
6735         * text3.C: implements the 'branch inset'
6736         idea. This allows the output of various versions of a document
6737         from a single source version, selectively outputing or suppressing
6738         output of parts of the text.
6739         This implementation contains a 'branch list editor' in a separate
6740         tab of the document settings dialog. Branches are user definable
6741         and have a "display colour" to distinguish them on-screen.
6742
6743         ColorHandler was somewhat cleaned up.
6744         (1) make possible a dynamically growing LColor list by allowing
6745         the graphic context cache to grow along (vector);
6746         (2) eliminate an IMHO unnecessary step in colour allocation.
6747
6748 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
6749
6750         * BufferView_pimpl.C: compile fix
6751
6752 2003-08-15  André Pönitz  <poenitz@gmx.net>
6753
6754         * rowpainter.C: remove extra metrics calls
6755
6756         * lyxtext.h: merge the two constructors into a single one,
6757           pass reference to owner's par list
6758
6759         * BufferView_pimpl.C:
6760         * text.C:
6761         * text2.C: adjust
6762
6763 2003-08-15  André Pönitz  <poenitz@gmx.net>
6764
6765         * lyxrow_funcs.[Ch]:
6766         * lyxtext.h:
6767         * paragraph.h:
6768         * paragraph_funcs.C:
6769         * rowpainter.C:
6770         * text.C:
6771         * text2.C:
6772         * text3.C:
6773         * text_funcs.C: split LyXText::rowlist_ into individual
6774         Paragraph::rows_ chunks
6775
6776         * BufferView.[Ch]:
6777         * BufferView_pimpl.[Ch]:
6778         * lyxfind.C:
6779         * lyxtext.h:
6780         * text3.C: remove toggleSelection()
6781
6782 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
6783
6784         * bufferlist.C: beautify two alerts (shorter text of buttons)
6785         * buffer.C: Remove redundant ' ' from message
6786         * tabular.h:
6787         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6788         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6789         rename VALIGN_CENTER to VALIGN_MIDDLE
6790
6791 2003-08-11  André Pönitz  <poenitz@gmx.net>
6792
6793         * lyxtext.h (getPar):
6794         * text.C: new function
6795
6796 2003-08-11  André Pönitz  <poenitz@gmx.net>
6797
6798         * Makefile.am:
6799         * tracer.[Ch]: remove unneeded files
6800
6801         * InsetList.[Ch]: remove resizeInsetsLyXText()
6802
6803         * lyxtext.h:
6804         * text.C:
6805         * text2.C:
6806         * text3.C: merge insertParagraphs() and appendParagraph()
6807         remove breakAgain(), update()
6808
6809         * BufferView_pimpl.[Ch]:
6810         * bufferview_funcs.[Ch]:
6811         * lyxfunc.C:
6812         * paragraph.[Ch]:
6813         * rowpainter.C:
6814         * tabular.C: adjust after text & InsetList changes.
6815
6816 2003-08-08  André Pönitz  <poenitz@gmx.net>
6817
6818         * text.C (insertChar, backspace): replace rowlist fiddling
6819         with rebreak of full par
6820
6821         * lyxtext.h:
6822         * text.C (breakAgainOneRow, redoHeightOfParagraph,
6823         checkParagraph, updateInset): removed
6824
6825 2003-08-07  André Pönitz  <poenitz@gmx.net>
6826
6827         * paragraph.C:
6828         * text3.C: merge some LFUN handlers, remove dead code
6829
6830 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6831
6832         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6833
6834 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
6835
6836         * text2.C (DEPM): fix part of bug 1255 and 1256
6837
6838 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6839
6840         * BufferView_pimpl.C (workAreaDispatch): change to use
6841         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6842         that are no mouse related.
6843
6844 2003-08-05  André Pönitz  <poenitz@gmx.net>
6845
6846         * BufferView.[Ch]:
6847         * BufferView_pimpl.[Ch]:
6848         * bufferview_funcs.C:
6849         * text2.C:
6850         * text3.C: rip out "deep update"
6851
6852         * textcursor.[Ch] (last_sel_cursor): remove unused member
6853
6854 2003-08-04  André Pönitz  <poenitz@gmx.net>
6855
6856         * BufferView.[Ch]:
6857         * BufferView_pimpl.[Ch]:
6858         * ParagraphParameters.C:
6859         * bufferview_funcs.C:
6860         * lyx_cb.C:
6861         * lyxfind.C:
6862         * lyxfunc.C:
6863         * text.C:
6864         * text2.C:
6865         * text3.C: replace "complicated" BufferView::update(...) calls with
6866         simpler ones.
6867
6868         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6869
6870 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
6871
6872         * Makefile.am (lyx_SOURCES): add paper.h
6873
6874 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6875
6876         * Makefile.am: move things around so that both lyx-qt and
6877         lyx-xforms can be built (according to --with-frontend). Then lyx
6878         is a symbolic link to lyx-[firstfrontend]
6879
6880 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
6881
6882         * Always use std::endl with lyxerr
6883
6884 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
6885
6886         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6887
6888 2003-08-01  André Pönitz  <poenitz@gmx.net>
6889
6890         * BufferView.[Ch]:
6891         * BufferView_pimpl.[Ch]:
6892         * lyxfunc.C:
6893         * text3.C: merge BufferView::repaint() and BufferView::update()
6894
6895 2003-08-01  José Matos  <jamatos@lyx.org>
6896
6897         * buffer.[Ch]: file_format is no longer a buffer data element.
6898
6899 2003-08-01  André Pönitz  <poenitz@gmx.net>
6900
6901         * BufferView.C:
6902         * lyxtext.h:
6903         * text.C:
6904         * text2.C: make redoParagraph more independent of current cursor
6905
6906         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6907         * text.C:
6908         * text2.C: remove unneeded members
6909
6910 2003-07-30  André Pönitz  <poenitz@gmx.net>
6911
6912         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6913
6914         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6915           create a single function...
6916
6917         * paragraph_funcs.C (moveItem): ... here.
6918
6919         * text.C:
6920           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6921
6922 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
6923
6924         * LColor.[Ch]: Add comment and greyedout logical colors.
6925
6926 2003-07-30  André Pönitz  <poenitz@gmx.net>
6927
6928         * tabular.C: don't use Assert too heavily. This crashes where it
6929           shouldn't
6930
6931 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
6932
6933         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6934         is disabled (bug 1232)
6935
6936 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6937
6938         * factory.C: limited 'arg' scope
6939
6940 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6941
6942         * factory.C: fixed Note submenu issues
6943
6944 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6945
6946         * factory.C: submenu for Note/Comment/Greyedout
6947
6948 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
6949
6950         * lyx_main.C (LyX):
6951         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6952
6953 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
6954
6955         * LaTeXFeatures.C:
6956         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6957         greyedout. Patch provided by Jürgen Spitzmüller.
6958
6959 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6960
6961         * kbmap.C (read): fix error message when reading bind files
6962
6963 2003-07-29  Angus Leeming  <leeming@lyx.org>
6964
6965         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6966         certainly does not do what it purports to do. I am doing it, and
6967         us, a favour by killing it.
6968
6969 2003-07-28  José Matos  <jamatos@lyx.org>
6970
6971         * buffer.C (readBody, do_writeFile):
6972         * paragraph.C(readParagraph): \end_document replaces \the_end.
6973
6974 2003-07-29  André Pönitz  <poenitz@gmx.net>
6975
6976         * BufferView.[Ch]:
6977         * BufferView_pimpl.[Ch]:
6978         * lyxfunc.C:
6979         * text2.C:
6980         * text3.C:
6981         * textcursor.[Ch]: remove toggleToggle & Co
6982
6983 2003-07-28  José Matos  <jamatos@fep.up.pt>
6984
6985         * buffer.C (readParagraph):
6986         * params_func (readParToken, readParagraph):
6987         * paragraph.C (write): \layout -> \begin_layout.
6988
6989 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6990
6991         * lyxlex_pimpl.C (setFile): clean up slightly.
6992
6993         * bufferparams.h: add compressed var
6994
6995         * buffer_funcs.C (readFile): adjust for LyXLex change
6996         (newFile): ditto + simplify
6997
6998         * buffer.C (writeFile): handle writing of compressed files
6999
7000         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
7001         Check if the file is compressed and set a bufferparm if so.
7002
7003         * Makefile.am (lyx_LDADD): remove explicit -lz
7004
7005 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7006
7007         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
7008         makeDocBookFile): put the real LyX version in the first line of
7009         the file
7010
7011         * version.h:
7012         * version.C.in: remove lyx_docversion
7013
7014         * tabular.C (write_attribute): add a template-based version to
7015         write enums properly
7016
7017 2003-07-28  André Pönitz  <poenitz@gmx.net>
7018
7019         * lyxtext.h:
7020         * text.C:
7021         * text2.C:
7022         * text3.C: use doubles again for x-coordinates. They are needed.
7023
7024 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7025
7026         * messages.C (getLocaleDir): use lyx_localedir()
7027
7028         * lyxlex_pimpl.C (setFile): compress stuff
7029
7030         * buffer.C (writeFile): add some compression stuff
7031         (do_writeFile): new func, dont call expliti close... will this
7032         breake anything?
7033
7034         * Makefile.am (lyx_LDADD): add -lz
7035
7036 2003-07-28  José Matos  <jamatos@fep.up.pt>
7037
7038         * buffer.C: increment file format.
7039         * paragraph_funcs (readParagraph, readParToken):
7040         * paragraph.C (readParagraph): add \end_layout.
7041
7042 2003-07-27  Angus Leeming  <leeming@lyx.org>
7043
7044         * Makefile.am: remove special casing for configure-time setting of
7045         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
7046
7047         * lyx_main.C (init): remove all Jean-Marc's magic setting of
7048         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
7049
7050 2003-07-26  André Pönitz  <poenitz@gmx.net>
7051
7052         * paragraph_func.[Ch]:
7053         * paragraph.C (realizeFont): inline it whereever it is used
7054
7055         * rowpainter.C:
7056         * text.C:
7057         * text2.C:
7058         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
7059
7060
7061 2003-07-26  André Pönitz  <poenitz@gmx.net>
7062
7063         *       lyxtext.h:
7064         * text.C:
7065         * text2.C: get rid of LyXText::need_break_row
7066
7067 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7068
7069         * toc.[Ch]: put namespace toc inside namespace lyx
7070
7071         * MenuBackend.C (expandToc2): adjust for lyx::toc
7072         (expandToc): ditto
7073
7074         * lyxfunc.C (dispatch): adjust for lyx::find
7075
7076         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
7077         lyx::find instead. Reorganize a bit.
7078         (LyXReplace): rename to replace
7079         (LyXFind): rename to find
7080
7081         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
7082         (dispatch): ditto
7083
7084 2003-07-26  André Pönitz  <poenitz@gmx.net>
7085
7086         * text.C (setHeightOfRow): restrict scope of temporary variable
7087
7088         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
7089           code (never has been used?)
7090
7091 2003-07-27  Asger Alstrup  <alstrup@local>
7092
7093         * text.C (fill): Optimise algorithm to exploit that we can reuse
7094         the LyXFont for many characters.
7095         (setHeightOfRow): Same thing.
7096         (rowBreakPoint): Same thing.
7097
7098 2003-07-26  Asger Alstrup  <alstrup@local>
7099
7100         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
7101
7102         * text.C (singleWidth): Spurious font copying in hot-spot
7103         singleWidth avoided. Reorder tests for arabic for efficiency.
7104
7105         * text.C (fill): handle empty paragraphs better.
7106
7107 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7108
7109         * ispell.C:
7110         * encoding.h: add includes
7111
7112         * lyxrc.C: remove reading of bind files
7113
7114         * lyx_main.C (init): setup bindings and menus only if we have a
7115         gui.
7116
7117         * kbmap.C (read): new method. Do the actual reading of bind
7118         files.
7119
7120         * converter.C (dvipdfm_options):
7121         * bufferparams.C:
7122         * lyxrc.C (read):
7123         (output): adapt PAPER_* enums.
7124
7125         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
7126
7127         * bufferparams.h: remove paper-related enums from there
7128
7129         * paper.h: New file. A trivial header file to hold paper-related
7130         enums. It should later expand to contain many paper-related
7131         horrors access.
7132
7133         * lyxrc.C: declare extern displayTranslator
7134
7135 2003-07-27  José Matos  <jamatos@fep.up.pt>
7136
7137         * tabular.[Ch] (linuxdoc): add support for tables and figures
7138         (linuxdoc).
7139
7140 2003-07-27  José Matos  <jamatos@fep.up.pt>
7141
7142         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
7143         consistency in both functions.
7144         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
7145
7146 2003-07-26  Asger Alstrup  <alstrup@local>
7147
7148         * rowpainter.C (paintRows): Change algorithm to work directly on
7149         the insets rather than asking every character in the document
7150         whether its an inset.
7151
7152 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
7153
7154         * buffer.C (openFileWrite): factorize some code
7155
7156 2003-07-26  Angus Leeming  <leeming@lyx.org>
7157
7158         * lyx_cb.C:
7159         * lyx_main.[Ch]: replace occurances of system_tempdir with
7160         os::getTmpDir().
7161
7162 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7163
7164         * rename Inset to InsetOld
7165
7166 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
7167
7168         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
7169         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
7170         which I think is a bit clearer. EDIT is gone, since it was
7171         premature optimisation, and broken for mathed anyway.
7172         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
7173         with cursor positioning in insets as well (math insets still do not
7174         work, but that's a different story anyway.) It mysteriously
7175         crashes sometimes with undo in the first paragraph, but I'm fairly
7176         confident that this is a compiler bug.
7177
7178 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7179
7180         * paragraph.C (Paragraph): adjust for new clone return type
7181         (operator==): ditto
7182         (copyIntoMinibuffer): ditto
7183
7184 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
7185
7186         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
7187         by not having a special case, and always doing a full rebreak of
7188         the document after undo.
7189
7190 2003-07-23  Angus Leeming  <leeming@lyx.org>
7191
7192         * factory.C (createInset): InsetExternal::setParams now takes a
7193         Buffer const * arg.
7194
7195 2003-07-23  Angus Leeming  <leeming@lyx.org>
7196
7197         * factory.C (createInset): changed interface to the external and
7198         graphics mailers' string2params functions.
7199
7200 2003-07-23  Angus Leeming  <leeming@lyx.org>
7201
7202         * factory.C (createInset): pass a
7203         Buffer const * parameter to InsetExternalMailer's string2params.
7204
7205 2003-07-22  John Levon  <levon@movementarian.org>
7206
7207         * Thesaurus.h: include the right aiksaurus header
7208
7209 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7210
7211         * MenuBackend.C (expand): check menu shortcuts unconditionally
7212
7213 2003-07-21  Angus Leeming  <leeming@lyx.org>
7214
7215         * factory.C (createInset): pass a
7216         buffer_path parameter to InsetGraphicsMailer's string2params.
7217
7218 2003-07-21  Angus Leeming  <leeming@lyx.org>
7219
7220         * BufferView_pimpl.C (buffer):
7221         * buffer.C (d-tor):
7222         * lyx_main.C (LyX):
7223         * lyxfunc.C (dispatch):
7224         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
7225         rather than the grfx shortcut.
7226
7227 2003-07-21  André Pönitz  <poenitz@gmx.net>
7228
7229         * rowpainter.C: remove unused variables
7230
7231         * tabular_funcs.C:
7232         * tabular_funcs.h: move to tabular.C
7233         * Makefile.am: adjust
7234
7235         * tabular.[Ch]: basic optical cleaning
7236
7237         * author.h: pass references, not values
7238
7239 2003-07-18  André Pönitz  <poenitz@gmx.net>
7240
7241         * lyxtext.h:
7242         * metricsinfo.C:
7243         * metricsinfo.h:
7244         * rowpainter.C:
7245         * text.C:
7246         * text2.C:
7247         * text3.C: two-phase drawing for InsetText and InsetTabular
7248         some float -> int changes.
7249
7250 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
7251
7252         * lyx_main.C: fix the fix
7253
7254 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
7255
7256         * lyx_main.C: fix a crash in batch mode if no files specified
7257         * converter.C: ws
7258
7259 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
7260
7261         * format.[Ch] (papersize): moved to BufferParams
7262         * converter.[Ch] (dvips_options): moved to BufferParams
7263         (dvipdfm_options): moved to anon namespace
7264         * bufferparams.[Ch]: added above functions.
7265
7266 2003-07-17  André Pönitz  <poenitz@gmx.net>
7267
7268         * lyxtext.h:
7269         * rowpainter.C:
7270         * text2.C: don't call inset->update() anymore
7271
7272         * metricsinfo.[Ch]: add convenience constructor
7273
7274 2003-07-16  André Pönitz  <poenitz@gmx.net>
7275
7276         * lyxcursor.[Ch]:
7277         * lyxfunc.[Ch]:
7278         * text.C:
7279         * text2.C: replace the LyXCursor::irow_ member with
7280          on-demand computation of the value
7281
7282 2003-07-16  John Levon  <levon@movementarian.org>
7283
7284         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
7285
7286 2003-07-15  André Pönitz  <poenitz@gmx.net>
7287
7288         * text.C:
7289         * text2.C: remove no more needed refresh_row
7290
7291 2003-07-15  André Pönitz  <poenitz@gmx.net>
7292
7293         * lyxtext.h:
7294         * rowpainter.C:
7295         * text2.C:
7296         * text3.C: refresh_status tristate -> need_update bool
7297
7298 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
7299
7300         * lyxtext.h (init): remove reinit argument (act as if always true)
7301         * text2.C: adjust to that
7302
7303 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7304
7305         * bufferview_funcs.[Ch]: introduce function replaceSelection()
7306         * text3.C: use it to delete selections in some cases
7307         (bugs 441, 673, 702, 954).
7308
7309 2003-07-14  André Pönitz  <poenitz@gmx.net>
7310
7311         * rowpainter.[Ch]: reduce interface
7312
7313 2003-07-14  André Pönitz  <poenitz@gmx.net>
7314
7315         * BufferView_pimpl.C:
7316         * text2.C: adjust after removing unused BufferView * argument
7317
7318 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
7319
7320         * text2.C (init): fix a crash fired on resize
7321
7322 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
7323
7324         * buffer.[Ch]: added new closing signal
7325         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
7326         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
7327         BufferView::Pimpl via the closing the signal
7328
7329 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
7330
7331         * buffer.[Ch]: take out all bv-related from buffer
7332         * BufferView.C:
7333         * BufferView_pimpl.[Ch]: connect to new signals
7334         * CutAndPaste.C: removed useless asserts
7335         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
7336         * lyxvc.[Ch]:
7337         * vc-backend.[Ch]:
7338         * lyxfunc.C: moved view-related funciontality from vc here
7339         * paragraph.C: removed outdated comments
7340         * text.C: ws
7341
7342 2003-07-10  André Pönitz  <poenitz@gmx.net>
7343
7344         * BufferView_pimpl.C:
7345         * tabular.h:
7346         * tabular_funcs.C:
7347         * text.C:
7348         * text2.C: remove InsetText::InnerCache, clean up consequences
7349
7350 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
7351
7352         * ispell.C: fix two typos in error messages
7353
7354 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
7355
7356         * Extend Note inset to other forms of annotation like Comment
7357         and Greyedout. Right button click gives dialog.
7358
7359         Files modified or added (+):
7360
7361         * insetnote.[Ch]
7362         * FormNote.[Ch]      +
7363         * ControlNote.[Ch]   +
7364         * form_note.fd       +
7365         * Makefile.am in frontends/xforms, frontends/xforms/forms,
7366         frontends/controllers
7367         * xforms/Dialogs.C
7368         * factory.C
7369
7370 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7371
7372         * aspell.C: add missing namespace lyx::support
7373
7374 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
7375
7376         * BufferView.[Ch] (newFile): Add
7377         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
7378         * LaTeX.[Ch] (message): added this signal and use it
7379         * buffer.[Ch] (busy, message): added these signals and use them
7380         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
7381         * converter.C:
7382         * exporter.C:
7383         * format.C:
7384         * importer.C: use buffer signals instead of direct bv calling
7385         * lyx_cb.[Ch] (ShowMessage): removed
7386         * lyx_main.C:
7387         * lyxfunc.C:
7388         * paragraph_funcs.C:
7389         * text2.C: use buffer signals
7390
7391 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7392
7393         * introduce namespace lyx::graphics
7394
7395 2003-07-02  André Pönitz  <poenitz@gmx.net>
7396
7397         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
7398
7399 2003-07-01  André Pönitz  <poenitz@gmx.net>
7400
7401         * text.C:
7402         * text2.C:
7403         * text3.C:
7404         * text_funcs.[Ch]:
7405         * textcursor.h:
7406         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
7407           text*.C to text_func.C
7408
7409 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7410
7411         * introduce namespace lyx::support
7412
7413 2003-06-30  André Pönitz  <poenitz@gmx.net>
7414
7415         * Chktex.C:
7416         * funcrequest.C:
7417         * lyxtext.h:
7418         * text.C: re-enable --with-included-string
7419
7420 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7421
7422         * textcursor.C: add <config.h>
7423
7424         * text.C (getWord): remove const from word_location arg
7425
7426         * lyxvc.C (getLogFile): fix const type order
7427
7428         * lyxtext.h: remove const from word_location arg, add arg name
7429
7430         * lyxlayout.h: currect type on labeltype.
7431
7432         * importer.C: correct \file
7433
7434         * converter.C (intToFormat): use std:: on ret val, ws changes
7435
7436         * bufferlist.h: correct \file
7437
7438         * buffer.C (makeLinuxDocFile): fix const type order
7439         (makeDocBookFile): ditto
7440         (fillWithBibKeys): use std:: on stdlib args.
7441
7442         * CutAndPaste.C: fix authors.
7443         (availableSelections): use std:: on return vector
7444
7445 2003-06-27  André Pönitz  <poenitz@gmx.net>
7446
7447         * BufferView_pimpl.C:
7448         * bufferview_funcs.C:
7449         * lyxcursor.C:
7450         * lyxcursor.h:
7451         * lyxfunc.C:
7452         * lyxtext.h:
7453         * rowpainter.C:
7454         * text.C:
7455         * text2.C:
7456         * text3.C: remove LyXCursor::row_ member
7457
7458         * lyxtext.h:
7459         * text.C: rename fullRebreak() to partialRebreak() and implement
7460           a fullRebreak() that really bereks fully
7461
7462         * textcursor.h: new struct for cursor-related data
7463
7464 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
7465
7466         * lyx_main.C (LyX): get full path of document loaded on the
7467         command line
7468
7469 2003-06-26  André Pönitz  <poenitz@gmx.net>
7470
7471         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7472           remove unused/broken operator>,<,>=.
7473
7474         *       text.C: remove only use of broken operator<= in an Assert().
7475
7476 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7477
7478         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7479         moved errorlist_.clear to showErrorList
7480
7481 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7482
7483         * converter.C (scanLog, runLaTeX):
7484         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7485         move the bv->showErrorList call to the callers
7486         * lyxfunc.C: i.e. here...
7487         * text2.C: and here
7488         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7489         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7490         namespace, the second to...
7491         * buffer_funcs (BufferFormat, parseErrors): added
7492         * errorlist.C (ErrorList(TeXErrors const &)): removed
7493
7494 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7495
7496         * ToolbarBackend.C (getIcon): complain when icon cannot be found
7497
7498 2003-06-24  "Garst R. Reese" <reese@isn.net>
7499
7500         * debug.C: fix typo
7501
7502 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7503
7504         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7505
7506         * version.C.in: change docversion to 1.4
7507
7508 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
7509
7510         * buffer.C: fix a bug just introduced
7511
7512 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
7513
7514         * buffer.[Ch]: added the parseError signal and use it, removed
7515         sgmlError
7516         * BufferView.[Ch] (addError): moved to ...
7517         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7518         to the Buffer::parseError signal to catch (guess what) parse errors
7519         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7520
7521 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
7522
7523         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7524         ability to create a buffer and to return an existing one from
7525         the list. Moved these functions to...
7526         * buffer_funcs.[Ch]: added
7527         * BufferView.[Ch] (loadLyXFile): added
7528         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7529         job removed from bufferlist::loadLyXFile.
7530         * buffer.C (setReadOnly): make it work without view
7531         (i.e added an if (users))
7532
7533 2003-06-19  Angus Leeming  <leeming@lyx.org>
7534
7535         * lfuns.h:
7536         * LyXAction.C (init):
7537         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7538         with LFUN_DIALOG_SHOW <name> <data>.
7539
7540 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7541
7542         * CutAndPaste.C (availableSelections): small compilation fix for
7543         ancient (gcc 2.9x) compilers
7544
7545 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
7546
7547         * text3.C (cursorNext): add tmp var
7548
7549         * text2.C (updateCounters): for function calling out of for clause
7550         (replaceSelectionWithString): ditto
7551         (insertStringAsParagraphs): ditto
7552         (getColumnNearX): add tmp var
7553         (setCursorFromCoordinates): add tmp var
7554         (cursorDownParagraph): add tmp var
7555         (deleteEmptyParagraphMechanism): add tmp var
7556
7557         * text.C (insertChar): add tmp var
7558
7559         * rowpainter.C (paintDepthBar): add tmp var
7560
7561         * CutAndPaste.C (availableSelections): potentially check all
7562         paragraphs in a cut to fill the shown strings.
7563
7564 2003-06-18  André Pönitz  <poenitz@gmx.net>
7565
7566         * kbmap.[Ch]: use vector<> instead of list<>
7567
7568 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
7569
7570         * text3.C (dispatch): handle arg to LFUN_PASTE, call
7571         pasteSelection with index
7572
7573         * text2.C (pasteSelection): modify, call pasteSelection with index
7574
7575         * paragraph.C (asString): reimplement version with no interval to
7576         call the one with interval.
7577
7578         * lyxtext.h: add index arg to pasteSelection
7579
7580         * MenuBackend.C (MenuItem): handle PasteRecent
7581         (Menu::read::Menutags): add md_pasterecent
7582         (read): handle it
7583         (expandPasteRecent): new function
7584         (expand): use it
7585
7586         * MenuBackend.h: add PasteRecent to MenuItem::Kind
7587
7588         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7589         the limited stack
7590         (availableSelections): new function
7591
7592 2003-06-17  Angus Leeming  <leeming@lyx.org>
7593
7594         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7595
7596 2003-06-17  Angus Leeming  <leeming@lyx.org>
7597
7598         * lfuns.h:
7599         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7600
7601         * lyxfunc.C (dispatch): invoke it.
7602
7603 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7604
7605         * iterators.C (operator++, ParPosition): reintroduce some
7606         const_cast for the benefit of older compilers.
7607
7608 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7609
7610         * text3.C (dispatch): do not modify clipboard when doing
7611         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7612         LFUN_DELETE_SKIP on a selection selection
7613
7614 2003-06-16  André Pönitz  <poenitz@gmx.net>
7615
7616         * BufferView.C:
7617         * buffer.C:
7618         * buffer.h:
7619         * paragraph.C:
7620         * tabular.[Ch]: IU of clone() and getLabelList();
7621
7622 2003-06-13  André Pönitz  <poenitz@gmx.net>
7623
7624         * tabular.h: compactification
7625
7626 2003-06-12  André Pönitz  <poenitz@gmx.net>
7627
7628         * tabular.C:
7629         * tabular.h:
7630         * tabular_funcs.h: some renaming plus whitespace
7631
7632 2003-06-12  André Pönitz  <poenitz@gmx.net>
7633
7634         * BufferView.C:
7635         * BufferView_pimpl.C:
7636         * CutAndPaste.C:
7637         * buffer.C:
7638         * iterators.[Ch]:
7639         * lyxfunc.C:
7640         * text.C:
7641         * toc.C: Return a Paragraph & for ParIterator::operator*()
7642
7643 2003-06-11  John Levon  <levon@movementarian.org>
7644
7645         * lyx_main.C:
7646         * ToolbarBackend.h:
7647         * ToolbarBackend.C: add "Toolbars" section and
7648         put the flags there
7649
7650 2003-06-10  Angus Leeming  <leeming@lyx.org>
7651
7652         * lfuns.h:
7653         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7654
7655         * lyxfunc.C (dispatch): invoke it.
7656
7657 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7658
7659         * main.C: protect <ios> with HAVE_IOS
7660         (main): protect sync_with_stdio with HAVE_IOS
7661
7662 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
7663
7664         * text2.C (cutSelection): adjust
7665         (pasteSelection): adjust
7666
7667         * messages.C: handle get of empty string
7668
7669         * main.C (main): use sync_with_stdio(false)
7670
7671         * lyxfunc.C (dispatch): adjust
7672
7673         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7674         (WriteAs): remove unneeded BufferView arg.
7675
7676         * bufferparams.h: use correct types on papersize, papersize2 and
7677         paperpackage.
7678
7679         * bufferparams.C (readToken): adjust for type
7680         (writeLaTeX): add missing cases to switch.
7681
7682         * bufferlist.C (quitWriteBuffer): adjust
7683         (close): adjust
7684
7685         * buffer.C (asciiParagraph): remove some commented code.
7686
7687         * CutAndPaste.C: remove current_view extern variable.
7688         (cutSelection): add BufferParams arg.
7689         (eraseSelection): add BufferParams arg.
7690         (pasteSelection): add Buffer const & arg
7691
7692 2003-06-07  John Levon  <levon@movementarian.org>
7693
7694         * buffer.C:
7695         * paragraph_funcs.C:
7696         * paragraph_pimpl.C:
7697         * text.C:
7698         * text2.C:
7699         * paragraph.h:
7700         * paragraph.C: allow InsetERT to freely space lines,
7701         and some consolidation of code
7702
7703 2003-06-06  José Matos  <jamatos@fep.up.pt>
7704
7705         * buffer.C (makeDocBookFile): fix bug #821
7706
7707 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
7708
7709         * BufferView_pimpl.C (dispatch): use Dialogs::visible
7710
7711 2003-06-04  Angus Leeming  <leeming@lyx.org>
7712
7713         * buffer.C: bump format to 224.
7714
7715 2003-06-05  André Pönitz  <poenitz@gmx.net>
7716
7717         * text2.C (redoParagraphs): remove two const_cast<>
7718
7719 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
7720
7721         * ParagraphList.h: remove last remnants of NO_STD_LIST
7722
7723 2003-06-03  Angus Leeming  <leeming@lyx.org>
7724
7725         * factory.C (createInset): small change to the way InsetExternal's params
7726         are set.
7727
7728 2003-06-04  André Pönitz  <poenitz@gmx.net>
7729
7730         * buffer.h: use Undo directly instead of shared_ptr<Undo>
7731
7732         * paragraph_pimpl.h:
7733         * paragraph.[Ch]: some Inset -> UpdatableInset changes
7734
7735         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7736
7737         * undo_funcs.C: make some simple cases of undo work again
7738
7739 2003-06-03  John Levon  <levon@movementarian.org>
7740
7741         * ispell.C: HPUX doesn't have sys/select.h
7742         (from Albert Chin)
7743
7744 2003-06-03  John Levon  <levon@movementarian.org>
7745
7746         * CutAndPaste.C: update tabular and include inset
7747         buffer references
7748
7749         * buffer.h:
7750         * paragraph.h:
7751         * paragraph.C: remove owningBuffer(), don't pass Buffer
7752         to clone()
7753
7754         * factory.C: insetGraphicsParams changed
7755
7756 2003-06-02  John Levon  <levon@movementarian.org>
7757
7758         * LyXAction.C:
7759         * factory.C:
7760         * lfuns.h:
7761         * lyxfunc.C:
7762         * text3.C: remove insetparent
7763
7764 2003-06-02  John Levon  <levon@movementarian.org>
7765
7766         * buffer.h:
7767         * buffer.C: fix inset_iterator.end(), move out of line
7768         (bug 1149)
7769
7770 2003-06-01  John Levon  <levon@movementarian.org>
7771
7772         * text3.C: use a proper cut/paste when doing inset
7773         insert (from Jürgen Spitzmüller)
7774
7775 2003-06-01  John Levon  <levon@movementarian.org>
7776
7777         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7778
7779 2003-05-30  André Pönitz  <poenitz@gmx.net>
7780
7781         * rowpainter.C: unify second drawing phase
7782
7783 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7784
7785         * trans_mgr.C: remove one case of current_view
7786
7787         * text2.C (cursorBottom): delete NO_STD_LIST stuff
7788
7789         * paragraph_funcs.h: remove paragraph.h include
7790
7791         * paragraph.h: delete NO_STD_LIST stuff
7792
7793         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7794
7795         * buffer.h: remove paragraph.h include
7796
7797         * ParagraphList.C: delete file
7798
7799         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7800
7801         * toc.C (getTocList): adjust
7802
7803         * paragraph_pimpl.C (validate): adjust
7804
7805         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7806
7807         * paragraph.C (Paragraph): adjust
7808         (getPositionOfInset): use const_iterator, adjust
7809         (bibitem): use const_iterator, adjust
7810         (setInsetOwner): adjust
7811
7812         * iterators.C (operator++): adjust
7813
7814         * InsetList.[Ch]: Replace selfmade iterator with standard
7815         vector::iterator also introduce const_iterator. Remove getPos,
7816         getInset and setInset from InsetTable. Adjust accordingly.
7817
7818         * BufferView.C (lockInset): adjust
7819         (ChangeInsets): adjust
7820
7821         * tabular.[Ch]: delete commented same_id functions
7822
7823 2003-05-28  John Levon  <levon@movementarian.org>
7824
7825         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7826
7827 2003-05-28  André Pönitz  <poenitz@gmx.net>
7828
7829         * metricsinfo.[Ch]: remove 'fullredraw' member
7830
7831 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
7832
7833         * lyxtextclass.C (operator): remove caching.
7834
7835 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7836
7837         * text3.C: adjust
7838
7839         * text2.C (cursorBottom): adjust
7840         (setCounter): use ParagraphList::find, adjust
7841
7842         * text.C (workWidth): use ParagraphList::find, adjust
7843
7844         * lyxcursor.C (LyXCursor): adjust
7845
7846         * buffer.C (inset_iterator): adjust
7847
7848         * ParagraphList.h: make iterator(value_type) private, make
7849         ParagraphList a friend of iterator.
7850
7851         * ParagraphList.C (find): new function
7852
7853         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7854
7855 2003-05-27  André Pönitz  <poenitz@gmx.net>
7856
7857         * dimension.[Ch]: a -> asc, d -> des, w -> wid
7858
7859 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7860
7861         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7862
7863 2003-05-26  John Levon  <levon@movementarian.org>
7864
7865         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7866
7867 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7868
7869         * remove same_id from function signatures, adjust.
7870
7871 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7872
7873         * undo_funcs.C (createUndo): use the id functions directly, adjust.
7874
7875         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7876
7877         * paragraph.C (Paragraph): get rid of same_ids parameter
7878
7879         * ParagraphList.C (insert): adjust
7880         (push_back): adjust
7881
7882 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7883
7884         * paragraph_funcs.C (breakParagraph): adjust
7885         (breakParagraphConservative): adjust
7886
7887         * buffer.C (readParagraph): adjust
7888
7889         * ParagraphList.C (insert): take a reference instead of a pointer
7890         (insert): adjust
7891
7892         * paragraph.[Ch] (id): new function
7893
7894         * bufferlist.C (newFile): adjust
7895
7896         * ParagraphList.C (ParagraphList): adjust
7897         (assign): adjust
7898         (push_back): take a reference instead of a pointer.
7899
7900         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7901
7902         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7903         instead.
7904
7905         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7906         set else use old code.
7907
7908         * ParagraphList.C: remove all NO_NEXT code and only compile this
7909         code of NO_STD_LIST is set.
7910
7911 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7912
7913         * BufferView_pimpl.C:
7914         * TextCache.C:
7915         * TextCache.h:
7916         * bufferlist.C:
7917         * errorlist.h:
7918         * format.C:
7919         * format.h:
7920         * graph.C:
7921         * lyxfunc.C:
7922         * lyxrc.C:
7923         * graphics/GraphicsConverter.C:
7924         * graphics/PreviewLoader.C: header adjustment
7925
7926 2003-05-23  Angus Leeming  <leeming@lyx.org>
7927
7928         * LaTeXFeatures.[Ch] (useBabel): new method.
7929         * bufferparams.C (writeLaTeX): use it.
7930
7931 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7932
7933         * ParagraphList.h (set): remove unused function.
7934
7935 2003-05-23  André Pönitz  <poenitz@gmx.net>
7936
7937         * BufferView.C:
7938         * BufferView_pimpl.C:
7939         * buffer.C:
7940         * buffer.h:
7941         * lyxfunc.C:
7942         * undo_funcs.C: setUndo reworked
7943
7944         * iterators.[Ch]: add access to topmost ParagraphList
7945
7946         * lyxtext.[Ch] (workWidth): add a const
7947
7948 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7949
7950         * texrow.[Ch] (increasePos): remove function
7951         * exporter.C (export): removed unused var and outdated comment
7952
7953 2003-05-23  Angus Leeming  <leeming@lyx.org>
7954
7955         * latexrunparams.h: rename fragile as moving_arg.
7956         * paragraph.C (simpleTeXOnePar): ditto.
7957         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7958
7959 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7960
7961         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7962         (createUndo): ditto
7963         (textUndoOrRedo): comment out a currently unused var.
7964
7965         * paragraph.h (NO_NEXT): enable NO_NEXT
7966
7967         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7968
7969         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7970
7971         * exporter.C (Export): adjust for removeAutoInsets removal.
7972
7973         * buffer.C (runChktex): adjust for removeAutoInsets removal.
7974
7975         * LyXAction.C (init): remove LFUN_REMOVEERRORS
7976
7977         * BufferView.[Ch] (removeAutoInsets): delete function
7978
7979 2003-05-22  Angus Leeming  <leeming@lyx.org>
7980
7981         * latexrunparams.h: add a free_spacing variable.
7982
7983         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7984         to pass moving_arg, as the data is stored in runparams.fragile.
7985
7986         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7987         to Inset::latexOptional or to simpleTeXOnePar.
7988
7989         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7990         free_spacing arg to Inset::latexOptional.
7991
7992         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7993         free_spacing arg.
7994
7995 2003-05-22  Angus Leeming  <leeming@lyx.org>
7996
7997         * latexrunparams.h: add fragile and use_babel variables.
7998
7999         * bufferparams.[Ch] (writeLaTeX): return use_babel.
8000         * buffer.C (makeLaTeXFile): store this returned value in
8001         runparams.use_babel, thus passing it to the inset::latex methods.
8002
8003         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
8004         simpleTeXSpecialChars as it is now stored in runparams.fragile.
8005
8006         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
8007         longer has a fragile arg, as it is stored in runparams.fragile.
8008
8009         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
8010         moving_arg parameter as the data is stored in runparams.fragile.
8011
8012         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
8013         a fragile parameter as the data is stored in runparams.fragile.
8014
8015 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8016
8017         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
8018
8019 2003-05-22  Angus Leeming  <leeming@lyx.org>
8020
8021         * latexrunparams.h: add a 'bool nice' which defaults to false.
8022
8023         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
8024         now encapsulated within runparams.
8025
8026         * bufferlist.C (updateIncludedTeXfiles):
8027         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
8028
8029 2003-05-22  Angus Leeming  <leeming@lyx.org>
8030
8031         * latexrunparams.h: new file containing struct LatexRunParams.
8032         * Makefile.am: add new file.
8033
8034         * LaTeX.[Ch] (c-tor, run):
8035         * buffer.[Ch] (makeLaTeXFile):
8036         * bufferlist.[Ch] (updateIncludedTeXfiles):
8037         * converter.C (convert, scanLog):
8038         * converter.[Ch] (runLaTeX):
8039         * exporter.C (Export):
8040         * paragraph.[Ch] (simpleTeXOnePar):
8041         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
8042         * paragraph_funcs.[Ch] (latexParagraphs):
8043         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
8044         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
8045         pass around a LatexRunParams parameter.
8046
8047 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8048
8049         * paragraph.[Ch]: remove unused constructor
8050
8051         * ParagraphList.C (erase): new function, taking two iterators
8052
8053 2003-05-22  André Pönitz  <poenitz@gmx.net>
8054
8055         * undo_funcs.C: remove duplicated code
8056
8057         * iterator.[Ch]: operator=
8058
8059 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8060
8061         * tabular.C (SetMultiColumn): ws changes
8062
8063         * rowpainter.C (paintFirst): get rid of a ->previous
8064
8065         * lyx_cb.C (getPossibleLabel): parlist simplification
8066
8067         * BufferView.C (ChangeInsets): simplify slightly.
8068
8069 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
8070
8071         * LyXAction.C: new lfun space-insert, kill protected-space-insert
8072         * lfuns.h: new LFUN_SPACE
8073         * lyxfunc.C: protected space has a new lfun
8074         * paragraph_funcs.C: read new space insets
8075         * text3.C:
8076         * factory.C: handle new space insets
8077
8078 2003-05-22  André Pönitz  <poenitz@gmx.net>
8079
8080         * BufferView.C:
8081         * BufferView_pimpl.C:
8082         * buffer.[Ch]:
8083         * lyxfunc.C:
8084         * undo_funcs.C: return a ParIterator from getParFromID.
8085
8086         * iterators.[Ch]: add two const's
8087
8088 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
8089
8090         * toc.C (getTocList): adjust
8091
8092         * iterators.[Ch]: rework for parlist
8093
8094         * buffer.C (par_iterator_begin): adjust
8095         (par_iterator_end): adjust
8096
8097         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
8098
8099         * BufferView.C (removeAutoInsets): adjust
8100         (ChangeInsets): adjust
8101
8102 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
8103
8104         * text.C (top_y): fix bug 1110
8105
8106 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
8107
8108         * errorlist.[Ch]: added
8109         * buffer.C:
8110         * BufferView.[Ch]:
8111         * BufferView_pimpl.C:
8112         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
8113         instead
8114
8115 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8116
8117         * Makefile.am: ensure that lyx is relinked upon changes to the
8118         various "convenience" libs.
8119
8120 2003-05-20  Angus Leeming  <leeming@lyx.org>
8121
8122         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
8123         files are compiled in alphabetical order again.
8124
8125         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
8126
8127 2003-05-19  Angus Leeming  <leeming@lyx.org>
8128
8129         * gettext.[Ch]: remove "char const * _(char const *)".
8130
8131 2003-05-19  André Pönitz  <poenitz@gmx.net>
8132
8133         * dimension.[Ch]: promote from mathed/dimension.[Ch]
8134
8135         * Makefile.am:
8136         * BufferView.C:
8137         * DepTable.h:
8138         * LaTeXFeatures.C:
8139         * buffer.C:
8140         * lyxfont.C:
8141         * lyxlex.h:
8142         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
8143
8144 2003-05-19  André Pönitz  <poenitz@gmx.net>
8145
8146         * buffer.C:
8147         * lyxlayout.[Ch]:
8148         * lyxtextclass.[Ch]:
8149         * paragraph.C:
8150         * paragraph_funcs.[Ch]:
8151         * text2.C:
8152         * text3.C: more insetenv work
8153
8154 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
8155
8156         * ParagraphParameters.C (params2string): small bug fixed
8157
8158 2003-05-16  André Pönitz  <poenitz@gmx.net>
8159
8160         * debug.C:
8161         * bufferview_funcs.C: patch from Kornel Benko to prevent
8162           crash when _(...) is called twice in a statement
8163
8164 2003-05-16  André Pönitz  <poenitz@gmx.net>
8165
8166         * BufferView.C:
8167         * lyxfunc.C:
8168         * text.C:
8169         * text2.C:
8170         * text3.C:
8171         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
8172
8173 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
8174
8175         * lyx_main.C (init): remove spurious static_cast
8176
8177 2003-05-14  André Pönitz  <poenitz@gmx.net>
8178
8179         * BufferView.C: fix format string
8180
8181 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
8182
8183         * BufferView.[Ch] (insertErrors): removed
8184         * BufferView.[Ch] (showErrorList): added
8185         * buffer.C (runChkTeX):
8186         * converter.C (scanLog): call showErrorList instead of inserterrors
8187
8188 2003-05-13  André Pönitz  <poenitz@gmx.net>
8189
8190         * BufferView_pimpl.C:
8191         * buffer.C:
8192         * bufferview_func.C:
8193         * MenuBackend.C:
8194         * lyxfunc.C:
8195         * lyxrc.C:
8196         * tex-accent.C:
8197         * text3.C:
8198         * toc.C:
8199         * tabular_funcs.h: tostr() from its own header
8200
8201         * ParagraphParameters.C:
8202         * ToolbarBackend.C:
8203         * bufferparams.C:
8204         * format.C:
8205         * lyxlex_pimpl.C:
8206         * text3.C: STRCONV()
8207
8208 2003-05-12  André Pönitz  <poenitz@gmx.net>
8209
8210         * BufferView.C:
8211         * BufferView_pimpl.C:
8212         * CutAndPaste.C:
8213         * LaTeX.C:
8214         * LaTeXFeatures.C:
8215         * ParagraphParameters.C:
8216         * buffer.C:
8217         * bufferlist.C:
8218         * bufferparams.C:
8219         * bufferview_funcs.C:
8220         * converter.C:
8221         * counters.C:
8222         * debug.C:
8223         * exporter.C:
8224         * format.C:
8225         * importer.C:
8226         * lyx_cb.C:
8227         * lyx_main.C:
8228         * lyxfont.C:
8229         * lyxfunc.C:
8230         * lyxvc.C:
8231         * paragraph.C:
8232         * paragraph_funcs.C:
8233         * tabular.C:
8234         * tabular_funcs.C:
8235         * text2.C:
8236         * text3.C:  boost::format -> bformat  all over the place
8237
8238
8239 2003-05-09  André Pönitz  <poenitz@gmx.net>
8240
8241         * LColor.[Ch]: Pimpl the #include <map> away
8242
8243 2003-05-09  John Levon  <levon@movementarian.org>
8244
8245         * bufferlist.C: never remove emergency saves
8246
8247 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8248
8249         * Makefile.am: better lib building
8250
8251 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
8252
8253         * texrow.[Ch]: remove dependency on Paragraph and just store a id
8254         instead.
8255         * paragraph_pimpl.C (simpleTeXBlanks): adjust
8256         (simpleTeXSpecialChars): adjust
8257         (simpleTeXSpecialChars): adjust
8258         * paragraph.C (simpleTeXOnePar): adjust
8259         * buffer.C (makeLaTeXFile): adjust
8260
8261         * Makefile.am (BOOST_LIBS): allow boost as system lib.
8262
8263         * text2.C (changeDepth): parlist cleanup
8264         (getColumnNearX): ditto
8265
8266         * rowpainter.C (getLabelFont): parlist cleanup
8267
8268         * bufferlist.C (newFile): parlist cleanup
8269
8270         * CutAndPaste.C (eraseSelection): parlist cleanup
8271
8272         * BufferView_pimpl.C (trackChanges): parlist cleanup
8273         (dispatch): ditto
8274
8275         * BufferView.C (lockInset): parlist cleanup.
8276         (ChangeInsets): ditto
8277
8278 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8279
8280         * CutAndPaste.h: Update file header.
8281
8282         * CutAndPaste.C: Update file header.
8283         Store the parts cut out of the Document in a limited_stack.
8284         (copySelection): adjust
8285         (pasteSelection): new function, takes the index in the limited stack.
8286         (nrOfParagraphs): adjust
8287         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
8288         simplify error inset insertion.
8289         (checkPastePossible): adjust
8290
8291 2003-05-06  John Levon  <levon@movementarian.org>
8292
8293         * text2.C: don't cast wrap inset to float
8294
8295 2003-05-05  André Pönitz  <poenitz@gmx.net>
8296
8297         * iterator.C:
8298         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
8299
8300         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
8301           few naked Paragraph *.
8302
8303 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
8304
8305         * bufferparams.C: Output warning if a document with missing
8306         TeX document class is loaded
8307         * exporter.C: Disable TeX exports if the document class is missing
8308         * lyxtextclass.C:
8309         * lyxtextclass.h:
8310         * lyxtextclasslist.C: Handle new textclass.lst format; new method
8311         isTeXClassAvailable()
8312
8313 2003-05-03  John Levon  <levon@movementarian.org>
8314
8315         * BufferView.h:
8316         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
8317         explicit cursor show/hide
8318
8319         * BufferView_pimpl.h:
8320         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
8321         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
8322
8323         * lyxfunc.C: hide cursor before dispatching.
8324
8325         * lyx_cb.C:
8326         * lyxfind.C:
8327         * text.C:
8328         * text3.C: remove explicit cursor hides
8329
8330 2003-05-02  André Pönitz  <poenitz@gmx.net>
8331
8332         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
8333
8334         * undo_funcs.C:
8335         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
8336           linked lists
8337
8338         * text2.C: tiny whitespace
8339
8340 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8341
8342         * undo_funcs.C: almost only ws changes.
8343
8344         * ParagraphList.C (splice): just return if pl is empty.
8345
8346 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8347
8348         * ParagraphList.C (splice): new function.
8349
8350         * CutAndPaste.C (pasteSelection): use it
8351
8352 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8353
8354         * CutAndPaste.C (pasteSelection): remove the last next and
8355         previous from this file.
8356
8357 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8358
8359         * CutAndPaste.C (pasteSelection): more clean up, user proper
8360         ParagraphList functions for pasteing.
8361
8362         * ParagraphList.C (insert): new function, three arg insert
8363
8364 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8365
8366         * ParagraphList.C (insert): new function, three arg insert
8367
8368         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
8369         not on paragraphs.
8370
8371 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8372
8373         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
8374
8375 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8376
8377         * CutAndPaste.C (pasteSelection): remove some unneeded code.
8378
8379 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8380
8381         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
8382         (copySelection): clean up a bit.
8383         (pasteSelection): use make_pair
8384
8385         * ParagraphList.C (ParagraphList): implement copy constructor
8386         (operator=): implement, base on copy constructor.
8387         (assign): new func
8388
8389         * paragraph.C (erase): return a bool
8390
8391         * paragraph_pimpl.C (erasePos): remove function, move contents...
8392         (erase): ... here. Return a bool.
8393         (erase): call erase instead of erasePos.
8394
8395 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
8396
8397         * ParagraphList.h: define PitPosPair
8398         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
8399         ParagraphList, fix a bug on pasting multiple pars
8400         * text2.C: change interface to C&P
8401
8402 2003-04-30  André Pönitz  <poenitz@gmx.net>
8403
8404         * undo_func.C: revert part of yesterday's patch 2
8405
8406 2003-04-30  John Levon  <levon@movementarian.org>
8407
8408         * LColor.C: s/tabular/table/
8409
8410 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8411
8412         * text3.C (dispatch): do not convert iterator -> pointer
8413         * undo_funcs.C (setCursorParUndo): ditto
8414         * text_funcs.C (transposeChars): ditto
8415
8416         * text2.C (setLayout): ws changes only
8417
8418         * text.C (breakParagraph): do not convert iterator -> pointer
8419         (insertChar): ditto
8420         (acceptChange): ditto
8421         (rejectChange): ditto
8422         (changeCase): ditto
8423         (Delete): ditto
8424         (backspace): ditto
8425
8426         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
8427         pointer
8428
8429 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8430
8431         * text3.C (gotoInset): YABG (yet another bad getChar)
8432
8433 2003-04-29  André Pönitz  <poenitz@gmx.net>
8434
8435         * paragraph.h: make operator= private unimplemented as long as
8436           it is unusable
8437
8438         * ParagraphList.C: whitespace
8439
8440         * paragraph.[Ch]:
8441         * paragraph_pimpl.[Ch]:
8442         * paragraph_funcs.C:
8443         * CutAndPaste.C:
8444         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
8445
8446         * text2.C:
8447           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8448
8449 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8450
8451         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8452         * paragraph.[Ch] (erase):
8453         * paragraph_pimpl.[Ch] (erase): change return type and value
8454         * text2.C (cutSelection): some rework
8455
8456 2003-04-28  John Levon  <levon@movementarian.org>
8457
8458         * bufferlist.C: changes for unsaved changes dialog
8459
8460 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8461
8462         * bufferlist.C (newFile): set language (messages_) for new
8463         documents also.
8464
8465         * buffer.C (readFile): ws changes only.
8466
8467 2003-04-28  André Pönitz  <poenitz@gmx.net>
8468
8469         * undo_funcs.C:
8470         * lyxfunc.C:
8471         * buffer.[Ch]:
8472         * BufferView_pimpl.C:
8473         * BufferView.C: getParFromID related ParagraphList::iterator changes
8474
8475 2003-04-28  André Pönitz  <poenitz@gmx.net>
8476
8477         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8478           Changes
8479
8480 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8481
8482         * messages.C: remove one more localedir class variable.
8483
8484 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8485
8486         * messages.C (getLocaleDir): singleton generation function
8487         (Pimpl): use it.
8488         (Messages): add a default constructor.
8489
8490         * main.C (main): do not setup localedir here, do not call
8491         gettext_init.
8492
8493         * gettext.C (_): use it.
8494         (gettext_init): delete funciton
8495
8496 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8497
8498         * gettext.C (getLyXMessages): new singleton generating function.
8499
8500         * buffer.C (updateDocLang): adjust
8501
8502         * Makefile.am (messages.o): add target
8503         (main.o): remove target
8504
8505 2003-04-27  John Levon  <levon@movementarian.org>
8506
8507         * bufferlist.C:
8508         * lyx_cb.C:
8509         * lyxfunc.C:
8510         * lyxvc.C: specify cancel button in Alert::prompt
8511
8512 2003-04-26  John Levon  <levon@movementarian.org>
8513
8514         * text3.C:
8515         * lyxfunc.C:
8516         * lfuns.h:
8517         * LyXAction.C: add LFUN_INSET_SETTINGS
8518
8519         * lyxfunc.C: don't enable tabular-feature when there's
8520         just any locking inset
8521
8522 2003-04-26  John Levon  <levon@movementarian.org>
8523
8524         * bufferlist.C: re-add Cancel to buffer close question
8525
8526         * lyxfunc.C: fix import UI a bit
8527
8528 2003-04-25  John Levon  <levon@movementarian.org>
8529
8530         * gettext.C: remove the broken asserts for now
8531
8532 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8533
8534         * messages.C: make case where setlocale cannot comply work better.
8535
8536         * buffer.C (updateDocLang): new function
8537         (changeLanguage): use it
8538         (readFile): use it
8539
8540         * text2.C (setCounter): use B_ a bit.
8541
8542         * lyxlayout.C (Read): be sure to trim the label strings.
8543
8544         * messages.C (Messages): fix typo in comment
8545
8546         * buffer.C (readFile): set message_ after file is loaded.
8547         (makeDocBookFile): remove double return
8548         (changeLanguage): reset message_ upon language change.
8549         (B_): new func, use this to get translated buffer strings.
8550
8551         * main.C: add myself and Jean Marc as authors.
8552
8553 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8554
8555         * messages.[hC]: pimplify Messages, and three different pimpls to be
8556         used in different circumstances.
8557
8558         * gettext.[Ch]: change for use with new message code.
8559
8560 2003-04-24 André Pönitz <poenitz@gmx.net>
8561
8562         * factory.C: support for eqref
8563
8564 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
8565
8566         * messages.[Ch]: add missing char
8567
8568         * Makefile.am (lyx_SOURCES): add messages.[Ch]
8569
8570         * messages.[Ch]: New files
8571
8572 2003-04-18  John Levon  <levon@movementarian.org>
8573
8574         * BufferView.h:
8575         * BufferView.C:
8576         * BufferView_pimpl.C:
8577         * lfuns.h:
8578         * LyXAction.C:
8579         * lyxtext.h:
8580         * text2.C: remove layout-copy/paste (bug 778)
8581
8582 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8583
8584         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8585
8586 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8587
8588         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8589         if they succeed. Act accordingly.
8590
8591 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8592
8593         * text2.C (setCharFont): adjust
8594         (setCounter): adjust
8595         (insertStringAsLines): adjust
8596
8597         * text.C (leftMargin): adjust
8598         (setHeightOfRow): adjust
8599
8600         * rowpainter.C (paintFirst): adjust
8601         (paintLast): adjust
8602
8603         * paragraph_funcs.C (depthHook): ParagraphList::iterators
8604         (outerHook): ditto
8605         (isFirstInSequence): ditto
8606         (getEndLabel): ditto
8607         (outerFont): adjust
8608
8609         * paragraph.C (getParLanguage): comment out some hard stuff.
8610
8611         * buffer.C (insertStringAsLines): take a ParagraphList as arg
8612         (sgmlError): ditto
8613         (simpleDocBookOnePar): ditto
8614         (makeDocBookFile): use ParagraphList::iterator
8615
8616         * CutAndPaste.C (pasteSelection): adjust
8617
8618 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8619
8620         * text2.C (getFont): adjust
8621         (getLayoutFont): adjust
8622         (getLabelFont): adjust
8623
8624         * paragraph_funcs.C (TeXOnePar): adjust
8625
8626         * buffer.C (simpleLinuxDocOnePar): adjust
8627         (simpleDocBookOnePar): adjust
8628
8629         * CutAndPaste.C (pasteSelection): adjust
8630
8631         * BufferView.C (getEncoding): adjust
8632
8633         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8634
8635 2003-04-16  John Levon  <levon@movementarian.org>
8636
8637         * lyxfind.C: use parlist stuff for search/changes
8638
8639 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8640
8641         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8642
8643         * text2.C (deleteEmptyParagraphMechanism): adjust
8644
8645         * text2.[Ch] (ownerParagraph): delete func (both of them
8646
8647 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8648
8649         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8650
8651 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8652
8653         * ParagraphList.C: prepare for NO_NEXT
8654
8655 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8656
8657         * text2.C (getFont): adjust
8658         (getLayoutFont): adjust
8659         (getLabelFont): adjust
8660
8661         * paragraph.C (getFont): adjust
8662         (getLabelFont): adjust
8663         (getLayoutFont): adjust
8664
8665         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8666
8667 2003-04-15  John Levon  <levon@movementarian.org>
8668
8669         From Angus Leeming
8670
8671         * lyx_main.C: handle Include in .ui files
8672
8673 2003-04-15  John Levon  <levon@movementarian.org>
8674
8675         * MenuBackend.C: make the doc files length shorter
8676
8677         * ToolbarBackend.h:
8678         * ToolbarBackend.C: handle toolbar placement flags,
8679         Minibuffer
8680
8681 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8682
8683         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8684         adjust
8685
8686         * paragraph_funcs.C (TeXOnePar): adjust
8687
8688         * paragraph.C (getLabelFont): add outerfont arg, adjust
8689         (getLayoutFont): ditto
8690         (simpleTeXOnePar): adjust
8691
8692         * paragraph_pimpl.C (realizeFont): delete func
8693
8694 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
8695
8696         * text2.C (beforeFullRowInset): added a bad getchar check, removed
8697         row argument, constify cur argument.
8698
8699 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8700
8701         * text2.C (getFont): adjust
8702         (getLayoutFont): adjust
8703         (getLabelFont): adjust
8704
8705         * paragraph_funcs.C (TeXOnePar): adjust
8706         (outerFont): new func...
8707         (realizeFont): ...moved out from here, changed this to facilitate
8708         transition
8709
8710         * paragraph.C (getFont): take outerfont as arg, adjust
8711         (simpleTeXOnePar): add outerfont arg, adjust
8712
8713         * buffer.C (simpleLinuxDocOnePar): adjust
8714         (simpleDocBookOnePar): adjust
8715
8716         * CutAndPaste.C (pasteSelection): adjust
8717
8718         * BufferView.C (getEncoding): adjust
8719
8720 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8721
8722         * text2.C (setCharFont): adjust
8723         (setCounter): adjust
8724
8725         * text.C (leftMargin): adjust
8726         (setHeightOfRow): adjust
8727
8728         * rowpainter.C (paintFirst): adjust
8729         (paintLast): adjust
8730
8731         * paragraph_pimpl.C (realizeFont): adjust
8732
8733         * paragraph.C (isFirstInSequence): move from here...
8734         * paragraph_funcs.C (isFirstInSequence): ...to here
8735
8736         * paragraph.C (outerHook): move from here...
8737         * paragraph_funcs.C (outerHook): ...to here
8738
8739         * paragraph.C (depthHook): move from here...
8740         * paragraph_funcs.C (depthHook): ...to here
8741
8742         * paragraph.C (getEndLabel): move from here...
8743         * paragraph_funcs.C (getEndLabel): ...to here
8744
8745         * text2.C (realizeFont): move from here...
8746         * paragraph_funcs.C (realizeFont): ...to here
8747
8748 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8749
8750         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8751
8752 2003-04-14  Angus Leeming  <leeming@lyx.org>
8753
8754         * LColor.[Ch]: scrap LColor mathcursor.
8755
8756 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8757
8758         * lyxlex.[Ch] (text): delete function
8759         * trans.C (Load): adjust
8760         * paragraph_funcs.C (readParToken): adjust
8761
8762 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8763
8764         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8765         vector<char> instead of a char[].
8766
8767         * lyxlex_pimpl.C (getString): adjust
8768         (next): adjust
8769         (lex): use getString
8770         (eatLine): adjust
8771         (nextToken): adjust
8772
8773         * lyxlex.C (text): use pimpl_->getString()
8774         (getBool): ditto
8775         (findToken): ditto
8776
8777 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8778
8779         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8780         (makeFontEntriesLayoutSpecific): temp var for par.size()
8781         (setLayout): temp var for ownerParagraphs().end()
8782         (fullRebreak): temp var for rows().end()
8783         (selectionAsString): temp var for boost::next(startpit), realize
8784         that the while really is a regular for loop.
8785         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8786         setCursor in one place.
8787         (setParagraph): temp vr for ownerParagraphs().end()
8788         (updateCounters): make the while loop a for loop
8789         (cutSelection): temp var for ownerParagraphs().end()
8790         (updateInset): make the do {} while() a regular for loop
8791         (getCursorX): use temp vars
8792         (setCurrentFont): use temp vars
8793         (getColumnNearX): use temp vars
8794
8795 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8796
8797         * text.C (transformChar): use temp var for getChar
8798         (computeBidiTables): use temp var for row->par()
8799         (fill): move temp vars for row->par() and pit->layout() earlier in
8800         the function.
8801         (labelFill): use temp var for row->par()
8802         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8803         asc and desc, realize that pit never changes and that firstpit is
8804         just a duplicate and not needed. Exchange rit->par() with pit in a
8805         lot of places.
8806         (breakAgain): use a temp var for boost::next(rit)
8807         (breakAgainOneRow): ditto
8808         (breakParagraph): use a temp var for rows().begin()
8809         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8810         (cursorRightOneWord): use temp var for cursor.par() and
8811         cursor.pos(), remove usage of tmpcursor.
8812         (cursorLeftOneWord): use temp var for cursor.par() and
8813         cursor.pos() only set cur at end of function.
8814
8815 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8816
8817         * text.C, text2.C: exchange all usage of Paragraph::next with
8818         boost::next(ParagraphList::iterator)
8819
8820         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8821
8822         * text2.C (cursorTop): simplify implementation
8823         (cursorBottom): ditto
8824         (setParagraph): use ParagraphList::iterator
8825         (setCurrentFont): adjust
8826         (getColumnNearX): adjust
8827         (cursorRight): adjust
8828         (cursorLeft): remove usage of Paragraph::previous
8829         (cursorUpParagraph): ditto
8830         (deleteEmptyParagraphMechanism): slight cleanup
8831
8832         * text.C (isBoundary): take a Paragraph const & instead of a
8833         pointer as arg.
8834         (addressBreakPoint): ditto
8835         (leftMargin): remove usage of Paragraph::previous.
8836         (setHeightOfRow): ditto
8837         (cursorLeftOneWord): ditto
8838         (selectNextWordToSpellcheck): ditto
8839         (Delete): ditto
8840         (backspace): ditto
8841         (breakParagraph): remove one usage of Paragraph::next
8842         (redoParagraph): ditto
8843         (acceptChange): ditto
8844         (insertChar): adjust
8845         (rowBreakPoint): adjust
8846
8847         * bufferview_funcs.C (toggleAndShow): adjust
8848
8849 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
8850
8851         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8852         methods to access it.
8853         * lyxtext.h:
8854         * text.C: Added updateRowPositions to compute all row positions.
8855         Make top_y and getRowNearY() to use the cached y position
8856
8857 2003-04-11  John Levon  <levon@movementarian.org>
8858
8859         * text.C (rowBreakPoint): reintroduce the labelEnd
8860         checks, code copied from the row fill stuff. Deep voodoo.
8861
8862         * text.C (fill): add a comment and debugging for the
8863         next poor soul.
8864
8865 2003-04-11  John Levon  <levon@movementarian.org>
8866
8867         * text.C: make sure fullrow insets get wrapped to the next line,
8868         even when they're in a manual label
8869
8870 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8871
8872         * text2.C (insertParagraph): make it take ParagraphList::iterator
8873         as arg.
8874         (setLayout): make it return ParagraphList::iterator
8875         (redoParagraphs): ditto
8876         (setCounter): ditto
8877         (checkParagraph): ditto
8878
8879         * text.C (getRow): make getrow take ParagraphList::iterator as arg
8880
8881         * text2.C: adjust several funcs.
8882         (realizeFont): take a ParagraphList::iterator as arg.
8883         (getLayoutFont): ditto
8884         (getLabelFont): ditto
8885         (setCharFont): ditto
8886
8887         * text.C: adjust several funcs.
8888
8889 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8890
8891         * text.C (selectNextWordToSpellcheck): don't accidentally
8892         skip insets
8893
8894 2003-04-10  John Levon  <levon@movementarian.org>
8895
8896         * ToolbarBackend.C (getIcon): special handling for
8897         LFUN_MATH_DELIM
8898
8899 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8900
8901         * text2.C (cursorRight): a getChar assert fixed
8902
8903 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8904
8905         * text2.C (getFont): change to take a ParagraphList::iterator
8906         instead of Paragraph*
8907         Adjust several functions.
8908
8909         * text.C (transformChar): change to take a ParagraphList::iterator
8910         instead of Paragraph*
8911         (singleWidth): ditto
8912         Adjust several functions.
8913
8914         * rowpainter.C: adjust several functions
8915         * rowpainter.h:store a ParagraphList::iterator and not a
8916         Paragraph&.
8917
8918
8919 2003-04-09  John Levon  <levon@movementarian.org>
8920
8921         * lyxfunc.C:
8922         * lfuns.h:
8923         * LyXAction.h:
8924         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8925         and the "help" bits as well
8926
8927 2003-04-09  John Levon  <levon@movementarian.org>
8928
8929         * ToolbarBackend.h:
8930         * ToolbarBackend.C: allow multiple toolbars
8931
8932 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8933
8934         * undo_funcs.C (setCursorParUndo): adjust
8935
8936         * text_funcs.C (transposeChars): adjust
8937
8938         * text3.C (gotoNextInset): adjust
8939         (dispatch): adjust
8940
8941         * text2.C (setLayout): adjust
8942         (changeDepth): adjust
8943         (setFont): adjust
8944         (redoParagraphs): adjust
8945         (selectionAsString): adjust
8946         (setParagraph): adjust
8947         (insertInset): adjust
8948         (cutSelection): adjust
8949         (copySelection): adjust
8950         (pasteSelection): adjust
8951         (insertStringAsLines): adjust
8952         (updateInset): adjust
8953         (setCursor): change to take a ParagraphList::iterator parameter
8954         (setCursorIntern): change to take a ParagraphList::iterator parameter
8955         (setCurrentFont): adjust
8956         (cursorLeft): adjust
8957         (cursorRight): adjust
8958         (deleteEmptyParagraphMechanism): adjust
8959
8960         * text.C (breakParagraph): adjust
8961         (insertChar): adjust
8962         (acceptChange): adjust
8963         (rejectChange): adjust
8964         (selectNextWordToSpellcheck): adjust
8965         (changeCase): adjust
8966         (Delete): adjust
8967         (backspace): adjust
8968
8969         * lyxfind.C (SearchForward): adjust
8970         (SearchBackward): adjust
8971         (nextChange): adjust
8972
8973         * lyxcursor.C (par): adjust
8974
8975         * lyxcursor.h: store a ParagraphList::iterator instead of a
8976         Paragraph*
8977
8978         * lyx_cb.C (getPossibleLabel): adjust
8979
8980         * bufferview_funcs.C (toggleAndShow): adjust
8981
8982         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8983         (dispatch): adjust
8984
8985         * BufferView.C (removeAutoInsets): adjust
8986         (lockedInsetStoreUndo): adjust
8987
8988 2003-04-09  John Levon  <levon@movementarian.org>
8989
8990         * ToolbarBackend.C: try icon without argument
8991         if with argument fails
8992
8993 2003-04-08  John Levon  <levon@movementarian.org>
8994
8995         * ToolbarBackend.h:
8996         * ToolbarBackend.C: add getIcon(), handle tooltip,
8997         and change from "Icon" to "Item".
8998
8999 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
9000
9001         * BufferView.C (lockInset): another bad getchar crunched
9002
9003 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
9004
9005         * text2.C (changeDepth): do not setUndo on test_only (make undo work
9006         again)
9007
9008 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
9009
9010         * lyxfind.C (searchForward, searchBackwards): bug 782
9011
9012 2003-04-07  John Levon  <levon@movementarian.org>
9013
9014         * paragraph.C: remove dead comment
9015
9016         * text.C: remove troublesome depth-fiddling code
9017         in leftMargin() and rightMargin() (bug 1017)
9018
9019         * text.C: fix breaking of rows in nested lists
9020         (bug 1004)
9021
9022         * text2.C (updateCounters): fix up depth values
9023         (bug 1013)
9024
9025 2003-04-07  John Levon  <levon@movementarian.org>
9026
9027         * BufferView_pimpl.C: clear message when doc finishes resizing,
9028         and after a mouse event
9029
9030         * lyxfunc.C: clear message after exiting inset
9031
9032 2003-04-07  John Levon  <levon@movementarian.org>
9033
9034         * bufferview_funcs.C: show math status not outside
9035         status in the statusbar
9036
9037 2003-04-07  John Levon  <levon@movementarian.org>
9038
9039         * lyxfunc.C: note status changed after a depth change
9040
9041 2003-04-04  Angus Leeming  <leeming@lyx.org>
9042
9043         * LaTeX.h: move AuxInfo operator==, != out of line.
9044         Remove LaTeX virtual destructor; nothing derives from it.
9045         Move operator()() out of public area and rename it startscript().
9046         Change protected for private.
9047
9048 2003-04-04  Angus Leeming  <leeming@lyx.org>
9049
9050         * lyxfunc.C:
9051         * text2.C: remove unneeded #includes.
9052
9053 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
9054
9055         * text2.C (dEPM): fix the heigth of the next row
9056
9057 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
9058
9059         * text.C: squashed an invalid getChar requester + some ws changes
9060
9061 2003-04-03  John Levon  <levon@movementarian.org>
9062
9063         * bufferview_funcs.h:
9064         * bufferview_funcs.C:
9065         * lyxfunc.C:
9066         * lyxtext.h:
9067         * text2.C: make getStatus work for the env depth lfuns
9068
9069 2003-04-03  John Levon  <levon@movementarian.org>
9070
9071         * bufferview_funcs.h:
9072         * bufferview_funcs.C:
9073         * lyxfunc.C:
9074         * lyxtext.h:
9075         * text2.C: parlistize decDepth(), by merging it with incDepth()
9076
9077 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9078
9079         * lyxrow.h: store a ParagraphList::iterator instead of a
9080         Paragraph* and adjust other class functions to suit.
9081
9082         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
9083         above.
9084
9085 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
9086
9087         * text2.C (setCursor): do not anchor to cursor row for the time being
9088
9089 2003-04-02  John Levon  <levon@movementarian.org>
9090
9091         * LyXAction.C:
9092         * lfuns.h:
9093         * lyx_main.C:
9094         * lyxtext.h:
9095         * text.C:
9096         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
9097
9098 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9099
9100         * paragraph.h: make ParagraphList and ParagraphList::iterator
9101         friends of Paragraph.
9102
9103         * buffer.C (makeLinuxDocFile): move towards ParagraphList
9104
9105         * ParagraphList.C: Use the private next_ and previous_ from
9106         Paragraph.
9107
9108 2003-04-01  John Levon  <levon@movementarian.org>
9109
9110         * ToolbarBackend.h:
9111         * ToolbarBackend.C:
9112         * Makefile.am: rename, remove defaults gunk
9113
9114         * MenuBackend.h:
9115         * MenuBackend.C: remove defaults gunk
9116
9117         * Languages.h:
9118         * Languages.C: remove defaults gunk
9119
9120         * lyx_main.h:
9121         * lyx_main.C: error out if files couldn't be found.
9122
9123 2003-04-02  John Levon  <levon@movementarian.org>
9124
9125         * text2.C: make incDepth() use parlist
9126
9127 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9128
9129         * undo_funcs.C (firstUndoParagraph): adjust
9130
9131         * text3.C (gotoInset): adjust
9132         (dispatch): adjust, and rewrite loop.
9133
9134         * text2.C (init): adjust, and rewrite loop.
9135         (redoParagraphs): adjust
9136         (updateInset): adjust, and rewrite loop.
9137         (deleteEmptyParagraphMechanism): adjust
9138
9139         * tabular.C (LyXTabular): adjust
9140         (SetMultiColumn): adjust
9141         (TeXRow): adjust
9142
9143         * lyxtext.[Ch] (ownerParagraph): delete function
9144         (ownerParagraphs): new function returns a ParagraphList.
9145
9146         * BufferView.C (removeAutoInsets): adjust
9147         (insertErrors): adjust
9148         (setCursorFromRow): adjust
9149
9150 2003-04-01  Angus Leeming  <leeming@lyx.org>
9151
9152         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
9153         in the frontends.
9154
9155 2003-04-02  John Levon  <levon@movementarian.org>
9156
9157         * lyxtext.h:
9158         * text.C:
9159         * Makefile.am:
9160         * text_funcs.h:
9161         * text_funcs.C: make transposeChars a free function
9162
9163         * lyxrow_funcs.C: remove wrong comment
9164
9165 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9166
9167         * lyxtext.h: adjust
9168         * rowpainter.C: adjust
9169         * text.C: adjust
9170         * text2.C: adjust
9171         * text3.C: adjust
9172
9173         * lyxrow_funcs. [Ch]: new files
9174
9175         * lyxrow.[Ch]: remove next and previous pointers
9176         (next,previous): remove accessor functions
9177         (isParEnd): move to lyxrow_funcs
9178         (lastPos): move to lyxrow_funcs
9179         (nextRowIsAllInset): move to lyxrow_funcs
9180         (lastPrintablePos): move to lyxrow_funcs
9181         (numberOfSeparators): move to lyxrow_funcs
9182         (numberOfHfills): move to lyxrow_funcs
9183         (numberOfLabelHfills): move to lyxrow_funcs
9184         (hfillExpansion): move to lyxrow_funcs
9185
9186         * lyxfunc.C: adjust
9187
9188         * bufferview_funcs.C (toggleAndShow): adjust
9189
9190         * RowList.h: Remove class RowList from file leave just a
9191         std::list<Row>.
9192
9193         * RowList.C: delete file
9194
9195         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
9196         and lyxrow_funcs.h
9197
9198 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9199
9200         * text3.C (cursorPrevious): adjust
9201         (cursorNext): adjust
9202         (dispatch): adjust
9203
9204         * text2.C (redoHeightOfParagraph): adjust
9205         (redoDrawingOfParagraph): adjust
9206         (setCursor): adjust
9207
9208         * text.C (breakParagraph): adjust
9209         (insertChar): adjust
9210         (backspace): adjust
9211
9212         * rowpainter.C (RowPainter): adjust
9213         (leftMargin): simplify and adjust
9214         (most rowpainter functions): adjust.
9215
9216         * rowpainter.h: store the row as RowList::iterator not as Row*
9217
9218         * lyxcursor.C (row): taka RowList::iterator as arg
9219         (irow): ditto
9220
9221         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
9222         of Row*.
9223
9224 2003-04-01  Angus Leeming  <leeming@lyx.org>
9225
9226         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
9227         stuff like bool Bool.
9228
9229 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
9230
9231         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
9232         rewrite a loop
9233
9234 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9235
9236         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
9237         RowList::iterator.
9238
9239         * lyxtext.h (rows): drop one version and leve a const variant that
9240         returns a RowList::iterator.
9241
9242 2003-03-31  Angus Leeming  <leeming@lyx.org>
9243
9244         * text.C (fill): ensure that the signature is the same as that in the
9245         header file.
9246
9247 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
9248
9249         * text2.C (redoParagraphs): adjust
9250         (updateCounters): adjust
9251         (checkParagraph): adjust
9252         (getColumnNearX): adjust and reformat a bit.
9253
9254         * text.C (top_y): adjust
9255         (workWidth): adjust
9256         (leftMargin): adjust
9257         (prepareToPrint): adjust
9258         (getRow): adjust
9259         (getRowNearY): adjust
9260
9261         * lyxtext.h: make rowlist_ mutable.
9262
9263         * RowList.h: add const_iterator
9264         * RowList.C: adjust for RowList::const_iterator.
9265
9266         * text2.C (getCursorX): make it take a RowList::iterator as arg,
9267         adjust.
9268
9269 2003-03-31  John Levon  <levon@movementarian.org>
9270
9271         * lyxrc.h:
9272         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
9273
9274         * lyx_main.C: set default fonts from using lyx_gui funcs
9275
9276         * exporter.C: pdf_mode moved from lyxrc
9277
9278         * lyx_cb.C:
9279         * lyxfunc.C: changes from above
9280
9281 2003-03-31  John Levon  <levon@movementarian.org>
9282
9283         * lyx_main.C: fix to the last fix
9284
9285 2003-03-31  John Levon  <levon@movementarian.org>
9286
9287         * bufferlist.C: "Load original" -> "Load Original"
9288
9289         * converter.C:
9290         * exporter.C:
9291         * importer.C:
9292         * lyx_main.C:
9293         * format.C: more Alert cleanups
9294
9295 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
9296
9297         * text2.C (removeParagraph): make it take a RowList::iterator as
9298         arg, adjust.
9299         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
9300         (postRowPaint): make it take a RowList::iterator as arg, adjust.
9301
9302         * text.C (anchor_row): make it take a RowList::iterator as arg,
9303         adjust.
9304         (computeBidiTables): make it take a const reference to Row instead
9305         of Row pointer, adjust.
9306         (leftMargin): make it take a RowList::iterator as arg, adjust.
9307         (rowBreakPoint): adjust
9308         (breakAgainOneRow): make it take a RowList::iterator as arg,
9309         adjust.
9310         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
9311
9312         * bufferview_funcs.C (toggleAndShow): adjust
9313
9314 2003-03-30  John Levon  <levon@movementarian.org>
9315
9316         * Makefile.am:
9317         * BoostFormat.h:
9318         * boost-inst.C: moved to support
9319
9320         * several files: changes as a result
9321
9322 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
9323
9324         * text2.C (LyXText): adjust.
9325         (init): adjust
9326         (removeRow): make it take a RowList::iterator as arg, adjust.
9327         (fullRebreak): adjust
9328         (deleteEmptyParagraphMechanism): adjust
9329         (clearPaint): adjust
9330         (postPaint): adjust
9331
9332         * text.C (top_y): adjust
9333         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
9334         (breakAgain): make it take a RowList::iterator as arg, adjust.
9335         (breakParagraph): adjust
9336         (insertChar): adjust
9337         (backspace): adjust
9338
9339         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
9340         need_break_row, and refresh_row.
9341
9342         * text3.C (dispatch): adjust
9343
9344         * text2.C (checkParagraph): adjust
9345         (setCursor): adjust
9346         (setCursorFromCoordinates): adjust
9347
9348         * text.C (top_y): adjust
9349         (workWidth): adjust
9350         (getRow): make it return a RowList::iterator, adjust
9351         (getRowNearY): make it return a RowList::iterator, adjust
9352
9353         * text2.C (init): adjust
9354         (insertRow): remove function
9355         (insertParagraph): adjust
9356         (redoParagraphs): adjust
9357         (fullRebreak): adjust
9358         (updateCounters): adjust
9359
9360         * text.C (top_y): rewrite to use RowList iterators.
9361         (top_y): adjust
9362         (setHeightOfRow): rewrite to sue RowList iterators.
9363         (appendParagraph): adjust
9364         (breakAgain): adjust
9365         (breakAgainOneRow): adjust
9366         (breakParagraph): adjust
9367         (getRow): adjust
9368         (getRowNearY): adjust, and remove commented code.
9369
9370         * lyxtext.h (firstRow): delete function
9371         (lastRow): delete function
9372         (rows): new function (const and non-const versions.)
9373         (insertRow): delete function
9374
9375         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
9376
9377 2003-03-29  John Levon  <levon@movementarian.org>
9378
9379         * BufferView_pimpl.C: always update scrollbar top
9380         because pasting text when we're anchored could mean we
9381         miss an update altogether
9382
9383 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9384
9385         * text2.C (init): use rowlist_.end() and not 0.
9386         (insertRow): change to take a RowList::iterator as arg, adjust
9387         for this.
9388         (insertParagraph): change to take a RowList::iterator as arg,
9389         adjust for this.
9390         (redoParagraphs): remove some debug msgs.
9391
9392         * text.C (appendParagraph): change to take a RowList::iterator
9393         arg, adjust for this.
9394         (breakAgain): add an assert
9395         (breakAgainOneRow): ditto
9396
9397 2003-03-29  John Levon  <levon@movementarian.org>
9398
9399         * text2.C: do not clear selection after inc/decDepth
9400         (bug 550)
9401
9402 2003-03-29  John Levon  <levon@movementarian.org>
9403
9404         * BufferView.C:
9405         * buffer.C: fix broken strerrors according to Lars
9406
9407 2003-03-29  John Levon  <levon@movementarian.org>
9408
9409         * converters.C: more Alert cleanups
9410
9411 2003-03-29  John Levon  <levon@movementarian.org>
9412
9413         * bufferview_funcs.C: remove pointless Alert
9414
9415         * buffer.C: fix confusing error message when
9416         a template is chmoded 000
9417
9418 2003-03-29  John Levon  <levon@movementarian.org>
9419
9420         * BufferView.C:
9421         * BufferView.h:
9422         * BufferView_pimpl.C: Alert fixes
9423
9424         * Makefile.am:
9425         * tabular.C:
9426         * tabular-old.C: remove unused table compat reading
9427
9428 2003-03-29  John Levon  <levon@movementarian.org>
9429
9430         * BufferView.C:
9431         * buffer.C:
9432         * lyx_cb.h:
9433         * lyx_cb.C: more Alert cleanups
9434
9435         * lyxfunc.C: don't allow chktex if not latex document
9436
9437 2003-03-29  John Levon  <levon@movementarian.org>
9438
9439         * lyx_cb.C:
9440         * BufferView.C:
9441         * buffer.C: warnings pushed down from support/,
9442         kill err_alert
9443
9444 2003-03-29  John Levon  <levon@movementarian.org>
9445
9446         * lyxfunc.C: safety check for C-r (revert)
9447
9448 2003-03-29  John Levon  <levon@movementarian.org>
9449
9450         * bufferlist.h:
9451         * bufferlist.C: several UI fixes using Alert::prompt.
9452         Fix the pointless looping quit code. Fix stupid revert
9453         behaviour (bug 938)
9454
9455         * lyxvc.h:
9456         * lyxvc.C:
9457         * lyx_cb.C: use Alert::prompt
9458
9459         * lyx_main.C: remove a silly question
9460
9461         * lyxfunc.C: remove a couple of silly questions,
9462         use Alert::prompt
9463
9464 2003-03-28  John Levon  <levon@movementarian.org>
9465
9466         * text2.C: fix bug 974 (End on empty par)
9467
9468 2003-03-28  John Levon  <levon@movementarian.org>
9469
9470         * BufferView_pimpl.C:
9471         * LyXAction.C:
9472         * lfuns.h: remove do-nothing math greek lfuns
9473
9474 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9475
9476         * lyxgluelength.h (isValidGlueLength): add default arg on
9477         parameter 2. Remove default arg from friend in class.
9478
9479         * lyxlength.h (isValidLength): add default arg on parameter 2.
9480         Remove default arg from friend in class.
9481
9482         * text2.C (LyXText): adjust, initialize refresh_row.
9483         (init): adjust
9484         (removeRow): adjust
9485         (insertRow): adjust
9486         (insertParagraph): adjst
9487         (redoParagraphs): adjust
9488         (fullRebreak): adjust
9489         (updateCounters): adjust
9490         (deleteEmptyParagraphMechanism): first attempt at fixing a
9491         crashing bug.
9492
9493         * text.C (top_y): adjust
9494         (setHeightOfRow): adjust
9495         (getRow): adjust
9496         (getRowNearY): adjust
9497
9498         * lyxtext.h: include RowList.h
9499         (~LyXText): not needed anymore, deleted.
9500         (firstRow): modify for RowList
9501         (lastRow): new function
9502         Delete firstrow and lastrow class variables, add a Rowlist
9503         rowlist_ class variable.
9504
9505         * lyxrow.C (lastPos): use empty() and not !size() to check if a
9506         paragraph is empty.
9507
9508         * RowList.C (insert): fix case where it == begin().
9509
9510 2003-03-26  Angus Leeming  <leeming@lyx.org>
9511
9512         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9513         the thesaurus dialog.
9514
9515 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
9516
9517         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9518
9519         * RowList.[Ch]: new files
9520
9521         * ParagraphList.C (erase): handle the case where it == begin
9522         correctly.
9523
9524 2003-03-25  John Levon  <levon@movementarian.org>
9525
9526         * Makefile.am:
9527         * aspell_local.h:
9528         * aspell.C: add new aspell support
9529
9530         * lyxrc.h:
9531         * lyxrc.C: Make use_pspell be use_spell_lib. Always
9532         have it accessible.
9533
9534 2003-03-25  Angus Leeming  <leeming@lyx.org>
9535
9536         * lfuns.h:
9537         * LyXAction.C (init): new LFUN_INSET_INSERT.
9538
9539         * BufferView_pimpl.C (dispatch): split out part of the
9540         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9541
9542         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9543         LFUN_INSET_APPLY.
9544
9545 2003-03-25  Angus Leeming  <leeming@lyx.org>
9546
9547         * lyxfunc.C (dispatch): changes to the Dialogs interface.
9548
9549 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
9550
9551         * text2.C:
9552         * text3.C: remove useless row->height(0)
9553
9554 2003-03-25  John Levon  <levon@movementarian.org>
9555
9556         * lyxtext.h:
9557         * text2.C:
9558         * text3.C: rename the refreshing stuff to better names
9559
9560 2003-03-24  John Levon  <levon@movementarian.org>
9561
9562         * BufferView_pimpl.h:
9563         * BufferView_pimpl.C: update layout choice on a mouse
9564         press/release
9565
9566 2003-03-23  John Levon  <levon@movementarian.org>
9567
9568         * Makefile.am: fix commandtags.h reference
9569
9570 2003-03-22  John Levon  <levon@movementarian.org>
9571
9572         * BufferView_pimpl.C:
9573         * lyxtext.h:
9574         * rowpainter.C:
9575         * rowpainter.h:
9576         * text.C:
9577         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9578
9579 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
9580
9581         * lyxtext.h:
9582         * text.C: take the rtl methods out of line
9583
9584 2003-03-21 André Pönitz <poenitz@gmx.net>
9585
9586         * metricsinfo.[Ch]: new files containing structures to be passed around
9587         during the two-phase-drawing...
9588
9589 2003-03-21 André Pönitz <poenitz@gmx.net>
9590
9591         * lyxtextclass.C: read 'environment' tag.
9592
9593 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
9594
9595         * text2.C (removeRow): fix bug 964
9596
9597 2003-03-20  John Levon  <levon@movementarian.org>
9598
9599         * rowpainter.C:
9600         * text.C:
9601         * text2.C: paint cleanups. Inset::update() dropped font
9602         parameter
9603
9604 2003-03-19  John Levon  <levon@movementarian.org>
9605
9606         * lyxfunc.C: only fitcursor/markDirty if available()
9607
9608 2003-03-19  John Levon  <levon@movementarian.org>
9609
9610         * commandtags.h: rename to ...
9611
9612         * lfuns.h: ... this, and renumber / cleanup
9613
9614 2003-03-19  John Levon  <levon@movementarian.org>
9615
9616         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9617         fit the cursor after an lfun
9618
9619         * BufferView.h:
9620         * BufferView.C:
9621         * BufferView_pimpl.h:
9622         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9623
9624         * LyXAction.C: layout-character should have ReadOnly
9625
9626         * ParagraphParameters.C:
9627         * buffer.C:
9628         * bufferview_funcs.C:
9629         * lyx_cb.C:
9630         * lyxfind.C:
9631         * lyxtext.h:
9632         * text.C:
9633         * text2.C:
9634         * text3.C:
9635         * undo_funcs.C: changes from above
9636
9637 2003-03-18  John Levon  <levon@movementarian.org>
9638
9639         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9640         remove it from update()
9641
9642         * lyxfunc.C: update layout choice after an lfun
9643
9644         * text3.C: remove extra updateLayoutChoice()s
9645
9646 2003-03-18  John Levon  <levon@movementarian.org>
9647
9648         * text.C: top_y change means full repaint, fix
9649         a drawing bug with cursor movement
9650
9651 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9652
9653         * lyxtext.h:
9654         * text.C:
9655         * text2.C: anchor row on setCursor
9656
9657 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9658
9659         * lyxtext.h: remove almost all mutable keywords
9660         * text.C:
9661         * text2.C:
9662         * text3.C: remove const keywords accordingly
9663
9664 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9665
9666         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9667         anon namespace
9668         (TeXEnvironment): ditto
9669         (TeXOnePar): ditto
9670
9671 2003-03-17  John Levon  <levon@movementarian.org>
9672
9673         * text.C (rowBreakPoint): remove attempt to fix displayed
9674         math insets inside a manual label
9675
9676 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9677
9678         * lyxtext.h: remove BufferView* as first arg from almost all class
9679         functions.
9680         * other files: adjust.
9681
9682 2003-03-17  John Levon  <levon@movementarian.org>
9683
9684         * lyxtext.h:
9685         * undo_funcs.C:
9686         * text2.C: more paint cleanups
9687
9688         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9689
9690         * rowpainter.h:
9691         * rowpainter.C: remove "smart" background painting code
9692
9693 2003-03-16  John Levon  <levon@movementarian.org>
9694
9695         * lyxtext.h:
9696         * text.C:
9697         * text2.C:
9698         * text3.C: add helper functions for setting refresh_row/y
9699
9700 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
9701
9702         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9703         newline inset which *can* get inserted in the pass_thru layouts.
9704         This is primarily for literate documents.
9705
9706 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
9707
9708         * buffer.C: increment LYX_FORMAT to 223
9709
9710 2003-03-14 André Pönitz <poenitz@gmx.net>
9711
9712         * textclass.h: prepare for environment handling, ws changes
9713         * lyxlayout.C: read latexheader and latexfooter tags
9714
9715 2003-03-14  John Levon  <levon@movementarian.org>
9716
9717         * text2.C: rewrite ::status() a bit
9718
9719 2003-03-13  John Levon  <levon@movementarian.org>
9720
9721         * lyxtext.h: add some docs
9722
9723 2003-03-13  John Levon  <levon@movementarian.org>
9724
9725         * lyxtext.h:
9726         * text.C:
9727         * text2.C:
9728         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9729
9730 2003-03-13  John Levon  <levon@movementarian.org>
9731
9732         * text3.C: fix appendix redrawing
9733
9734 2003-03-13  John Levon  <levon@movementarian.org>
9735
9736         * text.C (setHeightOfRow):
9737         * rowpainter.h:
9738         * rowpainter.C: make appendix mark have the text
9739           "Appendix" so the user knows what it is
9740
9741         * LColor.h:
9742         * LColor.C: s/appendixline/appendix/ from above
9743
9744 2003-03-13  John Levon  <levon@movementarian.org>
9745
9746         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9747
9748         * text.C: fix a getChar(pos) bug properly
9749
9750 2003-03-13  Angus Leeming  <leeming@lyx.org>
9751
9752         * commandtags.h:
9753         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9754         Probably only temporary. Let's see how things pan out.
9755
9756         * BufferView.C (unlockInset):
9757         * BufferView_pimpl.C (fitCursor):
9758         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9759
9760         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9761         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9762
9763         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9764         new functions that convert ParagraphParameters to and from a string.
9765
9766         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9767         BufferView::Pimpl's dispatch.
9768         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9769
9770 2003-03-13 André Pönitz <poenitz@gmx.net>
9771
9772         * lyxfunc.C:
9773         * text3.C:
9774         * factory.C: make it aware of InsetEnv
9775
9776 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
9777
9778         * text2.C (setCursor): never ask for one past last
9779         (setCursor): add some debugging messages.
9780
9781         * text.C (singleWidth): never ask for one past last
9782         (singleWidth): ditto
9783         (leftMargin): ditto
9784         (rightMargin): ditto
9785         (rowBreakPoint): ditto
9786         (setHeightOfRow): ditto
9787         (prepareToPrint): ditto
9788
9789         * rowpainter.C (paintBackground): never ask for one past last
9790         (paintText): never ask for one past last
9791
9792         * paragraph_pimpl.C (getChar): make the assert stricter, never
9793         allow the one past last pos to be taken
9794
9795         * paragraph.C (getChar): ws changes only
9796
9797         * lyxrow.C (nextRowIsAllInset): never ask for one past last
9798         (numberOfSeparators): ditto
9799         (numberOfHfills): ditto
9800
9801 2003-03-12  John Levon  <levon@movementarian.org>
9802
9803         * author.h:
9804         * author.C:
9805         * bufferparams.h:
9806         * bufferparams.C:
9807         * paragraph_funcs.C: fix per-buffer authorlists
9808
9809 2003-03-12  John Levon  <levon@movementarian.org>
9810
9811         * text.C: fix newline in right address
9812
9813 2003-03-12  Angus Leeming  <leeming@lyx.org>
9814
9815         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9816         duplicate those in LyXFunc::dispatch.
9817
9818         * commandtags.h:
9819         * LyXAction.C:
9820         * ToolbarDefaults.C:
9821         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9822         Add LFUN_FONTFREE_UPDATE.
9823
9824         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9825         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9826
9827         * bufferview_func.[Ch]: several new functions to facilliate
9828         transfer of data to and from the character dialog.
9829
9830 2003-03-12  John Levon  <levon@movementarian.org>
9831
9832         * buffer.C:
9833         * paragraph.h:
9834         * paragraph.C:
9835         * paragraph_funcs.C:
9836         * paragraph_pimpl.C:
9837         * sgml.C:
9838         * tabular.C:
9839         * text.C:
9840         * text3.C: remove META_NEWLINE in favour of an inset
9841
9842         * rowpainter.h:
9843         * rowpainter.C: remove paintNewline (done by inset)
9844
9845 2003-03-12  John Levon  <levon@movementarian.org>
9846
9847         * paragraph_pimpl.C: complain about bad getChar()s
9848         for a while at least
9849
9850 2003-03-12  John Levon  <levon@movementarian.org>
9851
9852         * buffer.h:
9853         * buffer.C: move paragraph read into a separate function,
9854         a little renaming to reflect that.
9855
9856         * bufferparams.h:
9857         * bufferparams.C: remove the author_ids map, not necessary now
9858
9859         * factory.h:
9860         * factory.C: moved Buffer::readInset to here
9861
9862         * paragraph_funcs.h:
9863         * paragraph_funcs.C: readParagraph free function moved from
9864         buffer.C
9865
9866         * tabular.C: name change
9867
9868 2003-03-12  John Levon  <levon@movementarian.org>
9869
9870         * buffer.C:
9871         * ParagraphParameters.C: move par params input to
9872         a read() method
9873
9874         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9875         behave like a normal read from the stream wrt reading
9876         a line vs. a \\token
9877
9878 2003-03-12  John Levon  <levon@movementarian.org>
9879
9880         * paragraph.C:
9881         * ParagraphParameters.h:
9882         * ParagraphParameters.C: move output code to a
9883         ::write() method
9884
9885 2003-03-12  John Levon  <levon@movementarian.org>
9886
9887         * BufferView.C (insertLyXFile):
9888         * buffer.h:
9889         * buffer.C:
9890         * tabular.C: use a parlist iterator for creating the
9891           document.
9892
9893 2003-03-12  John Levon  <levon@movementarian.org>
9894
9895         * buffer.C: make current_change static local not
9896           static file-scope
9897
9898 2003-03-12  John Levon  <levon@movementarian.org>
9899
9900         * buffer.C: fix insertStringAsLines for change tracking
9901
9902 2003-03-12  John Levon  <levon@movementarian.org>
9903
9904         * BufferView.C:
9905         * tabular.C:
9906         * buffer.h:
9907         * buffer.C:
9908         * bufferparams.h:
9909         * bufferparams.C: move author list into params. Rename some
9910           functions. Move the header reading into a separate token
9911           loop. Move the header token reading into BufferParams.
9912
9913 2003-03-12  John Levon  <levon@movementarian.org>
9914
9915         * changes.C: put debug inside lyxerr.debugging() checks
9916
9917 2003-03-11 André Pönitz <poenitz@gmx.net>
9918
9919         * factory.C: make it aware of InsetHFill
9920
9921 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9922
9923         * buffer.C (latexParagraphs): move function from here...
9924         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9925         args.
9926
9927 2003-03-10  Angus Leeming  <leeming@lyx.org>
9928
9929         * LyXAction.C (init): fix bug in poplating array with multiple entries
9930         with the same LFUN (spotted by JMarc).
9931
9932 2003-03-10  John Levon  <levon@movementarian.org>
9933
9934         * text.C:
9935         * text2.C: move getColumnNearX() near its
9936         only call site
9937
9938 2003-03-10  John Levon  <levon@movementarian.org>
9939
9940         * text.C: fix break before a minipage
9941
9942 2003-03-10  John Levon  <levon@movementarian.org>
9943
9944         * text.C: fix the last commit
9945
9946 2003-03-09  John Levon  <levon@movementarian.org>
9947
9948         * lyxtext.h:
9949         * text.C:
9950         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9951         bug 365 (don't break before insets unless needed). Don't
9952         return a value > last under any circumstances.
9953
9954 2003-03-09  Angus Leeming  <leeming@lyx.org>
9955
9956         * BufferView_pimpl.C (trackChanges, dispatch): call
9957         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9958
9959 2003-03-09  Angus Leeming  <leeming@lyx.org>
9960
9961         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9962         than Dialogs::showAboutlyx().
9963
9964 2003-03-09  Angus Leeming  <leeming@lyx.org>
9965
9966         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9967         than Dialogs::showTabularCreate().
9968
9969 2003-03-09  John Levon  <levon@movementarian.org>
9970
9971         * lyxtext.h:
9972         * text.C:
9973         * text2.C: 3rd arg to nextBreakPoint was always the same.
9974           Use references.
9975
9976 2003-03-08  John Levon  <levon@movementarian.org>
9977
9978         * lyxrow.C:
9979         * paragraph.C:
9980         * paragraph.h:
9981         * rowpainter.C:
9982         * text.C:
9983         * text2.C: Remove the "main" bit from the "main body"
9984           notion.
9985
9986 2003-03-08  John Levon  <levon@movementarian.org>
9987
9988         * text.C (leftMargin): The left margin of an empty
9989         manual label paragraph should not include the label width
9990         string length.
9991
9992         * text.C (prepareToPrint): don't attempt to measure hfills
9993         for empty manual label paragraphs - the answer should be 0
9994
9995 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9996
9997         * CutAndPaste.C: remove commented code and reindent.
9998
9999 2003-03-08  John Levon  <levon@movementarian.org>
10000
10001         * lyxfunc.h:
10002         * lyxfunc.C: move reloadBuffer()
10003
10004         * BufferView.h:
10005         * BufferView.C: to here
10006
10007         * lyxvc.C: add comment
10008
10009         * vc-backend.h:
10010         * vc-backend.C: call bv->reload() to avoid
10011           getStatus() check on MENURELOAD
10012
10013 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
10014
10015         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
10016         to an old format .dep file.
10017
10018 2003-03-07  Angus Leeming  <leeming@lyx.org>
10019
10020         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
10021         when the LFUN_MOUSE_RELEASE should have been handled by
10022         inset->localDispatch.
10023
10024 2003-03-07  Angus Leeming  <leeming@lyx.org>
10025
10026         * BufferView_pimpl.C (dispatch):
10027         * LyXAction.C (init):
10028         * ToolbarDefaults.C (init):
10029         * commandtags.h:
10030         * lyxfunc.C (getStatus):
10031         remove LFUN_INSET_GRAPHICS.
10032
10033         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
10034
10035 2003-03-07  Angus Leeming  <leeming@lyx.org>
10036
10037         * commandtags.h:
10038         * LyXAction.C (init):
10039         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
10040
10041         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
10042
10043         * commandtags.h:
10044         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
10045
10046         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
10047         localDispatch method LFUN_INSET_DIALOG_UPDATE.
10048
10049 2003-03-07  Angus Leeming  <leeming@lyx.org>
10050
10051         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
10052         remove "ert".
10053
10054 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10055
10056         * ParagraphList.C (front): new function
10057         (back): implement
10058
10059 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
10060
10061         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
10062         and top_row_offset_. removed var first_y.
10063         * text.C (top_y):
10064         * text2.C (LyXText, removeRow):
10065         * text3.C:
10066         * BufferView_pimpl.C:
10067         use these methods instead of using first_y
10068
10069 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10070
10071         * text2.C (pasteSelection): adjust for checkPastePossible
10072
10073         * CutAndPaste.C: remove Paragraph * buf and replace with
10074         ParagraphList paragraphs.
10075         (DeleteBuffer): delete
10076         (cutSelection): change the tc type to textclass_type
10077         (copySelection): change the tc type to textclass_type
10078         (copySelection): adjust for ParagraphList
10079         (pasteSelection): change the tc type to textclass_type
10080         (pasteSelection): adjust for Paragraphlist
10081         (nrOfParagraphs): simplify for ParagraphList
10082         (checkPastePossible): simplify for ParagraphList
10083         (checkPastePossible): remove unused arg
10084
10085         * ParagraphList.C (insert): handle the case where there are no
10086         paragraphs yet.
10087
10088         * CutAndPaste.h: make CutAndPaste a namespace.
10089
10090         * text3.C (dispatch): adjust
10091
10092         * text.C (breakParagraph): add a ParagraphList as arg
10093
10094         * paragraph_funcs.C (breakParagraph): change to take a
10095         BufferParams and a ParagraphList as args.
10096         (breakParagraphConservative): ditto
10097         (mergeParagraph): ditto
10098         (TeXDeeper): add a ParagraphList arg
10099         (TeXEnvironment): ditto
10100         (TeXOnePar): ditto
10101
10102         * buffer.C (readLyXformat2): adjust
10103         (insertStringAsLines): adjust
10104         (latexParagraphs): adjust
10105
10106         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
10107         (cutSelection): adjust
10108         (pasteSelection): adjust
10109
10110         * BufferView_pimpl.C (insertInset): adjust
10111
10112 2003-03-05  Angus Leeming  <leeming@lyx.org>
10113
10114         * commandtags.h:
10115         * LyXAction.C (init):
10116         * BufferView_pimpl.C (dispatch):
10117         * lyxfunc.C (getStatus):
10118         remove LFUN_CHILD_INSERT.
10119
10120         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
10121
10122 2003-03-05  Angus Leeming  <leeming@lyx.org>
10123
10124         * commandtags.h:
10125         * LyXAction.C (init):
10126         * src/factory.C (createInset):
10127         * lyxfunc.C (getStatus):
10128         * text3.C (dispatch):
10129         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
10130
10131         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
10132
10133 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10134
10135         * ParagraphList.C (insert): handle insert right before end()
10136         (erase): fix cases where it can be first or last paragraph.
10137
10138 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10139
10140         * paragraph_funcs.C (TeXEnvironment): remove all usage of
10141         Paragraph::next and Paragraph::previous
10142         (TeXOnePar): ditto
10143
10144         * text.C (breakParagraph): adjust
10145
10146         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
10147         BufferParams& as arg.
10148         (breakParagraph): use ParagraphList::insert
10149         (breakParagraphConservative): take a Buffer* instead of a
10150         BufferParams& as arg.
10151         (breakParagraphConservative): use ParagraphList::insert.
10152
10153         * buffer.C (insertStringAsLines): un-const it
10154         (insertStringAsLines): adjust
10155
10156         * ParagraphList.C (insert): new function
10157
10158         * CutAndPaste.C (pasteSelection): adjust
10159
10160         * text.C (backspace): adjust
10161
10162         * tabular.C (SetMultiColumn): adjust
10163
10164         * CutAndPaste.C (cutSelection): adjust
10165         (pasteSelection): adjust
10166
10167         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
10168         Buffer const * as arg
10169
10170         * ParagraphList.C (erase): new function
10171         * paragraph_funcs.C (mergeParagraph): use it
10172         (mergeParagraph): make it take a Buffer* instead of a
10173         BufferParams* as arg
10174
10175         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
10176         as arg
10177         (breakParagraphConservative): ditto
10178
10179         * paragraph.h: remove the breakParagraph friend
10180
10181         * paragraph.C (eraseIntern): new function
10182         (setChange): new function
10183
10184         * paragraph_funcs.C (mergeParagraph): make it take a
10185         ParagraphList::iterator instead of a Paragraph *, adjust
10186         accordingly.
10187
10188         * paragraph.h: move an #endif so that the change tracking stuff
10189         also works in the NO_NEXT case.
10190
10191 2003-03-04  Angus Leeming  <leeming@lyx.org>
10192
10193         * commandtags.h:
10194         * LyXAction.C: new LFUN_INSET_MODIFY.
10195
10196         * BufferView_pimpl.C (dispatch): if an inset is found to be open
10197         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
10198
10199 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10200
10201         * several files: ws changes only
10202
10203         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
10204         (TeXEnvironment): ditto
10205         (TeXDeeper): ditto
10206
10207         * buffer.C (makeLaTeXFile): adjust
10208         (latexParagraphs): make it take ParagraphList::iterator as args
10209
10210 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
10211
10212         * buffer.C (latexParagraphs): adjust
10213
10214         * paragraph.C (TeXOnePar): move function...
10215         (optArgInset): move function...
10216         (TeXEnvironment): move function...
10217         * paragraph_pimpl.C (TeXDeeper): move function...
10218         * paragraph_funcs.C: ...here
10219
10220         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
10221
10222 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10223
10224         * buffer.C (readInset): remove compability code for old Figure and
10225         InsetInfo insets
10226
10227 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10228
10229         * buffer.C: ws changes
10230         (readInset):
10231
10232         * BufferView_pimpl.C: ditto
10233         * author.C: ditto
10234         * buffer.h: ditto
10235         * bufferlist.h: ditto
10236         * changes.h: ditto
10237         * lyxfunc.C: ditto
10238
10239 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
10240
10241         * converter.[Ch]: split into itself +
10242         * graph.[Ch]
10243         * format.[Ch]
10244         * Makefile.am: += graph.[Ch] + format.[Ch]
10245         * MenuBackend.C
10246         * buffer.C
10247         * exporter.C
10248         * importer.C
10249         * lyx_main.C
10250         * lyxfunc.C
10251         * lyxrc.C: added #include "format.h"
10252
10253 2003-02-27  Angus Leeming  <leeming@lyx.org>
10254
10255         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
10256           a label.
10257
10258         * factory.C (createInset): add "label" to the factory.
10259
10260         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
10261           string and do no more.
10262
10263 2003-02-27  Angus Leeming  <leeming@lyx.org>
10264
10265         * commandtags.h:
10266         * LyXAction.C (init):
10267         * factory.C (createInset):
10268         * BufferView_pimpl.C (dispatch):
10269           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
10270
10271         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
10272
10273         * lyxfunc.C (dispatch):
10274         * text3.C (dispatch): pass name to params2string.
10275
10276 2003-02-26  Angus Leeming  <leeming@lyx.org>
10277
10278         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
10279           blocks together.
10280           Rearrange the ~includes. Strip out the unnecessary ones.
10281
10282         * factory.C (createInset): reformat.
10283           create new insets for the various LFUN_XYZ_APPLY lfuns.
10284
10285 2003-02-26  John Levon  <levon@movementarian.org>
10286
10287         * lyxrow.h:
10288         * lyxrow.C: add isParStart,isParEnd helpers
10289
10290         * paragraph.h: make isInserted/DeletedText take refs
10291
10292         * paragraph_funcs.h:
10293         * paragraph_funcs.C: remove #if 0'd code
10294
10295         * lyxtext.h:
10296         * text3.C:
10297         * text2.C:
10298         * text.C: use lyxrow helpers above.
10299           Move draw and paint routines to RowPainter.
10300           Make several methods use refs not pointers.
10301           Make backgroundColor() const.
10302           Add markChangeInDraw(), isInInset().
10303           Merge changeRegionCase into changeCase.
10304           Make workWidth() shouldn't-happen code into an Assert.
10305
10306         * rowpainter.h:
10307         * rowpainter.C: new class for painting a row.
10308
10309         * vspace.h:
10310         * vspace.C: make inPixels take a ref
10311
10312 2003-02-26  Angus Leeming  <leeming@lyx.org>
10313
10314         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
10315         LFUN_REF_APPLY.
10316
10317 2003-02-25  John Levon  <levon@movementarian.org>
10318
10319         * ispell.C: give the forked command a more accurate name
10320
10321 2003-02-22  John Levon  <levon@movementarian.org>
10322
10323         * toc.h:
10324         * toc.C: make TocItem store an id not a Paragraph *
10325           (bug #913)
10326
10327 2003-02-21  Angus Leeming  <leeming@lyx.org>
10328
10329         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
10330           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
10331           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
10332           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
10333           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
10334           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
10335
10336         * BufferView_pimpl.C (dispatch):
10337         * LyXAction.C (init):
10338         * factory.C (createInset):
10339         * lyxfunc.C (getStatus, dispatch):
10340         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
10341
10342 2003-02-21  Angus Leeming  <leeming@lyx.org>
10343
10344         * BufferView_pimpl.C (MenuInsertLyXFile):
10345         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
10346         * lyxfunc.C (menuNew, open, doImport):
10347           no longer pass a LyXView & to fileDlg.
10348
10349 2003-02-21  Angus Leeming  <leeming@lyx.org>
10350
10351         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
10352         * LyXAction.C: change, BIBKEY to BIBITEM.
10353         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
10354         Change InsetBibKey to InsetBibitem.
10355         Change BIBKEY_CODE to BIBITEM_CODE.
10356         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10357         * factory.C: replace insetbib.h with insetbibitem.h.
10358         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10359         * paragraph.C: replace insetbib.h with insetbibitem.h.
10360         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
10361         Change bibkey() to bibitem().
10362         * text.C: remove insetbib.h.
10363         * text2.C: replace insetbib.h with insetbibitem.h.
10364         change bibkey() to bibitem().
10365         * text3.C: remove insetbib.h.
10366         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10367
10368 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10369
10370         * lyxrc.C (output): enclose user email in quotes (in case there are
10371         several words)
10372
10373 2003-02-18  John Levon  <levon@movementarian.org>
10374
10375         * buffer.h: add std::
10376
10377 2003-02-17  John Levon  <levon@movementarian.org>
10378
10379         * SpellBase.h:
10380         * ispell.h:
10381         * ispell.C:
10382         * pspell.h:
10383         * pspell.C: reworking. Especially in ispell, a large
10384           number of clean ups and bug fixes.
10385
10386         * lyxfunc.C: fix revert to behave sensibly
10387
10388 2003-02-17 André Pönitz <poenitz@gmx.net>
10389
10390         * LyXAction.C:
10391         * commandtags.h: new LFUN_INSERT_BIBKEY
10392
10393         * layout.h:
10394         * lyxlayout.C:
10395         * buffer.C:
10396         * factory.C:
10397         * text.C:
10398         * text2.C:
10399         * text3.C:
10400         * paragraph.[Ch]:
10401         * paragraph_func.C: remove special bibkey handling
10402
10403 2003-02-17  John Levon  <levon@movementarian.org>
10404
10405         * text.C (Delete): fix case where delete at the end of
10406           the very first paragraph would not merge the pars
10407
10408 2003-02-17  John Levon  <levon@movementarian.org>
10409
10410         * lyxrow.C: fix lastPrintablePos()
10411
10412 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10413
10414         * bufferparams.C (writeLaTeX): add a std:here
10415
10416         * buffer.C: and remove a using directive there
10417
10418 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10419
10420         * buffer.C (makeLaTeXFile): move the code that generates the
10421           preamble...
10422
10423         * bufferparams.C (writeLaTeX): ... in this new method
10424
10425         * LaTeXFeatures.C (getEncodingSet): make const
10426           (getLanguages): make const
10427
10428         * MenuBackend.C (binding): returns the binding associated to this
10429           action
10430           (add): sets the status of each item by calling getStatus. Adds
10431           some intelligence.
10432           (read): add support for OptSubMenu
10433           (expand): remove extra separator at the end of expanded menu
10434
10435 2003-02-15  John Levon  <levon@movementarian.org>
10436
10437         * BufferView.C:
10438         * BufferView_pimpl.C:
10439         * bufferlist.h:
10440         * bufferlist.C: remove pointless BufferStorage bloat. Remove
10441           inset code that had no actual effect. Remove unneeded status
10442           code.
10443
10444 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10445
10446         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10447           in preamble
10448
10449 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
10450
10451         * text.C (drawLengthMarker): also draw an arrow marker for
10452           symbolic lengths (medskip...)
10453
10454 2003-02-14  John Levon  <levon@movementarian.org>
10455
10456         * tabular.h:
10457         * tabular.C: better method names
10458
10459 2003-02-14  John Levon  <levon@movementarian.org>
10460
10461         * BufferView_pimpl.C:
10462         * bufferlist.C:
10463         * buffer.C:
10464         * converter.C:
10465         * lyx_cb.C:
10466         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10467           it's a more accurate name. Remove some pointless uses.
10468
10469 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10470
10471         * text2.C (LyXText): change order of initilizers to shut off
10472           warnings
10473
10474 2003-02-14  John Levon  <levon@movementarian.org>
10475
10476         * buffer.C: use ParIterator for getParFromID()
10477
10478         * paragraph.h:
10479         * paragraph.C:
10480         * paragraph_pimpl.h:
10481         * paragraph_pimpl.C: remove unused getParFromID()
10482
10483 2003-02-14  John Levon  <levon@movementarian.org>
10484
10485         * buffer.C: remove some very old #if 0'd parse code
10486
10487 2003-02-13  John Levon  <levon@movementarian.org>
10488
10489         * text.h:
10490         * text.C:
10491         * text2.C: move hfillExpansion(), numberOfSeparators(),
10492           rowLast(), rowLastPrintable(), numberofHfills(),
10493           numberOfLabelHfills() ...
10494
10495         * lyxrow.h:
10496         * lyxrow.C: ... to member functions here.
10497
10498         * paragraph.h:
10499         * paragraph.C:
10500         * lyxtext.h:
10501         * text.C: remove LyXText::beginningOfMainBody(), and call
10502           p->beginningOfMainBody() directly. Move the check for
10503           LABEL_MANUAL into the latter.
10504
10505         * text.h:
10506         * text.C:
10507         * text2.C:
10508         * vspace.C:
10509         * BufferView.h:
10510         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10511
10512         * text.h:
10513         * text.C:
10514         * text2.C:
10515         * text3.C:
10516         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10517           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10518
10519 2003-02-13  John Levon  <levon@movementarian.org>
10520
10521         * CutAndPaste.C: remove debug
10522
10523 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10524
10525         * paragraph.C (asString): remove two unused variables
10526
10527         * lyxtextclass.C (readTitleType):
10528           (Read):
10529           (LyXTextClass): handle new members titletype_ and titlename_
10530
10531         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10532
10533 2003-02-09  John Levon  <levon@movementarian.org>
10534
10535         * buffer.h:
10536         * buffer.C: replace hand-coded list with a map for the dep clean
10537
10538 2003-02-08  John Levon  <levon@movementarian.org>
10539
10540         * LaTeX.C: consolidate code into showRunMessage() helper
10541
10542 2003-02-08  John Levon  <levon@movementarian.org>
10543
10544         * lyxfind.C:
10545         * lyxtext.h:
10546         * text2.C:
10547         * BufferView.C: change setSelectionOverString() to setSelectionRange()
10548           and pass the size in explicitly
10549
10550         * BufferView_pimpl.h:
10551         * BufferView_pimpl.C:
10552         * BufferView.h:
10553         * BufferView.C: add getCurrentChange()
10554
10555         * BufferView_pimpl.h:
10556         * BufferView_pimpl.C: handle change lfuns
10557
10558         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10559           for changes. Mark pasted paragraphs as new.
10560
10561         * support/lyxtime.h:
10562         * support/lyxtime.C:
10563         * DepTable.C: abstract time_t as lyx::time_type
10564
10565         * LColor.h:
10566         * LColor.C: add colours for new text, deleted text, changebars
10567
10568         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10569           package use "usenames" option.
10570
10571         * commandtags.h:
10572         * lyxfunc.C:
10573         * LyXAction.C: add change lfuns
10574
10575         * Makefile.am:
10576         * author.h:
10577         * author.C: author handling
10578
10579         * buffer.h:
10580         * buffer.C: add a per-buffer author list, with first entry as
10581           current author. Handle new .lyx tokens for change tracking. Output
10582           author list to .lyx file. Output dvipost stuff to .tex preamble.
10583           Bump lyx format to 222.
10584
10585         * bufferlist.h:
10586         * bufferlist.C: add setCurrentAuthor() to reset current author details
10587           in all buffers.
10588
10589         * bufferparams.h:
10590         * bufferparams.C: add param for tracking
10591
10592         * bufferview_funcs.C: output change info in minibuffer
10593
10594         * Makefile.am:
10595         * changes.h:
10596         * changes.C: add change-tracking structure
10597
10598         * debug.h:
10599         * debug.C: add CHANGES debug flag
10600
10601         * lyxfind.h:
10602         * lyxfind.C: add code for finding the next change piece
10603
10604         * lyxrc.h:
10605         * lyxrc.C: add user_name and user_email
10606
10607         * lyxrow.h:
10608         * lyxrow.C: add a metric for the top of the text line
10609
10610         * lyxtext.h:
10611         * text.C: implement accept/rejectChange()
10612
10613         * lyxtext.h:
10614         * text.C: paint changebars. Paint new/deleted text in the chosen
10615         colours. Strike through deleted text.
10616
10617         * paragraph.h:
10618         * paragraph.C:
10619         * paragraph_pimpl.h:
10620         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10621           in the current change to the insert functions. Rework erase to
10622           mark text as deleted, adding an eraseIntern() and a range-based
10623           erase(). Implement per-paragraph change lookup and
10624           accept/reject.
10625
10626         * paragraph_funcs.C: Fixup paste for change tracking.
10627
10628         * tabular.C: mark added row/columns as new.
10629
10630         * text.C: fix rowLast() to never return -1. Don't allow
10631           spellchecking of deleted text. Track transpose changes. Don't
10632           allow paragraph break or merge where appropriate.
10633
10634         * text2.C: leave cursor at end of selection after a cut.
10635
10636 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10637
10638         * text.C (getLengthMarkerHeight):
10639         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10640         visible on screen too.
10641
10642 2003-02-07  John Levon  <levon@movementarian.org>
10643
10644         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10645
10646 2003-02-05  Angus Leeming  <leeming@lyx.org>
10647
10648         * lyxserver.C (read_ready): revert my patch of 11 September last year
10649         as it sends PC cpu through the roof. Presumably this means that
10650         the lyxserver will no longer run on an Alpha...
10651
10652 2003-01-30  Angus Leeming  <leeming@lyx.org>
10653
10654         * factory.C (createInset): create an InsetCommandParam of type "index"
10655         and use it to 'do the right thing'.
10656
10657         * text2.C (getStringToIndex): ensure that cursor position is always
10658         reset to the reset_cursor position.
10659
10660 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10661
10662         * lyxfunc.C (getStatus): "buffer-export custom" should never be
10663         disabled.
10664
10665 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
10666
10667         * bufferview.C:
10668         * lyxcb.C:
10669         * lyxfunc.C: Output messages with identical spelling, punctuation,
10670         and spaces
10671
10672 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
10673
10674         * MenuBackend.C (expandFormats): List only viewable export formats
10675         in "View" menu
10676
10677         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10678         message
10679
10680         * lyxfunc.C (getStatus): Make sure that formats other than
10681         "fax" can also be disabled
10682
10683 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10684
10685         * text3.C (dispatch): put the lfuns that insert insets in 3
10686         groups, and call doInsertInset with appropriate arguments.
10687         (doInsertInset): new function, that creates an inset and inserts
10688         it according to some boolean parameters.
10689
10690 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
10691
10692         * buffer.C (readFile): remember to pass on 'par' when calling
10693         readFile recursively.
10694
10695 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10696
10697         * MenuBackend.C (expandFormats): add "..." to import formats.
10698
10699 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
10700
10701         * paragraph.C (asString): Remove XForms RTL hacks.
10702
10703 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
10704         * buffer.C: fix typo
10705
10706 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10707
10708         * Makefile.am (LIBS): delete var
10709         (lyx_LDADD): add @LIBS@ here instead.
10710
10711 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
10712
10713         * Clarify the meaning of "wheel mouse jump"
10714
10715 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10716
10717         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10718         tabular in a float
10719
10720 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10721
10722         * importer.C (Loaders): do not preallocate 3 elements in the
10723         vector, since one ends up with 6 elements otherwise
10724
10725 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10726
10727         * DepTable.C (write): write the file name as last element of the
10728         .dep file (because it may contain spaces)
10729         (read): read info in the right order
10730
10731 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10732
10733         * paragraph_pimpl.C (simpleTeXBlanks):
10734         (simpleTeXSpecialChars):
10735         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10736
10737         * tabular.C (latex): add some missing case statements. Reindent.
10738
10739         * MenuBackend.C (expandToc): remove unused variable.
10740
10741 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
10742
10743         * LColor.C:
10744         * LaTeX.C:
10745         * LyXAction.C:
10746         * MenuBackend.C:
10747         * buffer.C:
10748         * exporter.C:
10749         * lyxfunc.C:
10750         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10751         and the like.
10752
10753 2003-01-05  John Levon  <levon@movementarian.org>
10754
10755         * BufferView.h:
10756         * BufferView.C: add getEncoding()
10757
10758         * kbsequence.h:
10759         * kbsequence.C: do not store last keypress
10760
10761         * lyxfunc.h:
10762         * lyxfunc.C: store last keypress here instead. Pass encoding
10763           to getISOEncoded()
10764
10765 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10766
10767         * lyx_main.C (init): remove annoying error message when following
10768         symbolic links (bug #780)
10769
10770 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10771
10772         * text.C (insertChar):
10773         * lyxrc.C (getDescription): remove extra spaces
10774
10775 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10776
10777         * lyxrc.C (getDescription): remove extra spaces
10778
10779 2002-12-20  John Levon  <levon@movementarian.org>
10780
10781         * text3.C: hack fix for page up/down across tall rows
10782
10783 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10784
10785         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10786         not been invoked
10787
10788 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10789
10790         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10791         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10792         thesaurus is not compiled in
10793
10794 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
10795
10796         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
10797
10798 2002-12-16  Angus Leeming  <leeming@lyx.org>
10799
10800         * lyxrc.[Ch]:
10801         * lyx_main.C (init): remove override_x_deadkeys stuff.
10802
10803 2002-12-12  John Levon  <levon@movementarian.org>
10804
10805         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10806           insert. Only remove shift modifier under strict
10807           circumstances.
10808
10809 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
10810
10811         * MenuBackend.C (expandToc): fix crash.
10812
10813 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
10814
10815         * MenuBackend.C (expandToc): gettext on float names.
10816
10817 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
10818
10819         * lyxlength.[Ch]: set default unit to UNIT_NONE,
10820         implement bool empty() [bug 490]
10821
10822 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10823
10824         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10825
10826 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10827
10828         * several files: ws changes
10829
10830 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10831
10832         * text2.C (setCounter): clean up a bit, use boost.format.
10833         (updateCounters): initialize par upon declaration.
10834
10835         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10836         if the layout exists. We do not just store the layout any more.
10837         (SwitchLayoutsBetweenClasses): use boost.format
10838
10839 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10840
10841         * converter.C (convert): if from and to files are the same, use a
10842         temporary files as intermediary
10843
10844 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10845
10846         * commandtags.h:
10847         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10848
10849 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10850
10851         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10852
10853 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
10854
10855         * tabular.C (asciiPrintCell): use string(size, char) instead of
10856         explicit loop.
10857
10858         * sgml.C (openTag): fix order of arguments to string constructor
10859         (closeTag): ditto
10860
10861         * lyxfunc.C (dispatch): use boost.format
10862
10863         * lots of files: change "c" -> 'c'
10864
10865 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10866
10867         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10868
10869 2002-11-25  Angus Leeming  <leeming@lyx.org>
10870
10871         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10872
10873         * lyx_main.C (init): compile fix.
10874
10875 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
10876
10877         * lyx_cb.C (start): boost.formatify
10878         do not include <iostream>
10879
10880         * lengthcommon.C: ws only
10881
10882         * boost-inst.C,BoostFormat.h: add more explict instantations
10883
10884 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
10885
10886         * lots of files: handle USE_BOOST_FORMAT
10887
10888 2002-11-21  John Levon  <levon@movementarian.org>
10889
10890         * pspell.C: fix compile
10891
10892 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10893
10894         * lyxfunc.C (dispatch): use boost::format
10895         (open): ditto
10896         (doImport): ditto
10897
10898         * lyxfont.C (stateText): use boost::format
10899
10900         * lyx_main.C (LyX): use boost::format
10901         (init): ditto
10902         (queryUserLyXDir): ditto
10903         (readRcFile): ditto
10904         (parse_dbg): ditto
10905         (typedef boost::function): use the recommened syntax.
10906
10907         * importer.C (Import): use boost::format
10908
10909         * debug.C (showLevel): use boost::format
10910
10911         * converter.C (view): use boost::format
10912         (convert): ditto
10913         (move): ditto
10914         (scanLog): ditto
10915
10916         * bufferview_funcs.C (currentState): use boost::format
10917
10918         * bufferlist.C (emergencyWrite): use boost::format
10919
10920         * buffer.C (readLyXformat2): use boost::format
10921         (parseSingleLyXformat2Token): ditto
10922
10923         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10924
10925         * LaTeX.C (run): use boost::format
10926
10927         * Chktex.C (scanLogFile): use boost::format
10928
10929         * BufferView_pimpl.C (savePosition): use boost::format
10930         (restorePosition): ditto
10931         (MenuInsertLyXFile): ditto
10932
10933         * BoostFormat.h: help file for explicit instation.
10934
10935 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
10936
10937         * tabular.C (latex): Support for block alignment in fixed width
10938         columns.
10939
10940 2002-11-17  John Levon  <levon@movementarian.org>
10941
10942         * BufferView_pimpl.C:
10943         * lyx_cb.C:
10944         * lyxfunc.C: split filedialog into open/save
10945
10946 2002-11-08  Juergen Vigna  <jug@sad.it>
10947
10948         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10949         by my last patch (hopefully).
10950
10951 2002-11-08  John Levon  <levon@movementarian.org>
10952
10953         * iterators.h:
10954         * iterators.C:
10955         * buffer.h:
10956         * buffer.C:
10957         * paragraph.h:
10958         * paragraph.C:
10959         * toc.h:
10960         * toc.C: ParConstIterator, and use it (from Lars)
10961
10962 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
10963
10964         * lyxtextclass.[Ch]: revise and add doxygen comments
10965
10966 2002-11-07  John Levon  <levon@movementarian.org>
10967
10968         * text.C: fix progress value for spellchecker
10969
10970         * toc.C: fix navigate menu for insetwrap inside minipage
10971
10972         * paragraph_funcs.C: added FIXME for suspect code
10973
10974 2002-11-07  John Levon  <levon@movementarian.org>
10975
10976         * BufferView_pimpl.C: fix redrawing of insets
10977           on buffer switch
10978
10979 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10980
10981         * text2.C (updateCounters): fix bug 668
10982
10983 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
10984
10985         * text3.C (dispatch): Do not make the buffer dirty when moving the
10986         cursor.
10987
10988 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10989
10990         * vc-backend.C: STRCONV
10991         (scanMaster): ditto
10992
10993         * text2.C (setCounter): STRCONV
10994
10995         * paragraph.C (asString): STRCONV
10996
10997         * lyxlength.C (asString): STRCONV
10998         (asLatexString): ditto
10999
11000         * lyxgluelength.C (asString): STRCONV
11001         (asLatexString): ditto
11002
11003         * lyxfunc.C (dispatch): STRCONV
11004         (open): ditto
11005
11006         * lyxfont.C (stateText): STRCONV
11007
11008         * importer.C (Import): STRCONV
11009
11010         * counters.C (labelItem): STRCONV
11011         (numberLabel): ditto
11012         (numberLabel): remove unused ostringstream o
11013
11014         * chset.C: STRCONV
11015         (loadFile): ditto
11016
11017         * bufferview_funcs.C (currentState): STRCONV
11018
11019         * buffer.C (readFile): STRCONV
11020         (asciiParagraph): ditto
11021         (makeLaTeXFile): ditto
11022
11023         * Spacing.C (writeEnvirBegin): STRCONV
11024
11025         * LaTeXFeatures.C (getLanguages): STRCONV
11026         (getPackages): ditto
11027         (getMacros): ditto
11028         (getBabelOptions): ditto
11029         (getTClassPreamble): ditto
11030         (getLyXSGMLEntities): ditto
11031         (getIncludedFiles): ditto
11032
11033         * LaTeX.C: STRCONV
11034         (run): ditto
11035         (scanAuxFile): ditto
11036         (deplog): ditto
11037
11038         * LString.h: add the STRCONV macros
11039
11040         * BufferView_pimpl.C (savePosition): STRCONV
11041         (restorePosition): ditto
11042         (MenuInsertLyXFile): ditto
11043
11044         * vc-backend.C (scanMaster): change from submatch[...] to
11045         submatch.str(...)
11046
11047         * funcrequest.C: include config.h
11048
11049         * factory.C: include config.h
11050
11051         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
11052
11053         * box.C: include config.h
11054
11055         * LaTeX.C (scanAuxFile): change from submatch[...] to
11056         submatch.str(...)
11057         (deplog): ditto
11058
11059 2002-10-25  Angus Leeming  <leeming@lyx.org>
11060
11061         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
11062
11063         * ispell.[Ch] (setError): new method.
11064         * ispell.C (c-tor): move out child process into new class LaunchIspell.
11065         Use setError() insetead of goto END.
11066
11067         * lyx_cb.C (AutoSave): move out child process into new class
11068         AutoSaveBuffer.
11069
11070 2002-10-30  John Levon  <levon@movementarian.org>
11071
11072         * text3.C: make start appendix undoable
11073
11074 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
11075
11076         * lyxlength.C (inPixels): Fix returned value.
11077
11078         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
11079         environment.
11080
11081 2002-10-24  Angus Leeming  <leeming@lyx.org>
11082
11083         * lyxgluelength.h: no need to forward declare BufferParams
11084         or BufferView, so don't.
11085
11086 2002-10-21  John Levon  <levon@movementarian.org>
11087
11088         * BufferView.C: menuUndo ->undo, redo
11089
11090         * BufferView.h: document, remove dead, make some methods private
11091
11092         * paragraph_funcs.h:
11093         * paragraph_funcs.C:
11094         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
11095
11096         * buffer.h:
11097         * buffer.C:
11098         * sgml.h:
11099         * sgml.C: move sgml open/close tag into sgml.C
11100
11101         * bufferview_funcs.h: unused prototype
11102
11103         * lyxfunc.h:
11104         * lyxfunc.C: remove unused
11105
11106         * lyxtext.h:
11107         * text.C: remove unused
11108
11109 2002-10-21  John Levon  <levon@movementarian.org>
11110
11111         * BufferView.h:
11112         * BufferView.C:
11113         * BufferView_pimpl.h:
11114         * BufferView_pimpl.C: fix mouse wheel handling based on
11115           patch from Darren Freeman
11116
11117 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
11118
11119         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
11120
11121 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
11122
11123         * lyxlength.C (inPixels): Fix hanfling of negative length.
11124         Fix LyXLength::MU case.
11125
11126 2002-10-16  John Levon  <levon@movementarian.org>
11127
11128         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
11129
11130 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11131
11132         * converter.C (view): add support for $$i (file name) and $$p
11133         (file path) for the viewer command. If $$i is not specified, then
11134         it is appended to the command (for compatibility with old syntax)
11135
11136 2002-10-14  Juergen Vigna  <jug@sad.it>
11137
11138         * undo_funcs.C (textHandleUndo): alter the order in which the
11139         new undopar is added to the LyXText, as we have to set first
11140         the right prev/next and then add it as otherwise the rebuild of
11141         LyXText is not correct. Also reset the cursor to the right paragraph,
11142         with this IMO we could remove the hack in "redoParagraphs()".
11143
11144 2002-10-09  Angus Leeming  <leeming@lyx.org>
11145
11146         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
11147         to turn off an optimisation if a new inset is to be inserted.
11148
11149 2002-10-11 André Pönitz <poenitz@gmx.net>
11150
11151         * lyxtext.h: make some functions public to allow access
11152         from inset/lyxtext for handling LFUN_PRIOR/NEXT
11153
11154 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11155
11156         * text3.C (dispatch): when changing layout, avoid an infinite loop
11157         [bug #652]
11158
11159 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11160
11161         * lyxrc.C (read): treat a viewer or converter command of "none" as
11162         if it were empty.
11163
11164         * MenuBackend.C (expandFormats): for an update, also allow the
11165         formats that are not viewable
11166
11167         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
11168         script if it is newer than the lyxrc.defaults in user directory
11169
11170 2002-10-07 André Pönitz <poenitz@gmx.net>
11171
11172         * text.C: Vitaly Lipatov's small i18n fix
11173
11174 2002-09-25  Angus Leeming  <leeming@lyx.org>
11175
11176         * ispell.h: doxygen fix.
11177
11178 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
11179
11180         * buffer.h (readFile): Add a new argument to the method, to allow
11181         reading of old-format templates.
11182
11183 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
11184
11185         * toc.C (getTocList): Get TOC from InsetWrap.
11186
11187 2002-09-16  John Levon  <levon@movementarian.org>
11188
11189         * lyxfunc.C: check tabular for cut/copy too
11190
11191 2002-09-12  John Levon  <levon@movementarian.org>
11192
11193         * LyXAction.C: tidy
11194
11195         * factory.h:
11196         * factory.C: add header
11197
11198         * paragraph_funcs.h:
11199         * paragraph_funcs.C: cleanup
11200
11201 2002-09-11  John Levon  <levon@movementarian.org>
11202
11203         * PrinterParams.h: odd/even default to true
11204
11205 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
11206
11207         * PrinterParams.h: update printer parameters for new xforms dialog
11208
11209 2002-09-11  Angus Leeming  <leeming@lyx.org>
11210
11211         * lyxserver.C (read_ready): re-write to make it more transparent
11212         and to make it work in coherent fashion under Tru64 Unix.
11213
11214 2002-09-11  André Pönitz <poenitz@gmx.net>
11215
11216         * commandtags.h:
11217         * LyXAction.C:
11218         * text3.C: implement LFUN_WORDSEL
11219
11220 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11221
11222         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
11223         make floatlist_ a boost::shared_ptr<FloatList>
11224
11225         * lyxtextclass.C: include FloatList.h
11226         (LyXTextClass): initialize floatlist_
11227         (TextClassTags): add TC_NOFLOAT
11228         (Read): match "nofloat" to TC_NOFLOAT and use it.
11229         (readFloat): modify call to floatlist_
11230         (floats): ditto
11231         (floats): ditto
11232
11233         * FloatList.[Ch] (FloatList): remove commented out float
11234         initialization.
11235         (erase): new function
11236
11237 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11238
11239         * MenuBackend.C (expandToc): fix crash when there is no document
11240         open
11241
11242 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
11243
11244         * many files: Add insetwrap.
11245
11246 2002-09-09  John Levon  <levon@movementarian.org>
11247
11248         * text2.C: remove confusing and awkward depth wraparound
11249
11250 2002-09-09  John Levon  <levon@movementarian.org>
11251
11252         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
11253
11254         * buffer.h:
11255         * buffer.C: remove getIncludeonlyList()
11256
11257         * paragraph.C:
11258         * lyxfunc.C: remove headers
11259
11260 2002-09-09  Juergen Vigna  <jug@sad.it>
11261
11262         * text.C (getColumnNearX): fix form Michael this is most
11263         probably a cut&paste bug.
11264
11265 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
11266
11267         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
11268
11269         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
11270         references, ws changes.
11271
11272         * text2.C (init): update counters after init
11273         (insertParagraph): no need to set counter on idividual paragraphs.
11274         (setCounter): access the counters object in the textclass object
11275         on in the buffer object.
11276         (updateCounters): ditto
11277
11278         * lyxtextclass.C: include counters.h, add variable ctrs_ as
11279         shared_ptr<Counters> to avoid loading counters.h in all
11280         compilation units.
11281         (LyXTextClass): initialize ctrs_
11282         (TextClassTags): add TC_COUNTER, and ...
11283         (Read): use it here.
11284         (CounterTags): new tags
11285         (readCounter): new function
11286         (counters): new funtion
11287         (defaultLayoutName): return a const reference
11288
11289         * counters.C (Counters): remove contructor
11290         (newCounter): remove a couple of unneeded statements.
11291         (newCounter): simplify a bit.
11292         (numberLabel): some small formatting changes.
11293
11294         * buffer.[Ch]: remove all traces of counters, move the Counters
11295         object to the LyXTextClass.
11296
11297 2002-09-06  Alain Castera  <castera@in2p3.fr>
11298
11299         * tabular.C: uses \tabularnewline; uses >{...} construct from array
11300         package to set the horizontal alignment on fixed width columns.
11301
11302         * lyx_sty.C:
11303         * lyx_sty.h: added tabularnewline macro def.
11304
11305         * LaTeXFeatures.C: added NeedTabularnewline macro feature
11306
11307 2002-09-06  John Levon  <levon@movementarian.org>
11308
11309         * LyXAction.C: tooltips for sub/superscript
11310
11311         * MenuBackend.C: a bit more verbose
11312
11313         * lyxfunc.C: tiny clean
11314
11315         * undo_funcs.C: document undo_frozen
11316
11317 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
11318
11319         * counters.C (Counters): add missing algorithm counter.
11320
11321         * text2.C (setCounter): lookup the counter with layouts latexname
11322         instead of by section number.
11323         (setCounter): use a hackish way to lookup the correct enum
11324         counter.
11325         a float name->type change
11326         reset enum couners with counter name directly instead of depth value.
11327
11328         * counters.C (Counters): remove the push_backs, change to use the
11329         float type not the float name.
11330         (labelItem): remove unused string, float name->type change
11331
11332         * counters.h: don't include vector, loose the enums and sects vectors
11333
11334 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
11335
11336         * lyxtextclass.C (TextClassTags): add TC_FLOAT
11337         (Read): add float->TC_FLOAT to textclassTags
11338         (Read): and handle it in the switch
11339         (readFloat): new function
11340
11341         * FloatList.C (FloatList): comment out the hardcoded float
11342         definitions.
11343
11344         * lyxlayout.h: ws change.
11345
11346 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
11347
11348         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
11349
11350 2002-09-03  Angus Leeming  <leeming@lyx.org>
11351
11352         * BufferView_pimpl.h: qualified name is not allowed in member
11353         declaration: WorkArea & Pimpl::workarea() const;
11354
11355         * factory.C: added using std::endl directive.
11356
11357         * text3.C: added using std::find and std::vector directives.
11358
11359 2002-08-29  André Pönitz <poenitz@gmx.net>
11360
11361         * lyxtext.h:
11362         * text2.C: remove unused member number_of_rows
11363
11364         * Makefile.am:
11365         * BufferView2.C: remove file, move contents to...
11366         * BufferView.C: ... here
11367
11368         * BufferView_pimpl.C:
11369         * factory.C: move more inset creation to factory
11370
11371         * vspace.C: avoid direct usage of LyXText, ws changes
11372
11373         * BufferView.[Ch]:
11374                 don't provide direct access to WorkArea, use two simple
11375                 acessors haveSelction() and workHeight() instead
11376
11377
11378 2002-08-29  John Levon  <levon@movementarian.org>
11379
11380         * BufferView_pimpl.C (dispatch): do not continue when
11381           no buffer
11382
11383 2002-08-28  André Pönitz <poenitz@gmx.net>
11384
11385         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
11386
11387         * BufferView.h:
11388         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
11389
11390 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
11391
11392         * buffer.C: increment LYX_FORMAT to 221
11393
11394         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
11395         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
11396
11397         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
11398
11399         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
11400
11401 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11402
11403         * factory.C (createInset): use LyXTextClass::floats
11404
11405         * MenuBackend.C (expandFloatListInsert):
11406         (expandFloatInsert):
11407         (expandToc):
11408
11409         * text2.C (setCounter):
11410
11411         * LaTeXFeatures.C (useFloat):
11412         (getFloatDefinitions):
11413
11414         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
11415
11416         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
11417         floatlist_, with accessor floats().
11418
11419         * FloatList.h: remove global FloatList
11420
11421 2002-08-26  André Pönitz <poenitz@gmx.net>
11422
11423         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
11424
11425         * BufferView.h:
11426         * BufferView2.C:
11427         * BufferView_pimpl.C:
11428         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
11429
11430 2002-08-25  John Levon  <levon@movementarian.org>
11431
11432         * LyXAction.C: fix margin note description
11433
11434 2002-08-24  John Levon  <levon@movementarian.org>
11435
11436         * buffer.C:
11437         * bufferlist.C:
11438         * bufferview_funcs.C:
11439         * lyxfont.C:
11440         * undo_funcs.C: cleanups
11441
11442         * lyxfunc.C: disable CUT/COPY when no selection
11443
11444 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
11445
11446         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11447         in "enum UNIT"; e.g. PTW for Percent of TextWidth
11448
11449         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11450         Add backward compatibility to "mono", "gray" and "no".
11451
11452 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
11453
11454         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11455         (and file_format >= 200).
11456
11457 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11458
11459         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11460
11461 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11462
11463         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11464
11465 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
11466
11467         * BufferView_pimpl.C:
11468         * LyXAction.C:
11469         * buffer.C:
11470         * commandtags.h:
11471         * lyxfunc.C:
11472         * paragraph.[Ch]:
11473         * text2.C:
11474         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11475         inset and code to make it  work with the paragraph code. The inset
11476         can be anywhere in the paragraph, but will only do the expected
11477         thing in LaTeX if the layout file contains the parameter line
11478                         OptionalArgs    1
11479         (or more generally, a nonzero value) for that layout.
11480
11481 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
11482
11483         * paragraph.h: remove the declaration of undefined counters class
11484         function.
11485
11486 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
11487
11488         * text2.C (setCounter):  fixed enumeration mis-count as reported by
11489         Dr. Richard Hawkins.
11490
11491 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11492
11493         * paragraph_funcs.h: remove some unneeded includes
11494
11495         * text.C (backspace): pasteParagraph now in global scipe
11496
11497         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11498         (pasteSelection): ditto
11499
11500         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11501         * paragraph_funcs.C (pasteParagraph): ... here
11502
11503 2002-08-20  André Pönitz <poenitz@gmx.net>
11504
11505         * commandtags.h: new LFUNs for swapping/copying table row/colums
11506
11507         * LyXAction.C:
11508         * lyxfunc.C: support for new lfuns
11509
11510 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
11511
11512         * tabular.C:
11513         * buffer.[Ch]: remove NO_COMPABILITY stuff
11514
11515 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
11516
11517         * boost.C (throw_exception): new file, with helper function for
11518         boost compiled without exceptions.
11519
11520         * paragraph.h:
11521         * lyxlength.C:
11522         * buffer.C:
11523         * ParameterStruct.h:
11524         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11525
11526         * bufferlist.C (emergencyWriteAll): use boost bind
11527
11528         * BufferView_pimpl.C (moveCursorUpdate): remove inline
11529
11530         * text.C: include paragraph_funcs.h
11531         (breakParagraph): breakParagraph is now in global scope
11532
11533         * paragraph_funcs.[Ch]: new files
11534
11535         * paragraph.C (breakParagraph,breakParagraphConservative): move to
11536         global scope
11537
11538         * buffer.C: include paragraph_funcs.h
11539         (insertStringAsLines): breakParagraph is now in global scope
11540
11541         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11542         paragraph_funcs.C
11543
11544         * CutAndPaste.C: include paragraph_funcs.h
11545         (cutSelection): breakParagraphConservative is now in global scope
11546         (pasteSelection): ditto
11547
11548         * buffer.h: declare oprator== and operator!= for
11549         Buffer::inset_iterator
11550
11551         * bufferlist.C (emergencyWrite): don't use fmt(...)
11552
11553         * text3.C: add using std::endl
11554
11555         * BufferView.C (moveCursorUpdate): remove default arg
11556
11557 2002-08-20  André Pönitz <poenitz@gmx.net>
11558
11559         * buffer.[Ch]: move inline functions to .C
11560
11561         * BufferView2.C:
11562         * BufferView_pimpl.C:
11563         * text.C:
11564         * buffer.[Ch]: use improved inset_iterator
11565
11566         * buffer.C:
11567         * paragraph.[Ch]: write one paragraph at a time
11568
11569 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11570
11571         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11572         style if style is not specified.
11573
11574 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11575
11576         * text2.C (setCounter): when searching for right label for a
11577         caption, make sure to recurse to parent insets (so that a caption
11578         in a minipage in a figure float works) (bug #568)
11579
11580 2002-08-20  André Pönitz <poenitz@gmx.net>
11581
11582         * text3.C: new file for LyXText::dispatch() and helpers
11583
11584         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11585
11586         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11587
11588 2002-08-19  André Pönitz <poenitz@gmx.net>
11589
11590         * lyxtext.h:
11591         * text.C: new LyXText::dispatch()
11592
11593         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11594
11595 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
11596
11597         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11598
11599         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11600         Hebrew text.
11601
11602 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11603
11604         * Makefile.am: use $(variables) instead of @substitutions@
11605
11606 2002-08-15  André Pönitz <poenitz@gmx.net>
11607
11608         * lyxfunc.C:
11609         * BufferView_pimpl.C: streamlining mathed <-> outer world
11610         interaction
11611
11612         * commandtags.h:
11613         * LyXAction.C: remove unused LFUN_MATH
11614
11615 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11616
11617         * paragraph.[Ch]: add some NO_NEXT ifdefs.
11618
11619 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11620
11621         * paragraph.C (Paragraph): reformat a bit
11622         (cutIntoMinibuffer): use builtin InsetList function instad of
11623         doing it manually.
11624         (getInset): ditto
11625
11626         * buffer.C: include boost/bind.hpp, add using std::for_each
11627         (writeFileAscii): use ParagraphList iterators
11628         (validate): use for_each for validate traversal of paragraphs
11629         (getBibkeyList): use ParagraphList iterators
11630         (resizeInsets): use for_each to resizeInsetsLyXText for all
11631         paragraphs.
11632         (getParFromID): use ParagraphList iterators
11633
11634         * BufferView2.C (lockInset): use paragraph list and iterators
11635
11636 2002-08-14  John Levon  <levon@movementarian.org>
11637
11638         * lyxserver.C: remove spurious xforms include
11639
11640 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11641
11642         * lyxfunc.C (getStatus): disable math-extern outside of math mode
11643
11644 2002-08-13  André Pönitz <poenitz@gmx.net>
11645
11646         * LyXAction.[Ch]:
11647         * lyxfunc.C: further cleaning
11648
11649 2002-08-13  André Pönitz <poenitz@gmx.net>
11650
11651         * funcrequest.h: new constructor
11652
11653         * funcrequest.C: move stuff here from .h
11654
11655         * Makefile.am:
11656         * BufferView_pimpl.C:
11657         * LyXAction.C:
11658         * toc.C:
11659         * lyxfunc.C: subsequent changes
11660
11661         * lyxfunc.h: new view() member function
11662
11663         * lyxfunc.C: subsequent changes
11664
11665 2002-08-13  Angus Leeming  <leeming@lyx.org>
11666
11667         * BufferView2.C:
11668         * BufferView_pimpl.C:
11669         * buffer.C:
11670         * converter.C:
11671         * importer.C:
11672         * lyxfunc.C:
11673         * lyxvc.C:
11674         * toc.C:
11675         * vc-backend.C:
11676         changes due to the changed LyXView interface that now returns references
11677         to member variables not pointers.
11678
11679 2002-08-13  Angus Leeming  <leeming@lyx.org>
11680
11681         * WordLangTuple (word, lang_code): return references to strings,
11682         not strings.
11683
11684         * BufferView.h:
11685         * SpellBase.h:
11686         * lyxtext.h: forward-declare WordLangTuple.
11687
11688         * BufferView2.C:
11689         * ispell.C:
11690         * pspell.C:
11691         * text.C: #include "WordLangTuple.h".
11692
11693         * lyxtext.h:
11694         * text.C: (selectNextWordToSpellcheck): constify return type.
11695
11696 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
11697
11698         * buffer.C:
11699         * buffer.h:
11700         * lyxtext.h:
11701         * paragraph.C:
11702         * paragraph_pimpl.h:
11703         * text.C:
11704         * text2.C:
11705         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11706         suggested by Angus.
11707         Made updateCounter always count from start of buffer, and removed
11708         second argument (par).
11709         Reverted floats number display to '#'. Perhaps I'll try again when the
11710         code base is sanitized a bit.
11711
11712 2002-08-12  Angus Leeming  <leeming@lyx.org>
11713
11714         * buffer.[Ch] (getLabelList): constify.
11715
11716 2002-08-07  André Pönitz <poenitz@gmx.net>
11717
11718         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11719
11720         * funcrequest.h: extension to keep mouse (x,y) position
11721
11722 2002-08-12  Juergen Vigna  <jug@sad.it>
11723
11724         * BufferView2.C (insertErrors): forbid undo when inserting error
11725         insets.
11726
11727         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11728
11729 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
11730
11731         * ParagraphList.[Ch]: new files
11732
11733         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11734
11735         * BufferView2.C (lockInset): ParagraphList changes
11736         * toc.C: ditto
11737         * text2.C: ditto
11738         * bufferlist.C: ditto
11739         * buffer.h: ditto
11740         * buffer.C: ditto
11741
11742 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11743
11744         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11745         unused class variable counter_,
11746
11747         * paragraph.[Ch] (getFirstCounter): delete unused function
11748
11749         * counters.C: include LAssert.h
11750         (reset): add a new function with no arg, change other version to
11751         not have def. arg and to not allow empty arg.
11752
11753         * text2.C (setCounter): remove empty arg from call to Counters::reset
11754
11755 2002-08-11  John Levon  <levon@movementarian.org>
11756
11757         * Makefile.am: add WordLangTuple.h
11758
11759 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11760
11761         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11762         lyxfunc.C lyxlex_pimpl.C: ws changes only.
11763
11764         * insets/insettext.C: InsetList changes
11765
11766         * graphics/GraphicsSupport.C (operator()): InsetList changes
11767
11768         * toc.C (getTocList): InsetList changes
11769
11770         * paragraph_pimpl.[Ch]: InsetList changes
11771
11772         * paragraph.[Ch]: InsetList changes
11773
11774         * buffer.C (inset_iterator): InsetList changes
11775         (setParagraph): ditto
11776         * buffer.h (inset_iterator): ditto
11777         * iterators.C (operator++): ditto
11778         * iterators.h: ditto
11779
11780         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11781
11782         * InsetList.[Ch]: new files, most InsetList handling moved out of
11783         paragraph.C.
11784
11785         * BufferView2.C (removeAutoInsets): InsetList changes
11786         (lockInset): ditto
11787         (ChangeInsets): ditto
11788
11789 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
11790
11791         * paragraph_pimpl.h (empty): new function
11792
11793         * paragraph.[Ch] (empty): new function
11794
11795         * other files: use the new Paragraph::empty function
11796
11797 2002-08-09  John Levon  <levon@movementarian.org>
11798
11799         * lyxtext.h: remove unused refresh_height
11800
11801 2002-08-09  John Levon  <levon@movementarian.org>
11802
11803         * Makefile.am:
11804         * sgml.h:
11805         * sgml.C:
11806         * buffer.C:
11807         * paragraph.h:
11808         * paragraph.C: move sgml char escaping out of paragraph
11809
11810         * paragraph.h:
11811         * paragraph.C: remove id setter
11812
11813         * buffer.C:
11814         * paragraph.C:
11815         * paragraph_pimpl.C: remove dead tex_code_break_column
11816
11817         * bufferview_funcs.C: small cleanup
11818
11819         * lyxfunc.C: remove dead proto
11820
11821         * lyxtext.h: make some stuff private. Remove some dead stuff.
11822
11823         * lyxgluelength.C: make as[LyX]String() readable
11824
11825 2002-08-08  John Levon  <levon@movementarian.org>
11826
11827         * LyXAction.h:
11828         * LyXAction.C:
11829         * MenuBackend.C:
11830         * ToolbarDefaults.C:
11831         * lyxfunc.C:
11832         * lyxrc.C:
11833         * toc.C: lyxaction cleanup
11834
11835 2002-08-08  John Levon  <levon@movementarian.org>
11836
11837         * BufferView2.C: small cleanup
11838
11839         * lyxfind.h:
11840         * lyxfind.C: move unnecessary header into the .C
11841
11842 2002-08-08  John Levon  <levon@movementarian.org>
11843
11844         * funcrequest.h: just tedious nonsense
11845
11846         * lyx_main.h:
11847         * lyx_main.C: cleanups
11848
11849         * buffer.C:
11850         * vspace.C: remove dead header lyx_main.h
11851
11852 2002-08-07  Angus Leeming  <leeming@lyx.org>
11853
11854         * Paragraph.[Ch]:
11855         * paragraph_pimpl.h:
11856         Forward declare class Counters in paragraph.h by moving the ctrs member
11857         variable into Paragraph::Pimpl.
11858         (counters): new method, returning a reference to pimpl_->ctrs.
11859
11860         * text2.C: ensuing changes.
11861
11862 2002-08-07  John Levon  <levon@movementarian.org>
11863
11864         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11865
11866         * BufferView_pimpl.C: announce X selection on double/triple
11867           click
11868
11869         * lyx_main.C: use correct bool in batch dispatch
11870
11871         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11872
11873 2002-08-07  André Pönitz <poenitz@gmx.net>
11874
11875         * funcrequest.h: new class to wrap a kb_action and its argument
11876
11877         * BufferView.[Ch]:
11878         * BufferView_pimpl[Ch]:
11879         * LaTeX.C:
11880         * LyXAction.[Ch]:
11881         * lyxfunc.[Ch]:
11882         * lyxrc.C: subsequent changes
11883
11884
11885 2002-08-07  John Levon  <levon@movementarian.org>
11886
11887         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11888           document options change.
11889
11890 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
11891
11892         * counters.[Ch]
11893         * text2.C
11894         * paragraph.[Ch]
11895         * makefile.am: move counters functionality over from
11896         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11897
11898 2002-08-06  John Levon  <levon@movementarian.org>
11899
11900         * WordLangTuple.h: new file for word + language code tuple
11901
11902         * SpellBase.h:
11903         * pspell.h:
11904         * pspell.C:
11905         * ispell.h:
11906         * ispell.C:
11907         * lyxtext.h:
11908         * text.C:
11909         * text2.C:
11910         * BufferView.h:
11911         * BufferView2.C: use WordLangTuple
11912
11913         * layout.h:
11914         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11915
11916 2002-08-06  John Levon  <levon@movementarian.org>
11917
11918         * lyx_main.C: fix cmdline batch handling
11919
11920 2002-08-06  André Pönitz <poenitz@gmx.net>
11921
11922         * lyxrc.C: set default for show_banner to true
11923
11924 2002-08-06  John Levon  <levon@movementarian.org>
11925
11926         * pspell.C: fix a crash, and allow new aspell to work
11927
11928 2002-08-06  John Levon  <levon@movementarian.org>
11929
11930         * lyxfunc.C:
11931         * kbmap.C: small cleanup
11932
11933         * vspace.h:
11934         * vspace.C: add const
11935
11936 2002-08-05  John Levon  <levon@movementarian.org>
11937
11938         * LyXAction.C: back to tabular-insert
11939
11940 2002-08-04  John Levon  <levon@movementarian.org>
11941
11942         * BufferView.h:
11943         * BufferView.C: cosmetic change
11944
11945         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11946
11947         * bufferlist.C:
11948         * buffer.h:
11949         * buffer.C:
11950         * lyxcb.h:
11951         * lyxcb.C:
11952         * lyxserver.C:
11953         * lyxvc.C:
11954         * vc-backend.C:
11955         * BufferView2.C: purge all "Lyx" not "LyX" strings
11956
11957         * lyxcursor.h:
11958         * lyxcursor.C: attempt to add some documentation
11959
11960         * lyxfunc.C:
11961         * commandtags.h:
11962         * LyXAction.C:
11963         * ToolbarDefaults.C:
11964         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11965           merge with LFUN_TABULAR_INSERT
11966
11967         * Makefile.am:
11968         * SpellBase.h:
11969         * ispell.h:
11970         * ispell.C:
11971         * pspell.h:
11972         * pspell.C: split up i/pspell implementations into separate
11973           files, many cleanups
11974
11975         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11976
11977         * text2.C: some cleanup
11978
11979         * lyxfunc.C: don't check for isp_command == "none" any more, it
11980           didn't make any sense
11981
11982 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
11983
11984         * counters.[Ch]
11985         * text2.C
11986         * paragraph.[Ch]
11987         * makefile.am: move counters functionality over
11988         from text2.C/paragraph.[Ch] to counters.[Ch], and
11989         make proper C++.
11990 2002-08-02  John Levon  <levon@movementarian.org>
11991
11992         * buffer.C: s/lyxconvert/lyx2lyx/
11993
11994 2002-08-02  Angus Leeming  <leeming@lyx.org>
11995
11996         * lyxlex.C: revert John's change as it breaks reading of the user
11997         preamble.
11998
11999 2002-08-02  Angus Leeming  <leeming@lyx.org>
12000
12001         * importer.C (Import):
12002         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
12003         changes due to LyXView::view() now returning a boost::shared_ptr.
12004
12005 2002-08-02  John Levon  <levon@movementarian.org>
12006
12007         * lyxlex.C: small cleanup
12008
12009 2002-08-02  John Levon  <levon@movementarian.org>
12010
12011         * text2.C (status): small cleanup, no logic change
12012
12013 2002-08-01  John Levon  <levon@movementarian.org>
12014
12015         * buffer.h:
12016         * buffer.C (writeFile): don't output alerts, caller
12017           handles this
12018
12019         * bufferlist.C:
12020         * lyx_cb.C: from above
12021
12022         * lyxfunc.C: allow to open non-existent files
12023
12024 2002-07-31  John Levon  <levon@movementarian.org>
12025
12026         * lyxserver.C: don't let incidental errors get
12027           in the way (errno)
12028
12029 2002-07-30  John Levon  <levon@movementarian.org>
12030
12031         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
12032
12033 2002-07-30  John Levon  <levon@movementarian.org>
12034
12035         * lyxserver.h:
12036         * lyxserver.C: remove I/O callback too
12037
12038 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12039
12040         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
12041         log.
12042
12043 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
12044
12045         * many files: strip,frontStrip -> trim,ltrim,rtrim
12046
12047 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
12048
12049         * PrinterParams.h: remove extern containsOnly, and include
12050         support/lstrings.h instead.
12051
12052         * LaTeX.C (scanAuxFile): modify because of strip changes
12053         (deplog): ditto
12054         * buffer.C (makeLaTeXFile): ditto
12055         * bufferparams.C (writeFile): ditt
12056         * lyxfont.C (stateText): ditto
12057         * lyxserver.C (read_ready): ditto
12058         * vc-backend.C (scanMaster): ditto
12059
12060         * BufferView_pimpl.h: ws changes
12061
12062         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
12063
12064 2002-07-26  André Pönitz <poenitz@gmx.net>
12065
12066         * kb_sequence.C: remove unnedred usings
12067
12068 2002-07-26  Juergen Vigna  <jug@sad.it>
12069
12070         * lyxfind.C (LyXReplace): we have to check better if the returned
12071         text is not of theLockingInset()->getLockingInset().
12072
12073 2002-07-25  Juergen Vigna  <jug@sad.it>
12074
12075         * lyxfind.C (LyXReplace): don't replace if we don't get the
12076         right LyXText.
12077
12078         * undo_funcs.C (createUndo): remove debugging code.
12079
12080 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
12081
12082         * buffer.C (parseSingleLyXformat2Token): Use default placement
12083         when reading old floats.
12084
12085         * FloatList.C (FloatList): Change the default placement of figure
12086         and tables to "tbp".
12087
12088 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
12089
12090         * MenuBackend.C: using std::max
12091
12092 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12093
12094         * MenuBackend.C (expandToc):
12095         (expandToc2): code moved from xforms menu frontend. It is now
12096         generic and TOCs are transparent to menu frontends.
12097
12098 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12099
12100         * toc.C (getTocList): protect against buf=0
12101
12102         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
12103         Menu as first parameter. Now, this calls itself recursively to
12104         expand a whole tree (this will be useful for TOC handling)
12105         (expandFloatInsert): remove 'wide' version of floats
12106
12107         * MenuBackend.h (submenuname): returns the name of the submenu.
12108         (submenu): returns the submenu itself, provided it has been
12109         created by MenuBackend::expand
12110
12111 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12112
12113         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
12114         insets which have noFontChange == true. (bug #172)
12115
12116 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12117
12118         * BufferView_pimpl.C: add connection objects and use them...
12119         (Pimpl): here.
12120
12121 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12122
12123         * MenuBackend.C (expandLastfiles):
12124         (expandDocuments):
12125         (expandFormats):
12126         (expandFloatListInsert):
12127         (expandFloatInsert):
12128         (expand): split expand in parts
12129
12130 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
12131
12132         * lyx_gui.C: use lyx_gui::exit()
12133
12134 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
12135
12136         * LyXAction.C: show the failing pseudo action
12137
12138 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
12139
12140         * buffer.C (readFile): Run the lyxconvert script in order to read
12141         old files.
12142
12143 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
12144
12145         * LyXAction.C:
12146         * commandtags.h:
12147         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
12148
12149 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
12150
12151         * LyXAction.C:
12152         * commandtags.h:
12153         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
12154
12155 2002-07-22  Herbert Voss  <voss@lyx.org>
12156
12157         * lengthcommon.C:
12158         * lyxlength.[Ch]: add support for the vertical lengths
12159
12160 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
12161
12162         * toc.[Ch]: std:: fixes
12163
12164 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12165
12166         * lyxrc.C: do not include lyx_main.h
12167
12168         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
12169         for layouts
12170
12171         * lyxrc.C:
12172         * encoding.C:
12173         * bufferlist.C:
12174         * BufferView2.C: include "lyxlex.h"
12175
12176         * tabular.h:
12177         * bufferparams.h: do not #include "lyxlex.h"
12178
12179         * lyxtextclasslist.C (Add): remove method
12180         (classlist): renamed to classlist_
12181
12182         * paragraph_pimpl.C:
12183         * paragraph.C:
12184         * text2.C:
12185         * CutAndPaste.C:
12186         * bufferview_funcs.C:
12187         * bufferlist.C:
12188         * text.C:
12189         * LaTeXFeatures.C:
12190         * buffer.C:
12191         * toc.C (getTocList): use BufferParams::getLyXTextClass
12192
12193         * toc.C (getTocList): use InsetFloat::addToToc
12194
12195         * toc.[Ch]: new files, containing helper functions to handle table
12196         of contents
12197
12198         * lyxfunc.C (dispatch): no need to remove spaces around command
12199         given as a string
12200         (getStatus): handle LFUN_SEQUENCE by returning the status of the
12201         first command of the sequence; it is not very clever, but I do not
12202         have a better idea, actually
12203
12204         * LyXAction.C (LookupFunc): make sure to remove space at the
12205         beginning and end of the command
12206
12207 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12208
12209         * MenuBackend.C (getMenubar): new method: return the menubar of
12210         this menu set
12211         (read): treat differently reading of menu and menubar (in
12212         particular, the menubar has no name now)
12213         (Menu::menubar): remove
12214
12215         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
12216         saving is finished
12217
12218 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
12219
12220         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
12221         a bibitem inset in a RTL paragraph.
12222
12223 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
12224
12225         * paragraph_pimpl.C: constify
12226
12227         * BufferView_pimpl.C:
12228         * LaTeX.C:
12229         * lyxfunc.C: fix dispatch in a nicer way
12230
12231 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12232
12233         * lyxfunc.C (dispatch):
12234         * BufferView_pimpl.C:
12235         * BufferView_pimpl.h:
12236         * BufferView.C:
12237         * BufferView.h: rename Dispatch() to dispatch()
12238
12239         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
12240
12241         * lyxlayout.C (Read): honor DependsOn tag
12242
12243         * lyxlayout.[Ch] (depends_on): new method
12244
12245         * version.C.in: update lyx_docversion
12246
12247         * LaTeXFeatures.C (getMacros): only define \LyX when needed
12248
12249         * paragraph.C (validate): remove from here...
12250         * paragraph_pimpl.C (validate): ... and move here
12251         (isTextAt): make it const
12252
12253         * buffer.C (getLists): ws cleanup
12254
12255 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
12256
12257         * language.C (read): Use iso8859-1 encoding in latex_lang
12258         (this prevents LyX from crashing when using iso10646-1 encoding).
12259
12260 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12261
12262         * text2.C (toggleInset): if cursor is inside an inset, close the
12263         inset and leave cursor _after_ it
12264
12265 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
12266
12267         * lyxfunc.C: move minibuffer completion handling out of here
12268
12269 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
12270
12271         * BufferView_pimpl.C:
12272         * LaTeX.C: fix dispatch calls
12273
12274 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
12275
12276         * text.C (drawChars): Fix Arabic text rendering.
12277
12278 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
12279
12280         * LyXAction.C:
12281         * commandtags.h:
12282         * lyxfunc.C: remove message-push/pop
12283
12284         * lyxserver.C:
12285         * lyxfunc.h:
12286         * lyxfunc.C: rationalise some code by removing verboseDispatch
12287           in favour of a bool argument to dispatch()
12288
12289 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12290
12291         * lyx_main.C (init): make sure to read symlinks as absolute paths
12292
12293 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12294
12295         * lyxfunc.h:
12296         * lyxfunc.C: no need for commandshortcut to be a member
12297
12298 2002-07-15  André Pönitz <poenitz@gmx.net>
12299
12300         * converter.C: add support for $$s (scripts from lib/scripts dir)
12301         * lyx_main.C: white space
12302
12303 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12304
12305         * bufferlist.C:
12306         * lyxrc.h:
12307         * lyxrc.C: remove second exit confirmation
12308
12309 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12310
12311         * BufferView.h:
12312         * BufferView.C:
12313         * BufferView2.C:
12314         * BufferView_pimpl.h:
12315         * BufferView_pimpl.C:
12316         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
12317
12318 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12319
12320         * MenuBackend.C (expand): add numeric shortcuts to document menu
12321
12322         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
12323
12324 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12325
12326         * lyxfont.C (setLyXFamily):
12327         (setLyXSeries):
12328         (setLyXShape):
12329         (setLyXSize):
12330         (setLyXMisc):
12331         (lyxRead):
12332         * debug.C (value):
12333         * buffer.C (asciiParagraph): use ascii_lowercase
12334
12335 2002-07-15  Mike Fabian  <mfabian@suse.de>
12336
12337         * lyxlex_pimpl.C (search_kw):
12338         * lyxlex.C (getLongString):
12339         * converter.h (operator<):
12340         * converter.C (operator<):
12341         * buffer.C (parseSingleLyXformat2Token):
12342         (asciiParagraph):
12343         * ToolbarDefaults.C (read):
12344         * MenuBackend.C (checkShortcuts):
12345         (read):
12346         * LColor.C (getFromGUIName):
12347         (getFromLyXName): use the compare_ascii_no_case instead of
12348         compare_no_case, because in turkish, 'i' is not the lowercase
12349         version of 'I', and thus turkish locale breaks parsing of tags.
12350
12351 2002-07-16  Angus Leeming  <leeming@lyx.org>
12352
12353         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
12354         now takes a Buffer const & argument.
12355
12356 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
12357
12358         * BufferView.C (resize): check there's a buffer to resize
12359
12360 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
12361
12362         * lyxfunc.C: remove dead code
12363
12364         * lyxserver.h:
12365         * lyxserver.C: use lyx_guii::set_read_callback
12366
12367 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12368
12369         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
12370         an inset in a RTL paragraph.
12371
12372 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12373
12374         * lyxfunc.C: repaint after a font size update
12375
12376 2002-07-15  André Pönitz <poenitz@gmx.net>
12377
12378         * lyxlength.C: inBP should be able to return negative values
12379
12380 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12381
12382         * lyxfunc.C: use lyx_gui::update_fonts()
12383
12384 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12385
12386         * lyxfunc.C: use lyx_gui::update_color()
12387
12388 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
12389
12390         * bufferlist.C:
12391         * lyxfunc.h:
12392         * lyxfunc.C:
12393         * lyxrc.h:
12394         * lyxrc.C: remove file->new asks for name option, and let
12395           buffer-new take an argument
12396
12397 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
12398
12399         * BufferView_pimpl.C: remove unneeded extra repaint()
12400
12401 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
12402
12403         * LyXAction.C: allow command-sequence with NoBuffer
12404
12405         * lyxfunc.C: don't insist on trailing ';' for command-sequence
12406
12407 2002-07-10  Angus Leeming  <leeming@lyx.org>
12408
12409         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
12410
12411 2002-07-09  Angus Leeming  <leeming@lyx.org>
12412
12413         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
12414
12415 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12416
12417         * lengthcommon.h: whitespace
12418
12419         * lyxfunc.C: update scrollbar after goto paragraph
12420
12421         * lyxtext.h: factor out page break drawing, and fix it so
12422           page break/added space paints as selected nicely
12423
12424 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12425
12426         * BufferView_pimpl.C: add FIXMEs, clean up a little
12427
12428 2002-07-09  André Pönitz <poenitz@gmx.net>
12429
12430         * lyxfont.[Ch]: support for wasy symbols
12431
12432 2002-07-08  André Pönitz <poenitz@gmx.net>
12433
12434         * BufferView_pimpl.C: apply John's patch for #93.
12435
12436 2002-07-05  Angus Leeming  <leeming@lyx.org>
12437
12438         * BufferView_pimpl.C (buffer): generate previews if desired.
12439
12440         * LColor.h: add "preview" to the color enum.
12441
12442         * LColor.C (LColor): add a corresponding entry to the items array.
12443
12444         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12445         with this buffer.
12446
12447 2002-07-05  Angus Leeming  <leeming@lyx.org>
12448
12449         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12450         The body of the code is now in the method that is passed an ostream &
12451         rather than a file name.
12452         Pass an additional only_preamble parameter, useful for the forthcoming
12453         preview stuff.
12454
12455 2002-07-03  André Pönitz <poenitz@gmx.net>
12456
12457         * lyxfunc.C: simplify getStatus() a bit for math stuff
12458
12459 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12460
12461         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12462
12463 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12464
12465         * text.C (changeRegionCase): do not change case of all the
12466         document when region ends at paragraph end (bug #461)
12467
12468 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12469
12470         * paragraph.C (startTeXParParams):
12471         (endTeXParParams): add \protect when necessary
12472
12473 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12474
12475         * BufferView_pimpl.C (workAreaExpose): remove warning
12476
12477 2002-06-27  Angus Leeming  <leeming@lyx.org>
12478
12479         * Makefile.am: add lyxlayout_ptr_fwd.h.
12480
12481 2002-06-26  André Pönitz <poenitz@gmx.net>
12482
12483         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12484
12485 2002-06-25  Angus Leeming  <leeming@lyx.org>
12486
12487         * lyxfunc.C (dispatch): Comment out the call to
12488         grfx::GCache::changeDisplay. The method no longer exists now that the
12489         pixmap generation part of the graphics loader has been moved into
12490         InsetGraphics.
12491
12492 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12493
12494         * text2.C: layout as layout
12495
12496         * text.C: layout as layout
12497
12498         * tabular.C (OldFormatRead): layout as layout
12499
12500         * paragraph_pimpl.C (TeXDeeper): layout as layout
12501         (realizeFont): layout as layout
12502
12503         * paragraph.C (writeFile): layout as layout
12504         (validate): layout as layout
12505         (getFont): layout as layout
12506         (getLabelFont): layout as layout
12507         (getLayoutFont): layout as layout
12508         (breakParagraph): layout as layout
12509         (stripLeadingSpaces): layout as layout
12510         (getEndLabel): layout as layout
12511         (getMaxDepthAfter): layout as layout
12512         (applyLayout): layout as layout
12513         (TeXOnePar): layout as layout
12514         (simpleTeXOnePar): layout as layout
12515         (TeXEnvironment): layout as layout
12516         (layout): layout as layout
12517         (layout): layout as layout
12518
12519         * lyxtextclass.C (compare_name): new functor to work with
12520         shared_ptr, layout as layout
12521         (Read): layout as layout
12522         (hasLayout): layout as layout
12523         (operator): layout as layout
12524         (delete_layout): layout as layout
12525         (defaultLayout): layout as layout
12526
12527         * lyxlayout_ptr_fwd.h: new file
12528
12529         * lyxlayout.C (Read): layout as layout
12530
12531         * lyx_cb.C (MenuInsertLabel): layout as layout
12532
12533         * bufferlist.C (newFile): layout as layout
12534
12535         * buffer.C (readLyXformat2): layout as layout
12536         (parseSingleLyXformat2Token): layout as layout
12537         (insertStringAsLines): layout as layout
12538         (asciiParagraph): layout as layout
12539         (latexParagraphs): layout as layout
12540         (makeLinuxDocFile): layout as layout
12541         (simpleLinuxDocOnePar): layout as layout
12542         (makeDocBookFile): layout as layout
12543         (simpleDocBookOnePar): layout as layout
12544         (getLists): layout as layout
12545
12546         * LaTeXFeatures.C (getTClassPreamble): layout as layout
12547
12548         * CutAndPaste.C (cutSelection): layout as layout
12549         (pasteSelection): layout as layout
12550         (SwitchLayoutsBetweenClasses): layout as layout
12551
12552         * BufferView_pimpl.C (Dispatch): layout as layout
12553         (smartQuote): layout as layout
12554
12555         * BufferView2.C (unlockInset): layout as layout
12556
12557 2002-06-24  André Pönitz <poenitz@gmx.net>
12558
12559         * lyxfunc.C: fix #487
12560
12561 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12562
12563         * lyxrc.h:
12564         * lyxrc.C:
12565         * lyxfunc.C: remove display_shortcuts, show_banner
12566
12567 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12568
12569         * Buffer_pimpl.C: oops, update on resize
12570
12571 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12572
12573         * buffer.C:
12574         * converter.C:
12575         * exporter.C:
12576         * lyxfunc.C:
12577         * BufferView.h:
12578         * BufferView.C: use repaint()
12579
12580         * BufferView_pimpl.h:
12581         * BufferView_pimpl.C: s/updateScreen()/repaint()/
12582           as it's a clearer description. Remove superfluous
12583           redraws.
12584
12585 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12586
12587         * text.C: fix bug 488. Not ideal, but getting
12588           getWord() to work properly for the insets that
12589           matter is more difficult ...
12590
12591 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12592
12593         * BufferView_pimpl.C:
12594         * LyXAction.C:
12595         * commandtags.h:
12596         * lyxfunc.C: remove the six million index lyxfuncs to just
12597           one, and DTRT (bug 458)
12598
12599 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12600
12601         * BufferView.h:
12602         * BufferView.C:
12603         * BufferView_pimpl.h:
12604         * BufferView_pimpl.C: clean up resize() stuff,
12605           and unnecessary updateScreen()s
12606
12607 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12608
12609         * BufferView.h:
12610         * BufferView.C:
12611         * BufferView_pimpl.h:
12612         * BufferView_pimpl.C:
12613         * lyxfind.h:
12614         * lyxfind.C:
12615         * minibuffer.C: remove focus management of workarea,
12616           not needed. Use screen's greyOut()
12617
12618 2002-06-17  Herbert Voss  <voss@lyx.org>
12619
12620         * converter.C: (convert) do not post a message, when converting
12621         fails, let the calling function decide what to do in this case
12622
12623 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
12624
12625         * lyxfunc.C: tidy up a little
12626
12627 2002-06-16    <alstrup@diku.dk>
12628
12629         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12630         Got rid of FORMS_H_LOCATION include. Now we are
12631         GUII.
12632
12633 2002-06-15  LyX Development team  <lyx@rilke>
12634
12635         * buffer.[Ch] (sgmlOpenTag):
12636         (sgmlCloseTag): Added support for avoiding pernicious mixed
12637         content. Return number of lines written.
12638
12639         (makeLinuxDocFile):
12640         (makeDocBookFile): Fixed calls to sgml*Tag.
12641         Simple white space clean.
12642
12643         (simpleDocBookOnePar): Simple white space clean.
12644
12645         * tabular.[Ch] (docBook): Renamed to docbook and got another
12646         argument to related with the pernicious mixed content.
12647
12648         (docbookRow): Fixed calls for docbook inset method.
12649
12650 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
12651
12652         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12653         so it's X11 independent.
12654
12655         * kb*.[Ch]: ditto.
12656
12657         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12658
12659 2002-06-15  Lyx Development team  <lyx@electronia>
12660
12661         * intl.h: Renamed getTrans to getTransManager.
12662
12663 2002-06-14  Angus Leeming  <leeming@lyx.org>
12664
12665         * Makefile.am: nuke forgotten stl_string_fwd.h.
12666
12667 2002-06-12  Angus Leeming  <leeming@lyx.org>
12668
12669         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12670
12671 2002-06-13  Angus Leeming  <leeming@lyx.org>
12672
12673         * LaTeX.C:
12674         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12675
12676 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
12677
12678         * kbmap.C (getiso): add support for cyrillic and greek
12679
12680 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12681
12682         * BufferView.h:
12683         * BufferView.C:
12684         * BufferView_pimpl.h:
12685         * BufferView_pimpl.C: move bogus scrolling logic
12686           to xforms
12687
12688 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12689
12690         * lyxfunc.C:
12691         * BufferView_pimpl.C: view->resize() change
12692
12693 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12694
12695         * BufferView_pimpl.C: topCursorVisible
12696           prototype change
12697
12698 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12699
12700         * Makefile.am:
12701         * lyx_gui.h:
12702         * lyx_gui.C: move to frontends/
12703
12704         * main.C:
12705         * lyx_main.h:
12706         * lyx_main.C: changes from above
12707
12708 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12709
12710         * intl.C:
12711         * intl.h:
12712         * kbmap.C:
12713         * kbsequence.C:
12714         * lyx_cb.C:
12715         * lyx_main.C: minor tidy
12716
12717 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12718
12719         * BufferView_pimpl.h:
12720         * BufferView_pimpl.C:
12721         * BufferView.h:
12722         * BufferView.C: make painter() const,
12723           remove dead code
12724
12725         * BufferView2.C: use screen() accessor
12726
12727         * lyx_main.h:
12728         * lyx_main.C: some minor cleanup
12729
12730 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12731
12732         * BufferView_pimpl.h:
12733         * BufferView_pimpl.C: remove enter/leaveView,
12734           use workHeight()
12735
12736 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12737
12738         * BufferView.h:
12739         * BufferView.C:
12740         * BufferView2.C:
12741         * BufferView_pimpl.h:
12742         * BufferView_pimpl.C: only construct screen once,
12743           rename
12744
12745         * lyxrc.C: remove pointless comment
12746
12747 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12748
12749         * BufferView.h:
12750         * BufferView.C: remove active() and belowMouse()
12751
12752         * BufferView_pimpl.h:
12753         * BufferView_pimpl.C: use workarea() not workarea_,
12754           and make it use a scoped_ptr instead
12755
12756 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12757
12758         * lyx_gui.C: add debug message on BadWindow
12759
12760 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12761
12762         * sp_spell.C: fdopen is not part of the C++ standard.
12763
12764         * paragraph.C (InsetIterator): use >= instead of ==
12765
12766 2002-06-07  Angus Leeming  <leeming@lyx.org>
12767
12768         Fixes needed to compile with Compaq cxx 6.5.
12769         * BufferView_pimpl.C:
12770         * DepTable.C:
12771         * buffer.C:
12772         * converter.C:
12773         * encoding.C:
12774         * lyx_gui.C:
12775         * lyx_main.C:
12776         * lyxtextclasslist.C:
12777         * minibuffer.C:
12778         * sp_spell.C:
12779         * tabular_funcs.C:
12780         * vc-backend.C:
12781         all c-library variables have been moved into namespace std. Wrap
12782         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12783
12784         * lyxlength.C:
12785         * tabular-old.C:
12786         * tabular.C:
12787         Add a using std::abs declaration.
12788
12789         * kbmap.h (modifier_pair):
12790         * paragraph.h (InsetTable, InsetList):
12791         * lyxfont.h (FontBits):
12792         type definition made public.
12793
12794         * bufferlist.C (emergencyWriteAll): the compiler complains that
12795         there is more than one possible lyx::class_fun template to choose from.
12796         I re-named the void specialisation as lyx::void_class_fun.
12797
12798         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12799
12800         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12801         the compiler is is unable to find tostr in write_attribute.
12802
12803 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12804
12805         * buffer.C (sgmlError): hide #warning
12806
12807 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12808
12809         * xtl/*: get rid of xtl, which is not in use anyway
12810
12811         * LyXAction.C (init):
12812         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12813         were unimplemented xtl experimentation
12814
12815 2002-06-04  André Pönitz <poenitz@gmx.net>
12816
12817         * lyxfunc.C: disable array operation on simple formulae
12818
12819 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
12820
12821         * converter.C: constify a bit
12822
12823 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
12824
12825         * lyx_gui.C: check xforms version correctly
12826
12827 2002-04-30  Herbert Voss  <voss@lyx.org>
12828
12829         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12830         "keep" option
12831
12832 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
12833
12834         * lyxvc.C: fix bug 416 (make sure buffer is saved before
12835           attempt to register it with a VCS)
12836
12837 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12838
12839         * lyx_main.C (init): honor variables LYX_DIR_13x and
12840         LYX_USERDIR_13x
12841
12842 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12843
12844         * buffer.h:
12845         * buffer.C:
12846         * lyx_main.C: fix a crash on bad command line,
12847           and give a useful exit status on error
12848
12849         * lyxfunc.C (doImport): allow -i lyx to work
12850
12851 2002-03-30  André Pönitz <poenitz@gmx.net>
12852
12853         * lyxfunc.C: mathed font changes
12854
12855 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12856
12857         * LaTeX.C:
12858         * importer.h:
12859         * importer.C:
12860         * lyx_sty.h:
12861         * lyx_sty.C:
12862         * lyxlex.C:
12863         * lyxrow.h:
12864         * lyxtext.h:
12865         * paragraph.h:
12866         * paragraph.C:
12867         * texrow.h:
12868         * texrow.C:
12869         * text.C:
12870         * trans_mgr.h: srcdocs, and some minor cleanups
12871
12872 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12873
12874         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12875         call getFont all the time)
12876
12877 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12878
12879         * switch from SigC signals to boost::signals
12880
12881 2002-05-29  André Pönitz <poenitz@gmx.net>
12882
12883         * paragraph_pimpl.C (getChar): don't call size() too often...
12884
12885 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12886
12887         * paragraph_pimpl.C (insertChar): do not try to update tables when
12888         appending (pos == size())
12889
12890         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12891         in order to reduce drastically the number of comparisons needed to
12892         parse a large document
12893
12894 2002-05-29  André Pönitz <poenitz@gmx.net>
12895
12896         * text.C:
12897         * text2.C:
12898         * lyxtextclass.C:
12899         * sp_pspell.h:
12900         * textclasslist.[Ch]:
12901         * sp_ispell.h: whitespace change
12902
12903 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12904
12905         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12906         lyxaction directly now.
12907
12908 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
12909
12910         * trans.C:
12911         * lyxfont.C:
12912         * lyxvc.C: remove unused headers
12913
12914 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12915
12916         * Makefile.am:
12917         * buffer.h:
12918         * undostack.h:
12919         * undostack.C:
12920         * undo_funcs.h:
12921         * undo_funcs.C: some cleanups. Use shared_ptr
12922           and a template for the undo stacks.
12923
12924 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12925
12926         * BufferView_pimpl.h:
12927         * BufferView_pimpl.C:
12928         * kbmap.h:
12929         * kbmap.C:
12930         * kbsequence.h:
12931         * kbsequence.C:
12932         * lyxfunc.h:
12933         * lyxfunc.C:
12934         * text2.C: use key_state/mouse_state
12935
12936 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12937
12938         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12939         and LSubstring
12940
12941         * chset.C: change include order
12942         (loadFile): use boost regex and get rid of LRegex and LSubstring
12943
12944         * Makefile.am (BOOST_LIBS): new variable
12945         (lyx_LDADD): use it
12946
12947         * LaTeX.C: change include order.
12948         (scanAuxFile): use boost regex and get rid of LRegex and
12949         LSubstring
12950         (deplog): ditto
12951
12952 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12953
12954         * ColorHandler.h:
12955         * ColorHandler.C:
12956         * FontInfo.h:
12957         * FontInfo.C: moved to frontends/xforms/
12958
12959         * FontLoader.h:
12960         * FontLoader.C: moved into frontends for GUIIzation
12961
12962         * Makefile.am:
12963         * lyx_gui.C:
12964         * lyxfont.C:
12965         * lyxfunc.C: changes from above
12966
12967 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12968
12969         * LColor.C: remove spurious X include
12970
12971         * BufferView_pimpl.C:
12972         * Makefile.am:
12973         * font.h:
12974         * font.C:
12975         * text.C:
12976         * text2.C: move font metrics to frontends/
12977
12978 2002-05-24  Juergen Vigna  <jug@sad.it>
12979
12980         * undo_funcs.C (textHandleUndo): fix the cursor selection after
12981         setting the undo_cursor.
12982
12983         * ParagraphParameters.h: include local includes first.
12984
12985 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12986
12987         * BufferView_pimpl.C:
12988         * BufferView_pimpl.h:
12989         * Makefile.am:
12990         * WorkArea.h:
12991         * WorkArea.C:
12992         * screen.C: move WorkArea into frontends/
12993
12994         * lyxscreen.h:
12995         * screen.C:
12996         * text.C:
12997         * BufferView.C:
12998         * BufferView2.C: move LyXScreen into frontends/
12999
13000         * lyxlookup.h:
13001         * lyxlookup.C:
13002         * lyx_gui.C: move lyxlookup into frontends/xforms/
13003
13004 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
13005
13006         * BufferView2.C:
13007         * BufferView_pimpl.C:
13008         * FontLoader.C:
13009         * LyXView.h:
13010         * LyXView.C:
13011         * Makefile.am:
13012         * WorkArea.C:
13013         * XFormsView.h:
13014         * XFormsView.C:
13015         * buffer.C:
13016         * bufferlist.C:
13017         * bufferview_funcs.C:
13018         * converter.C:
13019         * importer.C:
13020         * lyx_cb.C:
13021         * lyx_gui.C:
13022         * lyx_main.C:
13023         * lyx_find.C:
13024         * lyxfunc.C:
13025         * lyxvc.C:
13026         * minibuffer.C:
13027         * text.C:
13028         * text2.C:
13029         * trans.C:
13030         * vc-backend.C: move LyX/XFormsView into frontends/
13031
13032 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
13033
13034         * Makefile.am:
13035         * PainterBase.C:
13036         * PainterBase.h:
13037         * Painter.C:
13038         * Painter.h:
13039         * WorkArea.C:
13040         * WorkArea.h:
13041         * screen.C:
13042         * tabular.C:
13043         * text.C:
13044         * text2.C: move Painter to frontends/
13045
13046 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13047
13048         * buffer.C: comment out some some code that depend upon lyx_format
13049         < 220
13050
13051         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
13052         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
13053
13054         * buffer.h (NO_COMPABILITY): turn off compability
13055
13056         * ColorHandler.C: include scoped_array.hpp
13057
13058         * font.C: Use more specific smart_ptr header.
13059         * Painter.C: ditto
13060         * gettext.C: ditto
13061         * ShareContainer.h: ditto
13062         * lyx_main.h: ditto
13063         * kbmap.h: ditto
13064         * FontInfo.h: ditto
13065         * BufferView_pimpl.h: ditto
13066         * ColorHandler.h: ditto
13067
13068         * kbmap.C (defkey): change call to shared_ptr::reset
13069
13070 2002-05-21  Juergen Vigna  <jug@sad.it>
13071
13072         * buffer.C (insertErtContents): fix to insert ert asis if it is
13073         non empty. Skip it completely if it contains only whitespaces.
13074
13075 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
13076
13077         * BufferView_pimpl.C:
13078         * BufferView2.C: clear selection on paste (bug 393)
13079
13080 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13081
13082         * DepTable.C: include ctime
13083
13084 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
13085
13086         * buffer.C (latexParagraphs): Add new argument (moving_arg).
13087
13088 2002-05-14  Juergen Vigna  <jug@sad.it>
13089
13090         * text.C (breakParagraph): fixed function to honor the keepempty
13091         layout in the right maner and also to permit the right breaking
13092         algorithm on empty or non empyt keepempty paragraphs.
13093
13094         * paragraph.C (breakParagraph): we have to check also if the par
13095         is really empty (!size()) for isempty otherwise we do the wrong
13096         paragraph break.
13097
13098 2002-05-10  Juergen Vigna  <jug@sad.it>
13099
13100         * buffer.[Ch] : The following are only changes to the ert
13101         compatibility read reading old LaTeX layout and font stuff and
13102         convert it to ERTInsets.
13103
13104         * buffer.h: added isErtInset().
13105
13106         * buffer.C (struct ErtComp): add a fromlayout bool to check
13107         if we're inside a LaTeX layout.
13108         (isErtInset): new helper function.
13109         (insertErtContents): look for other ert insets before this one
13110         and insert the contents there, so that we don't have subsequent
13111         ERT insets with nothing between them. This way we create only one
13112         inset with multiple paragraphs. Also check if we don't insert only
13113         spaces ' ' as they are ignored anyway afterwards in the .tex file
13114         so if we have only spaces we will ignore this latex part in the
13115         new file.
13116         (parseSingleLyXformat2Token \\layout): better compatibility when
13117         reading layout-latex stuff.
13118         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
13119         language tag.
13120         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
13121         stuff after reading the inset only get the information back from
13122         the stack.
13123
13124 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
13125
13126         * buffer.C (makeLaTeXFile): Put language options after loading babel.
13127
13128         * LaTeXFeatures.C (getBabelOptions): New method.
13129
13130 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13131
13132         * BufferView_pimpl.C (Dispatch): work around missing argument for
13133         'layout'
13134
13135 2002-05-08  Juergen Vigna  <jug@sad.it>
13136
13137         * text.C (leftMargin): handle paragraph leftindent.
13138
13139         * paragraph.C (writeFile): write the new \\leftindent tag.
13140         (validate): handle leftindent code.
13141         (TeXEnvironment): handle paragraphleftindent code again.
13142
13143         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
13144
13145         * buffer.C (parseSingleLyXformat2Token): added compatibility code
13146         for paragrap_extra indent code and new token \\leftindent.
13147         (latexParagraphs): handle the leftindent as environment.
13148
13149         * ParameterStruct.h: added leftindent support.
13150
13151         * ParagraphParameters.C (leftIndent): added support functions for
13152         the paragraph left indent.
13153
13154         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
13155         more appropriate.
13156
13157 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
13158
13159         * paragraph.C (isRightToLeftPar): Return false for a paragraph
13160         inside insetERT.
13161
13162         * text.C (computeBidiTables): No bidi in insetERT.
13163
13164         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
13165         in RTL documents.
13166
13167 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13168
13169         * version.C.in: pre 5
13170
13171 2002-05-02  José Matos  <jamatos@fep.up.pt>
13172         * buffer.C (makeDocBookFile): white space changes, add newline to
13173         command styles.
13174         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
13175
13176         * tabular.C (docBook): fix typo.
13177
13178 2002-05-03  Juergen Vigna  <jug@sad.it>
13179
13180         * screen.C (drawFromTo): recalculate the rowpointer if we had a
13181         change in LyXText as we can not be sure it was not freed.
13182         (drawOneRow): remove unused code.
13183
13184         * text.C (drawInset): redo the calculation of the need_break_row as
13185         it could have a row which was already freed.
13186         (draw): look at the return value of drawInset and return false if
13187         it also returned false.
13188         (paintRowText): look at the return value of draw and return false if
13189         it also returned false.
13190
13191         * lyxtext.h: added bool return type to drawInset() and draw() so that
13192         if we have a change in the row so that the rowbreak has to be redone
13193         we abort drawing as it will be called again.
13194
13195 2002-05-02  Juergen Vigna  <jug@sad.it>
13196
13197         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
13198         a change in the maintext also if we're inside an inset.
13199         (Dispatch): set the cursor again after a break line and after the
13200         screen has been updated as it could be we're in a different row.
13201
13202         * text2.C (fixCursorAfterDelete): check to make sure we don't request
13203         to set the cursor behind the pargraph with > size().
13204         (setCursor): check also for the same paragraph when checking where
13205         to put the cursor if we have a NFR inset.
13206
13207         * buffer.C (parseSingleLyXformat2Token): move the compatibility
13208         parts of layout read further up as it still was in the wrong
13209         position.
13210
13211 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13212
13213         * screen.C (drawFromTo): change sine fullRebreak always return
13214         true.
13215
13216         * buffer.C (parseSingleLyXformat2Token): reindent some
13217
13218         * BufferView_pimpl.C (update): change since fullRebreak always
13219         return true.
13220         (Dispatch): git rid of the last hardcoded "Standard"s.
13221
13222 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13223
13224         * text2.[Ch] (fullRebreak): make it return void now that we always
13225         returned true.
13226
13227 2002-04-30  Juergen Vigna  <jug@sad.it>
13228
13229         * buffer.C (parseSingleLyXformat2Token): reset the font before the
13230         ert compatibility check for "latex" layout.
13231
13232 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
13233
13234         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
13235         minipages: use col% instead of p%, and also use the current font.
13236         (makeLaTeXFile): Fix use babel condition.
13237         (parseSingleLyXformat2Token): Correct font when reading old floats.
13238
13239 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
13240
13241         * BufferView_pimpl.C (Dispatch): Check that float type exists when
13242         inserting list of floats.
13243
13244 2002-04-25  Herbert Voss  <voss@lyx.org>
13245
13246         * MenuBackend.C (expand): don't add the graphics extensions to the
13247         export menu
13248
13249 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13250
13251         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
13252         non-existing layout, do not complain if it was the default layout
13253         of the original class (bug #342)
13254
13255 2002-04-24  Juergen Vigna  <jug@sad.it>
13256
13257         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
13258         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
13259
13260 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
13261
13262         * buffer.C (getBibkeyList): If using \bibliography, return the
13263         option field with the reference itself. Enables us to provide natbib
13264         support when using \bibliography.
13265
13266 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
13267
13268         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
13269
13270         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
13271         natbib is provided by the LaTeX class.
13272
13273 2002-04-23  Juergen Vigna  <jug@sad.it>
13274
13275         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
13276         Wakeup functions.
13277
13278         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
13279
13280 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13281
13282         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
13283
13284         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
13285         ensuremath around textordmasculine, textordfeminine and
13286         textdegree.
13287
13288 2002-04-19  Juergen Vigna  <jug@sad.it>
13289
13290         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
13291         reinitializing the buffer otherwise row-dimensions may be wrong.
13292         (update): reset also the selection cursors if they do exits otherwise
13293         their x/y positions may be wrong.
13294
13295         * text2.C (cursorDown): don't enter the inset if we came from a row
13296         above and are one row over the inset.
13297
13298         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
13299         really leaving an inset.
13300
13301 2002-04-18  Juergen Vigna  <jug@sad.it>
13302
13303         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
13304         of the selected paragraph does not have the selected layout also if
13305         the last one had!
13306
13307         * text2.C (setLayout): fixed bug which did not change last selected
13308         paragraph.
13309
13310         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
13311         changed the read and substituted \\end_float with \\end_inset!
13312
13313         * BufferView_pimpl.C (cursorPrevious):
13314         (cursorNext): fixed to make it work with rows heigher than the work
13315         area without moving the cursor only the draw of the row.
13316         (workAreaMotionNotify): fix jumping over high rows.
13317
13318 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13319
13320         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
13321         Ressler.
13322
13323 2002-04-16  Juergen Vigna  <jug@sad.it>
13324
13325         * text2.C (setCursor): set also the irow().
13326         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
13327         (cursorUp):
13328         (cursorDown): support for locking an inset if the x_fix value goes
13329         inside it. That way I can transverse insets too with cursor up/down.
13330
13331         * lyxrow.h: added irow helper function same as other (i) functions.
13332
13333         * BufferView_pimpl.C (cursorPrevious):
13334         (cursorNext): fixed for insets!
13335
13336 2002-04-15  Juergen Vigna  <jug@sad.it>
13337
13338         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
13339         position otherwise it is wrong in some cases.
13340
13341         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
13342         inside the inset before the call.
13343
13344 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
13345
13346         * buffer.[Ch] (getBibkeyList): make it const.
13347
13348 2002-04-12  Juergen Vigna  <jug@sad.it>
13349
13350         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
13351
13352         * text2.C (getCursorX): new helper function
13353         (setCursor): compute also ix_
13354         (setCursorFromCoordinates): set also ix.
13355
13356         * lyxcursor.h: added ix_ and helper functions.
13357
13358         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
13359
13360         * buffer.C (insertStringAsLines): dont break paragraph if the this
13361         paragraph is inside an inset which does not permit it!
13362
13363         * text.C (breakParagraph): honor keepempty flag and break the paragraph
13364         also with no chars on this paragraph.
13365         (paintRowText): only paint stuff if it's inside the workarea!
13366
13367         * paragraph.C (breakParagraph): honor keepempty flag and break the
13368         paragraph always below not above.
13369
13370         * BufferView2.C (unlockInset): update the paragraph layout on inset
13371         unlock as we changed paragraph in such a case.
13372
13373         * lyxfind.C (LyXFind): clear the former selection if not found!
13374
13375         * text2.C (insertInset): freeze Undo after setUndo so that it is not
13376         again called in insertChar().
13377
13378         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
13379         an inset which uses the whole row!
13380         (rightMargin): ditto.
13381         (insertChar): force a rebreak if we inserted an inset!
13382
13383 2002-03-28  Herbert Voss  <voss@lyx.org>
13384
13385         * lyxlength.[Ch]: add inBP() to get the right PS-point
13386         units (BigPoint). With inPixels we have rounding errors
13387
13388 2002-04-11  Juergen Vigna  <jug@sad.it>
13389
13390         * text2.C (setCursorFromCoordinates): set iy to the right value.
13391         (setCursor): add check if row->previous exists!
13392
13393         * buffer.C (parseSingleLyXformat2Token): reset font after read of
13394         an old float_type as this was the case in the old code!
13395
13396         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
13397
13398         * BufferView2.C (showLockedInsetCursor): use iy
13399         (fitLockedInsetCursor): ditto
13400
13401         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
13402         locked insets as there we have the right value now.
13403
13404         * lyxcursor.C: added iy_ variable and iy functions to set to the
13405         baseline of cursor-y of the locked inset.
13406
13407         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
13408         (setCursor): fixed for insets which need a full row.
13409
13410         * text.C (rowLastPrintable): don't ignore the last space when before
13411         an inset which needs a full row.
13412         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
13413         as last character of a row when before a inset which needs a full row.
13414
13415 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13416
13417         * version.C.in: update date
13418
13419         * text2.C (fullRebreak): try to always return true and see what
13420         happens...
13421
13422 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13423
13424         * MenuBackend.C (expand): use Floating::listName
13425
13426         * FloatList.C (FloatList): add listName argument to the built-in
13427         floats
13428
13429         * Floating.[Ch]: add listName member, which is the 'List of XXX'
13430         text associated with the float.
13431
13432 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13433
13434         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
13435
13436 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13437
13438         * ShareContainer.h: add a couple of missing typenames.
13439
13440 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
13441
13442         * lyxrc.C (getDescription): use _() correctly rather than N_().
13443
13444 2002-03-28  Herbert Voss  <voss@lyx.org>
13445
13446         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13447         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13448
13449 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13450
13451         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13452         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13453
13454 2002-03-29  Juergen Vigna  <jug@sad.it>
13455
13456         * lyxfunc.C (dispatch): add a missing fitCursor call.
13457
13458         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13459         it was scrolled by a cursor move, so return the bool status.
13460
13461         * BufferView.C (fitCursor): return the bool flag also to the outside
13462         world as this is needed.
13463
13464         * screen.C (toggleToggle): don't subtract the offset if it's positive.
13465
13466         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13467         call the edit() as it is not needed (and wrong) IMO.
13468         (workAreaButtonPress): set the screen_first variable before evt.
13469         unlock the inset as this may change screen_first and then we have
13470         a wrong y position for the click!
13471
13472 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13473
13474         * MenuBackend.C (expand): another translation that I missed
13475
13476 2002-03-28  Juergen Vigna  <jug@sad.it>
13477
13478         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13479
13480         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13481
13482 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13483
13484         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13485
13486         * MenuBackend.C (expand): fix export/view/update when there is no
13487         document open.
13488
13489 2002-03-27  Herbert Voss  <voss@lyx.org>
13490
13491         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13492         and text%
13493
13494 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13495
13496         * bufferview_funcs.C (currentState): only show paragraph number
13497         for is DEVEL_VERSION is set.
13498
13499         * lyxfunc.C (dispatch): put warning in INFO channel
13500
13501         * MenuBackend.C (expand): translate the name of floats
13502
13503         * FloatList.C (FloatList): mark the float names for translation
13504
13505         * converter.C (convert): use LibScriptSearch
13506
13507 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13508
13509         * MenuBackend.C (defaults): fix default menu (we might as well get
13510         rid of it...)
13511
13512 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13513
13514         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13515         directory.
13516
13517 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13518
13519         * lyxvc.C: reorder includes.
13520
13521 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
13522
13523         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13524           properly
13525
13526 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
13527
13528         * CutAndPaste.C: change layouts earlier on paste
13529           to avoid crashing when calling getFont()
13530
13531 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
13532
13533         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13534         irritating #error.
13535
13536 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13537
13538         * WorkArea.C: remove 'Pending' debug message.
13539
13540         * most files: ws cleanup
13541
13542         * buffer.[Ch]: ws changes
13543
13544         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13545
13546 2002-03-21  Juergen Vigna  <jug@sad.it>
13547
13548         * tabular.C (SetMultiColumn): collapse also the contents of the
13549         cells and set the last border right. Added a Buffer const * param.
13550
13551 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13552
13553         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13554         linking or not.
13555
13556 2002-03-19  Juergen Vigna  <jug@sad.it>
13557
13558         * text2.C (clearSelection): reset also xsel_cache.
13559
13560         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13561         where it needs to be called (John tells us to do so too :)
13562         (selectionLost): reset sel_cache.
13563
13564         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13565
13566 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13567
13568         * text2.C (setCursorIntern): put debuging code in INSETS channel
13569
13570 2002-03-19  André Pönitz <poenitz@gmx.net>
13571
13572         * lyxfunc.C: tiny whitespace change
13573
13574 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13575
13576         * ToolbarDefaults.C (init):
13577         * LyXAction.C (init):
13578         * commandtags.h:
13579         * BufferView_pimpl.C (Dispatch):
13580         * lyxfunc.C (dispatch): remove LFUN_DEPTH
13581
13582 2002-03-19  Allan Rae  <rae@lyx.org>
13583
13584         * exporter.C (Export): removeAutoInsets before doing anything else.
13585         While I've just introduced a dependency on BufferView this really is
13586         the best place to clean the buffer otherwise you need to cleanup in
13587         a dozen places before calling export or cleanup in a dozen functions
13588         that export calls.
13589
13590         * converter.C (runLaTeX):
13591         (scanLog): Better handling of removeAutoInsets and screen updates.
13592
13593         * lyxfunc.C (dispatch): small whitespace changes
13594
13595 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13596
13597         * WorkArea.C (C_WorkAreaEvent): return a value.
13598         (event_cb): return 1 if we handled the event, 0 otherwise.
13599
13600         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13601
13602 2002-03-18  Juergen Vigna  <jug@sad.it>
13603
13604         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13605         (GetAdditionalWidth): ditto.
13606         (RightLine): ditto.
13607         (LeftLine): ditto.
13608
13609         * BufferView2.C (copy): use getLyXText() so that we do it inside an
13610         inset if we're there actually (probably not used right now but this
13611         is the direction to go for unifying code).
13612         (paste): disable code to clear the selection.
13613
13614         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13615         inside an InsetText and move the check further up as it is in the
13616         wrong place.
13617
13618         * text2.C (pasteSelection): set a selection over the pasted text.
13619
13620 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
13621
13622         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13623         and libgraphics to build on Cygwin.
13624
13625 2002-03-15  Juergen Vigna  <jug@sad.it>
13626
13627         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13628         inserting an Inset into the paragraph. I know this is not the best
13629         fix but we already use current_view in CutAndPaste so we will remove
13630         all of it's using at the same time.
13631
13632         * buffer.C (sgmlError): deactivated function till it is rewritten in
13633         the right mode, now it can create problems.
13634
13635         * paragraph.C (isLineSeparator): check if getInset returns != 0,
13636         before accessing it.
13637
13638 2002-03-14  Juergen Vigna  <jug@sad.it>
13639
13640         * undo_funcs.C (textHandleUndo): do the right thing when updating
13641         the inset after the undo/redo.
13642
13643         * text2.C (setCursor): just some testcode for #44 not ready yet.
13644
13645         * undo_funcs.C (textHandleUndo): set the next() and previous()
13646         pointers of the paragraph to 0 before deleting otherwise we have
13647         problems with the Paragraph::[destructor].
13648
13649         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13650         on a paragraph insertion.
13651
13652 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13653
13654         * buffer.C (asciiParagraph): use += operator for char append to
13655         string.
13656
13657         * paragraph.C (getFontSettings): compare >= not just >
13658         (highestFontInRange): ditto
13659         (setFont): ditto
13660
13661 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13662
13663         * paragraph.C: change several algorithm to be more appripriate for
13664         the problem domain. This is lookip in FontList and in the InsetList.
13665
13666 2002-03-13  André Pönitz <poenitz@gmx.net>
13667
13668         * commandtags.h:
13669         * LyXAction.C: remove unused LFUN_MATH_MACROARG
13670
13671 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
13672
13673         * commandtags.h:
13674         * LyXAction.C:
13675         * lyxfunc.C:
13676         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13677
13678 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13679
13680         * Painter.C (display): anon helper function, adjust code for this
13681         change.
13682         (pixmap): remove function.
13683
13684         * Painter.h: remove private display variable.
13685
13686         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13687
13688 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
13689
13690         * WorkArea.[Ch]: remove figinset_canvas cruft.
13691
13692 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13693
13694         * lyxtextclass.C (operator): add one item cache optimization.
13695
13696         * bufferlist.h: doxy changes
13697
13698         * bufferlist.C: ws changes
13699
13700         * DepTable.[Ch] (ext_exist): place const in the right spot.
13701
13702         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13703         call resizeInsets.
13704         (workAreaExpose): call resizeInsets when the with BufferView changes.
13705         (Dispatch): adjust for protectedBlank removal
13706         (specialChar): call updateInset if the insert went ok.
13707
13708         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13709         specialChar instead.
13710
13711         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13712
13713         * BufferView.h: doxy change
13714
13715         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13716
13717         * lyxtextclass.C (operator[]): remove non-const version
13718         (defaultLayout): remove non-const version
13719
13720 2002-03-12  Juergen Vigna  <jug@sad.it>
13721
13722         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13723         did resize the LyXText too.
13724
13725         * buffer.C (readLyXformat2): set layout information on newly allocated
13726         paragraphs.
13727
13728         * tabular.C (OldFormatRead): set layout information on the paragraph.
13729
13730 2002-03-12  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13731
13732         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13733
13734 2002-03-11  Juergen Vigna  <jug@sad.it>
13735
13736         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13737         plainly wrong.
13738         (resizeCurrentBuffer): force also the insets to resize themselfes.
13739         (moveCursorUpdate): fixed up for InsetText.
13740
13741 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
13742
13743         * commandtags.h:
13744         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13745         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13746         value of Dialogs::tooltipsEnabled().
13747         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13748
13749 2002-03-08  Juergen Vigna  <jug@sad.it>
13750
13751         * BufferView_pimpl.C (updateInset): update inset inside inset also
13752         if it isn't inside theLockingInset().
13753
13754 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13755
13756         * buffer.C (asciiParagraph): redo some of the word and line length
13757         handling.
13758         (getLists): look for Caption instead of caption.
13759
13760 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13761
13762         * buffer.C (Buffer): initialize niceFile to true
13763         (makeLaTeXFile):
13764         (makeLinuxDocFile):
13765         (makeDocBookFile): make sure niceFile is true on exit
13766
13767 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13768
13769         * buffer.C (makeLaTeXFile): escape ~ in \input@path
13770
13771 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
13772
13773         * LyXSendto.C: remove.
13774         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13775         * lyx_gui.C: remove now-redundant comment.
13776         * ColorHandler.h: remove forward declaration of class WorkArea.
13777         * lyxfunc.C: remove #include "WorkArea.h".
13778
13779 2002-03-07  Juergen Vigna  <jug@sad.it>
13780
13781         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13782         got moved away with the DEPM and also set the inset_owner always
13783         right which before could have been omitted.
13784
13785 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13786
13787         * buffer.C (parseSingleLyXformat2Token): use default layout is the
13788         wanted layout is not found.
13789
13790 2002-03-07  Juergen Vigna  <jug@sad.it>
13791
13792         * CutAndPaste.C (cutSelection): another layout settings forgotten.
13793
13794 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13795
13796         * paragraph.C (breakParagraph): use default layout not layout of
13797         prev paragraph.
13798         (Paragraph): clear ParagraphParameters.
13799
13800 2002-03-06  Juergen Vigna  <jug@sad.it>
13801
13802         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13803         otherwise it would not be a valid lenght. Fixed a special case in
13804         the minipage compatibility read where we end the document with a
13805         minipage.
13806
13807         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13808         was set as it could be 0 for InsetTexts first entry.
13809
13810 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13811
13812         * paragraph.C (writeFile): if layout is empty write out
13813         defaultLayoutName().
13814
13815         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13816         file without named layout we set layout to defaultLayoutName().
13817
13818 2002-03-06  Juergen Vigna  <jug@sad.it>
13819
13820         * CutAndPaste.C (copySelection): set layout for new paragraph.
13821
13822         * text.C (prepareToPrint): leave ERT inset left aligned
13823         (leftMargin): don't indent paragraphs inside ERT insets
13824
13825 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13826
13827         * paragraph.C (breakParagraph): dont call clear do the work manually
13828
13829         * paragraph.[Ch] (clear): remove function
13830
13831 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13832
13833         * paragraph.C (Paragraph): dont call clear, the work has already
13834         been done.
13835
13836         * lyxtextclass.C (operator): assert if n is empty
13837
13838         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13839         work manually instead.
13840
13841 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13842
13843         * BufferView_pimpl.C: protect selectionLost against text == 0
13844
13845 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13846
13847         * text.C (breakParagraph): fix a setting layout to '0' problem.
13848
13849 2002-03-05  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13850
13851         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13852         final location of file, for the included files, and graphics.
13853
13854 2002-03-05  Juergen Vigna  <jug@sad.it>
13855
13856         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13857
13858 2002-03-04  Juergen Vigna  <jug@sad.it>
13859
13860         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13861
13862         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13863         last column of multicolumn cells.
13864         (SetWidthOfMulticolCell): recalculate NMC and real columns.
13865
13866 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
13867
13868         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13869         file if it doesn't go to a temporary file.
13870
13871         * buffer.C (sgmlOpenTag):
13872         (sgmlCloseTag):  remove extra newline insertion.
13873
13874 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13875
13876         * text.C (getRowNearY): comment out debug msg
13877
13878 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13879
13880         * text2.C: first -> first_y
13881
13882         * text.C (getRowNearY): add some attemts at a possible
13883         optimization, not working.
13884
13885         * tabular.[Ch]: add BufferParams to several function so that newly
13886         created paragraph can be initialized to he default layotu for the
13887         buffers textclass.
13888
13889         * tabular-old.C (ReadOld): add buf->params to call of Init
13890
13891         * screen.C: rename text->first to text->first_y
13892
13893         * paragraph.C (breakParagraph): always set layout in the broken
13894         paragraph
13895
13896         * lyxtextclass.C (Read): remove lowercase
13897         (hasLayout): ditto
13898         (operator): ditto
13899         (delete_layout): ditto
13900
13901         * lyxtext.h: rename first -> first_y
13902
13903         * lyxlayout.C (Read): remove lowercase
13904         (name): ditto
13905         (setName): ditto
13906         (obsoleted_by): ditto
13907
13908         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13909
13910         * buffer.C (insertErtContents): add params are to InsetERT
13911         (parseSingleLyXformat2Token): add code to check if a paragraphs
13912         layout really exist.
13913         (parseSingleLyXformat2Token): add params to several inset
13914         constructors
13915         (asciiParagraph): remove lowercase, do the layout comparisons with
13916         no_case
13917
13918         * BufferView_pimpl.C (cursorNext): first -> first_y
13919         (resizeCurrentBuffer): first -> first_y
13920         (updateScrollbar): first -> first_y
13921         (scrollCB): first -> first_y
13922         (workAreaMotionNotify): first -> first_y
13923         (workAreaButtonPress): first -> first_y
13924         (checkInsetHit): first -> first_y
13925         (cursorPrevious): first -> first_y
13926         (cursorNext): first -> first_y
13927         (Dispatch): add buffer_->params to severl inset contructors
13928
13929 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13930
13931         * lyxlayout.C (Read): remove some debug info that I forgot.
13932
13933         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13934         clean up the code slightly.
13935         (makeLinuxDocFile): ditto
13936         (makeDocBookFile): ditto
13937
13938         * text2.C: layout as string
13939
13940         * text.C: layout as string
13941
13942         * paragraph_pimpl.C: layout as string
13943
13944         * paragraph.[Ch]: layout as string
13945
13946         * lyxtextclasslist.[Ch]: layout as string
13947
13948         * lyxtextclass.[Ch]: layout as string
13949
13950         * lyxtext.h: layout as string
13951
13952         * lyxlayout.[Ch]: layout as string
13953
13954         * lyx_cb.C: layout as string
13955
13956         * bufferview_funcs.C: layout as string
13957
13958         * bufferparams.C: layout as string
13959
13960         * buffer.C: layout as string
13961
13962         * LyXView.[Ch]: layout as string
13963
13964         * LaTeXFeatures.[Ch]: layout as string
13965
13966         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13967
13968         * BufferView_pimpl.C: change current_layout to string, remove
13969         lyx::layout_type.
13970         (Dispatch):
13971         (smartQuote):
13972         (insertInset):
13973         (workAreaButtonRelease): layout as string
13974
13975         * BufferView2.C (unlockInset): adjust
13976
13977         * vspace.C (asLatexCommand): use an explict temp variable.
13978
13979 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13980
13981         * Makefile.am: use FRONTEND_*
13982
13983 2002-03-01  Juergen Vigna  <jug@sad.it>
13984
13985         * tabular.C (SetWidthOfMulticolCell): changed to something better
13986         I hope but still work in progress.
13987         (recalculateMulticolumnsOfColumn): renamed function from
13988         recalculateMulticolCells as it is more appropriate now.
13989         (SetWidthOfCell): calculate multicols better.
13990
13991 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13992
13993         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13994
13995         * lyxfunc.C (processKeySym): print sequence also if it is
13996         `deleted' (complete)
13997
13998         * kbsequence.C (print): print sequence even if it is deleted
13999         (complete would be a better word, actually).
14000
14001         * lyxfunc.C (dispatch): print complete options after a prefix key
14002
14003         * vspace.C (asLatexCommand): rewrite in a slightly different form.
14004
14005 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
14006
14007         * text2.C (setCharFont): eliminate setCharFont code duplication.
14008
14009 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14010
14011         * BufferView_pimpl.C (Dispatch): remove bogus handling of
14012         LFUN_TABULAR_FEATURE (bug #177)
14013
14014 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
14015
14016         * Makefile.am: remove figure.h
14017
14018 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
14019
14020         * Bufferview_pimpl.C:
14021         * CutAndPasteC:
14022         * LaTeX.C:
14023         * LyXSendto.C:
14024         * buffer.C:
14025         * bufferlist.C:
14026         * converter.C:
14027         * language.C:
14028         * lyxfunc.C:
14029         * lyxvc.C:
14030         * paragraph.C:
14031         * text.C:
14032         * text2.C: remove #include "lyx_gui_misc.h".
14033
14034         * LaTeX.C: added #include <cstdio>
14035
14036 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14037
14038         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
14039         that the paragraph following this one can have.
14040
14041         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
14042
14043         * vspace.C (asLatexCommand): fix bogus gcc warning
14044
14045         * Makefile.am (lyx_SOURCES): remove vms_defines.h
14046
14047 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
14048
14049         * text2.C (setLayout): get rid of redundant code
14050
14051 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
14052
14053         * text2.C (incDepth): make sure depth cannot be increased beyond
14054         reasonable values.
14055
14056 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
14057
14058         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
14059         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
14060
14061         * PainterBase.h (image):
14062         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
14063         a LyXImage const *.
14064
14065 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
14066
14067         * BufferView.C:
14068         * BufferView.h:
14069         * BufferView_pimpl.C:
14070         * BufferView_pimpl.h:
14071         * LaTeXFeatures.C:
14072         * LyXAction.C:
14073         * LyXView.C:
14074         * Makefile.am:
14075         * UpdateList.h:
14076         * UpdateList.C:
14077         * buffer.C:
14078         * figure.h:
14079         * figureForm.C:
14080         * figureForm.h:
14081         * figure_form.C:
14082         * figure_form.h:
14083         * lyx_cb.C:
14084         * lyx_gui.C:
14085         * lyx_gui_misc.C:
14086         * lyxfunc.C:
14087         * sp_base.h:
14088         * sp_ispell.h:
14089         * sp_pspell.h:
14090         * sp_spell.C: remove fig inset, and the crap house of
14091           cards that follows it
14092
14093 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
14094
14095         * Makefile.am:
14096         * lyxserver.C:
14097         * os2_defines.h:
14098         * os2_errortable.h:
14099         * nt_defines.h: move .h into support/
14100
14101         * vms_defines.h: remove
14102
14103         * WorkArea.C: add space in debug output
14104
14105         * text2.C:
14106         * paragraph.C:
14107         * buffer.C: add WITH_WARNINGS
14108
14109         * vc-backend.h:
14110         * vc-backend.C:
14111         * bufferlist.C: s/retrive/retrieve/, add docs
14112
14113         * vspace.h:
14114         * vspace.C:
14115         * kbmap.h:
14116         * lyxlength.h:
14117         * lyxgluelength.h:
14118         * length_common.h:
14119         * chset.h:
14120         * chset.C: add docs
14121
14122         * lyxgui.C: add ID to X error handler
14123
14124         * lyxtestclass.c: fix typo
14125
14126 2002-02-26  Juergen Vigna  <jug@sad.it>
14127
14128         * tabular_funcs.C (write_attribute): changed so that some default
14129         attributes are not written at all.
14130         (getTokenValue): set default values before trying to read the
14131         value so we have the return value always set as default if we don't
14132         find the token we search for.
14133
14134         * tabular.C (Write): write bools as bools not as strings!
14135
14136 2002-02-22  Juergen Vigna  <jug@sad.it>
14137
14138         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
14139         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
14140
14141         * text.C (leftMargin): don't add an indent for paragraphs inside
14142         tabular cells (fix #208).
14143
14144 2002-02-21  José Matos  <jamatos@fep.up.pt>
14145
14146         * tabular.C (docBook): fixed support for long tables.
14147
14148 2002-02-20  Juergen Vigna  <jug@sad.it>
14149
14150         * text2.C (getFont): get the drawing font of the Inset if this
14151         paragraph is inside an inset (only important for InsetERT for now).
14152
14153         * buffer.C (insertErtContents): use new lanugage params in ERT
14154         constructor.
14155
14156         * CutAndPaste.C: commenting out seemingly uneeded code.
14157
14158 2002-02-19  Allan Rae  <rae@lyx.org>
14159
14160         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
14161         Iterators might be simple to use but they also get invalidated.
14162         (removeAutoInsets): renamed saved cursor tracking variables and added
14163         some comments to clarify what everything does.
14164
14165 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
14166
14167         * Chktex.C:
14168         * LaTeX.C:
14169         * LyXSendto.C:
14170         * converter.C:
14171         * lyx_cb.C:
14172         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
14173         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
14174
14175         * lyxfunc.C:
14176         * vc-backend.h: remove #include "support/syscall.h"
14177
14178         * LaTeX.C:
14179         * LyXSendto.C:
14180         * converter.C: rearrange #includes in Lars' approved fashion.
14181
14182         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
14183         forward declare class Timeout in the header file.
14184
14185         * XFormsView.C: changes due to the above.
14186
14187         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
14188         similar to LyXView.
14189
14190         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
14191         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
14192
14193 2002-02-18  José Matos  <jamatos@fep.up.pt>
14194
14195         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
14196         insets contents.
14197
14198 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14199
14200         * a lot of small ws changes
14201         * add a lot of using std::XXX
14202         * use std construcs some places where approp.
14203         * use some exisint stuff from lyxfunctional where approp.
14204         * Make file changes to use partial linking (lets test this now...)
14205
14206 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
14207
14208         * Chktex.C:
14209         * buffer.C:
14210         remove #include "support/syscontr.h" as it's redundant. Always has been.
14211
14212         * Chktex.C:
14213         * LaTeX.C:
14214         * LyXSendto.C:
14215         * converter.C:
14216         * lyx_cb.C:
14217         * vc-backend.C:
14218         change Systemcalls::System to Systemcalls::Wait and
14219         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
14220         No change of functionality, just reflects the stripped down Systemcalls
14221         class.
14222
14223 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
14224
14225         * debug.[Ch]: add a GRAPHICS type to the enum.
14226
14227 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14228
14229         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
14230
14231         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
14232         there is an inset.
14233
14234 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14235
14236         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
14237         match the changes below.
14238
14239         * text2.C (toggleInset): if there is not editable inset at cursor
14240         position, try to see if cursor is _inside_ a collapsable inset
14241         and close it.
14242
14243 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14244
14245         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
14246         document menu has a nice checkbox
14247
14248 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14249
14250         * lyxlength.C (asLatexString): change PW to output as percent of
14251         \textwidth.
14252
14253         * lengthcommon.C: change '%' to 't%'
14254
14255         * lyxfunc.C (dispatch): a few comments from Martin
14256
14257 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
14258
14259         * WorkArea.h:
14260         * WorkArea.C:
14261         * BufferView_pimpl.h:
14262         * BufferView_pimpl.C: clear our selection when X tells us we've lost
14263           the X selection.
14264
14265 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14266
14267         * vspace.C (inPixels): fix compiler warning
14268
14269 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14270
14271         * lyxfunc.C (getStatus): fix status message for disabled commands.
14272
14273 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
14274
14275         * BufferView_pimpl.C: fix crash on close buffer
14276         during selection (#227)
14277
14278 2002-01-27  Herbert Voss  <voss@lyx.org>
14279
14280         * buffer.C: link old Figure to new graphic inset
14281
14282 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14283
14284         * FontLoader.C (getFontinfo): Change the latex font names in order
14285         to match the names of type1inst.
14286
14287 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14288
14289         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
14290
14291         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
14292         (extchanged): ditto
14293         (ext_exist): ditto
14294         (remove_files_with_extension): ditto
14295         (remove_file): ditto
14296         (write): ditto
14297
14298         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
14299         document is smaller than the work area height. Do not initialize
14300         static variables to 0.
14301
14302 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14303
14304         * lyx_gui.C (init): give the toolbar tooltips a normal font.
14305
14306         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
14307         LFUN_LAYOUT_PARAGRAPHS.
14308
14309         * tabular.C (GetCellFromInset): new method. Finds an inset in a
14310         tabular. It is possible to provide a possible cell, which will
14311         typically be the actcell from the corresponding insettabular
14312
14313         * lyxfunc.C (getStatus): small cleanup; disable
14314         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
14315         true
14316
14317 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14318
14319         * tabular.C (Validate): remove broken optimization (fixes bug #201)
14320
14321         * paragraph.C (startTeXParParams):
14322         (endTeXParParams): new methods. The LaTeX code to
14323         start/end paragraph formatting
14324         (simpleTeXOnePar): call startTeXParParams also when paragraph is
14325         empty (fixes bug #200)
14326
14327         * vspace.C (inPixels): adapt to the change below
14328         (inPixels): [later] more cleanups (remove unused variables)
14329
14330         * lyxlength.C (inPixels): change to use a width and a height as
14331         parameter.
14332
14333 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14334
14335         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
14336         Replaced with \paperwidth
14337
14338         * DepTable.C (insert): add std:: qualifier
14339
14340 2002-01-18  Allan Rae  <rae@lyx.org>
14341
14342         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
14343         updated also?
14344
14345         * text.C (drawInset): Turned out I didn't know enough about how
14346         rebreaking worked.  This fixes most of the redraw problems.  I see
14347         an occasional cursor trail when a line is broken now and the cursor
14348         placement can seem out by a few pixels also after a rebreak.
14349
14350 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14351
14352         * buffer.C (parseSingleLyXformat2Token): update because minipage
14353         width is now a LyXLength
14354
14355         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
14356
14357         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
14358         math insets
14359
14360 2002-01-17  Juergen Vigna  <jug@sad.it>
14361
14362         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
14363
14364         * BufferView2.C (lockInset): call edit() so that theLockingInset()
14365         is set correctly and the inset is updated correctly.
14366
14367 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14368
14369         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
14370         the beginning of the loop.
14371
14372 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
14373
14374         * lyxrc.C: improve help for use_scalable_fonts
14375
14376 2002-01-17  Allan Rae  <rae@lyx.org>
14377
14378         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
14379
14380 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14381
14382         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
14383         make sure to set their inset_owner to the right value (bug #171)
14384
14385 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
14386
14387         * DepTable.h
14388         * DepTable.C: Implement mtime checking to reduce time spent doing
14389         CRCs.
14390
14391 2002-01-16  Juergen Vigna  <jug@sad.it>
14392
14393         * tabular.C (GetAdditionalHeight): one of error fixed.
14394
14395         * lyxrc.C (output): small fix in writing use_pspell.
14396
14397 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
14398
14399         * sp_base.h: #include LString.h
14400
14401 2002-01-16  Allan Rae  <rae@lyx.org>
14402
14403         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
14404         Can someone check this please?
14405
14406         * text.C (drawInset): It was possible that p.row would be removed by
14407         breakAgainOneRow upsetting a few other settings.  There may be another
14408         small tweak possible by setting need_break_row = 0 when p.row has been
14409         removed but I don't know enough about the logic here.
14410
14411 2002-01-15  Allan Rae  <rae@lyx.org>
14412
14413         * text.C (insertChar): removed conditional truism.
14414
14415         * BufferView2.C (removeAutoInsets): More tweaks.
14416         cur_par_prev could be a stray pointer.  Check for trailing empty line
14417         in case last line was cur_par and only had an error inset on it.
14418
14419 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14420
14421         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
14422         absolute
14423
14424         * vc-backend.C (most methods):
14425         * exporter.C (Export):
14426         * converter.C (convert):
14427         (runLaTeX):
14428         * LyXSendto.C (SendtoApplyCB):
14429         * lyxfunc.C (dispatch):
14430         (menuNew):
14431         (open):
14432         (doImport):
14433         * lyx_cb.C (AutoSave):
14434         (InsertAsciiFile):
14435         * BufferView_pimpl.C (MenuInsertLyXFile):
14436         * buffer.C (runChktex): use Buffer::filePath().
14437
14438         * buffer.h: rename filename to filename_; rename filepath to
14439         filepath_ and make it private
14440         (filePath): new method
14441
14442         * buffer.C (writeFile): use fileName()
14443         (getLatexName):
14444
14445         * lyx_main.C (init): fix starting  of LyX when the binary is a
14446         link from so,ewhere else.
14447
14448         * minibuffer.C: include <cctype> for isprint
14449
14450 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14451
14452         * buffer.C (parseSingleLyXformat2Token): changes associated with the
14453         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14454         name clash with InsetCollapsable's width function.
14455
14456 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14457
14458         * lastfiles.C: include <iterator>
14459
14460 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14461
14462         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14463         std::count.
14464
14465         * buffer.C (makeLaTeXFile): ditto.
14466         Also make loop operation more transparent.
14467
14468 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14469
14470         * ToolbarDefaults.C: remove trailing comma closing namespace.
14471
14472         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14473
14474         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14475         as in WorkArea.
14476
14477         * trans.C (Load): comment out unused variable, allowed.
14478
14479 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14480
14481         * minibuffer.[Ch] (append_char): new method to recieve input from the
14482         drop-down completion browser. If a key was pressed, then recieve this
14483         char and append it to the existing string.
14484         (peek_event): modify the positioning data passed to the completion
14485         browser so that it can be placed above the minibuffer rather than below.
14486 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14487
14488         * LyXAction.C (init): alloe error-next for readonly documents.
14489
14490         * BufferView2.C (ChangeRefsIfUnique): use standard version of
14491         count.
14492
14493 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14494
14495         * bufferlist.C (readFile): create the buffer _after_ checking that
14496         the file exists.
14497
14498         * lyxfunc.C (verboseDispatch): fix handling of arguments
14499
14500         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14501
14502         * lyxrc.C: use string::erase() instead of initializing to "".
14503
14504
14505 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14506
14507         * BufferView_pimpl.h:
14508         * BufferView_pimpl.C:
14509         * WorkArea.h:
14510         * WorkArea.C:
14511         * text2.C: tell X when we have made a selection for copying
14512
14513 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14514
14515         * BufferView_pimpl.C (MenuInsertLyXFile):
14516         * lyxfunc.C (menuNew):
14517         (open):
14518         (doImport): add shortcuts to directory buttons
14519
14520         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14521         open a float)
14522
14523         * lyxfunc.C (setStatusMessage):
14524         (getStatusMessage): new methods
14525         (getStatus):use setStatusMessage instead of setErrorMessage
14526         (dispatch): when function is disabled, set error message here
14527         [instead of in getStatus previously]
14528
14529         * BufferView_pimpl.C (workAreaButtonRelease): update
14530         toolbar/menubar here too.
14531
14532 2002-01-13  Allan Rae  <rae@lyx.org>
14533
14534         * BufferView2.C (removeAutoInsets): finished off earlier fix.
14535         Now seems indestructible.  Remaining task is to audit all other
14536         code affected by deleteEmptyParagraphMechanism.  One small quirk
14537         left is that an empty document with an error in the preamble can
14538         be made to report an error but no error box appears.  I don't know
14539         where it goes.
14540         (removeAutoInsets): Improved comments.
14541
14542 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
14543
14544         * Thesaurus.h:
14545         * Thesaurus.C: update for Aiksaurus 0.14
14546
14547 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14548
14549         * text2.C (firstParagraph): removed member function, all uses
14550         replaces with ownerParagraph
14551         (redoParagraphs): here
14552         (updateInset): here
14553         (toggleAppendix): here
14554         * BufferView2.C (insertErrors): here
14555         (setCursorFromRow): here
14556
14557 2002-01-13  Allan Rae  <rae@lyx.org>
14558
14559         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14560         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14561         There is still a way to segfault this although you may have to do this
14562         multiple times: Have an InsetERT with an unknown command in it.
14563         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14564         <down-arrow>, <Enter> again, View->DVI, BANG!
14565
14566         * text2.C (setCursor):
14567         (deleteEmptyParagraphMechanism):
14568         * lyxtext.h (setCursor):
14569         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14570         Making use of the return value may help fix other bugs.
14571
14572 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14573
14574         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14575
14576         * LyXView.C (updateMenubar): call MenuBar::update here
14577         (updateToolbar): but not here
14578         (showState): do not update toolbar/menubar
14579
14580         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14581         should need to care about that.
14582
14583         * lyxfunc.C (verboseDispatch): simplify a bit
14584         (getStatus): have a version which takes a pseudoaction, and
14585         another which requires a (kb_action,string).
14586
14587         * LyXAction.C (retrieveActionArg): make it work also when action
14588         is not a pseudo-action.
14589         (getActionName): simplify a bit
14590         (helpText):
14591
14592 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14593
14594         * lyxfunc.C (verboseDispatch): new families of methods with
14595         several ways to specify a command and a bool to indicate whether
14596         the command name and shortcut should be displayed in minibuffer
14597         (eventually, we could extend that to a finer bitmask like
14598         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14599         (dispatch): the pristine dispatch command which just, well,
14600         dispatchs! Note it still sets its result to minibuffer; I'm not
14601         sure we want that.
14602
14603         * lyxfunc.h: remove setHintMessage
14604
14605         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14606
14607 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14608
14609         * BufferView_pimpl.C (specialChar): delete new inset if we have
14610         not been able to insert it.
14611
14612         * kbmap.C: revert to using int instead of kb_action, since all we
14613         are dealing with is pseudo-actions.
14614
14615         * LyXAction.C (searchActionArg): change to return int instead of
14616         kb_action, since the result is a pseudoaction.
14617
14618 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
14619
14620         * buffer.C (insertErtContents): Fix (partially) the font bug.
14621
14622 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14623
14624         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14625         as the other one is broken on my machine!
14626
14627 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
14628
14629         * commandtags.h:
14630         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14631
14632 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
14633
14634         * lyxrc.[Ch]: change names and descriptions of popup font variables to
14635         reflect their actual use. Provide compatibility code for older lyxrc
14636         files.
14637
14638         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14639         FL_NORMAL_STYLE.
14640         change names of popup font variables in line with the changes to lyxrc.C
14641
14642 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14643
14644         * buffer.C (asciiParagraph): avoid outputing a word twice after
14645         an inset.
14646
14647         * lyxrc.C (getDescription): document that document_path and
14648         template_path can be empty.
14649
14650 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14651
14652         * LaTeXFeatures.C (getMacros):
14653         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14654
14655         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14656
14657         * LaTeXFeatures.C (useFloat): require "float" here instead of in
14658         getPackages.
14659         (getPackages): rename feature "floats" to "float". Use an array to
14660         iterate over 'simple' features (i.e. just a \usepackage). Add
14661         handling of "amsmath" (renamed from "amsstyle").
14662
14663 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
14664
14665         * LaTeXFeatures.C (require): Prevent duplicate entries in the
14666         features list.
14667
14668 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
14669
14670         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14671         FuncStaus::FuncStatus & FuncStaus::some_method().
14672
14673 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
14674
14675         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14676         of the func_satus stuff. Edited and massaged in various ways by
14677         JMarc.
14678
14679         * lyxfunc.C (getStatus): use FuncStatus
14680
14681 2002-01-08  Juergen Vigna  <jug@sad.it>
14682
14683         * text.C (nextBreakPoint): use function Inset::isChar().
14684
14685         * paragraph.C (TeXOnePar): use function
14686         Inset::forceDefaultParagraphs.
14687
14688         * buffer.C (latexParagraphs): use function
14689         Inset::forceDefaultParagraphs.
14690
14691 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14692
14693         * lyx_gui.C (init): set the style of the menu popups to
14694         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14695
14696 2002-01-07  Juergen Vigna  <jug@sad.it>
14697
14698         * text.C (setHeightOfRow): small fix
14699         (prepareToPrint): don't look at alignment if we don't have the place
14700         for doing it.
14701
14702 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14703
14704         * box.C: New file. Move the Box methods and functions out of box.h,
14705         following Lars' suggestion.
14706
14707 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14708
14709         * box.h: #include "support/LOstream.h", needed for inlined function.
14710
14711         * lyxtextclass.C:
14712         * lyxtextclasslist.C: added some using std declarations.
14713
14714 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
14715
14716         * box.h: make signed dimensions to allow insets wider than
14717           the screen (bug #162)
14718
14719         * BufferView_pimpl.C: add some insetHit debug
14720
14721 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
14722
14723         * vc-backend.C: add FIXME
14724
14725 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14726
14727         * lyxfunc.C (getStatus): enable code for showing math font status
14728         in toolbar/menu.
14729
14730 2002-01-07  Juergen Vigna  <jug@sad.it>
14731
14732         * text.C (nextBreakPoint): removed debug output not needed anymore.
14733
14734 2002-01-06  Juergen Vigna  <jug@sad.it>
14735
14736         * text.C (nextBreakPoint): fixed up this function we had this bug
14737         since ever but now hopefully we break row better.
14738         (insertChar): we have to check if an inset is the next char as it
14739         could now happen that a large inset is causing a break.
14740
14741 2002-01-05  Juergen Vigna  <jug@sad.it>
14742
14743         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14744         if it doesn't like to be drawed.
14745
14746 2002-01-04  Juergen Vigna  <jug@sad.it>
14747
14748         * BufferView2.C (lockInset): forgot to set a cursor.
14749
14750         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14751
14752 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
14753
14754         * FormMathsPanel.C:
14755         * FormMathsPanel.h
14756         * MathsSymbols.C:
14757         * form_maths_panel.C:
14758         * form_maths_panel.h:
14759         * form_maths_panel.fd: implemented sub- and super- buttons in math
14760         panel.
14761
14762         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14763         (or ^ space) to be used as in TeX (req'd by Andr�.
14764
14765         * lyxfunc.C: Allow ^ and _ again to be used both as
14766         super/subscript (mathed) and as themselves (in text).
14767
14768 2002-01-03  Allan Rae  <rae@lyx.org>
14769
14770         * LyXView.C (updateWindowTitle): Setup a short icon title of either
14771         "LyX" or the filename of the current buffer if it has one.  This is a
14772         modified form of John Levon's patch.
14773
14774         * XFormsView.C (setWindowTitle): also set icon title.
14775
14776         * LyXView.h (setWindowTitle): signature changed.
14777         * XFormsView.h (setWindowTitle): ditto.
14778
14779 2002-01-02  Juergen Vigna  <jug@sad.it>
14780
14781         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14782
14783 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14784
14785         * screen.C (topCursorVisible): introduce a temp var for
14786         text->cursor.row(), handle the case where this row is null. (kindo
14787         hachish)
14788
14789         * text2.C (setCursor): add a couple of asserts.
14790
14791         * paragraph.h (inset_iterator): add -> operator
14792
14793         * paragraph.[Ch] (autoDeleteInsets): remove member function
14794
14795         * BufferView2.C (removeAutoInsets): rewrite to handle the old
14796         cursor pos correctly and handle inset deletion by itself.
14797         (insertErrors): move iterator declaration out of for expression
14798
14799         * lyxtextclass.C: add <algorithm>
14800
14801         * Makefile.am: added the new files to sources, removed layout.C
14802
14803         * layout.C: removed file
14804
14805         * layout.h: remove LYX_DUMMY_LAYOUT
14806
14807         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14808         layout.
14809
14810         * lyxlayout.[Ch]:
14811         * lyxtextclass.[Ch]:
14812         * lyxtextclasslist.[Ch]: new files
14813
14814         * include order changes to a lot of files, also changes because of
14815         the six new files.
14816
14817 2001-12-27  Juergen Vigna  <jug@sad.it>
14818
14819         * buffer.C (asciiParagraph): more fixes.
14820
14821         * tabular.C (ascii): make ascii export support export of only the
14822         data separated by a column-delimiter.
14823         (ascii): better support for ascii export.
14824
14825         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14826
14827 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14828
14829         * tabular_funcs.C: use a "using std::getline" instead of the
14830         previous fix from Angus (necessary for cxx + lyxstring)
14831
14832 2001-12-24  Juergen Vigna  <jug@sad.it>
14833
14834         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14835
14836         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14837         problems. First check a minipage also if we have some ert-contents
14838         (not only on par->size(), second set the right depth of the paragraph
14839         on the relink to the root-paragraph-list!
14840
14841         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14842         which then did not anymore update the main paragraphs on undo/redo!
14843
14844 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14845
14846         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14847         code. Support all font-changing funcs (even those which are not in
14848         menu currently). Support for reporting font settings in
14849         mathed (disabled until Andre provides a function on mathed's side).
14850
14851         * func_status.h (toggle): small helper function to set toggle
14852         state on a flag.
14853
14854 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
14855
14856         * tabular_funcs.C: getline -> std::getline
14857
14858 2001-12-21  Juergen Vigna  <jug@sad.it>
14859
14860         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14861         accessed and could be 0 (I couldn't generate this but it seems
14862         Michael could!).
14863
14864 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14865
14866         * tabular_funcs.C: add LIstream.h, move write_attribute to..
14867         * tabular_funcs.h: here and include iosfwd
14868
14869 2001-12-20  Juergen Vigna  <jug@sad.it>
14870
14871         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14872         inside inset but undo_par was.
14873
14874 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14875
14876         * Thesaurus.C: always include <config.h> in sources.
14877
14878         * Painter.h:
14879         * lyxlookup.h:
14880         * box.h: do not include <config.h> in header files
14881
14882         * text.C (paintLastRow): remove unused variable
14883
14884         * text.C (transformChar):
14885         (insertChar):
14886         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14887
14888         * Painter.C (text):
14889         * font.C (width): rewrite to use uppercase() instead of
14890         islower/toupper.
14891
14892         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14893
14894 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
14895
14896         * lyxfind.C: clean up of find failure position change
14897
14898 2001-12-20  Juergen Vigna  <jug@sad.it>
14899
14900         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14901
14902         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14903         (TeXRow): added to LaTeX a single tabular row.
14904         (TeXLongtableHeaderFooter): added to output LT-h/f data.
14905         (Latex): simplified and finally good LT-h/f support.
14906         (various_functions): just small adaptions for LT-h/f support.
14907
14908         * tabular_funcs.[hC]: added and moved here all not classfunctions
14909         of LyXTabular.
14910
14911 2001-12-19  Juergen Vigna  <jug@sad.it>
14912
14913         * tabular.[Ch]: better support for longtabular options (not finished
14914         yet!)
14915
14916 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14917
14918         * text.C (paintLastRow): use the label font instead of the font of
14919         the last character to compute the size of *_BOX. This makes more
14920         sense and avoids a crash with empty paragraphs.
14921         Use Painter::rectangle to draw EMPTY_BOX.
14922
14923 2001-12-19  Juergen Vigna  <jug@sad.it>
14924
14925         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14926         the paragraphs if the replaced paragraph is not the first one!
14927         Tried to delete not used paragraphs but does not work yet so for
14928         now it's inside #ifdef's and by default off!
14929
14930 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14931
14932         * MenuBackend.C: include "lyx_main.h" instead of declaring
14933         lastfiles (actually was declared as LastFiles* instead of a
14934         scoped_ptr).
14935
14936 2001-12-17  Juergen Vigna  <jug@sad.it>
14937
14938         * tabular.C (AppendColumn): applied John's fix
14939
14940 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
14941
14942         * BufferView.h:
14943         * BufferView.C:
14944         * BufferView_pimpl.h:
14945         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14946
14947         * Makefile.am:
14948         * box.h: new start of class for above
14949
14950         * lyxfunc.C: ignore space-only minibuffer dispatches.
14951           Show the command name when it doesn't exist
14952
14953         * minibuffer.C: don't add empty lines to the history
14954
14955         * minibuffer.C: add a space on dropdown completion
14956
14957 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
14958
14959         * text.C: fix line above/below drawing in insets
14960
14961 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14962
14963         * lyxlength.C (LyXLength): Initialize private variables.
14964
14965 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
14966
14967         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14968         when inserting error insets.
14969
14970 2001-12-13  Juergen Vigna  <jug@sad.it>
14971
14972         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14973         actually sometimes the before-paragraph.
14974         (setUndo): don't clear the redostack if we're not actually undoing!
14975
14976 2001-12-06  Juergen Vigna  <jug@sad.it>
14977
14978         * undo_funcs.C (textHandleUndo): well after John's hint I got here
14979         and fixed redoing of main paragraph, so we can use it now ;)
14980
14981         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14982
14983 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14984
14985         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14986         Juergen's request
14987
14988 2001-12-13  André Pönitz <poenitz@gmx.net>
14989
14990         * undostack.[Ch]:
14991         * undo_func.C: minor cleanup
14992
14993 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14994
14995         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14996         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14997         font in urw-fonts package which is marked as -urw-fontspecific and
14998         does not work (incidentally, changing the encoding in the
14999         fonts.dir of this package to -adobe-fontspecific fixes the
15000         problem).
15001
15002         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
15003         is a crash when undoing first paragraph (Juergen, please take a
15004         look). THis does not mean the undo fix is wrong, just that it
15005         uncovers problems.
15006
15007         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
15008         the (Paragraph*) version when needed instead of duplicating the
15009         code.
15010
15011         * text.C (workWidth): use Inset::parOwner to find out where the
15012         inset has been inserted. This is a huge performance gain for large
15013         documents with lots of insets. If Inset::parOwner is not set, fall
15014         back on the brute force method
15015
15016         * paragraph_pimpl.C (insertInset):
15017         * paragraph.C (Paragraph):
15018         (cutIntoMinibuffer): set parOwner of insets when
15019         inserting/removing them
15020
15021         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
15022
15023 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
15024
15025         * commandtags.h:
15026         * LyXAction.C:
15027         * lyx_main.C:
15028         * lyxfunc.C:
15029         * mathed/formulabase.C:
15030         * mathed/math_cursor.[Ch]:
15031         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
15032
15033
15034 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15035
15036         * lyxlength.[Ch] (operator!=): new function
15037
15038 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
15039
15040         * text.C (workWidth): use Inset::parOwner to find out where the
15041         inset has been inserted. This is a huge performance gain for large
15042         documents with lots of insets. If Inset::parOwner is not set, fall
15043         back on the brute force method
15044
15045         * paragraph_pimpl.C (insertInset):
15046         * paragraph.C (Paragraph):
15047         (cutIntoMinibuffer): set parOwner of insets when
15048         inserting/removing them
15049
15050         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
15051
15052 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
15053
15054         * tabular-old.C (getTokenValue):
15055         * tabular.C (getTokenValue):
15056         (write_attribute): new versions for LyXLength
15057         (everywhere): adjust the use of widths
15058
15059         * tabular.h: change the type of widths from string to LyXLength
15060
15061 2001-12-11  Ben Stanley <bds02@uow.edu.au>
15062
15063         * paragraph.C: fixed missing line number count when exporting
15064         Environments to LaTeX file
15065
15066         * buffer.C: added informational message for checking line numbers.
15067
15068 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
15069
15070         * text2.C (deleteEmptyParagraphMechanism): if there is only one
15071         paragraph, do the 'double space' part, but not the 'empty
15072         paragraph' one.
15073
15074         * text.C (workWidth): small optimization
15075         (getLengthMarkerHeight): use minimal size for negative lengths.
15076
15077 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
15078
15079         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
15080
15081         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
15082
15083 2001-12-11  André Pönitz <poenitz@gmx.net>
15084
15085         * FontLoader.C:
15086         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
15087
15088 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
15089
15090         * text2.C: keep selection on a setFont()
15091
15092 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
15093
15094         * lyx_cb.C: another bv->text misuse, from insert label
15095
15096 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
15097
15098         * kbsequence.h:
15099         * kbsequence.C: re-instate nmodifier mask
15100
15101 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
15102
15103         * lyx_main.h: make lyxGUI private.
15104
15105 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
15106
15107         * lyxfind.C: place the cursor correctly on failed search
15108
15109 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
15110
15111         * text.C (getLengthMarkerHeight): for small heights, the arrows
15112         are not always on top/bottom of the text
15113         (drawLengthMarker): smaller arrows; take the left margin in
15114         account; draw also vfills.
15115         (paintFirstRow):
15116         (paintLastRow): remove special code for vfill and standard spaces,
15117         since everything is handled in drawLengthMarker now.
15118
15119 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15120
15121         * buffer.C (insertErtContents): try to handle font and language
15122         interaction a bit better.g
15123
15124         * ColorHandler.C (updateColor): change the hash to cover the whole
15125         LColor enum, ws cleanup
15126         (getGCLinepars): ditto
15127         (getGCLinepars): only lookup in the linecache once.
15128
15129 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
15130
15131         * iterators.C (operator++): Make the iterator more robust
15132
15133         * BufferView2.C (removeAutoInsets): Use paragraph iterators
15134         (John's patch)
15135         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
15136
15137 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15138
15139         * lyxtext.h:
15140         * text.C: better added space drawing
15141
15142 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15143
15144         * LyXView.C:
15145         * BufferView2.C: fix layout combo update on inset unlock
15146
15147 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15148
15149         * Makefile.am: don't compile unused files
15150
15151 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15152
15153         * lyxfunc.C:
15154         * commandtags.h:
15155         * LyXAction.C: remove old LFUN_LAYOUTNO
15156
15157 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15158
15159         * paragraph_pimpl.h:
15160         * paragraph_pimpl.C: isTextAt() doesn't need font param
15161
15162 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15163
15164         * lyxlex.h:
15165         * lyxlex.C: little cleanup
15166
15167 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15168
15169         * BufferView_pimpl.C: fix insertAscii for insets
15170
15171 2001-12-05  Juergen Vigna  <jug@sad.it>
15172
15173         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
15174         set the right font on the "multi" paragraph paste!
15175
15176 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15177
15178         * trans_decl.h:
15179         * trans_mgr.[Ch]:
15180         * trans.[Ch]:
15181         * lyxgluelength.C:
15182         * lyxlength.C: remove out-commented code.
15183
15184         * BufferView_pimpl:
15185         * CutAndPaste.C:
15186         * DepTable.C:
15187         * buffer.C:
15188         * chset.C:
15189         * lastfiles.C:
15190         * lyxlex.C:
15191         * lyxlex_pimpl.C:
15192         * lyxserver.C:
15193         * screen.C:
15194         * tabular-old.C:
15195         * tabular.C:
15196         * text.C:
15197         * trans_mgr.C:
15198         * vc-backend.C: change "while(" to "while ("
15199
15200         * lyxlength.[Ch]: add zero function to check if length is zero or
15201         not
15202         * lyxgluelength.C: use it
15203
15204 2001-12-05  Allan Rae  <rae@lyx.org>
15205
15206         * lyxlength.C: Attempted a fix for the abs(int) header selection.
15207         Works for 2.95.3, from what I understand of Garst's reports this should
15208         work for other g++ versions.  We're screwed if the abs(int) definition
15209         changed between bugfix releases of gcc.
15210
15211 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
15212
15213         * text.C: fix chapter label offset !
15214
15215 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
15216
15217         * lyxtext.h:
15218         * text.C: fix hfill at end of line, clean up
15219
15220 2001-12-04  Juergen Vigna  <jug@sad.it>
15221
15222         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
15223         that we force an update of the inset and it's owners if neccessary.
15224
15225 2001-12-03  Juergen Vigna  <jug@sad.it>
15226
15227         * text.C (rowLast): simplified code
15228
15229 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
15230
15231         * lyxfunc.C: fix show options on timeout
15232
15233 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15234
15235         * screen.C (topCursorVisible): scroll half a page when the cursor
15236         reached top of bottom of screen
15237
15238 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
15239
15240         * minibuffer.C: deactivate on loss of focus
15241
15242 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15243
15244         * vspace.[Ch] (operator!=): add operator.
15245
15246 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
15247
15248         * BufferView_pimpl.C: refuse to open an inset when
15249         there's a selection.
15250
15251 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
15252
15253         * BufferView_pimpl.C: allow to click on RHS of full row insets
15254
15255 2001-11-30  Juergen Vigna  <jug@sad.it>
15256
15257         * tabular.C (LyXTabular): add a same_id to set the same id's in the
15258         insets for undo reasons.
15259
15260 2001-11-28  André Pönitz <poenitz@gmx.net>
15261
15262         * vspace.[Ch]: cosmetical changes
15263
15264 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15265
15266         * LyXAction.h:
15267         * LyXAction.C:
15268         * lyxfunc.h:
15269         * lyxfunc.C:
15270         * kbmap.h:
15271         * kbmap.C:
15272         * lyxrc.C:
15273         * kbsequence.h:
15274         * kbsequence.C: part re-write of old kb code
15275
15276         * Painter.C:
15277         * WorkArea.C: remove Lgb_bug_find_hack
15278
15279 2001-11-30  José Matos <jamatos@fep.up.pt>
15280
15281         * buffer.C (makeDocBookFile): add a comment to point a hack.
15282         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
15283         Fixed a double write of labels.
15284
15285 2001-11-29 Ben Stanley <bds02@uow.edu.au>
15286
15287         * LaTeX.C:
15288         * LaTeX.h Fixed bug in LaTeX class where it would not
15289         re-run latex if no depfiles were changed, but the .dvi was removed.
15290
15291 2001-11-28  André Pönitz <poenitz@gmx.net>
15292
15293         * all the files from the change on 2001/11/26:
15294         use lyx::layout_type instead of LyXTextClass::size_type
15295         use lyx::textclass_type instead of LyXTextClassList::size_type
15296
15297 2001-11-29  Juergen Vigna  <jug@sad.it>
15298
15299         * text.C: added support for paragraph::isFreeSpacing()
15300
15301         * buffer.C: same as above
15302
15303         * paragraph.h: inserted isFreeSpacing() function to enable
15304         FreeSpacing inside InsetERT.
15305
15306         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
15307         of the paragraph's in the cut/copy buffer to 0!
15308
15309         * text2.C (removeRow): remove the assert as it can!
15310
15311         * lyxtext.h: added helper function firstRow returning firstrow and
15312         made firstrow private again.
15313
15314         * BufferView2.C (lockInset): don't relock if we're already locked!
15315
15316         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
15317         the only paragraph.
15318         (removeRow): added Assert::(firstrow)
15319
15320         * debug.C: forgot to add INSETTEXT here.
15321
15322 2001-11-28  Juergen Vigna  <jug@sad.it>
15323
15324         * sp_spell.C (initialize): changed error text to more general
15325         spellchecker command use (not only ispell!)
15326
15327         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
15328
15329         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
15330
15331 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15332
15333         * vspace.C: initialise lyxgluelength on failure
15334
15335 2001-11-28  Allan Rae  <rae@lyx.org>
15336
15337         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
15338         declaration & definition that looks like a function declaration.
15339
15340 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15341
15342         * BufferView2.C (copy):
15343         (copyEnvironment): do not clear the selection when doing a copy.
15344
15345         * text.C (paintFirstRow): compilation fix
15346
15347 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
15348
15349         * tabular.C (Latex): correct line count when writing latex.
15350
15351 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
15352
15353         * paragraph_pimpl.h:
15354         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
15355           bug a bit
15356
15357 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15358
15359         * text.C:
15360         * LColor.h:
15361         * LColor.C: change vfillline->added_space
15362
15363         * text.C: add markers and text for added space
15364
15365         * vspace.C: fix comment
15366
15367 2001-11-28  André Pönitz <poenitz@gmx.net>
15368
15369         * paragraph.C: whitespace changes
15370         * all the other files from the change on 2001/11/26:
15371         change *::pos_type into lyx::pos_type
15372
15373 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
15374
15375         * buffer.C (parseSingleLyXformat2Token): Set the language to the
15376         language of the document when inserting error insets.
15377
15378 2001-11-26  André Pönitz <poenitz@gmx.net>
15379
15380         * BufferView_pimpl.[Ch]:
15381         *       CutAndPaste.C:
15382         * buffer.[Ch]:
15383         * lyxcursor.[Ch]:
15384         * lyxfind.C:
15385         * lyxfunc.C:
15386         * lyxrow.[Ch]:
15387         * paragraph.[Ch]:
15388         * paragraph_pimpl.[Ch]:
15389         * sp_spell.C:
15390         * text.C:
15391         * text2.C: reduce header dependencies, introduce type for positions
15392
15393 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15394
15395         * <various>: change to use Alert.h
15396
15397 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
15398
15399         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
15400         when encountering an unknown token.
15401         (readLyXformat2): Show an error message if there were unknown tokens.
15402
15403 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
15404
15405         * BufferView2.C:
15406         * BufferView_pimpl.C:
15407         * buffer.C:
15408         * paragraph.h:
15409         * text.C:
15410         * text2.C: use par->isInset()
15411
15412 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15413
15414         * paragraph_pimpl.h:
15415         * paragraph_pimpl.C: cleanup
15416
15417 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15418
15419         * text2.C (removeRow):
15420         * text.C (setHeightOfRow): remove useless (and costly) call to
15421         getRow.
15422
15423 2001-11-20  Allan Rae  <rae@lyx.org>
15424
15425         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
15426         Now need Inset*::checkInsertChar() to return true for appropriate
15427         cases so that the characters in the minibuffer will actually be
15428         inserted.
15429
15430 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15431
15432         * text.C: change the order of the includes.
15433         (workWidth): initialize it at once.
15434         (workWidth): make maxw unsigned
15435         (setHeightOfRow): remove unused variable (inset)
15436         (selectSelectedWord): remove unused variable (inset)
15437         (paintRowText): fix drawing of hfill characters, and clean up a bit.
15438
15439 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15440
15441         * lyxserver.C (emergencyCleanup): do not try to close pipes if
15442         server is not running.
15443         (openConnection):
15444         (closeConnection): add debug info when server is disabled.
15445
15446         * ColorHandler.C (getGCForeground): send debug message to GUI
15447         channel.
15448
15449         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15450
15451         * kbmap.C (bind): modify because return conventions of
15452         kb_sequence::parse have changed.
15453
15454         * kbsequence.C (parse): only ignore spaces and not any stupid
15455         control character. This avoids tests like s[i] <= ' ', which are
15456         guaranteed to fail with 8bit characters and signed chars.
15457         Change return code to string::npos when there have been no error
15458         (0 was a bad idea when error is at first character)
15459
15460 2001-11-14  José Matos  <jamatos@fep.up.pt>
15461
15462         * buffer.h:
15463         * buffer.C (simpleDocBookOnePar): removed unused argument.
15464
15465 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15466
15467         * text.C (selectNextWordToSpellcheck): do not test explicitely for
15468         insets which are part of a word. Paragraph::isLetter takes care of
15469         that now. Use Paragraph::isInset to identify insets.
15470         (selectSelectedWord): do not test for hyphenation break.
15471
15472         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15473         that protected spaces are considered as spaces.
15474
15475         * paragraph.C (isLetter): cleanup the code for ispell extras; use
15476         Inset::isLetter.
15477
15478 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
15479
15480         * lyxserver.h:
15481         * lyxserver.C: fix it. and small cleanup.
15482
15483 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15484
15485         * BufferView_pimpl.C: use inline helpers
15486
15487         * LaTeXFeatures.h:
15488         * LaTeXFeatures.C: fix typos
15489
15490         * Spacing.h:
15491         * Spacing.C: move spacing_string into class
15492
15493         * ToolbarDefaults.C: move stuff into namespace anon
15494
15495         * layout.h: update enum
15496
15497         * lyxfunc.C: use better debug
15498
15499         * minibuffer.h: fix typo
15500
15501         * debug.h:
15502         * debug.C:
15503         * WorkArea.C: add and use Debug::WORKAREA
15504
15505         * lyxtext.h:
15506         * text.C:
15507         * text2.C: code re-organisation, inline helpers
15508
15509 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
15510
15511         * Layout.C: replaced a few cases of std::vector.size() == 0 with
15512         std::vector.empty().
15513
15514 2001-11-09  Allan Rae  <rae@lyx.org>
15515
15516         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15517         '\n's after tables.  Tabular and ERT inset work now makes this no
15518         longer necessary.
15519
15520 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15521
15522         * minibuffer.h:
15523         * minibuffer.C: fix crash, improve drop-down completion
15524
15525 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
15526
15527         * lyxserver.h:
15528         * lyxserver.C: invalidate fd's when doing endPipe()
15529
15530 2001-11-08  José Matos  <jamatos@fep.up.pt>
15531
15532         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15533         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15534
15535         * paragraph.h:
15536         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15537
15538 2001-11-07  José Matos  <jamatos@fep.up.pt>
15539
15540         * buffer.h:
15541         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15542         const qualifier.
15543
15544         * buffer.C (sgmlOpenTag):
15545         * buffer.C (sgmlCloseTag): removed debug info.
15546
15547         * buffer.h (sgmlOpenTag):
15548         * buffer.h (sgmlCloseTag): made public.
15549
15550 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15551
15552         * buffer.C (saveParamsAsDefaults):
15553         * lyx_cb.C (MenuLayoutSave): remove
15554
15555         * LyXAction.C (init):
15556         * commandtags.h:
15557         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15558
15559 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15560
15561         * buffer.C (setPaperStuff): removed from here...
15562
15563         * bufferparams.C (setPaperStuff): ... and moved there.
15564
15565 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
15566
15567         * minibuffer.h:
15568         * minibuffer.C:
15569         * XFormsView.C: add support for drop-down completion
15570
15571 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
15572
15573         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15574         commands.
15575
15576 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15577
15578         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15579         disabled.
15580
15581 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
15582
15583         * lyx_main.C: change ref to known bugs
15584
15585 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
15586
15587         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15588         to work around older babel problems.
15589
15590 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15591
15592         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15593
15594 2001-10-24  Juergen Vigna  <jug@sad.it>
15595
15596         * tabular-old.C (ReadOld): below variable changes reflected.
15597
15598         * tabular.[Ch]: added ltType struct for longtable header/footer
15599         defines and changed all instances where they are used. Added
15600         future support for double top/bottom rows.
15601
15602 2001-10-24  José Matos  <jamatos@fep.up.pt>
15603
15604         * buffer.h (docbookHandleCaption):
15605         * buffer.C (docbookHandleCaption): removed unused function.
15606         (makeDocBookFile): moved docbook supported version to v4.1.
15607
15608 2001-10-24  José Matos  <jamatos@fep.up.pt>
15609
15610         * tabular.h:
15611         * tabular.C (docbookRow): new function to export docbook code of a row.
15612         (DocBook): now honors the longtable flags.
15613
15614 2001-10-23  José Matos  <jamatos@fep.up.pt>
15615
15616         * LaTeXFeatures.h:
15617         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15618         of the lyx defined sgml entities used in a docbook/linuxdoc document.
15619
15620         * buffer.C (makeLinuxDocFile):
15621         (makeDocBookFile): reworked the preamble, more clean, and with
15622         support for lyx defined entities. Changed the document declaration
15623         to be more XML friendly.
15624
15625         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15626         if we need to output XML that should be done with a filter.
15627
15628 2001-10-22  Juergen Vigna  <jug@sad.it>
15629
15630         * sp_pspell.h (class PSpell): add alive function needed in the
15631         controller to see if the spellchecker could be started.
15632
15633 2001-10-22  Juergen Vigna  <jug@sad.it>
15634
15635         * buffer.C (insertStringAsLines): modify the font for inserting
15636         chars in certain conditions by calling checkInsertChar(font).
15637
15638 2001-10-19  Juergen Vigna  <jug@sad.it>
15639
15640         * text.C (workWidth): use getRow instead of wrong algorithm.
15641         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15642
15643 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
15644
15645         * lyxserver.h:
15646         * lyxserver.C:
15647         * lyx_main.h:
15648         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15649
15650 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15651
15652         * text.C (workWidth): do not search for the exact row when
15653         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15654         optimization for big documents.
15655
15656 2001-10-18  Juergen Vigna  <jug@sad.it>
15657
15658         * text.C (workWidth): new function with added Inset * parameter.
15659
15660 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15661
15662         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15663
15664         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15665         change return type of getColumnNearX.
15666
15667
15668         * text.C (changeRegionCase): use uppercase/lowercase instead of
15669         toupper/tolower.
15670         (leftMargin):
15671         (rightMargin): simplify code by factoring out the uses of
15672         textclasslist.
15673         (labelFill):
15674         (numberOfHfills):
15675         (setHeightOfRow):
15676         (appendParagraph): use Paragraph::size_type
15677
15678 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15679
15680         * vspace.C (asLatexString): add a missing break
15681
15682 2001-10-15  Herbert Voss  <voss@perce.de>
15683
15684         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15685
15686 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15687
15688         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15689         is not available.
15690
15691 2001-10-10  André Pönitz <poenitz@gmx.net>
15692
15693         * lyxfunc.C: removed greek_kb_flag.
15694
15695 2001-10-10  Herbert Voss  <voss@perce.de>
15696
15697         * lyx_main.C: delete global string help_lyxdir.
15698
15699 2001-10-09  Herbert Voss  <voss@perce.de>
15700
15701         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15702
15703         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15704
15705         * lyx_main.C: added global string help_lyxdir.
15706
15707         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15708
15709 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15710
15711         * lyxrc.C (set_font_norm_type): support iso8859-4
15712
15713 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
15714
15715         * LaTeX.C (deplog): add another regex for MikTeX
15716
15717 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15718
15719         * lyxrc.C (set_font_norm_type): support iso8859-3
15720
15721 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15722
15723         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15724
15725         * LaTeXFeatures.C: remove special case of french and index
15726
15727         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15728         before \begin{document}). This solves several incompatibilities.
15729
15730 2001-10-03  Garst Reese  <reese@isn.net>
15731
15732         * lyx_cb.C: change CheckTex error msg.
15733
15734 2001-10-03  José Matos  <jamatos@fep.up.pt>
15735
15736         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15737
15738 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15739
15740         * .cvsignore: update
15741
15742         * lyx_main.C (commandLineVersionInfo): use new style version info.
15743
15744         * buffer.C (writeFile):
15745         (makeLaTeXFile):
15746         (makeLinuxDocFile):
15747         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15748
15749         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15750
15751         * version.h: update to use stuff in version.C
15752
15753         * version.C.in: new file. Contains version information determined
15754         at compile time. This is a merging of version.h and
15755         version_info.h.in.
15756
15757 2001-10-03  Juergen Vigna  <jug@sad.it>
15758
15759         * BufferView_pimpl.C (update): don't change "dirty" status in
15760         updateInset call.
15761
15762 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
15763
15764         * WorkArea.C (c-tor): re-position version string slightly.
15765
15766 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
15767
15768         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15769         revert to previous code.
15770
15771         WorkArea.[Ch]: (show, destroySplash): methods removed.
15772
15773         WorkArea.C: rework code so that it's an amalgam of the codes before and
15774         after the splash screen was moved to WorkArea.
15775
15776 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15777
15778         * lyxrc.C (read):
15779         * vspace.C (inPixels):
15780         (lyx_advance):
15781         * kbmap.C (bind):
15782         * buffer.C (insertStringAsLines):
15783         (asciiParagraph): fix types to be large enough
15784
15785         * lyxlex_pimpl.h: change member status from short to int
15786
15787         * layout.h: fix type of endlabeltype
15788
15789         * kbmap.C (bind):
15790         * kbsequence.C (parse): change return type to string::size_type
15791
15792         * LaTeX.C (updateBibtexDependencies): comment out unneeded
15793         variable
15794
15795         * Bullet.C (bulletSize):
15796         (bulletEntry): do not use short ints as parameters
15797
15798         * BufferView2.C (insertLyXFile): change a char to an int.
15799
15800         * WorkArea.C (WorkArea): remove unneeded floats in computation
15801
15802 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
15803
15804         * buffer.C (asciiParagraph): Treat '\\' as other chars.
15805
15806         * paragraph.C (asString): Do not ignore newline/hfill chars when
15807         copying to the clipboard.
15808
15809 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
15810
15811         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15812         after a multi-line inset.
15813
15814 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
15815
15816         * paragraph.C (validate): Set NeedLyXFootnoteCode
15817
15818 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15819
15820         * lyxfont.C (LyXSizeNames): changed increase-error to increase
15821         and decrease-error to decrease.
15822
15823 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15824
15825         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15826         it more readable (should be equivalent)
15827
15828 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15829
15830         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15831
15832 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15833
15834         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15835         of a cursor (row, etc.) after a character has been deleted
15836         (deleteEmptyParagraphMechanism): call the method above on _all_
15837         cursors held by the LyXText when a double space has been
15838         detected/deleted.
15839
15840 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15841
15842         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15843         pixmap.
15844         (resizeCurrentBuff): remove code to destroy the old splash dialog.
15845
15846         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15847         background. Use greyOut() and the new show() methods to toggle between
15848         the foreground and background. Add code to remove the splash after
15849         its initial showing.
15850
15851         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15852         (create_forms): no longer call Dialogs::showSplash.
15853
15854 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15855
15856         * .cvsignore: add version_info.h
15857
15858 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15859
15860         * version_info.h.in: new file
15861
15862         * Makefile.am: add version_info.h.in
15863
15864         * lyx_main.C (commandLineVersionInfo): use version_info defined in
15865         version_info.h instead of VERSION_INFO
15866
15867 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
15868
15869         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15870         The ERT inset now returns string().
15871
15872 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
15873
15874         * lyxtext.h, text.C (selectNextWord): renamed as
15875         selectNextWordToSpellcheck.
15876
15877         * text.C (selectNextWordToSpellcheck): Modified to not select
15878         words inside an ERT inset.
15879
15880 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15881
15882         * lyx_cb.C (MenuLayoutSave): change a bit the question
15883
15884         * sp_base.h: include <sys/types.h>
15885
15886 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
15887
15888         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15889
15890 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
15891
15892         * several files: fix typos in user-visible strings
15893
15894 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15895
15896         * text2.C (pasteSelection): do not set the selection, since it
15897         will be cleared later. Actually, the intent was to fix the way the
15898         selection was set, but I figured rmoving the code was just as good.
15899
15900 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
15901
15902         * FontLoader.C (available): Check if font is available without
15903         loading the font.
15904
15905 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
15906
15907         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15908
15909 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
15910
15911         * lyxrc.[Ch]: added display_graphics variable and associated code.
15912
15913 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15914
15915         * bufferparams.C (hasClassDefaults): new method. Returns true if
15916         the buffer parameters correspond to known class defaults
15917
15918 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
15919
15920         * XFormsView.C (show): set minimum size to the main window.
15921
15922 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15923
15924         * text2.C (copySelection):
15925         (cutSelection):
15926         * lyxfind.C (LyXReplace):
15927         * BufferView_pimpl.C (Dispatch): pass the correct flag to
15928         LyXText::selectionAsString.
15929
15930         * paragraph.C (asString): add "label" argument to the second form
15931
15932         * text2.C (selectionAsString): add "label" argument and pass it to
15933         Paragraph::asString.
15934
15935 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15936
15937         * lyx_main.C (commandLineHelp): remove version information
15938
15939 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
15940
15941         * lyx_main.C: add -version commandline option
15942
15943 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15944
15945         * paragraph.h: make the optional constructor arg required instead.
15946         some modifications to other files because of this.
15947
15948         * minibuffer.C (C_MiniBuffer_peek_event): make it static
15949
15950         * lyxserver.C (C_LyXComm_callback): make it static
15951
15952         * lyx_main.C (error_handler): make it static
15953
15954         * lyx_gui.C (LyX_XErrHandler): make it static
15955
15956         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15957
15958         * WorkArea.C: make the extern "C" methods static.
15959
15960         * Makefile.am (lyx_LDADD): simplify
15961
15962 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15963
15964         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15965         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15966
15967         * LyXAction.C (init):
15968         * lyxfunc.C (dispatch): associated code removal.
15969
15970 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15971
15972         * lyxfont.h (isSymbolFont): shut off warning
15973
15974         * text.C (setHeightOfRow):
15975         (getVisibleRow): fix crash with empty paragraphs which have a
15976         bottom line
15977
15978 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
15979
15980         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15981         code.
15982
15983 2001-09-04  José Matos  <jamatos@fep.up.pt>
15984         * buffer.C
15985         * buffer.h
15986         * tabular.C (docbook): rename docBook method to docbook.
15987
15988 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15989
15990         * Makefile.am: add dependencies to main.o.
15991
15992 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
15993
15994         * FontLoader.C (available): Return false if !lyxrc.use_gui
15995
15996 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
15997
15998         * FontInfo.C (query):
15999         * converter.C (view):
16000         * importer.C (Import):
16001         * exporter.C (Export): Can not -> cannot.
16002
16003 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
16004
16005         * BufferView_pimpl.C: allow to create index inset even if
16006           string is empty
16007
16008 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
16009
16010         * buffer.C (getLists): replace boost::tie code with an explicit pair
16011         as boost::tie can break some compilers.
16012
16013         * iterators.h: Added a std:: declaration to the return type of
16014         ParIterator::size.
16015
16016 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
16017
16018         * lyxrc.C: add help for view_dvi_paper_option, default to safe
16019           case.
16020
16021 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
16022
16023         * iterators.[Ch]: New files. Provide paragraph iterators.
16024
16025         * buffer.C (changeLanguage): Use paragraph iterators.
16026         (isMultiLingual): ditto
16027
16028         * BufferView2.C (ChangeInsets): Use paragraph iterators.
16029
16030 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
16031
16032         * FontLoader.C: Support for cmr font.
16033
16034 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
16035
16036         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
16037         (available): New method.
16038
16039         * FontInfo.C (getFontname): Use scalable fonts even when
16040         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
16041         found.
16042
16043 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
16044
16045         * converter.C (Formats::view): reverted! Incorrect fix.
16046
16047 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
16048
16049         * converter.C (Formats::view): only output the -paper option
16050         if the dvi viewer is xdvi, thereby fixing bug #233429.
16051
16052 2001-08-23  Herbert Voss  <voss@perce>
16053
16054         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
16055
16056 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
16057
16058         * Spacing.h (Spacing): Set space to Default on in the default
16059         constructor.
16060
16061 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16062
16063         * vc-backend.h (RCS::versionString): add RCS to version
16064         (CVS::versionString): add CVS to version
16065
16066         * vc-backend.C (scanMaster): do not add CVS to version.
16067         (scanMaster): do not add RCS to version
16068
16069         * lyxvc.C (versionString): new method
16070
16071         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
16072
16073 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16074
16075         * Spacing.C (set): initialize fval
16076
16077 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
16078
16079         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
16080         " or \.
16081
16082 2001-08-16  Juergen Vigna  <jug@sad.it>
16083
16084         * lyxfunc.C (dispatch): implemented the new FINISHED states.
16085
16086 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
16087
16088         * BufferView_pimpl.C:
16089         * figureForm.C:
16090         * lyxtext.h:
16091         * text2.C: setParagraph takes linespacing now
16092
16093 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
16094
16095         * LyxAction.C: add internal LFUN_CITATION_INSERT
16096
16097         * LyXView.C: actually apply fix
16098
16099         * bufferlist.C: fix open non-existent file
16100
16101         * lyxfind.C: fix indentation
16102
16103         * lyxfunc.C: remove unneeded assert, fix typo
16104
16105 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
16106
16107         * MenuBackend.C: use "Floatname List"
16108
16109 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
16110
16111         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
16112         when converting LaTeX layout to insetERT.
16113         Generate a non-collapsed float when reading old float
16114
16115 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
16116
16117         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
16118         ERT insets.
16119
16120 2001-08-13  Juergen Vigna  <jug@sad.it>
16121
16122         * text.C (fill): return 0 instead of 20 as this seems to be the more
16123         correct value.
16124
16125 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
16126
16127         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
16128         lyxrc.font_norm.
16129
16130 2001-08-13  Juergen Vigna  <jug@sad.it>
16131
16132         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
16133         casesensitive off.
16134         (SearchBackward): comment out the unlocking of the inset_owner this
16135         should not be needed!
16136
16137 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
16138
16139         * Many files: Remove inherit_language, and add latex_language
16140
16141         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
16142         collapsible insets.
16143
16144 2001-08-10  Juergen Vigna  <jug@sad.it>
16145
16146         * text.C (prepareToPrint): fixed hfill-width in draw!
16147
16148         * BufferView2.C (selectLastWord): save the selection cursor as this
16149         now is cleared in the function LyXText::clearSelection!
16150
16151 2001-08-08  Juergen Vigna  <jug@sad.it>
16152
16153         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
16154         BACKSPACE type functions.
16155
16156         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
16157         is only cutted from the document but not put in the cut-buffer, where
16158         still the old stuff should be.
16159
16160         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
16161
16162         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
16163
16164         * tabular.C (SetWidthOfCell): fixed special case where the width
16165         was not updated!
16166         (LeftLine): handle '|' in align_special.
16167         (RightLine): ditto
16168         (LeftAlreadyDrawed): ditto
16169         (SetWidthOfCell): ditto
16170
16171 2001-08-07  Juergen Vigna  <jug@sad.it>
16172
16173         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
16174
16175 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16176
16177         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
16178         * lyxlex.[hC]: ditto
16179
16180 2001-08-06  Juergen Vigna  <jug@sad.it>
16181
16182         * text.C (getVisibleRow): fix up row clearing a bit.
16183
16184 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16185
16186         * minibuffer.C: make sure the X server sees the changes in the input.
16187
16188 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16189
16190         * paragraph.C (getFont): split into...
16191         (getLabelFont): this
16192         (getLayoutFont): and this
16193         * paragraph_pimpl.C (realizeFont): calling this
16194
16195         * text2.C (getFont): split into...
16196         (getLayoutFont): this
16197         (getLabelFont): and this
16198         (realizeFont): all three calling this
16199
16200         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
16201         files where used.
16202
16203 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16204
16205         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
16206
16207 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
16208
16209         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
16210         layouts from the Quote inset insertion.
16211
16212 2001-08-03  Juergen Vigna  <jug@sad.it>
16213
16214         * BufferView_pimpl.C (update): do the fitCursor only at the end!
16215
16216         * screen.C (drawFromTo): don't call fitcursor here and do the loop
16217         only if status not is already CHANGED_IN_DRAW (second level).
16218
16219         * text.C (draw): don't set the need_break_row when inside an
16220         InsetText LyXText.
16221
16222 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16223
16224         * buffer.C (parseSingleLyXformat2Token): handle more latex
16225         conversion cases.
16226
16227         * bufferview_funcs.[hC]: change function names to
16228         begin with small char, adjust other files.
16229
16230 2001-08-02  André Pönitz <poenitz@gmx.net>
16231
16232         * lyxfunc.C:
16233         BufferView_pimpl.C: remove broken special code for math-greek
16234
16235 2001-08-02  Juergen Vigna  <jug@sad.it>
16236
16237         * BufferView_pimpl.C (update): redone this function so that we
16238         update the text again if there was a CHANGE_IN_DRAW.
16239
16240         * screen.C (cursorToggle): removed LyXText parameter and recoded.
16241         (drawFromTo): added a new internal bool which is used by draw() and
16242         redraw() function.
16243         (general): some cursor drawing problems fixed.
16244
16245 2001-08-01  Juergen Vigna  <jug@sad.it>
16246
16247         * lyxfind.C (LyXFind): fixed
16248         (SearchForward): ditto
16249         (SearchBackward): ditto
16250
16251         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
16252         spurius drawing of the cursor in the main area.
16253
16254         * text2.C (status): small fix which could lead to a segfault!
16255         (clearSelection): remove unneeded BufferView param.
16256
16257 2001-08-01  André Pönitz <poenitz@gmx.net>
16258
16259         * lyxfunc.C: small change due to changed mathed interface
16260
16261 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16262
16263         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
16264
16265 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
16266
16267         * lyxfunc.c: fail gracefully if file doesn't exist
16268
16269         * LyXSendto.C:
16270         * buffer.C:
16271         * lyxfunc.C:
16272         * BufferView_pimpl.C: IsDirWriteable() proto changed
16273
16274         * LyXView.C: fix updateWindowTitle() to store the last title
16275
16276 2001-07-31  Juergen Vigna  <jug@sad.it>
16277
16278         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
16279         the font (wrong since using of Paragraph::highestFontInRange).
16280
16281         * paragraph.C (highestFontInRange): added a default_size parameter.
16282
16283         * text.C (getVisibleRow): minor clear row changes (still not perfect).
16284         (setHeightOfRow): reformat
16285
16286 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16287
16288         * converter.[hC] + affected files: move to (inital-char)lowercase
16289         function names.
16290
16291         * ParagraphParameters.C (ParagraphParameters): remove commented code
16292
16293         * PainterBase.[Ch]: remove commented code
16294
16295         * LaTeXFeatures.h: add "bool floats" for float.sty
16296
16297         * LaTeXFeatures.C (LaTeXFeatures): init floats
16298         (require): handle float
16299         (getPackages): do it with floats
16300
16301 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16302
16303         * BufferView_pimpl.C (Dispatch): improve handling of
16304         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
16305
16306         * commandtags.h: #include lyxfont.h here temporarily to avoid
16307         keybinding bug.
16308
16309         * bufferlist.h: include LString.h here.
16310
16311 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16312
16313         * text2.C (getStringToIndex): new method.
16314
16315 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
16316
16317         * *: Reduced header file dependencies all over.
16318
16319 2001-07-30  Baruch Even  <baruch@lyx.org>
16320
16321         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
16322
16323 2001-07-29  Baruch Even  <baruch@lyx.org>
16324
16325         * buffer.C (readInset): Changed GRAPHICS to Graphics.
16326
16327 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16328
16329         * ParameterStruct.h (endif): add a default constructor to make
16330         sure that all variables is initialized.
16331
16332         * ParagraphParameters.C (ParagraphParameters): adjust
16333
16334 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16335
16336         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
16337         index; also, check that there is something to index, and that it
16338         does not span over several paragraphs.
16339         (doubleClick): use WHOLE_WORD_STRICT for double click.
16340
16341         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
16342
16343         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
16344         scheme.
16345
16346 2001-07-26  Baruch Even  <baruch@lyx.org>
16347
16348         * buffer.C (readInset): Changed to call up InsetGraphics when reading
16349         an InsetFig figure, backwards compatible reading of old figure code.
16350
16351 2001-07-27  Juergen Vigna  <jug@sad.it>
16352
16353         * text2.C: font.realize function adaption.
16354
16355         * text.C (draw): add a warnings lyxerr text if needed.
16356
16357         * layout.C: font.realize function adaption.
16358
16359         * language.C: add inherit_language and implement it's handlings
16360
16361         * bufferview_funcs.C (StyleReset): remove language parameter from
16362         font creation (should be language_inherit now).
16363
16364         * bufferparams.C (writeFile): handle ignore_language.
16365
16366         * paragraph.C (getFontSettings): the language has to be resolved
16367         otherwise we have problems in LyXFont!
16368
16369         * lyxfont.C (lyxWriteChanges): added document_language parameter
16370         (update): removed unneeded language parameter
16371
16372         * paragraph.C (validate): fixed wrong output of color-package when
16373         using interface colors for certain fonts in certain environments,
16374         which should not seen as that on the final output.
16375
16376 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
16377
16378         * BufferView_pimpl.C:
16379         * Thesaurus.h:
16380         * Thesaurus.C:
16381         * Makefile.am:
16382         * commandtags.h:
16383         * LyXAction.C: add thesaurus support
16384
16385         * lyxfind.h:
16386         * lyxfind.C: add "once" parameter, for thesaurus, to not
16387           move to the next match
16388
16389 2001-07-26  Juergen Vigna  <jug@sad.it>
16390
16391         * lyxfont.C (realize): honor ignore_language too!
16392         (resolved): ditto.
16393
16394         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
16395
16396         * text.C (draw): one place more for ignore_language to not draw
16397         itself!
16398
16399 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
16400
16401         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
16402
16403 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16404
16405         * buffer.C (parseSingleLyXformat2Token): a more general fix for
16406         the minipage conversion problem.
16407
16408 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16409
16410         * buffer.C (parseSingleLyXformat2Token): check minipage if we
16411         insert an inset.
16412
16413 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16414
16415         * BufferView.h: don't forward declare WorkArea
16416
16417         * BufferView.C: don't include WorkArea.h
16418
16419 2001-07-25  André Pönitz <poenitz@gmx.net>
16420
16421         * commandtags.h:
16422         * LyXAction.C:
16423         * lyxfunc.C:  new LFUN 'math-space'
16424
16425         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
16426
16427 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16428
16429         * text2.C (toggleInset): call open/close
16430
16431 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16432
16433         * lyxfunc.C (dispatch): add debug for the disabled case
16434
16435         * font.C (buttonText): make similar to rectText
16436
16437         * buffer.C (readInset): comment out parsing of insetlist and
16438         insttheorem
16439
16440         * PainterBase.C (rectText): small correction
16441
16442         * BufferView_pimpl.C: comment out insettheorem and insetlist
16443         * LyXAction.C: ditto
16444         * commandtags.h: ditto
16445
16446 2001-07-24  Juergen Vigna  <jug@sad.it>
16447
16448         * text.C (draw): honor the ignore_language.
16449
16450         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16451
16452 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16453
16454         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16455         char inset.
16456
16457 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16458
16459         * lyxtext.h: remove unused (and unimplemented) methods
16460
16461 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16462
16463         * text.C (getVisibleRow): honor background color
16464
16465         * PainterBase.h:
16466         * Painter.h: remove default color argument for fillRectangle
16467
16468         * text.C (backgroundColor): new method
16469
16470 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16471
16472         * text.C (getVisibleRow): adjust
16473
16474         * font.[Ch] (rectText): new method, metrics
16475         (buttonText): new method, metrics
16476
16477         * PainterBase.[hC]: make rectText and buttonText always draw and take
16478         fewer paramteres.
16479
16480 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16481
16482         * ToolbarDefaults.C (read):
16483         * MenuBackend.C (read): allow escaping in all strings
16484
16485         * BufferView_pimpl.C (insertAndEditInset): new method.
16486         (Dispatch): use insertAndEditInset whenever appropriate.
16487
16488         * BufferView_pimpl.C (insertNote): removed
16489
16490         * BufferView_pimpl.C (smartQuote): new method, moved from
16491         BufferView; if an insetquote cannot be inserted, insert a '"'
16492         character instead.
16493
16494         * BufferView2.C: remove insertCorrectQuote();
16495
16496         * lyxfunc.C (getStatus): Add support for all remaingin
16497         inset-insert lfuns.
16498
16499         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16500
16501         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16502         command (necessary to pass " as parameter of self-insert.
16503
16504         * text.C (selectWordWhenUnderCursor):
16505         (selectWord): add word_location parameter
16506         (selectWordWhenUnderCursor): same + remove special code for word
16507         boundary.
16508         (selectNextWord): use kind() to guess type of insetspecialchar,
16509         not latex().
16510
16511         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16512         (insertErtContents): create ert insets as collapsed.
16513         (readInset): better compatibility code for Info inset.
16514
16515 2001-07-20  Juergen Vigna  <jug@sad.it>
16516
16517         * lyxfunc.C (dispatch): use always LyXFind now!
16518
16519         * text2.C (init): add a reinit flag so that the LyXText can be
16520         reinited instead of deleted and reallocated (used in InsetText).
16521
16522         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16523
16524         * text.C: ditto
16525
16526         * text2.C: ditto
16527
16528 2001-07-18  Juergen Vigna  <jug@sad.it>
16529
16530         * text.C (selectNextWord): handle insets inside inset by calling
16531         always the bv->text functions so that we can go up the_locking_inset!
16532
16533         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16534         in strange locations when inside an inset!
16535
16536         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16537         handling to include insets.
16538
16539         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16540
16541 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16542
16543         * LyXAction.C (init):
16544         * commandtags.h:
16545         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16546         LIGATURE_BREAK, since the name is so stupid.
16547
16548 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16549
16550         * buffer.C (readInset): enable reading of new InsetNotes as well as old
16551         InsetInfos.
16552
16553         * FontLoader.C: remove FORMS_H_LOCATION cruft.
16554
16555         * sp_form.[Ch]: remove.
16556
16557         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16558
16559         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16560         InsetInfo.
16561
16562         * src/buffer.C (readInset): ditto.
16563
16564 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16565
16566         * BufferView_pimpl.C (specialChar): new method. Obsoletes
16567         menuSeparator(), endOfSentenceDot(), ldots() and
16568         hyphenationPoint(), which are therefore removed.
16569         (Dispatch): handle LFUN_HYPHENATION_BREAK.
16570
16571         * LyXAction.C (init):
16572         * commandtags.h: add LFUN_HYPHENATION_BREAK.
16573
16574         * paragraph.C (getWord): removed.
16575
16576         * BufferView_pimpl.C (Dispatch): use last word or selection for
16577         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16578
16579         * lyx_main.C (queryUserLyXDir): do not ask before creating
16580         user_dir, except if it has been named explicitely.
16581
16582 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16583
16584         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16585         a document of zero size.
16586
16587 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
16588
16589         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16590         approriately in the c-tor and in require().
16591         (getPackages): output the appropriate LaTeX for natbib support.
16592
16593         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16594         variables "use_natbib" and "use_numerical_citations" when reading the
16595         LyX file.
16596         (readInset): read the various natbib cite commands.
16597         (validate): white-space change.
16598
16599         * bufferparams.[Ch]: new variables "bool use_natbib" and
16600         "bool use_numerical_citations".
16601         (writeFile): output them in the LyX file.
16602
16603 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16604
16605         * lyxfunc.C (getStatus): add support for all the inset insertion
16606         commands.
16607
16608         * text2.C (insertInset):
16609         * paragraph.C (insetAllowed):
16610         * BufferView_pimpl.C (insertInset): update to take in account the
16611         renaming of insertInsetAllowed
16612
16613         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16614
16615         * text2.C (getInset): new method. returns inset at cursor position.
16616
16617         * BufferView_pimpl.C (Dispatch): changes because of this.
16618
16619         * LyXAction.C (init): rename open-stuff to inset-toggle.
16620
16621         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16622
16623         * text2.C (toggleInset): renamed from openStuff; use
16624         Inset::open().
16625
16626 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
16627
16628         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16629
16630         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16631
16632 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
16633
16634         * buffer.C (readLyXformat2): Add filename to the error dialog
16635
16636 2001-07-18  Juergen Vigna  <jug@sad.it>
16637
16638         * tabular.C (GetCellNumber): put an assert here instead of the check!
16639
16640 2001-07-17  Juergen Vigna  <jug@sad.it>
16641
16642         * BufferView_pimpl.C (toggleSelection): adapted too.
16643
16644         * text.C (selectNextWord): adapted for use with insets.
16645         (selectSelectedWord): ditto
16646
16647 2001-07-17  Juergen Vigna  <jug@sad.it>
16648
16649         * sp_spell.C (PSpell): fix initialitation order.
16650
16651 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16652
16653         * paragraph.C: spacing
16654
16655 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
16656
16657         * sp_spell.C: repair language selection for pspell
16658
16659 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16660
16661         * lyxfunc.h: change more methods to begin with lower char.
16662
16663 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
16664
16665         * buffer.C (parseSingleLyXformat2Token): Generate error insets
16666         for unknown layouts.
16667
16668 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
16669
16670         * buffer.C (readLyXformat2): Generate an error dialog if there are
16671         unknown layouts.
16672
16673 2001-07-16  Juergen Vigna  <jug@sad.it>
16674
16675         * sp_spell.C: always compile ISpell part.
16676
16677         * lyxrc.C: added use_pspell entry and it's handling.
16678
16679 2001-07-13  Juergen Vigna  <jug@sad.it>
16680
16681         * sp_spell.C: removed double includes.
16682
16683 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
16684
16685         Consistent use of Lsstream.h:
16686         * Lsstream.h: added using std::stringstream for consistencies sake.
16687
16688         * buffer.C: removed using std::stringstream
16689
16690         * lyxfont.C (stateText):
16691         * paragraph.C (asString):
16692         * text.C (selectNextWord, selectSelectedWord):
16693         * text2.C (setCounter):
16694         * vspace.C (asString, asLatexString):
16695         std::ostringstream -> ostringstream.
16696
16697 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16698
16699         * LyXAction.C: add LFUN_HELP_ABOUTLYX
16700         * commandtags.h: add LFUN_HELP_ABOUTLYX
16701         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16702
16703 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16704
16705         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16706         cursorToggle()
16707         * lyx_gui_misc.C: remove spellchecker
16708         * lyxfunc.C: showSpellchecker
16709         * sp_base.h: added
16710         * sp_ispell.h: added
16711         * sp_pspell.h: added
16712         * sp_spell.C: added
16713         * sp_form.[Ch]: removed
16714         * spellchecker.[Ch]: removed
16715
16716 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
16717
16718         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16719         is set.
16720         (simpleTeXSpecialChars): Simply print the input character without
16721         any special translation if pass_thru is set.
16722
16723         * layout.h: Added bool pass_thru to layout class for being able to
16724         implement pass through of a paragraph for Literate Programming.
16725
16726         * layout.C: add LT_PASS_THRU to LayoutTags enum.
16727         * layout.C (LyXLayout): set pass_thru to flase in constructor.
16728         * layout.C (Read): add "passthru" to list of layout tags and add
16729         code to set the pass_thru boolean when it is read.
16730
16731 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16732
16733         * trans_decl.h: remove allowed from KmodInfo
16734
16735         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16736         remove allowed code
16737         (Load): adjust
16738
16739         * paragraph_pimpl.C (erase): use boost::prior
16740
16741         * Painter.C (text): use data() instead of c_str() when length is
16742         also provided.
16743         * WorkArea.C (putClipboard): ditto
16744         * font.h (width): ditto
16745
16746         * BufferView2.C: use it-> instead of (*it). for iterators
16747         * texrow.C: ditto
16748         * paragraph_pimpl.C: ditto
16749         * paragraph.C: ditto
16750         * minibuffer.C: ditto
16751         * language.C: ditto
16752         * kbmap.C: ditto
16753         * encoding.C: ditto
16754         * counters.C: ditto
16755         * converter.C: ditto
16756         * chset.C: ditto
16757         * Variables.C: ditto
16758         * TextCache.C: ditto
16759         * MenuBackend.C: ditto
16760         * LyXAction.C: ditto
16761         * LColor.C: ditto
16762         * FloatList.C: ditto
16763         * DepTable.C: ditto
16764         * ColorHandler.C (LyXColorHandler): ditto
16765
16766 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16767
16768         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16769
16770         * text2.C (openStuff): reintroduce this method (which had been
16771         nuked in NEW_INSETS frenzy).
16772
16773         * lyxfunc.C (Dispatch): when an action has not been handled, use
16774         its name in the error message, not its number.
16775
16776         * paragraph.C (inInset): change method name to begin with lowercase.
16777
16778         * undo_funcs.C:
16779         * text2.C: updates because of this.
16780
16781 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16782
16783         * ToolbarDefaults.C (add): add spaces in error message
16784
16785 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16786
16787         * buffer.C (readLyXformat2): initialize the ert comp. variables.
16788         (readLyXformat2): rename return_par to first_par, use lyxlex's
16789         pushToken and remove the manual push handling.
16790         (parseSingleLyXformat2Token): add another ert comp. variable:
16791         in_tabular, rename return_par to first_par. handle newlines better
16792
16793 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16794
16795         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16796
16797 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16798
16799         * text2.C (getParFromID): removed
16800
16801         * buffer.C (getParFromID): new method moved form lyxtext.
16802         * BufferView2.C (insertErrors): adjust
16803         (setCursorFromRow): adjust
16804         * BufferView_pimpl.C (restorePosition): adjust
16805         * lyxfunc.C (Dispatch): adjust
16806         * undo_funcs.C (textUndo): adjust
16807         (textRedo): adjust
16808         (textHandleUndo): adjust
16809         (textHandleUndo): adjust
16810
16811 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16812
16813         * buffer.C: up' the LYX_FORMAT
16814
16815         * lyxfont.h: turn NO_LATEX on as default
16816
16817         * buffer.C (insertErtContents): new methods of tex style compability.
16818         (parseSingleLyXformat2Token): use it several places.
16819         * tabular.C (OldFormatRead): and here
16820
16821 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16822
16823         * text2.C: remove some commented code.
16824         reindent file.
16825
16826         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16827         * trans.C: changes because of the above.
16828
16829 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
16830
16831         * text2.C (setCounter): Fix counters bug with bibliography layout.
16832
16833 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16834
16835         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16836         own member functions
16837         (simpleTeXSpecialChars): ditto
16838
16839 2001-07-06  Juergen Vigna  <jug@sad.it>
16840
16841         * a lot of files: changed the access to LyXText::status and the
16842         call of undo-functions.
16843
16844         * undo.[Ch]: added a inset_id to the undo informations.
16845
16846         * undo_funcs.[Ch]: added and moved here all undo functions.
16847
16848         * lyxtext.h: give the status enum a weight, made status_ a private
16849         variable and made accessor functions for it, removed the whole bunch
16850         of undo-functions as they are now in their own file, make some
16851         functions publically available. Added function ownerParagraph with
16852         int parameter.
16853
16854         * paragraph.[Ch]: added "bool same_ids" to the constructor,
16855         made InInset() a const function, added getParFromID() function.
16856
16857         * buffer.[Ch]: added const version for inset_iterator functions,
16858         added getInsetFromID() function.
16859
16860         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16861         changed undo functions for new version.
16862
16863 2001-07-05  Juergen Vigna  <jug@sad.it>
16864
16865         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16866         unknow mechanism does not call the proper constructor but only this
16867         one also if I request the other!?
16868
16869 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16870
16871         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16872
16873         * text2.C (LyXText): use initialization lists.
16874
16875         * lyxtext.h (Selection): initialize set_ and mark_
16876         (init): remove method
16877
16878 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
16879
16880         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16881
16882 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16883
16884         * screen.[Ch]: change method names to begin with lowercase
16885
16886         * BufferView_pimpl.C (updateScrollbar): simplify further and
16887         hopefully make it a bit faster.
16888
16889 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16890
16891         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16892         calling directly xforms functions.
16893
16894         * Painter.C (Painter):
16895         * lyx_cb.C (MenuWrite):
16896         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16897         fl_display.
16898
16899         * lyx_gui.C: remove bogus guiruntime extern declaration.
16900
16901 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16902
16903         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16904         in NEW_INSETS
16905         (redoDrawingOfParagraph): ditto
16906         (redoParagraphs): ditto
16907         (cutSelection): don't create a object for CutAndPaste use the
16908         static method directly
16909         (pasteSelection): ditto
16910
16911         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16912         LyXview (+ rename)
16913
16914 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16915
16916         * modifications to some other files because of this.
16917
16918         * Makefile.am (lyx_SOURCES): add XFormsView
16919
16920         * XFormsView.[Ch]: new files
16921
16922         * LyXView.[Ch]: make LyXView a base class for the gui handling for
16923         the main window. Move the gui dependent stuff to XFormsView
16924
16925 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16926
16927         * tabular.C (GetCellInset): update cur_cell also in the row/col
16928         version of this function.
16929
16930         * lyxfunc.C: no need to include figure_form.h here.
16931
16932         * FontLoader.h:
16933         * lyxfunc.h:
16934         * lyxscreen.h:
16935         * text2.C:
16936         * lyxvc.C: no need to include forms.h here.
16937
16938 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16939
16940         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16941
16942         * lyxfunc.C (Dispatch):
16943         * Spacing.C (set):
16944         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16945         constructor argument.
16946
16947 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16948
16949         * paragraph.C (Paragraph): dont't clear, and just set layout.
16950         (makeSameLayout): use params's copy contructor.
16951
16952         * ParagraphParameters.[Ch] (makeSame): delete method
16953
16954 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
16955
16956         * Variables.[Ch]: fix indentation, rename set to isSet
16957
16958 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16959
16960         * lyxfunc.C (Dispatch): fix typo
16961
16962 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16963
16964         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16965         upper_bound.
16966
16967         * bufferlist.C: include assert.h for emergencyWrite().
16968
16969 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16970
16971         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16972           give up at last (bug #425202) !
16973
16974 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
16975
16976         * lyx_gui_misc.C:
16977         * sp_form.h:
16978         * sp_form.C:
16979         * spellchecker.h:
16980         * spellchecker.C: strip spellchecker options and bring up
16981           preferences tab instead
16982
16983 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16984
16985         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16986         the istringstream constructor
16987
16988 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16989
16990         * paragraph.C (getLayout): fix return value
16991
16992         * paragraph.h: do not declare getLayout as inline.
16993
16994         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16995
16996 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16997
16998         * lyxcursor.h (operator<): new func
16999         (operator>): new func
17000         (operator>=): new func
17001         (operator<=): new func
17002
17003         * text.C (changeCase): use selection.start and selection.end
17004         (changeRegionCase): require from to be <= to. Require par to be a
17005         valid paragraph.
17006
17007         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
17008
17009 2001-06-27  Juergen Vigna  <jug@sad.it>
17010
17011         * text.C (cursorLeftOneWord): changed to return the cursor and added
17012         overlay with BufferView * parameter which calls this one.
17013         (getWord): added
17014         (selectWord): use new getWord function.
17015         (changeCase): renamed from changeWordCase as and extended to work
17016         also on selections.
17017
17018         * lyxtext.h: added enum word_location
17019
17020         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
17021         changeCase as this operates now also on selections.
17022
17023 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
17024
17025         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
17026
17027         * many files: send debug output to Debug::INFO instead of
17028         Debug::ANY.
17029
17030         * converter.C (View):
17031         (Convert):
17032         (Move): send debug output to Debug::FILES instead of console.
17033
17034 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
17035
17036         * lyxfunc.C (getStatus): use func_status
17037
17038         * func_status.h: new header, describing the results of
17039         LyXFunc::getStatus;
17040
17041         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
17042         LFUN_MATH_HALIGN.
17043
17044 2001-06-25  The LyX Project  <jug@sad.it>
17045
17046         * buffer.C (sgmlOpenTag):
17047         (sgmlCloseTag):
17048         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
17049
17050 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17051
17052         * text2.C: remove some dead code
17053
17054         * tabular.C (GetCellInset): store the last cell checked (gotten)
17055
17056         * tabular.h: add the helper for the speedup
17057
17058         * lyxtext.h: remove some dead code
17059
17060 2001-06-26  The LyX Project  <Asger>
17061
17062         * paragraph.C: Change export to LaTeX of alignment to
17063         \begin{center} and family for better roundtrip work with reLyX.
17064
17065         * Tune the math drawing a bit.
17066
17067 2001-06-25  The LyX Project  <Asger>
17068
17069         * LColor.C (LColor): New color for math background. New color
17070         for buttons.
17071
17072 2001-06-25  The LyX Project  <jug@sad.it>
17073
17074         * lyxfunc.C (MenuNew): remove extra check for .lyx file
17075
17076         * lyxfunc.C (Open):
17077         * bufferlist.C (newFile): do not restrict to files ending with
17078         .lyx
17079
17080         * BufferView_pimpl.C (MenuInsertLyXFile):
17081
17082 2001-06-24  The LyX Project  <jug@sad.it>
17083
17084         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
17085         of compare_no_case
17086
17087 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17088
17089         * lyxtext.h: rename most methods to begin with a small char.
17090         Lots of changes because of this.
17091
17092         * paragraph.C (Paragraph): do not call fitToSize
17093         (erase): call Pimpl::erase
17094         (insertChar): call Pimpl::insertChar
17095         (insertInset): call Pipl::insertInset
17096         (breakParagraph): do not call fitToSize
17097         (breakParagraphConservative): do not call fitToSize
17098         (fitToSize): remove method
17099
17100         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
17101
17102 2001-06-24  The LyX Project  <Asger>
17103
17104         * Fix Qt compilation^2
17105
17106 2001-06-24  The LyX Project  <jug@sad.it>
17107
17108         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
17109         depthHook(getDepth()-1).
17110
17111         * paragraph.h:
17112         * ParagraphParameters.h:
17113         * ParameterStruct.h: change type of depth to unsigned int ==
17114         depth_type. Many adaptations to other files before of that.
17115
17116 2001-06-24  The LyX Project  <Asger>
17117
17118         * Fix Qt compilation.
17119
17120 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17121
17122         * paragraph.h: renamed several methods to begin with small letter.
17123         several changes to many parts of the code because of this.
17124
17125 2001-06-23  The LyX Project  <jug@sad.it>
17126
17127         * text2.C (InsertStringAsLines): renamed from InsertStringA;
17128         rewritten to discard all double spaces when KeepEmpty is off
17129         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
17130         to only handle newlines but not fiddle with spaces and friends.
17131
17132         * lyxfunc.C (MenuNew): when doing 'new from template', use
17133         template_path as default directory
17134
17135 2001-06-23  The LyX Project  <Asger>
17136
17137         * Clean-up of header file includes all over
17138         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
17139
17140 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17141
17142         * paragraph.h: renamed from lyxparagraph.h
17143
17144 2001-06-23  Asger  <lyx@violet.home.sad.it>
17145
17146         * Buffer.h: Removed Buffer::resize
17147         * BufferList.h: Removed BufferList::resize
17148         * LyXView.h: Added LyXView::resize. This way, we will only reflow
17149         the document lazily when we change the width, or the font settings.
17150
17151 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
17152
17153         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
17154
17155 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
17156
17157         * buffer.h: remove out of date comment
17158
17159 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
17160
17161         * lyxscreen.h:
17162         * screen.C: fix "theoretical" GC leak
17163
17164 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17165
17166         * LaTeX.C (scanAuxFile):
17167         (deplog): remove trailing \r when reading stream (useful under
17168         win32)
17169
17170 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
17171
17172         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
17173         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
17174         and BufferView::theLockingInset(Inset*), so should use them and not
17175         access bv_->text->the_locking_inset directly.
17176
17177         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
17178
17179 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
17180
17181         * Makefile.am:
17182         * tex-defs.h: remove old unused file
17183
17184 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
17185
17186         * BufferView_pimpl.C: fix typo, remove minibuffer message
17187           when buffer has loaded
17188
17189 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17190
17191         * lyxfunc.C (Dispatch): use stringstream
17192         (MenuNew): use stringstream
17193         (Open): use stringstream
17194
17195         * importer.C (Import): use stringstream
17196
17197         * bufferview_funcs.C (CurrentState): use stringstream
17198
17199         * LaTeX.C (run): use stringstream
17200
17201         * BufferView_pimpl.C (savePosition): use stringstream
17202         (restorePosition): use stringstream
17203         (MenuInsertLyXFile): use stringstream
17204
17205 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
17206
17207         * BufferView.C:
17208         * Bullet.C:
17209         * ColorHandler.C:
17210         * FontInfo.C:
17211         * FontLoader.C:
17212         * LColor.C:
17213         * LaTeXFeatures.C:
17214         * Painter.C:
17215         * gettext.C:
17216         * lyx_gui_misc.C:
17217         * lyxserver.C:
17218         * vspace.C: removed // -*- C++ -*- as first line.
17219
17220         * lyxfind.h:
17221         * version.h: added // -*- C++ -*- as first line.
17222
17223 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17224
17225         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
17226
17227         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
17228         of string
17229
17230 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17231
17232         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
17233         of floats.
17234
17235 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17236
17237         * gettext.C: include LString.h even when --disable-nls is on.
17238
17239 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
17240
17241         * converter.h (Get): changed argument type from int to
17242         FormatList::size_type to avoid unnecessary conversion.
17243
17244         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
17245         before using it.
17246
17247 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17248
17249         * gettext.h: include LString.h even when --disable-nls is on.
17250
17251 2001-06-07  Juergen Vigna  <jug@sad.it>
17252
17253         * text.C (BreakAgain): subst spaces with tabs.
17254
17255         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
17256         (resizeInsetsLyXText): set force on resizeLyXText.
17257
17258 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17259
17260         * gettext.h (gettext_init):
17261         (locale_init): use a real definition instead of a macro
17262
17263 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
17264
17265         * Bufferview_pimpl.C:
17266         * LColor.h:
17267         * LColor.C: further lcolor tidies
17268
17269 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17270
17271         * BufferView_pimpl.C (updateScrollbar): simplify.
17272
17273         * BufferView2.C: don't include insets/insetinfo.h, change
17274         prototype for insertInset and call the Pimpl version. let
17275         updateInset call Pimpl version.
17276
17277         * BufferView.h: move inset_slept to BufferView::Pimpl, move
17278         gotoInset to BufferView::Pimpl
17279
17280 2001-06-01  Juergen Vigna  <jug@sad.it>
17281
17282         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
17283         inside a LockingInset (is the update needed at all?).
17284
17285 2001-05-31  Juergen Vigna  <jug@sad.it>
17286
17287         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
17288         here not the old one otherwise how should we compare it afterwards
17289         if it's the same!
17290
17291 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17292
17293         * lyxfont.C:
17294         * tabular.C:
17295         * tabular-old.C:
17296         * FontInfo.C: bring C functions into global namespace when
17297         necessary
17298
17299 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17300
17301         * LString.h: make sure config.h has been loaded before LString.h.
17302
17303         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
17304         (one for each char read by EatLine!).
17305
17306         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
17307         variables.
17308
17309 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17310
17311         * paragraph.C (BreakParagraph): set the inset_owner in the new par
17312         to the same as the par we break from
17313
17314 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17315
17316         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
17317
17318         * MenuBackend.C (expand): also create menu entries for wide
17319         versions of the floats.
17320
17321         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
17322
17323         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
17324
17325         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
17326         frontends/Makefile.am
17327
17328         * text2.C: adjust
17329         * text.C: adjust
17330
17331
17332         * tabular.C (getTokenValue): add std::
17333
17334         * tabular-old.C (getTokenValue): add std::
17335         (getTokenValue): ditto
17336         (getTokenValue): ditto
17337
17338         * screen.C (ToggleSelection): adjust
17339
17340         * lyxtext.h: put selection cursors inside a Selection struct.
17341
17342         * lyxfunc.C (moveCursorUpdate): adjust
17343
17344         * lyxfont.C (latexWriteStartChanges): add std::
17345
17346         * lyxfind.C: adjust
17347
17348         * font.h: delete with(char const *, LyXFont const &)
17349
17350         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
17351
17352         * FontInfo.C (getFontname): add std::
17353
17354         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
17355         (workAreaButtonPress): adjust
17356         (tripleClick): adjust
17357         (update): adjust
17358         (moveCursorUpdate): adjust
17359         (Dispatch): adjust
17360
17361         * BufferView2.C (gotoInset): adjust
17362
17363 2001-05-30  Juergen Vigna  <jug@sad.it>
17364
17365         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
17366         to check pspell I add this as default as I now have new pspell
17367         libraries and they seem to use this.
17368
17369 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17370
17371         * text2.C (CutSelection): make the cursor valid before the call to
17372         ClearSelection.
17373
17374 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17375
17376         * kbsequence.C (parse): de-uglify a bit the parsing code, which
17377         relied on 0 terminated strings and other horrors. Bug found due to
17378         the new assert in lyxstring!
17379
17380         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
17381         KP_ keys.
17382
17383 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17384
17385         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
17386         to latinkeys.bind.
17387
17388         * lyxfunc.C (processKeySym): change method of getting to the
17389         self-insert char.
17390
17391         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
17392         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
17393         * BufferView_pimpl.[Ch]: here as private methods.
17394
17395 2001-05-28  Juergen Vigna  <jug@sad.it>
17396
17397         * text.C (SetHeightOfRow): added the update() call again as it is
17398         needed to initialize inset dimensions!
17399
17400 2001-05-16  Juergen Vigna  <jug@sad.it>
17401
17402         * text2.C (SetCharFont): Add new function with BufferView * and
17403         bool toggleall parameters for setting insets internal fonts.
17404         (SetFont): Freeze the undo as we may change fonts in Insets and
17405         all this change should be inside only one Undo!
17406
17407         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
17408         setting font's in insets as for them we have the SetFont function!
17409
17410 2001-05-15  Juergen Vigna  <jug@sad.it>
17411
17412         * text2.C (ClearSelection): to be sure we REALLY don't have any
17413         selection anymore!
17414
17415         * tabular.C (TeXCellPreamble): fixed the left border problem for
17416         multicolumn cells.
17417
17418 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
17419
17420         * LaTeX.C (deplog): Make sure that the main .tex file is in the
17421         dependancy file
17422
17423 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17424
17425         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
17426         LFUN_BREAKPARAGRAPH.
17427
17428         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
17429         help test to "internal only", similar for LFUN_INSERT_URL
17430
17431         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
17432         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
17433         auto_region_delete and deadkeys.
17434
17435 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
17436
17437         * LColor.h:
17438         * LColor.C: remove some dead entries, tidy a little
17439
17440 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17441
17442         * lyxfunc.C (processKeySym): comment the Escape handling, remove
17443         commented code.
17444         (Dispatch): implement LFUN_ESCAPE
17445
17446         * commandtags.h: add LFUN_ESCAPE
17447
17448         * LyXAction.C (init): add entry for LFUN_ESCAPE
17449
17450         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17451         Remove commented code.
17452         (insertNote): moved here
17453         (open_new_inset): moved here
17454
17455         * BufferView[2].[Ch]: move insertNote and open_new_inset to
17456         BufferView_pimpl
17457
17458 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17459
17460         * kbmap.C (findbinding): clean it up and make it work correctly.
17461
17462         * lyx_main.C (init): do not pass argc and argv as parameters
17463
17464 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
17465
17466         * buffer.C: fix path for OS/2 & Win32
17467
17468         * lyx_gui.C:
17469         * lyx_main:
17470         * lyx_main.C: Added os:: class.
17471
17472         * os2_defines.h: update
17473
17474 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17475
17476         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17477         better by trying again with reduced state.
17478
17479 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17480
17481         * lyxrc.C (read): print error about invalid key sequence only when
17482         debugging (because not all latinX keysyms are known to some X
17483         servers)
17484
17485         * kbsequence.C (getiso): add a few std:: qualifiers
17486         (getiso): comment out extra return statement.
17487
17488 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17489
17490         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17491         handling.
17492         (Dispatch): enhance the accent inset a bit. (not perfect)
17493
17494 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17495
17496         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17497
17498 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17499
17500         * bufferlist.C (emergencyWrite): fix assert() call
17501
17502 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
17503
17504         * text.C (InsertChar): Added trivial patch to only send the "you
17505         can not do multiple spaces this way" message once during a
17506         session.
17507
17508 2001-05-08  Baruch Even  <baruch@lyx.org>
17509
17510         * Makefile.am: Changed order of libraries to get LyX to link properly
17511         with the gnome frontend.
17512
17513 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17514
17515         * LaTeXFeatures.h: add a std:: qualifier
17516
17517 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17518
17519         * paragraph.C (String): use stringstream
17520
17521 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17522
17523         * paragraph.C (writeFile): remove footflag arg
17524
17525         * buffer.C (makeLaTeXFile): use stringstream
17526         (latexParagraphs): remove footnot gurba
17527
17528         * LaTeXFeatures.C (getPackages): use stringstream
17529         (getMacros): likewise
17530         (getTClassPreamble): likewise
17531         (getFloatDefinitions): new method
17532
17533         * paragraph.C (writeFile): reindent
17534         (Erase): reindent
17535
17536         * WorkArea.h: revert the xpos + etc changes.
17537
17538         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17539
17540         * lyxparagraph.[Ch]: add copy constructor, remove Clone
17541
17542         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17543         (pasteSelection): likewise
17544         * text2.C (CreateUndo): likewise
17545
17546 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17547
17548         * minibuffer.C (peek_event): temporarily reduce the functionality
17549         of the minibuffer (to allow args on lfuns)
17550
17551         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17552         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17553
17554         * buffer.C (readInset): add compability reading of old float
17555         lists, add reading of new style float list.
17556         (readInset): avoid reevaluation of inscmd.getCmdName()
17557         (getLists): reindent
17558
17559         * MenuBackend.C (MenuItem): implement parsing of
17560         md_floatlistinsert and md_floatinsert.
17561         (expand::LastFiles): move initalizaton of iterators out of loop,
17562         avoid reevaluation.
17563         (expand::Documents): introduce typdedef vector<string> Strings,
17564         and use it.
17565         (expand::ExportFormats): introduce typedef vector<Format const *>
17566         Formats, and use it.
17567         (expand): implement FloatListInsert and FloatInsert.
17568
17569         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17570         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17571         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17572
17573         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17574         handling.
17575         (Dispatch::LFUN_FLOAT_LIST): implement
17576
17577 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
17578
17579         * LaTeX.C (run): Fix problem with --export code.
17580
17581 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17582
17583         * BufferView.[Ch] (workarea): removed.
17584         (getClipboard) new method; wrapper for workarea()->getClipboard()
17585
17586         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17587         bug.
17588
17589         * WorkArea.h (width, height, xpos, ypos): These methods all
17590         returned the dimensions of the work_area sub-area of WorkArea,
17591         resulting in a position error if the WorkArea were resized. Now
17592         return the dimensions of the entire WorkArea.
17593
17594         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17595
17596 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17597
17598         * LaTeX.C (deplog): correct the syntax of regex reg1
17599
17600 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17601
17602         * undo.C: remove !NEW_INSETS cruft
17603
17604 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17605
17606         * text2.C: remove !NEW_INSETS cruft
17607
17608         * text.C: remove !NEW_INSETS cruft
17609
17610         * tabular.C: remove !NEW_INSETS cruft
17611
17612         * spellchecker.C: remove !NEW_INSETS cruft
17613
17614         * lyxtext.h: remove !NEW_INSETS cruft
17615
17616         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17617
17618         * lyxfunc.C: remove !NEW_INSETS cruft
17619
17620         * lyxfind.C: remove !NEW_INSETS cruft
17621
17622         * lyx_cb.C: remove !NEW_INSETS cruft
17623
17624         * figureForm.C: remove  !NEW_INSETS cruft
17625
17626         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17627
17628         * buffer.[Ch]: remove !NEW_INSETS cruft
17629
17630         * ToolbarDefaults.C: remove !NEW_INSETS cruft
17631
17632         * CutAndPaste.C: remove !NEW_INSETS cruft
17633
17634         * BufferView_pimpl.C: remove !NEW_INSETS cruft
17635
17636         * BufferView2.C: remove !NEW_INSETS cruft
17637
17638         * BufferView.h: remove !NEW_INSETS cruft
17639
17640 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17641
17642         * Lsstream.h: include LString.h before the sstream headers to
17643         fix problem with gcc 2.95.3 and lyxstring
17644
17645 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17646
17647         * lyx_main.C: add using directives when needed for C functions
17648         declared in std:: namespace.
17649
17650 2001-04-27  Juergen Vigna  <jug@sad.it>
17651
17652         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17653         (SetHeightOfRow): comment out the update call should not be needed!
17654
17655 2001-04-13  Juergen Vigna  <jug@sad.it>
17656
17657         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17658         (LyXTabular): tried to minimize operator= operations (and realized
17659         hopfully Lars wish).
17660
17661 2001-04-27  Juergen Vigna  <jug@sad.it>
17662
17663         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17664
17665 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17666
17667         * lyxfunc.C (Dispatch): hack to make listof algorithm work
17668
17669         * buffer.C (readInset): hack to make listof algorithm work
17670
17671         * BufferView_pimpl.C: hack to make listof algorithm work
17672
17673 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17674
17675         * LyXAction.C: removed all !NEW_INSETS cruft
17676         (init): moved lfun_item in method
17677
17678         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17679
17680 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17681
17682         * BufferView2.C (theLockingInset): white space.
17683
17684 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17685
17686         * minibuffer.C: include <iostream>
17687
17688         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17689
17690         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17691
17692         * commandtags.h: add LFUN_TRANSPOSE_CHARS
17693
17694         * text.[Ch] (TransposeChars): new method
17695
17696 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17697
17698         * call message directly through LyXView instead of through LyXFunc
17699         * BufferView2.C: adjust
17700         * BufferView_pimpl.C: adjust
17701         * FontLoader.C: adjust
17702         * buffer.C: adjust
17703         * bufferview_funcs.C: adjust
17704         * converter.C: adjust
17705         * figureForm.C: adjust
17706         * importer.C: adjust
17707         * lyx_cb.C: adjust
17708         * lyx_gui_misc.C: adjust
17709         * lyxfunc.C: adjust
17710         * lyxvc.C: adjust
17711         * text2.C: adjust
17712         + more files in subdirs
17713
17714         * lyxparagraph.h (size): move up int file
17715         (GetLayout): ditto
17716
17717         * adjust all uses of Assert to lyx::Assert.
17718
17719         * BufferView2.C (ChangeCitationsIfUnique): adjust for
17720         lyxfunctional in namespace lyx
17721         * layout.C (hasLayout): ditto
17722         (GetLayout): ditto
17723         (GetLayout): ditto
17724         (delete_layout): ditto
17725         (NumberOfClass): ditto
17726         * converter.C (GetFormat): ditto
17727         (GetNumber): ditto
17728         (Add): ditto
17729         (Delete): ditto
17730         (SetViewer): ditto
17731         * bufferlist.C (getFileNames): ditto
17732         (emergencyWriteAll): ditto
17733         (exists): ditto
17734         (getBuffer): ditto
17735         * MenuBackend.C (hasSubmenu): ditto
17736         (hasMenu): ditto
17737         (getMenu): ditto
17738         * BufferView_pimpl.C (getInsetByCode): ditto
17739
17740 2001-04-18  Juergen Vigna  <jug@sad.it>
17741
17742         * vspace.C (asLatexString): fixed the 100% problem.
17743
17744 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17745
17746         * lyxfunc.C (Dispatch):
17747         * minibuffer.C:
17748         * minibuffer.h: add a few std:: qualifiers
17749
17750 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17751
17752         * minibuffer.[Ch]: reimplement so that commands is initiated and
17753         run from lyxfunc, simplified som handling, and made the completion
17754         and history code for complete. wip.
17755
17756         * lyxfunc.C (processKeySym): call message
17757         (miniDispatch): new temporary method
17758         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17759         (LFUN_MESSAGE): implement
17760         (LFUN_MESSAGE_PUSH): implement
17761         (LFUN_MESSAGE_POP): implement
17762         (initMiniBuffer): the initial/defualt minibuffer message.
17763
17764         * lyxfont.[Ch]: inline some more getters
17765
17766         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17767
17768         * lyx_gui_misc.[Ch] (WriteStatus): remove method
17769
17770         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17771         (AutoSave): use LFUN_MESSAGE
17772         (Reconfigure): ditto
17773
17774         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17775
17776         * figureForm.C: use LFUN_MESSAGE
17777
17778         * converter.C (runLaTeX): use LFUN_MESSAGE
17779
17780         * bufferview_funcs.C: use LFUN_MESSAGE
17781         (Melt): ditto
17782         (changeDepth): ditto
17783
17784         * bufferparams.h: use boost::
17785
17786         * bufferlist.h: inherit privately from noncopyable
17787
17788         * bufferlist.C (loadLyXFile): remove some commented code.
17789
17790         * buffer.C (runChktex): use LFUN_MESSAGE
17791
17792         * ShareContainer.h: inherit privately from noncopyable
17793
17794         * ParagraphParameters.[hC] (depth): inline it.
17795
17796         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17797         methods.
17798         (message): new method
17799         (messagePush): ditto
17800         (messagePop): ditto
17801         (show): init minibuffer
17802         (showState): direct call
17803
17804         * LaTeX.[Ch]: inherit privately from noncopyable
17805         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17806         instead of WriteStatus.
17807
17808         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17809
17810         * BufferView_pimpl.C (buffer): don't init minibuffer
17811         (workAreaButtonPress): use LFUN_MESSAGE
17812         (workAreaButtonRelease): ditto
17813         (savePosition): ditto
17814         (restorePosition): ditto
17815         (MenuInsertLyXFile): ditto
17816         (workAreaExpose): don't init minibuffer
17817         (update): remove commented code, simplify
17818
17819         * BufferView2.C (openStuff): use LFUN_MESSAGE
17820         (toggleFloat): ditto
17821         (menuUndo): ditto
17822         (menuRedo): ditto
17823         (copyEnvironment): ditto
17824         (pasteEnvironment): ditto
17825         (copy): ditto
17826         (cut): ditto
17827         (paste): ditto
17828         (gotoInset): ditto
17829         (updateInset): remove some commented code
17830
17831         * lastfiles.h: inherit privately from noncopyable
17832         * layout.h: ditto
17833         * lyx_gui.h: ditto
17834         * lyx_main.h: ditto
17835         * lyxlex.h: ditto
17836         * lyxlex_pimpl.h: ditto
17837
17838         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17839         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17840         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17841
17842         * LyXAction.h: inherit privately from noncopyable, add methods
17843         func_begin, func_end, returning iterators to the func map.
17844
17845         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17846         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17847         (func_begin): new method
17848         (func_end): new method
17849
17850         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17851         and not)
17852         (copySelection): ditto
17853         (pasteSelection): ditto
17854
17855         * BufferView.C: whitespace change
17856         * BufferView.h: inherit privately from noncopyable
17857
17858 2001-04-16  Allan Rae  <rae@lyx.org>
17859
17860         * tabular-old.C (l_getline):
17861         * spellchecker.C (sc_check_word):
17862         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17863         an unrecognised preprocessor directive.  So ensure they're wrapped.
17864
17865 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
17866
17867         * src/exporter.C (Export): Give an error message when path to file
17868         contains spaces.
17869
17870 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
17871
17872         * LaTeX.C (deplog): Always check that foundfile exists.
17873
17874 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17875
17876         * lyx_main.h:
17877         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17878
17879 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17880
17881         * tabular.[Ch] (getLabelList): implement new method
17882
17883         * minibuffer.h: comment ouf setTiimer
17884
17885         * minibuffer.C (ExecutingCB): constify res
17886         (peek_event): constify s
17887         (Set): constify ntext
17888         (Init): constify nicename
17889
17890         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17891
17892         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17893         (savePosition): use two params to Minibuffer::Set
17894         (restorePosition): ditto
17895
17896 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17897
17898         * lyx_main.C: include language.h
17899
17900         * Makefile.am (lyx_main.o): add language.h
17901
17902 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17903
17904         * exporter.C:
17905         * paragraph.C:
17906         * screen.C:
17907         * tabular.C:
17908         * CutAndPaste.C: include gettext.h
17909
17910         * lyxfont.h: remove old hack with ON and OFF.
17911
17912         * lyxparagraph.h:
17913         * lyxfont.h: do not include language.h...
17914
17915         * BufferView2.C:
17916         * LaTeXFeatures.C:
17917         * Painter.C:
17918         * bufferview_funcs.C:
17919         * font.C:
17920         * lyxfont.C:
17921         * text.C:
17922         * text2.C:
17923         * trans_mgr.C:
17924         * paragraph.C: ... but do it here instead
17925
17926 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17927
17928         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17929
17930         * tabular.C: small reformat
17931
17932         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17933         NEW_INSETS version
17934         (GetChar): ditto
17935         (BreakParagraph): ditto
17936         (SetOnlyLayout): ditto
17937         (SetLayout): ditto
17938
17939         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17940         with one arg less.
17941
17942         * lastfiles.C: removed most using decl, add std:: where needed
17943
17944         * buffer.C: ws changes
17945
17946         * MenuBackend.C (class compare_format): put into anon namespace
17947         (expand): constify label, names, action, action2
17948         (expand):
17949
17950         * text.C (SingleWidth): constify font
17951         (IsBoundary): constify rtl2
17952         (GetVisibleRow): constify ww
17953
17954         * LaTeX.C (deplog): constify logfile
17955
17956         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17957         start_x, end_x
17958         (workAreaExpose): constify widthChange, heightChange
17959
17960         * lyxrow.C (par): moved
17961         (height): moved
17962         (next): moved
17963         * lyxrow.h: as inlines here
17964
17965         * lyxfont.h (shape): moved from lyxfont.C
17966         (emph): moved from lyxfont.C
17967
17968         * lyxfont.C (LyXFont): use initialization list for all
17969         constructors
17970         (shape): move to lyxfont.h as inline
17971         (emph): move to lyxfont.h as inline
17972
17973
17974 2001-04-04  Juergen Vigna  <jug@sad.it>
17975
17976         * vspace.C: had to include stdio.h for use of sscanf
17977
17978 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
17979
17980         * BufferView.h:
17981         * BufferView_pimpl.h: remove xforms cruft. Both classes are
17982         independent of xforms.
17983
17984 2001-04-02  Juergen Vigna  <jug@sad.it>
17985
17986         * spellchecker.C: fixed namespace placing!
17987
17988 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
17989
17990         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17991         the LyXParagraph * is 0.
17992
17993 2001-03-29  Juergen Vigna  <jug@sad.it>
17994
17995         * vspace.C: added support for %, c%, p%, l%.
17996         (stringFromUnit): added helper function.
17997         (asLatexString): changed to give right results for the %-values.
17998
17999         * buffer.C: convert the widthp in a width%.
18000
18001 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
18002
18003         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
18004         figureForm.[Ch].
18005
18006         * figureForm.[Ch]: stripped the FD_from_figure manipulation
18007         code out of lux_cb.[Ch], ready for its (imminent?) removal.
18008
18009         * lyx_cb.[Ch]: see above.
18010
18011         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
18012         form1.[Ch].
18013
18014         * form1.[Ch]:
18015         * lyx.[Ch]: replaced by figure_form.[Ch].
18016
18017         * lyx_gui.C:
18018         * lyx_gui_misc.C:
18019         * lyxfunc.C: changed headers associated with above changes.
18020
18021 2001-03-27  Juergen Vigna  <jug@sad.it>
18022
18023         * BufferView_pimpl.C: set the temporary cursor right!
18024
18025 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
18026
18027         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
18028
18029 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
18030
18031         * LString.h: removed "using std::getline"!
18032
18033         * BufferView_pimpl.C (Dispatch): changes due to changes in
18034         InsetInclude::Params.
18035
18036         * buffer.C (tag_name): removed redundant break statements as they were
18037         producing lots of warnings with my compiler.
18038
18039 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18040
18041         * LString.h: add "using std::getline" when using the real <string>.
18042
18043 2001-03-23  Jos�Ab�io Matos  <jamatos@fep.up.pt>
18044
18045         * buffer.C: removed bitset usage.
18046         PAR_TAG moved to an anonymous name space.
18047         (tag_name): new funtion, also in the anonymous namespace.
18048         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
18049         (makeDocBookFile): clean code. Completed transition from string arrays
18050         to string vectors.
18051         (SimpleDocBookOnePar): code clean.
18052
18053 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18054
18055         * tabular.C: add some comments.
18056
18057 2001-03-22  Juergen Vigna  <jug@sad.it>
18058
18059         * buffer.C (parseSingleLyXformat2Token): redone the minipage
18060         compatibility read a bit and fixed bug with minipage in different
18061         depth.
18062
18063 2001-03-21  Jos�Ab�io Matos  <jamatos@fep.up.pt>
18064
18065         * buffer.C (pop_tag): removed.
18066         (push_tag): removed.
18067         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
18068         array replaced with vector. Added support for CDATA sections.
18069         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
18070         at any nest level.
18071         (makeDocBookFile): XML conformant declaration of CDATA section,
18072         fixed bug related to <emphasis> in the first paragraph char.
18073         (sgmlOpenTag): exclude empty tags.
18074         (sgmlCloseTag): ditto.
18075
18076         * buffer.h (pop_tag): removed.
18077         (push_tag): removed.
18078
18079 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
18080
18081         * language.h (Languages): added size_type and size().
18082
18083 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18084
18085         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
18086         response on compability reading of minipages. One probliem is that
18087         the old usage of minipages was flertydig
18088
18089         * several files here and in subdirs: don't use static at file
18090         scope use anon namespaces instead.
18091
18092 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
18093
18094         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
18095         LaTeX output. This is necessary for Literate document
18096         processing.
18097
18098 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18099
18100         * buffer.C: insert hfill when needed.
18101
18102         * tabular.C (l_getline): use string::erase, small whitespace change.
18103
18104         * BufferView_pimpl.C: try the anon namespace.
18105         * WorkArea.C: ditto
18106
18107 2001-03-16  Juergen Vigna  <jug@sad.it>
18108
18109         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
18110         otherwise it won't open options-dialogs.
18111
18112         * buffer.C: honor pextraWidth(p) on converting minipages.
18113
18114         * tabular.C (l_getline): changed the functions to strip trailing \r.
18115
18116 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
18117
18118         * BufferView_pimpl.C:
18119         * minibuffer..C: added "using SigC::slot" declaration.
18120
18121 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18122
18123         * lyxlex_pimpl.h: noncopyable is in namespace boost.
18124
18125         * text2.C: ditto
18126
18127         * text.C: ditto
18128
18129         * paragraph.C: ditto
18130
18131         * lyxtext.h: NO_PEXTRA
18132
18133         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
18134
18135         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
18136         * ParameterStruct.h: ditto
18137         * ParagraphParameters.h: ditto
18138         * lyxparagraph.h: ditto
18139
18140 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18141
18142         * buffer.C: add compability for minipage alignment.
18143         (latexParagraphs): remove unwanted pextra check.
18144
18145         * several files: remove CXX_WORKING_NAMESPACES
18146
18147         * buffer.C (pop_tag): tie is in namespace boost
18148
18149         * BufferView.h: noncopyable is in namespace boost
18150         * lyxlex.h: ditto
18151         * lyx_main.h: ditto
18152         * lyx_gui.h: ditto
18153         * layout.h: ditto
18154         * lastfiles.h: ditto
18155         * bufferlist.h: ditto
18156         * ShareContainer.h: ditto
18157         * LyXView.h: ditto
18158         * LyXAction.h: ditto
18159         * LaTeX.h: ditto
18160
18161 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
18162
18163         * Merging changes from BRANCH_MVC back into HEAD.
18164
18165         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
18166
18167 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
18168
18169         * BufferView_pimpl.C: change from intl.C
18170
18171         * combox.h:
18172         * combox.C:
18173         * Makefile.am: move combox.*
18174
18175         * form1.h:
18176         * form1.C:
18177         * lyx_gui.C:
18178         * intl.h:
18179         * intl.C: remove dialog (covered by prefs)
18180
18181 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
18182
18183         * lyxfunc.C (Dispatch): removed redundant break statement.
18184
18185 2001-03-14  Juergen Vigna  <jug@sad.it>
18186
18187         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
18188
18189 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18190
18191         * buffer.C: add hack to fix compability reading of minipages.
18192
18193 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
18194
18195         * buffer.C (getLists): Cleanup.
18196
18197 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18198
18199         * lyxfont.C (update): don't honor toggleall on font size.
18200
18201 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
18202
18203         * bmtable.c:
18204         * bmtable.h:
18205         * Makefile.am: moved to frontends/xforms/
18206
18207         * lyx_gui_misc.C:
18208         * lyxfunc.C:
18209         * BufferView_pimpl.C: changes for moved mathpanel
18210
18211 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
18212
18213         * gettext.h: fix gettext_init() in --disable-nls
18214
18215 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18216
18217         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
18218
18219 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
18220
18221         * lyx.C:
18222         * lyx.h: strip external form
18223
18224 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
18225
18226         * BufferView_pimpl.C: add comment, destroySplash()
18227
18228 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
18229
18230         * BufferView_pimpl.C:
18231         * LyXAction.C:
18232         * buffer.C:
18233         * commandtags.h:
18234         * lyxfunc.C: use re-worked insetinclude
18235
18236 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18237
18238         * buffer.C: add using std::stringstream.
18239
18240         * lyx_cb.C: readd using std::ios.
18241
18242         * buffer.C: add using std::map.
18243
18244         * BufferView_pimpl.C: add using std::vector.
18245
18246         * ShareContainer.h: add std:: to swap.
18247
18248         * buffer.h: add some typedefs
18249         * buffer.C (getLists): use them
18250         (getLists): renamed from getTocList.
18251         add a counter for the different float types and use it in the
18252         generated string.
18253         (getLists): use the same counter for the NEW_INSETS and the "non"
18254         NEW_INSETS
18255
18256         * lyx_cb.h: remove unused items, includes, using etc.
18257
18258         * ShareContainer.h: remove some commented code, add more comments
18259         and "documentation".
18260
18261 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18262
18263         * buffer.C (getTocList): make the list also when NEW_INSETS is
18264         defined.
18265
18266         * buffer.h: remove TocType
18267
18268         * buffer.C (getTocList): change to return a map<string,
18269         vector<TocItem> >, implement for dynamic number of list.
18270
18271         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
18272         * text2.C (PasteSelection): adjust
18273         * CutAndPaste.C (pasteSelection): adjust
18274
18275         * FloatList.C (FloatList): update from the new_insets branch.
18276         * Floating.[Ch]: ditto
18277         * LaTeXFeatures.C: ditto
18278         * buffer.C: ditto
18279         * lyxlex_pimpl.C: ditto
18280
18281         * paragraph.C (Last): remove when NEW_INSETS is defined.
18282
18283         * other file: changes because of the above.
18284
18285 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18286
18287         * lyxparagraph.h: rename next to next_, previous to previous_,
18288         make them private for NEW_INSETS. Rename Next() to next(),
18289         Previous() to previous().
18290
18291         * other files: changes because of the above.
18292
18293 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
18294
18295         * BufferView.h:
18296         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
18297         problem.
18298
18299 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18300
18301         * main.C (main): pass lyx_localedir to gettext_init().
18302
18303         * gettext.h: remove locale_init and gettext_init macros
18304
18305         * gettext.C (locale_init): new function
18306         (gettext_init): new function
18307
18308         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
18309         setlocale().
18310
18311 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
18312
18313         * Moved credits to frontends:
18314         * credits.[Ch]: removed
18315         * credits_form.[Ch]: removed
18316         * lyx_gui_misc.C: remove credits stuff
18317         * Makefile.am:
18318
18319 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18320
18321         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
18322
18323         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
18324         unneeded destructor.
18325
18326         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
18327         a standalone pointer again.
18328
18329         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
18330
18331 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
18332
18333         * Makefile.am:
18334         * filedlg.h:
18335         * filedlg.C:
18336         * LyXAction.C:
18337         * ToolbarDefaults.C:
18338         * bufferlist.C:
18339         * commandtags.h:
18340         * form1.C:
18341         * form1.h:
18342         * lyx_cb.C:
18343         * lyx_cb.h:
18344         * lyxfunc.h:
18345         * lyxfunc.C:
18346         * BufferView_pimpl.C: use new file dialog in GUII
18347
18348         * lyx_cb.h:
18349         * lyx_cb.C: remove LayoutsCB to Toolbar
18350
18351 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18352
18353         * ShareContainer.h (get): add std:: qualifier
18354
18355 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18356
18357         * ShareContainer.h: define a proper ShareContainer::value_type
18358         type (and use typename to please compaq cxx)
18359
18360 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18361
18362         * lyxparagraph.h: move serveral local vars to
18363         ParameterStruct/ParagraphParameters., use ShareContainer in
18364         FontTable., make vars in FontTable private and add getter and
18365         setter.
18366
18367         * paragraph.C: changes because of the above.
18368
18369         * lyxfont.h: remove copy constructor and copy assignment. (the
18370         default ones is ok), move number inside FontBits. move inlines to
18371         lyxfont.C
18372
18373         * lyxfont.C: add number to initializaton of statics, move several
18374         inlines here. constify several local vars. some whitespace
18375         cleanup. Dont hide outerscope variables.
18376
18377         * Spacing.h: add two new constructors to match the set methods.
18378
18379         * ShareContainer.h: new file, will perhaps be moved to support
18380
18381         * ParameterStruct.h: new file
18382
18383         * ParagraphParameters.h: new file
18384
18385         * ParagraphParameters.C: new file
18386
18387         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
18388         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
18389
18390         * BufferView_pimpl.C: ParagraphParameter changes.
18391         * buffer.C: Likewise.
18392         * bufferview_funcs.C: Likewise.
18393         * text.C: Likewise.
18394         * text2.C: Likewise.
18395
18396 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18397
18398         * lyxfind.C (LyXReplace): do not redefine default argument in
18399         implementation.
18400         (IsStringInText): ditto
18401         (SearchForward): ditto
18402         (SearchBackward): ditto
18403
18404 2001-03-06  Juergen Vigna  <jug@sad.it>
18405
18406         * lyxfind.C (IsStringInText): put parentes around expressions.
18407
18408 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
18409
18410         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
18411
18412 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
18413
18414         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
18415
18416         * stl_string_fwd.h: add comment
18417
18418         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
18419
18420         * tabular.h:
18421         * tabular.C: remove unused DocBook methods
18422
18423         * intl.C:
18424         * language.C:
18425         * paragraph.C:
18426         * buffer.C:
18427         killed DO_USE_DEFAULT_LANGUAGE
18428
18429 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18430
18431         * lyx_gui.C: do not include language.h.
18432
18433         * bufferview_funcs.C (ToggleAndShow): do not provide optional
18434         arguments in function implementation.
18435
18436 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18437
18438         * BufferView_pimpl.C: add <ctime>
18439
18440 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18441
18442         * BufferView_pimpl.C: add using std::find_if
18443
18444 2001-02-27  José Matos  <jamatos@fep.up.pt>
18445
18446         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18447         by OnlyPath.
18448
18449 2001-02-11  José Matos  <jamatos@fep.up.pt>
18450
18451         * buffer.C (makeDocBookFile): command styles now have a parameter as
18452         "title" by default.
18453
18454 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
18455
18456         * layout_forms.[Ch]: removed
18457         * lyx_cb.[Ch]: out character
18458         * lyx_gui.C: out character
18459         * lyx_gui_misc.C: out character
18460         * bufferview_funcs.C: : out character,
18461         added toggleall as parameter in ToggleAndShow
18462
18463 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
18464
18465         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18466
18467         * text2.C (SetCurrentFont): Disable number property at boundary.
18468
18469 2001-02-26  Juergen Vigna  <jug@sad.it>
18470
18471         * lyxfunc.C (getStatus): added a string argument override function so
18472         that this is correctly called from LyXFunc::Dispatch if it contains a
18473         do_not_use_argument which is used!
18474         (Dispatch): added check for "custom" export and call appropriate func.
18475
18476 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
18477
18478         * lyxrc.C: Add language_command_local, language_use_babel and
18479         language_global_options.
18480
18481         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18482
18483         * buffer.C (makeLaTeXFile): Use language_use_babel and
18484         language_global_options.
18485
18486 2001-02-23  Juergen Vigna  <jug@sad.it>
18487
18488         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18489         which works with LyXText and putted it inside BufferView. Here now we
18490         only call for that part the BufferView::Dispatch() function.
18491
18492         * BufferView.C (Dispatch): added.
18493
18494         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18495         functions which needs to use a LyXText over from LyXFunc.
18496         (MenuInsertLyXFile): added
18497         (getInsetByCode): added
18498         (moveCursorUpdate): added
18499         (static TEXT): added
18500
18501 2001-02-22  Juergen Vigna  <jug@sad.it>
18502
18503         * BufferView_pimpl.C (update): call a status update to see if LyXText
18504         needs it.
18505
18506 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18507
18508         * vc-backend.C (revert): implement for CVS
18509         (getLog): implement for CVS
18510
18511 2001-02-20  Juergen Vigna  <jug@sad.it>
18512
18513         * text2.C (ClearSelection): added BufferView param for inset_owner call
18514
18515         * lyxfunc.C (TEXT): added this function and use it instead of
18516         directly owner->view()-text of getLyXText().
18517
18518 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
18519
18520         * src/layout_forms.C: out preamble
18521         * src/layout_forms.h: out preamble
18522         * src/lyx_cb.C: out preamble
18523         * src/lyx_cb.h: out preamble
18524         * src/lyx_gui.C: out preamble
18525         * src/lyx_gui_misc.C: out preamble
18526         * src/lyxfunc.C: connect with guii preamble
18527
18528 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
18529
18530         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18531
18532 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
18533
18534         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18535         whether to run bibtex.
18536
18537 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
18538
18539         * Makefile.am (lyx_SOURCES): Remove BackStack.h
18540
18541 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
18542
18543         * Makefile.am (lyx_SOURCES): removed bibforms.h
18544
18545         * vspace.h: doxygen
18546
18547         * text.C (GetVisibleRow): make several local vars const
18548
18549         * tabular.C: small cleanup.
18550
18551         * lyxserver.C (callback): use compare instead of strncmp
18552
18553         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18554         inlines to after class or to paragraph.C
18555
18556         * lyxfont.h: remove friend operator!=
18557
18558         * converter.h: move friend bool operator< to non friend and after
18559         class def.
18560
18561         * combox.h: small cleanup
18562
18563         * buffer.h: doxygen, remove unused constructor, move inclas inlies
18564         to inlines after class def.
18565
18566         * buffer.C (pop_tag): use string operations instead of strcmp
18567
18568         * bmtable.c: doxygen, small cleanup
18569
18570         * LaTeX.h: remove friend operator==
18571
18572 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
18573
18574         * screen.C:
18575         * lyxrc.[Ch]:
18576         * lyxfunc.C:
18577         * lyxfont.[Ch]:
18578         * lyx_cb.C:
18579         * intl.[Ch]:
18580         * commandtags.h:
18581         * buffer.C:
18582         * WorkArea.[Ch]:
18583         * LyXAction.C:
18584         * BufferView_pimpl.C:
18585         * BufferView.[Ch]: remove cruft
18586
18587 2001-02-14  Juergen Vigna  <jug@sad.it>
18588
18589         * lyxfunc.C: removed #if 0 unused code
18590
18591         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18592
18593         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18594
18595         * text2.C (SetSelection): added a BufferView * parameter
18596
18597 2001-02-13  Juergen Vigna  <jug@sad.it>
18598
18599         * lyxfunc.C (Dispatch): fixed protected blank problem.
18600         * BufferView2.C (protectedBlank): added LyxText * parameter.
18601
18602         * tabular.C (AppendRow): forgot to set row_info of newly added row.
18603         (AppendColumn): same as above for column_info.
18604
18605         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18606         (moveCursorUpdate): use a LyXText param for support of InsetText.
18607
18608         * BufferView_pimpl.C (doubleClick): added support for InsetText.
18609         (tripleClick): ditto
18610
18611         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18612
18613         * BufferView_pimpl.C (update): added LyXText param to honor insets.
18614
18615         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18616
18617         * text2.C (SetSelection): set correct update status if inset_owner
18618         (ToggleFree): ditto
18619
18620 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
18621
18622         * tabular.C: remove some commented code.
18623
18624 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
18625
18626         * BufferView_pimpl.C: call hideSplash()
18627
18628         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18629
18630         * include_form.h:
18631         * bibforms.h: remove
18632
18633         * lyxfunc.C:
18634         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18635           add LFUN_CHILD_CREATE
18636
18637         * counters.h: fix tiny typo
18638
18639         * lyx_cb.C:
18640         * lyx.h:
18641         * lyx_gui.C:
18642         * lyx.C: move splash to frontends/xforms/
18643
18644         * lyx_gui_misc.C: move Include and Bibform to frontends
18645
18646         * lyxvc.h: clarify comment
18647
18648         * vspace.C: tiny housekeeping
18649
18650 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
18651
18652         * text.C (PrepareToPrint): RTL Fix.
18653
18654         * paragraph.C (GetUChar): New method.
18655         (String):  Use GetUChar.
18656
18657         * buffer.C (asciiParagraph): Use GetUChar.
18658
18659 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
18660
18661         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18662
18663 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
18664
18665         * buffer.h:
18666         * buffer.C: rename to getLogName(), handle
18667           build log / latex log nicely
18668
18669 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18670
18671         * MenuBackend.C:
18672         * MenuBackend.h: remove support for reference menuitem type.
18673
18674 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
18675
18676         * BufferView_pimpl.C: housekeeping
18677         * BufferView_pimpl.h:
18678         * LyXView.h:
18679         * Makefile.am:
18680         * Timeout.C:
18681         * Timeout.h:
18682         * minibuffer.h: move Timeout GUI-I
18683
18684 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
18685
18686         * lyxrc.C (read): Update converters data-structures.
18687
18688 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
18689
18690         * LaTeX.h (operator!=): add operator != for Aux_Info
18691
18692 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
18693
18694         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18695
18696         * LaTeXLog.C: deleted, useful code moved to Buffer
18697
18698         * buffer.h:
18699         * buffer.C: new function getLatexLogName()
18700
18701         * lyx_gui_misc.C:
18702         * lyx_gui.C:
18703         * lyxvc.C:
18704         * lyxvc.h:
18705         * lyxfunc.C: use frontends for LaTeX and VC logs
18706
18707 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18708
18709         * LaTeX.h: yet another std:: that Allan forgot.
18710
18711         * Variables.C (set): renamed from isset(), because this clashes
18712         with some HP-UX macros (grr).
18713
18714 2001-02-06  Allan Rae  <rae@lyx.org>
18715
18716         * LaTeX.h: Another bug fix.  Missing std:: this time.
18717
18718 2001-02-04  Allan Rae  <rae@lyx.org>
18719
18720         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18721         floats problem. I've left it commented out because it's not quite
18722         correct.  It should also test that the current object is a table or
18723         figure inset.  But I haven't gotten around to figuring out how to do
18724         that.  I *think* it'll be something like: "table" == inset.type()
18725
18726         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18727         bool.
18728
18729 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
18730
18731         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18732         all the citation/databases/styles in the auxilary file.
18733         (run): Rerun latex if there was a babel language error.
18734
18735 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
18736
18737         * text.C (Backspace): Preserve the font when changing newline char
18738         with a space.
18739         (BreakParagraph): If the cursor is before a space, delete the space.
18740
18741         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18742
18743 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
18744
18745         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18746         new argument (code).
18747         (ChangeCitationsIfUnique): New method.
18748
18749         * paragraph.C (GetPositionOfInset): Handle bibkey.
18750
18751 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18752
18753         * BufferView_pimpl.h: change type of Position::par_pos to
18754         LyXParagraph::size_type.
18755
18756 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
18757
18758         * BufferView_pimpl.C (savePosition, restorePosition): Write
18759         messages to minibuffer.
18760
18761 2001-01-28  José Matos  <jamatos@fep.up.pt>
18762
18763         * buffer.C (makeDocBookFile): adds support for document language.
18764         A silly restriction on the name of LatexCommand types where removed.
18765         Added support for CDATA sections, allows to chars unescaped, used
18766         among others in code, to avoid escape < and >.
18767
18768 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18769
18770         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18771         saved positions instrad of a stack. Furthermore, a position is
18772         stored using paragraph id/paragraph position.
18773
18774         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18775         Remove LFUN_REF_BACK.
18776
18777 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18778
18779         * converter.C (dvipdfm_options): New method.
18780
18781 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
18782
18783         * vspace.C (isValidLength): Fix for empty input string.
18784
18785 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18786
18787         * LyXAction.C (init): change description of LFUN_FIGURE to
18788         "Insert Graphics"
18789
18790 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18791
18792         * LaTeX.C: add using directive
18793
18794 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18795
18796         * MenuBackend.C (expand): Fix the sorting of the formats.
18797
18798 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
18799
18800         * lyx_main.C: tiny error message fix
18801
18802 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18803
18804         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18805         calling fl_initialize(). This fixes the problem with ',' as
18806         decimal separator in text files.
18807
18808 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18809
18810         * trans.C (process): Fix the keymap bug.
18811
18812 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
18813
18814         * LaTeX.C (scanAuxFiles): New method. Provides support for
18815         multiple bibliographies (when using the bibtopic/bibunits pacakges).
18816         (scanLogFile) Scan for "run BibTeX" messages.
18817
18818         * buffer.C (makeLaTeXFile): Do not load the ae package when using
18819         OT1 font encoding. Also, load the aecompl package if the ae
18820         package is loaded.
18821
18822         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18823
18824 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18825
18826         * texrow.C (increasePos): turn two error messages into debug
18827         messages.
18828
18829 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
18830
18831         * LaTeX.C (scanAux): Handle the \@input macro.
18832         (runBibTeX): Use scanAux().
18833
18834         * language.C (latex_options_): New field.
18835
18836         * LaTeXFeatures.C (getMacros): Add language macros.
18837
18838         * buffer.C (makeLaTeXFile): Small fix.
18839
18840 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18841
18842         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18843
18844         * text2.C: add a using directive.
18845
18846 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
18847
18848         * BufferView2.C:
18849         * lyx_gui_misc.h:
18850         * lyxfr1.C:
18851         * lyxfunc.C: kill LyXBell.
18852
18853 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
18854
18855         * text.C (IsBoundary): Remove the error message
18856
18857         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18858
18859         * lyxrc.C (setDefaults): Correct initialization value for
18860         font_norm_type.
18861
18862 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
18863
18864         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18865         gotoError().
18866
18867         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18868         and GotoNextNote().
18869
18870         * src/LyXAction.C: Added reference-next.
18871
18872         * text.C (InsertChar): Use contains instead of strchr.
18873
18874         * lyx_cb.C (MenuInsertLabel): Enable default value code.
18875
18876 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
18877
18878         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18879         alignment commands (when needed).
18880
18881         * text.C (InsertChar): Add ':' to number separator chars.