]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
6bb6a6140909868528fb47da96f20cbc3984969a
[lyx.git] / src / ChangeLog
1 2006-03-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2
3         * lyx_cb.C (Reconfigure): run lib/configure.py, not lib/configure
4         * lyx_main.C (reconfigureUserLyXDir): run ditto
5
6 2006-03-12  Martin Vermeer  <martin.vermeer@hut.fi>
7
8         * lyxtext.h: doxygen documentation fix
9
10 2006-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
11
12         * paragraph.[Ch] (write, lookupChange, lookupChangeFull;
13         added setChangeFull):
14         * paragraph_pimpl.[Ch] (trackChanges, cleanChanges, acceptChange,
15         rejectChange, erase; added setChangeFull):
16         * CutAndPaste.C (eraseSelectionHelper):
17         * lyxtext.h:
18         * text.C (readParToken, readParagraph, breakParagraph,
19         acceptChange, rejectChange, backspace, currentState; 
20         added backspacePos0):
21         * paragraph_funcs.C (breakParagraphConservative, mergeParagraph):
22         * lyxfind.C (findChange, findNextChange): fix bug 880: Change
23         tracked paragraphs should still allow a paragraph split (and related
24         things, i.e., multi-paragraph change tracking)
25
26 2006-03-10  Martin Vermeer  <martin.vermeer@hut.fi>
27
28         * BufferView_pimpl.C: fix bug 2212: First change is skipped is
29         "Merge changes..." dialog
30
31 2006-03-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
32
33         * bufferparams.C (writeLaTeX): define \labelitemi with \def. Fixes LaTeX 
34         error if the class has not defined them yet (bug 2053).
35
36 2006-03-10  Martin Vermeer  <martin.vermeer@hut.fi>
37
38         * BufferView.[Ch]:
39         * BufferView_pimpl.[Ch]: 
40         * LyXAction.C:
41         * debug.[Ch]:
42         * rowpainter.C:
43         * text3.C: Inside-inset speedup, esp. for the Mac (bug 2195)
44
45 2006-03-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
46
47         * pch.h: fix nullstream.hpp location for boost 1.33.0
48
49 2006-03-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
50
51         * pch.h:
52         * support/pch.h:
53         * support/debugstream.h: Use the correct nullstream.
54
55 2006-02-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
56
57         * text3.C (mathDispatch): fix math inset creation from string (bug 2315)
58
59 2006-02-28  Martin Vermeer  <martin.vermeer@hut.fi>
60
61         * cursor.C (niceInsert): fix (properly) insertion of
62         fonts/decorations around selection
63
64 2006-02-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
65
66         * lyxfont.C (lyxWriteChanges): Don't write \lang latex
67
68 2006-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
69
70         * text3.C (mathDispatch): fix crash when selection is not empty
71         but selectionAsString is empty (bug 2321).
72
73 2006-02-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
74
75         * text.C (changeCase): avoid crash in empty paragraph or on last
76         word of the paragraph. (buf 2323)
77         (cursorRightOneWord): fix the logic to stop at a beginning of a word.
78
79 2006-02-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
80
81         * buffer.C (readHeader): also erase params.preamble in advance
82         so that an empty preamble is actually recognized (bug 2317).
83
84         * rowpainter.C (paintFromPos): ditch applyOuterFont (bug 2308).
85
86 2006-02-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
87
88         * text2.C (deleteEmptyParagraphMechanism): 64bit compile fix
89
90 2006-02-05  Martin Vermeer  <martin.vermeer@hut.fi>
91
92         * buffer.C:
93         * bufferparams.[Ch]:
94         * lyxtext.h:
95         * paragraph.[Ch]:
96         * paragraph_funcs.C
97         * rowpainter.C:
98         * text.C:
99         * text2.C:
100         * text3.C: Fix bug 2115: blue language lines (for default font)
101         popping up when the documnent font is different. This includes work
102         by Georg Baum.
103
104 2006-02-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
105
106         * exporter.C (Backends): Add "lyx" backend
107         * exporter.C (Export): Handle "lyx" backend
108         * graph.C (getReachable): Don't exclude "lyx"
109         * MenuBackend.C (expandFormats): exclude "lyx" from export menu
110
111 2006-02-03  Martin Vermeer  <martin.vermeer@hut.fi>
112
113         * cursor.C (bruteFind2): convert relative to absolute co-ordinates
114         for correct in-mathed positioning
115
116 2006-02-03  Martin Vermeer  <martin.vermeer@hut.fi>
117
118         * rowpainter.C (paintForeignMark): fix foreign blue line under
119         insets
120
121 2006-01-30  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
122
123         * * text2.C (deleteEmptyParagraphMechanism): fix off-by-one error of the start 
124         pit of the uno range (bug 2022).
125
126 2006-01-28  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
127
128         * messages.C (get): Only warn once if setlocale fails (bug 2177)
129
130 2006-01-28  Martin Vermeer  <martin.vermeer@hut.fi>
131
132         * text2.C (setCharFont): take inset's own font settings into account
133         when defining the font to reduce to, fixes 2019
134
135 2006-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
136
137         * bufferview_funcs.C (coordOffset): remove the check for
138         collapsed collapsables (fix for bug 2094). This is now done
139         on a more general level (cursor.C).
140
141         * dociterator.[Ch] (forwardPos): add an optional argument
142         bool "ignorecollapsed" (default false), which lets forwardPos
143         skip collapsed insets.
144
145         * cursor.C (bruteFind): use forwardPos(ignorecollapsed = true)
146         (fixes bug 2241 and 2094).
147
148 2006-01-26  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
149
150         * buffer.C: change tracking (dvipost) doesn't require
151         color.sty anymore.
152
153         * LaTeXFeatures.C (getPackages): no need for the color
154         option "usenames" (bug 2169).
155
156 2006-01-23  Helge Hafting <helge.hafting@aitel.hist.no>
157         * buffer_funcs.C: Trivial fix - added {} around
158         the statements to be affected by a if-test. Now
159         label in a minipage in a float looks ok on screen again.
160
161 2006-01-23  Martin Vermeer  <martin.vermeer@hut.fi>
162
163         * text2.C: fix bug 2015: on screen fonts in nested environments 
164         can be wrong
165
166 2006-01-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
167
168         * converter.C (convert): handle unknown formats
169
170 2006-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
171
172         * cursor.C (goUpDown): comment out some debug messages.
173
174         * counters.C (newCounter): make error messages more explicit
175         (these appear with some textclasses like beamer)
176
177 2006-01-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
178
179         * kbmap.C (defkey): 
180         * lyxfunc.C (processKeySym): make sure new FuncRequest objects
181         have origin set to KEYBOARD. (bug 2221)
182
183 2006-01-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
184
185         * rowpainter.C (isCursorOnRow): do not exclude endpos().
186
187 2006-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
188
189         * cursor.C (macroModeClose): returns true if an inset actually got
190         inserted; revert faulty fix to bug 2034.
191
192 2006-01-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
193
194         * tabular.C (getLabelList): remove (not used anymore).
195
196 2006-01-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
197
198         * outputparams.[Ch]: add new flag inComment
199
200 2006-01-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
201
202         * text2.C (deleteEmptyParagraphMechanism): since we delete a
203         paragraph, recordUndo should span two paragraphs (bug 2155).
204
205 2006-01-01  Martin Vermeer  <martin.vermeer@hut.fi>
206
207         * rowpainter.C (paintPar): always repaint the row with the
208         cursor in it
209
210 2006-01-01  Lars Gullik Bjønnes <larsbj@gullik.net>
211
212         * MenuBackend.h: 
213         * bufferlist.h: 
214         * lyxtext.h: 
215         * paragraph.h:
216         * vspace.h: fix syntax error
217
218 2005-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
219
220         * text3.C (dispatch): Force refresh if typing into inset changes its
221                               metrics
222
223 2005-12-30  Martin Vermeer  <martin.vermeer@hut.fi>
224
225         * RowList_fwd.h:
226         * paragraph.C:
227         * paragraph.h:
228         * rowpainter.C: Speed up rendering by only re-painting rows that
229         have changed. When selection or whole-screen update active, all rows
230         are repainted, as are all rows within insets.
231
232 2005-12-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
233
234         * version.C.in: Use PACKAGE_VERSION instead of VERSION
235
236 2005-12-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
237
238         * tabular.C (toggleFixedWidth): Use default layout of text class
239         instead of hardcoded "Standard"
240
241 2005-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
242
243         * lyxfunc.C (dispatch): do not call getStatus again to determine
244         whether a lfun is disabled (bug 2172).
245
246 2005-12-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
247
248         * cursor.C (macroModeClose): set the cursor inside the new math
249         atom if relevant (think \frac{}{}) (bug 2034)
250
251 2005-12-19  Martin Vermeer  <martin.vermeer@hut.fi>
252
253         * lyxtext.h:
254         * text.C:
255         * text3.C (Delete, backspace): force update when merging paragraphs
256
257 2005-12-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
258
259         * BufferView.C (mouseSetCursor): clear the selection properly (bug
260         2163). 
261
262 2005-12-08  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
263
264         * text.C (redoParagraph): honor inset->noFontChange()
265         * rowpainter.C (paintInset): ditto
266
267 2005-12-15  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
268
269         * lyx_main.C (priv_exec): don't initialize Math on startup 
270         (initMath() has been moved to math_hullinset).
271
272 2005-12-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
273
274         * lyxrc.C: set default_papersize to PAPER_DEFAULT;
275         handle PAPER_DEFAULT in LyXRC::read and LyXRC::write (bug 2148).
276         * paper.h: dispose dead PAPER_PACKAGES enum.
277
278 2005-12-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
279
280         * Makefile.am (OTHERLIBS): add SOCKET_LIBS in case we compile
281         without X support.
282
283 2005-12-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
284
285         * exporter.C (Export): Don't try to copy a file if it does not exist
286         (bug 1888)
287
288 2005-12-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
289
290         * text2.C (makeFontEntriesLayoutSpecific): remove.
291         (setLayout): adapt.
292
293         * text.C (insertChar): remove bogus caching of fonts (did not do
294         anything). 
295
296         * text2.C (LyXText): initialize current_font to ALL_INHERIT (was
297         ALL_SANE). (bug 2146)
298
299 2005-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
300
301         * rowpainter.C (paintFirst): fix centering of
302         LABEL_CENTERED_TOP_ENVIRONMENT. 
303
304 2005-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
305
306         * BufferView.C (mouseSetCursor): new method. Calls
307         deleteEmptyParagraphMechanism if necessary.
308
309         * lyxtext.h: make deleteEmptyParagraphMechanism public.
310
311         * text3.C (dispatch/LFUN_MOUSE_PRESS): use
312         BufferView::mouseSetCursor (bug 2109).
313         (dispatch/LFUN_PASTE): remove #warning that is now irrelevant.
314
315 2005-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>  
316
317         * text3.C (dispatch/LFUN_INDEX_INSERT): when a selection is set,
318         do not remove it (this inset behaves differently from the others).
319
320 2005-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
321
322         Fix bug 2096.
323         
324         * BufferView_pimpl.C (getStatus): it is only possible to insert a
325         file in a text inset.
326
327         * buffer.C (readDocument): remove pit argument and code releated
328         to it; set the inset owner correctly (unrelated, but useful).
329         (readFile): get rid of pit argument.
330
331         * CutAndPaste.C (pasteSelectionHelper): use a ParagraphList and a
332         textclass instead of a selection index.
333         (pasteParagraphList): new function.
334         (pasteSelection): make it a wrapper around pasteParagraphList.
335
336         * BufferView_pimpl.C (MenuInsertLyXFile): use
337         cap::pasteParagraphList to insert a file.
338
339 2005-11-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
340
341         * buffer_funcs.C (bufferErrors): prevent endless loop (bug 2121)
342
343 2005-11-17  Michael Gerz  <michael.gerz@teststep.org>
344
345         * exporter.C: fix typo in text message
346
347 2005-11-28  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
348
349         * text2.C (setLayout): move recUndo call to other setLayout method
350         * tabular.C (toggleFixedWidth): new, handle cell width changes
351         * tabular.C (setColumnPWidth): move some code from insettabular.C here
352         and use toggleFixedWidth
353         * tabular.C (setMColumnPWidth): ditto
354
355 2005-11-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
356
357         * paragraph.C (asString): use new inset->textString method (fix
358         bug 2089) 
359
360 2005-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
361
362         * CutAndPaste.C (numberOfSelections): new helper function.
363
364         * lyxfunc.C (getStatus): remove support for LFUN_COPY and LFUN_CUT.
365
366         * text3.C (getStatus): move code for LFUN_CUT and LFUN_COPY from
367         LyXFunc::getStatus; implement LFUN_PASTE.
368
369 2005-11-17  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
370
371         * dociterator.[Ch]: new member realInset() that returns the cell
372         for tabulars and the inset for the rest (bug 1952).
373         * undo.C (textUndoOrRedo): use realInset when resetting insetOwner
374         (bug 1952).
375
376 2005-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
377
378         * text.C (leftMargin): honor the NextNoIndent tag in layouts.
379
380 2005-11-17  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
381
382         * lyxfunc.C:
383         * paragraph.C:
384         * text3.C: InsetBase::forceDefaultParagraphs now takes a cell as
385         argument.
386
387 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
388
389         * text.C (redoParagraph): Fix bug 1966: cursor doesn't go to next
390         line after typing ctrl-enter
391
392 2005-11-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
393
394         * bufferview_funcs.C (coordOffset): fix the fix for bug 2094, as
395         math insets do not return a proper editable() state yet (bug 2124).
396
397 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
398
399         * BufferView_pimpl.[Ch]: Fix bug 1814: better scroll behaviour for 
400         docs containing very large paragraphs.
401
402 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
403
404         * cursor.C (selectionBegin, selectionEnd):
405         * text.C (drawSelection): Fix bug 2115: assertion when anchor and 
406         cursor at different depths.
407
408 2005-11-03  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
409
410         * bufferview_funcs.C (coordOffset): do not call cursorPos
411         for collapsed collapsables (fix bug 2094).
412
413 2005-11-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
414
415         * paragraph.C (fontSpan): make sure that the FontSpan does not
416         span across beginOfBody (bug 1947).
417
418 2005-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
419
420         * lyxlength.h: undefine macros that clash with solaris/x86 (bug 992)
421
422 2005-11-03  Michael Gerz  <michael.gerz@teststep.org>
423
424         * messages.C: fix crash and localization on MinGW/Windows platform
425
426 2005-11-02  Angus Leeming  <leeming@lyx.org>
427
428         * Bidi.C:
429         * lyxtextclass.C: trivial fixes to some MSVS warnings.
430
431 2005-10-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
432
433         * text3.C (getStatus): re-enable disabled code. (bug 2081)
434
435         * BranchList.h (empty): constify.
436
437 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
438
439         * text3.C (getStatus): 
440         * MenuBackend.C (expandBranches): take the branch list from the
441         master document (bug 2092).
442         
443         * MenuBackend.C (expandBranches): 
444         * bufferparams.C (writeFile): use BranchList type.
445
446 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
447
448         * text3.C (dispatch, getStatus): 
449         * LyXAction.C (init): 
450         * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
451
452 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
453
454         * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
455
456 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
457
458         * text.C (insertChar): do not reset boundary (bug 2061)
459
460 2005-10-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
461
462         * dociterator.C (updateInsets): new method. Updates the inset_
463         cache of all the slices of the iterator.
464
465         * text2.C (deleteEmptyParagraphMechanism): compare also containing
466         insets when comparing pit/pos; pass the right cursor to
467         recordUndo; when a paragraph has been deleted, compare `old.top()' to
468         the right cursor slice of `cur'; use updateInsets on cur to make
469         sure that the inset caches are correct; general cleanup.
470
471 2005-10-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
472
473         * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
474         dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
475         containg inset. If this does not work, the same command will be
476         sent to other insets down the queue by LCursor::dispatch. (bug 2066)
477
478         * lyxfunc.C (dispatch): make sure the cursor is correct when doing
479         a dispatch.
480
481 2005-10-20  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
482
483         * lyxtextclass.C (Read): convert layout file if the format is wrong
484         * lyxtextclass.C (layout2layout): new, needed for the above
485
486 2005-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
487
488         * messages.C: do not forget to include <cerrno>.
489
490 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
491
492         * dociterator.h (StableDocIterator): add access to pos().
493         * undo.C (samePar): new method to check if two
494         iterators are in the same paragraph
495         * undo.C (recordUndo): check for samePar instead of cell identity
496         (which includes pos() and is too strict) (fixes bug 2097)
497
498 2005-10-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
499
500         * text.C (setCursorFromCoordinates): return a bool telling whether
501         dEPM triggered.
502
503         * text3.C (cursorPrevious): update if needed after
504         setCursorFromCoordinates (when dEPM triggered).
505
506         * text2.C (cursorDown, cursorUp): make sure to reset the anchor
507         (otherwise the anchor may be completely wrong and make dEPM assert).
508
509 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
510
511         * buffer.C: version upgrade to 245.
512         * bufferparams.C: remove \quotes_times (bug 2090).
513         * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
514         quotation marks as default.
515
516 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
517
518         * CutAndPaste.C (nrOfParagraphs): remove (unused)
519         * CutAndPaste.C (cutSelection): Remove debug message
520         * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
521         undo information and only copy if this is a real cut
522         * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
523         call
524         * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
525         (bug 2059)
526         * CutAndPaste.C (eraseSelection): prevent cursor corruption
527         * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
528         superflous cur.selection() setting
529         * CutAndPaste.[Ch] (grabSelection): take a const cursor
530         * cursor.C (selectionAsString): implement mathed case ((bug 2059)
531
532 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
533
534         * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
535         change anything.
536
537 2005-10-11  Martin Vermeer  <martin.vermeer@hut.fi>
538
539         * BufferView_pimpl.C: comment layout change
540
541 2005-10-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
542
543         * LyXAction.C:
544         * lfuns.h:
545         * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
546         by bibliography managers (bug 2071).
547
548 2005-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
549
550         * BufferView_pimpl.C (update): choose arguments to update call so
551         that single-par update works most times
552         * text3.C (dispatch): carefully tune updating separately for
553         whole-screen and current-paragraph
554         * rowpainter.C (paintText): 1) replace painting by caching for
555         the two extra paragraphs, because we can;
556         2) suppress greying out of areas below/above drawn area in case of
557         single-par refresh
558         * lyxfunc.C (dispatch): remove superfluous update
559         * LyXAction.[Ch]: introduce SingleParUpdate
560
561 2005-10-05  Angus Leeming  <leeming@lyx.org>
562
563         * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
564         always initialised before use.
565
566         * text.C (setHeightOfRow): squash warning about comparison
567         of signed and unsigned types.
568
569 2005-10-03  Martin Vermeer  <martin.vermeer@hut.fi>
570
571         * text.C (cursorX): two fixes involving RtL text drawing
572
573 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
574
575         * cursor.C (erase): fix 'clever' UI hack. It was activated for all
576         items, not only large ones (part of bug 2057)
577
578 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
579
580         * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
581         argument, use "newcommand".
582
583 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
584
585         * cursor.C (setSelection): do not open collapsable insets;
586         the insets do by themselves now (autoopen).
587
588 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
589
590         * buffer.C: format is up to 244.
591
592 2005-09-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
593
594         * text.C (redoParagraph): fix calcultation of inset width wrt 
595         leftMargin (bug 1957).
596
597         * text3.C (dispatch): leave inset to the right when hitting ESC 
598         (bug 2034).
599
600 2005-09-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
601
602         * text2.C: 
603         * text.C: 
604         * factory.C:
605         * messages.C: include <boost/current_function.hpp> 
606
607 2005-09-12  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
608
609         * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
610         when command is internal. (bug 1941)
611
612 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
613
614         * text2.C (cursorRight): do not honor boundary when at the end of
615         a paragraph. (bug 2010 again)
616
617 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
618
619         * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
620
621 2005-09-19  Martin Vermeer  <martin.vermeer@hut.fi>
622
623         * rowpainter.C (paintText): fix RtL space width display bug (2029)
624
625 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
626
627         * text2.C (setCursor): remove the unused 'boundary' parameter for
628         the CursorSlice version; adapt the LCursor version.
629
630         * lyxrc.C (write): 
631         * paragraph_pimpl.C (markErased): 
632         * cursor.C (bruteFind2, bruteFond3): fix warnings.
633
634 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
635
636         * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
637         as is already done for "chapter".
638
639 2005-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
640
641         * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
642         textclass; do not record undo if nothing is changed.
643
644 2005-09-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
645
646         * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
647
648 2005-09-14  Michael Gerz  <michael.gerz@teststep.org>
649
650         * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
651
652 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
653
654         * BufferView_pimpl.C (setBuffer): when one wants to set the layout
655         combox, it is necessary to search for the topmost paragraph in the
656         cursor stack (bug 1926)
657
658 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
659
660         * text2.C (cursorEnd, cursorRight): do not set boundary to true at
661         end of paragraph. (bug 2010)
662
663 2005-09-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
664
665         * text.C (leftMargin): check for inInset == 0
666
667 2005-09-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
668
669         * text.C (leftMargin): test for insetbase's new neverIndent()
670         bool instead of listing each and every inset that does not
671         wish par indendation.
672
673 2005-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
674
675         * buffer_funcs.C (setCounter): put the code to compute enum label
676         here (where it belongs).
677
678         * counters.C (enumLabel): move code to buffer_funcs.C.
679
680 2005-09-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
681
682         * outputparams.[Ch]: store local_font instead of local_language
683         * paragraph.C (simpleTeXOnePar): adapt to the change above
684
685 2005-09-08  Martin Vermeer  <martin.vermeer@hut.fi>
686
687         * buffer_funcs.C:
688         * counters.[Ch]: clean up special code for Hebrew.
689
690 2005-09-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
691
692         * lyxfunc.C (lookupChange): fix code when cursor depth is greater
693         than 2.
694
695 2005-09-08  Angus Leeming  <leeming@lyx.org>
696
697         * ispell.C:
698         * lyxrc.C: correct grammar describing invocation of the
699         spellchecker.
700
701 2005-08-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
702
703         * text.C (read): remove unused variable.
704         (readParToken): remove static Change variable (never good in
705         recursive settings...); add it as a parameter instead.
706
707         * paragraph_pimpl.C (acceptChange): make debug info conditional.
708
709         * metricsinfo.C (PainterInfo): add new member erased_.
710
711         * rowpainter.C (RowPainter): add erased_ member, initialized from
712         PainterInfo. 
713         (paintInset): pass erased_ to Inset::draw.
714
715         * lyxfunc.C (lookupChange): new function. Tells whether change 
716         tracking is disabled at a given postion.
717         (getStatus): disable some actions when in deleted text with change
718         tracking. 
719
720 2005-08-03  John Levon  <levon@movementarian.org>
721         
722         * tabular.C (appendColumn, setMultiColumn): adapt to change to
723         InsetText::clear().
724
725         * paragraph_pimpl.C (markErased): add bool argument and handle it.
726         Also make sure to mark insets recursively.
727         (rejectChange, erase): be recursive
728
729         * paragraph.C (markErased): add bool argument.
730 2005-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
731
732         * lyxfind.C (findNextChange): tiny cleanup.
733
734         * BufferView_pimpl.C (trackChanges): avoid crash when stopping
735         change tracking with the cursor in an inset; make sure the first
736         change is not skipped.
737
738 2005-09-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
739
740         * CutAndPaste.[Ch]: new methods dirtyTabularStack and 
741         tabularStackDirty to work around bug 1919 (tabular needs
742         to know whether its own cell paste buffer or the one of 
743         texted is newer.
744         * CutAndPaste.C: mark tabular_stack_ clean after copy.
745
746 2005-08-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
747
748         * text2.C (cursorEnd): check for empty text (fixes bug 1998)
749
750 2005-08-19  Lars Gullik Bjønnes  <larsbj@gullik.net>
751
752         * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
753         use old deleteion algorithm when changetracking is on.
754
755 2005-08-18  Martin Vermeer  <martin.vermeer@hut.fi>
756
757         * messages.C (get): add debug output.
758
759 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
760
761         * text.C (cursorX): fix bug 1965: cursor movement at
762         line end broken in RtL.
763         (drawSelection): fix bug 1970: drawing of single-line 
764         selection broken for RtL.
765
766 2005-07-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
767
768         bug 465.
769
770         * dociterator.h (clear, push_back, pop_back): change from
771         protected to public.
772
773         * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
774         and changed to just return the value of the item depth; take a
775         ParIterator as argument; take the itemdepth at outer nesting level
776         in account if necessary; cleanup and comment the code.
777         (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
778         and changed to just return true if reset is needed; take a
779         ParIterator as argument; cleanup and comment the code.
780         (setCounter): adapt to above changes.
781
782 2005-07-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
783
784         * text3.C (dispatch): make debug message optional
785
786 2005-08-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
787
788         * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
789         inset. (bug 1963)
790
791 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
792
793         * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
794
795 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
796
797         * text.C (insertChar):
798         * text2.C (deleteEmptyParagraphMechanism): take care whether 
799         a blank has been deleted (in change tracking mode) (bug 1254).
800
801 2005-07-20  John Levon  <levon@movementarian.org>
802
803         * text2.C (insertStringAsLines): remove old dubious code,
804         fixing bug 1939.
805
806 2005-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
807
808         * MenuBackend.C (expandToc): use Floating::listName() as title of
809         the floats submenus.
810
811 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
812
813         * toc.[Ch]: Do not use translatable strings (bug 1870).
814
815 2005-07-20  John Levon  <levon@movementarian.org>
816
817         * tabular.C: fix 1748 - setting multicolumn adds
818           left line to the first cell
819
820 2005-07-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
821
822         bug 1920
823         * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
824         pars in one go.
825
826 2005-07-18  Lars Gullik Bjønnes  <larsbj@lyx.org>
827
828         * messages.C: supress some lyxerr messages
829
830 2005-07-18  Juergen Vigna  <jug@lyx.org>
831
832         * text.C (drawSelection): honor boundary when asking for cursorX.
833
834 2005-07-17  José Matos  <jamatos@fc.up.pt>
835
836         * tabular.C (recalculateMulticolumns): fix handling of one column
837         tables.
838
839 2005-07-17  Juergen Vigna  <jug@lyx.org>
840
841         * text.C (Delete, backspace): fixed so that paragraph with the
842         same layout can be merged by Delete/Backspace.
843
844 2005-07-17  Michael Schmitt  <michael.schmitt@teststep.org>
845
846         * text.C (readParToken): fix spelling.
847
848 2005-07-17  Martin Vermeer  <martin.vermeer@hut.fi>
849
850         * text2.C: fix counter update for DEPM problem reported by
851         Georg Baum
852
853 2005-07-17  Juergen Vigna  <jug@lyx.org>
854
855         * BufferView_pimpl.C (setBuffer): save/restore the
856         cursor/selection when switching buffers
857
858         * buffer.h: 
859         * buffer.C (saveCursor): add saveDocumentIterators to save the
860         cursor when switching buffer.
861
862 2005-07-17  Michael Schmitt  <michqel.schmitt@teststep.org>
863
864         * debug.C: fix typo
865         * buffer.C: clarify message
866         
867 2005-07-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
868
869         * dociterator.C (DocIterator): fix initialization order
870
871 2005-07-17  Juergen Vigna  <jug@lyx.org>
872
873         * text2.C (cursorHome): 
874         * text.C (drawSelection, cursorX): 
875         * dociterator.C (textRow): add boundary to getRow() call
876
877         * paragraph.C (getRow): implementation of below
878
879         * paragraph.h: add parameter boundary for getRow() function
880
881 2005-07-17  José Matos  <jamatos@fc.up.pt>
882
883         * buffer.C:
884         * bufferparams.[Ch]:
885         * tex-strings.[Ch]: new file format, remove support for a4.sty,
886         a4wide.sty and a4widemargins.
887
888 2005-07-17  Juergen Vigna  <jug@lyx.org>
889
890         * text2.C (cursorLeft): fix one of error
891
892 2005-07-17  Juergen Vigna  <jug@lyx.org>
893
894         * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
895                    cursorEnd):
896         more fixes for boundary handling
897
898         * text3.C (dispatch): don't reset cursor if boundary has changed
899         on cursor movement.
900
901 2005-07-16  Juergen Vigna  <jug@lyx.org>
902
903         * text2.C (getColumnNearX): hopefully got it right now,
904         check if we are on column 0 for special case.
905
906 2005-07-16  Juergen Vigna  <jug@lyx.org>
907
908         * text2.C (getColumnNearX): handle special case Newline Inset
909
910         * text.C (singleWidth): Just remove bogus check
911
912 2005-07-16  Michael Schmitt  <michael.schmitt@teststep.org>
913
914         * funcrequest.C (split): avoid reading uninitialized char c
915
916 2005-07-16  José Matos  <jamatos@fc.up.pt>
917
918         * buffer.C:
919         * converter.C:
920         * lyxrc.C:
921         * paper.h:
922         * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
923         single papersize variable.
924
925 2005-07-16  Juergen Vigna  <jug@lyx.org>
926
927         * text3.C (dispatch): honor boundary when checking if a cursor
928         movement has been done
929
930         * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown) 
931         (setCursor, setCursorIntern): fix cursor movement with boundary
932
933 2005-07-16  Juergen Vigna  <jug@lyx.org>
934
935         * text.C (currentState): output the actual Boundary
936
937 2005-07-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
938
939         * factory.C (createInset): fix bad logic for tabular creation
940
941 2005-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
942
943         * lyx_main.C (init): change some reLyX reference to tex2lyx
944
945 2005-07-16  Juergen Vigna  <jug@lyx.org>
946
947         * dociterator.C (DocIterator): initialize boundary
948
949 2005-07-16  Juergen Vigna  <jug@lyx.org>
950
951         * text2.C (getColumnNearX): Consider rows without trailing blank.  
952
953 2005-07-16  André Pönitz  <poenitz@gmx.net>
954
955         * lyxfont.h: Change order of declarations to give the compiler
956         a better chance to inline things
957
958         * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
959         questions on unsaved docs for better scritability
960
961 2005-07-16  André Pönitz  <poenitz@gmx.net>
962
963         * paragraph.h (getChar): remove asserts as the same kind of security
964         can be achieved by using a suitable standard library implementation
965         and the function was in the critical path (25.9% in profiler)
966
967 2005-07-16  Juergen Vigna  <jug@lyx.org>
968
969         * cursor.C (bruteFind2):
970         * bufferview_funcs.C (coordOffset): 
971         * text.C (cursorX,cursorY): Handle cursor position after last char
972         in row before a inset which uses a whole row.
973
974 2005-07-15  José Matos <jamatos@lyx.org>
975
976         * output_plaintext.[Ch] (writeFileAscii): control reference title
977         printing.
978         (asciiParagraph): noparbreak was already deal and was incorrectly
979         used.
980
981 2005-07-15  Juergen Vigna <jug@lyx.org>
982
983         * lyxfunc.C (dispatch): save and restore the cursor after a
984         textclass switch.
985
986 2005-07-15  Lars Gullik Bjønnes <lgb@tandberg.net>
987
988         * text.C (backspace): bug 806 for empty keepempty paragraphs we
989         change the layout to default before letting DEPM do its thing.
990
991         * paragraph_funcs.C (breakParagraph): dont reset the layout on
992         keepEmpty paragraphs
993
994         * text.C (setCursorFromCoordinates): add a debug statement
995
996         * text2.C (getColumnNearX): bug 1825 make sure that we don't
997         return a pos that is not on the row
998
999         * output_latex.C (TeXDeeper): get rid of potential dereferencing
1000         of past the end iterator
1001
1002 2005-07-14  André Pönitz  <poenitz@gmx.net>
1003
1004         * undo.C (recordUndoFullBuffer): implement undo for
1005         textclass switches
1006
1007 2005-07-14  André Pönitz  <poenitz@gmx.net>
1008
1009         * cursor.C (setSelection): open insets when selection is set there
1010         to avoid crashs with cold coord cache
1011
1012 2005-07-14  André Pönitz  <poenitz@gmx.net>
1013
1014         * trans_mgr.C (insert): move cursor to the right after inserting
1015         a char.
1016
1017 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
1018
1019         * BufferView_pimpl.C (update): dampen some of the debug blabbering
1020         * factory.C (readInset): ditto
1021         * text.C, text2.C: ditto
1022
1023 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1024
1025         * buffer.C: format incremented to 242. There is no file format per
1026         se, but the "frenchb" language has been removed from lib/language
1027         and has to be translated to "french" by lyx2lyx.
1028
1029 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1030
1031         * cursor_slice.h, dociterator.h: add some documentation
1032         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
1033
1034 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1035
1036         * text.C (leftMargin): do not add identation to display() style
1037         insets, because they are always centered (bug 1293).
1038
1039 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1040
1041         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
1042         formatted_time methods in support/lyxtime.
1043
1044 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1045
1046         * toc.[Ch]: new method getGuiName, which is used by the frontends 
1047         to set the toc combo (fixes bug 1870). Make TOC string translatable.
1048
1049 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1050
1051         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
1052         StableDocIterator const &)
1053         * undo.C (recordUndo): use the above instead of cell.size() comparison
1054         (fixes bug 1808; instructed by Andr�.
1055
1056 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
1057
1058         * cursor_slice.h: 
1059         * dociterator.h: Fix the assert when copying rows/cols in math
1060
1061 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1062
1063         * BufferView_pimpl.C:
1064         * LyXAction.C:
1065         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
1066
1067         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
1068         (findInset): new functions, refactored from goto Inset that return 
1069         the position of a certain inset without setting the buffer's cursor
1070         (by Jean-Marc); 
1071         (gotoInset): rewrite to call findInset and then set the cursor
1072         (by Jean-Marc).
1073
1074 2005-06-16  Angus Leeming  <leeming@lyx.org>
1075
1076         * lyxrc.C (output, read): wrap all input and output of paths with
1077         calls to os::internal_path and os::external_path, respectively.
1078         (output): wrap bind_file inside quotes.
1079
1080         * format.C (view): enable the viewer to use the '$$s' placeholder.
1081
1082 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1083
1084         * LColor.[Ch] (getFromLaTeXName): new
1085
1086 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
1087
1088         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
1089
1090 2005-06-14  Angus Leeming  <leeming@lyx.org>
1091
1092         * lyx_main.C (init): ensure that the LyX binary dir is the first
1093         element in the PATH on non-POSIX builds.
1094
1095 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1096
1097         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
1098
1099 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1100
1101         * rowpainter.C (paintInset, paintHebrewComposeChar)
1102         (paintArabicComposeChar, paintChars): add a LyXFont argument.
1103         (paintChars): use getFontSpan to reduce calls to getFont to a
1104         minimum; use Paragraph::lookupChange instead of isXXXText.
1105         (paintForeignMark): rename LyXFont argument.
1106         (paintFromPos): pass a LyXFont object to the various paintXXX
1107         methods.
1108
1109         * FontIterator.C (FontIterator, operator++): use
1110         Paragraph::getFontSpan
1111
1112         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
1113         version that returns the font span as a pair.
1114
1115 2005-06-09  Angus Leeming  <leeming@lyx.org>
1116
1117         * converter.C (convert): Don't forget "outfile = real_outfile" as
1118         the final step in a conversion where the input and output file names
1119         are the same. Otherwise, future conversion steps won't work...
1120
1121 2005-06-09  Angus Leeming  <leeming@lyx.org>
1122
1123         * lyxsocket.C: remove stub code as it isn't needed by
1124         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
1125
1126 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1127
1128         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
1129         effectively disabled -x
1130
1131 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1132
1133         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
1134         when it actually makes sense.
1135
1136 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
1137
1138         * BufferView_pimpl.C: revert to showCursor in connection with
1139         Lars's front-end stack
1140
1141 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1142
1143         * text.C (redoParagraph): move cursor right after a bibitem
1144         has been inserted.
1145
1146         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
1147
1148 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1149
1150         * buffer_funcs.C (bufferErrors): fix computation of the end of an
1151         error range.
1152
1153 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
1154
1155         * BufferView.[Ch] (update):
1156         * BufferView_pimpl.[Ch] (update, metrics):
1157         * dimension.h (operator==):
1158         * lyxfunc.C (dispatch):
1159         * metricsinfo.h (ViewMetricsInfo):
1160         * rowpainter.C (paintText):
1161         * lyxtext.h:
1162         * text.C (redoParagraph):
1163         * text3.C (dispatch): Make LyX only repaint current paragraph in
1164         case of character insert --> speedup. Also fix cursor draw
1165         artifacts
1166
1167 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1168
1169         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
1170         avoid a crash (bug 1891)
1171
1172 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1173
1174         Fix bug 1892:
1175
1176         * text2.C (getStringToIndex): constify cur argument.
1177
1178         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
1179         argument has been given
1180         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
1181         try to invoke LFUN_INSET_APPLY).
1182
1183         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
1184         if no inset was created by doInsertInset
1185         (doInsertInset): return true if an inset has been inserted.
1186
1187 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1188
1189         * vspace.C (asGUIName): new method. A version of the space
1190         suitable for showing on screen.
1191
1192 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
1193
1194         * MenuBackend.C:
1195         * lyxrc.C: rename "ASCII" to "Plain Text"
1196
1197 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1198
1199         * buffer_funcs.C (expandLabel): take a Buffer as argument;
1200         translate the labelstring.
1201         (setCounter): translate labelstring as needed.
1202
1203         * output_docbook.C (makeCommand): fix expandLabel invokation
1204
1205 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
1206
1207         * BufferView.C: fix dialog title
1208
1209 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1210
1211         * lyx_main.C (priv_exec): fix logic error with help from Angus
1212         * lyx_main.C (parse_execute): set is_gui = false and remove now
1213         obsolete comment about a segfault
1214
1215 2005-05-18  Angus Leeming  <leeming@lyx.org>
1216
1217         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
1218
1219 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
1220
1221         * tabular.[hC]: added setCellInset to fix tabular paste.
1222
1223 2005-05-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1224
1225         * buffer.C (save): check if destination is writable before trying
1226         to copy a file
1227
1228 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
1229
1230         * BufferView_pimpl.C (update): fix processEvents -caused update
1231         recursion bug
1232
1233 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1234
1235         * buffer_funcs.C (setCounter): fix test for numbering of
1236         environments.
1237
1238         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
1239         depth correctly; use optional argument when it exists
1240
1241         * lyxtextclass.C: remove unused MaxCounterTags enum
1242         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
1243         (max_toclevel, min_toclevel): new methods.
1244
1245         * MenuBackend.C (expandToc2): fix case where depth is smaller than
1246         the smallest depth in toc.
1247
1248         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
1249         layouts that should not appear in a table of contents.
1250
1251 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1252
1253         * cursor.h (undispatched, noUpdate): add comments from Andr�
1254 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
1255
1256         * lfuns.h:
1257         * LyXAction.C:
1258         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
1259
1260 2005-05-07  André Pönitz  <poenitz@gmx.net>
1261
1262         * cursor.[Ch] (leaveInset): new function
1263
1264 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1265
1266         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
1267
1268 2005-05-04  Angus Leeming  <leeming@lyx.org>
1269
1270         * lyxfunc.C (getStatus): disable the spell checker dialog if
1271         none of USE_[AIP]SPELL are defined.
1272
1273 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
1274
1275         * tabular.C (setWidthOfCell): remove obsolete comment
1276
1277 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
1278
1279         * paragraph.C (bibitem):
1280         * buffer_funcs.C (setCounter):
1281         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
1282
1283 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1284
1285         * text3.C (getStatus): immediately return after setOnOff
1286
1287         * rowpainter.C: fix drawing of appendix start
1288
1289 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1290
1291         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
1292         SwitchBetweenClasses and remove the unused return value.
1293         Handle character styles, too
1294
1295 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
1296
1297         * factory.C (createInset): handle undefined character styles
1298
1299 2005-05-02  Angus Leeming  <leeming@lyx.org>
1300
1301         * buffer.C: protect the #include of utime.h with a preprocessor
1302         guard.
1303
1304 2005-05-02  Angus Leeming  <leeming@lyx.org>
1305
1306         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
1307         function so that auto-saving works, albeit in a blocking manner.
1308
1309         * Makefile.am: make compilation of the client sub directory, of
1310         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
1311         on conditionals set at configure time.
1312
1313         * SpellBase.[Ch]: no longer an abstract base class. Instead,
1314         it can be compiled in its own right but has no-op functionality.
1315
1316         * aspell.C, pspell.C: remove preprocessor guards. The files should
1317         be compiled only if the necessary functionality exists.
1318
1319         * lyxserver.C, lyxsocket.C: disable on Windows.
1320
1321 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
1322
1323         * text.C (leftMargin): Fix the parindent use bug (1764)
1324         by dirty trick
1325
1326 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
1327
1328         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
1329         argument.
1330
1331 2005-04-25  Angus Leeming  <leeming@lyx.org>
1332
1333         * Bidi.[Ch]:
1334         * coordcache.[Ch]:
1335         * ispell.C:
1336         * lyxserver.C:
1337         * mover.C:
1338         * pch.h:
1339         include <config.h> in .C files, not .h ones.
1340         add licence blurb.
1341         protect headers inside preprocessor guards.
1342
1343 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1344
1345         * FuncStatus.h (StatusCodes): document
1346
1347 2005-04-21  André Pönitz  <poenitz@gmx.net>
1348
1349         * FuncStatus.h (enabled, onoff): document
1350
1351 2005-04-19  Angus Leeming  <leeming@lyx.org>
1352
1353         * BufferView_pimpl.C (cursorToggle): no longer test whether
1354         any child processes have been reaped before calling
1355         handleCompletedProcesses().
1356
1357 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
1358
1359         * text3.C (dispatch): fix, finally fix, the language problem in
1360         new lyxtexts, without disabling on-the-fly font changes (Helge's
1361         bug report)
1362
1363 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1364
1365         * text3.C (dispatch): set cursor on double/triple click events
1366         (bug 1811)
1367
1368 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1369
1370         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
1371         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
1372
1373         * rowpainter.C (paintFirst): simplify the code a little bit. In
1374         particular, remove the test for secnumdepth.
1375         * text.C (setHeightOfRow): only allocate space for chapter number
1376         when updateCounters provided an actual label, instead of looking
1377         at secnumdepth directly.
1378
1379         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
1380
1381         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
1382         paragraphs when secnumdepth is large enough or, for environments,
1383         when they are not the first in a sequence.
1384
1385 2005-04-17  Angus Leeming  <leeming@lyx.org>
1386
1387         * buffer.C (makeLaTeXFile): replace code to manipulate a path
1388         containing space and '~' characters with a call to latex_path().
1389
1390 2005-04-17  Angus Leeming  <leeming@lyx.org>
1391
1392         * converter.C (convert): protect all args of convertDefault.sh
1393         script with quotes.
1394
1395 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1396
1397         * text3.C (dispatch): change the layout to "Caption" after inserting
1398         a float.
1399
1400 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1401
1402         * text3.C (dispatch): fix language problem in newly created
1403         textinsets (and main text) in non-english docs
1404
1405 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1406
1407         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
1408         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
1409         * text3.C (getStatus): disable LFUN_INSET_MODIFY
1410
1411 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1412
1413         * lyxtext.h:
1414         * text.C (metrics):
1415         * text2.C (getFont):
1416         * rowpainter.C (getFont): Fix metrics bug introduced by inset
1417         fonts fix
1418
1419 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1420
1421         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
1422         output of \item arguments without trailing text.
1423
1424 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1425
1426         * FontIterator.C (operator*): avoid a copy of the font.
1427
1428 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1429
1430         * rowpainter.C (getFont): fix language bug from previous fix
1431
1432 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1433
1434         * rowpainter.C (RowPainter, getFont): fix font inside inset
1435         (bugs 1766, 1809)
1436
1437 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
1438
1439         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1440         preventing inserted font, deco, delim insets jumping to start of
1441         surrounding inset.
1442
1443 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1444
1445         * lyxfunc.C (dispatch): translate message before sending it to the
1446         minibuffer.
1447
1448 2005-03-29  Angus Leeming  <leeming@lyx.org>
1449
1450         * lyx_main.C (priv_exec): call os::internal_path on each file passed
1451         to LyX on the command line.
1452
1453 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
1454
1455         * vc-backend.C: use QuoteName to protect file names wherever
1456         necessary.
1457
1458 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
1459
1460         * buffer.[Ch]:
1461         * BranchList.h: fix bugs 1844,1845: document settings don't
1462         stick
1463
1464 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1465
1466         * lyxrc.C (setDefaults, read, output, getDescription): add support
1467         for tex_allows_spaces.
1468
1469         * exporter.C (Export): allows files in directory containing spaces
1470         if tex_allows_spaces is true.
1471
1472         * buffer.C (makeLaTeXFile): if the document path contains spaces,
1473         output it in double quotes.
1474
1475 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1476
1477         * rowpainter.C: use default text height for drawing change tracker
1478         strikeout lines.
1479
1480 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1481
1482         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1483
1484 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1485
1486         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1487         directory is missing.
1488
1489 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
1490
1491         * text2.C: fixed the fix, extended to other case.
1492
1493 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
1494
1495         * text2.C: fix for cursor up/down stuck in math [bug 1792]
1496
1497 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
1498
1499         * text2.C (cursorUp): get rid of a crash
1500         * text.C (x2pos): add an assert
1501
1502 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1503
1504         * lyxfunc.C (getStatus): fix warning when assertions are disabled
1505
1506         * text3.C:
1507         * lyxfunc.C:
1508         * dociterator.C: include <boost/current_function.hpp>, which is
1509         needed when assertions are disabled.
1510
1511 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1512
1513         * text2.C: fix for stuck cursor when traversing two
1514         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1515
1516 2005-02-25  Andreas Vox  <avox@arcor.de>
1517
1518         * output_docbook.C (makeParagraph): suppress trailing newline
1519         after a run of paragraphs
1520
1521 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1522
1523         * paragraph.C: fix for confused change tracker when pasting
1524         text that begins with a lineseparator. [bug 1827]
1525         (setChange(0, Change::INSERTED);)
1526
1527         * paragraph_funcs.C: fix for lost changes on triple-paste
1528         in change tracking mode [bug 1827] (par.setChange()).
1529
1530 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1531
1532         * text2.C (updateCounters, setCounter, expandLabel): move to
1533         buffer_funcs.
1534
1535         * buffer_funcs.C (updateCounters): turn into a free standing
1536         function and add a buffer parameter. Remove dead code for tracking
1537         labelstring change.
1538         (setCounter): change into a free-standing function which gets a
1539         dociterator as argument. Use this iterator to fix captions in a
1540         simple way. When no float is found above the caption, use the
1541         labelstring of the caption layout as default.
1542
1543         * text.C (breakParagraph, backspace):
1544         * text2.C (init, setLayout, changeDepth):
1545         * text3.C (dispatch):
1546         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1547         updateCounters.
1548
1549         * dociterator.C (forwardPar): make it much faster by calling
1550         forwardPos() only when really necessary.
1551
1552         * output_docbook.C (makeCommand): adapt to expandLabel move.
1553
1554         * cursor.C: remove unused variable
1555
1556 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1557
1558         * paragraph_funcs.C: fix crash when pasting insets in change
1559         tracking mode [bug 1277] (honour change type in moveItem).
1560
1561 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1562
1563         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1564
1565 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1566
1567         * BufferView.C (setCursor): change to use a DocIterator.
1568         (gotoLabel): use BufferView::setCursor (other part of bug 781).
1569         (putSelectionAt): adapt to BufferView::setCursor change.
1570
1571         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1572         moved here from LyXText and rewritten to use proper cursor
1573         methods. Fixes bug 1787, 616 and 835.
1574
1575         * BufferView_pimpl.C (restorePosition): set the cursor correctly
1576         when inside an inset (part of bug 781).
1577         (dispatch): adapt to change of BufferView::setCursor.
1578         (getStatus, dispatch): handle LFUN_GOTOERROR,
1579         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1580
1581         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1582         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1583         * text3.C (gotoNextInset, gotoInset): removed.
1584
1585 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1586
1587         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1588
1589 2005-02-15  Angus Leeming  <leeming@lyx.org>
1590
1591         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1592         can be used meaningfully in a comparison.
1593
1594 2005-02-13  André Pönitz  <poenitz@gmx.net>
1595
1596         * bufferview_funcs.C (coordOffset): improve cursor drawing
1597
1598 2005-02-13  André Pönitz  <poenitz@gmx.net>
1599
1600         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1601         * Cursor.C (dispatch): use fixIfBroken
1602         * lyxfunc.C (getStatus): use fixIfBroken
1603
1604 2005-02-15  Angus Leeming  <leeming@lyx.org>
1605
1606         * lyx_main.C (error_handler):
1607         * lyxfunc.C:
1608         * lyxrc.C (setDefaults):
1609         s/GetEnv/getEnv/.
1610         #include "environment.h".
1611
1612         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1613
1614 2005-02-15  Angus Leeming  <leeming@lyx.org>
1615
1616         * lyxserver.C (startPipe): squash MSVC warning "local variable
1617         'fd' used without having been initialized".
1618
1619 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1620
1621         * BufferView_pimpl.C: revert accidental commit.
1622
1623 2005-02-14  André Pönitz  <poenitz@gmx.net>
1624
1625         * dociterator.[Ch]: new member forwardPosNoDescent(),
1626         which doesn't enter nested insets.
1627         * text2.C (setFont): use forwardPosNoDescent() instead
1628         of ForwardPos() (fixes crash on font change).
1629
1630 2005-02-13  Angus Leeming  <leeming@lyx.org>
1631
1632         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1633         only if lyxrc.path_prefix is not empty.
1634
1635 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1636
1637         * bufferparams.C (readGraphicsDriver): prevent crash
1638
1639 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1640
1641         * text2.C (setCounter): check for inInset() == 0
1642
1643 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1644
1645         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1646         but use update() to get correct screen display; use convert
1647         instead of istringstream.
1648         (getStatus): handle LFUN_GOTO_PARAGRAPH
1649
1650         * lyxfunc.C (dispatch, getStatus): do not handle
1651         LFUN_GOTO_PARAGRAPH here.
1652
1653 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1654
1655         * text3.C (dispatch): size() -> depth()
1656
1657         * text2.C: remove some debug output
1658
1659         * paragraph.C: ws changes only
1660
1661         * lyxfunc.C (getStatus): size() -> depth()
1662
1663         * dociterator.h (clear, push_back, pop_back, internalData,
1664         operator[], resize, empty): new functions
1665         Make StableDocIterator and operator== be friends. Don't inherit
1666         from std::vector use a privat class variable slices_ instead.
1667         Modify to fit.
1668
1669         * dociterator.C: update because of not inheriting from std::vector
1670         anymore. Call explictly to slices_ instead. Use depth() instead of
1671         size() and top() instead of back()
1672
1673         * cursor.C: chagne size() -> depth and back() -> top(). Also
1674         remove some direct operator[](i) calls in favour of foo[i]
1675         (getFont): remove some dead code
1676
1677         * bufferview_funcs.C (coordOffset): size() -> depth()
1678
1679         * buffer.C: ws changes only
1680
1681         * CutAndPaste.C (eraseSelection): back() -> top()
1682
1683         * BufferView_pimpl.C (selectionRequested): back() -> top()
1684
1685         * BufferView.C (setCursor): size() -> depth()
1686
1687 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1688
1689         * text3.C (cursorPrevious): return true if depm changed something
1690         (cursorNext): ditto
1691         (dispatch): rename sl to oldTopSlice, remove moving use the new
1692         NoUpdate func attrib instead. Make sure that needsUpdate is set
1693         for function that have NoUpdate, but where depm might have changed
1694         the buffer anyway.
1695
1696         * text2.C (cursorLeft): make us return true if depm changed
1697         something
1698         (cursorRight): ditto
1699         (cursorUpParagraph): ditto
1700         (curosrDownParagraph): ditto
1701         (cursorUp, cursorDown): ditto, make sure to read comments in code
1702         (deleteEmptyParagraphMechanism): remove an assert, also return
1703         true if just a single char was deleted.
1704
1705         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1706         cursor that we modify, to avoid modifying an active cursor before
1707         we call setCursor. This allows depm to run. Also return true if
1708         depm deleted something.
1709
1710         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1711         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1712         cursorDownParagraph, cursorPrevious and cursorNext, return true if
1713         something was changed in the buffer because of them (ie. depm run)
1714
1715         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1716         debug messages. Make update by default be false. Make sure that
1717         the result of update is retained throught several calls down to
1718         dispatch.
1719
1720         * LyXAction.h: add a new func_attrib: NoUpdate
1721
1722         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1723         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1724         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1725         and LFUN_WORDLEFT
1726         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1727
1728 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1729
1730         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1731         bv_->owner(), bv_->buffer() by direct references to the private
1732         members.
1733         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1734         (getStatus): isSavedPosition() is in BufferView::Pimpl.
1735         (fitCursor): center() is in BufferView::Pimpl.
1736         (getStatus, trackChanges, dispatch): no need for a temporary buf
1737         variable
1738         (fitCursor, workAreaDispatch): use workarea().workheight()
1739
1740 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1741
1742         * CutAndPaste.C (pasteSelectionHelper): fix a crash
1743
1744 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1745
1746         * buffer.C: format up to 241.
1747         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1748         break if pasting into ERT
1749         * lyxfunc.C (getStatus): suppress mathpanel and
1750         LFUN_DIALOG_SHOW_NEW_INSET in ERT
1751
1752 2005-02-01  Angus Leeming  <leeming@lyx.org>
1753
1754         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1755
1756 2005-02-01  Angus Leeming  <leeming@lyx.org>
1757
1758         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1759         calling fs::is_directory().
1760
1761 2005-01-31  Angus Leeming  <leeming@lyx.org>
1762
1763         * lyx_main.C (priv_exec): specify explicitly the relative location
1764         of the top level build directory when run in-place.
1765
1766 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1767
1768         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1769         LyXText containing the cursor, not the top-level one.
1770
1771         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1772         true.
1773         (insertStringAsLines): rename par to pit; use temporary variable
1774         par to hold a Paragraph; do not store par.layout() in a variable,
1775         since the pointer may die when breaking paragraphs; pass pars to
1776         breakParagraph() instead of Buffer::paragraphs().
1777
1778 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1779
1780         * lyxlex_pimpl.h: #include <fstream>.
1781
1782         * BufferView.[Ch] (getLyXText): add a const version.
1783
1784         * BufferView_pimpl.C: add debug aids.
1785
1786         * RowList_fwd.h:
1787         * buffer.h:
1788         * lyxrow.h:
1789         * paragraph_funcs.h: add commentary explaining what the class does.
1790
1791
1792         * coordcache.[Ch]: add lots of commentary.
1793         (startUpdating, doneUpdating): debug aids.
1794         (arrays, insets, parPos, getParPos): accessors to private data.
1795
1796         * cursor_slice.[Ch] (text): add a const version.
1797         * dociterator.[Ch] (text, innerText): add const versions.
1798
1799         * lyxtext.h (breakParagraph): change the keep_layout arg to a
1800         bool.
1801
1802         * paragraph.C (getRow, pos2ros): add asserts.
1803
1804         * paragraph.h: add commentary. Lots of.
1805
1806         * paragraph.[Ch] (metrucs, draw): removed.
1807
1808         * cursor.C:
1809         * rowpainter.[Ch]: const-correct changes.
1810
1811         * text.C: various obvious clean-ups. Removal of ancient cruft.
1812         Bug fixes, even.
1813
1814 2005-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
1815
1816         * vc-backend.C (find_file): rewrite to use boost.filesystem
1817         (scanMaster): ditto
1818
1819         * main.C (main): set default name check for boost.filesystem to
1820         no check
1821
1822         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1823         (open): ditto
1824         (doImport): ditto
1825         (actOnUpdatedPrefs): ditto
1826
1827         * lyx_main.C (init): rewrite to use boost.filesystem
1828         (queryUserLyXDir): ditto
1829
1830         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1831         (getContentsOfAsciiFile): ditto
1832
1833         * lastfiles.C (readFile): rewrite to use boost.filesystem
1834
1835         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1836
1837         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1838         (loadLyXFile): ditto
1839
1840         * buffer.C (Buffer): adjust for destroydir
1841         (getLogName): rewrite to use boost.filesystem
1842         (setFileName): ditto
1843         (save): use fs::copy_file (from fs_extras)
1844
1845         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1846
1847         * LaTeX.C (run): rewrite to use boost.filesystem
1848         (scanAuxFiles): ditto
1849         (handleFoundFile): ditto
1850
1851 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1852
1853         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1854
1855         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1856
1857 2005-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1858
1859         * lyxlayout.[Ch]: change some vars from float to double
1860
1861         * buffer.C (readFile): make a local var const
1862
1863         * Several files: use convert<> instead of atoi,strToXXX and friends
1864
1865 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1866
1867         * LaTeXFeatures.[Ch]: Add a static list packages_ that
1868         holds the contents of packages.lst. New functions getAvailable
1869         and isAvailable to parse and check that list, resp.
1870
1871         * LyXAction.C:
1872         * lfuns.h:
1873         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1874
1875         * bufferparams.[Ch]: new param output_changes.
1876
1877         * Buffer.C: increase file format to 240.
1878         Use output_changes and isVailable.
1879
1880         * changes.[Ch]:
1881         * paragraph.C:
1882         * paragraph_pimpl.C: Use output_changes and isVailable.
1883
1884 2005-01-23  Angus Leeming  <leeming@lyx.org>
1885
1886         * output_latex.C: #include "insetbibitem.h", rather than
1887         forward declare function bibitemWidest.
1888
1889 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
1890
1891         * lyx_main.C (init): make it compile on the Mac.
1892
1893 2005-01-20  Angus Leeming  <leeming@lyx.org>
1894
1895         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1896         (setLyXMisc): (char string literal) != (char string literal) is
1897         performing a comparison on the addresses. Convert one operand
1898         explicitly to string to guarantee expected behaviour.
1899         From MSVC warning.
1900
1901 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1902
1903         * buffer.C:
1904         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1905
1906         * output_plaintext.C: remove unneeded #include gzstream.h.
1907
1908 2005-01-20  Angus Leeming  <leeming@lyx.org>
1909
1910         * SpellBase.h: rename some of the elements of the Result enum.
1911
1912         * aspell_local.h:
1913         * ispell.h:
1914         * pspell.h:
1915         * aspell.C (check):
1916         * ispell.C (check):
1917         * pspell.C (check): ditto
1918
1919 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1920
1921         * buffer.C: add #include <fstream>.
1922
1923         * lyx_main.C (init): Compile fix.
1924
1925         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1926
1927 2005-01-20  Angus Leeming  <leeming@lyx.org>
1928
1929         * mover.h: change commentary to reflect the changed meaning of
1930         the $$s placeholder.
1931
1932 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1933
1934         * output_linuxdoc.C (linuxdocParagraphs): silence warning
1935
1936         * lyxfind.C (MatchString::operator()): remove bogus semicolon
1937
1938 2005-01-20  Angus Leeming  <leeming@lyx.org>
1939
1940         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1941         printing diagnostic data by not dereferecing an iterator past the
1942         end.
1943
1944 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1945
1946         * buffer.C (readHeader): use "&&" rather than "and".
1947
1948         * lyxserver.h (inPipeName, outPipeName): make these const.
1949
1950 2005-01-19  Angus Leeming  <leeming@lyx.org>
1951
1952         * lyx_main.C (error_handler, init): protect SIGHUP with
1953         #ifdef SIGHUP guards.
1954
1955 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1956
1957         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1958
1959 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1960
1961         * text.C (setHeightOfRow): add a margin at the top and bottom of
1962         the document (bug 1761)
1963
1964 2005-01-17  Angus Leeming  <leeming@lyx.org>
1965
1966         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1967         with "python ". Workaround for a brain-dead Windows.
1968
1969 2005-01-16  Angus Leeming  <leeming@lyx.org>
1970
1971         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1972         for MacOSX and Windows to use prependEnvPath.
1973         Strip out the hard-coded block to add elements to the PATH for
1974         MacOSX and replace it with a call to prependEnvPath using the
1975         contents of LyXRC::path_prefix.
1976         (queryUserLyXDir): strip out the code to run reconfigure, instead
1977         returning a boolean indicating the necessity to do so.
1978         (reconfigureUserLyXDir): contains the code to reconfigure the
1979         user support directory. Is now called after the various LyXRC data
1980         files have been read.
1981
1982         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1983
1984 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1985
1986         * converter.[Ch] (convert): take a new parameter try_default. Use
1987         a default converter (imagemagick) if try_default is true.
1988
1989 2005-01-13  Angus Leeming  <leeming@lyx.org>
1990
1991         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1992         os::cygwin_path_fix.
1993         (write): output LyXRC::cygwin_path_fix as necessary.
1994
1995 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
1996
1997         * lyxrc.h:
1998         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1999
2000 2005-01-12  Angus Leeming  <leeming@lyx.org>
2001
2002         * lyx_main.C (init): set the PATH variable to include the
2003         directory containing the LyX binary when running on Mac or Windows.
2004
2005 2005-01-12  Angus Leeming  <leeming@lyx.org>
2006
2007         * lyx_main.C (init): remove cruft that purports to set the locale
2008         dir. It doesn't and is not needed anyway.
2009
2010 2005-01-10  Angus Leeming  <leeming@lyx.org>
2011
2012         * Makefile.am: remove the lyx_main.C special casing.
2013
2014         * BufferView_pimpl.C:
2015         * bufferlist.C:
2016         * exporter.C:
2017         * lyx_cb.C:
2018         * lyx_main.C:
2019         * lyxfunc.C:
2020         * messages.C: use support/package.h to provide the paths to the
2021         various directories used by LyX.
2022
2023 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2024
2025         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
2026         layout if pasting into an empty paragraph)
2027
2028 2005-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2029
2030         * tex-accent.C: add <string>
2031
2032 2005-01-06  José Matos  <jamatos@lyx.org>
2033
2034         * ParagraphParameters.C (write): put every parameter in its own line.
2035         * paragraph.C (write): reduce number of consecutive empty lines exported.
2036         * buffer.C (LYX_FORMAT): increase file format to 239.
2037
2038 2005-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2039
2040         * everywhere: change support/tostr.h -> support/convert.h
2041
2042         * tabular.C: make all write_attributes templates, tostr -> convert
2043
2044         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
2045         (emptyTag): and -> &&, and fix type for ret from getChar
2046         (getFirstWord): fix type for ret from getChar
2047         (onlyText): and -> &&
2048         (simpleDocBookOnePar): and not -> && !, fix type for ret from
2049         getChar
2050
2051         * toc.C (goTo, action):
2052         * text3.C (dispatch):
2053         * text.C (currentState):
2054         * tex-accent.C (DoAccent):
2055         * sgml.C:
2056         * lyxrc.C:
2057         * lyxfunc.C (menuNew):
2058         * lyxfinc.C (replace):
2059         * counters.C (laberItem):
2060         * bufferview_funcs.C (font2string):
2061         * bufferparams.C (writeFile):
2062         * buffer.C (readFile):
2063         * Spacing.C (set):
2064         * MenuBackend.C: tostr -> convert
2065
2066         * LaTeX.C (runMessage): fix format
2067         (scanAuxFiles): tostr -> convert
2068
2069         * BufferView_pimpl.C (savePosition): fix format
2070         (restorePosition): ditto
2071         (dispatch): ditto
2072
2073 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2074
2075         * Spacing.[Ch]: New method getValueAsString().
2076
2077         * Spacing.[Ch]:
2078         * bufferparams.C:
2079         * ParagraphParameters.C:
2080         * lyxlayout.C:
2081         * text.C:
2082         * text3.C: store/read spacing value as string.
2083
2084         * rowpainter.C: change float value (spacing_val) to double.
2085
2086         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
2087         broken custom document spacing).
2088
2089 2005-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
2090
2091         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
2092         namespace, also more use of temp references and const
2093
2094         * cursor.[Ch] (getStatus): move to lyxfunc.C
2095
2096         * bufferparams.C: reformat slightly
2097
2098         * bufferview_funcs.C (font2string): constify arg
2099
2100         * changes.C:
2101         * converter.C:
2102         * counters.C:
2103         * bufferlist.C:
2104         * buffer_funcs.C: (many funcs): constify arg on function
2105         definitions, also make more local vars const, also add ASSERTS on
2106         pointer args.
2107
2108         * buffer.C (LYX_FORMAT): put const in correct place
2109         (many funcs): constify arg on function definitions, also make
2110         more local vars const
2111
2112         * aspell_local.h: remove "struct" from typdef setup
2113
2114         * aspell.C (check): make word_ok const
2115         (nextMiss): simplify slightly
2116         (error): ditto
2117
2118 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2119
2120         * lyxrc.[Ch]: store all float values as strings.
2121         use int (not float) for lyxrc.dpi.
2122
2123 2005-01-04  Angus Leeming  <leeming@lyx.org>
2124
2125         * lyx_cb.C (Reconfigure):
2126         * lyx_main.C (queryUserLyXDir):
2127         to run the <system_lyxdir>/configure correctly on Windows, prefix
2128         the path to the script with "sh " when generating the string that
2129         is passed to system().
2130
2131 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2132
2133         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
2134
2135 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2136
2137         * lyxlength.C (asLatexString): get rid of setprecision
2138
2139 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2140
2141         * text2.C (setLayout): remove unused variable endpit.
2142         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
2143
2144         * paragraph.C (onlyText): remove unused variable style.
2145
2146         * cursor.C (bruteFind): remove unused variables beg and end.
2147
2148         * Makefile.am (dist_noinset_DATA): not needed anymore
2149
2150         * cheaders/*: remove.
2151
2152 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2153
2154         * text3.C: fix LFUN_MATH_MODE.
2155
2156 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2157
2158         * buffer_funcs.C (countWords): new function. Counts words between
2159         two iterators.
2160
2161         * BufferView_pimpl.C (getStatus, dispatch): handle
2162         LFUN_WORDS_COUNT.
2163
2164         * LyXAction.C (init):
2165         * lfuns.h: add LFUN_WORDS_COUNT.
2166
2167 2004-12-19  Angus Leeming  <leeming@lyx.org>
2168
2169         * buffer.C (save): s/slashify_path/internal_path/.
2170
2171 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2172
2173         * lyxfind.C (findChange): do not search for end of pars, because
2174         the change tracker cannot handle this (fixes bug 1719).
2175
2176 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2177
2178         * paragraph.[Ch] (autoBreakRows): remove
2179
2180         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
2181
2182         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
2183         avoid using the paragraph one
2184
2185         * text2.C (LyXText, insertStringAsLines): adjust
2186
2187 2004-12-16  Angus Leeming  <leeming@lyx.org>
2188
2189         * bufferlist.C:
2190         * lyx_main.C:
2191         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
2192
2193 2004-12-14  Angus Leeming  <leeming@lyx.org>
2194
2195         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
2196
2197         * bufferlist.C (emergencyWrite):
2198         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
2199         GetEnvPath("HOME").
2200
2201 2004-12-14  Angus Leeming  <leeming@lyx.org>
2202
2203         * main.C: (main): no longer pass pointers to os::init.
2204
2205 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
2206
2207         * undo.C (textUndoOrRedo): simplify logic, fix a crash
2208         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
2209
2210 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
2211
2212         * lyxfunc.C:
2213         * text3.C: remove selection_possible global flag
2214
2215 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
2216
2217         * text2.C (getSelectionSpan): remove
2218         (changeDepth, changeDepthAllowed): adjust
2219
2220 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
2221
2222         * Makefile.am (BOOST_LIBS): use boost variables
2223
2224 2004-12-03  José Matos  <jamatos@lyx.org>
2225
2226         * buffer.C: format up to 238.
2227
2228 2004-12-03  José Matos  <jamatos@lyx.org>
2229
2230         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
2231
2232 2004-12-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2233
2234         * cursor.C (goUpDown): remove call to idxUpDown2
2235
2236 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2237
2238         * tabular.[Ch]: use size_t-like types for cell, row and column
2239         indices
2240
2241 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2242
2243         * lyxfunc.C (getStatus): do not lose previous information when
2244         calling BufferView::getStatus; do not set a default "Command
2245         disabled" message at the beginning, but just before returning.
2246
2247 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2248
2249         * cursor.h (getStatus): add better comment from src/cursor.C
2250
2251 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2252
2253         * text3.C (getStatus): return false when the lfun is not handled
2254
2255 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2256
2257         * broken_headers.h: remove
2258
2259         * Makefile.am (lyx_SOURCES): remove broken_headers.h
2260
2261 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2262
2263         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
2264         offset_ref accessors
2265
2266         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
2267         top_y_, merge fitcursor with update
2268         (updateScrollbar, scrollDocView, fitCursor, center, update): new
2269         coord scheme
2270         (metrics): introduce
2271         (workAreaDispatch): adapt to new coord scheme
2272         (redoCurrentBuffer): remove
2273
2274         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
2275
2276         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
2277         CurStatus enum.
2278
2279         * coordcache.[Ch]: add paragraph cache and helpers
2280
2281         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
2282         adjust everywhere
2283
2284         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
2285         (targetX, setTargetX): introduce
2286
2287         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
2288         baseline -> ascent, as the rest of lyx
2289
2290         * lyxtext.h: remove redoParagraphs, updateParPositions,
2291         fullRebreak, redoParagraphInternal. move dist to anon namespace in
2292         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
2293         have ascent/descent (ascent is ascent of first par)
2294
2295         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
2296         step of BufferView
2297
2298         * paragraph.[Ch]: unify dimension handling with the rest of lyx
2299
2300         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
2301
2302         * pariterator.C: fix infinite loop introduced in par->pit renaming
2303
2304         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
2305         in insets and LyXText, draw two off-screen paragraphs using
2306         NullPainter, and adapt to new coord scheme
2307
2308         * text.C:
2309         * text2.C:
2310         * text3.C: adapt lfun handlers to the new coord scheme, which
2311         means: there's only guaranteed coord information for onscreen pars
2312         plus one above and one below. This implies that one can do search
2313         from y coordinates in the range [-1,workHeight]
2314
2315 2004-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2316
2317         * rename a lot of InsetOld to InsetBase
2318
2319 2004-11-25  Angus Leeming  <leeming@lyx.org>
2320
2321         * BufferView_pimpl.C:
2322         * lyx_cb.C:
2323         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
2324
2325 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2326
2327         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
2328         call BufferView::getStatus if LCursor::getStatus did nothing
2329         (setStatusMessage, getStatusMessage): removed.
2330
2331         * FuncStatus.C (message): new methods. Used to provide an error
2332         message indicating why a command is disabled.
2333         (clear, |=, FuncStatus): update for message.
2334
2335 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2336
2337         * lyxfunc.C (dispatch): always call sendDispatchMessage
2338
2339 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2340
2341         * BufferView.C:
2342         * BufferView_pimpl.C:
2343         * CutAndPaste.C:
2344         * FontIterator.C:
2345         * buffer.C:
2346         * cursor.C:
2347         * cursor_slice.[Ch]:
2348         * dociterator.[Ch]:
2349         * lyxfind.C:
2350         * paragraph_funcs.C:
2351         * pariterator.C:
2352         * rowpainter.C:
2353         * text.C:
2354         * text2.C:
2355         * text3.C:
2356         * undo.C: par->pit renaming
2357
2358 2004-11-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2359
2360         * tabular.C (cellstruct): use initialization, store a shared_ptr
2361         to insettext instead of the insettext directly, adjust to fit.
2362         (operator=):  new function
2363         (swap): new function
2364         (rowstruct): use initialization
2365         (columnstruct): use initialization
2366         (ltType): use initialization
2367
2368
2369         * lyxlength.h (swap): new function
2370
2371         * LColor.[Ch] (operator=): use the common semantics
2372
2373 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2374
2375         * lyxfind.C (findNextChange): update the bufferview after setting
2376         the selection.
2377
2378 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2379
2380         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
2381         number of InsetOptArgs has already been inserted.
2382
2383         * output_latex.C (latexOptArgInsets): new method. This outputs all
2384         the optarg insets, up to the limit defined in the layout file.
2385         (optArgInset): removed
2386         (TeXOnePar): call latexOptArgInsets; correctly update texrow
2387
2388 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2389
2390         * paragraph.C (isLetter): remove special spellchecker-related
2391         code; return true also for digits
2392         (isWord, isKomma): remove
2393
2394         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
2395         * lyxfind.C (MatchString()): use isLetter instead of isWord
2396
2397 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2398
2399         * pariterator.h (operatir=): comment out un-implemented member
2400         function.
2401
2402         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
2403         static cast.
2404
2405 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2406
2407         * lyxfont.h: include LColor.h to satisfy concept checks.
2408
2409 2004-11-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2410
2411         * pariterator.h: add typdefs for value_type, difference_type,
2412         pointer and reference to satisfy concept checks. Also add default
2413         constructor for same reason.
2414
2415         * pariterator.C (operator++): add post-increment operator to
2416         satisfy concept checks.
2417
2418         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
2419         checks.
2420
2421         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
2422
2423         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
2424         checks. Also rename base_type to BaseType to follow naming
2425         standard better.
2426
2427         * FloatList.h: include Floating.h to satisfy concept checks.
2428
2429 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2430
2431         * lyxfunc.C (getStatus): when the origin of the request is menu or
2432         toolbar, and the LyXView does not have focus, do as if there was
2433         no buffer (bug 1720)
2434
2435         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2436         FuncRequest to individual entries of LFUN_SEQUENCE
2437
2438 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2439
2440         * output_latex.C (TeXOnePar): override runparams.moving_arg
2441         according to the needprotect value of the current paragraph (bug
2442         1739)
2443
2444         * paragraph.C (simpleTeXOnePar): no need to override
2445         runparams.moving_args here
2446
2447 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
2448
2449         * vspace.C: fix off-by-one-error, related to fix #1682
2450
2451 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2452
2453         * lengthcommon.C: a more general fix for bug 1682
2454
2455 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2456
2457         * text.C (backspace): fix crash
2458
2459 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2460
2461         * format.[Ch] (getFormatFromFile): new method
2462         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2463
2464 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2465
2466         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2467
2468 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2469
2470         * lyxfunc.C (dispatch): remove the verbose argument
2471         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2472         instead
2473
2474         * kbmap.C (defkey): set the origin of func to KEYBOARD
2475
2476         * MenuBackend.C (MenuItem):
2477         * ToolbarBackend.C (add): set the origin of func to UI
2478
2479         * funcrequest.[Ch]: add origin member, which indicates which part
2480         of LyX requests an action
2481
2482 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2483
2484         * converter.C (move): don't lie in the error message
2485         * converter.h (isReachable, move): document
2486
2487 2004-11-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2488
2489         * buffer.C: remove unused using lyx::support::atoi
2490         * paragraph_funcs.C: ditto
2491
2492 2004-11-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2493
2494         * bufferlist.C (exists): use bind and equal_to instead of
2495         compare_memfun
2496         (getBuffer): ditto
2497         * lyxtextclasslist.C (NumberOfClass): ditto
2498
2499         * cursor.C (insert): use for_each instead of explicit for loop
2500
2501         * bufferlist.C (getFileNames): use std::transform and
2502         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2503
2504         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2505         for loop
2506
2507         * buffer.C (changeLanguage): use for_each instead of explicit for
2508         loop
2509         (hasParWithID): implement using getParFromID
2510
2511         * LaTeXFeatures.C: ws change only
2512
2513         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2514         to cleanup a bit.
2515
2516         * BufferView_pimpl.C (trackChanges): use for_each instead of
2517         expilicit for loop
2518
2519 2004-11-04  André Pönitz  <poenitz@gmx.net>
2520
2521         * undo.h:
2522         * undo.C (textUndoOrRedo): fix crash when creating undo information.
2523
2524         * dociterator.C (asDocIterator): use hard assert again.
2525
2526 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2527
2528         * lyxlength.C (asLatexString): rewrite so that it does not use
2529         snprintf anymore
2530
2531 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2532
2533         * text3.C (specialChar, dispatch): make sure cursor moves to the
2534         right after inserting an inset
2535
2536 2004-11-02  José Matos  <jamatos@lyx.org>
2537
2538         * output_docbook.C (docbook):
2539         * paragraph.C (getID):
2540         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2541         garantee that the output is always legal.
2542
2543         * tabular.C (docbook):
2544         * outputprams.[Ch]: remove mixed contents.
2545
2546 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2547
2548         * text2.C (setCounter): prevent endless loop
2549
2550 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2551
2552         * exporter.C (copyFile): use the mover instead of support::copy()
2553         * exporter.C (Export): pass format and latex name to copyFile()
2554         * exporter.h (addExternalFile): document
2555         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2556
2557 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2558
2559         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2560
2561 2004-10-30  José Matos  <jamatos@lyx.org>
2562
2563         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2564         text and no inset or font change. This allows to use CDATA
2565         sections just for the whole paragraph.
2566
2567 2004-10-30  José Matos  <jamatos@lyx.org>
2568
2569         * paragraph.C (getFirstWord): remove unused variable.
2570
2571 2004-10-30  José Matos  <jamatos@lyx.org>
2572
2573         * paragraph.C (getFirstWord): the content should always be escaped
2574         there.
2575         (simpleDocBookOnePar):
2576         * output_docbook.C (makeEnvironment): replace reference to CDATA
2577         to style pass_thru.
2578
2579 2004-10-30  José Matos  <jamatos@lyx.org>
2580
2581         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2582
2583 2004-10-30  José Matos  <jamatos@lyx.org>
2584
2585         * output_docbook.C (makeParagraphs):
2586         * paragraph.[Ch] (emptyTag): for docbook and company, if the
2587         standard paragraph has only a given type of content drop the wrapper.
2588
2589 2004-10-29  José Matos  <jamatos@lyx.org>
2590
2591         * output_docbook.C (makeEnvironment):
2592         * sgml.C (openTag):
2593         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2594
2595 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
2596
2597         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2598         (cleanID): sanitize any id.
2599
2600 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2601
2602         * buffer.C, lyxlex_pimpl.C:
2603         * lyxlex_pimpl.C (setFile):
2604         s/getExtFromContents/getFormatFromContents/
2605
2606 2004-10-28  José Matos  <jamatos@lyx.org>
2607
2608         * output_docbook.C (makeEnvironment): move id to broadest possible
2609         scope.
2610
2611         * sgml.C (openTag): apply substitution of <> for all attributes.
2612
2613 2004-10-28  José Matos  <jamatos@lyx.org>
2614
2615         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2616         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2617         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2618
2619         * sgml.[Ch]: new version for open and closeTag for paragraph and
2620         for strings. Now they handle the ids of paragraphs.
2621
2622 2004-10-26  Angus Leeming  <leeming@lyx.org>
2623
2624         * Makefile.am: add mover.[Ch].
2625
2626         * converter.C (convert, move): use the new Movers to move external
2627         files to the temp directory.
2628
2629         * lyx_main.C (init): ensure that the global system_movers data
2630         is initialised.
2631
2632         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2633         preferences file.
2634
2635         * mover.[Ch]: new files, defining a Mover as a utility to move an
2636         external file between directories and, if necessary, manipulate this
2637         file using a helper script.
2638
2639 2004-10-25  José Matos  <jamatos@lyx.org>
2640
2641         * output_docbook.C (makeCommand): merge two if's that tested the
2642         same condition.
2643
2644 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2645
2646         * sgml.C (escapeString): fix warning in a better way
2647
2648 2004-10-25  José Matos  <jamatos@lyx.org>
2649
2650         * sgml.C (escapeString): import the require boosts header file for
2651         tie, and avoid a signed unsigned comparison.
2652
2653 2004-10-25  José Matos  <jamatos@lyx.org>
2654
2655         * sgml.h: add #include <string>
2656
2657 2004-10-25  José Matos  <jamatos@lyx.org>
2658
2659         * sgml.[Ch] (escapeString): new function to escape all the string.
2660
2661 2004-10-24  José Matos  <jamatos@lyx.org>
2662
2663         * paragraph.[Ch] (getFirstWord): new function to get the first
2664         word. Useful for description.
2665         (simpleDocBookOnePar): remove depth argument, add another that
2666         says where to start the paragraph.
2667
2668         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2669         use the new functions to fix cleanly the support for descriptions.
2670
2671 2004-10-24  José Matos  <jamatos@lyx.org>
2672
2673         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2674         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2675         * output_linuxdoc.C (linuxdocParagraphs):
2676         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2677         add buffer as argument.
2678
2679 2004-10-24  José Matos  <jamatos@lyx.org>
2680
2681         * output_docbook.C (makeEnvironment, searchEnvironment): place
2682         CDATA inside paragraphs and fix scope for listitems.
2683
2684 2004-10-24  José Matos  <jamatos@lyx.org>
2685
2686         * output_docbook.C: remove using statement for stack.
2687
2688 2004-10-23  José Matos  <jamatos@lyx.org>
2689
2690         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2691         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2692         docbook. The new scheme is recursive and makes use of iterators, the
2693         same as latex export works.
2694         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2695         directly with the paragraph contents. This code was moved up to
2696         output_docbook.C (docbookParagraphs).
2697         * sgml.C (openTag, closeTag): removed unneeded newlines.
2698         (closeEnvTags) removed.
2699
2700 2004-10-23  André Pönitz  <poenitz@gmx.net>
2701
2702         * undo.C (textUndoOrRedo):
2703         * dociterator.C (asDocIterator): work around crash
2704
2705         * cursor.C (getStatus): replace ASSERT by more verbose error message
2706           and manual correction of the problem. Should increase stability
2707           while providing more sensible information.
2708
2709 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2710
2711         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2712
2713         * bufferlist.C (previous, next): new methods
2714
2715         * lfuns.h:
2716         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2717
2718 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
2719
2720         * buffer.C (makeDocBookFile): add dsssl stylesheet control
2721         entities to preamble.
2722
2723 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2724
2725         * messages.C (Pimpl): strip off translation context information
2726
2727 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2728
2729         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2730         the cursor is correct (bug 1694)
2731
2732 2004-10-13  José Matos  <jamatos@lyx.org>
2733
2734         * output_docbook.C (docbookParagraphs): fix closing tags in the
2735         end of the document.
2736
2737 2004-10-09  José Matos  <jamatos@lyx.org>
2738
2739         * buffer.C: format up to 237.
2740         * bufferparams.C (write): use tostr to convert booleans to strings.
2741
2742 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
2743
2744         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2745
2746 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
2747
2748         * LaTeX.C: implement use of babel language in xindy.
2749
2750 2004-10-05  José Matos  <jamatos@lyx.org>
2751
2752         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2753         Add new translators to help reading and writing the lyx file.
2754
2755 2004-10-05  José Matos  <jamatos@lyx.org>
2756
2757         * ParagraphParameters.C (read):
2758         * text.C (readParToken): replace nexToken by more appropriate lex
2759         methods.
2760
2761 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
2762
2763         * LaTeX.C (runMakeIndex):
2764         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2765         (usually 'makeindex') configurable.
2766
2767         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2768         with a variable rather than with a number.
2769
2770 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2771
2772         * output_latex.C (TeXOnePar): make sure font setting is the first
2773         thing that gets output (and the last at the end). Should fix bug
2774         1404.
2775
2776 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2777
2778         * pch.h: use proper signal include
2779
2780         * LaTeX.h: Use preferred calling of Boost.Signal
2781         * buffer.h: ditto
2782
2783 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2784
2785         * pch.h: dont include <boost/function/function0.hpp>
2786
2787         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2788
2789         * paragraph_pimpl.h: remove usage of ShareContainer
2790
2791         * paragraph_pimpl.C: remove initialization of ShareContainer.
2792
2793 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2794
2795         Fix bug #1666
2796
2797         * BufferView.C (putSelectionAt): change the semantics when
2798         backwards == true: now, this just swaps cursor and anchor wrt the
2799         forward case
2800
2801         * BufferView.h (putSelectionAt): add some documentation
2802
2803         * lyxfind.C (findBackwards): rewrite using while(). In particular,
2804         make sure backwardChar is done at least once (to avoid getting
2805         stuck)
2806         (findNextChange): use putSelectionAt in the forward direction
2807         (operator()): use Paragraph::isWord
2808
2809 2004-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2810
2811         * Spacing.C (set): c_str fix
2812
2813 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2814
2815         * lyx_cb.C (Reconfigure): quote the name of configure script in
2816         case it contains spaces
2817
2818 2004-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2819
2820         * client: new dir
2821
2822         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2823         (BOOST_LIBS): use top_buildir when looking for the file
2824
2825 2004-08-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2826
2827         * pch.h: do not use include boost/format.hpp, multiple symbols
2828                 will result (gcc bug)
2829
2830
2831 2004-08-23  José Matos  <jamatos@lyx.org>
2832
2833         * bufferparams.C (readToken): fix reading of the author field.
2834
2835 2004-08-20  José Matos  <jamatos@lyx.org>
2836
2837         * lyxrc.C: remove support/translator.h inclusion since it is not used.
2838
2839 2004-08-20  José Matos  <jamatos@lyx.org>
2840
2841         * lyxlex.[Ch] (findToken): remove function.
2842
2843         * ParagraphParameters.C (findToken):
2844         * bufferparams.C (findToken): replace call for previous function
2845         with local copy. This local function has one more argument, the
2846         read string argument.
2847
2848 2004-08-16  José Matos  <jamatos@lyx.org>
2849
2850         * ParagraphParameters.C (write):
2851         * Spacing.C (writeFile):
2852         * bufferparams.C (writeLaTeX):
2853         * lyx_cb.C (Reconfigure):
2854         * paragraph.C (write):
2855         * tabular.C (write): remove unnecessary space at end of line.
2856
2857
2858 2004-08-16  José Matos  <jamatos@lyx.org>
2859
2860         * text.C (readParagraph): remove debug message.
2861
2862 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2863
2864         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2865         crash
2866
2867         * output_plaintext.C (asciiParagraph): set depth correctly
2868
2869         * outputparams.h: add member depth
2870
2871         * paragraph_funcs.C (ownerPar): remove.
2872
2873         * text2.C (setCounter): remove first_pit; comment out some
2874         non-working code that uses ownerPar
2875
2876         * BufferView.C (getParentLanguage): remove. Not used anymore, and
2877         uses ownerPar
2878
2879 2004-08-16  José Matos  <jamatos@lyx.org>
2880
2881         * text.C (readParToken, readParagraph, read): report all unknown tokens.
2882         For the same level of importance use the same chanel to report problems.
2883         (read): add code to deal with \begin_body and \end_body.
2884
2885
2886 2004-08-15  José Matos  <jamatos@lyx.org>
2887
2888         * lyxlex.C (getString): fix comment, buffer::readBody is now
2889         buffer:readDocument.
2890
2891         * tex-strings.C (string_papersize): Default -> default,
2892         Custom -> custom, for consistency with other options.
2893
2894 2004-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2895
2896         * pch.h: new file
2897
2898         * Makefile.am: support pch
2899
2900 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2901
2902         * text.C (readParToken): remove the static LyXFont variable and
2903         pass it as a parameter instead. This fixes a nasty bug where an
2904         inset will be inserted with a bad font in some situations
2905         (readParagraph): adapt
2906
2907         * text2.C (setCounter): reduce number of calls to pars_[pit]
2908
2909         * text.C (singleWidth): add an assert, fix a test
2910
2911         * rowpainter.C (paintText): reduce number of calls to singleWidth
2912
2913         * paragraph.C (isHfill):
2914         (isNewline): ws only
2915
2916 2004-08-14  André Pönitz  <poenitz@gmx.net>
2917
2918         * text.C:
2919         * text2.C:
2920         * rowpainter.C:
2921         * lyxtext.h (several functions): use a Paragraph & argument
2922         instead of par_type
2923
2924 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2925
2926         * metricsinfo.h: add a new field ltr_pos to PainterInfo
2927
2928         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2929
2930         * text.C (singleWidth): remove useless test
2931
2932 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2933
2934         * tabular.h: remove bogus comments
2935
2936         * tabular.C (getDescentOfRow):
2937         (isPartOfMultiColumn): add assertions
2938
2939         * lyxlength.C (inPixels): remove #warning
2940
2941 2004-08-14  André Pönitz  <poenitz@gmx.net>
2942
2943         * paragraph.h: inline getChar()
2944
2945         * BufferView.h: remove unused declarations
2946
2947 2004-08-14  José Matos  <jamatos@lyx.org>
2948
2949         * Buffer.[Ch] (readDocument): new name for old readBody.
2950         * Buffer.C: new file format, new keywords: \begin_document,
2951         \begin_header, \begin_body, \end_body.
2952
2953         * bufferparams.C (readToken): replace all calls to lex.nextToken
2954         by lex.next(). Do the same to eatLine except where really needed.
2955
2956         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2957         line when writing to the lyx file.
2958
2959         * output_plaintext.C (asciiParagraph): fix Bibliography style
2960         handling.
2961
2962         * text.C (read): fix end of file handling.
2963
2964 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2965
2966         * MenuBackend.C (Menu::operator[]): new method to access
2967         individual menu items
2968         (Menu::hasFunc): new method. search for an item that corresponds
2969         to a given func
2970         (MenuBackend::specialMenu): new method
2971         (MenuBackend::expand): if a special menu has been set, skip
2972         entries whose func() appears in this menu
2973
2974 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2975
2976         * text3.C: use Debug::DEBUG a bit more
2977
2978         * text.C (leftMargin): try to simplify a tiny bit change var x to
2979         l_margin. Dont output the wide margins always.
2980         (rightMargin): no margin in inner texts
2981
2982         * rowpainter.h (nestMargin): new func
2983         (changebarMargin): new func
2984         (rightMargin): new func
2985
2986         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2987         now functions.
2988         (paintLast): ditto
2989
2990         * factory.C (createInset): modify setDrawFrame
2991
2992         * cursor.C: use Debug::DEBUG a bit more
2993
2994 2004-08-14  André Pönitz  <poenitz@gmx.net>
2995
2996         * coordcache.[Ch]:
2997         * Makefile.am: new files to accomodate an 'external' (x,y)-position
2998         cache for all insets in (at least partially) visible (top-level)
2999         paragraphs.
3000
3001         * BufferView_pimpl.C: reset external coord cache before every update.
3002         This means the coord cache only contains valid entries.
3003
3004 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
3005
3006         bug 1096
3007         * BufferView_pimpl.C (getInsetByCode): move function out of class
3008         and change in to a template in anon namespace. Also fix to do what
3009         suits us better.
3010
3011 2004-08-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
3012
3013         bug 1305
3014         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
3015         of char
3016         (breakParagraph): rename par to par_offset and use a local
3017         reference. Add code to keep the language over a rebreak.
3018         (breakParagraphConservative): rename par to par_offset, use a
3019         local reference
3020         (mergeParagraph): ditto
3021         (outerHook): ditto
3022         (isFirstInSequence): ditto
3023         (outerFont): rename pit to par_offset
3024
3025         * paragraph.C: ws change
3026         * paragraph.h: ditto
3027         * text3.C: ditto
3028         * text.C: ditto
3029
3030 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3031
3032         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
3033         treatment for ']'
3034
3035         * paragraph.C (simpleTeXOnePar): when we have a \item with
3036         optional argument, enclose the argument with curly brackets (in
3037         case it contains a closing square bracket)
3038
3039         * text2.C (editXY):
3040         * text2.C (editXY):
3041         * text3.C (checkInsetHit): constify
3042
3043 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3044
3045         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
3046         documents (bug 1629)
3047
3048 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3049
3050         Fix toggling of collapsable insets with the mouse (bug 1558)
3051
3052         * lyxfunc.C (dispatch): adapt to LCursor changes
3053
3054         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
3055         make sure that dispatch is not invoked twice
3056
3057         * cursor.C (needsUpdate): new method
3058         (dispatch): return void
3059         (result): new method, to access the DispatchResult of the cursor.
3060
3061 2004-08-13  José Matos  <jamatos@lyx.org>
3062
3063         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
3064
3065 2004-08-13  André Pönitz  <poenitz@gmx.net>
3066
3067         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
3068
3069         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
3070           multiple cells
3071
3072 2004-08-12  André Pönitz  <poenitz@gmx.net>
3073
3074         * text3.C: take out the 'cursor right' form insertInset and only
3075         do it in those places when it is really needed. Fixes crash on
3076         C-m...
3077
3078 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3079
3080         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
3081
3082         * BufferView_pimpl.C (setBuffer): initialize the current font of
3083         the underlying LyXText
3084
3085 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3086
3087         * kbsequence.C (print): use UI native formatting for menu
3088         shortcuts
3089
3090         * text.C (insertChar): call Paragraph::insertChar with a font
3091         argument (cosmetic)
3092
3093         * paragraph.C (insertInset, insertChar): the version that takes a
3094         LyXFont argument is now a wrapper around the other one (the
3095         opposite used to be true).
3096
3097         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
3098         argument. Font setting is done in Paragraph now.
3099
3100 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3101
3102         * outputparams.h: add new members intitle and lang.
3103
3104         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
3105         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
3106
3107 2004-08-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3108
3109         * text3.C (dispatch): remove special handling of button 4 and 5,
3110         it is now taken care of in the frontend code.
3111
3112 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3113
3114         * Spacing.h: add <string> (STLPort compile fix)
3115
3116 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3117
3118         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
3119
3120 2004-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3121
3122         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
3123         to bool.
3124
3125         * converter.C (showMessage): inherit from unary_function, make
3126         operator() const.
3127
3128         * buffer.C (writeFile): initialize retval
3129
3130         * InsetList.h: rename private variable list to list_
3131         * InsetList.[Ch]: adjust accordingly.
3132
3133 2004-07-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3134
3135         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
3136         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
3137         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
3138         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
3139         * ParagraphParameters.C, LaTeXFeatures.C: replace
3140         "support/std_sstream.h" with <sstream>
3141
3142 2004-07-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3143
3144         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
3145         * lyxsocket.C (LyXServerSocket): ditto
3146         (serverCallback): ditto
3147
3148 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3149
3150         * LaTeXFeatures.C: check release date when loading jurabib.
3151
3152 2004-07-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3153
3154         * lyxserver.C (startPipe): call register_socket_callback
3155         (endPipe): call unregister_socket_callback
3156
3157 2004-07-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3158
3159         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
3160         (LyXServerSocket): register the callback
3161         (LyXServerSocket): unregister the callback
3162         (fd): delete function
3163         (serverCallback): improve error checking and setup the callbacks.
3164         (dataCallback): change arg to fd.
3165         (writeln): new func (copied fro the client socket) used for server
3166         write to client.
3167         (LyXDataSocket): simplify
3168         (~LyXDataSocket): close ann unregiser callback
3169         (server): delete function
3170         (fd): delete function
3171         (readln): small changes, improve some std::string usage
3172         (writeln): constify a bit
3173
3174 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3175
3176         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
3177         Qt frontend
3178
3179 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3180
3181         * BufferView_pimpl.C (setBuffer): set the layout combox value only
3182         after it has been populated
3183
3184 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3185
3186         * text2.C (insertInset): move cursor when inserting inset.
3187
3188 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3189
3190         * kbmap.C (findbindings): a couple of new methods. returns a
3191         container of kb_sequence objects. The real work is done by the
3192         private recursive version
3193         (printbindings): uses findbindings to print out a bracketed list
3194         of bindings (renamed from findbinding).
3195
3196         * MenuBackend.C (binding): use kb_keymap::findbindings
3197
3198         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
3199
3200 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3201
3202         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
3203
3204 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3205
3206         * paragraph.C (isWord): return true on insets that report
3207         isLetter().
3208
3209         * text.C (getWord): use Paragraph::isWord to decide what is in a
3210         word and what is not; fix bug 1609.
3211
3212 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3213
3214         * tex-strings.C: add "none" to string_paperpackages[], fixes
3215         off-by-one-error in the paperpackage selection.
3216
3217         * lyxlex.[Ch]:
3218         * tex-strings.[Ch]: char const * string[n]
3219         -> char const * const string[]
3220
3221 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3222
3223         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
3224         command, return early.
3225
3226 2004-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3227
3228         * debug.h: add DEBUG to enum and fix size of ANY.
3229
3230         * debug.C: add support for Debug::DEBUG
3231         (showTags): cast errorTags.level to unsigned int
3232
3233         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
3234         (redoCurrentBuffer): ditto
3235         (updateScrollbar): ditto
3236         * cursor.C (dispatch): ditto
3237         * text2.C (setLayout): ditto
3238         (setFont): ditto
3239         (updateCounters): ditto
3240         (editXY): ditto
3241         (deleteEmptyParagraphMechanism): ditto
3242
3243 2004-06-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3244
3245         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
3246         annotations to cleanup the Makefile slightly.
3247
3248 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3249
3250         * lyxrc.C: do not set user_email to a default value but use empty
3251         instead. The entry used to be translated, which does not work
3252         since at the point where lyxrc is constructed there is no
3253         translation service available
3254
3255         * messages.C (getLocaleDir): remove and use directly
3256         lyx_localedir() instead
3257
3258 2004-06-02  Angus Leeming  <leeming@lyx.org>
3259
3260         Fix crash caused by dereferencing null pointer 'exportdata' in
3261         OutputParams by creating a new ExportData variable on the heap,
3262         storing it in a boost::shared_ptr.
3263         The crash was triggered when generating an Instant Preview
3264         of an external inset.
3265
3266         * Makefile.am: add outputparams.C
3267
3268         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
3269         (c-tor): allocate memory to it.
3270
3271         * exporter.C (c-tor): associated changes.
3272
3273 2004-06-01  Angus Leeming  <leeming@lyx.org>
3274
3275         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
3276         contains data before calling isInset(0). (Bug 1513.)
3277
3278 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3279
3280         * exporter.C (checkOverwrite): new method
3281         * exporter.C (copyFile): new method
3282         * exporter.C (Export): copy referenced files to the document dir
3283         * exporter.[Ch]: new class ExportedFile
3284         * exporter.[Ch]: new class ExportData. Contains currently the
3285         names of referenced external files
3286         * outputparams.h: add exportdata member.
3287
3288 2004-05-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3289
3290         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
3291         version.C-tmp
3292
3293 2004-05-19  Angus Leeming  <leeming@lyx.org>
3294
3295         * LaTeXFeatures.C:
3296         * ToolbarBackend.C:
3297         * bufferparams.C:
3298         * lyxfunc.C: small changes due to the introduction of namespace
3299         lyx::frontend and the moving of namespace biblio to lyx::biblio.
3300
3301 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
3302
3303         * text3.C (dispatch): supress update when only moving the cursor
3304         * cursor.C (selHandle): remove commented code
3305
3306 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3307
3308         * paragraph.C (startTeXParParams): correct column count
3309         * CutAndPaste.C (pasteSelection): remove const_cast
3310         * output_docbook.C (docbookParagraphs): remove const_cast
3311         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
3312         const_cast and return ParagraphList::const_iterator
3313         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
3314         * output_plaintext.C (writeFileAscii): remove const_cast
3315         * paragraph.[Ch] (simpleTeXOnePar): make const
3316         * paragraph_funcs.C (outerPar): use const iterators
3317         * paragraph_pimpl.C (validate): use const iterators
3318         * text.C (setHeightOfRow): use const iterators
3319
3320 2004-05-17  Angus Leeming  <leeming@lyx.org>
3321
3322         * lfuns.h:
3323         * LyXAction.C (init): new LFUN_INSET_REFRESH.
3324
3325         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
3326         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
3327         if the citation engine has changed.
3328
3329 2004-05-14  José Matos  <jamatos@lyx.org>
3330
3331         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
3332         if the textclass does not provide it. Have it different for sgml and
3333         xml.
3334         support the language of document.
3335         * output_docbook.C (docbookParagraphs):
3336         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
3337         first anchor as the id of the paragraph, remove special case code.
3338         * sgml.C (escapeChar): escape only < & >.
3339
3340 2004-05-14  Angus Leeming  <leeming@lyx.org>
3341
3342         * bufferparams.h: move biblio::CiteEngine enum here to minimize
3343         dependencies on src/frontends/controllers/biblio.h. Define a
3344         CiteEngine_enum wrapper class to enable the enum to be forward
3345         declared.
3346
3347 2004-05-12  Angus Leeming  <leeming@lyx.org>
3348
3349         * buffer.C: up LYX_FORMAT to 234.
3350         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
3351         use_numerical_citations with a single biblio::CiteEngine cite_engine
3352         variable.
3353         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
3354
3355 2004-05-13  José Matos  <jamatos@lyx.org>
3356
3357         * converter.h:
3358         * converter.C (Converter, readFlags): add xml member.
3359         * outputparams.h: add XML flavor.
3360         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
3361
3362 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3363
3364         * lyxfunc.C (dispatch):
3365         (getStatus): fix handling of LFUN_SEQUENCE
3366
3367 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3368
3369         * debug.C (showLevel): do not forget the end-of-line marker
3370
3371 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3372
3373         * kbmap.C (read): do not stop parsing a bind file when an error
3374         occurs (bug 1575)
3375
3376 2004-04-29  Angus Leeming  <leeming@lyx.org>
3377
3378         * cursor.C:
3379         * factory.C:
3380         * pariterator.C:
3381         * text2.C: wrap a bunch of #warning statements
3382         inside #ifdef WITH_WARNINGS blocks.
3383
3384 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3385
3386         * buffer.C: increment format to 233.
3387
3388 2004-04-28  Angus Leeming  <leeming@lyx.org>
3389
3390         * BufferView_pimpl.C:
3391         * lyxfunc.C:
3392         * text3.C:
3393         s/updateToolbar()/updateToolbars()/
3394         s/Toolbar.h/Toolbars.h/
3395
3396 2004-04-28  Angus Leeming  <leeming@lyx.org>
3397
3398         * BufferView.[Ch] (c-tor):
3399         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
3400         No longer passes these data to the WorkArea generator.
3401
3402 2004-04-28  Angus Leeming  <leeming@lyx.org>
3403
3404         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
3405
3406 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3407
3408         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
3409
3410 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3411
3412         * output_latex.C (TeXEnvironment): make sure that there is a line
3413         break before \end{foo} for the last paragraph of a document
3414         (TeXOnePar): if the paragraph is at the end of the document (or
3415         inset) and the language has to be reset, then make sure that the
3416         line break is _before_ the language command, not after (fixes bug
3417         1225); also make sure that the language reset command is the first
3418         thing after the paragraph (to ensure proper nesting of
3419         environments and thus fix bug 1404)
3420
3421 2004-04-21  John Levon  <levon@movementarian.org>
3422
3423         * ToolbarBackend.h:
3424         * ToolbarBackend.C: make "name" be a programmatic name
3425         and a gui_name field.
3426
3427         * lyxfunc.C: display the minibuffer on M-x
3428
3429 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3430
3431         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3432         (bug 1526)
3433
3434 2004-04-19  Angus Leeming  <leeming@lyx.org>
3435
3436         * BufferView_pimpl.C (setBuffer): changed preview interface.
3437
3438         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3439         possible values.
3440
3441 2004-04-19  John Levon  <levon@movementarian.org>
3442
3443         * BufferView_pimpl.C:
3444         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3445
3446 2004-04-05  Angus Leeming  <leeming@lyx.org>
3447
3448         * text.C (redoParagraphs): add call to updateCounters(), thereby
3449         fixing the missing "Figure #:" label from the caption of a
3450         figure float.
3451
3452 2004-04-13  Angus Leeming  <leeming@lyx.org>
3453
3454         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3455         cursor is clicked out of an inset.
3456
3457 2004-04-13  Angus Leeming  <leeming@lyx.org>
3458
3459         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3460         than an InsetOld one.
3461
3462 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3463
3464         * format.[Ch]: add editor to Format
3465         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3466         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3467
3468 2004-04-08  André Pönitz  <poenitz@gmx.net>
3469
3470         * metricsinfo.h: remove PainterInfo::width member
3471
3472 2004-04-08  Angus Leeming  <leeming@lyx.org>
3473
3474         * lyx_sty.C (boldsymbol_def): modify so that it outputs
3475         "\providecommand" rather than "\newcommand", thereby preventing
3476         clashes with packages that define "\boldsymbol" themselves.
3477         Eg, beamer.
3478
3479 2004-04-08  Angus Leeming  <leeming@lyx.org>
3480
3481         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3482         thereby squashing an unnecessary warning.
3483
3484 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3485
3486         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3487         setBuffer()
3488
3489 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
3490
3491         * BufferView.C (setCursor): call redoParagraph (some insets could
3492         have been opened)
3493         (putSelectionAt): remove the 'double update' trick
3494
3495         * BufferView_pimpl.C (fitCursor): call refreshPar
3496         (workAreaDispatch): remove an uneeded update call
3497         (dispatch): remove some manual update calls
3498
3499         * cursor.[Ch]: remove cached_y_, updatePos
3500         (selHandle): set noUpdate when appropriate
3501
3502         * lyxfunc.C (dispatch): track if we need an update
3503
3504         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3505
3506         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3507         (paintSelection): cheap optimization, do not call cursorX when not
3508         needed
3509         (paintPars): change signature
3510         (refreshPar): add
3511         (paintText): adjust
3512         (paintTextInset): adjust
3513
3514         * text.C: adjust
3515
3516 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3517
3518         * lengthcommon.C: compilation fix: remove explicit array size from
3519         unit_name[] and friends
3520
3521 2004-04-05  Angus Leeming  <leeming@lyx.org>
3522
3523         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3524
3525         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3526         present only for the preferences dialog.
3527         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3528
3529 2004-04-05  Angus Leeming  <leeming@lyx.org>
3530
3531         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3532         to enable the frontends to export changes to lyxrc correctly.
3533
3534         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3535
3536 2004-04-07  André Pönitz  <poenitz@gmx.net>
3537
3538         * cursor.[Ch] (selClear, adjust): remove math
3539
3540         * cursor_slice.C: more agressive assert
3541
3542         * lyxfunc.C:
3543         * BufferView_pimpl.C: rework mouse event dispatch
3544
3545         * dociterator.C:
3546         * paragraph.C:
3547         * text2.C:
3548         * text3.C: adjust
3549
3550 2004-04-05  André Pönitz  <poenitz@gmx.net>
3551
3552         * cursor.[Ch] (valign, halign...): remove unneeded functions
3553
3554 2004-04-05  Angus Leeming  <leeming@lyx.org>
3555
3556         * lyxlength.[Ch] (unit_name et al.): const-correct.
3557
3558 2004-04-05  Angus Leeming  <leeming@lyx.org>
3559
3560         * BufferView_pimpl.C:
3561         * buffer.C:
3562         * counters.C:
3563         * cursor.C:
3564         * lyxfunc.C
3565         * paragraph.C:
3566         * pariterator.C:
3567         * text.C:
3568         * text2.C:
3569         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3570
3571 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3572
3573         * text3.C (getStatus): add LFUN_BEGINNINGBUF
3574
3575 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3576
3577         * lyxfind.C: add a couple of inTexted() tests + other small fixes
3578         * BufferView_pimpl.[Ch] (getStatus)
3579         * BufferView.[Ch] (getStatus): add
3580         * lyxfunc.C (getStatus): move lfuns handled in
3581         BufferView::dispatch to te function above
3582         * Cursor.C (setSelection): set selection() = true
3583
3584 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3585
3586         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3587
3588 2004-03-31  Angus Leeming  <leeming@lyx.org>
3589
3590         * lyxfunc.C (dispatch): Fall through to the generic
3591         Dialogs::show("preamble").
3592
3593 2004-03-31  Angus Leeming  <leeming@lyx.org>
3594
3595         * lyxfunc.C (dispatch): Fall through to the generic
3596         Dialogs::show("spellchecker").
3597
3598 2004-03-31  Angus Leeming  <leeming@lyx.org>
3599
3600         * lyxfunc.C (getStatus, dispatch): changed invocation of the
3601         preferences dialog.
3602
3603 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3604
3605         * BufferView.C
3606         * cursor.[Ch]
3607         * dociterator.[Ch]:
3608         * insetiterator.[Ch]:
3609         * lyxfind.C:
3610         * lyxfunc.C:
3611         * pariterator.[Ch]:
3612         * text2.C:
3613         * undo.[Ch]: s/DocumentIterator/DocIterator/g
3614
3615 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3616
3617         * BufferView.C (setCursor, putSelectionAt): call edit to open the
3618         insets where we are putting the cursor.
3619
3620 2004-03-31  Angus Leeming  <leeming@lyx.org>
3621
3622         * lfuns.h:
3623         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3624
3625         * lyxrc.[Ch] (read, write): overloaded member functions taking
3626         a std::[io]stream arguments.
3627
3628         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3629
3630 2004-03-31  Angus Leeming  <leeming@lyx.org>
3631
3632         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3633         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3634
3635         * lyxtextclass.C (load): if the text class couldn't be loaded, then
3636         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3637
3638 2004-03-31  Angus Leeming  <leeming@lyx.org>
3639
3640         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3641         the LFUN_ALL_INSETS_TOGGLE code.
3642
3643 2004-03-30  Angus Leeming  <leeming@lyx.org>
3644
3645         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3646         has died. Fall through to the generic Dialogs::show("document").
3647
3648 2004-03-30  Angus Leeming  <leeming@lyx.org>
3649
3650         * lfuns.h:
3651         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3652         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3653
3654         * lyxfunc.C (getStatus, dispatch): define the actions for these
3655         lfuns. Little more than a cut and pste job from ControlDocument.C
3656
3657         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3658
3659 2004-03-30  Angus Leeming  <leeming@lyx.org>
3660
3661         * lfuns.h:
3662         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3663         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3664
3665         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3666         open/closed state of ollapsable insets. Usage:
3667
3668         all-inset-toggle <state> <name>, where
3669         <state> == "open" || "closed" || "toggle" and
3670         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3671
3672         * lyxtext.h, text2.C (toggleInset): removed.
3673
3674         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3675         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3676         now passes LFUN_INSET_TOGGLE to the found inset.
3677
3678         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3679         is now invoked as "all-insets-toggle toggle branch".
3680
3681 2004-03-30  Angus Leeming  <leeming@lyx.org>
3682
3683         * dociterator.C:
3684         * insetiterator.C:
3685         * pariterator.[Ch]: added/corrected header blurb.
3686
3687 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
3688
3689         * dociterator.[Ch]: add an inset_ member
3690         (backwardPos): implemented
3691         (backwardPos, forwardPos): use inset_ when the stack is empty.
3692         (doc_iterator_begin, doc_iterator_end): implemented
3693         * pariterator.[Ch]: adjust, add begin, end
3694         * insetiterator.[Ch]: adjust, add begin, end
3695         * cursor.C:
3696         * document.C:
3697         * BufferView.C:
3698         * BufferView_pimpl.C:
3699         * CutAndPaste.C: adjust
3700
3701 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3702
3703         * buffer.C: increment file format to 232.
3704         * LaTeXFeatures.C: add bibtopic package.
3705         * bufferparams.[Ch]: param \use_bibtopic.
3706
3707         * lyxrc.[Ch]: add lyxrc bibtex_command
3708         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3709
3710         * buffer.C: increment file format to 231.
3711
3712 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3713
3714         * dociterator.C: implement forwardPar
3715         * iterators.[Ch]: remove, replaced by
3716         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3717         * BufferView.C:
3718         * BufferView_pimpl.C:
3719         * CutAndPaste.C:
3720         * buffer.C:
3721         * bufferview_funcs.C:
3722         * cursor.C:
3723         * lyxfind.C
3724         * lyxfunc.C
3725         * paragraph_funcs.C
3726         * toc.C:
3727         * Makefile.am: adjust
3728
3729 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3730
3731         * CutAndPaste.C (pasteSelection): fix 2 crashes
3732         (eraseSelection): fix a crash
3733         * paragraph_funcs.C: remove a warning
3734
3735 2004-03-28  Angus Leeming  <leeming@lyx.org>
3736
3737         * lfuns.h:
3738         * LyXAction.C (init): new LFUN_PRINT.
3739
3740         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3741
3742 2004-03-27  Angus Leeming  <leeming@lyx.org>
3743
3744         * lfuns.h:
3745         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3746
3747         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3748
3749 2004-03-27  Angus Leeming  <leeming@lyx.org>
3750
3751         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3752         insetlist always contains non-null pointers to insets.
3753
3754 2004-03-26  Angus Leeming  <leeming@lyx.org>
3755
3756         * src/BufferView_pimpl.C:
3757         * src/CutAndPaste.C:
3758         * src/buffer.C:
3759         * src/iterators.C:
3760         * src/output_plaintext.C:
3761         * src/outputparams.h:
3762         * src/paragraph_funcs.C:
3763         * src/rowpainter.C:
3764         * src/text.C:
3765         * src/text2.C:
3766         * src/frontends/controllers/ControlErrorList.C:
3767         * src/frontends/gtk/FileDialogPrivate.C:
3768         * src/frontends/gtk/GPainter.C:
3769         * src/frontends/gtk/GToolbar.C:
3770         * src/frontends/qt2/QRef.C:
3771         * src/mathed/math_scriptinset.C: squash compiler warnings.
3772
3773 2004-03-26  Angus Leeming  <leeming@lyx.org>
3774
3775         * ispell.C (LaunchIspell::start):
3776         * lyx_cb.C (AutoSaveBuffer::start):
3777         invoke run(DontWait) rather than runNonBlocking().
3778
3779 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
3780
3781         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3782
3783 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3784
3785         * kbsequence.C (print): adjust
3786
3787         * kbmap.C (printKeySym): rename and change signature
3788         (printKey): use LyXKeySym::print()
3789
3790 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
3791
3792         * undo.C: add using std::advance to compile for stlport
3793
3794 2004-03-24  Angus Leeming  <leeming@lyx.org>
3795
3796         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3797         it leads to a crash when no buffer is present.
3798
3799 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3800             Martin Vermeer  <martin.vermeer@hut.fi>
3801
3802         * lyxfunc.C (dispatch):
3803         * bufferparams.C (readToken): use the new LColor::setColor
3804
3805         * LColor.[Ch] (setColor): new version that takes two strings as
3806         argument and creates a new color entry if necessary
3807
3808 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3809
3810         * buffer.C (makeLaTeXFile): if the main latex file that is
3811         processed is usually a subdocument of some master, then pretend
3812         for a while that it is actually the master
3813
3814 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3815
3816         * buffer.C (getLabelList):
3817         (getBibkeyList): use getMasterBuffer()
3818         (getMasterBuffer): new method. Returns the main document in the
3819         case where one is using included documents.
3820
3821 2004-03-25  André Pönitz  <poenitz@gmx.net>
3822
3823         * Makefile.am:
3824         * iterators.[Ch]:
3825         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3826
3827         * ParagraphList_fwd.h: change ParagraphList to a std::vector
3828
3829         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3830         text*.C over here. Rename namespace CutAndPaste to lyx::cap
3831
3832         * ParameterStruct.h: merge with ParagraphParameters
3833
3834         * lyxtext.h: remove LyXText::parOffset() and getPar()
3835
3836         * text3.C: Remove all 'manual' update calls. We do now one per user
3837         interaction which is completely sufficient.
3838
3839         * Bidi.C:
3840         * BufferView.[Ch]:
3841         * BufferView_pimpl.C:
3842         * FontIterator.[Ch]:
3843         * MenuBackend.C:
3844         * ParagraphParameters.[Ch]:
3845         * buffer.C:
3846         * buffer.h:
3847         * bufferlist.C:
3848         * cursor.[Ch]:
3849         * cursor_slice.[Ch]:
3850         * dociterator.[Ch]:
3851         * errorlist.[Ch]:
3852         * factory.C:
3853         * lfuns.h:
3854         * lyxfind.C:
3855         * lyxfunc.C:
3856         * output_docbook.[Ch]:
3857         * output_latex.[Ch]:
3858         * output_linuxdoc.[Ch]:
3859         * output_plaintext.[Ch]:
3860         * paragraph.[Ch]:
3861         * paragraph_funcs.[Ch]:
3862         * paragraph_pimpl.[Ch]:
3863         * rowpainter.C:
3864         * tabular.[Ch]:
3865         * text.C:
3866         * text2.C:
3867         * toc.C:
3868         * undo.[Ch]: adjust
3869
3870         * frontends/controllers/ControlDocument.C:
3871         * frontends/controllers/ControlErrorList.C:
3872         * frontends/controllers/ControlSpellchecker.C:
3873         * insets/inset.C:
3874         * insets/inset.h:
3875         * insets/insetbase.h:
3876         * insets/insetbibitem.C:
3877         * insets/insetbox.C:
3878         * insets/insetbranch.C:
3879         * insets/insetcaption.C:
3880         * insets/insetcharstyle.C:
3881         * insets/insetcharstyle.h:
3882         * insets/insetcollapsable.C:
3883         * insets/insetcollapsable.h:
3884         * insets/insetert.C:
3885         * insets/insetfloat.C:
3886         * insets/insetfoot.C:
3887         * insets/insetmarginal.C:
3888         * insets/insetnote.C:
3889         * insets/insetoptarg.C:
3890         * insets/insettabular.C:
3891         * insets/insettext.C:
3892         * insets/insettext.h:
3893         * insets/insetwrap.C:
3894         * mathed/math_mboxinset.C:
3895         * mathed/math_nestinset.C:
3896         * mathed/math_scriptinset.C:
3897         * mathed/math_scriptinset.h:
3898         * support/types.h:
3899
3900 2004-03-24  Angus Leeming  <leeming@lyx.org>
3901
3902         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3903         deal with any child processes that have finished but are waiting to
3904         communicate this fact to the rest of LyX.
3905
3906 2004-03-24  Angus Leeming  <leeming@lyx.org>
3907
3908         64-bit compile fixes.
3909
3910         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3911         (c-tor): pass lyx::pos_types rather than ints.
3912
3913         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3914         lyx::pos_type.
3915
3916         * text.C (Delete): compile fix.
3917         (getPar): ensure that function declaration is the same as that in
3918         the header file.
3919
3920 2004-03-23  Angus Leeming  <leeming@lyx.org>
3921
3922         * ispell.C (LaunchIspell):
3923         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3924         a boost::shred_ptr rather than a std::auto_ptr.
3925
3926 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3927
3928         * lyxfunc.C (getStatus): handle read-only buffers correctly;
3929         handle LFUN_FILE_INSERT_*
3930
3931         * lyxrc.C (setDefaults, getDescription, output, read):
3932         * lyxrc.h: remove ps_command
3933
3934 2004-03-22  Angus Leeming  <leeming@lyx.org>
3935
3936         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3937         Ensure that error_handler is processed once only and that all data
3938         is saved before attempting to output any warning messages.
3939
3940         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3941
3942 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
3943
3944         * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3945
3946 2004-03-19  André Pönitz  <poenitz@gmx.net>
3947
3948         * cursor.[Ch] (reset): take main text inset as argument
3949
3950         * BufferView: adjust
3951         * BufferView_pimpl.C: adjust
3952
3953         * paragraph.[Ch]: fix completely broken operator=()
3954
3955 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3956
3957         * LColor.C (getFromLyXName): make sure that the color name is used
3958         as lowercase.
3959
3960 2004-03-17  Angus Leeming  <leeming@lyx.org>
3961
3962         * lfuns.h:
3963         * LyXAction.C (init): remove LFUN_FORKS_KILL.
3964
3965         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3966         dialog and to kill a forked process.
3967
3968 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3969
3970         * text2.C (setCursorFromCoordinates): fix font problem
3971
3972 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3973
3974         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3975         bogus "rebuild cursor" code
3976
3977 2004-03-11  André Pönitz  <poenitz@gmx.net>
3978
3979         * buffer.[Ch]: use InsetText instead of LyXText as container for
3980         the main lyx text.
3981
3982         * dociterator.[Ch]: drop the BufferView * member which is not needed
3983         anymore after the change to buffer.C
3984
3985         * paragraph_funcs.C:
3986         * text.C:
3987         * text2.C:
3988         * BufferView.[Ch]:
3989         * BufferView_pimpl.[Ch]:
3990         * cursor.[Ch]:
3991         * cursor_slice.[Ch]: adjust
3992
3993         * text3.C: fix bug in mathDispatch
3994
3995 2004-03-08  André Pönitz  <poenitz@gmx.net>
3996
3997         * undo.[Ch]: use 'StableDocumentIterator' as base for
3998         the Undo struct.
3999
4000 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4001
4002         * LaTeXFeatures.C:
4003         * bufferparams.[Ch]: add jurabib support and param.
4004
4005         * LaTeX.C: add FIXME/comment.
4006
4007 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4008
4009         * buffer.C: increment file format to 230.
4010
4011 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
4012
4013         * cursor.C (dispatch): avoid infinite loops
4014
4015 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
4016
4017         * rowpainter.C (paintSelection): fix x coordinates
4018
4019 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
4020
4021         * text.C (rowBreakPoint): fix breaking before displayed insets
4022
4023 2004-03-01  André Pönitz  <poenitz@gmx.net>
4024
4025         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
4026
4027         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
4028
4029         * Makefile.am:
4030         * BufferView.C:
4031         * BufferView_pimpl.C:
4032         * buffer.C:
4033         * lyxfind.C:
4034         * lyxfunc.C:
4035         * text.C:
4036         * text2.C:
4037         * text3.C: adjust
4038
4039 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
4040
4041         * lyxtext.h:
4042         * text.C:
4043         * text2.C:
4044         * rowpainter.C:
4045         * BufferView_pimpl.C: rename textwidth -> maxwidth,
4046         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
4047
4048 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
4049
4050         * Bidi.[Ch] (computeTables): const correctness
4051         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
4052         fill_hfill, fill_label_hfill and x from Row
4053         * lyxtext.h: prepareToPrint returns a RowMetrics
4054         * rowPainter.C: adjust
4055         * text.C (prepareToPrint): use width, not textWidth. adjust
4056         (redoParagraphInternal, cursorX): adjust
4057         * text2.C (getColumnNearX): adjust
4058         (init): put a default value to the top LyXText::width
4059
4060 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
4061
4062         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
4063
4064 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
4065
4066         * lyxtext.h: add FontIterator class
4067
4068         * text.C (FontIterator, operator*, operator->, operator++): add
4069         (rowBreakPoint, setRowWidth): adjust (fixing a
4070         rebreaking bug)
4071
4072 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4073
4074         * BufferView_pimpl.C (workAreaDispatch): allow also
4075         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
4076
4077 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
4078
4079         * text.C (rowBreakPoint): fix a bug showing with very large insets
4080
4081 2004-02-25  André Pönitz  <poenitz@gmx.net>
4082
4083         * text3.C:
4084         * cursor.[Ch]: move some mathed specific code to mathed
4085
4086 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4087
4088         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
4089         use_tempdir in preferences
4090         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
4091         tempfile creation
4092         * lyx_main.C: ensure that tempdir is valid
4093         * lyxlex.h: correct typo
4094         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
4095         * paragraph.[Ch] (isMultiLingual): make const
4096         * cursor.[Ch] (openable): make const
4097
4098 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4099
4100         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
4101
4102 2004-02-20  André Pönitz  <poenitz@gmx.net>
4103
4104         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
4105
4106         * cursor.[Ch]: prepare for localized getStatus()
4107
4108         * lyxtext.h:
4109         * tabular.C:
4110         * text.C:
4111         * text2.C:
4112         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
4113
4114 2004-02-20  André Pönitz  <poenitz@gmx.net>
4115
4116         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
4117
4118 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
4119
4120         * text2.C (setCursorFromCoordinates): switch to absolute coords
4121         (cursorUp): adjust
4122         (cursorDown): adjust
4123         * text3.C (dispatch): adjust
4124
4125 2004-02-16  André Pönitz  <poenitz@gmx.net>
4126
4127         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
4128           insets/ChangeLog)
4129
4130         * cursor_slice.[Ch]: remove unneeded acessor function
4131
4132         * lyxtext.h: rename rtl() to isRTL()
4133
4134         * rowpainter.C:
4135         * tabular.C:
4136         * text.C:
4137         * text2.C:
4138         * text3.C: adjust
4139
4140 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
4141
4142         * rowpainter.C (paintSelection): coord fix
4143
4144 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
4145
4146         * Spacing.C: compile fix
4147
4148 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
4149
4150         * cursor.C (dispatch): restore current_ before returning
4151
4152 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
4153
4154         * text2.C (cursorUp, cursorDown): fix coords
4155         (moveUp): fix crash
4156
4157 2004-02-12  André Pönitz  <poenitz@gmx.net>
4158
4159         * lyxtext.h:
4160         * text.C:
4161         * text2.C:
4162         * text3.C: add LCursor & parameter to most cursor movement functions
4163           remove usage of LyXText::cursorRow() and cursorPar()
4164
4165         * cursor.[Ch]: add textRow() needed members
4166
4167         * BufferView.C:
4168         * BufferView_pimpl.C:
4169         * paragraph.[Ch]:
4170         * BufferView.C:
4171         * BufferView_pimpl.C: adjust
4172
4173 2004-02-11  André Pönitz  <poenitz@gmx.net>
4174
4175         * lyxfunc.C:
4176         * BufferView.[Ch]:
4177         * BufferView_pimpl.C: shift undo/redo handling
4178
4179         * cursor.[Ch]: fix mathed crash
4180
4181         * lyxfind.C:
4182         * lyxtext.h: move selectionAsText to LCursor
4183
4184         * output_latex.C:
4185         * paragraph.C:
4186         * text.C:
4187         * text2.C:
4188         * text3.C: adjust
4189
4190         * rowpainter.C: fix excessive drawing
4191
4192 2004-02-06  André Pönitz  <poenitz@gmx.net>
4193
4194         * BufferView.[Ch]:
4195         * BufferView_pimpl.[Ch]:
4196         * text3.C: move some text specific LFUN handling
4197
4198 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
4199
4200         * text3.C (checkInsetHit): adjust coords
4201         * text2.C (getColumnNearX): adjust coords
4202         (edit): adjust coords
4203         * text.C (getRowNearY): add two asserts
4204
4205 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
4206
4207         * converter.C:
4208         * format.C: add using std::distance to compile on gcc 2.95/stlport
4209
4210 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
4211
4212         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
4213
4214 2004-02-04  André Pönitz  <poenitz@gmx.net>
4215
4216         * BufferView.[Ch] (insertInset):
4217         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
4218
4219         * text2.C:
4220         * text3.C: adjust
4221
4222 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
4223
4224         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
4225         on the default clause of the switch
4226         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
4227         wasn't catched by LCursor::dispatch
4228
4229 2004-02-03  André Pönitz  <poenitz@gmx.net>
4230
4231         * BufferView.C:
4232         * cursor.[Ch]: some additional asserts
4233
4234         * undo.[Ch]: remove LyXText dependency in interface
4235
4236         * lyxfunc.C: adjust
4237
4238         * lyxtext.h (firstPar, lastPar): remove dead functions
4239
4240         * text.C:
4241         * text2.C:
4242         * text3.C:
4243         * paragraph.[Ch]: adjust
4244
4245 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
4246
4247         * lyxfind.C (find): fix argument order in call to ::find
4248
4249 2004-02-02  André Pönitz  <poenitz@gmx.net>
4250
4251         * cursor.[Ch]: remove direct access to anchor
4252
4253         * text.C: remove findText() hack
4254
4255 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
4256
4257         * iterators.[Ch] (lockPath): remove in favour of...
4258         * BufferView.[Ch] (setCursor): this addition
4259         * BufferView.C (putSelectionAt): adjust
4260         * undo.C (performUndoOrRedo): adjust
4261         * lyxfunc.C (dispatch): adjust
4262
4263 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
4264
4265         * iterators.C (lockPath): add a missing slice
4266         * undo.C (performUndoOrRedo): remove redundant positioning code
4267
4268 2004-02-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4269
4270         * vc-backend.C (scanMaster): ";" -> ';'
4271
4272 2004-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4273
4274         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
4275         std::binary_function
4276
4277         * lyxtextclass.C (compare_name): rename to...
4278         (LayoutNamesEqual): ...this
4279
4280         * lyxlex_pimpl.C (compare_tags): inherit from
4281         std::binary_function, put back into anon namespace
4282
4283         * lyxfind.C (MatchString): inherig from std::binary_function
4284         (findChange): use empty() istead of !size()
4285
4286         * format.C (FormatNamesEqual): new functor
4287         (getFormat): use it
4288         (getNumber): use it
4289         (add): use it
4290         (erase): use it
4291         (setViewer): use it
4292
4293         * converter.C (compare_Converter): rename to...
4294         (ConverterEqual): ...this, and fixup a bit.
4295         (getConverter): use it, and make function const
4296         (getNumber): use it, and make function const
4297         (add): use it
4298         (erase): use it:
4299
4300         * bufferlist.C: add using boost::bind
4301
4302         * MenuBackend.C (MenuNamesEqual): new functor
4303         (hasMenu): use it, and make function const
4304         (hasSubmenu): use nested bind to get rid of compare_memfun.
4305
4306 2004-01-30  André Pönitz  <poenitz@gmx.net>
4307
4308         * BufferView_pimpl.C:
4309         * cursor.C:
4310         * cursor.h:
4311         * cursor_slice.[Ch]:
4312         * lyxfunc.C:
4313         * lyxtext.h:
4314         * paragraph_funcs.C:
4315         * paragraph_funcs.h:
4316         * rowpainter.C:
4317         * text.C:
4318         * text2.C:
4319         * text3.C: move some of the edit(x,y) handling to the insets
4320         some coordinate changes.
4321
4322 2004-01-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4323
4324         * text.C: add using statements for std::advance and std::distance
4325
4326         * paragraph.C: add using statement for std::distance
4327
4328         * lyxfind.C: add using statement for std::advance
4329
4330         * cursor.C (region): remove std:: from swap
4331         (openable): use nucleus in stead of operator->
4332
4333         * BufferView.C: add using statements for std::distance and std::swap
4334
4335 2004-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4336
4337         * iterators.C: Remove the pimple, move the needed structures to
4338         the header file. Create accessor for the positions stack.
4339         (asPosIterator): remove function
4340
4341         * PosIterator.C (PosIterator): move constructors to top of file
4342         (PosIterator): reimplement the constructor taking a ParIterator in
4343         terms of setFrom.
4344         (setFrom): new function
4345         (operator!=): inline it
4346
4347 2004-01-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4348
4349         * lyxfind.C (replaceAll): use std::advance
4350
4351         * iterators.h: inherit from std::iterator.
4352
4353         * PosIterator.C (advance, distance): remove
4354         * PosIterator.h: interit from std::iterator.
4355
4356 2004-01-26  André Pönitz  <poenitz@gmx.net>
4357
4358         * BufferView.[Ch]:
4359         * BufferView_pimpl.[Ch]:
4360         * InsetList.[Ch]:
4361         * PosIterator.[Ch]:
4362         * buffer.h:
4363         * bufferview_funcs.C:
4364         * cursor.[Ch]:
4365         * cursor_slice.h:
4366         * factory.[Ch]:
4367         * iterators.[Ch]:
4368         * lyxfind.C:
4369         * lyxfunc.C:
4370         * lyxtext.h:
4371         * output_docbook.C:
4372         * output_latex.C:
4373         * output_linuxdoc.C:
4374         * output_plaintext.C:
4375         * paragraph.[Ch]:
4376         * paragraph_funcs.[Ch]:
4377         * paragraph_pimpl.[Ch]:
4378         * rowpainter.C:
4379         * tabular.C:
4380         * tabular.h:
4381         * text.C:
4382         * text2.C:
4383         * text3.C: more IU:  dumps most of the rest of the mathcursor
4384     implementation into cursor.[Ch]; "globalize" a bit of it.
4385
4386 2004-01-25  Angus Leeming  <leeming@lyx.org>
4387
4388         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
4389
4390 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4391
4392         * LaTeXFeatures.h: add nice_ and nice() const
4393         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
4394
4395 2004-01-20  André Pönitz  <poenitz@gmx.net>
4396
4397         * BufferView.[Ch]:
4398         * BufferView_pimpl.C:
4399         * PosIterator.C:
4400         * bufferview_funcs.C:
4401         * cursor.[Ch]:
4402         * cursor_slice.[Ch]:
4403         * factory.C:
4404         * iterators.C:
4405         * lyx_cb.C:
4406         * lyxfind.C:
4407         * lyxfunc.C:
4408         * lyxtext.h:
4409         * rowpainter.C:
4410         * text.C:
4411         * text2.C:
4412         * text3.C:
4413         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
4414           LCursor and mathcursor parts to LCursor and InsetBase.
4415
4416 2004-01-15  André Pönitz  <poenitz@gmx.net>
4417
4418         * cursor_slice.[Ch]: add a few covienience functions
4419
4420         * funcrequest.[Ch]: remove BufferView * member
4421
4422         * BufferView_pimpl.C:
4423         * cursor.C:
4424         * factory.[Ch]:
4425         * lyxfind.[Ch]:
4426         * lyxfunc.C:
4427         * lyxtext.h:
4428         * text3.C:
4429         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4430
4431 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
4432
4433         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4434         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4435
4436 2004-01-13  André Pönitz  <poenitz@gmx.net>
4437
4438         * textcursor.[Ch]:
4439         * lyxtext.h: hide cursor and selection anchor behind accessor function
4440
4441         * BufferView.C:
4442         * BufferView_pimpl.[Ch]:
4443         * PosIterator.C:
4444         * bufferview_funcs.C:
4445         * cursor.h:
4446         * lyxfind.C:
4447         * lyxfunc.C:
4448         * text.C:
4449         * text2.C:
4450         * text3.C:
4451         * undo.C: adjust
4452
4453         * cursor.h:
4454         * cursor_slice.[Ch]: some integer type changes for inset unification
4455
4456         * lyxcursor.[hC]: remove, it's CursorSlice now.
4457
4458         * Makefile.am:
4459         * BufferView_pimpl.[Ch]:
4460         * bufferview_funcs.C:
4461         * cursor_slice.C:
4462         * lyxtext.h:
4463         * text.C:
4464         * text2.C:
4465         * text3.C:
4466         * textcursor.[Ch]: adjust
4467
4468 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
4469
4470         * text2.C (undoSpan): add and use
4471         * text.C (breakParagraph): use undoSpan (fix bug 578)
4472         * lyxtext.h: adjust
4473
4474 2004-01-08  Angus Leeming  <leeming@lyx.org>
4475
4476         * BufferView_pimpl.C (MenuInsertLyXFile):
4477         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4478         * lyxfunc.C (menuNew, open, doImport):
4479         FileFilterList change to the FileDialog open and save functions.
4480
4481 2004-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4482
4483         * ShareContainer.h: make isEqual and isUnique adaptable
4484
4485         * CutAndPaste.C: make resetOwnerAndChanges adaptable
4486
4487 2004-01-07  Angus Leeming  <leeming@lyx.org>
4488
4489         * LyXAction.C:
4490         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4491
4492         * BufferView_pimpl.C (dispatch): act on these LFUNs.
4493
4494         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4495         functions replacing find, replace and replaceAll.
4496
4497         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4498         LFUN_WORDFIND(FORWARD|BACKWARD).
4499
4500 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4501
4502         * text.C (breakParagraph): remove an outdated #warning
4503
4504 2004-01-07  André Pönitz  <poenitz@gmx.net>
4505
4506         * lyxfind.C: somewhat clearer logic
4507
4508         * text.C: prevent crash in cursorX on unitialized row cache
4509
4510 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4511
4512         * lyxcursor.[Ch] (operator>): add
4513         * textcursor.C (selStart, selEnd): use std::min and std::max
4514
4515 2004-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4516
4517         * Chktex.C: include boost/format.hpp
4518
4519 2004-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4520
4521         * InsetList.C: replace functor MathcIt with adaptable functor
4522         InsetTablePosLess
4523         (insetIterator): modify accordingly
4524
4525         * BranchList.h: move the BranchNamesEqual functor here from...
4526         * BranchList.C: ... to here
4527
4528         * BranchList.C: new BranchListEqual fuctor, use it. Remove
4529         SameName and match.
4530         (add): replace a finding loop with std::find_if.
4531
4532 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
4533
4534         * output_docbook.C: moving LatexParam functionality into
4535         .layout files
4536
4537 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4538
4539         * buffer.C: increment format to 229.
4540
4541 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
4542
4543         * LaTeXFeatures.C:
4544         * lyx_sty.[Ch]: remove minipageindent_def
4545
4546         * LyXAction.C:
4547         * factory.C:
4548         * lfuns.h:
4549         * lyxfunc.C:
4550         * text3.C: remove LFUN_INSET_MINIPAGE
4551
4552 2003-12-28  Angus Leeming  <leeming@lyx.org>
4553
4554         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4555
4556 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
4557
4558         * text2.C (setParagraph): fix off-by-one crash
4559
4560 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
4561
4562         * output_docbook.C: header stuff for AGU
4563
4564 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
4565
4566         * text2.C (redoCursor): remove
4567         * text.C:
4568         * text3.C:
4569         * BufferView_pimpl.C: remove calls to redoCursor and
4570         setCursor(cursor.par(), cursor.pos()) all around
4571
4572 2003-12-15  Angus Leeming  <leeming@lyx.org>
4573
4574         * buffer.C: up the format to 228.
4575
4576 2003-12-15  André Pönitz  <poenitz@gmx.net>
4577
4578         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4579         slices
4580
4581         * Makefile.am:
4582
4583         * BufferView_pimpl.C:
4584         * cursor.[Ch]:
4585         * lyxcursor.[Ch]:
4586         * rowpainter.[Ch]:
4587         * lyxtext.h:
4588         * text.C:
4589         * text2.C:
4590         * text3.C: adjust
4591
4592 2003-12-15  Angus Leeming  <leeming@lyx.org>
4593
4594         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4595         than getFromGUIName to manipulate the color.
4596
4597 2003-12-14  Angus Leeming  <leeming@lyx.org>
4598
4599         * BranchList.[Ch]: minimize the API.
4600         (Branch::getBranch, getColor): now return a 'const &'.
4601         (Branch::setSelected) now returns a bool set to true if the
4602         selection status changes.
4603         (BranchList::clear, size, getColor, setColor, setSelected,
4604         allBranches, allSelected, separator): removed.
4605         (BranchList::find): new functions, returning the Branch with
4606         the given name.
4607         (BranchList::add, remove): return a bool indicating that
4608         the operation was successful.
4609
4610         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4611         new InsetBranch::isBranchSlected member function.
4612
4613         * LColor.[Ch]: mimimize the API.
4614         (fill): renamed as addColor and made private.
4615         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4616         versions of these functions taking a string arg have been removed.
4617
4618         * bufferparams.C (readToken):
4619         * lyxfunc.C (dispatch):
4620         * lyxrc.C (read): changes due to the altered BranchList and
4621         LColor APIs.
4622
4623         * factory.C (createInset, readInset): changes due to altered
4624         InsetBranch c-tor.
4625
4626 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4627
4628         * factory.C:
4629         * lyxfunc.C: remove insetminipage. "minipage-insert"
4630         now produces a frameless minipage box inset.
4631
4632 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4633
4634         * textcursor.[Ch] (selStart,selEnd): add new methods
4635         remove selection::start, end, use LyXCursor::operator<
4636         * lyxcursor.[Ch] (operator<): add
4637         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4638         * BufferView.[Ch] (unsetXSel): add
4639         * text2.C (clearSelection): use unsetXSel,adjust
4640         * text.C: adjust
4641         * text3.C: adjust
4642         * rowpainter.C: adjust
4643         * bufferview_funcs.C (put_selection_at): adjust
4644
4645 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4646
4647         * BufferView_pimpl.C: small coord. correction
4648
4649 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4650
4651         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4652         dragging over the splash screen.
4653
4654 2003-12-11  Angus Leeming  <leeming@lyx.org>
4655
4656         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4657         as it is now handled in LyXText::dispatch.
4658
4659         * text3.C (doInsertInset): remove a level of nesting.
4660
4661 2003-12-11  Angus Leeming  <leeming@lyx.org>
4662
4663         * factory.C (createInset): changes due to the changed interface to
4664         InsetCommandMailer::string2params.
4665
4666 2003-12-10  Angus Leeming  <leeming@lyx.org>
4667
4668         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4669         'dialog-show-new-inset <inset name>'
4670
4671 2003-12-10  Angus Leeming  <leeming@lyx.org>
4672
4673         * buffer.C: up the format to 227.
4674
4675         * factory.C: the box inset is now identified simply by 'Box'.
4676
4677 2003-12-10  Angus Leeming  <leeming@lyx.org>
4678
4679         * buffer.C: up the format to 226.
4680
4681         * factory.C: the note inset is now identified simply by 'Note'.
4682
4683 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
4684
4685         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4686         when a pit is enough. Standarize a couple of loops.
4687
4688 2003-12-05  Angus Leeming  <leeming@lyx.org>
4689
4690         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4691         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4692         data to the re-worked "log" dialog.
4693
4694 2003-12-03  André Pönitz  <poenitz@gmx.net>
4695
4696         * PosIterator.C:
4697         * iterators.C:
4698         * lyxtext.h:
4699         * output_latex.C:
4700         * paragraph_funcs.C:
4701         * text.C:
4702         * text2.C: use Inset::getText instead of Inset::getParagraph
4703
4704 2003-12-03  André Pönitz  <poenitz@gmx.net>
4705
4706         * buffer.[Ch]:
4707         * lyxtext.h:
4708         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4709         InsetText::read() as LyXText::read()
4710
4711 2003-12-02  Angus Leeming  <leeming@lyx.org>
4712
4713         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4714         type. Add a comment in the implementation that the function uses
4715         the stream's bad() function rather than fail() as the std::streams
4716         would do.
4717
4718 2003-12-02  André Pönitz  <poenitz@gmx.net>
4719
4720         * lyxlex.[Ch]: make interface more similar to std::stream
4721
4722         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4723
4724 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
4725
4726         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4727
4728 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
4729
4730         * vspace.[Ch]: remove VSpace::NONE
4731
4732 2003-12-01  André Pönitz  <poenitz@gmx.net>
4733
4734         * buffer.[Ch]:
4735         * lyxtext.h: move ParagraphList member to LyXText
4736         rename LyXText::ownerParagraphs to LyXText::paragraph
4737
4738         * CutAndPaste.C:
4739         * bufferview_funcs.C:
4740         * iterators.[Ch]:
4741         * lyx_cb.C:
4742         * paragraph.C:
4743         * rowpainter.C:
4744         * tabular.C:
4745         * text.C:
4746         * text2.C:
4747         * text3.C: adjust
4748
4749         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4750
4751         * undo.C: fix cursor positioning
4752
4753 2003-12-01  John Levon  <levon@movementarian.org>
4754
4755         * BufferView_pimpl.C: fix a crash on exit with
4756         a buffer open
4757
4758 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
4759
4760         * BranchList.C: fix setSelected() method.
4761
4762 2003-11-28  André Pönitz  <poenitz@gmx.net>
4763
4764         * ParagraphParameters.[Ch]:
4765         * ParameterStruct.h: remove space above/below from Paragraph to
4766          InsetVSpace
4767
4768         * BufferView_pimpl.C:
4769         * factory.C:
4770         * lyxfunc.C:
4771         * lyxtext.h:
4772         * output_latex.C:
4773         * paragraph.C:
4774         * paragraph_funcs.C:
4775         * rowpainter.[Ch]:
4776         * text.C:
4777         * text2.C:
4778         * text3.C: adjust
4779
4780 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
4781
4782         * factory.C: Syntax change for CharStyles
4783
4784 2003-11-28  André Pönitz  <poenitz@gmx.net>
4785
4786         * BufferView.[Ch]:
4787         * BufferView.[Ch]:
4788         * buffer.[Ch]:
4789         * buffer.[Ch]: move LyXText member
4790
4791 2003-11-28  André Pönitz  <poenitz@gmx.net>
4792
4793         * BufferView.[Ch]: make LyXText * text a private member
4794
4795         * BufferView_pimpl.C:
4796         * cursor.C:
4797         * iterators.C:
4798         * lyx_cb.C:
4799         * lyxfind.C:
4800         * lyxtext.h:
4801         * rowpainter.[Ch]:
4802         * text.C:
4803         * text2.C:
4804         * undo.C: adjust
4805
4806         * output_plaintext.C: cleanup
4807
4808 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4809
4810         * buffer.C:
4811         * lyxtextclass.[Ch]: parametrize SGML document header
4812
4813 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4814
4815         * converter.[Ch]:
4816         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4817         getFlavor().
4818
4819 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
4820
4821         * text2.C (setFont): rework using PosIterator (no more recursive)
4822         (setCharFont): no more needed
4823         (setLayout): no more selection cursors fiddling (done by redoCursor)
4824         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4825         destroy remaining ones)
4826
4827 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
4828
4829         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4830         * lyxtext.h: ditto
4831         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4832         selection cursors
4833         * lyxfunc.C: adjust
4834         * text3.C: adjust + re-allow multi par depth changes
4835         * textcursor.C: simplify a bit
4836
4837 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
4838
4839         * src/buffer.C:
4840         * src/lyxlayout.C:
4841         * src/lyxlayout.h:
4842         * src/lyxtext.h:
4843         * src/output_docbook.C:
4844         * src/output_latex.C:
4845         * src/paragraph.C:
4846         * src/paragraph.h:
4847         * src/sgml.C:
4848         * src/sgml.h:
4849         * src/text2.C: Introducing a number of tags parametrizing various
4850         XML formats that we may want to support
4851
4852 2003-11-25  André Pönitz  <poenitz@gmx.net>
4853
4854         * InsetList.[Ch] (begein, end): inline as suggested by profiler
4855
4856         * lyxtext.h (leftMargin/rightMargin): simplify interface
4857
4858         * rowpainter.C:
4859         * text.C:
4860         * text2.C:
4861         * text3.C: adjust
4862
4863 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4864
4865         * lyxfunc.C (dispatch): propogate the bibtex databases from the
4866         master file to any child files. Fixes bug 546.
4867
4868 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4869
4870         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4871
4872 2003-11-24  André Pönitz  <poenitz@gmx.net>
4873
4874         * rowpainter.C: simplification
4875
4876         * text2.C (updateCounters): remove call to redoParagraph on
4877         changed labels as this is far too expensive.
4878
4879 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4880
4881         * converter.C (convert): fix a crash: this function gets
4882         called with buffer == 0 from importer code.
4883
4884 2003-11-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4885
4886         * text3.C (cursorPrevious): make sure that we do not compare
4887         iterators form different containers.
4888         (cursorNext): ditto
4889
4890         * rowpainter.C (paintSelection): make sure that we do not compare
4891         iterators from different containers.
4892
4893         * text3.C (dispatch): [PRIOR] make sure that we do not compare
4894         iterators from different ParagraphList containers.
4895         [NEXT] ditto
4896
4897         * text2.C (LyXText): change order of initialization slightly
4898         (operator=): new function. copy all variables except cache_par_
4899         (moveUp): make sure that we do not compare iterators from
4900         different ParagraphList constainers.
4901         (moveDown): ditto
4902
4903         * text.C (firstPar): new function
4904         (lastPar): new function
4905         (endPar): new function
4906
4907         * lyxtext.h: move things around and group public functions, public
4908         variables, private functions, private variables
4909
4910 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
4911
4912         * factory.C: change call to InsetERT constructor to avoid
4913         additional invocation of method status
4914         * text2.C (toggleInset): remove redundant update() call
4915         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4916         instead of a Bufferview pointer
4917
4918 2003-11-21  André Pönitz  <poenitz@gmx.net>
4919
4920         * rowpainter.C: simplification
4921
4922 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4923
4924         * text3.C (dispatch): make possible to extend a word/row selection
4925         with the mouse
4926
4927 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4928
4929         * lyxtext.h: x0_,y0_ -> xo_,yo_
4930         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4931         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4932         * rowpainter.C (paintRows): paint full paragraphs
4933
4934 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4935
4936         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4937         screen coordinates)
4938
4939 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4940
4941         * lyxtext.h: add x0_, y0_
4942         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4943         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4944
4945 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
4946
4947         * text2.C (setCursorIntern): move the x_target update here *
4948         * text3.C: change some bv() to true/false in calls to
4949         cursorUp/Down/Right/Left
4950         * cursor.C: use helper function.
4951
4952 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4953
4954         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4955         * paragraph_funcs.[Ch]: correct comment
4956         * rowpainter.C: do not paint selections away from bv->cursor()
4957         Fix a long standing selection painting bug.
4958         * text3.C: generalize mouse-selection code to LyXTexts other that
4959         top one
4960         * textcursor.C: do not use y coords if we can use par offsets
4961
4962 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4963
4964         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4965         cursor position after e.g. inset insert)
4966
4967 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
4968
4969         * lyxfind.C (replace): adjust to locking removal + some
4970         code simplification
4971
4972 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
4973
4974         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4975         of the path
4976
4977 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
4978
4979         * lyxlayout.[Ch]:
4980         * output_docbook.C: XML sanitation: new layout
4981         parameters InnerTag and CommandDepth
4982
4983 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
4984
4985         * BufferView_pimpl.C:
4986         * factory.C:
4987         * text3.C: Fix the insertion and modification of button-style
4988         insets
4989
4990 2003-11-13  André Pönitz  <poenitz@gmx.net>
4991
4992         * InsetList.[Ch]: remove deleteLyXText
4993
4994         * paragraph.[Ch]: cache beginOfBody position
4995
4996         * Bidi.C:
4997         * text.C:
4998         * text2.C:
4999         * text3.C: remove superfluous update() calls
5000
5001         * vspace.C: cleanup
5002
5003 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
5004
5005         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
5006         * BufferView.C (fitLockedInsetCursor): remove
5007         * cursor.[Ch] (getDim): add
5008         * text.C (getRowNearY): add faster version
5009         * text3.C: remove some update calls
5010
5011 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
5012
5013         * LaTeXFeatures.C:
5014         * LyXAction.C:
5015         * MenuBackend.C:
5016         * MenuBackend.h:
5017         * dispatchresult.h:
5018         * factory.C:
5019         * lfuns.h:
5020         * lyxfunc.C:
5021         * lyxtextclass.C:
5022         * lyxtextclass.h:
5023         * text3.C: The Character Style /XML short element patch.
5024
5025 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
5026
5027         * text3.C:
5028         * factory.C: Small step to solving 'unable to insert some insets'
5029         problem
5030
5031 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
5032
5033         * cursor.[Ch] (updatePos): new function for updating the y
5034         position of the tip inset
5035         * bufferview_funcs.C (put_selection_at):
5036         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
5037
5038 2003-11-11  André Pönitz  <poenitz@gmx.net>
5039
5040         * text.C: remove big comment on invalid Paragraph pointers as it is
5041         not valid anymore
5042
5043 2003-11-11  André Pönitz  <poenitz@gmx.net>
5044
5045         * text_funcs.[Ch]: merge with ...
5046
5047         * text.C: ... this
5048
5049         * lyxtext.h:
5050         * text2.C:
5051         * text3.C: adjust
5052
5053         * Makefile.am: remove text_funcs.[Ch]
5054
5055 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
5056
5057         * cursor.C (getPos): return absolute cached y coord
5058
5059         * BufferView_pimpl.C (fitCursor): new simplistic code
5060         (workAreaDispatch): add a fitCursor call
5061
5062 2003-11-10  André Pönitz  <poenitz@gmx.net>
5063
5064         * BufferView.[Ch]:
5065         * BufferView_pimpl.[Ch]: merge update() and updateInset()
5066
5067 2003-11-10  André Pönitz  <poenitz@gmx.net>
5068
5069         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
5070         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
5071         indicate that the cursor needs to leave an inset
5072
5073         * lyxtext.h: remove inset locking
5074
5075         * cursor.[Ch]: re-implement functionality provided by inset locking
5076
5077         * BufferView.[Ch]:
5078         * BufferView_pimpl.[Ch]:
5079         * LyXAction.C:
5080         * bufferview_funcs.[Ch]:
5081         * factory.C:
5082         * funcrequest.[Ch]:
5083         * iterators.C:
5084         * lyx_cb.C:
5085         * lyxfind.C:
5086         * lyxfunc.C:
5087         * text.C:
5088         * text2.C:
5089         * text3.C:
5090         * undo.C: adjust
5091
5092 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
5093
5094         * PosIterator.[Ch]: replace the stack with a vector, add inset
5095         accesor
5096         * iterators.[C]: adjust
5097
5098 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
5099
5100         * lyxfind.C (replaceAll): mark the buffer dirty if something was
5101         replaced
5102         * paragraph_funcs.C (readParToken): put the correct id in the
5103         error item, not the id of the top paragraph
5104
5105 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
5106
5107         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
5108         * bufferview_funcs.C (put_selection_at): use the above
5109
5110 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
5111
5112         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
5113
5114 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5115
5116         * output_linuxdoc.h:
5117         * output_plaintext.h:
5118         * output.h:
5119         * output_docbook.h: add #include statements
5120
5121 2003-11-05  José Matos  <jamatos@lyx.org>
5122
5123         * output_docbook.[Ch]:
5124         * output_latex.[Ch]:
5125         * output_linuxdoc.[Ch]:
5126         * output_plaintext.[Ch]: New files for output formats.
5127         * output.[Ch]: New file for helper functions.
5128
5129         * buffer.[Ch]:
5130         * paragraph_funcs.[Ch]: output functions moved to new files.
5131
5132         * outputparams.h: rename of latexrunparams.h
5133
5134         * LaTeX.[Ch]:
5135         * buffer.[Ch]:
5136         * bufferlist.[Ch]:
5137         * converter.[Ch]:
5138         * exporter.C:
5139         * paragraph.[Ch]:
5140         * paragraph_funcs.[Ch]:
5141         * paragraph_pimpl.[Ch]:
5142         * tabular.[Ch]: rename ascii to plaintext
5143         and LatexRunParams to OutputParams.
5144
5145 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
5146
5147         * iterators.[Ch] (text): require bv argument
5148         * undo.C (recordUndo):
5149         * lyxfunc.C (dispatch):
5150         * bufferview_funcs.C (put_selection_at): adjust
5151
5152 2003-11-05  Jo� Luis M. Assirati  <assirati@fma.if.usp.br>
5153
5154         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
5155
5156 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
5157
5158         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
5159         nestings
5160
5161 2003-11-04  André Pönitz  <poenitz@gmx.net>
5162
5163         * cursor.[Ch]: restructure
5164
5165         * BufferView.[Ch]:
5166         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
5167
5168         * iterators.[Ch] (asCursor): remove
5169
5170         * lfuns.h: remove LFUN_INSET_EDIT
5171
5172         * lyxfunc.C:
5173         * tabular.C:
5174         * text.C:
5175         * text2.C:
5176         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
5177
5178 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5179
5180         * lyxfind.[Ch]: complete overhaul
5181         * BufferView_pimpl.C:
5182         * lyxfunc.C: adjust
5183         * paragraph.[Ch] (insert): add
5184
5185 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5186
5187         * BufferView.[Ch]:
5188         * lyxtext.h:
5189         * text.C: remove dead spellcheck code
5190
5191 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5192
5193         * dispatchresult.h: add a val setter
5194
5195         * cursor.C (dispatch): use a tempvar for data_[i]
5196
5197 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5198
5199         * PosIterator.[Ch]: compile fix
5200
5201 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5202
5203         * text.C (cursorPar): deactivate the cursor cache
5204
5205 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
5206
5207         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
5208
5209 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5210
5211         * text3.C (dispatch): adjust for new DisptchResult semantics.
5212
5213         * lyxfunc.C (dispatch): handle update when return from
5214         Cursor::dispatch, adjust for new DispatchResult semantics.
5215
5216         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
5217         DispatchResult(true) mean to not update. Add class functions for
5218         setting dispatched and update, as well as reading.
5219
5220         * cursor.C (dispatch): don't handle update here
5221
5222 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5223
5224         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
5225         * trans_mgr.C: adjust
5226
5227         * paragraph_funcs.C (readParToken): exception safety
5228
5229         * lyxvc.h: store the vcs pointer in a scoped_ptr
5230         * lyxvc.C: adjust
5231
5232         * lyxsocket.C (serverCallback): exception safety
5233
5234         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
5235
5236         * ispell.C (clone): make it return a auto_ptr
5237
5238         * factory.C (createInset): exception safety
5239         (readInset): exception safety
5240
5241         * bufferlist.C (newBuffer): exception safety
5242
5243         * Thesaurus.C (Thesaurus): use initialization for aik_
5244
5245         * MenuBackend.C (expandToc): exception safety.
5246
5247 2003-11-03  André Pönitz  <poenitz@gmx.net>
5248
5249         * buffer.C:
5250         * buffer.h:
5251         * bufferview_funcs.C: remove getInsetFromId()
5252
5253         * lyxcursor.[Ch]:
5254         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
5255
5256         * lyxfunc.C:
5257         * text2.C:
5258         * text3.C: adjust
5259
5260 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
5261
5262         * PosIterator.C (distance, advance): new
5263         * bufferview_funcs.[Ch] (put_selection_at): new
5264         * iterators.[Ch] (lockPath): new
5265
5266 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
5267
5268         * iterators.[Ch] (asPosIterator): added
5269         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
5270         * PosIterator.[Ch]: added
5271
5272 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5273
5274         * text3.C:
5275         * lyxfunc.C:
5276         * cursor.C (dispatch):
5277         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
5278
5279         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
5280         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
5281         contructor, add a class function dispatched. Remove operator>=
5282
5283 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5284
5285         * debug.C: only use the default constructor for debugstream
5286         (lyxerr) here.
5287
5288         * main.C (main): include debug.h and setup the lyxerr streambuf
5289         here.
5290
5291 2003-10-31  José Matos  <jamatos@lyx.org>
5292
5293         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
5294
5295         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
5296         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
5297         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5298         * paragraph_pimpl.C (simpleTeXSpecialC):
5299         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
5300         add LatexRunParams argument.
5301
5302         * exporter.C (Export): change call accordingly.
5303
5304         * latexrunparams.h: add new member to take care of the other backends.
5305 2003-10-30  José Matos  <jamatos@lyx.org>
5306
5307         * buffer.C (makeLinuxDocFile, makeDocBookFile):
5308         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5309         factorise code for paragraph output.
5310         * buffer.[Ch]:
5311         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
5312         move functions.
5313
5314 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5315
5316         * text3.C (dispatch):
5317         * lyxfunc.C (dispatch):
5318         * cursor.C (dispatch):
5319         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
5320
5321         * dispatchresult.h: make the dispatch_result_t ctor explicit
5322
5323 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
5324
5325         * sgml.[Ch]:
5326         * buffer.C: small refactoring of docbook stuff
5327
5328 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5329
5330         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
5331         meaning.
5332
5333 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5334
5335         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
5336         operator dispatch_result_t, and operators for == != and >=
5337
5338         * cursor.C (dispatch): adjust for operator dispatch_result_t
5339         removal. comment out call to update
5340
5341         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
5342
5343 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5344
5345         * text3.C:
5346         * text2.C:
5347         * text.C:
5348         * lyxtext.h:
5349         * lyxfunc.C:
5350         * cursor.C:
5351         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
5352         (dispatch):
5353
5354         * dispatchresult.h: new file, DispatchResult broken out of
5355         insets/insetbase.h
5356
5357         * Makefile.am (lyx_SOURCES): add dispatchresult.h
5358
5359 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
5360
5361         * text.C (rowBreakPoint): put a hack inside #if 0
5362
5363 2003-10-28  André Pönitz  <poenitz@gmx.net>
5364
5365         * lyxtext.h:
5366         * metricsinfo.C:
5367         * paragraph_funcs.C:
5368         * rowpainter.C:
5369         * text.C:
5370         * text2.C: general cleanup (lots of small stuff)
5371
5372 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
5373
5374         * text2.C (cursorEnd): simple fix to the "end key goes to one
5375         before the end on last row" bug
5376
5377 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5378
5379         * text.C (backspace): fix the "zombie characters"
5380
5381 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5382
5383         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
5384
5385 2003-10-27  André Pönitz  <poenitz@gmx.net>
5386
5387         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
5388
5389         * factory.C: handle new InsetPagebreak, InsetLine
5390
5391         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
5392         and move handling into new InsetPagebreak, InsetLine
5393
5394         * BufferView_pimpl.C:
5395         * LyXAction.C:
5396         * ParagraphParameters.C:
5397         * ParameterStruct.h:
5398         * lyxfunc.C:
5399         * lyxtext.h:
5400         * paragraph.C:
5401         * paragraph.h:
5402         * paragraph_funcs.C:
5403         * paragraph_pimpl.C:
5404         * rowpainter.C:
5405         * text.C:
5406         * text2.C:
5407         * text3.C: adjust
5408
5409 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5410
5411         * text.C:
5412         * lyxrow_funcs.[Ch]:
5413         * Bidi.C:
5414         * paragraph.C:
5415         * lyxtext.h:
5416         * rowpainter.C:
5417         * text2.C:
5418         * text3.C: remove lastPos uses in favour of Row::endpos
5419
5420 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5421
5422         * undo.C (performUndoOrRedo): fix two crashes by setting a
5423         cursor by hand and reordering some calls. Use bv->lockInset instead
5424         of inset->edit because the latter loses cursor information
5425
5426 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
5427
5428         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5429         by Martin
5430         (rowBreakPoint): fix width. change point to point + 1.
5431         Add a missing check.
5432
5433 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
5434
5435         * MenuBackend.C:
5436         * lyxfunc.C: fix (at least partly) the problems
5437         with the Nav menu and headers inside branch insets
5438         reported by Kayvan
5439
5440 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
5441
5442         * paragraph.C (getChar): add strong asserts
5443
5444         * lyxrow_funcs.C (lastPos): remove hideous hack
5445
5446         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5447         (fill): adjust to that (avoid an infinite loop)
5448
5449 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5450
5451         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5452
5453 2003-10-23  André Pönitz  <poenitz@gmx.net>
5454
5455         * RowList_fwd.h: change list<> to vector<> to gain speed
5456         after suggestion from Alfredo
5457
5458 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5459
5460         * lyxtext.h: move the bidi stuff from here...
5461         * text.C: and here
5462         * text2.C: and here
5463         * Bidi.[Ch]: ... to here
5464
5465 2003-10-23  André Pönitz  <poenitz@gmx.net>
5466
5467         * lyxtext.h:
5468         * text.C (isLastRow, isFirstRow): new functions
5469
5470         * paragraph.h: new width cache member
5471
5472         * rowpainter.C: replace RowList::iterator with Row & where possible
5473
5474         * lyxfunc.C: replace several view()->text with a single call
5475
5476         * toc.C: fix 'unused' warning
5477
5478 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5479
5480         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5481         when woring with stream::pos_type
5482         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5483
5484 2003-10-22  André Pönitz  <poenitz@gmx.net>
5485
5486         * lyxtext.h:
5487         * text.C: use Row & instead of RowList::iterator
5488
5489         * lyxrow.h: rename end() to endpos()
5490
5491         * rowpainter.C:
5492         * text.C:
5493         * text2.C: adjust
5494
5495 2003-10-22  Angus Leeming  <leeming@lyx.org>
5496
5497         * buffer.[Ch] (fully_loaded): new member function, returning true
5498         only when the file has been loaded fully.
5499         Used to prevent the premature generation of previews and by the
5500         citation inset to prevent computation of the natbib-style label.
5501
5502         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5503         templates are all set up.
5504
5505         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5506
5507 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
5508
5509         * text.C: fixed an "oops" in the "is a bit silly"
5510         bug fix
5511
5512 2003-10-21  André Pönitz  <poenitz@gmx.net>
5513
5514         * FuncStatus.[Ch]: small stuff, whitespace
5515
5516         * lyxfont.[Ch]: operator<<() for debug reasons
5517
5518         * lyxfunc.C:
5519         * lyxrow_funcs.C:
5520         * lyxtext.h: whitespace, spelling
5521
5522         * paragraph.C: naming of variables
5523
5524         * text.C:
5525         * text2.C: small stuff
5526
5527
5528 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
5529
5530         * text.C: (1) finish off the inset display() work;
5531         (2) fix the "is a bit silly" bug (accessing char
5532         past end of par).
5533
5534 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
5535
5536         * text.C: re-introduce display() for insets, fixing the
5537         various bugs (stretch of line above, math inset
5538         positioning, ...)
5539
5540 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5541
5542         * text.C (rightMargin): remove spurious semicolon
5543
5544         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5545         1415)
5546
5547 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
5548
5549         * text3.C: fix one crash due to wrong cursor def
5550
5551 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5552
5553         * vc-backend.C (scanMaster): make the regex static
5554
5555         * LaTeX.C (scanAuxFile): make the regexs static
5556
5557         * text3.C (doInsertInset, dispatch, dispatch):
5558         * text2.C (cursorUp, cursorDown):
5559         * text.C (selectNextWordToSpellcheck):
5560         * BufferView_pimpl.C (dispatch):
5561         * lyxfunc.C (dispatch):  localDispatch -> dispatch
5562
5563 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5564
5565         * lyxsocket.C: include <cerrno>
5566
5567 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5568
5569         * lyxfunc.C (dispatch): remove textcache stuff
5570
5571         * bufferlist.C (release): remove textcache stuff
5572         (closeAll): ditto
5573
5574         * TextCache.C: delete file
5575         * TextCache.h: delete file
5576
5577         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5578
5579         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5580         delete of the bv_->text.
5581         (resizeCurrentBuffer): remove texcache stuff
5582         (workAreaResize): ditto
5583
5584 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5585
5586         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5587         action.
5588
5589 2003-10-16  André Pönitz  <poenitz@gmx.net>
5590
5591         * lyxrow.[Ch]:
5592         * paragraph.h:
5593         * rowpainter.C:
5594         * text.C:
5595         * text2.C:
5596         * text3.C: speed up by storing y positions per paragraph plus per-row
5597         offset instead of having a 'full' y position in the row.
5598
5599 2003-10-15  André Pönitz  <poenitz@gmx.net>
5600
5601         * iterators.[Ch]:
5602         * iterators.[Ch]:
5603         * undo.[Ch]: make undo aware of inner insets
5604
5605 2003-10-14  Angus Leeming  <leeming@lyx.org>
5606
5607         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5608         static member functions LyX::ref() and LyX::cref.
5609         (lastfiles): new accessor functions for the new lastfiles_ member var.
5610         (addLyXView, views_): add a new LyXView to the list of views_.
5611         (updateInset): loop over all LyXViews to call their own updateInset
5612         member function, returning a pointer to the Buffer owning the inset.
5613
5614         * BufferView_pimpl.C (loadLyXFile):
5615         * MenuBackend.C (expandLastfiles):
5616         * bufferlist.C (MenuWrite, QuitLyX):
5617         lastfiles is no longer a global variable.
5618         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5619
5620         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5621         static function. Access through LyX::cref().emergencyCleanup().
5622
5623 2003-10-14  André Pönitz  <poenitz@gmx.net>
5624
5625         * iterators.[Ch]: new direct access to innermost LyXText and Inset
5626
5627         * undo.[Ch]: restoring part of 'undo in insets'
5628
5629         * Makefile.am:
5630         * undo_funcs.[Ch]: merge with undo.[Ch]
5631
5632         * tabular.C: small cleansing stuff
5633
5634 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
5635
5636         * paragraph_funcs.C (readParToken): report unknown insets as error
5637         boxes. Use the outer paragraph as location (also for unknown
5638         tokens).
5639
5640         * factory.C (readInset): do not abort on reading an unknown inset.
5641         Eat it and return 0.
5642
5643 2003-10-13  Angus Leeming  <leeming@lyx.org>
5644
5645         * lyx_main.C (LyX): remove call to setDisplayTranslator().
5646
5647         * lyxrc.C: displayTranslator is now a function,
5648         declared in GraphicsTypes.h.
5649
5650 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5651
5652         * format.C: new placeholder $$a to pass the socket address.
5653
5654         * bufferlist.[Ch]: new function getBufferFromTmp.
5655
5656         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5657           files in the temporary dir.
5658
5659 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5660
5661         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5662
5663         * Makefile.am: add lyxsocket.[Ch].
5664
5665         * lyx_main.C (error_handler): handle SIGPIPE.
5666
5667 2003-10-13  André Pönitz  <poenitz@gmx.net>
5668
5669         * BufferView_pimpl.C:
5670         * lyxtext.h:
5671         * text.C:
5672         * text2.C:
5673         * text3.C:
5674         * undo_funcs.[Ch]: use paroffset_type instead of
5675           ParagraphList::iterators to prevent multiple conversion
5676           (and get a more robust interface)
5677
5678 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5679
5680         * lyxfunc.C (dispatch): RESULT -> dispatch_result
5681         * lyxtext.h: ditto
5682         * text3.C (dispatch): ditto
5683
5684 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5685
5686         * LaTeX.C (handleFoundFile): move the static to smaller scope,
5687         move the onlyfile, use onlyfile instead of foundfile in a couple
5688         of places.
5689
5690         * DepTable.C (update): flush the error stream a bit more
5691
5692 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5693
5694         * lyxserver.C (callback): adjust
5695
5696         * lyxfunc.C (getStatus): add a missing brace in commented code
5697         (ensureBufferClean): reindent
5698         (dispatch): delete version taking a string
5699
5700 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5701
5702         * LaTeX.C (deplog): move found file handlig from here...
5703         (handleFoundFile): .. to new function here.
5704         (deplog): make sure to discover several files mentioned on the
5705         same log line.
5706
5707 2003-10-10  André Pönitz  <poenitz@gmx.net>
5708
5709         * lyxfunc.C:
5710         * lyxtext.h:
5711         * tabular.C:
5712         * text.C:
5713         * text2.C:
5714         * text3.C: fix some of the tabular crashes
5715
5716 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5717
5718         * MenuBackend.C (binding): put debug message into Debug::KBMAP
5719
5720         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5721
5722 2003-10-09  André Pönitz  <poenitz@gmx.net>
5723
5724         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5725
5726         * BufferView.C:
5727         * BufferView_pimpl.C:
5728         * bufferview_funcs.C:
5729         * lyx_cb.C:
5730         * lyxcursor.C:
5731         * lyxfind.C:
5732         * lyxfunc.C:
5733         * lyxtext.h:
5734         * text.C:
5735         * text2.C:
5736         * text3.C:
5737         * text_funcs.[Ch]:
5738         * textcursor.[Ch]:
5739         * undo_funcs.C: adjust
5740
5741 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5742
5743         * text2.C (incrementItemDepth): new function, use a backtracking
5744         algorithm to discover the correct item depth.
5745         (resetEnumCounterIfNeeded): new function, use a backtracking
5746         algorithm to discover if counter reset is needed.
5747         (setCounter): use them. Simplify a bit. Add different labels for
5748         different item depths for itemize.
5749
5750         * paragraph.C (Paragraph): remove initialization of enumdepth
5751         (operator=): ditto
5752
5753         * paragraph.h: get rid of enumdepth, and use itemdepth both for
5754         enumerate and itemize. Change the type of itemdepth to signed char.
5755
5756 2003-10-08  André Pönitz  <poenitz@gmx.net>
5757
5758         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5759           thing assignable.
5760         * text.C:
5761         * text2.C: adjust
5762
5763         * tabular.[Ch]: fix crash after 'row-insert'
5764
5765 2003-10-08  Angus Leeming  <leeming@lyx.org>
5766
5767         Fix doxygen warnings.
5768
5769         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5770         Remove CutAndPaste:: prefix from header file declaration.
5771
5772         * LColor.h (fill): remove LColor:: prefix from declaration.
5773
5774         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5775         use lyx::depth_type rather than Paragraph::depth_type so that
5776         header file and .C file match.
5777
5778         * converter.h (intToFormat): remove Converters:: prefix from declaration.
5779
5780         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5781         * aspell.C: \file aspell_local.C -> \file aspell.C
5782         * gettext.C: \file gettext.C -> \file src/gettext.C
5783         * gettext.h: \file gettext.h -> \file src/gettext.h
5784         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5785         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5786         * text.C: \file text.C -> \file src/text.C
5787
5788         * toc.C: move comment so that doxygen is not confused.
5789
5790 2003-10-07  Angus Leeming  <leeming@lyx.org>
5791
5792         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5793
5794 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5795
5796         * aspell.C:
5797         * aspell_local.h: add forgotten std::string's.
5798
5799 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5800
5801         * LaTeXFeatures.C:
5802         * LyXAction.C:
5803         * factory.C:
5804         * lfuns.h:
5805         * lyxfunc.C:
5806         * text3.C: The Box patch. Fancybox support, minipage, parbox
5807
5808 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5809
5810         * CutAndPaste.h:
5811         * DepTable.h:
5812         * FloatList.h:
5813         * LaTeXFeatures.h:
5814         * ParagraphParameters.h:
5815         * TextCache.h:
5816         * Thesaurus.h:
5817         * bufferlist.h:
5818         * exporter.h:
5819         * importer.h:
5820         * lastfiles.h:
5821         * lyxfind.h:
5822         * lyxfont.h:
5823         * lyxlex.h:
5824         * lyxtextclasslist.h:
5825         * messages.h:
5826         * paragraph.h:
5827         * paragraph_pimpl.C:
5828         * textcursor.h: add <string> and other small fixes to make Lars'
5829         std::string patch compile with STLport.
5830
5831 2003-10-06  Angus Leeming  <leeming@lyx.org>
5832
5833         * LColor.h: Add missing #include <string>.
5834
5835 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5836
5837         * All most all file in all subdirs: Make <string> be the prefered
5838         way of getting to std::string, add using declarations.
5839
5840 2003-10-06  André Pönitz  <poenitz@gmx.net>
5841
5842         * metricsinfo.C: initialize LyXFont before changing attribute.
5843         (fixes the 'math in \emph is upright' bug)
5844
5845 2003-10-06  André Pönitz  <poenitz@gmx.net>
5846
5847         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5848
5849 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
5850
5851         * graph.C:
5852         * paragraph_pimpl.C: Small fixes to build using STLport
5853
5854 2003-10-02  André Pönitz  <poenitz@gmx.net>
5855
5856         * lyxfunc.C:
5857         * text3.C: move handling of LFUN_DEPTH *; fix #1360
5858
5859 2003-10-01  André Pönitz  <poenitz@gmx.net>
5860
5861         * factory.C: assert early
5862
5863 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5864
5865         * lyx_main.C: remove the global debug object
5866
5867         * debug.h: adjust for new debugstream
5868
5869         * debug.C: adjust for new debugstream and keep the global debug
5870         object here.
5871
5872 2003-09-22  Angus Leeming  <leeming@lyx.org>
5873
5874         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5875         of g++ which otherwise complain that the scoped_ptr destructor can't delete
5876         an incomplete class LyXFont.
5877
5878 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
5879
5880         * factory.C: bug fix in branches
5881
5882 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5883
5884         * lyxfunc.C (processKeySym): adjust
5885         (dispatch): adjust
5886         (dispatch): change arg name from ev to func, adjust
5887         (sendDispatchMessage): ditto
5888
5889         * lyx_main.C (defaultKeyBindings): adjust keybindings
5890         (deadKeyBindings): ditto
5891
5892         * kbsequence.C (addkey): return a FuncRequest
5893
5894         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5895
5896         * kbmap.C (bind): take a FuncRequest as arg, adjust
5897         (read): adjust
5898         (lookup): adjust
5899         (defkey): change to take a FuncRequest as arg, adjust
5900         (findbinding): take a FuncRequest as arg, adjust.
5901
5902         * funcrequest.h (operator=): added
5903
5904         * funcrequest.C (FuncRequest): default kb_action changed from
5905         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5906
5907         * buffer.C (dispatch): simplify
5908         (dispatch): adjust to take a FuncRequest as arg, adjust
5909
5910         * boost.C (assertion_failed): change assertion message slightly
5911
5912         * ToolbarBackend.C (read): simplify
5913
5914         * MenuBackend.C (binding): adjust call to findbinding, add a
5915         message if no binding is found.
5916         (read): simplify
5917         (expandToc): correct by adding a empty FuncRequest
5918
5919         * LyXAction.C: include <boost/assert.hpp>
5920         (isPseudoAction): delete function
5921         (LookupFunc): change name to...
5922         (lookupFunc): this. change return type to FuncRequest.
5923         (getActionName): take kb_action as arg, simplify
5924         (funcHasFlag): add an assert, simplify.
5925
5926 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5927
5928         * toc.C (action): return a FuncRequest, simplify
5929
5930         * lyxfunc.C (processKeySym): adjust
5931         (getStatus): delete version that takes an int.
5932         (getStatus): adjust
5933         (dispatch): delete version that takes action as int
5934         (dispatch): adjust
5935         (sendDispatchMessage): simplify and adjust
5936
5937         * funcrequest.C (getArg): take unsigned int as arg
5938
5939         * ToolbarBackend.C (read): adjust
5940         (add): delete version that takes func as a string.
5941         (getIton): take a FuncRequest as arg
5942
5943         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5944         action.
5945
5946         * MenuBackend.C (MenuItem): add a new construct that only takes a
5947         Kind, simplify the constructor use for submenus.
5948         (add): adjust
5949         (expandLastfiles): adjust
5950         (expandDocuments): adjust
5951         (expandFormats): adjust
5952         (expandFloatListInsert): adjust
5953         (expandFloatInsert): adjust
5954         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5955
5956         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5957         Remove class variables lyx_pseudo_map and lyx_arg_map
5958
5959         * LyXAction.C (searchActionArg): delete function
5960         (getPseudoAction): delete function
5961         (retrieveActionArg): delete function
5962         (LookupFunc): make it return kb_action, simplify.
5963         (getActionName): simplify
5964
5965         * factory.C (createInset): fix new bug
5966
5967 2003-09-19  Angus Leeming  <leeming@lyx.org>
5968
5969         * CutAndPaste.C (pasteSelection): remove fudge used to set the
5970         masterFilename_ parameter in the include inset.
5971
5972         * factory.C (createInset): changes due to the changes to InsetInclude.
5973
5974 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5975
5976         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5977
5978 2003-09-18  Angus Leeming  <leeming@lyx.org>
5979
5980         * buffer.C:
5981         * BufferView.C: pass the buffer when calling Inset::getLabelList,
5982         Inset::fillWithBibKeys.
5983         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5984
5985 2003-09-18  Angus Leeming  <leeming@lyx.org>
5986
5987         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5988         variables.
5989         (ctor): pass and store a 'Buffer const &'
5990         (buffer): new member function.
5991
5992         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5993         '*this' to the LaTeXFeatures ctor.
5994
5995 2003-09-18  Angus Leeming  <leeming@lyx.org>
5996
5997         * LColor.h:
5998         * lyxfont.C:
5999         * lyxfont.h:
6000         * lyxtext.h:
6001         * text.C: rename EnumLColor as LColor_color.
6002
6003 2003-09-18  Angus Leeming  <leeming@lyx.org>
6004
6005         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
6006         remove #include "insets/insetbase.h" from cursor.h.
6007
6008 2003-09-18  Angus Leeming  <leeming@lyx.org>
6009
6010         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
6011         InsetOld_code to remove #include "inset.h".
6012
6013         * iterators.C: add #include "insets/inset.h"
6014
6015 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
6016
6017         * BufferView.C: remove more locking stuff that apparently doesn't
6018         do anything sensible.
6019
6020 2003-09-16  André Pönitz  <poenitz@gmx.net>
6021
6022         * paragraph.[Ch]:
6023         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
6024           performance boost.
6025
6026 2003-09-16  Angus Leeming  <leeming@lyx.org>
6027
6028         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
6029
6030         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
6031         arg/return type.
6032
6033         * paragraph.h: remove #include "lyxfont.h". Forward declare
6034         LyXFont_size.
6035
6036 2003-09-16  Angus Leeming  <leeming@lyx.org>
6037
6038         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
6039         of support/textutils.h.
6040         (isWord): move the contents of support/textutils.h's IsWordChar here.
6041
6042         * buffer.C:
6043         * lyxfind.C:
6044         * rowpainter.C:
6045         * text.C:
6046         * text2.C: add #include "paragraph.h".
6047
6048         * rowpainter.C:
6049         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
6050
6051 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6052
6053         * main.C:
6054         * lyx_main.C:
6055         * lyx_cb.C:
6056         * buffer.C:
6057         * LaTeX.C: use namespace alias for lyx::support::os
6058
6059 2003-09-16  Angus Leeming  <leeming@lyx.org>
6060
6061         * bufferparams.C:
6062         * bufferview_funcs.C:
6063         * factory.C:
6064         * lyxfunc.C:
6065         * paragraph_pimpl.C:
6066         * rowpainter.C:
6067         * text.C: add #include "LColor.h".
6068
6069 2003-09-16  Angus Leeming  <leeming@lyx.org>
6070
6071         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
6072         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
6073         return LyXFont &.
6074         Store the FontBits::color variable as an int rather than as an
6075         LColor::colorso that we can move LColor.h out of the lyxfont.h header
6076         file.
6077
6078         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
6079         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
6080         string calls together.
6081
6082         * lyxrc.C: add #include "LColor.h".
6083
6084 2003-09-15  Angus Leeming  <leeming@lyx.org>
6085
6086         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
6087         a cow_ptr.
6088
6089 2003-09-15  Angus Leeming  <leeming@lyx.org>
6090
6091         * LColor.h: add an EnumLColor wrapper for LColor::color.
6092
6093         * lyxfont.[Ch] (color, setColor, realColor):
6094         * lyxtext.h, text.C (backgroundColor):
6095         pass EnumLColor args to/from the functions, rather than LColor::color
6096         ones.
6097
6098         * lyxfont.h:
6099         * lyxtext.h: forward declare EnumLColor.
6100
6101         * lyx_main.C: add #include "LColor.h".
6102
6103 2003-09-15  Angus Leeming  <leeming@lyx.org>
6104
6105         * .cvsignore: add lyx-gtk.
6106
6107 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6108
6109         * Chktex.C
6110         * LaTeX.C
6111         * LaTeXFeatures.C
6112         * ParagraphParameters.C
6113         * Spacing.C
6114         * buffer.C
6115         * bufferparams.C
6116         * bufferview_funcs.C
6117         * chset.C
6118         * counters.C
6119         * funcrequest.C
6120         * lyxfont.C
6121         * lyxgluelength.C
6122         * lyxlength.C
6123         * paragraph.C
6124         * paragraph_funcs.C
6125         * text3.C
6126         * vc-backend.C: remove usage of STRCONV
6127
6128 2003-09-15  Angus Leeming  <leeming@lyx.org>
6129
6130         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
6131         explicitly define the color passed to the painter.
6132
6133 2003-09-15  Angus Leeming  <leeming@lyx.org>
6134
6135         * bufferparams.C (BufferParams): reorder member initializers to avoid
6136         compiler warning.
6137
6138 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
6139
6140         * CutAndPaste.C (pasteSelection): remove an outdated #warning
6141         * text.C (updateRowPositions): remove an unusual nop
6142
6143 2003-09-12  André Pönitz  <poenitz@gmx.net>
6144
6145         * BufferView_pimpl.C:
6146         * Bullet.C:
6147         * layout.h:
6148         * lyxfunc.C:
6149         * lyxlayout.[Ch]:
6150         * lyxtextclass.C:
6151         * rowpainter.C:
6152         * text.C:
6153         * text2.C:
6154         * Counters.[Ch]: finish the 'automatic counters' job
6155
6156 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6157
6158         * aspell.C: include <boost/assert.cpp> (compile fix)
6159
6160 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
6161
6162         * boost.C (assertion_failed): use lyx::support::abort instead of
6163         assert.
6164
6165 2003-09-10  Angus Leeming  <leeming@lyx.org>
6166
6167         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
6168         with their _fwd progeny.
6169
6170 2003-09-09  Angus Leeming  <leeming@lyx.org>
6171
6172         134 files throughtout the source tree: replace 'using namespace abc;'
6173         directives with the appropriate 'using abc::xyz;' declarations.
6174
6175 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
6176
6177         * boost.C (emergencyCleanup): moved here from LAssert.c
6178         (assertion_failed): new function, called by BOOST_ASSERT
6179
6180         * several files: change Assert to BOOST_ASSERT
6181
6182 2003-09-09  Angus Leeming  <leeming@lyx.org>
6183
6184         * buffer.[Ch]: Add an Impl class and move Buffer's member
6185         variables into it. As a result move several header files out of
6186         buffer.h.
6187
6188         Add header files to lots of .C files all over the tree as a result.
6189
6190 2003-09-09  Angus Leeming  <leeming@lyx.org>
6191
6192         * buffer.[Ch]: make Buffer's member variables private. Add
6193         accessor functions.
6194
6195         Lots of changes all over the tree as a result.
6196
6197 2003-09-08  Angus Leeming  <leeming@lyx.org>
6198
6199         * graph.C: #include <config.h>.
6200
6201 2003-09-08  Angus Leeming  <leeming@lyx.org>
6202
6203         * BranchList.C:
6204         * BufferView.C:
6205         * BufferView_pimpl.C:
6206         * CutAndPaste.C:
6207         * DepTable.C:
6208         * LaTeX.C:
6209         * LaTeXFeatures.C:
6210         * LyXAction.C:
6211         * MenuBackend.C:
6212         * TextCache.C:
6213         * aspell.C:
6214         * buffer.C:
6215         * bufferlist.C:
6216         * changes.C:
6217         * chset.C:
6218         * converter.C:
6219         * counters.C:
6220         * debug.C:
6221         * graph.C:
6222         * ispell.C:
6223         * lyx_cb.C:
6224         * lyxfind.C:
6225         * lyxfunc.C:
6226         * lyxlex_pimpl.C:
6227         * lyxrc.C:
6228         * lyxrow.C:
6229         * paragraph.C:
6230         * rowpainter.C:
6231         * texrow.C:
6232         * text.C:
6233         * text2.C:
6234         * toc.C: remove redundant using directives.
6235
6236 2003-09-07  Angus Leeming  <leeming@lyx.org>
6237
6238         * LaTeXFeatures.h: remove #include "support/types.h".
6239         * ToolbarBackend.h: remove #include <algorithm>.
6240         * changes.h: remove #include <ctime>.
6241         * debug.h: remove #include <iosfwd>.
6242         * graph.h: remove #include "support/std_string.h".
6243         * lyx_main.h: remove #include <csignal>.
6244         * lyxlex_pimpl.h: remove #include <fstream>.
6245         * sgml.h: remove #include <algorithm>, <utility>.
6246         * toc.h: remove #include "support/std_ostream.h".
6247         Add #include <iosfwd>.
6248
6249 2003-09-07  Angus Leeming  <leeming@lyx.org>
6250
6251         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
6252
6253         * converter.h: forward declare LatexRunParams.
6254         * encoding.h: remove #include "lyxrc.h".
6255         * lyxtext.h: remove #include "LColor.h".
6256         * lyxtextclass.h: remove #include "support/types.h".
6257         * trans.h: remove #include "tex-accent.h".
6258         * trans_mgr.h: remove #include "tex-accent.h".
6259         * insets/inset.h: remove #include "support/types.h", <vector>.
6260         * insets/insetcollapsable.h: remove #include "LColor.h".
6261         * insets/insetinclude.h: remove #include "dimension.h".
6262         * insets/insetlatexaccent.h: remove #include "dimension.h".
6263         * insets/insetoptarg.h:: remove #include "insettext.h".
6264         * insets/insettext.h: remove #include "dimension.h",
6265         <boost/shared_ptr.hpp>
6266
6267         * insets/renderers.h: add #include "dimension.h".
6268         * insets/updatableinset.h: add #include "support/types.h".
6269
6270         * many .C files: Associated changes.
6271
6272 2003-09-06  Angus Leeming  <leeming@lyx.org>
6273
6274         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
6275         one, inside testInvariant.
6276
6277         * PrinterParams.C: new file.
6278         * PrinterParams.[Ch]: move the function bodies out of line.
6279
6280 2003-09-06  Angus Leeming  <leeming@lyx.org>
6281
6282         * ParagraphParameters.h: forward declare ParameterStruct rather than
6283         including its header file.
6284         (depth): moved out-of-line.
6285
6286 2003-09-06  Angus Leeming  <leeming@lyx.org>
6287
6288         * BufferView_pimpl.h:
6289         * kbmap.h:
6290         * kbsequence.h:
6291         * lyxfunc.h: forward declare LyXKeySym rather than
6292         #include "frontends/LyXKeySym.h".
6293
6294         * BufferView_pimpl.C:
6295         * kbmap.C:
6296         * kbsequence.C:
6297         * lyxfunc.C: associated changes.
6298
6299 2003-09-06  Angus Leeming  <leeming@lyx.org>
6300
6301         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6302         As a result, can remove the #include "insets/inset.h" from BufferView.h
6303
6304 2003-09-06  Angus Leeming  <leeming@lyx.org>
6305
6306         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6307         As a result, can remove the #include "insets/inset.h" from BufferView.h
6308
6309 2003-09-06  Angus Leeming  <leeming@lyx.org>
6310
6311         * buffer_funcs.C:
6312         * buffer.h:
6313         * bufferlist.C:
6314         * BufferView.C:
6315         * bufferview_funcs.C:
6316         * BufferView_pimpl.C:
6317         * CutAndPaste.C:
6318         * lyx_cb.C:
6319         * lyxfunc.C:
6320         * paragraph.h:
6321         * ParagraphParameters.C:
6322         * tabular.C:
6323         * text3.C:
6324         * toc.C:
6325         * undo_funcs.C:
6326         * frontends/controllers/ControlDocument.C:
6327         * insets/insetcaption.C: rearrange the #includes into some sort of
6328         coherent order.
6329
6330         * buffer.h: remove #includes ErrorList.h, undo.h
6331
6332 2003-09-06  Angus Leeming  <leeming@lyx.org>
6333
6334         * support/types.h: add a 'depth_type' typedef, used to store the
6335         nesting depth of a paragraph.
6336
6337         * paragraph.h:
6338         * ParameterStruct.h: use this lyx::depth_type typedef rather than
6339         defining explicitly.
6340
6341         * buffer.h:
6342         * paragraph_funcs.h:
6343         * ParagraphParameters.h:
6344         * sgml.h: use lyx::depth_type rather than Paragraph or
6345         ParameterStruct's depth_type.
6346
6347         * buffer.h
6348         * paragraph_funcs.h: no need to #include paragraph.h anymore.
6349
6350         * BufferView.C:
6351         * BufferView_pimpl.C:
6352         * CutAndPaste.C:
6353         * ParagraphParameters.C:
6354         * buffer_funcs.C:
6355         * bufferlist.C:
6356         * bufferview_funcs.C:
6357         * lyx_cb.C:
6358         * lyxfunc.C:
6359         * tabular.C:
6360         * text3.C:
6361         * toc.C:
6362         * undo_funcs.C:
6363         * frontends/LyXView.C:
6364         * frontends/controllers/ControlDocument.C:
6365         * frontends/controllers/ControlErrorList.C:
6366         * insets/insetbibitem.C:
6367         * insets/insetbranch.C:
6368         * insets/insetcaption.C:
6369         * insets/insetcollapsable.C:
6370         * insets/insetenv.C:
6371         * insets/insetert.C:
6372         * insets/insetfloat.C:
6373         * insets/insetfoot.C:
6374         * insets/insetfootlike.C:
6375         * insets/insetnewline.C:
6376         * insets/insetquotes.C:
6377         * insets/insettabular.C:
6378         * insets/insettext.C:
6379         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
6380
6381         * frontends/controllers/ControlChanges.C: #include "changes.h".
6382
6383 2003-09-06  Angus Leeming  <leeming@lyx.org>
6384
6385         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
6386         than #including paragraph.h.
6387
6388         * ParagraphList.h:
6389         * RowList.h: deleted. Superfluous.
6390
6391         * CutAndPaste.h:
6392         * iterators.h:
6393         * lyxcursor.h:
6394         * lyxtext.h:
6395         * text_funcs.h:
6396         * undo.h:
6397         * undo_funcs.h:
6398         * insets/inset.h:
6399         * insets/insettext.h: use ParagraphList_fwd.h rather than
6400         ParagraphList.h.
6401
6402         * paragraph.h: don't forward declare ParagraphList.
6403
6404         * buffer.h:
6405         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
6406         rather than ParagraphList.h. paragraph.h is still needed for the
6407         Paragraph::depth_type parameters.
6408
6409         * textcursor.h: enable it to compile stand-alone in light of the
6410         above changes.
6411
6412         * bufferview_funcs.C:
6413         * iterators.C:
6414         * lyxfunc.C:
6415         * lyxrow_funcs.C:
6416         * paragraph.C:
6417         * rowpainter.C:
6418         * text.C:
6419         * text2.C:
6420         * text3.C:
6421         * text_funcs.C:
6422         * textcursor.C:
6423         * undo.C:
6424         * frontends/controllers/ControlParagraph.C:
6425         * frontends/controllers/ControlTabular.C:
6426         * insets/insetmarginal.C:
6427         * insets/insetminipage.C:
6428         * insets/insetnote.C:
6429         * insets/insetoptarg.C: add header files needed to compile again.
6430
6431 2003-09-06  Angus Leeming  <leeming@lyx.org>
6432
6433         * RowList_fwd.h: new file, forward-declaring Row rather than
6434         #including lyxrow.h.
6435
6436         * lyxrow_funcs.h:
6437         * lyxtext.h:
6438         * paragraph.h:
6439         * insets/insettext.h: use it instead of RowList.h
6440
6441         * bufferview_funcs.C:
6442         * lyxfunc.C:
6443         * lyxrow_funcs.C:
6444         * paragraph.C:
6445         * rowpainter.C:
6446         * text.C:
6447         * text2.C:
6448         * text3.C: #include "RowList.h".
6449
6450 2003-09-05  Angus Leeming  <leeming@lyx.org>
6451
6452         * factory.C (createInset):
6453         * vspace.C (c-tor): replace sscanf call with an istringstream.
6454         * ispell.C: re-add missing HP/UX headers.
6455         * lyxserver.C: re-add missing  os2 headers.
6456
6457 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
6458
6459         * BranchList.C:
6460         * graph.C:
6461         * ispell.C:
6462         * lastfiles.C:
6463         * lyx_cb.C:
6464         * lyxserver.C:
6465         * texrow.C:
6466         * text3.C: re-add missing system headers, needed for 2.95.2.
6467
6468 2003-09-05  Angus Leeming  <leeming@lyx.org>
6469
6470         Changes most place everywhere due to the removal of using directives
6471         from support/std_sstream.h.
6472
6473 2003-09-05  Angus Leeming  <leeming@lyx.org>
6474
6475         Replace LString.h with support/std_string.h,
6476         Lsstream.h with support/std_sstream.h,
6477         support/LIstream.h with support/std_istream.h,
6478         support/LOstream.h with support/std_ostream.h.
6479
6480         Changes resulting throughout the tree.
6481
6482 2003-09-05  Angus Leeming  <leeming@lyx.org>
6483
6484         * sgml.h: ensure that the header file can be compiled stand-alone.
6485         * *.C: strip out redundant #includes. (320 in total.)
6486
6487 2003-09-04  Angus Leeming  <leeming@lyx.org>
6488
6489         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6490         here (from getPackages).
6491
6492         * debug.[Ch]: add a new EXTERNAL tag.
6493
6494 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6495
6496         * text2.C (cursorEnd): simplify
6497         (setCursor): adjust
6498         (getColumnNearX): adjust
6499
6500         * text.C (computeBidiTables): adjust
6501         (fill): adjust
6502
6503         * rowpainter.C (paintChars): adjust
6504         (paintSelection): adjust
6505         (paintChangeBar): adjust
6506         (paintText): adjust
6507
6508         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6509         lastPos instead.
6510         (numberOfSeparators): adjust
6511
6512 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6513
6514         * LyXAction.C:
6515         * box.[Ch]:
6516         * lfuns.h:
6517         * lyxfunc.C:
6518         * text3.C: Restricts the mouse click functionality
6519         of insets like bibtex, include, toc and floatlist to the visible
6520         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6521         up the dialogs. Cursor has to be in front of the inset (i.e.
6522         start of row) for this to function.
6523
6524 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6525
6526         * bufferview_funcs.C (currentState): output row information
6527
6528 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6529
6530         * bufferview_funcs.C (currentState): output paragraph position
6531
6532 2003-09-04  Angus Leeming  <leeming@lyx.org>
6533
6534         * FloatList.h: move out #include "Floating.h".
6535         * LaTeX.h: move out #include "DepTable.h".
6536         * LyXAction.h: move out #include "funcrequest.h".
6537         * buffer.h: move out #include "author.h", "iterators.h".
6538         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6539         * lyx_main.h: move out #include "errorlist.h".
6540         * lyxfunc.h: move out #include "FuncStatus.h".
6541         * lyxtext: move out #include "lyxcursor.h".
6542         * paragraph_pimpl.h: move out #include "counters.h".
6543
6544 2003-09-03  Angus Leeming  <leeming@lyx.org>
6545
6546         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6547         preamble_snippets list, enabling us to add snippets to the preamble
6548         only if the snippet was not there already.
6549
6550 2003-09-04  Angus Leeming  <leeming@lyx.org>
6551
6552         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6553
6554 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6555
6556         * lyxfunc.C (dispatch): if fitCursor did something be sure to
6557         update
6558
6559 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6560
6561         * BranchList.C: point fix, earlier forgotten
6562
6563 2003-09-02  Angus Leeming  <leeming@lyx.org>
6564
6565         * box.C (contains): renamed from 'contained' after a fantastic
6566         amount of hot air.
6567
6568 2003-09-02  John Levon  <levon@movementarian.org>
6569
6570         * BufferView.C:
6571         * lyxcursor.h:
6572         * lyxcursor.C:
6573         * lyxfunc.C:
6574         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6575
6576 2003-09-02  John Levon  <levon@movementarian.org>
6577
6578         * text2.C: simplification of cursorEnd(), including partial
6579         fix for bug 1376
6580
6581 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6582
6583         * buffer.C (readFile): add a space
6584
6585 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
6586
6587         * BufferView_pimpl.C (update): remove bogus fitCursor() call
6588
6589 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6590
6591         * buffer.C (readFile): new function, take a filename and a
6592         ParagraphList::iterator
6593         (readFile): adjust
6594         (readFile): adjust, make it private. don't use setStream, make
6595         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6596         always contain the filename.
6597
6598         * BufferView.C (insertLyXFile): simplify and make it work for
6599         gzipped files.
6600
6601 2003-08-30  John Levon  <levon@movementarian.org>
6602
6603         * Makefile.am: fix dist (from Kayvan)
6604
6605 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6606
6607         * most files: change to use const Buffer refs
6608
6609 2003-08-27  André Pönitz  <poenitz@gmx.net>
6610
6611         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6612         on top of ownerPar().
6613
6614 2003-08-27  John Levon  <levon@movementarian.org>
6615
6616         * funcrequest.C: properly initialise POD members
6617
6618 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6619
6620         * lyxtext.h (top_y): move top_y from here
6621         * text.C:
6622         * text2.C:
6623         * text3.C:
6624         * BufferView.[Ch]:
6625         * BufferView_pimpl.[Ch]: to here
6626         * frontends/screen.C:
6627         * insets/insettabular.C:
6628         * insets/insettext.C: adjust
6629         * rowpainter.[Ch] (paintRows): remove LyXText & argument
6630
6631 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6632
6633         * BufferView.[Ch]:
6634         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6635
6636 2003-08-26  André Pönitz  <poenitz@gmx.net>
6637
6638         * paragraph_func.[Ch] (outerPar): new function
6639
6640         * paragraph.C:
6641         * paragraph_funcs.C:
6642         * paragraph_funcs.h:
6643         * paragraph_pimpl.C:
6644         * text2.C: remove Inset::par_owner
6645
6646 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
6647
6648         * lyxrow_funcs.C:
6649         * lyxtext.h:
6650         * text.C:
6651         * text2.C: eliminates the needFullRow/display() stuff
6652         altogether, putting the logic in metrics/draw in the insets.
6653
6654 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
6655
6656         * text2.C (redoParagraphInternal, redoParagraphs):
6657         * text.C (redoParagraph): add a call to updateRowPositions at the
6658         end of each 'metrics-like' call. Remove all others.
6659         (getRow): remove the 'y-computing' version.
6660         (getRowNearY): do not compute nor return the real y. Solve the
6661         'y < 0' problem and simplify.
6662
6663 2003-08-22  Angus Leeming  <leeming@lyx.org>
6664
6665         * *.[Ch]: clean-up of licence and author blurbs.
6666         Also move config.h out of a few .h files and into a few .C files.
6667
6668 2003-08-22  André Pönitz  <poenitz@gmx.net>
6669
6670         * lyxrow.[Ch]: add x_ and *fill_ members
6671
6672         * lyxtext.h:
6673         * text.C:
6674         * rowpainter.C:
6675         * text2.C: adjust/remove prepareToPrint() calls
6676
6677 2003-08-22  André Pönitz  <poenitz@gmx.net>
6678
6679         * lyxrow.[Ch]: add  end_ member
6680
6681         * lyxrow_funcs.C: use LyXRow::end_
6682
6683         * lyxtext.h (singleWidth): add LyXFont parameter
6684
6685         * rowpainter.C:
6686         * text2.C: adjust LyXText::singleWidth() calls
6687
6688         * text.C (redoParagraph): simplify row breaking logic
6689
6690
6691 2003-08-19  André Pönitz  <poenitz@gmx.net>
6692
6693         * funcrequest.C: initialize button_ member
6694
6695         * text3.C:
6696         * rowpainter.[Ch]: interface consolidation
6697
6698 2003-08-18  André Pönitz  <poenitz@gmx.net>
6699
6700         * BufferView.C:
6701         * BufferView_pimpl.C:
6702         * lyxfind.C:
6703         * paragraph_funcs.C:
6704         * rowpainter.C:
6705         * text3.C: remove LyXScreen::draw() and fitCursor calls
6706
6707         * BranchList.h: remove spurious semicolons
6708
6709         * MenuBackend.C: fix branchlist related crash
6710
6711 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
6712
6713         * BranchList.[Ch]:
6714         * InsetList.[Ch]:
6715         * LColor.[Ch]:
6716         * LyXAction.C:
6717         * Makefile.am:
6718         * MenuBackend.[Ch]:
6719         * bufferparams.[Ch]:
6720         * factory.C:
6721         * lfuns.h:
6722         * lyxfunc.C:
6723         * text3.C: implements the 'branch inset'
6724         idea. This allows the output of various versions of a document
6725         from a single source version, selectively outputing or suppressing
6726         output of parts of the text.
6727         This implementation contains a 'branch list editor' in a separate
6728         tab of the document settings dialog. Branches are user definable
6729         and have a "display colour" to distinguish them on-screen.
6730
6731         ColorHandler was somewhat cleaned up.
6732         (1) make possible a dynamically growing LColor list by allowing
6733         the graphic context cache to grow along (vector);
6734         (2) eliminate an IMHO unnecessary step in colour allocation.
6735
6736 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
6737
6738         * BufferView_pimpl.C: compile fix
6739
6740 2003-08-15  André Pönitz  <poenitz@gmx.net>
6741
6742         * rowpainter.C: remove extra metrics calls
6743
6744         * lyxtext.h: merge the two constructors into a single one,
6745           pass reference to owner's par list
6746
6747         * BufferView_pimpl.C:
6748         * text.C:
6749         * text2.C: adjust
6750
6751 2003-08-15  André Pönitz  <poenitz@gmx.net>
6752
6753         * lyxrow_funcs.[Ch]:
6754         * lyxtext.h:
6755         * paragraph.h:
6756         * paragraph_funcs.C:
6757         * rowpainter.C:
6758         * text.C:
6759         * text2.C:
6760         * text3.C:
6761         * text_funcs.C: split LyXText::rowlist_ into individual
6762         Paragraph::rows_ chunks
6763
6764         * BufferView.[Ch]:
6765         * BufferView_pimpl.[Ch]:
6766         * lyxfind.C:
6767         * lyxtext.h:
6768         * text3.C: remove toggleSelection()
6769
6770 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
6771
6772         * bufferlist.C: beautify two alerts (shorter text of buttons)
6773         * buffer.C: Remove redundant ' ' from message
6774         * tabular.h:
6775         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6776         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6777         rename VALIGN_CENTER to VALIGN_MIDDLE
6778
6779 2003-08-11  André Pönitz  <poenitz@gmx.net>
6780
6781         * lyxtext.h (getPar):
6782         * text.C: new function
6783
6784 2003-08-11  André Pönitz  <poenitz@gmx.net>
6785
6786         * Makefile.am:
6787         * tracer.[Ch]: remove unneeded files
6788
6789         * InsetList.[Ch]: remove resizeInsetsLyXText()
6790
6791         * lyxtext.h:
6792         * text.C:
6793         * text2.C:
6794         * text3.C: merge insertParagraphs() and appendParagraph()
6795         remove breakAgain(), update()
6796
6797         * BufferView_pimpl.[Ch]:
6798         * bufferview_funcs.[Ch]:
6799         * lyxfunc.C:
6800         * paragraph.[Ch]:
6801         * rowpainter.C:
6802         * tabular.C: adjust after text & InsetList changes.
6803
6804 2003-08-08  André Pönitz  <poenitz@gmx.net>
6805
6806         * text.C (insertChar, backspace): replace rowlist fiddling
6807         with rebreak of full par
6808
6809         * lyxtext.h:
6810         * text.C (breakAgainOneRow, redoHeightOfParagraph,
6811         checkParagraph, updateInset): removed
6812
6813 2003-08-07  André Pönitz  <poenitz@gmx.net>
6814
6815         * paragraph.C:
6816         * text3.C: merge some LFUN handlers, remove dead code
6817
6818 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6819
6820         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6821
6822 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
6823
6824         * text2.C (DEPM): fix part of bug 1255 and 1256
6825
6826 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6827
6828         * BufferView_pimpl.C (workAreaDispatch): change to use
6829         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6830         that are no mouse related.
6831
6832 2003-08-05  André Pönitz  <poenitz@gmx.net>
6833
6834         * BufferView.[Ch]:
6835         * BufferView_pimpl.[Ch]:
6836         * bufferview_funcs.C:
6837         * text2.C:
6838         * text3.C: rip out "deep update"
6839
6840         * textcursor.[Ch] (last_sel_cursor): remove unused member
6841
6842 2003-08-04  André Pönitz  <poenitz@gmx.net>
6843
6844         * BufferView.[Ch]:
6845         * BufferView_pimpl.[Ch]:
6846         * ParagraphParameters.C:
6847         * bufferview_funcs.C:
6848         * lyx_cb.C:
6849         * lyxfind.C:
6850         * lyxfunc.C:
6851         * text.C:
6852         * text2.C:
6853         * text3.C: replace "complicated" BufferView::update(...) calls with
6854         simpler ones.
6855
6856         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6857
6858 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
6859
6860         * Makefile.am (lyx_SOURCES): add paper.h
6861
6862 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6863
6864         * Makefile.am: move things around so that both lyx-qt and
6865         lyx-xforms can be built (according to --with-frontend). Then lyx
6866         is a symbolic link to lyx-[firstfrontend]
6867
6868 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
6869
6870         * Always use std::endl with lyxerr
6871
6872 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
6873
6874         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6875
6876 2003-08-01  André Pönitz  <poenitz@gmx.net>
6877
6878         * BufferView.[Ch]:
6879         * BufferView_pimpl.[Ch]:
6880         * lyxfunc.C:
6881         * text3.C: merge BufferView::repaint() and BufferView::update()
6882
6883 2003-08-01  José Matos  <jamatos@lyx.org>
6884
6885         * buffer.[Ch]: file_format is no longer a buffer data element.
6886
6887 2003-08-01  André Pönitz  <poenitz@gmx.net>
6888
6889         * BufferView.C:
6890         * lyxtext.h:
6891         * text.C:
6892         * text2.C: make redoParagraph more independent of current cursor
6893
6894         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6895         * text.C:
6896         * text2.C: remove unneeded members
6897
6898 2003-07-30  André Pönitz  <poenitz@gmx.net>
6899
6900         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6901
6902         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6903           create a single function...
6904
6905         * paragraph_funcs.C (moveItem): ... here.
6906
6907         * text.C:
6908           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6909
6910 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
6911
6912         * LColor.[Ch]: Add comment and greyedout logical colors.
6913
6914 2003-07-30  André Pönitz  <poenitz@gmx.net>
6915
6916         * tabular.C: don't use Assert too heavily. This crashes where it
6917           shouldn't
6918
6919 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
6920
6921         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6922         is disabled (bug 1232)
6923
6924 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6925
6926         * factory.C: limited 'arg' scope
6927
6928 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6929
6930         * factory.C: fixed Note submenu issues
6931
6932 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6933
6934         * factory.C: submenu for Note/Comment/Greyedout
6935
6936 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
6937
6938         * lyx_main.C (LyX):
6939         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6940
6941 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
6942
6943         * LaTeXFeatures.C:
6944         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6945         greyedout. Patch provided by Jürgen Spitzmüller.
6946
6947 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6948
6949         * kbmap.C (read): fix error message when reading bind files
6950
6951 2003-07-29  Angus Leeming  <leeming@lyx.org>
6952
6953         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6954         certainly does not do what it purports to do. I am doing it, and
6955         us, a favour by killing it.
6956
6957 2003-07-28  José Matos  <jamatos@lyx.org>
6958
6959         * buffer.C (readBody, do_writeFile):
6960         * paragraph.C(readParagraph): \end_document replaces \the_end.
6961
6962 2003-07-29  André Pönitz  <poenitz@gmx.net>
6963
6964         * BufferView.[Ch]:
6965         * BufferView_pimpl.[Ch]:
6966         * lyxfunc.C:
6967         * text2.C:
6968         * text3.C:
6969         * textcursor.[Ch]: remove toggleToggle & Co
6970
6971 2003-07-28  José Matos  <jamatos@fep.up.pt>
6972
6973         * buffer.C (readParagraph):
6974         * params_func (readParToken, readParagraph):
6975         * paragraph.C (write): \layout -> \begin_layout.
6976
6977 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6978
6979         * lyxlex_pimpl.C (setFile): clean up slightly.
6980
6981         * bufferparams.h: add compressed var
6982
6983         * buffer_funcs.C (readFile): adjust for LyXLex change
6984         (newFile): ditto + simplify
6985
6986         * buffer.C (writeFile): handle writing of compressed files
6987
6988         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6989         Check if the file is compressed and set a bufferparm if so.
6990
6991         * Makefile.am (lyx_LDADD): remove explicit -lz
6992
6993 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6994
6995         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6996         makeDocBookFile): put the real LyX version in the first line of
6997         the file
6998
6999         * version.h:
7000         * version.C.in: remove lyx_docversion
7001
7002         * tabular.C (write_attribute): add a template-based version to
7003         write enums properly
7004
7005 2003-07-28  André Pönitz  <poenitz@gmx.net>
7006
7007         * lyxtext.h:
7008         * text.C:
7009         * text2.C:
7010         * text3.C: use doubles again for x-coordinates. They are needed.
7011
7012 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7013
7014         * messages.C (getLocaleDir): use lyx_localedir()
7015
7016         * lyxlex_pimpl.C (setFile): compress stuff
7017
7018         * buffer.C (writeFile): add some compression stuff
7019         (do_writeFile): new func, dont call expliti close... will this
7020         breake anything?
7021
7022         * Makefile.am (lyx_LDADD): add -lz
7023
7024 2003-07-28  José Matos  <jamatos@fep.up.pt>
7025
7026         * buffer.C: increment file format.
7027         * paragraph_funcs (readParagraph, readParToken):
7028         * paragraph.C (readParagraph): add \end_layout.
7029
7030 2003-07-27  Angus Leeming  <leeming@lyx.org>
7031
7032         * Makefile.am: remove special casing for configure-time setting of
7033         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
7034
7035         * lyx_main.C (init): remove all Jean-Marc's magic setting of
7036         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
7037
7038 2003-07-26  André Pönitz  <poenitz@gmx.net>
7039
7040         * paragraph_func.[Ch]:
7041         * paragraph.C (realizeFont): inline it whereever it is used
7042
7043         * rowpainter.C:
7044         * text.C:
7045         * text2.C:
7046         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
7047
7048
7049 2003-07-26  André Pönitz  <poenitz@gmx.net>
7050
7051         *       lyxtext.h:
7052         * text.C:
7053         * text2.C: get rid of LyXText::need_break_row
7054
7055 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7056
7057         * toc.[Ch]: put namespace toc inside namespace lyx
7058
7059         * MenuBackend.C (expandToc2): adjust for lyx::toc
7060         (expandToc): ditto
7061
7062         * lyxfunc.C (dispatch): adjust for lyx::find
7063
7064         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
7065         lyx::find instead. Reorganize a bit.
7066         (LyXReplace): rename to replace
7067         (LyXFind): rename to find
7068
7069         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
7070         (dispatch): ditto
7071
7072 2003-07-26  André Pönitz  <poenitz@gmx.net>
7073
7074         * text.C (setHeightOfRow): restrict scope of temporary variable
7075
7076         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
7077           code (never has been used?)
7078
7079 2003-07-27  Asger Alstrup  <alstrup@local>
7080
7081         * text.C (fill): Optimise algorithm to exploit that we can reuse
7082         the LyXFont for many characters.
7083         (setHeightOfRow): Same thing.
7084         (rowBreakPoint): Same thing.
7085
7086 2003-07-26  Asger Alstrup  <alstrup@local>
7087
7088         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
7089
7090         * text.C (singleWidth): Spurious font copying in hot-spot
7091         singleWidth avoided. Reorder tests for arabic for efficiency.
7092
7093         * text.C (fill): handle empty paragraphs better.
7094
7095 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7096
7097         * ispell.C:
7098         * encoding.h: add includes
7099
7100         * lyxrc.C: remove reading of bind files
7101
7102         * lyx_main.C (init): setup bindings and menus only if we have a
7103         gui.
7104
7105         * kbmap.C (read): new method. Do the actual reading of bind
7106         files.
7107
7108         * converter.C (dvipdfm_options):
7109         * bufferparams.C:
7110         * lyxrc.C (read):
7111         (output): adapt PAPER_* enums.
7112
7113         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
7114
7115         * bufferparams.h: remove paper-related enums from there
7116
7117         * paper.h: New file. A trivial header file to hold paper-related
7118         enums. It should later expand to contain many paper-related
7119         horrors access.
7120
7121         * lyxrc.C: declare extern displayTranslator
7122
7123 2003-07-27  José Matos  <jamatos@fep.up.pt>
7124
7125         * tabular.[Ch] (linuxdoc): add support for tables and figures
7126         (linuxdoc).
7127
7128 2003-07-27  José Matos  <jamatos@fep.up.pt>
7129
7130         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
7131         consistency in both functions.
7132         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
7133
7134 2003-07-26  Asger Alstrup  <alstrup@local>
7135
7136         * rowpainter.C (paintRows): Change algorithm to work directly on
7137         the insets rather than asking every character in the document
7138         whether its an inset.
7139
7140 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
7141
7142         * buffer.C (openFileWrite): factorize some code
7143
7144 2003-07-26  Angus Leeming  <leeming@lyx.org>
7145
7146         * lyx_cb.C:
7147         * lyx_main.[Ch]: replace occurances of system_tempdir with
7148         os::getTmpDir().
7149
7150 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7151
7152         * rename Inset to InsetOld
7153
7154 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
7155
7156         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
7157         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
7158         which I think is a bit clearer. EDIT is gone, since it was
7159         premature optimisation, and broken for mathed anyway.
7160         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
7161         with cursor positioning in insets as well (math insets still do not
7162         work, but that's a different story anyway.) It mysteriously
7163         crashes sometimes with undo in the first paragraph, but I'm fairly
7164         confident that this is a compiler bug.
7165
7166 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7167
7168         * paragraph.C (Paragraph): adjust for new clone return type
7169         (operator==): ditto
7170         (copyIntoMinibuffer): ditto
7171
7172 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
7173
7174         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
7175         by not having a special case, and always doing a full rebreak of
7176         the document after undo.
7177
7178 2003-07-23  Angus Leeming  <leeming@lyx.org>
7179
7180         * factory.C (createInset): InsetExternal::setParams now takes a
7181         Buffer const * arg.
7182
7183 2003-07-23  Angus Leeming  <leeming@lyx.org>
7184
7185         * factory.C (createInset): changed interface to the external and
7186         graphics mailers' string2params functions.
7187
7188 2003-07-23  Angus Leeming  <leeming@lyx.org>
7189
7190         * factory.C (createInset): pass a
7191         Buffer const * parameter to InsetExternalMailer's string2params.
7192
7193 2003-07-22  John Levon  <levon@movementarian.org>
7194
7195         * Thesaurus.h: include the right aiksaurus header
7196
7197 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7198
7199         * MenuBackend.C (expand): check menu shortcuts unconditionally
7200
7201 2003-07-21  Angus Leeming  <leeming@lyx.org>
7202
7203         * factory.C (createInset): pass a
7204         buffer_path parameter to InsetGraphicsMailer's string2params.
7205
7206 2003-07-21  Angus Leeming  <leeming@lyx.org>
7207
7208         * BufferView_pimpl.C (buffer):
7209         * buffer.C (d-tor):
7210         * lyx_main.C (LyX):
7211         * lyxfunc.C (dispatch):
7212         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
7213         rather than the grfx shortcut.
7214
7215 2003-07-21  André Pönitz  <poenitz@gmx.net>
7216
7217         * rowpainter.C: remove unused variables
7218
7219         * tabular_funcs.C:
7220         * tabular_funcs.h: move to tabular.C
7221         * Makefile.am: adjust
7222
7223         * tabular.[Ch]: basic optical cleaning
7224
7225         * author.h: pass references, not values
7226
7227 2003-07-18  André Pönitz  <poenitz@gmx.net>
7228
7229         * lyxtext.h:
7230         * metricsinfo.C:
7231         * metricsinfo.h:
7232         * rowpainter.C:
7233         * text.C:
7234         * text2.C:
7235         * text3.C: two-phase drawing for InsetText and InsetTabular
7236         some float -> int changes.
7237
7238 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
7239
7240         * lyx_main.C: fix the fix
7241
7242 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
7243
7244         * lyx_main.C: fix a crash in batch mode if no files specified
7245         * converter.C: ws
7246
7247 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
7248
7249         * format.[Ch] (papersize): moved to BufferParams
7250         * converter.[Ch] (dvips_options): moved to BufferParams
7251         (dvipdfm_options): moved to anon namespace
7252         * bufferparams.[Ch]: added above functions.
7253
7254 2003-07-17  André Pönitz  <poenitz@gmx.net>
7255
7256         * lyxtext.h:
7257         * rowpainter.C:
7258         * text2.C: don't call inset->update() anymore
7259
7260         * metricsinfo.[Ch]: add convenience constructor
7261
7262 2003-07-16  André Pönitz  <poenitz@gmx.net>
7263
7264         * lyxcursor.[Ch]:
7265         * lyxfunc.[Ch]:
7266         * text.C:
7267         * text2.C: replace the LyXCursor::irow_ member with
7268          on-demand computation of the value
7269
7270 2003-07-16  John Levon  <levon@movementarian.org>
7271
7272         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
7273
7274 2003-07-15  André Pönitz  <poenitz@gmx.net>
7275
7276         * text.C:
7277         * text2.C: remove no more needed refresh_row
7278
7279 2003-07-15  André Pönitz  <poenitz@gmx.net>
7280
7281         * lyxtext.h:
7282         * rowpainter.C:
7283         * text2.C:
7284         * text3.C: refresh_status tristate -> need_update bool
7285
7286 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
7287
7288         * lyxtext.h (init): remove reinit argument (act as if always true)
7289         * text2.C: adjust to that
7290
7291 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7292
7293         * bufferview_funcs.[Ch]: introduce function replaceSelection()
7294         * text3.C: use it to delete selections in some cases
7295         (bugs 441, 673, 702, 954).
7296
7297 2003-07-14  André Pönitz  <poenitz@gmx.net>
7298
7299         * rowpainter.[Ch]: reduce interface
7300
7301 2003-07-14  André Pönitz  <poenitz@gmx.net>
7302
7303         * BufferView_pimpl.C:
7304         * text2.C: adjust after removing unused BufferView * argument
7305
7306 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
7307
7308         * text2.C (init): fix a crash fired on resize
7309
7310 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
7311
7312         * buffer.[Ch]: added new closing signal
7313         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
7314         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
7315         BufferView::Pimpl via the closing the signal
7316
7317 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
7318
7319         * buffer.[Ch]: take out all bv-related from buffer
7320         * BufferView.C:
7321         * BufferView_pimpl.[Ch]: connect to new signals
7322         * CutAndPaste.C: removed useless asserts
7323         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
7324         * lyxvc.[Ch]:
7325         * vc-backend.[Ch]:
7326         * lyxfunc.C: moved view-related funciontality from vc here
7327         * paragraph.C: removed outdated comments
7328         * text.C: ws
7329
7330 2003-07-10  André Pönitz  <poenitz@gmx.net>
7331
7332         * BufferView_pimpl.C:
7333         * tabular.h:
7334         * tabular_funcs.C:
7335         * text.C:
7336         * text2.C: remove InsetText::InnerCache, clean up consequences
7337
7338 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
7339
7340         * ispell.C: fix two typos in error messages
7341
7342 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
7343
7344         * Extend Note inset to other forms of annotation like Comment
7345         and Greyedout. Right button click gives dialog.
7346
7347         Files modified or added (+):
7348
7349         * insetnote.[Ch]
7350         * FormNote.[Ch]      +
7351         * ControlNote.[Ch]   +
7352         * form_note.fd       +
7353         * Makefile.am in frontends/xforms, frontends/xforms/forms,
7354         frontends/controllers
7355         * xforms/Dialogs.C
7356         * factory.C
7357
7358 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7359
7360         * aspell.C: add missing namespace lyx::support
7361
7362 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
7363
7364         * BufferView.[Ch] (newFile): Add
7365         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
7366         * LaTeX.[Ch] (message): added this signal and use it
7367         * buffer.[Ch] (busy, message): added these signals and use them
7368         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
7369         * converter.C:
7370         * exporter.C:
7371         * format.C:
7372         * importer.C: use buffer signals instead of direct bv calling
7373         * lyx_cb.[Ch] (ShowMessage): removed
7374         * lyx_main.C:
7375         * lyxfunc.C:
7376         * paragraph_funcs.C:
7377         * text2.C: use buffer signals
7378
7379 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7380
7381         * introduce namespace lyx::graphics
7382
7383 2003-07-02  André Pönitz  <poenitz@gmx.net>
7384
7385         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
7386
7387 2003-07-01  André Pönitz  <poenitz@gmx.net>
7388
7389         * text.C:
7390         * text2.C:
7391         * text3.C:
7392         * text_funcs.[Ch]:
7393         * textcursor.h:
7394         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
7395           text*.C to text_func.C
7396
7397 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7398
7399         * introduce namespace lyx::support
7400
7401 2003-06-30  André Pönitz  <poenitz@gmx.net>
7402
7403         * Chktex.C:
7404         * funcrequest.C:
7405         * lyxtext.h:
7406         * text.C: re-enable --with-included-string
7407
7408 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7409
7410         * textcursor.C: add <config.h>
7411
7412         * text.C (getWord): remove const from word_location arg
7413
7414         * lyxvc.C (getLogFile): fix const type order
7415
7416         * lyxtext.h: remove const from word_location arg, add arg name
7417
7418         * lyxlayout.h: currect type on labeltype.
7419
7420         * importer.C: correct \file
7421
7422         * converter.C (intToFormat): use std:: on ret val, ws changes
7423
7424         * bufferlist.h: correct \file
7425
7426         * buffer.C (makeLinuxDocFile): fix const type order
7427         (makeDocBookFile): ditto
7428         (fillWithBibKeys): use std:: on stdlib args.
7429
7430         * CutAndPaste.C: fix authors.
7431         (availableSelections): use std:: on return vector
7432
7433 2003-06-27  André Pönitz  <poenitz@gmx.net>
7434
7435         * BufferView_pimpl.C:
7436         * bufferview_funcs.C:
7437         * lyxcursor.C:
7438         * lyxcursor.h:
7439         * lyxfunc.C:
7440         * lyxtext.h:
7441         * rowpainter.C:
7442         * text.C:
7443         * text2.C:
7444         * text3.C: remove LyXCursor::row_ member
7445
7446         * lyxtext.h:
7447         * text.C: rename fullRebreak() to partialRebreak() and implement
7448           a fullRebreak() that really bereks fully
7449
7450         * textcursor.h: new struct for cursor-related data
7451
7452 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
7453
7454         * lyx_main.C (LyX): get full path of document loaded on the
7455         command line
7456
7457 2003-06-26  André Pönitz  <poenitz@gmx.net>
7458
7459         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7460           remove unused/broken operator>,<,>=.
7461
7462         *       text.C: remove only use of broken operator<= in an Assert().
7463
7464 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7465
7466         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7467         moved errorlist_.clear to showErrorList
7468
7469 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7470
7471         * converter.C (scanLog, runLaTeX):
7472         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7473         move the bv->showErrorList call to the callers
7474         * lyxfunc.C: i.e. here...
7475         * text2.C: and here
7476         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7477         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7478         namespace, the second to...
7479         * buffer_funcs (BufferFormat, parseErrors): added
7480         * errorlist.C (ErrorList(TeXErrors const &)): removed
7481
7482 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7483
7484         * ToolbarBackend.C (getIcon): complain when icon cannot be found
7485
7486 2003-06-24  "Garst R. Reese" <reese@isn.net>
7487
7488         * debug.C: fix typo
7489
7490 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7491
7492         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7493
7494         * version.C.in: change docversion to 1.4
7495
7496 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
7497
7498         * buffer.C: fix a bug just introduced
7499
7500 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
7501
7502         * buffer.[Ch]: added the parseError signal and use it, removed
7503         sgmlError
7504         * BufferView.[Ch] (addError): moved to ...
7505         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7506         to the Buffer::parseError signal to catch (guess what) parse errors
7507         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7508
7509 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
7510
7511         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7512         ability to create a buffer and to return an existing one from
7513         the list. Moved these functions to...
7514         * buffer_funcs.[Ch]: added
7515         * BufferView.[Ch] (loadLyXFile): added
7516         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7517         job removed from bufferlist::loadLyXFile.
7518         * buffer.C (setReadOnly): make it work without view
7519         (i.e added an if (users))
7520
7521 2003-06-19  Angus Leeming  <leeming@lyx.org>
7522
7523         * lfuns.h:
7524         * LyXAction.C (init):
7525         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7526         with LFUN_DIALOG_SHOW <name> <data>.
7527
7528 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7529
7530         * CutAndPaste.C (availableSelections): small compilation fix for
7531         ancient (gcc 2.9x) compilers
7532
7533 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
7534
7535         * text3.C (cursorNext): add tmp var
7536
7537         * text2.C (updateCounters): for function calling out of for clause
7538         (replaceSelectionWithString): ditto
7539         (insertStringAsParagraphs): ditto
7540         (getColumnNearX): add tmp var
7541         (setCursorFromCoordinates): add tmp var
7542         (cursorDownParagraph): add tmp var
7543         (deleteEmptyParagraphMechanism): add tmp var
7544
7545         * text.C (insertChar): add tmp var
7546
7547         * rowpainter.C (paintDepthBar): add tmp var
7548
7549         * CutAndPaste.C (availableSelections): potentially check all
7550         paragraphs in a cut to fill the shown strings.
7551
7552 2003-06-18  André Pönitz  <poenitz@gmx.net>
7553
7554         * kbmap.[Ch]: use vector<> instead of list<>
7555
7556 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
7557
7558         * text3.C (dispatch): handle arg to LFUN_PASTE, call
7559         pasteSelection with index
7560
7561         * text2.C (pasteSelection): modify, call pasteSelection with index
7562
7563         * paragraph.C (asString): reimplement version with no interval to
7564         call the one with interval.
7565
7566         * lyxtext.h: add index arg to pasteSelection
7567
7568         * MenuBackend.C (MenuItem): handle PasteRecent
7569         (Menu::read::Menutags): add md_pasterecent
7570         (read): handle it
7571         (expandPasteRecent): new function
7572         (expand): use it
7573
7574         * MenuBackend.h: add PasteRecent to MenuItem::Kind
7575
7576         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7577         the limited stack
7578         (availableSelections): new function
7579
7580 2003-06-17  Angus Leeming  <leeming@lyx.org>
7581
7582         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7583
7584 2003-06-17  Angus Leeming  <leeming@lyx.org>
7585
7586         * lfuns.h:
7587         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7588
7589         * lyxfunc.C (dispatch): invoke it.
7590
7591 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7592
7593         * iterators.C (operator++, ParPosition): reintroduce some
7594         const_cast for the benefit of older compilers.
7595
7596 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7597
7598         * text3.C (dispatch): do not modify clipboard when doing
7599         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7600         LFUN_DELETE_SKIP on a selection selection
7601
7602 2003-06-16  André Pönitz  <poenitz@gmx.net>
7603
7604         * BufferView.C:
7605         * buffer.C:
7606         * buffer.h:
7607         * paragraph.C:
7608         * tabular.[Ch]: IU of clone() and getLabelList();
7609
7610 2003-06-13  André Pönitz  <poenitz@gmx.net>
7611
7612         * tabular.h: compactification
7613
7614 2003-06-12  André Pönitz  <poenitz@gmx.net>
7615
7616         * tabular.C:
7617         * tabular.h:
7618         * tabular_funcs.h: some renaming plus whitespace
7619
7620 2003-06-12  André Pönitz  <poenitz@gmx.net>
7621
7622         * BufferView.C:
7623         * BufferView_pimpl.C:
7624         * CutAndPaste.C:
7625         * buffer.C:
7626         * iterators.[Ch]:
7627         * lyxfunc.C:
7628         * text.C:
7629         * toc.C: Return a Paragraph & for ParIterator::operator*()
7630
7631 2003-06-11  John Levon  <levon@movementarian.org>
7632
7633         * lyx_main.C:
7634         * ToolbarBackend.h:
7635         * ToolbarBackend.C: add "Toolbars" section and
7636         put the flags there
7637
7638 2003-06-10  Angus Leeming  <leeming@lyx.org>
7639
7640         * lfuns.h:
7641         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7642
7643         * lyxfunc.C (dispatch): invoke it.
7644
7645 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7646
7647         * main.C: protect <ios> with HAVE_IOS
7648         (main): protect sync_with_stdio with HAVE_IOS
7649
7650 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
7651
7652         * text2.C (cutSelection): adjust
7653         (pasteSelection): adjust
7654
7655         * messages.C: handle get of empty string
7656
7657         * main.C (main): use sync_with_stdio(false)
7658
7659         * lyxfunc.C (dispatch): adjust
7660
7661         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7662         (WriteAs): remove unneeded BufferView arg.
7663
7664         * bufferparams.h: use correct types on papersize, papersize2 and
7665         paperpackage.
7666
7667         * bufferparams.C (readToken): adjust for type
7668         (writeLaTeX): add missing cases to switch.
7669
7670         * bufferlist.C (quitWriteBuffer): adjust
7671         (close): adjust
7672
7673         * buffer.C (asciiParagraph): remove some commented code.
7674
7675         * CutAndPaste.C: remove current_view extern variable.
7676         (cutSelection): add BufferParams arg.
7677         (eraseSelection): add BufferParams arg.
7678         (pasteSelection): add Buffer const & arg
7679
7680 2003-06-07  John Levon  <levon@movementarian.org>
7681
7682         * buffer.C:
7683         * paragraph_funcs.C:
7684         * paragraph_pimpl.C:
7685         * text.C:
7686         * text2.C:
7687         * paragraph.h:
7688         * paragraph.C: allow InsetERT to freely space lines,
7689         and some consolidation of code
7690
7691 2003-06-06  José Matos  <jamatos@fep.up.pt>
7692
7693         * buffer.C (makeDocBookFile): fix bug #821
7694
7695 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
7696
7697         * BufferView_pimpl.C (dispatch): use Dialogs::visible
7698
7699 2003-06-04  Angus Leeming  <leeming@lyx.org>
7700
7701         * buffer.C: bump format to 224.
7702
7703 2003-06-05  André Pönitz  <poenitz@gmx.net>
7704
7705         * text2.C (redoParagraphs): remove two const_cast<>
7706
7707 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
7708
7709         * ParagraphList.h: remove last remnants of NO_STD_LIST
7710
7711 2003-06-03  Angus Leeming  <leeming@lyx.org>
7712
7713         * factory.C (createInset): small change to the way InsetExternal's params
7714         are set.
7715
7716 2003-06-04  André Pönitz  <poenitz@gmx.net>
7717
7718         * buffer.h: use Undo directly instead of shared_ptr<Undo>
7719
7720         * paragraph_pimpl.h:
7721         * paragraph.[Ch]: some Inset -> UpdatableInset changes
7722
7723         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7724
7725         * undo_funcs.C: make some simple cases of undo work again
7726
7727 2003-06-03  John Levon  <levon@movementarian.org>
7728
7729         * ispell.C: HPUX doesn't have sys/select.h
7730         (from Albert Chin)
7731
7732 2003-06-03  John Levon  <levon@movementarian.org>
7733
7734         * CutAndPaste.C: update tabular and include inset
7735         buffer references
7736
7737         * buffer.h:
7738         * paragraph.h:
7739         * paragraph.C: remove owningBuffer(), don't pass Buffer
7740         to clone()
7741
7742         * factory.C: insetGraphicsParams changed
7743
7744 2003-06-02  John Levon  <levon@movementarian.org>
7745
7746         * LyXAction.C:
7747         * factory.C:
7748         * lfuns.h:
7749         * lyxfunc.C:
7750         * text3.C: remove insetparent
7751
7752 2003-06-02  John Levon  <levon@movementarian.org>
7753
7754         * buffer.h:
7755         * buffer.C: fix inset_iterator.end(), move out of line
7756         (bug 1149)
7757
7758 2003-06-01  John Levon  <levon@movementarian.org>
7759
7760         * text3.C: use a proper cut/paste when doing inset
7761         insert (from Jürgen Spitzmüller)
7762
7763 2003-06-01  John Levon  <levon@movementarian.org>
7764
7765         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7766
7767 2003-05-30  André Pönitz  <poenitz@gmx.net>
7768
7769         * rowpainter.C: unify second drawing phase
7770
7771 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7772
7773         * trans_mgr.C: remove one case of current_view
7774
7775         * text2.C (cursorBottom): delete NO_STD_LIST stuff
7776
7777         * paragraph_funcs.h: remove paragraph.h include
7778
7779         * paragraph.h: delete NO_STD_LIST stuff
7780
7781         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7782
7783         * buffer.h: remove paragraph.h include
7784
7785         * ParagraphList.C: delete file
7786
7787         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7788
7789         * toc.C (getTocList): adjust
7790
7791         * paragraph_pimpl.C (validate): adjust
7792
7793         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7794
7795         * paragraph.C (Paragraph): adjust
7796         (getPositionOfInset): use const_iterator, adjust
7797         (bibitem): use const_iterator, adjust
7798         (setInsetOwner): adjust
7799
7800         * iterators.C (operator++): adjust
7801
7802         * InsetList.[Ch]: Replace selfmade iterator with standard
7803         vector::iterator also introduce const_iterator. Remove getPos,
7804         getInset and setInset from InsetTable. Adjust accordingly.
7805
7806         * BufferView.C (lockInset): adjust
7807         (ChangeInsets): adjust
7808
7809         * tabular.[Ch]: delete commented same_id functions
7810
7811 2003-05-28  John Levon  <levon@movementarian.org>
7812
7813         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7814
7815 2003-05-28  André Pönitz  <poenitz@gmx.net>
7816
7817         * metricsinfo.[Ch]: remove 'fullredraw' member
7818
7819 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
7820
7821         * lyxtextclass.C (operator): remove caching.
7822
7823 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7824
7825         * text3.C: adjust
7826
7827         * text2.C (cursorBottom): adjust
7828         (setCounter): use ParagraphList::find, adjust
7829
7830         * text.C (workWidth): use ParagraphList::find, adjust
7831
7832         * lyxcursor.C (LyXCursor): adjust
7833
7834         * buffer.C (inset_iterator): adjust
7835
7836         * ParagraphList.h: make iterator(value_type) private, make
7837         ParagraphList a friend of iterator.
7838
7839         * ParagraphList.C (find): new function
7840
7841         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7842
7843 2003-05-27  André Pönitz  <poenitz@gmx.net>
7844
7845         * dimension.[Ch]: a -> asc, d -> des, w -> wid
7846
7847 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7848
7849         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7850
7851 2003-05-26  John Levon  <levon@movementarian.org>
7852
7853         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7854
7855 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7856
7857         * remove same_id from function signatures, adjust.
7858
7859 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7860
7861         * undo_funcs.C (createUndo): use the id functions directly, adjust.
7862
7863         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7864
7865         * paragraph.C (Paragraph): get rid of same_ids parameter
7866
7867         * ParagraphList.C (insert): adjust
7868         (push_back): adjust
7869
7870 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7871
7872         * paragraph_funcs.C (breakParagraph): adjust
7873         (breakParagraphConservative): adjust
7874
7875         * buffer.C (readParagraph): adjust
7876
7877         * ParagraphList.C (insert): take a reference instead of a pointer
7878         (insert): adjust
7879
7880         * paragraph.[Ch] (id): new function
7881
7882         * bufferlist.C (newFile): adjust
7883
7884         * ParagraphList.C (ParagraphList): adjust
7885         (assign): adjust
7886         (push_back): take a reference instead of a pointer.
7887
7888         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7889
7890         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7891         instead.
7892
7893         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7894         set else use old code.
7895
7896         * ParagraphList.C: remove all NO_NEXT code and only compile this
7897         code of NO_STD_LIST is set.
7898
7899 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7900
7901         * BufferView_pimpl.C:
7902         * TextCache.C:
7903         * TextCache.h:
7904         * bufferlist.C:
7905         * errorlist.h:
7906         * format.C:
7907         * format.h:
7908         * graph.C:
7909         * lyxfunc.C:
7910         * lyxrc.C:
7911         * graphics/GraphicsConverter.C:
7912         * graphics/PreviewLoader.C: header adjustment
7913
7914 2003-05-23  Angus Leeming  <leeming@lyx.org>
7915
7916         * LaTeXFeatures.[Ch] (useBabel): new method.
7917         * bufferparams.C (writeLaTeX): use it.
7918
7919 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7920
7921         * ParagraphList.h (set): remove unused function.
7922
7923 2003-05-23  André Pönitz  <poenitz@gmx.net>
7924
7925         * BufferView.C:
7926         * BufferView_pimpl.C:
7927         * buffer.C:
7928         * buffer.h:
7929         * lyxfunc.C:
7930         * undo_funcs.C: setUndo reworked
7931
7932         * iterators.[Ch]: add access to topmost ParagraphList
7933
7934         * lyxtext.[Ch] (workWidth): add a const
7935
7936 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7937
7938         * texrow.[Ch] (increasePos): remove function
7939         * exporter.C (export): removed unused var and outdated comment
7940
7941 2003-05-23  Angus Leeming  <leeming@lyx.org>
7942
7943         * latexrunparams.h: rename fragile as moving_arg.
7944         * paragraph.C (simpleTeXOnePar): ditto.
7945         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7946
7947 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7948
7949         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7950         (createUndo): ditto
7951         (textUndoOrRedo): comment out a currently unused var.
7952
7953         * paragraph.h (NO_NEXT): enable NO_NEXT
7954
7955         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7956
7957         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7958
7959         * exporter.C (Export): adjust for removeAutoInsets removal.
7960
7961         * buffer.C (runChktex): adjust for removeAutoInsets removal.
7962
7963         * LyXAction.C (init): remove LFUN_REMOVEERRORS
7964
7965         * BufferView.[Ch] (removeAutoInsets): delete function
7966
7967 2003-05-22  Angus Leeming  <leeming@lyx.org>
7968
7969         * latexrunparams.h: add a free_spacing variable.
7970
7971         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7972         to pass moving_arg, as the data is stored in runparams.fragile.
7973
7974         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7975         to Inset::latexOptional or to simpleTeXOnePar.
7976
7977         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7978         free_spacing arg to Inset::latexOptional.
7979
7980         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7981         free_spacing arg.
7982
7983 2003-05-22  Angus Leeming  <leeming@lyx.org>
7984
7985         * latexrunparams.h: add fragile and use_babel variables.
7986
7987         * bufferparams.[Ch] (writeLaTeX): return use_babel.
7988         * buffer.C (makeLaTeXFile): store this returned value in
7989         runparams.use_babel, thus passing it to the inset::latex methods.
7990
7991         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7992         simpleTeXSpecialChars as it is now stored in runparams.fragile.
7993
7994         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7995         longer has a fragile arg, as it is stored in runparams.fragile.
7996
7997         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7998         moving_arg parameter as the data is stored in runparams.fragile.
7999
8000         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
8001         a fragile parameter as the data is stored in runparams.fragile.
8002
8003 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8004
8005         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
8006
8007 2003-05-22  Angus Leeming  <leeming@lyx.org>
8008
8009         * latexrunparams.h: add a 'bool nice' which defaults to false.
8010
8011         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
8012         now encapsulated within runparams.
8013
8014         * bufferlist.C (updateIncludedTeXfiles):
8015         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
8016
8017 2003-05-22  Angus Leeming  <leeming@lyx.org>
8018
8019         * latexrunparams.h: new file containing struct LatexRunParams.
8020         * Makefile.am: add new file.
8021
8022         * LaTeX.[Ch] (c-tor, run):
8023         * buffer.[Ch] (makeLaTeXFile):
8024         * bufferlist.[Ch] (updateIncludedTeXfiles):
8025         * converter.C (convert, scanLog):
8026         * converter.[Ch] (runLaTeX):
8027         * exporter.C (Export):
8028         * paragraph.[Ch] (simpleTeXOnePar):
8029         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
8030         * paragraph_funcs.[Ch] (latexParagraphs):
8031         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
8032         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
8033         pass around a LatexRunParams parameter.
8034
8035 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8036
8037         * paragraph.[Ch]: remove unused constructor
8038
8039         * ParagraphList.C (erase): new function, taking two iterators
8040
8041 2003-05-22  André Pönitz  <poenitz@gmx.net>
8042
8043         * undo_funcs.C: remove duplicated code
8044
8045         * iterator.[Ch]: operator=
8046
8047 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8048
8049         * tabular.C (SetMultiColumn): ws changes
8050
8051         * rowpainter.C (paintFirst): get rid of a ->previous
8052
8053         * lyx_cb.C (getPossibleLabel): parlist simplification
8054
8055         * BufferView.C (ChangeInsets): simplify slightly.
8056
8057 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
8058
8059         * LyXAction.C: new lfun space-insert, kill protected-space-insert
8060         * lfuns.h: new LFUN_SPACE
8061         * lyxfunc.C: protected space has a new lfun
8062         * paragraph_funcs.C: read new space insets
8063         * text3.C:
8064         * factory.C: handle new space insets
8065
8066 2003-05-22  André Pönitz  <poenitz@gmx.net>
8067
8068         * BufferView.C:
8069         * BufferView_pimpl.C:
8070         * buffer.[Ch]:
8071         * lyxfunc.C:
8072         * undo_funcs.C: return a ParIterator from getParFromID.
8073
8074         * iterators.[Ch]: add two const's
8075
8076 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
8077
8078         * toc.C (getTocList): adjust
8079
8080         * iterators.[Ch]: rework for parlist
8081
8082         * buffer.C (par_iterator_begin): adjust
8083         (par_iterator_end): adjust
8084
8085         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
8086
8087         * BufferView.C (removeAutoInsets): adjust
8088         (ChangeInsets): adjust
8089
8090 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
8091
8092         * text.C (top_y): fix bug 1110
8093
8094 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
8095
8096         * errorlist.[Ch]: added
8097         * buffer.C:
8098         * BufferView.[Ch]:
8099         * BufferView_pimpl.C:
8100         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
8101         instead
8102
8103 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8104
8105         * Makefile.am: ensure that lyx is relinked upon changes to the
8106         various "convenience" libs.
8107
8108 2003-05-20  Angus Leeming  <leeming@lyx.org>
8109
8110         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
8111         files are compiled in alphabetical order again.
8112
8113         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
8114
8115 2003-05-19  Angus Leeming  <leeming@lyx.org>
8116
8117         * gettext.[Ch]: remove "char const * _(char const *)".
8118
8119 2003-05-19  André Pönitz  <poenitz@gmx.net>
8120
8121         * dimension.[Ch]: promote from mathed/dimension.[Ch]
8122
8123         * Makefile.am:
8124         * BufferView.C:
8125         * DepTable.h:
8126         * LaTeXFeatures.C:
8127         * buffer.C:
8128         * lyxfont.C:
8129         * lyxlex.h:
8130         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
8131
8132 2003-05-19  André Pönitz  <poenitz@gmx.net>
8133
8134         * buffer.C:
8135         * lyxlayout.[Ch]:
8136         * lyxtextclass.[Ch]:
8137         * paragraph.C:
8138         * paragraph_funcs.[Ch]:
8139         * text2.C:
8140         * text3.C: more insetenv work
8141
8142 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
8143
8144         * ParagraphParameters.C (params2string): small bug fixed
8145
8146 2003-05-16  André Pönitz  <poenitz@gmx.net>
8147
8148         * debug.C:
8149         * bufferview_funcs.C: patch from Kornel Benko to prevent
8150           crash when _(...) is called twice in a statement
8151
8152 2003-05-16  André Pönitz  <poenitz@gmx.net>
8153
8154         * BufferView.C:
8155         * lyxfunc.C:
8156         * text.C:
8157         * text2.C:
8158         * text3.C:
8159         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
8160
8161 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
8162
8163         * lyx_main.C (init): remove spurious static_cast
8164
8165 2003-05-14  André Pönitz  <poenitz@gmx.net>
8166
8167         * BufferView.C: fix format string
8168
8169 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
8170
8171         * BufferView.[Ch] (insertErrors): removed
8172         * BufferView.[Ch] (showErrorList): added
8173         * buffer.C (runChkTeX):
8174         * converter.C (scanLog): call showErrorList instead of inserterrors
8175
8176 2003-05-13  André Pönitz  <poenitz@gmx.net>
8177
8178         * BufferView_pimpl.C:
8179         * buffer.C:
8180         * bufferview_func.C:
8181         * MenuBackend.C:
8182         * lyxfunc.C:
8183         * lyxrc.C:
8184         * tex-accent.C:
8185         * text3.C:
8186         * toc.C:
8187         * tabular_funcs.h: tostr() from its own header
8188
8189         * ParagraphParameters.C:
8190         * ToolbarBackend.C:
8191         * bufferparams.C:
8192         * format.C:
8193         * lyxlex_pimpl.C:
8194         * text3.C: STRCONV()
8195
8196 2003-05-12  André Pönitz  <poenitz@gmx.net>
8197
8198         * BufferView.C:
8199         * BufferView_pimpl.C:
8200         * CutAndPaste.C:
8201         * LaTeX.C:
8202         * LaTeXFeatures.C:
8203         * ParagraphParameters.C:
8204         * buffer.C:
8205         * bufferlist.C:
8206         * bufferparams.C:
8207         * bufferview_funcs.C:
8208         * converter.C:
8209         * counters.C:
8210         * debug.C:
8211         * exporter.C:
8212         * format.C:
8213         * importer.C:
8214         * lyx_cb.C:
8215         * lyx_main.C:
8216         * lyxfont.C:
8217         * lyxfunc.C:
8218         * lyxvc.C:
8219         * paragraph.C:
8220         * paragraph_funcs.C:
8221         * tabular.C:
8222         * tabular_funcs.C:
8223         * text2.C:
8224         * text3.C:  boost::format -> bformat  all over the place
8225
8226
8227 2003-05-09  André Pönitz  <poenitz@gmx.net>
8228
8229         * LColor.[Ch]: Pimpl the #include <map> away
8230
8231 2003-05-09  John Levon  <levon@movementarian.org>
8232
8233         * bufferlist.C: never remove emergency saves
8234
8235 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8236
8237         * Makefile.am: better lib building
8238
8239 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
8240
8241         * texrow.[Ch]: remove dependency on Paragraph and just store a id
8242         instead.
8243         * paragraph_pimpl.C (simpleTeXBlanks): adjust
8244         (simpleTeXSpecialChars): adjust
8245         (simpleTeXSpecialChars): adjust
8246         * paragraph.C (simpleTeXOnePar): adjust
8247         * buffer.C (makeLaTeXFile): adjust
8248
8249         * Makefile.am (BOOST_LIBS): allow boost as system lib.
8250
8251         * text2.C (changeDepth): parlist cleanup
8252         (getColumnNearX): ditto
8253
8254         * rowpainter.C (getLabelFont): parlist cleanup
8255
8256         * bufferlist.C (newFile): parlist cleanup
8257
8258         * CutAndPaste.C (eraseSelection): parlist cleanup
8259
8260         * BufferView_pimpl.C (trackChanges): parlist cleanup
8261         (dispatch): ditto
8262
8263         * BufferView.C (lockInset): parlist cleanup.
8264         (ChangeInsets): ditto
8265
8266 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8267
8268         * CutAndPaste.h: Update file header.
8269
8270         * CutAndPaste.C: Update file header.
8271         Store the parts cut out of the Document in a limited_stack.
8272         (copySelection): adjust
8273         (pasteSelection): new function, takes the index in the limited stack.
8274         (nrOfParagraphs): adjust
8275         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
8276         simplify error inset insertion.
8277         (checkPastePossible): adjust
8278
8279 2003-05-06  John Levon  <levon@movementarian.org>
8280
8281         * text2.C: don't cast wrap inset to float
8282
8283 2003-05-05  André Pönitz  <poenitz@gmx.net>
8284
8285         * iterator.C:
8286         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
8287
8288         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
8289           few naked Paragraph *.
8290
8291 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
8292
8293         * bufferparams.C: Output warning if a document with missing
8294         TeX document class is loaded
8295         * exporter.C: Disable TeX exports if the document class is missing
8296         * lyxtextclass.C:
8297         * lyxtextclass.h:
8298         * lyxtextclasslist.C: Handle new textclass.lst format; new method
8299         isTeXClassAvailable()
8300
8301 2003-05-03  John Levon  <levon@movementarian.org>
8302
8303         * BufferView.h:
8304         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
8305         explicit cursor show/hide
8306
8307         * BufferView_pimpl.h:
8308         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
8309         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
8310
8311         * lyxfunc.C: hide cursor before dispatching.
8312
8313         * lyx_cb.C:
8314         * lyxfind.C:
8315         * text.C:
8316         * text3.C: remove explicit cursor hides
8317
8318 2003-05-02  André Pönitz  <poenitz@gmx.net>
8319
8320         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
8321
8322         * undo_funcs.C:
8323         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
8324           linked lists
8325
8326         * text2.C: tiny whitespace
8327
8328 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8329
8330         * undo_funcs.C: almost only ws changes.
8331
8332         * ParagraphList.C (splice): just return if pl is empty.
8333
8334 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8335
8336         * ParagraphList.C (splice): new function.
8337
8338         * CutAndPaste.C (pasteSelection): use it
8339
8340 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8341
8342         * CutAndPaste.C (pasteSelection): remove the last next and
8343         previous from this file.
8344
8345 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8346
8347         * CutAndPaste.C (pasteSelection): more clean up, user proper
8348         ParagraphList functions for pasteing.
8349
8350         * ParagraphList.C (insert): new function, three arg insert
8351
8352 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8353
8354         * ParagraphList.C (insert): new function, three arg insert
8355
8356         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
8357         not on paragraphs.
8358
8359 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8360
8361         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
8362
8363 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8364
8365         * CutAndPaste.C (pasteSelection): remove some unneeded code.
8366
8367 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8368
8369         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
8370         (copySelection): clean up a bit.
8371         (pasteSelection): use make_pair
8372
8373         * ParagraphList.C (ParagraphList): implement copy constructor
8374         (operator=): implement, base on copy constructor.
8375         (assign): new func
8376
8377         * paragraph.C (erase): return a bool
8378
8379         * paragraph_pimpl.C (erasePos): remove function, move contents...
8380         (erase): ... here. Return a bool.
8381         (erase): call erase instead of erasePos.
8382
8383 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
8384
8385         * ParagraphList.h: define PitPosPair
8386         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
8387         ParagraphList, fix a bug on pasting multiple pars
8388         * text2.C: change interface to C&P
8389
8390 2003-04-30  André Pönitz  <poenitz@gmx.net>
8391
8392         * undo_func.C: revert part of yesterday's patch 2
8393
8394 2003-04-30  John Levon  <levon@movementarian.org>
8395
8396         * LColor.C: s/tabular/table/
8397
8398 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8399
8400         * text3.C (dispatch): do not convert iterator -> pointer
8401         * undo_funcs.C (setCursorParUndo): ditto
8402         * text_funcs.C (transposeChars): ditto
8403
8404         * text2.C (setLayout): ws changes only
8405
8406         * text.C (breakParagraph): do not convert iterator -> pointer
8407         (insertChar): ditto
8408         (acceptChange): ditto
8409         (rejectChange): ditto
8410         (changeCase): ditto
8411         (Delete): ditto
8412         (backspace): ditto
8413
8414         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
8415         pointer
8416
8417 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8418
8419         * text3.C (gotoInset): YABG (yet another bad getChar)
8420
8421 2003-04-29  André Pönitz  <poenitz@gmx.net>
8422
8423         * paragraph.h: make operator= private unimplemented as long as
8424           it is unusable
8425
8426         * ParagraphList.C: whitespace
8427
8428         * paragraph.[Ch]:
8429         * paragraph_pimpl.[Ch]:
8430         * paragraph_funcs.C:
8431         * CutAndPaste.C:
8432         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
8433
8434         * text2.C:
8435           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8436
8437 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8438
8439         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8440         * paragraph.[Ch] (erase):
8441         * paragraph_pimpl.[Ch] (erase): change return type and value
8442         * text2.C (cutSelection): some rework
8443
8444 2003-04-28  John Levon  <levon@movementarian.org>
8445
8446         * bufferlist.C: changes for unsaved changes dialog
8447
8448 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8449
8450         * bufferlist.C (newFile): set language (messages_) for new
8451         documents also.
8452
8453         * buffer.C (readFile): ws changes only.
8454
8455 2003-04-28  André Pönitz  <poenitz@gmx.net>
8456
8457         * undo_funcs.C:
8458         * lyxfunc.C:
8459         * buffer.[Ch]:
8460         * BufferView_pimpl.C:
8461         * BufferView.C: getParFromID related ParagraphList::iterator changes
8462
8463 2003-04-28  André Pönitz  <poenitz@gmx.net>
8464
8465         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8466           Changes
8467
8468 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8469
8470         * messages.C: remove one more localedir class variable.
8471
8472 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8473
8474         * messages.C (getLocaleDir): singleton generation function
8475         (Pimpl): use it.
8476         (Messages): add a default constructor.
8477
8478         * main.C (main): do not setup localedir here, do not call
8479         gettext_init.
8480
8481         * gettext.C (_): use it.
8482         (gettext_init): delete funciton
8483
8484 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8485
8486         * gettext.C (getLyXMessages): new singleton generating function.
8487
8488         * buffer.C (updateDocLang): adjust
8489
8490         * Makefile.am (messages.o): add target
8491         (main.o): remove target
8492
8493 2003-04-27  John Levon  <levon@movementarian.org>
8494
8495         * bufferlist.C:
8496         * lyx_cb.C:
8497         * lyxfunc.C:
8498         * lyxvc.C: specify cancel button in Alert::prompt
8499
8500 2003-04-26  John Levon  <levon@movementarian.org>
8501
8502         * text3.C:
8503         * lyxfunc.C:
8504         * lfuns.h:
8505         * LyXAction.C: add LFUN_INSET_SETTINGS
8506
8507         * lyxfunc.C: don't enable tabular-feature when there's
8508         just any locking inset
8509
8510 2003-04-26  John Levon  <levon@movementarian.org>
8511
8512         * bufferlist.C: re-add Cancel to buffer close question
8513
8514         * lyxfunc.C: fix import UI a bit
8515
8516 2003-04-25  John Levon  <levon@movementarian.org>
8517
8518         * gettext.C: remove the broken asserts for now
8519
8520 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8521
8522         * messages.C: make case where setlocale cannot comply work better.
8523
8524         * buffer.C (updateDocLang): new function
8525         (changeLanguage): use it
8526         (readFile): use it
8527
8528         * text2.C (setCounter): use B_ a bit.
8529
8530         * lyxlayout.C (Read): be sure to trim the label strings.
8531
8532         * messages.C (Messages): fix typo in comment
8533
8534         * buffer.C (readFile): set message_ after file is loaded.
8535         (makeDocBookFile): remove double return
8536         (changeLanguage): reset message_ upon language change.
8537         (B_): new func, use this to get translated buffer strings.
8538
8539         * main.C: add myself and Jean Marc as authors.
8540
8541 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8542
8543         * messages.[hC]: pimplify Messages, and three different pimpls to be
8544         used in different circumstances.
8545
8546         * gettext.[Ch]: change for use with new message code.
8547
8548 2003-04-24 André Pönitz <poenitz@gmx.net>
8549
8550         * factory.C: support for eqref
8551
8552 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
8553
8554         * messages.[Ch]: add missing char
8555
8556         * Makefile.am (lyx_SOURCES): add messages.[Ch]
8557
8558         * messages.[Ch]: New files
8559
8560 2003-04-18  John Levon  <levon@movementarian.org>
8561
8562         * BufferView.h:
8563         * BufferView.C:
8564         * BufferView_pimpl.C:
8565         * lfuns.h:
8566         * LyXAction.C:
8567         * lyxtext.h:
8568         * text2.C: remove layout-copy/paste (bug 778)
8569
8570 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8571
8572         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8573
8574 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8575
8576         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8577         if they succeed. Act accordingly.
8578
8579 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8580
8581         * text2.C (setCharFont): adjust
8582         (setCounter): adjust
8583         (insertStringAsLines): adjust
8584
8585         * text.C (leftMargin): adjust
8586         (setHeightOfRow): adjust
8587
8588         * rowpainter.C (paintFirst): adjust
8589         (paintLast): adjust
8590
8591         * paragraph_funcs.C (depthHook): ParagraphList::iterators
8592         (outerHook): ditto
8593         (isFirstInSequence): ditto
8594         (getEndLabel): ditto
8595         (outerFont): adjust
8596
8597         * paragraph.C (getParLanguage): comment out some hard stuff.
8598
8599         * buffer.C (insertStringAsLines): take a ParagraphList as arg
8600         (sgmlError): ditto
8601         (simpleDocBookOnePar): ditto
8602         (makeDocBookFile): use ParagraphList::iterator
8603
8604         * CutAndPaste.C (pasteSelection): adjust
8605
8606 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8607
8608         * text2.C (getFont): adjust
8609         (getLayoutFont): adjust
8610         (getLabelFont): adjust
8611
8612         * paragraph_funcs.C (TeXOnePar): adjust
8613
8614         * buffer.C (simpleLinuxDocOnePar): adjust
8615         (simpleDocBookOnePar): adjust
8616
8617         * CutAndPaste.C (pasteSelection): adjust
8618
8619         * BufferView.C (getEncoding): adjust
8620
8621         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8622
8623 2003-04-16  John Levon  <levon@movementarian.org>
8624
8625         * lyxfind.C: use parlist stuff for search/changes
8626
8627 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8628
8629         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8630
8631         * text2.C (deleteEmptyParagraphMechanism): adjust
8632
8633         * text2.[Ch] (ownerParagraph): delete func (both of them
8634
8635 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8636
8637         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8638
8639 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8640
8641         * ParagraphList.C: prepare for NO_NEXT
8642
8643 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8644
8645         * text2.C (getFont): adjust
8646         (getLayoutFont): adjust
8647         (getLabelFont): adjust
8648
8649         * paragraph.C (getFont): adjust
8650         (getLabelFont): adjust
8651         (getLayoutFont): adjust
8652
8653         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8654
8655 2003-04-15  John Levon  <levon@movementarian.org>
8656
8657         From Angus Leeming
8658
8659         * lyx_main.C: handle Include in .ui files
8660
8661 2003-04-15  John Levon  <levon@movementarian.org>
8662
8663         * MenuBackend.C: make the doc files length shorter
8664
8665         * ToolbarBackend.h:
8666         * ToolbarBackend.C: handle toolbar placement flags,
8667         Minibuffer
8668
8669 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8670
8671         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8672         adjust
8673
8674         * paragraph_funcs.C (TeXOnePar): adjust
8675
8676         * paragraph.C (getLabelFont): add outerfont arg, adjust
8677         (getLayoutFont): ditto
8678         (simpleTeXOnePar): adjust
8679
8680         * paragraph_pimpl.C (realizeFont): delete func
8681
8682 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
8683
8684         * text2.C (beforeFullRowInset): added a bad getchar check, removed
8685         row argument, constify cur argument.
8686
8687 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8688
8689         * text2.C (getFont): adjust
8690         (getLayoutFont): adjust
8691         (getLabelFont): adjust
8692
8693         * paragraph_funcs.C (TeXOnePar): adjust
8694         (outerFont): new func...
8695         (realizeFont): ...moved out from here, changed this to facilitate
8696         transition
8697
8698         * paragraph.C (getFont): take outerfont as arg, adjust
8699         (simpleTeXOnePar): add outerfont arg, adjust
8700
8701         * buffer.C (simpleLinuxDocOnePar): adjust
8702         (simpleDocBookOnePar): adjust
8703
8704         * CutAndPaste.C (pasteSelection): adjust
8705
8706         * BufferView.C (getEncoding): adjust
8707
8708 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8709
8710         * text2.C (setCharFont): adjust
8711         (setCounter): adjust
8712
8713         * text.C (leftMargin): adjust
8714         (setHeightOfRow): adjust
8715
8716         * rowpainter.C (paintFirst): adjust
8717         (paintLast): adjust
8718
8719         * paragraph_pimpl.C (realizeFont): adjust
8720
8721         * paragraph.C (isFirstInSequence): move from here...
8722         * paragraph_funcs.C (isFirstInSequence): ...to here
8723
8724         * paragraph.C (outerHook): move from here...
8725         * paragraph_funcs.C (outerHook): ...to here
8726
8727         * paragraph.C (depthHook): move from here...
8728         * paragraph_funcs.C (depthHook): ...to here
8729
8730         * paragraph.C (getEndLabel): move from here...
8731         * paragraph_funcs.C (getEndLabel): ...to here
8732
8733         * text2.C (realizeFont): move from here...
8734         * paragraph_funcs.C (realizeFont): ...to here
8735
8736 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8737
8738         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8739
8740 2003-04-14  Angus Leeming  <leeming@lyx.org>
8741
8742         * LColor.[Ch]: scrap LColor mathcursor.
8743
8744 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8745
8746         * lyxlex.[Ch] (text): delete function
8747         * trans.C (Load): adjust
8748         * paragraph_funcs.C (readParToken): adjust
8749
8750 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8751
8752         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8753         vector<char> instead of a char[].
8754
8755         * lyxlex_pimpl.C (getString): adjust
8756         (next): adjust
8757         (lex): use getString
8758         (eatLine): adjust
8759         (nextToken): adjust
8760
8761         * lyxlex.C (text): use pimpl_->getString()
8762         (getBool): ditto
8763         (findToken): ditto
8764
8765 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8766
8767         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8768         (makeFontEntriesLayoutSpecific): temp var for par.size()
8769         (setLayout): temp var for ownerParagraphs().end()
8770         (fullRebreak): temp var for rows().end()
8771         (selectionAsString): temp var for boost::next(startpit), realize
8772         that the while really is a regular for loop.
8773         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8774         setCursor in one place.
8775         (setParagraph): temp vr for ownerParagraphs().end()
8776         (updateCounters): make the while loop a for loop
8777         (cutSelection): temp var for ownerParagraphs().end()
8778         (updateInset): make the do {} while() a regular for loop
8779         (getCursorX): use temp vars
8780         (setCurrentFont): use temp vars
8781         (getColumnNearX): use temp vars
8782
8783 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8784
8785         * text.C (transformChar): use temp var for getChar
8786         (computeBidiTables): use temp var for row->par()
8787         (fill): move temp vars for row->par() and pit->layout() earlier in
8788         the function.
8789         (labelFill): use temp var for row->par()
8790         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8791         asc and desc, realize that pit never changes and that firstpit is
8792         just a duplicate and not needed. Exchange rit->par() with pit in a
8793         lot of places.
8794         (breakAgain): use a temp var for boost::next(rit)
8795         (breakAgainOneRow): ditto
8796         (breakParagraph): use a temp var for rows().begin()
8797         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8798         (cursorRightOneWord): use temp var for cursor.par() and
8799         cursor.pos(), remove usage of tmpcursor.
8800         (cursorLeftOneWord): use temp var for cursor.par() and
8801         cursor.pos() only set cur at end of function.
8802
8803 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8804
8805         * text.C, text2.C: exchange all usage of Paragraph::next with
8806         boost::next(ParagraphList::iterator)
8807
8808         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8809
8810         * text2.C (cursorTop): simplify implementation
8811         (cursorBottom): ditto
8812         (setParagraph): use ParagraphList::iterator
8813         (setCurrentFont): adjust
8814         (getColumnNearX): adjust
8815         (cursorRight): adjust
8816         (cursorLeft): remove usage of Paragraph::previous
8817         (cursorUpParagraph): ditto
8818         (deleteEmptyParagraphMechanism): slight cleanup
8819
8820         * text.C (isBoundary): take a Paragraph const & instead of a
8821         pointer as arg.
8822         (addressBreakPoint): ditto
8823         (leftMargin): remove usage of Paragraph::previous.
8824         (setHeightOfRow): ditto
8825         (cursorLeftOneWord): ditto
8826         (selectNextWordToSpellcheck): ditto
8827         (Delete): ditto
8828         (backspace): ditto
8829         (breakParagraph): remove one usage of Paragraph::next
8830         (redoParagraph): ditto
8831         (acceptChange): ditto
8832         (insertChar): adjust
8833         (rowBreakPoint): adjust
8834
8835         * bufferview_funcs.C (toggleAndShow): adjust
8836
8837 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
8838
8839         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8840         methods to access it.
8841         * lyxtext.h:
8842         * text.C: Added updateRowPositions to compute all row positions.
8843         Make top_y and getRowNearY() to use the cached y position
8844
8845 2003-04-11  John Levon  <levon@movementarian.org>
8846
8847         * text.C (rowBreakPoint): reintroduce the labelEnd
8848         checks, code copied from the row fill stuff. Deep voodoo.
8849
8850         * text.C (fill): add a comment and debugging for the
8851         next poor soul.
8852
8853 2003-04-11  John Levon  <levon@movementarian.org>
8854
8855         * text.C: make sure fullrow insets get wrapped to the next line,
8856         even when they're in a manual label
8857
8858 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8859
8860         * text2.C (insertParagraph): make it take ParagraphList::iterator
8861         as arg.
8862         (setLayout): make it return ParagraphList::iterator
8863         (redoParagraphs): ditto
8864         (setCounter): ditto
8865         (checkParagraph): ditto
8866
8867         * text.C (getRow): make getrow take ParagraphList::iterator as arg
8868
8869         * text2.C: adjust several funcs.
8870         (realizeFont): take a ParagraphList::iterator as arg.
8871         (getLayoutFont): ditto
8872         (getLabelFont): ditto
8873         (setCharFont): ditto
8874
8875         * text.C: adjust several funcs.
8876
8877 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8878
8879         * text.C (selectNextWordToSpellcheck): don't accidentally
8880         skip insets
8881
8882 2003-04-10  John Levon  <levon@movementarian.org>
8883
8884         * ToolbarBackend.C (getIcon): special handling for
8885         LFUN_MATH_DELIM
8886
8887 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8888
8889         * text2.C (cursorRight): a getChar assert fixed
8890
8891 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8892
8893         * text2.C (getFont): change to take a ParagraphList::iterator
8894         instead of Paragraph*
8895         Adjust several functions.
8896
8897         * text.C (transformChar): change to take a ParagraphList::iterator
8898         instead of Paragraph*
8899         (singleWidth): ditto
8900         Adjust several functions.
8901
8902         * rowpainter.C: adjust several functions
8903         * rowpainter.h:store a ParagraphList::iterator and not a
8904         Paragraph&.
8905
8906
8907 2003-04-09  John Levon  <levon@movementarian.org>
8908
8909         * lyxfunc.C:
8910         * lfuns.h:
8911         * LyXAction.h:
8912         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8913         and the "help" bits as well
8914
8915 2003-04-09  John Levon  <levon@movementarian.org>
8916
8917         * ToolbarBackend.h:
8918         * ToolbarBackend.C: allow multiple toolbars
8919
8920 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8921
8922         * undo_funcs.C (setCursorParUndo): adjust
8923
8924         * text_funcs.C (transposeChars): adjust
8925
8926         * text3.C (gotoNextInset): adjust
8927         (dispatch): adjust
8928
8929         * text2.C (setLayout): adjust
8930         (changeDepth): adjust
8931         (setFont): adjust
8932         (redoParagraphs): adjust
8933         (selectionAsString): adjust
8934         (setParagraph): adjust
8935         (insertInset): adjust
8936         (cutSelection): adjust
8937         (copySelection): adjust
8938         (pasteSelection): adjust
8939         (insertStringAsLines): adjust
8940         (updateInset): adjust
8941         (setCursor): change to take a ParagraphList::iterator parameter
8942         (setCursorIntern): change to take a ParagraphList::iterator parameter
8943         (setCurrentFont): adjust
8944         (cursorLeft): adjust
8945         (cursorRight): adjust
8946         (deleteEmptyParagraphMechanism): adjust
8947
8948         * text.C (breakParagraph): adjust
8949         (insertChar): adjust
8950         (acceptChange): adjust
8951         (rejectChange): adjust
8952         (selectNextWordToSpellcheck): adjust
8953         (changeCase): adjust
8954         (Delete): adjust
8955         (backspace): adjust
8956
8957         * lyxfind.C (SearchForward): adjust
8958         (SearchBackward): adjust
8959         (nextChange): adjust
8960
8961         * lyxcursor.C (par): adjust
8962
8963         * lyxcursor.h: store a ParagraphList::iterator instead of a
8964         Paragraph*
8965
8966         * lyx_cb.C (getPossibleLabel): adjust
8967
8968         * bufferview_funcs.C (toggleAndShow): adjust
8969
8970         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8971         (dispatch): adjust
8972
8973         * BufferView.C (removeAutoInsets): adjust
8974         (lockedInsetStoreUndo): adjust
8975
8976 2003-04-09  John Levon  <levon@movementarian.org>
8977
8978         * ToolbarBackend.C: try icon without argument
8979         if with argument fails
8980
8981 2003-04-08  John Levon  <levon@movementarian.org>
8982
8983         * ToolbarBackend.h:
8984         * ToolbarBackend.C: add getIcon(), handle tooltip,
8985         and change from "Icon" to "Item".
8986
8987 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8988
8989         * BufferView.C (lockInset): another bad getchar crunched
8990
8991 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8992
8993         * text2.C (changeDepth): do not setUndo on test_only (make undo work
8994         again)
8995
8996 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
8997
8998         * lyxfind.C (searchForward, searchBackwards): bug 782
8999
9000 2003-04-07  John Levon  <levon@movementarian.org>
9001
9002         * paragraph.C: remove dead comment
9003
9004         * text.C: remove troublesome depth-fiddling code
9005         in leftMargin() and rightMargin() (bug 1017)
9006
9007         * text.C: fix breaking of rows in nested lists
9008         (bug 1004)
9009
9010         * text2.C (updateCounters): fix up depth values
9011         (bug 1013)
9012
9013 2003-04-07  John Levon  <levon@movementarian.org>
9014
9015         * BufferView_pimpl.C: clear message when doc finishes resizing,
9016         and after a mouse event
9017
9018         * lyxfunc.C: clear message after exiting inset
9019
9020 2003-04-07  John Levon  <levon@movementarian.org>
9021
9022         * bufferview_funcs.C: show math status not outside
9023         status in the statusbar
9024
9025 2003-04-07  John Levon  <levon@movementarian.org>
9026
9027         * lyxfunc.C: note status changed after a depth change
9028
9029 2003-04-04  Angus Leeming  <leeming@lyx.org>
9030
9031         * LaTeX.h: move AuxInfo operator==, != out of line.
9032         Remove LaTeX virtual destructor; nothing derives from it.
9033         Move operator()() out of public area and rename it startscript().
9034         Change protected for private.
9035
9036 2003-04-04  Angus Leeming  <leeming@lyx.org>
9037
9038         * lyxfunc.C:
9039         * text2.C: remove unneeded #includes.
9040
9041 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
9042
9043         * text2.C (dEPM): fix the heigth of the next row
9044
9045 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
9046
9047         * text.C: squashed an invalid getChar requester + some ws changes
9048
9049 2003-04-03  John Levon  <levon@movementarian.org>
9050
9051         * bufferview_funcs.h:
9052         * bufferview_funcs.C:
9053         * lyxfunc.C:
9054         * lyxtext.h:
9055         * text2.C: make getStatus work for the env depth lfuns
9056
9057 2003-04-03  John Levon  <levon@movementarian.org>
9058
9059         * bufferview_funcs.h:
9060         * bufferview_funcs.C:
9061         * lyxfunc.C:
9062         * lyxtext.h:
9063         * text2.C: parlistize decDepth(), by merging it with incDepth()
9064
9065 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9066
9067         * lyxrow.h: store a ParagraphList::iterator instead of a
9068         Paragraph* and adjust other class functions to suit.
9069
9070         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
9071         above.
9072
9073 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
9074
9075         * text2.C (setCursor): do not anchor to cursor row for the time being
9076
9077 2003-04-02  John Levon  <levon@movementarian.org>
9078
9079         * LyXAction.C:
9080         * lfuns.h:
9081         * lyx_main.C:
9082         * lyxtext.h:
9083         * text.C:
9084         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
9085
9086 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9087
9088         * paragraph.h: make ParagraphList and ParagraphList::iterator
9089         friends of Paragraph.
9090
9091         * buffer.C (makeLinuxDocFile): move towards ParagraphList
9092
9093         * ParagraphList.C: Use the private next_ and previous_ from
9094         Paragraph.
9095
9096 2003-04-01  John Levon  <levon@movementarian.org>
9097
9098         * ToolbarBackend.h:
9099         * ToolbarBackend.C:
9100         * Makefile.am: rename, remove defaults gunk
9101
9102         * MenuBackend.h:
9103         * MenuBackend.C: remove defaults gunk
9104
9105         * Languages.h:
9106         * Languages.C: remove defaults gunk
9107
9108         * lyx_main.h:
9109         * lyx_main.C: error out if files couldn't be found.
9110
9111 2003-04-02  John Levon  <levon@movementarian.org>
9112
9113         * text2.C: make incDepth() use parlist
9114
9115 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9116
9117         * undo_funcs.C (firstUndoParagraph): adjust
9118
9119         * text3.C (gotoInset): adjust
9120         (dispatch): adjust, and rewrite loop.
9121
9122         * text2.C (init): adjust, and rewrite loop.
9123         (redoParagraphs): adjust
9124         (updateInset): adjust, and rewrite loop.
9125         (deleteEmptyParagraphMechanism): adjust
9126
9127         * tabular.C (LyXTabular): adjust
9128         (SetMultiColumn): adjust
9129         (TeXRow): adjust
9130
9131         * lyxtext.[Ch] (ownerParagraph): delete function
9132         (ownerParagraphs): new function returns a ParagraphList.
9133
9134         * BufferView.C (removeAutoInsets): adjust
9135         (insertErrors): adjust
9136         (setCursorFromRow): adjust
9137
9138 2003-04-01  Angus Leeming  <leeming@lyx.org>
9139
9140         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
9141         in the frontends.
9142
9143 2003-04-02  John Levon  <levon@movementarian.org>
9144
9145         * lyxtext.h:
9146         * text.C:
9147         * Makefile.am:
9148         * text_funcs.h:
9149         * text_funcs.C: make transposeChars a free function
9150
9151         * lyxrow_funcs.C: remove wrong comment
9152
9153 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9154
9155         * lyxtext.h: adjust
9156         * rowpainter.C: adjust
9157         * text.C: adjust
9158         * text2.C: adjust
9159         * text3.C: adjust
9160
9161         * lyxrow_funcs. [Ch]: new files
9162
9163         * lyxrow.[Ch]: remove next and previous pointers
9164         (next,previous): remove accessor functions
9165         (isParEnd): move to lyxrow_funcs
9166         (lastPos): move to lyxrow_funcs
9167         (nextRowIsAllInset): move to lyxrow_funcs
9168         (lastPrintablePos): move to lyxrow_funcs
9169         (numberOfSeparators): move to lyxrow_funcs
9170         (numberOfHfills): move to lyxrow_funcs
9171         (numberOfLabelHfills): move to lyxrow_funcs
9172         (hfillExpansion): move to lyxrow_funcs
9173
9174         * lyxfunc.C: adjust
9175
9176         * bufferview_funcs.C (toggleAndShow): adjust
9177
9178         * RowList.h: Remove class RowList from file leave just a
9179         std::list<Row>.
9180
9181         * RowList.C: delete file
9182
9183         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
9184         and lyxrow_funcs.h
9185
9186 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9187
9188         * text3.C (cursorPrevious): adjust
9189         (cursorNext): adjust
9190         (dispatch): adjust
9191
9192         * text2.C (redoHeightOfParagraph): adjust
9193         (redoDrawingOfParagraph): adjust
9194         (setCursor): adjust
9195
9196         * text.C (breakParagraph): adjust
9197         (insertChar): adjust
9198         (backspace): adjust
9199
9200         * rowpainter.C (RowPainter): adjust
9201         (leftMargin): simplify and adjust
9202         (most rowpainter functions): adjust.
9203
9204         * rowpainter.h: store the row as RowList::iterator not as Row*
9205
9206         * lyxcursor.C (row): taka RowList::iterator as arg
9207         (irow): ditto
9208
9209         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
9210         of Row*.
9211
9212 2003-04-01  Angus Leeming  <leeming@lyx.org>
9213
9214         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
9215         stuff like bool Bool.
9216
9217 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
9218
9219         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
9220         rewrite a loop
9221
9222 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9223
9224         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
9225         RowList::iterator.
9226
9227         * lyxtext.h (rows): drop one version and leve a const variant that
9228         returns a RowList::iterator.
9229
9230 2003-03-31  Angus Leeming  <leeming@lyx.org>
9231
9232         * text.C (fill): ensure that the signature is the same as that in the
9233         header file.
9234
9235 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
9236
9237         * text2.C (redoParagraphs): adjust
9238         (updateCounters): adjust
9239         (checkParagraph): adjust
9240         (getColumnNearX): adjust and reformat a bit.
9241
9242         * text.C (top_y): adjust
9243         (workWidth): adjust
9244         (leftMargin): adjust
9245         (prepareToPrint): adjust
9246         (getRow): adjust
9247         (getRowNearY): adjust
9248
9249         * lyxtext.h: make rowlist_ mutable.
9250
9251         * RowList.h: add const_iterator
9252         * RowList.C: adjust for RowList::const_iterator.
9253
9254         * text2.C (getCursorX): make it take a RowList::iterator as arg,
9255         adjust.
9256
9257 2003-03-31  John Levon  <levon@movementarian.org>
9258
9259         * lyxrc.h:
9260         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
9261
9262         * lyx_main.C: set default fonts from using lyx_gui funcs
9263
9264         * exporter.C: pdf_mode moved from lyxrc
9265
9266         * lyx_cb.C:
9267         * lyxfunc.C: changes from above
9268
9269 2003-03-31  John Levon  <levon@movementarian.org>
9270
9271         * lyx_main.C: fix to the last fix
9272
9273 2003-03-31  John Levon  <levon@movementarian.org>
9274
9275         * bufferlist.C: "Load original" -> "Load Original"
9276
9277         * converter.C:
9278         * exporter.C:
9279         * importer.C:
9280         * lyx_main.C:
9281         * format.C: more Alert cleanups
9282
9283 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
9284
9285         * text2.C (removeParagraph): make it take a RowList::iterator as
9286         arg, adjust.
9287         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
9288         (postRowPaint): make it take a RowList::iterator as arg, adjust.
9289
9290         * text.C (anchor_row): make it take a RowList::iterator as arg,
9291         adjust.
9292         (computeBidiTables): make it take a const reference to Row instead
9293         of Row pointer, adjust.
9294         (leftMargin): make it take a RowList::iterator as arg, adjust.
9295         (rowBreakPoint): adjust
9296         (breakAgainOneRow): make it take a RowList::iterator as arg,
9297         adjust.
9298         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
9299
9300         * bufferview_funcs.C (toggleAndShow): adjust
9301
9302 2003-03-30  John Levon  <levon@movementarian.org>
9303
9304         * Makefile.am:
9305         * BoostFormat.h:
9306         * boost-inst.C: moved to support
9307
9308         * several files: changes as a result
9309
9310 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
9311
9312         * text2.C (LyXText): adjust.
9313         (init): adjust
9314         (removeRow): make it take a RowList::iterator as arg, adjust.
9315         (fullRebreak): adjust
9316         (deleteEmptyParagraphMechanism): adjust
9317         (clearPaint): adjust
9318         (postPaint): adjust
9319
9320         * text.C (top_y): adjust
9321         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
9322         (breakAgain): make it take a RowList::iterator as arg, adjust.
9323         (breakParagraph): adjust
9324         (insertChar): adjust
9325         (backspace): adjust
9326
9327         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
9328         need_break_row, and refresh_row.
9329
9330         * text3.C (dispatch): adjust
9331
9332         * text2.C (checkParagraph): adjust
9333         (setCursor): adjust
9334         (setCursorFromCoordinates): adjust
9335
9336         * text.C (top_y): adjust
9337         (workWidth): adjust
9338         (getRow): make it return a RowList::iterator, adjust
9339         (getRowNearY): make it return a RowList::iterator, adjust
9340
9341         * text2.C (init): adjust
9342         (insertRow): remove function
9343         (insertParagraph): adjust
9344         (redoParagraphs): adjust
9345         (fullRebreak): adjust
9346         (updateCounters): adjust
9347
9348         * text.C (top_y): rewrite to use RowList iterators.
9349         (top_y): adjust
9350         (setHeightOfRow): rewrite to sue RowList iterators.
9351         (appendParagraph): adjust
9352         (breakAgain): adjust
9353         (breakAgainOneRow): adjust
9354         (breakParagraph): adjust
9355         (getRow): adjust
9356         (getRowNearY): adjust, and remove commented code.
9357
9358         * lyxtext.h (firstRow): delete function
9359         (lastRow): delete function
9360         (rows): new function (const and non-const versions.)
9361         (insertRow): delete function
9362
9363         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
9364
9365 2003-03-29  John Levon  <levon@movementarian.org>
9366
9367         * BufferView_pimpl.C: always update scrollbar top
9368         because pasting text when we're anchored could mean we
9369         miss an update altogether
9370
9371 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9372
9373         * text2.C (init): use rowlist_.end() and not 0.
9374         (insertRow): change to take a RowList::iterator as arg, adjust
9375         for this.
9376         (insertParagraph): change to take a RowList::iterator as arg,
9377         adjust for this.
9378         (redoParagraphs): remove some debug msgs.
9379
9380         * text.C (appendParagraph): change to take a RowList::iterator
9381         arg, adjust for this.
9382         (breakAgain): add an assert
9383         (breakAgainOneRow): ditto
9384
9385 2003-03-29  John Levon  <levon@movementarian.org>
9386
9387         * text2.C: do not clear selection after inc/decDepth
9388         (bug 550)
9389
9390 2003-03-29  John Levon  <levon@movementarian.org>
9391
9392         * BufferView.C:
9393         * buffer.C: fix broken strerrors according to Lars
9394
9395 2003-03-29  John Levon  <levon@movementarian.org>
9396
9397         * converters.C: more Alert cleanups
9398
9399 2003-03-29  John Levon  <levon@movementarian.org>
9400
9401         * bufferview_funcs.C: remove pointless Alert
9402
9403         * buffer.C: fix confusing error message when
9404         a template is chmoded 000
9405
9406 2003-03-29  John Levon  <levon@movementarian.org>
9407
9408         * BufferView.C:
9409         * BufferView.h:
9410         * BufferView_pimpl.C: Alert fixes
9411
9412         * Makefile.am:
9413         * tabular.C:
9414         * tabular-old.C: remove unused table compat reading
9415
9416 2003-03-29  John Levon  <levon@movementarian.org>
9417
9418         * BufferView.C:
9419         * buffer.C:
9420         * lyx_cb.h:
9421         * lyx_cb.C: more Alert cleanups
9422
9423         * lyxfunc.C: don't allow chktex if not latex document
9424
9425 2003-03-29  John Levon  <levon@movementarian.org>
9426
9427         * lyx_cb.C:
9428         * BufferView.C:
9429         * buffer.C: warnings pushed down from support/,
9430         kill err_alert
9431
9432 2003-03-29  John Levon  <levon@movementarian.org>
9433
9434         * lyxfunc.C: safety check for C-r (revert)
9435
9436 2003-03-29  John Levon  <levon@movementarian.org>
9437
9438         * bufferlist.h:
9439         * bufferlist.C: several UI fixes using Alert::prompt.
9440         Fix the pointless looping quit code. Fix stupid revert
9441         behaviour (bug 938)
9442
9443         * lyxvc.h:
9444         * lyxvc.C:
9445         * lyx_cb.C: use Alert::prompt
9446
9447         * lyx_main.C: remove a silly question
9448
9449         * lyxfunc.C: remove a couple of silly questions,
9450         use Alert::prompt
9451
9452 2003-03-28  John Levon  <levon@movementarian.org>
9453
9454         * text2.C: fix bug 974 (End on empty par)
9455
9456 2003-03-28  John Levon  <levon@movementarian.org>
9457
9458         * BufferView_pimpl.C:
9459         * LyXAction.C:
9460         * lfuns.h: remove do-nothing math greek lfuns
9461
9462 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9463
9464         * lyxgluelength.h (isValidGlueLength): add default arg on
9465         parameter 2. Remove default arg from friend in class.
9466
9467         * lyxlength.h (isValidLength): add default arg on parameter 2.
9468         Remove default arg from friend in class.
9469
9470         * text2.C (LyXText): adjust, initialize refresh_row.
9471         (init): adjust
9472         (removeRow): adjust
9473         (insertRow): adjust
9474         (insertParagraph): adjst
9475         (redoParagraphs): adjust
9476         (fullRebreak): adjust
9477         (updateCounters): adjust
9478         (deleteEmptyParagraphMechanism): first attempt at fixing a
9479         crashing bug.
9480
9481         * text.C (top_y): adjust
9482         (setHeightOfRow): adjust
9483         (getRow): adjust
9484         (getRowNearY): adjust
9485
9486         * lyxtext.h: include RowList.h
9487         (~LyXText): not needed anymore, deleted.
9488         (firstRow): modify for RowList
9489         (lastRow): new function
9490         Delete firstrow and lastrow class variables, add a Rowlist
9491         rowlist_ class variable.
9492
9493         * lyxrow.C (lastPos): use empty() and not !size() to check if a
9494         paragraph is empty.
9495
9496         * RowList.C (insert): fix case where it == begin().
9497
9498 2003-03-26  Angus Leeming  <leeming@lyx.org>
9499
9500         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9501         the thesaurus dialog.
9502
9503 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
9504
9505         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9506
9507         * RowList.[Ch]: new files
9508
9509         * ParagraphList.C (erase): handle the case where it == begin
9510         correctly.
9511
9512 2003-03-25  John Levon  <levon@movementarian.org>
9513
9514         * Makefile.am:
9515         * aspell_local.h:
9516         * aspell.C: add new aspell support
9517
9518         * lyxrc.h:
9519         * lyxrc.C: Make use_pspell be use_spell_lib. Always
9520         have it accessible.
9521
9522 2003-03-25  Angus Leeming  <leeming@lyx.org>
9523
9524         * lfuns.h:
9525         * LyXAction.C (init): new LFUN_INSET_INSERT.
9526
9527         * BufferView_pimpl.C (dispatch): split out part of the
9528         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9529
9530         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9531         LFUN_INSET_APPLY.
9532
9533 2003-03-25  Angus Leeming  <leeming@lyx.org>
9534
9535         * lyxfunc.C (dispatch): changes to the Dialogs interface.
9536
9537 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
9538
9539         * text2.C:
9540         * text3.C: remove useless row->height(0)
9541
9542 2003-03-25  John Levon  <levon@movementarian.org>
9543
9544         * lyxtext.h:
9545         * text2.C:
9546         * text3.C: rename the refreshing stuff to better names
9547
9548 2003-03-24  John Levon  <levon@movementarian.org>
9549
9550         * BufferView_pimpl.h:
9551         * BufferView_pimpl.C: update layout choice on a mouse
9552         press/release
9553
9554 2003-03-23  John Levon  <levon@movementarian.org>
9555
9556         * Makefile.am: fix commandtags.h reference
9557
9558 2003-03-22  John Levon  <levon@movementarian.org>
9559
9560         * BufferView_pimpl.C:
9561         * lyxtext.h:
9562         * rowpainter.C:
9563         * rowpainter.h:
9564         * text.C:
9565         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9566
9567 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
9568
9569         * lyxtext.h:
9570         * text.C: take the rtl methods out of line
9571
9572 2003-03-21 André Pönitz <poenitz@gmx.net>
9573
9574         * metricsinfo.[Ch]: new files containing structures to be passed around
9575         during the two-phase-drawing...
9576
9577 2003-03-21 André Pönitz <poenitz@gmx.net>
9578
9579         * lyxtextclass.C: read 'environment' tag.
9580
9581 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
9582
9583         * text2.C (removeRow): fix bug 964
9584
9585 2003-03-20  John Levon  <levon@movementarian.org>
9586
9587         * rowpainter.C:
9588         * text.C:
9589         * text2.C: paint cleanups. Inset::update() dropped font
9590         parameter
9591
9592 2003-03-19  John Levon  <levon@movementarian.org>
9593
9594         * lyxfunc.C: only fitcursor/markDirty if available()
9595
9596 2003-03-19  John Levon  <levon@movementarian.org>
9597
9598         * commandtags.h: rename to ...
9599
9600         * lfuns.h: ... this, and renumber / cleanup
9601
9602 2003-03-19  John Levon  <levon@movementarian.org>
9603
9604         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9605         fit the cursor after an lfun
9606
9607         * BufferView.h:
9608         * BufferView.C:
9609         * BufferView_pimpl.h:
9610         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9611
9612         * LyXAction.C: layout-character should have ReadOnly
9613
9614         * ParagraphParameters.C:
9615         * buffer.C:
9616         * bufferview_funcs.C:
9617         * lyx_cb.C:
9618         * lyxfind.C:
9619         * lyxtext.h:
9620         * text.C:
9621         * text2.C:
9622         * text3.C:
9623         * undo_funcs.C: changes from above
9624
9625 2003-03-18  John Levon  <levon@movementarian.org>
9626
9627         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9628         remove it from update()
9629
9630         * lyxfunc.C: update layout choice after an lfun
9631
9632         * text3.C: remove extra updateLayoutChoice()s
9633
9634 2003-03-18  John Levon  <levon@movementarian.org>
9635
9636         * text.C: top_y change means full repaint, fix
9637         a drawing bug with cursor movement
9638
9639 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9640
9641         * lyxtext.h:
9642         * text.C:
9643         * text2.C: anchor row on setCursor
9644
9645 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9646
9647         * lyxtext.h: remove almost all mutable keywords
9648         * text.C:
9649         * text2.C:
9650         * text3.C: remove const keywords accordingly
9651
9652 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9653
9654         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9655         anon namespace
9656         (TeXEnvironment): ditto
9657         (TeXOnePar): ditto
9658
9659 2003-03-17  John Levon  <levon@movementarian.org>
9660
9661         * text.C (rowBreakPoint): remove attempt to fix displayed
9662         math insets inside a manual label
9663
9664 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9665
9666         * lyxtext.h: remove BufferView* as first arg from almost all class
9667         functions.
9668         * other files: adjust.
9669
9670 2003-03-17  John Levon  <levon@movementarian.org>
9671
9672         * lyxtext.h:
9673         * undo_funcs.C:
9674         * text2.C: more paint cleanups
9675
9676         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9677
9678         * rowpainter.h:
9679         * rowpainter.C: remove "smart" background painting code
9680
9681 2003-03-16  John Levon  <levon@movementarian.org>
9682
9683         * lyxtext.h:
9684         * text.C:
9685         * text2.C:
9686         * text3.C: add helper functions for setting refresh_row/y
9687
9688 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
9689
9690         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9691         newline inset which *can* get inserted in the pass_thru layouts.
9692         This is primarily for literate documents.
9693
9694 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
9695
9696         * buffer.C: increment LYX_FORMAT to 223
9697
9698 2003-03-14 André Pönitz <poenitz@gmx.net>
9699
9700         * textclass.h: prepare for environment handling, ws changes
9701         * lyxlayout.C: read latexheader and latexfooter tags
9702
9703 2003-03-14  John Levon  <levon@movementarian.org>
9704
9705         * text2.C: rewrite ::status() a bit
9706
9707 2003-03-13  John Levon  <levon@movementarian.org>
9708
9709         * lyxtext.h: add some docs
9710
9711 2003-03-13  John Levon  <levon@movementarian.org>
9712
9713         * lyxtext.h:
9714         * text.C:
9715         * text2.C:
9716         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9717
9718 2003-03-13  John Levon  <levon@movementarian.org>
9719
9720         * text3.C: fix appendix redrawing
9721
9722 2003-03-13  John Levon  <levon@movementarian.org>
9723
9724         * text.C (setHeightOfRow):
9725         * rowpainter.h:
9726         * rowpainter.C: make appendix mark have the text
9727           "Appendix" so the user knows what it is
9728
9729         * LColor.h:
9730         * LColor.C: s/appendixline/appendix/ from above
9731
9732 2003-03-13  John Levon  <levon@movementarian.org>
9733
9734         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9735
9736         * text.C: fix a getChar(pos) bug properly
9737
9738 2003-03-13  Angus Leeming  <leeming@lyx.org>
9739
9740         * commandtags.h:
9741         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9742         Probably only temporary. Let's see how things pan out.
9743
9744         * BufferView.C (unlockInset):
9745         * BufferView_pimpl.C (fitCursor):
9746         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9747
9748         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9749         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9750
9751         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9752         new functions that convert ParagraphParameters to and from a string.
9753
9754         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9755         BufferView::Pimpl's dispatch.
9756         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9757
9758 2003-03-13 André Pönitz <poenitz@gmx.net>
9759
9760         * lyxfunc.C:
9761         * text3.C:
9762         * factory.C: make it aware of InsetEnv
9763
9764 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
9765
9766         * text2.C (setCursor): never ask for one past last
9767         (setCursor): add some debugging messages.
9768
9769         * text.C (singleWidth): never ask for one past last
9770         (singleWidth): ditto
9771         (leftMargin): ditto
9772         (rightMargin): ditto
9773         (rowBreakPoint): ditto
9774         (setHeightOfRow): ditto
9775         (prepareToPrint): ditto
9776
9777         * rowpainter.C (paintBackground): never ask for one past last
9778         (paintText): never ask for one past last
9779
9780         * paragraph_pimpl.C (getChar): make the assert stricter, never
9781         allow the one past last pos to be taken
9782
9783         * paragraph.C (getChar): ws changes only
9784
9785         * lyxrow.C (nextRowIsAllInset): never ask for one past last
9786         (numberOfSeparators): ditto
9787         (numberOfHfills): ditto
9788
9789 2003-03-12  John Levon  <levon@movementarian.org>
9790
9791         * author.h:
9792         * author.C:
9793         * bufferparams.h:
9794         * bufferparams.C:
9795         * paragraph_funcs.C: fix per-buffer authorlists
9796
9797 2003-03-12  John Levon  <levon@movementarian.org>
9798
9799         * text.C: fix newline in right address
9800
9801 2003-03-12  Angus Leeming  <leeming@lyx.org>
9802
9803         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9804         duplicate those in LyXFunc::dispatch.
9805
9806         * commandtags.h:
9807         * LyXAction.C:
9808         * ToolbarDefaults.C:
9809         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9810         Add LFUN_FONTFREE_UPDATE.
9811
9812         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9813         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9814
9815         * bufferview_func.[Ch]: several new functions to facilliate
9816         transfer of data to and from the character dialog.
9817
9818 2003-03-12  John Levon  <levon@movementarian.org>
9819
9820         * buffer.C:
9821         * paragraph.h:
9822         * paragraph.C:
9823         * paragraph_funcs.C:
9824         * paragraph_pimpl.C:
9825         * sgml.C:
9826         * tabular.C:
9827         * text.C:
9828         * text3.C: remove META_NEWLINE in favour of an inset
9829
9830         * rowpainter.h:
9831         * rowpainter.C: remove paintNewline (done by inset)
9832
9833 2003-03-12  John Levon  <levon@movementarian.org>
9834
9835         * paragraph_pimpl.C: complain about bad getChar()s
9836         for a while at least
9837
9838 2003-03-12  John Levon  <levon@movementarian.org>
9839
9840         * buffer.h:
9841         * buffer.C: move paragraph read into a separate function,
9842         a little renaming to reflect that.
9843
9844         * bufferparams.h:
9845         * bufferparams.C: remove the author_ids map, not necessary now
9846
9847         * factory.h:
9848         * factory.C: moved Buffer::readInset to here
9849
9850         * paragraph_funcs.h:
9851         * paragraph_funcs.C: readParagraph free function moved from
9852         buffer.C
9853
9854         * tabular.C: name change
9855
9856 2003-03-12  John Levon  <levon@movementarian.org>
9857
9858         * buffer.C:
9859         * ParagraphParameters.C: move par params input to
9860         a read() method
9861
9862         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9863         behave like a normal read from the stream wrt reading
9864         a line vs. a \\token
9865
9866 2003-03-12  John Levon  <levon@movementarian.org>
9867
9868         * paragraph.C:
9869         * ParagraphParameters.h:
9870         * ParagraphParameters.C: move output code to a
9871         ::write() method
9872
9873 2003-03-12  John Levon  <levon@movementarian.org>
9874
9875         * BufferView.C (insertLyXFile):
9876         * buffer.h:
9877         * buffer.C:
9878         * tabular.C: use a parlist iterator for creating the
9879           document.
9880
9881 2003-03-12  John Levon  <levon@movementarian.org>
9882
9883         * buffer.C: make current_change static local not
9884           static file-scope
9885
9886 2003-03-12  John Levon  <levon@movementarian.org>
9887
9888         * buffer.C: fix insertStringAsLines for change tracking
9889
9890 2003-03-12  John Levon  <levon@movementarian.org>
9891
9892         * BufferView.C:
9893         * tabular.C:
9894         * buffer.h:
9895         * buffer.C:
9896         * bufferparams.h:
9897         * bufferparams.C: move author list into params. Rename some
9898           functions. Move the header reading into a separate token
9899           loop. Move the header token reading into BufferParams.
9900
9901 2003-03-12  John Levon  <levon@movementarian.org>
9902
9903         * changes.C: put debug inside lyxerr.debugging() checks
9904
9905 2003-03-11 André Pönitz <poenitz@gmx.net>
9906
9907         * factory.C: make it aware of InsetHFill
9908
9909 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9910
9911         * buffer.C (latexParagraphs): move function from here...
9912         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9913         args.
9914
9915 2003-03-10  Angus Leeming  <leeming@lyx.org>
9916
9917         * LyXAction.C (init): fix bug in poplating array with multiple entries
9918         with the same LFUN (spotted by JMarc).
9919
9920 2003-03-10  John Levon  <levon@movementarian.org>
9921
9922         * text.C:
9923         * text2.C: move getColumnNearX() near its
9924         only call site
9925
9926 2003-03-10  John Levon  <levon@movementarian.org>
9927
9928         * text.C: fix break before a minipage
9929
9930 2003-03-10  John Levon  <levon@movementarian.org>
9931
9932         * text.C: fix the last commit
9933
9934 2003-03-09  John Levon  <levon@movementarian.org>
9935
9936         * lyxtext.h:
9937         * text.C:
9938         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9939         bug 365 (don't break before insets unless needed). Don't
9940         return a value > last under any circumstances.
9941
9942 2003-03-09  Angus Leeming  <leeming@lyx.org>
9943
9944         * BufferView_pimpl.C (trackChanges, dispatch): call
9945         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9946
9947 2003-03-09  Angus Leeming  <leeming@lyx.org>
9948
9949         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9950         than Dialogs::showAboutlyx().
9951
9952 2003-03-09  Angus Leeming  <leeming@lyx.org>
9953
9954         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9955         than Dialogs::showTabularCreate().
9956
9957 2003-03-09  John Levon  <levon@movementarian.org>
9958
9959         * lyxtext.h:
9960         * text.C:
9961         * text2.C: 3rd arg to nextBreakPoint was always the same.
9962           Use references.
9963
9964 2003-03-08  John Levon  <levon@movementarian.org>
9965
9966         * lyxrow.C:
9967         * paragraph.C:
9968         * paragraph.h:
9969         * rowpainter.C:
9970         * text.C:
9971         * text2.C: Remove the "main" bit from the "main body"
9972           notion.
9973
9974 2003-03-08  John Levon  <levon@movementarian.org>
9975
9976         * text.C (leftMargin): The left margin of an empty
9977         manual label paragraph should not include the label width
9978         string length.
9979
9980         * text.C (prepareToPrint): don't attempt to measure hfills
9981         for empty manual label paragraphs - the answer should be 0
9982
9983 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9984
9985         * CutAndPaste.C: remove commented code and reindent.
9986
9987 2003-03-08  John Levon  <levon@movementarian.org>
9988
9989         * lyxfunc.h:
9990         * lyxfunc.C: move reloadBuffer()
9991
9992         * BufferView.h:
9993         * BufferView.C: to here
9994
9995         * lyxvc.C: add comment
9996
9997         * vc-backend.h:
9998         * vc-backend.C: call bv->reload() to avoid
9999           getStatus() check on MENURELOAD
10000
10001 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
10002
10003         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
10004         to an old format .dep file.
10005
10006 2003-03-07  Angus Leeming  <leeming@lyx.org>
10007
10008         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
10009         when the LFUN_MOUSE_RELEASE should have been handled by
10010         inset->localDispatch.
10011
10012 2003-03-07  Angus Leeming  <leeming@lyx.org>
10013
10014         * BufferView_pimpl.C (dispatch):
10015         * LyXAction.C (init):
10016         * ToolbarDefaults.C (init):
10017         * commandtags.h:
10018         * lyxfunc.C (getStatus):
10019         remove LFUN_INSET_GRAPHICS.
10020
10021         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
10022
10023 2003-03-07  Angus Leeming  <leeming@lyx.org>
10024
10025         * commandtags.h:
10026         * LyXAction.C (init):
10027         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
10028
10029         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
10030
10031         * commandtags.h:
10032         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
10033
10034         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
10035         localDispatch method LFUN_INSET_DIALOG_UPDATE.
10036
10037 2003-03-07  Angus Leeming  <leeming@lyx.org>
10038
10039         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
10040         remove "ert".
10041
10042 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10043
10044         * ParagraphList.C (front): new function
10045         (back): implement
10046
10047 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
10048
10049         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
10050         and top_row_offset_. removed var first_y.
10051         * text.C (top_y):
10052         * text2.C (LyXText, removeRow):
10053         * text3.C:
10054         * BufferView_pimpl.C:
10055         use these methods instead of using first_y
10056
10057 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10058
10059         * text2.C (pasteSelection): adjust for checkPastePossible
10060
10061         * CutAndPaste.C: remove Paragraph * buf and replace with
10062         ParagraphList paragraphs.
10063         (DeleteBuffer): delete
10064         (cutSelection): change the tc type to textclass_type
10065         (copySelection): change the tc type to textclass_type
10066         (copySelection): adjust for ParagraphList
10067         (pasteSelection): change the tc type to textclass_type
10068         (pasteSelection): adjust for Paragraphlist
10069         (nrOfParagraphs): simplify for ParagraphList
10070         (checkPastePossible): simplify for ParagraphList
10071         (checkPastePossible): remove unused arg
10072
10073         * ParagraphList.C (insert): handle the case where there are no
10074         paragraphs yet.
10075
10076         * CutAndPaste.h: make CutAndPaste a namespace.
10077
10078         * text3.C (dispatch): adjust
10079
10080         * text.C (breakParagraph): add a ParagraphList as arg
10081
10082         * paragraph_funcs.C (breakParagraph): change to take a
10083         BufferParams and a ParagraphList as args.
10084         (breakParagraphConservative): ditto
10085         (mergeParagraph): ditto
10086         (TeXDeeper): add a ParagraphList arg
10087         (TeXEnvironment): ditto
10088         (TeXOnePar): ditto
10089
10090         * buffer.C (readLyXformat2): adjust
10091         (insertStringAsLines): adjust
10092         (latexParagraphs): adjust
10093
10094         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
10095         (cutSelection): adjust
10096         (pasteSelection): adjust
10097
10098         * BufferView_pimpl.C (insertInset): adjust
10099
10100 2003-03-05  Angus Leeming  <leeming@lyx.org>
10101
10102         * commandtags.h:
10103         * LyXAction.C (init):
10104         * BufferView_pimpl.C (dispatch):
10105         * lyxfunc.C (getStatus):
10106         remove LFUN_CHILD_INSERT.
10107
10108         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
10109
10110 2003-03-05  Angus Leeming  <leeming@lyx.org>
10111
10112         * commandtags.h:
10113         * LyXAction.C (init):
10114         * src/factory.C (createInset):
10115         * lyxfunc.C (getStatus):
10116         * text3.C (dispatch):
10117         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
10118
10119         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
10120
10121 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10122
10123         * ParagraphList.C (insert): handle insert right before end()
10124         (erase): fix cases where it can be first or last paragraph.
10125
10126 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10127
10128         * paragraph_funcs.C (TeXEnvironment): remove all usage of
10129         Paragraph::next and Paragraph::previous
10130         (TeXOnePar): ditto
10131
10132         * text.C (breakParagraph): adjust
10133
10134         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
10135         BufferParams& as arg.
10136         (breakParagraph): use ParagraphList::insert
10137         (breakParagraphConservative): take a Buffer* instead of a
10138         BufferParams& as arg.
10139         (breakParagraphConservative): use ParagraphList::insert.
10140
10141         * buffer.C (insertStringAsLines): un-const it
10142         (insertStringAsLines): adjust
10143
10144         * ParagraphList.C (insert): new function
10145
10146         * CutAndPaste.C (pasteSelection): adjust
10147
10148         * text.C (backspace): adjust
10149
10150         * tabular.C (SetMultiColumn): adjust
10151
10152         * CutAndPaste.C (cutSelection): adjust
10153         (pasteSelection): adjust
10154
10155         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
10156         Buffer const * as arg
10157
10158         * ParagraphList.C (erase): new function
10159         * paragraph_funcs.C (mergeParagraph): use it
10160         (mergeParagraph): make it take a Buffer* instead of a
10161         BufferParams* as arg
10162
10163         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
10164         as arg
10165         (breakParagraphConservative): ditto
10166
10167         * paragraph.h: remove the breakParagraph friend
10168
10169         * paragraph.C (eraseIntern): new function
10170         (setChange): new function
10171
10172         * paragraph_funcs.C (mergeParagraph): make it take a
10173         ParagraphList::iterator instead of a Paragraph *, adjust
10174         accordingly.
10175
10176         * paragraph.h: move an #endif so that the change tracking stuff
10177         also works in the NO_NEXT case.
10178
10179 2003-03-04  Angus Leeming  <leeming@lyx.org>
10180
10181         * commandtags.h:
10182         * LyXAction.C: new LFUN_INSET_MODIFY.
10183
10184         * BufferView_pimpl.C (dispatch): if an inset is found to be open
10185         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
10186
10187 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10188
10189         * several files: ws changes only
10190
10191         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
10192         (TeXEnvironment): ditto
10193         (TeXDeeper): ditto
10194
10195         * buffer.C (makeLaTeXFile): adjust
10196         (latexParagraphs): make it take ParagraphList::iterator as args
10197
10198 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
10199
10200         * buffer.C (latexParagraphs): adjust
10201
10202         * paragraph.C (TeXOnePar): move function...
10203         (optArgInset): move function...
10204         (TeXEnvironment): move function...
10205         * paragraph_pimpl.C (TeXDeeper): move function...
10206         * paragraph_funcs.C: ...here
10207
10208         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
10209
10210 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10211
10212         * buffer.C (readInset): remove compability code for old Figure and
10213         InsetInfo insets
10214
10215 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10216
10217         * buffer.C: ws changes
10218         (readInset):
10219
10220         * BufferView_pimpl.C: ditto
10221         * author.C: ditto
10222         * buffer.h: ditto
10223         * bufferlist.h: ditto
10224         * changes.h: ditto
10225         * lyxfunc.C: ditto
10226
10227 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
10228
10229         * converter.[Ch]: split into itself +
10230         * graph.[Ch]
10231         * format.[Ch]
10232         * Makefile.am: += graph.[Ch] + format.[Ch]
10233         * MenuBackend.C
10234         * buffer.C
10235         * exporter.C
10236         * importer.C
10237         * lyx_main.C
10238         * lyxfunc.C
10239         * lyxrc.C: added #include "format.h"
10240
10241 2003-02-27  Angus Leeming  <leeming@lyx.org>
10242
10243         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
10244           a label.
10245
10246         * factory.C (createInset): add "label" to the factory.
10247
10248         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
10249           string and do no more.
10250
10251 2003-02-27  Angus Leeming  <leeming@lyx.org>
10252
10253         * commandtags.h:
10254         * LyXAction.C (init):
10255         * factory.C (createInset):
10256         * BufferView_pimpl.C (dispatch):
10257           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
10258
10259         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
10260
10261         * lyxfunc.C (dispatch):
10262         * text3.C (dispatch): pass name to params2string.
10263
10264 2003-02-26  Angus Leeming  <leeming@lyx.org>
10265
10266         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
10267           blocks together.
10268           Rearrange the ~includes. Strip out the unnecessary ones.
10269
10270         * factory.C (createInset): reformat.
10271           create new insets for the various LFUN_XYZ_APPLY lfuns.
10272
10273 2003-02-26  John Levon  <levon@movementarian.org>
10274
10275         * lyxrow.h:
10276         * lyxrow.C: add isParStart,isParEnd helpers
10277
10278         * paragraph.h: make isInserted/DeletedText take refs
10279
10280         * paragraph_funcs.h:
10281         * paragraph_funcs.C: remove #if 0'd code
10282
10283         * lyxtext.h:
10284         * text3.C:
10285         * text2.C:
10286         * text.C: use lyxrow helpers above.
10287           Move draw and paint routines to RowPainter.
10288           Make several methods use refs not pointers.
10289           Make backgroundColor() const.
10290           Add markChangeInDraw(), isInInset().
10291           Merge changeRegionCase into changeCase.
10292           Make workWidth() shouldn't-happen code into an Assert.
10293
10294         * rowpainter.h:
10295         * rowpainter.C: new class for painting a row.
10296
10297         * vspace.h:
10298         * vspace.C: make inPixels take a ref
10299
10300 2003-02-26  Angus Leeming  <leeming@lyx.org>
10301
10302         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
10303         LFUN_REF_APPLY.
10304
10305 2003-02-25  John Levon  <levon@movementarian.org>
10306
10307         * ispell.C: give the forked command a more accurate name
10308
10309 2003-02-22  John Levon  <levon@movementarian.org>
10310
10311         * toc.h:
10312         * toc.C: make TocItem store an id not a Paragraph *
10313           (bug #913)
10314
10315 2003-02-21  Angus Leeming  <leeming@lyx.org>
10316
10317         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
10318           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
10319           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
10320           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
10321           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
10322           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
10323
10324         * BufferView_pimpl.C (dispatch):
10325         * LyXAction.C (init):
10326         * factory.C (createInset):
10327         * lyxfunc.C (getStatus, dispatch):
10328         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
10329
10330 2003-02-21  Angus Leeming  <leeming@lyx.org>
10331
10332         * BufferView_pimpl.C (MenuInsertLyXFile):
10333         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
10334         * lyxfunc.C (menuNew, open, doImport):
10335           no longer pass a LyXView & to fileDlg.
10336
10337 2003-02-21  Angus Leeming  <leeming@lyx.org>
10338
10339         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
10340         * LyXAction.C: change, BIBKEY to BIBITEM.
10341         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
10342         Change InsetBibKey to InsetBibitem.
10343         Change BIBKEY_CODE to BIBITEM_CODE.
10344         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10345         * factory.C: replace insetbib.h with insetbibitem.h.
10346         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10347         * paragraph.C: replace insetbib.h with insetbibitem.h.
10348         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
10349         Change bibkey() to bibitem().
10350         * text.C: remove insetbib.h.
10351         * text2.C: replace insetbib.h with insetbibitem.h.
10352         change bibkey() to bibitem().
10353         * text3.C: remove insetbib.h.
10354         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10355
10356 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10357
10358         * lyxrc.C (output): enclose user email in quotes (in case there are
10359         several words)
10360
10361 2003-02-18  John Levon  <levon@movementarian.org>
10362
10363         * buffer.h: add std::
10364
10365 2003-02-17  John Levon  <levon@movementarian.org>
10366
10367         * SpellBase.h:
10368         * ispell.h:
10369         * ispell.C:
10370         * pspell.h:
10371         * pspell.C: reworking. Especially in ispell, a large
10372           number of clean ups and bug fixes.
10373
10374         * lyxfunc.C: fix revert to behave sensibly
10375
10376 2003-02-17 André Pönitz <poenitz@gmx.net>
10377
10378         * LyXAction.C:
10379         * commandtags.h: new LFUN_INSERT_BIBKEY
10380
10381         * layout.h:
10382         * lyxlayout.C:
10383         * buffer.C:
10384         * factory.C:
10385         * text.C:
10386         * text2.C:
10387         * text3.C:
10388         * paragraph.[Ch]:
10389         * paragraph_func.C: remove special bibkey handling
10390
10391 2003-02-17  John Levon  <levon@movementarian.org>
10392
10393         * text.C (Delete): fix case where delete at the end of
10394           the very first paragraph would not merge the pars
10395
10396 2003-02-17  John Levon  <levon@movementarian.org>
10397
10398         * lyxrow.C: fix lastPrintablePos()
10399
10400 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10401
10402         * bufferparams.C (writeLaTeX): add a std:here
10403
10404         * buffer.C: and remove a using directive there
10405
10406 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10407
10408         * buffer.C (makeLaTeXFile): move the code that generates the
10409           preamble...
10410
10411         * bufferparams.C (writeLaTeX): ... in this new method
10412
10413         * LaTeXFeatures.C (getEncodingSet): make const
10414           (getLanguages): make const
10415
10416         * MenuBackend.C (binding): returns the binding associated to this
10417           action
10418           (add): sets the status of each item by calling getStatus. Adds
10419           some intelligence.
10420           (read): add support for OptSubMenu
10421           (expand): remove extra separator at the end of expanded menu
10422
10423 2003-02-15  John Levon  <levon@movementarian.org>
10424
10425         * BufferView.C:
10426         * BufferView_pimpl.C:
10427         * bufferlist.h:
10428         * bufferlist.C: remove pointless BufferStorage bloat. Remove
10429           inset code that had no actual effect. Remove unneeded status
10430           code.
10431
10432 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10433
10434         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10435           in preamble
10436
10437 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
10438
10439         * text.C (drawLengthMarker): also draw an arrow marker for
10440           symbolic lengths (medskip...)
10441
10442 2003-02-14  John Levon  <levon@movementarian.org>
10443
10444         * tabular.h:
10445         * tabular.C: better method names
10446
10447 2003-02-14  John Levon  <levon@movementarian.org>
10448
10449         * BufferView_pimpl.C:
10450         * bufferlist.C:
10451         * buffer.C:
10452         * converter.C:
10453         * lyx_cb.C:
10454         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10455           it's a more accurate name. Remove some pointless uses.
10456
10457 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10458
10459         * text2.C (LyXText): change order of initilizers to shut off
10460           warnings
10461
10462 2003-02-14  John Levon  <levon@movementarian.org>
10463
10464         * buffer.C: use ParIterator for getParFromID()
10465
10466         * paragraph.h:
10467         * paragraph.C:
10468         * paragraph_pimpl.h:
10469         * paragraph_pimpl.C: remove unused getParFromID()
10470
10471 2003-02-14  John Levon  <levon@movementarian.org>
10472
10473         * buffer.C: remove some very old #if 0'd parse code
10474
10475 2003-02-13  John Levon  <levon@movementarian.org>
10476
10477         * text.h:
10478         * text.C:
10479         * text2.C: move hfillExpansion(), numberOfSeparators(),
10480           rowLast(), rowLastPrintable(), numberofHfills(),
10481           numberOfLabelHfills() ...
10482
10483         * lyxrow.h:
10484         * lyxrow.C: ... to member functions here.
10485
10486         * paragraph.h:
10487         * paragraph.C:
10488         * lyxtext.h:
10489         * text.C: remove LyXText::beginningOfMainBody(), and call
10490           p->beginningOfMainBody() directly. Move the check for
10491           LABEL_MANUAL into the latter.
10492
10493         * text.h:
10494         * text.C:
10495         * text2.C:
10496         * vspace.C:
10497         * BufferView.h:
10498         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10499
10500         * text.h:
10501         * text.C:
10502         * text2.C:
10503         * text3.C:
10504         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10505           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10506
10507 2003-02-13  John Levon  <levon@movementarian.org>
10508
10509         * CutAndPaste.C: remove debug
10510
10511 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10512
10513         * paragraph.C (asString): remove two unused variables
10514
10515         * lyxtextclass.C (readTitleType):
10516           (Read):
10517           (LyXTextClass): handle new members titletype_ and titlename_
10518
10519         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10520
10521 2003-02-09  John Levon  <levon@movementarian.org>
10522
10523         * buffer.h:
10524         * buffer.C: replace hand-coded list with a map for the dep clean
10525
10526 2003-02-08  John Levon  <levon@movementarian.org>
10527
10528         * LaTeX.C: consolidate code into showRunMessage() helper
10529
10530 2003-02-08  John Levon  <levon@movementarian.org>
10531
10532         * lyxfind.C:
10533         * lyxtext.h:
10534         * text2.C:
10535         * BufferView.C: change setSelectionOverString() to setSelectionRange()
10536           and pass the size in explicitly
10537
10538         * BufferView_pimpl.h:
10539         * BufferView_pimpl.C:
10540         * BufferView.h:
10541         * BufferView.C: add getCurrentChange()
10542
10543         * BufferView_pimpl.h:
10544         * BufferView_pimpl.C: handle change lfuns
10545
10546         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10547           for changes. Mark pasted paragraphs as new.
10548
10549         * support/lyxtime.h:
10550         * support/lyxtime.C:
10551         * DepTable.C: abstract time_t as lyx::time_type
10552
10553         * LColor.h:
10554         * LColor.C: add colours for new text, deleted text, changebars
10555
10556         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10557           package use "usenames" option.
10558
10559         * commandtags.h:
10560         * lyxfunc.C:
10561         * LyXAction.C: add change lfuns
10562
10563         * Makefile.am:
10564         * author.h:
10565         * author.C: author handling
10566
10567         * buffer.h:
10568         * buffer.C: add a per-buffer author list, with first entry as
10569           current author. Handle new .lyx tokens for change tracking. Output
10570           author list to .lyx file. Output dvipost stuff to .tex preamble.
10571           Bump lyx format to 222.
10572
10573         * bufferlist.h:
10574         * bufferlist.C: add setCurrentAuthor() to reset current author details
10575           in all buffers.
10576
10577         * bufferparams.h:
10578         * bufferparams.C: add param for tracking
10579
10580         * bufferview_funcs.C: output change info in minibuffer
10581
10582         * Makefile.am:
10583         * changes.h:
10584         * changes.C: add change-tracking structure
10585
10586         * debug.h:
10587         * debug.C: add CHANGES debug flag
10588
10589         * lyxfind.h:
10590         * lyxfind.C: add code for finding the next change piece
10591
10592         * lyxrc.h:
10593         * lyxrc.C: add user_name and user_email
10594
10595         * lyxrow.h:
10596         * lyxrow.C: add a metric for the top of the text line
10597
10598         * lyxtext.h:
10599         * text.C: implement accept/rejectChange()
10600
10601         * lyxtext.h:
10602         * text.C: paint changebars. Paint new/deleted text in the chosen
10603         colours. Strike through deleted text.
10604
10605         * paragraph.h:
10606         * paragraph.C:
10607         * paragraph_pimpl.h:
10608         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10609           in the current change to the insert functions. Rework erase to
10610           mark text as deleted, adding an eraseIntern() and a range-based
10611           erase(). Implement per-paragraph change lookup and
10612           accept/reject.
10613
10614         * paragraph_funcs.C: Fixup paste for change tracking.
10615
10616         * tabular.C: mark added row/columns as new.
10617
10618         * text.C: fix rowLast() to never return -1. Don't allow
10619           spellchecking of deleted text. Track transpose changes. Don't
10620           allow paragraph break or merge where appropriate.
10621
10622         * text2.C: leave cursor at end of selection after a cut.
10623
10624 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10625
10626         * text.C (getLengthMarkerHeight):
10627         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10628         visible on screen too.
10629
10630 2003-02-07  John Levon  <levon@movementarian.org>
10631
10632         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10633
10634 2003-02-05  Angus Leeming  <leeming@lyx.org>
10635
10636         * lyxserver.C (read_ready): revert my patch of 11 September last year
10637         as it sends PC cpu through the roof. Presumably this means that
10638         the lyxserver will no longer run on an Alpha...
10639
10640 2003-01-30  Angus Leeming  <leeming@lyx.org>
10641
10642         * factory.C (createInset): create an InsetCommandParam of type "index"
10643         and use it to 'do the right thing'.
10644
10645         * text2.C (getStringToIndex): ensure that cursor position is always
10646         reset to the reset_cursor position.
10647
10648 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10649
10650         * lyxfunc.C (getStatus): "buffer-export custom" should never be
10651         disabled.
10652
10653 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
10654
10655         * bufferview.C:
10656         * lyxcb.C:
10657         * lyxfunc.C: Output messages with identical spelling, punctuation,
10658         and spaces
10659
10660 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
10661
10662         * MenuBackend.C (expandFormats): List only viewable export formats
10663         in "View" menu
10664
10665         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10666         message
10667
10668         * lyxfunc.C (getStatus): Make sure that formats other than
10669         "fax" can also be disabled
10670
10671 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10672
10673         * text3.C (dispatch): put the lfuns that insert insets in 3
10674         groups, and call doInsertInset with appropriate arguments.
10675         (doInsertInset): new function, that creates an inset and inserts
10676         it according to some boolean parameters.
10677
10678 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
10679
10680         * buffer.C (readFile): remember to pass on 'par' when calling
10681         readFile recursively.
10682
10683 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10684
10685         * MenuBackend.C (expandFormats): add "..." to import formats.
10686
10687 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
10688
10689         * paragraph.C (asString): Remove XForms RTL hacks.
10690
10691 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
10692         * buffer.C: fix typo
10693
10694 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10695
10696         * Makefile.am (LIBS): delete var
10697         (lyx_LDADD): add @LIBS@ here instead.
10698
10699 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
10700
10701         * Clarify the meaning of "wheel mouse jump"
10702
10703 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10704
10705         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10706         tabular in a float
10707
10708 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10709
10710         * importer.C (Loaders): do not preallocate 3 elements in the
10711         vector, since one ends up with 6 elements otherwise
10712
10713 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10714
10715         * DepTable.C (write): write the file name as last element of the
10716         .dep file (because it may contain spaces)
10717         (read): read info in the right order
10718
10719 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10720
10721         * paragraph_pimpl.C (simpleTeXBlanks):
10722         (simpleTeXSpecialChars):
10723         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10724
10725         * tabular.C (latex): add some missing case statements. Reindent.
10726
10727         * MenuBackend.C (expandToc): remove unused variable.
10728
10729 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
10730
10731         * LColor.C:
10732         * LaTeX.C:
10733         * LyXAction.C:
10734         * MenuBackend.C:
10735         * buffer.C:
10736         * exporter.C:
10737         * lyxfunc.C:
10738         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10739         and the like.
10740
10741 2003-01-05  John Levon  <levon@movementarian.org>
10742
10743         * BufferView.h:
10744         * BufferView.C: add getEncoding()
10745
10746         * kbsequence.h:
10747         * kbsequence.C: do not store last keypress
10748
10749         * lyxfunc.h:
10750         * lyxfunc.C: store last keypress here instead. Pass encoding
10751           to getISOEncoded()
10752
10753 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10754
10755         * lyx_main.C (init): remove annoying error message when following
10756         symbolic links (bug #780)
10757
10758 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10759
10760         * text.C (insertChar):
10761         * lyxrc.C (getDescription): remove extra spaces
10762
10763 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10764
10765         * lyxrc.C (getDescription): remove extra spaces
10766
10767 2002-12-20  John Levon  <levon@movementarian.org>
10768
10769         * text3.C: hack fix for page up/down across tall rows
10770
10771 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10772
10773         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10774         not been invoked
10775
10776 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10777
10778         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10779         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10780         thesaurus is not compiled in
10781
10782 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
10783
10784         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
10785
10786 2002-12-16  Angus Leeming  <leeming@lyx.org>
10787
10788         * lyxrc.[Ch]:
10789         * lyx_main.C (init): remove override_x_deadkeys stuff.
10790
10791 2002-12-12  John Levon  <levon@movementarian.org>
10792
10793         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10794           insert. Only remove shift modifier under strict
10795           circumstances.
10796
10797 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
10798
10799         * MenuBackend.C (expandToc): fix crash.
10800
10801 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
10802
10803         * MenuBackend.C (expandToc): gettext on float names.
10804
10805 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
10806
10807         * lyxlength.[Ch]: set default unit to UNIT_NONE,
10808         implement bool empty() [bug 490]
10809
10810 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10811
10812         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10813
10814 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10815
10816         * several files: ws changes
10817
10818 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10819
10820         * text2.C (setCounter): clean up a bit, use boost.format.
10821         (updateCounters): initialize par upon declaration.
10822
10823         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10824         if the layout exists. We do not just store the layout any more.
10825         (SwitchLayoutsBetweenClasses): use boost.format
10826
10827 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10828
10829         * converter.C (convert): if from and to files are the same, use a
10830         temporary files as intermediary
10831
10832 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10833
10834         * commandtags.h:
10835         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10836
10837 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10838
10839         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10840
10841 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
10842
10843         * tabular.C (asciiPrintCell): use string(size, char) instead of
10844         explicit loop.
10845
10846         * sgml.C (openTag): fix order of arguments to string constructor
10847         (closeTag): ditto
10848
10849         * lyxfunc.C (dispatch): use boost.format
10850
10851         * lots of files: change "c" -> 'c'
10852
10853 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10854
10855         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10856
10857 2002-11-25  Angus Leeming  <leeming@lyx.org>
10858
10859         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10860
10861         * lyx_main.C (init): compile fix.
10862
10863 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
10864
10865         * lyx_cb.C (start): boost.formatify
10866         do not include <iostream>
10867
10868         * lengthcommon.C: ws only
10869
10870         * boost-inst.C,BoostFormat.h: add more explict instantations
10871
10872 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
10873
10874         * lots of files: handle USE_BOOST_FORMAT
10875
10876 2002-11-21  John Levon  <levon@movementarian.org>
10877
10878         * pspell.C: fix compile
10879
10880 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10881
10882         * lyxfunc.C (dispatch): use boost::format
10883         (open): ditto
10884         (doImport): ditto
10885
10886         * lyxfont.C (stateText): use boost::format
10887
10888         * lyx_main.C (LyX): use boost::format
10889         (init): ditto
10890         (queryUserLyXDir): ditto
10891         (readRcFile): ditto
10892         (parse_dbg): ditto
10893         (typedef boost::function): use the recommened syntax.
10894
10895         * importer.C (Import): use boost::format
10896
10897         * debug.C (showLevel): use boost::format
10898
10899         * converter.C (view): use boost::format
10900         (convert): ditto
10901         (move): ditto
10902         (scanLog): ditto
10903
10904         * bufferview_funcs.C (currentState): use boost::format
10905
10906         * bufferlist.C (emergencyWrite): use boost::format
10907
10908         * buffer.C (readLyXformat2): use boost::format
10909         (parseSingleLyXformat2Token): ditto
10910
10911         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10912
10913         * LaTeX.C (run): use boost::format
10914
10915         * Chktex.C (scanLogFile): use boost::format
10916
10917         * BufferView_pimpl.C (savePosition): use boost::format
10918         (restorePosition): ditto
10919         (MenuInsertLyXFile): ditto
10920
10921         * BoostFormat.h: help file for explicit instation.
10922
10923 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
10924
10925         * tabular.C (latex): Support for block alignment in fixed width
10926         columns.
10927
10928 2002-11-17  John Levon  <levon@movementarian.org>
10929
10930         * BufferView_pimpl.C:
10931         * lyx_cb.C:
10932         * lyxfunc.C: split filedialog into open/save
10933
10934 2002-11-08  Juergen Vigna  <jug@sad.it>
10935
10936         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10937         by my last patch (hopefully).
10938
10939 2002-11-08  John Levon  <levon@movementarian.org>
10940
10941         * iterators.h:
10942         * iterators.C:
10943         * buffer.h:
10944         * buffer.C:
10945         * paragraph.h:
10946         * paragraph.C:
10947         * toc.h:
10948         * toc.C: ParConstIterator, and use it (from Lars)
10949
10950 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
10951
10952         * lyxtextclass.[Ch]: revise and add doxygen comments
10953
10954 2002-11-07  John Levon  <levon@movementarian.org>
10955
10956         * text.C: fix progress value for spellchecker
10957
10958         * toc.C: fix navigate menu for insetwrap inside minipage
10959
10960         * paragraph_funcs.C: added FIXME for suspect code
10961
10962 2002-11-07  John Levon  <levon@movementarian.org>
10963
10964         * BufferView_pimpl.C: fix redrawing of insets
10965           on buffer switch
10966
10967 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10968
10969         * text2.C (updateCounters): fix bug 668
10970
10971 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
10972
10973         * text3.C (dispatch): Do not make the buffer dirty when moving the
10974         cursor.
10975
10976 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10977
10978         * vc-backend.C: STRCONV
10979         (scanMaster): ditto
10980
10981         * text2.C (setCounter): STRCONV
10982
10983         * paragraph.C (asString): STRCONV
10984
10985         * lyxlength.C (asString): STRCONV
10986         (asLatexString): ditto
10987
10988         * lyxgluelength.C (asString): STRCONV
10989         (asLatexString): ditto
10990
10991         * lyxfunc.C (dispatch): STRCONV
10992         (open): ditto
10993
10994         * lyxfont.C (stateText): STRCONV
10995
10996         * importer.C (Import): STRCONV
10997
10998         * counters.C (labelItem): STRCONV
10999         (numberLabel): ditto
11000         (numberLabel): remove unused ostringstream o
11001
11002         * chset.C: STRCONV
11003         (loadFile): ditto
11004
11005         * bufferview_funcs.C (currentState): STRCONV
11006
11007         * buffer.C (readFile): STRCONV
11008         (asciiParagraph): ditto
11009         (makeLaTeXFile): ditto
11010
11011         * Spacing.C (writeEnvirBegin): STRCONV
11012
11013         * LaTeXFeatures.C (getLanguages): STRCONV
11014         (getPackages): ditto
11015         (getMacros): ditto
11016         (getBabelOptions): ditto
11017         (getTClassPreamble): ditto
11018         (getLyXSGMLEntities): ditto
11019         (getIncludedFiles): ditto
11020
11021         * LaTeX.C: STRCONV
11022         (run): ditto
11023         (scanAuxFile): ditto
11024         (deplog): ditto
11025
11026         * LString.h: add the STRCONV macros
11027
11028         * BufferView_pimpl.C (savePosition): STRCONV
11029         (restorePosition): ditto
11030         (MenuInsertLyXFile): ditto
11031
11032         * vc-backend.C (scanMaster): change from submatch[...] to
11033         submatch.str(...)
11034
11035         * funcrequest.C: include config.h
11036
11037         * factory.C: include config.h
11038
11039         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
11040
11041         * box.C: include config.h
11042
11043         * LaTeX.C (scanAuxFile): change from submatch[...] to
11044         submatch.str(...)
11045         (deplog): ditto
11046
11047 2002-10-25  Angus Leeming  <leeming@lyx.org>
11048
11049         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
11050
11051         * ispell.[Ch] (setError): new method.
11052         * ispell.C (c-tor): move out child process into new class LaunchIspell.
11053         Use setError() insetead of goto END.
11054
11055         * lyx_cb.C (AutoSave): move out child process into new class
11056         AutoSaveBuffer.
11057
11058 2002-10-30  John Levon  <levon@movementarian.org>
11059
11060         * text3.C: make start appendix undoable
11061
11062 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
11063
11064         * lyxlength.C (inPixels): Fix returned value.
11065
11066         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
11067         environment.
11068
11069 2002-10-24  Angus Leeming  <leeming@lyx.org>
11070
11071         * lyxgluelength.h: no need to forward declare BufferParams
11072         or BufferView, so don't.
11073
11074 2002-10-21  John Levon  <levon@movementarian.org>
11075
11076         * BufferView.C: menuUndo ->undo, redo
11077
11078         * BufferView.h: document, remove dead, make some methods private
11079
11080         * paragraph_funcs.h:
11081         * paragraph_funcs.C:
11082         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
11083
11084         * buffer.h:
11085         * buffer.C:
11086         * sgml.h:
11087         * sgml.C: move sgml open/close tag into sgml.C
11088
11089         * bufferview_funcs.h: unused prototype
11090
11091         * lyxfunc.h:
11092         * lyxfunc.C: remove unused
11093
11094         * lyxtext.h:
11095         * text.C: remove unused
11096
11097 2002-10-21  John Levon  <levon@movementarian.org>
11098
11099         * BufferView.h:
11100         * BufferView.C:
11101         * BufferView_pimpl.h:
11102         * BufferView_pimpl.C: fix mouse wheel handling based on
11103           patch from Darren Freeman
11104
11105 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
11106
11107         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
11108
11109 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
11110
11111         * lyxlength.C (inPixels): Fix hanfling of negative length.
11112         Fix LyXLength::MU case.
11113
11114 2002-10-16  John Levon  <levon@movementarian.org>
11115
11116         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
11117
11118 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11119
11120         * converter.C (view): add support for $$i (file name) and $$p
11121         (file path) for the viewer command. If $$i is not specified, then
11122         it is appended to the command (for compatibility with old syntax)
11123
11124 2002-10-14  Juergen Vigna  <jug@sad.it>
11125
11126         * undo_funcs.C (textHandleUndo): alter the order in which the
11127         new undopar is added to the LyXText, as we have to set first
11128         the right prev/next and then add it as otherwise the rebuild of
11129         LyXText is not correct. Also reset the cursor to the right paragraph,
11130         with this IMO we could remove the hack in "redoParagraphs()".
11131
11132 2002-10-09  Angus Leeming  <leeming@lyx.org>
11133
11134         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
11135         to turn off an optimisation if a new inset is to be inserted.
11136
11137 2002-10-11 André Pönitz <poenitz@gmx.net>
11138
11139         * lyxtext.h: make some functions public to allow access
11140         from inset/lyxtext for handling LFUN_PRIOR/NEXT
11141
11142 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11143
11144         * text3.C (dispatch): when changing layout, avoid an infinite loop
11145         [bug #652]
11146
11147 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11148
11149         * lyxrc.C (read): treat a viewer or converter command of "none" as
11150         if it were empty.
11151
11152         * MenuBackend.C (expandFormats): for an update, also allow the
11153         formats that are not viewable
11154
11155         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
11156         script if it is newer than the lyxrc.defaults in user directory
11157
11158 2002-10-07 André Pönitz <poenitz@gmx.net>
11159
11160         * text.C: Vitaly Lipatov's small i18n fix
11161
11162 2002-09-25  Angus Leeming  <leeming@lyx.org>
11163
11164         * ispell.h: doxygen fix.
11165
11166 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
11167
11168         * buffer.h (readFile): Add a new argument to the method, to allow
11169         reading of old-format templates.
11170
11171 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
11172
11173         * toc.C (getTocList): Get TOC from InsetWrap.
11174
11175 2002-09-16  John Levon  <levon@movementarian.org>
11176
11177         * lyxfunc.C: check tabular for cut/copy too
11178
11179 2002-09-12  John Levon  <levon@movementarian.org>
11180
11181         * LyXAction.C: tidy
11182
11183         * factory.h:
11184         * factory.C: add header
11185
11186         * paragraph_funcs.h:
11187         * paragraph_funcs.C: cleanup
11188
11189 2002-09-11  John Levon  <levon@movementarian.org>
11190
11191         * PrinterParams.h: odd/even default to true
11192
11193 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
11194
11195         * PrinterParams.h: update printer parameters for new xforms dialog
11196
11197 2002-09-11  Angus Leeming  <leeming@lyx.org>
11198
11199         * lyxserver.C (read_ready): re-write to make it more transparent
11200         and to make it work in coherent fashion under Tru64 Unix.
11201
11202 2002-09-11  André Pönitz <poenitz@gmx.net>
11203
11204         * commandtags.h:
11205         * LyXAction.C:
11206         * text3.C: implement LFUN_WORDSEL
11207
11208 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11209
11210         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
11211         make floatlist_ a boost::shared_ptr<FloatList>
11212
11213         * lyxtextclass.C: include FloatList.h
11214         (LyXTextClass): initialize floatlist_
11215         (TextClassTags): add TC_NOFLOAT
11216         (Read): match "nofloat" to TC_NOFLOAT and use it.
11217         (readFloat): modify call to floatlist_
11218         (floats): ditto
11219         (floats): ditto
11220
11221         * FloatList.[Ch] (FloatList): remove commented out float
11222         initialization.
11223         (erase): new function
11224
11225 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11226
11227         * MenuBackend.C (expandToc): fix crash when there is no document
11228         open
11229
11230 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
11231
11232         * many files: Add insetwrap.
11233
11234 2002-09-09  John Levon  <levon@movementarian.org>
11235
11236         * text2.C: remove confusing and awkward depth wraparound
11237
11238 2002-09-09  John Levon  <levon@movementarian.org>
11239
11240         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
11241
11242         * buffer.h:
11243         * buffer.C: remove getIncludeonlyList()
11244
11245         * paragraph.C:
11246         * lyxfunc.C: remove headers
11247
11248 2002-09-09  Juergen Vigna  <jug@sad.it>
11249
11250         * text.C (getColumnNearX): fix form Michael this is most
11251         probably a cut&paste bug.
11252
11253 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
11254
11255         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
11256
11257         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
11258         references, ws changes.
11259
11260         * text2.C (init): update counters after init
11261         (insertParagraph): no need to set counter on idividual paragraphs.
11262         (setCounter): access the counters object in the textclass object
11263         on in the buffer object.
11264         (updateCounters): ditto
11265
11266         * lyxtextclass.C: include counters.h, add variable ctrs_ as
11267         shared_ptr<Counters> to avoid loading counters.h in all
11268         compilation units.
11269         (LyXTextClass): initialize ctrs_
11270         (TextClassTags): add TC_COUNTER, and ...
11271         (Read): use it here.
11272         (CounterTags): new tags
11273         (readCounter): new function
11274         (counters): new funtion
11275         (defaultLayoutName): return a const reference
11276
11277         * counters.C (Counters): remove contructor
11278         (newCounter): remove a couple of unneeded statements.
11279         (newCounter): simplify a bit.
11280         (numberLabel): some small formatting changes.
11281
11282         * buffer.[Ch]: remove all traces of counters, move the Counters
11283         object to the LyXTextClass.
11284
11285 2002-09-06  Alain Castera  <castera@in2p3.fr>
11286
11287         * tabular.C: uses \tabularnewline; uses >{...} construct from array
11288         package to set the horizontal alignment on fixed width columns.
11289
11290         * lyx_sty.C:
11291         * lyx_sty.h: added tabularnewline macro def.
11292
11293         * LaTeXFeatures.C: added NeedTabularnewline macro feature
11294
11295 2002-09-06  John Levon  <levon@movementarian.org>
11296
11297         * LyXAction.C: tooltips for sub/superscript
11298
11299         * MenuBackend.C: a bit more verbose
11300
11301         * lyxfunc.C: tiny clean
11302
11303         * undo_funcs.C: document undo_frozen
11304
11305 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
11306
11307         * counters.C (Counters): add missing algorithm counter.
11308
11309         * text2.C (setCounter): lookup the counter with layouts latexname
11310         instead of by section number.
11311         (setCounter): use a hackish way to lookup the correct enum
11312         counter.
11313         a float name->type change
11314         reset enum couners with counter name directly instead of depth value.
11315
11316         * counters.C (Counters): remove the push_backs, change to use the
11317         float type not the float name.
11318         (labelItem): remove unused string, float name->type change
11319
11320         * counters.h: don't include vector, loose the enums and sects vectors
11321
11322 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
11323
11324         * lyxtextclass.C (TextClassTags): add TC_FLOAT
11325         (Read): add float->TC_FLOAT to textclassTags
11326         (Read): and handle it in the switch
11327         (readFloat): new function
11328
11329         * FloatList.C (FloatList): comment out the hardcoded float
11330         definitions.
11331
11332         * lyxlayout.h: ws change.
11333
11334 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
11335
11336         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
11337
11338 2002-09-03  Angus Leeming  <leeming@lyx.org>
11339
11340         * BufferView_pimpl.h: qualified name is not allowed in member
11341         declaration: WorkArea & Pimpl::workarea() const;
11342
11343         * factory.C: added using std::endl directive.
11344
11345         * text3.C: added using std::find and std::vector directives.
11346
11347 2002-08-29  André Pönitz <poenitz@gmx.net>
11348
11349         * lyxtext.h:
11350         * text2.C: remove unused member number_of_rows
11351
11352         * Makefile.am:
11353         * BufferView2.C: remove file, move contents to...
11354         * BufferView.C: ... here
11355
11356         * BufferView_pimpl.C:
11357         * factory.C: move more inset creation to factory
11358
11359         * vspace.C: avoid direct usage of LyXText, ws changes
11360
11361         * BufferView.[Ch]:
11362                 don't provide direct access to WorkArea, use two simple
11363                 acessors haveSelction() and workHeight() instead
11364
11365
11366 2002-08-29  John Levon  <levon@movementarian.org>
11367
11368         * BufferView_pimpl.C (dispatch): do not continue when
11369           no buffer
11370
11371 2002-08-28  André Pönitz <poenitz@gmx.net>
11372
11373         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
11374
11375         * BufferView.h:
11376         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
11377
11378 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
11379
11380         * buffer.C: increment LYX_FORMAT to 221
11381
11382         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
11383         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
11384
11385         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
11386
11387         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
11388
11389 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11390
11391         * factory.C (createInset): use LyXTextClass::floats
11392
11393         * MenuBackend.C (expandFloatListInsert):
11394         (expandFloatInsert):
11395         (expandToc):
11396
11397         * text2.C (setCounter):
11398
11399         * LaTeXFeatures.C (useFloat):
11400         (getFloatDefinitions):
11401
11402         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
11403
11404         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
11405         floatlist_, with accessor floats().
11406
11407         * FloatList.h: remove global FloatList
11408
11409 2002-08-26  André Pönitz <poenitz@gmx.net>
11410
11411         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
11412
11413         * BufferView.h:
11414         * BufferView2.C:
11415         * BufferView_pimpl.C:
11416         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
11417
11418 2002-08-25  John Levon  <levon@movementarian.org>
11419
11420         * LyXAction.C: fix margin note description
11421
11422 2002-08-24  John Levon  <levon@movementarian.org>
11423
11424         * buffer.C:
11425         * bufferlist.C:
11426         * bufferview_funcs.C:
11427         * lyxfont.C:
11428         * undo_funcs.C: cleanups
11429
11430         * lyxfunc.C: disable CUT/COPY when no selection
11431
11432 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
11433
11434         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11435         in "enum UNIT"; e.g. PTW for Percent of TextWidth
11436
11437         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11438         Add backward compatibility to "mono", "gray" and "no".
11439
11440 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
11441
11442         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11443         (and file_format >= 200).
11444
11445 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11446
11447         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11448
11449 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11450
11451         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11452
11453 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
11454
11455         * BufferView_pimpl.C:
11456         * LyXAction.C:
11457         * buffer.C:
11458         * commandtags.h:
11459         * lyxfunc.C:
11460         * paragraph.[Ch]:
11461         * text2.C:
11462         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11463         inset and code to make it  work with the paragraph code. The inset
11464         can be anywhere in the paragraph, but will only do the expected
11465         thing in LaTeX if the layout file contains the parameter line
11466                         OptionalArgs    1
11467         (or more generally, a nonzero value) for that layout.
11468
11469 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
11470
11471         * paragraph.h: remove the declaration of undefined counters class
11472         function.
11473
11474 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
11475
11476         * text2.C (setCounter):  fixed enumeration mis-count as reported by
11477         Dr. Richard Hawkins.
11478
11479 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11480
11481         * paragraph_funcs.h: remove some unneeded includes
11482
11483         * text.C (backspace): pasteParagraph now in global scipe
11484
11485         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11486         (pasteSelection): ditto
11487
11488         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11489         * paragraph_funcs.C (pasteParagraph): ... here
11490
11491 2002-08-20  André Pönitz <poenitz@gmx.net>
11492
11493         * commandtags.h: new LFUNs for swapping/copying table row/colums
11494
11495         * LyXAction.C:
11496         * lyxfunc.C: support for new lfuns
11497
11498 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
11499
11500         * tabular.C:
11501         * buffer.[Ch]: remove NO_COMPABILITY stuff
11502
11503 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
11504
11505         * boost.C (throw_exception): new file, with helper function for
11506         boost compiled without exceptions.
11507
11508         * paragraph.h:
11509         * lyxlength.C:
11510         * buffer.C:
11511         * ParameterStruct.h:
11512         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11513
11514         * bufferlist.C (emergencyWriteAll): use boost bind
11515
11516         * BufferView_pimpl.C (moveCursorUpdate): remove inline
11517
11518         * text.C: include paragraph_funcs.h
11519         (breakParagraph): breakParagraph is now in global scope
11520
11521         * paragraph_funcs.[Ch]: new files
11522
11523         * paragraph.C (breakParagraph,breakParagraphConservative): move to
11524         global scope
11525
11526         * buffer.C: include paragraph_funcs.h
11527         (insertStringAsLines): breakParagraph is now in global scope
11528
11529         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11530         paragraph_funcs.C
11531
11532         * CutAndPaste.C: include paragraph_funcs.h
11533         (cutSelection): breakParagraphConservative is now in global scope
11534         (pasteSelection): ditto
11535
11536         * buffer.h: declare oprator== and operator!= for
11537         Buffer::inset_iterator
11538
11539         * bufferlist.C (emergencyWrite): don't use fmt(...)
11540
11541         * text3.C: add using std::endl
11542
11543         * BufferView.C (moveCursorUpdate): remove default arg
11544
11545 2002-08-20  André Pönitz <poenitz@gmx.net>
11546
11547         * buffer.[Ch]: move inline functions to .C
11548
11549         * BufferView2.C:
11550         * BufferView_pimpl.C:
11551         * text.C:
11552         * buffer.[Ch]: use improved inset_iterator
11553
11554         * buffer.C:
11555         * paragraph.[Ch]: write one paragraph at a time
11556
11557 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11558
11559         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11560         style if style is not specified.
11561
11562 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11563
11564         * text2.C (setCounter): when searching for right label for a
11565         caption, make sure to recurse to parent insets (so that a caption
11566         in a minipage in a figure float works) (bug #568)
11567
11568 2002-08-20  André Pönitz <poenitz@gmx.net>
11569
11570         * text3.C: new file for LyXText::dispatch() and helpers
11571
11572         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11573
11574         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11575
11576 2002-08-19  André Pönitz <poenitz@gmx.net>
11577
11578         * lyxtext.h:
11579         * text.C: new LyXText::dispatch()
11580
11581         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11582
11583 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
11584
11585         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11586
11587         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11588         Hebrew text.
11589
11590 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11591
11592         * Makefile.am: use $(variables) instead of @substitutions@
11593
11594 2002-08-15  André Pönitz <poenitz@gmx.net>
11595
11596         * lyxfunc.C:
11597         * BufferView_pimpl.C: streamlining mathed <-> outer world
11598         interaction
11599
11600         * commandtags.h:
11601         * LyXAction.C: remove unused LFUN_MATH
11602
11603 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11604
11605         * paragraph.[Ch]: add some NO_NEXT ifdefs.
11606
11607 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11608
11609         * paragraph.C (Paragraph): reformat a bit
11610         (cutIntoMinibuffer): use builtin InsetList function instad of
11611         doing it manually.
11612         (getInset): ditto
11613
11614         * buffer.C: include boost/bind.hpp, add using std::for_each
11615         (writeFileAscii): use ParagraphList iterators
11616         (validate): use for_each for validate traversal of paragraphs
11617         (getBibkeyList): use ParagraphList iterators
11618         (resizeInsets): use for_each to resizeInsetsLyXText for all
11619         paragraphs.
11620         (getParFromID): use ParagraphList iterators
11621
11622         * BufferView2.C (lockInset): use paragraph list and iterators
11623
11624 2002-08-14  John Levon  <levon@movementarian.org>
11625
11626         * lyxserver.C: remove spurious xforms include
11627
11628 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11629
11630         * lyxfunc.C (getStatus): disable math-extern outside of math mode
11631
11632 2002-08-13  André Pönitz <poenitz@gmx.net>
11633
11634         * LyXAction.[Ch]:
11635         * lyxfunc.C: further cleaning
11636
11637 2002-08-13  André Pönitz <poenitz@gmx.net>
11638
11639         * funcrequest.h: new constructor
11640
11641         * funcrequest.C: move stuff here from .h
11642
11643         * Makefile.am:
11644         * BufferView_pimpl.C:
11645         * LyXAction.C:
11646         * toc.C:
11647         * lyxfunc.C: subsequent changes
11648
11649         * lyxfunc.h: new view() member function
11650
11651         * lyxfunc.C: subsequent changes
11652
11653 2002-08-13  Angus Leeming  <leeming@lyx.org>
11654
11655         * BufferView2.C:
11656         * BufferView_pimpl.C:
11657         * buffer.C:
11658         * converter.C:
11659         * importer.C:
11660         * lyxfunc.C:
11661         * lyxvc.C:
11662         * toc.C:
11663         * vc-backend.C:
11664         changes due to the changed LyXView interface that now returns references
11665         to member variables not pointers.
11666
11667 2002-08-13  Angus Leeming  <leeming@lyx.org>
11668
11669         * WordLangTuple (word, lang_code): return references to strings,
11670         not strings.
11671
11672         * BufferView.h:
11673         * SpellBase.h:
11674         * lyxtext.h: forward-declare WordLangTuple.
11675
11676         * BufferView2.C:
11677         * ispell.C:
11678         * pspell.C:
11679         * text.C: #include "WordLangTuple.h".
11680
11681         * lyxtext.h:
11682         * text.C: (selectNextWordToSpellcheck): constify return type.
11683
11684 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
11685
11686         * buffer.C:
11687         * buffer.h:
11688         * lyxtext.h:
11689         * paragraph.C:
11690         * paragraph_pimpl.h:
11691         * text.C:
11692         * text2.C:
11693         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11694         suggested by Angus.
11695         Made updateCounter always count from start of buffer, and removed
11696         second argument (par).
11697         Reverted floats number display to '#'. Perhaps I'll try again when the
11698         code base is sanitized a bit.
11699
11700 2002-08-12  Angus Leeming  <leeming@lyx.org>
11701
11702         * buffer.[Ch] (getLabelList): constify.
11703
11704 2002-08-07  André Pönitz <poenitz@gmx.net>
11705
11706         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11707
11708         * funcrequest.h: extension to keep mouse (x,y) position
11709
11710 2002-08-12  Juergen Vigna  <jug@sad.it>
11711
11712         * BufferView2.C (insertErrors): forbid undo when inserting error
11713         insets.
11714
11715         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11716
11717 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
11718
11719         * ParagraphList.[Ch]: new files
11720
11721         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11722
11723         * BufferView2.C (lockInset): ParagraphList changes
11724         * toc.C: ditto
11725         * text2.C: ditto
11726         * bufferlist.C: ditto
11727         * buffer.h: ditto
11728         * buffer.C: ditto
11729
11730 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11731
11732         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11733         unused class variable counter_,
11734
11735         * paragraph.[Ch] (getFirstCounter): delete unused function
11736
11737         * counters.C: include LAssert.h
11738         (reset): add a new function with no arg, change other version to
11739         not have def. arg and to not allow empty arg.
11740
11741         * text2.C (setCounter): remove empty arg from call to Counters::reset
11742
11743 2002-08-11  John Levon  <levon@movementarian.org>
11744
11745         * Makefile.am: add WordLangTuple.h
11746
11747 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11748
11749         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11750         lyxfunc.C lyxlex_pimpl.C: ws changes only.
11751
11752         * insets/insettext.C: InsetList changes
11753
11754         * graphics/GraphicsSupport.C (operator()): InsetList changes
11755
11756         * toc.C (getTocList): InsetList changes
11757
11758         * paragraph_pimpl.[Ch]: InsetList changes
11759
11760         * paragraph.[Ch]: InsetList changes
11761
11762         * buffer.C (inset_iterator): InsetList changes
11763         (setParagraph): ditto
11764         * buffer.h (inset_iterator): ditto
11765         * iterators.C (operator++): ditto
11766         * iterators.h: ditto
11767
11768         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11769
11770         * InsetList.[Ch]: new files, most InsetList handling moved out of
11771         paragraph.C.
11772
11773         * BufferView2.C (removeAutoInsets): InsetList changes
11774         (lockInset): ditto
11775         (ChangeInsets): ditto
11776
11777 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
11778
11779         * paragraph_pimpl.h (empty): new function
11780
11781         * paragraph.[Ch] (empty): new function
11782
11783         * other files: use the new Paragraph::empty function
11784
11785 2002-08-09  John Levon  <levon@movementarian.org>
11786
11787         * lyxtext.h: remove unused refresh_height
11788
11789 2002-08-09  John Levon  <levon@movementarian.org>
11790
11791         * Makefile.am:
11792         * sgml.h:
11793         * sgml.C:
11794         * buffer.C:
11795         * paragraph.h:
11796         * paragraph.C: move sgml char escaping out of paragraph
11797
11798         * paragraph.h:
11799         * paragraph.C: remove id setter
11800
11801         * buffer.C:
11802         * paragraph.C:
11803         * paragraph_pimpl.C: remove dead tex_code_break_column
11804
11805         * bufferview_funcs.C: small cleanup
11806
11807         * lyxfunc.C: remove dead proto
11808
11809         * lyxtext.h: make some stuff private. Remove some dead stuff.
11810
11811         * lyxgluelength.C: make as[LyX]String() readable
11812
11813 2002-08-08  John Levon  <levon@movementarian.org>
11814
11815         * LyXAction.h:
11816         * LyXAction.C:
11817         * MenuBackend.C:
11818         * ToolbarDefaults.C:
11819         * lyxfunc.C:
11820         * lyxrc.C:
11821         * toc.C: lyxaction cleanup
11822
11823 2002-08-08  John Levon  <levon@movementarian.org>
11824
11825         * BufferView2.C: small cleanup
11826
11827         * lyxfind.h:
11828         * lyxfind.C: move unnecessary header into the .C
11829
11830 2002-08-08  John Levon  <levon@movementarian.org>
11831
11832         * funcrequest.h: just tedious nonsense
11833
11834         * lyx_main.h:
11835         * lyx_main.C: cleanups
11836
11837         * buffer.C:
11838         * vspace.C: remove dead header lyx_main.h
11839
11840 2002-08-07  Angus Leeming  <leeming@lyx.org>
11841
11842         * Paragraph.[Ch]:
11843         * paragraph_pimpl.h:
11844         Forward declare class Counters in paragraph.h by moving the ctrs member
11845         variable into Paragraph::Pimpl.
11846         (counters): new method, returning a reference to pimpl_->ctrs.
11847
11848         * text2.C: ensuing changes.
11849
11850 2002-08-07  John Levon  <levon@movementarian.org>
11851
11852         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11853
11854         * BufferView_pimpl.C: announce X selection on double/triple
11855           click
11856
11857         * lyx_main.C: use correct bool in batch dispatch
11858
11859         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11860
11861 2002-08-07  André Pönitz <poenitz@gmx.net>
11862
11863         * funcrequest.h: new class to wrap a kb_action and its argument
11864
11865         * BufferView.[Ch]:
11866         * BufferView_pimpl[Ch]:
11867         * LaTeX.C:
11868         * LyXAction.[Ch]:
11869         * lyxfunc.[Ch]:
11870         * lyxrc.C: subsequent changes
11871
11872
11873 2002-08-07  John Levon  <levon@movementarian.org>
11874
11875         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11876           document options change.
11877
11878 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
11879
11880         * counters.[Ch]
11881         * text2.C
11882         * paragraph.[Ch]
11883         * makefile.am: move counters functionality over from
11884         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11885
11886 2002-08-06  John Levon  <levon@movementarian.org>
11887
11888         * WordLangTuple.h: new file for word + language code tuple
11889
11890         * SpellBase.h:
11891         * pspell.h:
11892         * pspell.C:
11893         * ispell.h:
11894         * ispell.C:
11895         * lyxtext.h:
11896         * text.C:
11897         * text2.C:
11898         * BufferView.h:
11899         * BufferView2.C: use WordLangTuple
11900
11901         * layout.h:
11902         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11903
11904 2002-08-06  John Levon  <levon@movementarian.org>
11905
11906         * lyx_main.C: fix cmdline batch handling
11907
11908 2002-08-06  André Pönitz <poenitz@gmx.net>
11909
11910         * lyxrc.C: set default for show_banner to true
11911
11912 2002-08-06  John Levon  <levon@movementarian.org>
11913
11914         * pspell.C: fix a crash, and allow new aspell to work
11915
11916 2002-08-06  John Levon  <levon@movementarian.org>
11917
11918         * lyxfunc.C:
11919         * kbmap.C: small cleanup
11920
11921         * vspace.h:
11922         * vspace.C: add const
11923
11924 2002-08-05  John Levon  <levon@movementarian.org>
11925
11926         * LyXAction.C: back to tabular-insert
11927
11928 2002-08-04  John Levon  <levon@movementarian.org>
11929
11930         * BufferView.h:
11931         * BufferView.C: cosmetic change
11932
11933         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11934
11935         * bufferlist.C:
11936         * buffer.h:
11937         * buffer.C:
11938         * lyxcb.h:
11939         * lyxcb.C:
11940         * lyxserver.C:
11941         * lyxvc.C:
11942         * vc-backend.C:
11943         * BufferView2.C: purge all "Lyx" not "LyX" strings
11944
11945         * lyxcursor.h:
11946         * lyxcursor.C: attempt to add some documentation
11947
11948         * lyxfunc.C:
11949         * commandtags.h:
11950         * LyXAction.C:
11951         * ToolbarDefaults.C:
11952         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11953           merge with LFUN_TABULAR_INSERT
11954
11955         * Makefile.am:
11956         * SpellBase.h:
11957         * ispell.h:
11958         * ispell.C:
11959         * pspell.h:
11960         * pspell.C: split up i/pspell implementations into separate
11961           files, many cleanups
11962
11963         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11964
11965         * text2.C: some cleanup
11966
11967         * lyxfunc.C: don't check for isp_command == "none" any more, it
11968           didn't make any sense
11969
11970 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
11971
11972         * counters.[Ch]
11973         * text2.C
11974         * paragraph.[Ch]
11975         * makefile.am: move counters functionality over
11976         from text2.C/paragraph.[Ch] to counters.[Ch], and
11977         make proper C++.
11978 2002-08-02  John Levon  <levon@movementarian.org>
11979
11980         * buffer.C: s/lyxconvert/lyx2lyx/
11981
11982 2002-08-02  Angus Leeming  <leeming@lyx.org>
11983
11984         * lyxlex.C: revert John's change as it breaks reading of the user
11985         preamble.
11986
11987 2002-08-02  Angus Leeming  <leeming@lyx.org>
11988
11989         * importer.C (Import):
11990         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11991         changes due to LyXView::view() now returning a boost::shared_ptr.
11992
11993 2002-08-02  John Levon  <levon@movementarian.org>
11994
11995         * lyxlex.C: small cleanup
11996
11997 2002-08-02  John Levon  <levon@movementarian.org>
11998
11999         * text2.C (status): small cleanup, no logic change
12000
12001 2002-08-01  John Levon  <levon@movementarian.org>
12002
12003         * buffer.h:
12004         * buffer.C (writeFile): don't output alerts, caller
12005           handles this
12006
12007         * bufferlist.C:
12008         * lyx_cb.C: from above
12009
12010         * lyxfunc.C: allow to open non-existent files
12011
12012 2002-07-31  John Levon  <levon@movementarian.org>
12013
12014         * lyxserver.C: don't let incidental errors get
12015           in the way (errno)
12016
12017 2002-07-30  John Levon  <levon@movementarian.org>
12018
12019         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
12020
12021 2002-07-30  John Levon  <levon@movementarian.org>
12022
12023         * lyxserver.h:
12024         * lyxserver.C: remove I/O callback too
12025
12026 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12027
12028         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
12029         log.
12030
12031 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
12032
12033         * many files: strip,frontStrip -> trim,ltrim,rtrim
12034
12035 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
12036
12037         * PrinterParams.h: remove extern containsOnly, and include
12038         support/lstrings.h instead.
12039
12040         * LaTeX.C (scanAuxFile): modify because of strip changes
12041         (deplog): ditto
12042         * buffer.C (makeLaTeXFile): ditto
12043         * bufferparams.C (writeFile): ditt
12044         * lyxfont.C (stateText): ditto
12045         * lyxserver.C (read_ready): ditto
12046         * vc-backend.C (scanMaster): ditto
12047
12048         * BufferView_pimpl.h: ws changes
12049
12050         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
12051
12052 2002-07-26  André Pönitz <poenitz@gmx.net>
12053
12054         * kb_sequence.C: remove unnedred usings
12055
12056 2002-07-26  Juergen Vigna  <jug@sad.it>
12057
12058         * lyxfind.C (LyXReplace): we have to check better if the returned
12059         text is not of theLockingInset()->getLockingInset().
12060
12061 2002-07-25  Juergen Vigna  <jug@sad.it>
12062
12063         * lyxfind.C (LyXReplace): don't replace if we don't get the
12064         right LyXText.
12065
12066         * undo_funcs.C (createUndo): remove debugging code.
12067
12068 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
12069
12070         * buffer.C (parseSingleLyXformat2Token): Use default placement
12071         when reading old floats.
12072
12073         * FloatList.C (FloatList): Change the default placement of figure
12074         and tables to "tbp".
12075
12076 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
12077
12078         * MenuBackend.C: using std::max
12079
12080 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12081
12082         * MenuBackend.C (expandToc):
12083         (expandToc2): code moved from xforms menu frontend. It is now
12084         generic and TOCs are transparent to menu frontends.
12085
12086 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12087
12088         * toc.C (getTocList): protect against buf=0
12089
12090         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
12091         Menu as first parameter. Now, this calls itself recursively to
12092         expand a whole tree (this will be useful for TOC handling)
12093         (expandFloatInsert): remove 'wide' version of floats
12094
12095         * MenuBackend.h (submenuname): returns the name of the submenu.
12096         (submenu): returns the submenu itself, provided it has been
12097         created by MenuBackend::expand
12098
12099 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12100
12101         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
12102         insets which have noFontChange == true. (bug #172)
12103
12104 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12105
12106         * BufferView_pimpl.C: add connection objects and use them...
12107         (Pimpl): here.
12108
12109 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12110
12111         * MenuBackend.C (expandLastfiles):
12112         (expandDocuments):
12113         (expandFormats):
12114         (expandFloatListInsert):
12115         (expandFloatInsert):
12116         (expand): split expand in parts
12117
12118 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
12119
12120         * lyx_gui.C: use lyx_gui::exit()
12121
12122 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
12123
12124         * LyXAction.C: show the failing pseudo action
12125
12126 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
12127
12128         * buffer.C (readFile): Run the lyxconvert script in order to read
12129         old files.
12130
12131 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
12132
12133         * LyXAction.C:
12134         * commandtags.h:
12135         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
12136
12137 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
12138
12139         * LyXAction.C:
12140         * commandtags.h:
12141         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
12142
12143 2002-07-22  Herbert Voss  <voss@lyx.org>
12144
12145         * lengthcommon.C:
12146         * lyxlength.[Ch]: add support for the vertical lengths
12147
12148 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
12149
12150         * toc.[Ch]: std:: fixes
12151
12152 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12153
12154         * lyxrc.C: do not include lyx_main.h
12155
12156         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
12157         for layouts
12158
12159         * lyxrc.C:
12160         * encoding.C:
12161         * bufferlist.C:
12162         * BufferView2.C: include "lyxlex.h"
12163
12164         * tabular.h:
12165         * bufferparams.h: do not #include "lyxlex.h"
12166
12167         * lyxtextclasslist.C (Add): remove method
12168         (classlist): renamed to classlist_
12169
12170         * paragraph_pimpl.C:
12171         * paragraph.C:
12172         * text2.C:
12173         * CutAndPaste.C:
12174         * bufferview_funcs.C:
12175         * bufferlist.C:
12176         * text.C:
12177         * LaTeXFeatures.C:
12178         * buffer.C:
12179         * toc.C (getTocList): use BufferParams::getLyXTextClass
12180
12181         * toc.C (getTocList): use InsetFloat::addToToc
12182
12183         * toc.[Ch]: new files, containing helper functions to handle table
12184         of contents
12185
12186         * lyxfunc.C (dispatch): no need to remove spaces around command
12187         given as a string
12188         (getStatus): handle LFUN_SEQUENCE by returning the status of the
12189         first command of the sequence; it is not very clever, but I do not
12190         have a better idea, actually
12191
12192         * LyXAction.C (LookupFunc): make sure to remove space at the
12193         beginning and end of the command
12194
12195 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12196
12197         * MenuBackend.C (getMenubar): new method: return the menubar of
12198         this menu set
12199         (read): treat differently reading of menu and menubar (in
12200         particular, the menubar has no name now)
12201         (Menu::menubar): remove
12202
12203         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
12204         saving is finished
12205
12206 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
12207
12208         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
12209         a bibitem inset in a RTL paragraph.
12210
12211 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
12212
12213         * paragraph_pimpl.C: constify
12214
12215         * BufferView_pimpl.C:
12216         * LaTeX.C:
12217         * lyxfunc.C: fix dispatch in a nicer way
12218
12219 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12220
12221         * lyxfunc.C (dispatch):
12222         * BufferView_pimpl.C:
12223         * BufferView_pimpl.h:
12224         * BufferView.C:
12225         * BufferView.h: rename Dispatch() to dispatch()
12226
12227         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
12228
12229         * lyxlayout.C (Read): honor DependsOn tag
12230
12231         * lyxlayout.[Ch] (depends_on): new method
12232
12233         * version.C.in: update lyx_docversion
12234
12235         * LaTeXFeatures.C (getMacros): only define \LyX when needed
12236
12237         * paragraph.C (validate): remove from here...
12238         * paragraph_pimpl.C (validate): ... and move here
12239         (isTextAt): make it const
12240
12241         * buffer.C (getLists): ws cleanup
12242
12243 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
12244
12245         * language.C (read): Use iso8859-1 encoding in latex_lang
12246         (this prevents LyX from crashing when using iso10646-1 encoding).
12247
12248 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12249
12250         * text2.C (toggleInset): if cursor is inside an inset, close the
12251         inset and leave cursor _after_ it
12252
12253 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
12254
12255         * lyxfunc.C: move minibuffer completion handling out of here
12256
12257 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
12258
12259         * BufferView_pimpl.C:
12260         * LaTeX.C: fix dispatch calls
12261
12262 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
12263
12264         * text.C (drawChars): Fix Arabic text rendering.
12265
12266 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
12267
12268         * LyXAction.C:
12269         * commandtags.h:
12270         * lyxfunc.C: remove message-push/pop
12271
12272         * lyxserver.C:
12273         * lyxfunc.h:
12274         * lyxfunc.C: rationalise some code by removing verboseDispatch
12275           in favour of a bool argument to dispatch()
12276
12277 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12278
12279         * lyx_main.C (init): make sure to read symlinks as absolute paths
12280
12281 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12282
12283         * lyxfunc.h:
12284         * lyxfunc.C: no need for commandshortcut to be a member
12285
12286 2002-07-15  André Pönitz <poenitz@gmx.net>
12287
12288         * converter.C: add support for $$s (scripts from lib/scripts dir)
12289         * lyx_main.C: white space
12290
12291 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12292
12293         * bufferlist.C:
12294         * lyxrc.h:
12295         * lyxrc.C: remove second exit confirmation
12296
12297 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12298
12299         * BufferView.h:
12300         * BufferView.C:
12301         * BufferView2.C:
12302         * BufferView_pimpl.h:
12303         * BufferView_pimpl.C:
12304         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
12305
12306 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12307
12308         * MenuBackend.C (expand): add numeric shortcuts to document menu
12309
12310         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
12311
12312 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12313
12314         * lyxfont.C (setLyXFamily):
12315         (setLyXSeries):
12316         (setLyXShape):
12317         (setLyXSize):
12318         (setLyXMisc):
12319         (lyxRead):
12320         * debug.C (value):
12321         * buffer.C (asciiParagraph): use ascii_lowercase
12322
12323 2002-07-15  Mike Fabian  <mfabian@suse.de>
12324
12325         * lyxlex_pimpl.C (search_kw):
12326         * lyxlex.C (getLongString):
12327         * converter.h (operator<):
12328         * converter.C (operator<):
12329         * buffer.C (parseSingleLyXformat2Token):
12330         (asciiParagraph):
12331         * ToolbarDefaults.C (read):
12332         * MenuBackend.C (checkShortcuts):
12333         (read):
12334         * LColor.C (getFromGUIName):
12335         (getFromLyXName): use the compare_ascii_no_case instead of
12336         compare_no_case, because in turkish, 'i' is not the lowercase
12337         version of 'I', and thus turkish locale breaks parsing of tags.
12338
12339 2002-07-16  Angus Leeming  <leeming@lyx.org>
12340
12341         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
12342         now takes a Buffer const & argument.
12343
12344 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
12345
12346         * BufferView.C (resize): check there's a buffer to resize
12347
12348 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
12349
12350         * lyxfunc.C: remove dead code
12351
12352         * lyxserver.h:
12353         * lyxserver.C: use lyx_guii::set_read_callback
12354
12355 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12356
12357         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
12358         an inset in a RTL paragraph.
12359
12360 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12361
12362         * lyxfunc.C: repaint after a font size update
12363
12364 2002-07-15  André Pönitz <poenitz@gmx.net>
12365
12366         * lyxlength.C: inBP should be able to return negative values
12367
12368 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12369
12370         * lyxfunc.C: use lyx_gui::update_fonts()
12371
12372 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12373
12374         * lyxfunc.C: use lyx_gui::update_color()
12375
12376 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
12377
12378         * bufferlist.C:
12379         * lyxfunc.h:
12380         * lyxfunc.C:
12381         * lyxrc.h:
12382         * lyxrc.C: remove file->new asks for name option, and let
12383           buffer-new take an argument
12384
12385 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
12386
12387         * BufferView_pimpl.C: remove unneeded extra repaint()
12388
12389 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
12390
12391         * LyXAction.C: allow command-sequence with NoBuffer
12392
12393         * lyxfunc.C: don't insist on trailing ';' for command-sequence
12394
12395 2002-07-10  Angus Leeming  <leeming@lyx.org>
12396
12397         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
12398
12399 2002-07-09  Angus Leeming  <leeming@lyx.org>
12400
12401         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
12402
12403 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12404
12405         * lengthcommon.h: whitespace
12406
12407         * lyxfunc.C: update scrollbar after goto paragraph
12408
12409         * lyxtext.h: factor out page break drawing, and fix it so
12410           page break/added space paints as selected nicely
12411
12412 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12413
12414         * BufferView_pimpl.C: add FIXMEs, clean up a little
12415
12416 2002-07-09  André Pönitz <poenitz@gmx.net>
12417
12418         * lyxfont.[Ch]: support for wasy symbols
12419
12420 2002-07-08  André Pönitz <poenitz@gmx.net>
12421
12422         * BufferView_pimpl.C: apply John's patch for #93.
12423
12424 2002-07-05  Angus Leeming  <leeming@lyx.org>
12425
12426         * BufferView_pimpl.C (buffer): generate previews if desired.
12427
12428         * LColor.h: add "preview" to the color enum.
12429
12430         * LColor.C (LColor): add a corresponding entry to the items array.
12431
12432         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12433         with this buffer.
12434
12435 2002-07-05  Angus Leeming  <leeming@lyx.org>
12436
12437         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12438         The body of the code is now in the method that is passed an ostream &
12439         rather than a file name.
12440         Pass an additional only_preamble parameter, useful for the forthcoming
12441         preview stuff.
12442
12443 2002-07-03  André Pönitz <poenitz@gmx.net>
12444
12445         * lyxfunc.C: simplify getStatus() a bit for math stuff
12446
12447 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12448
12449         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12450
12451 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12452
12453         * text.C (changeRegionCase): do not change case of all the
12454         document when region ends at paragraph end (bug #461)
12455
12456 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12457
12458         * paragraph.C (startTeXParParams):
12459         (endTeXParParams): add \protect when necessary
12460
12461 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12462
12463         * BufferView_pimpl.C (workAreaExpose): remove warning
12464
12465 2002-06-27  Angus Leeming  <leeming@lyx.org>
12466
12467         * Makefile.am: add lyxlayout_ptr_fwd.h.
12468
12469 2002-06-26  André Pönitz <poenitz@gmx.net>
12470
12471         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12472
12473 2002-06-25  Angus Leeming  <leeming@lyx.org>
12474
12475         * lyxfunc.C (dispatch): Comment out the call to
12476         grfx::GCache::changeDisplay. The method no longer exists now that the
12477         pixmap generation part of the graphics loader has been moved into
12478         InsetGraphics.
12479
12480 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12481
12482         * text2.C: layout as layout
12483
12484         * text.C: layout as layout
12485
12486         * tabular.C (OldFormatRead): layout as layout
12487
12488         * paragraph_pimpl.C (TeXDeeper): layout as layout
12489         (realizeFont): layout as layout
12490
12491         * paragraph.C (writeFile): layout as layout
12492         (validate): layout as layout
12493         (getFont): layout as layout
12494         (getLabelFont): layout as layout
12495         (getLayoutFont): layout as layout
12496         (breakParagraph): layout as layout
12497         (stripLeadingSpaces): layout as layout
12498         (getEndLabel): layout as layout
12499         (getMaxDepthAfter): layout as layout
12500         (applyLayout): layout as layout
12501         (TeXOnePar): layout as layout
12502         (simpleTeXOnePar): layout as layout
12503         (TeXEnvironment): layout as layout
12504         (layout): layout as layout
12505         (layout): layout as layout
12506
12507         * lyxtextclass.C (compare_name): new functor to work with
12508         shared_ptr, layout as layout
12509         (Read): layout as layout
12510         (hasLayout): layout as layout
12511         (operator): layout as layout
12512         (delete_layout): layout as layout
12513         (defaultLayout): layout as layout
12514
12515         * lyxlayout_ptr_fwd.h: new file
12516
12517         * lyxlayout.C (Read): layout as layout
12518
12519         * lyx_cb.C (MenuInsertLabel): layout as layout
12520
12521         * bufferlist.C (newFile): layout as layout
12522
12523         * buffer.C (readLyXformat2): layout as layout
12524         (parseSingleLyXformat2Token): layout as layout
12525         (insertStringAsLines): layout as layout
12526         (asciiParagraph): layout as layout
12527         (latexParagraphs): layout as layout
12528         (makeLinuxDocFile): layout as layout
12529         (simpleLinuxDocOnePar): layout as layout
12530         (makeDocBookFile): layout as layout
12531         (simpleDocBookOnePar): layout as layout
12532         (getLists): layout as layout
12533
12534         * LaTeXFeatures.C (getTClassPreamble): layout as layout
12535
12536         * CutAndPaste.C (cutSelection): layout as layout
12537         (pasteSelection): layout as layout
12538         (SwitchLayoutsBetweenClasses): layout as layout
12539
12540         * BufferView_pimpl.C (Dispatch): layout as layout
12541         (smartQuote): layout as layout
12542
12543         * BufferView2.C (unlockInset): layout as layout
12544
12545 2002-06-24  André Pönitz <poenitz@gmx.net>
12546
12547         * lyxfunc.C: fix #487
12548
12549 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12550
12551         * lyxrc.h:
12552         * lyxrc.C:
12553         * lyxfunc.C: remove display_shortcuts, show_banner
12554
12555 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12556
12557         * Buffer_pimpl.C: oops, update on resize
12558
12559 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12560
12561         * buffer.C:
12562         * converter.C:
12563         * exporter.C:
12564         * lyxfunc.C:
12565         * BufferView.h:
12566         * BufferView.C: use repaint()
12567
12568         * BufferView_pimpl.h:
12569         * BufferView_pimpl.C: s/updateScreen()/repaint()/
12570           as it's a clearer description. Remove superfluous
12571           redraws.
12572
12573 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12574
12575         * text.C: fix bug 488. Not ideal, but getting
12576           getWord() to work properly for the insets that
12577           matter is more difficult ...
12578
12579 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12580
12581         * BufferView_pimpl.C:
12582         * LyXAction.C:
12583         * commandtags.h:
12584         * lyxfunc.C: remove the six million index lyxfuncs to just
12585           one, and DTRT (bug 458)
12586
12587 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12588
12589         * BufferView.h:
12590         * BufferView.C:
12591         * BufferView_pimpl.h:
12592         * BufferView_pimpl.C: clean up resize() stuff,
12593           and unnecessary updateScreen()s
12594
12595 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12596
12597         * BufferView.h:
12598         * BufferView.C:
12599         * BufferView_pimpl.h:
12600         * BufferView_pimpl.C:
12601         * lyxfind.h:
12602         * lyxfind.C:
12603         * minibuffer.C: remove focus management of workarea,
12604           not needed. Use screen's greyOut()
12605
12606 2002-06-17  Herbert Voss  <voss@lyx.org>
12607
12608         * converter.C: (convert) do not post a message, when converting
12609         fails, let the calling function decide what to do in this case
12610
12611 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
12612
12613         * lyxfunc.C: tidy up a little
12614
12615 2002-06-16    <alstrup@diku.dk>
12616
12617         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12618         Got rid of FORMS_H_LOCATION include. Now we are
12619         GUII.
12620
12621 2002-06-15  LyX Development team  <lyx@rilke>
12622
12623         * buffer.[Ch] (sgmlOpenTag):
12624         (sgmlCloseTag): Added support for avoiding pernicious mixed
12625         content. Return number of lines written.
12626
12627         (makeLinuxDocFile):
12628         (makeDocBookFile): Fixed calls to sgml*Tag.
12629         Simple white space clean.
12630
12631         (simpleDocBookOnePar): Simple white space clean.
12632
12633         * tabular.[Ch] (docBook): Renamed to docbook and got another
12634         argument to related with the pernicious mixed content.
12635
12636         (docbookRow): Fixed calls for docbook inset method.
12637
12638 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
12639
12640         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12641         so it's X11 independent.
12642
12643         * kb*.[Ch]: ditto.
12644
12645         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12646
12647 2002-06-15  Lyx Development team  <lyx@electronia>
12648
12649         * intl.h: Renamed getTrans to getTransManager.
12650
12651 2002-06-14  Angus Leeming  <leeming@lyx.org>
12652
12653         * Makefile.am: nuke forgotten stl_string_fwd.h.
12654
12655 2002-06-12  Angus Leeming  <leeming@lyx.org>
12656
12657         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12658
12659 2002-06-13  Angus Leeming  <leeming@lyx.org>
12660
12661         * LaTeX.C:
12662         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12663
12664 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
12665
12666         * kbmap.C (getiso): add support for cyrillic and greek
12667
12668 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12669
12670         * BufferView.h:
12671         * BufferView.C:
12672         * BufferView_pimpl.h:
12673         * BufferView_pimpl.C: move bogus scrolling logic
12674           to xforms
12675
12676 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12677
12678         * lyxfunc.C:
12679         * BufferView_pimpl.C: view->resize() change
12680
12681 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12682
12683         * BufferView_pimpl.C: topCursorVisible
12684           prototype change
12685
12686 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12687
12688         * Makefile.am:
12689         * lyx_gui.h:
12690         * lyx_gui.C: move to frontends/
12691
12692         * main.C:
12693         * lyx_main.h:
12694         * lyx_main.C: changes from above
12695
12696 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12697
12698         * intl.C:
12699         * intl.h:
12700         * kbmap.C:
12701         * kbsequence.C:
12702         * lyx_cb.C:
12703         * lyx_main.C: minor tidy
12704
12705 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12706
12707         * BufferView_pimpl.h:
12708         * BufferView_pimpl.C:
12709         * BufferView.h:
12710         * BufferView.C: make painter() const,
12711           remove dead code
12712
12713         * BufferView2.C: use screen() accessor
12714
12715         * lyx_main.h:
12716         * lyx_main.C: some minor cleanup
12717
12718 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12719
12720         * BufferView_pimpl.h:
12721         * BufferView_pimpl.C: remove enter/leaveView,
12722           use workHeight()
12723
12724 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12725
12726         * BufferView.h:
12727         * BufferView.C:
12728         * BufferView2.C:
12729         * BufferView_pimpl.h:
12730         * BufferView_pimpl.C: only construct screen once,
12731           rename
12732
12733         * lyxrc.C: remove pointless comment
12734
12735 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12736
12737         * BufferView.h:
12738         * BufferView.C: remove active() and belowMouse()
12739
12740         * BufferView_pimpl.h:
12741         * BufferView_pimpl.C: use workarea() not workarea_,
12742           and make it use a scoped_ptr instead
12743
12744 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12745
12746         * lyx_gui.C: add debug message on BadWindow
12747
12748 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12749
12750         * sp_spell.C: fdopen is not part of the C++ standard.
12751
12752         * paragraph.C (InsetIterator): use >= instead of ==
12753
12754 2002-06-07  Angus Leeming  <leeming@lyx.org>
12755
12756         Fixes needed to compile with Compaq cxx 6.5.
12757         * BufferView_pimpl.C:
12758         * DepTable.C:
12759         * buffer.C:
12760         * converter.C:
12761         * encoding.C:
12762         * lyx_gui.C:
12763         * lyx_main.C:
12764         * lyxtextclasslist.C:
12765         * minibuffer.C:
12766         * sp_spell.C:
12767         * tabular_funcs.C:
12768         * vc-backend.C:
12769         all c-library variables have been moved into namespace std. Wrap
12770         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12771
12772         * lyxlength.C:
12773         * tabular-old.C:
12774         * tabular.C:
12775         Add a using std::abs declaration.
12776
12777         * kbmap.h (modifier_pair):
12778         * paragraph.h (InsetTable, InsetList):
12779         * lyxfont.h (FontBits):
12780         type definition made public.
12781
12782         * bufferlist.C (emergencyWriteAll): the compiler complains that
12783         there is more than one possible lyx::class_fun template to choose from.
12784         I re-named the void specialisation as lyx::void_class_fun.
12785
12786         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12787
12788         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12789         the compiler is is unable to find tostr in write_attribute.
12790
12791 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12792
12793         * buffer.C (sgmlError): hide #warning
12794
12795 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12796
12797         * xtl/*: get rid of xtl, which is not in use anyway
12798
12799         * LyXAction.C (init):
12800         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12801         were unimplemented xtl experimentation
12802
12803 2002-06-04  André Pönitz <poenitz@gmx.net>
12804
12805         * lyxfunc.C: disable array operation on simple formulae
12806
12807 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
12808
12809         * converter.C: constify a bit
12810
12811 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
12812
12813         * lyx_gui.C: check xforms version correctly
12814
12815 2002-04-30  Herbert Voss  <voss@lyx.org>
12816
12817         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12818         "keep" option
12819
12820 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
12821
12822         * lyxvc.C: fix bug 416 (make sure buffer is saved before
12823           attempt to register it with a VCS)
12824
12825 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12826
12827         * lyx_main.C (init): honor variables LYX_DIR_13x and
12828         LYX_USERDIR_13x
12829
12830 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12831
12832         * buffer.h:
12833         * buffer.C:
12834         * lyx_main.C: fix a crash on bad command line,
12835           and give a useful exit status on error
12836
12837         * lyxfunc.C (doImport): allow -i lyx to work
12838
12839 2002-03-30  André Pönitz <poenitz@gmx.net>
12840
12841         * lyxfunc.C: mathed font changes
12842
12843 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12844
12845         * LaTeX.C:
12846         * importer.h:
12847         * importer.C:
12848         * lyx_sty.h:
12849         * lyx_sty.C:
12850         * lyxlex.C:
12851         * lyxrow.h:
12852         * lyxtext.h:
12853         * paragraph.h:
12854         * paragraph.C:
12855         * texrow.h:
12856         * texrow.C:
12857         * text.C:
12858         * trans_mgr.h: srcdocs, and some minor cleanups
12859
12860 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12861
12862         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12863         call getFont all the time)
12864
12865 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12866
12867         * switch from SigC signals to boost::signals
12868
12869 2002-05-29  André Pönitz <poenitz@gmx.net>
12870
12871         * paragraph_pimpl.C (getChar): don't call size() too often...
12872
12873 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12874
12875         * paragraph_pimpl.C (insertChar): do not try to update tables when
12876         appending (pos == size())
12877
12878         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12879         in order to reduce drastically the number of comparisons needed to
12880         parse a large document
12881
12882 2002-05-29  André Pönitz <poenitz@gmx.net>
12883
12884         * text.C:
12885         * text2.C:
12886         * lyxtextclass.C:
12887         * sp_pspell.h:
12888         * textclasslist.[Ch]:
12889         * sp_ispell.h: whitespace change
12890
12891 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12892
12893         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12894         lyxaction directly now.
12895
12896 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
12897
12898         * trans.C:
12899         * lyxfont.C:
12900         * lyxvc.C: remove unused headers
12901
12902 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12903
12904         * Makefile.am:
12905         * buffer.h:
12906         * undostack.h:
12907         * undostack.C:
12908         * undo_funcs.h:
12909         * undo_funcs.C: some cleanups. Use shared_ptr
12910           and a template for the undo stacks.
12911
12912 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12913
12914         * BufferView_pimpl.h:
12915         * BufferView_pimpl.C:
12916         * kbmap.h:
12917         * kbmap.C:
12918         * kbsequence.h:
12919         * kbsequence.C:
12920         * lyxfunc.h:
12921         * lyxfunc.C:
12922         * text2.C: use key_state/mouse_state
12923
12924 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12925
12926         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12927         and LSubstring
12928
12929         * chset.C: change include order
12930         (loadFile): use boost regex and get rid of LRegex and LSubstring
12931
12932         * Makefile.am (BOOST_LIBS): new variable
12933         (lyx_LDADD): use it
12934
12935         * LaTeX.C: change include order.
12936         (scanAuxFile): use boost regex and get rid of LRegex and
12937         LSubstring
12938         (deplog): ditto
12939
12940 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12941
12942         * ColorHandler.h:
12943         * ColorHandler.C:
12944         * FontInfo.h:
12945         * FontInfo.C: moved to frontends/xforms/
12946
12947         * FontLoader.h:
12948         * FontLoader.C: moved into frontends for GUIIzation
12949
12950         * Makefile.am:
12951         * lyx_gui.C:
12952         * lyxfont.C:
12953         * lyxfunc.C: changes from above
12954
12955 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12956
12957         * LColor.C: remove spurious X include
12958
12959         * BufferView_pimpl.C:
12960         * Makefile.am:
12961         * font.h:
12962         * font.C:
12963         * text.C:
12964         * text2.C: move font metrics to frontends/
12965
12966 2002-05-24  Juergen Vigna  <jug@sad.it>
12967
12968         * undo_funcs.C (textHandleUndo): fix the cursor selection after
12969         setting the undo_cursor.
12970
12971         * ParagraphParameters.h: include local includes first.
12972
12973 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12974
12975         * BufferView_pimpl.C:
12976         * BufferView_pimpl.h:
12977         * Makefile.am:
12978         * WorkArea.h:
12979         * WorkArea.C:
12980         * screen.C: move WorkArea into frontends/
12981
12982         * lyxscreen.h:
12983         * screen.C:
12984         * text.C:
12985         * BufferView.C:
12986         * BufferView2.C: move LyXScreen into frontends/
12987
12988         * lyxlookup.h:
12989         * lyxlookup.C:
12990         * lyx_gui.C: move lyxlookup into frontends/xforms/
12991
12992 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12993
12994         * BufferView2.C:
12995         * BufferView_pimpl.C:
12996         * FontLoader.C:
12997         * LyXView.h:
12998         * LyXView.C:
12999         * Makefile.am:
13000         * WorkArea.C:
13001         * XFormsView.h:
13002         * XFormsView.C:
13003         * buffer.C:
13004         * bufferlist.C:
13005         * bufferview_funcs.C:
13006         * converter.C:
13007         * importer.C:
13008         * lyx_cb.C:
13009         * lyx_gui.C:
13010         * lyx_main.C:
13011         * lyx_find.C:
13012         * lyxfunc.C:
13013         * lyxvc.C:
13014         * minibuffer.C:
13015         * text.C:
13016         * text2.C:
13017         * trans.C:
13018         * vc-backend.C: move LyX/XFormsView into frontends/
13019
13020 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
13021
13022         * Makefile.am:
13023         * PainterBase.C:
13024         * PainterBase.h:
13025         * Painter.C:
13026         * Painter.h:
13027         * WorkArea.C:
13028         * WorkArea.h:
13029         * screen.C:
13030         * tabular.C:
13031         * text.C:
13032         * text2.C: move Painter to frontends/
13033
13034 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13035
13036         * buffer.C: comment out some some code that depend upon lyx_format
13037         < 220
13038
13039         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
13040         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
13041
13042         * buffer.h (NO_COMPABILITY): turn off compability
13043
13044         * ColorHandler.C: include scoped_array.hpp
13045
13046         * font.C: Use more specific smart_ptr header.
13047         * Painter.C: ditto
13048         * gettext.C: ditto
13049         * ShareContainer.h: ditto
13050         * lyx_main.h: ditto
13051         * kbmap.h: ditto
13052         * FontInfo.h: ditto
13053         * BufferView_pimpl.h: ditto
13054         * ColorHandler.h: ditto
13055
13056         * kbmap.C (defkey): change call to shared_ptr::reset
13057
13058 2002-05-21  Juergen Vigna  <jug@sad.it>
13059
13060         * buffer.C (insertErtContents): fix to insert ert asis if it is
13061         non empty. Skip it completely if it contains only whitespaces.
13062
13063 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
13064
13065         * BufferView_pimpl.C:
13066         * BufferView2.C: clear selection on paste (bug 393)
13067
13068 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13069
13070         * DepTable.C: include ctime
13071
13072 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
13073
13074         * buffer.C (latexParagraphs): Add new argument (moving_arg).
13075
13076 2002-05-14  Juergen Vigna  <jug@sad.it>
13077
13078         * text.C (breakParagraph): fixed function to honor the keepempty
13079         layout in the right maner and also to permit the right breaking
13080         algorithm on empty or non empyt keepempty paragraphs.
13081
13082         * paragraph.C (breakParagraph): we have to check also if the par
13083         is really empty (!size()) for isempty otherwise we do the wrong
13084         paragraph break.
13085
13086 2002-05-10  Juergen Vigna  <jug@sad.it>
13087
13088         * buffer.[Ch] : The following are only changes to the ert
13089         compatibility read reading old LaTeX layout and font stuff and
13090         convert it to ERTInsets.
13091
13092         * buffer.h: added isErtInset().
13093
13094         * buffer.C (struct ErtComp): add a fromlayout bool to check
13095         if we're inside a LaTeX layout.
13096         (isErtInset): new helper function.
13097         (insertErtContents): look for other ert insets before this one
13098         and insert the contents there, so that we don't have subsequent
13099         ERT insets with nothing between them. This way we create only one
13100         inset with multiple paragraphs. Also check if we don't insert only
13101         spaces ' ' as they are ignored anyway afterwards in the .tex file
13102         so if we have only spaces we will ignore this latex part in the
13103         new file.
13104         (parseSingleLyXformat2Token \\layout): better compatibility when
13105         reading layout-latex stuff.
13106         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
13107         language tag.
13108         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
13109         stuff after reading the inset only get the information back from
13110         the stack.
13111
13112 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
13113
13114         * buffer.C (makeLaTeXFile): Put language options after loading babel.
13115
13116         * LaTeXFeatures.C (getBabelOptions): New method.
13117
13118 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13119
13120         * BufferView_pimpl.C (Dispatch): work around missing argument for
13121         'layout'
13122
13123 2002-05-08  Juergen Vigna  <jug@sad.it>
13124
13125         * text.C (leftMargin): handle paragraph leftindent.
13126
13127         * paragraph.C (writeFile): write the new \\leftindent tag.
13128         (validate): handle leftindent code.
13129         (TeXEnvironment): handle paragraphleftindent code again.
13130
13131         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
13132
13133         * buffer.C (parseSingleLyXformat2Token): added compatibility code
13134         for paragrap_extra indent code and new token \\leftindent.
13135         (latexParagraphs): handle the leftindent as environment.
13136
13137         * ParameterStruct.h: added leftindent support.
13138
13139         * ParagraphParameters.C (leftIndent): added support functions for
13140         the paragraph left indent.
13141
13142         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
13143         more appropriate.
13144
13145 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
13146
13147         * paragraph.C (isRightToLeftPar): Return false for a paragraph
13148         inside insetERT.
13149
13150         * text.C (computeBidiTables): No bidi in insetERT.
13151
13152         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
13153         in RTL documents.
13154
13155 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13156
13157         * version.C.in: pre 5
13158
13159 2002-05-02  José Matos  <jamatos@fep.up.pt>
13160         * buffer.C (makeDocBookFile): white space changes, add newline to
13161         command styles.
13162         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
13163
13164         * tabular.C (docBook): fix typo.
13165
13166 2002-05-03  Juergen Vigna  <jug@sad.it>
13167
13168         * screen.C (drawFromTo): recalculate the rowpointer if we had a
13169         change in LyXText as we can not be sure it was not freed.
13170         (drawOneRow): remove unused code.
13171
13172         * text.C (drawInset): redo the calculation of the need_break_row as
13173         it could have a row which was already freed.
13174         (draw): look at the return value of drawInset and return false if
13175         it also returned false.
13176         (paintRowText): look at the return value of draw and return false if
13177         it also returned false.
13178
13179         * lyxtext.h: added bool return type to drawInset() and draw() so that
13180         if we have a change in the row so that the rowbreak has to be redone
13181         we abort drawing as it will be called again.
13182
13183 2002-05-02  Juergen Vigna  <jug@sad.it>
13184
13185         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
13186         a change in the maintext also if we're inside an inset.
13187         (Dispatch): set the cursor again after a break line and after the
13188         screen has been updated as it could be we're in a different row.
13189
13190         * text2.C (fixCursorAfterDelete): check to make sure we don't request
13191         to set the cursor behind the pargraph with > size().
13192         (setCursor): check also for the same paragraph when checking where
13193         to put the cursor if we have a NFR inset.
13194
13195         * buffer.C (parseSingleLyXformat2Token): move the compatibility
13196         parts of layout read further up as it still was in the wrong
13197         position.
13198
13199 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13200
13201         * screen.C (drawFromTo): change sine fullRebreak always return
13202         true.
13203
13204         * buffer.C (parseSingleLyXformat2Token): reindent some
13205
13206         * BufferView_pimpl.C (update): change since fullRebreak always
13207         return true.
13208         (Dispatch): git rid of the last hardcoded "Standard"s.
13209
13210 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13211
13212         * text2.[Ch] (fullRebreak): make it return void now that we always
13213         returned true.
13214
13215 2002-04-30  Juergen Vigna  <jug@sad.it>
13216
13217         * buffer.C (parseSingleLyXformat2Token): reset the font before the
13218         ert compatibility check for "latex" layout.
13219
13220 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
13221
13222         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
13223         minipages: use col% instead of p%, and also use the current font.
13224         (makeLaTeXFile): Fix use babel condition.
13225         (parseSingleLyXformat2Token): Correct font when reading old floats.
13226
13227 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
13228
13229         * BufferView_pimpl.C (Dispatch): Check that float type exists when
13230         inserting list of floats.
13231
13232 2002-04-25  Herbert Voss  <voss@lyx.org>
13233
13234         * MenuBackend.C (expand): don't add the graphics extensions to the
13235         export menu
13236
13237 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13238
13239         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
13240         non-existing layout, do not complain if it was the default layout
13241         of the original class (bug #342)
13242
13243 2002-04-24  Juergen Vigna  <jug@sad.it>
13244
13245         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
13246         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
13247
13248 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
13249
13250         * buffer.C (getBibkeyList): If using \bibliography, return the
13251         option field with the reference itself. Enables us to provide natbib
13252         support when using \bibliography.
13253
13254 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
13255
13256         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
13257
13258         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
13259         natbib is provided by the LaTeX class.
13260
13261 2002-04-23  Juergen Vigna  <jug@sad.it>
13262
13263         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
13264         Wakeup functions.
13265
13266         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
13267
13268 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13269
13270         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
13271
13272         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
13273         ensuremath around textordmasculine, textordfeminine and
13274         textdegree.
13275
13276 2002-04-19  Juergen Vigna  <jug@sad.it>
13277
13278         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
13279         reinitializing the buffer otherwise row-dimensions may be wrong.
13280         (update): reset also the selection cursors if they do exits otherwise
13281         their x/y positions may be wrong.
13282
13283         * text2.C (cursorDown): don't enter the inset if we came from a row
13284         above and are one row over the inset.
13285
13286         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
13287         really leaving an inset.
13288
13289 2002-04-18  Juergen Vigna  <jug@sad.it>
13290
13291         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
13292         of the selected paragraph does not have the selected layout also if
13293         the last one had!
13294
13295         * text2.C (setLayout): fixed bug which did not change last selected
13296         paragraph.
13297
13298         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
13299         changed the read and substituted \\end_float with \\end_inset!
13300
13301         * BufferView_pimpl.C (cursorPrevious):
13302         (cursorNext): fixed to make it work with rows heigher than the work
13303         area without moving the cursor only the draw of the row.
13304         (workAreaMotionNotify): fix jumping over high rows.
13305
13306 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13307
13308         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
13309         Ressler.
13310
13311 2002-04-16  Juergen Vigna  <jug@sad.it>
13312
13313         * text2.C (setCursor): set also the irow().
13314         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
13315         (cursorUp):
13316         (cursorDown): support for locking an inset if the x_fix value goes
13317         inside it. That way I can transverse insets too with cursor up/down.
13318
13319         * lyxrow.h: added irow helper function same as other (i) functions.
13320
13321         * BufferView_pimpl.C (cursorPrevious):
13322         (cursorNext): fixed for insets!
13323
13324 2002-04-15  Juergen Vigna  <jug@sad.it>
13325
13326         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
13327         position otherwise it is wrong in some cases.
13328
13329         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
13330         inside the inset before the call.
13331
13332 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
13333
13334         * buffer.[Ch] (getBibkeyList): make it const.
13335
13336 2002-04-12  Juergen Vigna  <jug@sad.it>
13337
13338         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
13339
13340         * text2.C (getCursorX): new helper function
13341         (setCursor): compute also ix_
13342         (setCursorFromCoordinates): set also ix.
13343
13344         * lyxcursor.h: added ix_ and helper functions.
13345
13346         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
13347
13348         * buffer.C (insertStringAsLines): dont break paragraph if the this
13349         paragraph is inside an inset which does not permit it!
13350
13351         * text.C (breakParagraph): honor keepempty flag and break the paragraph
13352         also with no chars on this paragraph.
13353         (paintRowText): only paint stuff if it's inside the workarea!
13354
13355         * paragraph.C (breakParagraph): honor keepempty flag and break the
13356         paragraph always below not above.
13357
13358         * BufferView2.C (unlockInset): update the paragraph layout on inset
13359         unlock as we changed paragraph in such a case.
13360
13361         * lyxfind.C (LyXFind): clear the former selection if not found!
13362
13363         * text2.C (insertInset): freeze Undo after setUndo so that it is not
13364         again called in insertChar().
13365
13366         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
13367         an inset which uses the whole row!
13368         (rightMargin): ditto.
13369         (insertChar): force a rebreak if we inserted an inset!
13370
13371 2002-03-28  Herbert Voss  <voss@lyx.org>
13372
13373         * lyxlength.[Ch]: add inBP() to get the right PS-point
13374         units (BigPoint). With inPixels we have rounding errors
13375
13376 2002-04-11  Juergen Vigna  <jug@sad.it>
13377
13378         * text2.C (setCursorFromCoordinates): set iy to the right value.
13379         (setCursor): add check if row->previous exists!
13380
13381         * buffer.C (parseSingleLyXformat2Token): reset font after read of
13382         an old float_type as this was the case in the old code!
13383
13384         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
13385
13386         * BufferView2.C (showLockedInsetCursor): use iy
13387         (fitLockedInsetCursor): ditto
13388
13389         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
13390         locked insets as there we have the right value now.
13391
13392         * lyxcursor.C: added iy_ variable and iy functions to set to the
13393         baseline of cursor-y of the locked inset.
13394
13395         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
13396         (setCursor): fixed for insets which need a full row.
13397
13398         * text.C (rowLastPrintable): don't ignore the last space when before
13399         an inset which needs a full row.
13400         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
13401         as last character of a row when before a inset which needs a full row.
13402
13403 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13404
13405         * version.C.in: update date
13406
13407         * text2.C (fullRebreak): try to always return true and see what
13408         happens...
13409
13410 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13411
13412         * MenuBackend.C (expand): use Floating::listName
13413
13414         * FloatList.C (FloatList): add listName argument to the built-in
13415         floats
13416
13417         * Floating.[Ch]: add listName member, which is the 'List of XXX'
13418         text associated with the float.
13419
13420 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13421
13422         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
13423
13424 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13425
13426         * ShareContainer.h: add a couple of missing typenames.
13427
13428 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
13429
13430         * lyxrc.C (getDescription): use _() correctly rather than N_().
13431
13432 2002-03-28  Herbert Voss  <voss@lyx.org>
13433
13434         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13435         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13436
13437 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13438
13439         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13440         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13441
13442 2002-03-29  Juergen Vigna  <jug@sad.it>
13443
13444         * lyxfunc.C (dispatch): add a missing fitCursor call.
13445
13446         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13447         it was scrolled by a cursor move, so return the bool status.
13448
13449         * BufferView.C (fitCursor): return the bool flag also to the outside
13450         world as this is needed.
13451
13452         * screen.C (toggleToggle): don't subtract the offset if it's positive.
13453
13454         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13455         call the edit() as it is not needed (and wrong) IMO.
13456         (workAreaButtonPress): set the screen_first variable before evt.
13457         unlock the inset as this may change screen_first and then we have
13458         a wrong y position for the click!
13459
13460 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13461
13462         * MenuBackend.C (expand): another translation that I missed
13463
13464 2002-03-28  Juergen Vigna  <jug@sad.it>
13465
13466         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13467
13468         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13469
13470 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13471
13472         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13473
13474         * MenuBackend.C (expand): fix export/view/update when there is no
13475         document open.
13476
13477 2002-03-27  Herbert Voss  <voss@lyx.org>
13478
13479         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13480         and text%
13481
13482 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13483
13484         * bufferview_funcs.C (currentState): only show paragraph number
13485         for is DEVEL_VERSION is set.
13486
13487         * lyxfunc.C (dispatch): put warning in INFO channel
13488
13489         * MenuBackend.C (expand): translate the name of floats
13490
13491         * FloatList.C (FloatList): mark the float names for translation
13492
13493         * converter.C (convert): use LibScriptSearch
13494
13495 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13496
13497         * MenuBackend.C (defaults): fix default menu (we might as well get
13498         rid of it...)
13499
13500 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13501
13502         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13503         directory.
13504
13505 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13506
13507         * lyxvc.C: reorder includes.
13508
13509 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
13510
13511         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13512           properly
13513
13514 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
13515
13516         * CutAndPaste.C: change layouts earlier on paste
13517           to avoid crashing when calling getFont()
13518
13519 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
13520
13521         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13522         irritating #error.
13523
13524 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13525
13526         * WorkArea.C: remove 'Pending' debug message.
13527
13528         * most files: ws cleanup
13529
13530         * buffer.[Ch]: ws changes
13531
13532         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13533
13534 2002-03-21  Juergen Vigna  <jug@sad.it>
13535
13536         * tabular.C (SetMultiColumn): collapse also the contents of the
13537         cells and set the last border right. Added a Buffer const * param.
13538
13539 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13540
13541         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13542         linking or not.
13543
13544 2002-03-19  Juergen Vigna  <jug@sad.it>
13545
13546         * text2.C (clearSelection): reset also xsel_cache.
13547
13548         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13549         where it needs to be called (John tells us to do so too :)
13550         (selectionLost): reset sel_cache.
13551
13552         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13553
13554 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13555
13556         * text2.C (setCursorIntern): put debuging code in INSETS channel
13557
13558 2002-03-19  André Pönitz <poenitz@gmx.net>
13559
13560         * lyxfunc.C: tiny whitespace change
13561
13562 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13563
13564         * ToolbarDefaults.C (init):
13565         * LyXAction.C (init):
13566         * commandtags.h:
13567         * BufferView_pimpl.C (Dispatch):
13568         * lyxfunc.C (dispatch): remove LFUN_DEPTH
13569
13570 2002-03-19  Allan Rae  <rae@lyx.org>
13571
13572         * exporter.C (Export): removeAutoInsets before doing anything else.
13573         While I've just introduced a dependency on BufferView this really is
13574         the best place to clean the buffer otherwise you need to cleanup in
13575         a dozen places before calling export or cleanup in a dozen functions
13576         that export calls.
13577
13578         * converter.C (runLaTeX):
13579         (scanLog): Better handling of removeAutoInsets and screen updates.
13580
13581         * lyxfunc.C (dispatch): small whitespace changes
13582
13583 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13584
13585         * WorkArea.C (C_WorkAreaEvent): return a value.
13586         (event_cb): return 1 if we handled the event, 0 otherwise.
13587
13588         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13589
13590 2002-03-18  Juergen Vigna  <jug@sad.it>
13591
13592         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13593         (GetAdditionalWidth): ditto.
13594         (RightLine): ditto.
13595         (LeftLine): ditto.
13596
13597         * BufferView2.C (copy): use getLyXText() so that we do it inside an
13598         inset if we're there actually (probably not used right now but this
13599         is the direction to go for unifying code).
13600         (paste): disable code to clear the selection.
13601
13602         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13603         inside an InsetText and move the check further up as it is in the
13604         wrong place.
13605
13606         * text2.C (pasteSelection): set a selection over the pasted text.
13607
13608 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
13609
13610         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13611         and libgraphics to build on Cygwin.
13612
13613 2002-03-15  Juergen Vigna  <jug@sad.it>
13614
13615         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13616         inserting an Inset into the paragraph. I know this is not the best
13617         fix but we already use current_view in CutAndPaste so we will remove
13618         all of it's using at the same time.
13619
13620         * buffer.C (sgmlError): deactivated function till it is rewritten in
13621         the right mode, now it can create problems.
13622
13623         * paragraph.C (isLineSeparator): check if getInset returns != 0,
13624         before accessing it.
13625
13626 2002-03-14  Juergen Vigna  <jug@sad.it>
13627
13628         * undo_funcs.C (textHandleUndo): do the right thing when updating
13629         the inset after the undo/redo.
13630
13631         * text2.C (setCursor): just some testcode for #44 not ready yet.
13632
13633         * undo_funcs.C (textHandleUndo): set the next() and previous()
13634         pointers of the paragraph to 0 before deleting otherwise we have
13635         problems with the Paragraph::[destructor].
13636
13637         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13638         on a paragraph insertion.
13639
13640 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13641
13642         * buffer.C (asciiParagraph): use += operator for char append to
13643         string.
13644
13645         * paragraph.C (getFontSettings): compare >= not just >
13646         (highestFontInRange): ditto
13647         (setFont): ditto
13648
13649 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13650
13651         * paragraph.C: change several algorithm to be more appripriate for
13652         the problem domain. This is lookip in FontList and in the InsetList.
13653
13654 2002-03-13  André Pönitz <poenitz@gmx.net>
13655
13656         * commandtags.h:
13657         * LyXAction.C: remove unused LFUN_MATH_MACROARG
13658
13659 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
13660
13661         * commandtags.h:
13662         * LyXAction.C:
13663         * lyxfunc.C:
13664         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13665
13666 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13667
13668         * Painter.C (display): anon helper function, adjust code for this
13669         change.
13670         (pixmap): remove function.
13671
13672         * Painter.h: remove private display variable.
13673
13674         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13675
13676 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
13677
13678         * WorkArea.[Ch]: remove figinset_canvas cruft.
13679
13680 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13681
13682         * lyxtextclass.C (operator): add one item cache optimization.
13683
13684         * bufferlist.h: doxy changes
13685
13686         * bufferlist.C: ws changes
13687
13688         * DepTable.[Ch] (ext_exist): place const in the right spot.
13689
13690         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13691         call resizeInsets.
13692         (workAreaExpose): call resizeInsets when the with BufferView changes.
13693         (Dispatch): adjust for protectedBlank removal
13694         (specialChar): call updateInset if the insert went ok.
13695
13696         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13697         specialChar instead.
13698
13699         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13700
13701         * BufferView.h: doxy change
13702
13703         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13704
13705         * lyxtextclass.C (operator[]): remove non-const version
13706         (defaultLayout): remove non-const version
13707
13708 2002-03-12  Juergen Vigna  <jug@sad.it>
13709
13710         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13711         did resize the LyXText too.
13712
13713         * buffer.C (readLyXformat2): set layout information on newly allocated
13714         paragraphs.
13715
13716         * tabular.C (OldFormatRead): set layout information on the paragraph.
13717
13718 2002-03-12  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13719
13720         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13721
13722 2002-03-11  Juergen Vigna  <jug@sad.it>
13723
13724         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13725         plainly wrong.
13726         (resizeCurrentBuffer): force also the insets to resize themselfes.
13727         (moveCursorUpdate): fixed up for InsetText.
13728
13729 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
13730
13731         * commandtags.h:
13732         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13733         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13734         value of Dialogs::tooltipsEnabled().
13735         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13736
13737 2002-03-08  Juergen Vigna  <jug@sad.it>
13738
13739         * BufferView_pimpl.C (updateInset): update inset inside inset also
13740         if it isn't inside theLockingInset().
13741
13742 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13743
13744         * buffer.C (asciiParagraph): redo some of the word and line length
13745         handling.
13746         (getLists): look for Caption instead of caption.
13747
13748 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13749
13750         * buffer.C (Buffer): initialize niceFile to true
13751         (makeLaTeXFile):
13752         (makeLinuxDocFile):
13753         (makeDocBookFile): make sure niceFile is true on exit
13754
13755 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13756
13757         * buffer.C (makeLaTeXFile): escape ~ in \input@path
13758
13759 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
13760
13761         * LyXSendto.C: remove.
13762         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13763         * lyx_gui.C: remove now-redundant comment.
13764         * ColorHandler.h: remove forward declaration of class WorkArea.
13765         * lyxfunc.C: remove #include "WorkArea.h".
13766
13767 2002-03-07  Juergen Vigna  <jug@sad.it>
13768
13769         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13770         got moved away with the DEPM and also set the inset_owner always
13771         right which before could have been omitted.
13772
13773 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13774
13775         * buffer.C (parseSingleLyXformat2Token): use default layout is the
13776         wanted layout is not found.
13777
13778 2002-03-07  Juergen Vigna  <jug@sad.it>
13779
13780         * CutAndPaste.C (cutSelection): another layout settings forgotten.
13781
13782 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13783
13784         * paragraph.C (breakParagraph): use default layout not layout of
13785         prev paragraph.
13786         (Paragraph): clear ParagraphParameters.
13787
13788 2002-03-06  Juergen Vigna  <jug@sad.it>
13789
13790         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13791         otherwise it would not be a valid lenght. Fixed a special case in
13792         the minipage compatibility read where we end the document with a
13793         minipage.
13794
13795         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13796         was set as it could be 0 for InsetTexts first entry.
13797
13798 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13799
13800         * paragraph.C (writeFile): if layout is empty write out
13801         defaultLayoutName().
13802
13803         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13804         file without named layout we set layout to defaultLayoutName().
13805
13806 2002-03-06  Juergen Vigna  <jug@sad.it>
13807
13808         * CutAndPaste.C (copySelection): set layout for new paragraph.
13809
13810         * text.C (prepareToPrint): leave ERT inset left aligned
13811         (leftMargin): don't indent paragraphs inside ERT insets
13812
13813 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13814
13815         * paragraph.C (breakParagraph): dont call clear do the work manually
13816
13817         * paragraph.[Ch] (clear): remove function
13818
13819 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13820
13821         * paragraph.C (Paragraph): dont call clear, the work has already
13822         been done.
13823
13824         * lyxtextclass.C (operator): assert if n is empty
13825
13826         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13827         work manually instead.
13828
13829 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13830
13831         * BufferView_pimpl.C: protect selectionLost against text == 0
13832
13833 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13834
13835         * text.C (breakParagraph): fix a setting layout to '0' problem.
13836
13837 2002-03-05  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13838
13839         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13840         final location of file, for the included files, and graphics.
13841
13842 2002-03-05  Juergen Vigna  <jug@sad.it>
13843
13844         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13845
13846 2002-03-04  Juergen Vigna  <jug@sad.it>
13847
13848         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13849
13850         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13851         last column of multicolumn cells.
13852         (SetWidthOfMulticolCell): recalculate NMC and real columns.
13853
13854 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
13855
13856         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13857         file if it doesn't go to a temporary file.
13858
13859         * buffer.C (sgmlOpenTag):
13860         (sgmlCloseTag):  remove extra newline insertion.
13861
13862 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13863
13864         * text.C (getRowNearY): comment out debug msg
13865
13866 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13867
13868         * text2.C: first -> first_y
13869
13870         * text.C (getRowNearY): add some attemts at a possible
13871         optimization, not working.
13872
13873         * tabular.[Ch]: add BufferParams to several function so that newly
13874         created paragraph can be initialized to he default layotu for the
13875         buffers textclass.
13876
13877         * tabular-old.C (ReadOld): add buf->params to call of Init
13878
13879         * screen.C: rename text->first to text->first_y
13880
13881         * paragraph.C (breakParagraph): always set layout in the broken
13882         paragraph
13883
13884         * lyxtextclass.C (Read): remove lowercase
13885         (hasLayout): ditto
13886         (operator): ditto
13887         (delete_layout): ditto
13888
13889         * lyxtext.h: rename first -> first_y
13890
13891         * lyxlayout.C (Read): remove lowercase
13892         (name): ditto
13893         (setName): ditto
13894         (obsoleted_by): ditto
13895
13896         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13897
13898         * buffer.C (insertErtContents): add params are to InsetERT
13899         (parseSingleLyXformat2Token): add code to check if a paragraphs
13900         layout really exist.
13901         (parseSingleLyXformat2Token): add params to several inset
13902         constructors
13903         (asciiParagraph): remove lowercase, do the layout comparisons with
13904         no_case
13905
13906         * BufferView_pimpl.C (cursorNext): first -> first_y
13907         (resizeCurrentBuffer): first -> first_y
13908         (updateScrollbar): first -> first_y
13909         (scrollCB): first -> first_y
13910         (workAreaMotionNotify): first -> first_y
13911         (workAreaButtonPress): first -> first_y
13912         (checkInsetHit): first -> first_y
13913         (cursorPrevious): first -> first_y
13914         (cursorNext): first -> first_y
13915         (Dispatch): add buffer_->params to severl inset contructors
13916
13917 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13918
13919         * lyxlayout.C (Read): remove some debug info that I forgot.
13920
13921         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13922         clean up the code slightly.
13923         (makeLinuxDocFile): ditto
13924         (makeDocBookFile): ditto
13925
13926         * text2.C: layout as string
13927
13928         * text.C: layout as string
13929
13930         * paragraph_pimpl.C: layout as string
13931
13932         * paragraph.[Ch]: layout as string
13933
13934         * lyxtextclasslist.[Ch]: layout as string
13935
13936         * lyxtextclass.[Ch]: layout as string
13937
13938         * lyxtext.h: layout as string
13939
13940         * lyxlayout.[Ch]: layout as string
13941
13942         * lyx_cb.C: layout as string
13943
13944         * bufferview_funcs.C: layout as string
13945
13946         * bufferparams.C: layout as string
13947
13948         * buffer.C: layout as string
13949
13950         * LyXView.[Ch]: layout as string
13951
13952         * LaTeXFeatures.[Ch]: layout as string
13953
13954         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13955
13956         * BufferView_pimpl.C: change current_layout to string, remove
13957         lyx::layout_type.
13958         (Dispatch):
13959         (smartQuote):
13960         (insertInset):
13961         (workAreaButtonRelease): layout as string
13962
13963         * BufferView2.C (unlockInset): adjust
13964
13965         * vspace.C (asLatexCommand): use an explict temp variable.
13966
13967 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13968
13969         * Makefile.am: use FRONTEND_*
13970
13971 2002-03-01  Juergen Vigna  <jug@sad.it>
13972
13973         * tabular.C (SetWidthOfMulticolCell): changed to something better
13974         I hope but still work in progress.
13975         (recalculateMulticolumnsOfColumn): renamed function from
13976         recalculateMulticolCells as it is more appropriate now.
13977         (SetWidthOfCell): calculate multicols better.
13978
13979 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13980
13981         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13982
13983         * lyxfunc.C (processKeySym): print sequence also if it is
13984         `deleted' (complete)
13985
13986         * kbsequence.C (print): print sequence even if it is deleted
13987         (complete would be a better word, actually).
13988
13989         * lyxfunc.C (dispatch): print complete options after a prefix key
13990
13991         * vspace.C (asLatexCommand): rewrite in a slightly different form.
13992
13993 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
13994
13995         * text2.C (setCharFont): eliminate setCharFont code duplication.
13996
13997 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13998
13999         * BufferView_pimpl.C (Dispatch): remove bogus handling of
14000         LFUN_TABULAR_FEATURE (bug #177)
14001
14002 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
14003
14004         * Makefile.am: remove figure.h
14005
14006 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
14007
14008         * Bufferview_pimpl.C:
14009         * CutAndPasteC:
14010         * LaTeX.C:
14011         * LyXSendto.C:
14012         * buffer.C:
14013         * bufferlist.C:
14014         * converter.C:
14015         * language.C:
14016         * lyxfunc.C:
14017         * lyxvc.C:
14018         * paragraph.C:
14019         * text.C:
14020         * text2.C: remove #include "lyx_gui_misc.h".
14021
14022         * LaTeX.C: added #include <cstdio>
14023
14024 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14025
14026         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
14027         that the paragraph following this one can have.
14028
14029         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
14030
14031         * vspace.C (asLatexCommand): fix bogus gcc warning
14032
14033         * Makefile.am (lyx_SOURCES): remove vms_defines.h
14034
14035 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
14036
14037         * text2.C (setLayout): get rid of redundant code
14038
14039 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
14040
14041         * text2.C (incDepth): make sure depth cannot be increased beyond
14042         reasonable values.
14043
14044 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
14045
14046         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
14047         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
14048
14049         * PainterBase.h (image):
14050         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
14051         a LyXImage const *.
14052
14053 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
14054
14055         * BufferView.C:
14056         * BufferView.h:
14057         * BufferView_pimpl.C:
14058         * BufferView_pimpl.h:
14059         * LaTeXFeatures.C:
14060         * LyXAction.C:
14061         * LyXView.C:
14062         * Makefile.am:
14063         * UpdateList.h:
14064         * UpdateList.C:
14065         * buffer.C:
14066         * figure.h:
14067         * figureForm.C:
14068         * figureForm.h:
14069         * figure_form.C:
14070         * figure_form.h:
14071         * lyx_cb.C:
14072         * lyx_gui.C:
14073         * lyx_gui_misc.C:
14074         * lyxfunc.C:
14075         * sp_base.h:
14076         * sp_ispell.h:
14077         * sp_pspell.h:
14078         * sp_spell.C: remove fig inset, and the crap house of
14079           cards that follows it
14080
14081 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
14082
14083         * Makefile.am:
14084         * lyxserver.C:
14085         * os2_defines.h:
14086         * os2_errortable.h:
14087         * nt_defines.h: move .h into support/
14088
14089         * vms_defines.h: remove
14090
14091         * WorkArea.C: add space in debug output
14092
14093         * text2.C:
14094         * paragraph.C:
14095         * buffer.C: add WITH_WARNINGS
14096
14097         * vc-backend.h:
14098         * vc-backend.C:
14099         * bufferlist.C: s/retrive/retrieve/, add docs
14100
14101         * vspace.h:
14102         * vspace.C:
14103         * kbmap.h:
14104         * lyxlength.h:
14105         * lyxgluelength.h:
14106         * length_common.h:
14107         * chset.h:
14108         * chset.C: add docs
14109
14110         * lyxgui.C: add ID to X error handler
14111
14112         * lyxtestclass.c: fix typo
14113
14114 2002-02-26  Juergen Vigna  <jug@sad.it>
14115
14116         * tabular_funcs.C (write_attribute): changed so that some default
14117         attributes are not written at all.
14118         (getTokenValue): set default values before trying to read the
14119         value so we have the return value always set as default if we don't
14120         find the token we search for.
14121
14122         * tabular.C (Write): write bools as bools not as strings!
14123
14124 2002-02-22  Juergen Vigna  <jug@sad.it>
14125
14126         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
14127         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
14128
14129         * text.C (leftMargin): don't add an indent for paragraphs inside
14130         tabular cells (fix #208).
14131
14132 2002-02-21  José Matos  <jamatos@fep.up.pt>
14133
14134         * tabular.C (docBook): fixed support for long tables.
14135
14136 2002-02-20  Juergen Vigna  <jug@sad.it>
14137
14138         * text2.C (getFont): get the drawing font of the Inset if this
14139         paragraph is inside an inset (only important for InsetERT for now).
14140
14141         * buffer.C (insertErtContents): use new lanugage params in ERT
14142         constructor.
14143
14144         * CutAndPaste.C: commenting out seemingly uneeded code.
14145
14146 2002-02-19  Allan Rae  <rae@lyx.org>
14147
14148         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
14149         Iterators might be simple to use but they also get invalidated.
14150         (removeAutoInsets): renamed saved cursor tracking variables and added
14151         some comments to clarify what everything does.
14152
14153 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
14154
14155         * Chktex.C:
14156         * LaTeX.C:
14157         * LyXSendto.C:
14158         * converter.C:
14159         * lyx_cb.C:
14160         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
14161         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
14162
14163         * lyxfunc.C:
14164         * vc-backend.h: remove #include "support/syscall.h"
14165
14166         * LaTeX.C:
14167         * LyXSendto.C:
14168         * converter.C: rearrange #includes in Lars' approved fashion.
14169
14170         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
14171         forward declare class Timeout in the header file.
14172
14173         * XFormsView.C: changes due to the above.
14174
14175         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
14176         similar to LyXView.
14177
14178         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
14179         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
14180
14181 2002-02-18  José Matos  <jamatos@fep.up.pt>
14182
14183         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
14184         insets contents.
14185
14186 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14187
14188         * a lot of small ws changes
14189         * add a lot of using std::XXX
14190         * use std construcs some places where approp.
14191         * use some exisint stuff from lyxfunctional where approp.
14192         * Make file changes to use partial linking (lets test this now...)
14193
14194 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
14195
14196         * Chktex.C:
14197         * buffer.C:
14198         remove #include "support/syscontr.h" as it's redundant. Always has been.
14199
14200         * Chktex.C:
14201         * LaTeX.C:
14202         * LyXSendto.C:
14203         * converter.C:
14204         * lyx_cb.C:
14205         * vc-backend.C:
14206         change Systemcalls::System to Systemcalls::Wait and
14207         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
14208         No change of functionality, just reflects the stripped down Systemcalls
14209         class.
14210
14211 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
14212
14213         * debug.[Ch]: add a GRAPHICS type to the enum.
14214
14215 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14216
14217         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
14218
14219         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
14220         there is an inset.
14221
14222 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14223
14224         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
14225         match the changes below.
14226
14227         * text2.C (toggleInset): if there is not editable inset at cursor
14228         position, try to see if cursor is _inside_ a collapsable inset
14229         and close it.
14230
14231 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14232
14233         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
14234         document menu has a nice checkbox
14235
14236 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14237
14238         * lyxlength.C (asLatexString): change PW to output as percent of
14239         \textwidth.
14240
14241         * lengthcommon.C: change '%' to 't%'
14242
14243         * lyxfunc.C (dispatch): a few comments from Martin
14244
14245 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
14246
14247         * WorkArea.h:
14248         * WorkArea.C:
14249         * BufferView_pimpl.h:
14250         * BufferView_pimpl.C: clear our selection when X tells us we've lost
14251           the X selection.
14252
14253 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14254
14255         * vspace.C (inPixels): fix compiler warning
14256
14257 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14258
14259         * lyxfunc.C (getStatus): fix status message for disabled commands.
14260
14261 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
14262
14263         * BufferView_pimpl.C: fix crash on close buffer
14264         during selection (#227)
14265
14266 2002-01-27  Herbert Voss  <voss@lyx.org>
14267
14268         * buffer.C: link old Figure to new graphic inset
14269
14270 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14271
14272         * FontLoader.C (getFontinfo): Change the latex font names in order
14273         to match the names of type1inst.
14274
14275 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14276
14277         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
14278
14279         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
14280         (extchanged): ditto
14281         (ext_exist): ditto
14282         (remove_files_with_extension): ditto
14283         (remove_file): ditto
14284         (write): ditto
14285
14286         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
14287         document is smaller than the work area height. Do not initialize
14288         static variables to 0.
14289
14290 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14291
14292         * lyx_gui.C (init): give the toolbar tooltips a normal font.
14293
14294         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
14295         LFUN_LAYOUT_PARAGRAPHS.
14296
14297         * tabular.C (GetCellFromInset): new method. Finds an inset in a
14298         tabular. It is possible to provide a possible cell, which will
14299         typically be the actcell from the corresponding insettabular
14300
14301         * lyxfunc.C (getStatus): small cleanup; disable
14302         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
14303         true
14304
14305 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14306
14307         * tabular.C (Validate): remove broken optimization (fixes bug #201)
14308
14309         * paragraph.C (startTeXParParams):
14310         (endTeXParParams): new methods. The LaTeX code to
14311         start/end paragraph formatting
14312         (simpleTeXOnePar): call startTeXParParams also when paragraph is
14313         empty (fixes bug #200)
14314
14315         * vspace.C (inPixels): adapt to the change below
14316         (inPixels): [later] more cleanups (remove unused variables)
14317
14318         * lyxlength.C (inPixels): change to use a width and a height as
14319         parameter.
14320
14321 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14322
14323         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
14324         Replaced with \paperwidth
14325
14326         * DepTable.C (insert): add std:: qualifier
14327
14328 2002-01-18  Allan Rae  <rae@lyx.org>
14329
14330         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
14331         updated also?
14332
14333         * text.C (drawInset): Turned out I didn't know enough about how
14334         rebreaking worked.  This fixes most of the redraw problems.  I see
14335         an occasional cursor trail when a line is broken now and the cursor
14336         placement can seem out by a few pixels also after a rebreak.
14337
14338 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14339
14340         * buffer.C (parseSingleLyXformat2Token): update because minipage
14341         width is now a LyXLength
14342
14343         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
14344
14345         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
14346         math insets
14347
14348 2002-01-17  Juergen Vigna  <jug@sad.it>
14349
14350         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
14351
14352         * BufferView2.C (lockInset): call edit() so that theLockingInset()
14353         is set correctly and the inset is updated correctly.
14354
14355 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14356
14357         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
14358         the beginning of the loop.
14359
14360 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
14361
14362         * lyxrc.C: improve help for use_scalable_fonts
14363
14364 2002-01-17  Allan Rae  <rae@lyx.org>
14365
14366         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
14367
14368 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14369
14370         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
14371         make sure to set their inset_owner to the right value (bug #171)
14372
14373 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
14374
14375         * DepTable.h
14376         * DepTable.C: Implement mtime checking to reduce time spent doing
14377         CRCs.
14378
14379 2002-01-16  Juergen Vigna  <jug@sad.it>
14380
14381         * tabular.C (GetAdditionalHeight): one of error fixed.
14382
14383         * lyxrc.C (output): small fix in writing use_pspell.
14384
14385 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
14386
14387         * sp_base.h: #include LString.h
14388
14389 2002-01-16  Allan Rae  <rae@lyx.org>
14390
14391         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
14392         Can someone check this please?
14393
14394         * text.C (drawInset): It was possible that p.row would be removed by
14395         breakAgainOneRow upsetting a few other settings.  There may be another
14396         small tweak possible by setting need_break_row = 0 when p.row has been
14397         removed but I don't know enough about the logic here.
14398
14399 2002-01-15  Allan Rae  <rae@lyx.org>
14400
14401         * text.C (insertChar): removed conditional truism.
14402
14403         * BufferView2.C (removeAutoInsets): More tweaks.
14404         cur_par_prev could be a stray pointer.  Check for trailing empty line
14405         in case last line was cur_par and only had an error inset on it.
14406
14407 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14408
14409         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
14410         absolute
14411
14412         * vc-backend.C (most methods):
14413         * exporter.C (Export):
14414         * converter.C (convert):
14415         (runLaTeX):
14416         * LyXSendto.C (SendtoApplyCB):
14417         * lyxfunc.C (dispatch):
14418         (menuNew):
14419         (open):
14420         (doImport):
14421         * lyx_cb.C (AutoSave):
14422         (InsertAsciiFile):
14423         * BufferView_pimpl.C (MenuInsertLyXFile):
14424         * buffer.C (runChktex): use Buffer::filePath().
14425
14426         * buffer.h: rename filename to filename_; rename filepath to
14427         filepath_ and make it private
14428         (filePath): new method
14429
14430         * buffer.C (writeFile): use fileName()
14431         (getLatexName):
14432
14433         * lyx_main.C (init): fix starting  of LyX when the binary is a
14434         link from so,ewhere else.
14435
14436         * minibuffer.C: include <cctype> for isprint
14437
14438 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14439
14440         * buffer.C (parseSingleLyXformat2Token): changes associated with the
14441         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14442         name clash with InsetCollapsable's width function.
14443
14444 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14445
14446         * lastfiles.C: include <iterator>
14447
14448 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14449
14450         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14451         std::count.
14452
14453         * buffer.C (makeLaTeXFile): ditto.
14454         Also make loop operation more transparent.
14455
14456 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14457
14458         * ToolbarDefaults.C: remove trailing comma closing namespace.
14459
14460         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14461
14462         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14463         as in WorkArea.
14464
14465         * trans.C (Load): comment out unused variable, allowed.
14466
14467 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14468
14469         * minibuffer.[Ch] (append_char): new method to recieve input from the
14470         drop-down completion browser. If a key was pressed, then recieve this
14471         char and append it to the existing string.
14472         (peek_event): modify the positioning data passed to the completion
14473         browser so that it can be placed above the minibuffer rather than below.
14474 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14475
14476         * LyXAction.C (init): alloe error-next for readonly documents.
14477
14478         * BufferView2.C (ChangeRefsIfUnique): use standard version of
14479         count.
14480
14481 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14482
14483         * bufferlist.C (readFile): create the buffer _after_ checking that
14484         the file exists.
14485
14486         * lyxfunc.C (verboseDispatch): fix handling of arguments
14487
14488         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14489
14490         * lyxrc.C: use string::erase() instead of initializing to "".
14491
14492
14493 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14494
14495         * BufferView_pimpl.h:
14496         * BufferView_pimpl.C:
14497         * WorkArea.h:
14498         * WorkArea.C:
14499         * text2.C: tell X when we have made a selection for copying
14500
14501 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14502
14503         * BufferView_pimpl.C (MenuInsertLyXFile):
14504         * lyxfunc.C (menuNew):
14505         (open):
14506         (doImport): add shortcuts to directory buttons
14507
14508         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14509         open a float)
14510
14511         * lyxfunc.C (setStatusMessage):
14512         (getStatusMessage): new methods
14513         (getStatus):use setStatusMessage instead of setErrorMessage
14514         (dispatch): when function is disabled, set error message here
14515         [instead of in getStatus previously]
14516
14517         * BufferView_pimpl.C (workAreaButtonRelease): update
14518         toolbar/menubar here too.
14519
14520 2002-01-13  Allan Rae  <rae@lyx.org>
14521
14522         * BufferView2.C (removeAutoInsets): finished off earlier fix.
14523         Now seems indestructible.  Remaining task is to audit all other
14524         code affected by deleteEmptyParagraphMechanism.  One small quirk
14525         left is that an empty document with an error in the preamble can
14526         be made to report an error but no error box appears.  I don't know
14527         where it goes.
14528         (removeAutoInsets): Improved comments.
14529
14530 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
14531
14532         * Thesaurus.h:
14533         * Thesaurus.C: update for Aiksaurus 0.14
14534
14535 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14536
14537         * text2.C (firstParagraph): removed member function, all uses
14538         replaces with ownerParagraph
14539         (redoParagraphs): here
14540         (updateInset): here
14541         (toggleAppendix): here
14542         * BufferView2.C (insertErrors): here
14543         (setCursorFromRow): here
14544
14545 2002-01-13  Allan Rae  <rae@lyx.org>
14546
14547         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14548         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14549         There is still a way to segfault this although you may have to do this
14550         multiple times: Have an InsetERT with an unknown command in it.
14551         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14552         <down-arrow>, <Enter> again, View->DVI, BANG!
14553
14554         * text2.C (setCursor):
14555         (deleteEmptyParagraphMechanism):
14556         * lyxtext.h (setCursor):
14557         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14558         Making use of the return value may help fix other bugs.
14559
14560 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14561
14562         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14563
14564         * LyXView.C (updateMenubar): call MenuBar::update here
14565         (updateToolbar): but not here
14566         (showState): do not update toolbar/menubar
14567
14568         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14569         should need to care about that.
14570
14571         * lyxfunc.C (verboseDispatch): simplify a bit
14572         (getStatus): have a version which takes a pseudoaction, and
14573         another which requires a (kb_action,string).
14574
14575         * LyXAction.C (retrieveActionArg): make it work also when action
14576         is not a pseudo-action.
14577         (getActionName): simplify a bit
14578         (helpText):
14579
14580 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14581
14582         * lyxfunc.C (verboseDispatch): new families of methods with
14583         several ways to specify a command and a bool to indicate whether
14584         the command name and shortcut should be displayed in minibuffer
14585         (eventually, we could extend that to a finer bitmask like
14586         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14587         (dispatch): the pristine dispatch command which just, well,
14588         dispatchs! Note it still sets its result to minibuffer; I'm not
14589         sure we want that.
14590
14591         * lyxfunc.h: remove setHintMessage
14592
14593         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14594
14595 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14596
14597         * BufferView_pimpl.C (specialChar): delete new inset if we have
14598         not been able to insert it.
14599
14600         * kbmap.C: revert to using int instead of kb_action, since all we
14601         are dealing with is pseudo-actions.
14602
14603         * LyXAction.C (searchActionArg): change to return int instead of
14604         kb_action, since the result is a pseudoaction.
14605
14606 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
14607
14608         * buffer.C (insertErtContents): Fix (partially) the font bug.
14609
14610 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14611
14612         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14613         as the other one is broken on my machine!
14614
14615 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
14616
14617         * commandtags.h:
14618         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14619
14620 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
14621
14622         * lyxrc.[Ch]: change names and descriptions of popup font variables to
14623         reflect their actual use. Provide compatibility code for older lyxrc
14624         files.
14625
14626         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14627         FL_NORMAL_STYLE.
14628         change names of popup font variables in line with the changes to lyxrc.C
14629
14630 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14631
14632         * buffer.C (asciiParagraph): avoid outputing a word twice after
14633         an inset.
14634
14635         * lyxrc.C (getDescription): document that document_path and
14636         template_path can be empty.
14637
14638 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14639
14640         * LaTeXFeatures.C (getMacros):
14641         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14642
14643         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14644
14645         * LaTeXFeatures.C (useFloat): require "float" here instead of in
14646         getPackages.
14647         (getPackages): rename feature "floats" to "float". Use an array to
14648         iterate over 'simple' features (i.e. just a \usepackage). Add
14649         handling of "amsmath" (renamed from "amsstyle").
14650
14651 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
14652
14653         * LaTeXFeatures.C (require): Prevent duplicate entries in the
14654         features list.
14655
14656 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
14657
14658         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14659         FuncStaus::FuncStatus & FuncStaus::some_method().
14660
14661 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
14662
14663         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14664         of the func_satus stuff. Edited and massaged in various ways by
14665         JMarc.
14666
14667         * lyxfunc.C (getStatus): use FuncStatus
14668
14669 2002-01-08  Juergen Vigna  <jug@sad.it>
14670
14671         * text.C (nextBreakPoint): use function Inset::isChar().
14672
14673         * paragraph.C (TeXOnePar): use function
14674         Inset::forceDefaultParagraphs.
14675
14676         * buffer.C (latexParagraphs): use function
14677         Inset::forceDefaultParagraphs.
14678
14679 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14680
14681         * lyx_gui.C (init): set the style of the menu popups to
14682         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14683
14684 2002-01-07  Juergen Vigna  <jug@sad.it>
14685
14686         * text.C (setHeightOfRow): small fix
14687         (prepareToPrint): don't look at alignment if we don't have the place
14688         for doing it.
14689
14690 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14691
14692         * box.C: New file. Move the Box methods and functions out of box.h,
14693         following Lars' suggestion.
14694
14695 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14696
14697         * box.h: #include "support/LOstream.h", needed for inlined function.
14698
14699         * lyxtextclass.C:
14700         * lyxtextclasslist.C: added some using std declarations.
14701
14702 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
14703
14704         * box.h: make signed dimensions to allow insets wider than
14705           the screen (bug #162)
14706
14707         * BufferView_pimpl.C: add some insetHit debug
14708
14709 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
14710
14711         * vc-backend.C: add FIXME
14712
14713 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14714
14715         * lyxfunc.C (getStatus): enable code for showing math font status
14716         in toolbar/menu.
14717
14718 2002-01-07  Juergen Vigna  <jug@sad.it>
14719
14720         * text.C (nextBreakPoint): removed debug output not needed anymore.
14721
14722 2002-01-06  Juergen Vigna  <jug@sad.it>
14723
14724         * text.C (nextBreakPoint): fixed up this function we had this bug
14725         since ever but now hopefully we break row better.
14726         (insertChar): we have to check if an inset is the next char as it
14727         could now happen that a large inset is causing a break.
14728
14729 2002-01-05  Juergen Vigna  <jug@sad.it>
14730
14731         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14732         if it doesn't like to be drawed.
14733
14734 2002-01-04  Juergen Vigna  <jug@sad.it>
14735
14736         * BufferView2.C (lockInset): forgot to set a cursor.
14737
14738         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14739
14740 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
14741
14742         * FormMathsPanel.C:
14743         * FormMathsPanel.h
14744         * MathsSymbols.C:
14745         * form_maths_panel.C:
14746         * form_maths_panel.h:
14747         * form_maths_panel.fd: implemented sub- and super- buttons in math
14748         panel.
14749
14750         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14751         (or ^ space) to be used as in TeX (req'd by Andr�.
14752
14753         * lyxfunc.C: Allow ^ and _ again to be used both as
14754         super/subscript (mathed) and as themselves (in text).
14755
14756 2002-01-03  Allan Rae  <rae@lyx.org>
14757
14758         * LyXView.C (updateWindowTitle): Setup a short icon title of either
14759         "LyX" or the filename of the current buffer if it has one.  This is a
14760         modified form of John Levon's patch.
14761
14762         * XFormsView.C (setWindowTitle): also set icon title.
14763
14764         * LyXView.h (setWindowTitle): signature changed.
14765         * XFormsView.h (setWindowTitle): ditto.
14766
14767 2002-01-02  Juergen Vigna  <jug@sad.it>
14768
14769         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14770
14771 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14772
14773         * screen.C (topCursorVisible): introduce a temp var for
14774         text->cursor.row(), handle the case where this row is null. (kindo
14775         hachish)
14776
14777         * text2.C (setCursor): add a couple of asserts.
14778
14779         * paragraph.h (inset_iterator): add -> operator
14780
14781         * paragraph.[Ch] (autoDeleteInsets): remove member function
14782
14783         * BufferView2.C (removeAutoInsets): rewrite to handle the old
14784         cursor pos correctly and handle inset deletion by itself.
14785         (insertErrors): move iterator declaration out of for expression
14786
14787         * lyxtextclass.C: add <algorithm>
14788
14789         * Makefile.am: added the new files to sources, removed layout.C
14790
14791         * layout.C: removed file
14792
14793         * layout.h: remove LYX_DUMMY_LAYOUT
14794
14795         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14796         layout.
14797
14798         * lyxlayout.[Ch]:
14799         * lyxtextclass.[Ch]:
14800         * lyxtextclasslist.[Ch]: new files
14801
14802         * include order changes to a lot of files, also changes because of
14803         the six new files.
14804
14805 2001-12-27  Juergen Vigna  <jug@sad.it>
14806
14807         * buffer.C (asciiParagraph): more fixes.
14808
14809         * tabular.C (ascii): make ascii export support export of only the
14810         data separated by a column-delimiter.
14811         (ascii): better support for ascii export.
14812
14813         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14814
14815 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14816
14817         * tabular_funcs.C: use a "using std::getline" instead of the
14818         previous fix from Angus (necessary for cxx + lyxstring)
14819
14820 2001-12-24  Juergen Vigna  <jug@sad.it>
14821
14822         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14823
14824         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14825         problems. First check a minipage also if we have some ert-contents
14826         (not only on par->size(), second set the right depth of the paragraph
14827         on the relink to the root-paragraph-list!
14828
14829         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14830         which then did not anymore update the main paragraphs on undo/redo!
14831
14832 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14833
14834         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14835         code. Support all font-changing funcs (even those which are not in
14836         menu currently). Support for reporting font settings in
14837         mathed (disabled until Andre provides a function on mathed's side).
14838
14839         * func_status.h (toggle): small helper function to set toggle
14840         state on a flag.
14841
14842 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
14843
14844         * tabular_funcs.C: getline -> std::getline
14845
14846 2001-12-21  Juergen Vigna  <jug@sad.it>
14847
14848         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14849         accessed and could be 0 (I couldn't generate this but it seems
14850         Michael could!).
14851
14852 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14853
14854         * tabular_funcs.C: add LIstream.h, move write_attribute to..
14855         * tabular_funcs.h: here and include iosfwd
14856
14857 2001-12-20  Juergen Vigna  <jug@sad.it>
14858
14859         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14860         inside inset but undo_par was.
14861
14862 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14863
14864         * Thesaurus.C: always include <config.h> in sources.
14865
14866         * Painter.h:
14867         * lyxlookup.h:
14868         * box.h: do not include <config.h> in header files
14869
14870         * text.C (paintLastRow): remove unused variable
14871
14872         * text.C (transformChar):
14873         (insertChar):
14874         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14875
14876         * Painter.C (text):
14877         * font.C (width): rewrite to use uppercase() instead of
14878         islower/toupper.
14879
14880         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14881
14882 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
14883
14884         * lyxfind.C: clean up of find failure position change
14885
14886 2001-12-20  Juergen Vigna  <jug@sad.it>
14887
14888         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14889
14890         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14891         (TeXRow): added to LaTeX a single tabular row.
14892         (TeXLongtableHeaderFooter): added to output LT-h/f data.
14893         (Latex): simplified and finally good LT-h/f support.
14894         (various_functions): just small adaptions for LT-h/f support.
14895
14896         * tabular_funcs.[hC]: added and moved here all not classfunctions
14897         of LyXTabular.
14898
14899 2001-12-19  Juergen Vigna  <jug@sad.it>
14900
14901         * tabular.[Ch]: better support for longtabular options (not finished
14902         yet!)
14903
14904 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14905
14906         * text.C (paintLastRow): use the label font instead of the font of
14907         the last character to compute the size of *_BOX. This makes more
14908         sense and avoids a crash with empty paragraphs.
14909         Use Painter::rectangle to draw EMPTY_BOX.
14910
14911 2001-12-19  Juergen Vigna  <jug@sad.it>
14912
14913         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14914         the paragraphs if the replaced paragraph is not the first one!
14915         Tried to delete not used paragraphs but does not work yet so for
14916         now it's inside #ifdef's and by default off!
14917
14918 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14919
14920         * MenuBackend.C: include "lyx_main.h" instead of declaring
14921         lastfiles (actually was declared as LastFiles* instead of a
14922         scoped_ptr).
14923
14924 2001-12-17  Juergen Vigna  <jug@sad.it>
14925
14926         * tabular.C (AppendColumn): applied John's fix
14927
14928 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
14929
14930         * BufferView.h:
14931         * BufferView.C:
14932         * BufferView_pimpl.h:
14933         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14934
14935         * Makefile.am:
14936         * box.h: new start of class for above
14937
14938         * lyxfunc.C: ignore space-only minibuffer dispatches.
14939           Show the command name when it doesn't exist
14940
14941         * minibuffer.C: don't add empty lines to the history
14942
14943         * minibuffer.C: add a space on dropdown completion
14944
14945 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
14946
14947         * text.C: fix line above/below drawing in insets
14948
14949 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14950
14951         * lyxlength.C (LyXLength): Initialize private variables.
14952
14953 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
14954
14955         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14956         when inserting error insets.
14957
14958 2001-12-13  Juergen Vigna  <jug@sad.it>
14959
14960         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14961         actually sometimes the before-paragraph.
14962         (setUndo): don't clear the redostack if we're not actually undoing!
14963
14964 2001-12-06  Juergen Vigna  <jug@sad.it>
14965
14966         * undo_funcs.C (textHandleUndo): well after John's hint I got here
14967         and fixed redoing of main paragraph, so we can use it now ;)
14968
14969         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14970
14971 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14972
14973         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14974         Juergen's request
14975
14976 2001-12-13  André Pönitz <poenitz@gmx.net>
14977
14978         * undostack.[Ch]:
14979         * undo_func.C: minor cleanup
14980
14981 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14982
14983         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14984         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14985         font in urw-fonts package which is marked as -urw-fontspecific and
14986         does not work (incidentally, changing the encoding in the
14987         fonts.dir of this package to -adobe-fontspecific fixes the
14988         problem).
14989
14990         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14991         is a crash when undoing first paragraph (Juergen, please take a
14992         look). THis does not mean the undo fix is wrong, just that it
14993         uncovers problems.
14994
14995         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14996         the (Paragraph*) version when needed instead of duplicating the
14997         code.
14998
14999         * text.C (workWidth): use Inset::parOwner to find out where the
15000         inset has been inserted. This is a huge performance gain for large
15001         documents with lots of insets. If Inset::parOwner is not set, fall
15002         back on the brute force method
15003
15004         * paragraph_pimpl.C (insertInset):
15005         * paragraph.C (Paragraph):
15006         (cutIntoMinibuffer): set parOwner of insets when
15007         inserting/removing them
15008
15009         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
15010
15011 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
15012
15013         * commandtags.h:
15014         * LyXAction.C:
15015         * lyx_main.C:
15016         * lyxfunc.C:
15017         * mathed/formulabase.C:
15018         * mathed/math_cursor.[Ch]:
15019         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
15020
15021
15022 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15023
15024         * lyxlength.[Ch] (operator!=): new function
15025
15026 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
15027
15028         * text.C (workWidth): use Inset::parOwner to find out where the
15029         inset has been inserted. This is a huge performance gain for large
15030         documents with lots of insets. If Inset::parOwner is not set, fall
15031         back on the brute force method
15032
15033         * paragraph_pimpl.C (insertInset):
15034         * paragraph.C (Paragraph):
15035         (cutIntoMinibuffer): set parOwner of insets when
15036         inserting/removing them
15037
15038         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
15039
15040 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
15041
15042         * tabular-old.C (getTokenValue):
15043         * tabular.C (getTokenValue):
15044         (write_attribute): new versions for LyXLength
15045         (everywhere): adjust the use of widths
15046
15047         * tabular.h: change the type of widths from string to LyXLength
15048
15049 2001-12-11  Ben Stanley <bds02@uow.edu.au>
15050
15051         * paragraph.C: fixed missing line number count when exporting
15052         Environments to LaTeX file
15053
15054         * buffer.C: added informational message for checking line numbers.
15055
15056 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
15057
15058         * text2.C (deleteEmptyParagraphMechanism): if there is only one
15059         paragraph, do the 'double space' part, but not the 'empty
15060         paragraph' one.
15061
15062         * text.C (workWidth): small optimization
15063         (getLengthMarkerHeight): use minimal size for negative lengths.
15064
15065 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
15066
15067         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
15068
15069         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
15070
15071 2001-12-11  André Pönitz <poenitz@gmx.net>
15072
15073         * FontLoader.C:
15074         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
15075
15076 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
15077
15078         * text2.C: keep selection on a setFont()
15079
15080 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
15081
15082         * lyx_cb.C: another bv->text misuse, from insert label
15083
15084 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
15085
15086         * kbsequence.h:
15087         * kbsequence.C: re-instate nmodifier mask
15088
15089 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
15090
15091         * lyx_main.h: make lyxGUI private.
15092
15093 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
15094
15095         * lyxfind.C: place the cursor correctly on failed search
15096
15097 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
15098
15099         * text.C (getLengthMarkerHeight): for small heights, the arrows
15100         are not always on top/bottom of the text
15101         (drawLengthMarker): smaller arrows; take the left margin in
15102         account; draw also vfills.
15103         (paintFirstRow):
15104         (paintLastRow): remove special code for vfill and standard spaces,
15105         since everything is handled in drawLengthMarker now.
15106
15107 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15108
15109         * buffer.C (insertErtContents): try to handle font and language
15110         interaction a bit better.g
15111
15112         * ColorHandler.C (updateColor): change the hash to cover the whole
15113         LColor enum, ws cleanup
15114         (getGCLinepars): ditto
15115         (getGCLinepars): only lookup in the linecache once.
15116
15117 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
15118
15119         * iterators.C (operator++): Make the iterator more robust
15120
15121         * BufferView2.C (removeAutoInsets): Use paragraph iterators
15122         (John's patch)
15123         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
15124
15125 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15126
15127         * lyxtext.h:
15128         * text.C: better added space drawing
15129
15130 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15131
15132         * LyXView.C:
15133         * BufferView2.C: fix layout combo update on inset unlock
15134
15135 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15136
15137         * Makefile.am: don't compile unused files
15138
15139 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15140
15141         * lyxfunc.C:
15142         * commandtags.h:
15143         * LyXAction.C: remove old LFUN_LAYOUTNO
15144
15145 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15146
15147         * paragraph_pimpl.h:
15148         * paragraph_pimpl.C: isTextAt() doesn't need font param
15149
15150 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15151
15152         * lyxlex.h:
15153         * lyxlex.C: little cleanup
15154
15155 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15156
15157         * BufferView_pimpl.C: fix insertAscii for insets
15158
15159 2001-12-05  Juergen Vigna  <jug@sad.it>
15160
15161         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
15162         set the right font on the "multi" paragraph paste!
15163
15164 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15165
15166         * trans_decl.h:
15167         * trans_mgr.[Ch]:
15168         * trans.[Ch]:
15169         * lyxgluelength.C:
15170         * lyxlength.C: remove out-commented code.
15171
15172         * BufferView_pimpl:
15173         * CutAndPaste.C:
15174         * DepTable.C:
15175         * buffer.C:
15176         * chset.C:
15177         * lastfiles.C:
15178         * lyxlex.C:
15179         * lyxlex_pimpl.C:
15180         * lyxserver.C:
15181         * screen.C:
15182         * tabular-old.C:
15183         * tabular.C:
15184         * text.C:
15185         * trans_mgr.C:
15186         * vc-backend.C: change "while(" to "while ("
15187
15188         * lyxlength.[Ch]: add zero function to check if length is zero or
15189         not
15190         * lyxgluelength.C: use it
15191
15192 2001-12-05  Allan Rae  <rae@lyx.org>
15193
15194         * lyxlength.C: Attempted a fix for the abs(int) header selection.
15195         Works for 2.95.3, from what I understand of Garst's reports this should
15196         work for other g++ versions.  We're screwed if the abs(int) definition
15197         changed between bugfix releases of gcc.
15198
15199 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
15200
15201         * text.C: fix chapter label offset !
15202
15203 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
15204
15205         * lyxtext.h:
15206         * text.C: fix hfill at end of line, clean up
15207
15208 2001-12-04  Juergen Vigna  <jug@sad.it>
15209
15210         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
15211         that we force an update of the inset and it's owners if neccessary.
15212
15213 2001-12-03  Juergen Vigna  <jug@sad.it>
15214
15215         * text.C (rowLast): simplified code
15216
15217 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
15218
15219         * lyxfunc.C: fix show options on timeout
15220
15221 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15222
15223         * screen.C (topCursorVisible): scroll half a page when the cursor
15224         reached top of bottom of screen
15225
15226 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
15227
15228         * minibuffer.C: deactivate on loss of focus
15229
15230 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15231
15232         * vspace.[Ch] (operator!=): add operator.
15233
15234 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
15235
15236         * BufferView_pimpl.C: refuse to open an inset when
15237         there's a selection.
15238
15239 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
15240
15241         * BufferView_pimpl.C: allow to click on RHS of full row insets
15242
15243 2001-11-30  Juergen Vigna  <jug@sad.it>
15244
15245         * tabular.C (LyXTabular): add a same_id to set the same id's in the
15246         insets for undo reasons.
15247
15248 2001-11-28  André Pönitz <poenitz@gmx.net>
15249
15250         * vspace.[Ch]: cosmetical changes
15251
15252 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15253
15254         * LyXAction.h:
15255         * LyXAction.C:
15256         * lyxfunc.h:
15257         * lyxfunc.C:
15258         * kbmap.h:
15259         * kbmap.C:
15260         * lyxrc.C:
15261         * kbsequence.h:
15262         * kbsequence.C: part re-write of old kb code
15263
15264         * Painter.C:
15265         * WorkArea.C: remove Lgb_bug_find_hack
15266
15267 2001-11-30  José Matos <jamatos@fep.up.pt>
15268
15269         * buffer.C (makeDocBookFile): add a comment to point a hack.
15270         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
15271         Fixed a double write of labels.
15272
15273 2001-11-29 Ben Stanley <bds02@uow.edu.au>
15274
15275         * LaTeX.C:
15276         * LaTeX.h Fixed bug in LaTeX class where it would not
15277         re-run latex if no depfiles were changed, but the .dvi was removed.
15278
15279 2001-11-28  André Pönitz <poenitz@gmx.net>
15280
15281         * all the files from the change on 2001/11/26:
15282         use lyx::layout_type instead of LyXTextClass::size_type
15283         use lyx::textclass_type instead of LyXTextClassList::size_type
15284
15285 2001-11-29  Juergen Vigna  <jug@sad.it>
15286
15287         * text.C: added support for paragraph::isFreeSpacing()
15288
15289         * buffer.C: same as above
15290
15291         * paragraph.h: inserted isFreeSpacing() function to enable
15292         FreeSpacing inside InsetERT.
15293
15294         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
15295         of the paragraph's in the cut/copy buffer to 0!
15296
15297         * text2.C (removeRow): remove the assert as it can!
15298
15299         * lyxtext.h: added helper function firstRow returning firstrow and
15300         made firstrow private again.
15301
15302         * BufferView2.C (lockInset): don't relock if we're already locked!
15303
15304         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
15305         the only paragraph.
15306         (removeRow): added Assert::(firstrow)
15307
15308         * debug.C: forgot to add INSETTEXT here.
15309
15310 2001-11-28  Juergen Vigna  <jug@sad.it>
15311
15312         * sp_spell.C (initialize): changed error text to more general
15313         spellchecker command use (not only ispell!)
15314
15315         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
15316
15317         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
15318
15319 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15320
15321         * vspace.C: initialise lyxgluelength on failure
15322
15323 2001-11-28  Allan Rae  <rae@lyx.org>
15324
15325         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
15326         declaration & definition that looks like a function declaration.
15327
15328 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15329
15330         * BufferView2.C (copy):
15331         (copyEnvironment): do not clear the selection when doing a copy.
15332
15333         * text.C (paintFirstRow): compilation fix
15334
15335 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
15336
15337         * tabular.C (Latex): correct line count when writing latex.
15338
15339 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
15340
15341         * paragraph_pimpl.h:
15342         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
15343           bug a bit
15344
15345 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15346
15347         * text.C:
15348         * LColor.h:
15349         * LColor.C: change vfillline->added_space
15350
15351         * text.C: add markers and text for added space
15352
15353         * vspace.C: fix comment
15354
15355 2001-11-28  André Pönitz <poenitz@gmx.net>
15356
15357         * paragraph.C: whitespace changes
15358         * all the other files from the change on 2001/11/26:
15359         change *::pos_type into lyx::pos_type
15360
15361 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
15362
15363         * buffer.C (parseSingleLyXformat2Token): Set the language to the
15364         language of the document when inserting error insets.
15365
15366 2001-11-26  André Pönitz <poenitz@gmx.net>
15367
15368         * BufferView_pimpl.[Ch]:
15369         *       CutAndPaste.C:
15370         * buffer.[Ch]:
15371         * lyxcursor.[Ch]:
15372         * lyxfind.C:
15373         * lyxfunc.C:
15374         * lyxrow.[Ch]:
15375         * paragraph.[Ch]:
15376         * paragraph_pimpl.[Ch]:
15377         * sp_spell.C:
15378         * text.C:
15379         * text2.C: reduce header dependencies, introduce type for positions
15380
15381 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15382
15383         * <various>: change to use Alert.h
15384
15385 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
15386
15387         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
15388         when encountering an unknown token.
15389         (readLyXformat2): Show an error message if there were unknown tokens.
15390
15391 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
15392
15393         * BufferView2.C:
15394         * BufferView_pimpl.C:
15395         * buffer.C:
15396         * paragraph.h:
15397         * text.C:
15398         * text2.C: use par->isInset()
15399
15400 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15401
15402         * paragraph_pimpl.h:
15403         * paragraph_pimpl.C: cleanup
15404
15405 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15406
15407         * text2.C (removeRow):
15408         * text.C (setHeightOfRow): remove useless (and costly) call to
15409         getRow.
15410
15411 2001-11-20  Allan Rae  <rae@lyx.org>
15412
15413         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
15414         Now need Inset*::checkInsertChar() to return true for appropriate
15415         cases so that the characters in the minibuffer will actually be
15416         inserted.
15417
15418 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15419
15420         * text.C: change the order of the includes.
15421         (workWidth): initialize it at once.
15422         (workWidth): make maxw unsigned
15423         (setHeightOfRow): remove unused variable (inset)
15424         (selectSelectedWord): remove unused variable (inset)
15425         (paintRowText): fix drawing of hfill characters, and clean up a bit.
15426
15427 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15428
15429         * lyxserver.C (emergencyCleanup): do not try to close pipes if
15430         server is not running.
15431         (openConnection):
15432         (closeConnection): add debug info when server is disabled.
15433
15434         * ColorHandler.C (getGCForeground): send debug message to GUI
15435         channel.
15436
15437         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15438
15439         * kbmap.C (bind): modify because return conventions of
15440         kb_sequence::parse have changed.
15441
15442         * kbsequence.C (parse): only ignore spaces and not any stupid
15443         control character. This avoids tests like s[i] <= ' ', which are
15444         guaranteed to fail with 8bit characters and signed chars.
15445         Change return code to string::npos when there have been no error
15446         (0 was a bad idea when error is at first character)
15447
15448 2001-11-14  José Matos  <jamatos@fep.up.pt>
15449
15450         * buffer.h:
15451         * buffer.C (simpleDocBookOnePar): removed unused argument.
15452
15453 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15454
15455         * text.C (selectNextWordToSpellcheck): do not test explicitely for
15456         insets which are part of a word. Paragraph::isLetter takes care of
15457         that now. Use Paragraph::isInset to identify insets.
15458         (selectSelectedWord): do not test for hyphenation break.
15459
15460         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15461         that protected spaces are considered as spaces.
15462
15463         * paragraph.C (isLetter): cleanup the code for ispell extras; use
15464         Inset::isLetter.
15465
15466 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
15467
15468         * lyxserver.h:
15469         * lyxserver.C: fix it. and small cleanup.
15470
15471 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15472
15473         * BufferView_pimpl.C: use inline helpers
15474
15475         * LaTeXFeatures.h:
15476         * LaTeXFeatures.C: fix typos
15477
15478         * Spacing.h:
15479         * Spacing.C: move spacing_string into class
15480
15481         * ToolbarDefaults.C: move stuff into namespace anon
15482
15483         * layout.h: update enum
15484
15485         * lyxfunc.C: use better debug
15486
15487         * minibuffer.h: fix typo
15488
15489         * debug.h:
15490         * debug.C:
15491         * WorkArea.C: add and use Debug::WORKAREA
15492
15493         * lyxtext.h:
15494         * text.C:
15495         * text2.C: code re-organisation, inline helpers
15496
15497 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
15498
15499         * Layout.C: replaced a few cases of std::vector.size() == 0 with
15500         std::vector.empty().
15501
15502 2001-11-09  Allan Rae  <rae@lyx.org>
15503
15504         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15505         '\n's after tables.  Tabular and ERT inset work now makes this no
15506         longer necessary.
15507
15508 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15509
15510         * minibuffer.h:
15511         * minibuffer.C: fix crash, improve drop-down completion
15512
15513 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
15514
15515         * lyxserver.h:
15516         * lyxserver.C: invalidate fd's when doing endPipe()
15517
15518 2001-11-08  José Matos  <jamatos@fep.up.pt>
15519
15520         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15521         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15522
15523         * paragraph.h:
15524         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15525
15526 2001-11-07  José Matos  <jamatos@fep.up.pt>
15527
15528         * buffer.h:
15529         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15530         const qualifier.
15531
15532         * buffer.C (sgmlOpenTag):
15533         * buffer.C (sgmlCloseTag): removed debug info.
15534
15535         * buffer.h (sgmlOpenTag):
15536         * buffer.h (sgmlCloseTag): made public.
15537
15538 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15539
15540         * buffer.C (saveParamsAsDefaults):
15541         * lyx_cb.C (MenuLayoutSave): remove
15542
15543         * LyXAction.C (init):
15544         * commandtags.h:
15545         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15546
15547 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15548
15549         * buffer.C (setPaperStuff): removed from here...
15550
15551         * bufferparams.C (setPaperStuff): ... and moved there.
15552
15553 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
15554
15555         * minibuffer.h:
15556         * minibuffer.C:
15557         * XFormsView.C: add support for drop-down completion
15558
15559 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
15560
15561         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15562         commands.
15563
15564 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15565
15566         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15567         disabled.
15568
15569 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
15570
15571         * lyx_main.C: change ref to known bugs
15572
15573 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
15574
15575         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15576         to work around older babel problems.
15577
15578 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15579
15580         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15581
15582 2001-10-24  Juergen Vigna  <jug@sad.it>
15583
15584         * tabular-old.C (ReadOld): below variable changes reflected.
15585
15586         * tabular.[Ch]: added ltType struct for longtable header/footer
15587         defines and changed all instances where they are used. Added
15588         future support for double top/bottom rows.
15589
15590 2001-10-24  José Matos  <jamatos@fep.up.pt>
15591
15592         * buffer.h (docbookHandleCaption):
15593         * buffer.C (docbookHandleCaption): removed unused function.
15594         (makeDocBookFile): moved docbook supported version to v4.1.
15595
15596 2001-10-24  José Matos  <jamatos@fep.up.pt>
15597
15598         * tabular.h:
15599         * tabular.C (docbookRow): new function to export docbook code of a row.
15600         (DocBook): now honors the longtable flags.
15601
15602 2001-10-23  José Matos  <jamatos@fep.up.pt>
15603
15604         * LaTeXFeatures.h:
15605         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15606         of the lyx defined sgml entities used in a docbook/linuxdoc document.
15607
15608         * buffer.C (makeLinuxDocFile):
15609         (makeDocBookFile): reworked the preamble, more clean, and with
15610         support for lyx defined entities. Changed the document declaration
15611         to be more XML friendly.
15612
15613         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15614         if we need to output XML that should be done with a filter.
15615
15616 2001-10-22  Juergen Vigna  <jug@sad.it>
15617
15618         * sp_pspell.h (class PSpell): add alive function needed in the
15619         controller to see if the spellchecker could be started.
15620
15621 2001-10-22  Juergen Vigna  <jug@sad.it>
15622
15623         * buffer.C (insertStringAsLines): modify the font for inserting
15624         chars in certain conditions by calling checkInsertChar(font).
15625
15626 2001-10-19  Juergen Vigna  <jug@sad.it>
15627
15628         * text.C (workWidth): use getRow instead of wrong algorithm.
15629         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15630
15631 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
15632
15633         * lyxserver.h:
15634         * lyxserver.C:
15635         * lyx_main.h:
15636         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15637
15638 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15639
15640         * text.C (workWidth): do not search for the exact row when
15641         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15642         optimization for big documents.
15643
15644 2001-10-18  Juergen Vigna  <jug@sad.it>
15645
15646         * text.C (workWidth): new function with added Inset * parameter.
15647
15648 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15649
15650         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15651
15652         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15653         change return type of getColumnNearX.
15654
15655
15656         * text.C (changeRegionCase): use uppercase/lowercase instead of
15657         toupper/tolower.
15658         (leftMargin):
15659         (rightMargin): simplify code by factoring out the uses of
15660         textclasslist.
15661         (labelFill):
15662         (numberOfHfills):
15663         (setHeightOfRow):
15664         (appendParagraph): use Paragraph::size_type
15665
15666 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15667
15668         * vspace.C (asLatexString): add a missing break
15669
15670 2001-10-15  Herbert Voss  <voss@perce.de>
15671
15672         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15673
15674 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15675
15676         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15677         is not available.
15678
15679 2001-10-10  André Pönitz <poenitz@gmx.net>
15680
15681         * lyxfunc.C: removed greek_kb_flag.
15682
15683 2001-10-10  Herbert Voss  <voss@perce.de>
15684
15685         * lyx_main.C: delete global string help_lyxdir.
15686
15687 2001-10-09  Herbert Voss  <voss@perce.de>
15688
15689         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15690
15691         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15692
15693         * lyx_main.C: added global string help_lyxdir.
15694
15695         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15696
15697 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15698
15699         * lyxrc.C (set_font_norm_type): support iso8859-4
15700
15701 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
15702
15703         * LaTeX.C (deplog): add another regex for MikTeX
15704
15705 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15706
15707         * lyxrc.C (set_font_norm_type): support iso8859-3
15708
15709 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15710
15711         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15712
15713         * LaTeXFeatures.C: remove special case of french and index
15714
15715         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15716         before \begin{document}). This solves several incompatibilities.
15717
15718 2001-10-03  Garst Reese  <reese@isn.net>
15719
15720         * lyx_cb.C: change CheckTex error msg.
15721
15722 2001-10-03  José Matos  <jamatos@fep.up.pt>
15723
15724         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15725
15726 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15727
15728         * .cvsignore: update
15729
15730         * lyx_main.C (commandLineVersionInfo): use new style version info.
15731
15732         * buffer.C (writeFile):
15733         (makeLaTeXFile):
15734         (makeLinuxDocFile):
15735         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15736
15737         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15738
15739         * version.h: update to use stuff in version.C
15740
15741         * version.C.in: new file. Contains version information determined
15742         at compile time. This is a merging of version.h and
15743         version_info.h.in.
15744
15745 2001-10-03  Juergen Vigna  <jug@sad.it>
15746
15747         * BufferView_pimpl.C (update): don't change "dirty" status in
15748         updateInset call.
15749
15750 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
15751
15752         * WorkArea.C (c-tor): re-position version string slightly.
15753
15754 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
15755
15756         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15757         revert to previous code.
15758
15759         WorkArea.[Ch]: (show, destroySplash): methods removed.
15760
15761         WorkArea.C: rework code so that it's an amalgam of the codes before and
15762         after the splash screen was moved to WorkArea.
15763
15764 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15765
15766         * lyxrc.C (read):
15767         * vspace.C (inPixels):
15768         (lyx_advance):
15769         * kbmap.C (bind):
15770         * buffer.C (insertStringAsLines):
15771         (asciiParagraph): fix types to be large enough
15772
15773         * lyxlex_pimpl.h: change member status from short to int
15774
15775         * layout.h: fix type of endlabeltype
15776
15777         * kbmap.C (bind):
15778         * kbsequence.C (parse): change return type to string::size_type
15779
15780         * LaTeX.C (updateBibtexDependencies): comment out unneeded
15781         variable
15782
15783         * Bullet.C (bulletSize):
15784         (bulletEntry): do not use short ints as parameters
15785
15786         * BufferView2.C (insertLyXFile): change a char to an int.
15787
15788         * WorkArea.C (WorkArea): remove unneeded floats in computation
15789
15790 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
15791
15792         * buffer.C (asciiParagraph): Treat '\\' as other chars.
15793
15794         * paragraph.C (asString): Do not ignore newline/hfill chars when
15795         copying to the clipboard.
15796
15797 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
15798
15799         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15800         after a multi-line inset.
15801
15802 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
15803
15804         * paragraph.C (validate): Set NeedLyXFootnoteCode
15805
15806 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15807
15808         * lyxfont.C (LyXSizeNames): changed increase-error to increase
15809         and decrease-error to decrease.
15810
15811 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15812
15813         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15814         it more readable (should be equivalent)
15815
15816 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15817
15818         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15819
15820 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15821
15822         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15823         of a cursor (row, etc.) after a character has been deleted
15824         (deleteEmptyParagraphMechanism): call the method above on _all_
15825         cursors held by the LyXText when a double space has been
15826         detected/deleted.
15827
15828 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15829
15830         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15831         pixmap.
15832         (resizeCurrentBuff): remove code to destroy the old splash dialog.
15833
15834         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15835         background. Use greyOut() and the new show() methods to toggle between
15836         the foreground and background. Add code to remove the splash after
15837         its initial showing.
15838
15839         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15840         (create_forms): no longer call Dialogs::showSplash.
15841
15842 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15843
15844         * .cvsignore: add version_info.h
15845
15846 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15847
15848         * version_info.h.in: new file
15849
15850         * Makefile.am: add version_info.h.in
15851
15852         * lyx_main.C (commandLineVersionInfo): use version_info defined in
15853         version_info.h instead of VERSION_INFO
15854
15855 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
15856
15857         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15858         The ERT inset now returns string().
15859
15860 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
15861
15862         * lyxtext.h, text.C (selectNextWord): renamed as
15863         selectNextWordToSpellcheck.
15864
15865         * text.C (selectNextWordToSpellcheck): Modified to not select
15866         words inside an ERT inset.
15867
15868 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15869
15870         * lyx_cb.C (MenuLayoutSave): change a bit the question
15871
15872         * sp_base.h: include <sys/types.h>
15873
15874 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
15875
15876         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15877
15878 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
15879
15880         * several files: fix typos in user-visible strings
15881
15882 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15883
15884         * text2.C (pasteSelection): do not set the selection, since it
15885         will be cleared later. Actually, the intent was to fix the way the
15886         selection was set, but I figured rmoving the code was just as good.
15887
15888 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
15889
15890         * FontLoader.C (available): Check if font is available without
15891         loading the font.
15892
15893 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
15894
15895         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15896
15897 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
15898
15899         * lyxrc.[Ch]: added display_graphics variable and associated code.
15900
15901 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15902
15903         * bufferparams.C (hasClassDefaults): new method. Returns true if
15904         the buffer parameters correspond to known class defaults
15905
15906 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
15907
15908         * XFormsView.C (show): set minimum size to the main window.
15909
15910 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15911
15912         * text2.C (copySelection):
15913         (cutSelection):
15914         * lyxfind.C (LyXReplace):
15915         * BufferView_pimpl.C (Dispatch): pass the correct flag to
15916         LyXText::selectionAsString.
15917
15918         * paragraph.C (asString): add "label" argument to the second form
15919
15920         * text2.C (selectionAsString): add "label" argument and pass it to
15921         Paragraph::asString.
15922
15923 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15924
15925         * lyx_main.C (commandLineHelp): remove version information
15926
15927 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
15928
15929         * lyx_main.C: add -version commandline option
15930
15931 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15932
15933         * paragraph.h: make the optional constructor arg required instead.
15934         some modifications to other files because of this.
15935
15936         * minibuffer.C (C_MiniBuffer_peek_event): make it static
15937
15938         * lyxserver.C (C_LyXComm_callback): make it static
15939
15940         * lyx_main.C (error_handler): make it static
15941
15942         * lyx_gui.C (LyX_XErrHandler): make it static
15943
15944         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15945
15946         * WorkArea.C: make the extern "C" methods static.
15947
15948         * Makefile.am (lyx_LDADD): simplify
15949
15950 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15951
15952         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15953         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15954
15955         * LyXAction.C (init):
15956         * lyxfunc.C (dispatch): associated code removal.
15957
15958 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15959
15960         * lyxfont.h (isSymbolFont): shut off warning
15961
15962         * text.C (setHeightOfRow):
15963         (getVisibleRow): fix crash with empty paragraphs which have a
15964         bottom line
15965
15966 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
15967
15968         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15969         code.
15970
15971 2001-09-04  José Matos  <jamatos@fep.up.pt>
15972         * buffer.C
15973         * buffer.h
15974         * tabular.C (docbook): rename docBook method to docbook.
15975
15976 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15977
15978         * Makefile.am: add dependencies to main.o.
15979
15980 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
15981
15982         * FontLoader.C (available): Return false if !lyxrc.use_gui
15983
15984 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
15985
15986         * FontInfo.C (query):
15987         * converter.C (view):
15988         * importer.C (Import):
15989         * exporter.C (Export): Can not -> cannot.
15990
15991 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
15992
15993         * BufferView_pimpl.C: allow to create index inset even if
15994           string is empty
15995
15996 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15997
15998         * buffer.C (getLists): replace boost::tie code with an explicit pair
15999         as boost::tie can break some compilers.
16000
16001         * iterators.h: Added a std:: declaration to the return type of
16002         ParIterator::size.
16003
16004 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
16005
16006         * lyxrc.C: add help for view_dvi_paper_option, default to safe
16007           case.
16008
16009 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
16010
16011         * iterators.[Ch]: New files. Provide paragraph iterators.
16012
16013         * buffer.C (changeLanguage): Use paragraph iterators.
16014         (isMultiLingual): ditto
16015
16016         * BufferView2.C (ChangeInsets): Use paragraph iterators.
16017
16018 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
16019
16020         * FontLoader.C: Support for cmr font.
16021
16022 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
16023
16024         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
16025         (available): New method.
16026
16027         * FontInfo.C (getFontname): Use scalable fonts even when
16028         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
16029         found.
16030
16031 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
16032
16033         * converter.C (Formats::view): reverted! Incorrect fix.
16034
16035 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
16036
16037         * converter.C (Formats::view): only output the -paper option
16038         if the dvi viewer is xdvi, thereby fixing bug #233429.
16039
16040 2001-08-23  Herbert Voss  <voss@perce>
16041
16042         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
16043
16044 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
16045
16046         * Spacing.h (Spacing): Set space to Default on in the default
16047         constructor.
16048
16049 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16050
16051         * vc-backend.h (RCS::versionString): add RCS to version
16052         (CVS::versionString): add CVS to version
16053
16054         * vc-backend.C (scanMaster): do not add CVS to version.
16055         (scanMaster): do not add RCS to version
16056
16057         * lyxvc.C (versionString): new method
16058
16059         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
16060
16061 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16062
16063         * Spacing.C (set): initialize fval
16064
16065 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
16066
16067         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
16068         " or \.
16069
16070 2001-08-16  Juergen Vigna  <jug@sad.it>
16071
16072         * lyxfunc.C (dispatch): implemented the new FINISHED states.
16073
16074 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
16075
16076         * BufferView_pimpl.C:
16077         * figureForm.C:
16078         * lyxtext.h:
16079         * text2.C: setParagraph takes linespacing now
16080
16081 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
16082
16083         * LyxAction.C: add internal LFUN_CITATION_INSERT
16084
16085         * LyXView.C: actually apply fix
16086
16087         * bufferlist.C: fix open non-existent file
16088
16089         * lyxfind.C: fix indentation
16090
16091         * lyxfunc.C: remove unneeded assert, fix typo
16092
16093 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
16094
16095         * MenuBackend.C: use "Floatname List"
16096
16097 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
16098
16099         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
16100         when converting LaTeX layout to insetERT.
16101         Generate a non-collapsed float when reading old float
16102
16103 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
16104
16105         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
16106         ERT insets.
16107
16108 2001-08-13  Juergen Vigna  <jug@sad.it>
16109
16110         * text.C (fill): return 0 instead of 20 as this seems to be the more
16111         correct value.
16112
16113 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
16114
16115         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
16116         lyxrc.font_norm.
16117
16118 2001-08-13  Juergen Vigna  <jug@sad.it>
16119
16120         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
16121         casesensitive off.
16122         (SearchBackward): comment out the unlocking of the inset_owner this
16123         should not be needed!
16124
16125 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
16126
16127         * Many files: Remove inherit_language, and add latex_language
16128
16129         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
16130         collapsible insets.
16131
16132 2001-08-10  Juergen Vigna  <jug@sad.it>
16133
16134         * text.C (prepareToPrint): fixed hfill-width in draw!
16135
16136         * BufferView2.C (selectLastWord): save the selection cursor as this
16137         now is cleared in the function LyXText::clearSelection!
16138
16139 2001-08-08  Juergen Vigna  <jug@sad.it>
16140
16141         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
16142         BACKSPACE type functions.
16143
16144         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
16145         is only cutted from the document but not put in the cut-buffer, where
16146         still the old stuff should be.
16147
16148         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
16149
16150         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
16151
16152         * tabular.C (SetWidthOfCell): fixed special case where the width
16153         was not updated!
16154         (LeftLine): handle '|' in align_special.
16155         (RightLine): ditto
16156         (LeftAlreadyDrawed): ditto
16157         (SetWidthOfCell): ditto
16158
16159 2001-08-07  Juergen Vigna  <jug@sad.it>
16160
16161         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
16162
16163 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16164
16165         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
16166         * lyxlex.[hC]: ditto
16167
16168 2001-08-06  Juergen Vigna  <jug@sad.it>
16169
16170         * text.C (getVisibleRow): fix up row clearing a bit.
16171
16172 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16173
16174         * minibuffer.C: make sure the X server sees the changes in the input.
16175
16176 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16177
16178         * paragraph.C (getFont): split into...
16179         (getLabelFont): this
16180         (getLayoutFont): and this
16181         * paragraph_pimpl.C (realizeFont): calling this
16182
16183         * text2.C (getFont): split into...
16184         (getLayoutFont): this
16185         (getLabelFont): and this
16186         (realizeFont): all three calling this
16187
16188         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
16189         files where used.
16190
16191 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16192
16193         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
16194
16195 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
16196
16197         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
16198         layouts from the Quote inset insertion.
16199
16200 2001-08-03  Juergen Vigna  <jug@sad.it>
16201
16202         * BufferView_pimpl.C (update): do the fitCursor only at the end!
16203
16204         * screen.C (drawFromTo): don't call fitcursor here and do the loop
16205         only if status not is already CHANGED_IN_DRAW (second level).
16206
16207         * text.C (draw): don't set the need_break_row when inside an
16208         InsetText LyXText.
16209
16210 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16211
16212         * buffer.C (parseSingleLyXformat2Token): handle more latex
16213         conversion cases.
16214
16215         * bufferview_funcs.[hC]: change function names to
16216         begin with small char, adjust other files.
16217
16218 2001-08-02  André Pönitz <poenitz@gmx.net>
16219
16220         * lyxfunc.C:
16221         BufferView_pimpl.C: remove broken special code for math-greek
16222
16223 2001-08-02  Juergen Vigna  <jug@sad.it>
16224
16225         * BufferView_pimpl.C (update): redone this function so that we
16226         update the text again if there was a CHANGE_IN_DRAW.
16227
16228         * screen.C (cursorToggle): removed LyXText parameter and recoded.
16229         (drawFromTo): added a new internal bool which is used by draw() and
16230         redraw() function.
16231         (general): some cursor drawing problems fixed.
16232
16233 2001-08-01  Juergen Vigna  <jug@sad.it>
16234
16235         * lyxfind.C (LyXFind): fixed
16236         (SearchForward): ditto
16237         (SearchBackward): ditto
16238
16239         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
16240         spurius drawing of the cursor in the main area.
16241
16242         * text2.C (status): small fix which could lead to a segfault!
16243         (clearSelection): remove unneeded BufferView param.
16244
16245 2001-08-01  André Pönitz <poenitz@gmx.net>
16246
16247         * lyxfunc.C: small change due to changed mathed interface
16248
16249 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16250
16251         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
16252
16253 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
16254
16255         * lyxfunc.c: fail gracefully if file doesn't exist
16256
16257         * LyXSendto.C:
16258         * buffer.C:
16259         * lyxfunc.C:
16260         * BufferView_pimpl.C: IsDirWriteable() proto changed
16261
16262         * LyXView.C: fix updateWindowTitle() to store the last title
16263
16264 2001-07-31  Juergen Vigna  <jug@sad.it>
16265
16266         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
16267         the font (wrong since using of Paragraph::highestFontInRange).
16268
16269         * paragraph.C (highestFontInRange): added a default_size parameter.
16270
16271         * text.C (getVisibleRow): minor clear row changes (still not perfect).
16272         (setHeightOfRow): reformat
16273
16274 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16275
16276         * converter.[hC] + affected files: move to (inital-char)lowercase
16277         function names.
16278
16279         * ParagraphParameters.C (ParagraphParameters): remove commented code
16280
16281         * PainterBase.[Ch]: remove commented code
16282
16283         * LaTeXFeatures.h: add "bool floats" for float.sty
16284
16285         * LaTeXFeatures.C (LaTeXFeatures): init floats
16286         (require): handle float
16287         (getPackages): do it with floats
16288
16289 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16290
16291         * BufferView_pimpl.C (Dispatch): improve handling of
16292         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
16293
16294         * commandtags.h: #include lyxfont.h here temporarily to avoid
16295         keybinding bug.
16296
16297         * bufferlist.h: include LString.h here.
16298
16299 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16300
16301         * text2.C (getStringToIndex): new method.
16302
16303 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
16304
16305         * *: Reduced header file dependencies all over.
16306
16307 2001-07-30  Baruch Even  <baruch@lyx.org>
16308
16309         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
16310
16311 2001-07-29  Baruch Even  <baruch@lyx.org>
16312
16313         * buffer.C (readInset): Changed GRAPHICS to Graphics.
16314
16315 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16316
16317         * ParameterStruct.h (endif): add a default constructor to make
16318         sure that all variables is initialized.
16319
16320         * ParagraphParameters.C (ParagraphParameters): adjust
16321
16322 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16323
16324         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
16325         index; also, check that there is something to index, and that it
16326         does not span over several paragraphs.
16327         (doubleClick): use WHOLE_WORD_STRICT for double click.
16328
16329         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
16330
16331         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
16332         scheme.
16333
16334 2001-07-26  Baruch Even  <baruch@lyx.org>
16335
16336         * buffer.C (readInset): Changed to call up InsetGraphics when reading
16337         an InsetFig figure, backwards compatible reading of old figure code.
16338
16339 2001-07-27  Juergen Vigna  <jug@sad.it>
16340
16341         * text2.C: font.realize function adaption.
16342
16343         * text.C (draw): add a warnings lyxerr text if needed.
16344
16345         * layout.C: font.realize function adaption.
16346
16347         * language.C: add inherit_language and implement it's handlings
16348
16349         * bufferview_funcs.C (StyleReset): remove language parameter from
16350         font creation (should be language_inherit now).
16351
16352         * bufferparams.C (writeFile): handle ignore_language.
16353
16354         * paragraph.C (getFontSettings): the language has to be resolved
16355         otherwise we have problems in LyXFont!
16356
16357         * lyxfont.C (lyxWriteChanges): added document_language parameter
16358         (update): removed unneeded language parameter
16359
16360         * paragraph.C (validate): fixed wrong output of color-package when
16361         using interface colors for certain fonts in certain environments,
16362         which should not seen as that on the final output.
16363
16364 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
16365
16366         * BufferView_pimpl.C:
16367         * Thesaurus.h:
16368         * Thesaurus.C:
16369         * Makefile.am:
16370         * commandtags.h:
16371         * LyXAction.C: add thesaurus support
16372
16373         * lyxfind.h:
16374         * lyxfind.C: add "once" parameter, for thesaurus, to not
16375           move to the next match
16376
16377 2001-07-26  Juergen Vigna  <jug@sad.it>
16378
16379         * lyxfont.C (realize): honor ignore_language too!
16380         (resolved): ditto.
16381
16382         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
16383
16384         * text.C (draw): one place more for ignore_language to not draw
16385         itself!
16386
16387 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
16388
16389         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
16390
16391 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16392
16393         * buffer.C (parseSingleLyXformat2Token): a more general fix for
16394         the minipage conversion problem.
16395
16396 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16397
16398         * buffer.C (parseSingleLyXformat2Token): check minipage if we
16399         insert an inset.
16400
16401 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16402
16403         * BufferView.h: don't forward declare WorkArea
16404
16405         * BufferView.C: don't include WorkArea.h
16406
16407 2001-07-25  André Pönitz <poenitz@gmx.net>
16408
16409         * commandtags.h:
16410         * LyXAction.C:
16411         * lyxfunc.C:  new LFUN 'math-space'
16412
16413         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
16414
16415 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16416
16417         * text2.C (toggleInset): call open/close
16418
16419 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16420
16421         * lyxfunc.C (dispatch): add debug for the disabled case
16422
16423         * font.C (buttonText): make similar to rectText
16424
16425         * buffer.C (readInset): comment out parsing of insetlist and
16426         insttheorem
16427
16428         * PainterBase.C (rectText): small correction
16429
16430         * BufferView_pimpl.C: comment out insettheorem and insetlist
16431         * LyXAction.C: ditto
16432         * commandtags.h: ditto
16433
16434 2001-07-24  Juergen Vigna  <jug@sad.it>
16435
16436         * text.C (draw): honor the ignore_language.
16437
16438         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16439
16440 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16441
16442         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16443         char inset.
16444
16445 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16446
16447         * lyxtext.h: remove unused (and unimplemented) methods
16448
16449 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16450
16451         * text.C (getVisibleRow): honor background color
16452
16453         * PainterBase.h:
16454         * Painter.h: remove default color argument for fillRectangle
16455
16456         * text.C (backgroundColor): new method
16457
16458 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16459
16460         * text.C (getVisibleRow): adjust
16461
16462         * font.[Ch] (rectText): new method, metrics
16463         (buttonText): new method, metrics
16464
16465         * PainterBase.[hC]: make rectText and buttonText always draw and take
16466         fewer paramteres.
16467
16468 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16469
16470         * ToolbarDefaults.C (read):
16471         * MenuBackend.C (read): allow escaping in all strings
16472
16473         * BufferView_pimpl.C (insertAndEditInset): new method.
16474         (Dispatch): use insertAndEditInset whenever appropriate.
16475
16476         * BufferView_pimpl.C (insertNote): removed
16477
16478         * BufferView_pimpl.C (smartQuote): new method, moved from
16479         BufferView; if an insetquote cannot be inserted, insert a '"'
16480         character instead.
16481
16482         * BufferView2.C: remove insertCorrectQuote();
16483
16484         * lyxfunc.C (getStatus): Add support for all remaingin
16485         inset-insert lfuns.
16486
16487         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16488
16489         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16490         command (necessary to pass " as parameter of self-insert.
16491
16492         * text.C (selectWordWhenUnderCursor):
16493         (selectWord): add word_location parameter
16494         (selectWordWhenUnderCursor): same + remove special code for word
16495         boundary.
16496         (selectNextWord): use kind() to guess type of insetspecialchar,
16497         not latex().
16498
16499         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16500         (insertErtContents): create ert insets as collapsed.
16501         (readInset): better compatibility code for Info inset.
16502
16503 2001-07-20  Juergen Vigna  <jug@sad.it>
16504
16505         * lyxfunc.C (dispatch): use always LyXFind now!
16506
16507         * text2.C (init): add a reinit flag so that the LyXText can be
16508         reinited instead of deleted and reallocated (used in InsetText).
16509
16510         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16511
16512         * text.C: ditto
16513
16514         * text2.C: ditto
16515
16516 2001-07-18  Juergen Vigna  <jug@sad.it>
16517
16518         * text.C (selectNextWord): handle insets inside inset by calling
16519         always the bv->text functions so that we can go up the_locking_inset!
16520
16521         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16522         in strange locations when inside an inset!
16523
16524         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16525         handling to include insets.
16526
16527         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16528
16529 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16530
16531         * LyXAction.C (init):
16532         * commandtags.h:
16533         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16534         LIGATURE_BREAK, since the name is so stupid.
16535
16536 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16537
16538         * buffer.C (readInset): enable reading of new InsetNotes as well as old
16539         InsetInfos.
16540
16541         * FontLoader.C: remove FORMS_H_LOCATION cruft.
16542
16543         * sp_form.[Ch]: remove.
16544
16545         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16546
16547         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16548         InsetInfo.
16549
16550         * src/buffer.C (readInset): ditto.
16551
16552 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16553
16554         * BufferView_pimpl.C (specialChar): new method. Obsoletes
16555         menuSeparator(), endOfSentenceDot(), ldots() and
16556         hyphenationPoint(), which are therefore removed.
16557         (Dispatch): handle LFUN_HYPHENATION_BREAK.
16558
16559         * LyXAction.C (init):
16560         * commandtags.h: add LFUN_HYPHENATION_BREAK.
16561
16562         * paragraph.C (getWord): removed.
16563
16564         * BufferView_pimpl.C (Dispatch): use last word or selection for
16565         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16566
16567         * lyx_main.C (queryUserLyXDir): do not ask before creating
16568         user_dir, except if it has been named explicitely.
16569
16570 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16571
16572         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16573         a document of zero size.
16574
16575 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
16576
16577         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16578         approriately in the c-tor and in require().
16579         (getPackages): output the appropriate LaTeX for natbib support.
16580
16581         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16582         variables "use_natbib" and "use_numerical_citations" when reading the
16583         LyX file.
16584         (readInset): read the various natbib cite commands.
16585         (validate): white-space change.
16586
16587         * bufferparams.[Ch]: new variables "bool use_natbib" and
16588         "bool use_numerical_citations".
16589         (writeFile): output them in the LyX file.
16590
16591 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16592
16593         * lyxfunc.C (getStatus): add support for all the inset insertion
16594         commands.
16595
16596         * text2.C (insertInset):
16597         * paragraph.C (insetAllowed):
16598         * BufferView_pimpl.C (insertInset): update to take in account the
16599         renaming of insertInsetAllowed
16600
16601         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16602
16603         * text2.C (getInset): new method. returns inset at cursor position.
16604
16605         * BufferView_pimpl.C (Dispatch): changes because of this.
16606
16607         * LyXAction.C (init): rename open-stuff to inset-toggle.
16608
16609         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16610
16611         * text2.C (toggleInset): renamed from openStuff; use
16612         Inset::open().
16613
16614 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
16615
16616         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16617
16618         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16619
16620 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
16621
16622         * buffer.C (readLyXformat2): Add filename to the error dialog
16623
16624 2001-07-18  Juergen Vigna  <jug@sad.it>
16625
16626         * tabular.C (GetCellNumber): put an assert here instead of the check!
16627
16628 2001-07-17  Juergen Vigna  <jug@sad.it>
16629
16630         * BufferView_pimpl.C (toggleSelection): adapted too.
16631
16632         * text.C (selectNextWord): adapted for use with insets.
16633         (selectSelectedWord): ditto
16634
16635 2001-07-17  Juergen Vigna  <jug@sad.it>
16636
16637         * sp_spell.C (PSpell): fix initialitation order.
16638
16639 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16640
16641         * paragraph.C: spacing
16642
16643 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
16644
16645         * sp_spell.C: repair language selection for pspell
16646
16647 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16648
16649         * lyxfunc.h: change more methods to begin with lower char.
16650
16651 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
16652
16653         * buffer.C (parseSingleLyXformat2Token): Generate error insets
16654         for unknown layouts.
16655
16656 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
16657
16658         * buffer.C (readLyXformat2): Generate an error dialog if there are
16659         unknown layouts.
16660
16661 2001-07-16  Juergen Vigna  <jug@sad.it>
16662
16663         * sp_spell.C: always compile ISpell part.
16664
16665         * lyxrc.C: added use_pspell entry and it's handling.
16666
16667 2001-07-13  Juergen Vigna  <jug@sad.it>
16668
16669         * sp_spell.C: removed double includes.
16670
16671 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
16672
16673         Consistent use of Lsstream.h:
16674         * Lsstream.h: added using std::stringstream for consistencies sake.
16675
16676         * buffer.C: removed using std::stringstream
16677
16678         * lyxfont.C (stateText):
16679         * paragraph.C (asString):
16680         * text.C (selectNextWord, selectSelectedWord):
16681         * text2.C (setCounter):
16682         * vspace.C (asString, asLatexString):
16683         std::ostringstream -> ostringstream.
16684
16685 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16686
16687         * LyXAction.C: add LFUN_HELP_ABOUTLYX
16688         * commandtags.h: add LFUN_HELP_ABOUTLYX
16689         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16690
16691 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16692
16693         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16694         cursorToggle()
16695         * lyx_gui_misc.C: remove spellchecker
16696         * lyxfunc.C: showSpellchecker
16697         * sp_base.h: added
16698         * sp_ispell.h: added
16699         * sp_pspell.h: added
16700         * sp_spell.C: added
16701         * sp_form.[Ch]: removed
16702         * spellchecker.[Ch]: removed
16703
16704 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
16705
16706         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16707         is set.
16708         (simpleTeXSpecialChars): Simply print the input character without
16709         any special translation if pass_thru is set.
16710
16711         * layout.h: Added bool pass_thru to layout class for being able to
16712         implement pass through of a paragraph for Literate Programming.
16713
16714         * layout.C: add LT_PASS_THRU to LayoutTags enum.
16715         * layout.C (LyXLayout): set pass_thru to flase in constructor.
16716         * layout.C (Read): add "passthru" to list of layout tags and add
16717         code to set the pass_thru boolean when it is read.
16718
16719 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16720
16721         * trans_decl.h: remove allowed from KmodInfo
16722
16723         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16724         remove allowed code
16725         (Load): adjust
16726
16727         * paragraph_pimpl.C (erase): use boost::prior
16728
16729         * Painter.C (text): use data() instead of c_str() when length is
16730         also provided.
16731         * WorkArea.C (putClipboard): ditto
16732         * font.h (width): ditto
16733
16734         * BufferView2.C: use it-> instead of (*it). for iterators
16735         * texrow.C: ditto
16736         * paragraph_pimpl.C: ditto
16737         * paragraph.C: ditto
16738         * minibuffer.C: ditto
16739         * language.C: ditto
16740         * kbmap.C: ditto
16741         * encoding.C: ditto
16742         * counters.C: ditto
16743         * converter.C: ditto
16744         * chset.C: ditto
16745         * Variables.C: ditto
16746         * TextCache.C: ditto
16747         * MenuBackend.C: ditto
16748         * LyXAction.C: ditto
16749         * LColor.C: ditto
16750         * FloatList.C: ditto
16751         * DepTable.C: ditto
16752         * ColorHandler.C (LyXColorHandler): ditto
16753
16754 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16755
16756         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16757
16758         * text2.C (openStuff): reintroduce this method (which had been
16759         nuked in NEW_INSETS frenzy).
16760
16761         * lyxfunc.C (Dispatch): when an action has not been handled, use
16762         its name in the error message, not its number.
16763
16764         * paragraph.C (inInset): change method name to begin with lowercase.
16765
16766         * undo_funcs.C:
16767         * text2.C: updates because of this.
16768
16769 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16770
16771         * ToolbarDefaults.C (add): add spaces in error message
16772
16773 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16774
16775         * buffer.C (readLyXformat2): initialize the ert comp. variables.
16776         (readLyXformat2): rename return_par to first_par, use lyxlex's
16777         pushToken and remove the manual push handling.
16778         (parseSingleLyXformat2Token): add another ert comp. variable:
16779         in_tabular, rename return_par to first_par. handle newlines better
16780
16781 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16782
16783         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16784
16785 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16786
16787         * text2.C (getParFromID): removed
16788
16789         * buffer.C (getParFromID): new method moved form lyxtext.
16790         * BufferView2.C (insertErrors): adjust
16791         (setCursorFromRow): adjust
16792         * BufferView_pimpl.C (restorePosition): adjust
16793         * lyxfunc.C (Dispatch): adjust
16794         * undo_funcs.C (textUndo): adjust
16795         (textRedo): adjust
16796         (textHandleUndo): adjust
16797         (textHandleUndo): adjust
16798
16799 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16800
16801         * buffer.C: up' the LYX_FORMAT
16802
16803         * lyxfont.h: turn NO_LATEX on as default
16804
16805         * buffer.C (insertErtContents): new methods of tex style compability.
16806         (parseSingleLyXformat2Token): use it several places.
16807         * tabular.C (OldFormatRead): and here
16808
16809 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16810
16811         * text2.C: remove some commented code.
16812         reindent file.
16813
16814         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16815         * trans.C: changes because of the above.
16816
16817 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
16818
16819         * text2.C (setCounter): Fix counters bug with bibliography layout.
16820
16821 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16822
16823         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16824         own member functions
16825         (simpleTeXSpecialChars): ditto
16826
16827 2001-07-06  Juergen Vigna  <jug@sad.it>
16828
16829         * a lot of files: changed the access to LyXText::status and the
16830         call of undo-functions.
16831
16832         * undo.[Ch]: added a inset_id to the undo informations.
16833
16834         * undo_funcs.[Ch]: added and moved here all undo functions.
16835
16836         * lyxtext.h: give the status enum a weight, made status_ a private
16837         variable and made accessor functions for it, removed the whole bunch
16838         of undo-functions as they are now in their own file, make some
16839         functions publically available. Added function ownerParagraph with
16840         int parameter.
16841
16842         * paragraph.[Ch]: added "bool same_ids" to the constructor,
16843         made InInset() a const function, added getParFromID() function.
16844
16845         * buffer.[Ch]: added const version for inset_iterator functions,
16846         added getInsetFromID() function.
16847
16848         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16849         changed undo functions for new version.
16850
16851 2001-07-05  Juergen Vigna  <jug@sad.it>
16852
16853         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16854         unknow mechanism does not call the proper constructor but only this
16855         one also if I request the other!?
16856
16857 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16858
16859         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16860
16861         * text2.C (LyXText): use initialization lists.
16862
16863         * lyxtext.h (Selection): initialize set_ and mark_
16864         (init): remove method
16865
16866 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
16867
16868         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16869
16870 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16871
16872         * screen.[Ch]: change method names to begin with lowercase
16873
16874         * BufferView_pimpl.C (updateScrollbar): simplify further and
16875         hopefully make it a bit faster.
16876
16877 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16878
16879         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16880         calling directly xforms functions.
16881
16882         * Painter.C (Painter):
16883         * lyx_cb.C (MenuWrite):
16884         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16885         fl_display.
16886
16887         * lyx_gui.C: remove bogus guiruntime extern declaration.
16888
16889 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16890
16891         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16892         in NEW_INSETS
16893         (redoDrawingOfParagraph): ditto
16894         (redoParagraphs): ditto
16895         (cutSelection): don't create a object for CutAndPaste use the
16896         static method directly
16897         (pasteSelection): ditto
16898
16899         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16900         LyXview (+ rename)
16901
16902 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16903
16904         * modifications to some other files because of this.
16905
16906         * Makefile.am (lyx_SOURCES): add XFormsView
16907
16908         * XFormsView.[Ch]: new files
16909
16910         * LyXView.[Ch]: make LyXView a base class for the gui handling for
16911         the main window. Move the gui dependent stuff to XFormsView
16912
16913 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16914
16915         * tabular.C (GetCellInset): update cur_cell also in the row/col
16916         version of this function.
16917
16918         * lyxfunc.C: no need to include figure_form.h here.
16919
16920         * FontLoader.h:
16921         * lyxfunc.h:
16922         * lyxscreen.h:
16923         * text2.C:
16924         * lyxvc.C: no need to include forms.h here.
16925
16926 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16927
16928         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16929
16930         * lyxfunc.C (Dispatch):
16931         * Spacing.C (set):
16932         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16933         constructor argument.
16934
16935 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16936
16937         * paragraph.C (Paragraph): dont't clear, and just set layout.
16938         (makeSameLayout): use params's copy contructor.
16939
16940         * ParagraphParameters.[Ch] (makeSame): delete method
16941
16942 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
16943
16944         * Variables.[Ch]: fix indentation, rename set to isSet
16945
16946 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16947
16948         * lyxfunc.C (Dispatch): fix typo
16949
16950 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16951
16952         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16953         upper_bound.
16954
16955         * bufferlist.C: include assert.h for emergencyWrite().
16956
16957 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16958
16959         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16960           give up at last (bug #425202) !
16961
16962 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
16963
16964         * lyx_gui_misc.C:
16965         * sp_form.h:
16966         * sp_form.C:
16967         * spellchecker.h:
16968         * spellchecker.C: strip spellchecker options and bring up
16969           preferences tab instead
16970
16971 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16972
16973         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16974         the istringstream constructor
16975
16976 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16977
16978         * paragraph.C (getLayout): fix return value
16979
16980         * paragraph.h: do not declare getLayout as inline.
16981
16982         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16983
16984 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16985
16986         * lyxcursor.h (operator<): new func
16987         (operator>): new func
16988         (operator>=): new func
16989         (operator<=): new func
16990
16991         * text.C (changeCase): use selection.start and selection.end
16992         (changeRegionCase): require from to be <= to. Require par to be a
16993         valid paragraph.
16994
16995         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16996
16997 2001-06-27  Juergen Vigna  <jug@sad.it>
16998
16999         * text.C (cursorLeftOneWord): changed to return the cursor and added
17000         overlay with BufferView * parameter which calls this one.
17001         (getWord): added
17002         (selectWord): use new getWord function.
17003         (changeCase): renamed from changeWordCase as and extended to work
17004         also on selections.
17005
17006         * lyxtext.h: added enum word_location
17007
17008         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
17009         changeCase as this operates now also on selections.
17010
17011 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
17012
17013         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
17014
17015         * many files: send debug output to Debug::INFO instead of
17016         Debug::ANY.
17017
17018         * converter.C (View):
17019         (Convert):
17020         (Move): send debug output to Debug::FILES instead of console.
17021
17022 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
17023
17024         * lyxfunc.C (getStatus): use func_status
17025
17026         * func_status.h: new header, describing the results of
17027         LyXFunc::getStatus;
17028
17029         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
17030         LFUN_MATH_HALIGN.
17031
17032 2001-06-25  The LyX Project  <jug@sad.it>
17033
17034         * buffer.C (sgmlOpenTag):
17035         (sgmlCloseTag):
17036         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
17037
17038 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17039
17040         * text2.C: remove some dead code
17041
17042         * tabular.C (GetCellInset): store the last cell checked (gotten)
17043
17044         * tabular.h: add the helper for the speedup
17045
17046         * lyxtext.h: remove some dead code
17047
17048 2001-06-26  The LyX Project  <Asger>
17049
17050         * paragraph.C: Change export to LaTeX of alignment to
17051         \begin{center} and family for better roundtrip work with reLyX.
17052
17053         * Tune the math drawing a bit.
17054
17055 2001-06-25  The LyX Project  <Asger>
17056
17057         * LColor.C (LColor): New color for math background. New color
17058         for buttons.
17059
17060 2001-06-25  The LyX Project  <jug@sad.it>
17061
17062         * lyxfunc.C (MenuNew): remove extra check for .lyx file
17063
17064         * lyxfunc.C (Open):
17065         * bufferlist.C (newFile): do not restrict to files ending with
17066         .lyx
17067
17068         * BufferView_pimpl.C (MenuInsertLyXFile):
17069
17070 2001-06-24  The LyX Project  <jug@sad.it>
17071
17072         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
17073         of compare_no_case
17074
17075 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17076
17077         * lyxtext.h: rename most methods to begin with a small char.
17078         Lots of changes because of this.
17079
17080         * paragraph.C (Paragraph): do not call fitToSize
17081         (erase): call Pimpl::erase
17082         (insertChar): call Pimpl::insertChar
17083         (insertInset): call Pipl::insertInset
17084         (breakParagraph): do not call fitToSize
17085         (breakParagraphConservative): do not call fitToSize
17086         (fitToSize): remove method
17087
17088         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
17089
17090 2001-06-24  The LyX Project  <Asger>
17091
17092         * Fix Qt compilation^2
17093
17094 2001-06-24  The LyX Project  <jug@sad.it>
17095
17096         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
17097         depthHook(getDepth()-1).
17098
17099         * paragraph.h:
17100         * ParagraphParameters.h:
17101         * ParameterStruct.h: change type of depth to unsigned int ==
17102         depth_type. Many adaptations to other files before of that.
17103
17104 2001-06-24  The LyX Project  <Asger>
17105
17106         * Fix Qt compilation.
17107
17108 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17109
17110         * paragraph.h: renamed several methods to begin with small letter.
17111         several changes to many parts of the code because of this.
17112
17113 2001-06-23  The LyX Project  <jug@sad.it>
17114
17115         * text2.C (InsertStringAsLines): renamed from InsertStringA;
17116         rewritten to discard all double spaces when KeepEmpty is off
17117         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
17118         to only handle newlines but not fiddle with spaces and friends.
17119
17120         * lyxfunc.C (MenuNew): when doing 'new from template', use
17121         template_path as default directory
17122
17123 2001-06-23  The LyX Project  <Asger>
17124
17125         * Clean-up of header file includes all over
17126         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
17127
17128 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17129
17130         * paragraph.h: renamed from lyxparagraph.h
17131
17132 2001-06-23  Asger  <lyx@violet.home.sad.it>
17133
17134         * Buffer.h: Removed Buffer::resize
17135         * BufferList.h: Removed BufferList::resize
17136         * LyXView.h: Added LyXView::resize. This way, we will only reflow
17137         the document lazily when we change the width, or the font settings.
17138
17139 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
17140
17141         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
17142
17143 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
17144
17145         * buffer.h: remove out of date comment
17146
17147 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
17148
17149         * lyxscreen.h:
17150         * screen.C: fix "theoretical" GC leak
17151
17152 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17153
17154         * LaTeX.C (scanAuxFile):
17155         (deplog): remove trailing \r when reading stream (useful under
17156         win32)
17157
17158 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
17159
17160         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
17161         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
17162         and BufferView::theLockingInset(Inset*), so should use them and not
17163         access bv_->text->the_locking_inset directly.
17164
17165         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
17166
17167 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
17168
17169         * Makefile.am:
17170         * tex-defs.h: remove old unused file
17171
17172 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
17173
17174         * BufferView_pimpl.C: fix typo, remove minibuffer message
17175           when buffer has loaded
17176
17177 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17178
17179         * lyxfunc.C (Dispatch): use stringstream
17180         (MenuNew): use stringstream
17181         (Open): use stringstream
17182
17183         * importer.C (Import): use stringstream
17184
17185         * bufferview_funcs.C (CurrentState): use stringstream
17186
17187         * LaTeX.C (run): use stringstream
17188
17189         * BufferView_pimpl.C (savePosition): use stringstream
17190         (restorePosition): use stringstream
17191         (MenuInsertLyXFile): use stringstream
17192
17193 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
17194
17195         * BufferView.C:
17196         * Bullet.C:
17197         * ColorHandler.C:
17198         * FontInfo.C:
17199         * FontLoader.C:
17200         * LColor.C:
17201         * LaTeXFeatures.C:
17202         * Painter.C:
17203         * gettext.C:
17204         * lyx_gui_misc.C:
17205         * lyxserver.C:
17206         * vspace.C: removed // -*- C++ -*- as first line.
17207
17208         * lyxfind.h:
17209         * version.h: added // -*- C++ -*- as first line.
17210
17211 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17212
17213         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
17214
17215         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
17216         of string
17217
17218 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17219
17220         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
17221         of floats.
17222
17223 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17224
17225         * gettext.C: include LString.h even when --disable-nls is on.
17226
17227 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
17228
17229         * converter.h (Get): changed argument type from int to
17230         FormatList::size_type to avoid unnecessary conversion.
17231
17232         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
17233         before using it.
17234
17235 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17236
17237         * gettext.h: include LString.h even when --disable-nls is on.
17238
17239 2001-06-07  Juergen Vigna  <jug@sad.it>
17240
17241         * text.C (BreakAgain): subst spaces with tabs.
17242
17243         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
17244         (resizeInsetsLyXText): set force on resizeLyXText.
17245
17246 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17247
17248         * gettext.h (gettext_init):
17249         (locale_init): use a real definition instead of a macro
17250
17251 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
17252
17253         * Bufferview_pimpl.C:
17254         * LColor.h:
17255         * LColor.C: further lcolor tidies
17256
17257 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17258
17259         * BufferView_pimpl.C (updateScrollbar): simplify.
17260
17261         * BufferView2.C: don't include insets/insetinfo.h, change
17262         prototype for insertInset and call the Pimpl version. let
17263         updateInset call Pimpl version.
17264
17265         * BufferView.h: move inset_slept to BufferView::Pimpl, move
17266         gotoInset to BufferView::Pimpl
17267
17268 2001-06-01  Juergen Vigna  <jug@sad.it>
17269
17270         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
17271         inside a LockingInset (is the update needed at all?).
17272
17273 2001-05-31  Juergen Vigna  <jug@sad.it>
17274
17275         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
17276         here not the old one otherwise how should we compare it afterwards
17277         if it's the same!
17278
17279 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17280
17281         * lyxfont.C:
17282         * tabular.C:
17283         * tabular-old.C:
17284         * FontInfo.C: bring C functions into global namespace when
17285         necessary
17286
17287 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17288
17289         * LString.h: make sure config.h has been loaded before LString.h.
17290
17291         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
17292         (one for each char read by EatLine!).
17293
17294         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
17295         variables.
17296
17297 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17298
17299         * paragraph.C (BreakParagraph): set the inset_owner in the new par
17300         to the same as the par we break from
17301
17302 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17303
17304         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
17305
17306         * MenuBackend.C (expand): also create menu entries for wide
17307         versions of the floats.
17308
17309         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
17310
17311         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
17312
17313         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
17314         frontends/Makefile.am
17315
17316         * text2.C: adjust
17317         * text.C: adjust
17318
17319
17320         * tabular.C (getTokenValue): add std::
17321
17322         * tabular-old.C (getTokenValue): add std::
17323         (getTokenValue): ditto
17324         (getTokenValue): ditto
17325
17326         * screen.C (ToggleSelection): adjust
17327
17328         * lyxtext.h: put selection cursors inside a Selection struct.
17329
17330         * lyxfunc.C (moveCursorUpdate): adjust
17331
17332         * lyxfont.C (latexWriteStartChanges): add std::
17333
17334         * lyxfind.C: adjust
17335
17336         * font.h: delete with(char const *, LyXFont const &)
17337
17338         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
17339
17340         * FontInfo.C (getFontname): add std::
17341
17342         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
17343         (workAreaButtonPress): adjust
17344         (tripleClick): adjust
17345         (update): adjust
17346         (moveCursorUpdate): adjust
17347         (Dispatch): adjust
17348
17349         * BufferView2.C (gotoInset): adjust
17350
17351 2001-05-30  Juergen Vigna  <jug@sad.it>
17352
17353         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
17354         to check pspell I add this as default as I now have new pspell
17355         libraries and they seem to use this.
17356
17357 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17358
17359         * text2.C (CutSelection): make the cursor valid before the call to
17360         ClearSelection.
17361
17362 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17363
17364         * kbsequence.C (parse): de-uglify a bit the parsing code, which
17365         relied on 0 terminated strings and other horrors. Bug found due to
17366         the new assert in lyxstring!
17367
17368         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
17369         KP_ keys.
17370
17371 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17372
17373         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
17374         to latinkeys.bind.
17375
17376         * lyxfunc.C (processKeySym): change method of getting to the
17377         self-insert char.
17378
17379         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
17380         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
17381         * BufferView_pimpl.[Ch]: here as private methods.
17382
17383 2001-05-28  Juergen Vigna  <jug@sad.it>
17384
17385         * text.C (SetHeightOfRow): added the update() call again as it is
17386         needed to initialize inset dimensions!
17387
17388 2001-05-16  Juergen Vigna  <jug@sad.it>
17389
17390         * text2.C (SetCharFont): Add new function with BufferView * and
17391         bool toggleall parameters for setting insets internal fonts.
17392         (SetFont): Freeze the undo as we may change fonts in Insets and
17393         all this change should be inside only one Undo!
17394
17395         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
17396         setting font's in insets as for them we have the SetFont function!
17397
17398 2001-05-15  Juergen Vigna  <jug@sad.it>
17399
17400         * text2.C (ClearSelection): to be sure we REALLY don't have any
17401         selection anymore!
17402
17403         * tabular.C (TeXCellPreamble): fixed the left border problem for
17404         multicolumn cells.
17405
17406 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
17407
17408         * LaTeX.C (deplog): Make sure that the main .tex file is in the
17409         dependancy file
17410
17411 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17412
17413         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
17414         LFUN_BREAKPARAGRAPH.
17415
17416         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
17417         help test to "internal only", similar for LFUN_INSERT_URL
17418
17419         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
17420         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
17421         auto_region_delete and deadkeys.
17422
17423 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
17424
17425         * LColor.h:
17426         * LColor.C: remove some dead entries, tidy a little
17427
17428 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17429
17430         * lyxfunc.C (processKeySym): comment the Escape handling, remove
17431         commented code.
17432         (Dispatch): implement LFUN_ESCAPE
17433
17434         * commandtags.h: add LFUN_ESCAPE
17435
17436         * LyXAction.C (init): add entry for LFUN_ESCAPE
17437
17438         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17439         Remove commented code.
17440         (insertNote): moved here
17441         (open_new_inset): moved here
17442
17443         * BufferView[2].[Ch]: move insertNote and open_new_inset to
17444         BufferView_pimpl
17445
17446 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17447
17448         * kbmap.C (findbinding): clean it up and make it work correctly.
17449
17450         * lyx_main.C (init): do not pass argc and argv as parameters
17451
17452 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
17453
17454         * buffer.C: fix path for OS/2 & Win32
17455
17456         * lyx_gui.C:
17457         * lyx_main:
17458         * lyx_main.C: Added os:: class.
17459
17460         * os2_defines.h: update
17461
17462 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17463
17464         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17465         better by trying again with reduced state.
17466
17467 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17468
17469         * lyxrc.C (read): print error about invalid key sequence only when
17470         debugging (because not all latinX keysyms are known to some X
17471         servers)
17472
17473         * kbsequence.C (getiso): add a few std:: qualifiers
17474         (getiso): comment out extra return statement.
17475
17476 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17477
17478         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17479         handling.
17480         (Dispatch): enhance the accent inset a bit. (not perfect)
17481
17482 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17483
17484         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17485
17486 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17487
17488         * bufferlist.C (emergencyWrite): fix assert() call
17489
17490 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
17491
17492         * text.C (InsertChar): Added trivial patch to only send the "you
17493         can not do multiple spaces this way" message once during a
17494         session.
17495
17496 2001-05-08  Baruch Even  <baruch@lyx.org>
17497
17498         * Makefile.am: Changed order of libraries to get LyX to link properly
17499         with the gnome frontend.
17500
17501 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17502
17503         * LaTeXFeatures.h: add a std:: qualifier
17504
17505 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17506
17507         * paragraph.C (String): use stringstream
17508
17509 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17510
17511         * paragraph.C (writeFile): remove footflag arg
17512
17513         * buffer.C (makeLaTeXFile): use stringstream
17514         (latexParagraphs): remove footnot gurba
17515
17516         * LaTeXFeatures.C (getPackages): use stringstream
17517         (getMacros): likewise
17518         (getTClassPreamble): likewise
17519         (getFloatDefinitions): new method
17520
17521         * paragraph.C (writeFile): reindent
17522         (Erase): reindent
17523
17524         * WorkArea.h: revert the xpos + etc changes.
17525
17526         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17527
17528         * lyxparagraph.[Ch]: add copy constructor, remove Clone
17529
17530         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17531         (pasteSelection): likewise
17532         * text2.C (CreateUndo): likewise
17533
17534 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17535
17536         * minibuffer.C (peek_event): temporarily reduce the functionality
17537         of the minibuffer (to allow args on lfuns)
17538
17539         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17540         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17541
17542         * buffer.C (readInset): add compability reading of old float
17543         lists, add reading of new style float list.
17544         (readInset): avoid reevaluation of inscmd.getCmdName()
17545         (getLists): reindent
17546
17547         * MenuBackend.C (MenuItem): implement parsing of
17548         md_floatlistinsert and md_floatinsert.
17549         (expand::LastFiles): move initalizaton of iterators out of loop,
17550         avoid reevaluation.
17551         (expand::Documents): introduce typdedef vector<string> Strings,
17552         and use it.
17553         (expand::ExportFormats): introduce typedef vector<Format const *>
17554         Formats, and use it.
17555         (expand): implement FloatListInsert and FloatInsert.
17556
17557         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17558         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17559         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17560
17561         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17562         handling.
17563         (Dispatch::LFUN_FLOAT_LIST): implement
17564
17565 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
17566
17567         * LaTeX.C (run): Fix problem with --export code.
17568
17569 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17570
17571         * BufferView.[Ch] (workarea): removed.
17572         (getClipboard) new method; wrapper for workarea()->getClipboard()
17573
17574         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17575         bug.
17576
17577         * WorkArea.h (width, height, xpos, ypos): These methods all
17578         returned the dimensions of the work_area sub-area of WorkArea,
17579         resulting in a position error if the WorkArea were resized. Now
17580         return the dimensions of the entire WorkArea.
17581
17582         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17583
17584 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17585
17586         * LaTeX.C (deplog): correct the syntax of regex reg1
17587
17588 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17589
17590         * undo.C: remove !NEW_INSETS cruft
17591
17592 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17593
17594         * text2.C: remove !NEW_INSETS cruft
17595
17596         * text.C: remove !NEW_INSETS cruft
17597
17598         * tabular.C: remove !NEW_INSETS cruft
17599
17600         * spellchecker.C: remove !NEW_INSETS cruft
17601
17602         * lyxtext.h: remove !NEW_INSETS cruft
17603
17604         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17605
17606         * lyxfunc.C: remove !NEW_INSETS cruft
17607
17608         * lyxfind.C: remove !NEW_INSETS cruft
17609
17610         * lyx_cb.C: remove !NEW_INSETS cruft
17611
17612         * figureForm.C: remove  !NEW_INSETS cruft
17613
17614         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17615
17616         * buffer.[Ch]: remove !NEW_INSETS cruft
17617
17618         * ToolbarDefaults.C: remove !NEW_INSETS cruft
17619
17620         * CutAndPaste.C: remove !NEW_INSETS cruft
17621
17622         * BufferView_pimpl.C: remove !NEW_INSETS cruft
17623
17624         * BufferView2.C: remove !NEW_INSETS cruft
17625
17626         * BufferView.h: remove !NEW_INSETS cruft
17627
17628 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17629
17630         * Lsstream.h: include LString.h before the sstream headers to
17631         fix problem with gcc 2.95.3 and lyxstring
17632
17633 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17634
17635         * lyx_main.C: add using directives when needed for C functions
17636         declared in std:: namespace.
17637
17638 2001-04-27  Juergen Vigna  <jug@sad.it>
17639
17640         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17641         (SetHeightOfRow): comment out the update call should not be needed!
17642
17643 2001-04-13  Juergen Vigna  <jug@sad.it>
17644
17645         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17646         (LyXTabular): tried to minimize operator= operations (and realized
17647         hopfully Lars wish).
17648
17649 2001-04-27  Juergen Vigna  <jug@sad.it>
17650
17651         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17652
17653 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17654
17655         * lyxfunc.C (Dispatch): hack to make listof algorithm work
17656
17657         * buffer.C (readInset): hack to make listof algorithm work
17658
17659         * BufferView_pimpl.C: hack to make listof algorithm work
17660
17661 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17662
17663         * LyXAction.C: removed all !NEW_INSETS cruft
17664         (init): moved lfun_item in method
17665
17666         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17667
17668 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17669
17670         * BufferView2.C (theLockingInset): white space.
17671
17672 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17673
17674         * minibuffer.C: include <iostream>
17675
17676         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17677
17678         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17679
17680         * commandtags.h: add LFUN_TRANSPOSE_CHARS
17681
17682         * text.[Ch] (TransposeChars): new method
17683
17684 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17685
17686         * call message directly through LyXView instead of through LyXFunc
17687         * BufferView2.C: adjust
17688         * BufferView_pimpl.C: adjust
17689         * FontLoader.C: adjust
17690         * buffer.C: adjust
17691         * bufferview_funcs.C: adjust
17692         * converter.C: adjust
17693         * figureForm.C: adjust
17694         * importer.C: adjust
17695         * lyx_cb.C: adjust
17696         * lyx_gui_misc.C: adjust
17697         * lyxfunc.C: adjust
17698         * lyxvc.C: adjust
17699         * text2.C: adjust
17700         + more files in subdirs
17701
17702         * lyxparagraph.h (size): move up int file
17703         (GetLayout): ditto
17704
17705         * adjust all uses of Assert to lyx::Assert.
17706
17707         * BufferView2.C (ChangeCitationsIfUnique): adjust for
17708         lyxfunctional in namespace lyx
17709         * layout.C (hasLayout): ditto
17710         (GetLayout): ditto
17711         (GetLayout): ditto
17712         (delete_layout): ditto
17713         (NumberOfClass): ditto
17714         * converter.C (GetFormat): ditto
17715         (GetNumber): ditto
17716         (Add): ditto
17717         (Delete): ditto
17718         (SetViewer): ditto
17719         * bufferlist.C (getFileNames): ditto
17720         (emergencyWriteAll): ditto
17721         (exists): ditto
17722         (getBuffer): ditto
17723         * MenuBackend.C (hasSubmenu): ditto
17724         (hasMenu): ditto
17725         (getMenu): ditto
17726         * BufferView_pimpl.C (getInsetByCode): ditto
17727
17728 2001-04-18  Juergen Vigna  <jug@sad.it>
17729
17730         * vspace.C (asLatexString): fixed the 100% problem.
17731
17732 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17733
17734         * lyxfunc.C (Dispatch):
17735         * minibuffer.C:
17736         * minibuffer.h: add a few std:: qualifiers
17737
17738 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17739
17740         * minibuffer.[Ch]: reimplement so that commands is initiated and
17741         run from lyxfunc, simplified som handling, and made the completion
17742         and history code for complete. wip.
17743
17744         * lyxfunc.C (processKeySym): call message
17745         (miniDispatch): new temporary method
17746         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17747         (LFUN_MESSAGE): implement
17748         (LFUN_MESSAGE_PUSH): implement
17749         (LFUN_MESSAGE_POP): implement
17750         (initMiniBuffer): the initial/defualt minibuffer message.
17751
17752         * lyxfont.[Ch]: inline some more getters
17753
17754         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17755
17756         * lyx_gui_misc.[Ch] (WriteStatus): remove method
17757
17758         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17759         (AutoSave): use LFUN_MESSAGE
17760         (Reconfigure): ditto
17761
17762         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17763
17764         * figureForm.C: use LFUN_MESSAGE
17765
17766         * converter.C (runLaTeX): use LFUN_MESSAGE
17767
17768         * bufferview_funcs.C: use LFUN_MESSAGE
17769         (Melt): ditto
17770         (changeDepth): ditto
17771
17772         * bufferparams.h: use boost::
17773
17774         * bufferlist.h: inherit privately from noncopyable
17775
17776         * bufferlist.C (loadLyXFile): remove some commented code.
17777
17778         * buffer.C (runChktex): use LFUN_MESSAGE
17779
17780         * ShareContainer.h: inherit privately from noncopyable
17781
17782         * ParagraphParameters.[hC] (depth): inline it.
17783
17784         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17785         methods.
17786         (message): new method
17787         (messagePush): ditto
17788         (messagePop): ditto
17789         (show): init minibuffer
17790         (showState): direct call
17791
17792         * LaTeX.[Ch]: inherit privately from noncopyable
17793         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17794         instead of WriteStatus.
17795
17796         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17797
17798         * BufferView_pimpl.C (buffer): don't init minibuffer
17799         (workAreaButtonPress): use LFUN_MESSAGE
17800         (workAreaButtonRelease): ditto
17801         (savePosition): ditto
17802         (restorePosition): ditto
17803         (MenuInsertLyXFile): ditto
17804         (workAreaExpose): don't init minibuffer
17805         (update): remove commented code, simplify
17806
17807         * BufferView2.C (openStuff): use LFUN_MESSAGE
17808         (toggleFloat): ditto
17809         (menuUndo): ditto
17810         (menuRedo): ditto
17811         (copyEnvironment): ditto
17812         (pasteEnvironment): ditto
17813         (copy): ditto
17814         (cut): ditto
17815         (paste): ditto
17816         (gotoInset): ditto
17817         (updateInset): remove some commented code
17818
17819         * lastfiles.h: inherit privately from noncopyable
17820         * layout.h: ditto
17821         * lyx_gui.h: ditto
17822         * lyx_main.h: ditto
17823         * lyxlex.h: ditto
17824         * lyxlex_pimpl.h: ditto
17825
17826         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17827         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17828         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17829
17830         * LyXAction.h: inherit privately from noncopyable, add methods
17831         func_begin, func_end, returning iterators to the func map.
17832
17833         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17834         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17835         (func_begin): new method
17836         (func_end): new method
17837
17838         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17839         and not)
17840         (copySelection): ditto
17841         (pasteSelection): ditto
17842
17843         * BufferView.C: whitespace change
17844         * BufferView.h: inherit privately from noncopyable
17845
17846 2001-04-16  Allan Rae  <rae@lyx.org>
17847
17848         * tabular-old.C (l_getline):
17849         * spellchecker.C (sc_check_word):
17850         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17851         an unrecognised preprocessor directive.  So ensure they're wrapped.
17852
17853 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
17854
17855         * src/exporter.C (Export): Give an error message when path to file
17856         contains spaces.
17857
17858 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
17859
17860         * LaTeX.C (deplog): Always check that foundfile exists.
17861
17862 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17863
17864         * lyx_main.h:
17865         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17866
17867 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17868
17869         * tabular.[Ch] (getLabelList): implement new method
17870
17871         * minibuffer.h: comment ouf setTiimer
17872
17873         * minibuffer.C (ExecutingCB): constify res
17874         (peek_event): constify s
17875         (Set): constify ntext
17876         (Init): constify nicename
17877
17878         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17879
17880         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17881         (savePosition): use two params to Minibuffer::Set
17882         (restorePosition): ditto
17883
17884 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17885
17886         * lyx_main.C: include language.h
17887
17888         * Makefile.am (lyx_main.o): add language.h
17889
17890 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17891
17892         * exporter.C:
17893         * paragraph.C:
17894         * screen.C:
17895         * tabular.C:
17896         * CutAndPaste.C: include gettext.h
17897
17898         * lyxfont.h: remove old hack with ON and OFF.
17899
17900         * lyxparagraph.h:
17901         * lyxfont.h: do not include language.h...
17902
17903         * BufferView2.C:
17904         * LaTeXFeatures.C:
17905         * Painter.C:
17906         * bufferview_funcs.C:
17907         * font.C:
17908         * lyxfont.C:
17909         * text.C:
17910         * text2.C:
17911         * trans_mgr.C:
17912         * paragraph.C: ... but do it here instead
17913
17914 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17915
17916         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17917
17918         * tabular.C: small reformat
17919
17920         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17921         NEW_INSETS version
17922         (GetChar): ditto
17923         (BreakParagraph): ditto
17924         (SetOnlyLayout): ditto
17925         (SetLayout): ditto
17926
17927         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17928         with one arg less.
17929
17930         * lastfiles.C: removed most using decl, add std:: where needed
17931
17932         * buffer.C: ws changes
17933
17934         * MenuBackend.C (class compare_format): put into anon namespace
17935         (expand): constify label, names, action, action2
17936         (expand):
17937
17938         * text.C (SingleWidth): constify font
17939         (IsBoundary): constify rtl2
17940         (GetVisibleRow): constify ww
17941
17942         * LaTeX.C (deplog): constify logfile
17943
17944         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17945         start_x, end_x
17946         (workAreaExpose): constify widthChange, heightChange
17947
17948         * lyxrow.C (par): moved
17949         (height): moved
17950         (next): moved
17951         * lyxrow.h: as inlines here
17952
17953         * lyxfont.h (shape): moved from lyxfont.C
17954         (emph): moved from lyxfont.C
17955
17956         * lyxfont.C (LyXFont): use initialization list for all
17957         constructors
17958         (shape): move to lyxfont.h as inline
17959         (emph): move to lyxfont.h as inline
17960
17961
17962 2001-04-04  Juergen Vigna  <jug@sad.it>
17963
17964         * vspace.C: had to include stdio.h for use of sscanf
17965
17966 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
17967
17968         * BufferView.h:
17969         * BufferView_pimpl.h: remove xforms cruft. Both classes are
17970         independent of xforms.
17971
17972 2001-04-02  Juergen Vigna  <jug@sad.it>
17973
17974         * spellchecker.C: fixed namespace placing!
17975
17976 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
17977
17978         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17979         the LyXParagraph * is 0.
17980
17981 2001-03-29  Juergen Vigna  <jug@sad.it>
17982
17983         * vspace.C: added support for %, c%, p%, l%.
17984         (stringFromUnit): added helper function.
17985         (asLatexString): changed to give right results for the %-values.
17986
17987         * buffer.C: convert the widthp in a width%.
17988
17989 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
17990
17991         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17992         figureForm.[Ch].
17993
17994         * figureForm.[Ch]: stripped the FD_from_figure manipulation
17995         code out of lux_cb.[Ch], ready for its (imminent?) removal.
17996
17997         * lyx_cb.[Ch]: see above.
17998
17999         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
18000         form1.[Ch].
18001
18002         * form1.[Ch]:
18003         * lyx.[Ch]: replaced by figure_form.[Ch].
18004
18005         * lyx_gui.C:
18006         * lyx_gui_misc.C:
18007         * lyxfunc.C: changed headers associated with above changes.
18008
18009 2001-03-27  Juergen Vigna  <jug@sad.it>
18010
18011         * BufferView_pimpl.C: set the temporary cursor right!
18012
18013 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
18014
18015         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
18016
18017 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
18018
18019         * LString.h: removed "using std::getline"!
18020
18021         * BufferView_pimpl.C (Dispatch): changes due to changes in
18022         InsetInclude::Params.
18023
18024         * buffer.C (tag_name): removed redundant break statements as they were
18025         producing lots of warnings with my compiler.
18026
18027 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18028
18029         * LString.h: add "using std::getline" when using the real <string>.
18030
18031 2001-03-23  Jos�Ab�io Matos  <jamatos@fep.up.pt>
18032
18033         * buffer.C: removed bitset usage.
18034         PAR_TAG moved to an anonymous name space.
18035         (tag_name): new funtion, also in the anonymous namespace.
18036         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
18037         (makeDocBookFile): clean code. Completed transition from string arrays
18038         to string vectors.
18039         (SimpleDocBookOnePar): code clean.
18040
18041 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18042
18043         * tabular.C: add some comments.
18044
18045 2001-03-22  Juergen Vigna  <jug@sad.it>
18046
18047         * buffer.C (parseSingleLyXformat2Token): redone the minipage
18048         compatibility read a bit and fixed bug with minipage in different
18049         depth.
18050
18051 2001-03-21  Jos�Ab�io Matos  <jamatos@fep.up.pt>
18052
18053         * buffer.C (pop_tag): removed.
18054         (push_tag): removed.
18055         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
18056         array replaced with vector. Added support for CDATA sections.
18057         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
18058         at any nest level.
18059         (makeDocBookFile): XML conformant declaration of CDATA section,
18060         fixed bug related to <emphasis> in the first paragraph char.
18061         (sgmlOpenTag): exclude empty tags.
18062         (sgmlCloseTag): ditto.
18063
18064         * buffer.h (pop_tag): removed.
18065         (push_tag): removed.
18066
18067 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
18068
18069         * language.h (Languages): added size_type and size().
18070
18071 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18072
18073         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
18074         response on compability reading of minipages. One probliem is that
18075         the old usage of minipages was flertydig
18076
18077         * several files here and in subdirs: don't use static at file
18078         scope use anon namespaces instead.
18079
18080 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
18081
18082         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
18083         LaTeX output. This is necessary for Literate document
18084         processing.
18085
18086 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18087
18088         * buffer.C: insert hfill when needed.
18089
18090         * tabular.C (l_getline): use string::erase, small whitespace change.
18091
18092         * BufferView_pimpl.C: try the anon namespace.
18093         * WorkArea.C: ditto
18094
18095 2001-03-16  Juergen Vigna  <jug@sad.it>
18096
18097         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
18098         otherwise it won't open options-dialogs.
18099
18100         * buffer.C: honor pextraWidth(p) on converting minipages.
18101
18102         * tabular.C (l_getline): changed the functions to strip trailing \r.
18103
18104 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
18105
18106         * BufferView_pimpl.C:
18107         * minibuffer..C: added "using SigC::slot" declaration.
18108
18109 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18110
18111         * lyxlex_pimpl.h: noncopyable is in namespace boost.
18112
18113         * text2.C: ditto
18114
18115         * text.C: ditto
18116
18117         * paragraph.C: ditto
18118
18119         * lyxtext.h: NO_PEXTRA
18120
18121         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
18122
18123         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
18124         * ParameterStruct.h: ditto
18125         * ParagraphParameters.h: ditto
18126         * lyxparagraph.h: ditto
18127
18128 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18129
18130         * buffer.C: add compability for minipage alignment.
18131         (latexParagraphs): remove unwanted pextra check.
18132
18133         * several files: remove CXX_WORKING_NAMESPACES
18134
18135         * buffer.C (pop_tag): tie is in namespace boost
18136
18137         * BufferView.h: noncopyable is in namespace boost
18138         * lyxlex.h: ditto
18139         * lyx_main.h: ditto
18140         * lyx_gui.h: ditto
18141         * layout.h: ditto
18142         * lastfiles.h: ditto
18143         * bufferlist.h: ditto
18144         * ShareContainer.h: ditto
18145         * LyXView.h: ditto
18146         * LyXAction.h: ditto
18147         * LaTeX.h: ditto
18148
18149 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
18150
18151         * Merging changes from BRANCH_MVC back into HEAD.
18152
18153         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
18154
18155 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
18156
18157         * BufferView_pimpl.C: change from intl.C
18158
18159         * combox.h:
18160         * combox.C:
18161         * Makefile.am: move combox.*
18162
18163         * form1.h:
18164         * form1.C:
18165         * lyx_gui.C:
18166         * intl.h:
18167         * intl.C: remove dialog (covered by prefs)
18168
18169 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
18170
18171         * lyxfunc.C (Dispatch): removed redundant break statement.
18172
18173 2001-03-14  Juergen Vigna  <jug@sad.it>
18174
18175         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
18176
18177 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18178
18179         * buffer.C: add hack to fix compability reading of minipages.
18180
18181 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
18182
18183         * buffer.C (getLists): Cleanup.
18184
18185 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18186
18187         * lyxfont.C (update): don't honor toggleall on font size.
18188
18189 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
18190
18191         * bmtable.c:
18192         * bmtable.h:
18193         * Makefile.am: moved to frontends/xforms/
18194
18195         * lyx_gui_misc.C:
18196         * lyxfunc.C:
18197         * BufferView_pimpl.C: changes for moved mathpanel
18198
18199 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
18200
18201         * gettext.h: fix gettext_init() in --disable-nls
18202
18203 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18204
18205         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
18206
18207 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
18208
18209         * lyx.C:
18210         * lyx.h: strip external form
18211
18212 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
18213
18214         * BufferView_pimpl.C: add comment, destroySplash()
18215
18216 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
18217
18218         * BufferView_pimpl.C:
18219         * LyXAction.C:
18220         * buffer.C:
18221         * commandtags.h:
18222         * lyxfunc.C: use re-worked insetinclude
18223
18224 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18225
18226         * buffer.C: add using std::stringstream.
18227
18228         * lyx_cb.C: readd using std::ios.
18229
18230         * buffer.C: add using std::map.
18231
18232         * BufferView_pimpl.C: add using std::vector.
18233
18234         * ShareContainer.h: add std:: to swap.
18235
18236         * buffer.h: add some typedefs
18237         * buffer.C (getLists): use them
18238         (getLists): renamed from getTocList.
18239         add a counter for the different float types and use it in the
18240         generated string.
18241         (getLists): use the same counter for the NEW_INSETS and the "non"
18242         NEW_INSETS
18243
18244         * lyx_cb.h: remove unused items, includes, using etc.
18245
18246         * ShareContainer.h: remove some commented code, add more comments
18247         and "documentation".
18248
18249 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18250
18251         * buffer.C (getTocList): make the list also when NEW_INSETS is
18252         defined.
18253
18254         * buffer.h: remove TocType
18255
18256         * buffer.C (getTocList): change to return a map<string,
18257         vector<TocItem> >, implement for dynamic number of list.
18258
18259         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
18260         * text2.C (PasteSelection): adjust
18261         * CutAndPaste.C (pasteSelection): adjust
18262
18263         * FloatList.C (FloatList): update from the new_insets branch.
18264         * Floating.[Ch]: ditto
18265         * LaTeXFeatures.C: ditto
18266         * buffer.C: ditto
18267         * lyxlex_pimpl.C: ditto
18268
18269         * paragraph.C (Last): remove when NEW_INSETS is defined.
18270
18271         * other file: changes because of the above.
18272
18273 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18274
18275         * lyxparagraph.h: rename next to next_, previous to previous_,
18276         make them private for NEW_INSETS. Rename Next() to next(),
18277         Previous() to previous().
18278
18279         * other files: changes because of the above.
18280
18281 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
18282
18283         * BufferView.h:
18284         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
18285         problem.
18286
18287 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18288
18289         * main.C (main): pass lyx_localedir to gettext_init().
18290
18291         * gettext.h: remove locale_init and gettext_init macros
18292
18293         * gettext.C (locale_init): new function
18294         (gettext_init): new function
18295
18296         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
18297         setlocale().
18298
18299 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
18300
18301         * Moved credits to frontends:
18302         * credits.[Ch]: removed
18303         * credits_form.[Ch]: removed
18304         * lyx_gui_misc.C: remove credits stuff
18305         * Makefile.am:
18306
18307 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18308
18309         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
18310
18311         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
18312         unneeded destructor.
18313
18314         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
18315         a standalone pointer again.
18316
18317         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
18318
18319 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
18320
18321         * Makefile.am:
18322         * filedlg.h:
18323         * filedlg.C:
18324         * LyXAction.C:
18325         * ToolbarDefaults.C:
18326         * bufferlist.C:
18327         * commandtags.h:
18328         * form1.C:
18329         * form1.h:
18330         * lyx_cb.C:
18331         * lyx_cb.h:
18332         * lyxfunc.h:
18333         * lyxfunc.C:
18334         * BufferView_pimpl.C: use new file dialog in GUII
18335
18336         * lyx_cb.h:
18337         * lyx_cb.C: remove LayoutsCB to Toolbar
18338
18339 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18340
18341         * ShareContainer.h (get): add std:: qualifier
18342
18343 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18344
18345         * ShareContainer.h: define a proper ShareContainer::value_type
18346         type (and use typename to please compaq cxx)
18347
18348 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18349
18350         * lyxparagraph.h: move serveral local vars to
18351         ParameterStruct/ParagraphParameters., use ShareContainer in
18352         FontTable., make vars in FontTable private and add getter and
18353         setter.
18354
18355         * paragraph.C: changes because of the above.
18356
18357         * lyxfont.h: remove copy constructor and copy assignment. (the
18358         default ones is ok), move number inside FontBits. move inlines to
18359         lyxfont.C
18360
18361         * lyxfont.C: add number to initializaton of statics, move several
18362         inlines here. constify several local vars. some whitespace
18363         cleanup. Dont hide outerscope variables.
18364
18365         * Spacing.h: add two new constructors to match the set methods.
18366
18367         * ShareContainer.h: new file, will perhaps be moved to support
18368
18369         * ParameterStruct.h: new file
18370
18371         * ParagraphParameters.h: new file
18372
18373         * ParagraphParameters.C: new file
18374
18375         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
18376         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
18377
18378         * BufferView_pimpl.C: ParagraphParameter changes.
18379         * buffer.C: Likewise.
18380         * bufferview_funcs.C: Likewise.
18381         * text.C: Likewise.
18382         * text2.C: Likewise.
18383
18384 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18385
18386         * lyxfind.C (LyXReplace): do not redefine default argument in
18387         implementation.
18388         (IsStringInText): ditto
18389         (SearchForward): ditto
18390         (SearchBackward): ditto
18391
18392 2001-03-06  Juergen Vigna  <jug@sad.it>
18393
18394         * lyxfind.C (IsStringInText): put parentes around expressions.
18395
18396 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
18397
18398         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
18399
18400 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
18401
18402         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
18403
18404         * stl_string_fwd.h: add comment
18405
18406         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
18407
18408         * tabular.h:
18409         * tabular.C: remove unused DocBook methods
18410
18411         * intl.C:
18412         * language.C:
18413         * paragraph.C:
18414         * buffer.C:
18415         killed DO_USE_DEFAULT_LANGUAGE
18416
18417 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18418
18419         * lyx_gui.C: do not include language.h.
18420
18421         * bufferview_funcs.C (ToggleAndShow): do not provide optional
18422         arguments in function implementation.
18423
18424 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18425
18426         * BufferView_pimpl.C: add <ctime>
18427
18428 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18429
18430         * BufferView_pimpl.C: add using std::find_if
18431
18432 2001-02-27  José Matos  <jamatos@fep.up.pt>
18433
18434         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18435         by OnlyPath.
18436
18437 2001-02-11  José Matos  <jamatos@fep.up.pt>
18438
18439         * buffer.C (makeDocBookFile): command styles now have a parameter as
18440         "title" by default.
18441
18442 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
18443
18444         * layout_forms.[Ch]: removed
18445         * lyx_cb.[Ch]: out character
18446         * lyx_gui.C: out character
18447         * lyx_gui_misc.C: out character
18448         * bufferview_funcs.C: : out character,
18449         added toggleall as parameter in ToggleAndShow
18450
18451 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
18452
18453         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18454
18455         * text2.C (SetCurrentFont): Disable number property at boundary.
18456
18457 2001-02-26  Juergen Vigna  <jug@sad.it>
18458
18459         * lyxfunc.C (getStatus): added a string argument override function so
18460         that this is correctly called from LyXFunc::Dispatch if it contains a
18461         do_not_use_argument which is used!
18462         (Dispatch): added check for "custom" export and call appropriate func.
18463
18464 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
18465
18466         * lyxrc.C: Add language_command_local, language_use_babel and
18467         language_global_options.
18468
18469         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18470
18471         * buffer.C (makeLaTeXFile): Use language_use_babel and
18472         language_global_options.
18473
18474 2001-02-23  Juergen Vigna  <jug@sad.it>
18475
18476         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18477         which works with LyXText and putted it inside BufferView. Here now we
18478         only call for that part the BufferView::Dispatch() function.
18479
18480         * BufferView.C (Dispatch): added.
18481
18482         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18483         functions which needs to use a LyXText over from LyXFunc.
18484         (MenuInsertLyXFile): added
18485         (getInsetByCode): added
18486         (moveCursorUpdate): added
18487         (static TEXT): added
18488
18489 2001-02-22  Juergen Vigna  <jug@sad.it>
18490
18491         * BufferView_pimpl.C (update): call a status update to see if LyXText
18492         needs it.
18493
18494 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18495
18496         * vc-backend.C (revert): implement for CVS
18497         (getLog): implement for CVS
18498
18499 2001-02-20  Juergen Vigna  <jug@sad.it>
18500
18501         * text2.C (ClearSelection): added BufferView param for inset_owner call
18502
18503         * lyxfunc.C (TEXT): added this function and use it instead of
18504         directly owner->view()-text of getLyXText().
18505
18506 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
18507
18508         * src/layout_forms.C: out preamble
18509         * src/layout_forms.h: out preamble
18510         * src/lyx_cb.C: out preamble
18511         * src/lyx_cb.h: out preamble
18512         * src/lyx_gui.C: out preamble
18513         * src/lyx_gui_misc.C: out preamble
18514         * src/lyxfunc.C: connect with guii preamble
18515
18516 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
18517
18518         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18519
18520 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
18521
18522         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18523         whether to run bibtex.
18524
18525 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
18526
18527         * Makefile.am (lyx_SOURCES): Remove BackStack.h
18528
18529 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
18530
18531         * Makefile.am (lyx_SOURCES): removed bibforms.h
18532
18533         * vspace.h: doxygen
18534
18535         * text.C (GetVisibleRow): make several local vars const
18536
18537         * tabular.C: small cleanup.
18538
18539         * lyxserver.C (callback): use compare instead of strncmp
18540
18541         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18542         inlines to after class or to paragraph.C
18543
18544         * lyxfont.h: remove friend operator!=
18545
18546         * converter.h: move friend bool operator< to non friend and after
18547         class def.
18548
18549         * combox.h: small cleanup
18550
18551         * buffer.h: doxygen, remove unused constructor, move inclas inlies
18552         to inlines after class def.
18553
18554         * buffer.C (pop_tag): use string operations instead of strcmp
18555
18556         * bmtable.c: doxygen, small cleanup
18557
18558         * LaTeX.h: remove friend operator==
18559
18560 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
18561
18562         * screen.C:
18563         * lyxrc.[Ch]:
18564         * lyxfunc.C:
18565         * lyxfont.[Ch]:
18566         * lyx_cb.C:
18567         * intl.[Ch]:
18568         * commandtags.h:
18569         * buffer.C:
18570         * WorkArea.[Ch]:
18571         * LyXAction.C:
18572         * BufferView_pimpl.C:
18573         * BufferView.[Ch]: remove cruft
18574
18575 2001-02-14  Juergen Vigna  <jug@sad.it>
18576
18577         * lyxfunc.C: removed #if 0 unused code
18578
18579         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18580
18581         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18582
18583         * text2.C (SetSelection): added a BufferView * parameter
18584
18585 2001-02-13  Juergen Vigna  <jug@sad.it>
18586
18587         * lyxfunc.C (Dispatch): fixed protected blank problem.
18588         * BufferView2.C (protectedBlank): added LyxText * parameter.
18589
18590         * tabular.C (AppendRow): forgot to set row_info of newly added row.
18591         (AppendColumn): same as above for column_info.
18592
18593         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18594         (moveCursorUpdate): use a LyXText param for support of InsetText.
18595
18596         * BufferView_pimpl.C (doubleClick): added support for InsetText.
18597         (tripleClick): ditto
18598
18599         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18600
18601         * BufferView_pimpl.C (update): added LyXText param to honor insets.
18602
18603         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18604
18605         * text2.C (SetSelection): set correct update status if inset_owner
18606         (ToggleFree): ditto
18607
18608 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
18609
18610         * tabular.C: remove some commented code.
18611
18612 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
18613
18614         * BufferView_pimpl.C: call hideSplash()
18615
18616         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18617
18618         * include_form.h:
18619         * bibforms.h: remove
18620
18621         * lyxfunc.C:
18622         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18623           add LFUN_CHILD_CREATE
18624
18625         * counters.h: fix tiny typo
18626
18627         * lyx_cb.C:
18628         * lyx.h:
18629         * lyx_gui.C:
18630         * lyx.C: move splash to frontends/xforms/
18631
18632         * lyx_gui_misc.C: move Include and Bibform to frontends
18633
18634         * lyxvc.h: clarify comment
18635
18636         * vspace.C: tiny housekeeping
18637
18638 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
18639
18640         * text.C (PrepareToPrint): RTL Fix.
18641
18642         * paragraph.C (GetUChar): New method.
18643         (String):  Use GetUChar.
18644
18645         * buffer.C (asciiParagraph): Use GetUChar.
18646
18647 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
18648
18649         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18650
18651 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
18652
18653         * buffer.h:
18654         * buffer.C: rename to getLogName(), handle
18655           build log / latex log nicely
18656
18657 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18658
18659         * MenuBackend.C:
18660         * MenuBackend.h: remove support for reference menuitem type.
18661
18662 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
18663
18664         * BufferView_pimpl.C: housekeeping
18665         * BufferView_pimpl.h:
18666         * LyXView.h:
18667         * Makefile.am:
18668         * Timeout.C:
18669         * Timeout.h:
18670         * minibuffer.h: move Timeout GUI-I
18671
18672 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
18673
18674         * lyxrc.C (read): Update converters data-structures.
18675
18676 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
18677
18678         * LaTeX.h (operator!=): add operator != for Aux_Info
18679
18680 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
18681
18682         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18683
18684         * LaTeXLog.C: deleted, useful code moved to Buffer
18685
18686         * buffer.h:
18687         * buffer.C: new function getLatexLogName()
18688
18689         * lyx_gui_misc.C:
18690         * lyx_gui.C:
18691         * lyxvc.C:
18692         * lyxvc.h:
18693         * lyxfunc.C: use frontends for LaTeX and VC logs
18694
18695 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18696
18697         * LaTeX.h: yet another std:: that Allan forgot.
18698
18699         * Variables.C (set): renamed from isset(), because this clashes
18700         with some HP-UX macros (grr).
18701
18702 2001-02-06  Allan Rae  <rae@lyx.org>
18703
18704         * LaTeX.h: Another bug fix.  Missing std:: this time.
18705
18706 2001-02-04  Allan Rae  <rae@lyx.org>
18707
18708         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18709         floats problem. I've left it commented out because it's not quite
18710         correct.  It should also test that the current object is a table or
18711         figure inset.  But I haven't gotten around to figuring out how to do
18712         that.  I *think* it'll be something like: "table" == inset.type()
18713
18714         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18715         bool.
18716
18717 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
18718
18719         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18720         all the citation/databases/styles in the auxilary file.
18721         (run): Rerun latex if there was a babel language error.
18722
18723 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
18724
18725         * text.C (Backspace): Preserve the font when changing newline char
18726         with a space.
18727         (BreakParagraph): If the cursor is before a space, delete the space.
18728
18729         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18730
18731 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
18732
18733         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18734         new argument (code).
18735         (ChangeCitationsIfUnique): New method.
18736
18737         * paragraph.C (GetPositionOfInset): Handle bibkey.
18738
18739 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18740
18741         * BufferView_pimpl.h: change type of Position::par_pos to
18742         LyXParagraph::size_type.
18743
18744 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
18745
18746         * BufferView_pimpl.C (savePosition, restorePosition): Write
18747         messages to minibuffer.
18748
18749 2001-01-28  José Matos  <jamatos@fep.up.pt>
18750
18751         * buffer.C (makeDocBookFile): adds support for document language.
18752         A silly restriction on the name of LatexCommand types where removed.
18753         Added support for CDATA sections, allows to chars unescaped, used
18754         among others in code, to avoid escape < and >.
18755
18756 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18757
18758         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18759         saved positions instrad of a stack. Furthermore, a position is
18760         stored using paragraph id/paragraph position.
18761
18762         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18763         Remove LFUN_REF_BACK.
18764
18765 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18766
18767         * converter.C (dvipdfm_options): New method.
18768
18769 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
18770
18771         * vspace.C (isValidLength): Fix for empty input string.
18772
18773 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18774
18775         * LyXAction.C (init): change description of LFUN_FIGURE to
18776         "Insert Graphics"
18777
18778 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18779
18780         * LaTeX.C: add using directive
18781
18782 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18783
18784         * MenuBackend.C (expand): Fix the sorting of the formats.
18785
18786 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
18787
18788         * lyx_main.C: tiny error message fix
18789
18790 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18791
18792         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18793         calling fl_initialize(). This fixes the problem with ',' as
18794         decimal separator in text files.
18795
18796 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18797
18798         * trans.C (process): Fix the keymap bug.
18799
18800 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
18801
18802         * LaTeX.C (scanAuxFiles): New method. Provides support for
18803         multiple bibliographies (when using the bibtopic/bibunits pacakges).
18804         (scanLogFile) Scan for "run BibTeX" messages.
18805
18806         * buffer.C (makeLaTeXFile): Do not load the ae package when using
18807         OT1 font encoding. Also, load the aecompl package if the ae
18808         package is loaded.
18809
18810         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18811
18812 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18813
18814         * texrow.C (increasePos): turn two error messages into debug
18815         messages.
18816
18817 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
18818
18819         * LaTeX.C (scanAux): Handle the \@input macro.
18820         (runBibTeX): Use scanAux().
18821
18822         * language.C (latex_options_): New field.
18823
18824         * LaTeXFeatures.C (getMacros): Add language macros.
18825
18826         * buffer.C (makeLaTeXFile): Small fix.
18827
18828 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18829
18830         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18831
18832         * text2.C: add a using directive.
18833
18834 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
18835
18836         * BufferView2.C:
18837         * lyx_gui_misc.h:
18838         * lyxfr1.C:
18839         * lyxfunc.C: kill LyXBell.
18840
18841 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
18842
18843         * text.C (IsBoundary): Remove the error message
18844
18845         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18846
18847         * lyxrc.C (setDefaults): Correct initialization value for
18848         font_norm_type.
18849
18850 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
18851
18852         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18853         gotoError().
18854
18855         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18856         and GotoNextNote().
18857
18858         * src/LyXAction.C: Added reference-next.
18859
18860         * text.C (InsertChar): Use contains instead of strchr.
18861
18862         * lyx_cb.C (MenuInsertLabel): Enable default value code.
18863
18864 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
18865
18866         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18867         alignment commands (when needed).
18868
18869         * text.C (InsertChar): Add ':' to number separator chars.