]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
bed26ff8ef7eb3c5d04e4a312bb96668dc0ca0d6
[lyx.git] / src / ChangeLog
1 2006-03-12  Martin Vermeer  <martin.vermeer@hut.fi>
2
3         * lyxtext.h: doxygen documentation fix
4
5 2006-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
6
7         * paragraph.[Ch] (write, lookupChange, lookupChangeFull;
8         added setChangeFull):
9         * paragraph_pimpl.[Ch] (trackChanges, cleanChanges, acceptChange,
10         rejectChange, erase; added setChangeFull):
11         * CutAndPaste.C (eraseSelectionHelper):
12         * lyxtext.h:
13         * text.C (readParToken, readParagraph, breakParagraph,
14         acceptChange, rejectChange, backspace, currentState; 
15         added backspacePos0):
16         * paragraph_funcs.C (breakParagraphConservative, mergeParagraph):
17         * lyxfind.C (findChange, findNextChange): fix bug 880: Change
18         tracked paragraphs should still allow a paragraph split (and related
19         things, i.e., multi-paragraph change tracking)
20
21 2006-03-10  Martin Vermeer  <martin.vermeer@hut.fi>
22
23         * BufferView_pimpl.C: fix bug 2212: First change is skipped is
24         "Merge changes..." dialog
25
26 2006-03-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
27
28         * bufferparams.C (writeLaTeX): define \labelitemi with \def. Fixes LaTeX 
29         error if the class has not defined them yet (bug 2053).
30
31 2006-03-10  Martin Vermeer  <martin.vermeer@hut.fi>
32
33         * BufferView.[Ch]:
34         * BufferView_pimpl.[Ch]: 
35         * LyXAction.C:
36         * debug.[Ch]:
37         * rowpainter.C:
38         * text3.C: Inside-inset speedup, esp. for the Mac (bug 2195)
39
40 2006-03-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
41
42         * pch.h: fix nullstream.hpp location for boost 1.33.0
43
44 2006-03-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
45
46         * pch.h:
47         * support/pch.h:
48         * support/debugstream.h: Use the correct nullstream.
49
50 2006-02-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
51
52         * text3.C (mathDispatch): fix math inset creation from string (bug 2315)
53
54 2006-02-28  Martin Vermeer  <martin.vermeer@hut.fi>
55
56         * cursor.C (niceInsert): fix (properly) insertion of
57         fonts/decorations around selection
58
59 2006-02-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
60
61         * lyxfont.C (lyxWriteChanges): Don't write \lang latex
62
63 2006-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
64
65         * text3.C (mathDispatch): fix crash when selection is not empty
66         but selectionAsString is empty (bug 2321).
67
68 2006-02-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
69
70         * text.C (changeCase): avoid crash in empty paragraph or on last
71         word of the paragraph. (buf 2323)
72         (cursorRightOneWord): fix the logic to stop at a beginning of a word.
73
74 2006-02-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
75
76         * buffer.C (readHeader): also erase params.preamble in advance
77         so that an empty preamble is actually recognized (bug 2317).
78
79         * rowpainter.C (paintFromPos): ditch applyOuterFont (bug 2308).
80
81 2006-02-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
82
83         * text2.C (deleteEmptyParagraphMechanism): 64bit compile fix
84
85 2006-02-05  Martin Vermeer  <martin.vermeer@hut.fi>
86
87         * buffer.C:
88         * bufferparams.[Ch]:
89         * lyxtext.h:
90         * paragraph.[Ch]:
91         * paragraph_funcs.C
92         * rowpainter.C:
93         * text.C:
94         * text2.C:
95         * text3.C: Fix bug 2115: blue language lines (for default font)
96         popping up when the documnent font is different. This includes work
97         by Georg Baum.
98
99 2006-02-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
100
101         * exporter.C (Backends): Add "lyx" backend
102         * exporter.C (Export): Handle "lyx" backend
103         * graph.C (getReachable): Don't exclude "lyx"
104         * MenuBackend.C (expandFormats): exclude "lyx" from export menu
105
106 2006-02-03  Martin Vermeer  <martin.vermeer@hut.fi>
107
108         * cursor.C (bruteFind2): convert relative to absolute co-ordinates
109         for correct in-mathed positioning
110
111 2006-02-03  Martin Vermeer  <martin.vermeer@hut.fi>
112
113         * rowpainter.C (paintForeignMark): fix foreign blue line under
114         insets
115
116 2006-01-30  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
117
118         * * text2.C (deleteEmptyParagraphMechanism): fix off-by-one error of the start 
119         pit of the uno range (bug 2022).
120
121 2006-01-28  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
122
123         * messages.C (get): Only warn once if setlocale fails (bug 2177)
124
125 2006-01-28  Martin Vermeer  <martin.vermeer@hut.fi>
126
127         * text2.C (setCharFont): take inset's own font settings into account
128         when defining the font to reduce to, fixes 2019
129
130 2006-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
131
132         * bufferview_funcs.C (coordOffset): remove the check for
133         collapsed collapsables (fix for bug 2094). This is now done
134         on a more general level (cursor.C).
135
136         * dociterator.[Ch] (forwardPos): add an optional argument
137         bool "ignorecollapsed" (default false), which lets forwardPos
138         skip collapsed insets.
139
140         * cursor.C (bruteFind): use forwardPos(ignorecollapsed = true)
141         (fixes bug 2241 and 2094).
142
143 2006-01-26  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
144
145         * buffer.C: change tracking (dvipost) doesn't require
146         color.sty anymore.
147
148         * LaTeXFeatures.C (getPackages): no need for the color
149         option "usenames" (bug 2169).
150
151 2006-01-23  Helge Hafting <helge.hafting@aitel.hist.no>
152         * buffer_funcs.C: Trivial fix - added {} around
153         the statements to be affected by a if-test. Now
154         label in a minipage in a float looks ok on screen again.
155
156 2006-01-23  Martin Vermeer  <martin.vermeer@hut.fi>
157
158         * text2.C: fix bug 2015: on screen fonts in nested environments 
159         can be wrong
160
161 2006-01-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
162
163         * converter.C (convert): handle unknown formats
164
165 2006-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
166
167         * cursor.C (goUpDown): comment out some debug messages.
168
169         * counters.C (newCounter): make error messages more explicit
170         (these appear with some textclasses like beamer)
171
172 2006-01-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
173
174         * kbmap.C (defkey): 
175         * lyxfunc.C (processKeySym): make sure new FuncRequest objects
176         have origin set to KEYBOARD. (bug 2221)
177
178 2006-01-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
179
180         * rowpainter.C (isCursorOnRow): do not exclude endpos().
181
182 2006-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
183
184         * cursor.C (macroModeClose): returns true if an inset actually got
185         inserted; revert faulty fix to bug 2034.
186
187 2006-01-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
188
189         * tabular.C (getLabelList): remove (not used anymore).
190
191 2006-01-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
192
193         * outputparams.[Ch]: add new flag inComment
194
195 2006-01-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
196
197         * text2.C (deleteEmptyParagraphMechanism): since we delete a
198         paragraph, recordUndo should span two paragraphs (bug 2155).
199
200 2006-01-01  Martin Vermeer  <martin.vermeer@hut.fi>
201
202         * rowpainter.C (paintPar): always repaint the row with the
203         cursor in it
204
205 2006-01-01  Lars Gullik Bjønnes <larsbj@gullik.net>
206
207         * MenuBackend.h: 
208         * bufferlist.h: 
209         * lyxtext.h: 
210         * paragraph.h:
211         * vspace.h: fix syntax error
212
213 2005-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
214
215         * text3.C (dispatch): Force refresh if typing into inset changes its
216                               metrics
217
218 2005-12-30  Martin Vermeer  <martin.vermeer@hut.fi>
219
220         * RowList_fwd.h:
221         * paragraph.C:
222         * paragraph.h:
223         * rowpainter.C: Speed up rendering by only re-painting rows that
224         have changed. When selection or whole-screen update active, all rows
225         are repainted, as are all rows within insets.
226
227 2005-12-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
228
229         * version.C.in: Use PACKAGE_VERSION instead of VERSION
230
231 2005-12-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
232
233         * tabular.C (toggleFixedWidth): Use default layout of text class
234         instead of hardcoded "Standard"
235
236 2005-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
237
238         * lyxfunc.C (dispatch): do not call getStatus again to determine
239         whether a lfun is disabled (bug 2172).
240
241 2005-12-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
242
243         * cursor.C (macroModeClose): set the cursor inside the new math
244         atom if relevant (think \frac{}{}) (bug 2034)
245
246 2005-12-19  Martin Vermeer  <martin.vermeer@hut.fi>
247
248         * lyxtext.h:
249         * text.C:
250         * text3.C (Delete, backspace): force update when merging paragraphs
251
252 2005-12-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
253
254         * BufferView.C (mouseSetCursor): clear the selection properly (bug
255         2163). 
256
257 2005-12-08  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
258
259         * text.C (redoParagraph): honor inset->noFontChange()
260         * rowpainter.C (paintInset): ditto
261
262 2005-12-15  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
263
264         * lyx_main.C (priv_exec): don't initialize Math on startup 
265         (initMath() has been moved to math_hullinset).
266
267 2005-12-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
268
269         * lyxrc.C: set default_papersize to PAPER_DEFAULT;
270         handle PAPER_DEFAULT in LyXRC::read and LyXRC::write (bug 2148).
271         * paper.h: dispose dead PAPER_PACKAGES enum.
272
273 2005-12-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
274
275         * Makefile.am (OTHERLIBS): add SOCKET_LIBS in case we compile
276         without X support.
277
278 2005-12-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
279
280         * exporter.C (Export): Don't try to copy a file if it does not exist
281         (bug 1888)
282
283 2005-12-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
284
285         * text2.C (makeFontEntriesLayoutSpecific): remove.
286         (setLayout): adapt.
287
288         * text.C (insertChar): remove bogus caching of fonts (did not do
289         anything). 
290
291         * text2.C (LyXText): initialize current_font to ALL_INHERIT (was
292         ALL_SANE). (bug 2146)
293
294 2005-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
295
296         * rowpainter.C (paintFirst): fix centering of
297         LABEL_CENTERED_TOP_ENVIRONMENT. 
298
299 2005-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
300
301         * BufferView.C (mouseSetCursor): new method. Calls
302         deleteEmptyParagraphMechanism if necessary.
303
304         * lyxtext.h: make deleteEmptyParagraphMechanism public.
305
306         * text3.C (dispatch/LFUN_MOUSE_PRESS): use
307         BufferView::mouseSetCursor (bug 2109).
308         (dispatch/LFUN_PASTE): remove #warning that is now irrelevant.
309
310 2005-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>  
311
312         * text3.C (dispatch/LFUN_INDEX_INSERT): when a selection is set,
313         do not remove it (this inset behaves differently from the others).
314
315 2005-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
316
317         Fix bug 2096.
318         
319         * BufferView_pimpl.C (getStatus): it is only possible to insert a
320         file in a text inset.
321
322         * buffer.C (readDocument): remove pit argument and code releated
323         to it; set the inset owner correctly (unrelated, but useful).
324         (readFile): get rid of pit argument.
325
326         * CutAndPaste.C (pasteSelectionHelper): use a ParagraphList and a
327         textclass instead of a selection index.
328         (pasteParagraphList): new function.
329         (pasteSelection): make it a wrapper around pasteParagraphList.
330
331         * BufferView_pimpl.C (MenuInsertLyXFile): use
332         cap::pasteParagraphList to insert a file.
333
334 2005-11-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
335
336         * buffer_funcs.C (bufferErrors): prevent endless loop (bug 2121)
337
338 2005-11-17  Michael Gerz  <michael.gerz@teststep.org>
339
340         * exporter.C: fix typo in text message
341
342 2005-11-28  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
343
344         * text2.C (setLayout): move recUndo call to other setLayout method
345         * tabular.C (toggleFixedWidth): new, handle cell width changes
346         * tabular.C (setColumnPWidth): move some code from insettabular.C here
347         and use toggleFixedWidth
348         * tabular.C (setMColumnPWidth): ditto
349
350 2005-11-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
351
352         * paragraph.C (asString): use new inset->textString method (fix
353         bug 2089) 
354
355 2005-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
356
357         * CutAndPaste.C (numberOfSelections): new helper function.
358
359         * lyxfunc.C (getStatus): remove support for LFUN_COPY and LFUN_CUT.
360
361         * text3.C (getStatus): move code for LFUN_CUT and LFUN_COPY from
362         LyXFunc::getStatus; implement LFUN_PASTE.
363
364 2005-11-17  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
365
366         * dociterator.[Ch]: new member realInset() that returns the cell
367         for tabulars and the inset for the rest (bug 1952).
368         * undo.C (textUndoOrRedo): use realInset when resetting insetOwner
369         (bug 1952).
370
371 2005-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
372
373         * text.C (leftMargin): honor the NextNoIndent tag in layouts.
374
375 2005-11-17  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
376
377         * lyxfunc.C:
378         * paragraph.C:
379         * text3.C: InsetBase::forceDefaultParagraphs now takes a cell as
380         argument.
381
382 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
383
384         * text.C (redoParagraph): Fix bug 1966: cursor doesn't go to next
385         line after typing ctrl-enter
386
387 2005-11-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
388
389         * bufferview_funcs.C (coordOffset): fix the fix for bug 2094, as
390         math insets do not return a proper editable() state yet (bug 2124).
391
392 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
393
394         * BufferView_pimpl.[Ch]: Fix bug 1814: better scroll behaviour for 
395         docs containing very large paragraphs.
396
397 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
398
399         * cursor.C (selectionBegin, selectionEnd):
400         * text.C (drawSelection): Fix bug 2115: assertion when anchor and 
401         cursor at different depths.
402
403 2005-11-03  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
404
405         * bufferview_funcs.C (coordOffset): do not call cursorPos
406         for collapsed collapsables (fix bug 2094).
407
408 2005-11-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
409
410         * paragraph.C (fontSpan): make sure that the FontSpan does not
411         span across beginOfBody (bug 1947).
412
413 2005-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
414
415         * lyxlength.h: undefine macros that clash with solaris/x86 (bug 992)
416
417 2005-11-03  Michael Gerz  <michael.gerz@teststep.org>
418
419         * messages.C: fix crash and localization on MinGW/Windows platform
420
421 2005-11-02  Angus Leeming  <leeming@lyx.org>
422
423         * Bidi.C:
424         * lyxtextclass.C: trivial fixes to some MSVS warnings.
425
426 2005-10-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
427
428         * text3.C (getStatus): re-enable disabled code. (bug 2081)
429
430         * BranchList.h (empty): constify.
431
432 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
433
434         * text3.C (getStatus): 
435         * MenuBackend.C (expandBranches): take the branch list from the
436         master document (bug 2092).
437         
438         * MenuBackend.C (expandBranches): 
439         * bufferparams.C (writeFile): use BranchList type.
440
441 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
442
443         * text3.C (dispatch, getStatus): 
444         * LyXAction.C (init): 
445         * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
446
447 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
448
449         * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
450
451 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
452
453         * text.C (insertChar): do not reset boundary (bug 2061)
454
455 2005-10-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
456
457         * dociterator.C (updateInsets): new method. Updates the inset_
458         cache of all the slices of the iterator.
459
460         * text2.C (deleteEmptyParagraphMechanism): compare also containing
461         insets when comparing pit/pos; pass the right cursor to
462         recordUndo; when a paragraph has been deleted, compare `old.top()' to
463         the right cursor slice of `cur'; use updateInsets on cur to make
464         sure that the inset caches are correct; general cleanup.
465
466 2005-10-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
467
468         * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
469         dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
470         containg inset. If this does not work, the same command will be
471         sent to other insets down the queue by LCursor::dispatch. (bug 2066)
472
473         * lyxfunc.C (dispatch): make sure the cursor is correct when doing
474         a dispatch.
475
476 2005-10-20  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
477
478         * lyxtextclass.C (Read): convert layout file if the format is wrong
479         * lyxtextclass.C (layout2layout): new, needed for the above
480
481 2005-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
482
483         * messages.C: do not forget to include <cerrno>.
484
485 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
486
487         * dociterator.h (StableDocIterator): add access to pos().
488         * undo.C (samePar): new method to check if two
489         iterators are in the same paragraph
490         * undo.C (recordUndo): check for samePar instead of cell identity
491         (which includes pos() and is too strict) (fixes bug 2097)
492
493 2005-10-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
494
495         * text.C (setCursorFromCoordinates): return a bool telling whether
496         dEPM triggered.
497
498         * text3.C (cursorPrevious): update if needed after
499         setCursorFromCoordinates (when dEPM triggered).
500
501         * text2.C (cursorDown, cursorUp): make sure to reset the anchor
502         (otherwise the anchor may be completely wrong and make dEPM assert).
503
504 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
505
506         * buffer.C: version upgrade to 245.
507         * bufferparams.C: remove \quotes_times (bug 2090).
508         * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
509         quotation marks as default.
510
511 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
512
513         * CutAndPaste.C (nrOfParagraphs): remove (unused)
514         * CutAndPaste.C (cutSelection): Remove debug message
515         * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
516         undo information and only copy if this is a real cut
517         * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
518         call
519         * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
520         (bug 2059)
521         * CutAndPaste.C (eraseSelection): prevent cursor corruption
522         * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
523         superflous cur.selection() setting
524         * CutAndPaste.[Ch] (grabSelection): take a const cursor
525         * cursor.C (selectionAsString): implement mathed case ((bug 2059)
526
527 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
528
529         * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
530         change anything.
531
532 2005-10-11  Martin Vermeer  <martin.vermeer@hut.fi>
533
534         * BufferView_pimpl.C: comment layout change
535
536 2005-10-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
537
538         * LyXAction.C:
539         * lfuns.h:
540         * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
541         by bibliography managers (bug 2071).
542
543 2005-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
544
545         * BufferView_pimpl.C (update): choose arguments to update call so
546         that single-par update works most times
547         * text3.C (dispatch): carefully tune updating separately for
548         whole-screen and current-paragraph
549         * rowpainter.C (paintText): 1) replace painting by caching for
550         the two extra paragraphs, because we can;
551         2) suppress greying out of areas below/above drawn area in case of
552         single-par refresh
553         * lyxfunc.C (dispatch): remove superfluous update
554         * LyXAction.[Ch]: introduce SingleParUpdate
555
556 2005-10-05  Angus Leeming  <leeming@lyx.org>
557
558         * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
559         always initialised before use.
560
561         * text.C (setHeightOfRow): squash warning about comparison
562         of signed and unsigned types.
563
564 2005-10-03  Martin Vermeer  <martin.vermeer@hut.fi>
565
566         * text.C (cursorX): two fixes involving RtL text drawing
567
568 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
569
570         * cursor.C (erase): fix 'clever' UI hack. It was activated for all
571         items, not only large ones (part of bug 2057)
572
573 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
574
575         * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
576         argument, use "newcommand".
577
578 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
579
580         * cursor.C (setSelection): do not open collapsable insets;
581         the insets do by themselves now (autoopen).
582
583 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
584
585         * buffer.C: format is up to 244.
586
587 2005-09-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
588
589         * text.C (redoParagraph): fix calcultation of inset width wrt 
590         leftMargin (bug 1957).
591
592         * text3.C (dispatch): leave inset to the right when hitting ESC 
593         (bug 2034).
594
595 2005-09-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
596
597         * text2.C: 
598         * text.C: 
599         * factory.C:
600         * messages.C: include <boost/current_function.hpp> 
601
602 2005-09-12  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
603
604         * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
605         when command is internal. (bug 1941)
606
607 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
608
609         * text2.C (cursorRight): do not honor boundary when at the end of
610         a paragraph. (bug 2010 again)
611
612 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
613
614         * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
615
616 2005-09-19  Martin Vermeer  <martin.vermeer@hut.fi>
617
618         * rowpainter.C (paintText): fix RtL space width display bug (2029)
619
620 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
621
622         * text2.C (setCursor): remove the unused 'boundary' parameter for
623         the CursorSlice version; adapt the LCursor version.
624
625         * lyxrc.C (write): 
626         * paragraph_pimpl.C (markErased): 
627         * cursor.C (bruteFind2, bruteFond3): fix warnings.
628
629 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
630
631         * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
632         as is already done for "chapter".
633
634 2005-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
635
636         * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
637         textclass; do not record undo if nothing is changed.
638
639 2005-09-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
640
641         * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
642
643 2005-09-14  Michael Gerz  <michael.gerz@teststep.org>
644
645         * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
646
647 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
648
649         * BufferView_pimpl.C (setBuffer): when one wants to set the layout
650         combox, it is necessary to search for the topmost paragraph in the
651         cursor stack (bug 1926)
652
653 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
654
655         * text2.C (cursorEnd, cursorRight): do not set boundary to true at
656         end of paragraph. (bug 2010)
657
658 2005-09-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
659
660         * text.C (leftMargin): check for inInset == 0
661
662 2005-09-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
663
664         * text.C (leftMargin): test for insetbase's new neverIndent()
665         bool instead of listing each and every inset that does not
666         wish par indendation.
667
668 2005-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
669
670         * buffer_funcs.C (setCounter): put the code to compute enum label
671         here (where it belongs).
672
673         * counters.C (enumLabel): move code to buffer_funcs.C.
674
675 2005-09-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
676
677         * outputparams.[Ch]: store local_font instead of local_language
678         * paragraph.C (simpleTeXOnePar): adapt to the change above
679
680 2005-09-08  Martin Vermeer  <martin.vermeer@hut.fi>
681
682         * buffer_funcs.C:
683         * counters.[Ch]: clean up special code for Hebrew.
684
685 2005-09-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
686
687         * lyxfunc.C (lookupChange): fix code when cursor depth is greater
688         than 2.
689
690 2005-09-08  Angus Leeming  <leeming@lyx.org>
691
692         * ispell.C:
693         * lyxrc.C: correct grammar describing invocation of the
694         spellchecker.
695
696 2005-08-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
697
698         * text.C (read): remove unused variable.
699         (readParToken): remove static Change variable (never good in
700         recursive settings...); add it as a parameter instead.
701
702         * paragraph_pimpl.C (acceptChange): make debug info conditional.
703
704         * metricsinfo.C (PainterInfo): add new member erased_.
705
706         * rowpainter.C (RowPainter): add erased_ member, initialized from
707         PainterInfo. 
708         (paintInset): pass erased_ to Inset::draw.
709
710         * lyxfunc.C (lookupChange): new function. Tells whether change 
711         tracking is disabled at a given postion.
712         (getStatus): disable some actions when in deleted text with change
713         tracking. 
714
715 2005-08-03  John Levon  <levon@movementarian.org>
716         
717         * tabular.C (appendColumn, setMultiColumn): adapt to change to
718         InsetText::clear().
719
720         * paragraph_pimpl.C (markErased): add bool argument and handle it.
721         Also make sure to mark insets recursively.
722         (rejectChange, erase): be recursive
723
724         * paragraph.C (markErased): add bool argument.
725 2005-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
726
727         * lyxfind.C (findNextChange): tiny cleanup.
728
729         * BufferView_pimpl.C (trackChanges): avoid crash when stopping
730         change tracking with the cursor in an inset; make sure the first
731         change is not skipped.
732
733 2005-09-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
734
735         * CutAndPaste.[Ch]: new methods dirtyTabularStack and 
736         tabularStackDirty to work around bug 1919 (tabular needs
737         to know whether its own cell paste buffer or the one of 
738         texted is newer.
739         * CutAndPaste.C: mark tabular_stack_ clean after copy.
740
741 2005-08-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
742
743         * text2.C (cursorEnd): check for empty text (fixes bug 1998)
744
745 2005-08-19  Lars Gullik Bjønnes  <larsbj@gullik.net>
746
747         * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
748         use old deleteion algorithm when changetracking is on.
749
750 2005-08-18  Martin Vermeer  <martin.vermeer@hut.fi>
751
752         * messages.C (get): add debug output.
753
754 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
755
756         * text.C (cursorX): fix bug 1965: cursor movement at
757         line end broken in RtL.
758         (drawSelection): fix bug 1970: drawing of single-line 
759         selection broken for RtL.
760
761 2005-07-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
762
763         bug 465.
764
765         * dociterator.h (clear, push_back, pop_back): change from
766         protected to public.
767
768         * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
769         and changed to just return the value of the item depth; take a
770         ParIterator as argument; take the itemdepth at outer nesting level
771         in account if necessary; cleanup and comment the code.
772         (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
773         and changed to just return true if reset is needed; take a
774         ParIterator as argument; cleanup and comment the code.
775         (setCounter): adapt to above changes.
776
777 2005-07-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
778
779         * text3.C (dispatch): make debug message optional
780
781 2005-08-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
782
783         * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
784         inset. (bug 1963)
785
786 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
787
788         * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
789
790 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
791
792         * text.C (insertChar):
793         * text2.C (deleteEmptyParagraphMechanism): take care whether 
794         a blank has been deleted (in change tracking mode) (bug 1254).
795
796 2005-07-20  John Levon  <levon@movementarian.org>
797
798         * text2.C (insertStringAsLines): remove old dubious code,
799         fixing bug 1939.
800
801 2005-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
802
803         * MenuBackend.C (expandToc): use Floating::listName() as title of
804         the floats submenus.
805
806 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
807
808         * toc.[Ch]: Do not use translatable strings (bug 1870).
809
810 2005-07-20  John Levon  <levon@movementarian.org>
811
812         * tabular.C: fix 1748 - setting multicolumn adds
813           left line to the first cell
814
815 2005-07-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
816
817         bug 1920
818         * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
819         pars in one go.
820
821 2005-07-18  Lars Gullik Bjønnes  <larsbj@lyx.org>
822
823         * messages.C: supress some lyxerr messages
824
825 2005-07-18  Juergen Vigna  <jug@lyx.org>
826
827         * text.C (drawSelection): honor boundary when asking for cursorX.
828
829 2005-07-17  José Matos  <jamatos@fc.up.pt>
830
831         * tabular.C (recalculateMulticolumns): fix handling of one column
832         tables.
833
834 2005-07-17  Juergen Vigna  <jug@lyx.org>
835
836         * text.C (Delete, backspace): fixed so that paragraph with the
837         same layout can be merged by Delete/Backspace.
838
839 2005-07-17  Michael Schmitt  <michael.schmitt@teststep.org>
840
841         * text.C (readParToken): fix spelling.
842
843 2005-07-17  Martin Vermeer  <martin.vermeer@hut.fi>
844
845         * text2.C: fix counter update for DEPM problem reported by
846         Georg Baum
847
848 2005-07-17  Juergen Vigna  <jug@lyx.org>
849
850         * BufferView_pimpl.C (setBuffer): save/restore the
851         cursor/selection when switching buffers
852
853         * buffer.h: 
854         * buffer.C (saveCursor): add saveDocumentIterators to save the
855         cursor when switching buffer.
856
857 2005-07-17  Michael Schmitt  <michqel.schmitt@teststep.org>
858
859         * debug.C: fix typo
860         * buffer.C: clarify message
861         
862 2005-07-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
863
864         * dociterator.C (DocIterator): fix initialization order
865
866 2005-07-17  Juergen Vigna  <jug@lyx.org>
867
868         * text2.C (cursorHome): 
869         * text.C (drawSelection, cursorX): 
870         * dociterator.C (textRow): add boundary to getRow() call
871
872         * paragraph.C (getRow): implementation of below
873
874         * paragraph.h: add parameter boundary for getRow() function
875
876 2005-07-17  José Matos  <jamatos@fc.up.pt>
877
878         * buffer.C:
879         * bufferparams.[Ch]:
880         * tex-strings.[Ch]: new file format, remove support for a4.sty,
881         a4wide.sty and a4widemargins.
882
883 2005-07-17  Juergen Vigna  <jug@lyx.org>
884
885         * text2.C (cursorLeft): fix one of error
886
887 2005-07-17  Juergen Vigna  <jug@lyx.org>
888
889         * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
890                    cursorEnd):
891         more fixes for boundary handling
892
893         * text3.C (dispatch): don't reset cursor if boundary has changed
894         on cursor movement.
895
896 2005-07-16  Juergen Vigna  <jug@lyx.org>
897
898         * text2.C (getColumnNearX): hopefully got it right now,
899         check if we are on column 0 for special case.
900
901 2005-07-16  Juergen Vigna  <jug@lyx.org>
902
903         * text2.C (getColumnNearX): handle special case Newline Inset
904
905         * text.C (singleWidth): Just remove bogus check
906
907 2005-07-16  Michael Schmitt  <michael.schmitt@teststep.org>
908
909         * funcrequest.C (split): avoid reading uninitialized char c
910
911 2005-07-16  José Matos  <jamatos@fc.up.pt>
912
913         * buffer.C:
914         * converter.C:
915         * lyxrc.C:
916         * paper.h:
917         * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
918         single papersize variable.
919
920 2005-07-16  Juergen Vigna  <jug@lyx.org>
921
922         * text3.C (dispatch): honor boundary when checking if a cursor
923         movement has been done
924
925         * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown) 
926         (setCursor, setCursorIntern): fix cursor movement with boundary
927
928 2005-07-16  Juergen Vigna  <jug@lyx.org>
929
930         * text.C (currentState): output the actual Boundary
931
932 2005-07-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
933
934         * factory.C (createInset): fix bad logic for tabular creation
935
936 2005-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
937
938         * lyx_main.C (init): change some reLyX reference to tex2lyx
939
940 2005-07-16  Juergen Vigna  <jug@lyx.org>
941
942         * dociterator.C (DocIterator): initialize boundary
943
944 2005-07-16  Juergen Vigna  <jug@lyx.org>
945
946         * text2.C (getColumnNearX): Consider rows without trailing blank.  
947
948 2005-07-16  André Pönitz  <poenitz@gmx.net>
949
950         * lyxfont.h: Change order of declarations to give the compiler
951         a better chance to inline things
952
953         * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
954         questions on unsaved docs for better scritability
955
956 2005-07-16  André Pönitz  <poenitz@gmx.net>
957
958         * paragraph.h (getChar): remove asserts as the same kind of security
959         can be achieved by using a suitable standard library implementation
960         and the function was in the critical path (25.9% in profiler)
961
962 2005-07-16  Juergen Vigna  <jug@lyx.org>
963
964         * cursor.C (bruteFind2):
965         * bufferview_funcs.C (coordOffset): 
966         * text.C (cursorX,cursorY): Handle cursor position after last char
967         in row before a inset which uses a whole row.
968
969 2005-07-15  José Matos <jamatos@lyx.org>
970
971         * output_plaintext.[Ch] (writeFileAscii): control reference title
972         printing.
973         (asciiParagraph): noparbreak was already deal and was incorrectly
974         used.
975
976 2005-07-15  Juergen Vigna <jug@lyx.org>
977
978         * lyxfunc.C (dispatch): save and restore the cursor after a
979         textclass switch.
980
981 2005-07-15  Lars Gullik Bjønnes <lgb@tandberg.net>
982
983         * text.C (backspace): bug 806 for empty keepempty paragraphs we
984         change the layout to default before letting DEPM do its thing.
985
986         * paragraph_funcs.C (breakParagraph): dont reset the layout on
987         keepEmpty paragraphs
988
989         * text.C (setCursorFromCoordinates): add a debug statement
990
991         * text2.C (getColumnNearX): bug 1825 make sure that we don't
992         return a pos that is not on the row
993
994         * output_latex.C (TeXDeeper): get rid of potential dereferencing
995         of past the end iterator
996
997 2005-07-14  André Pönitz  <poenitz@gmx.net>
998
999         * undo.C (recordUndoFullBuffer): implement undo for
1000         textclass switches
1001
1002 2005-07-14  André Pönitz  <poenitz@gmx.net>
1003
1004         * cursor.C (setSelection): open insets when selection is set there
1005         to avoid crashs with cold coord cache
1006
1007 2005-07-14  André Pönitz  <poenitz@gmx.net>
1008
1009         * trans_mgr.C (insert): move cursor to the right after inserting
1010         a char.
1011
1012 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
1013
1014         * BufferView_pimpl.C (update): dampen some of the debug blabbering
1015         * factory.C (readInset): ditto
1016         * text.C, text2.C: ditto
1017
1018 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1019
1020         * buffer.C: format incremented to 242. There is no file format per
1021         se, but the "frenchb" language has been removed from lib/language
1022         and has to be translated to "french" by lyx2lyx.
1023
1024 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1025
1026         * cursor_slice.h, dociterator.h: add some documentation
1027         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
1028
1029 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1030
1031         * text.C (leftMargin): do not add identation to display() style
1032         insets, because they are always centered (bug 1293).
1033
1034 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1035
1036         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
1037         formatted_time methods in support/lyxtime.
1038
1039 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1040
1041         * toc.[Ch]: new method getGuiName, which is used by the frontends 
1042         to set the toc combo (fixes bug 1870). Make TOC string translatable.
1043
1044 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1045
1046         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
1047         StableDocIterator const &)
1048         * undo.C (recordUndo): use the above instead of cell.size() comparison
1049         (fixes bug 1808; instructed by Andr�.
1050
1051 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
1052
1053         * cursor_slice.h: 
1054         * dociterator.h: Fix the assert when copying rows/cols in math
1055
1056 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1057
1058         * BufferView_pimpl.C:
1059         * LyXAction.C:
1060         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
1061
1062         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
1063         (findInset): new functions, refactored from goto Inset that return 
1064         the position of a certain inset without setting the buffer's cursor
1065         (by Jean-Marc); 
1066         (gotoInset): rewrite to call findInset and then set the cursor
1067         (by Jean-Marc).
1068
1069 2005-06-16  Angus Leeming  <leeming@lyx.org>
1070
1071         * lyxrc.C (output, read): wrap all input and output of paths with
1072         calls to os::internal_path and os::external_path, respectively.
1073         (output): wrap bind_file inside quotes.
1074
1075         * format.C (view): enable the viewer to use the '$$s' placeholder.
1076
1077 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1078
1079         * LColor.[Ch] (getFromLaTeXName): new
1080
1081 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
1082
1083         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
1084
1085 2005-06-14  Angus Leeming  <leeming@lyx.org>
1086
1087         * lyx_main.C (init): ensure that the LyX binary dir is the first
1088         element in the PATH on non-POSIX builds.
1089
1090 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1091
1092         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
1093
1094 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1095
1096         * rowpainter.C (paintInset, paintHebrewComposeChar)
1097         (paintArabicComposeChar, paintChars): add a LyXFont argument.
1098         (paintChars): use getFontSpan to reduce calls to getFont to a
1099         minimum; use Paragraph::lookupChange instead of isXXXText.
1100         (paintForeignMark): rename LyXFont argument.
1101         (paintFromPos): pass a LyXFont object to the various paintXXX
1102         methods.
1103
1104         * FontIterator.C (FontIterator, operator++): use
1105         Paragraph::getFontSpan
1106
1107         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
1108         version that returns the font span as a pair.
1109
1110 2005-06-09  Angus Leeming  <leeming@lyx.org>
1111
1112         * converter.C (convert): Don't forget "outfile = real_outfile" as
1113         the final step in a conversion where the input and output file names
1114         are the same. Otherwise, future conversion steps won't work...
1115
1116 2005-06-09  Angus Leeming  <leeming@lyx.org>
1117
1118         * lyxsocket.C: remove stub code as it isn't needed by
1119         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
1120
1121 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1122
1123         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
1124         effectively disabled -x
1125
1126 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1127
1128         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
1129         when it actually makes sense.
1130
1131 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
1132
1133         * BufferView_pimpl.C: revert to showCursor in connection with
1134         Lars's front-end stack
1135
1136 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1137
1138         * text.C (redoParagraph): move cursor right after a bibitem
1139         has been inserted.
1140
1141         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
1142
1143 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1144
1145         * buffer_funcs.C (bufferErrors): fix computation of the end of an
1146         error range.
1147
1148 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
1149
1150         * BufferView.[Ch] (update):
1151         * BufferView_pimpl.[Ch] (update, metrics):
1152         * dimension.h (operator==):
1153         * lyxfunc.C (dispatch):
1154         * metricsinfo.h (ViewMetricsInfo):
1155         * rowpainter.C (paintText):
1156         * lyxtext.h:
1157         * text.C (redoParagraph):
1158         * text3.C (dispatch): Make LyX only repaint current paragraph in
1159         case of character insert --> speedup. Also fix cursor draw
1160         artifacts
1161
1162 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1163
1164         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
1165         avoid a crash (bug 1891)
1166
1167 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1168
1169         Fix bug 1892:
1170
1171         * text2.C (getStringToIndex): constify cur argument.
1172
1173         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
1174         argument has been given
1175         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
1176         try to invoke LFUN_INSET_APPLY).
1177
1178         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
1179         if no inset was created by doInsertInset
1180         (doInsertInset): return true if an inset has been inserted.
1181
1182 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1183
1184         * vspace.C (asGUIName): new method. A version of the space
1185         suitable for showing on screen.
1186
1187 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
1188
1189         * MenuBackend.C:
1190         * lyxrc.C: rename "ASCII" to "Plain Text"
1191
1192 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1193
1194         * buffer_funcs.C (expandLabel): take a Buffer as argument;
1195         translate the labelstring.
1196         (setCounter): translate labelstring as needed.
1197
1198         * output_docbook.C (makeCommand): fix expandLabel invokation
1199
1200 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
1201
1202         * BufferView.C: fix dialog title
1203
1204 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1205
1206         * lyx_main.C (priv_exec): fix logic error with help from Angus
1207         * lyx_main.C (parse_execute): set is_gui = false and remove now
1208         obsolete comment about a segfault
1209
1210 2005-05-18  Angus Leeming  <leeming@lyx.org>
1211
1212         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
1213
1214 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
1215
1216         * tabular.[hC]: added setCellInset to fix tabular paste.
1217
1218 2005-05-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1219
1220         * buffer.C (save): check if destination is writable before trying
1221         to copy a file
1222
1223 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
1224
1225         * BufferView_pimpl.C (update): fix processEvents -caused update
1226         recursion bug
1227
1228 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1229
1230         * buffer_funcs.C (setCounter): fix test for numbering of
1231         environments.
1232
1233         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
1234         depth correctly; use optional argument when it exists
1235
1236         * lyxtextclass.C: remove unused MaxCounterTags enum
1237         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
1238         (max_toclevel, min_toclevel): new methods.
1239
1240         * MenuBackend.C (expandToc2): fix case where depth is smaller than
1241         the smallest depth in toc.
1242
1243         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
1244         layouts that should not appear in a table of contents.
1245
1246 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1247
1248         * cursor.h (undispatched, noUpdate): add comments from Andr�
1249 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
1250
1251         * lfuns.h:
1252         * LyXAction.C:
1253         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
1254
1255 2005-05-07  André Pönitz  <poenitz@gmx.net>
1256
1257         * cursor.[Ch] (leaveInset): new function
1258
1259 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1260
1261         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
1262
1263 2005-05-04  Angus Leeming  <leeming@lyx.org>
1264
1265         * lyxfunc.C (getStatus): disable the spell checker dialog if
1266         none of USE_[AIP]SPELL are defined.
1267
1268 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
1269
1270         * tabular.C (setWidthOfCell): remove obsolete comment
1271
1272 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
1273
1274         * paragraph.C (bibitem):
1275         * buffer_funcs.C (setCounter):
1276         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
1277
1278 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1279
1280         * text3.C (getStatus): immediately return after setOnOff
1281
1282         * rowpainter.C: fix drawing of appendix start
1283
1284 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1285
1286         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
1287         SwitchBetweenClasses and remove the unused return value.
1288         Handle character styles, too
1289
1290 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
1291
1292         * factory.C (createInset): handle undefined character styles
1293
1294 2005-05-02  Angus Leeming  <leeming@lyx.org>
1295
1296         * buffer.C: protect the #include of utime.h with a preprocessor
1297         guard.
1298
1299 2005-05-02  Angus Leeming  <leeming@lyx.org>
1300
1301         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
1302         function so that auto-saving works, albeit in a blocking manner.
1303
1304         * Makefile.am: make compilation of the client sub directory, of
1305         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
1306         on conditionals set at configure time.
1307
1308         * SpellBase.[Ch]: no longer an abstract base class. Instead,
1309         it can be compiled in its own right but has no-op functionality.
1310
1311         * aspell.C, pspell.C: remove preprocessor guards. The files should
1312         be compiled only if the necessary functionality exists.
1313
1314         * lyxserver.C, lyxsocket.C: disable on Windows.
1315
1316 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
1317
1318         * text.C (leftMargin): Fix the parindent use bug (1764)
1319         by dirty trick
1320
1321 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
1322
1323         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
1324         argument.
1325
1326 2005-04-25  Angus Leeming  <leeming@lyx.org>
1327
1328         * Bidi.[Ch]:
1329         * coordcache.[Ch]:
1330         * ispell.C:
1331         * lyxserver.C:
1332         * mover.C:
1333         * pch.h:
1334         include <config.h> in .C files, not .h ones.
1335         add licence blurb.
1336         protect headers inside preprocessor guards.
1337
1338 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1339
1340         * FuncStatus.h (StatusCodes): document
1341
1342 2005-04-21  André Pönitz  <poenitz@gmx.net>
1343
1344         * FuncStatus.h (enabled, onoff): document
1345
1346 2005-04-19  Angus Leeming  <leeming@lyx.org>
1347
1348         * BufferView_pimpl.C (cursorToggle): no longer test whether
1349         any child processes have been reaped before calling
1350         handleCompletedProcesses().
1351
1352 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
1353
1354         * text3.C (dispatch): fix, finally fix, the language problem in
1355         new lyxtexts, without disabling on-the-fly font changes (Helge's
1356         bug report)
1357
1358 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1359
1360         * text3.C (dispatch): set cursor on double/triple click events
1361         (bug 1811)
1362
1363 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1364
1365         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
1366         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
1367
1368         * rowpainter.C (paintFirst): simplify the code a little bit. In
1369         particular, remove the test for secnumdepth.
1370         * text.C (setHeightOfRow): only allocate space for chapter number
1371         when updateCounters provided an actual label, instead of looking
1372         at secnumdepth directly.
1373
1374         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
1375
1376         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
1377         paragraphs when secnumdepth is large enough or, for environments,
1378         when they are not the first in a sequence.
1379
1380 2005-04-17  Angus Leeming  <leeming@lyx.org>
1381
1382         * buffer.C (makeLaTeXFile): replace code to manipulate a path
1383         containing space and '~' characters with a call to latex_path().
1384
1385 2005-04-17  Angus Leeming  <leeming@lyx.org>
1386
1387         * converter.C (convert): protect all args of convertDefault.sh
1388         script with quotes.
1389
1390 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1391
1392         * text3.C (dispatch): change the layout to "Caption" after inserting
1393         a float.
1394
1395 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1396
1397         * text3.C (dispatch): fix language problem in newly created
1398         textinsets (and main text) in non-english docs
1399
1400 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1401
1402         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
1403         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
1404         * text3.C (getStatus): disable LFUN_INSET_MODIFY
1405
1406 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1407
1408         * lyxtext.h:
1409         * text.C (metrics):
1410         * text2.C (getFont):
1411         * rowpainter.C (getFont): Fix metrics bug introduced by inset
1412         fonts fix
1413
1414 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1415
1416         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
1417         output of \item arguments without trailing text.
1418
1419 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1420
1421         * FontIterator.C (operator*): avoid a copy of the font.
1422
1423 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1424
1425         * rowpainter.C (getFont): fix language bug from previous fix
1426
1427 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1428
1429         * rowpainter.C (RowPainter, getFont): fix font inside inset
1430         (bugs 1766, 1809)
1431
1432 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
1433
1434         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1435         preventing inserted font, deco, delim insets jumping to start of
1436         surrounding inset.
1437
1438 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1439
1440         * lyxfunc.C (dispatch): translate message before sending it to the
1441         minibuffer.
1442
1443 2005-03-29  Angus Leeming  <leeming@lyx.org>
1444
1445         * lyx_main.C (priv_exec): call os::internal_path on each file passed
1446         to LyX on the command line.
1447
1448 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
1449
1450         * vc-backend.C: use QuoteName to protect file names wherever
1451         necessary.
1452
1453 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
1454
1455         * buffer.[Ch]:
1456         * BranchList.h: fix bugs 1844,1845: document settings don't
1457         stick
1458
1459 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1460
1461         * lyxrc.C (setDefaults, read, output, getDescription): add support
1462         for tex_allows_spaces.
1463
1464         * exporter.C (Export): allows files in directory containing spaces
1465         if tex_allows_spaces is true.
1466
1467         * buffer.C (makeLaTeXFile): if the document path contains spaces,
1468         output it in double quotes.
1469
1470 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1471
1472         * rowpainter.C: use default text height for drawing change tracker
1473         strikeout lines.
1474
1475 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1476
1477         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1478
1479 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1480
1481         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1482         directory is missing.
1483
1484 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
1485
1486         * text2.C: fixed the fix, extended to other case.
1487
1488 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
1489
1490         * text2.C: fix for cursor up/down stuck in math [bug 1792]
1491
1492 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
1493
1494         * text2.C (cursorUp): get rid of a crash
1495         * text.C (x2pos): add an assert
1496
1497 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1498
1499         * lyxfunc.C (getStatus): fix warning when assertions are disabled
1500
1501         * text3.C:
1502         * lyxfunc.C:
1503         * dociterator.C: include <boost/current_function.hpp>, which is
1504         needed when assertions are disabled.
1505
1506 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1507
1508         * text2.C: fix for stuck cursor when traversing two
1509         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1510
1511 2005-02-25  Andreas Vox  <avox@arcor.de>
1512
1513         * output_docbook.C (makeParagraph): suppress trailing newline
1514         after a run of paragraphs
1515
1516 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1517
1518         * paragraph.C: fix for confused change tracker when pasting
1519         text that begins with a lineseparator. [bug 1827]
1520         (setChange(0, Change::INSERTED);)
1521
1522         * paragraph_funcs.C: fix for lost changes on triple-paste
1523         in change tracking mode [bug 1827] (par.setChange()).
1524
1525 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1526
1527         * text2.C (updateCounters, setCounter, expandLabel): move to
1528         buffer_funcs.
1529
1530         * buffer_funcs.C (updateCounters): turn into a free standing
1531         function and add a buffer parameter. Remove dead code for tracking
1532         labelstring change.
1533         (setCounter): change into a free-standing function which gets a
1534         dociterator as argument. Use this iterator to fix captions in a
1535         simple way. When no float is found above the caption, use the
1536         labelstring of the caption layout as default.
1537
1538         * text.C (breakParagraph, backspace):
1539         * text2.C (init, setLayout, changeDepth):
1540         * text3.C (dispatch):
1541         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1542         updateCounters.
1543
1544         * dociterator.C (forwardPar): make it much faster by calling
1545         forwardPos() only when really necessary.
1546
1547         * output_docbook.C (makeCommand): adapt to expandLabel move.
1548
1549         * cursor.C: remove unused variable
1550
1551 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1552
1553         * paragraph_funcs.C: fix crash when pasting insets in change
1554         tracking mode [bug 1277] (honour change type in moveItem).
1555
1556 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1557
1558         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1559
1560 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1561
1562         * BufferView.C (setCursor): change to use a DocIterator.
1563         (gotoLabel): use BufferView::setCursor (other part of bug 781).
1564         (putSelectionAt): adapt to BufferView::setCursor change.
1565
1566         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1567         moved here from LyXText and rewritten to use proper cursor
1568         methods. Fixes bug 1787, 616 and 835.
1569
1570         * BufferView_pimpl.C (restorePosition): set the cursor correctly
1571         when inside an inset (part of bug 781).
1572         (dispatch): adapt to change of BufferView::setCursor.
1573         (getStatus, dispatch): handle LFUN_GOTOERROR,
1574         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1575
1576         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1577         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1578         * text3.C (gotoNextInset, gotoInset): removed.
1579
1580 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1581
1582         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1583
1584 2005-02-15  Angus Leeming  <leeming@lyx.org>
1585
1586         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1587         can be used meaningfully in a comparison.
1588
1589 2005-02-13  André Pönitz  <poenitz@gmx.net>
1590
1591         * bufferview_funcs.C (coordOffset): improve cursor drawing
1592
1593 2005-02-13  André Pönitz  <poenitz@gmx.net>
1594
1595         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1596         * Cursor.C (dispatch): use fixIfBroken
1597         * lyxfunc.C (getStatus): use fixIfBroken
1598
1599 2005-02-15  Angus Leeming  <leeming@lyx.org>
1600
1601         * lyx_main.C (error_handler):
1602         * lyxfunc.C:
1603         * lyxrc.C (setDefaults):
1604         s/GetEnv/getEnv/.
1605         #include "environment.h".
1606
1607         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1608
1609 2005-02-15  Angus Leeming  <leeming@lyx.org>
1610
1611         * lyxserver.C (startPipe): squash MSVC warning "local variable
1612         'fd' used without having been initialized".
1613
1614 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1615
1616         * BufferView_pimpl.C: revert accidental commit.
1617
1618 2005-02-14  André Pönitz  <poenitz@gmx.net>
1619
1620         * dociterator.[Ch]: new member forwardPosNoDescent(),
1621         which doesn't enter nested insets.
1622         * text2.C (setFont): use forwardPosNoDescent() instead
1623         of ForwardPos() (fixes crash on font change).
1624
1625 2005-02-13  Angus Leeming  <leeming@lyx.org>
1626
1627         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1628         only if lyxrc.path_prefix is not empty.
1629
1630 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1631
1632         * bufferparams.C (readGraphicsDriver): prevent crash
1633
1634 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1635
1636         * text2.C (setCounter): check for inInset() == 0
1637
1638 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1639
1640         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1641         but use update() to get correct screen display; use convert
1642         instead of istringstream.
1643         (getStatus): handle LFUN_GOTO_PARAGRAPH
1644
1645         * lyxfunc.C (dispatch, getStatus): do not handle
1646         LFUN_GOTO_PARAGRAPH here.
1647
1648 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1649
1650         * text3.C (dispatch): size() -> depth()
1651
1652         * text2.C: remove some debug output
1653
1654         * paragraph.C: ws changes only
1655
1656         * lyxfunc.C (getStatus): size() -> depth()
1657
1658         * dociterator.h (clear, push_back, pop_back, internalData,
1659         operator[], resize, empty): new functions
1660         Make StableDocIterator and operator== be friends. Don't inherit
1661         from std::vector use a privat class variable slices_ instead.
1662         Modify to fit.
1663
1664         * dociterator.C: update because of not inheriting from std::vector
1665         anymore. Call explictly to slices_ instead. Use depth() instead of
1666         size() and top() instead of back()
1667
1668         * cursor.C: chagne size() -> depth and back() -> top(). Also
1669         remove some direct operator[](i) calls in favour of foo[i]
1670         (getFont): remove some dead code
1671
1672         * bufferview_funcs.C (coordOffset): size() -> depth()
1673
1674         * buffer.C: ws changes only
1675
1676         * CutAndPaste.C (eraseSelection): back() -> top()
1677
1678         * BufferView_pimpl.C (selectionRequested): back() -> top()
1679
1680         * BufferView.C (setCursor): size() -> depth()
1681
1682 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1683
1684         * text3.C (cursorPrevious): return true if depm changed something
1685         (cursorNext): ditto
1686         (dispatch): rename sl to oldTopSlice, remove moving use the new
1687         NoUpdate func attrib instead. Make sure that needsUpdate is set
1688         for function that have NoUpdate, but where depm might have changed
1689         the buffer anyway.
1690
1691         * text2.C (cursorLeft): make us return true if depm changed
1692         something
1693         (cursorRight): ditto
1694         (cursorUpParagraph): ditto
1695         (curosrDownParagraph): ditto
1696         (cursorUp, cursorDown): ditto, make sure to read comments in code
1697         (deleteEmptyParagraphMechanism): remove an assert, also return
1698         true if just a single char was deleted.
1699
1700         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1701         cursor that we modify, to avoid modifying an active cursor before
1702         we call setCursor. This allows depm to run. Also return true if
1703         depm deleted something.
1704
1705         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1706         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1707         cursorDownParagraph, cursorPrevious and cursorNext, return true if
1708         something was changed in the buffer because of them (ie. depm run)
1709
1710         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1711         debug messages. Make update by default be false. Make sure that
1712         the result of update is retained throught several calls down to
1713         dispatch.
1714
1715         * LyXAction.h: add a new func_attrib: NoUpdate
1716
1717         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1718         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1719         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1720         and LFUN_WORDLEFT
1721         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1722
1723 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1724
1725         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1726         bv_->owner(), bv_->buffer() by direct references to the private
1727         members.
1728         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1729         (getStatus): isSavedPosition() is in BufferView::Pimpl.
1730         (fitCursor): center() is in BufferView::Pimpl.
1731         (getStatus, trackChanges, dispatch): no need for a temporary buf
1732         variable
1733         (fitCursor, workAreaDispatch): use workarea().workheight()
1734
1735 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1736
1737         * CutAndPaste.C (pasteSelectionHelper): fix a crash
1738
1739 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1740
1741         * buffer.C: format up to 241.
1742         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1743         break if pasting into ERT
1744         * lyxfunc.C (getStatus): suppress mathpanel and
1745         LFUN_DIALOG_SHOW_NEW_INSET in ERT
1746
1747 2005-02-01  Angus Leeming  <leeming@lyx.org>
1748
1749         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1750
1751 2005-02-01  Angus Leeming  <leeming@lyx.org>
1752
1753         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1754         calling fs::is_directory().
1755
1756 2005-01-31  Angus Leeming  <leeming@lyx.org>
1757
1758         * lyx_main.C (priv_exec): specify explicitly the relative location
1759         of the top level build directory when run in-place.
1760
1761 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1762
1763         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1764         LyXText containing the cursor, not the top-level one.
1765
1766         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1767         true.
1768         (insertStringAsLines): rename par to pit; use temporary variable
1769         par to hold a Paragraph; do not store par.layout() in a variable,
1770         since the pointer may die when breaking paragraphs; pass pars to
1771         breakParagraph() instead of Buffer::paragraphs().
1772
1773 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1774
1775         * lyxlex_pimpl.h: #include <fstream>.
1776
1777         * BufferView.[Ch] (getLyXText): add a const version.
1778
1779         * BufferView_pimpl.C: add debug aids.
1780
1781         * RowList_fwd.h:
1782         * buffer.h:
1783         * lyxrow.h:
1784         * paragraph_funcs.h: add commentary explaining what the class does.
1785
1786
1787         * coordcache.[Ch]: add lots of commentary.
1788         (startUpdating, doneUpdating): debug aids.
1789         (arrays, insets, parPos, getParPos): accessors to private data.
1790
1791         * cursor_slice.[Ch] (text): add a const version.
1792         * dociterator.[Ch] (text, innerText): add const versions.
1793
1794         * lyxtext.h (breakParagraph): change the keep_layout arg to a
1795         bool.
1796
1797         * paragraph.C (getRow, pos2ros): add asserts.
1798
1799         * paragraph.h: add commentary. Lots of.
1800
1801         * paragraph.[Ch] (metrucs, draw): removed.
1802
1803         * cursor.C:
1804         * rowpainter.[Ch]: const-correct changes.
1805
1806         * text.C: various obvious clean-ups. Removal of ancient cruft.
1807         Bug fixes, even.
1808
1809 2005-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
1810
1811         * vc-backend.C (find_file): rewrite to use boost.filesystem
1812         (scanMaster): ditto
1813
1814         * main.C (main): set default name check for boost.filesystem to
1815         no check
1816
1817         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1818         (open): ditto
1819         (doImport): ditto
1820         (actOnUpdatedPrefs): ditto
1821
1822         * lyx_main.C (init): rewrite to use boost.filesystem
1823         (queryUserLyXDir): ditto
1824
1825         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1826         (getContentsOfAsciiFile): ditto
1827
1828         * lastfiles.C (readFile): rewrite to use boost.filesystem
1829
1830         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1831
1832         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1833         (loadLyXFile): ditto
1834
1835         * buffer.C (Buffer): adjust for destroydir
1836         (getLogName): rewrite to use boost.filesystem
1837         (setFileName): ditto
1838         (save): use fs::copy_file (from fs_extras)
1839
1840         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1841
1842         * LaTeX.C (run): rewrite to use boost.filesystem
1843         (scanAuxFiles): ditto
1844         (handleFoundFile): ditto
1845
1846 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1847
1848         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1849
1850         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1851
1852 2005-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1853
1854         * lyxlayout.[Ch]: change some vars from float to double
1855
1856         * buffer.C (readFile): make a local var const
1857
1858         * Several files: use convert<> instead of atoi,strToXXX and friends
1859
1860 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1861
1862         * LaTeXFeatures.[Ch]: Add a static list packages_ that
1863         holds the contents of packages.lst. New functions getAvailable
1864         and isAvailable to parse and check that list, resp.
1865
1866         * LyXAction.C:
1867         * lfuns.h:
1868         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1869
1870         * bufferparams.[Ch]: new param output_changes.
1871
1872         * Buffer.C: increase file format to 240.
1873         Use output_changes and isVailable.
1874
1875         * changes.[Ch]:
1876         * paragraph.C:
1877         * paragraph_pimpl.C: Use output_changes and isVailable.
1878
1879 2005-01-23  Angus Leeming  <leeming@lyx.org>
1880
1881         * output_latex.C: #include "insetbibitem.h", rather than
1882         forward declare function bibitemWidest.
1883
1884 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
1885
1886         * lyx_main.C (init): make it compile on the Mac.
1887
1888 2005-01-20  Angus Leeming  <leeming@lyx.org>
1889
1890         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1891         (setLyXMisc): (char string literal) != (char string literal) is
1892         performing a comparison on the addresses. Convert one operand
1893         explicitly to string to guarantee expected behaviour.
1894         From MSVC warning.
1895
1896 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1897
1898         * buffer.C:
1899         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1900
1901         * output_plaintext.C: remove unneeded #include gzstream.h.
1902
1903 2005-01-20  Angus Leeming  <leeming@lyx.org>
1904
1905         * SpellBase.h: rename some of the elements of the Result enum.
1906
1907         * aspell_local.h:
1908         * ispell.h:
1909         * pspell.h:
1910         * aspell.C (check):
1911         * ispell.C (check):
1912         * pspell.C (check): ditto
1913
1914 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1915
1916         * buffer.C: add #include <fstream>.
1917
1918         * lyx_main.C (init): Compile fix.
1919
1920         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1921
1922 2005-01-20  Angus Leeming  <leeming@lyx.org>
1923
1924         * mover.h: change commentary to reflect the changed meaning of
1925         the $$s placeholder.
1926
1927 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1928
1929         * output_linuxdoc.C (linuxdocParagraphs): silence warning
1930
1931         * lyxfind.C (MatchString::operator()): remove bogus semicolon
1932
1933 2005-01-20  Angus Leeming  <leeming@lyx.org>
1934
1935         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1936         printing diagnostic data by not dereferecing an iterator past the
1937         end.
1938
1939 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1940
1941         * buffer.C (readHeader): use "&&" rather than "and".
1942
1943         * lyxserver.h (inPipeName, outPipeName): make these const.
1944
1945 2005-01-19  Angus Leeming  <leeming@lyx.org>
1946
1947         * lyx_main.C (error_handler, init): protect SIGHUP with
1948         #ifdef SIGHUP guards.
1949
1950 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1951
1952         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1953
1954 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1955
1956         * text.C (setHeightOfRow): add a margin at the top and bottom of
1957         the document (bug 1761)
1958
1959 2005-01-17  Angus Leeming  <leeming@lyx.org>
1960
1961         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1962         with "python ". Workaround for a brain-dead Windows.
1963
1964 2005-01-16  Angus Leeming  <leeming@lyx.org>
1965
1966         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1967         for MacOSX and Windows to use prependEnvPath.
1968         Strip out the hard-coded block to add elements to the PATH for
1969         MacOSX and replace it with a call to prependEnvPath using the
1970         contents of LyXRC::path_prefix.
1971         (queryUserLyXDir): strip out the code to run reconfigure, instead
1972         returning a boolean indicating the necessity to do so.
1973         (reconfigureUserLyXDir): contains the code to reconfigure the
1974         user support directory. Is now called after the various LyXRC data
1975         files have been read.
1976
1977         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1978
1979 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1980
1981         * converter.[Ch] (convert): take a new parameter try_default. Use
1982         a default converter (imagemagick) if try_default is true.
1983
1984 2005-01-13  Angus Leeming  <leeming@lyx.org>
1985
1986         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1987         os::cygwin_path_fix.
1988         (write): output LyXRC::cygwin_path_fix as necessary.
1989
1990 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
1991
1992         * lyxrc.h:
1993         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1994
1995 2005-01-12  Angus Leeming  <leeming@lyx.org>
1996
1997         * lyx_main.C (init): set the PATH variable to include the
1998         directory containing the LyX binary when running on Mac or Windows.
1999
2000 2005-01-12  Angus Leeming  <leeming@lyx.org>
2001
2002         * lyx_main.C (init): remove cruft that purports to set the locale
2003         dir. It doesn't and is not needed anyway.
2004
2005 2005-01-10  Angus Leeming  <leeming@lyx.org>
2006
2007         * Makefile.am: remove the lyx_main.C special casing.
2008
2009         * BufferView_pimpl.C:
2010         * bufferlist.C:
2011         * exporter.C:
2012         * lyx_cb.C:
2013         * lyx_main.C:
2014         * lyxfunc.C:
2015         * messages.C: use support/package.h to provide the paths to the
2016         various directories used by LyX.
2017
2018 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2019
2020         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
2021         layout if pasting into an empty paragraph)
2022
2023 2005-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2024
2025         * tex-accent.C: add <string>
2026
2027 2005-01-06  José Matos  <jamatos@lyx.org>
2028
2029         * ParagraphParameters.C (write): put every parameter in its own line.
2030         * paragraph.C (write): reduce number of consecutive empty lines exported.
2031         * buffer.C (LYX_FORMAT): increase file format to 239.
2032
2033 2005-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2034
2035         * everywhere: change support/tostr.h -> support/convert.h
2036
2037         * tabular.C: make all write_attributes templates, tostr -> convert
2038
2039         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
2040         (emptyTag): and -> &&, and fix type for ret from getChar
2041         (getFirstWord): fix type for ret from getChar
2042         (onlyText): and -> &&
2043         (simpleDocBookOnePar): and not -> && !, fix type for ret from
2044         getChar
2045
2046         * toc.C (goTo, action):
2047         * text3.C (dispatch):
2048         * text.C (currentState):
2049         * tex-accent.C (DoAccent):
2050         * sgml.C:
2051         * lyxrc.C:
2052         * lyxfunc.C (menuNew):
2053         * lyxfinc.C (replace):
2054         * counters.C (laberItem):
2055         * bufferview_funcs.C (font2string):
2056         * bufferparams.C (writeFile):
2057         * buffer.C (readFile):
2058         * Spacing.C (set):
2059         * MenuBackend.C: tostr -> convert
2060
2061         * LaTeX.C (runMessage): fix format
2062         (scanAuxFiles): tostr -> convert
2063
2064         * BufferView_pimpl.C (savePosition): fix format
2065         (restorePosition): ditto
2066         (dispatch): ditto
2067
2068 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2069
2070         * Spacing.[Ch]: New method getValueAsString().
2071
2072         * Spacing.[Ch]:
2073         * bufferparams.C:
2074         * ParagraphParameters.C:
2075         * lyxlayout.C:
2076         * text.C:
2077         * text3.C: store/read spacing value as string.
2078
2079         * rowpainter.C: change float value (spacing_val) to double.
2080
2081         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
2082         broken custom document spacing).
2083
2084 2005-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
2085
2086         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
2087         namespace, also more use of temp references and const
2088
2089         * cursor.[Ch] (getStatus): move to lyxfunc.C
2090
2091         * bufferparams.C: reformat slightly
2092
2093         * bufferview_funcs.C (font2string): constify arg
2094
2095         * changes.C:
2096         * converter.C:
2097         * counters.C:
2098         * bufferlist.C:
2099         * buffer_funcs.C: (many funcs): constify arg on function
2100         definitions, also make more local vars const, also add ASSERTS on
2101         pointer args.
2102
2103         * buffer.C (LYX_FORMAT): put const in correct place
2104         (many funcs): constify arg on function definitions, also make
2105         more local vars const
2106
2107         * aspell_local.h: remove "struct" from typdef setup
2108
2109         * aspell.C (check): make word_ok const
2110         (nextMiss): simplify slightly
2111         (error): ditto
2112
2113 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2114
2115         * lyxrc.[Ch]: store all float values as strings.
2116         use int (not float) for lyxrc.dpi.
2117
2118 2005-01-04  Angus Leeming  <leeming@lyx.org>
2119
2120         * lyx_cb.C (Reconfigure):
2121         * lyx_main.C (queryUserLyXDir):
2122         to run the <system_lyxdir>/configure correctly on Windows, prefix
2123         the path to the script with "sh " when generating the string that
2124         is passed to system().
2125
2126 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2127
2128         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
2129
2130 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2131
2132         * lyxlength.C (asLatexString): get rid of setprecision
2133
2134 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2135
2136         * text2.C (setLayout): remove unused variable endpit.
2137         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
2138
2139         * paragraph.C (onlyText): remove unused variable style.
2140
2141         * cursor.C (bruteFind): remove unused variables beg and end.
2142
2143         * Makefile.am (dist_noinset_DATA): not needed anymore
2144
2145         * cheaders/*: remove.
2146
2147 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2148
2149         * text3.C: fix LFUN_MATH_MODE.
2150
2151 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2152
2153         * buffer_funcs.C (countWords): new function. Counts words between
2154         two iterators.
2155
2156         * BufferView_pimpl.C (getStatus, dispatch): handle
2157         LFUN_WORDS_COUNT.
2158
2159         * LyXAction.C (init):
2160         * lfuns.h: add LFUN_WORDS_COUNT.
2161
2162 2004-12-19  Angus Leeming  <leeming@lyx.org>
2163
2164         * buffer.C (save): s/slashify_path/internal_path/.
2165
2166 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2167
2168         * lyxfind.C (findChange): do not search for end of pars, because
2169         the change tracker cannot handle this (fixes bug 1719).
2170
2171 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2172
2173         * paragraph.[Ch] (autoBreakRows): remove
2174
2175         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
2176
2177         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
2178         avoid using the paragraph one
2179
2180         * text2.C (LyXText, insertStringAsLines): adjust
2181
2182 2004-12-16  Angus Leeming  <leeming@lyx.org>
2183
2184         * bufferlist.C:
2185         * lyx_main.C:
2186         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
2187
2188 2004-12-14  Angus Leeming  <leeming@lyx.org>
2189
2190         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
2191
2192         * bufferlist.C (emergencyWrite):
2193         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
2194         GetEnvPath("HOME").
2195
2196 2004-12-14  Angus Leeming  <leeming@lyx.org>
2197
2198         * main.C: (main): no longer pass pointers to os::init.
2199
2200 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
2201
2202         * undo.C (textUndoOrRedo): simplify logic, fix a crash
2203         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
2204
2205 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
2206
2207         * lyxfunc.C:
2208         * text3.C: remove selection_possible global flag
2209
2210 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
2211
2212         * text2.C (getSelectionSpan): remove
2213         (changeDepth, changeDepthAllowed): adjust
2214
2215 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
2216
2217         * Makefile.am (BOOST_LIBS): use boost variables
2218
2219 2004-12-03  José Matos  <jamatos@lyx.org>
2220
2221         * buffer.C: format up to 238.
2222
2223 2004-12-03  José Matos  <jamatos@lyx.org>
2224
2225         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
2226
2227 2004-12-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2228
2229         * cursor.C (goUpDown): remove call to idxUpDown2
2230
2231 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2232
2233         * tabular.[Ch]: use size_t-like types for cell, row and column
2234         indices
2235
2236 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2237
2238         * lyxfunc.C (getStatus): do not lose previous information when
2239         calling BufferView::getStatus; do not set a default "Command
2240         disabled" message at the beginning, but just before returning.
2241
2242 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2243
2244         * cursor.h (getStatus): add better comment from src/cursor.C
2245
2246 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2247
2248         * text3.C (getStatus): return false when the lfun is not handled
2249
2250 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2251
2252         * broken_headers.h: remove
2253
2254         * Makefile.am (lyx_SOURCES): remove broken_headers.h
2255
2256 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2257
2258         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
2259         offset_ref accessors
2260
2261         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
2262         top_y_, merge fitcursor with update
2263         (updateScrollbar, scrollDocView, fitCursor, center, update): new
2264         coord scheme
2265         (metrics): introduce
2266         (workAreaDispatch): adapt to new coord scheme
2267         (redoCurrentBuffer): remove
2268
2269         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
2270
2271         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
2272         CurStatus enum.
2273
2274         * coordcache.[Ch]: add paragraph cache and helpers
2275
2276         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
2277         adjust everywhere
2278
2279         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
2280         (targetX, setTargetX): introduce
2281
2282         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
2283         baseline -> ascent, as the rest of lyx
2284
2285         * lyxtext.h: remove redoParagraphs, updateParPositions,
2286         fullRebreak, redoParagraphInternal. move dist to anon namespace in
2287         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
2288         have ascent/descent (ascent is ascent of first par)
2289
2290         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
2291         step of BufferView
2292
2293         * paragraph.[Ch]: unify dimension handling with the rest of lyx
2294
2295         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
2296
2297         * pariterator.C: fix infinite loop introduced in par->pit renaming
2298
2299         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
2300         in insets and LyXText, draw two off-screen paragraphs using
2301         NullPainter, and adapt to new coord scheme
2302
2303         * text.C:
2304         * text2.C:
2305         * text3.C: adapt lfun handlers to the new coord scheme, which
2306         means: there's only guaranteed coord information for onscreen pars
2307         plus one above and one below. This implies that one can do search
2308         from y coordinates in the range [-1,workHeight]
2309
2310 2004-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2311
2312         * rename a lot of InsetOld to InsetBase
2313
2314 2004-11-25  Angus Leeming  <leeming@lyx.org>
2315
2316         * BufferView_pimpl.C:
2317         * lyx_cb.C:
2318         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
2319
2320 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2321
2322         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
2323         call BufferView::getStatus if LCursor::getStatus did nothing
2324         (setStatusMessage, getStatusMessage): removed.
2325
2326         * FuncStatus.C (message): new methods. Used to provide an error
2327         message indicating why a command is disabled.
2328         (clear, |=, FuncStatus): update for message.
2329
2330 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2331
2332         * lyxfunc.C (dispatch): always call sendDispatchMessage
2333
2334 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2335
2336         * BufferView.C:
2337         * BufferView_pimpl.C:
2338         * CutAndPaste.C:
2339         * FontIterator.C:
2340         * buffer.C:
2341         * cursor.C:
2342         * cursor_slice.[Ch]:
2343         * dociterator.[Ch]:
2344         * lyxfind.C:
2345         * paragraph_funcs.C:
2346         * pariterator.C:
2347         * rowpainter.C:
2348         * text.C:
2349         * text2.C:
2350         * text3.C:
2351         * undo.C: par->pit renaming
2352
2353 2004-11-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2354
2355         * tabular.C (cellstruct): use initialization, store a shared_ptr
2356         to insettext instead of the insettext directly, adjust to fit.
2357         (operator=):  new function
2358         (swap): new function
2359         (rowstruct): use initialization
2360         (columnstruct): use initialization
2361         (ltType): use initialization
2362
2363
2364         * lyxlength.h (swap): new function
2365
2366         * LColor.[Ch] (operator=): use the common semantics
2367
2368 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2369
2370         * lyxfind.C (findNextChange): update the bufferview after setting
2371         the selection.
2372
2373 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2374
2375         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
2376         number of InsetOptArgs has already been inserted.
2377
2378         * output_latex.C (latexOptArgInsets): new method. This outputs all
2379         the optarg insets, up to the limit defined in the layout file.
2380         (optArgInset): removed
2381         (TeXOnePar): call latexOptArgInsets; correctly update texrow
2382
2383 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2384
2385         * paragraph.C (isLetter): remove special spellchecker-related
2386         code; return true also for digits
2387         (isWord, isKomma): remove
2388
2389         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
2390         * lyxfind.C (MatchString()): use isLetter instead of isWord
2391
2392 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2393
2394         * pariterator.h (operatir=): comment out un-implemented member
2395         function.
2396
2397         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
2398         static cast.
2399
2400 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2401
2402         * lyxfont.h: include LColor.h to satisfy concept checks.
2403
2404 2004-11-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2405
2406         * pariterator.h: add typdefs for value_type, difference_type,
2407         pointer and reference to satisfy concept checks. Also add default
2408         constructor for same reason.
2409
2410         * pariterator.C (operator++): add post-increment operator to
2411         satisfy concept checks.
2412
2413         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
2414         checks.
2415
2416         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
2417
2418         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
2419         checks. Also rename base_type to BaseType to follow naming
2420         standard better.
2421
2422         * FloatList.h: include Floating.h to satisfy concept checks.
2423
2424 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2425
2426         * lyxfunc.C (getStatus): when the origin of the request is menu or
2427         toolbar, and the LyXView does not have focus, do as if there was
2428         no buffer (bug 1720)
2429
2430         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2431         FuncRequest to individual entries of LFUN_SEQUENCE
2432
2433 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2434
2435         * output_latex.C (TeXOnePar): override runparams.moving_arg
2436         according to the needprotect value of the current paragraph (bug
2437         1739)
2438
2439         * paragraph.C (simpleTeXOnePar): no need to override
2440         runparams.moving_args here
2441
2442 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
2443
2444         * vspace.C: fix off-by-one-error, related to fix #1682
2445
2446 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2447
2448         * lengthcommon.C: a more general fix for bug 1682
2449
2450 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2451
2452         * text.C (backspace): fix crash
2453
2454 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2455
2456         * format.[Ch] (getFormatFromFile): new method
2457         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2458
2459 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2460
2461         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2462
2463 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2464
2465         * lyxfunc.C (dispatch): remove the verbose argument
2466         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2467         instead
2468
2469         * kbmap.C (defkey): set the origin of func to KEYBOARD
2470
2471         * MenuBackend.C (MenuItem):
2472         * ToolbarBackend.C (add): set the origin of func to UI
2473
2474         * funcrequest.[Ch]: add origin member, which indicates which part
2475         of LyX requests an action
2476
2477 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2478
2479         * converter.C (move): don't lie in the error message
2480         * converter.h (isReachable, move): document
2481
2482 2004-11-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2483
2484         * buffer.C: remove unused using lyx::support::atoi
2485         * paragraph_funcs.C: ditto
2486
2487 2004-11-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2488
2489         * bufferlist.C (exists): use bind and equal_to instead of
2490         compare_memfun
2491         (getBuffer): ditto
2492         * lyxtextclasslist.C (NumberOfClass): ditto
2493
2494         * cursor.C (insert): use for_each instead of explicit for loop
2495
2496         * bufferlist.C (getFileNames): use std::transform and
2497         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2498
2499         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2500         for loop
2501
2502         * buffer.C (changeLanguage): use for_each instead of explicit for
2503         loop
2504         (hasParWithID): implement using getParFromID
2505
2506         * LaTeXFeatures.C: ws change only
2507
2508         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2509         to cleanup a bit.
2510
2511         * BufferView_pimpl.C (trackChanges): use for_each instead of
2512         expilicit for loop
2513
2514 2004-11-04  André Pönitz  <poenitz@gmx.net>
2515
2516         * undo.h:
2517         * undo.C (textUndoOrRedo): fix crash when creating undo information.
2518
2519         * dociterator.C (asDocIterator): use hard assert again.
2520
2521 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2522
2523         * lyxlength.C (asLatexString): rewrite so that it does not use
2524         snprintf anymore
2525
2526 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2527
2528         * text3.C (specialChar, dispatch): make sure cursor moves to the
2529         right after inserting an inset
2530
2531 2004-11-02  José Matos  <jamatos@lyx.org>
2532
2533         * output_docbook.C (docbook):
2534         * paragraph.C (getID):
2535         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2536         garantee that the output is always legal.
2537
2538         * tabular.C (docbook):
2539         * outputprams.[Ch]: remove mixed contents.
2540
2541 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2542
2543         * text2.C (setCounter): prevent endless loop
2544
2545 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2546
2547         * exporter.C (copyFile): use the mover instead of support::copy()
2548         * exporter.C (Export): pass format and latex name to copyFile()
2549         * exporter.h (addExternalFile): document
2550         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2551
2552 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2553
2554         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2555
2556 2004-10-30  José Matos  <jamatos@lyx.org>
2557
2558         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2559         text and no inset or font change. This allows to use CDATA
2560         sections just for the whole paragraph.
2561
2562 2004-10-30  José Matos  <jamatos@lyx.org>
2563
2564         * paragraph.C (getFirstWord): remove unused variable.
2565
2566 2004-10-30  José Matos  <jamatos@lyx.org>
2567
2568         * paragraph.C (getFirstWord): the content should always be escaped
2569         there.
2570         (simpleDocBookOnePar):
2571         * output_docbook.C (makeEnvironment): replace reference to CDATA
2572         to style pass_thru.
2573
2574 2004-10-30  José Matos  <jamatos@lyx.org>
2575
2576         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2577
2578 2004-10-30  José Matos  <jamatos@lyx.org>
2579
2580         * output_docbook.C (makeParagraphs):
2581         * paragraph.[Ch] (emptyTag): for docbook and company, if the
2582         standard paragraph has only a given type of content drop the wrapper.
2583
2584 2004-10-29  José Matos  <jamatos@lyx.org>
2585
2586         * output_docbook.C (makeEnvironment):
2587         * sgml.C (openTag):
2588         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2589
2590 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
2591
2592         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2593         (cleanID): sanitize any id.
2594
2595 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2596
2597         * buffer.C, lyxlex_pimpl.C:
2598         * lyxlex_pimpl.C (setFile):
2599         s/getExtFromContents/getFormatFromContents/
2600
2601 2004-10-28  José Matos  <jamatos@lyx.org>
2602
2603         * output_docbook.C (makeEnvironment): move id to broadest possible
2604         scope.
2605
2606         * sgml.C (openTag): apply substitution of <> for all attributes.
2607
2608 2004-10-28  José Matos  <jamatos@lyx.org>
2609
2610         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2611         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2612         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2613
2614         * sgml.[Ch]: new version for open and closeTag for paragraph and
2615         for strings. Now they handle the ids of paragraphs.
2616
2617 2004-10-26  Angus Leeming  <leeming@lyx.org>
2618
2619         * Makefile.am: add mover.[Ch].
2620
2621         * converter.C (convert, move): use the new Movers to move external
2622         files to the temp directory.
2623
2624         * lyx_main.C (init): ensure that the global system_movers data
2625         is initialised.
2626
2627         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2628         preferences file.
2629
2630         * mover.[Ch]: new files, defining a Mover as a utility to move an
2631         external file between directories and, if necessary, manipulate this
2632         file using a helper script.
2633
2634 2004-10-25  José Matos  <jamatos@lyx.org>
2635
2636         * output_docbook.C (makeCommand): merge two if's that tested the
2637         same condition.
2638
2639 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2640
2641         * sgml.C (escapeString): fix warning in a better way
2642
2643 2004-10-25  José Matos  <jamatos@lyx.org>
2644
2645         * sgml.C (escapeString): import the require boosts header file for
2646         tie, and avoid a signed unsigned comparison.
2647
2648 2004-10-25  José Matos  <jamatos@lyx.org>
2649
2650         * sgml.h: add #include <string>
2651
2652 2004-10-25  José Matos  <jamatos@lyx.org>
2653
2654         * sgml.[Ch] (escapeString): new function to escape all the string.
2655
2656 2004-10-24  José Matos  <jamatos@lyx.org>
2657
2658         * paragraph.[Ch] (getFirstWord): new function to get the first
2659         word. Useful for description.
2660         (simpleDocBookOnePar): remove depth argument, add another that
2661         says where to start the paragraph.
2662
2663         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2664         use the new functions to fix cleanly the support for descriptions.
2665
2666 2004-10-24  José Matos  <jamatos@lyx.org>
2667
2668         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2669         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2670         * output_linuxdoc.C (linuxdocParagraphs):
2671         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2672         add buffer as argument.
2673
2674 2004-10-24  José Matos  <jamatos@lyx.org>
2675
2676         * output_docbook.C (makeEnvironment, searchEnvironment): place
2677         CDATA inside paragraphs and fix scope for listitems.
2678
2679 2004-10-24  José Matos  <jamatos@lyx.org>
2680
2681         * output_docbook.C: remove using statement for stack.
2682
2683 2004-10-23  José Matos  <jamatos@lyx.org>
2684
2685         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2686         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2687         docbook. The new scheme is recursive and makes use of iterators, the
2688         same as latex export works.
2689         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2690         directly with the paragraph contents. This code was moved up to
2691         output_docbook.C (docbookParagraphs).
2692         * sgml.C (openTag, closeTag): removed unneeded newlines.
2693         (closeEnvTags) removed.
2694
2695 2004-10-23  André Pönitz  <poenitz@gmx.net>
2696
2697         * undo.C (textUndoOrRedo):
2698         * dociterator.C (asDocIterator): work around crash
2699
2700         * cursor.C (getStatus): replace ASSERT by more verbose error message
2701           and manual correction of the problem. Should increase stability
2702           while providing more sensible information.
2703
2704 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2705
2706         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2707
2708         * bufferlist.C (previous, next): new methods
2709
2710         * lfuns.h:
2711         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2712
2713 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
2714
2715         * buffer.C (makeDocBookFile): add dsssl stylesheet control
2716         entities to preamble.
2717
2718 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2719
2720         * messages.C (Pimpl): strip off translation context information
2721
2722 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2723
2724         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2725         the cursor is correct (bug 1694)
2726
2727 2004-10-13  José Matos  <jamatos@lyx.org>
2728
2729         * output_docbook.C (docbookParagraphs): fix closing tags in the
2730         end of the document.
2731
2732 2004-10-09  José Matos  <jamatos@lyx.org>
2733
2734         * buffer.C: format up to 237.
2735         * bufferparams.C (write): use tostr to convert booleans to strings.
2736
2737 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
2738
2739         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2740
2741 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
2742
2743         * LaTeX.C: implement use of babel language in xindy.
2744
2745 2004-10-05  José Matos  <jamatos@lyx.org>
2746
2747         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2748         Add new translators to help reading and writing the lyx file.
2749
2750 2004-10-05  José Matos  <jamatos@lyx.org>
2751
2752         * ParagraphParameters.C (read):
2753         * text.C (readParToken): replace nexToken by more appropriate lex
2754         methods.
2755
2756 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
2757
2758         * LaTeX.C (runMakeIndex):
2759         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2760         (usually 'makeindex') configurable.
2761
2762         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2763         with a variable rather than with a number.
2764
2765 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2766
2767         * output_latex.C (TeXOnePar): make sure font setting is the first
2768         thing that gets output (and the last at the end). Should fix bug
2769         1404.
2770
2771 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2772
2773         * pch.h: use proper signal include
2774
2775         * LaTeX.h: Use preferred calling of Boost.Signal
2776         * buffer.h: ditto
2777
2778 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2779
2780         * pch.h: dont include <boost/function/function0.hpp>
2781
2782         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2783
2784         * paragraph_pimpl.h: remove usage of ShareContainer
2785
2786         * paragraph_pimpl.C: remove initialization of ShareContainer.
2787
2788 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2789
2790         Fix bug #1666
2791
2792         * BufferView.C (putSelectionAt): change the semantics when
2793         backwards == true: now, this just swaps cursor and anchor wrt the
2794         forward case
2795
2796         * BufferView.h (putSelectionAt): add some documentation
2797
2798         * lyxfind.C (findBackwards): rewrite using while(). In particular,
2799         make sure backwardChar is done at least once (to avoid getting
2800         stuck)
2801         (findNextChange): use putSelectionAt in the forward direction
2802         (operator()): use Paragraph::isWord
2803
2804 2004-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2805
2806         * Spacing.C (set): c_str fix
2807
2808 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2809
2810         * lyx_cb.C (Reconfigure): quote the name of configure script in
2811         case it contains spaces
2812
2813 2004-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2814
2815         * client: new dir
2816
2817         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2818         (BOOST_LIBS): use top_buildir when looking for the file
2819
2820 2004-08-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2821
2822         * pch.h: do not use include boost/format.hpp, multiple symbols
2823                 will result (gcc bug)
2824
2825
2826 2004-08-23  José Matos  <jamatos@lyx.org>
2827
2828         * bufferparams.C (readToken): fix reading of the author field.
2829
2830 2004-08-20  José Matos  <jamatos@lyx.org>
2831
2832         * lyxrc.C: remove support/translator.h inclusion since it is not used.
2833
2834 2004-08-20  José Matos  <jamatos@lyx.org>
2835
2836         * lyxlex.[Ch] (findToken): remove function.
2837
2838         * ParagraphParameters.C (findToken):
2839         * bufferparams.C (findToken): replace call for previous function
2840         with local copy. This local function has one more argument, the
2841         read string argument.
2842
2843 2004-08-16  José Matos  <jamatos@lyx.org>
2844
2845         * ParagraphParameters.C (write):
2846         * Spacing.C (writeFile):
2847         * bufferparams.C (writeLaTeX):
2848         * lyx_cb.C (Reconfigure):
2849         * paragraph.C (write):
2850         * tabular.C (write): remove unnecessary space at end of line.
2851
2852
2853 2004-08-16  José Matos  <jamatos@lyx.org>
2854
2855         * text.C (readParagraph): remove debug message.
2856
2857 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2858
2859         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2860         crash
2861
2862         * output_plaintext.C (asciiParagraph): set depth correctly
2863
2864         * outputparams.h: add member depth
2865
2866         * paragraph_funcs.C (ownerPar): remove.
2867
2868         * text2.C (setCounter): remove first_pit; comment out some
2869         non-working code that uses ownerPar
2870
2871         * BufferView.C (getParentLanguage): remove. Not used anymore, and
2872         uses ownerPar
2873
2874 2004-08-16  José Matos  <jamatos@lyx.org>
2875
2876         * text.C (readParToken, readParagraph, read): report all unknown tokens.
2877         For the same level of importance use the same chanel to report problems.
2878         (read): add code to deal with \begin_body and \end_body.
2879
2880
2881 2004-08-15  José Matos  <jamatos@lyx.org>
2882
2883         * lyxlex.C (getString): fix comment, buffer::readBody is now
2884         buffer:readDocument.
2885
2886         * tex-strings.C (string_papersize): Default -> default,
2887         Custom -> custom, for consistency with other options.
2888
2889 2004-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2890
2891         * pch.h: new file
2892
2893         * Makefile.am: support pch
2894
2895 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2896
2897         * text.C (readParToken): remove the static LyXFont variable and
2898         pass it as a parameter instead. This fixes a nasty bug where an
2899         inset will be inserted with a bad font in some situations
2900         (readParagraph): adapt
2901
2902         * text2.C (setCounter): reduce number of calls to pars_[pit]
2903
2904         * text.C (singleWidth): add an assert, fix a test
2905
2906         * rowpainter.C (paintText): reduce number of calls to singleWidth
2907
2908         * paragraph.C (isHfill):
2909         (isNewline): ws only
2910
2911 2004-08-14  André Pönitz  <poenitz@gmx.net>
2912
2913         * text.C:
2914         * text2.C:
2915         * rowpainter.C:
2916         * lyxtext.h (several functions): use a Paragraph & argument
2917         instead of par_type
2918
2919 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2920
2921         * metricsinfo.h: add a new field ltr_pos to PainterInfo
2922
2923         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2924
2925         * text.C (singleWidth): remove useless test
2926
2927 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2928
2929         * tabular.h: remove bogus comments
2930
2931         * tabular.C (getDescentOfRow):
2932         (isPartOfMultiColumn): add assertions
2933
2934         * lyxlength.C (inPixels): remove #warning
2935
2936 2004-08-14  André Pönitz  <poenitz@gmx.net>
2937
2938         * paragraph.h: inline getChar()
2939
2940         * BufferView.h: remove unused declarations
2941
2942 2004-08-14  José Matos  <jamatos@lyx.org>
2943
2944         * Buffer.[Ch] (readDocument): new name for old readBody.
2945         * Buffer.C: new file format, new keywords: \begin_document,
2946         \begin_header, \begin_body, \end_body.
2947
2948         * bufferparams.C (readToken): replace all calls to lex.nextToken
2949         by lex.next(). Do the same to eatLine except where really needed.
2950
2951         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2952         line when writing to the lyx file.
2953
2954         * output_plaintext.C (asciiParagraph): fix Bibliography style
2955         handling.
2956
2957         * text.C (read): fix end of file handling.
2958
2959 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2960
2961         * MenuBackend.C (Menu::operator[]): new method to access
2962         individual menu items
2963         (Menu::hasFunc): new method. search for an item that corresponds
2964         to a given func
2965         (MenuBackend::specialMenu): new method
2966         (MenuBackend::expand): if a special menu has been set, skip
2967         entries whose func() appears in this menu
2968
2969 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2970
2971         * text3.C: use Debug::DEBUG a bit more
2972
2973         * text.C (leftMargin): try to simplify a tiny bit change var x to
2974         l_margin. Dont output the wide margins always.
2975         (rightMargin): no margin in inner texts
2976
2977         * rowpainter.h (nestMargin): new func
2978         (changebarMargin): new func
2979         (rightMargin): new func
2980
2981         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2982         now functions.
2983         (paintLast): ditto
2984
2985         * factory.C (createInset): modify setDrawFrame
2986
2987         * cursor.C: use Debug::DEBUG a bit more
2988
2989 2004-08-14  André Pönitz  <poenitz@gmx.net>
2990
2991         * coordcache.[Ch]:
2992         * Makefile.am: new files to accomodate an 'external' (x,y)-position
2993         cache for all insets in (at least partially) visible (top-level)
2994         paragraphs.
2995
2996         * BufferView_pimpl.C: reset external coord cache before every update.
2997         This means the coord cache only contains valid entries.
2998
2999 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
3000
3001         bug 1096
3002         * BufferView_pimpl.C (getInsetByCode): move function out of class
3003         and change in to a template in anon namespace. Also fix to do what
3004         suits us better.
3005
3006 2004-08-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
3007
3008         bug 1305
3009         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
3010         of char
3011         (breakParagraph): rename par to par_offset and use a local
3012         reference. Add code to keep the language over a rebreak.
3013         (breakParagraphConservative): rename par to par_offset, use a
3014         local reference
3015         (mergeParagraph): ditto
3016         (outerHook): ditto
3017         (isFirstInSequence): ditto
3018         (outerFont): rename pit to par_offset
3019
3020         * paragraph.C: ws change
3021         * paragraph.h: ditto
3022         * text3.C: ditto
3023         * text.C: ditto
3024
3025 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3026
3027         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
3028         treatment for ']'
3029
3030         * paragraph.C (simpleTeXOnePar): when we have a \item with
3031         optional argument, enclose the argument with curly brackets (in
3032         case it contains a closing square bracket)
3033
3034         * text2.C (editXY):
3035         * text2.C (editXY):
3036         * text3.C (checkInsetHit): constify
3037
3038 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3039
3040         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
3041         documents (bug 1629)
3042
3043 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3044
3045         Fix toggling of collapsable insets with the mouse (bug 1558)
3046
3047         * lyxfunc.C (dispatch): adapt to LCursor changes
3048
3049         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
3050         make sure that dispatch is not invoked twice
3051
3052         * cursor.C (needsUpdate): new method
3053         (dispatch): return void
3054         (result): new method, to access the DispatchResult of the cursor.
3055
3056 2004-08-13  José Matos  <jamatos@lyx.org>
3057
3058         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
3059
3060 2004-08-13  André Pönitz  <poenitz@gmx.net>
3061
3062         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
3063
3064         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
3065           multiple cells
3066
3067 2004-08-12  André Pönitz  <poenitz@gmx.net>
3068
3069         * text3.C: take out the 'cursor right' form insertInset and only
3070         do it in those places when it is really needed. Fixes crash on
3071         C-m...
3072
3073 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3074
3075         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
3076
3077         * BufferView_pimpl.C (setBuffer): initialize the current font of
3078         the underlying LyXText
3079
3080 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3081
3082         * kbsequence.C (print): use UI native formatting for menu
3083         shortcuts
3084
3085         * text.C (insertChar): call Paragraph::insertChar with a font
3086         argument (cosmetic)
3087
3088         * paragraph.C (insertInset, insertChar): the version that takes a
3089         LyXFont argument is now a wrapper around the other one (the
3090         opposite used to be true).
3091
3092         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
3093         argument. Font setting is done in Paragraph now.
3094
3095 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3096
3097         * outputparams.h: add new members intitle and lang.
3098
3099         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
3100         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
3101
3102 2004-08-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3103
3104         * text3.C (dispatch): remove special handling of button 4 and 5,
3105         it is now taken care of in the frontend code.
3106
3107 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3108
3109         * Spacing.h: add <string> (STLPort compile fix)
3110
3111 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3112
3113         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
3114
3115 2004-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3116
3117         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
3118         to bool.
3119
3120         * converter.C (showMessage): inherit from unary_function, make
3121         operator() const.
3122
3123         * buffer.C (writeFile): initialize retval
3124
3125         * InsetList.h: rename private variable list to list_
3126         * InsetList.[Ch]: adjust accordingly.
3127
3128 2004-07-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3129
3130         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
3131         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
3132         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
3133         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
3134         * ParagraphParameters.C, LaTeXFeatures.C: replace
3135         "support/std_sstream.h" with <sstream>
3136
3137 2004-07-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3138
3139         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
3140         * lyxsocket.C (LyXServerSocket): ditto
3141         (serverCallback): ditto
3142
3143 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3144
3145         * LaTeXFeatures.C: check release date when loading jurabib.
3146
3147 2004-07-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3148
3149         * lyxserver.C (startPipe): call register_socket_callback
3150         (endPipe): call unregister_socket_callback
3151
3152 2004-07-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3153
3154         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
3155         (LyXServerSocket): register the callback
3156         (LyXServerSocket): unregister the callback
3157         (fd): delete function
3158         (serverCallback): improve error checking and setup the callbacks.
3159         (dataCallback): change arg to fd.
3160         (writeln): new func (copied fro the client socket) used for server
3161         write to client.
3162         (LyXDataSocket): simplify
3163         (~LyXDataSocket): close ann unregiser callback
3164         (server): delete function
3165         (fd): delete function
3166         (readln): small changes, improve some std::string usage
3167         (writeln): constify a bit
3168
3169 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3170
3171         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
3172         Qt frontend
3173
3174 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3175
3176         * BufferView_pimpl.C (setBuffer): set the layout combox value only
3177         after it has been populated
3178
3179 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3180
3181         * text2.C (insertInset): move cursor when inserting inset.
3182
3183 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3184
3185         * kbmap.C (findbindings): a couple of new methods. returns a
3186         container of kb_sequence objects. The real work is done by the
3187         private recursive version
3188         (printbindings): uses findbindings to print out a bracketed list
3189         of bindings (renamed from findbinding).
3190
3191         * MenuBackend.C (binding): use kb_keymap::findbindings
3192
3193         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
3194
3195 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3196
3197         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
3198
3199 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3200
3201         * paragraph.C (isWord): return true on insets that report
3202         isLetter().
3203
3204         * text.C (getWord): use Paragraph::isWord to decide what is in a
3205         word and what is not; fix bug 1609.
3206
3207 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3208
3209         * tex-strings.C: add "none" to string_paperpackages[], fixes
3210         off-by-one-error in the paperpackage selection.
3211
3212         * lyxlex.[Ch]:
3213         * tex-strings.[Ch]: char const * string[n]
3214         -> char const * const string[]
3215
3216 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3217
3218         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
3219         command, return early.
3220
3221 2004-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3222
3223         * debug.h: add DEBUG to enum and fix size of ANY.
3224
3225         * debug.C: add support for Debug::DEBUG
3226         (showTags): cast errorTags.level to unsigned int
3227
3228         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
3229         (redoCurrentBuffer): ditto
3230         (updateScrollbar): ditto
3231         * cursor.C (dispatch): ditto
3232         * text2.C (setLayout): ditto
3233         (setFont): ditto
3234         (updateCounters): ditto
3235         (editXY): ditto
3236         (deleteEmptyParagraphMechanism): ditto
3237
3238 2004-06-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3239
3240         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
3241         annotations to cleanup the Makefile slightly.
3242
3243 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3244
3245         * lyxrc.C: do not set user_email to a default value but use empty
3246         instead. The entry used to be translated, which does not work
3247         since at the point where lyxrc is constructed there is no
3248         translation service available
3249
3250         * messages.C (getLocaleDir): remove and use directly
3251         lyx_localedir() instead
3252
3253 2004-06-02  Angus Leeming  <leeming@lyx.org>
3254
3255         Fix crash caused by dereferencing null pointer 'exportdata' in
3256         OutputParams by creating a new ExportData variable on the heap,
3257         storing it in a boost::shared_ptr.
3258         The crash was triggered when generating an Instant Preview
3259         of an external inset.
3260
3261         * Makefile.am: add outputparams.C
3262
3263         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
3264         (c-tor): allocate memory to it.
3265
3266         * exporter.C (c-tor): associated changes.
3267
3268 2004-06-01  Angus Leeming  <leeming@lyx.org>
3269
3270         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
3271         contains data before calling isInset(0). (Bug 1513.)
3272
3273 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3274
3275         * exporter.C (checkOverwrite): new method
3276         * exporter.C (copyFile): new method
3277         * exporter.C (Export): copy referenced files to the document dir
3278         * exporter.[Ch]: new class ExportedFile
3279         * exporter.[Ch]: new class ExportData. Contains currently the
3280         names of referenced external files
3281         * outputparams.h: add exportdata member.
3282
3283 2004-05-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3284
3285         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
3286         version.C-tmp
3287
3288 2004-05-19  Angus Leeming  <leeming@lyx.org>
3289
3290         * LaTeXFeatures.C:
3291         * ToolbarBackend.C:
3292         * bufferparams.C:
3293         * lyxfunc.C: small changes due to the introduction of namespace
3294         lyx::frontend and the moving of namespace biblio to lyx::biblio.
3295
3296 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
3297
3298         * text3.C (dispatch): supress update when only moving the cursor
3299         * cursor.C (selHandle): remove commented code
3300
3301 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3302
3303         * paragraph.C (startTeXParParams): correct column count
3304         * CutAndPaste.C (pasteSelection): remove const_cast
3305         * output_docbook.C (docbookParagraphs): remove const_cast
3306         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
3307         const_cast and return ParagraphList::const_iterator
3308         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
3309         * output_plaintext.C (writeFileAscii): remove const_cast
3310         * paragraph.[Ch] (simpleTeXOnePar): make const
3311         * paragraph_funcs.C (outerPar): use const iterators
3312         * paragraph_pimpl.C (validate): use const iterators
3313         * text.C (setHeightOfRow): use const iterators
3314
3315 2004-05-17  Angus Leeming  <leeming@lyx.org>
3316
3317         * lfuns.h:
3318         * LyXAction.C (init): new LFUN_INSET_REFRESH.
3319
3320         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
3321         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
3322         if the citation engine has changed.
3323
3324 2004-05-14  José Matos  <jamatos@lyx.org>
3325
3326         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
3327         if the textclass does not provide it. Have it different for sgml and
3328         xml.
3329         support the language of document.
3330         * output_docbook.C (docbookParagraphs):
3331         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
3332         first anchor as the id of the paragraph, remove special case code.
3333         * sgml.C (escapeChar): escape only < & >.
3334
3335 2004-05-14  Angus Leeming  <leeming@lyx.org>
3336
3337         * bufferparams.h: move biblio::CiteEngine enum here to minimize
3338         dependencies on src/frontends/controllers/biblio.h. Define a
3339         CiteEngine_enum wrapper class to enable the enum to be forward
3340         declared.
3341
3342 2004-05-12  Angus Leeming  <leeming@lyx.org>
3343
3344         * buffer.C: up LYX_FORMAT to 234.
3345         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
3346         use_numerical_citations with a single biblio::CiteEngine cite_engine
3347         variable.
3348         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
3349
3350 2004-05-13  José Matos  <jamatos@lyx.org>
3351
3352         * converter.h:
3353         * converter.C (Converter, readFlags): add xml member.
3354         * outputparams.h: add XML flavor.
3355         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
3356
3357 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3358
3359         * lyxfunc.C (dispatch):
3360         (getStatus): fix handling of LFUN_SEQUENCE
3361
3362 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3363
3364         * debug.C (showLevel): do not forget the end-of-line marker
3365
3366 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3367
3368         * kbmap.C (read): do not stop parsing a bind file when an error
3369         occurs (bug 1575)
3370
3371 2004-04-29  Angus Leeming  <leeming@lyx.org>
3372
3373         * cursor.C:
3374         * factory.C:
3375         * pariterator.C:
3376         * text2.C: wrap a bunch of #warning statements
3377         inside #ifdef WITH_WARNINGS blocks.
3378
3379 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3380
3381         * buffer.C: increment format to 233.
3382
3383 2004-04-28  Angus Leeming  <leeming@lyx.org>
3384
3385         * BufferView_pimpl.C:
3386         * lyxfunc.C:
3387         * text3.C:
3388         s/updateToolbar()/updateToolbars()/
3389         s/Toolbar.h/Toolbars.h/
3390
3391 2004-04-28  Angus Leeming  <leeming@lyx.org>
3392
3393         * BufferView.[Ch] (c-tor):
3394         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
3395         No longer passes these data to the WorkArea generator.
3396
3397 2004-04-28  Angus Leeming  <leeming@lyx.org>
3398
3399         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
3400
3401 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3402
3403         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
3404
3405 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3406
3407         * output_latex.C (TeXEnvironment): make sure that there is a line
3408         break before \end{foo} for the last paragraph of a document
3409         (TeXOnePar): if the paragraph is at the end of the document (or
3410         inset) and the language has to be reset, then make sure that the
3411         line break is _before_ the language command, not after (fixes bug
3412         1225); also make sure that the language reset command is the first
3413         thing after the paragraph (to ensure proper nesting of
3414         environments and thus fix bug 1404)
3415
3416 2004-04-21  John Levon  <levon@movementarian.org>
3417
3418         * ToolbarBackend.h:
3419         * ToolbarBackend.C: make "name" be a programmatic name
3420         and a gui_name field.
3421
3422         * lyxfunc.C: display the minibuffer on M-x
3423
3424 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3425
3426         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3427         (bug 1526)
3428
3429 2004-04-19  Angus Leeming  <leeming@lyx.org>
3430
3431         * BufferView_pimpl.C (setBuffer): changed preview interface.
3432
3433         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3434         possible values.
3435
3436 2004-04-19  John Levon  <levon@movementarian.org>
3437
3438         * BufferView_pimpl.C:
3439         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3440
3441 2004-04-05  Angus Leeming  <leeming@lyx.org>
3442
3443         * text.C (redoParagraphs): add call to updateCounters(), thereby
3444         fixing the missing "Figure #:" label from the caption of a
3445         figure float.
3446
3447 2004-04-13  Angus Leeming  <leeming@lyx.org>
3448
3449         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3450         cursor is clicked out of an inset.
3451
3452 2004-04-13  Angus Leeming  <leeming@lyx.org>
3453
3454         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3455         than an InsetOld one.
3456
3457 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3458
3459         * format.[Ch]: add editor to Format
3460         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3461         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3462
3463 2004-04-08  André Pönitz  <poenitz@gmx.net>
3464
3465         * metricsinfo.h: remove PainterInfo::width member
3466
3467 2004-04-08  Angus Leeming  <leeming@lyx.org>
3468
3469         * lyx_sty.C (boldsymbol_def): modify so that it outputs
3470         "\providecommand" rather than "\newcommand", thereby preventing
3471         clashes with packages that define "\boldsymbol" themselves.
3472         Eg, beamer.
3473
3474 2004-04-08  Angus Leeming  <leeming@lyx.org>
3475
3476         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3477         thereby squashing an unnecessary warning.
3478
3479 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3480
3481         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3482         setBuffer()
3483
3484 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
3485
3486         * BufferView.C (setCursor): call redoParagraph (some insets could
3487         have been opened)
3488         (putSelectionAt): remove the 'double update' trick
3489
3490         * BufferView_pimpl.C (fitCursor): call refreshPar
3491         (workAreaDispatch): remove an uneeded update call
3492         (dispatch): remove some manual update calls
3493
3494         * cursor.[Ch]: remove cached_y_, updatePos
3495         (selHandle): set noUpdate when appropriate
3496
3497         * lyxfunc.C (dispatch): track if we need an update
3498
3499         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3500
3501         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3502         (paintSelection): cheap optimization, do not call cursorX when not
3503         needed
3504         (paintPars): change signature
3505         (refreshPar): add
3506         (paintText): adjust
3507         (paintTextInset): adjust
3508
3509         * text.C: adjust
3510
3511 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3512
3513         * lengthcommon.C: compilation fix: remove explicit array size from
3514         unit_name[] and friends
3515
3516 2004-04-05  Angus Leeming  <leeming@lyx.org>
3517
3518         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3519
3520         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3521         present only for the preferences dialog.
3522         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3523
3524 2004-04-05  Angus Leeming  <leeming@lyx.org>
3525
3526         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3527         to enable the frontends to export changes to lyxrc correctly.
3528
3529         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3530
3531 2004-04-07  André Pönitz  <poenitz@gmx.net>
3532
3533         * cursor.[Ch] (selClear, adjust): remove math
3534
3535         * cursor_slice.C: more agressive assert
3536
3537         * lyxfunc.C:
3538         * BufferView_pimpl.C: rework mouse event dispatch
3539
3540         * dociterator.C:
3541         * paragraph.C:
3542         * text2.C:
3543         * text3.C: adjust
3544
3545 2004-04-05  André Pönitz  <poenitz@gmx.net>
3546
3547         * cursor.[Ch] (valign, halign...): remove unneeded functions
3548
3549 2004-04-05  Angus Leeming  <leeming@lyx.org>
3550
3551         * lyxlength.[Ch] (unit_name et al.): const-correct.
3552
3553 2004-04-05  Angus Leeming  <leeming@lyx.org>
3554
3555         * BufferView_pimpl.C:
3556         * buffer.C:
3557         * counters.C:
3558         * cursor.C:
3559         * lyxfunc.C
3560         * paragraph.C:
3561         * pariterator.C:
3562         * text.C:
3563         * text2.C:
3564         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3565
3566 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3567
3568         * text3.C (getStatus): add LFUN_BEGINNINGBUF
3569
3570 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3571
3572         * lyxfind.C: add a couple of inTexted() tests + other small fixes
3573         * BufferView_pimpl.[Ch] (getStatus)
3574         * BufferView.[Ch] (getStatus): add
3575         * lyxfunc.C (getStatus): move lfuns handled in
3576         BufferView::dispatch to te function above
3577         * Cursor.C (setSelection): set selection() = true
3578
3579 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3580
3581         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3582
3583 2004-03-31  Angus Leeming  <leeming@lyx.org>
3584
3585         * lyxfunc.C (dispatch): Fall through to the generic
3586         Dialogs::show("preamble").
3587
3588 2004-03-31  Angus Leeming  <leeming@lyx.org>
3589
3590         * lyxfunc.C (dispatch): Fall through to the generic
3591         Dialogs::show("spellchecker").
3592
3593 2004-03-31  Angus Leeming  <leeming@lyx.org>
3594
3595         * lyxfunc.C (getStatus, dispatch): changed invocation of the
3596         preferences dialog.
3597
3598 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3599
3600         * BufferView.C
3601         * cursor.[Ch]
3602         * dociterator.[Ch]:
3603         * insetiterator.[Ch]:
3604         * lyxfind.C:
3605         * lyxfunc.C:
3606         * pariterator.[Ch]:
3607         * text2.C:
3608         * undo.[Ch]: s/DocumentIterator/DocIterator/g
3609
3610 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3611
3612         * BufferView.C (setCursor, putSelectionAt): call edit to open the
3613         insets where we are putting the cursor.
3614
3615 2004-03-31  Angus Leeming  <leeming@lyx.org>
3616
3617         * lfuns.h:
3618         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3619
3620         * lyxrc.[Ch] (read, write): overloaded member functions taking
3621         a std::[io]stream arguments.
3622
3623         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3624
3625 2004-03-31  Angus Leeming  <leeming@lyx.org>
3626
3627         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3628         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3629
3630         * lyxtextclass.C (load): if the text class couldn't be loaded, then
3631         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3632
3633 2004-03-31  Angus Leeming  <leeming@lyx.org>
3634
3635         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3636         the LFUN_ALL_INSETS_TOGGLE code.
3637
3638 2004-03-30  Angus Leeming  <leeming@lyx.org>
3639
3640         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3641         has died. Fall through to the generic Dialogs::show("document").
3642
3643 2004-03-30  Angus Leeming  <leeming@lyx.org>
3644
3645         * lfuns.h:
3646         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3647         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3648
3649         * lyxfunc.C (getStatus, dispatch): define the actions for these
3650         lfuns. Little more than a cut and pste job from ControlDocument.C
3651
3652         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3653
3654 2004-03-30  Angus Leeming  <leeming@lyx.org>
3655
3656         * lfuns.h:
3657         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3658         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3659
3660         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3661         open/closed state of ollapsable insets. Usage:
3662
3663         all-inset-toggle <state> <name>, where
3664         <state> == "open" || "closed" || "toggle" and
3665         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3666
3667         * lyxtext.h, text2.C (toggleInset): removed.
3668
3669         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3670         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3671         now passes LFUN_INSET_TOGGLE to the found inset.
3672
3673         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3674         is now invoked as "all-insets-toggle toggle branch".
3675
3676 2004-03-30  Angus Leeming  <leeming@lyx.org>
3677
3678         * dociterator.C:
3679         * insetiterator.C:
3680         * pariterator.[Ch]: added/corrected header blurb.
3681
3682 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
3683
3684         * dociterator.[Ch]: add an inset_ member
3685         (backwardPos): implemented
3686         (backwardPos, forwardPos): use inset_ when the stack is empty.
3687         (doc_iterator_begin, doc_iterator_end): implemented
3688         * pariterator.[Ch]: adjust, add begin, end
3689         * insetiterator.[Ch]: adjust, add begin, end
3690         * cursor.C:
3691         * document.C:
3692         * BufferView.C:
3693         * BufferView_pimpl.C:
3694         * CutAndPaste.C: adjust
3695
3696 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3697
3698         * buffer.C: increment file format to 232.
3699         * LaTeXFeatures.C: add bibtopic package.
3700         * bufferparams.[Ch]: param \use_bibtopic.
3701
3702         * lyxrc.[Ch]: add lyxrc bibtex_command
3703         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3704
3705         * buffer.C: increment file format to 231.
3706
3707 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3708
3709         * dociterator.C: implement forwardPar
3710         * iterators.[Ch]: remove, replaced by
3711         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3712         * BufferView.C:
3713         * BufferView_pimpl.C:
3714         * CutAndPaste.C:
3715         * buffer.C:
3716         * bufferview_funcs.C:
3717         * cursor.C:
3718         * lyxfind.C
3719         * lyxfunc.C
3720         * paragraph_funcs.C
3721         * toc.C:
3722         * Makefile.am: adjust
3723
3724 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3725
3726         * CutAndPaste.C (pasteSelection): fix 2 crashes
3727         (eraseSelection): fix a crash
3728         * paragraph_funcs.C: remove a warning
3729
3730 2004-03-28  Angus Leeming  <leeming@lyx.org>
3731
3732         * lfuns.h:
3733         * LyXAction.C (init): new LFUN_PRINT.
3734
3735         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3736
3737 2004-03-27  Angus Leeming  <leeming@lyx.org>
3738
3739         * lfuns.h:
3740         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3741
3742         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3743
3744 2004-03-27  Angus Leeming  <leeming@lyx.org>
3745
3746         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3747         insetlist always contains non-null pointers to insets.
3748
3749 2004-03-26  Angus Leeming  <leeming@lyx.org>
3750
3751         * src/BufferView_pimpl.C:
3752         * src/CutAndPaste.C:
3753         * src/buffer.C:
3754         * src/iterators.C:
3755         * src/output_plaintext.C:
3756         * src/outputparams.h:
3757         * src/paragraph_funcs.C:
3758         * src/rowpainter.C:
3759         * src/text.C:
3760         * src/text2.C:
3761         * src/frontends/controllers/ControlErrorList.C:
3762         * src/frontends/gtk/FileDialogPrivate.C:
3763         * src/frontends/gtk/GPainter.C:
3764         * src/frontends/gtk/GToolbar.C:
3765         * src/frontends/qt2/QRef.C:
3766         * src/mathed/math_scriptinset.C: squash compiler warnings.
3767
3768 2004-03-26  Angus Leeming  <leeming@lyx.org>
3769
3770         * ispell.C (LaunchIspell::start):
3771         * lyx_cb.C (AutoSaveBuffer::start):
3772         invoke run(DontWait) rather than runNonBlocking().
3773
3774 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
3775
3776         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3777
3778 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3779
3780         * kbsequence.C (print): adjust
3781
3782         * kbmap.C (printKeySym): rename and change signature
3783         (printKey): use LyXKeySym::print()
3784
3785 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
3786
3787         * undo.C: add using std::advance to compile for stlport
3788
3789 2004-03-24  Angus Leeming  <leeming@lyx.org>
3790
3791         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3792         it leads to a crash when no buffer is present.
3793
3794 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3795             Martin Vermeer  <martin.vermeer@hut.fi>
3796
3797         * lyxfunc.C (dispatch):
3798         * bufferparams.C (readToken): use the new LColor::setColor
3799
3800         * LColor.[Ch] (setColor): new version that takes two strings as
3801         argument and creates a new color entry if necessary
3802
3803 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3804
3805         * buffer.C (makeLaTeXFile): if the main latex file that is
3806         processed is usually a subdocument of some master, then pretend
3807         for a while that it is actually the master
3808
3809 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3810
3811         * buffer.C (getLabelList):
3812         (getBibkeyList): use getMasterBuffer()
3813         (getMasterBuffer): new method. Returns the main document in the
3814         case where one is using included documents.
3815
3816 2004-03-25  André Pönitz  <poenitz@gmx.net>
3817
3818         * Makefile.am:
3819         * iterators.[Ch]:
3820         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3821
3822         * ParagraphList_fwd.h: change ParagraphList to a std::vector
3823
3824         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3825         text*.C over here. Rename namespace CutAndPaste to lyx::cap
3826
3827         * ParameterStruct.h: merge with ParagraphParameters
3828
3829         * lyxtext.h: remove LyXText::parOffset() and getPar()
3830
3831         * text3.C: Remove all 'manual' update calls. We do now one per user
3832         interaction which is completely sufficient.
3833
3834         * Bidi.C:
3835         * BufferView.[Ch]:
3836         * BufferView_pimpl.C:
3837         * FontIterator.[Ch]:
3838         * MenuBackend.C:
3839         * ParagraphParameters.[Ch]:
3840         * buffer.C:
3841         * buffer.h:
3842         * bufferlist.C:
3843         * cursor.[Ch]:
3844         * cursor_slice.[Ch]:
3845         * dociterator.[Ch]:
3846         * errorlist.[Ch]:
3847         * factory.C:
3848         * lfuns.h:
3849         * lyxfind.C:
3850         * lyxfunc.C:
3851         * output_docbook.[Ch]:
3852         * output_latex.[Ch]:
3853         * output_linuxdoc.[Ch]:
3854         * output_plaintext.[Ch]:
3855         * paragraph.[Ch]:
3856         * paragraph_funcs.[Ch]:
3857         * paragraph_pimpl.[Ch]:
3858         * rowpainter.C:
3859         * tabular.[Ch]:
3860         * text.C:
3861         * text2.C:
3862         * toc.C:
3863         * undo.[Ch]: adjust
3864
3865         * frontends/controllers/ControlDocument.C:
3866         * frontends/controllers/ControlErrorList.C:
3867         * frontends/controllers/ControlSpellchecker.C:
3868         * insets/inset.C:
3869         * insets/inset.h:
3870         * insets/insetbase.h:
3871         * insets/insetbibitem.C:
3872         * insets/insetbox.C:
3873         * insets/insetbranch.C:
3874         * insets/insetcaption.C:
3875         * insets/insetcharstyle.C:
3876         * insets/insetcharstyle.h:
3877         * insets/insetcollapsable.C:
3878         * insets/insetcollapsable.h:
3879         * insets/insetert.C:
3880         * insets/insetfloat.C:
3881         * insets/insetfoot.C:
3882         * insets/insetmarginal.C:
3883         * insets/insetnote.C:
3884         * insets/insetoptarg.C:
3885         * insets/insettabular.C:
3886         * insets/insettext.C:
3887         * insets/insettext.h:
3888         * insets/insetwrap.C:
3889         * mathed/math_mboxinset.C:
3890         * mathed/math_nestinset.C:
3891         * mathed/math_scriptinset.C:
3892         * mathed/math_scriptinset.h:
3893         * support/types.h:
3894
3895 2004-03-24  Angus Leeming  <leeming@lyx.org>
3896
3897         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3898         deal with any child processes that have finished but are waiting to
3899         communicate this fact to the rest of LyX.
3900
3901 2004-03-24  Angus Leeming  <leeming@lyx.org>
3902
3903         64-bit compile fixes.
3904
3905         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3906         (c-tor): pass lyx::pos_types rather than ints.
3907
3908         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3909         lyx::pos_type.
3910
3911         * text.C (Delete): compile fix.
3912         (getPar): ensure that function declaration is the same as that in
3913         the header file.
3914
3915 2004-03-23  Angus Leeming  <leeming@lyx.org>
3916
3917         * ispell.C (LaunchIspell):
3918         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3919         a boost::shred_ptr rather than a std::auto_ptr.
3920
3921 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3922
3923         * lyxfunc.C (getStatus): handle read-only buffers correctly;
3924         handle LFUN_FILE_INSERT_*
3925
3926         * lyxrc.C (setDefaults, getDescription, output, read):
3927         * lyxrc.h: remove ps_command
3928
3929 2004-03-22  Angus Leeming  <leeming@lyx.org>
3930
3931         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3932         Ensure that error_handler is processed once only and that all data
3933         is saved before attempting to output any warning messages.
3934
3935         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3936
3937 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
3938
3939         * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3940
3941 2004-03-19  André Pönitz  <poenitz@gmx.net>
3942
3943         * cursor.[Ch] (reset): take main text inset as argument
3944
3945         * BufferView: adjust
3946         * BufferView_pimpl.C: adjust
3947
3948         * paragraph.[Ch]: fix completely broken operator=()
3949
3950 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3951
3952         * LColor.C (getFromLyXName): make sure that the color name is used
3953         as lowercase.
3954
3955 2004-03-17  Angus Leeming  <leeming@lyx.org>
3956
3957         * lfuns.h:
3958         * LyXAction.C (init): remove LFUN_FORKS_KILL.
3959
3960         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3961         dialog and to kill a forked process.
3962
3963 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3964
3965         * text2.C (setCursorFromCoordinates): fix font problem
3966
3967 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3968
3969         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3970         bogus "rebuild cursor" code
3971
3972 2004-03-11  André Pönitz  <poenitz@gmx.net>
3973
3974         * buffer.[Ch]: use InsetText instead of LyXText as container for
3975         the main lyx text.
3976
3977         * dociterator.[Ch]: drop the BufferView * member which is not needed
3978         anymore after the change to buffer.C
3979
3980         * paragraph_funcs.C:
3981         * text.C:
3982         * text2.C:
3983         * BufferView.[Ch]:
3984         * BufferView_pimpl.[Ch]:
3985         * cursor.[Ch]:
3986         * cursor_slice.[Ch]: adjust
3987
3988         * text3.C: fix bug in mathDispatch
3989
3990 2004-03-08  André Pönitz  <poenitz@gmx.net>
3991
3992         * undo.[Ch]: use 'StableDocumentIterator' as base for
3993         the Undo struct.
3994
3995 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3996
3997         * LaTeXFeatures.C:
3998         * bufferparams.[Ch]: add jurabib support and param.
3999
4000         * LaTeX.C: add FIXME/comment.
4001
4002 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4003
4004         * buffer.C: increment file format to 230.
4005
4006 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
4007
4008         * cursor.C (dispatch): avoid infinite loops
4009
4010 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
4011
4012         * rowpainter.C (paintSelection): fix x coordinates
4013
4014 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
4015
4016         * text.C (rowBreakPoint): fix breaking before displayed insets
4017
4018 2004-03-01  André Pönitz  <poenitz@gmx.net>
4019
4020         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
4021
4022         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
4023
4024         * Makefile.am:
4025         * BufferView.C:
4026         * BufferView_pimpl.C:
4027         * buffer.C:
4028         * lyxfind.C:
4029         * lyxfunc.C:
4030         * text.C:
4031         * text2.C:
4032         * text3.C: adjust
4033
4034 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
4035
4036         * lyxtext.h:
4037         * text.C:
4038         * text2.C:
4039         * rowpainter.C:
4040         * BufferView_pimpl.C: rename textwidth -> maxwidth,
4041         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
4042
4043 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
4044
4045         * Bidi.[Ch] (computeTables): const correctness
4046         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
4047         fill_hfill, fill_label_hfill and x from Row
4048         * lyxtext.h: prepareToPrint returns a RowMetrics
4049         * rowPainter.C: adjust
4050         * text.C (prepareToPrint): use width, not textWidth. adjust
4051         (redoParagraphInternal, cursorX): adjust
4052         * text2.C (getColumnNearX): adjust
4053         (init): put a default value to the top LyXText::width
4054
4055 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
4056
4057         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
4058
4059 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
4060
4061         * lyxtext.h: add FontIterator class
4062
4063         * text.C (FontIterator, operator*, operator->, operator++): add
4064         (rowBreakPoint, setRowWidth): adjust (fixing a
4065         rebreaking bug)
4066
4067 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4068
4069         * BufferView_pimpl.C (workAreaDispatch): allow also
4070         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
4071
4072 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
4073
4074         * text.C (rowBreakPoint): fix a bug showing with very large insets
4075
4076 2004-02-25  André Pönitz  <poenitz@gmx.net>
4077
4078         * text3.C:
4079         * cursor.[Ch]: move some mathed specific code to mathed
4080
4081 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4082
4083         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
4084         use_tempdir in preferences
4085         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
4086         tempfile creation
4087         * lyx_main.C: ensure that tempdir is valid
4088         * lyxlex.h: correct typo
4089         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
4090         * paragraph.[Ch] (isMultiLingual): make const
4091         * cursor.[Ch] (openable): make const
4092
4093 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4094
4095         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
4096
4097 2004-02-20  André Pönitz  <poenitz@gmx.net>
4098
4099         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
4100
4101         * cursor.[Ch]: prepare for localized getStatus()
4102
4103         * lyxtext.h:
4104         * tabular.C:
4105         * text.C:
4106         * text2.C:
4107         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
4108
4109 2004-02-20  André Pönitz  <poenitz@gmx.net>
4110
4111         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
4112
4113 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
4114
4115         * text2.C (setCursorFromCoordinates): switch to absolute coords
4116         (cursorUp): adjust
4117         (cursorDown): adjust
4118         * text3.C (dispatch): adjust
4119
4120 2004-02-16  André Pönitz  <poenitz@gmx.net>
4121
4122         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
4123           insets/ChangeLog)
4124
4125         * cursor_slice.[Ch]: remove unneeded acessor function
4126
4127         * lyxtext.h: rename rtl() to isRTL()
4128
4129         * rowpainter.C:
4130         * tabular.C:
4131         * text.C:
4132         * text2.C:
4133         * text3.C: adjust
4134
4135 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
4136
4137         * rowpainter.C (paintSelection): coord fix
4138
4139 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
4140
4141         * Spacing.C: compile fix
4142
4143 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
4144
4145         * cursor.C (dispatch): restore current_ before returning
4146
4147 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
4148
4149         * text2.C (cursorUp, cursorDown): fix coords
4150         (moveUp): fix crash
4151
4152 2004-02-12  André Pönitz  <poenitz@gmx.net>
4153
4154         * lyxtext.h:
4155         * text.C:
4156         * text2.C:
4157         * text3.C: add LCursor & parameter to most cursor movement functions
4158           remove usage of LyXText::cursorRow() and cursorPar()
4159
4160         * cursor.[Ch]: add textRow() needed members
4161
4162         * BufferView.C:
4163         * BufferView_pimpl.C:
4164         * paragraph.[Ch]:
4165         * BufferView.C:
4166         * BufferView_pimpl.C: adjust
4167
4168 2004-02-11  André Pönitz  <poenitz@gmx.net>
4169
4170         * lyxfunc.C:
4171         * BufferView.[Ch]:
4172         * BufferView_pimpl.C: shift undo/redo handling
4173
4174         * cursor.[Ch]: fix mathed crash
4175
4176         * lyxfind.C:
4177         * lyxtext.h: move selectionAsText to LCursor
4178
4179         * output_latex.C:
4180         * paragraph.C:
4181         * text.C:
4182         * text2.C:
4183         * text3.C: adjust
4184
4185         * rowpainter.C: fix excessive drawing
4186
4187 2004-02-06  André Pönitz  <poenitz@gmx.net>
4188
4189         * BufferView.[Ch]:
4190         * BufferView_pimpl.[Ch]:
4191         * text3.C: move some text specific LFUN handling
4192
4193 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
4194
4195         * text3.C (checkInsetHit): adjust coords
4196         * text2.C (getColumnNearX): adjust coords
4197         (edit): adjust coords
4198         * text.C (getRowNearY): add two asserts
4199
4200 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
4201
4202         * converter.C:
4203         * format.C: add using std::distance to compile on gcc 2.95/stlport
4204
4205 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
4206
4207         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
4208
4209 2004-02-04  André Pönitz  <poenitz@gmx.net>
4210
4211         * BufferView.[Ch] (insertInset):
4212         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
4213
4214         * text2.C:
4215         * text3.C: adjust
4216
4217 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
4218
4219         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
4220         on the default clause of the switch
4221         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
4222         wasn't catched by LCursor::dispatch
4223
4224 2004-02-03  André Pönitz  <poenitz@gmx.net>
4225
4226         * BufferView.C:
4227         * cursor.[Ch]: some additional asserts
4228
4229         * undo.[Ch]: remove LyXText dependency in interface
4230
4231         * lyxfunc.C: adjust
4232
4233         * lyxtext.h (firstPar, lastPar): remove dead functions
4234
4235         * text.C:
4236         * text2.C:
4237         * text3.C:
4238         * paragraph.[Ch]: adjust
4239
4240 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
4241
4242         * lyxfind.C (find): fix argument order in call to ::find
4243
4244 2004-02-02  André Pönitz  <poenitz@gmx.net>
4245
4246         * cursor.[Ch]: remove direct access to anchor
4247
4248         * text.C: remove findText() hack
4249
4250 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
4251
4252         * iterators.[Ch] (lockPath): remove in favour of...
4253         * BufferView.[Ch] (setCursor): this addition
4254         * BufferView.C (putSelectionAt): adjust
4255         * undo.C (performUndoOrRedo): adjust
4256         * lyxfunc.C (dispatch): adjust
4257
4258 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
4259
4260         * iterators.C (lockPath): add a missing slice
4261         * undo.C (performUndoOrRedo): remove redundant positioning code
4262
4263 2004-02-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4264
4265         * vc-backend.C (scanMaster): ";" -> ';'
4266
4267 2004-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4268
4269         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
4270         std::binary_function
4271
4272         * lyxtextclass.C (compare_name): rename to...
4273         (LayoutNamesEqual): ...this
4274
4275         * lyxlex_pimpl.C (compare_tags): inherit from
4276         std::binary_function, put back into anon namespace
4277
4278         * lyxfind.C (MatchString): inherig from std::binary_function
4279         (findChange): use empty() istead of !size()
4280
4281         * format.C (FormatNamesEqual): new functor
4282         (getFormat): use it
4283         (getNumber): use it
4284         (add): use it
4285         (erase): use it
4286         (setViewer): use it
4287
4288         * converter.C (compare_Converter): rename to...
4289         (ConverterEqual): ...this, and fixup a bit.
4290         (getConverter): use it, and make function const
4291         (getNumber): use it, and make function const
4292         (add): use it
4293         (erase): use it:
4294
4295         * bufferlist.C: add using boost::bind
4296
4297         * MenuBackend.C (MenuNamesEqual): new functor
4298         (hasMenu): use it, and make function const
4299         (hasSubmenu): use nested bind to get rid of compare_memfun.
4300
4301 2004-01-30  André Pönitz  <poenitz@gmx.net>
4302
4303         * BufferView_pimpl.C:
4304         * cursor.C:
4305         * cursor.h:
4306         * cursor_slice.[Ch]:
4307         * lyxfunc.C:
4308         * lyxtext.h:
4309         * paragraph_funcs.C:
4310         * paragraph_funcs.h:
4311         * rowpainter.C:
4312         * text.C:
4313         * text2.C:
4314         * text3.C: move some of the edit(x,y) handling to the insets
4315         some coordinate changes.
4316
4317 2004-01-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4318
4319         * text.C: add using statements for std::advance and std::distance
4320
4321         * paragraph.C: add using statement for std::distance
4322
4323         * lyxfind.C: add using statement for std::advance
4324
4325         * cursor.C (region): remove std:: from swap
4326         (openable): use nucleus in stead of operator->
4327
4328         * BufferView.C: add using statements for std::distance and std::swap
4329
4330 2004-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4331
4332         * iterators.C: Remove the pimple, move the needed structures to
4333         the header file. Create accessor for the positions stack.
4334         (asPosIterator): remove function
4335
4336         * PosIterator.C (PosIterator): move constructors to top of file
4337         (PosIterator): reimplement the constructor taking a ParIterator in
4338         terms of setFrom.
4339         (setFrom): new function
4340         (operator!=): inline it
4341
4342 2004-01-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4343
4344         * lyxfind.C (replaceAll): use std::advance
4345
4346         * iterators.h: inherit from std::iterator.
4347
4348         * PosIterator.C (advance, distance): remove
4349         * PosIterator.h: interit from std::iterator.
4350
4351 2004-01-26  André Pönitz  <poenitz@gmx.net>
4352
4353         * BufferView.[Ch]:
4354         * BufferView_pimpl.[Ch]:
4355         * InsetList.[Ch]:
4356         * PosIterator.[Ch]:
4357         * buffer.h:
4358         * bufferview_funcs.C:
4359         * cursor.[Ch]:
4360         * cursor_slice.h:
4361         * factory.[Ch]:
4362         * iterators.[Ch]:
4363         * lyxfind.C:
4364         * lyxfunc.C:
4365         * lyxtext.h:
4366         * output_docbook.C:
4367         * output_latex.C:
4368         * output_linuxdoc.C:
4369         * output_plaintext.C:
4370         * paragraph.[Ch]:
4371         * paragraph_funcs.[Ch]:
4372         * paragraph_pimpl.[Ch]:
4373         * rowpainter.C:
4374         * tabular.C:
4375         * tabular.h:
4376         * text.C:
4377         * text2.C:
4378         * text3.C: more IU:  dumps most of the rest of the mathcursor
4379     implementation into cursor.[Ch]; "globalize" a bit of it.
4380
4381 2004-01-25  Angus Leeming  <leeming@lyx.org>
4382
4383         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
4384
4385 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4386
4387         * LaTeXFeatures.h: add nice_ and nice() const
4388         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
4389
4390 2004-01-20  André Pönitz  <poenitz@gmx.net>
4391
4392         * BufferView.[Ch]:
4393         * BufferView_pimpl.C:
4394         * PosIterator.C:
4395         * bufferview_funcs.C:
4396         * cursor.[Ch]:
4397         * cursor_slice.[Ch]:
4398         * factory.C:
4399         * iterators.C:
4400         * lyx_cb.C:
4401         * lyxfind.C:
4402         * lyxfunc.C:
4403         * lyxtext.h:
4404         * rowpainter.C:
4405         * text.C:
4406         * text2.C:
4407         * text3.C:
4408         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
4409           LCursor and mathcursor parts to LCursor and InsetBase.
4410
4411 2004-01-15  André Pönitz  <poenitz@gmx.net>
4412
4413         * cursor_slice.[Ch]: add a few covienience functions
4414
4415         * funcrequest.[Ch]: remove BufferView * member
4416
4417         * BufferView_pimpl.C:
4418         * cursor.C:
4419         * factory.[Ch]:
4420         * lyxfind.[Ch]:
4421         * lyxfunc.C:
4422         * lyxtext.h:
4423         * text3.C:
4424         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4425
4426 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
4427
4428         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4429         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4430
4431 2004-01-13  André Pönitz  <poenitz@gmx.net>
4432
4433         * textcursor.[Ch]:
4434         * lyxtext.h: hide cursor and selection anchor behind accessor function
4435
4436         * BufferView.C:
4437         * BufferView_pimpl.[Ch]:
4438         * PosIterator.C:
4439         * bufferview_funcs.C:
4440         * cursor.h:
4441         * lyxfind.C:
4442         * lyxfunc.C:
4443         * text.C:
4444         * text2.C:
4445         * text3.C:
4446         * undo.C: adjust
4447
4448         * cursor.h:
4449         * cursor_slice.[Ch]: some integer type changes for inset unification
4450
4451         * lyxcursor.[hC]: remove, it's CursorSlice now.
4452
4453         * Makefile.am:
4454         * BufferView_pimpl.[Ch]:
4455         * bufferview_funcs.C:
4456         * cursor_slice.C:
4457         * lyxtext.h:
4458         * text.C:
4459         * text2.C:
4460         * text3.C:
4461         * textcursor.[Ch]: adjust
4462
4463 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
4464
4465         * text2.C (undoSpan): add and use
4466         * text.C (breakParagraph): use undoSpan (fix bug 578)
4467         * lyxtext.h: adjust
4468
4469 2004-01-08  Angus Leeming  <leeming@lyx.org>
4470
4471         * BufferView_pimpl.C (MenuInsertLyXFile):
4472         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4473         * lyxfunc.C (menuNew, open, doImport):
4474         FileFilterList change to the FileDialog open and save functions.
4475
4476 2004-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4477
4478         * ShareContainer.h: make isEqual and isUnique adaptable
4479
4480         * CutAndPaste.C: make resetOwnerAndChanges adaptable
4481
4482 2004-01-07  Angus Leeming  <leeming@lyx.org>
4483
4484         * LyXAction.C:
4485         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4486
4487         * BufferView_pimpl.C (dispatch): act on these LFUNs.
4488
4489         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4490         functions replacing find, replace and replaceAll.
4491
4492         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4493         LFUN_WORDFIND(FORWARD|BACKWARD).
4494
4495 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4496
4497         * text.C (breakParagraph): remove an outdated #warning
4498
4499 2004-01-07  André Pönitz  <poenitz@gmx.net>
4500
4501         * lyxfind.C: somewhat clearer logic
4502
4503         * text.C: prevent crash in cursorX on unitialized row cache
4504
4505 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4506
4507         * lyxcursor.[Ch] (operator>): add
4508         * textcursor.C (selStart, selEnd): use std::min and std::max
4509
4510 2004-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4511
4512         * Chktex.C: include boost/format.hpp
4513
4514 2004-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4515
4516         * InsetList.C: replace functor MathcIt with adaptable functor
4517         InsetTablePosLess
4518         (insetIterator): modify accordingly
4519
4520         * BranchList.h: move the BranchNamesEqual functor here from...
4521         * BranchList.C: ... to here
4522
4523         * BranchList.C: new BranchListEqual fuctor, use it. Remove
4524         SameName and match.
4525         (add): replace a finding loop with std::find_if.
4526
4527 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
4528
4529         * output_docbook.C: moving LatexParam functionality into
4530         .layout files
4531
4532 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4533
4534         * buffer.C: increment format to 229.
4535
4536 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
4537
4538         * LaTeXFeatures.C:
4539         * lyx_sty.[Ch]: remove minipageindent_def
4540
4541         * LyXAction.C:
4542         * factory.C:
4543         * lfuns.h:
4544         * lyxfunc.C:
4545         * text3.C: remove LFUN_INSET_MINIPAGE
4546
4547 2003-12-28  Angus Leeming  <leeming@lyx.org>
4548
4549         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4550
4551 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
4552
4553         * text2.C (setParagraph): fix off-by-one crash
4554
4555 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
4556
4557         * output_docbook.C: header stuff for AGU
4558
4559 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
4560
4561         * text2.C (redoCursor): remove
4562         * text.C:
4563         * text3.C:
4564         * BufferView_pimpl.C: remove calls to redoCursor and
4565         setCursor(cursor.par(), cursor.pos()) all around
4566
4567 2003-12-15  Angus Leeming  <leeming@lyx.org>
4568
4569         * buffer.C: up the format to 228.
4570
4571 2003-12-15  André Pönitz  <poenitz@gmx.net>
4572
4573         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4574         slices
4575
4576         * Makefile.am:
4577
4578         * BufferView_pimpl.C:
4579         * cursor.[Ch]:
4580         * lyxcursor.[Ch]:
4581         * rowpainter.[Ch]:
4582         * lyxtext.h:
4583         * text.C:
4584         * text2.C:
4585         * text3.C: adjust
4586
4587 2003-12-15  Angus Leeming  <leeming@lyx.org>
4588
4589         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4590         than getFromGUIName to manipulate the color.
4591
4592 2003-12-14  Angus Leeming  <leeming@lyx.org>
4593
4594         * BranchList.[Ch]: minimize the API.
4595         (Branch::getBranch, getColor): now return a 'const &'.
4596         (Branch::setSelected) now returns a bool set to true if the
4597         selection status changes.
4598         (BranchList::clear, size, getColor, setColor, setSelected,
4599         allBranches, allSelected, separator): removed.
4600         (BranchList::find): new functions, returning the Branch with
4601         the given name.
4602         (BranchList::add, remove): return a bool indicating that
4603         the operation was successful.
4604
4605         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4606         new InsetBranch::isBranchSlected member function.
4607
4608         * LColor.[Ch]: mimimize the API.
4609         (fill): renamed as addColor and made private.
4610         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4611         versions of these functions taking a string arg have been removed.
4612
4613         * bufferparams.C (readToken):
4614         * lyxfunc.C (dispatch):
4615         * lyxrc.C (read): changes due to the altered BranchList and
4616         LColor APIs.
4617
4618         * factory.C (createInset, readInset): changes due to altered
4619         InsetBranch c-tor.
4620
4621 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4622
4623         * factory.C:
4624         * lyxfunc.C: remove insetminipage. "minipage-insert"
4625         now produces a frameless minipage box inset.
4626
4627 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4628
4629         * textcursor.[Ch] (selStart,selEnd): add new methods
4630         remove selection::start, end, use LyXCursor::operator<
4631         * lyxcursor.[Ch] (operator<): add
4632         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4633         * BufferView.[Ch] (unsetXSel): add
4634         * text2.C (clearSelection): use unsetXSel,adjust
4635         * text.C: adjust
4636         * text3.C: adjust
4637         * rowpainter.C: adjust
4638         * bufferview_funcs.C (put_selection_at): adjust
4639
4640 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4641
4642         * BufferView_pimpl.C: small coord. correction
4643
4644 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4645
4646         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4647         dragging over the splash screen.
4648
4649 2003-12-11  Angus Leeming  <leeming@lyx.org>
4650
4651         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4652         as it is now handled in LyXText::dispatch.
4653
4654         * text3.C (doInsertInset): remove a level of nesting.
4655
4656 2003-12-11  Angus Leeming  <leeming@lyx.org>
4657
4658         * factory.C (createInset): changes due to the changed interface to
4659         InsetCommandMailer::string2params.
4660
4661 2003-12-10  Angus Leeming  <leeming@lyx.org>
4662
4663         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4664         'dialog-show-new-inset <inset name>'
4665
4666 2003-12-10  Angus Leeming  <leeming@lyx.org>
4667
4668         * buffer.C: up the format to 227.
4669
4670         * factory.C: the box inset is now identified simply by 'Box'.
4671
4672 2003-12-10  Angus Leeming  <leeming@lyx.org>
4673
4674         * buffer.C: up the format to 226.
4675
4676         * factory.C: the note inset is now identified simply by 'Note'.
4677
4678 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
4679
4680         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4681         when a pit is enough. Standarize a couple of loops.
4682
4683 2003-12-05  Angus Leeming  <leeming@lyx.org>
4684
4685         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4686         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4687         data to the re-worked "log" dialog.
4688
4689 2003-12-03  André Pönitz  <poenitz@gmx.net>
4690
4691         * PosIterator.C:
4692         * iterators.C:
4693         * lyxtext.h:
4694         * output_latex.C:
4695         * paragraph_funcs.C:
4696         * text.C:
4697         * text2.C: use Inset::getText instead of Inset::getParagraph
4698
4699 2003-12-03  André Pönitz  <poenitz@gmx.net>
4700
4701         * buffer.[Ch]:
4702         * lyxtext.h:
4703         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4704         InsetText::read() as LyXText::read()
4705
4706 2003-12-02  Angus Leeming  <leeming@lyx.org>
4707
4708         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4709         type. Add a comment in the implementation that the function uses
4710         the stream's bad() function rather than fail() as the std::streams
4711         would do.
4712
4713 2003-12-02  André Pönitz  <poenitz@gmx.net>
4714
4715         * lyxlex.[Ch]: make interface more similar to std::stream
4716
4717         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4718
4719 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
4720
4721         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4722
4723 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
4724
4725         * vspace.[Ch]: remove VSpace::NONE
4726
4727 2003-12-01  André Pönitz  <poenitz@gmx.net>
4728
4729         * buffer.[Ch]:
4730         * lyxtext.h: move ParagraphList member to LyXText
4731         rename LyXText::ownerParagraphs to LyXText::paragraph
4732
4733         * CutAndPaste.C:
4734         * bufferview_funcs.C:
4735         * iterators.[Ch]:
4736         * lyx_cb.C:
4737         * paragraph.C:
4738         * rowpainter.C:
4739         * tabular.C:
4740         * text.C:
4741         * text2.C:
4742         * text3.C: adjust
4743
4744         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4745
4746         * undo.C: fix cursor positioning
4747
4748 2003-12-01  John Levon  <levon@movementarian.org>
4749
4750         * BufferView_pimpl.C: fix a crash on exit with
4751         a buffer open
4752
4753 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
4754
4755         * BranchList.C: fix setSelected() method.
4756
4757 2003-11-28  André Pönitz  <poenitz@gmx.net>
4758
4759         * ParagraphParameters.[Ch]:
4760         * ParameterStruct.h: remove space above/below from Paragraph to
4761          InsetVSpace
4762
4763         * BufferView_pimpl.C:
4764         * factory.C:
4765         * lyxfunc.C:
4766         * lyxtext.h:
4767         * output_latex.C:
4768         * paragraph.C:
4769         * paragraph_funcs.C:
4770         * rowpainter.[Ch]:
4771         * text.C:
4772         * text2.C:
4773         * text3.C: adjust
4774
4775 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
4776
4777         * factory.C: Syntax change for CharStyles
4778
4779 2003-11-28  André Pönitz  <poenitz@gmx.net>
4780
4781         * BufferView.[Ch]:
4782         * BufferView.[Ch]:
4783         * buffer.[Ch]:
4784         * buffer.[Ch]: move LyXText member
4785
4786 2003-11-28  André Pönitz  <poenitz@gmx.net>
4787
4788         * BufferView.[Ch]: make LyXText * text a private member
4789
4790         * BufferView_pimpl.C:
4791         * cursor.C:
4792         * iterators.C:
4793         * lyx_cb.C:
4794         * lyxfind.C:
4795         * lyxtext.h:
4796         * rowpainter.[Ch]:
4797         * text.C:
4798         * text2.C:
4799         * undo.C: adjust
4800
4801         * output_plaintext.C: cleanup
4802
4803 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4804
4805         * buffer.C:
4806         * lyxtextclass.[Ch]: parametrize SGML document header
4807
4808 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4809
4810         * converter.[Ch]:
4811         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4812         getFlavor().
4813
4814 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
4815
4816         * text2.C (setFont): rework using PosIterator (no more recursive)
4817         (setCharFont): no more needed
4818         (setLayout): no more selection cursors fiddling (done by redoCursor)
4819         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4820         destroy remaining ones)
4821
4822 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
4823
4824         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4825         * lyxtext.h: ditto
4826         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4827         selection cursors
4828         * lyxfunc.C: adjust
4829         * text3.C: adjust + re-allow multi par depth changes
4830         * textcursor.C: simplify a bit
4831
4832 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
4833
4834         * src/buffer.C:
4835         * src/lyxlayout.C:
4836         * src/lyxlayout.h:
4837         * src/lyxtext.h:
4838         * src/output_docbook.C:
4839         * src/output_latex.C:
4840         * src/paragraph.C:
4841         * src/paragraph.h:
4842         * src/sgml.C:
4843         * src/sgml.h:
4844         * src/text2.C: Introducing a number of tags parametrizing various
4845         XML formats that we may want to support
4846
4847 2003-11-25  André Pönitz  <poenitz@gmx.net>
4848
4849         * InsetList.[Ch] (begein, end): inline as suggested by profiler
4850
4851         * lyxtext.h (leftMargin/rightMargin): simplify interface
4852
4853         * rowpainter.C:
4854         * text.C:
4855         * text2.C:
4856         * text3.C: adjust
4857
4858 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4859
4860         * lyxfunc.C (dispatch): propogate the bibtex databases from the
4861         master file to any child files. Fixes bug 546.
4862
4863 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4864
4865         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4866
4867 2003-11-24  André Pönitz  <poenitz@gmx.net>
4868
4869         * rowpainter.C: simplification
4870
4871         * text2.C (updateCounters): remove call to redoParagraph on
4872         changed labels as this is far too expensive.
4873
4874 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4875
4876         * converter.C (convert): fix a crash: this function gets
4877         called with buffer == 0 from importer code.
4878
4879 2003-11-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4880
4881         * text3.C (cursorPrevious): make sure that we do not compare
4882         iterators form different containers.
4883         (cursorNext): ditto
4884
4885         * rowpainter.C (paintSelection): make sure that we do not compare
4886         iterators from different containers.
4887
4888         * text3.C (dispatch): [PRIOR] make sure that we do not compare
4889         iterators from different ParagraphList containers.
4890         [NEXT] ditto
4891
4892         * text2.C (LyXText): change order of initialization slightly
4893         (operator=): new function. copy all variables except cache_par_
4894         (moveUp): make sure that we do not compare iterators from
4895         different ParagraphList constainers.
4896         (moveDown): ditto
4897
4898         * text.C (firstPar): new function
4899         (lastPar): new function
4900         (endPar): new function
4901
4902         * lyxtext.h: move things around and group public functions, public
4903         variables, private functions, private variables
4904
4905 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
4906
4907         * factory.C: change call to InsetERT constructor to avoid
4908         additional invocation of method status
4909         * text2.C (toggleInset): remove redundant update() call
4910         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4911         instead of a Bufferview pointer
4912
4913 2003-11-21  André Pönitz  <poenitz@gmx.net>
4914
4915         * rowpainter.C: simplification
4916
4917 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4918
4919         * text3.C (dispatch): make possible to extend a word/row selection
4920         with the mouse
4921
4922 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4923
4924         * lyxtext.h: x0_,y0_ -> xo_,yo_
4925         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4926         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4927         * rowpainter.C (paintRows): paint full paragraphs
4928
4929 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4930
4931         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4932         screen coordinates)
4933
4934 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4935
4936         * lyxtext.h: add x0_, y0_
4937         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4938         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4939
4940 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
4941
4942         * text2.C (setCursorIntern): move the x_target update here *
4943         * text3.C: change some bv() to true/false in calls to
4944         cursorUp/Down/Right/Left
4945         * cursor.C: use helper function.
4946
4947 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4948
4949         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4950         * paragraph_funcs.[Ch]: correct comment
4951         * rowpainter.C: do not paint selections away from bv->cursor()
4952         Fix a long standing selection painting bug.
4953         * text3.C: generalize mouse-selection code to LyXTexts other that
4954         top one
4955         * textcursor.C: do not use y coords if we can use par offsets
4956
4957 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4958
4959         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4960         cursor position after e.g. inset insert)
4961
4962 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
4963
4964         * lyxfind.C (replace): adjust to locking removal + some
4965         code simplification
4966
4967 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
4968
4969         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4970         of the path
4971
4972 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
4973
4974         * lyxlayout.[Ch]:
4975         * output_docbook.C: XML sanitation: new layout
4976         parameters InnerTag and CommandDepth
4977
4978 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
4979
4980         * BufferView_pimpl.C:
4981         * factory.C:
4982         * text3.C: Fix the insertion and modification of button-style
4983         insets
4984
4985 2003-11-13  André Pönitz  <poenitz@gmx.net>
4986
4987         * InsetList.[Ch]: remove deleteLyXText
4988
4989         * paragraph.[Ch]: cache beginOfBody position
4990
4991         * Bidi.C:
4992         * text.C:
4993         * text2.C:
4994         * text3.C: remove superfluous update() calls
4995
4996         * vspace.C: cleanup
4997
4998 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
4999
5000         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
5001         * BufferView.C (fitLockedInsetCursor): remove
5002         * cursor.[Ch] (getDim): add
5003         * text.C (getRowNearY): add faster version
5004         * text3.C: remove some update calls
5005
5006 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
5007
5008         * LaTeXFeatures.C:
5009         * LyXAction.C:
5010         * MenuBackend.C:
5011         * MenuBackend.h:
5012         * dispatchresult.h:
5013         * factory.C:
5014         * lfuns.h:
5015         * lyxfunc.C:
5016         * lyxtextclass.C:
5017         * lyxtextclass.h:
5018         * text3.C: The Character Style /XML short element patch.
5019
5020 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
5021
5022         * text3.C:
5023         * factory.C: Small step to solving 'unable to insert some insets'
5024         problem
5025
5026 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
5027
5028         * cursor.[Ch] (updatePos): new function for updating the y
5029         position of the tip inset
5030         * bufferview_funcs.C (put_selection_at):
5031         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
5032
5033 2003-11-11  André Pönitz  <poenitz@gmx.net>
5034
5035         * text.C: remove big comment on invalid Paragraph pointers as it is
5036         not valid anymore
5037
5038 2003-11-11  André Pönitz  <poenitz@gmx.net>
5039
5040         * text_funcs.[Ch]: merge with ...
5041
5042         * text.C: ... this
5043
5044         * lyxtext.h:
5045         * text2.C:
5046         * text3.C: adjust
5047
5048         * Makefile.am: remove text_funcs.[Ch]
5049
5050 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
5051
5052         * cursor.C (getPos): return absolute cached y coord
5053
5054         * BufferView_pimpl.C (fitCursor): new simplistic code
5055         (workAreaDispatch): add a fitCursor call
5056
5057 2003-11-10  André Pönitz  <poenitz@gmx.net>
5058
5059         * BufferView.[Ch]:
5060         * BufferView_pimpl.[Ch]: merge update() and updateInset()
5061
5062 2003-11-10  André Pönitz  <poenitz@gmx.net>
5063
5064         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
5065         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
5066         indicate that the cursor needs to leave an inset
5067
5068         * lyxtext.h: remove inset locking
5069
5070         * cursor.[Ch]: re-implement functionality provided by inset locking
5071
5072         * BufferView.[Ch]:
5073         * BufferView_pimpl.[Ch]:
5074         * LyXAction.C:
5075         * bufferview_funcs.[Ch]:
5076         * factory.C:
5077         * funcrequest.[Ch]:
5078         * iterators.C:
5079         * lyx_cb.C:
5080         * lyxfind.C:
5081         * lyxfunc.C:
5082         * text.C:
5083         * text2.C:
5084         * text3.C:
5085         * undo.C: adjust
5086
5087 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
5088
5089         * PosIterator.[Ch]: replace the stack with a vector, add inset
5090         accesor
5091         * iterators.[C]: adjust
5092
5093 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
5094
5095         * lyxfind.C (replaceAll): mark the buffer dirty if something was
5096         replaced
5097         * paragraph_funcs.C (readParToken): put the correct id in the
5098         error item, not the id of the top paragraph
5099
5100 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
5101
5102         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
5103         * bufferview_funcs.C (put_selection_at): use the above
5104
5105 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
5106
5107         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
5108
5109 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5110
5111         * output_linuxdoc.h:
5112         * output_plaintext.h:
5113         * output.h:
5114         * output_docbook.h: add #include statements
5115
5116 2003-11-05  José Matos  <jamatos@lyx.org>
5117
5118         * output_docbook.[Ch]:
5119         * output_latex.[Ch]:
5120         * output_linuxdoc.[Ch]:
5121         * output_plaintext.[Ch]: New files for output formats.
5122         * output.[Ch]: New file for helper functions.
5123
5124         * buffer.[Ch]:
5125         * paragraph_funcs.[Ch]: output functions moved to new files.
5126
5127         * outputparams.h: rename of latexrunparams.h
5128
5129         * LaTeX.[Ch]:
5130         * buffer.[Ch]:
5131         * bufferlist.[Ch]:
5132         * converter.[Ch]:
5133         * exporter.C:
5134         * paragraph.[Ch]:
5135         * paragraph_funcs.[Ch]:
5136         * paragraph_pimpl.[Ch]:
5137         * tabular.[Ch]: rename ascii to plaintext
5138         and LatexRunParams to OutputParams.
5139
5140 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
5141
5142         * iterators.[Ch] (text): require bv argument
5143         * undo.C (recordUndo):
5144         * lyxfunc.C (dispatch):
5145         * bufferview_funcs.C (put_selection_at): adjust
5146
5147 2003-11-05  Jo� Luis M. Assirati  <assirati@fma.if.usp.br>
5148
5149         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
5150
5151 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
5152
5153         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
5154         nestings
5155
5156 2003-11-04  André Pönitz  <poenitz@gmx.net>
5157
5158         * cursor.[Ch]: restructure
5159
5160         * BufferView.[Ch]:
5161         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
5162
5163         * iterators.[Ch] (asCursor): remove
5164
5165         * lfuns.h: remove LFUN_INSET_EDIT
5166
5167         * lyxfunc.C:
5168         * tabular.C:
5169         * text.C:
5170         * text2.C:
5171         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
5172
5173 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5174
5175         * lyxfind.[Ch]: complete overhaul
5176         * BufferView_pimpl.C:
5177         * lyxfunc.C: adjust
5178         * paragraph.[Ch] (insert): add
5179
5180 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5181
5182         * BufferView.[Ch]:
5183         * lyxtext.h:
5184         * text.C: remove dead spellcheck code
5185
5186 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5187
5188         * dispatchresult.h: add a val setter
5189
5190         * cursor.C (dispatch): use a tempvar for data_[i]
5191
5192 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5193
5194         * PosIterator.[Ch]: compile fix
5195
5196 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5197
5198         * text.C (cursorPar): deactivate the cursor cache
5199
5200 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
5201
5202         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
5203
5204 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5205
5206         * text3.C (dispatch): adjust for new DisptchResult semantics.
5207
5208         * lyxfunc.C (dispatch): handle update when return from
5209         Cursor::dispatch, adjust for new DispatchResult semantics.
5210
5211         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
5212         DispatchResult(true) mean to not update. Add class functions for
5213         setting dispatched and update, as well as reading.
5214
5215         * cursor.C (dispatch): don't handle update here
5216
5217 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5218
5219         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
5220         * trans_mgr.C: adjust
5221
5222         * paragraph_funcs.C (readParToken): exception safety
5223
5224         * lyxvc.h: store the vcs pointer in a scoped_ptr
5225         * lyxvc.C: adjust
5226
5227         * lyxsocket.C (serverCallback): exception safety
5228
5229         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
5230
5231         * ispell.C (clone): make it return a auto_ptr
5232
5233         * factory.C (createInset): exception safety
5234         (readInset): exception safety
5235
5236         * bufferlist.C (newBuffer): exception safety
5237
5238         * Thesaurus.C (Thesaurus): use initialization for aik_
5239
5240         * MenuBackend.C (expandToc): exception safety.
5241
5242 2003-11-03  André Pönitz  <poenitz@gmx.net>
5243
5244         * buffer.C:
5245         * buffer.h:
5246         * bufferview_funcs.C: remove getInsetFromId()
5247
5248         * lyxcursor.[Ch]:
5249         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
5250
5251         * lyxfunc.C:
5252         * text2.C:
5253         * text3.C: adjust
5254
5255 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
5256
5257         * PosIterator.C (distance, advance): new
5258         * bufferview_funcs.[Ch] (put_selection_at): new
5259         * iterators.[Ch] (lockPath): new
5260
5261 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
5262
5263         * iterators.[Ch] (asPosIterator): added
5264         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
5265         * PosIterator.[Ch]: added
5266
5267 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5268
5269         * text3.C:
5270         * lyxfunc.C:
5271         * cursor.C (dispatch):
5272         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
5273
5274         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
5275         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
5276         contructor, add a class function dispatched. Remove operator>=
5277
5278 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5279
5280         * debug.C: only use the default constructor for debugstream
5281         (lyxerr) here.
5282
5283         * main.C (main): include debug.h and setup the lyxerr streambuf
5284         here.
5285
5286 2003-10-31  José Matos  <jamatos@lyx.org>
5287
5288         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
5289
5290         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
5291         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
5292         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5293         * paragraph_pimpl.C (simpleTeXSpecialC):
5294         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
5295         add LatexRunParams argument.
5296
5297         * exporter.C (Export): change call accordingly.
5298
5299         * latexrunparams.h: add new member to take care of the other backends.
5300 2003-10-30  José Matos  <jamatos@lyx.org>
5301
5302         * buffer.C (makeLinuxDocFile, makeDocBookFile):
5303         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5304         factorise code for paragraph output.
5305         * buffer.[Ch]:
5306         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
5307         move functions.
5308
5309 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5310
5311         * text3.C (dispatch):
5312         * lyxfunc.C (dispatch):
5313         * cursor.C (dispatch):
5314         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
5315
5316         * dispatchresult.h: make the dispatch_result_t ctor explicit
5317
5318 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
5319
5320         * sgml.[Ch]:
5321         * buffer.C: small refactoring of docbook stuff
5322
5323 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5324
5325         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
5326         meaning.
5327
5328 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5329
5330         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
5331         operator dispatch_result_t, and operators for == != and >=
5332
5333         * cursor.C (dispatch): adjust for operator dispatch_result_t
5334         removal. comment out call to update
5335
5336         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
5337
5338 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5339
5340         * text3.C:
5341         * text2.C:
5342         * text.C:
5343         * lyxtext.h:
5344         * lyxfunc.C:
5345         * cursor.C:
5346         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
5347         (dispatch):
5348
5349         * dispatchresult.h: new file, DispatchResult broken out of
5350         insets/insetbase.h
5351
5352         * Makefile.am (lyx_SOURCES): add dispatchresult.h
5353
5354 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
5355
5356         * text.C (rowBreakPoint): put a hack inside #if 0
5357
5358 2003-10-28  André Pönitz  <poenitz@gmx.net>
5359
5360         * lyxtext.h:
5361         * metricsinfo.C:
5362         * paragraph_funcs.C:
5363         * rowpainter.C:
5364         * text.C:
5365         * text2.C: general cleanup (lots of small stuff)
5366
5367 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
5368
5369         * text2.C (cursorEnd): simple fix to the "end key goes to one
5370         before the end on last row" bug
5371
5372 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5373
5374         * text.C (backspace): fix the "zombie characters"
5375
5376 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5377
5378         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
5379
5380 2003-10-27  André Pönitz  <poenitz@gmx.net>
5381
5382         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
5383
5384         * factory.C: handle new InsetPagebreak, InsetLine
5385
5386         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
5387         and move handling into new InsetPagebreak, InsetLine
5388
5389         * BufferView_pimpl.C:
5390         * LyXAction.C:
5391         * ParagraphParameters.C:
5392         * ParameterStruct.h:
5393         * lyxfunc.C:
5394         * lyxtext.h:
5395         * paragraph.C:
5396         * paragraph.h:
5397         * paragraph_funcs.C:
5398         * paragraph_pimpl.C:
5399         * rowpainter.C:
5400         * text.C:
5401         * text2.C:
5402         * text3.C: adjust
5403
5404 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5405
5406         * text.C:
5407         * lyxrow_funcs.[Ch]:
5408         * Bidi.C:
5409         * paragraph.C:
5410         * lyxtext.h:
5411         * rowpainter.C:
5412         * text2.C:
5413         * text3.C: remove lastPos uses in favour of Row::endpos
5414
5415 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5416
5417         * undo.C (performUndoOrRedo): fix two crashes by setting a
5418         cursor by hand and reordering some calls. Use bv->lockInset instead
5419         of inset->edit because the latter loses cursor information
5420
5421 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
5422
5423         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5424         by Martin
5425         (rowBreakPoint): fix width. change point to point + 1.
5426         Add a missing check.
5427
5428 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
5429
5430         * MenuBackend.C:
5431         * lyxfunc.C: fix (at least partly) the problems
5432         with the Nav menu and headers inside branch insets
5433         reported by Kayvan
5434
5435 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
5436
5437         * paragraph.C (getChar): add strong asserts
5438
5439         * lyxrow_funcs.C (lastPos): remove hideous hack
5440
5441         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5442         (fill): adjust to that (avoid an infinite loop)
5443
5444 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5445
5446         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5447
5448 2003-10-23  André Pönitz  <poenitz@gmx.net>
5449
5450         * RowList_fwd.h: change list<> to vector<> to gain speed
5451         after suggestion from Alfredo
5452
5453 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5454
5455         * lyxtext.h: move the bidi stuff from here...
5456         * text.C: and here
5457         * text2.C: and here
5458         * Bidi.[Ch]: ... to here
5459
5460 2003-10-23  André Pönitz  <poenitz@gmx.net>
5461
5462         * lyxtext.h:
5463         * text.C (isLastRow, isFirstRow): new functions
5464
5465         * paragraph.h: new width cache member
5466
5467         * rowpainter.C: replace RowList::iterator with Row & where possible
5468
5469         * lyxfunc.C: replace several view()->text with a single call
5470
5471         * toc.C: fix 'unused' warning
5472
5473 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5474
5475         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5476         when woring with stream::pos_type
5477         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5478
5479 2003-10-22  André Pönitz  <poenitz@gmx.net>
5480
5481         * lyxtext.h:
5482         * text.C: use Row & instead of RowList::iterator
5483
5484         * lyxrow.h: rename end() to endpos()
5485
5486         * rowpainter.C:
5487         * text.C:
5488         * text2.C: adjust
5489
5490 2003-10-22  Angus Leeming  <leeming@lyx.org>
5491
5492         * buffer.[Ch] (fully_loaded): new member function, returning true
5493         only when the file has been loaded fully.
5494         Used to prevent the premature generation of previews and by the
5495         citation inset to prevent computation of the natbib-style label.
5496
5497         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5498         templates are all set up.
5499
5500         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5501
5502 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
5503
5504         * text.C: fixed an "oops" in the "is a bit silly"
5505         bug fix
5506
5507 2003-10-21  André Pönitz  <poenitz@gmx.net>
5508
5509         * FuncStatus.[Ch]: small stuff, whitespace
5510
5511         * lyxfont.[Ch]: operator<<() for debug reasons
5512
5513         * lyxfunc.C:
5514         * lyxrow_funcs.C:
5515         * lyxtext.h: whitespace, spelling
5516
5517         * paragraph.C: naming of variables
5518
5519         * text.C:
5520         * text2.C: small stuff
5521
5522
5523 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
5524
5525         * text.C: (1) finish off the inset display() work;
5526         (2) fix the "is a bit silly" bug (accessing char
5527         past end of par).
5528
5529 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
5530
5531         * text.C: re-introduce display() for insets, fixing the
5532         various bugs (stretch of line above, math inset
5533         positioning, ...)
5534
5535 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5536
5537         * text.C (rightMargin): remove spurious semicolon
5538
5539         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5540         1415)
5541
5542 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
5543
5544         * text3.C: fix one crash due to wrong cursor def
5545
5546 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5547
5548         * vc-backend.C (scanMaster): make the regex static
5549
5550         * LaTeX.C (scanAuxFile): make the regexs static
5551
5552         * text3.C (doInsertInset, dispatch, dispatch):
5553         * text2.C (cursorUp, cursorDown):
5554         * text.C (selectNextWordToSpellcheck):
5555         * BufferView_pimpl.C (dispatch):
5556         * lyxfunc.C (dispatch):  localDispatch -> dispatch
5557
5558 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5559
5560         * lyxsocket.C: include <cerrno>
5561
5562 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5563
5564         * lyxfunc.C (dispatch): remove textcache stuff
5565
5566         * bufferlist.C (release): remove textcache stuff
5567         (closeAll): ditto
5568
5569         * TextCache.C: delete file
5570         * TextCache.h: delete file
5571
5572         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5573
5574         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5575         delete of the bv_->text.
5576         (resizeCurrentBuffer): remove texcache stuff
5577         (workAreaResize): ditto
5578
5579 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5580
5581         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5582         action.
5583
5584 2003-10-16  André Pönitz  <poenitz@gmx.net>
5585
5586         * lyxrow.[Ch]:
5587         * paragraph.h:
5588         * rowpainter.C:
5589         * text.C:
5590         * text2.C:
5591         * text3.C: speed up by storing y positions per paragraph plus per-row
5592         offset instead of having a 'full' y position in the row.
5593
5594 2003-10-15  André Pönitz  <poenitz@gmx.net>
5595
5596         * iterators.[Ch]:
5597         * iterators.[Ch]:
5598         * undo.[Ch]: make undo aware of inner insets
5599
5600 2003-10-14  Angus Leeming  <leeming@lyx.org>
5601
5602         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5603         static member functions LyX::ref() and LyX::cref.
5604         (lastfiles): new accessor functions for the new lastfiles_ member var.
5605         (addLyXView, views_): add a new LyXView to the list of views_.
5606         (updateInset): loop over all LyXViews to call their own updateInset
5607         member function, returning a pointer to the Buffer owning the inset.
5608
5609         * BufferView_pimpl.C (loadLyXFile):
5610         * MenuBackend.C (expandLastfiles):
5611         * bufferlist.C (MenuWrite, QuitLyX):
5612         lastfiles is no longer a global variable.
5613         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5614
5615         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5616         static function. Access through LyX::cref().emergencyCleanup().
5617
5618 2003-10-14  André Pönitz  <poenitz@gmx.net>
5619
5620         * iterators.[Ch]: new direct access to innermost LyXText and Inset
5621
5622         * undo.[Ch]: restoring part of 'undo in insets'
5623
5624         * Makefile.am:
5625         * undo_funcs.[Ch]: merge with undo.[Ch]
5626
5627         * tabular.C: small cleansing stuff
5628
5629 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
5630
5631         * paragraph_funcs.C (readParToken): report unknown insets as error
5632         boxes. Use the outer paragraph as location (also for unknown
5633         tokens).
5634
5635         * factory.C (readInset): do not abort on reading an unknown inset.
5636         Eat it and return 0.
5637
5638 2003-10-13  Angus Leeming  <leeming@lyx.org>
5639
5640         * lyx_main.C (LyX): remove call to setDisplayTranslator().
5641
5642         * lyxrc.C: displayTranslator is now a function,
5643         declared in GraphicsTypes.h.
5644
5645 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5646
5647         * format.C: new placeholder $$a to pass the socket address.
5648
5649         * bufferlist.[Ch]: new function getBufferFromTmp.
5650
5651         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5652           files in the temporary dir.
5653
5654 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5655
5656         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5657
5658         * Makefile.am: add lyxsocket.[Ch].
5659
5660         * lyx_main.C (error_handler): handle SIGPIPE.
5661
5662 2003-10-13  André Pönitz  <poenitz@gmx.net>
5663
5664         * BufferView_pimpl.C:
5665         * lyxtext.h:
5666         * text.C:
5667         * text2.C:
5668         * text3.C:
5669         * undo_funcs.[Ch]: use paroffset_type instead of
5670           ParagraphList::iterators to prevent multiple conversion
5671           (and get a more robust interface)
5672
5673 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5674
5675         * lyxfunc.C (dispatch): RESULT -> dispatch_result
5676         * lyxtext.h: ditto
5677         * text3.C (dispatch): ditto
5678
5679 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5680
5681         * LaTeX.C (handleFoundFile): move the static to smaller scope,
5682         move the onlyfile, use onlyfile instead of foundfile in a couple
5683         of places.
5684
5685         * DepTable.C (update): flush the error stream a bit more
5686
5687 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5688
5689         * lyxserver.C (callback): adjust
5690
5691         * lyxfunc.C (getStatus): add a missing brace in commented code
5692         (ensureBufferClean): reindent
5693         (dispatch): delete version taking a string
5694
5695 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5696
5697         * LaTeX.C (deplog): move found file handlig from here...
5698         (handleFoundFile): .. to new function here.
5699         (deplog): make sure to discover several files mentioned on the
5700         same log line.
5701
5702 2003-10-10  André Pönitz  <poenitz@gmx.net>
5703
5704         * lyxfunc.C:
5705         * lyxtext.h:
5706         * tabular.C:
5707         * text.C:
5708         * text2.C:
5709         * text3.C: fix some of the tabular crashes
5710
5711 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5712
5713         * MenuBackend.C (binding): put debug message into Debug::KBMAP
5714
5715         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5716
5717 2003-10-09  André Pönitz  <poenitz@gmx.net>
5718
5719         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5720
5721         * BufferView.C:
5722         * BufferView_pimpl.C:
5723         * bufferview_funcs.C:
5724         * lyx_cb.C:
5725         * lyxcursor.C:
5726         * lyxfind.C:
5727         * lyxfunc.C:
5728         * lyxtext.h:
5729         * text.C:
5730         * text2.C:
5731         * text3.C:
5732         * text_funcs.[Ch]:
5733         * textcursor.[Ch]:
5734         * undo_funcs.C: adjust
5735
5736 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5737
5738         * text2.C (incrementItemDepth): new function, use a backtracking
5739         algorithm to discover the correct item depth.
5740         (resetEnumCounterIfNeeded): new function, use a backtracking
5741         algorithm to discover if counter reset is needed.
5742         (setCounter): use them. Simplify a bit. Add different labels for
5743         different item depths for itemize.
5744
5745         * paragraph.C (Paragraph): remove initialization of enumdepth
5746         (operator=): ditto
5747
5748         * paragraph.h: get rid of enumdepth, and use itemdepth both for
5749         enumerate and itemize. Change the type of itemdepth to signed char.
5750
5751 2003-10-08  André Pönitz  <poenitz@gmx.net>
5752
5753         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5754           thing assignable.
5755         * text.C:
5756         * text2.C: adjust
5757
5758         * tabular.[Ch]: fix crash after 'row-insert'
5759
5760 2003-10-08  Angus Leeming  <leeming@lyx.org>
5761
5762         Fix doxygen warnings.
5763
5764         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5765         Remove CutAndPaste:: prefix from header file declaration.
5766
5767         * LColor.h (fill): remove LColor:: prefix from declaration.
5768
5769         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5770         use lyx::depth_type rather than Paragraph::depth_type so that
5771         header file and .C file match.
5772
5773         * converter.h (intToFormat): remove Converters:: prefix from declaration.
5774
5775         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5776         * aspell.C: \file aspell_local.C -> \file aspell.C
5777         * gettext.C: \file gettext.C -> \file src/gettext.C
5778         * gettext.h: \file gettext.h -> \file src/gettext.h
5779         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5780         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5781         * text.C: \file text.C -> \file src/text.C
5782
5783         * toc.C: move comment so that doxygen is not confused.
5784
5785 2003-10-07  Angus Leeming  <leeming@lyx.org>
5786
5787         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5788
5789 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5790
5791         * aspell.C:
5792         * aspell_local.h: add forgotten std::string's.
5793
5794 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5795
5796         * LaTeXFeatures.C:
5797         * LyXAction.C:
5798         * factory.C:
5799         * lfuns.h:
5800         * lyxfunc.C:
5801         * text3.C: The Box patch. Fancybox support, minipage, parbox
5802
5803 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5804
5805         * CutAndPaste.h:
5806         * DepTable.h:
5807         * FloatList.h:
5808         * LaTeXFeatures.h:
5809         * ParagraphParameters.h:
5810         * TextCache.h:
5811         * Thesaurus.h:
5812         * bufferlist.h:
5813         * exporter.h:
5814         * importer.h:
5815         * lastfiles.h:
5816         * lyxfind.h:
5817         * lyxfont.h:
5818         * lyxlex.h:
5819         * lyxtextclasslist.h:
5820         * messages.h:
5821         * paragraph.h:
5822         * paragraph_pimpl.C:
5823         * textcursor.h: add <string> and other small fixes to make Lars'
5824         std::string patch compile with STLport.
5825
5826 2003-10-06  Angus Leeming  <leeming@lyx.org>
5827
5828         * LColor.h: Add missing #include <string>.
5829
5830 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5831
5832         * All most all file in all subdirs: Make <string> be the prefered
5833         way of getting to std::string, add using declarations.
5834
5835 2003-10-06  André Pönitz  <poenitz@gmx.net>
5836
5837         * metricsinfo.C: initialize LyXFont before changing attribute.
5838         (fixes the 'math in \emph is upright' bug)
5839
5840 2003-10-06  André Pönitz  <poenitz@gmx.net>
5841
5842         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5843
5844 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
5845
5846         * graph.C:
5847         * paragraph_pimpl.C: Small fixes to build using STLport
5848
5849 2003-10-02  André Pönitz  <poenitz@gmx.net>
5850
5851         * lyxfunc.C:
5852         * text3.C: move handling of LFUN_DEPTH *; fix #1360
5853
5854 2003-10-01  André Pönitz  <poenitz@gmx.net>
5855
5856         * factory.C: assert early
5857
5858 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5859
5860         * lyx_main.C: remove the global debug object
5861
5862         * debug.h: adjust for new debugstream
5863
5864         * debug.C: adjust for new debugstream and keep the global debug
5865         object here.
5866
5867 2003-09-22  Angus Leeming  <leeming@lyx.org>
5868
5869         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5870         of g++ which otherwise complain that the scoped_ptr destructor can't delete
5871         an incomplete class LyXFont.
5872
5873 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
5874
5875         * factory.C: bug fix in branches
5876
5877 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5878
5879         * lyxfunc.C (processKeySym): adjust
5880         (dispatch): adjust
5881         (dispatch): change arg name from ev to func, adjust
5882         (sendDispatchMessage): ditto
5883
5884         * lyx_main.C (defaultKeyBindings): adjust keybindings
5885         (deadKeyBindings): ditto
5886
5887         * kbsequence.C (addkey): return a FuncRequest
5888
5889         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5890
5891         * kbmap.C (bind): take a FuncRequest as arg, adjust
5892         (read): adjust
5893         (lookup): adjust
5894         (defkey): change to take a FuncRequest as arg, adjust
5895         (findbinding): take a FuncRequest as arg, adjust.
5896
5897         * funcrequest.h (operator=): added
5898
5899         * funcrequest.C (FuncRequest): default kb_action changed from
5900         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5901
5902         * buffer.C (dispatch): simplify
5903         (dispatch): adjust to take a FuncRequest as arg, adjust
5904
5905         * boost.C (assertion_failed): change assertion message slightly
5906
5907         * ToolbarBackend.C (read): simplify
5908
5909         * MenuBackend.C (binding): adjust call to findbinding, add a
5910         message if no binding is found.
5911         (read): simplify
5912         (expandToc): correct by adding a empty FuncRequest
5913
5914         * LyXAction.C: include <boost/assert.hpp>
5915         (isPseudoAction): delete function
5916         (LookupFunc): change name to...
5917         (lookupFunc): this. change return type to FuncRequest.
5918         (getActionName): take kb_action as arg, simplify
5919         (funcHasFlag): add an assert, simplify.
5920
5921 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5922
5923         * toc.C (action): return a FuncRequest, simplify
5924
5925         * lyxfunc.C (processKeySym): adjust
5926         (getStatus): delete version that takes an int.
5927         (getStatus): adjust
5928         (dispatch): delete version that takes action as int
5929         (dispatch): adjust
5930         (sendDispatchMessage): simplify and adjust
5931
5932         * funcrequest.C (getArg): take unsigned int as arg
5933
5934         * ToolbarBackend.C (read): adjust
5935         (add): delete version that takes func as a string.
5936         (getIton): take a FuncRequest as arg
5937
5938         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5939         action.
5940
5941         * MenuBackend.C (MenuItem): add a new construct that only takes a
5942         Kind, simplify the constructor use for submenus.
5943         (add): adjust
5944         (expandLastfiles): adjust
5945         (expandDocuments): adjust
5946         (expandFormats): adjust
5947         (expandFloatListInsert): adjust
5948         (expandFloatInsert): adjust
5949         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5950
5951         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5952         Remove class variables lyx_pseudo_map and lyx_arg_map
5953
5954         * LyXAction.C (searchActionArg): delete function
5955         (getPseudoAction): delete function
5956         (retrieveActionArg): delete function
5957         (LookupFunc): make it return kb_action, simplify.
5958         (getActionName): simplify
5959
5960         * factory.C (createInset): fix new bug
5961
5962 2003-09-19  Angus Leeming  <leeming@lyx.org>
5963
5964         * CutAndPaste.C (pasteSelection): remove fudge used to set the
5965         masterFilename_ parameter in the include inset.
5966
5967         * factory.C (createInset): changes due to the changes to InsetInclude.
5968
5969 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5970
5971         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5972
5973 2003-09-18  Angus Leeming  <leeming@lyx.org>
5974
5975         * buffer.C:
5976         * BufferView.C: pass the buffer when calling Inset::getLabelList,
5977         Inset::fillWithBibKeys.
5978         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5979
5980 2003-09-18  Angus Leeming  <leeming@lyx.org>
5981
5982         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5983         variables.
5984         (ctor): pass and store a 'Buffer const &'
5985         (buffer): new member function.
5986
5987         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5988         '*this' to the LaTeXFeatures ctor.
5989
5990 2003-09-18  Angus Leeming  <leeming@lyx.org>
5991
5992         * LColor.h:
5993         * lyxfont.C:
5994         * lyxfont.h:
5995         * lyxtext.h:
5996         * text.C: rename EnumLColor as LColor_color.
5997
5998 2003-09-18  Angus Leeming  <leeming@lyx.org>
5999
6000         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
6001         remove #include "insets/insetbase.h" from cursor.h.
6002
6003 2003-09-18  Angus Leeming  <leeming@lyx.org>
6004
6005         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
6006         InsetOld_code to remove #include "inset.h".
6007
6008         * iterators.C: add #include "insets/inset.h"
6009
6010 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
6011
6012         * BufferView.C: remove more locking stuff that apparently doesn't
6013         do anything sensible.
6014
6015 2003-09-16  André Pönitz  <poenitz@gmx.net>
6016
6017         * paragraph.[Ch]:
6018         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
6019           performance boost.
6020
6021 2003-09-16  Angus Leeming  <leeming@lyx.org>
6022
6023         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
6024
6025         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
6026         arg/return type.
6027
6028         * paragraph.h: remove #include "lyxfont.h". Forward declare
6029         LyXFont_size.
6030
6031 2003-09-16  Angus Leeming  <leeming@lyx.org>
6032
6033         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
6034         of support/textutils.h.
6035         (isWord): move the contents of support/textutils.h's IsWordChar here.
6036
6037         * buffer.C:
6038         * lyxfind.C:
6039         * rowpainter.C:
6040         * text.C:
6041         * text2.C: add #include "paragraph.h".
6042
6043         * rowpainter.C:
6044         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
6045
6046 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6047
6048         * main.C:
6049         * lyx_main.C:
6050         * lyx_cb.C:
6051         * buffer.C:
6052         * LaTeX.C: use namespace alias for lyx::support::os
6053
6054 2003-09-16  Angus Leeming  <leeming@lyx.org>
6055
6056         * bufferparams.C:
6057         * bufferview_funcs.C:
6058         * factory.C:
6059         * lyxfunc.C:
6060         * paragraph_pimpl.C:
6061         * rowpainter.C:
6062         * text.C: add #include "LColor.h".
6063
6064 2003-09-16  Angus Leeming  <leeming@lyx.org>
6065
6066         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
6067         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
6068         return LyXFont &.
6069         Store the FontBits::color variable as an int rather than as an
6070         LColor::colorso that we can move LColor.h out of the lyxfont.h header
6071         file.
6072
6073         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
6074         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
6075         string calls together.
6076
6077         * lyxrc.C: add #include "LColor.h".
6078
6079 2003-09-15  Angus Leeming  <leeming@lyx.org>
6080
6081         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
6082         a cow_ptr.
6083
6084 2003-09-15  Angus Leeming  <leeming@lyx.org>
6085
6086         * LColor.h: add an EnumLColor wrapper for LColor::color.
6087
6088         * lyxfont.[Ch] (color, setColor, realColor):
6089         * lyxtext.h, text.C (backgroundColor):
6090         pass EnumLColor args to/from the functions, rather than LColor::color
6091         ones.
6092
6093         * lyxfont.h:
6094         * lyxtext.h: forward declare EnumLColor.
6095
6096         * lyx_main.C: add #include "LColor.h".
6097
6098 2003-09-15  Angus Leeming  <leeming@lyx.org>
6099
6100         * .cvsignore: add lyx-gtk.
6101
6102 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6103
6104         * Chktex.C
6105         * LaTeX.C
6106         * LaTeXFeatures.C
6107         * ParagraphParameters.C
6108         * Spacing.C
6109         * buffer.C
6110         * bufferparams.C
6111         * bufferview_funcs.C
6112         * chset.C
6113         * counters.C
6114         * funcrequest.C
6115         * lyxfont.C
6116         * lyxgluelength.C
6117         * lyxlength.C
6118         * paragraph.C
6119         * paragraph_funcs.C
6120         * text3.C
6121         * vc-backend.C: remove usage of STRCONV
6122
6123 2003-09-15  Angus Leeming  <leeming@lyx.org>
6124
6125         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
6126         explicitly define the color passed to the painter.
6127
6128 2003-09-15  Angus Leeming  <leeming@lyx.org>
6129
6130         * bufferparams.C (BufferParams): reorder member initializers to avoid
6131         compiler warning.
6132
6133 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
6134
6135         * CutAndPaste.C (pasteSelection): remove an outdated #warning
6136         * text.C (updateRowPositions): remove an unusual nop
6137
6138 2003-09-12  André Pönitz  <poenitz@gmx.net>
6139
6140         * BufferView_pimpl.C:
6141         * Bullet.C:
6142         * layout.h:
6143         * lyxfunc.C:
6144         * lyxlayout.[Ch]:
6145         * lyxtextclass.C:
6146         * rowpainter.C:
6147         * text.C:
6148         * text2.C:
6149         * Counters.[Ch]: finish the 'automatic counters' job
6150
6151 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6152
6153         * aspell.C: include <boost/assert.cpp> (compile fix)
6154
6155 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
6156
6157         * boost.C (assertion_failed): use lyx::support::abort instead of
6158         assert.
6159
6160 2003-09-10  Angus Leeming  <leeming@lyx.org>
6161
6162         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
6163         with their _fwd progeny.
6164
6165 2003-09-09  Angus Leeming  <leeming@lyx.org>
6166
6167         134 files throughtout the source tree: replace 'using namespace abc;'
6168         directives with the appropriate 'using abc::xyz;' declarations.
6169
6170 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
6171
6172         * boost.C (emergencyCleanup): moved here from LAssert.c
6173         (assertion_failed): new function, called by BOOST_ASSERT
6174
6175         * several files: change Assert to BOOST_ASSERT
6176
6177 2003-09-09  Angus Leeming  <leeming@lyx.org>
6178
6179         * buffer.[Ch]: Add an Impl class and move Buffer's member
6180         variables into it. As a result move several header files out of
6181         buffer.h.
6182
6183         Add header files to lots of .C files all over the tree as a result.
6184
6185 2003-09-09  Angus Leeming  <leeming@lyx.org>
6186
6187         * buffer.[Ch]: make Buffer's member variables private. Add
6188         accessor functions.
6189
6190         Lots of changes all over the tree as a result.
6191
6192 2003-09-08  Angus Leeming  <leeming@lyx.org>
6193
6194         * graph.C: #include <config.h>.
6195
6196 2003-09-08  Angus Leeming  <leeming@lyx.org>
6197
6198         * BranchList.C:
6199         * BufferView.C:
6200         * BufferView_pimpl.C:
6201         * CutAndPaste.C:
6202         * DepTable.C:
6203         * LaTeX.C:
6204         * LaTeXFeatures.C:
6205         * LyXAction.C:
6206         * MenuBackend.C:
6207         * TextCache.C:
6208         * aspell.C:
6209         * buffer.C:
6210         * bufferlist.C:
6211         * changes.C:
6212         * chset.C:
6213         * converter.C:
6214         * counters.C:
6215         * debug.C:
6216         * graph.C:
6217         * ispell.C:
6218         * lyx_cb.C:
6219         * lyxfind.C:
6220         * lyxfunc.C:
6221         * lyxlex_pimpl.C:
6222         * lyxrc.C:
6223         * lyxrow.C:
6224         * paragraph.C:
6225         * rowpainter.C:
6226         * texrow.C:
6227         * text.C:
6228         * text2.C:
6229         * toc.C: remove redundant using directives.
6230
6231 2003-09-07  Angus Leeming  <leeming@lyx.org>
6232
6233         * LaTeXFeatures.h: remove #include "support/types.h".
6234         * ToolbarBackend.h: remove #include <algorithm>.
6235         * changes.h: remove #include <ctime>.
6236         * debug.h: remove #include <iosfwd>.
6237         * graph.h: remove #include "support/std_string.h".
6238         * lyx_main.h: remove #include <csignal>.
6239         * lyxlex_pimpl.h: remove #include <fstream>.
6240         * sgml.h: remove #include <algorithm>, <utility>.
6241         * toc.h: remove #include "support/std_ostream.h".
6242         Add #include <iosfwd>.
6243
6244 2003-09-07  Angus Leeming  <leeming@lyx.org>
6245
6246         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
6247
6248         * converter.h: forward declare LatexRunParams.
6249         * encoding.h: remove #include "lyxrc.h".
6250         * lyxtext.h: remove #include "LColor.h".
6251         * lyxtextclass.h: remove #include "support/types.h".
6252         * trans.h: remove #include "tex-accent.h".
6253         * trans_mgr.h: remove #include "tex-accent.h".
6254         * insets/inset.h: remove #include "support/types.h", <vector>.
6255         * insets/insetcollapsable.h: remove #include "LColor.h".
6256         * insets/insetinclude.h: remove #include "dimension.h".
6257         * insets/insetlatexaccent.h: remove #include "dimension.h".
6258         * insets/insetoptarg.h:: remove #include "insettext.h".
6259         * insets/insettext.h: remove #include "dimension.h",
6260         <boost/shared_ptr.hpp>
6261
6262         * insets/renderers.h: add #include "dimension.h".
6263         * insets/updatableinset.h: add #include "support/types.h".
6264
6265         * many .C files: Associated changes.
6266
6267 2003-09-06  Angus Leeming  <leeming@lyx.org>
6268
6269         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
6270         one, inside testInvariant.
6271
6272         * PrinterParams.C: new file.
6273         * PrinterParams.[Ch]: move the function bodies out of line.
6274
6275 2003-09-06  Angus Leeming  <leeming@lyx.org>
6276
6277         * ParagraphParameters.h: forward declare ParameterStruct rather than
6278         including its header file.
6279         (depth): moved out-of-line.
6280
6281 2003-09-06  Angus Leeming  <leeming@lyx.org>
6282
6283         * BufferView_pimpl.h:
6284         * kbmap.h:
6285         * kbsequence.h:
6286         * lyxfunc.h: forward declare LyXKeySym rather than
6287         #include "frontends/LyXKeySym.h".
6288
6289         * BufferView_pimpl.C:
6290         * kbmap.C:
6291         * kbsequence.C:
6292         * lyxfunc.C: associated changes.
6293
6294 2003-09-06  Angus Leeming  <leeming@lyx.org>
6295
6296         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6297         As a result, can remove the #include "insets/inset.h" from BufferView.h
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         * buffer_funcs.C:
6307         * buffer.h:
6308         * bufferlist.C:
6309         * BufferView.C:
6310         * bufferview_funcs.C:
6311         * BufferView_pimpl.C:
6312         * CutAndPaste.C:
6313         * lyx_cb.C:
6314         * lyxfunc.C:
6315         * paragraph.h:
6316         * ParagraphParameters.C:
6317         * tabular.C:
6318         * text3.C:
6319         * toc.C:
6320         * undo_funcs.C:
6321         * frontends/controllers/ControlDocument.C:
6322         * insets/insetcaption.C: rearrange the #includes into some sort of
6323         coherent order.
6324
6325         * buffer.h: remove #includes ErrorList.h, undo.h
6326
6327 2003-09-06  Angus Leeming  <leeming@lyx.org>
6328
6329         * support/types.h: add a 'depth_type' typedef, used to store the
6330         nesting depth of a paragraph.
6331
6332         * paragraph.h:
6333         * ParameterStruct.h: use this lyx::depth_type typedef rather than
6334         defining explicitly.
6335
6336         * buffer.h:
6337         * paragraph_funcs.h:
6338         * ParagraphParameters.h:
6339         * sgml.h: use lyx::depth_type rather than Paragraph or
6340         ParameterStruct's depth_type.
6341
6342         * buffer.h
6343         * paragraph_funcs.h: no need to #include paragraph.h anymore.
6344
6345         * BufferView.C:
6346         * BufferView_pimpl.C:
6347         * CutAndPaste.C:
6348         * ParagraphParameters.C:
6349         * buffer_funcs.C:
6350         * bufferlist.C:
6351         * bufferview_funcs.C:
6352         * lyx_cb.C:
6353         * lyxfunc.C:
6354         * tabular.C:
6355         * text3.C:
6356         * toc.C:
6357         * undo_funcs.C:
6358         * frontends/LyXView.C:
6359         * frontends/controllers/ControlDocument.C:
6360         * frontends/controllers/ControlErrorList.C:
6361         * insets/insetbibitem.C:
6362         * insets/insetbranch.C:
6363         * insets/insetcaption.C:
6364         * insets/insetcollapsable.C:
6365         * insets/insetenv.C:
6366         * insets/insetert.C:
6367         * insets/insetfloat.C:
6368         * insets/insetfoot.C:
6369         * insets/insetfootlike.C:
6370         * insets/insetnewline.C:
6371         * insets/insetquotes.C:
6372         * insets/insettabular.C:
6373         * insets/insettext.C:
6374         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
6375
6376         * frontends/controllers/ControlChanges.C: #include "changes.h".
6377
6378 2003-09-06  Angus Leeming  <leeming@lyx.org>
6379
6380         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
6381         than #including paragraph.h.
6382
6383         * ParagraphList.h:
6384         * RowList.h: deleted. Superfluous.
6385
6386         * CutAndPaste.h:
6387         * iterators.h:
6388         * lyxcursor.h:
6389         * lyxtext.h:
6390         * text_funcs.h:
6391         * undo.h:
6392         * undo_funcs.h:
6393         * insets/inset.h:
6394         * insets/insettext.h: use ParagraphList_fwd.h rather than
6395         ParagraphList.h.
6396
6397         * paragraph.h: don't forward declare ParagraphList.
6398
6399         * buffer.h:
6400         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
6401         rather than ParagraphList.h. paragraph.h is still needed for the
6402         Paragraph::depth_type parameters.
6403
6404         * textcursor.h: enable it to compile stand-alone in light of the
6405         above changes.
6406
6407         * bufferview_funcs.C:
6408         * iterators.C:
6409         * lyxfunc.C:
6410         * lyxrow_funcs.C:
6411         * paragraph.C:
6412         * rowpainter.C:
6413         * text.C:
6414         * text2.C:
6415         * text3.C:
6416         * text_funcs.C:
6417         * textcursor.C:
6418         * undo.C:
6419         * frontends/controllers/ControlParagraph.C:
6420         * frontends/controllers/ControlTabular.C:
6421         * insets/insetmarginal.C:
6422         * insets/insetminipage.C:
6423         * insets/insetnote.C:
6424         * insets/insetoptarg.C: add header files needed to compile again.
6425
6426 2003-09-06  Angus Leeming  <leeming@lyx.org>
6427
6428         * RowList_fwd.h: new file, forward-declaring Row rather than
6429         #including lyxrow.h.
6430
6431         * lyxrow_funcs.h:
6432         * lyxtext.h:
6433         * paragraph.h:
6434         * insets/insettext.h: use it instead of RowList.h
6435
6436         * bufferview_funcs.C:
6437         * lyxfunc.C:
6438         * lyxrow_funcs.C:
6439         * paragraph.C:
6440         * rowpainter.C:
6441         * text.C:
6442         * text2.C:
6443         * text3.C: #include "RowList.h".
6444
6445 2003-09-05  Angus Leeming  <leeming@lyx.org>
6446
6447         * factory.C (createInset):
6448         * vspace.C (c-tor): replace sscanf call with an istringstream.
6449         * ispell.C: re-add missing HP/UX headers.
6450         * lyxserver.C: re-add missing  os2 headers.
6451
6452 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
6453
6454         * BranchList.C:
6455         * graph.C:
6456         * ispell.C:
6457         * lastfiles.C:
6458         * lyx_cb.C:
6459         * lyxserver.C:
6460         * texrow.C:
6461         * text3.C: re-add missing system headers, needed for 2.95.2.
6462
6463 2003-09-05  Angus Leeming  <leeming@lyx.org>
6464
6465         Changes most place everywhere due to the removal of using directives
6466         from support/std_sstream.h.
6467
6468 2003-09-05  Angus Leeming  <leeming@lyx.org>
6469
6470         Replace LString.h with support/std_string.h,
6471         Lsstream.h with support/std_sstream.h,
6472         support/LIstream.h with support/std_istream.h,
6473         support/LOstream.h with support/std_ostream.h.
6474
6475         Changes resulting throughout the tree.
6476
6477 2003-09-05  Angus Leeming  <leeming@lyx.org>
6478
6479         * sgml.h: ensure that the header file can be compiled stand-alone.
6480         * *.C: strip out redundant #includes. (320 in total.)
6481
6482 2003-09-04  Angus Leeming  <leeming@lyx.org>
6483
6484         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6485         here (from getPackages).
6486
6487         * debug.[Ch]: add a new EXTERNAL tag.
6488
6489 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6490
6491         * text2.C (cursorEnd): simplify
6492         (setCursor): adjust
6493         (getColumnNearX): adjust
6494
6495         * text.C (computeBidiTables): adjust
6496         (fill): adjust
6497
6498         * rowpainter.C (paintChars): adjust
6499         (paintSelection): adjust
6500         (paintChangeBar): adjust
6501         (paintText): adjust
6502
6503         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6504         lastPos instead.
6505         (numberOfSeparators): adjust
6506
6507 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6508
6509         * LyXAction.C:
6510         * box.[Ch]:
6511         * lfuns.h:
6512         * lyxfunc.C:
6513         * text3.C: Restricts the mouse click functionality
6514         of insets like bibtex, include, toc and floatlist to the visible
6515         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6516         up the dialogs. Cursor has to be in front of the inset (i.e.
6517         start of row) for this to function.
6518
6519 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6520
6521         * bufferview_funcs.C (currentState): output row information
6522
6523 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6524
6525         * bufferview_funcs.C (currentState): output paragraph position
6526
6527 2003-09-04  Angus Leeming  <leeming@lyx.org>
6528
6529         * FloatList.h: move out #include "Floating.h".
6530         * LaTeX.h: move out #include "DepTable.h".
6531         * LyXAction.h: move out #include "funcrequest.h".
6532         * buffer.h: move out #include "author.h", "iterators.h".
6533         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6534         * lyx_main.h: move out #include "errorlist.h".
6535         * lyxfunc.h: move out #include "FuncStatus.h".
6536         * lyxtext: move out #include "lyxcursor.h".
6537         * paragraph_pimpl.h: move out #include "counters.h".
6538
6539 2003-09-03  Angus Leeming  <leeming@lyx.org>
6540
6541         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6542         preamble_snippets list, enabling us to add snippets to the preamble
6543         only if the snippet was not there already.
6544
6545 2003-09-04  Angus Leeming  <leeming@lyx.org>
6546
6547         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6548
6549 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6550
6551         * lyxfunc.C (dispatch): if fitCursor did something be sure to
6552         update
6553
6554 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6555
6556         * BranchList.C: point fix, earlier forgotten
6557
6558 2003-09-02  Angus Leeming  <leeming@lyx.org>
6559
6560         * box.C (contains): renamed from 'contained' after a fantastic
6561         amount of hot air.
6562
6563 2003-09-02  John Levon  <levon@movementarian.org>
6564
6565         * BufferView.C:
6566         * lyxcursor.h:
6567         * lyxcursor.C:
6568         * lyxfunc.C:
6569         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6570
6571 2003-09-02  John Levon  <levon@movementarian.org>
6572
6573         * text2.C: simplification of cursorEnd(), including partial
6574         fix for bug 1376
6575
6576 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6577
6578         * buffer.C (readFile): add a space
6579
6580 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
6581
6582         * BufferView_pimpl.C (update): remove bogus fitCursor() call
6583
6584 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6585
6586         * buffer.C (readFile): new function, take a filename and a
6587         ParagraphList::iterator
6588         (readFile): adjust
6589         (readFile): adjust, make it private. don't use setStream, make
6590         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6591         always contain the filename.
6592
6593         * BufferView.C (insertLyXFile): simplify and make it work for
6594         gzipped files.
6595
6596 2003-08-30  John Levon  <levon@movementarian.org>
6597
6598         * Makefile.am: fix dist (from Kayvan)
6599
6600 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6601
6602         * most files: change to use const Buffer refs
6603
6604 2003-08-27  André Pönitz  <poenitz@gmx.net>
6605
6606         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6607         on top of ownerPar().
6608
6609 2003-08-27  John Levon  <levon@movementarian.org>
6610
6611         * funcrequest.C: properly initialise POD members
6612
6613 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6614
6615         * lyxtext.h (top_y): move top_y from here
6616         * text.C:
6617         * text2.C:
6618         * text3.C:
6619         * BufferView.[Ch]:
6620         * BufferView_pimpl.[Ch]: to here
6621         * frontends/screen.C:
6622         * insets/insettabular.C:
6623         * insets/insettext.C: adjust
6624         * rowpainter.[Ch] (paintRows): remove LyXText & argument
6625
6626 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6627
6628         * BufferView.[Ch]:
6629         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6630
6631 2003-08-26  André Pönitz  <poenitz@gmx.net>
6632
6633         * paragraph_func.[Ch] (outerPar): new function
6634
6635         * paragraph.C:
6636         * paragraph_funcs.C:
6637         * paragraph_funcs.h:
6638         * paragraph_pimpl.C:
6639         * text2.C: remove Inset::par_owner
6640
6641 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
6642
6643         * lyxrow_funcs.C:
6644         * lyxtext.h:
6645         * text.C:
6646         * text2.C: eliminates the needFullRow/display() stuff
6647         altogether, putting the logic in metrics/draw in the insets.
6648
6649 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
6650
6651         * text2.C (redoParagraphInternal, redoParagraphs):
6652         * text.C (redoParagraph): add a call to updateRowPositions at the
6653         end of each 'metrics-like' call. Remove all others.
6654         (getRow): remove the 'y-computing' version.
6655         (getRowNearY): do not compute nor return the real y. Solve the
6656         'y < 0' problem and simplify.
6657
6658 2003-08-22  Angus Leeming  <leeming@lyx.org>
6659
6660         * *.[Ch]: clean-up of licence and author blurbs.
6661         Also move config.h out of a few .h files and into a few .C files.
6662
6663 2003-08-22  André Pönitz  <poenitz@gmx.net>
6664
6665         * lyxrow.[Ch]: add x_ and *fill_ members
6666
6667         * lyxtext.h:
6668         * text.C:
6669         * rowpainter.C:
6670         * text2.C: adjust/remove prepareToPrint() calls
6671
6672 2003-08-22  André Pönitz  <poenitz@gmx.net>
6673
6674         * lyxrow.[Ch]: add  end_ member
6675
6676         * lyxrow_funcs.C: use LyXRow::end_
6677
6678         * lyxtext.h (singleWidth): add LyXFont parameter
6679
6680         * rowpainter.C:
6681         * text2.C: adjust LyXText::singleWidth() calls
6682
6683         * text.C (redoParagraph): simplify row breaking logic
6684
6685
6686 2003-08-19  André Pönitz  <poenitz@gmx.net>
6687
6688         * funcrequest.C: initialize button_ member
6689
6690         * text3.C:
6691         * rowpainter.[Ch]: interface consolidation
6692
6693 2003-08-18  André Pönitz  <poenitz@gmx.net>
6694
6695         * BufferView.C:
6696         * BufferView_pimpl.C:
6697         * lyxfind.C:
6698         * paragraph_funcs.C:
6699         * rowpainter.C:
6700         * text3.C: remove LyXScreen::draw() and fitCursor calls
6701
6702         * BranchList.h: remove spurious semicolons
6703
6704         * MenuBackend.C: fix branchlist related crash
6705
6706 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
6707
6708         * BranchList.[Ch]:
6709         * InsetList.[Ch]:
6710         * LColor.[Ch]:
6711         * LyXAction.C:
6712         * Makefile.am:
6713         * MenuBackend.[Ch]:
6714         * bufferparams.[Ch]:
6715         * factory.C:
6716         * lfuns.h:
6717         * lyxfunc.C:
6718         * text3.C: implements the 'branch inset'
6719         idea. This allows the output of various versions of a document
6720         from a single source version, selectively outputing or suppressing
6721         output of parts of the text.
6722         This implementation contains a 'branch list editor' in a separate
6723         tab of the document settings dialog. Branches are user definable
6724         and have a "display colour" to distinguish them on-screen.
6725
6726         ColorHandler was somewhat cleaned up.
6727         (1) make possible a dynamically growing LColor list by allowing
6728         the graphic context cache to grow along (vector);
6729         (2) eliminate an IMHO unnecessary step in colour allocation.
6730
6731 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
6732
6733         * BufferView_pimpl.C: compile fix
6734
6735 2003-08-15  André Pönitz  <poenitz@gmx.net>
6736
6737         * rowpainter.C: remove extra metrics calls
6738
6739         * lyxtext.h: merge the two constructors into a single one,
6740           pass reference to owner's par list
6741
6742         * BufferView_pimpl.C:
6743         * text.C:
6744         * text2.C: adjust
6745
6746 2003-08-15  André Pönitz  <poenitz@gmx.net>
6747
6748         * lyxrow_funcs.[Ch]:
6749         * lyxtext.h:
6750         * paragraph.h:
6751         * paragraph_funcs.C:
6752         * rowpainter.C:
6753         * text.C:
6754         * text2.C:
6755         * text3.C:
6756         * text_funcs.C: split LyXText::rowlist_ into individual
6757         Paragraph::rows_ chunks
6758
6759         * BufferView.[Ch]:
6760         * BufferView_pimpl.[Ch]:
6761         * lyxfind.C:
6762         * lyxtext.h:
6763         * text3.C: remove toggleSelection()
6764
6765 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
6766
6767         * bufferlist.C: beautify two alerts (shorter text of buttons)
6768         * buffer.C: Remove redundant ' ' from message
6769         * tabular.h:
6770         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6771         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6772         rename VALIGN_CENTER to VALIGN_MIDDLE
6773
6774 2003-08-11  André Pönitz  <poenitz@gmx.net>
6775
6776         * lyxtext.h (getPar):
6777         * text.C: new function
6778
6779 2003-08-11  André Pönitz  <poenitz@gmx.net>
6780
6781         * Makefile.am:
6782         * tracer.[Ch]: remove unneeded files
6783
6784         * InsetList.[Ch]: remove resizeInsetsLyXText()
6785
6786         * lyxtext.h:
6787         * text.C:
6788         * text2.C:
6789         * text3.C: merge insertParagraphs() and appendParagraph()
6790         remove breakAgain(), update()
6791
6792         * BufferView_pimpl.[Ch]:
6793         * bufferview_funcs.[Ch]:
6794         * lyxfunc.C:
6795         * paragraph.[Ch]:
6796         * rowpainter.C:
6797         * tabular.C: adjust after text & InsetList changes.
6798
6799 2003-08-08  André Pönitz  <poenitz@gmx.net>
6800
6801         * text.C (insertChar, backspace): replace rowlist fiddling
6802         with rebreak of full par
6803
6804         * lyxtext.h:
6805         * text.C (breakAgainOneRow, redoHeightOfParagraph,
6806         checkParagraph, updateInset): removed
6807
6808 2003-08-07  André Pönitz  <poenitz@gmx.net>
6809
6810         * paragraph.C:
6811         * text3.C: merge some LFUN handlers, remove dead code
6812
6813 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6814
6815         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6816
6817 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
6818
6819         * text2.C (DEPM): fix part of bug 1255 and 1256
6820
6821 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6822
6823         * BufferView_pimpl.C (workAreaDispatch): change to use
6824         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6825         that are no mouse related.
6826
6827 2003-08-05  André Pönitz  <poenitz@gmx.net>
6828
6829         * BufferView.[Ch]:
6830         * BufferView_pimpl.[Ch]:
6831         * bufferview_funcs.C:
6832         * text2.C:
6833         * text3.C: rip out "deep update"
6834
6835         * textcursor.[Ch] (last_sel_cursor): remove unused member
6836
6837 2003-08-04  André Pönitz  <poenitz@gmx.net>
6838
6839         * BufferView.[Ch]:
6840         * BufferView_pimpl.[Ch]:
6841         * ParagraphParameters.C:
6842         * bufferview_funcs.C:
6843         * lyx_cb.C:
6844         * lyxfind.C:
6845         * lyxfunc.C:
6846         * text.C:
6847         * text2.C:
6848         * text3.C: replace "complicated" BufferView::update(...) calls with
6849         simpler ones.
6850
6851         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6852
6853 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
6854
6855         * Makefile.am (lyx_SOURCES): add paper.h
6856
6857 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6858
6859         * Makefile.am: move things around so that both lyx-qt and
6860         lyx-xforms can be built (according to --with-frontend). Then lyx
6861         is a symbolic link to lyx-[firstfrontend]
6862
6863 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
6864
6865         * Always use std::endl with lyxerr
6866
6867 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
6868
6869         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6870
6871 2003-08-01  André Pönitz  <poenitz@gmx.net>
6872
6873         * BufferView.[Ch]:
6874         * BufferView_pimpl.[Ch]:
6875         * lyxfunc.C:
6876         * text3.C: merge BufferView::repaint() and BufferView::update()
6877
6878 2003-08-01  José Matos  <jamatos@lyx.org>
6879
6880         * buffer.[Ch]: file_format is no longer a buffer data element.
6881
6882 2003-08-01  André Pönitz  <poenitz@gmx.net>
6883
6884         * BufferView.C:
6885         * lyxtext.h:
6886         * text.C:
6887         * text2.C: make redoParagraph more independent of current cursor
6888
6889         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6890         * text.C:
6891         * text2.C: remove unneeded members
6892
6893 2003-07-30  André Pönitz  <poenitz@gmx.net>
6894
6895         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6896
6897         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6898           create a single function...
6899
6900         * paragraph_funcs.C (moveItem): ... here.
6901
6902         * text.C:
6903           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6904
6905 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
6906
6907         * LColor.[Ch]: Add comment and greyedout logical colors.
6908
6909 2003-07-30  André Pönitz  <poenitz@gmx.net>
6910
6911         * tabular.C: don't use Assert too heavily. This crashes where it
6912           shouldn't
6913
6914 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
6915
6916         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6917         is disabled (bug 1232)
6918
6919 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6920
6921         * factory.C: limited 'arg' scope
6922
6923 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6924
6925         * factory.C: fixed Note submenu issues
6926
6927 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6928
6929         * factory.C: submenu for Note/Comment/Greyedout
6930
6931 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
6932
6933         * lyx_main.C (LyX):
6934         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6935
6936 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
6937
6938         * LaTeXFeatures.C:
6939         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6940         greyedout. Patch provided by Jürgen Spitzmüller.
6941
6942 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6943
6944         * kbmap.C (read): fix error message when reading bind files
6945
6946 2003-07-29  Angus Leeming  <leeming@lyx.org>
6947
6948         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6949         certainly does not do what it purports to do. I am doing it, and
6950         us, a favour by killing it.
6951
6952 2003-07-28  José Matos  <jamatos@lyx.org>
6953
6954         * buffer.C (readBody, do_writeFile):
6955         * paragraph.C(readParagraph): \end_document replaces \the_end.
6956
6957 2003-07-29  André Pönitz  <poenitz@gmx.net>
6958
6959         * BufferView.[Ch]:
6960         * BufferView_pimpl.[Ch]:
6961         * lyxfunc.C:
6962         * text2.C:
6963         * text3.C:
6964         * textcursor.[Ch]: remove toggleToggle & Co
6965
6966 2003-07-28  José Matos  <jamatos@fep.up.pt>
6967
6968         * buffer.C (readParagraph):
6969         * params_func (readParToken, readParagraph):
6970         * paragraph.C (write): \layout -> \begin_layout.
6971
6972 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6973
6974         * lyxlex_pimpl.C (setFile): clean up slightly.
6975
6976         * bufferparams.h: add compressed var
6977
6978         * buffer_funcs.C (readFile): adjust for LyXLex change
6979         (newFile): ditto + simplify
6980
6981         * buffer.C (writeFile): handle writing of compressed files
6982
6983         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6984         Check if the file is compressed and set a bufferparm if so.
6985
6986         * Makefile.am (lyx_LDADD): remove explicit -lz
6987
6988 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6989
6990         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6991         makeDocBookFile): put the real LyX version in the first line of
6992         the file
6993
6994         * version.h:
6995         * version.C.in: remove lyx_docversion
6996
6997         * tabular.C (write_attribute): add a template-based version to
6998         write enums properly
6999
7000 2003-07-28  André Pönitz  <poenitz@gmx.net>
7001
7002         * lyxtext.h:
7003         * text.C:
7004         * text2.C:
7005         * text3.C: use doubles again for x-coordinates. They are needed.
7006
7007 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7008
7009         * messages.C (getLocaleDir): use lyx_localedir()
7010
7011         * lyxlex_pimpl.C (setFile): compress stuff
7012
7013         * buffer.C (writeFile): add some compression stuff
7014         (do_writeFile): new func, dont call expliti close... will this
7015         breake anything?
7016
7017         * Makefile.am (lyx_LDADD): add -lz
7018
7019 2003-07-28  José Matos  <jamatos@fep.up.pt>
7020
7021         * buffer.C: increment file format.
7022         * paragraph_funcs (readParagraph, readParToken):
7023         * paragraph.C (readParagraph): add \end_layout.
7024
7025 2003-07-27  Angus Leeming  <leeming@lyx.org>
7026
7027         * Makefile.am: remove special casing for configure-time setting of
7028         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
7029
7030         * lyx_main.C (init): remove all Jean-Marc's magic setting of
7031         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
7032
7033 2003-07-26  André Pönitz  <poenitz@gmx.net>
7034
7035         * paragraph_func.[Ch]:
7036         * paragraph.C (realizeFont): inline it whereever it is used
7037
7038         * rowpainter.C:
7039         * text.C:
7040         * text2.C:
7041         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
7042
7043
7044 2003-07-26  André Pönitz  <poenitz@gmx.net>
7045
7046         *       lyxtext.h:
7047         * text.C:
7048         * text2.C: get rid of LyXText::need_break_row
7049
7050 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7051
7052         * toc.[Ch]: put namespace toc inside namespace lyx
7053
7054         * MenuBackend.C (expandToc2): adjust for lyx::toc
7055         (expandToc): ditto
7056
7057         * lyxfunc.C (dispatch): adjust for lyx::find
7058
7059         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
7060         lyx::find instead. Reorganize a bit.
7061         (LyXReplace): rename to replace
7062         (LyXFind): rename to find
7063
7064         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
7065         (dispatch): ditto
7066
7067 2003-07-26  André Pönitz  <poenitz@gmx.net>
7068
7069         * text.C (setHeightOfRow): restrict scope of temporary variable
7070
7071         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
7072           code (never has been used?)
7073
7074 2003-07-27  Asger Alstrup  <alstrup@local>
7075
7076         * text.C (fill): Optimise algorithm to exploit that we can reuse
7077         the LyXFont for many characters.
7078         (setHeightOfRow): Same thing.
7079         (rowBreakPoint): Same thing.
7080
7081 2003-07-26  Asger Alstrup  <alstrup@local>
7082
7083         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
7084
7085         * text.C (singleWidth): Spurious font copying in hot-spot
7086         singleWidth avoided. Reorder tests for arabic for efficiency.
7087
7088         * text.C (fill): handle empty paragraphs better.
7089
7090 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7091
7092         * ispell.C:
7093         * encoding.h: add includes
7094
7095         * lyxrc.C: remove reading of bind files
7096
7097         * lyx_main.C (init): setup bindings and menus only if we have a
7098         gui.
7099
7100         * kbmap.C (read): new method. Do the actual reading of bind
7101         files.
7102
7103         * converter.C (dvipdfm_options):
7104         * bufferparams.C:
7105         * lyxrc.C (read):
7106         (output): adapt PAPER_* enums.
7107
7108         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
7109
7110         * bufferparams.h: remove paper-related enums from there
7111
7112         * paper.h: New file. A trivial header file to hold paper-related
7113         enums. It should later expand to contain many paper-related
7114         horrors access.
7115
7116         * lyxrc.C: declare extern displayTranslator
7117
7118 2003-07-27  José Matos  <jamatos@fep.up.pt>
7119
7120         * tabular.[Ch] (linuxdoc): add support for tables and figures
7121         (linuxdoc).
7122
7123 2003-07-27  José Matos  <jamatos@fep.up.pt>
7124
7125         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
7126         consistency in both functions.
7127         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
7128
7129 2003-07-26  Asger Alstrup  <alstrup@local>
7130
7131         * rowpainter.C (paintRows): Change algorithm to work directly on
7132         the insets rather than asking every character in the document
7133         whether its an inset.
7134
7135 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
7136
7137         * buffer.C (openFileWrite): factorize some code
7138
7139 2003-07-26  Angus Leeming  <leeming@lyx.org>
7140
7141         * lyx_cb.C:
7142         * lyx_main.[Ch]: replace occurances of system_tempdir with
7143         os::getTmpDir().
7144
7145 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7146
7147         * rename Inset to InsetOld
7148
7149 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
7150
7151         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
7152         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
7153         which I think is a bit clearer. EDIT is gone, since it was
7154         premature optimisation, and broken for mathed anyway.
7155         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
7156         with cursor positioning in insets as well (math insets still do not
7157         work, but that's a different story anyway.) It mysteriously
7158         crashes sometimes with undo in the first paragraph, but I'm fairly
7159         confident that this is a compiler bug.
7160
7161 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7162
7163         * paragraph.C (Paragraph): adjust for new clone return type
7164         (operator==): ditto
7165         (copyIntoMinibuffer): ditto
7166
7167 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
7168
7169         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
7170         by not having a special case, and always doing a full rebreak of
7171         the document after undo.
7172
7173 2003-07-23  Angus Leeming  <leeming@lyx.org>
7174
7175         * factory.C (createInset): InsetExternal::setParams now takes a
7176         Buffer const * arg.
7177
7178 2003-07-23  Angus Leeming  <leeming@lyx.org>
7179
7180         * factory.C (createInset): changed interface to the external and
7181         graphics mailers' string2params functions.
7182
7183 2003-07-23  Angus Leeming  <leeming@lyx.org>
7184
7185         * factory.C (createInset): pass a
7186         Buffer const * parameter to InsetExternalMailer's string2params.
7187
7188 2003-07-22  John Levon  <levon@movementarian.org>
7189
7190         * Thesaurus.h: include the right aiksaurus header
7191
7192 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7193
7194         * MenuBackend.C (expand): check menu shortcuts unconditionally
7195
7196 2003-07-21  Angus Leeming  <leeming@lyx.org>
7197
7198         * factory.C (createInset): pass a
7199         buffer_path parameter to InsetGraphicsMailer's string2params.
7200
7201 2003-07-21  Angus Leeming  <leeming@lyx.org>
7202
7203         * BufferView_pimpl.C (buffer):
7204         * buffer.C (d-tor):
7205         * lyx_main.C (LyX):
7206         * lyxfunc.C (dispatch):
7207         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
7208         rather than the grfx shortcut.
7209
7210 2003-07-21  André Pönitz  <poenitz@gmx.net>
7211
7212         * rowpainter.C: remove unused variables
7213
7214         * tabular_funcs.C:
7215         * tabular_funcs.h: move to tabular.C
7216         * Makefile.am: adjust
7217
7218         * tabular.[Ch]: basic optical cleaning
7219
7220         * author.h: pass references, not values
7221
7222 2003-07-18  André Pönitz  <poenitz@gmx.net>
7223
7224         * lyxtext.h:
7225         * metricsinfo.C:
7226         * metricsinfo.h:
7227         * rowpainter.C:
7228         * text.C:
7229         * text2.C:
7230         * text3.C: two-phase drawing for InsetText and InsetTabular
7231         some float -> int changes.
7232
7233 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
7234
7235         * lyx_main.C: fix the fix
7236
7237 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
7238
7239         * lyx_main.C: fix a crash in batch mode if no files specified
7240         * converter.C: ws
7241
7242 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
7243
7244         * format.[Ch] (papersize): moved to BufferParams
7245         * converter.[Ch] (dvips_options): moved to BufferParams
7246         (dvipdfm_options): moved to anon namespace
7247         * bufferparams.[Ch]: added above functions.
7248
7249 2003-07-17  André Pönitz  <poenitz@gmx.net>
7250
7251         * lyxtext.h:
7252         * rowpainter.C:
7253         * text2.C: don't call inset->update() anymore
7254
7255         * metricsinfo.[Ch]: add convenience constructor
7256
7257 2003-07-16  André Pönitz  <poenitz@gmx.net>
7258
7259         * lyxcursor.[Ch]:
7260         * lyxfunc.[Ch]:
7261         * text.C:
7262         * text2.C: replace the LyXCursor::irow_ member with
7263          on-demand computation of the value
7264
7265 2003-07-16  John Levon  <levon@movementarian.org>
7266
7267         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
7268
7269 2003-07-15  André Pönitz  <poenitz@gmx.net>
7270
7271         * text.C:
7272         * text2.C: remove no more needed refresh_row
7273
7274 2003-07-15  André Pönitz  <poenitz@gmx.net>
7275
7276         * lyxtext.h:
7277         * rowpainter.C:
7278         * text2.C:
7279         * text3.C: refresh_status tristate -> need_update bool
7280
7281 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
7282
7283         * lyxtext.h (init): remove reinit argument (act as if always true)
7284         * text2.C: adjust to that
7285
7286 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7287
7288         * bufferview_funcs.[Ch]: introduce function replaceSelection()
7289         * text3.C: use it to delete selections in some cases
7290         (bugs 441, 673, 702, 954).
7291
7292 2003-07-14  André Pönitz  <poenitz@gmx.net>
7293
7294         * rowpainter.[Ch]: reduce interface
7295
7296 2003-07-14  André Pönitz  <poenitz@gmx.net>
7297
7298         * BufferView_pimpl.C:
7299         * text2.C: adjust after removing unused BufferView * argument
7300
7301 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
7302
7303         * text2.C (init): fix a crash fired on resize
7304
7305 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
7306
7307         * buffer.[Ch]: added new closing signal
7308         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
7309         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
7310         BufferView::Pimpl via the closing the signal
7311
7312 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
7313
7314         * buffer.[Ch]: take out all bv-related from buffer
7315         * BufferView.C:
7316         * BufferView_pimpl.[Ch]: connect to new signals
7317         * CutAndPaste.C: removed useless asserts
7318         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
7319         * lyxvc.[Ch]:
7320         * vc-backend.[Ch]:
7321         * lyxfunc.C: moved view-related funciontality from vc here
7322         * paragraph.C: removed outdated comments
7323         * text.C: ws
7324
7325 2003-07-10  André Pönitz  <poenitz@gmx.net>
7326
7327         * BufferView_pimpl.C:
7328         * tabular.h:
7329         * tabular_funcs.C:
7330         * text.C:
7331         * text2.C: remove InsetText::InnerCache, clean up consequences
7332
7333 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
7334
7335         * ispell.C: fix two typos in error messages
7336
7337 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
7338
7339         * Extend Note inset to other forms of annotation like Comment
7340         and Greyedout. Right button click gives dialog.
7341
7342         Files modified or added (+):
7343
7344         * insetnote.[Ch]
7345         * FormNote.[Ch]      +
7346         * ControlNote.[Ch]   +
7347         * form_note.fd       +
7348         * Makefile.am in frontends/xforms, frontends/xforms/forms,
7349         frontends/controllers
7350         * xforms/Dialogs.C
7351         * factory.C
7352
7353 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7354
7355         * aspell.C: add missing namespace lyx::support
7356
7357 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
7358
7359         * BufferView.[Ch] (newFile): Add
7360         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
7361         * LaTeX.[Ch] (message): added this signal and use it
7362         * buffer.[Ch] (busy, message): added these signals and use them
7363         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
7364         * converter.C:
7365         * exporter.C:
7366         * format.C:
7367         * importer.C: use buffer signals instead of direct bv calling
7368         * lyx_cb.[Ch] (ShowMessage): removed
7369         * lyx_main.C:
7370         * lyxfunc.C:
7371         * paragraph_funcs.C:
7372         * text2.C: use buffer signals
7373
7374 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7375
7376         * introduce namespace lyx::graphics
7377
7378 2003-07-02  André Pönitz  <poenitz@gmx.net>
7379
7380         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
7381
7382 2003-07-01  André Pönitz  <poenitz@gmx.net>
7383
7384         * text.C:
7385         * text2.C:
7386         * text3.C:
7387         * text_funcs.[Ch]:
7388         * textcursor.h:
7389         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
7390           text*.C to text_func.C
7391
7392 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7393
7394         * introduce namespace lyx::support
7395
7396 2003-06-30  André Pönitz  <poenitz@gmx.net>
7397
7398         * Chktex.C:
7399         * funcrequest.C:
7400         * lyxtext.h:
7401         * text.C: re-enable --with-included-string
7402
7403 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7404
7405         * textcursor.C: add <config.h>
7406
7407         * text.C (getWord): remove const from word_location arg
7408
7409         * lyxvc.C (getLogFile): fix const type order
7410
7411         * lyxtext.h: remove const from word_location arg, add arg name
7412
7413         * lyxlayout.h: currect type on labeltype.
7414
7415         * importer.C: correct \file
7416
7417         * converter.C (intToFormat): use std:: on ret val, ws changes
7418
7419         * bufferlist.h: correct \file
7420
7421         * buffer.C (makeLinuxDocFile): fix const type order
7422         (makeDocBookFile): ditto
7423         (fillWithBibKeys): use std:: on stdlib args.
7424
7425         * CutAndPaste.C: fix authors.
7426         (availableSelections): use std:: on return vector
7427
7428 2003-06-27  André Pönitz  <poenitz@gmx.net>
7429
7430         * BufferView_pimpl.C:
7431         * bufferview_funcs.C:
7432         * lyxcursor.C:
7433         * lyxcursor.h:
7434         * lyxfunc.C:
7435         * lyxtext.h:
7436         * rowpainter.C:
7437         * text.C:
7438         * text2.C:
7439         * text3.C: remove LyXCursor::row_ member
7440
7441         * lyxtext.h:
7442         * text.C: rename fullRebreak() to partialRebreak() and implement
7443           a fullRebreak() that really bereks fully
7444
7445         * textcursor.h: new struct for cursor-related data
7446
7447 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
7448
7449         * lyx_main.C (LyX): get full path of document loaded on the
7450         command line
7451
7452 2003-06-26  André Pönitz  <poenitz@gmx.net>
7453
7454         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7455           remove unused/broken operator>,<,>=.
7456
7457         *       text.C: remove only use of broken operator<= in an Assert().
7458
7459 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7460
7461         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7462         moved errorlist_.clear to showErrorList
7463
7464 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7465
7466         * converter.C (scanLog, runLaTeX):
7467         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7468         move the bv->showErrorList call to the callers
7469         * lyxfunc.C: i.e. here...
7470         * text2.C: and here
7471         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7472         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7473         namespace, the second to...
7474         * buffer_funcs (BufferFormat, parseErrors): added
7475         * errorlist.C (ErrorList(TeXErrors const &)): removed
7476
7477 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7478
7479         * ToolbarBackend.C (getIcon): complain when icon cannot be found
7480
7481 2003-06-24  "Garst R. Reese" <reese@isn.net>
7482
7483         * debug.C: fix typo
7484
7485 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7486
7487         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7488
7489         * version.C.in: change docversion to 1.4
7490
7491 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
7492
7493         * buffer.C: fix a bug just introduced
7494
7495 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
7496
7497         * buffer.[Ch]: added the parseError signal and use it, removed
7498         sgmlError
7499         * BufferView.[Ch] (addError): moved to ...
7500         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7501         to the Buffer::parseError signal to catch (guess what) parse errors
7502         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7503
7504 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
7505
7506         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7507         ability to create a buffer and to return an existing one from
7508         the list. Moved these functions to...
7509         * buffer_funcs.[Ch]: added
7510         * BufferView.[Ch] (loadLyXFile): added
7511         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7512         job removed from bufferlist::loadLyXFile.
7513         * buffer.C (setReadOnly): make it work without view
7514         (i.e added an if (users))
7515
7516 2003-06-19  Angus Leeming  <leeming@lyx.org>
7517
7518         * lfuns.h:
7519         * LyXAction.C (init):
7520         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7521         with LFUN_DIALOG_SHOW <name> <data>.
7522
7523 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7524
7525         * CutAndPaste.C (availableSelections): small compilation fix for
7526         ancient (gcc 2.9x) compilers
7527
7528 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
7529
7530         * text3.C (cursorNext): add tmp var
7531
7532         * text2.C (updateCounters): for function calling out of for clause
7533         (replaceSelectionWithString): ditto
7534         (insertStringAsParagraphs): ditto
7535         (getColumnNearX): add tmp var
7536         (setCursorFromCoordinates): add tmp var
7537         (cursorDownParagraph): add tmp var
7538         (deleteEmptyParagraphMechanism): add tmp var
7539
7540         * text.C (insertChar): add tmp var
7541
7542         * rowpainter.C (paintDepthBar): add tmp var
7543
7544         * CutAndPaste.C (availableSelections): potentially check all
7545         paragraphs in a cut to fill the shown strings.
7546
7547 2003-06-18  André Pönitz  <poenitz@gmx.net>
7548
7549         * kbmap.[Ch]: use vector<> instead of list<>
7550
7551 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
7552
7553         * text3.C (dispatch): handle arg to LFUN_PASTE, call
7554         pasteSelection with index
7555
7556         * text2.C (pasteSelection): modify, call pasteSelection with index
7557
7558         * paragraph.C (asString): reimplement version with no interval to
7559         call the one with interval.
7560
7561         * lyxtext.h: add index arg to pasteSelection
7562
7563         * MenuBackend.C (MenuItem): handle PasteRecent
7564         (Menu::read::Menutags): add md_pasterecent
7565         (read): handle it
7566         (expandPasteRecent): new function
7567         (expand): use it
7568
7569         * MenuBackend.h: add PasteRecent to MenuItem::Kind
7570
7571         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7572         the limited stack
7573         (availableSelections): new function
7574
7575 2003-06-17  Angus Leeming  <leeming@lyx.org>
7576
7577         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7578
7579 2003-06-17  Angus Leeming  <leeming@lyx.org>
7580
7581         * lfuns.h:
7582         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7583
7584         * lyxfunc.C (dispatch): invoke it.
7585
7586 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7587
7588         * iterators.C (operator++, ParPosition): reintroduce some
7589         const_cast for the benefit of older compilers.
7590
7591 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7592
7593         * text3.C (dispatch): do not modify clipboard when doing
7594         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7595         LFUN_DELETE_SKIP on a selection selection
7596
7597 2003-06-16  André Pönitz  <poenitz@gmx.net>
7598
7599         * BufferView.C:
7600         * buffer.C:
7601         * buffer.h:
7602         * paragraph.C:
7603         * tabular.[Ch]: IU of clone() and getLabelList();
7604
7605 2003-06-13  André Pönitz  <poenitz@gmx.net>
7606
7607         * tabular.h: compactification
7608
7609 2003-06-12  André Pönitz  <poenitz@gmx.net>
7610
7611         * tabular.C:
7612         * tabular.h:
7613         * tabular_funcs.h: some renaming plus whitespace
7614
7615 2003-06-12  André Pönitz  <poenitz@gmx.net>
7616
7617         * BufferView.C:
7618         * BufferView_pimpl.C:
7619         * CutAndPaste.C:
7620         * buffer.C:
7621         * iterators.[Ch]:
7622         * lyxfunc.C:
7623         * text.C:
7624         * toc.C: Return a Paragraph & for ParIterator::operator*()
7625
7626 2003-06-11  John Levon  <levon@movementarian.org>
7627
7628         * lyx_main.C:
7629         * ToolbarBackend.h:
7630         * ToolbarBackend.C: add "Toolbars" section and
7631         put the flags there
7632
7633 2003-06-10  Angus Leeming  <leeming@lyx.org>
7634
7635         * lfuns.h:
7636         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7637
7638         * lyxfunc.C (dispatch): invoke it.
7639
7640 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7641
7642         * main.C: protect <ios> with HAVE_IOS
7643         (main): protect sync_with_stdio with HAVE_IOS
7644
7645 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
7646
7647         * text2.C (cutSelection): adjust
7648         (pasteSelection): adjust
7649
7650         * messages.C: handle get of empty string
7651
7652         * main.C (main): use sync_with_stdio(false)
7653
7654         * lyxfunc.C (dispatch): adjust
7655
7656         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7657         (WriteAs): remove unneeded BufferView arg.
7658
7659         * bufferparams.h: use correct types on papersize, papersize2 and
7660         paperpackage.
7661
7662         * bufferparams.C (readToken): adjust for type
7663         (writeLaTeX): add missing cases to switch.
7664
7665         * bufferlist.C (quitWriteBuffer): adjust
7666         (close): adjust
7667
7668         * buffer.C (asciiParagraph): remove some commented code.
7669
7670         * CutAndPaste.C: remove current_view extern variable.
7671         (cutSelection): add BufferParams arg.
7672         (eraseSelection): add BufferParams arg.
7673         (pasteSelection): add Buffer const & arg
7674
7675 2003-06-07  John Levon  <levon@movementarian.org>
7676
7677         * buffer.C:
7678         * paragraph_funcs.C:
7679         * paragraph_pimpl.C:
7680         * text.C:
7681         * text2.C:
7682         * paragraph.h:
7683         * paragraph.C: allow InsetERT to freely space lines,
7684         and some consolidation of code
7685
7686 2003-06-06  José Matos  <jamatos@fep.up.pt>
7687
7688         * buffer.C (makeDocBookFile): fix bug #821
7689
7690 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
7691
7692         * BufferView_pimpl.C (dispatch): use Dialogs::visible
7693
7694 2003-06-04  Angus Leeming  <leeming@lyx.org>
7695
7696         * buffer.C: bump format to 224.
7697
7698 2003-06-05  André Pönitz  <poenitz@gmx.net>
7699
7700         * text2.C (redoParagraphs): remove two const_cast<>
7701
7702 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
7703
7704         * ParagraphList.h: remove last remnants of NO_STD_LIST
7705
7706 2003-06-03  Angus Leeming  <leeming@lyx.org>
7707
7708         * factory.C (createInset): small change to the way InsetExternal's params
7709         are set.
7710
7711 2003-06-04  André Pönitz  <poenitz@gmx.net>
7712
7713         * buffer.h: use Undo directly instead of shared_ptr<Undo>
7714
7715         * paragraph_pimpl.h:
7716         * paragraph.[Ch]: some Inset -> UpdatableInset changes
7717
7718         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7719
7720         * undo_funcs.C: make some simple cases of undo work again
7721
7722 2003-06-03  John Levon  <levon@movementarian.org>
7723
7724         * ispell.C: HPUX doesn't have sys/select.h
7725         (from Albert Chin)
7726
7727 2003-06-03  John Levon  <levon@movementarian.org>
7728
7729         * CutAndPaste.C: update tabular and include inset
7730         buffer references
7731
7732         * buffer.h:
7733         * paragraph.h:
7734         * paragraph.C: remove owningBuffer(), don't pass Buffer
7735         to clone()
7736
7737         * factory.C: insetGraphicsParams changed
7738
7739 2003-06-02  John Levon  <levon@movementarian.org>
7740
7741         * LyXAction.C:
7742         * factory.C:
7743         * lfuns.h:
7744         * lyxfunc.C:
7745         * text3.C: remove insetparent
7746
7747 2003-06-02  John Levon  <levon@movementarian.org>
7748
7749         * buffer.h:
7750         * buffer.C: fix inset_iterator.end(), move out of line
7751         (bug 1149)
7752
7753 2003-06-01  John Levon  <levon@movementarian.org>
7754
7755         * text3.C: use a proper cut/paste when doing inset
7756         insert (from Jürgen Spitzmüller)
7757
7758 2003-06-01  John Levon  <levon@movementarian.org>
7759
7760         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7761
7762 2003-05-30  André Pönitz  <poenitz@gmx.net>
7763
7764         * rowpainter.C: unify second drawing phase
7765
7766 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7767
7768         * trans_mgr.C: remove one case of current_view
7769
7770         * text2.C (cursorBottom): delete NO_STD_LIST stuff
7771
7772         * paragraph_funcs.h: remove paragraph.h include
7773
7774         * paragraph.h: delete NO_STD_LIST stuff
7775
7776         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7777
7778         * buffer.h: remove paragraph.h include
7779
7780         * ParagraphList.C: delete file
7781
7782         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7783
7784         * toc.C (getTocList): adjust
7785
7786         * paragraph_pimpl.C (validate): adjust
7787
7788         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7789
7790         * paragraph.C (Paragraph): adjust
7791         (getPositionOfInset): use const_iterator, adjust
7792         (bibitem): use const_iterator, adjust
7793         (setInsetOwner): adjust
7794
7795         * iterators.C (operator++): adjust
7796
7797         * InsetList.[Ch]: Replace selfmade iterator with standard
7798         vector::iterator also introduce const_iterator. Remove getPos,
7799         getInset and setInset from InsetTable. Adjust accordingly.
7800
7801         * BufferView.C (lockInset): adjust
7802         (ChangeInsets): adjust
7803
7804         * tabular.[Ch]: delete commented same_id functions
7805
7806 2003-05-28  John Levon  <levon@movementarian.org>
7807
7808         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7809
7810 2003-05-28  André Pönitz  <poenitz@gmx.net>
7811
7812         * metricsinfo.[Ch]: remove 'fullredraw' member
7813
7814 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
7815
7816         * lyxtextclass.C (operator): remove caching.
7817
7818 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7819
7820         * text3.C: adjust
7821
7822         * text2.C (cursorBottom): adjust
7823         (setCounter): use ParagraphList::find, adjust
7824
7825         * text.C (workWidth): use ParagraphList::find, adjust
7826
7827         * lyxcursor.C (LyXCursor): adjust
7828
7829         * buffer.C (inset_iterator): adjust
7830
7831         * ParagraphList.h: make iterator(value_type) private, make
7832         ParagraphList a friend of iterator.
7833
7834         * ParagraphList.C (find): new function
7835
7836         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7837
7838 2003-05-27  André Pönitz  <poenitz@gmx.net>
7839
7840         * dimension.[Ch]: a -> asc, d -> des, w -> wid
7841
7842 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7843
7844         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7845
7846 2003-05-26  John Levon  <levon@movementarian.org>
7847
7848         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7849
7850 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7851
7852         * remove same_id from function signatures, adjust.
7853
7854 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7855
7856         * undo_funcs.C (createUndo): use the id functions directly, adjust.
7857
7858         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7859
7860         * paragraph.C (Paragraph): get rid of same_ids parameter
7861
7862         * ParagraphList.C (insert): adjust
7863         (push_back): adjust
7864
7865 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7866
7867         * paragraph_funcs.C (breakParagraph): adjust
7868         (breakParagraphConservative): adjust
7869
7870         * buffer.C (readParagraph): adjust
7871
7872         * ParagraphList.C (insert): take a reference instead of a pointer
7873         (insert): adjust
7874
7875         * paragraph.[Ch] (id): new function
7876
7877         * bufferlist.C (newFile): adjust
7878
7879         * ParagraphList.C (ParagraphList): adjust
7880         (assign): adjust
7881         (push_back): take a reference instead of a pointer.
7882
7883         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7884
7885         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7886         instead.
7887
7888         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7889         set else use old code.
7890
7891         * ParagraphList.C: remove all NO_NEXT code and only compile this
7892         code of NO_STD_LIST is set.
7893
7894 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7895
7896         * BufferView_pimpl.C:
7897         * TextCache.C:
7898         * TextCache.h:
7899         * bufferlist.C:
7900         * errorlist.h:
7901         * format.C:
7902         * format.h:
7903         * graph.C:
7904         * lyxfunc.C:
7905         * lyxrc.C:
7906         * graphics/GraphicsConverter.C:
7907         * graphics/PreviewLoader.C: header adjustment
7908
7909 2003-05-23  Angus Leeming  <leeming@lyx.org>
7910
7911         * LaTeXFeatures.[Ch] (useBabel): new method.
7912         * bufferparams.C (writeLaTeX): use it.
7913
7914 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7915
7916         * ParagraphList.h (set): remove unused function.
7917
7918 2003-05-23  André Pönitz  <poenitz@gmx.net>
7919
7920         * BufferView.C:
7921         * BufferView_pimpl.C:
7922         * buffer.C:
7923         * buffer.h:
7924         * lyxfunc.C:
7925         * undo_funcs.C: setUndo reworked
7926
7927         * iterators.[Ch]: add access to topmost ParagraphList
7928
7929         * lyxtext.[Ch] (workWidth): add a const
7930
7931 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7932
7933         * texrow.[Ch] (increasePos): remove function
7934         * exporter.C (export): removed unused var and outdated comment
7935
7936 2003-05-23  Angus Leeming  <leeming@lyx.org>
7937
7938         * latexrunparams.h: rename fragile as moving_arg.
7939         * paragraph.C (simpleTeXOnePar): ditto.
7940         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7941
7942 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7943
7944         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7945         (createUndo): ditto
7946         (textUndoOrRedo): comment out a currently unused var.
7947
7948         * paragraph.h (NO_NEXT): enable NO_NEXT
7949
7950         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7951
7952         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7953
7954         * exporter.C (Export): adjust for removeAutoInsets removal.
7955
7956         * buffer.C (runChktex): adjust for removeAutoInsets removal.
7957
7958         * LyXAction.C (init): remove LFUN_REMOVEERRORS
7959
7960         * BufferView.[Ch] (removeAutoInsets): delete function
7961
7962 2003-05-22  Angus Leeming  <leeming@lyx.org>
7963
7964         * latexrunparams.h: add a free_spacing variable.
7965
7966         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7967         to pass moving_arg, as the data is stored in runparams.fragile.
7968
7969         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7970         to Inset::latexOptional or to simpleTeXOnePar.
7971
7972         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7973         free_spacing arg to Inset::latexOptional.
7974
7975         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7976         free_spacing arg.
7977
7978 2003-05-22  Angus Leeming  <leeming@lyx.org>
7979
7980         * latexrunparams.h: add fragile and use_babel variables.
7981
7982         * bufferparams.[Ch] (writeLaTeX): return use_babel.
7983         * buffer.C (makeLaTeXFile): store this returned value in
7984         runparams.use_babel, thus passing it to the inset::latex methods.
7985
7986         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7987         simpleTeXSpecialChars as it is now stored in runparams.fragile.
7988
7989         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7990         longer has a fragile arg, as it is stored in runparams.fragile.
7991
7992         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7993         moving_arg parameter as the data is stored in runparams.fragile.
7994
7995         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7996         a fragile parameter as the data is stored in runparams.fragile.
7997
7998 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7999
8000         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
8001
8002 2003-05-22  Angus Leeming  <leeming@lyx.org>
8003
8004         * latexrunparams.h: add a 'bool nice' which defaults to false.
8005
8006         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
8007         now encapsulated within runparams.
8008
8009         * bufferlist.C (updateIncludedTeXfiles):
8010         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
8011
8012 2003-05-22  Angus Leeming  <leeming@lyx.org>
8013
8014         * latexrunparams.h: new file containing struct LatexRunParams.
8015         * Makefile.am: add new file.
8016
8017         * LaTeX.[Ch] (c-tor, run):
8018         * buffer.[Ch] (makeLaTeXFile):
8019         * bufferlist.[Ch] (updateIncludedTeXfiles):
8020         * converter.C (convert, scanLog):
8021         * converter.[Ch] (runLaTeX):
8022         * exporter.C (Export):
8023         * paragraph.[Ch] (simpleTeXOnePar):
8024         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
8025         * paragraph_funcs.[Ch] (latexParagraphs):
8026         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
8027         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
8028         pass around a LatexRunParams parameter.
8029
8030 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8031
8032         * paragraph.[Ch]: remove unused constructor
8033
8034         * ParagraphList.C (erase): new function, taking two iterators
8035
8036 2003-05-22  André Pönitz  <poenitz@gmx.net>
8037
8038         * undo_funcs.C: remove duplicated code
8039
8040         * iterator.[Ch]: operator=
8041
8042 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8043
8044         * tabular.C (SetMultiColumn): ws changes
8045
8046         * rowpainter.C (paintFirst): get rid of a ->previous
8047
8048         * lyx_cb.C (getPossibleLabel): parlist simplification
8049
8050         * BufferView.C (ChangeInsets): simplify slightly.
8051
8052 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
8053
8054         * LyXAction.C: new lfun space-insert, kill protected-space-insert
8055         * lfuns.h: new LFUN_SPACE
8056         * lyxfunc.C: protected space has a new lfun
8057         * paragraph_funcs.C: read new space insets
8058         * text3.C:
8059         * factory.C: handle new space insets
8060
8061 2003-05-22  André Pönitz  <poenitz@gmx.net>
8062
8063         * BufferView.C:
8064         * BufferView_pimpl.C:
8065         * buffer.[Ch]:
8066         * lyxfunc.C:
8067         * undo_funcs.C: return a ParIterator from getParFromID.
8068
8069         * iterators.[Ch]: add two const's
8070
8071 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
8072
8073         * toc.C (getTocList): adjust
8074
8075         * iterators.[Ch]: rework for parlist
8076
8077         * buffer.C (par_iterator_begin): adjust
8078         (par_iterator_end): adjust
8079
8080         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
8081
8082         * BufferView.C (removeAutoInsets): adjust
8083         (ChangeInsets): adjust
8084
8085 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
8086
8087         * text.C (top_y): fix bug 1110
8088
8089 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
8090
8091         * errorlist.[Ch]: added
8092         * buffer.C:
8093         * BufferView.[Ch]:
8094         * BufferView_pimpl.C:
8095         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
8096         instead
8097
8098 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8099
8100         * Makefile.am: ensure that lyx is relinked upon changes to the
8101         various "convenience" libs.
8102
8103 2003-05-20  Angus Leeming  <leeming@lyx.org>
8104
8105         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
8106         files are compiled in alphabetical order again.
8107
8108         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
8109
8110 2003-05-19  Angus Leeming  <leeming@lyx.org>
8111
8112         * gettext.[Ch]: remove "char const * _(char const *)".
8113
8114 2003-05-19  André Pönitz  <poenitz@gmx.net>
8115
8116         * dimension.[Ch]: promote from mathed/dimension.[Ch]
8117
8118         * Makefile.am:
8119         * BufferView.C:
8120         * DepTable.h:
8121         * LaTeXFeatures.C:
8122         * buffer.C:
8123         * lyxfont.C:
8124         * lyxlex.h:
8125         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
8126
8127 2003-05-19  André Pönitz  <poenitz@gmx.net>
8128
8129         * buffer.C:
8130         * lyxlayout.[Ch]:
8131         * lyxtextclass.[Ch]:
8132         * paragraph.C:
8133         * paragraph_funcs.[Ch]:
8134         * text2.C:
8135         * text3.C: more insetenv work
8136
8137 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
8138
8139         * ParagraphParameters.C (params2string): small bug fixed
8140
8141 2003-05-16  André Pönitz  <poenitz@gmx.net>
8142
8143         * debug.C:
8144         * bufferview_funcs.C: patch from Kornel Benko to prevent
8145           crash when _(...) is called twice in a statement
8146
8147 2003-05-16  André Pönitz  <poenitz@gmx.net>
8148
8149         * BufferView.C:
8150         * lyxfunc.C:
8151         * text.C:
8152         * text2.C:
8153         * text3.C:
8154         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
8155
8156 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
8157
8158         * lyx_main.C (init): remove spurious static_cast
8159
8160 2003-05-14  André Pönitz  <poenitz@gmx.net>
8161
8162         * BufferView.C: fix format string
8163
8164 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
8165
8166         * BufferView.[Ch] (insertErrors): removed
8167         * BufferView.[Ch] (showErrorList): added
8168         * buffer.C (runChkTeX):
8169         * converter.C (scanLog): call showErrorList instead of inserterrors
8170
8171 2003-05-13  André Pönitz  <poenitz@gmx.net>
8172
8173         * BufferView_pimpl.C:
8174         * buffer.C:
8175         * bufferview_func.C:
8176         * MenuBackend.C:
8177         * lyxfunc.C:
8178         * lyxrc.C:
8179         * tex-accent.C:
8180         * text3.C:
8181         * toc.C:
8182         * tabular_funcs.h: tostr() from its own header
8183
8184         * ParagraphParameters.C:
8185         * ToolbarBackend.C:
8186         * bufferparams.C:
8187         * format.C:
8188         * lyxlex_pimpl.C:
8189         * text3.C: STRCONV()
8190
8191 2003-05-12  André Pönitz  <poenitz@gmx.net>
8192
8193         * BufferView.C:
8194         * BufferView_pimpl.C:
8195         * CutAndPaste.C:
8196         * LaTeX.C:
8197         * LaTeXFeatures.C:
8198         * ParagraphParameters.C:
8199         * buffer.C:
8200         * bufferlist.C:
8201         * bufferparams.C:
8202         * bufferview_funcs.C:
8203         * converter.C:
8204         * counters.C:
8205         * debug.C:
8206         * exporter.C:
8207         * format.C:
8208         * importer.C:
8209         * lyx_cb.C:
8210         * lyx_main.C:
8211         * lyxfont.C:
8212         * lyxfunc.C:
8213         * lyxvc.C:
8214         * paragraph.C:
8215         * paragraph_funcs.C:
8216         * tabular.C:
8217         * tabular_funcs.C:
8218         * text2.C:
8219         * text3.C:  boost::format -> bformat  all over the place
8220
8221
8222 2003-05-09  André Pönitz  <poenitz@gmx.net>
8223
8224         * LColor.[Ch]: Pimpl the #include <map> away
8225
8226 2003-05-09  John Levon  <levon@movementarian.org>
8227
8228         * bufferlist.C: never remove emergency saves
8229
8230 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8231
8232         * Makefile.am: better lib building
8233
8234 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
8235
8236         * texrow.[Ch]: remove dependency on Paragraph and just store a id
8237         instead.
8238         * paragraph_pimpl.C (simpleTeXBlanks): adjust
8239         (simpleTeXSpecialChars): adjust
8240         (simpleTeXSpecialChars): adjust
8241         * paragraph.C (simpleTeXOnePar): adjust
8242         * buffer.C (makeLaTeXFile): adjust
8243
8244         * Makefile.am (BOOST_LIBS): allow boost as system lib.
8245
8246         * text2.C (changeDepth): parlist cleanup
8247         (getColumnNearX): ditto
8248
8249         * rowpainter.C (getLabelFont): parlist cleanup
8250
8251         * bufferlist.C (newFile): parlist cleanup
8252
8253         * CutAndPaste.C (eraseSelection): parlist cleanup
8254
8255         * BufferView_pimpl.C (trackChanges): parlist cleanup
8256         (dispatch): ditto
8257
8258         * BufferView.C (lockInset): parlist cleanup.
8259         (ChangeInsets): ditto
8260
8261 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8262
8263         * CutAndPaste.h: Update file header.
8264
8265         * CutAndPaste.C: Update file header.
8266         Store the parts cut out of the Document in a limited_stack.
8267         (copySelection): adjust
8268         (pasteSelection): new function, takes the index in the limited stack.
8269         (nrOfParagraphs): adjust
8270         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
8271         simplify error inset insertion.
8272         (checkPastePossible): adjust
8273
8274 2003-05-06  John Levon  <levon@movementarian.org>
8275
8276         * text2.C: don't cast wrap inset to float
8277
8278 2003-05-05  André Pönitz  <poenitz@gmx.net>
8279
8280         * iterator.C:
8281         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
8282
8283         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
8284           few naked Paragraph *.
8285
8286 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
8287
8288         * bufferparams.C: Output warning if a document with missing
8289         TeX document class is loaded
8290         * exporter.C: Disable TeX exports if the document class is missing
8291         * lyxtextclass.C:
8292         * lyxtextclass.h:
8293         * lyxtextclasslist.C: Handle new textclass.lst format; new method
8294         isTeXClassAvailable()
8295
8296 2003-05-03  John Levon  <levon@movementarian.org>
8297
8298         * BufferView.h:
8299         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
8300         explicit cursor show/hide
8301
8302         * BufferView_pimpl.h:
8303         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
8304         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
8305
8306         * lyxfunc.C: hide cursor before dispatching.
8307
8308         * lyx_cb.C:
8309         * lyxfind.C:
8310         * text.C:
8311         * text3.C: remove explicit cursor hides
8312
8313 2003-05-02  André Pönitz  <poenitz@gmx.net>
8314
8315         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
8316
8317         * undo_funcs.C:
8318         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
8319           linked lists
8320
8321         * text2.C: tiny whitespace
8322
8323 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8324
8325         * undo_funcs.C: almost only ws changes.
8326
8327         * ParagraphList.C (splice): just return if pl is empty.
8328
8329 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8330
8331         * ParagraphList.C (splice): new function.
8332
8333         * CutAndPaste.C (pasteSelection): use it
8334
8335 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8336
8337         * CutAndPaste.C (pasteSelection): remove the last next and
8338         previous from this file.
8339
8340 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8341
8342         * CutAndPaste.C (pasteSelection): more clean up, user proper
8343         ParagraphList functions for pasteing.
8344
8345         * ParagraphList.C (insert): new function, three arg insert
8346
8347 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8348
8349         * ParagraphList.C (insert): new function, three arg insert
8350
8351         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
8352         not on paragraphs.
8353
8354 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8355
8356         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
8357
8358 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8359
8360         * CutAndPaste.C (pasteSelection): remove some unneeded code.
8361
8362 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8363
8364         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
8365         (copySelection): clean up a bit.
8366         (pasteSelection): use make_pair
8367
8368         * ParagraphList.C (ParagraphList): implement copy constructor
8369         (operator=): implement, base on copy constructor.
8370         (assign): new func
8371
8372         * paragraph.C (erase): return a bool
8373
8374         * paragraph_pimpl.C (erasePos): remove function, move contents...
8375         (erase): ... here. Return a bool.
8376         (erase): call erase instead of erasePos.
8377
8378 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
8379
8380         * ParagraphList.h: define PitPosPair
8381         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
8382         ParagraphList, fix a bug on pasting multiple pars
8383         * text2.C: change interface to C&P
8384
8385 2003-04-30  André Pönitz  <poenitz@gmx.net>
8386
8387         * undo_func.C: revert part of yesterday's patch 2
8388
8389 2003-04-30  John Levon  <levon@movementarian.org>
8390
8391         * LColor.C: s/tabular/table/
8392
8393 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8394
8395         * text3.C (dispatch): do not convert iterator -> pointer
8396         * undo_funcs.C (setCursorParUndo): ditto
8397         * text_funcs.C (transposeChars): ditto
8398
8399         * text2.C (setLayout): ws changes only
8400
8401         * text.C (breakParagraph): do not convert iterator -> pointer
8402         (insertChar): ditto
8403         (acceptChange): ditto
8404         (rejectChange): ditto
8405         (changeCase): ditto
8406         (Delete): ditto
8407         (backspace): ditto
8408
8409         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
8410         pointer
8411
8412 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8413
8414         * text3.C (gotoInset): YABG (yet another bad getChar)
8415
8416 2003-04-29  André Pönitz  <poenitz@gmx.net>
8417
8418         * paragraph.h: make operator= private unimplemented as long as
8419           it is unusable
8420
8421         * ParagraphList.C: whitespace
8422
8423         * paragraph.[Ch]:
8424         * paragraph_pimpl.[Ch]:
8425         * paragraph_funcs.C:
8426         * CutAndPaste.C:
8427         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
8428
8429         * text2.C:
8430           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8431
8432 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8433
8434         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8435         * paragraph.[Ch] (erase):
8436         * paragraph_pimpl.[Ch] (erase): change return type and value
8437         * text2.C (cutSelection): some rework
8438
8439 2003-04-28  John Levon  <levon@movementarian.org>
8440
8441         * bufferlist.C: changes for unsaved changes dialog
8442
8443 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8444
8445         * bufferlist.C (newFile): set language (messages_) for new
8446         documents also.
8447
8448         * buffer.C (readFile): ws changes only.
8449
8450 2003-04-28  André Pönitz  <poenitz@gmx.net>
8451
8452         * undo_funcs.C:
8453         * lyxfunc.C:
8454         * buffer.[Ch]:
8455         * BufferView_pimpl.C:
8456         * BufferView.C: getParFromID related ParagraphList::iterator changes
8457
8458 2003-04-28  André Pönitz  <poenitz@gmx.net>
8459
8460         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8461           Changes
8462
8463 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8464
8465         * messages.C: remove one more localedir class variable.
8466
8467 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8468
8469         * messages.C (getLocaleDir): singleton generation function
8470         (Pimpl): use it.
8471         (Messages): add a default constructor.
8472
8473         * main.C (main): do not setup localedir here, do not call
8474         gettext_init.
8475
8476         * gettext.C (_): use it.
8477         (gettext_init): delete funciton
8478
8479 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8480
8481         * gettext.C (getLyXMessages): new singleton generating function.
8482
8483         * buffer.C (updateDocLang): adjust
8484
8485         * Makefile.am (messages.o): add target
8486         (main.o): remove target
8487
8488 2003-04-27  John Levon  <levon@movementarian.org>
8489
8490         * bufferlist.C:
8491         * lyx_cb.C:
8492         * lyxfunc.C:
8493         * lyxvc.C: specify cancel button in Alert::prompt
8494
8495 2003-04-26  John Levon  <levon@movementarian.org>
8496
8497         * text3.C:
8498         * lyxfunc.C:
8499         * lfuns.h:
8500         * LyXAction.C: add LFUN_INSET_SETTINGS
8501
8502         * lyxfunc.C: don't enable tabular-feature when there's
8503         just any locking inset
8504
8505 2003-04-26  John Levon  <levon@movementarian.org>
8506
8507         * bufferlist.C: re-add Cancel to buffer close question
8508
8509         * lyxfunc.C: fix import UI a bit
8510
8511 2003-04-25  John Levon  <levon@movementarian.org>
8512
8513         * gettext.C: remove the broken asserts for now
8514
8515 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8516
8517         * messages.C: make case where setlocale cannot comply work better.
8518
8519         * buffer.C (updateDocLang): new function
8520         (changeLanguage): use it
8521         (readFile): use it
8522
8523         * text2.C (setCounter): use B_ a bit.
8524
8525         * lyxlayout.C (Read): be sure to trim the label strings.
8526
8527         * messages.C (Messages): fix typo in comment
8528
8529         * buffer.C (readFile): set message_ after file is loaded.
8530         (makeDocBookFile): remove double return
8531         (changeLanguage): reset message_ upon language change.
8532         (B_): new func, use this to get translated buffer strings.
8533
8534         * main.C: add myself and Jean Marc as authors.
8535
8536 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8537
8538         * messages.[hC]: pimplify Messages, and three different pimpls to be
8539         used in different circumstances.
8540
8541         * gettext.[Ch]: change for use with new message code.
8542
8543 2003-04-24 André Pönitz <poenitz@gmx.net>
8544
8545         * factory.C: support for eqref
8546
8547 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
8548
8549         * messages.[Ch]: add missing char
8550
8551         * Makefile.am (lyx_SOURCES): add messages.[Ch]
8552
8553         * messages.[Ch]: New files
8554
8555 2003-04-18  John Levon  <levon@movementarian.org>
8556
8557         * BufferView.h:
8558         * BufferView.C:
8559         * BufferView_pimpl.C:
8560         * lfuns.h:
8561         * LyXAction.C:
8562         * lyxtext.h:
8563         * text2.C: remove layout-copy/paste (bug 778)
8564
8565 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8566
8567         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8568
8569 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8570
8571         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8572         if they succeed. Act accordingly.
8573
8574 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8575
8576         * text2.C (setCharFont): adjust
8577         (setCounter): adjust
8578         (insertStringAsLines): adjust
8579
8580         * text.C (leftMargin): adjust
8581         (setHeightOfRow): adjust
8582
8583         * rowpainter.C (paintFirst): adjust
8584         (paintLast): adjust
8585
8586         * paragraph_funcs.C (depthHook): ParagraphList::iterators
8587         (outerHook): ditto
8588         (isFirstInSequence): ditto
8589         (getEndLabel): ditto
8590         (outerFont): adjust
8591
8592         * paragraph.C (getParLanguage): comment out some hard stuff.
8593
8594         * buffer.C (insertStringAsLines): take a ParagraphList as arg
8595         (sgmlError): ditto
8596         (simpleDocBookOnePar): ditto
8597         (makeDocBookFile): use ParagraphList::iterator
8598
8599         * CutAndPaste.C (pasteSelection): adjust
8600
8601 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8602
8603         * text2.C (getFont): adjust
8604         (getLayoutFont): adjust
8605         (getLabelFont): adjust
8606
8607         * paragraph_funcs.C (TeXOnePar): adjust
8608
8609         * buffer.C (simpleLinuxDocOnePar): adjust
8610         (simpleDocBookOnePar): adjust
8611
8612         * CutAndPaste.C (pasteSelection): adjust
8613
8614         * BufferView.C (getEncoding): adjust
8615
8616         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8617
8618 2003-04-16  John Levon  <levon@movementarian.org>
8619
8620         * lyxfind.C: use parlist stuff for search/changes
8621
8622 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8623
8624         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8625
8626         * text2.C (deleteEmptyParagraphMechanism): adjust
8627
8628         * text2.[Ch] (ownerParagraph): delete func (both of them
8629
8630 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8631
8632         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8633
8634 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8635
8636         * ParagraphList.C: prepare for NO_NEXT
8637
8638 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8639
8640         * text2.C (getFont): adjust
8641         (getLayoutFont): adjust
8642         (getLabelFont): adjust
8643
8644         * paragraph.C (getFont): adjust
8645         (getLabelFont): adjust
8646         (getLayoutFont): adjust
8647
8648         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8649
8650 2003-04-15  John Levon  <levon@movementarian.org>
8651
8652         From Angus Leeming
8653
8654         * lyx_main.C: handle Include in .ui files
8655
8656 2003-04-15  John Levon  <levon@movementarian.org>
8657
8658         * MenuBackend.C: make the doc files length shorter
8659
8660         * ToolbarBackend.h:
8661         * ToolbarBackend.C: handle toolbar placement flags,
8662         Minibuffer
8663
8664 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8665
8666         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8667         adjust
8668
8669         * paragraph_funcs.C (TeXOnePar): adjust
8670
8671         * paragraph.C (getLabelFont): add outerfont arg, adjust
8672         (getLayoutFont): ditto
8673         (simpleTeXOnePar): adjust
8674
8675         * paragraph_pimpl.C (realizeFont): delete func
8676
8677 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
8678
8679         * text2.C (beforeFullRowInset): added a bad getchar check, removed
8680         row argument, constify cur argument.
8681
8682 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8683
8684         * text2.C (getFont): adjust
8685         (getLayoutFont): adjust
8686         (getLabelFont): adjust
8687
8688         * paragraph_funcs.C (TeXOnePar): adjust
8689         (outerFont): new func...
8690         (realizeFont): ...moved out from here, changed this to facilitate
8691         transition
8692
8693         * paragraph.C (getFont): take outerfont as arg, adjust
8694         (simpleTeXOnePar): add outerfont arg, adjust
8695
8696         * buffer.C (simpleLinuxDocOnePar): adjust
8697         (simpleDocBookOnePar): adjust
8698
8699         * CutAndPaste.C (pasteSelection): adjust
8700
8701         * BufferView.C (getEncoding): adjust
8702
8703 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8704
8705         * text2.C (setCharFont): adjust
8706         (setCounter): adjust
8707
8708         * text.C (leftMargin): adjust
8709         (setHeightOfRow): adjust
8710
8711         * rowpainter.C (paintFirst): adjust
8712         (paintLast): adjust
8713
8714         * paragraph_pimpl.C (realizeFont): adjust
8715
8716         * paragraph.C (isFirstInSequence): move from here...
8717         * paragraph_funcs.C (isFirstInSequence): ...to here
8718
8719         * paragraph.C (outerHook): move from here...
8720         * paragraph_funcs.C (outerHook): ...to here
8721
8722         * paragraph.C (depthHook): move from here...
8723         * paragraph_funcs.C (depthHook): ...to here
8724
8725         * paragraph.C (getEndLabel): move from here...
8726         * paragraph_funcs.C (getEndLabel): ...to here
8727
8728         * text2.C (realizeFont): move from here...
8729         * paragraph_funcs.C (realizeFont): ...to here
8730
8731 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8732
8733         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8734
8735 2003-04-14  Angus Leeming  <leeming@lyx.org>
8736
8737         * LColor.[Ch]: scrap LColor mathcursor.
8738
8739 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8740
8741         * lyxlex.[Ch] (text): delete function
8742         * trans.C (Load): adjust
8743         * paragraph_funcs.C (readParToken): adjust
8744
8745 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8746
8747         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8748         vector<char> instead of a char[].
8749
8750         * lyxlex_pimpl.C (getString): adjust
8751         (next): adjust
8752         (lex): use getString
8753         (eatLine): adjust
8754         (nextToken): adjust
8755
8756         * lyxlex.C (text): use pimpl_->getString()
8757         (getBool): ditto
8758         (findToken): ditto
8759
8760 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8761
8762         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8763         (makeFontEntriesLayoutSpecific): temp var for par.size()
8764         (setLayout): temp var for ownerParagraphs().end()
8765         (fullRebreak): temp var for rows().end()
8766         (selectionAsString): temp var for boost::next(startpit), realize
8767         that the while really is a regular for loop.
8768         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8769         setCursor in one place.
8770         (setParagraph): temp vr for ownerParagraphs().end()
8771         (updateCounters): make the while loop a for loop
8772         (cutSelection): temp var for ownerParagraphs().end()
8773         (updateInset): make the do {} while() a regular for loop
8774         (getCursorX): use temp vars
8775         (setCurrentFont): use temp vars
8776         (getColumnNearX): use temp vars
8777
8778 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8779
8780         * text.C (transformChar): use temp var for getChar
8781         (computeBidiTables): use temp var for row->par()
8782         (fill): move temp vars for row->par() and pit->layout() earlier in
8783         the function.
8784         (labelFill): use temp var for row->par()
8785         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8786         asc and desc, realize that pit never changes and that firstpit is
8787         just a duplicate and not needed. Exchange rit->par() with pit in a
8788         lot of places.
8789         (breakAgain): use a temp var for boost::next(rit)
8790         (breakAgainOneRow): ditto
8791         (breakParagraph): use a temp var for rows().begin()
8792         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8793         (cursorRightOneWord): use temp var for cursor.par() and
8794         cursor.pos(), remove usage of tmpcursor.
8795         (cursorLeftOneWord): use temp var for cursor.par() and
8796         cursor.pos() only set cur at end of function.
8797
8798 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8799
8800         * text.C, text2.C: exchange all usage of Paragraph::next with
8801         boost::next(ParagraphList::iterator)
8802
8803         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8804
8805         * text2.C (cursorTop): simplify implementation
8806         (cursorBottom): ditto
8807         (setParagraph): use ParagraphList::iterator
8808         (setCurrentFont): adjust
8809         (getColumnNearX): adjust
8810         (cursorRight): adjust
8811         (cursorLeft): remove usage of Paragraph::previous
8812         (cursorUpParagraph): ditto
8813         (deleteEmptyParagraphMechanism): slight cleanup
8814
8815         * text.C (isBoundary): take a Paragraph const & instead of a
8816         pointer as arg.
8817         (addressBreakPoint): ditto
8818         (leftMargin): remove usage of Paragraph::previous.
8819         (setHeightOfRow): ditto
8820         (cursorLeftOneWord): ditto
8821         (selectNextWordToSpellcheck): ditto
8822         (Delete): ditto
8823         (backspace): ditto
8824         (breakParagraph): remove one usage of Paragraph::next
8825         (redoParagraph): ditto
8826         (acceptChange): ditto
8827         (insertChar): adjust
8828         (rowBreakPoint): adjust
8829
8830         * bufferview_funcs.C (toggleAndShow): adjust
8831
8832 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
8833
8834         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8835         methods to access it.
8836         * lyxtext.h:
8837         * text.C: Added updateRowPositions to compute all row positions.
8838         Make top_y and getRowNearY() to use the cached y position
8839
8840 2003-04-11  John Levon  <levon@movementarian.org>
8841
8842         * text.C (rowBreakPoint): reintroduce the labelEnd
8843         checks, code copied from the row fill stuff. Deep voodoo.
8844
8845         * text.C (fill): add a comment and debugging for the
8846         next poor soul.
8847
8848 2003-04-11  John Levon  <levon@movementarian.org>
8849
8850         * text.C: make sure fullrow insets get wrapped to the next line,
8851         even when they're in a manual label
8852
8853 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8854
8855         * text2.C (insertParagraph): make it take ParagraphList::iterator
8856         as arg.
8857         (setLayout): make it return ParagraphList::iterator
8858         (redoParagraphs): ditto
8859         (setCounter): ditto
8860         (checkParagraph): ditto
8861
8862         * text.C (getRow): make getrow take ParagraphList::iterator as arg
8863
8864         * text2.C: adjust several funcs.
8865         (realizeFont): take a ParagraphList::iterator as arg.
8866         (getLayoutFont): ditto
8867         (getLabelFont): ditto
8868         (setCharFont): ditto
8869
8870         * text.C: adjust several funcs.
8871
8872 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8873
8874         * text.C (selectNextWordToSpellcheck): don't accidentally
8875         skip insets
8876
8877 2003-04-10  John Levon  <levon@movementarian.org>
8878
8879         * ToolbarBackend.C (getIcon): special handling for
8880         LFUN_MATH_DELIM
8881
8882 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8883
8884         * text2.C (cursorRight): a getChar assert fixed
8885
8886 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8887
8888         * text2.C (getFont): change to take a ParagraphList::iterator
8889         instead of Paragraph*
8890         Adjust several functions.
8891
8892         * text.C (transformChar): change to take a ParagraphList::iterator
8893         instead of Paragraph*
8894         (singleWidth): ditto
8895         Adjust several functions.
8896
8897         * rowpainter.C: adjust several functions
8898         * rowpainter.h:store a ParagraphList::iterator and not a
8899         Paragraph&.
8900
8901
8902 2003-04-09  John Levon  <levon@movementarian.org>
8903
8904         * lyxfunc.C:
8905         * lfuns.h:
8906         * LyXAction.h:
8907         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8908         and the "help" bits as well
8909
8910 2003-04-09  John Levon  <levon@movementarian.org>
8911
8912         * ToolbarBackend.h:
8913         * ToolbarBackend.C: allow multiple toolbars
8914
8915 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8916
8917         * undo_funcs.C (setCursorParUndo): adjust
8918
8919         * text_funcs.C (transposeChars): adjust
8920
8921         * text3.C (gotoNextInset): adjust
8922         (dispatch): adjust
8923
8924         * text2.C (setLayout): adjust
8925         (changeDepth): adjust
8926         (setFont): adjust
8927         (redoParagraphs): adjust
8928         (selectionAsString): adjust
8929         (setParagraph): adjust
8930         (insertInset): adjust
8931         (cutSelection): adjust
8932         (copySelection): adjust
8933         (pasteSelection): adjust
8934         (insertStringAsLines): adjust
8935         (updateInset): adjust
8936         (setCursor): change to take a ParagraphList::iterator parameter
8937         (setCursorIntern): change to take a ParagraphList::iterator parameter
8938         (setCurrentFont): adjust
8939         (cursorLeft): adjust
8940         (cursorRight): adjust
8941         (deleteEmptyParagraphMechanism): adjust
8942
8943         * text.C (breakParagraph): adjust
8944         (insertChar): adjust
8945         (acceptChange): adjust
8946         (rejectChange): adjust
8947         (selectNextWordToSpellcheck): adjust
8948         (changeCase): adjust
8949         (Delete): adjust
8950         (backspace): adjust
8951
8952         * lyxfind.C (SearchForward): adjust
8953         (SearchBackward): adjust
8954         (nextChange): adjust
8955
8956         * lyxcursor.C (par): adjust
8957
8958         * lyxcursor.h: store a ParagraphList::iterator instead of a
8959         Paragraph*
8960
8961         * lyx_cb.C (getPossibleLabel): adjust
8962
8963         * bufferview_funcs.C (toggleAndShow): adjust
8964
8965         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8966         (dispatch): adjust
8967
8968         * BufferView.C (removeAutoInsets): adjust
8969         (lockedInsetStoreUndo): adjust
8970
8971 2003-04-09  John Levon  <levon@movementarian.org>
8972
8973         * ToolbarBackend.C: try icon without argument
8974         if with argument fails
8975
8976 2003-04-08  John Levon  <levon@movementarian.org>
8977
8978         * ToolbarBackend.h:
8979         * ToolbarBackend.C: add getIcon(), handle tooltip,
8980         and change from "Icon" to "Item".
8981
8982 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8983
8984         * BufferView.C (lockInset): another bad getchar crunched
8985
8986 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8987
8988         * text2.C (changeDepth): do not setUndo on test_only (make undo work
8989         again)
8990
8991 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
8992
8993         * lyxfind.C (searchForward, searchBackwards): bug 782
8994
8995 2003-04-07  John Levon  <levon@movementarian.org>
8996
8997         * paragraph.C: remove dead comment
8998
8999         * text.C: remove troublesome depth-fiddling code
9000         in leftMargin() and rightMargin() (bug 1017)
9001
9002         * text.C: fix breaking of rows in nested lists
9003         (bug 1004)
9004
9005         * text2.C (updateCounters): fix up depth values
9006         (bug 1013)
9007
9008 2003-04-07  John Levon  <levon@movementarian.org>
9009
9010         * BufferView_pimpl.C: clear message when doc finishes resizing,
9011         and after a mouse event
9012
9013         * lyxfunc.C: clear message after exiting inset
9014
9015 2003-04-07  John Levon  <levon@movementarian.org>
9016
9017         * bufferview_funcs.C: show math status not outside
9018         status in the statusbar
9019
9020 2003-04-07  John Levon  <levon@movementarian.org>
9021
9022         * lyxfunc.C: note status changed after a depth change
9023
9024 2003-04-04  Angus Leeming  <leeming@lyx.org>
9025
9026         * LaTeX.h: move AuxInfo operator==, != out of line.
9027         Remove LaTeX virtual destructor; nothing derives from it.
9028         Move operator()() out of public area and rename it startscript().
9029         Change protected for private.
9030
9031 2003-04-04  Angus Leeming  <leeming@lyx.org>
9032
9033         * lyxfunc.C:
9034         * text2.C: remove unneeded #includes.
9035
9036 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
9037
9038         * text2.C (dEPM): fix the heigth of the next row
9039
9040 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
9041
9042         * text.C: squashed an invalid getChar requester + some ws changes
9043
9044 2003-04-03  John Levon  <levon@movementarian.org>
9045
9046         * bufferview_funcs.h:
9047         * bufferview_funcs.C:
9048         * lyxfunc.C:
9049         * lyxtext.h:
9050         * text2.C: make getStatus work for the env depth lfuns
9051
9052 2003-04-03  John Levon  <levon@movementarian.org>
9053
9054         * bufferview_funcs.h:
9055         * bufferview_funcs.C:
9056         * lyxfunc.C:
9057         * lyxtext.h:
9058         * text2.C: parlistize decDepth(), by merging it with incDepth()
9059
9060 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9061
9062         * lyxrow.h: store a ParagraphList::iterator instead of a
9063         Paragraph* and adjust other class functions to suit.
9064
9065         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
9066         above.
9067
9068 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
9069
9070         * text2.C (setCursor): do not anchor to cursor row for the time being
9071
9072 2003-04-02  John Levon  <levon@movementarian.org>
9073
9074         * LyXAction.C:
9075         * lfuns.h:
9076         * lyx_main.C:
9077         * lyxtext.h:
9078         * text.C:
9079         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
9080
9081 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9082
9083         * paragraph.h: make ParagraphList and ParagraphList::iterator
9084         friends of Paragraph.
9085
9086         * buffer.C (makeLinuxDocFile): move towards ParagraphList
9087
9088         * ParagraphList.C: Use the private next_ and previous_ from
9089         Paragraph.
9090
9091 2003-04-01  John Levon  <levon@movementarian.org>
9092
9093         * ToolbarBackend.h:
9094         * ToolbarBackend.C:
9095         * Makefile.am: rename, remove defaults gunk
9096
9097         * MenuBackend.h:
9098         * MenuBackend.C: remove defaults gunk
9099
9100         * Languages.h:
9101         * Languages.C: remove defaults gunk
9102
9103         * lyx_main.h:
9104         * lyx_main.C: error out if files couldn't be found.
9105
9106 2003-04-02  John Levon  <levon@movementarian.org>
9107
9108         * text2.C: make incDepth() use parlist
9109
9110 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9111
9112         * undo_funcs.C (firstUndoParagraph): adjust
9113
9114         * text3.C (gotoInset): adjust
9115         (dispatch): adjust, and rewrite loop.
9116
9117         * text2.C (init): adjust, and rewrite loop.
9118         (redoParagraphs): adjust
9119         (updateInset): adjust, and rewrite loop.
9120         (deleteEmptyParagraphMechanism): adjust
9121
9122         * tabular.C (LyXTabular): adjust
9123         (SetMultiColumn): adjust
9124         (TeXRow): adjust
9125
9126         * lyxtext.[Ch] (ownerParagraph): delete function
9127         (ownerParagraphs): new function returns a ParagraphList.
9128
9129         * BufferView.C (removeAutoInsets): adjust
9130         (insertErrors): adjust
9131         (setCursorFromRow): adjust
9132
9133 2003-04-01  Angus Leeming  <leeming@lyx.org>
9134
9135         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
9136         in the frontends.
9137
9138 2003-04-02  John Levon  <levon@movementarian.org>
9139
9140         * lyxtext.h:
9141         * text.C:
9142         * Makefile.am:
9143         * text_funcs.h:
9144         * text_funcs.C: make transposeChars a free function
9145
9146         * lyxrow_funcs.C: remove wrong comment
9147
9148 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9149
9150         * lyxtext.h: adjust
9151         * rowpainter.C: adjust
9152         * text.C: adjust
9153         * text2.C: adjust
9154         * text3.C: adjust
9155
9156         * lyxrow_funcs. [Ch]: new files
9157
9158         * lyxrow.[Ch]: remove next and previous pointers
9159         (next,previous): remove accessor functions
9160         (isParEnd): move to lyxrow_funcs
9161         (lastPos): move to lyxrow_funcs
9162         (nextRowIsAllInset): move to lyxrow_funcs
9163         (lastPrintablePos): move to lyxrow_funcs
9164         (numberOfSeparators): move to lyxrow_funcs
9165         (numberOfHfills): move to lyxrow_funcs
9166         (numberOfLabelHfills): move to lyxrow_funcs
9167         (hfillExpansion): move to lyxrow_funcs
9168
9169         * lyxfunc.C: adjust
9170
9171         * bufferview_funcs.C (toggleAndShow): adjust
9172
9173         * RowList.h: Remove class RowList from file leave just a
9174         std::list<Row>.
9175
9176         * RowList.C: delete file
9177
9178         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
9179         and lyxrow_funcs.h
9180
9181 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9182
9183         * text3.C (cursorPrevious): adjust
9184         (cursorNext): adjust
9185         (dispatch): adjust
9186
9187         * text2.C (redoHeightOfParagraph): adjust
9188         (redoDrawingOfParagraph): adjust
9189         (setCursor): adjust
9190
9191         * text.C (breakParagraph): adjust
9192         (insertChar): adjust
9193         (backspace): adjust
9194
9195         * rowpainter.C (RowPainter): adjust
9196         (leftMargin): simplify and adjust
9197         (most rowpainter functions): adjust.
9198
9199         * rowpainter.h: store the row as RowList::iterator not as Row*
9200
9201         * lyxcursor.C (row): taka RowList::iterator as arg
9202         (irow): ditto
9203
9204         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
9205         of Row*.
9206
9207 2003-04-01  Angus Leeming  <leeming@lyx.org>
9208
9209         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
9210         stuff like bool Bool.
9211
9212 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
9213
9214         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
9215         rewrite a loop
9216
9217 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9218
9219         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
9220         RowList::iterator.
9221
9222         * lyxtext.h (rows): drop one version and leve a const variant that
9223         returns a RowList::iterator.
9224
9225 2003-03-31  Angus Leeming  <leeming@lyx.org>
9226
9227         * text.C (fill): ensure that the signature is the same as that in the
9228         header file.
9229
9230 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
9231
9232         * text2.C (redoParagraphs): adjust
9233         (updateCounters): adjust
9234         (checkParagraph): adjust
9235         (getColumnNearX): adjust and reformat a bit.
9236
9237         * text.C (top_y): adjust
9238         (workWidth): adjust
9239         (leftMargin): adjust
9240         (prepareToPrint): adjust
9241         (getRow): adjust
9242         (getRowNearY): adjust
9243
9244         * lyxtext.h: make rowlist_ mutable.
9245
9246         * RowList.h: add const_iterator
9247         * RowList.C: adjust for RowList::const_iterator.
9248
9249         * text2.C (getCursorX): make it take a RowList::iterator as arg,
9250         adjust.
9251
9252 2003-03-31  John Levon  <levon@movementarian.org>
9253
9254         * lyxrc.h:
9255         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
9256
9257         * lyx_main.C: set default fonts from using lyx_gui funcs
9258
9259         * exporter.C: pdf_mode moved from lyxrc
9260
9261         * lyx_cb.C:
9262         * lyxfunc.C: changes from above
9263
9264 2003-03-31  John Levon  <levon@movementarian.org>
9265
9266         * lyx_main.C: fix to the last fix
9267
9268 2003-03-31  John Levon  <levon@movementarian.org>
9269
9270         * bufferlist.C: "Load original" -> "Load Original"
9271
9272         * converter.C:
9273         * exporter.C:
9274         * importer.C:
9275         * lyx_main.C:
9276         * format.C: more Alert cleanups
9277
9278 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
9279
9280         * text2.C (removeParagraph): make it take a RowList::iterator as
9281         arg, adjust.
9282         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
9283         (postRowPaint): make it take a RowList::iterator as arg, adjust.
9284
9285         * text.C (anchor_row): make it take a RowList::iterator as arg,
9286         adjust.
9287         (computeBidiTables): make it take a const reference to Row instead
9288         of Row pointer, adjust.
9289         (leftMargin): make it take a RowList::iterator as arg, adjust.
9290         (rowBreakPoint): adjust
9291         (breakAgainOneRow): make it take a RowList::iterator as arg,
9292         adjust.
9293         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
9294
9295         * bufferview_funcs.C (toggleAndShow): adjust
9296
9297 2003-03-30  John Levon  <levon@movementarian.org>
9298
9299         * Makefile.am:
9300         * BoostFormat.h:
9301         * boost-inst.C: moved to support
9302
9303         * several files: changes as a result
9304
9305 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
9306
9307         * text2.C (LyXText): adjust.
9308         (init): adjust
9309         (removeRow): make it take a RowList::iterator as arg, adjust.
9310         (fullRebreak): adjust
9311         (deleteEmptyParagraphMechanism): adjust
9312         (clearPaint): adjust
9313         (postPaint): adjust
9314
9315         * text.C (top_y): adjust
9316         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
9317         (breakAgain): make it take a RowList::iterator as arg, adjust.
9318         (breakParagraph): adjust
9319         (insertChar): adjust
9320         (backspace): adjust
9321
9322         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
9323         need_break_row, and refresh_row.
9324
9325         * text3.C (dispatch): adjust
9326
9327         * text2.C (checkParagraph): adjust
9328         (setCursor): adjust
9329         (setCursorFromCoordinates): adjust
9330
9331         * text.C (top_y): adjust
9332         (workWidth): adjust
9333         (getRow): make it return a RowList::iterator, adjust
9334         (getRowNearY): make it return a RowList::iterator, adjust
9335
9336         * text2.C (init): adjust
9337         (insertRow): remove function
9338         (insertParagraph): adjust
9339         (redoParagraphs): adjust
9340         (fullRebreak): adjust
9341         (updateCounters): adjust
9342
9343         * text.C (top_y): rewrite to use RowList iterators.
9344         (top_y): adjust
9345         (setHeightOfRow): rewrite to sue RowList iterators.
9346         (appendParagraph): adjust
9347         (breakAgain): adjust
9348         (breakAgainOneRow): adjust
9349         (breakParagraph): adjust
9350         (getRow): adjust
9351         (getRowNearY): adjust, and remove commented code.
9352
9353         * lyxtext.h (firstRow): delete function
9354         (lastRow): delete function
9355         (rows): new function (const and non-const versions.)
9356         (insertRow): delete function
9357
9358         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
9359
9360 2003-03-29  John Levon  <levon@movementarian.org>
9361
9362         * BufferView_pimpl.C: always update scrollbar top
9363         because pasting text when we're anchored could mean we
9364         miss an update altogether
9365
9366 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9367
9368         * text2.C (init): use rowlist_.end() and not 0.
9369         (insertRow): change to take a RowList::iterator as arg, adjust
9370         for this.
9371         (insertParagraph): change to take a RowList::iterator as arg,
9372         adjust for this.
9373         (redoParagraphs): remove some debug msgs.
9374
9375         * text.C (appendParagraph): change to take a RowList::iterator
9376         arg, adjust for this.
9377         (breakAgain): add an assert
9378         (breakAgainOneRow): ditto
9379
9380 2003-03-29  John Levon  <levon@movementarian.org>
9381
9382         * text2.C: do not clear selection after inc/decDepth
9383         (bug 550)
9384
9385 2003-03-29  John Levon  <levon@movementarian.org>
9386
9387         * BufferView.C:
9388         * buffer.C: fix broken strerrors according to Lars
9389
9390 2003-03-29  John Levon  <levon@movementarian.org>
9391
9392         * converters.C: more Alert cleanups
9393
9394 2003-03-29  John Levon  <levon@movementarian.org>
9395
9396         * bufferview_funcs.C: remove pointless Alert
9397
9398         * buffer.C: fix confusing error message when
9399         a template is chmoded 000
9400
9401 2003-03-29  John Levon  <levon@movementarian.org>
9402
9403         * BufferView.C:
9404         * BufferView.h:
9405         * BufferView_pimpl.C: Alert fixes
9406
9407         * Makefile.am:
9408         * tabular.C:
9409         * tabular-old.C: remove unused table compat reading
9410
9411 2003-03-29  John Levon  <levon@movementarian.org>
9412
9413         * BufferView.C:
9414         * buffer.C:
9415         * lyx_cb.h:
9416         * lyx_cb.C: more Alert cleanups
9417
9418         * lyxfunc.C: don't allow chktex if not latex document
9419
9420 2003-03-29  John Levon  <levon@movementarian.org>
9421
9422         * lyx_cb.C:
9423         * BufferView.C:
9424         * buffer.C: warnings pushed down from support/,
9425         kill err_alert
9426
9427 2003-03-29  John Levon  <levon@movementarian.org>
9428
9429         * lyxfunc.C: safety check for C-r (revert)
9430
9431 2003-03-29  John Levon  <levon@movementarian.org>
9432
9433         * bufferlist.h:
9434         * bufferlist.C: several UI fixes using Alert::prompt.
9435         Fix the pointless looping quit code. Fix stupid revert
9436         behaviour (bug 938)
9437
9438         * lyxvc.h:
9439         * lyxvc.C:
9440         * lyx_cb.C: use Alert::prompt
9441
9442         * lyx_main.C: remove a silly question
9443
9444         * lyxfunc.C: remove a couple of silly questions,
9445         use Alert::prompt
9446
9447 2003-03-28  John Levon  <levon@movementarian.org>
9448
9449         * text2.C: fix bug 974 (End on empty par)
9450
9451 2003-03-28  John Levon  <levon@movementarian.org>
9452
9453         * BufferView_pimpl.C:
9454         * LyXAction.C:
9455         * lfuns.h: remove do-nothing math greek lfuns
9456
9457 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9458
9459         * lyxgluelength.h (isValidGlueLength): add default arg on
9460         parameter 2. Remove default arg from friend in class.
9461
9462         * lyxlength.h (isValidLength): add default arg on parameter 2.
9463         Remove default arg from friend in class.
9464
9465         * text2.C (LyXText): adjust, initialize refresh_row.
9466         (init): adjust
9467         (removeRow): adjust
9468         (insertRow): adjust
9469         (insertParagraph): adjst
9470         (redoParagraphs): adjust
9471         (fullRebreak): adjust
9472         (updateCounters): adjust
9473         (deleteEmptyParagraphMechanism): first attempt at fixing a
9474         crashing bug.
9475
9476         * text.C (top_y): adjust
9477         (setHeightOfRow): adjust
9478         (getRow): adjust
9479         (getRowNearY): adjust
9480
9481         * lyxtext.h: include RowList.h
9482         (~LyXText): not needed anymore, deleted.
9483         (firstRow): modify for RowList
9484         (lastRow): new function
9485         Delete firstrow and lastrow class variables, add a Rowlist
9486         rowlist_ class variable.
9487
9488         * lyxrow.C (lastPos): use empty() and not !size() to check if a
9489         paragraph is empty.
9490
9491         * RowList.C (insert): fix case where it == begin().
9492
9493 2003-03-26  Angus Leeming  <leeming@lyx.org>
9494
9495         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9496         the thesaurus dialog.
9497
9498 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
9499
9500         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9501
9502         * RowList.[Ch]: new files
9503
9504         * ParagraphList.C (erase): handle the case where it == begin
9505         correctly.
9506
9507 2003-03-25  John Levon  <levon@movementarian.org>
9508
9509         * Makefile.am:
9510         * aspell_local.h:
9511         * aspell.C: add new aspell support
9512
9513         * lyxrc.h:
9514         * lyxrc.C: Make use_pspell be use_spell_lib. Always
9515         have it accessible.
9516
9517 2003-03-25  Angus Leeming  <leeming@lyx.org>
9518
9519         * lfuns.h:
9520         * LyXAction.C (init): new LFUN_INSET_INSERT.
9521
9522         * BufferView_pimpl.C (dispatch): split out part of the
9523         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9524
9525         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9526         LFUN_INSET_APPLY.
9527
9528 2003-03-25  Angus Leeming  <leeming@lyx.org>
9529
9530         * lyxfunc.C (dispatch): changes to the Dialogs interface.
9531
9532 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
9533
9534         * text2.C:
9535         * text3.C: remove useless row->height(0)
9536
9537 2003-03-25  John Levon  <levon@movementarian.org>
9538
9539         * lyxtext.h:
9540         * text2.C:
9541         * text3.C: rename the refreshing stuff to better names
9542
9543 2003-03-24  John Levon  <levon@movementarian.org>
9544
9545         * BufferView_pimpl.h:
9546         * BufferView_pimpl.C: update layout choice on a mouse
9547         press/release
9548
9549 2003-03-23  John Levon  <levon@movementarian.org>
9550
9551         * Makefile.am: fix commandtags.h reference
9552
9553 2003-03-22  John Levon  <levon@movementarian.org>
9554
9555         * BufferView_pimpl.C:
9556         * lyxtext.h:
9557         * rowpainter.C:
9558         * rowpainter.h:
9559         * text.C:
9560         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9561
9562 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
9563
9564         * lyxtext.h:
9565         * text.C: take the rtl methods out of line
9566
9567 2003-03-21 André Pönitz <poenitz@gmx.net>
9568
9569         * metricsinfo.[Ch]: new files containing structures to be passed around
9570         during the two-phase-drawing...
9571
9572 2003-03-21 André Pönitz <poenitz@gmx.net>
9573
9574         * lyxtextclass.C: read 'environment' tag.
9575
9576 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
9577
9578         * text2.C (removeRow): fix bug 964
9579
9580 2003-03-20  John Levon  <levon@movementarian.org>
9581
9582         * rowpainter.C:
9583         * text.C:
9584         * text2.C: paint cleanups. Inset::update() dropped font
9585         parameter
9586
9587 2003-03-19  John Levon  <levon@movementarian.org>
9588
9589         * lyxfunc.C: only fitcursor/markDirty if available()
9590
9591 2003-03-19  John Levon  <levon@movementarian.org>
9592
9593         * commandtags.h: rename to ...
9594
9595         * lfuns.h: ... this, and renumber / cleanup
9596
9597 2003-03-19  John Levon  <levon@movementarian.org>
9598
9599         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9600         fit the cursor after an lfun
9601
9602         * BufferView.h:
9603         * BufferView.C:
9604         * BufferView_pimpl.h:
9605         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9606
9607         * LyXAction.C: layout-character should have ReadOnly
9608
9609         * ParagraphParameters.C:
9610         * buffer.C:
9611         * bufferview_funcs.C:
9612         * lyx_cb.C:
9613         * lyxfind.C:
9614         * lyxtext.h:
9615         * text.C:
9616         * text2.C:
9617         * text3.C:
9618         * undo_funcs.C: changes from above
9619
9620 2003-03-18  John Levon  <levon@movementarian.org>
9621
9622         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9623         remove it from update()
9624
9625         * lyxfunc.C: update layout choice after an lfun
9626
9627         * text3.C: remove extra updateLayoutChoice()s
9628
9629 2003-03-18  John Levon  <levon@movementarian.org>
9630
9631         * text.C: top_y change means full repaint, fix
9632         a drawing bug with cursor movement
9633
9634 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9635
9636         * lyxtext.h:
9637         * text.C:
9638         * text2.C: anchor row on setCursor
9639
9640 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9641
9642         * lyxtext.h: remove almost all mutable keywords
9643         * text.C:
9644         * text2.C:
9645         * text3.C: remove const keywords accordingly
9646
9647 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9648
9649         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9650         anon namespace
9651         (TeXEnvironment): ditto
9652         (TeXOnePar): ditto
9653
9654 2003-03-17  John Levon  <levon@movementarian.org>
9655
9656         * text.C (rowBreakPoint): remove attempt to fix displayed
9657         math insets inside a manual label
9658
9659 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9660
9661         * lyxtext.h: remove BufferView* as first arg from almost all class
9662         functions.
9663         * other files: adjust.
9664
9665 2003-03-17  John Levon  <levon@movementarian.org>
9666
9667         * lyxtext.h:
9668         * undo_funcs.C:
9669         * text2.C: more paint cleanups
9670
9671         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9672
9673         * rowpainter.h:
9674         * rowpainter.C: remove "smart" background painting code
9675
9676 2003-03-16  John Levon  <levon@movementarian.org>
9677
9678         * lyxtext.h:
9679         * text.C:
9680         * text2.C:
9681         * text3.C: add helper functions for setting refresh_row/y
9682
9683 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
9684
9685         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9686         newline inset which *can* get inserted in the pass_thru layouts.
9687         This is primarily for literate documents.
9688
9689 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
9690
9691         * buffer.C: increment LYX_FORMAT to 223
9692
9693 2003-03-14 André Pönitz <poenitz@gmx.net>
9694
9695         * textclass.h: prepare for environment handling, ws changes
9696         * lyxlayout.C: read latexheader and latexfooter tags
9697
9698 2003-03-14  John Levon  <levon@movementarian.org>
9699
9700         * text2.C: rewrite ::status() a bit
9701
9702 2003-03-13  John Levon  <levon@movementarian.org>
9703
9704         * lyxtext.h: add some docs
9705
9706 2003-03-13  John Levon  <levon@movementarian.org>
9707
9708         * lyxtext.h:
9709         * text.C:
9710         * text2.C:
9711         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9712
9713 2003-03-13  John Levon  <levon@movementarian.org>
9714
9715         * text3.C: fix appendix redrawing
9716
9717 2003-03-13  John Levon  <levon@movementarian.org>
9718
9719         * text.C (setHeightOfRow):
9720         * rowpainter.h:
9721         * rowpainter.C: make appendix mark have the text
9722           "Appendix" so the user knows what it is
9723
9724         * LColor.h:
9725         * LColor.C: s/appendixline/appendix/ from above
9726
9727 2003-03-13  John Levon  <levon@movementarian.org>
9728
9729         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9730
9731         * text.C: fix a getChar(pos) bug properly
9732
9733 2003-03-13  Angus Leeming  <leeming@lyx.org>
9734
9735         * commandtags.h:
9736         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9737         Probably only temporary. Let's see how things pan out.
9738
9739         * BufferView.C (unlockInset):
9740         * BufferView_pimpl.C (fitCursor):
9741         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9742
9743         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9744         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9745
9746         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9747         new functions that convert ParagraphParameters to and from a string.
9748
9749         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9750         BufferView::Pimpl's dispatch.
9751         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9752
9753 2003-03-13 André Pönitz <poenitz@gmx.net>
9754
9755         * lyxfunc.C:
9756         * text3.C:
9757         * factory.C: make it aware of InsetEnv
9758
9759 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
9760
9761         * text2.C (setCursor): never ask for one past last
9762         (setCursor): add some debugging messages.
9763
9764         * text.C (singleWidth): never ask for one past last
9765         (singleWidth): ditto
9766         (leftMargin): ditto
9767         (rightMargin): ditto
9768         (rowBreakPoint): ditto
9769         (setHeightOfRow): ditto
9770         (prepareToPrint): ditto
9771
9772         * rowpainter.C (paintBackground): never ask for one past last
9773         (paintText): never ask for one past last
9774
9775         * paragraph_pimpl.C (getChar): make the assert stricter, never
9776         allow the one past last pos to be taken
9777
9778         * paragraph.C (getChar): ws changes only
9779
9780         * lyxrow.C (nextRowIsAllInset): never ask for one past last
9781         (numberOfSeparators): ditto
9782         (numberOfHfills): ditto
9783
9784 2003-03-12  John Levon  <levon@movementarian.org>
9785
9786         * author.h:
9787         * author.C:
9788         * bufferparams.h:
9789         * bufferparams.C:
9790         * paragraph_funcs.C: fix per-buffer authorlists
9791
9792 2003-03-12  John Levon  <levon@movementarian.org>
9793
9794         * text.C: fix newline in right address
9795
9796 2003-03-12  Angus Leeming  <leeming@lyx.org>
9797
9798         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9799         duplicate those in LyXFunc::dispatch.
9800
9801         * commandtags.h:
9802         * LyXAction.C:
9803         * ToolbarDefaults.C:
9804         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9805         Add LFUN_FONTFREE_UPDATE.
9806
9807         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9808         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9809
9810         * bufferview_func.[Ch]: several new functions to facilliate
9811         transfer of data to and from the character dialog.
9812
9813 2003-03-12  John Levon  <levon@movementarian.org>
9814
9815         * buffer.C:
9816         * paragraph.h:
9817         * paragraph.C:
9818         * paragraph_funcs.C:
9819         * paragraph_pimpl.C:
9820         * sgml.C:
9821         * tabular.C:
9822         * text.C:
9823         * text3.C: remove META_NEWLINE in favour of an inset
9824
9825         * rowpainter.h:
9826         * rowpainter.C: remove paintNewline (done by inset)
9827
9828 2003-03-12  John Levon  <levon@movementarian.org>
9829
9830         * paragraph_pimpl.C: complain about bad getChar()s
9831         for a while at least
9832
9833 2003-03-12  John Levon  <levon@movementarian.org>
9834
9835         * buffer.h:
9836         * buffer.C: move paragraph read into a separate function,
9837         a little renaming to reflect that.
9838
9839         * bufferparams.h:
9840         * bufferparams.C: remove the author_ids map, not necessary now
9841
9842         * factory.h:
9843         * factory.C: moved Buffer::readInset to here
9844
9845         * paragraph_funcs.h:
9846         * paragraph_funcs.C: readParagraph free function moved from
9847         buffer.C
9848
9849         * tabular.C: name change
9850
9851 2003-03-12  John Levon  <levon@movementarian.org>
9852
9853         * buffer.C:
9854         * ParagraphParameters.C: move par params input to
9855         a read() method
9856
9857         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9858         behave like a normal read from the stream wrt reading
9859         a line vs. a \\token
9860
9861 2003-03-12  John Levon  <levon@movementarian.org>
9862
9863         * paragraph.C:
9864         * ParagraphParameters.h:
9865         * ParagraphParameters.C: move output code to a
9866         ::write() method
9867
9868 2003-03-12  John Levon  <levon@movementarian.org>
9869
9870         * BufferView.C (insertLyXFile):
9871         * buffer.h:
9872         * buffer.C:
9873         * tabular.C: use a parlist iterator for creating the
9874           document.
9875
9876 2003-03-12  John Levon  <levon@movementarian.org>
9877
9878         * buffer.C: make current_change static local not
9879           static file-scope
9880
9881 2003-03-12  John Levon  <levon@movementarian.org>
9882
9883         * buffer.C: fix insertStringAsLines for change tracking
9884
9885 2003-03-12  John Levon  <levon@movementarian.org>
9886
9887         * BufferView.C:
9888         * tabular.C:
9889         * buffer.h:
9890         * buffer.C:
9891         * bufferparams.h:
9892         * bufferparams.C: move author list into params. Rename some
9893           functions. Move the header reading into a separate token
9894           loop. Move the header token reading into BufferParams.
9895
9896 2003-03-12  John Levon  <levon@movementarian.org>
9897
9898         * changes.C: put debug inside lyxerr.debugging() checks
9899
9900 2003-03-11 André Pönitz <poenitz@gmx.net>
9901
9902         * factory.C: make it aware of InsetHFill
9903
9904 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9905
9906         * buffer.C (latexParagraphs): move function from here...
9907         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9908         args.
9909
9910 2003-03-10  Angus Leeming  <leeming@lyx.org>
9911
9912         * LyXAction.C (init): fix bug in poplating array with multiple entries
9913         with the same LFUN (spotted by JMarc).
9914
9915 2003-03-10  John Levon  <levon@movementarian.org>
9916
9917         * text.C:
9918         * text2.C: move getColumnNearX() near its
9919         only call site
9920
9921 2003-03-10  John Levon  <levon@movementarian.org>
9922
9923         * text.C: fix break before a minipage
9924
9925 2003-03-10  John Levon  <levon@movementarian.org>
9926
9927         * text.C: fix the last commit
9928
9929 2003-03-09  John Levon  <levon@movementarian.org>
9930
9931         * lyxtext.h:
9932         * text.C:
9933         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9934         bug 365 (don't break before insets unless needed). Don't
9935         return a value > last under any circumstances.
9936
9937 2003-03-09  Angus Leeming  <leeming@lyx.org>
9938
9939         * BufferView_pimpl.C (trackChanges, dispatch): call
9940         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9941
9942 2003-03-09  Angus Leeming  <leeming@lyx.org>
9943
9944         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9945         than Dialogs::showAboutlyx().
9946
9947 2003-03-09  Angus Leeming  <leeming@lyx.org>
9948
9949         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9950         than Dialogs::showTabularCreate().
9951
9952 2003-03-09  John Levon  <levon@movementarian.org>
9953
9954         * lyxtext.h:
9955         * text.C:
9956         * text2.C: 3rd arg to nextBreakPoint was always the same.
9957           Use references.
9958
9959 2003-03-08  John Levon  <levon@movementarian.org>
9960
9961         * lyxrow.C:
9962         * paragraph.C:
9963         * paragraph.h:
9964         * rowpainter.C:
9965         * text.C:
9966         * text2.C: Remove the "main" bit from the "main body"
9967           notion.
9968
9969 2003-03-08  John Levon  <levon@movementarian.org>
9970
9971         * text.C (leftMargin): The left margin of an empty
9972         manual label paragraph should not include the label width
9973         string length.
9974
9975         * text.C (prepareToPrint): don't attempt to measure hfills
9976         for empty manual label paragraphs - the answer should be 0
9977
9978 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9979
9980         * CutAndPaste.C: remove commented code and reindent.
9981
9982 2003-03-08  John Levon  <levon@movementarian.org>
9983
9984         * lyxfunc.h:
9985         * lyxfunc.C: move reloadBuffer()
9986
9987         * BufferView.h:
9988         * BufferView.C: to here
9989
9990         * lyxvc.C: add comment
9991
9992         * vc-backend.h:
9993         * vc-backend.C: call bv->reload() to avoid
9994           getStatus() check on MENURELOAD
9995
9996 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
9997
9998         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9999         to an old format .dep file.
10000
10001 2003-03-07  Angus Leeming  <leeming@lyx.org>
10002
10003         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
10004         when the LFUN_MOUSE_RELEASE should have been handled by
10005         inset->localDispatch.
10006
10007 2003-03-07  Angus Leeming  <leeming@lyx.org>
10008
10009         * BufferView_pimpl.C (dispatch):
10010         * LyXAction.C (init):
10011         * ToolbarDefaults.C (init):
10012         * commandtags.h:
10013         * lyxfunc.C (getStatus):
10014         remove LFUN_INSET_GRAPHICS.
10015
10016         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
10017
10018 2003-03-07  Angus Leeming  <leeming@lyx.org>
10019
10020         * commandtags.h:
10021         * LyXAction.C (init):
10022         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
10023
10024         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
10025
10026         * commandtags.h:
10027         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
10028
10029         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
10030         localDispatch method LFUN_INSET_DIALOG_UPDATE.
10031
10032 2003-03-07  Angus Leeming  <leeming@lyx.org>
10033
10034         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
10035         remove "ert".
10036
10037 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10038
10039         * ParagraphList.C (front): new function
10040         (back): implement
10041
10042 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
10043
10044         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
10045         and top_row_offset_. removed var first_y.
10046         * text.C (top_y):
10047         * text2.C (LyXText, removeRow):
10048         * text3.C:
10049         * BufferView_pimpl.C:
10050         use these methods instead of using first_y
10051
10052 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10053
10054         * text2.C (pasteSelection): adjust for checkPastePossible
10055
10056         * CutAndPaste.C: remove Paragraph * buf and replace with
10057         ParagraphList paragraphs.
10058         (DeleteBuffer): delete
10059         (cutSelection): change the tc type to textclass_type
10060         (copySelection): change the tc type to textclass_type
10061         (copySelection): adjust for ParagraphList
10062         (pasteSelection): change the tc type to textclass_type
10063         (pasteSelection): adjust for Paragraphlist
10064         (nrOfParagraphs): simplify for ParagraphList
10065         (checkPastePossible): simplify for ParagraphList
10066         (checkPastePossible): remove unused arg
10067
10068         * ParagraphList.C (insert): handle the case where there are no
10069         paragraphs yet.
10070
10071         * CutAndPaste.h: make CutAndPaste a namespace.
10072
10073         * text3.C (dispatch): adjust
10074
10075         * text.C (breakParagraph): add a ParagraphList as arg
10076
10077         * paragraph_funcs.C (breakParagraph): change to take a
10078         BufferParams and a ParagraphList as args.
10079         (breakParagraphConservative): ditto
10080         (mergeParagraph): ditto
10081         (TeXDeeper): add a ParagraphList arg
10082         (TeXEnvironment): ditto
10083         (TeXOnePar): ditto
10084
10085         * buffer.C (readLyXformat2): adjust
10086         (insertStringAsLines): adjust
10087         (latexParagraphs): adjust
10088
10089         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
10090         (cutSelection): adjust
10091         (pasteSelection): adjust
10092
10093         * BufferView_pimpl.C (insertInset): adjust
10094
10095 2003-03-05  Angus Leeming  <leeming@lyx.org>
10096
10097         * commandtags.h:
10098         * LyXAction.C (init):
10099         * BufferView_pimpl.C (dispatch):
10100         * lyxfunc.C (getStatus):
10101         remove LFUN_CHILD_INSERT.
10102
10103         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
10104
10105 2003-03-05  Angus Leeming  <leeming@lyx.org>
10106
10107         * commandtags.h:
10108         * LyXAction.C (init):
10109         * src/factory.C (createInset):
10110         * lyxfunc.C (getStatus):
10111         * text3.C (dispatch):
10112         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
10113
10114         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
10115
10116 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10117
10118         * ParagraphList.C (insert): handle insert right before end()
10119         (erase): fix cases where it can be first or last paragraph.
10120
10121 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10122
10123         * paragraph_funcs.C (TeXEnvironment): remove all usage of
10124         Paragraph::next and Paragraph::previous
10125         (TeXOnePar): ditto
10126
10127         * text.C (breakParagraph): adjust
10128
10129         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
10130         BufferParams& as arg.
10131         (breakParagraph): use ParagraphList::insert
10132         (breakParagraphConservative): take a Buffer* instead of a
10133         BufferParams& as arg.
10134         (breakParagraphConservative): use ParagraphList::insert.
10135
10136         * buffer.C (insertStringAsLines): un-const it
10137         (insertStringAsLines): adjust
10138
10139         * ParagraphList.C (insert): new function
10140
10141         * CutAndPaste.C (pasteSelection): adjust
10142
10143         * text.C (backspace): adjust
10144
10145         * tabular.C (SetMultiColumn): adjust
10146
10147         * CutAndPaste.C (cutSelection): adjust
10148         (pasteSelection): adjust
10149
10150         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
10151         Buffer const * as arg
10152
10153         * ParagraphList.C (erase): new function
10154         * paragraph_funcs.C (mergeParagraph): use it
10155         (mergeParagraph): make it take a Buffer* instead of a
10156         BufferParams* as arg
10157
10158         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
10159         as arg
10160         (breakParagraphConservative): ditto
10161
10162         * paragraph.h: remove the breakParagraph friend
10163
10164         * paragraph.C (eraseIntern): new function
10165         (setChange): new function
10166
10167         * paragraph_funcs.C (mergeParagraph): make it take a
10168         ParagraphList::iterator instead of a Paragraph *, adjust
10169         accordingly.
10170
10171         * paragraph.h: move an #endif so that the change tracking stuff
10172         also works in the NO_NEXT case.
10173
10174 2003-03-04  Angus Leeming  <leeming@lyx.org>
10175
10176         * commandtags.h:
10177         * LyXAction.C: new LFUN_INSET_MODIFY.
10178
10179         * BufferView_pimpl.C (dispatch): if an inset is found to be open
10180         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
10181
10182 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10183
10184         * several files: ws changes only
10185
10186         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
10187         (TeXEnvironment): ditto
10188         (TeXDeeper): ditto
10189
10190         * buffer.C (makeLaTeXFile): adjust
10191         (latexParagraphs): make it take ParagraphList::iterator as args
10192
10193 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
10194
10195         * buffer.C (latexParagraphs): adjust
10196
10197         * paragraph.C (TeXOnePar): move function...
10198         (optArgInset): move function...
10199         (TeXEnvironment): move function...
10200         * paragraph_pimpl.C (TeXDeeper): move function...
10201         * paragraph_funcs.C: ...here
10202
10203         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
10204
10205 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10206
10207         * buffer.C (readInset): remove compability code for old Figure and
10208         InsetInfo insets
10209
10210 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10211
10212         * buffer.C: ws changes
10213         (readInset):
10214
10215         * BufferView_pimpl.C: ditto
10216         * author.C: ditto
10217         * buffer.h: ditto
10218         * bufferlist.h: ditto
10219         * changes.h: ditto
10220         * lyxfunc.C: ditto
10221
10222 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
10223
10224         * converter.[Ch]: split into itself +
10225         * graph.[Ch]
10226         * format.[Ch]
10227         * Makefile.am: += graph.[Ch] + format.[Ch]
10228         * MenuBackend.C
10229         * buffer.C
10230         * exporter.C
10231         * importer.C
10232         * lyx_main.C
10233         * lyxfunc.C
10234         * lyxrc.C: added #include "format.h"
10235
10236 2003-02-27  Angus Leeming  <leeming@lyx.org>
10237
10238         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
10239           a label.
10240
10241         * factory.C (createInset): add "label" to the factory.
10242
10243         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
10244           string and do no more.
10245
10246 2003-02-27  Angus Leeming  <leeming@lyx.org>
10247
10248         * commandtags.h:
10249         * LyXAction.C (init):
10250         * factory.C (createInset):
10251         * BufferView_pimpl.C (dispatch):
10252           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
10253
10254         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
10255
10256         * lyxfunc.C (dispatch):
10257         * text3.C (dispatch): pass name to params2string.
10258
10259 2003-02-26  Angus Leeming  <leeming@lyx.org>
10260
10261         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
10262           blocks together.
10263           Rearrange the ~includes. Strip out the unnecessary ones.
10264
10265         * factory.C (createInset): reformat.
10266           create new insets for the various LFUN_XYZ_APPLY lfuns.
10267
10268 2003-02-26  John Levon  <levon@movementarian.org>
10269
10270         * lyxrow.h:
10271         * lyxrow.C: add isParStart,isParEnd helpers
10272
10273         * paragraph.h: make isInserted/DeletedText take refs
10274
10275         * paragraph_funcs.h:
10276         * paragraph_funcs.C: remove #if 0'd code
10277
10278         * lyxtext.h:
10279         * text3.C:
10280         * text2.C:
10281         * text.C: use lyxrow helpers above.
10282           Move draw and paint routines to RowPainter.
10283           Make several methods use refs not pointers.
10284           Make backgroundColor() const.
10285           Add markChangeInDraw(), isInInset().
10286           Merge changeRegionCase into changeCase.
10287           Make workWidth() shouldn't-happen code into an Assert.
10288
10289         * rowpainter.h:
10290         * rowpainter.C: new class for painting a row.
10291
10292         * vspace.h:
10293         * vspace.C: make inPixels take a ref
10294
10295 2003-02-26  Angus Leeming  <leeming@lyx.org>
10296
10297         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
10298         LFUN_REF_APPLY.
10299
10300 2003-02-25  John Levon  <levon@movementarian.org>
10301
10302         * ispell.C: give the forked command a more accurate name
10303
10304 2003-02-22  John Levon  <levon@movementarian.org>
10305
10306         * toc.h:
10307         * toc.C: make TocItem store an id not a Paragraph *
10308           (bug #913)
10309
10310 2003-02-21  Angus Leeming  <leeming@lyx.org>
10311
10312         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
10313           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
10314           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
10315           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
10316           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
10317           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
10318
10319         * BufferView_pimpl.C (dispatch):
10320         * LyXAction.C (init):
10321         * factory.C (createInset):
10322         * lyxfunc.C (getStatus, dispatch):
10323         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
10324
10325 2003-02-21  Angus Leeming  <leeming@lyx.org>
10326
10327         * BufferView_pimpl.C (MenuInsertLyXFile):
10328         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
10329         * lyxfunc.C (menuNew, open, doImport):
10330           no longer pass a LyXView & to fileDlg.
10331
10332 2003-02-21  Angus Leeming  <leeming@lyx.org>
10333
10334         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
10335         * LyXAction.C: change, BIBKEY to BIBITEM.
10336         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
10337         Change InsetBibKey to InsetBibitem.
10338         Change BIBKEY_CODE to BIBITEM_CODE.
10339         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10340         * factory.C: replace insetbib.h with insetbibitem.h.
10341         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10342         * paragraph.C: replace insetbib.h with insetbibitem.h.
10343         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
10344         Change bibkey() to bibitem().
10345         * text.C: remove insetbib.h.
10346         * text2.C: replace insetbib.h with insetbibitem.h.
10347         change bibkey() to bibitem().
10348         * text3.C: remove insetbib.h.
10349         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10350
10351 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10352
10353         * lyxrc.C (output): enclose user email in quotes (in case there are
10354         several words)
10355
10356 2003-02-18  John Levon  <levon@movementarian.org>
10357
10358         * buffer.h: add std::
10359
10360 2003-02-17  John Levon  <levon@movementarian.org>
10361
10362         * SpellBase.h:
10363         * ispell.h:
10364         * ispell.C:
10365         * pspell.h:
10366         * pspell.C: reworking. Especially in ispell, a large
10367           number of clean ups and bug fixes.
10368
10369         * lyxfunc.C: fix revert to behave sensibly
10370
10371 2003-02-17 André Pönitz <poenitz@gmx.net>
10372
10373         * LyXAction.C:
10374         * commandtags.h: new LFUN_INSERT_BIBKEY
10375
10376         * layout.h:
10377         * lyxlayout.C:
10378         * buffer.C:
10379         * factory.C:
10380         * text.C:
10381         * text2.C:
10382         * text3.C:
10383         * paragraph.[Ch]:
10384         * paragraph_func.C: remove special bibkey handling
10385
10386 2003-02-17  John Levon  <levon@movementarian.org>
10387
10388         * text.C (Delete): fix case where delete at the end of
10389           the very first paragraph would not merge the pars
10390
10391 2003-02-17  John Levon  <levon@movementarian.org>
10392
10393         * lyxrow.C: fix lastPrintablePos()
10394
10395 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10396
10397         * bufferparams.C (writeLaTeX): add a std:here
10398
10399         * buffer.C: and remove a using directive there
10400
10401 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10402
10403         * buffer.C (makeLaTeXFile): move the code that generates the
10404           preamble...
10405
10406         * bufferparams.C (writeLaTeX): ... in this new method
10407
10408         * LaTeXFeatures.C (getEncodingSet): make const
10409           (getLanguages): make const
10410
10411         * MenuBackend.C (binding): returns the binding associated to this
10412           action
10413           (add): sets the status of each item by calling getStatus. Adds
10414           some intelligence.
10415           (read): add support for OptSubMenu
10416           (expand): remove extra separator at the end of expanded menu
10417
10418 2003-02-15  John Levon  <levon@movementarian.org>
10419
10420         * BufferView.C:
10421         * BufferView_pimpl.C:
10422         * bufferlist.h:
10423         * bufferlist.C: remove pointless BufferStorage bloat. Remove
10424           inset code that had no actual effect. Remove unneeded status
10425           code.
10426
10427 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10428
10429         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10430           in preamble
10431
10432 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
10433
10434         * text.C (drawLengthMarker): also draw an arrow marker for
10435           symbolic lengths (medskip...)
10436
10437 2003-02-14  John Levon  <levon@movementarian.org>
10438
10439         * tabular.h:
10440         * tabular.C: better method names
10441
10442 2003-02-14  John Levon  <levon@movementarian.org>
10443
10444         * BufferView_pimpl.C:
10445         * bufferlist.C:
10446         * buffer.C:
10447         * converter.C:
10448         * lyx_cb.C:
10449         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10450           it's a more accurate name. Remove some pointless uses.
10451
10452 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10453
10454         * text2.C (LyXText): change order of initilizers to shut off
10455           warnings
10456
10457 2003-02-14  John Levon  <levon@movementarian.org>
10458
10459         * buffer.C: use ParIterator for getParFromID()
10460
10461         * paragraph.h:
10462         * paragraph.C:
10463         * paragraph_pimpl.h:
10464         * paragraph_pimpl.C: remove unused getParFromID()
10465
10466 2003-02-14  John Levon  <levon@movementarian.org>
10467
10468         * buffer.C: remove some very old #if 0'd parse code
10469
10470 2003-02-13  John Levon  <levon@movementarian.org>
10471
10472         * text.h:
10473         * text.C:
10474         * text2.C: move hfillExpansion(), numberOfSeparators(),
10475           rowLast(), rowLastPrintable(), numberofHfills(),
10476           numberOfLabelHfills() ...
10477
10478         * lyxrow.h:
10479         * lyxrow.C: ... to member functions here.
10480
10481         * paragraph.h:
10482         * paragraph.C:
10483         * lyxtext.h:
10484         * text.C: remove LyXText::beginningOfMainBody(), and call
10485           p->beginningOfMainBody() directly. Move the check for
10486           LABEL_MANUAL into the latter.
10487
10488         * text.h:
10489         * text.C:
10490         * text2.C:
10491         * vspace.C:
10492         * BufferView.h:
10493         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10494
10495         * text.h:
10496         * text.C:
10497         * text2.C:
10498         * text3.C:
10499         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10500           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10501
10502 2003-02-13  John Levon  <levon@movementarian.org>
10503
10504         * CutAndPaste.C: remove debug
10505
10506 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10507
10508         * paragraph.C (asString): remove two unused variables
10509
10510         * lyxtextclass.C (readTitleType):
10511           (Read):
10512           (LyXTextClass): handle new members titletype_ and titlename_
10513
10514         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10515
10516 2003-02-09  John Levon  <levon@movementarian.org>
10517
10518         * buffer.h:
10519         * buffer.C: replace hand-coded list with a map for the dep clean
10520
10521 2003-02-08  John Levon  <levon@movementarian.org>
10522
10523         * LaTeX.C: consolidate code into showRunMessage() helper
10524
10525 2003-02-08  John Levon  <levon@movementarian.org>
10526
10527         * lyxfind.C:
10528         * lyxtext.h:
10529         * text2.C:
10530         * BufferView.C: change setSelectionOverString() to setSelectionRange()
10531           and pass the size in explicitly
10532
10533         * BufferView_pimpl.h:
10534         * BufferView_pimpl.C:
10535         * BufferView.h:
10536         * BufferView.C: add getCurrentChange()
10537
10538         * BufferView_pimpl.h:
10539         * BufferView_pimpl.C: handle change lfuns
10540
10541         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10542           for changes. Mark pasted paragraphs as new.
10543
10544         * support/lyxtime.h:
10545         * support/lyxtime.C:
10546         * DepTable.C: abstract time_t as lyx::time_type
10547
10548         * LColor.h:
10549         * LColor.C: add colours for new text, deleted text, changebars
10550
10551         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10552           package use "usenames" option.
10553
10554         * commandtags.h:
10555         * lyxfunc.C:
10556         * LyXAction.C: add change lfuns
10557
10558         * Makefile.am:
10559         * author.h:
10560         * author.C: author handling
10561
10562         * buffer.h:
10563         * buffer.C: add a per-buffer author list, with first entry as
10564           current author. Handle new .lyx tokens for change tracking. Output
10565           author list to .lyx file. Output dvipost stuff to .tex preamble.
10566           Bump lyx format to 222.
10567
10568         * bufferlist.h:
10569         * bufferlist.C: add setCurrentAuthor() to reset current author details
10570           in all buffers.
10571
10572         * bufferparams.h:
10573         * bufferparams.C: add param for tracking
10574
10575         * bufferview_funcs.C: output change info in minibuffer
10576
10577         * Makefile.am:
10578         * changes.h:
10579         * changes.C: add change-tracking structure
10580
10581         * debug.h:
10582         * debug.C: add CHANGES debug flag
10583
10584         * lyxfind.h:
10585         * lyxfind.C: add code for finding the next change piece
10586
10587         * lyxrc.h:
10588         * lyxrc.C: add user_name and user_email
10589
10590         * lyxrow.h:
10591         * lyxrow.C: add a metric for the top of the text line
10592
10593         * lyxtext.h:
10594         * text.C: implement accept/rejectChange()
10595
10596         * lyxtext.h:
10597         * text.C: paint changebars. Paint new/deleted text in the chosen
10598         colours. Strike through deleted text.
10599
10600         * paragraph.h:
10601         * paragraph.C:
10602         * paragraph_pimpl.h:
10603         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10604           in the current change to the insert functions. Rework erase to
10605           mark text as deleted, adding an eraseIntern() and a range-based
10606           erase(). Implement per-paragraph change lookup and
10607           accept/reject.
10608
10609         * paragraph_funcs.C: Fixup paste for change tracking.
10610
10611         * tabular.C: mark added row/columns as new.
10612
10613         * text.C: fix rowLast() to never return -1. Don't allow
10614           spellchecking of deleted text. Track transpose changes. Don't
10615           allow paragraph break or merge where appropriate.
10616
10617         * text2.C: leave cursor at end of selection after a cut.
10618
10619 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10620
10621         * text.C (getLengthMarkerHeight):
10622         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10623         visible on screen too.
10624
10625 2003-02-07  John Levon  <levon@movementarian.org>
10626
10627         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10628
10629 2003-02-05  Angus Leeming  <leeming@lyx.org>
10630
10631         * lyxserver.C (read_ready): revert my patch of 11 September last year
10632         as it sends PC cpu through the roof. Presumably this means that
10633         the lyxserver will no longer run on an Alpha...
10634
10635 2003-01-30  Angus Leeming  <leeming@lyx.org>
10636
10637         * factory.C (createInset): create an InsetCommandParam of type "index"
10638         and use it to 'do the right thing'.
10639
10640         * text2.C (getStringToIndex): ensure that cursor position is always
10641         reset to the reset_cursor position.
10642
10643 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10644
10645         * lyxfunc.C (getStatus): "buffer-export custom" should never be
10646         disabled.
10647
10648 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
10649
10650         * bufferview.C:
10651         * lyxcb.C:
10652         * lyxfunc.C: Output messages with identical spelling, punctuation,
10653         and spaces
10654
10655 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
10656
10657         * MenuBackend.C (expandFormats): List only viewable export formats
10658         in "View" menu
10659
10660         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10661         message
10662
10663         * lyxfunc.C (getStatus): Make sure that formats other than
10664         "fax" can also be disabled
10665
10666 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10667
10668         * text3.C (dispatch): put the lfuns that insert insets in 3
10669         groups, and call doInsertInset with appropriate arguments.
10670         (doInsertInset): new function, that creates an inset and inserts
10671         it according to some boolean parameters.
10672
10673 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
10674
10675         * buffer.C (readFile): remember to pass on 'par' when calling
10676         readFile recursively.
10677
10678 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10679
10680         * MenuBackend.C (expandFormats): add "..." to import formats.
10681
10682 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
10683
10684         * paragraph.C (asString): Remove XForms RTL hacks.
10685
10686 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
10687         * buffer.C: fix typo
10688
10689 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10690
10691         * Makefile.am (LIBS): delete var
10692         (lyx_LDADD): add @LIBS@ here instead.
10693
10694 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
10695
10696         * Clarify the meaning of "wheel mouse jump"
10697
10698 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10699
10700         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10701         tabular in a float
10702
10703 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10704
10705         * importer.C (Loaders): do not preallocate 3 elements in the
10706         vector, since one ends up with 6 elements otherwise
10707
10708 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10709
10710         * DepTable.C (write): write the file name as last element of the
10711         .dep file (because it may contain spaces)
10712         (read): read info in the right order
10713
10714 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10715
10716         * paragraph_pimpl.C (simpleTeXBlanks):
10717         (simpleTeXSpecialChars):
10718         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10719
10720         * tabular.C (latex): add some missing case statements. Reindent.
10721
10722         * MenuBackend.C (expandToc): remove unused variable.
10723
10724 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
10725
10726         * LColor.C:
10727         * LaTeX.C:
10728         * LyXAction.C:
10729         * MenuBackend.C:
10730         * buffer.C:
10731         * exporter.C:
10732         * lyxfunc.C:
10733         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10734         and the like.
10735
10736 2003-01-05  John Levon  <levon@movementarian.org>
10737
10738         * BufferView.h:
10739         * BufferView.C: add getEncoding()
10740
10741         * kbsequence.h:
10742         * kbsequence.C: do not store last keypress
10743
10744         * lyxfunc.h:
10745         * lyxfunc.C: store last keypress here instead. Pass encoding
10746           to getISOEncoded()
10747
10748 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10749
10750         * lyx_main.C (init): remove annoying error message when following
10751         symbolic links (bug #780)
10752
10753 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10754
10755         * text.C (insertChar):
10756         * lyxrc.C (getDescription): remove extra spaces
10757
10758 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10759
10760         * lyxrc.C (getDescription): remove extra spaces
10761
10762 2002-12-20  John Levon  <levon@movementarian.org>
10763
10764         * text3.C: hack fix for page up/down across tall rows
10765
10766 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10767
10768         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10769         not been invoked
10770
10771 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10772
10773         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10774         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10775         thesaurus is not compiled in
10776
10777 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
10778
10779         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
10780
10781 2002-12-16  Angus Leeming  <leeming@lyx.org>
10782
10783         * lyxrc.[Ch]:
10784         * lyx_main.C (init): remove override_x_deadkeys stuff.
10785
10786 2002-12-12  John Levon  <levon@movementarian.org>
10787
10788         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10789           insert. Only remove shift modifier under strict
10790           circumstances.
10791
10792 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
10793
10794         * MenuBackend.C (expandToc): fix crash.
10795
10796 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
10797
10798         * MenuBackend.C (expandToc): gettext on float names.
10799
10800 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
10801
10802         * lyxlength.[Ch]: set default unit to UNIT_NONE,
10803         implement bool empty() [bug 490]
10804
10805 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10806
10807         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10808
10809 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10810
10811         * several files: ws changes
10812
10813 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10814
10815         * text2.C (setCounter): clean up a bit, use boost.format.
10816         (updateCounters): initialize par upon declaration.
10817
10818         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10819         if the layout exists. We do not just store the layout any more.
10820         (SwitchLayoutsBetweenClasses): use boost.format
10821
10822 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10823
10824         * converter.C (convert): if from and to files are the same, use a
10825         temporary files as intermediary
10826
10827 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10828
10829         * commandtags.h:
10830         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10831
10832 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10833
10834         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10835
10836 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
10837
10838         * tabular.C (asciiPrintCell): use string(size, char) instead of
10839         explicit loop.
10840
10841         * sgml.C (openTag): fix order of arguments to string constructor
10842         (closeTag): ditto
10843
10844         * lyxfunc.C (dispatch): use boost.format
10845
10846         * lots of files: change "c" -> 'c'
10847
10848 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10849
10850         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10851
10852 2002-11-25  Angus Leeming  <leeming@lyx.org>
10853
10854         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10855
10856         * lyx_main.C (init): compile fix.
10857
10858 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
10859
10860         * lyx_cb.C (start): boost.formatify
10861         do not include <iostream>
10862
10863         * lengthcommon.C: ws only
10864
10865         * boost-inst.C,BoostFormat.h: add more explict instantations
10866
10867 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
10868
10869         * lots of files: handle USE_BOOST_FORMAT
10870
10871 2002-11-21  John Levon  <levon@movementarian.org>
10872
10873         * pspell.C: fix compile
10874
10875 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10876
10877         * lyxfunc.C (dispatch): use boost::format
10878         (open): ditto
10879         (doImport): ditto
10880
10881         * lyxfont.C (stateText): use boost::format
10882
10883         * lyx_main.C (LyX): use boost::format
10884         (init): ditto
10885         (queryUserLyXDir): ditto
10886         (readRcFile): ditto
10887         (parse_dbg): ditto
10888         (typedef boost::function): use the recommened syntax.
10889
10890         * importer.C (Import): use boost::format
10891
10892         * debug.C (showLevel): use boost::format
10893
10894         * converter.C (view): use boost::format
10895         (convert): ditto
10896         (move): ditto
10897         (scanLog): ditto
10898
10899         * bufferview_funcs.C (currentState): use boost::format
10900
10901         * bufferlist.C (emergencyWrite): use boost::format
10902
10903         * buffer.C (readLyXformat2): use boost::format
10904         (parseSingleLyXformat2Token): ditto
10905
10906         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10907
10908         * LaTeX.C (run): use boost::format
10909
10910         * Chktex.C (scanLogFile): use boost::format
10911
10912         * BufferView_pimpl.C (savePosition): use boost::format
10913         (restorePosition): ditto
10914         (MenuInsertLyXFile): ditto
10915
10916         * BoostFormat.h: help file for explicit instation.
10917
10918 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
10919
10920         * tabular.C (latex): Support for block alignment in fixed width
10921         columns.
10922
10923 2002-11-17  John Levon  <levon@movementarian.org>
10924
10925         * BufferView_pimpl.C:
10926         * lyx_cb.C:
10927         * lyxfunc.C: split filedialog into open/save
10928
10929 2002-11-08  Juergen Vigna  <jug@sad.it>
10930
10931         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10932         by my last patch (hopefully).
10933
10934 2002-11-08  John Levon  <levon@movementarian.org>
10935
10936         * iterators.h:
10937         * iterators.C:
10938         * buffer.h:
10939         * buffer.C:
10940         * paragraph.h:
10941         * paragraph.C:
10942         * toc.h:
10943         * toc.C: ParConstIterator, and use it (from Lars)
10944
10945 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
10946
10947         * lyxtextclass.[Ch]: revise and add doxygen comments
10948
10949 2002-11-07  John Levon  <levon@movementarian.org>
10950
10951         * text.C: fix progress value for spellchecker
10952
10953         * toc.C: fix navigate menu for insetwrap inside minipage
10954
10955         * paragraph_funcs.C: added FIXME for suspect code
10956
10957 2002-11-07  John Levon  <levon@movementarian.org>
10958
10959         * BufferView_pimpl.C: fix redrawing of insets
10960           on buffer switch
10961
10962 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10963
10964         * text2.C (updateCounters): fix bug 668
10965
10966 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
10967
10968         * text3.C (dispatch): Do not make the buffer dirty when moving the
10969         cursor.
10970
10971 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10972
10973         * vc-backend.C: STRCONV
10974         (scanMaster): ditto
10975
10976         * text2.C (setCounter): STRCONV
10977
10978         * paragraph.C (asString): STRCONV
10979
10980         * lyxlength.C (asString): STRCONV
10981         (asLatexString): ditto
10982
10983         * lyxgluelength.C (asString): STRCONV
10984         (asLatexString): ditto
10985
10986         * lyxfunc.C (dispatch): STRCONV
10987         (open): ditto
10988
10989         * lyxfont.C (stateText): STRCONV
10990
10991         * importer.C (Import): STRCONV
10992
10993         * counters.C (labelItem): STRCONV
10994         (numberLabel): ditto
10995         (numberLabel): remove unused ostringstream o
10996
10997         * chset.C: STRCONV
10998         (loadFile): ditto
10999
11000         * bufferview_funcs.C (currentState): STRCONV
11001
11002         * buffer.C (readFile): STRCONV
11003         (asciiParagraph): ditto
11004         (makeLaTeXFile): ditto
11005
11006         * Spacing.C (writeEnvirBegin): STRCONV
11007
11008         * LaTeXFeatures.C (getLanguages): STRCONV
11009         (getPackages): ditto
11010         (getMacros): ditto
11011         (getBabelOptions): ditto
11012         (getTClassPreamble): ditto
11013         (getLyXSGMLEntities): ditto
11014         (getIncludedFiles): ditto
11015
11016         * LaTeX.C: STRCONV
11017         (run): ditto
11018         (scanAuxFile): ditto
11019         (deplog): ditto
11020
11021         * LString.h: add the STRCONV macros
11022
11023         * BufferView_pimpl.C (savePosition): STRCONV
11024         (restorePosition): ditto
11025         (MenuInsertLyXFile): ditto
11026
11027         * vc-backend.C (scanMaster): change from submatch[...] to
11028         submatch.str(...)
11029
11030         * funcrequest.C: include config.h
11031
11032         * factory.C: include config.h
11033
11034         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
11035
11036         * box.C: include config.h
11037
11038         * LaTeX.C (scanAuxFile): change from submatch[...] to
11039         submatch.str(...)
11040         (deplog): ditto
11041
11042 2002-10-25  Angus Leeming  <leeming@lyx.org>
11043
11044         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
11045
11046         * ispell.[Ch] (setError): new method.
11047         * ispell.C (c-tor): move out child process into new class LaunchIspell.
11048         Use setError() insetead of goto END.
11049
11050         * lyx_cb.C (AutoSave): move out child process into new class
11051         AutoSaveBuffer.
11052
11053 2002-10-30  John Levon  <levon@movementarian.org>
11054
11055         * text3.C: make start appendix undoable
11056
11057 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
11058
11059         * lyxlength.C (inPixels): Fix returned value.
11060
11061         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
11062         environment.
11063
11064 2002-10-24  Angus Leeming  <leeming@lyx.org>
11065
11066         * lyxgluelength.h: no need to forward declare BufferParams
11067         or BufferView, so don't.
11068
11069 2002-10-21  John Levon  <levon@movementarian.org>
11070
11071         * BufferView.C: menuUndo ->undo, redo
11072
11073         * BufferView.h: document, remove dead, make some methods private
11074
11075         * paragraph_funcs.h:
11076         * paragraph_funcs.C:
11077         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
11078
11079         * buffer.h:
11080         * buffer.C:
11081         * sgml.h:
11082         * sgml.C: move sgml open/close tag into sgml.C
11083
11084         * bufferview_funcs.h: unused prototype
11085
11086         * lyxfunc.h:
11087         * lyxfunc.C: remove unused
11088
11089         * lyxtext.h:
11090         * text.C: remove unused
11091
11092 2002-10-21  John Levon  <levon@movementarian.org>
11093
11094         * BufferView.h:
11095         * BufferView.C:
11096         * BufferView_pimpl.h:
11097         * BufferView_pimpl.C: fix mouse wheel handling based on
11098           patch from Darren Freeman
11099
11100 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
11101
11102         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
11103
11104 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
11105
11106         * lyxlength.C (inPixels): Fix hanfling of negative length.
11107         Fix LyXLength::MU case.
11108
11109 2002-10-16  John Levon  <levon@movementarian.org>
11110
11111         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
11112
11113 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11114
11115         * converter.C (view): add support for $$i (file name) and $$p
11116         (file path) for the viewer command. If $$i is not specified, then
11117         it is appended to the command (for compatibility with old syntax)
11118
11119 2002-10-14  Juergen Vigna  <jug@sad.it>
11120
11121         * undo_funcs.C (textHandleUndo): alter the order in which the
11122         new undopar is added to the LyXText, as we have to set first
11123         the right prev/next and then add it as otherwise the rebuild of
11124         LyXText is not correct. Also reset the cursor to the right paragraph,
11125         with this IMO we could remove the hack in "redoParagraphs()".
11126
11127 2002-10-09  Angus Leeming  <leeming@lyx.org>
11128
11129         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
11130         to turn off an optimisation if a new inset is to be inserted.
11131
11132 2002-10-11 André Pönitz <poenitz@gmx.net>
11133
11134         * lyxtext.h: make some functions public to allow access
11135         from inset/lyxtext for handling LFUN_PRIOR/NEXT
11136
11137 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11138
11139         * text3.C (dispatch): when changing layout, avoid an infinite loop
11140         [bug #652]
11141
11142 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11143
11144         * lyxrc.C (read): treat a viewer or converter command of "none" as
11145         if it were empty.
11146
11147         * MenuBackend.C (expandFormats): for an update, also allow the
11148         formats that are not viewable
11149
11150         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
11151         script if it is newer than the lyxrc.defaults in user directory
11152
11153 2002-10-07 André Pönitz <poenitz@gmx.net>
11154
11155         * text.C: Vitaly Lipatov's small i18n fix
11156
11157 2002-09-25  Angus Leeming  <leeming@lyx.org>
11158
11159         * ispell.h: doxygen fix.
11160
11161 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
11162
11163         * buffer.h (readFile): Add a new argument to the method, to allow
11164         reading of old-format templates.
11165
11166 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
11167
11168         * toc.C (getTocList): Get TOC from InsetWrap.
11169
11170 2002-09-16  John Levon  <levon@movementarian.org>
11171
11172         * lyxfunc.C: check tabular for cut/copy too
11173
11174 2002-09-12  John Levon  <levon@movementarian.org>
11175
11176         * LyXAction.C: tidy
11177
11178         * factory.h:
11179         * factory.C: add header
11180
11181         * paragraph_funcs.h:
11182         * paragraph_funcs.C: cleanup
11183
11184 2002-09-11  John Levon  <levon@movementarian.org>
11185
11186         * PrinterParams.h: odd/even default to true
11187
11188 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
11189
11190         * PrinterParams.h: update printer parameters for new xforms dialog
11191
11192 2002-09-11  Angus Leeming  <leeming@lyx.org>
11193
11194         * lyxserver.C (read_ready): re-write to make it more transparent
11195         and to make it work in coherent fashion under Tru64 Unix.
11196
11197 2002-09-11  André Pönitz <poenitz@gmx.net>
11198
11199         * commandtags.h:
11200         * LyXAction.C:
11201         * text3.C: implement LFUN_WORDSEL
11202
11203 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11204
11205         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
11206         make floatlist_ a boost::shared_ptr<FloatList>
11207
11208         * lyxtextclass.C: include FloatList.h
11209         (LyXTextClass): initialize floatlist_
11210         (TextClassTags): add TC_NOFLOAT
11211         (Read): match "nofloat" to TC_NOFLOAT and use it.
11212         (readFloat): modify call to floatlist_
11213         (floats): ditto
11214         (floats): ditto
11215
11216         * FloatList.[Ch] (FloatList): remove commented out float
11217         initialization.
11218         (erase): new function
11219
11220 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11221
11222         * MenuBackend.C (expandToc): fix crash when there is no document
11223         open
11224
11225 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
11226
11227         * many files: Add insetwrap.
11228
11229 2002-09-09  John Levon  <levon@movementarian.org>
11230
11231         * text2.C: remove confusing and awkward depth wraparound
11232
11233 2002-09-09  John Levon  <levon@movementarian.org>
11234
11235         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
11236
11237         * buffer.h:
11238         * buffer.C: remove getIncludeonlyList()
11239
11240         * paragraph.C:
11241         * lyxfunc.C: remove headers
11242
11243 2002-09-09  Juergen Vigna  <jug@sad.it>
11244
11245         * text.C (getColumnNearX): fix form Michael this is most
11246         probably a cut&paste bug.
11247
11248 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
11249
11250         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
11251
11252         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
11253         references, ws changes.
11254
11255         * text2.C (init): update counters after init
11256         (insertParagraph): no need to set counter on idividual paragraphs.
11257         (setCounter): access the counters object in the textclass object
11258         on in the buffer object.
11259         (updateCounters): ditto
11260
11261         * lyxtextclass.C: include counters.h, add variable ctrs_ as
11262         shared_ptr<Counters> to avoid loading counters.h in all
11263         compilation units.
11264         (LyXTextClass): initialize ctrs_
11265         (TextClassTags): add TC_COUNTER, and ...
11266         (Read): use it here.
11267         (CounterTags): new tags
11268         (readCounter): new function
11269         (counters): new funtion
11270         (defaultLayoutName): return a const reference
11271
11272         * counters.C (Counters): remove contructor
11273         (newCounter): remove a couple of unneeded statements.
11274         (newCounter): simplify a bit.
11275         (numberLabel): some small formatting changes.
11276
11277         * buffer.[Ch]: remove all traces of counters, move the Counters
11278         object to the LyXTextClass.
11279
11280 2002-09-06  Alain Castera  <castera@in2p3.fr>
11281
11282         * tabular.C: uses \tabularnewline; uses >{...} construct from array
11283         package to set the horizontal alignment on fixed width columns.
11284
11285         * lyx_sty.C:
11286         * lyx_sty.h: added tabularnewline macro def.
11287
11288         * LaTeXFeatures.C: added NeedTabularnewline macro feature
11289
11290 2002-09-06  John Levon  <levon@movementarian.org>
11291
11292         * LyXAction.C: tooltips for sub/superscript
11293
11294         * MenuBackend.C: a bit more verbose
11295
11296         * lyxfunc.C: tiny clean
11297
11298         * undo_funcs.C: document undo_frozen
11299
11300 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
11301
11302         * counters.C (Counters): add missing algorithm counter.
11303
11304         * text2.C (setCounter): lookup the counter with layouts latexname
11305         instead of by section number.
11306         (setCounter): use a hackish way to lookup the correct enum
11307         counter.
11308         a float name->type change
11309         reset enum couners with counter name directly instead of depth value.
11310
11311         * counters.C (Counters): remove the push_backs, change to use the
11312         float type not the float name.
11313         (labelItem): remove unused string, float name->type change
11314
11315         * counters.h: don't include vector, loose the enums and sects vectors
11316
11317 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
11318
11319         * lyxtextclass.C (TextClassTags): add TC_FLOAT
11320         (Read): add float->TC_FLOAT to textclassTags
11321         (Read): and handle it in the switch
11322         (readFloat): new function
11323
11324         * FloatList.C (FloatList): comment out the hardcoded float
11325         definitions.
11326
11327         * lyxlayout.h: ws change.
11328
11329 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
11330
11331         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
11332
11333 2002-09-03  Angus Leeming  <leeming@lyx.org>
11334
11335         * BufferView_pimpl.h: qualified name is not allowed in member
11336         declaration: WorkArea & Pimpl::workarea() const;
11337
11338         * factory.C: added using std::endl directive.
11339
11340         * text3.C: added using std::find and std::vector directives.
11341
11342 2002-08-29  André Pönitz <poenitz@gmx.net>
11343
11344         * lyxtext.h:
11345         * text2.C: remove unused member number_of_rows
11346
11347         * Makefile.am:
11348         * BufferView2.C: remove file, move contents to...
11349         * BufferView.C: ... here
11350
11351         * BufferView_pimpl.C:
11352         * factory.C: move more inset creation to factory
11353
11354         * vspace.C: avoid direct usage of LyXText, ws changes
11355
11356         * BufferView.[Ch]:
11357                 don't provide direct access to WorkArea, use two simple
11358                 acessors haveSelction() and workHeight() instead
11359
11360
11361 2002-08-29  John Levon  <levon@movementarian.org>
11362
11363         * BufferView_pimpl.C (dispatch): do not continue when
11364           no buffer
11365
11366 2002-08-28  André Pönitz <poenitz@gmx.net>
11367
11368         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
11369
11370         * BufferView.h:
11371         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
11372
11373 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
11374
11375         * buffer.C: increment LYX_FORMAT to 221
11376
11377         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
11378         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
11379
11380         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
11381
11382         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
11383
11384 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11385
11386         * factory.C (createInset): use LyXTextClass::floats
11387
11388         * MenuBackend.C (expandFloatListInsert):
11389         (expandFloatInsert):
11390         (expandToc):
11391
11392         * text2.C (setCounter):
11393
11394         * LaTeXFeatures.C (useFloat):
11395         (getFloatDefinitions):
11396
11397         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
11398
11399         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
11400         floatlist_, with accessor floats().
11401
11402         * FloatList.h: remove global FloatList
11403
11404 2002-08-26  André Pönitz <poenitz@gmx.net>
11405
11406         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
11407
11408         * BufferView.h:
11409         * BufferView2.C:
11410         * BufferView_pimpl.C:
11411         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
11412
11413 2002-08-25  John Levon  <levon@movementarian.org>
11414
11415         * LyXAction.C: fix margin note description
11416
11417 2002-08-24  John Levon  <levon@movementarian.org>
11418
11419         * buffer.C:
11420         * bufferlist.C:
11421         * bufferview_funcs.C:
11422         * lyxfont.C:
11423         * undo_funcs.C: cleanups
11424
11425         * lyxfunc.C: disable CUT/COPY when no selection
11426
11427 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
11428
11429         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11430         in "enum UNIT"; e.g. PTW for Percent of TextWidth
11431
11432         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11433         Add backward compatibility to "mono", "gray" and "no".
11434
11435 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
11436
11437         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11438         (and file_format >= 200).
11439
11440 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11441
11442         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11443
11444 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11445
11446         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11447
11448 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
11449
11450         * BufferView_pimpl.C:
11451         * LyXAction.C:
11452         * buffer.C:
11453         * commandtags.h:
11454         * lyxfunc.C:
11455         * paragraph.[Ch]:
11456         * text2.C:
11457         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11458         inset and code to make it  work with the paragraph code. The inset
11459         can be anywhere in the paragraph, but will only do the expected
11460         thing in LaTeX if the layout file contains the parameter line
11461                         OptionalArgs    1
11462         (or more generally, a nonzero value) for that layout.
11463
11464 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
11465
11466         * paragraph.h: remove the declaration of undefined counters class
11467         function.
11468
11469 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
11470
11471         * text2.C (setCounter):  fixed enumeration mis-count as reported by
11472         Dr. Richard Hawkins.
11473
11474 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11475
11476         * paragraph_funcs.h: remove some unneeded includes
11477
11478         * text.C (backspace): pasteParagraph now in global scipe
11479
11480         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11481         (pasteSelection): ditto
11482
11483         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11484         * paragraph_funcs.C (pasteParagraph): ... here
11485
11486 2002-08-20  André Pönitz <poenitz@gmx.net>
11487
11488         * commandtags.h: new LFUNs for swapping/copying table row/colums
11489
11490         * LyXAction.C:
11491         * lyxfunc.C: support for new lfuns
11492
11493 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
11494
11495         * tabular.C:
11496         * buffer.[Ch]: remove NO_COMPABILITY stuff
11497
11498 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
11499
11500         * boost.C (throw_exception): new file, with helper function for
11501         boost compiled without exceptions.
11502
11503         * paragraph.h:
11504         * lyxlength.C:
11505         * buffer.C:
11506         * ParameterStruct.h:
11507         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11508
11509         * bufferlist.C (emergencyWriteAll): use boost bind
11510
11511         * BufferView_pimpl.C (moveCursorUpdate): remove inline
11512
11513         * text.C: include paragraph_funcs.h
11514         (breakParagraph): breakParagraph is now in global scope
11515
11516         * paragraph_funcs.[Ch]: new files
11517
11518         * paragraph.C (breakParagraph,breakParagraphConservative): move to
11519         global scope
11520
11521         * buffer.C: include paragraph_funcs.h
11522         (insertStringAsLines): breakParagraph is now in global scope
11523
11524         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11525         paragraph_funcs.C
11526
11527         * CutAndPaste.C: include paragraph_funcs.h
11528         (cutSelection): breakParagraphConservative is now in global scope
11529         (pasteSelection): ditto
11530
11531         * buffer.h: declare oprator== and operator!= for
11532         Buffer::inset_iterator
11533
11534         * bufferlist.C (emergencyWrite): don't use fmt(...)
11535
11536         * text3.C: add using std::endl
11537
11538         * BufferView.C (moveCursorUpdate): remove default arg
11539
11540 2002-08-20  André Pönitz <poenitz@gmx.net>
11541
11542         * buffer.[Ch]: move inline functions to .C
11543
11544         * BufferView2.C:
11545         * BufferView_pimpl.C:
11546         * text.C:
11547         * buffer.[Ch]: use improved inset_iterator
11548
11549         * buffer.C:
11550         * paragraph.[Ch]: write one paragraph at a time
11551
11552 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11553
11554         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11555         style if style is not specified.
11556
11557 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11558
11559         * text2.C (setCounter): when searching for right label for a
11560         caption, make sure to recurse to parent insets (so that a caption
11561         in a minipage in a figure float works) (bug #568)
11562
11563 2002-08-20  André Pönitz <poenitz@gmx.net>
11564
11565         * text3.C: new file for LyXText::dispatch() and helpers
11566
11567         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11568
11569         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11570
11571 2002-08-19  André Pönitz <poenitz@gmx.net>
11572
11573         * lyxtext.h:
11574         * text.C: new LyXText::dispatch()
11575
11576         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11577
11578 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
11579
11580         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11581
11582         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11583         Hebrew text.
11584
11585 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11586
11587         * Makefile.am: use $(variables) instead of @substitutions@
11588
11589 2002-08-15  André Pönitz <poenitz@gmx.net>
11590
11591         * lyxfunc.C:
11592         * BufferView_pimpl.C: streamlining mathed <-> outer world
11593         interaction
11594
11595         * commandtags.h:
11596         * LyXAction.C: remove unused LFUN_MATH
11597
11598 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11599
11600         * paragraph.[Ch]: add some NO_NEXT ifdefs.
11601
11602 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11603
11604         * paragraph.C (Paragraph): reformat a bit
11605         (cutIntoMinibuffer): use builtin InsetList function instad of
11606         doing it manually.
11607         (getInset): ditto
11608
11609         * buffer.C: include boost/bind.hpp, add using std::for_each
11610         (writeFileAscii): use ParagraphList iterators
11611         (validate): use for_each for validate traversal of paragraphs
11612         (getBibkeyList): use ParagraphList iterators
11613         (resizeInsets): use for_each to resizeInsetsLyXText for all
11614         paragraphs.
11615         (getParFromID): use ParagraphList iterators
11616
11617         * BufferView2.C (lockInset): use paragraph list and iterators
11618
11619 2002-08-14  John Levon  <levon@movementarian.org>
11620
11621         * lyxserver.C: remove spurious xforms include
11622
11623 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11624
11625         * lyxfunc.C (getStatus): disable math-extern outside of math mode
11626
11627 2002-08-13  André Pönitz <poenitz@gmx.net>
11628
11629         * LyXAction.[Ch]:
11630         * lyxfunc.C: further cleaning
11631
11632 2002-08-13  André Pönitz <poenitz@gmx.net>
11633
11634         * funcrequest.h: new constructor
11635
11636         * funcrequest.C: move stuff here from .h
11637
11638         * Makefile.am:
11639         * BufferView_pimpl.C:
11640         * LyXAction.C:
11641         * toc.C:
11642         * lyxfunc.C: subsequent changes
11643
11644         * lyxfunc.h: new view() member function
11645
11646         * lyxfunc.C: subsequent changes
11647
11648 2002-08-13  Angus Leeming  <leeming@lyx.org>
11649
11650         * BufferView2.C:
11651         * BufferView_pimpl.C:
11652         * buffer.C:
11653         * converter.C:
11654         * importer.C:
11655         * lyxfunc.C:
11656         * lyxvc.C:
11657         * toc.C:
11658         * vc-backend.C:
11659         changes due to the changed LyXView interface that now returns references
11660         to member variables not pointers.
11661
11662 2002-08-13  Angus Leeming  <leeming@lyx.org>
11663
11664         * WordLangTuple (word, lang_code): return references to strings,
11665         not strings.
11666
11667         * BufferView.h:
11668         * SpellBase.h:
11669         * lyxtext.h: forward-declare WordLangTuple.
11670
11671         * BufferView2.C:
11672         * ispell.C:
11673         * pspell.C:
11674         * text.C: #include "WordLangTuple.h".
11675
11676         * lyxtext.h:
11677         * text.C: (selectNextWordToSpellcheck): constify return type.
11678
11679 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
11680
11681         * buffer.C:
11682         * buffer.h:
11683         * lyxtext.h:
11684         * paragraph.C:
11685         * paragraph_pimpl.h:
11686         * text.C:
11687         * text2.C:
11688         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11689         suggested by Angus.
11690         Made updateCounter always count from start of buffer, and removed
11691         second argument (par).
11692         Reverted floats number display to '#'. Perhaps I'll try again when the
11693         code base is sanitized a bit.
11694
11695 2002-08-12  Angus Leeming  <leeming@lyx.org>
11696
11697         * buffer.[Ch] (getLabelList): constify.
11698
11699 2002-08-07  André Pönitz <poenitz@gmx.net>
11700
11701         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11702
11703         * funcrequest.h: extension to keep mouse (x,y) position
11704
11705 2002-08-12  Juergen Vigna  <jug@sad.it>
11706
11707         * BufferView2.C (insertErrors): forbid undo when inserting error
11708         insets.
11709
11710         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11711
11712 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
11713
11714         * ParagraphList.[Ch]: new files
11715
11716         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11717
11718         * BufferView2.C (lockInset): ParagraphList changes
11719         * toc.C: ditto
11720         * text2.C: ditto
11721         * bufferlist.C: ditto
11722         * buffer.h: ditto
11723         * buffer.C: ditto
11724
11725 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11726
11727         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11728         unused class variable counter_,
11729
11730         * paragraph.[Ch] (getFirstCounter): delete unused function
11731
11732         * counters.C: include LAssert.h
11733         (reset): add a new function with no arg, change other version to
11734         not have def. arg and to not allow empty arg.
11735
11736         * text2.C (setCounter): remove empty arg from call to Counters::reset
11737
11738 2002-08-11  John Levon  <levon@movementarian.org>
11739
11740         * Makefile.am: add WordLangTuple.h
11741
11742 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11743
11744         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11745         lyxfunc.C lyxlex_pimpl.C: ws changes only.
11746
11747         * insets/insettext.C: InsetList changes
11748
11749         * graphics/GraphicsSupport.C (operator()): InsetList changes
11750
11751         * toc.C (getTocList): InsetList changes
11752
11753         * paragraph_pimpl.[Ch]: InsetList changes
11754
11755         * paragraph.[Ch]: InsetList changes
11756
11757         * buffer.C (inset_iterator): InsetList changes
11758         (setParagraph): ditto
11759         * buffer.h (inset_iterator): ditto
11760         * iterators.C (operator++): ditto
11761         * iterators.h: ditto
11762
11763         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11764
11765         * InsetList.[Ch]: new files, most InsetList handling moved out of
11766         paragraph.C.
11767
11768         * BufferView2.C (removeAutoInsets): InsetList changes
11769         (lockInset): ditto
11770         (ChangeInsets): ditto
11771
11772 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
11773
11774         * paragraph_pimpl.h (empty): new function
11775
11776         * paragraph.[Ch] (empty): new function
11777
11778         * other files: use the new Paragraph::empty function
11779
11780 2002-08-09  John Levon  <levon@movementarian.org>
11781
11782         * lyxtext.h: remove unused refresh_height
11783
11784 2002-08-09  John Levon  <levon@movementarian.org>
11785
11786         * Makefile.am:
11787         * sgml.h:
11788         * sgml.C:
11789         * buffer.C:
11790         * paragraph.h:
11791         * paragraph.C: move sgml char escaping out of paragraph
11792
11793         * paragraph.h:
11794         * paragraph.C: remove id setter
11795
11796         * buffer.C:
11797         * paragraph.C:
11798         * paragraph_pimpl.C: remove dead tex_code_break_column
11799
11800         * bufferview_funcs.C: small cleanup
11801
11802         * lyxfunc.C: remove dead proto
11803
11804         * lyxtext.h: make some stuff private. Remove some dead stuff.
11805
11806         * lyxgluelength.C: make as[LyX]String() readable
11807
11808 2002-08-08  John Levon  <levon@movementarian.org>
11809
11810         * LyXAction.h:
11811         * LyXAction.C:
11812         * MenuBackend.C:
11813         * ToolbarDefaults.C:
11814         * lyxfunc.C:
11815         * lyxrc.C:
11816         * toc.C: lyxaction cleanup
11817
11818 2002-08-08  John Levon  <levon@movementarian.org>
11819
11820         * BufferView2.C: small cleanup
11821
11822         * lyxfind.h:
11823         * lyxfind.C: move unnecessary header into the .C
11824
11825 2002-08-08  John Levon  <levon@movementarian.org>
11826
11827         * funcrequest.h: just tedious nonsense
11828
11829         * lyx_main.h:
11830         * lyx_main.C: cleanups
11831
11832         * buffer.C:
11833         * vspace.C: remove dead header lyx_main.h
11834
11835 2002-08-07  Angus Leeming  <leeming@lyx.org>
11836
11837         * Paragraph.[Ch]:
11838         * paragraph_pimpl.h:
11839         Forward declare class Counters in paragraph.h by moving the ctrs member
11840         variable into Paragraph::Pimpl.
11841         (counters): new method, returning a reference to pimpl_->ctrs.
11842
11843         * text2.C: ensuing changes.
11844
11845 2002-08-07  John Levon  <levon@movementarian.org>
11846
11847         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11848
11849         * BufferView_pimpl.C: announce X selection on double/triple
11850           click
11851
11852         * lyx_main.C: use correct bool in batch dispatch
11853
11854         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11855
11856 2002-08-07  André Pönitz <poenitz@gmx.net>
11857
11858         * funcrequest.h: new class to wrap a kb_action and its argument
11859
11860         * BufferView.[Ch]:
11861         * BufferView_pimpl[Ch]:
11862         * LaTeX.C:
11863         * LyXAction.[Ch]:
11864         * lyxfunc.[Ch]:
11865         * lyxrc.C: subsequent changes
11866
11867
11868 2002-08-07  John Levon  <levon@movementarian.org>
11869
11870         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11871           document options change.
11872
11873 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
11874
11875         * counters.[Ch]
11876         * text2.C
11877         * paragraph.[Ch]
11878         * makefile.am: move counters functionality over from
11879         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11880
11881 2002-08-06  John Levon  <levon@movementarian.org>
11882
11883         * WordLangTuple.h: new file for word + language code tuple
11884
11885         * SpellBase.h:
11886         * pspell.h:
11887         * pspell.C:
11888         * ispell.h:
11889         * ispell.C:
11890         * lyxtext.h:
11891         * text.C:
11892         * text2.C:
11893         * BufferView.h:
11894         * BufferView2.C: use WordLangTuple
11895
11896         * layout.h:
11897         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11898
11899 2002-08-06  John Levon  <levon@movementarian.org>
11900
11901         * lyx_main.C: fix cmdline batch handling
11902
11903 2002-08-06  André Pönitz <poenitz@gmx.net>
11904
11905         * lyxrc.C: set default for show_banner to true
11906
11907 2002-08-06  John Levon  <levon@movementarian.org>
11908
11909         * pspell.C: fix a crash, and allow new aspell to work
11910
11911 2002-08-06  John Levon  <levon@movementarian.org>
11912
11913         * lyxfunc.C:
11914         * kbmap.C: small cleanup
11915
11916         * vspace.h:
11917         * vspace.C: add const
11918
11919 2002-08-05  John Levon  <levon@movementarian.org>
11920
11921         * LyXAction.C: back to tabular-insert
11922
11923 2002-08-04  John Levon  <levon@movementarian.org>
11924
11925         * BufferView.h:
11926         * BufferView.C: cosmetic change
11927
11928         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11929
11930         * bufferlist.C:
11931         * buffer.h:
11932         * buffer.C:
11933         * lyxcb.h:
11934         * lyxcb.C:
11935         * lyxserver.C:
11936         * lyxvc.C:
11937         * vc-backend.C:
11938         * BufferView2.C: purge all "Lyx" not "LyX" strings
11939
11940         * lyxcursor.h:
11941         * lyxcursor.C: attempt to add some documentation
11942
11943         * lyxfunc.C:
11944         * commandtags.h:
11945         * LyXAction.C:
11946         * ToolbarDefaults.C:
11947         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11948           merge with LFUN_TABULAR_INSERT
11949
11950         * Makefile.am:
11951         * SpellBase.h:
11952         * ispell.h:
11953         * ispell.C:
11954         * pspell.h:
11955         * pspell.C: split up i/pspell implementations into separate
11956           files, many cleanups
11957
11958         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11959
11960         * text2.C: some cleanup
11961
11962         * lyxfunc.C: don't check for isp_command == "none" any more, it
11963           didn't make any sense
11964
11965 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
11966
11967         * counters.[Ch]
11968         * text2.C
11969         * paragraph.[Ch]
11970         * makefile.am: move counters functionality over
11971         from text2.C/paragraph.[Ch] to counters.[Ch], and
11972         make proper C++.
11973 2002-08-02  John Levon  <levon@movementarian.org>
11974
11975         * buffer.C: s/lyxconvert/lyx2lyx/
11976
11977 2002-08-02  Angus Leeming  <leeming@lyx.org>
11978
11979         * lyxlex.C: revert John's change as it breaks reading of the user
11980         preamble.
11981
11982 2002-08-02  Angus Leeming  <leeming@lyx.org>
11983
11984         * importer.C (Import):
11985         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11986         changes due to LyXView::view() now returning a boost::shared_ptr.
11987
11988 2002-08-02  John Levon  <levon@movementarian.org>
11989
11990         * lyxlex.C: small cleanup
11991
11992 2002-08-02  John Levon  <levon@movementarian.org>
11993
11994         * text2.C (status): small cleanup, no logic change
11995
11996 2002-08-01  John Levon  <levon@movementarian.org>
11997
11998         * buffer.h:
11999         * buffer.C (writeFile): don't output alerts, caller
12000           handles this
12001
12002         * bufferlist.C:
12003         * lyx_cb.C: from above
12004
12005         * lyxfunc.C: allow to open non-existent files
12006
12007 2002-07-31  John Levon  <levon@movementarian.org>
12008
12009         * lyxserver.C: don't let incidental errors get
12010           in the way (errno)
12011
12012 2002-07-30  John Levon  <levon@movementarian.org>
12013
12014         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
12015
12016 2002-07-30  John Levon  <levon@movementarian.org>
12017
12018         * lyxserver.h:
12019         * lyxserver.C: remove I/O callback too
12020
12021 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12022
12023         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
12024         log.
12025
12026 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
12027
12028         * many files: strip,frontStrip -> trim,ltrim,rtrim
12029
12030 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
12031
12032         * PrinterParams.h: remove extern containsOnly, and include
12033         support/lstrings.h instead.
12034
12035         * LaTeX.C (scanAuxFile): modify because of strip changes
12036         (deplog): ditto
12037         * buffer.C (makeLaTeXFile): ditto
12038         * bufferparams.C (writeFile): ditt
12039         * lyxfont.C (stateText): ditto
12040         * lyxserver.C (read_ready): ditto
12041         * vc-backend.C (scanMaster): ditto
12042
12043         * BufferView_pimpl.h: ws changes
12044
12045         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
12046
12047 2002-07-26  André Pönitz <poenitz@gmx.net>
12048
12049         * kb_sequence.C: remove unnedred usings
12050
12051 2002-07-26  Juergen Vigna  <jug@sad.it>
12052
12053         * lyxfind.C (LyXReplace): we have to check better if the returned
12054         text is not of theLockingInset()->getLockingInset().
12055
12056 2002-07-25  Juergen Vigna  <jug@sad.it>
12057
12058         * lyxfind.C (LyXReplace): don't replace if we don't get the
12059         right LyXText.
12060
12061         * undo_funcs.C (createUndo): remove debugging code.
12062
12063 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
12064
12065         * buffer.C (parseSingleLyXformat2Token): Use default placement
12066         when reading old floats.
12067
12068         * FloatList.C (FloatList): Change the default placement of figure
12069         and tables to "tbp".
12070
12071 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
12072
12073         * MenuBackend.C: using std::max
12074
12075 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12076
12077         * MenuBackend.C (expandToc):
12078         (expandToc2): code moved from xforms menu frontend. It is now
12079         generic and TOCs are transparent to menu frontends.
12080
12081 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12082
12083         * toc.C (getTocList): protect against buf=0
12084
12085         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
12086         Menu as first parameter. Now, this calls itself recursively to
12087         expand a whole tree (this will be useful for TOC handling)
12088         (expandFloatInsert): remove 'wide' version of floats
12089
12090         * MenuBackend.h (submenuname): returns the name of the submenu.
12091         (submenu): returns the submenu itself, provided it has been
12092         created by MenuBackend::expand
12093
12094 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12095
12096         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
12097         insets which have noFontChange == true. (bug #172)
12098
12099 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12100
12101         * BufferView_pimpl.C: add connection objects and use them...
12102         (Pimpl): here.
12103
12104 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12105
12106         * MenuBackend.C (expandLastfiles):
12107         (expandDocuments):
12108         (expandFormats):
12109         (expandFloatListInsert):
12110         (expandFloatInsert):
12111         (expand): split expand in parts
12112
12113 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
12114
12115         * lyx_gui.C: use lyx_gui::exit()
12116
12117 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
12118
12119         * LyXAction.C: show the failing pseudo action
12120
12121 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
12122
12123         * buffer.C (readFile): Run the lyxconvert script in order to read
12124         old files.
12125
12126 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
12127
12128         * LyXAction.C:
12129         * commandtags.h:
12130         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
12131
12132 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
12133
12134         * LyXAction.C:
12135         * commandtags.h:
12136         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
12137
12138 2002-07-22  Herbert Voss  <voss@lyx.org>
12139
12140         * lengthcommon.C:
12141         * lyxlength.[Ch]: add support for the vertical lengths
12142
12143 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
12144
12145         * toc.[Ch]: std:: fixes
12146
12147 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12148
12149         * lyxrc.C: do not include lyx_main.h
12150
12151         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
12152         for layouts
12153
12154         * lyxrc.C:
12155         * encoding.C:
12156         * bufferlist.C:
12157         * BufferView2.C: include "lyxlex.h"
12158
12159         * tabular.h:
12160         * bufferparams.h: do not #include "lyxlex.h"
12161
12162         * lyxtextclasslist.C (Add): remove method
12163         (classlist): renamed to classlist_
12164
12165         * paragraph_pimpl.C:
12166         * paragraph.C:
12167         * text2.C:
12168         * CutAndPaste.C:
12169         * bufferview_funcs.C:
12170         * bufferlist.C:
12171         * text.C:
12172         * LaTeXFeatures.C:
12173         * buffer.C:
12174         * toc.C (getTocList): use BufferParams::getLyXTextClass
12175
12176         * toc.C (getTocList): use InsetFloat::addToToc
12177
12178         * toc.[Ch]: new files, containing helper functions to handle table
12179         of contents
12180
12181         * lyxfunc.C (dispatch): no need to remove spaces around command
12182         given as a string
12183         (getStatus): handle LFUN_SEQUENCE by returning the status of the
12184         first command of the sequence; it is not very clever, but I do not
12185         have a better idea, actually
12186
12187         * LyXAction.C (LookupFunc): make sure to remove space at the
12188         beginning and end of the command
12189
12190 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12191
12192         * MenuBackend.C (getMenubar): new method: return the menubar of
12193         this menu set
12194         (read): treat differently reading of menu and menubar (in
12195         particular, the menubar has no name now)
12196         (Menu::menubar): remove
12197
12198         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
12199         saving is finished
12200
12201 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
12202
12203         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
12204         a bibitem inset in a RTL paragraph.
12205
12206 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
12207
12208         * paragraph_pimpl.C: constify
12209
12210         * BufferView_pimpl.C:
12211         * LaTeX.C:
12212         * lyxfunc.C: fix dispatch in a nicer way
12213
12214 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12215
12216         * lyxfunc.C (dispatch):
12217         * BufferView_pimpl.C:
12218         * BufferView_pimpl.h:
12219         * BufferView.C:
12220         * BufferView.h: rename Dispatch() to dispatch()
12221
12222         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
12223
12224         * lyxlayout.C (Read): honor DependsOn tag
12225
12226         * lyxlayout.[Ch] (depends_on): new method
12227
12228         * version.C.in: update lyx_docversion
12229
12230         * LaTeXFeatures.C (getMacros): only define \LyX when needed
12231
12232         * paragraph.C (validate): remove from here...
12233         * paragraph_pimpl.C (validate): ... and move here
12234         (isTextAt): make it const
12235
12236         * buffer.C (getLists): ws cleanup
12237
12238 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
12239
12240         * language.C (read): Use iso8859-1 encoding in latex_lang
12241         (this prevents LyX from crashing when using iso10646-1 encoding).
12242
12243 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12244
12245         * text2.C (toggleInset): if cursor is inside an inset, close the
12246         inset and leave cursor _after_ it
12247
12248 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
12249
12250         * lyxfunc.C: move minibuffer completion handling out of here
12251
12252 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
12253
12254         * BufferView_pimpl.C:
12255         * LaTeX.C: fix dispatch calls
12256
12257 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
12258
12259         * text.C (drawChars): Fix Arabic text rendering.
12260
12261 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
12262
12263         * LyXAction.C:
12264         * commandtags.h:
12265         * lyxfunc.C: remove message-push/pop
12266
12267         * lyxserver.C:
12268         * lyxfunc.h:
12269         * lyxfunc.C: rationalise some code by removing verboseDispatch
12270           in favour of a bool argument to dispatch()
12271
12272 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12273
12274         * lyx_main.C (init): make sure to read symlinks as absolute paths
12275
12276 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12277
12278         * lyxfunc.h:
12279         * lyxfunc.C: no need for commandshortcut to be a member
12280
12281 2002-07-15  André Pönitz <poenitz@gmx.net>
12282
12283         * converter.C: add support for $$s (scripts from lib/scripts dir)
12284         * lyx_main.C: white space
12285
12286 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12287
12288         * bufferlist.C:
12289         * lyxrc.h:
12290         * lyxrc.C: remove second exit confirmation
12291
12292 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12293
12294         * BufferView.h:
12295         * BufferView.C:
12296         * BufferView2.C:
12297         * BufferView_pimpl.h:
12298         * BufferView_pimpl.C:
12299         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
12300
12301 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12302
12303         * MenuBackend.C (expand): add numeric shortcuts to document menu
12304
12305         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
12306
12307 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12308
12309         * lyxfont.C (setLyXFamily):
12310         (setLyXSeries):
12311         (setLyXShape):
12312         (setLyXSize):
12313         (setLyXMisc):
12314         (lyxRead):
12315         * debug.C (value):
12316         * buffer.C (asciiParagraph): use ascii_lowercase
12317
12318 2002-07-15  Mike Fabian  <mfabian@suse.de>
12319
12320         * lyxlex_pimpl.C (search_kw):
12321         * lyxlex.C (getLongString):
12322         * converter.h (operator<):
12323         * converter.C (operator<):
12324         * buffer.C (parseSingleLyXformat2Token):
12325         (asciiParagraph):
12326         * ToolbarDefaults.C (read):
12327         * MenuBackend.C (checkShortcuts):
12328         (read):
12329         * LColor.C (getFromGUIName):
12330         (getFromLyXName): use the compare_ascii_no_case instead of
12331         compare_no_case, because in turkish, 'i' is not the lowercase
12332         version of 'I', and thus turkish locale breaks parsing of tags.
12333
12334 2002-07-16  Angus Leeming  <leeming@lyx.org>
12335
12336         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
12337         now takes a Buffer const & argument.
12338
12339 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
12340
12341         * BufferView.C (resize): check there's a buffer to resize
12342
12343 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
12344
12345         * lyxfunc.C: remove dead code
12346
12347         * lyxserver.h:
12348         * lyxserver.C: use lyx_guii::set_read_callback
12349
12350 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12351
12352         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
12353         an inset in a RTL paragraph.
12354
12355 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12356
12357         * lyxfunc.C: repaint after a font size update
12358
12359 2002-07-15  André Pönitz <poenitz@gmx.net>
12360
12361         * lyxlength.C: inBP should be able to return negative values
12362
12363 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12364
12365         * lyxfunc.C: use lyx_gui::update_fonts()
12366
12367 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12368
12369         * lyxfunc.C: use lyx_gui::update_color()
12370
12371 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
12372
12373         * bufferlist.C:
12374         * lyxfunc.h:
12375         * lyxfunc.C:
12376         * lyxrc.h:
12377         * lyxrc.C: remove file->new asks for name option, and let
12378           buffer-new take an argument
12379
12380 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
12381
12382         * BufferView_pimpl.C: remove unneeded extra repaint()
12383
12384 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
12385
12386         * LyXAction.C: allow command-sequence with NoBuffer
12387
12388         * lyxfunc.C: don't insist on trailing ';' for command-sequence
12389
12390 2002-07-10  Angus Leeming  <leeming@lyx.org>
12391
12392         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
12393
12394 2002-07-09  Angus Leeming  <leeming@lyx.org>
12395
12396         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
12397
12398 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12399
12400         * lengthcommon.h: whitespace
12401
12402         * lyxfunc.C: update scrollbar after goto paragraph
12403
12404         * lyxtext.h: factor out page break drawing, and fix it so
12405           page break/added space paints as selected nicely
12406
12407 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12408
12409         * BufferView_pimpl.C: add FIXMEs, clean up a little
12410
12411 2002-07-09  André Pönitz <poenitz@gmx.net>
12412
12413         * lyxfont.[Ch]: support for wasy symbols
12414
12415 2002-07-08  André Pönitz <poenitz@gmx.net>
12416
12417         * BufferView_pimpl.C: apply John's patch for #93.
12418
12419 2002-07-05  Angus Leeming  <leeming@lyx.org>
12420
12421         * BufferView_pimpl.C (buffer): generate previews if desired.
12422
12423         * LColor.h: add "preview" to the color enum.
12424
12425         * LColor.C (LColor): add a corresponding entry to the items array.
12426
12427         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12428         with this buffer.
12429
12430 2002-07-05  Angus Leeming  <leeming@lyx.org>
12431
12432         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12433         The body of the code is now in the method that is passed an ostream &
12434         rather than a file name.
12435         Pass an additional only_preamble parameter, useful for the forthcoming
12436         preview stuff.
12437
12438 2002-07-03  André Pönitz <poenitz@gmx.net>
12439
12440         * lyxfunc.C: simplify getStatus() a bit for math stuff
12441
12442 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12443
12444         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12445
12446 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12447
12448         * text.C (changeRegionCase): do not change case of all the
12449         document when region ends at paragraph end (bug #461)
12450
12451 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12452
12453         * paragraph.C (startTeXParParams):
12454         (endTeXParParams): add \protect when necessary
12455
12456 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12457
12458         * BufferView_pimpl.C (workAreaExpose): remove warning
12459
12460 2002-06-27  Angus Leeming  <leeming@lyx.org>
12461
12462         * Makefile.am: add lyxlayout_ptr_fwd.h.
12463
12464 2002-06-26  André Pönitz <poenitz@gmx.net>
12465
12466         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12467
12468 2002-06-25  Angus Leeming  <leeming@lyx.org>
12469
12470         * lyxfunc.C (dispatch): Comment out the call to
12471         grfx::GCache::changeDisplay. The method no longer exists now that the
12472         pixmap generation part of the graphics loader has been moved into
12473         InsetGraphics.
12474
12475 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12476
12477         * text2.C: layout as layout
12478
12479         * text.C: layout as layout
12480
12481         * tabular.C (OldFormatRead): layout as layout
12482
12483         * paragraph_pimpl.C (TeXDeeper): layout as layout
12484         (realizeFont): layout as layout
12485
12486         * paragraph.C (writeFile): layout as layout
12487         (validate): layout as layout
12488         (getFont): layout as layout
12489         (getLabelFont): layout as layout
12490         (getLayoutFont): layout as layout
12491         (breakParagraph): layout as layout
12492         (stripLeadingSpaces): layout as layout
12493         (getEndLabel): layout as layout
12494         (getMaxDepthAfter): layout as layout
12495         (applyLayout): layout as layout
12496         (TeXOnePar): layout as layout
12497         (simpleTeXOnePar): layout as layout
12498         (TeXEnvironment): layout as layout
12499         (layout): layout as layout
12500         (layout): layout as layout
12501
12502         * lyxtextclass.C (compare_name): new functor to work with
12503         shared_ptr, layout as layout
12504         (Read): layout as layout
12505         (hasLayout): layout as layout
12506         (operator): layout as layout
12507         (delete_layout): layout as layout
12508         (defaultLayout): layout as layout
12509
12510         * lyxlayout_ptr_fwd.h: new file
12511
12512         * lyxlayout.C (Read): layout as layout
12513
12514         * lyx_cb.C (MenuInsertLabel): layout as layout
12515
12516         * bufferlist.C (newFile): layout as layout
12517
12518         * buffer.C (readLyXformat2): layout as layout
12519         (parseSingleLyXformat2Token): layout as layout
12520         (insertStringAsLines): layout as layout
12521         (asciiParagraph): layout as layout
12522         (latexParagraphs): layout as layout
12523         (makeLinuxDocFile): layout as layout
12524         (simpleLinuxDocOnePar): layout as layout
12525         (makeDocBookFile): layout as layout
12526         (simpleDocBookOnePar): layout as layout
12527         (getLists): layout as layout
12528
12529         * LaTeXFeatures.C (getTClassPreamble): layout as layout
12530
12531         * CutAndPaste.C (cutSelection): layout as layout
12532         (pasteSelection): layout as layout
12533         (SwitchLayoutsBetweenClasses): layout as layout
12534
12535         * BufferView_pimpl.C (Dispatch): layout as layout
12536         (smartQuote): layout as layout
12537
12538         * BufferView2.C (unlockInset): layout as layout
12539
12540 2002-06-24  André Pönitz <poenitz@gmx.net>
12541
12542         * lyxfunc.C: fix #487
12543
12544 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12545
12546         * lyxrc.h:
12547         * lyxrc.C:
12548         * lyxfunc.C: remove display_shortcuts, show_banner
12549
12550 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12551
12552         * Buffer_pimpl.C: oops, update on resize
12553
12554 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12555
12556         * buffer.C:
12557         * converter.C:
12558         * exporter.C:
12559         * lyxfunc.C:
12560         * BufferView.h:
12561         * BufferView.C: use repaint()
12562
12563         * BufferView_pimpl.h:
12564         * BufferView_pimpl.C: s/updateScreen()/repaint()/
12565           as it's a clearer description. Remove superfluous
12566           redraws.
12567
12568 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12569
12570         * text.C: fix bug 488. Not ideal, but getting
12571           getWord() to work properly for the insets that
12572           matter is more difficult ...
12573
12574 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12575
12576         * BufferView_pimpl.C:
12577         * LyXAction.C:
12578         * commandtags.h:
12579         * lyxfunc.C: remove the six million index lyxfuncs to just
12580           one, and DTRT (bug 458)
12581
12582 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12583
12584         * BufferView.h:
12585         * BufferView.C:
12586         * BufferView_pimpl.h:
12587         * BufferView_pimpl.C: clean up resize() stuff,
12588           and unnecessary updateScreen()s
12589
12590 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12591
12592         * BufferView.h:
12593         * BufferView.C:
12594         * BufferView_pimpl.h:
12595         * BufferView_pimpl.C:
12596         * lyxfind.h:
12597         * lyxfind.C:
12598         * minibuffer.C: remove focus management of workarea,
12599           not needed. Use screen's greyOut()
12600
12601 2002-06-17  Herbert Voss  <voss@lyx.org>
12602
12603         * converter.C: (convert) do not post a message, when converting
12604         fails, let the calling function decide what to do in this case
12605
12606 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
12607
12608         * lyxfunc.C: tidy up a little
12609
12610 2002-06-16    <alstrup@diku.dk>
12611
12612         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12613         Got rid of FORMS_H_LOCATION include. Now we are
12614         GUII.
12615
12616 2002-06-15  LyX Development team  <lyx@rilke>
12617
12618         * buffer.[Ch] (sgmlOpenTag):
12619         (sgmlCloseTag): Added support for avoiding pernicious mixed
12620         content. Return number of lines written.
12621
12622         (makeLinuxDocFile):
12623         (makeDocBookFile): Fixed calls to sgml*Tag.
12624         Simple white space clean.
12625
12626         (simpleDocBookOnePar): Simple white space clean.
12627
12628         * tabular.[Ch] (docBook): Renamed to docbook and got another
12629         argument to related with the pernicious mixed content.
12630
12631         (docbookRow): Fixed calls for docbook inset method.
12632
12633 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
12634
12635         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12636         so it's X11 independent.
12637
12638         * kb*.[Ch]: ditto.
12639
12640         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12641
12642 2002-06-15  Lyx Development team  <lyx@electronia>
12643
12644         * intl.h: Renamed getTrans to getTransManager.
12645
12646 2002-06-14  Angus Leeming  <leeming@lyx.org>
12647
12648         * Makefile.am: nuke forgotten stl_string_fwd.h.
12649
12650 2002-06-12  Angus Leeming  <leeming@lyx.org>
12651
12652         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12653
12654 2002-06-13  Angus Leeming  <leeming@lyx.org>
12655
12656         * LaTeX.C:
12657         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12658
12659 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
12660
12661         * kbmap.C (getiso): add support for cyrillic and greek
12662
12663 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12664
12665         * BufferView.h:
12666         * BufferView.C:
12667         * BufferView_pimpl.h:
12668         * BufferView_pimpl.C: move bogus scrolling logic
12669           to xforms
12670
12671 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12672
12673         * lyxfunc.C:
12674         * BufferView_pimpl.C: view->resize() change
12675
12676 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12677
12678         * BufferView_pimpl.C: topCursorVisible
12679           prototype change
12680
12681 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12682
12683         * Makefile.am:
12684         * lyx_gui.h:
12685         * lyx_gui.C: move to frontends/
12686
12687         * main.C:
12688         * lyx_main.h:
12689         * lyx_main.C: changes from above
12690
12691 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12692
12693         * intl.C:
12694         * intl.h:
12695         * kbmap.C:
12696         * kbsequence.C:
12697         * lyx_cb.C:
12698         * lyx_main.C: minor tidy
12699
12700 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12701
12702         * BufferView_pimpl.h:
12703         * BufferView_pimpl.C:
12704         * BufferView.h:
12705         * BufferView.C: make painter() const,
12706           remove dead code
12707
12708         * BufferView2.C: use screen() accessor
12709
12710         * lyx_main.h:
12711         * lyx_main.C: some minor cleanup
12712
12713 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12714
12715         * BufferView_pimpl.h:
12716         * BufferView_pimpl.C: remove enter/leaveView,
12717           use workHeight()
12718
12719 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12720
12721         * BufferView.h:
12722         * BufferView.C:
12723         * BufferView2.C:
12724         * BufferView_pimpl.h:
12725         * BufferView_pimpl.C: only construct screen once,
12726           rename
12727
12728         * lyxrc.C: remove pointless comment
12729
12730 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12731
12732         * BufferView.h:
12733         * BufferView.C: remove active() and belowMouse()
12734
12735         * BufferView_pimpl.h:
12736         * BufferView_pimpl.C: use workarea() not workarea_,
12737           and make it use a scoped_ptr instead
12738
12739 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12740
12741         * lyx_gui.C: add debug message on BadWindow
12742
12743 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12744
12745         * sp_spell.C: fdopen is not part of the C++ standard.
12746
12747         * paragraph.C (InsetIterator): use >= instead of ==
12748
12749 2002-06-07  Angus Leeming  <leeming@lyx.org>
12750
12751         Fixes needed to compile with Compaq cxx 6.5.
12752         * BufferView_pimpl.C:
12753         * DepTable.C:
12754         * buffer.C:
12755         * converter.C:
12756         * encoding.C:
12757         * lyx_gui.C:
12758         * lyx_main.C:
12759         * lyxtextclasslist.C:
12760         * minibuffer.C:
12761         * sp_spell.C:
12762         * tabular_funcs.C:
12763         * vc-backend.C:
12764         all c-library variables have been moved into namespace std. Wrap
12765         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12766
12767         * lyxlength.C:
12768         * tabular-old.C:
12769         * tabular.C:
12770         Add a using std::abs declaration.
12771
12772         * kbmap.h (modifier_pair):
12773         * paragraph.h (InsetTable, InsetList):
12774         * lyxfont.h (FontBits):
12775         type definition made public.
12776
12777         * bufferlist.C (emergencyWriteAll): the compiler complains that
12778         there is more than one possible lyx::class_fun template to choose from.
12779         I re-named the void specialisation as lyx::void_class_fun.
12780
12781         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12782
12783         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12784         the compiler is is unable to find tostr in write_attribute.
12785
12786 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12787
12788         * buffer.C (sgmlError): hide #warning
12789
12790 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12791
12792         * xtl/*: get rid of xtl, which is not in use anyway
12793
12794         * LyXAction.C (init):
12795         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12796         were unimplemented xtl experimentation
12797
12798 2002-06-04  André Pönitz <poenitz@gmx.net>
12799
12800         * lyxfunc.C: disable array operation on simple formulae
12801
12802 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
12803
12804         * converter.C: constify a bit
12805
12806 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
12807
12808         * lyx_gui.C: check xforms version correctly
12809
12810 2002-04-30  Herbert Voss  <voss@lyx.org>
12811
12812         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12813         "keep" option
12814
12815 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
12816
12817         * lyxvc.C: fix bug 416 (make sure buffer is saved before
12818           attempt to register it with a VCS)
12819
12820 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12821
12822         * lyx_main.C (init): honor variables LYX_DIR_13x and
12823         LYX_USERDIR_13x
12824
12825 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12826
12827         * buffer.h:
12828         * buffer.C:
12829         * lyx_main.C: fix a crash on bad command line,
12830           and give a useful exit status on error
12831
12832         * lyxfunc.C (doImport): allow -i lyx to work
12833
12834 2002-03-30  André Pönitz <poenitz@gmx.net>
12835
12836         * lyxfunc.C: mathed font changes
12837
12838 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12839
12840         * LaTeX.C:
12841         * importer.h:
12842         * importer.C:
12843         * lyx_sty.h:
12844         * lyx_sty.C:
12845         * lyxlex.C:
12846         * lyxrow.h:
12847         * lyxtext.h:
12848         * paragraph.h:
12849         * paragraph.C:
12850         * texrow.h:
12851         * texrow.C:
12852         * text.C:
12853         * trans_mgr.h: srcdocs, and some minor cleanups
12854
12855 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12856
12857         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12858         call getFont all the time)
12859
12860 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12861
12862         * switch from SigC signals to boost::signals
12863
12864 2002-05-29  André Pönitz <poenitz@gmx.net>
12865
12866         * paragraph_pimpl.C (getChar): don't call size() too often...
12867
12868 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12869
12870         * paragraph_pimpl.C (insertChar): do not try to update tables when
12871         appending (pos == size())
12872
12873         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12874         in order to reduce drastically the number of comparisons needed to
12875         parse a large document
12876
12877 2002-05-29  André Pönitz <poenitz@gmx.net>
12878
12879         * text.C:
12880         * text2.C:
12881         * lyxtextclass.C:
12882         * sp_pspell.h:
12883         * textclasslist.[Ch]:
12884         * sp_ispell.h: whitespace change
12885
12886 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12887
12888         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12889         lyxaction directly now.
12890
12891 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
12892
12893         * trans.C:
12894         * lyxfont.C:
12895         * lyxvc.C: remove unused headers
12896
12897 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12898
12899         * Makefile.am:
12900         * buffer.h:
12901         * undostack.h:
12902         * undostack.C:
12903         * undo_funcs.h:
12904         * undo_funcs.C: some cleanups. Use shared_ptr
12905           and a template for the undo stacks.
12906
12907 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12908
12909         * BufferView_pimpl.h:
12910         * BufferView_pimpl.C:
12911         * kbmap.h:
12912         * kbmap.C:
12913         * kbsequence.h:
12914         * kbsequence.C:
12915         * lyxfunc.h:
12916         * lyxfunc.C:
12917         * text2.C: use key_state/mouse_state
12918
12919 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12920
12921         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12922         and LSubstring
12923
12924         * chset.C: change include order
12925         (loadFile): use boost regex and get rid of LRegex and LSubstring
12926
12927         * Makefile.am (BOOST_LIBS): new variable
12928         (lyx_LDADD): use it
12929
12930         * LaTeX.C: change include order.
12931         (scanAuxFile): use boost regex and get rid of LRegex and
12932         LSubstring
12933         (deplog): ditto
12934
12935 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12936
12937         * ColorHandler.h:
12938         * ColorHandler.C:
12939         * FontInfo.h:
12940         * FontInfo.C: moved to frontends/xforms/
12941
12942         * FontLoader.h:
12943         * FontLoader.C: moved into frontends for GUIIzation
12944
12945         * Makefile.am:
12946         * lyx_gui.C:
12947         * lyxfont.C:
12948         * lyxfunc.C: changes from above
12949
12950 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12951
12952         * LColor.C: remove spurious X include
12953
12954         * BufferView_pimpl.C:
12955         * Makefile.am:
12956         * font.h:
12957         * font.C:
12958         * text.C:
12959         * text2.C: move font metrics to frontends/
12960
12961 2002-05-24  Juergen Vigna  <jug@sad.it>
12962
12963         * undo_funcs.C (textHandleUndo): fix the cursor selection after
12964         setting the undo_cursor.
12965
12966         * ParagraphParameters.h: include local includes first.
12967
12968 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12969
12970         * BufferView_pimpl.C:
12971         * BufferView_pimpl.h:
12972         * Makefile.am:
12973         * WorkArea.h:
12974         * WorkArea.C:
12975         * screen.C: move WorkArea into frontends/
12976
12977         * lyxscreen.h:
12978         * screen.C:
12979         * text.C:
12980         * BufferView.C:
12981         * BufferView2.C: move LyXScreen into frontends/
12982
12983         * lyxlookup.h:
12984         * lyxlookup.C:
12985         * lyx_gui.C: move lyxlookup into frontends/xforms/
12986
12987 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12988
12989         * BufferView2.C:
12990         * BufferView_pimpl.C:
12991         * FontLoader.C:
12992         * LyXView.h:
12993         * LyXView.C:
12994         * Makefile.am:
12995         * WorkArea.C:
12996         * XFormsView.h:
12997         * XFormsView.C:
12998         * buffer.C:
12999         * bufferlist.C:
13000         * bufferview_funcs.C:
13001         * converter.C:
13002         * importer.C:
13003         * lyx_cb.C:
13004         * lyx_gui.C:
13005         * lyx_main.C:
13006         * lyx_find.C:
13007         * lyxfunc.C:
13008         * lyxvc.C:
13009         * minibuffer.C:
13010         * text.C:
13011         * text2.C:
13012         * trans.C:
13013         * vc-backend.C: move LyX/XFormsView into frontends/
13014
13015 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
13016
13017         * Makefile.am:
13018         * PainterBase.C:
13019         * PainterBase.h:
13020         * Painter.C:
13021         * Painter.h:
13022         * WorkArea.C:
13023         * WorkArea.h:
13024         * screen.C:
13025         * tabular.C:
13026         * text.C:
13027         * text2.C: move Painter to frontends/
13028
13029 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13030
13031         * buffer.C: comment out some some code that depend upon lyx_format
13032         < 220
13033
13034         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
13035         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
13036
13037         * buffer.h (NO_COMPABILITY): turn off compability
13038
13039         * ColorHandler.C: include scoped_array.hpp
13040
13041         * font.C: Use more specific smart_ptr header.
13042         * Painter.C: ditto
13043         * gettext.C: ditto
13044         * ShareContainer.h: ditto
13045         * lyx_main.h: ditto
13046         * kbmap.h: ditto
13047         * FontInfo.h: ditto
13048         * BufferView_pimpl.h: ditto
13049         * ColorHandler.h: ditto
13050
13051         * kbmap.C (defkey): change call to shared_ptr::reset
13052
13053 2002-05-21  Juergen Vigna  <jug@sad.it>
13054
13055         * buffer.C (insertErtContents): fix to insert ert asis if it is
13056         non empty. Skip it completely if it contains only whitespaces.
13057
13058 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
13059
13060         * BufferView_pimpl.C:
13061         * BufferView2.C: clear selection on paste (bug 393)
13062
13063 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13064
13065         * DepTable.C: include ctime
13066
13067 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
13068
13069         * buffer.C (latexParagraphs): Add new argument (moving_arg).
13070
13071 2002-05-14  Juergen Vigna  <jug@sad.it>
13072
13073         * text.C (breakParagraph): fixed function to honor the keepempty
13074         layout in the right maner and also to permit the right breaking
13075         algorithm on empty or non empyt keepempty paragraphs.
13076
13077         * paragraph.C (breakParagraph): we have to check also if the par
13078         is really empty (!size()) for isempty otherwise we do the wrong
13079         paragraph break.
13080
13081 2002-05-10  Juergen Vigna  <jug@sad.it>
13082
13083         * buffer.[Ch] : The following are only changes to the ert
13084         compatibility read reading old LaTeX layout and font stuff and
13085         convert it to ERTInsets.
13086
13087         * buffer.h: added isErtInset().
13088
13089         * buffer.C (struct ErtComp): add a fromlayout bool to check
13090         if we're inside a LaTeX layout.
13091         (isErtInset): new helper function.
13092         (insertErtContents): look for other ert insets before this one
13093         and insert the contents there, so that we don't have subsequent
13094         ERT insets with nothing between them. This way we create only one
13095         inset with multiple paragraphs. Also check if we don't insert only
13096         spaces ' ' as they are ignored anyway afterwards in the .tex file
13097         so if we have only spaces we will ignore this latex part in the
13098         new file.
13099         (parseSingleLyXformat2Token \\layout): better compatibility when
13100         reading layout-latex stuff.
13101         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
13102         language tag.
13103         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
13104         stuff after reading the inset only get the information back from
13105         the stack.
13106
13107 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
13108
13109         * buffer.C (makeLaTeXFile): Put language options after loading babel.
13110
13111         * LaTeXFeatures.C (getBabelOptions): New method.
13112
13113 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13114
13115         * BufferView_pimpl.C (Dispatch): work around missing argument for
13116         'layout'
13117
13118 2002-05-08  Juergen Vigna  <jug@sad.it>
13119
13120         * text.C (leftMargin): handle paragraph leftindent.
13121
13122         * paragraph.C (writeFile): write the new \\leftindent tag.
13123         (validate): handle leftindent code.
13124         (TeXEnvironment): handle paragraphleftindent code again.
13125
13126         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
13127
13128         * buffer.C (parseSingleLyXformat2Token): added compatibility code
13129         for paragrap_extra indent code and new token \\leftindent.
13130         (latexParagraphs): handle the leftindent as environment.
13131
13132         * ParameterStruct.h: added leftindent support.
13133
13134         * ParagraphParameters.C (leftIndent): added support functions for
13135         the paragraph left indent.
13136
13137         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
13138         more appropriate.
13139
13140 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
13141
13142         * paragraph.C (isRightToLeftPar): Return false for a paragraph
13143         inside insetERT.
13144
13145         * text.C (computeBidiTables): No bidi in insetERT.
13146
13147         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
13148         in RTL documents.
13149
13150 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13151
13152         * version.C.in: pre 5
13153
13154 2002-05-02  José Matos  <jamatos@fep.up.pt>
13155         * buffer.C (makeDocBookFile): white space changes, add newline to
13156         command styles.
13157         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
13158
13159         * tabular.C (docBook): fix typo.
13160
13161 2002-05-03  Juergen Vigna  <jug@sad.it>
13162
13163         * screen.C (drawFromTo): recalculate the rowpointer if we had a
13164         change in LyXText as we can not be sure it was not freed.
13165         (drawOneRow): remove unused code.
13166
13167         * text.C (drawInset): redo the calculation of the need_break_row as
13168         it could have a row which was already freed.
13169         (draw): look at the return value of drawInset and return false if
13170         it also returned false.
13171         (paintRowText): look at the return value of draw and return false if
13172         it also returned false.
13173
13174         * lyxtext.h: added bool return type to drawInset() and draw() so that
13175         if we have a change in the row so that the rowbreak has to be redone
13176         we abort drawing as it will be called again.
13177
13178 2002-05-02  Juergen Vigna  <jug@sad.it>
13179
13180         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
13181         a change in the maintext also if we're inside an inset.
13182         (Dispatch): set the cursor again after a break line and after the
13183         screen has been updated as it could be we're in a different row.
13184
13185         * text2.C (fixCursorAfterDelete): check to make sure we don't request
13186         to set the cursor behind the pargraph with > size().
13187         (setCursor): check also for the same paragraph when checking where
13188         to put the cursor if we have a NFR inset.
13189
13190         * buffer.C (parseSingleLyXformat2Token): move the compatibility
13191         parts of layout read further up as it still was in the wrong
13192         position.
13193
13194 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13195
13196         * screen.C (drawFromTo): change sine fullRebreak always return
13197         true.
13198
13199         * buffer.C (parseSingleLyXformat2Token): reindent some
13200
13201         * BufferView_pimpl.C (update): change since fullRebreak always
13202         return true.
13203         (Dispatch): git rid of the last hardcoded "Standard"s.
13204
13205 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13206
13207         * text2.[Ch] (fullRebreak): make it return void now that we always
13208         returned true.
13209
13210 2002-04-30  Juergen Vigna  <jug@sad.it>
13211
13212         * buffer.C (parseSingleLyXformat2Token): reset the font before the
13213         ert compatibility check for "latex" layout.
13214
13215 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
13216
13217         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
13218         minipages: use col% instead of p%, and also use the current font.
13219         (makeLaTeXFile): Fix use babel condition.
13220         (parseSingleLyXformat2Token): Correct font when reading old floats.
13221
13222 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
13223
13224         * BufferView_pimpl.C (Dispatch): Check that float type exists when
13225         inserting list of floats.
13226
13227 2002-04-25  Herbert Voss  <voss@lyx.org>
13228
13229         * MenuBackend.C (expand): don't add the graphics extensions to the
13230         export menu
13231
13232 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13233
13234         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
13235         non-existing layout, do not complain if it was the default layout
13236         of the original class (bug #342)
13237
13238 2002-04-24  Juergen Vigna  <jug@sad.it>
13239
13240         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
13241         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
13242
13243 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
13244
13245         * buffer.C (getBibkeyList): If using \bibliography, return the
13246         option field with the reference itself. Enables us to provide natbib
13247         support when using \bibliography.
13248
13249 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
13250
13251         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
13252
13253         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
13254         natbib is provided by the LaTeX class.
13255
13256 2002-04-23  Juergen Vigna  <jug@sad.it>
13257
13258         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
13259         Wakeup functions.
13260
13261         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
13262
13263 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13264
13265         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
13266
13267         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
13268         ensuremath around textordmasculine, textordfeminine and
13269         textdegree.
13270
13271 2002-04-19  Juergen Vigna  <jug@sad.it>
13272
13273         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
13274         reinitializing the buffer otherwise row-dimensions may be wrong.
13275         (update): reset also the selection cursors if they do exits otherwise
13276         their x/y positions may be wrong.
13277
13278         * text2.C (cursorDown): don't enter the inset if we came from a row
13279         above and are one row over the inset.
13280
13281         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
13282         really leaving an inset.
13283
13284 2002-04-18  Juergen Vigna  <jug@sad.it>
13285
13286         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
13287         of the selected paragraph does not have the selected layout also if
13288         the last one had!
13289
13290         * text2.C (setLayout): fixed bug which did not change last selected
13291         paragraph.
13292
13293         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
13294         changed the read and substituted \\end_float with \\end_inset!
13295
13296         * BufferView_pimpl.C (cursorPrevious):
13297         (cursorNext): fixed to make it work with rows heigher than the work
13298         area without moving the cursor only the draw of the row.
13299         (workAreaMotionNotify): fix jumping over high rows.
13300
13301 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13302
13303         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
13304         Ressler.
13305
13306 2002-04-16  Juergen Vigna  <jug@sad.it>
13307
13308         * text2.C (setCursor): set also the irow().
13309         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
13310         (cursorUp):
13311         (cursorDown): support for locking an inset if the x_fix value goes
13312         inside it. That way I can transverse insets too with cursor up/down.
13313
13314         * lyxrow.h: added irow helper function same as other (i) functions.
13315
13316         * BufferView_pimpl.C (cursorPrevious):
13317         (cursorNext): fixed for insets!
13318
13319 2002-04-15  Juergen Vigna  <jug@sad.it>
13320
13321         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
13322         position otherwise it is wrong in some cases.
13323
13324         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
13325         inside the inset before the call.
13326
13327 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
13328
13329         * buffer.[Ch] (getBibkeyList): make it const.
13330
13331 2002-04-12  Juergen Vigna  <jug@sad.it>
13332
13333         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
13334
13335         * text2.C (getCursorX): new helper function
13336         (setCursor): compute also ix_
13337         (setCursorFromCoordinates): set also ix.
13338
13339         * lyxcursor.h: added ix_ and helper functions.
13340
13341         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
13342
13343         * buffer.C (insertStringAsLines): dont break paragraph if the this
13344         paragraph is inside an inset which does not permit it!
13345
13346         * text.C (breakParagraph): honor keepempty flag and break the paragraph
13347         also with no chars on this paragraph.
13348         (paintRowText): only paint stuff if it's inside the workarea!
13349
13350         * paragraph.C (breakParagraph): honor keepempty flag and break the
13351         paragraph always below not above.
13352
13353         * BufferView2.C (unlockInset): update the paragraph layout on inset
13354         unlock as we changed paragraph in such a case.
13355
13356         * lyxfind.C (LyXFind): clear the former selection if not found!
13357
13358         * text2.C (insertInset): freeze Undo after setUndo so that it is not
13359         again called in insertChar().
13360
13361         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
13362         an inset which uses the whole row!
13363         (rightMargin): ditto.
13364         (insertChar): force a rebreak if we inserted an inset!
13365
13366 2002-03-28  Herbert Voss  <voss@lyx.org>
13367
13368         * lyxlength.[Ch]: add inBP() to get the right PS-point
13369         units (BigPoint). With inPixels we have rounding errors
13370
13371 2002-04-11  Juergen Vigna  <jug@sad.it>
13372
13373         * text2.C (setCursorFromCoordinates): set iy to the right value.
13374         (setCursor): add check if row->previous exists!
13375
13376         * buffer.C (parseSingleLyXformat2Token): reset font after read of
13377         an old float_type as this was the case in the old code!
13378
13379         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
13380
13381         * BufferView2.C (showLockedInsetCursor): use iy
13382         (fitLockedInsetCursor): ditto
13383
13384         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
13385         locked insets as there we have the right value now.
13386
13387         * lyxcursor.C: added iy_ variable and iy functions to set to the
13388         baseline of cursor-y of the locked inset.
13389
13390         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
13391         (setCursor): fixed for insets which need a full row.
13392
13393         * text.C (rowLastPrintable): don't ignore the last space when before
13394         an inset which needs a full row.
13395         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
13396         as last character of a row when before a inset which needs a full row.
13397
13398 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13399
13400         * version.C.in: update date
13401
13402         * text2.C (fullRebreak): try to always return true and see what
13403         happens...
13404
13405 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13406
13407         * MenuBackend.C (expand): use Floating::listName
13408
13409         * FloatList.C (FloatList): add listName argument to the built-in
13410         floats
13411
13412         * Floating.[Ch]: add listName member, which is the 'List of XXX'
13413         text associated with the float.
13414
13415 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13416
13417         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
13418
13419 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13420
13421         * ShareContainer.h: add a couple of missing typenames.
13422
13423 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
13424
13425         * lyxrc.C (getDescription): use _() correctly rather than N_().
13426
13427 2002-03-28  Herbert Voss  <voss@lyx.org>
13428
13429         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13430         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13431
13432 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13433
13434         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13435         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13436
13437 2002-03-29  Juergen Vigna  <jug@sad.it>
13438
13439         * lyxfunc.C (dispatch): add a missing fitCursor call.
13440
13441         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13442         it was scrolled by a cursor move, so return the bool status.
13443
13444         * BufferView.C (fitCursor): return the bool flag also to the outside
13445         world as this is needed.
13446
13447         * screen.C (toggleToggle): don't subtract the offset if it's positive.
13448
13449         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13450         call the edit() as it is not needed (and wrong) IMO.
13451         (workAreaButtonPress): set the screen_first variable before evt.
13452         unlock the inset as this may change screen_first and then we have
13453         a wrong y position for the click!
13454
13455 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13456
13457         * MenuBackend.C (expand): another translation that I missed
13458
13459 2002-03-28  Juergen Vigna  <jug@sad.it>
13460
13461         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13462
13463         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13464
13465 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13466
13467         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13468
13469         * MenuBackend.C (expand): fix export/view/update when there is no
13470         document open.
13471
13472 2002-03-27  Herbert Voss  <voss@lyx.org>
13473
13474         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13475         and text%
13476
13477 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13478
13479         * bufferview_funcs.C (currentState): only show paragraph number
13480         for is DEVEL_VERSION is set.
13481
13482         * lyxfunc.C (dispatch): put warning in INFO channel
13483
13484         * MenuBackend.C (expand): translate the name of floats
13485
13486         * FloatList.C (FloatList): mark the float names for translation
13487
13488         * converter.C (convert): use LibScriptSearch
13489
13490 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13491
13492         * MenuBackend.C (defaults): fix default menu (we might as well get
13493         rid of it...)
13494
13495 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13496
13497         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13498         directory.
13499
13500 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13501
13502         * lyxvc.C: reorder includes.
13503
13504 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
13505
13506         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13507           properly
13508
13509 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
13510
13511         * CutAndPaste.C: change layouts earlier on paste
13512           to avoid crashing when calling getFont()
13513
13514 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
13515
13516         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13517         irritating #error.
13518
13519 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13520
13521         * WorkArea.C: remove 'Pending' debug message.
13522
13523         * most files: ws cleanup
13524
13525         * buffer.[Ch]: ws changes
13526
13527         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13528
13529 2002-03-21  Juergen Vigna  <jug@sad.it>
13530
13531         * tabular.C (SetMultiColumn): collapse also the contents of the
13532         cells and set the last border right. Added a Buffer const * param.
13533
13534 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13535
13536         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13537         linking or not.
13538
13539 2002-03-19  Juergen Vigna  <jug@sad.it>
13540
13541         * text2.C (clearSelection): reset also xsel_cache.
13542
13543         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13544         where it needs to be called (John tells us to do so too :)
13545         (selectionLost): reset sel_cache.
13546
13547         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13548
13549 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13550
13551         * text2.C (setCursorIntern): put debuging code in INSETS channel
13552
13553 2002-03-19  André Pönitz <poenitz@gmx.net>
13554
13555         * lyxfunc.C: tiny whitespace change
13556
13557 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13558
13559         * ToolbarDefaults.C (init):
13560         * LyXAction.C (init):
13561         * commandtags.h:
13562         * BufferView_pimpl.C (Dispatch):
13563         * lyxfunc.C (dispatch): remove LFUN_DEPTH
13564
13565 2002-03-19  Allan Rae  <rae@lyx.org>
13566
13567         * exporter.C (Export): removeAutoInsets before doing anything else.
13568         While I've just introduced a dependency on BufferView this really is
13569         the best place to clean the buffer otherwise you need to cleanup in
13570         a dozen places before calling export or cleanup in a dozen functions
13571         that export calls.
13572
13573         * converter.C (runLaTeX):
13574         (scanLog): Better handling of removeAutoInsets and screen updates.
13575
13576         * lyxfunc.C (dispatch): small whitespace changes
13577
13578 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13579
13580         * WorkArea.C (C_WorkAreaEvent): return a value.
13581         (event_cb): return 1 if we handled the event, 0 otherwise.
13582
13583         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13584
13585 2002-03-18  Juergen Vigna  <jug@sad.it>
13586
13587         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13588         (GetAdditionalWidth): ditto.
13589         (RightLine): ditto.
13590         (LeftLine): ditto.
13591
13592         * BufferView2.C (copy): use getLyXText() so that we do it inside an
13593         inset if we're there actually (probably not used right now but this
13594         is the direction to go for unifying code).
13595         (paste): disable code to clear the selection.
13596
13597         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13598         inside an InsetText and move the check further up as it is in the
13599         wrong place.
13600
13601         * text2.C (pasteSelection): set a selection over the pasted text.
13602
13603 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
13604
13605         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13606         and libgraphics to build on Cygwin.
13607
13608 2002-03-15  Juergen Vigna  <jug@sad.it>
13609
13610         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13611         inserting an Inset into the paragraph. I know this is not the best
13612         fix but we already use current_view in CutAndPaste so we will remove
13613         all of it's using at the same time.
13614
13615         * buffer.C (sgmlError): deactivated function till it is rewritten in
13616         the right mode, now it can create problems.
13617
13618         * paragraph.C (isLineSeparator): check if getInset returns != 0,
13619         before accessing it.
13620
13621 2002-03-14  Juergen Vigna  <jug@sad.it>
13622
13623         * undo_funcs.C (textHandleUndo): do the right thing when updating
13624         the inset after the undo/redo.
13625
13626         * text2.C (setCursor): just some testcode for #44 not ready yet.
13627
13628         * undo_funcs.C (textHandleUndo): set the next() and previous()
13629         pointers of the paragraph to 0 before deleting otherwise we have
13630         problems with the Paragraph::[destructor].
13631
13632         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13633         on a paragraph insertion.
13634
13635 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13636
13637         * buffer.C (asciiParagraph): use += operator for char append to
13638         string.
13639
13640         * paragraph.C (getFontSettings): compare >= not just >
13641         (highestFontInRange): ditto
13642         (setFont): ditto
13643
13644 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13645
13646         * paragraph.C: change several algorithm to be more appripriate for
13647         the problem domain. This is lookip in FontList and in the InsetList.
13648
13649 2002-03-13  André Pönitz <poenitz@gmx.net>
13650
13651         * commandtags.h:
13652         * LyXAction.C: remove unused LFUN_MATH_MACROARG
13653
13654 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
13655
13656         * commandtags.h:
13657         * LyXAction.C:
13658         * lyxfunc.C:
13659         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13660
13661 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13662
13663         * Painter.C (display): anon helper function, adjust code for this
13664         change.
13665         (pixmap): remove function.
13666
13667         * Painter.h: remove private display variable.
13668
13669         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13670
13671 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
13672
13673         * WorkArea.[Ch]: remove figinset_canvas cruft.
13674
13675 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13676
13677         * lyxtextclass.C (operator): add one item cache optimization.
13678
13679         * bufferlist.h: doxy changes
13680
13681         * bufferlist.C: ws changes
13682
13683         * DepTable.[Ch] (ext_exist): place const in the right spot.
13684
13685         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13686         call resizeInsets.
13687         (workAreaExpose): call resizeInsets when the with BufferView changes.
13688         (Dispatch): adjust for protectedBlank removal
13689         (specialChar): call updateInset if the insert went ok.
13690
13691         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13692         specialChar instead.
13693
13694         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13695
13696         * BufferView.h: doxy change
13697
13698         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13699
13700         * lyxtextclass.C (operator[]): remove non-const version
13701         (defaultLayout): remove non-const version
13702
13703 2002-03-12  Juergen Vigna  <jug@sad.it>
13704
13705         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13706         did resize the LyXText too.
13707
13708         * buffer.C (readLyXformat2): set layout information on newly allocated
13709         paragraphs.
13710
13711         * tabular.C (OldFormatRead): set layout information on the paragraph.
13712
13713 2002-03-12  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13714
13715         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13716
13717 2002-03-11  Juergen Vigna  <jug@sad.it>
13718
13719         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13720         plainly wrong.
13721         (resizeCurrentBuffer): force also the insets to resize themselfes.
13722         (moveCursorUpdate): fixed up for InsetText.
13723
13724 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
13725
13726         * commandtags.h:
13727         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13728         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13729         value of Dialogs::tooltipsEnabled().
13730         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13731
13732 2002-03-08  Juergen Vigna  <jug@sad.it>
13733
13734         * BufferView_pimpl.C (updateInset): update inset inside inset also
13735         if it isn't inside theLockingInset().
13736
13737 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13738
13739         * buffer.C (asciiParagraph): redo some of the word and line length
13740         handling.
13741         (getLists): look for Caption instead of caption.
13742
13743 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13744
13745         * buffer.C (Buffer): initialize niceFile to true
13746         (makeLaTeXFile):
13747         (makeLinuxDocFile):
13748         (makeDocBookFile): make sure niceFile is true on exit
13749
13750 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13751
13752         * buffer.C (makeLaTeXFile): escape ~ in \input@path
13753
13754 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
13755
13756         * LyXSendto.C: remove.
13757         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13758         * lyx_gui.C: remove now-redundant comment.
13759         * ColorHandler.h: remove forward declaration of class WorkArea.
13760         * lyxfunc.C: remove #include "WorkArea.h".
13761
13762 2002-03-07  Juergen Vigna  <jug@sad.it>
13763
13764         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13765         got moved away with the DEPM and also set the inset_owner always
13766         right which before could have been omitted.
13767
13768 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13769
13770         * buffer.C (parseSingleLyXformat2Token): use default layout is the
13771         wanted layout is not found.
13772
13773 2002-03-07  Juergen Vigna  <jug@sad.it>
13774
13775         * CutAndPaste.C (cutSelection): another layout settings forgotten.
13776
13777 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13778
13779         * paragraph.C (breakParagraph): use default layout not layout of
13780         prev paragraph.
13781         (Paragraph): clear ParagraphParameters.
13782
13783 2002-03-06  Juergen Vigna  <jug@sad.it>
13784
13785         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13786         otherwise it would not be a valid lenght. Fixed a special case in
13787         the minipage compatibility read where we end the document with a
13788         minipage.
13789
13790         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13791         was set as it could be 0 for InsetTexts first entry.
13792
13793 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13794
13795         * paragraph.C (writeFile): if layout is empty write out
13796         defaultLayoutName().
13797
13798         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13799         file without named layout we set layout to defaultLayoutName().
13800
13801 2002-03-06  Juergen Vigna  <jug@sad.it>
13802
13803         * CutAndPaste.C (copySelection): set layout for new paragraph.
13804
13805         * text.C (prepareToPrint): leave ERT inset left aligned
13806         (leftMargin): don't indent paragraphs inside ERT insets
13807
13808 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13809
13810         * paragraph.C (breakParagraph): dont call clear do the work manually
13811
13812         * paragraph.[Ch] (clear): remove function
13813
13814 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13815
13816         * paragraph.C (Paragraph): dont call clear, the work has already
13817         been done.
13818
13819         * lyxtextclass.C (operator): assert if n is empty
13820
13821         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13822         work manually instead.
13823
13824 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13825
13826         * BufferView_pimpl.C: protect selectionLost against text == 0
13827
13828 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13829
13830         * text.C (breakParagraph): fix a setting layout to '0' problem.
13831
13832 2002-03-05  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13833
13834         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13835         final location of file, for the included files, and graphics.
13836
13837 2002-03-05  Juergen Vigna  <jug@sad.it>
13838
13839         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13840
13841 2002-03-04  Juergen Vigna  <jug@sad.it>
13842
13843         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13844
13845         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13846         last column of multicolumn cells.
13847         (SetWidthOfMulticolCell): recalculate NMC and real columns.
13848
13849 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
13850
13851         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13852         file if it doesn't go to a temporary file.
13853
13854         * buffer.C (sgmlOpenTag):
13855         (sgmlCloseTag):  remove extra newline insertion.
13856
13857 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13858
13859         * text.C (getRowNearY): comment out debug msg
13860
13861 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13862
13863         * text2.C: first -> first_y
13864
13865         * text.C (getRowNearY): add some attemts at a possible
13866         optimization, not working.
13867
13868         * tabular.[Ch]: add BufferParams to several function so that newly
13869         created paragraph can be initialized to he default layotu for the
13870         buffers textclass.
13871
13872         * tabular-old.C (ReadOld): add buf->params to call of Init
13873
13874         * screen.C: rename text->first to text->first_y
13875
13876         * paragraph.C (breakParagraph): always set layout in the broken
13877         paragraph
13878
13879         * lyxtextclass.C (Read): remove lowercase
13880         (hasLayout): ditto
13881         (operator): ditto
13882         (delete_layout): ditto
13883
13884         * lyxtext.h: rename first -> first_y
13885
13886         * lyxlayout.C (Read): remove lowercase
13887         (name): ditto
13888         (setName): ditto
13889         (obsoleted_by): ditto
13890
13891         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13892
13893         * buffer.C (insertErtContents): add params are to InsetERT
13894         (parseSingleLyXformat2Token): add code to check if a paragraphs
13895         layout really exist.
13896         (parseSingleLyXformat2Token): add params to several inset
13897         constructors
13898         (asciiParagraph): remove lowercase, do the layout comparisons with
13899         no_case
13900
13901         * BufferView_pimpl.C (cursorNext): first -> first_y
13902         (resizeCurrentBuffer): first -> first_y
13903         (updateScrollbar): first -> first_y
13904         (scrollCB): first -> first_y
13905         (workAreaMotionNotify): first -> first_y
13906         (workAreaButtonPress): first -> first_y
13907         (checkInsetHit): first -> first_y
13908         (cursorPrevious): first -> first_y
13909         (cursorNext): first -> first_y
13910         (Dispatch): add buffer_->params to severl inset contructors
13911
13912 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13913
13914         * lyxlayout.C (Read): remove some debug info that I forgot.
13915
13916         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13917         clean up the code slightly.
13918         (makeLinuxDocFile): ditto
13919         (makeDocBookFile): ditto
13920
13921         * text2.C: layout as string
13922
13923         * text.C: layout as string
13924
13925         * paragraph_pimpl.C: layout as string
13926
13927         * paragraph.[Ch]: layout as string
13928
13929         * lyxtextclasslist.[Ch]: layout as string
13930
13931         * lyxtextclass.[Ch]: layout as string
13932
13933         * lyxtext.h: layout as string
13934
13935         * lyxlayout.[Ch]: layout as string
13936
13937         * lyx_cb.C: layout as string
13938
13939         * bufferview_funcs.C: layout as string
13940
13941         * bufferparams.C: layout as string
13942
13943         * buffer.C: layout as string
13944
13945         * LyXView.[Ch]: layout as string
13946
13947         * LaTeXFeatures.[Ch]: layout as string
13948
13949         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13950
13951         * BufferView_pimpl.C: change current_layout to string, remove
13952         lyx::layout_type.
13953         (Dispatch):
13954         (smartQuote):
13955         (insertInset):
13956         (workAreaButtonRelease): layout as string
13957
13958         * BufferView2.C (unlockInset): adjust
13959
13960         * vspace.C (asLatexCommand): use an explict temp variable.
13961
13962 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13963
13964         * Makefile.am: use FRONTEND_*
13965
13966 2002-03-01  Juergen Vigna  <jug@sad.it>
13967
13968         * tabular.C (SetWidthOfMulticolCell): changed to something better
13969         I hope but still work in progress.
13970         (recalculateMulticolumnsOfColumn): renamed function from
13971         recalculateMulticolCells as it is more appropriate now.
13972         (SetWidthOfCell): calculate multicols better.
13973
13974 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13975
13976         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13977
13978         * lyxfunc.C (processKeySym): print sequence also if it is
13979         `deleted' (complete)
13980
13981         * kbsequence.C (print): print sequence even if it is deleted
13982         (complete would be a better word, actually).
13983
13984         * lyxfunc.C (dispatch): print complete options after a prefix key
13985
13986         * vspace.C (asLatexCommand): rewrite in a slightly different form.
13987
13988 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
13989
13990         * text2.C (setCharFont): eliminate setCharFont code duplication.
13991
13992 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13993
13994         * BufferView_pimpl.C (Dispatch): remove bogus handling of
13995         LFUN_TABULAR_FEATURE (bug #177)
13996
13997 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
13998
13999         * Makefile.am: remove figure.h
14000
14001 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
14002
14003         * Bufferview_pimpl.C:
14004         * CutAndPasteC:
14005         * LaTeX.C:
14006         * LyXSendto.C:
14007         * buffer.C:
14008         * bufferlist.C:
14009         * converter.C:
14010         * language.C:
14011         * lyxfunc.C:
14012         * lyxvc.C:
14013         * paragraph.C:
14014         * text.C:
14015         * text2.C: remove #include "lyx_gui_misc.h".
14016
14017         * LaTeX.C: added #include <cstdio>
14018
14019 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14020
14021         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
14022         that the paragraph following this one can have.
14023
14024         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
14025
14026         * vspace.C (asLatexCommand): fix bogus gcc warning
14027
14028         * Makefile.am (lyx_SOURCES): remove vms_defines.h
14029
14030 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
14031
14032         * text2.C (setLayout): get rid of redundant code
14033
14034 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
14035
14036         * text2.C (incDepth): make sure depth cannot be increased beyond
14037         reasonable values.
14038
14039 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
14040
14041         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
14042         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
14043
14044         * PainterBase.h (image):
14045         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
14046         a LyXImage const *.
14047
14048 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
14049
14050         * BufferView.C:
14051         * BufferView.h:
14052         * BufferView_pimpl.C:
14053         * BufferView_pimpl.h:
14054         * LaTeXFeatures.C:
14055         * LyXAction.C:
14056         * LyXView.C:
14057         * Makefile.am:
14058         * UpdateList.h:
14059         * UpdateList.C:
14060         * buffer.C:
14061         * figure.h:
14062         * figureForm.C:
14063         * figureForm.h:
14064         * figure_form.C:
14065         * figure_form.h:
14066         * lyx_cb.C:
14067         * lyx_gui.C:
14068         * lyx_gui_misc.C:
14069         * lyxfunc.C:
14070         * sp_base.h:
14071         * sp_ispell.h:
14072         * sp_pspell.h:
14073         * sp_spell.C: remove fig inset, and the crap house of
14074           cards that follows it
14075
14076 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
14077
14078         * Makefile.am:
14079         * lyxserver.C:
14080         * os2_defines.h:
14081         * os2_errortable.h:
14082         * nt_defines.h: move .h into support/
14083
14084         * vms_defines.h: remove
14085
14086         * WorkArea.C: add space in debug output
14087
14088         * text2.C:
14089         * paragraph.C:
14090         * buffer.C: add WITH_WARNINGS
14091
14092         * vc-backend.h:
14093         * vc-backend.C:
14094         * bufferlist.C: s/retrive/retrieve/, add docs
14095
14096         * vspace.h:
14097         * vspace.C:
14098         * kbmap.h:
14099         * lyxlength.h:
14100         * lyxgluelength.h:
14101         * length_common.h:
14102         * chset.h:
14103         * chset.C: add docs
14104
14105         * lyxgui.C: add ID to X error handler
14106
14107         * lyxtestclass.c: fix typo
14108
14109 2002-02-26  Juergen Vigna  <jug@sad.it>
14110
14111         * tabular_funcs.C (write_attribute): changed so that some default
14112         attributes are not written at all.
14113         (getTokenValue): set default values before trying to read the
14114         value so we have the return value always set as default if we don't
14115         find the token we search for.
14116
14117         * tabular.C (Write): write bools as bools not as strings!
14118
14119 2002-02-22  Juergen Vigna  <jug@sad.it>
14120
14121         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
14122         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
14123
14124         * text.C (leftMargin): don't add an indent for paragraphs inside
14125         tabular cells (fix #208).
14126
14127 2002-02-21  José Matos  <jamatos@fep.up.pt>
14128
14129         * tabular.C (docBook): fixed support for long tables.
14130
14131 2002-02-20  Juergen Vigna  <jug@sad.it>
14132
14133         * text2.C (getFont): get the drawing font of the Inset if this
14134         paragraph is inside an inset (only important for InsetERT for now).
14135
14136         * buffer.C (insertErtContents): use new lanugage params in ERT
14137         constructor.
14138
14139         * CutAndPaste.C: commenting out seemingly uneeded code.
14140
14141 2002-02-19  Allan Rae  <rae@lyx.org>
14142
14143         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
14144         Iterators might be simple to use but they also get invalidated.
14145         (removeAutoInsets): renamed saved cursor tracking variables and added
14146         some comments to clarify what everything does.
14147
14148 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
14149
14150         * Chktex.C:
14151         * LaTeX.C:
14152         * LyXSendto.C:
14153         * converter.C:
14154         * lyx_cb.C:
14155         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
14156         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
14157
14158         * lyxfunc.C:
14159         * vc-backend.h: remove #include "support/syscall.h"
14160
14161         * LaTeX.C:
14162         * LyXSendto.C:
14163         * converter.C: rearrange #includes in Lars' approved fashion.
14164
14165         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
14166         forward declare class Timeout in the header file.
14167
14168         * XFormsView.C: changes due to the above.
14169
14170         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
14171         similar to LyXView.
14172
14173         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
14174         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
14175
14176 2002-02-18  José Matos  <jamatos@fep.up.pt>
14177
14178         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
14179         insets contents.
14180
14181 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14182
14183         * a lot of small ws changes
14184         * add a lot of using std::XXX
14185         * use std construcs some places where approp.
14186         * use some exisint stuff from lyxfunctional where approp.
14187         * Make file changes to use partial linking (lets test this now...)
14188
14189 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
14190
14191         * Chktex.C:
14192         * buffer.C:
14193         remove #include "support/syscontr.h" as it's redundant. Always has been.
14194
14195         * Chktex.C:
14196         * LaTeX.C:
14197         * LyXSendto.C:
14198         * converter.C:
14199         * lyx_cb.C:
14200         * vc-backend.C:
14201         change Systemcalls::System to Systemcalls::Wait and
14202         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
14203         No change of functionality, just reflects the stripped down Systemcalls
14204         class.
14205
14206 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
14207
14208         * debug.[Ch]: add a GRAPHICS type to the enum.
14209
14210 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14211
14212         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
14213
14214         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
14215         there is an inset.
14216
14217 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14218
14219         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
14220         match the changes below.
14221
14222         * text2.C (toggleInset): if there is not editable inset at cursor
14223         position, try to see if cursor is _inside_ a collapsable inset
14224         and close it.
14225
14226 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14227
14228         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
14229         document menu has a nice checkbox
14230
14231 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14232
14233         * lyxlength.C (asLatexString): change PW to output as percent of
14234         \textwidth.
14235
14236         * lengthcommon.C: change '%' to 't%'
14237
14238         * lyxfunc.C (dispatch): a few comments from Martin
14239
14240 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
14241
14242         * WorkArea.h:
14243         * WorkArea.C:
14244         * BufferView_pimpl.h:
14245         * BufferView_pimpl.C: clear our selection when X tells us we've lost
14246           the X selection.
14247
14248 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14249
14250         * vspace.C (inPixels): fix compiler warning
14251
14252 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14253
14254         * lyxfunc.C (getStatus): fix status message for disabled commands.
14255
14256 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
14257
14258         * BufferView_pimpl.C: fix crash on close buffer
14259         during selection (#227)
14260
14261 2002-01-27  Herbert Voss  <voss@lyx.org>
14262
14263         * buffer.C: link old Figure to new graphic inset
14264
14265 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14266
14267         * FontLoader.C (getFontinfo): Change the latex font names in order
14268         to match the names of type1inst.
14269
14270 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14271
14272         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
14273
14274         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
14275         (extchanged): ditto
14276         (ext_exist): ditto
14277         (remove_files_with_extension): ditto
14278         (remove_file): ditto
14279         (write): ditto
14280
14281         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
14282         document is smaller than the work area height. Do not initialize
14283         static variables to 0.
14284
14285 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14286
14287         * lyx_gui.C (init): give the toolbar tooltips a normal font.
14288
14289         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
14290         LFUN_LAYOUT_PARAGRAPHS.
14291
14292         * tabular.C (GetCellFromInset): new method. Finds an inset in a
14293         tabular. It is possible to provide a possible cell, which will
14294         typically be the actcell from the corresponding insettabular
14295
14296         * lyxfunc.C (getStatus): small cleanup; disable
14297         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
14298         true
14299
14300 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14301
14302         * tabular.C (Validate): remove broken optimization (fixes bug #201)
14303
14304         * paragraph.C (startTeXParParams):
14305         (endTeXParParams): new methods. The LaTeX code to
14306         start/end paragraph formatting
14307         (simpleTeXOnePar): call startTeXParParams also when paragraph is
14308         empty (fixes bug #200)
14309
14310         * vspace.C (inPixels): adapt to the change below
14311         (inPixels): [later] more cleanups (remove unused variables)
14312
14313         * lyxlength.C (inPixels): change to use a width and a height as
14314         parameter.
14315
14316 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14317
14318         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
14319         Replaced with \paperwidth
14320
14321         * DepTable.C (insert): add std:: qualifier
14322
14323 2002-01-18  Allan Rae  <rae@lyx.org>
14324
14325         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
14326         updated also?
14327
14328         * text.C (drawInset): Turned out I didn't know enough about how
14329         rebreaking worked.  This fixes most of the redraw problems.  I see
14330         an occasional cursor trail when a line is broken now and the cursor
14331         placement can seem out by a few pixels also after a rebreak.
14332
14333 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14334
14335         * buffer.C (parseSingleLyXformat2Token): update because minipage
14336         width is now a LyXLength
14337
14338         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
14339
14340         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
14341         math insets
14342
14343 2002-01-17  Juergen Vigna  <jug@sad.it>
14344
14345         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
14346
14347         * BufferView2.C (lockInset): call edit() so that theLockingInset()
14348         is set correctly and the inset is updated correctly.
14349
14350 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14351
14352         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
14353         the beginning of the loop.
14354
14355 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
14356
14357         * lyxrc.C: improve help for use_scalable_fonts
14358
14359 2002-01-17  Allan Rae  <rae@lyx.org>
14360
14361         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
14362
14363 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14364
14365         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
14366         make sure to set their inset_owner to the right value (bug #171)
14367
14368 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
14369
14370         * DepTable.h
14371         * DepTable.C: Implement mtime checking to reduce time spent doing
14372         CRCs.
14373
14374 2002-01-16  Juergen Vigna  <jug@sad.it>
14375
14376         * tabular.C (GetAdditionalHeight): one of error fixed.
14377
14378         * lyxrc.C (output): small fix in writing use_pspell.
14379
14380 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
14381
14382         * sp_base.h: #include LString.h
14383
14384 2002-01-16  Allan Rae  <rae@lyx.org>
14385
14386         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
14387         Can someone check this please?
14388
14389         * text.C (drawInset): It was possible that p.row would be removed by
14390         breakAgainOneRow upsetting a few other settings.  There may be another
14391         small tweak possible by setting need_break_row = 0 when p.row has been
14392         removed but I don't know enough about the logic here.
14393
14394 2002-01-15  Allan Rae  <rae@lyx.org>
14395
14396         * text.C (insertChar): removed conditional truism.
14397
14398         * BufferView2.C (removeAutoInsets): More tweaks.
14399         cur_par_prev could be a stray pointer.  Check for trailing empty line
14400         in case last line was cur_par and only had an error inset on it.
14401
14402 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14403
14404         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
14405         absolute
14406
14407         * vc-backend.C (most methods):
14408         * exporter.C (Export):
14409         * converter.C (convert):
14410         (runLaTeX):
14411         * LyXSendto.C (SendtoApplyCB):
14412         * lyxfunc.C (dispatch):
14413         (menuNew):
14414         (open):
14415         (doImport):
14416         * lyx_cb.C (AutoSave):
14417         (InsertAsciiFile):
14418         * BufferView_pimpl.C (MenuInsertLyXFile):
14419         * buffer.C (runChktex): use Buffer::filePath().
14420
14421         * buffer.h: rename filename to filename_; rename filepath to
14422         filepath_ and make it private
14423         (filePath): new method
14424
14425         * buffer.C (writeFile): use fileName()
14426         (getLatexName):
14427
14428         * lyx_main.C (init): fix starting  of LyX when the binary is a
14429         link from so,ewhere else.
14430
14431         * minibuffer.C: include <cctype> for isprint
14432
14433 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14434
14435         * buffer.C (parseSingleLyXformat2Token): changes associated with the
14436         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14437         name clash with InsetCollapsable's width function.
14438
14439 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14440
14441         * lastfiles.C: include <iterator>
14442
14443 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14444
14445         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14446         std::count.
14447
14448         * buffer.C (makeLaTeXFile): ditto.
14449         Also make loop operation more transparent.
14450
14451 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14452
14453         * ToolbarDefaults.C: remove trailing comma closing namespace.
14454
14455         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14456
14457         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14458         as in WorkArea.
14459
14460         * trans.C (Load): comment out unused variable, allowed.
14461
14462 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14463
14464         * minibuffer.[Ch] (append_char): new method to recieve input from the
14465         drop-down completion browser. If a key was pressed, then recieve this
14466         char and append it to the existing string.
14467         (peek_event): modify the positioning data passed to the completion
14468         browser so that it can be placed above the minibuffer rather than below.
14469 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14470
14471         * LyXAction.C (init): alloe error-next for readonly documents.
14472
14473         * BufferView2.C (ChangeRefsIfUnique): use standard version of
14474         count.
14475
14476 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14477
14478         * bufferlist.C (readFile): create the buffer _after_ checking that
14479         the file exists.
14480
14481         * lyxfunc.C (verboseDispatch): fix handling of arguments
14482
14483         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14484
14485         * lyxrc.C: use string::erase() instead of initializing to "".
14486
14487
14488 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14489
14490         * BufferView_pimpl.h:
14491         * BufferView_pimpl.C:
14492         * WorkArea.h:
14493         * WorkArea.C:
14494         * text2.C: tell X when we have made a selection for copying
14495
14496 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14497
14498         * BufferView_pimpl.C (MenuInsertLyXFile):
14499         * lyxfunc.C (menuNew):
14500         (open):
14501         (doImport): add shortcuts to directory buttons
14502
14503         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14504         open a float)
14505
14506         * lyxfunc.C (setStatusMessage):
14507         (getStatusMessage): new methods
14508         (getStatus):use setStatusMessage instead of setErrorMessage
14509         (dispatch): when function is disabled, set error message here
14510         [instead of in getStatus previously]
14511
14512         * BufferView_pimpl.C (workAreaButtonRelease): update
14513         toolbar/menubar here too.
14514
14515 2002-01-13  Allan Rae  <rae@lyx.org>
14516
14517         * BufferView2.C (removeAutoInsets): finished off earlier fix.
14518         Now seems indestructible.  Remaining task is to audit all other
14519         code affected by deleteEmptyParagraphMechanism.  One small quirk
14520         left is that an empty document with an error in the preamble can
14521         be made to report an error but no error box appears.  I don't know
14522         where it goes.
14523         (removeAutoInsets): Improved comments.
14524
14525 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
14526
14527         * Thesaurus.h:
14528         * Thesaurus.C: update for Aiksaurus 0.14
14529
14530 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14531
14532         * text2.C (firstParagraph): removed member function, all uses
14533         replaces with ownerParagraph
14534         (redoParagraphs): here
14535         (updateInset): here
14536         (toggleAppendix): here
14537         * BufferView2.C (insertErrors): here
14538         (setCursorFromRow): here
14539
14540 2002-01-13  Allan Rae  <rae@lyx.org>
14541
14542         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14543         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14544         There is still a way to segfault this although you may have to do this
14545         multiple times: Have an InsetERT with an unknown command in it.
14546         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14547         <down-arrow>, <Enter> again, View->DVI, BANG!
14548
14549         * text2.C (setCursor):
14550         (deleteEmptyParagraphMechanism):
14551         * lyxtext.h (setCursor):
14552         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14553         Making use of the return value may help fix other bugs.
14554
14555 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14556
14557         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14558
14559         * LyXView.C (updateMenubar): call MenuBar::update here
14560         (updateToolbar): but not here
14561         (showState): do not update toolbar/menubar
14562
14563         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14564         should need to care about that.
14565
14566         * lyxfunc.C (verboseDispatch): simplify a bit
14567         (getStatus): have a version which takes a pseudoaction, and
14568         another which requires a (kb_action,string).
14569
14570         * LyXAction.C (retrieveActionArg): make it work also when action
14571         is not a pseudo-action.
14572         (getActionName): simplify a bit
14573         (helpText):
14574
14575 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14576
14577         * lyxfunc.C (verboseDispatch): new families of methods with
14578         several ways to specify a command and a bool to indicate whether
14579         the command name and shortcut should be displayed in minibuffer
14580         (eventually, we could extend that to a finer bitmask like
14581         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14582         (dispatch): the pristine dispatch command which just, well,
14583         dispatchs! Note it still sets its result to minibuffer; I'm not
14584         sure we want that.
14585
14586         * lyxfunc.h: remove setHintMessage
14587
14588         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14589
14590 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14591
14592         * BufferView_pimpl.C (specialChar): delete new inset if we have
14593         not been able to insert it.
14594
14595         * kbmap.C: revert to using int instead of kb_action, since all we
14596         are dealing with is pseudo-actions.
14597
14598         * LyXAction.C (searchActionArg): change to return int instead of
14599         kb_action, since the result is a pseudoaction.
14600
14601 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
14602
14603         * buffer.C (insertErtContents): Fix (partially) the font bug.
14604
14605 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14606
14607         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14608         as the other one is broken on my machine!
14609
14610 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
14611
14612         * commandtags.h:
14613         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14614
14615 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
14616
14617         * lyxrc.[Ch]: change names and descriptions of popup font variables to
14618         reflect their actual use. Provide compatibility code for older lyxrc
14619         files.
14620
14621         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14622         FL_NORMAL_STYLE.
14623         change names of popup font variables in line with the changes to lyxrc.C
14624
14625 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14626
14627         * buffer.C (asciiParagraph): avoid outputing a word twice after
14628         an inset.
14629
14630         * lyxrc.C (getDescription): document that document_path and
14631         template_path can be empty.
14632
14633 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14634
14635         * LaTeXFeatures.C (getMacros):
14636         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14637
14638         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14639
14640         * LaTeXFeatures.C (useFloat): require "float" here instead of in
14641         getPackages.
14642         (getPackages): rename feature "floats" to "float". Use an array to
14643         iterate over 'simple' features (i.e. just a \usepackage). Add
14644         handling of "amsmath" (renamed from "amsstyle").
14645
14646 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
14647
14648         * LaTeXFeatures.C (require): Prevent duplicate entries in the
14649         features list.
14650
14651 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
14652
14653         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14654         FuncStaus::FuncStatus & FuncStaus::some_method().
14655
14656 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
14657
14658         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14659         of the func_satus stuff. Edited and massaged in various ways by
14660         JMarc.
14661
14662         * lyxfunc.C (getStatus): use FuncStatus
14663
14664 2002-01-08  Juergen Vigna  <jug@sad.it>
14665
14666         * text.C (nextBreakPoint): use function Inset::isChar().
14667
14668         * paragraph.C (TeXOnePar): use function
14669         Inset::forceDefaultParagraphs.
14670
14671         * buffer.C (latexParagraphs): use function
14672         Inset::forceDefaultParagraphs.
14673
14674 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14675
14676         * lyx_gui.C (init): set the style of the menu popups to
14677         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14678
14679 2002-01-07  Juergen Vigna  <jug@sad.it>
14680
14681         * text.C (setHeightOfRow): small fix
14682         (prepareToPrint): don't look at alignment if we don't have the place
14683         for doing it.
14684
14685 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14686
14687         * box.C: New file. Move the Box methods and functions out of box.h,
14688         following Lars' suggestion.
14689
14690 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14691
14692         * box.h: #include "support/LOstream.h", needed for inlined function.
14693
14694         * lyxtextclass.C:
14695         * lyxtextclasslist.C: added some using std declarations.
14696
14697 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
14698
14699         * box.h: make signed dimensions to allow insets wider than
14700           the screen (bug #162)
14701
14702         * BufferView_pimpl.C: add some insetHit debug
14703
14704 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
14705
14706         * vc-backend.C: add FIXME
14707
14708 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14709
14710         * lyxfunc.C (getStatus): enable code for showing math font status
14711         in toolbar/menu.
14712
14713 2002-01-07  Juergen Vigna  <jug@sad.it>
14714
14715         * text.C (nextBreakPoint): removed debug output not needed anymore.
14716
14717 2002-01-06  Juergen Vigna  <jug@sad.it>
14718
14719         * text.C (nextBreakPoint): fixed up this function we had this bug
14720         since ever but now hopefully we break row better.
14721         (insertChar): we have to check if an inset is the next char as it
14722         could now happen that a large inset is causing a break.
14723
14724 2002-01-05  Juergen Vigna  <jug@sad.it>
14725
14726         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14727         if it doesn't like to be drawed.
14728
14729 2002-01-04  Juergen Vigna  <jug@sad.it>
14730
14731         * BufferView2.C (lockInset): forgot to set a cursor.
14732
14733         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14734
14735 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
14736
14737         * FormMathsPanel.C:
14738         * FormMathsPanel.h
14739         * MathsSymbols.C:
14740         * form_maths_panel.C:
14741         * form_maths_panel.h:
14742         * form_maths_panel.fd: implemented sub- and super- buttons in math
14743         panel.
14744
14745         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14746         (or ^ space) to be used as in TeX (req'd by Andr�.
14747
14748         * lyxfunc.C: Allow ^ and _ again to be used both as
14749         super/subscript (mathed) and as themselves (in text).
14750
14751 2002-01-03  Allan Rae  <rae@lyx.org>
14752
14753         * LyXView.C (updateWindowTitle): Setup a short icon title of either
14754         "LyX" or the filename of the current buffer if it has one.  This is a
14755         modified form of John Levon's patch.
14756
14757         * XFormsView.C (setWindowTitle): also set icon title.
14758
14759         * LyXView.h (setWindowTitle): signature changed.
14760         * XFormsView.h (setWindowTitle): ditto.
14761
14762 2002-01-02  Juergen Vigna  <jug@sad.it>
14763
14764         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14765
14766 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14767
14768         * screen.C (topCursorVisible): introduce a temp var for
14769         text->cursor.row(), handle the case where this row is null. (kindo
14770         hachish)
14771
14772         * text2.C (setCursor): add a couple of asserts.
14773
14774         * paragraph.h (inset_iterator): add -> operator
14775
14776         * paragraph.[Ch] (autoDeleteInsets): remove member function
14777
14778         * BufferView2.C (removeAutoInsets): rewrite to handle the old
14779         cursor pos correctly and handle inset deletion by itself.
14780         (insertErrors): move iterator declaration out of for expression
14781
14782         * lyxtextclass.C: add <algorithm>
14783
14784         * Makefile.am: added the new files to sources, removed layout.C
14785
14786         * layout.C: removed file
14787
14788         * layout.h: remove LYX_DUMMY_LAYOUT
14789
14790         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14791         layout.
14792
14793         * lyxlayout.[Ch]:
14794         * lyxtextclass.[Ch]:
14795         * lyxtextclasslist.[Ch]: new files
14796
14797         * include order changes to a lot of files, also changes because of
14798         the six new files.
14799
14800 2001-12-27  Juergen Vigna  <jug@sad.it>
14801
14802         * buffer.C (asciiParagraph): more fixes.
14803
14804         * tabular.C (ascii): make ascii export support export of only the
14805         data separated by a column-delimiter.
14806         (ascii): better support for ascii export.
14807
14808         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14809
14810 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14811
14812         * tabular_funcs.C: use a "using std::getline" instead of the
14813         previous fix from Angus (necessary for cxx + lyxstring)
14814
14815 2001-12-24  Juergen Vigna  <jug@sad.it>
14816
14817         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14818
14819         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14820         problems. First check a minipage also if we have some ert-contents
14821         (not only on par->size(), second set the right depth of the paragraph
14822         on the relink to the root-paragraph-list!
14823
14824         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14825         which then did not anymore update the main paragraphs on undo/redo!
14826
14827 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14828
14829         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14830         code. Support all font-changing funcs (even those which are not in
14831         menu currently). Support for reporting font settings in
14832         mathed (disabled until Andre provides a function on mathed's side).
14833
14834         * func_status.h (toggle): small helper function to set toggle
14835         state on a flag.
14836
14837 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
14838
14839         * tabular_funcs.C: getline -> std::getline
14840
14841 2001-12-21  Juergen Vigna  <jug@sad.it>
14842
14843         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14844         accessed and could be 0 (I couldn't generate this but it seems
14845         Michael could!).
14846
14847 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14848
14849         * tabular_funcs.C: add LIstream.h, move write_attribute to..
14850         * tabular_funcs.h: here and include iosfwd
14851
14852 2001-12-20  Juergen Vigna  <jug@sad.it>
14853
14854         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14855         inside inset but undo_par was.
14856
14857 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14858
14859         * Thesaurus.C: always include <config.h> in sources.
14860
14861         * Painter.h:
14862         * lyxlookup.h:
14863         * box.h: do not include <config.h> in header files
14864
14865         * text.C (paintLastRow): remove unused variable
14866
14867         * text.C (transformChar):
14868         (insertChar):
14869         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14870
14871         * Painter.C (text):
14872         * font.C (width): rewrite to use uppercase() instead of
14873         islower/toupper.
14874
14875         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14876
14877 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
14878
14879         * lyxfind.C: clean up of find failure position change
14880
14881 2001-12-20  Juergen Vigna  <jug@sad.it>
14882
14883         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14884
14885         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14886         (TeXRow): added to LaTeX a single tabular row.
14887         (TeXLongtableHeaderFooter): added to output LT-h/f data.
14888         (Latex): simplified and finally good LT-h/f support.
14889         (various_functions): just small adaptions for LT-h/f support.
14890
14891         * tabular_funcs.[hC]: added and moved here all not classfunctions
14892         of LyXTabular.
14893
14894 2001-12-19  Juergen Vigna  <jug@sad.it>
14895
14896         * tabular.[Ch]: better support for longtabular options (not finished
14897         yet!)
14898
14899 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14900
14901         * text.C (paintLastRow): use the label font instead of the font of
14902         the last character to compute the size of *_BOX. This makes more
14903         sense and avoids a crash with empty paragraphs.
14904         Use Painter::rectangle to draw EMPTY_BOX.
14905
14906 2001-12-19  Juergen Vigna  <jug@sad.it>
14907
14908         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14909         the paragraphs if the replaced paragraph is not the first one!
14910         Tried to delete not used paragraphs but does not work yet so for
14911         now it's inside #ifdef's and by default off!
14912
14913 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14914
14915         * MenuBackend.C: include "lyx_main.h" instead of declaring
14916         lastfiles (actually was declared as LastFiles* instead of a
14917         scoped_ptr).
14918
14919 2001-12-17  Juergen Vigna  <jug@sad.it>
14920
14921         * tabular.C (AppendColumn): applied John's fix
14922
14923 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
14924
14925         * BufferView.h:
14926         * BufferView.C:
14927         * BufferView_pimpl.h:
14928         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14929
14930         * Makefile.am:
14931         * box.h: new start of class for above
14932
14933         * lyxfunc.C: ignore space-only minibuffer dispatches.
14934           Show the command name when it doesn't exist
14935
14936         * minibuffer.C: don't add empty lines to the history
14937
14938         * minibuffer.C: add a space on dropdown completion
14939
14940 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
14941
14942         * text.C: fix line above/below drawing in insets
14943
14944 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14945
14946         * lyxlength.C (LyXLength): Initialize private variables.
14947
14948 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
14949
14950         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14951         when inserting error insets.
14952
14953 2001-12-13  Juergen Vigna  <jug@sad.it>
14954
14955         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14956         actually sometimes the before-paragraph.
14957         (setUndo): don't clear the redostack if we're not actually undoing!
14958
14959 2001-12-06  Juergen Vigna  <jug@sad.it>
14960
14961         * undo_funcs.C (textHandleUndo): well after John's hint I got here
14962         and fixed redoing of main paragraph, so we can use it now ;)
14963
14964         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14965
14966 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14967
14968         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14969         Juergen's request
14970
14971 2001-12-13  André Pönitz <poenitz@gmx.net>
14972
14973         * undostack.[Ch]:
14974         * undo_func.C: minor cleanup
14975
14976 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14977
14978         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14979         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14980         font in urw-fonts package which is marked as -urw-fontspecific and
14981         does not work (incidentally, changing the encoding in the
14982         fonts.dir of this package to -adobe-fontspecific fixes the
14983         problem).
14984
14985         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14986         is a crash when undoing first paragraph (Juergen, please take a
14987         look). THis does not mean the undo fix is wrong, just that it
14988         uncovers problems.
14989
14990         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14991         the (Paragraph*) version when needed instead of duplicating the
14992         code.
14993
14994         * text.C (workWidth): use Inset::parOwner to find out where the
14995         inset has been inserted. This is a huge performance gain for large
14996         documents with lots of insets. If Inset::parOwner is not set, fall
14997         back on the brute force method
14998
14999         * paragraph_pimpl.C (insertInset):
15000         * paragraph.C (Paragraph):
15001         (cutIntoMinibuffer): set parOwner of insets when
15002         inserting/removing them
15003
15004         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
15005
15006 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
15007
15008         * commandtags.h:
15009         * LyXAction.C:
15010         * lyx_main.C:
15011         * lyxfunc.C:
15012         * mathed/formulabase.C:
15013         * mathed/math_cursor.[Ch]:
15014         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
15015
15016
15017 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15018
15019         * lyxlength.[Ch] (operator!=): new function
15020
15021 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
15022
15023         * text.C (workWidth): use Inset::parOwner to find out where the
15024         inset has been inserted. This is a huge performance gain for large
15025         documents with lots of insets. If Inset::parOwner is not set, fall
15026         back on the brute force method
15027
15028         * paragraph_pimpl.C (insertInset):
15029         * paragraph.C (Paragraph):
15030         (cutIntoMinibuffer): set parOwner of insets when
15031         inserting/removing them
15032
15033         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
15034
15035 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
15036
15037         * tabular-old.C (getTokenValue):
15038         * tabular.C (getTokenValue):
15039         (write_attribute): new versions for LyXLength
15040         (everywhere): adjust the use of widths
15041
15042         * tabular.h: change the type of widths from string to LyXLength
15043
15044 2001-12-11  Ben Stanley <bds02@uow.edu.au>
15045
15046         * paragraph.C: fixed missing line number count when exporting
15047         Environments to LaTeX file
15048
15049         * buffer.C: added informational message for checking line numbers.
15050
15051 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
15052
15053         * text2.C (deleteEmptyParagraphMechanism): if there is only one
15054         paragraph, do the 'double space' part, but not the 'empty
15055         paragraph' one.
15056
15057         * text.C (workWidth): small optimization
15058         (getLengthMarkerHeight): use minimal size for negative lengths.
15059
15060 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
15061
15062         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
15063
15064         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
15065
15066 2001-12-11  André Pönitz <poenitz@gmx.net>
15067
15068         * FontLoader.C:
15069         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
15070
15071 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
15072
15073         * text2.C: keep selection on a setFont()
15074
15075 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
15076
15077         * lyx_cb.C: another bv->text misuse, from insert label
15078
15079 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
15080
15081         * kbsequence.h:
15082         * kbsequence.C: re-instate nmodifier mask
15083
15084 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
15085
15086         * lyx_main.h: make lyxGUI private.
15087
15088 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
15089
15090         * lyxfind.C: place the cursor correctly on failed search
15091
15092 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
15093
15094         * text.C (getLengthMarkerHeight): for small heights, the arrows
15095         are not always on top/bottom of the text
15096         (drawLengthMarker): smaller arrows; take the left margin in
15097         account; draw also vfills.
15098         (paintFirstRow):
15099         (paintLastRow): remove special code for vfill and standard spaces,
15100         since everything is handled in drawLengthMarker now.
15101
15102 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15103
15104         * buffer.C (insertErtContents): try to handle font and language
15105         interaction a bit better.g
15106
15107         * ColorHandler.C (updateColor): change the hash to cover the whole
15108         LColor enum, ws cleanup
15109         (getGCLinepars): ditto
15110         (getGCLinepars): only lookup in the linecache once.
15111
15112 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
15113
15114         * iterators.C (operator++): Make the iterator more robust
15115
15116         * BufferView2.C (removeAutoInsets): Use paragraph iterators
15117         (John's patch)
15118         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
15119
15120 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15121
15122         * lyxtext.h:
15123         * text.C: better added space drawing
15124
15125 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15126
15127         * LyXView.C:
15128         * BufferView2.C: fix layout combo update on inset unlock
15129
15130 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15131
15132         * Makefile.am: don't compile unused files
15133
15134 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15135
15136         * lyxfunc.C:
15137         * commandtags.h:
15138         * LyXAction.C: remove old LFUN_LAYOUTNO
15139
15140 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15141
15142         * paragraph_pimpl.h:
15143         * paragraph_pimpl.C: isTextAt() doesn't need font param
15144
15145 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15146
15147         * lyxlex.h:
15148         * lyxlex.C: little cleanup
15149
15150 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15151
15152         * BufferView_pimpl.C: fix insertAscii for insets
15153
15154 2001-12-05  Juergen Vigna  <jug@sad.it>
15155
15156         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
15157         set the right font on the "multi" paragraph paste!
15158
15159 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15160
15161         * trans_decl.h:
15162         * trans_mgr.[Ch]:
15163         * trans.[Ch]:
15164         * lyxgluelength.C:
15165         * lyxlength.C: remove out-commented code.
15166
15167         * BufferView_pimpl:
15168         * CutAndPaste.C:
15169         * DepTable.C:
15170         * buffer.C:
15171         * chset.C:
15172         * lastfiles.C:
15173         * lyxlex.C:
15174         * lyxlex_pimpl.C:
15175         * lyxserver.C:
15176         * screen.C:
15177         * tabular-old.C:
15178         * tabular.C:
15179         * text.C:
15180         * trans_mgr.C:
15181         * vc-backend.C: change "while(" to "while ("
15182
15183         * lyxlength.[Ch]: add zero function to check if length is zero or
15184         not
15185         * lyxgluelength.C: use it
15186
15187 2001-12-05  Allan Rae  <rae@lyx.org>
15188
15189         * lyxlength.C: Attempted a fix for the abs(int) header selection.
15190         Works for 2.95.3, from what I understand of Garst's reports this should
15191         work for other g++ versions.  We're screwed if the abs(int) definition
15192         changed between bugfix releases of gcc.
15193
15194 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
15195
15196         * text.C: fix chapter label offset !
15197
15198 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
15199
15200         * lyxtext.h:
15201         * text.C: fix hfill at end of line, clean up
15202
15203 2001-12-04  Juergen Vigna  <jug@sad.it>
15204
15205         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
15206         that we force an update of the inset and it's owners if neccessary.
15207
15208 2001-12-03  Juergen Vigna  <jug@sad.it>
15209
15210         * text.C (rowLast): simplified code
15211
15212 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
15213
15214         * lyxfunc.C: fix show options on timeout
15215
15216 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15217
15218         * screen.C (topCursorVisible): scroll half a page when the cursor
15219         reached top of bottom of screen
15220
15221 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
15222
15223         * minibuffer.C: deactivate on loss of focus
15224
15225 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15226
15227         * vspace.[Ch] (operator!=): add operator.
15228
15229 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
15230
15231         * BufferView_pimpl.C: refuse to open an inset when
15232         there's a selection.
15233
15234 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
15235
15236         * BufferView_pimpl.C: allow to click on RHS of full row insets
15237
15238 2001-11-30  Juergen Vigna  <jug@sad.it>
15239
15240         * tabular.C (LyXTabular): add a same_id to set the same id's in the
15241         insets for undo reasons.
15242
15243 2001-11-28  André Pönitz <poenitz@gmx.net>
15244
15245         * vspace.[Ch]: cosmetical changes
15246
15247 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15248
15249         * LyXAction.h:
15250         * LyXAction.C:
15251         * lyxfunc.h:
15252         * lyxfunc.C:
15253         * kbmap.h:
15254         * kbmap.C:
15255         * lyxrc.C:
15256         * kbsequence.h:
15257         * kbsequence.C: part re-write of old kb code
15258
15259         * Painter.C:
15260         * WorkArea.C: remove Lgb_bug_find_hack
15261
15262 2001-11-30  José Matos <jamatos@fep.up.pt>
15263
15264         * buffer.C (makeDocBookFile): add a comment to point a hack.
15265         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
15266         Fixed a double write of labels.
15267
15268 2001-11-29 Ben Stanley <bds02@uow.edu.au>
15269
15270         * LaTeX.C:
15271         * LaTeX.h Fixed bug in LaTeX class where it would not
15272         re-run latex if no depfiles were changed, but the .dvi was removed.
15273
15274 2001-11-28  André Pönitz <poenitz@gmx.net>
15275
15276         * all the files from the change on 2001/11/26:
15277         use lyx::layout_type instead of LyXTextClass::size_type
15278         use lyx::textclass_type instead of LyXTextClassList::size_type
15279
15280 2001-11-29  Juergen Vigna  <jug@sad.it>
15281
15282         * text.C: added support for paragraph::isFreeSpacing()
15283
15284         * buffer.C: same as above
15285
15286         * paragraph.h: inserted isFreeSpacing() function to enable
15287         FreeSpacing inside InsetERT.
15288
15289         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
15290         of the paragraph's in the cut/copy buffer to 0!
15291
15292         * text2.C (removeRow): remove the assert as it can!
15293
15294         * lyxtext.h: added helper function firstRow returning firstrow and
15295         made firstrow private again.
15296
15297         * BufferView2.C (lockInset): don't relock if we're already locked!
15298
15299         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
15300         the only paragraph.
15301         (removeRow): added Assert::(firstrow)
15302
15303         * debug.C: forgot to add INSETTEXT here.
15304
15305 2001-11-28  Juergen Vigna  <jug@sad.it>
15306
15307         * sp_spell.C (initialize): changed error text to more general
15308         spellchecker command use (not only ispell!)
15309
15310         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
15311
15312         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
15313
15314 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15315
15316         * vspace.C: initialise lyxgluelength on failure
15317
15318 2001-11-28  Allan Rae  <rae@lyx.org>
15319
15320         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
15321         declaration & definition that looks like a function declaration.
15322
15323 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15324
15325         * BufferView2.C (copy):
15326         (copyEnvironment): do not clear the selection when doing a copy.
15327
15328         * text.C (paintFirstRow): compilation fix
15329
15330 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
15331
15332         * tabular.C (Latex): correct line count when writing latex.
15333
15334 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
15335
15336         * paragraph_pimpl.h:
15337         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
15338           bug a bit
15339
15340 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15341
15342         * text.C:
15343         * LColor.h:
15344         * LColor.C: change vfillline->added_space
15345
15346         * text.C: add markers and text for added space
15347
15348         * vspace.C: fix comment
15349
15350 2001-11-28  André Pönitz <poenitz@gmx.net>
15351
15352         * paragraph.C: whitespace changes
15353         * all the other files from the change on 2001/11/26:
15354         change *::pos_type into lyx::pos_type
15355
15356 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
15357
15358         * buffer.C (parseSingleLyXformat2Token): Set the language to the
15359         language of the document when inserting error insets.
15360
15361 2001-11-26  André Pönitz <poenitz@gmx.net>
15362
15363         * BufferView_pimpl.[Ch]:
15364         *       CutAndPaste.C:
15365         * buffer.[Ch]:
15366         * lyxcursor.[Ch]:
15367         * lyxfind.C:
15368         * lyxfunc.C:
15369         * lyxrow.[Ch]:
15370         * paragraph.[Ch]:
15371         * paragraph_pimpl.[Ch]:
15372         * sp_spell.C:
15373         * text.C:
15374         * text2.C: reduce header dependencies, introduce type for positions
15375
15376 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15377
15378         * <various>: change to use Alert.h
15379
15380 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
15381
15382         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
15383         when encountering an unknown token.
15384         (readLyXformat2): Show an error message if there were unknown tokens.
15385
15386 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
15387
15388         * BufferView2.C:
15389         * BufferView_pimpl.C:
15390         * buffer.C:
15391         * paragraph.h:
15392         * text.C:
15393         * text2.C: use par->isInset()
15394
15395 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15396
15397         * paragraph_pimpl.h:
15398         * paragraph_pimpl.C: cleanup
15399
15400 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15401
15402         * text2.C (removeRow):
15403         * text.C (setHeightOfRow): remove useless (and costly) call to
15404         getRow.
15405
15406 2001-11-20  Allan Rae  <rae@lyx.org>
15407
15408         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
15409         Now need Inset*::checkInsertChar() to return true for appropriate
15410         cases so that the characters in the minibuffer will actually be
15411         inserted.
15412
15413 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15414
15415         * text.C: change the order of the includes.
15416         (workWidth): initialize it at once.
15417         (workWidth): make maxw unsigned
15418         (setHeightOfRow): remove unused variable (inset)
15419         (selectSelectedWord): remove unused variable (inset)
15420         (paintRowText): fix drawing of hfill characters, and clean up a bit.
15421
15422 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15423
15424         * lyxserver.C (emergencyCleanup): do not try to close pipes if
15425         server is not running.
15426         (openConnection):
15427         (closeConnection): add debug info when server is disabled.
15428
15429         * ColorHandler.C (getGCForeground): send debug message to GUI
15430         channel.
15431
15432         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15433
15434         * kbmap.C (bind): modify because return conventions of
15435         kb_sequence::parse have changed.
15436
15437         * kbsequence.C (parse): only ignore spaces and not any stupid
15438         control character. This avoids tests like s[i] <= ' ', which are
15439         guaranteed to fail with 8bit characters and signed chars.
15440         Change return code to string::npos when there have been no error
15441         (0 was a bad idea when error is at first character)
15442
15443 2001-11-14  José Matos  <jamatos@fep.up.pt>
15444
15445         * buffer.h:
15446         * buffer.C (simpleDocBookOnePar): removed unused argument.
15447
15448 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15449
15450         * text.C (selectNextWordToSpellcheck): do not test explicitely for
15451         insets which are part of a word. Paragraph::isLetter takes care of
15452         that now. Use Paragraph::isInset to identify insets.
15453         (selectSelectedWord): do not test for hyphenation break.
15454
15455         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15456         that protected spaces are considered as spaces.
15457
15458         * paragraph.C (isLetter): cleanup the code for ispell extras; use
15459         Inset::isLetter.
15460
15461 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
15462
15463         * lyxserver.h:
15464         * lyxserver.C: fix it. and small cleanup.
15465
15466 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15467
15468         * BufferView_pimpl.C: use inline helpers
15469
15470         * LaTeXFeatures.h:
15471         * LaTeXFeatures.C: fix typos
15472
15473         * Spacing.h:
15474         * Spacing.C: move spacing_string into class
15475
15476         * ToolbarDefaults.C: move stuff into namespace anon
15477
15478         * layout.h: update enum
15479
15480         * lyxfunc.C: use better debug
15481
15482         * minibuffer.h: fix typo
15483
15484         * debug.h:
15485         * debug.C:
15486         * WorkArea.C: add and use Debug::WORKAREA
15487
15488         * lyxtext.h:
15489         * text.C:
15490         * text2.C: code re-organisation, inline helpers
15491
15492 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
15493
15494         * Layout.C: replaced a few cases of std::vector.size() == 0 with
15495         std::vector.empty().
15496
15497 2001-11-09  Allan Rae  <rae@lyx.org>
15498
15499         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15500         '\n's after tables.  Tabular and ERT inset work now makes this no
15501         longer necessary.
15502
15503 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15504
15505         * minibuffer.h:
15506         * minibuffer.C: fix crash, improve drop-down completion
15507
15508 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
15509
15510         * lyxserver.h:
15511         * lyxserver.C: invalidate fd's when doing endPipe()
15512
15513 2001-11-08  José Matos  <jamatos@fep.up.pt>
15514
15515         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15516         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15517
15518         * paragraph.h:
15519         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15520
15521 2001-11-07  José Matos  <jamatos@fep.up.pt>
15522
15523         * buffer.h:
15524         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15525         const qualifier.
15526
15527         * buffer.C (sgmlOpenTag):
15528         * buffer.C (sgmlCloseTag): removed debug info.
15529
15530         * buffer.h (sgmlOpenTag):
15531         * buffer.h (sgmlCloseTag): made public.
15532
15533 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15534
15535         * buffer.C (saveParamsAsDefaults):
15536         * lyx_cb.C (MenuLayoutSave): remove
15537
15538         * LyXAction.C (init):
15539         * commandtags.h:
15540         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15541
15542 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15543
15544         * buffer.C (setPaperStuff): removed from here...
15545
15546         * bufferparams.C (setPaperStuff): ... and moved there.
15547
15548 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
15549
15550         * minibuffer.h:
15551         * minibuffer.C:
15552         * XFormsView.C: add support for drop-down completion
15553
15554 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
15555
15556         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15557         commands.
15558
15559 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15560
15561         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15562         disabled.
15563
15564 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
15565
15566         * lyx_main.C: change ref to known bugs
15567
15568 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
15569
15570         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15571         to work around older babel problems.
15572
15573 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15574
15575         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15576
15577 2001-10-24  Juergen Vigna  <jug@sad.it>
15578
15579         * tabular-old.C (ReadOld): below variable changes reflected.
15580
15581         * tabular.[Ch]: added ltType struct for longtable header/footer
15582         defines and changed all instances where they are used. Added
15583         future support for double top/bottom rows.
15584
15585 2001-10-24  José Matos  <jamatos@fep.up.pt>
15586
15587         * buffer.h (docbookHandleCaption):
15588         * buffer.C (docbookHandleCaption): removed unused function.
15589         (makeDocBookFile): moved docbook supported version to v4.1.
15590
15591 2001-10-24  José Matos  <jamatos@fep.up.pt>
15592
15593         * tabular.h:
15594         * tabular.C (docbookRow): new function to export docbook code of a row.
15595         (DocBook): now honors the longtable flags.
15596
15597 2001-10-23  José Matos  <jamatos@fep.up.pt>
15598
15599         * LaTeXFeatures.h:
15600         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15601         of the lyx defined sgml entities used in a docbook/linuxdoc document.
15602
15603         * buffer.C (makeLinuxDocFile):
15604         (makeDocBookFile): reworked the preamble, more clean, and with
15605         support for lyx defined entities. Changed the document declaration
15606         to be more XML friendly.
15607
15608         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15609         if we need to output XML that should be done with a filter.
15610
15611 2001-10-22  Juergen Vigna  <jug@sad.it>
15612
15613         * sp_pspell.h (class PSpell): add alive function needed in the
15614         controller to see if the spellchecker could be started.
15615
15616 2001-10-22  Juergen Vigna  <jug@sad.it>
15617
15618         * buffer.C (insertStringAsLines): modify the font for inserting
15619         chars in certain conditions by calling checkInsertChar(font).
15620
15621 2001-10-19  Juergen Vigna  <jug@sad.it>
15622
15623         * text.C (workWidth): use getRow instead of wrong algorithm.
15624         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15625
15626 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
15627
15628         * lyxserver.h:
15629         * lyxserver.C:
15630         * lyx_main.h:
15631         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15632
15633 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15634
15635         * text.C (workWidth): do not search for the exact row when
15636         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15637         optimization for big documents.
15638
15639 2001-10-18  Juergen Vigna  <jug@sad.it>
15640
15641         * text.C (workWidth): new function with added Inset * parameter.
15642
15643 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15644
15645         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15646
15647         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15648         change return type of getColumnNearX.
15649
15650
15651         * text.C (changeRegionCase): use uppercase/lowercase instead of
15652         toupper/tolower.
15653         (leftMargin):
15654         (rightMargin): simplify code by factoring out the uses of
15655         textclasslist.
15656         (labelFill):
15657         (numberOfHfills):
15658         (setHeightOfRow):
15659         (appendParagraph): use Paragraph::size_type
15660
15661 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15662
15663         * vspace.C (asLatexString): add a missing break
15664
15665 2001-10-15  Herbert Voss  <voss@perce.de>
15666
15667         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15668
15669 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15670
15671         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15672         is not available.
15673
15674 2001-10-10  André Pönitz <poenitz@gmx.net>
15675
15676         * lyxfunc.C: removed greek_kb_flag.
15677
15678 2001-10-10  Herbert Voss  <voss@perce.de>
15679
15680         * lyx_main.C: delete global string help_lyxdir.
15681
15682 2001-10-09  Herbert Voss  <voss@perce.de>
15683
15684         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15685
15686         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15687
15688         * lyx_main.C: added global string help_lyxdir.
15689
15690         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15691
15692 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15693
15694         * lyxrc.C (set_font_norm_type): support iso8859-4
15695
15696 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
15697
15698         * LaTeX.C (deplog): add another regex for MikTeX
15699
15700 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15701
15702         * lyxrc.C (set_font_norm_type): support iso8859-3
15703
15704 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15705
15706         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15707
15708         * LaTeXFeatures.C: remove special case of french and index
15709
15710         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15711         before \begin{document}). This solves several incompatibilities.
15712
15713 2001-10-03  Garst Reese  <reese@isn.net>
15714
15715         * lyx_cb.C: change CheckTex error msg.
15716
15717 2001-10-03  José Matos  <jamatos@fep.up.pt>
15718
15719         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15720
15721 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15722
15723         * .cvsignore: update
15724
15725         * lyx_main.C (commandLineVersionInfo): use new style version info.
15726
15727         * buffer.C (writeFile):
15728         (makeLaTeXFile):
15729         (makeLinuxDocFile):
15730         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15731
15732         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15733
15734         * version.h: update to use stuff in version.C
15735
15736         * version.C.in: new file. Contains version information determined
15737         at compile time. This is a merging of version.h and
15738         version_info.h.in.
15739
15740 2001-10-03  Juergen Vigna  <jug@sad.it>
15741
15742         * BufferView_pimpl.C (update): don't change "dirty" status in
15743         updateInset call.
15744
15745 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
15746
15747         * WorkArea.C (c-tor): re-position version string slightly.
15748
15749 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
15750
15751         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15752         revert to previous code.
15753
15754         WorkArea.[Ch]: (show, destroySplash): methods removed.
15755
15756         WorkArea.C: rework code so that it's an amalgam of the codes before and
15757         after the splash screen was moved to WorkArea.
15758
15759 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15760
15761         * lyxrc.C (read):
15762         * vspace.C (inPixels):
15763         (lyx_advance):
15764         * kbmap.C (bind):
15765         * buffer.C (insertStringAsLines):
15766         (asciiParagraph): fix types to be large enough
15767
15768         * lyxlex_pimpl.h: change member status from short to int
15769
15770         * layout.h: fix type of endlabeltype
15771
15772         * kbmap.C (bind):
15773         * kbsequence.C (parse): change return type to string::size_type
15774
15775         * LaTeX.C (updateBibtexDependencies): comment out unneeded
15776         variable
15777
15778         * Bullet.C (bulletSize):
15779         (bulletEntry): do not use short ints as parameters
15780
15781         * BufferView2.C (insertLyXFile): change a char to an int.
15782
15783         * WorkArea.C (WorkArea): remove unneeded floats in computation
15784
15785 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
15786
15787         * buffer.C (asciiParagraph): Treat '\\' as other chars.
15788
15789         * paragraph.C (asString): Do not ignore newline/hfill chars when
15790         copying to the clipboard.
15791
15792 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
15793
15794         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15795         after a multi-line inset.
15796
15797 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
15798
15799         * paragraph.C (validate): Set NeedLyXFootnoteCode
15800
15801 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15802
15803         * lyxfont.C (LyXSizeNames): changed increase-error to increase
15804         and decrease-error to decrease.
15805
15806 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15807
15808         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15809         it more readable (should be equivalent)
15810
15811 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15812
15813         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15814
15815 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15816
15817         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15818         of a cursor (row, etc.) after a character has been deleted
15819         (deleteEmptyParagraphMechanism): call the method above on _all_
15820         cursors held by the LyXText when a double space has been
15821         detected/deleted.
15822
15823 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15824
15825         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15826         pixmap.
15827         (resizeCurrentBuff): remove code to destroy the old splash dialog.
15828
15829         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15830         background. Use greyOut() and the new show() methods to toggle between
15831         the foreground and background. Add code to remove the splash after
15832         its initial showing.
15833
15834         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15835         (create_forms): no longer call Dialogs::showSplash.
15836
15837 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15838
15839         * .cvsignore: add version_info.h
15840
15841 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15842
15843         * version_info.h.in: new file
15844
15845         * Makefile.am: add version_info.h.in
15846
15847         * lyx_main.C (commandLineVersionInfo): use version_info defined in
15848         version_info.h instead of VERSION_INFO
15849
15850 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
15851
15852         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15853         The ERT inset now returns string().
15854
15855 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
15856
15857         * lyxtext.h, text.C (selectNextWord): renamed as
15858         selectNextWordToSpellcheck.
15859
15860         * text.C (selectNextWordToSpellcheck): Modified to not select
15861         words inside an ERT inset.
15862
15863 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15864
15865         * lyx_cb.C (MenuLayoutSave): change a bit the question
15866
15867         * sp_base.h: include <sys/types.h>
15868
15869 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
15870
15871         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15872
15873 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
15874
15875         * several files: fix typos in user-visible strings
15876
15877 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15878
15879         * text2.C (pasteSelection): do not set the selection, since it
15880         will be cleared later. Actually, the intent was to fix the way the
15881         selection was set, but I figured rmoving the code was just as good.
15882
15883 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
15884
15885         * FontLoader.C (available): Check if font is available without
15886         loading the font.
15887
15888 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
15889
15890         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15891
15892 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
15893
15894         * lyxrc.[Ch]: added display_graphics variable and associated code.
15895
15896 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15897
15898         * bufferparams.C (hasClassDefaults): new method. Returns true if
15899         the buffer parameters correspond to known class defaults
15900
15901 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
15902
15903         * XFormsView.C (show): set minimum size to the main window.
15904
15905 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15906
15907         * text2.C (copySelection):
15908         (cutSelection):
15909         * lyxfind.C (LyXReplace):
15910         * BufferView_pimpl.C (Dispatch): pass the correct flag to
15911         LyXText::selectionAsString.
15912
15913         * paragraph.C (asString): add "label" argument to the second form
15914
15915         * text2.C (selectionAsString): add "label" argument and pass it to
15916         Paragraph::asString.
15917
15918 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15919
15920         * lyx_main.C (commandLineHelp): remove version information
15921
15922 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
15923
15924         * lyx_main.C: add -version commandline option
15925
15926 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15927
15928         * paragraph.h: make the optional constructor arg required instead.
15929         some modifications to other files because of this.
15930
15931         * minibuffer.C (C_MiniBuffer_peek_event): make it static
15932
15933         * lyxserver.C (C_LyXComm_callback): make it static
15934
15935         * lyx_main.C (error_handler): make it static
15936
15937         * lyx_gui.C (LyX_XErrHandler): make it static
15938
15939         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15940
15941         * WorkArea.C: make the extern "C" methods static.
15942
15943         * Makefile.am (lyx_LDADD): simplify
15944
15945 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15946
15947         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15948         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15949
15950         * LyXAction.C (init):
15951         * lyxfunc.C (dispatch): associated code removal.
15952
15953 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15954
15955         * lyxfont.h (isSymbolFont): shut off warning
15956
15957         * text.C (setHeightOfRow):
15958         (getVisibleRow): fix crash with empty paragraphs which have a
15959         bottom line
15960
15961 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
15962
15963         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15964         code.
15965
15966 2001-09-04  José Matos  <jamatos@fep.up.pt>
15967         * buffer.C
15968         * buffer.h
15969         * tabular.C (docbook): rename docBook method to docbook.
15970
15971 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15972
15973         * Makefile.am: add dependencies to main.o.
15974
15975 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
15976
15977         * FontLoader.C (available): Return false if !lyxrc.use_gui
15978
15979 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
15980
15981         * FontInfo.C (query):
15982         * converter.C (view):
15983         * importer.C (Import):
15984         * exporter.C (Export): Can not -> cannot.
15985
15986 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
15987
15988         * BufferView_pimpl.C: allow to create index inset even if
15989           string is empty
15990
15991 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15992
15993         * buffer.C (getLists): replace boost::tie code with an explicit pair
15994         as boost::tie can break some compilers.
15995
15996         * iterators.h: Added a std:: declaration to the return type of
15997         ParIterator::size.
15998
15999 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
16000
16001         * lyxrc.C: add help for view_dvi_paper_option, default to safe
16002           case.
16003
16004 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
16005
16006         * iterators.[Ch]: New files. Provide paragraph iterators.
16007
16008         * buffer.C (changeLanguage): Use paragraph iterators.
16009         (isMultiLingual): ditto
16010
16011         * BufferView2.C (ChangeInsets): Use paragraph iterators.
16012
16013 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
16014
16015         * FontLoader.C: Support for cmr font.
16016
16017 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
16018
16019         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
16020         (available): New method.
16021
16022         * FontInfo.C (getFontname): Use scalable fonts even when
16023         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
16024         found.
16025
16026 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
16027
16028         * converter.C (Formats::view): reverted! Incorrect fix.
16029
16030 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
16031
16032         * converter.C (Formats::view): only output the -paper option
16033         if the dvi viewer is xdvi, thereby fixing bug #233429.
16034
16035 2001-08-23  Herbert Voss  <voss@perce>
16036
16037         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
16038
16039 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
16040
16041         * Spacing.h (Spacing): Set space to Default on in the default
16042         constructor.
16043
16044 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16045
16046         * vc-backend.h (RCS::versionString): add RCS to version
16047         (CVS::versionString): add CVS to version
16048
16049         * vc-backend.C (scanMaster): do not add CVS to version.
16050         (scanMaster): do not add RCS to version
16051
16052         * lyxvc.C (versionString): new method
16053
16054         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
16055
16056 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16057
16058         * Spacing.C (set): initialize fval
16059
16060 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
16061
16062         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
16063         " or \.
16064
16065 2001-08-16  Juergen Vigna  <jug@sad.it>
16066
16067         * lyxfunc.C (dispatch): implemented the new FINISHED states.
16068
16069 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
16070
16071         * BufferView_pimpl.C:
16072         * figureForm.C:
16073         * lyxtext.h:
16074         * text2.C: setParagraph takes linespacing now
16075
16076 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
16077
16078         * LyxAction.C: add internal LFUN_CITATION_INSERT
16079
16080         * LyXView.C: actually apply fix
16081
16082         * bufferlist.C: fix open non-existent file
16083
16084         * lyxfind.C: fix indentation
16085
16086         * lyxfunc.C: remove unneeded assert, fix typo
16087
16088 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
16089
16090         * MenuBackend.C: use "Floatname List"
16091
16092 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
16093
16094         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
16095         when converting LaTeX layout to insetERT.
16096         Generate a non-collapsed float when reading old float
16097
16098 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
16099
16100         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
16101         ERT insets.
16102
16103 2001-08-13  Juergen Vigna  <jug@sad.it>
16104
16105         * text.C (fill): return 0 instead of 20 as this seems to be the more
16106         correct value.
16107
16108 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
16109
16110         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
16111         lyxrc.font_norm.
16112
16113 2001-08-13  Juergen Vigna  <jug@sad.it>
16114
16115         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
16116         casesensitive off.
16117         (SearchBackward): comment out the unlocking of the inset_owner this
16118         should not be needed!
16119
16120 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
16121
16122         * Many files: Remove inherit_language, and add latex_language
16123
16124         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
16125         collapsible insets.
16126
16127 2001-08-10  Juergen Vigna  <jug@sad.it>
16128
16129         * text.C (prepareToPrint): fixed hfill-width in draw!
16130
16131         * BufferView2.C (selectLastWord): save the selection cursor as this
16132         now is cleared in the function LyXText::clearSelection!
16133
16134 2001-08-08  Juergen Vigna  <jug@sad.it>
16135
16136         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
16137         BACKSPACE type functions.
16138
16139         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
16140         is only cutted from the document but not put in the cut-buffer, where
16141         still the old stuff should be.
16142
16143         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
16144
16145         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
16146
16147         * tabular.C (SetWidthOfCell): fixed special case where the width
16148         was not updated!
16149         (LeftLine): handle '|' in align_special.
16150         (RightLine): ditto
16151         (LeftAlreadyDrawed): ditto
16152         (SetWidthOfCell): ditto
16153
16154 2001-08-07  Juergen Vigna  <jug@sad.it>
16155
16156         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
16157
16158 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16159
16160         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
16161         * lyxlex.[hC]: ditto
16162
16163 2001-08-06  Juergen Vigna  <jug@sad.it>
16164
16165         * text.C (getVisibleRow): fix up row clearing a bit.
16166
16167 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16168
16169         * minibuffer.C: make sure the X server sees the changes in the input.
16170
16171 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16172
16173         * paragraph.C (getFont): split into...
16174         (getLabelFont): this
16175         (getLayoutFont): and this
16176         * paragraph_pimpl.C (realizeFont): calling this
16177
16178         * text2.C (getFont): split into...
16179         (getLayoutFont): this
16180         (getLabelFont): and this
16181         (realizeFont): all three calling this
16182
16183         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
16184         files where used.
16185
16186 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16187
16188         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
16189
16190 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
16191
16192         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
16193         layouts from the Quote inset insertion.
16194
16195 2001-08-03  Juergen Vigna  <jug@sad.it>
16196
16197         * BufferView_pimpl.C (update): do the fitCursor only at the end!
16198
16199         * screen.C (drawFromTo): don't call fitcursor here and do the loop
16200         only if status not is already CHANGED_IN_DRAW (second level).
16201
16202         * text.C (draw): don't set the need_break_row when inside an
16203         InsetText LyXText.
16204
16205 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16206
16207         * buffer.C (parseSingleLyXformat2Token): handle more latex
16208         conversion cases.
16209
16210         * bufferview_funcs.[hC]: change function names to
16211         begin with small char, adjust other files.
16212
16213 2001-08-02  André Pönitz <poenitz@gmx.net>
16214
16215         * lyxfunc.C:
16216         BufferView_pimpl.C: remove broken special code for math-greek
16217
16218 2001-08-02  Juergen Vigna  <jug@sad.it>
16219
16220         * BufferView_pimpl.C (update): redone this function so that we
16221         update the text again if there was a CHANGE_IN_DRAW.
16222
16223         * screen.C (cursorToggle): removed LyXText parameter and recoded.
16224         (drawFromTo): added a new internal bool which is used by draw() and
16225         redraw() function.
16226         (general): some cursor drawing problems fixed.
16227
16228 2001-08-01  Juergen Vigna  <jug@sad.it>
16229
16230         * lyxfind.C (LyXFind): fixed
16231         (SearchForward): ditto
16232         (SearchBackward): ditto
16233
16234         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
16235         spurius drawing of the cursor in the main area.
16236
16237         * text2.C (status): small fix which could lead to a segfault!
16238         (clearSelection): remove unneeded BufferView param.
16239
16240 2001-08-01  André Pönitz <poenitz@gmx.net>
16241
16242         * lyxfunc.C: small change due to changed mathed interface
16243
16244 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16245
16246         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
16247
16248 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
16249
16250         * lyxfunc.c: fail gracefully if file doesn't exist
16251
16252         * LyXSendto.C:
16253         * buffer.C:
16254         * lyxfunc.C:
16255         * BufferView_pimpl.C: IsDirWriteable() proto changed
16256
16257         * LyXView.C: fix updateWindowTitle() to store the last title
16258
16259 2001-07-31  Juergen Vigna  <jug@sad.it>
16260
16261         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
16262         the font (wrong since using of Paragraph::highestFontInRange).
16263
16264         * paragraph.C (highestFontInRange): added a default_size parameter.
16265
16266         * text.C (getVisibleRow): minor clear row changes (still not perfect).
16267         (setHeightOfRow): reformat
16268
16269 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16270
16271         * converter.[hC] + affected files: move to (inital-char)lowercase
16272         function names.
16273
16274         * ParagraphParameters.C (ParagraphParameters): remove commented code
16275
16276         * PainterBase.[Ch]: remove commented code
16277
16278         * LaTeXFeatures.h: add "bool floats" for float.sty
16279
16280         * LaTeXFeatures.C (LaTeXFeatures): init floats
16281         (require): handle float
16282         (getPackages): do it with floats
16283
16284 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16285
16286         * BufferView_pimpl.C (Dispatch): improve handling of
16287         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
16288
16289         * commandtags.h: #include lyxfont.h here temporarily to avoid
16290         keybinding bug.
16291
16292         * bufferlist.h: include LString.h here.
16293
16294 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16295
16296         * text2.C (getStringToIndex): new method.
16297
16298 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
16299
16300         * *: Reduced header file dependencies all over.
16301
16302 2001-07-30  Baruch Even  <baruch@lyx.org>
16303
16304         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
16305
16306 2001-07-29  Baruch Even  <baruch@lyx.org>
16307
16308         * buffer.C (readInset): Changed GRAPHICS to Graphics.
16309
16310 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16311
16312         * ParameterStruct.h (endif): add a default constructor to make
16313         sure that all variables is initialized.
16314
16315         * ParagraphParameters.C (ParagraphParameters): adjust
16316
16317 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16318
16319         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
16320         index; also, check that there is something to index, and that it
16321         does not span over several paragraphs.
16322         (doubleClick): use WHOLE_WORD_STRICT for double click.
16323
16324         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
16325
16326         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
16327         scheme.
16328
16329 2001-07-26  Baruch Even  <baruch@lyx.org>
16330
16331         * buffer.C (readInset): Changed to call up InsetGraphics when reading
16332         an InsetFig figure, backwards compatible reading of old figure code.
16333
16334 2001-07-27  Juergen Vigna  <jug@sad.it>
16335
16336         * text2.C: font.realize function adaption.
16337
16338         * text.C (draw): add a warnings lyxerr text if needed.
16339
16340         * layout.C: font.realize function adaption.
16341
16342         * language.C: add inherit_language and implement it's handlings
16343
16344         * bufferview_funcs.C (StyleReset): remove language parameter from
16345         font creation (should be language_inherit now).
16346
16347         * bufferparams.C (writeFile): handle ignore_language.
16348
16349         * paragraph.C (getFontSettings): the language has to be resolved
16350         otherwise we have problems in LyXFont!
16351
16352         * lyxfont.C (lyxWriteChanges): added document_language parameter
16353         (update): removed unneeded language parameter
16354
16355         * paragraph.C (validate): fixed wrong output of color-package when
16356         using interface colors for certain fonts in certain environments,
16357         which should not seen as that on the final output.
16358
16359 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
16360
16361         * BufferView_pimpl.C:
16362         * Thesaurus.h:
16363         * Thesaurus.C:
16364         * Makefile.am:
16365         * commandtags.h:
16366         * LyXAction.C: add thesaurus support
16367
16368         * lyxfind.h:
16369         * lyxfind.C: add "once" parameter, for thesaurus, to not
16370           move to the next match
16371
16372 2001-07-26  Juergen Vigna  <jug@sad.it>
16373
16374         * lyxfont.C (realize): honor ignore_language too!
16375         (resolved): ditto.
16376
16377         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
16378
16379         * text.C (draw): one place more for ignore_language to not draw
16380         itself!
16381
16382 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
16383
16384         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
16385
16386 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16387
16388         * buffer.C (parseSingleLyXformat2Token): a more general fix for
16389         the minipage conversion problem.
16390
16391 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16392
16393         * buffer.C (parseSingleLyXformat2Token): check minipage if we
16394         insert an inset.
16395
16396 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16397
16398         * BufferView.h: don't forward declare WorkArea
16399
16400         * BufferView.C: don't include WorkArea.h
16401
16402 2001-07-25  André Pönitz <poenitz@gmx.net>
16403
16404         * commandtags.h:
16405         * LyXAction.C:
16406         * lyxfunc.C:  new LFUN 'math-space'
16407
16408         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
16409
16410 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16411
16412         * text2.C (toggleInset): call open/close
16413
16414 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16415
16416         * lyxfunc.C (dispatch): add debug for the disabled case
16417
16418         * font.C (buttonText): make similar to rectText
16419
16420         * buffer.C (readInset): comment out parsing of insetlist and
16421         insttheorem
16422
16423         * PainterBase.C (rectText): small correction
16424
16425         * BufferView_pimpl.C: comment out insettheorem and insetlist
16426         * LyXAction.C: ditto
16427         * commandtags.h: ditto
16428
16429 2001-07-24  Juergen Vigna  <jug@sad.it>
16430
16431         * text.C (draw): honor the ignore_language.
16432
16433         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16434
16435 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16436
16437         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16438         char inset.
16439
16440 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16441
16442         * lyxtext.h: remove unused (and unimplemented) methods
16443
16444 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16445
16446         * text.C (getVisibleRow): honor background color
16447
16448         * PainterBase.h:
16449         * Painter.h: remove default color argument for fillRectangle
16450
16451         * text.C (backgroundColor): new method
16452
16453 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16454
16455         * text.C (getVisibleRow): adjust
16456
16457         * font.[Ch] (rectText): new method, metrics
16458         (buttonText): new method, metrics
16459
16460         * PainterBase.[hC]: make rectText and buttonText always draw and take
16461         fewer paramteres.
16462
16463 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16464
16465         * ToolbarDefaults.C (read):
16466         * MenuBackend.C (read): allow escaping in all strings
16467
16468         * BufferView_pimpl.C (insertAndEditInset): new method.
16469         (Dispatch): use insertAndEditInset whenever appropriate.
16470
16471         * BufferView_pimpl.C (insertNote): removed
16472
16473         * BufferView_pimpl.C (smartQuote): new method, moved from
16474         BufferView; if an insetquote cannot be inserted, insert a '"'
16475         character instead.
16476
16477         * BufferView2.C: remove insertCorrectQuote();
16478
16479         * lyxfunc.C (getStatus): Add support for all remaingin
16480         inset-insert lfuns.
16481
16482         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16483
16484         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16485         command (necessary to pass " as parameter of self-insert.
16486
16487         * text.C (selectWordWhenUnderCursor):
16488         (selectWord): add word_location parameter
16489         (selectWordWhenUnderCursor): same + remove special code for word
16490         boundary.
16491         (selectNextWord): use kind() to guess type of insetspecialchar,
16492         not latex().
16493
16494         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16495         (insertErtContents): create ert insets as collapsed.
16496         (readInset): better compatibility code for Info inset.
16497
16498 2001-07-20  Juergen Vigna  <jug@sad.it>
16499
16500         * lyxfunc.C (dispatch): use always LyXFind now!
16501
16502         * text2.C (init): add a reinit flag so that the LyXText can be
16503         reinited instead of deleted and reallocated (used in InsetText).
16504
16505         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16506
16507         * text.C: ditto
16508
16509         * text2.C: ditto
16510
16511 2001-07-18  Juergen Vigna  <jug@sad.it>
16512
16513         * text.C (selectNextWord): handle insets inside inset by calling
16514         always the bv->text functions so that we can go up the_locking_inset!
16515
16516         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16517         in strange locations when inside an inset!
16518
16519         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16520         handling to include insets.
16521
16522         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16523
16524 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16525
16526         * LyXAction.C (init):
16527         * commandtags.h:
16528         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16529         LIGATURE_BREAK, since the name is so stupid.
16530
16531 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16532
16533         * buffer.C (readInset): enable reading of new InsetNotes as well as old
16534         InsetInfos.
16535
16536         * FontLoader.C: remove FORMS_H_LOCATION cruft.
16537
16538         * sp_form.[Ch]: remove.
16539
16540         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16541
16542         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16543         InsetInfo.
16544
16545         * src/buffer.C (readInset): ditto.
16546
16547 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16548
16549         * BufferView_pimpl.C (specialChar): new method. Obsoletes
16550         menuSeparator(), endOfSentenceDot(), ldots() and
16551         hyphenationPoint(), which are therefore removed.
16552         (Dispatch): handle LFUN_HYPHENATION_BREAK.
16553
16554         * LyXAction.C (init):
16555         * commandtags.h: add LFUN_HYPHENATION_BREAK.
16556
16557         * paragraph.C (getWord): removed.
16558
16559         * BufferView_pimpl.C (Dispatch): use last word or selection for
16560         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16561
16562         * lyx_main.C (queryUserLyXDir): do not ask before creating
16563         user_dir, except if it has been named explicitely.
16564
16565 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16566
16567         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16568         a document of zero size.
16569
16570 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
16571
16572         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16573         approriately in the c-tor and in require().
16574         (getPackages): output the appropriate LaTeX for natbib support.
16575
16576         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16577         variables "use_natbib" and "use_numerical_citations" when reading the
16578         LyX file.
16579         (readInset): read the various natbib cite commands.
16580         (validate): white-space change.
16581
16582         * bufferparams.[Ch]: new variables "bool use_natbib" and
16583         "bool use_numerical_citations".
16584         (writeFile): output them in the LyX file.
16585
16586 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16587
16588         * lyxfunc.C (getStatus): add support for all the inset insertion
16589         commands.
16590
16591         * text2.C (insertInset):
16592         * paragraph.C (insetAllowed):
16593         * BufferView_pimpl.C (insertInset): update to take in account the
16594         renaming of insertInsetAllowed
16595
16596         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16597
16598         * text2.C (getInset): new method. returns inset at cursor position.
16599
16600         * BufferView_pimpl.C (Dispatch): changes because of this.
16601
16602         * LyXAction.C (init): rename open-stuff to inset-toggle.
16603
16604         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16605
16606         * text2.C (toggleInset): renamed from openStuff; use
16607         Inset::open().
16608
16609 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
16610
16611         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16612
16613         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16614
16615 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
16616
16617         * buffer.C (readLyXformat2): Add filename to the error dialog
16618
16619 2001-07-18  Juergen Vigna  <jug@sad.it>
16620
16621         * tabular.C (GetCellNumber): put an assert here instead of the check!
16622
16623 2001-07-17  Juergen Vigna  <jug@sad.it>
16624
16625         * BufferView_pimpl.C (toggleSelection): adapted too.
16626
16627         * text.C (selectNextWord): adapted for use with insets.
16628         (selectSelectedWord): ditto
16629
16630 2001-07-17  Juergen Vigna  <jug@sad.it>
16631
16632         * sp_spell.C (PSpell): fix initialitation order.
16633
16634 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16635
16636         * paragraph.C: spacing
16637
16638 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
16639
16640         * sp_spell.C: repair language selection for pspell
16641
16642 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16643
16644         * lyxfunc.h: change more methods to begin with lower char.
16645
16646 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
16647
16648         * buffer.C (parseSingleLyXformat2Token): Generate error insets
16649         for unknown layouts.
16650
16651 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
16652
16653         * buffer.C (readLyXformat2): Generate an error dialog if there are
16654         unknown layouts.
16655
16656 2001-07-16  Juergen Vigna  <jug@sad.it>
16657
16658         * sp_spell.C: always compile ISpell part.
16659
16660         * lyxrc.C: added use_pspell entry and it's handling.
16661
16662 2001-07-13  Juergen Vigna  <jug@sad.it>
16663
16664         * sp_spell.C: removed double includes.
16665
16666 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
16667
16668         Consistent use of Lsstream.h:
16669         * Lsstream.h: added using std::stringstream for consistencies sake.
16670
16671         * buffer.C: removed using std::stringstream
16672
16673         * lyxfont.C (stateText):
16674         * paragraph.C (asString):
16675         * text.C (selectNextWord, selectSelectedWord):
16676         * text2.C (setCounter):
16677         * vspace.C (asString, asLatexString):
16678         std::ostringstream -> ostringstream.
16679
16680 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16681
16682         * LyXAction.C: add LFUN_HELP_ABOUTLYX
16683         * commandtags.h: add LFUN_HELP_ABOUTLYX
16684         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16685
16686 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16687
16688         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16689         cursorToggle()
16690         * lyx_gui_misc.C: remove spellchecker
16691         * lyxfunc.C: showSpellchecker
16692         * sp_base.h: added
16693         * sp_ispell.h: added
16694         * sp_pspell.h: added
16695         * sp_spell.C: added
16696         * sp_form.[Ch]: removed
16697         * spellchecker.[Ch]: removed
16698
16699 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
16700
16701         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16702         is set.
16703         (simpleTeXSpecialChars): Simply print the input character without
16704         any special translation if pass_thru is set.
16705
16706         * layout.h: Added bool pass_thru to layout class for being able to
16707         implement pass through of a paragraph for Literate Programming.
16708
16709         * layout.C: add LT_PASS_THRU to LayoutTags enum.
16710         * layout.C (LyXLayout): set pass_thru to flase in constructor.
16711         * layout.C (Read): add "passthru" to list of layout tags and add
16712         code to set the pass_thru boolean when it is read.
16713
16714 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16715
16716         * trans_decl.h: remove allowed from KmodInfo
16717
16718         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16719         remove allowed code
16720         (Load): adjust
16721
16722         * paragraph_pimpl.C (erase): use boost::prior
16723
16724         * Painter.C (text): use data() instead of c_str() when length is
16725         also provided.
16726         * WorkArea.C (putClipboard): ditto
16727         * font.h (width): ditto
16728
16729         * BufferView2.C: use it-> instead of (*it). for iterators
16730         * texrow.C: ditto
16731         * paragraph_pimpl.C: ditto
16732         * paragraph.C: ditto
16733         * minibuffer.C: ditto
16734         * language.C: ditto
16735         * kbmap.C: ditto
16736         * encoding.C: ditto
16737         * counters.C: ditto
16738         * converter.C: ditto
16739         * chset.C: ditto
16740         * Variables.C: ditto
16741         * TextCache.C: ditto
16742         * MenuBackend.C: ditto
16743         * LyXAction.C: ditto
16744         * LColor.C: ditto
16745         * FloatList.C: ditto
16746         * DepTable.C: ditto
16747         * ColorHandler.C (LyXColorHandler): ditto
16748
16749 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16750
16751         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16752
16753         * text2.C (openStuff): reintroduce this method (which had been
16754         nuked in NEW_INSETS frenzy).
16755
16756         * lyxfunc.C (Dispatch): when an action has not been handled, use
16757         its name in the error message, not its number.
16758
16759         * paragraph.C (inInset): change method name to begin with lowercase.
16760
16761         * undo_funcs.C:
16762         * text2.C: updates because of this.
16763
16764 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16765
16766         * ToolbarDefaults.C (add): add spaces in error message
16767
16768 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16769
16770         * buffer.C (readLyXformat2): initialize the ert comp. variables.
16771         (readLyXformat2): rename return_par to first_par, use lyxlex's
16772         pushToken and remove the manual push handling.
16773         (parseSingleLyXformat2Token): add another ert comp. variable:
16774         in_tabular, rename return_par to first_par. handle newlines better
16775
16776 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16777
16778         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16779
16780 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16781
16782         * text2.C (getParFromID): removed
16783
16784         * buffer.C (getParFromID): new method moved form lyxtext.
16785         * BufferView2.C (insertErrors): adjust
16786         (setCursorFromRow): adjust
16787         * BufferView_pimpl.C (restorePosition): adjust
16788         * lyxfunc.C (Dispatch): adjust
16789         * undo_funcs.C (textUndo): adjust
16790         (textRedo): adjust
16791         (textHandleUndo): adjust
16792         (textHandleUndo): adjust
16793
16794 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16795
16796         * buffer.C: up' the LYX_FORMAT
16797
16798         * lyxfont.h: turn NO_LATEX on as default
16799
16800         * buffer.C (insertErtContents): new methods of tex style compability.
16801         (parseSingleLyXformat2Token): use it several places.
16802         * tabular.C (OldFormatRead): and here
16803
16804 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16805
16806         * text2.C: remove some commented code.
16807         reindent file.
16808
16809         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16810         * trans.C: changes because of the above.
16811
16812 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
16813
16814         * text2.C (setCounter): Fix counters bug with bibliography layout.
16815
16816 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16817
16818         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16819         own member functions
16820         (simpleTeXSpecialChars): ditto
16821
16822 2001-07-06  Juergen Vigna  <jug@sad.it>
16823
16824         * a lot of files: changed the access to LyXText::status and the
16825         call of undo-functions.
16826
16827         * undo.[Ch]: added a inset_id to the undo informations.
16828
16829         * undo_funcs.[Ch]: added and moved here all undo functions.
16830
16831         * lyxtext.h: give the status enum a weight, made status_ a private
16832         variable and made accessor functions for it, removed the whole bunch
16833         of undo-functions as they are now in their own file, make some
16834         functions publically available. Added function ownerParagraph with
16835         int parameter.
16836
16837         * paragraph.[Ch]: added "bool same_ids" to the constructor,
16838         made InInset() a const function, added getParFromID() function.
16839
16840         * buffer.[Ch]: added const version for inset_iterator functions,
16841         added getInsetFromID() function.
16842
16843         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16844         changed undo functions for new version.
16845
16846 2001-07-05  Juergen Vigna  <jug@sad.it>
16847
16848         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16849         unknow mechanism does not call the proper constructor but only this
16850         one also if I request the other!?
16851
16852 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16853
16854         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16855
16856         * text2.C (LyXText): use initialization lists.
16857
16858         * lyxtext.h (Selection): initialize set_ and mark_
16859         (init): remove method
16860
16861 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
16862
16863         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16864
16865 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16866
16867         * screen.[Ch]: change method names to begin with lowercase
16868
16869         * BufferView_pimpl.C (updateScrollbar): simplify further and
16870         hopefully make it a bit faster.
16871
16872 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16873
16874         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16875         calling directly xforms functions.
16876
16877         * Painter.C (Painter):
16878         * lyx_cb.C (MenuWrite):
16879         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16880         fl_display.
16881
16882         * lyx_gui.C: remove bogus guiruntime extern declaration.
16883
16884 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16885
16886         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16887         in NEW_INSETS
16888         (redoDrawingOfParagraph): ditto
16889         (redoParagraphs): ditto
16890         (cutSelection): don't create a object for CutAndPaste use the
16891         static method directly
16892         (pasteSelection): ditto
16893
16894         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16895         LyXview (+ rename)
16896
16897 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16898
16899         * modifications to some other files because of this.
16900
16901         * Makefile.am (lyx_SOURCES): add XFormsView
16902
16903         * XFormsView.[Ch]: new files
16904
16905         * LyXView.[Ch]: make LyXView a base class for the gui handling for
16906         the main window. Move the gui dependent stuff to XFormsView
16907
16908 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16909
16910         * tabular.C (GetCellInset): update cur_cell also in the row/col
16911         version of this function.
16912
16913         * lyxfunc.C: no need to include figure_form.h here.
16914
16915         * FontLoader.h:
16916         * lyxfunc.h:
16917         * lyxscreen.h:
16918         * text2.C:
16919         * lyxvc.C: no need to include forms.h here.
16920
16921 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16922
16923         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16924
16925         * lyxfunc.C (Dispatch):
16926         * Spacing.C (set):
16927         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16928         constructor argument.
16929
16930 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16931
16932         * paragraph.C (Paragraph): dont't clear, and just set layout.
16933         (makeSameLayout): use params's copy contructor.
16934
16935         * ParagraphParameters.[Ch] (makeSame): delete method
16936
16937 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
16938
16939         * Variables.[Ch]: fix indentation, rename set to isSet
16940
16941 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16942
16943         * lyxfunc.C (Dispatch): fix typo
16944
16945 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16946
16947         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16948         upper_bound.
16949
16950         * bufferlist.C: include assert.h for emergencyWrite().
16951
16952 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16953
16954         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16955           give up at last (bug #425202) !
16956
16957 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
16958
16959         * lyx_gui_misc.C:
16960         * sp_form.h:
16961         * sp_form.C:
16962         * spellchecker.h:
16963         * spellchecker.C: strip spellchecker options and bring up
16964           preferences tab instead
16965
16966 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16967
16968         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16969         the istringstream constructor
16970
16971 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16972
16973         * paragraph.C (getLayout): fix return value
16974
16975         * paragraph.h: do not declare getLayout as inline.
16976
16977         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16978
16979 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16980
16981         * lyxcursor.h (operator<): new func
16982         (operator>): new func
16983         (operator>=): new func
16984         (operator<=): new func
16985
16986         * text.C (changeCase): use selection.start and selection.end
16987         (changeRegionCase): require from to be <= to. Require par to be a
16988         valid paragraph.
16989
16990         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16991
16992 2001-06-27  Juergen Vigna  <jug@sad.it>
16993
16994         * text.C (cursorLeftOneWord): changed to return the cursor and added
16995         overlay with BufferView * parameter which calls this one.
16996         (getWord): added
16997         (selectWord): use new getWord function.
16998         (changeCase): renamed from changeWordCase as and extended to work
16999         also on selections.
17000
17001         * lyxtext.h: added enum word_location
17002
17003         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
17004         changeCase as this operates now also on selections.
17005
17006 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
17007
17008         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
17009
17010         * many files: send debug output to Debug::INFO instead of
17011         Debug::ANY.
17012
17013         * converter.C (View):
17014         (Convert):
17015         (Move): send debug output to Debug::FILES instead of console.
17016
17017 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
17018
17019         * lyxfunc.C (getStatus): use func_status
17020
17021         * func_status.h: new header, describing the results of
17022         LyXFunc::getStatus;
17023
17024         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
17025         LFUN_MATH_HALIGN.
17026
17027 2001-06-25  The LyX Project  <jug@sad.it>
17028
17029         * buffer.C (sgmlOpenTag):
17030         (sgmlCloseTag):
17031         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
17032
17033 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17034
17035         * text2.C: remove some dead code
17036
17037         * tabular.C (GetCellInset): store the last cell checked (gotten)
17038
17039         * tabular.h: add the helper for the speedup
17040
17041         * lyxtext.h: remove some dead code
17042
17043 2001-06-26  The LyX Project  <Asger>
17044
17045         * paragraph.C: Change export to LaTeX of alignment to
17046         \begin{center} and family for better roundtrip work with reLyX.
17047
17048         * Tune the math drawing a bit.
17049
17050 2001-06-25  The LyX Project  <Asger>
17051
17052         * LColor.C (LColor): New color for math background. New color
17053         for buttons.
17054
17055 2001-06-25  The LyX Project  <jug@sad.it>
17056
17057         * lyxfunc.C (MenuNew): remove extra check for .lyx file
17058
17059         * lyxfunc.C (Open):
17060         * bufferlist.C (newFile): do not restrict to files ending with
17061         .lyx
17062
17063         * BufferView_pimpl.C (MenuInsertLyXFile):
17064
17065 2001-06-24  The LyX Project  <jug@sad.it>
17066
17067         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
17068         of compare_no_case
17069
17070 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17071
17072         * lyxtext.h: rename most methods to begin with a small char.
17073         Lots of changes because of this.
17074
17075         * paragraph.C (Paragraph): do not call fitToSize
17076         (erase): call Pimpl::erase
17077         (insertChar): call Pimpl::insertChar
17078         (insertInset): call Pipl::insertInset
17079         (breakParagraph): do not call fitToSize
17080         (breakParagraphConservative): do not call fitToSize
17081         (fitToSize): remove method
17082
17083         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
17084
17085 2001-06-24  The LyX Project  <Asger>
17086
17087         * Fix Qt compilation^2
17088
17089 2001-06-24  The LyX Project  <jug@sad.it>
17090
17091         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
17092         depthHook(getDepth()-1).
17093
17094         * paragraph.h:
17095         * ParagraphParameters.h:
17096         * ParameterStruct.h: change type of depth to unsigned int ==
17097         depth_type. Many adaptations to other files before of that.
17098
17099 2001-06-24  The LyX Project  <Asger>
17100
17101         * Fix Qt compilation.
17102
17103 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17104
17105         * paragraph.h: renamed several methods to begin with small letter.
17106         several changes to many parts of the code because of this.
17107
17108 2001-06-23  The LyX Project  <jug@sad.it>
17109
17110         * text2.C (InsertStringAsLines): renamed from InsertStringA;
17111         rewritten to discard all double spaces when KeepEmpty is off
17112         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
17113         to only handle newlines but not fiddle with spaces and friends.
17114
17115         * lyxfunc.C (MenuNew): when doing 'new from template', use
17116         template_path as default directory
17117
17118 2001-06-23  The LyX Project  <Asger>
17119
17120         * Clean-up of header file includes all over
17121         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
17122
17123 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17124
17125         * paragraph.h: renamed from lyxparagraph.h
17126
17127 2001-06-23  Asger  <lyx@violet.home.sad.it>
17128
17129         * Buffer.h: Removed Buffer::resize
17130         * BufferList.h: Removed BufferList::resize
17131         * LyXView.h: Added LyXView::resize. This way, we will only reflow
17132         the document lazily when we change the width, or the font settings.
17133
17134 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
17135
17136         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
17137
17138 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
17139
17140         * buffer.h: remove out of date comment
17141
17142 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
17143
17144         * lyxscreen.h:
17145         * screen.C: fix "theoretical" GC leak
17146
17147 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17148
17149         * LaTeX.C (scanAuxFile):
17150         (deplog): remove trailing \r when reading stream (useful under
17151         win32)
17152
17153 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
17154
17155         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
17156         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
17157         and BufferView::theLockingInset(Inset*), so should use them and not
17158         access bv_->text->the_locking_inset directly.
17159
17160         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
17161
17162 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
17163
17164         * Makefile.am:
17165         * tex-defs.h: remove old unused file
17166
17167 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
17168
17169         * BufferView_pimpl.C: fix typo, remove minibuffer message
17170           when buffer has loaded
17171
17172 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17173
17174         * lyxfunc.C (Dispatch): use stringstream
17175         (MenuNew): use stringstream
17176         (Open): use stringstream
17177
17178         * importer.C (Import): use stringstream
17179
17180         * bufferview_funcs.C (CurrentState): use stringstream
17181
17182         * LaTeX.C (run): use stringstream
17183
17184         * BufferView_pimpl.C (savePosition): use stringstream
17185         (restorePosition): use stringstream
17186         (MenuInsertLyXFile): use stringstream
17187
17188 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
17189
17190         * BufferView.C:
17191         * Bullet.C:
17192         * ColorHandler.C:
17193         * FontInfo.C:
17194         * FontLoader.C:
17195         * LColor.C:
17196         * LaTeXFeatures.C:
17197         * Painter.C:
17198         * gettext.C:
17199         * lyx_gui_misc.C:
17200         * lyxserver.C:
17201         * vspace.C: removed // -*- C++ -*- as first line.
17202
17203         * lyxfind.h:
17204         * version.h: added // -*- C++ -*- as first line.
17205
17206 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17207
17208         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
17209
17210         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
17211         of string
17212
17213 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17214
17215         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
17216         of floats.
17217
17218 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17219
17220         * gettext.C: include LString.h even when --disable-nls is on.
17221
17222 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
17223
17224         * converter.h (Get): changed argument type from int to
17225         FormatList::size_type to avoid unnecessary conversion.
17226
17227         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
17228         before using it.
17229
17230 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17231
17232         * gettext.h: include LString.h even when --disable-nls is on.
17233
17234 2001-06-07  Juergen Vigna  <jug@sad.it>
17235
17236         * text.C (BreakAgain): subst spaces with tabs.
17237
17238         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
17239         (resizeInsetsLyXText): set force on resizeLyXText.
17240
17241 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17242
17243         * gettext.h (gettext_init):
17244         (locale_init): use a real definition instead of a macro
17245
17246 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
17247
17248         * Bufferview_pimpl.C:
17249         * LColor.h:
17250         * LColor.C: further lcolor tidies
17251
17252 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17253
17254         * BufferView_pimpl.C (updateScrollbar): simplify.
17255
17256         * BufferView2.C: don't include insets/insetinfo.h, change
17257         prototype for insertInset and call the Pimpl version. let
17258         updateInset call Pimpl version.
17259
17260         * BufferView.h: move inset_slept to BufferView::Pimpl, move
17261         gotoInset to BufferView::Pimpl
17262
17263 2001-06-01  Juergen Vigna  <jug@sad.it>
17264
17265         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
17266         inside a LockingInset (is the update needed at all?).
17267
17268 2001-05-31  Juergen Vigna  <jug@sad.it>
17269
17270         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
17271         here not the old one otherwise how should we compare it afterwards
17272         if it's the same!
17273
17274 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17275
17276         * lyxfont.C:
17277         * tabular.C:
17278         * tabular-old.C:
17279         * FontInfo.C: bring C functions into global namespace when
17280         necessary
17281
17282 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17283
17284         * LString.h: make sure config.h has been loaded before LString.h.
17285
17286         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
17287         (one for each char read by EatLine!).
17288
17289         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
17290         variables.
17291
17292 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17293
17294         * paragraph.C (BreakParagraph): set the inset_owner in the new par
17295         to the same as the par we break from
17296
17297 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17298
17299         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
17300
17301         * MenuBackend.C (expand): also create menu entries for wide
17302         versions of the floats.
17303
17304         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
17305
17306         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
17307
17308         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
17309         frontends/Makefile.am
17310
17311         * text2.C: adjust
17312         * text.C: adjust
17313
17314
17315         * tabular.C (getTokenValue): add std::
17316
17317         * tabular-old.C (getTokenValue): add std::
17318         (getTokenValue): ditto
17319         (getTokenValue): ditto
17320
17321         * screen.C (ToggleSelection): adjust
17322
17323         * lyxtext.h: put selection cursors inside a Selection struct.
17324
17325         * lyxfunc.C (moveCursorUpdate): adjust
17326
17327         * lyxfont.C (latexWriteStartChanges): add std::
17328
17329         * lyxfind.C: adjust
17330
17331         * font.h: delete with(char const *, LyXFont const &)
17332
17333         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
17334
17335         * FontInfo.C (getFontname): add std::
17336
17337         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
17338         (workAreaButtonPress): adjust
17339         (tripleClick): adjust
17340         (update): adjust
17341         (moveCursorUpdate): adjust
17342         (Dispatch): adjust
17343
17344         * BufferView2.C (gotoInset): adjust
17345
17346 2001-05-30  Juergen Vigna  <jug@sad.it>
17347
17348         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
17349         to check pspell I add this as default as I now have new pspell
17350         libraries and they seem to use this.
17351
17352 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17353
17354         * text2.C (CutSelection): make the cursor valid before the call to
17355         ClearSelection.
17356
17357 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17358
17359         * kbsequence.C (parse): de-uglify a bit the parsing code, which
17360         relied on 0 terminated strings and other horrors. Bug found due to
17361         the new assert in lyxstring!
17362
17363         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
17364         KP_ keys.
17365
17366 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17367
17368         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
17369         to latinkeys.bind.
17370
17371         * lyxfunc.C (processKeySym): change method of getting to the
17372         self-insert char.
17373
17374         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
17375         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
17376         * BufferView_pimpl.[Ch]: here as private methods.
17377
17378 2001-05-28  Juergen Vigna  <jug@sad.it>
17379
17380         * text.C (SetHeightOfRow): added the update() call again as it is
17381         needed to initialize inset dimensions!
17382
17383 2001-05-16  Juergen Vigna  <jug@sad.it>
17384
17385         * text2.C (SetCharFont): Add new function with BufferView * and
17386         bool toggleall parameters for setting insets internal fonts.
17387         (SetFont): Freeze the undo as we may change fonts in Insets and
17388         all this change should be inside only one Undo!
17389
17390         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
17391         setting font's in insets as for them we have the SetFont function!
17392
17393 2001-05-15  Juergen Vigna  <jug@sad.it>
17394
17395         * text2.C (ClearSelection): to be sure we REALLY don't have any
17396         selection anymore!
17397
17398         * tabular.C (TeXCellPreamble): fixed the left border problem for
17399         multicolumn cells.
17400
17401 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
17402
17403         * LaTeX.C (deplog): Make sure that the main .tex file is in the
17404         dependancy file
17405
17406 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17407
17408         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
17409         LFUN_BREAKPARAGRAPH.
17410
17411         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
17412         help test to "internal only", similar for LFUN_INSERT_URL
17413
17414         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
17415         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
17416         auto_region_delete and deadkeys.
17417
17418 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
17419
17420         * LColor.h:
17421         * LColor.C: remove some dead entries, tidy a little
17422
17423 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17424
17425         * lyxfunc.C (processKeySym): comment the Escape handling, remove
17426         commented code.
17427         (Dispatch): implement LFUN_ESCAPE
17428
17429         * commandtags.h: add LFUN_ESCAPE
17430
17431         * LyXAction.C (init): add entry for LFUN_ESCAPE
17432
17433         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17434         Remove commented code.
17435         (insertNote): moved here
17436         (open_new_inset): moved here
17437
17438         * BufferView[2].[Ch]: move insertNote and open_new_inset to
17439         BufferView_pimpl
17440
17441 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17442
17443         * kbmap.C (findbinding): clean it up and make it work correctly.
17444
17445         * lyx_main.C (init): do not pass argc and argv as parameters
17446
17447 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
17448
17449         * buffer.C: fix path for OS/2 & Win32
17450
17451         * lyx_gui.C:
17452         * lyx_main:
17453         * lyx_main.C: Added os:: class.
17454
17455         * os2_defines.h: update
17456
17457 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17458
17459         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17460         better by trying again with reduced state.
17461
17462 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17463
17464         * lyxrc.C (read): print error about invalid key sequence only when
17465         debugging (because not all latinX keysyms are known to some X
17466         servers)
17467
17468         * kbsequence.C (getiso): add a few std:: qualifiers
17469         (getiso): comment out extra return statement.
17470
17471 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17472
17473         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17474         handling.
17475         (Dispatch): enhance the accent inset a bit. (not perfect)
17476
17477 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17478
17479         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17480
17481 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17482
17483         * bufferlist.C (emergencyWrite): fix assert() call
17484
17485 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
17486
17487         * text.C (InsertChar): Added trivial patch to only send the "you
17488         can not do multiple spaces this way" message once during a
17489         session.
17490
17491 2001-05-08  Baruch Even  <baruch@lyx.org>
17492
17493         * Makefile.am: Changed order of libraries to get LyX to link properly
17494         with the gnome frontend.
17495
17496 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17497
17498         * LaTeXFeatures.h: add a std:: qualifier
17499
17500 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17501
17502         * paragraph.C (String): use stringstream
17503
17504 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17505
17506         * paragraph.C (writeFile): remove footflag arg
17507
17508         * buffer.C (makeLaTeXFile): use stringstream
17509         (latexParagraphs): remove footnot gurba
17510
17511         * LaTeXFeatures.C (getPackages): use stringstream
17512         (getMacros): likewise
17513         (getTClassPreamble): likewise
17514         (getFloatDefinitions): new method
17515
17516         * paragraph.C (writeFile): reindent
17517         (Erase): reindent
17518
17519         * WorkArea.h: revert the xpos + etc changes.
17520
17521         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17522
17523         * lyxparagraph.[Ch]: add copy constructor, remove Clone
17524
17525         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17526         (pasteSelection): likewise
17527         * text2.C (CreateUndo): likewise
17528
17529 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17530
17531         * minibuffer.C (peek_event): temporarily reduce the functionality
17532         of the minibuffer (to allow args on lfuns)
17533
17534         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17535         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17536
17537         * buffer.C (readInset): add compability reading of old float
17538         lists, add reading of new style float list.
17539         (readInset): avoid reevaluation of inscmd.getCmdName()
17540         (getLists): reindent
17541
17542         * MenuBackend.C (MenuItem): implement parsing of
17543         md_floatlistinsert and md_floatinsert.
17544         (expand::LastFiles): move initalizaton of iterators out of loop,
17545         avoid reevaluation.
17546         (expand::Documents): introduce typdedef vector<string> Strings,
17547         and use it.
17548         (expand::ExportFormats): introduce typedef vector<Format const *>
17549         Formats, and use it.
17550         (expand): implement FloatListInsert and FloatInsert.
17551
17552         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17553         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17554         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17555
17556         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17557         handling.
17558         (Dispatch::LFUN_FLOAT_LIST): implement
17559
17560 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
17561
17562         * LaTeX.C (run): Fix problem with --export code.
17563
17564 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17565
17566         * BufferView.[Ch] (workarea): removed.
17567         (getClipboard) new method; wrapper for workarea()->getClipboard()
17568
17569         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17570         bug.
17571
17572         * WorkArea.h (width, height, xpos, ypos): These methods all
17573         returned the dimensions of the work_area sub-area of WorkArea,
17574         resulting in a position error if the WorkArea were resized. Now
17575         return the dimensions of the entire WorkArea.
17576
17577         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17578
17579 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17580
17581         * LaTeX.C (deplog): correct the syntax of regex reg1
17582
17583 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17584
17585         * undo.C: remove !NEW_INSETS cruft
17586
17587 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17588
17589         * text2.C: remove !NEW_INSETS cruft
17590
17591         * text.C: remove !NEW_INSETS cruft
17592
17593         * tabular.C: remove !NEW_INSETS cruft
17594
17595         * spellchecker.C: remove !NEW_INSETS cruft
17596
17597         * lyxtext.h: remove !NEW_INSETS cruft
17598
17599         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17600
17601         * lyxfunc.C: remove !NEW_INSETS cruft
17602
17603         * lyxfind.C: remove !NEW_INSETS cruft
17604
17605         * lyx_cb.C: remove !NEW_INSETS cruft
17606
17607         * figureForm.C: remove  !NEW_INSETS cruft
17608
17609         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17610
17611         * buffer.[Ch]: remove !NEW_INSETS cruft
17612
17613         * ToolbarDefaults.C: remove !NEW_INSETS cruft
17614
17615         * CutAndPaste.C: remove !NEW_INSETS cruft
17616
17617         * BufferView_pimpl.C: remove !NEW_INSETS cruft
17618
17619         * BufferView2.C: remove !NEW_INSETS cruft
17620
17621         * BufferView.h: remove !NEW_INSETS cruft
17622
17623 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17624
17625         * Lsstream.h: include LString.h before the sstream headers to
17626         fix problem with gcc 2.95.3 and lyxstring
17627
17628 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17629
17630         * lyx_main.C: add using directives when needed for C functions
17631         declared in std:: namespace.
17632
17633 2001-04-27  Juergen Vigna  <jug@sad.it>
17634
17635         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17636         (SetHeightOfRow): comment out the update call should not be needed!
17637
17638 2001-04-13  Juergen Vigna  <jug@sad.it>
17639
17640         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17641         (LyXTabular): tried to minimize operator= operations (and realized
17642         hopfully Lars wish).
17643
17644 2001-04-27  Juergen Vigna  <jug@sad.it>
17645
17646         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17647
17648 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17649
17650         * lyxfunc.C (Dispatch): hack to make listof algorithm work
17651
17652         * buffer.C (readInset): hack to make listof algorithm work
17653
17654         * BufferView_pimpl.C: hack to make listof algorithm work
17655
17656 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17657
17658         * LyXAction.C: removed all !NEW_INSETS cruft
17659         (init): moved lfun_item in method
17660
17661         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17662
17663 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17664
17665         * BufferView2.C (theLockingInset): white space.
17666
17667 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17668
17669         * minibuffer.C: include <iostream>
17670
17671         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17672
17673         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17674
17675         * commandtags.h: add LFUN_TRANSPOSE_CHARS
17676
17677         * text.[Ch] (TransposeChars): new method
17678
17679 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17680
17681         * call message directly through LyXView instead of through LyXFunc
17682         * BufferView2.C: adjust
17683         * BufferView_pimpl.C: adjust
17684         * FontLoader.C: adjust
17685         * buffer.C: adjust
17686         * bufferview_funcs.C: adjust
17687         * converter.C: adjust
17688         * figureForm.C: adjust
17689         * importer.C: adjust
17690         * lyx_cb.C: adjust
17691         * lyx_gui_misc.C: adjust
17692         * lyxfunc.C: adjust
17693         * lyxvc.C: adjust
17694         * text2.C: adjust
17695         + more files in subdirs
17696
17697         * lyxparagraph.h (size): move up int file
17698         (GetLayout): ditto
17699
17700         * adjust all uses of Assert to lyx::Assert.
17701
17702         * BufferView2.C (ChangeCitationsIfUnique): adjust for
17703         lyxfunctional in namespace lyx
17704         * layout.C (hasLayout): ditto
17705         (GetLayout): ditto
17706         (GetLayout): ditto
17707         (delete_layout): ditto
17708         (NumberOfClass): ditto
17709         * converter.C (GetFormat): ditto
17710         (GetNumber): ditto
17711         (Add): ditto
17712         (Delete): ditto
17713         (SetViewer): ditto
17714         * bufferlist.C (getFileNames): ditto
17715         (emergencyWriteAll): ditto
17716         (exists): ditto
17717         (getBuffer): ditto
17718         * MenuBackend.C (hasSubmenu): ditto
17719         (hasMenu): ditto
17720         (getMenu): ditto
17721         * BufferView_pimpl.C (getInsetByCode): ditto
17722
17723 2001-04-18  Juergen Vigna  <jug@sad.it>
17724
17725         * vspace.C (asLatexString): fixed the 100% problem.
17726
17727 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17728
17729         * lyxfunc.C (Dispatch):
17730         * minibuffer.C:
17731         * minibuffer.h: add a few std:: qualifiers
17732
17733 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17734
17735         * minibuffer.[Ch]: reimplement so that commands is initiated and
17736         run from lyxfunc, simplified som handling, and made the completion
17737         and history code for complete. wip.
17738
17739         * lyxfunc.C (processKeySym): call message
17740         (miniDispatch): new temporary method
17741         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17742         (LFUN_MESSAGE): implement
17743         (LFUN_MESSAGE_PUSH): implement
17744         (LFUN_MESSAGE_POP): implement
17745         (initMiniBuffer): the initial/defualt minibuffer message.
17746
17747         * lyxfont.[Ch]: inline some more getters
17748
17749         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17750
17751         * lyx_gui_misc.[Ch] (WriteStatus): remove method
17752
17753         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17754         (AutoSave): use LFUN_MESSAGE
17755         (Reconfigure): ditto
17756
17757         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17758
17759         * figureForm.C: use LFUN_MESSAGE
17760
17761         * converter.C (runLaTeX): use LFUN_MESSAGE
17762
17763         * bufferview_funcs.C: use LFUN_MESSAGE
17764         (Melt): ditto
17765         (changeDepth): ditto
17766
17767         * bufferparams.h: use boost::
17768
17769         * bufferlist.h: inherit privately from noncopyable
17770
17771         * bufferlist.C (loadLyXFile): remove some commented code.
17772
17773         * buffer.C (runChktex): use LFUN_MESSAGE
17774
17775         * ShareContainer.h: inherit privately from noncopyable
17776
17777         * ParagraphParameters.[hC] (depth): inline it.
17778
17779         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17780         methods.
17781         (message): new method
17782         (messagePush): ditto
17783         (messagePop): ditto
17784         (show): init minibuffer
17785         (showState): direct call
17786
17787         * LaTeX.[Ch]: inherit privately from noncopyable
17788         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17789         instead of WriteStatus.
17790
17791         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17792
17793         * BufferView_pimpl.C (buffer): don't init minibuffer
17794         (workAreaButtonPress): use LFUN_MESSAGE
17795         (workAreaButtonRelease): ditto
17796         (savePosition): ditto
17797         (restorePosition): ditto
17798         (MenuInsertLyXFile): ditto
17799         (workAreaExpose): don't init minibuffer
17800         (update): remove commented code, simplify
17801
17802         * BufferView2.C (openStuff): use LFUN_MESSAGE
17803         (toggleFloat): ditto
17804         (menuUndo): ditto
17805         (menuRedo): ditto
17806         (copyEnvironment): ditto
17807         (pasteEnvironment): ditto
17808         (copy): ditto
17809         (cut): ditto
17810         (paste): ditto
17811         (gotoInset): ditto
17812         (updateInset): remove some commented code
17813
17814         * lastfiles.h: inherit privately from noncopyable
17815         * layout.h: ditto
17816         * lyx_gui.h: ditto
17817         * lyx_main.h: ditto
17818         * lyxlex.h: ditto
17819         * lyxlex_pimpl.h: ditto
17820
17821         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17822         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17823         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17824
17825         * LyXAction.h: inherit privately from noncopyable, add methods
17826         func_begin, func_end, returning iterators to the func map.
17827
17828         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17829         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17830         (func_begin): new method
17831         (func_end): new method
17832
17833         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17834         and not)
17835         (copySelection): ditto
17836         (pasteSelection): ditto
17837
17838         * BufferView.C: whitespace change
17839         * BufferView.h: inherit privately from noncopyable
17840
17841 2001-04-16  Allan Rae  <rae@lyx.org>
17842
17843         * tabular-old.C (l_getline):
17844         * spellchecker.C (sc_check_word):
17845         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17846         an unrecognised preprocessor directive.  So ensure they're wrapped.
17847
17848 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
17849
17850         * src/exporter.C (Export): Give an error message when path to file
17851         contains spaces.
17852
17853 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
17854
17855         * LaTeX.C (deplog): Always check that foundfile exists.
17856
17857 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17858
17859         * lyx_main.h:
17860         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17861
17862 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17863
17864         * tabular.[Ch] (getLabelList): implement new method
17865
17866         * minibuffer.h: comment ouf setTiimer
17867
17868         * minibuffer.C (ExecutingCB): constify res
17869         (peek_event): constify s
17870         (Set): constify ntext
17871         (Init): constify nicename
17872
17873         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17874
17875         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17876         (savePosition): use two params to Minibuffer::Set
17877         (restorePosition): ditto
17878
17879 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17880
17881         * lyx_main.C: include language.h
17882
17883         * Makefile.am (lyx_main.o): add language.h
17884
17885 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17886
17887         * exporter.C:
17888         * paragraph.C:
17889         * screen.C:
17890         * tabular.C:
17891         * CutAndPaste.C: include gettext.h
17892
17893         * lyxfont.h: remove old hack with ON and OFF.
17894
17895         * lyxparagraph.h:
17896         * lyxfont.h: do not include language.h...
17897
17898         * BufferView2.C:
17899         * LaTeXFeatures.C:
17900         * Painter.C:
17901         * bufferview_funcs.C:
17902         * font.C:
17903         * lyxfont.C:
17904         * text.C:
17905         * text2.C:
17906         * trans_mgr.C:
17907         * paragraph.C: ... but do it here instead
17908
17909 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17910
17911         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17912
17913         * tabular.C: small reformat
17914
17915         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17916         NEW_INSETS version
17917         (GetChar): ditto
17918         (BreakParagraph): ditto
17919         (SetOnlyLayout): ditto
17920         (SetLayout): ditto
17921
17922         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17923         with one arg less.
17924
17925         * lastfiles.C: removed most using decl, add std:: where needed
17926
17927         * buffer.C: ws changes
17928
17929         * MenuBackend.C (class compare_format): put into anon namespace
17930         (expand): constify label, names, action, action2
17931         (expand):
17932
17933         * text.C (SingleWidth): constify font
17934         (IsBoundary): constify rtl2
17935         (GetVisibleRow): constify ww
17936
17937         * LaTeX.C (deplog): constify logfile
17938
17939         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17940         start_x, end_x
17941         (workAreaExpose): constify widthChange, heightChange
17942
17943         * lyxrow.C (par): moved
17944         (height): moved
17945         (next): moved
17946         * lyxrow.h: as inlines here
17947
17948         * lyxfont.h (shape): moved from lyxfont.C
17949         (emph): moved from lyxfont.C
17950
17951         * lyxfont.C (LyXFont): use initialization list for all
17952         constructors
17953         (shape): move to lyxfont.h as inline
17954         (emph): move to lyxfont.h as inline
17955
17956
17957 2001-04-04  Juergen Vigna  <jug@sad.it>
17958
17959         * vspace.C: had to include stdio.h for use of sscanf
17960
17961 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
17962
17963         * BufferView.h:
17964         * BufferView_pimpl.h: remove xforms cruft. Both classes are
17965         independent of xforms.
17966
17967 2001-04-02  Juergen Vigna  <jug@sad.it>
17968
17969         * spellchecker.C: fixed namespace placing!
17970
17971 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
17972
17973         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17974         the LyXParagraph * is 0.
17975
17976 2001-03-29  Juergen Vigna  <jug@sad.it>
17977
17978         * vspace.C: added support for %, c%, p%, l%.
17979         (stringFromUnit): added helper function.
17980         (asLatexString): changed to give right results for the %-values.
17981
17982         * buffer.C: convert the widthp in a width%.
17983
17984 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
17985
17986         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17987         figureForm.[Ch].
17988
17989         * figureForm.[Ch]: stripped the FD_from_figure manipulation
17990         code out of lux_cb.[Ch], ready for its (imminent?) removal.
17991
17992         * lyx_cb.[Ch]: see above.
17993
17994         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17995         form1.[Ch].
17996
17997         * form1.[Ch]:
17998         * lyx.[Ch]: replaced by figure_form.[Ch].
17999
18000         * lyx_gui.C:
18001         * lyx_gui_misc.C:
18002         * lyxfunc.C: changed headers associated with above changes.
18003
18004 2001-03-27  Juergen Vigna  <jug@sad.it>
18005
18006         * BufferView_pimpl.C: set the temporary cursor right!
18007
18008 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
18009
18010         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
18011
18012 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
18013
18014         * LString.h: removed "using std::getline"!
18015
18016         * BufferView_pimpl.C (Dispatch): changes due to changes in
18017         InsetInclude::Params.
18018
18019         * buffer.C (tag_name): removed redundant break statements as they were
18020         producing lots of warnings with my compiler.
18021
18022 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18023
18024         * LString.h: add "using std::getline" when using the real <string>.
18025
18026 2001-03-23  Jos�Ab�io Matos  <jamatos@fep.up.pt>
18027
18028         * buffer.C: removed bitset usage.
18029         PAR_TAG moved to an anonymous name space.
18030         (tag_name): new funtion, also in the anonymous namespace.
18031         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
18032         (makeDocBookFile): clean code. Completed transition from string arrays
18033         to string vectors.
18034         (SimpleDocBookOnePar): code clean.
18035
18036 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18037
18038         * tabular.C: add some comments.
18039
18040 2001-03-22  Juergen Vigna  <jug@sad.it>
18041
18042         * buffer.C (parseSingleLyXformat2Token): redone the minipage
18043         compatibility read a bit and fixed bug with minipage in different
18044         depth.
18045
18046 2001-03-21  Jos�Ab�io Matos  <jamatos@fep.up.pt>
18047
18048         * buffer.C (pop_tag): removed.
18049         (push_tag): removed.
18050         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
18051         array replaced with vector. Added support for CDATA sections.
18052         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
18053         at any nest level.
18054         (makeDocBookFile): XML conformant declaration of CDATA section,
18055         fixed bug related to <emphasis> in the first paragraph char.
18056         (sgmlOpenTag): exclude empty tags.
18057         (sgmlCloseTag): ditto.
18058
18059         * buffer.h (pop_tag): removed.
18060         (push_tag): removed.
18061
18062 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
18063
18064         * language.h (Languages): added size_type and size().
18065
18066 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18067
18068         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
18069         response on compability reading of minipages. One probliem is that
18070         the old usage of minipages was flertydig
18071
18072         * several files here and in subdirs: don't use static at file
18073         scope use anon namespaces instead.
18074
18075 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
18076
18077         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
18078         LaTeX output. This is necessary for Literate document
18079         processing.
18080
18081 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18082
18083         * buffer.C: insert hfill when needed.
18084
18085         * tabular.C (l_getline): use string::erase, small whitespace change.
18086
18087         * BufferView_pimpl.C: try the anon namespace.
18088         * WorkArea.C: ditto
18089
18090 2001-03-16  Juergen Vigna  <jug@sad.it>
18091
18092         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
18093         otherwise it won't open options-dialogs.
18094
18095         * buffer.C: honor pextraWidth(p) on converting minipages.
18096
18097         * tabular.C (l_getline): changed the functions to strip trailing \r.
18098
18099 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
18100
18101         * BufferView_pimpl.C:
18102         * minibuffer..C: added "using SigC::slot" declaration.
18103
18104 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18105
18106         * lyxlex_pimpl.h: noncopyable is in namespace boost.
18107
18108         * text2.C: ditto
18109
18110         * text.C: ditto
18111
18112         * paragraph.C: ditto
18113
18114         * lyxtext.h: NO_PEXTRA
18115
18116         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
18117
18118         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
18119         * ParameterStruct.h: ditto
18120         * ParagraphParameters.h: ditto
18121         * lyxparagraph.h: ditto
18122
18123 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18124
18125         * buffer.C: add compability for minipage alignment.
18126         (latexParagraphs): remove unwanted pextra check.
18127
18128         * several files: remove CXX_WORKING_NAMESPACES
18129
18130         * buffer.C (pop_tag): tie is in namespace boost
18131
18132         * BufferView.h: noncopyable is in namespace boost
18133         * lyxlex.h: ditto
18134         * lyx_main.h: ditto
18135         * lyx_gui.h: ditto
18136         * layout.h: ditto
18137         * lastfiles.h: ditto
18138         * bufferlist.h: ditto
18139         * ShareContainer.h: ditto
18140         * LyXView.h: ditto
18141         * LyXAction.h: ditto
18142         * LaTeX.h: ditto
18143
18144 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
18145
18146         * Merging changes from BRANCH_MVC back into HEAD.
18147
18148         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
18149
18150 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
18151
18152         * BufferView_pimpl.C: change from intl.C
18153
18154         * combox.h:
18155         * combox.C:
18156         * Makefile.am: move combox.*
18157
18158         * form1.h:
18159         * form1.C:
18160         * lyx_gui.C:
18161         * intl.h:
18162         * intl.C: remove dialog (covered by prefs)
18163
18164 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
18165
18166         * lyxfunc.C (Dispatch): removed redundant break statement.
18167
18168 2001-03-14  Juergen Vigna  <jug@sad.it>
18169
18170         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
18171
18172 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18173
18174         * buffer.C: add hack to fix compability reading of minipages.
18175
18176 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
18177
18178         * buffer.C (getLists): Cleanup.
18179
18180 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18181
18182         * lyxfont.C (update): don't honor toggleall on font size.
18183
18184 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
18185
18186         * bmtable.c:
18187         * bmtable.h:
18188         * Makefile.am: moved to frontends/xforms/
18189
18190         * lyx_gui_misc.C:
18191         * lyxfunc.C:
18192         * BufferView_pimpl.C: changes for moved mathpanel
18193
18194 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
18195
18196         * gettext.h: fix gettext_init() in --disable-nls
18197
18198 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18199
18200         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
18201
18202 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
18203
18204         * lyx.C:
18205         * lyx.h: strip external form
18206
18207 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
18208
18209         * BufferView_pimpl.C: add comment, destroySplash()
18210
18211 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
18212
18213         * BufferView_pimpl.C:
18214         * LyXAction.C:
18215         * buffer.C:
18216         * commandtags.h:
18217         * lyxfunc.C: use re-worked insetinclude
18218
18219 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18220
18221         * buffer.C: add using std::stringstream.
18222
18223         * lyx_cb.C: readd using std::ios.
18224
18225         * buffer.C: add using std::map.
18226
18227         * BufferView_pimpl.C: add using std::vector.
18228
18229         * ShareContainer.h: add std:: to swap.
18230
18231         * buffer.h: add some typedefs
18232         * buffer.C (getLists): use them
18233         (getLists): renamed from getTocList.
18234         add a counter for the different float types and use it in the
18235         generated string.
18236         (getLists): use the same counter for the NEW_INSETS and the "non"
18237         NEW_INSETS
18238
18239         * lyx_cb.h: remove unused items, includes, using etc.
18240
18241         * ShareContainer.h: remove some commented code, add more comments
18242         and "documentation".
18243
18244 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18245
18246         * buffer.C (getTocList): make the list also when NEW_INSETS is
18247         defined.
18248
18249         * buffer.h: remove TocType
18250
18251         * buffer.C (getTocList): change to return a map<string,
18252         vector<TocItem> >, implement for dynamic number of list.
18253
18254         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
18255         * text2.C (PasteSelection): adjust
18256         * CutAndPaste.C (pasteSelection): adjust
18257
18258         * FloatList.C (FloatList): update from the new_insets branch.
18259         * Floating.[Ch]: ditto
18260         * LaTeXFeatures.C: ditto
18261         * buffer.C: ditto
18262         * lyxlex_pimpl.C: ditto
18263
18264         * paragraph.C (Last): remove when NEW_INSETS is defined.
18265
18266         * other file: changes because of the above.
18267
18268 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18269
18270         * lyxparagraph.h: rename next to next_, previous to previous_,
18271         make them private for NEW_INSETS. Rename Next() to next(),
18272         Previous() to previous().
18273
18274         * other files: changes because of the above.
18275
18276 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
18277
18278         * BufferView.h:
18279         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
18280         problem.
18281
18282 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18283
18284         * main.C (main): pass lyx_localedir to gettext_init().
18285
18286         * gettext.h: remove locale_init and gettext_init macros
18287
18288         * gettext.C (locale_init): new function
18289         (gettext_init): new function
18290
18291         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
18292         setlocale().
18293
18294 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
18295
18296         * Moved credits to frontends:
18297         * credits.[Ch]: removed
18298         * credits_form.[Ch]: removed
18299         * lyx_gui_misc.C: remove credits stuff
18300         * Makefile.am:
18301
18302 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18303
18304         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
18305
18306         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
18307         unneeded destructor.
18308
18309         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
18310         a standalone pointer again.
18311
18312         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
18313
18314 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
18315
18316         * Makefile.am:
18317         * filedlg.h:
18318         * filedlg.C:
18319         * LyXAction.C:
18320         * ToolbarDefaults.C:
18321         * bufferlist.C:
18322         * commandtags.h:
18323         * form1.C:
18324         * form1.h:
18325         * lyx_cb.C:
18326         * lyx_cb.h:
18327         * lyxfunc.h:
18328         * lyxfunc.C:
18329         * BufferView_pimpl.C: use new file dialog in GUII
18330
18331         * lyx_cb.h:
18332         * lyx_cb.C: remove LayoutsCB to Toolbar
18333
18334 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18335
18336         * ShareContainer.h (get): add std:: qualifier
18337
18338 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18339
18340         * ShareContainer.h: define a proper ShareContainer::value_type
18341         type (and use typename to please compaq cxx)
18342
18343 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18344
18345         * lyxparagraph.h: move serveral local vars to
18346         ParameterStruct/ParagraphParameters., use ShareContainer in
18347         FontTable., make vars in FontTable private and add getter and
18348         setter.
18349
18350         * paragraph.C: changes because of the above.
18351
18352         * lyxfont.h: remove copy constructor and copy assignment. (the
18353         default ones is ok), move number inside FontBits. move inlines to
18354         lyxfont.C
18355
18356         * lyxfont.C: add number to initializaton of statics, move several
18357         inlines here. constify several local vars. some whitespace
18358         cleanup. Dont hide outerscope variables.
18359
18360         * Spacing.h: add two new constructors to match the set methods.
18361
18362         * ShareContainer.h: new file, will perhaps be moved to support
18363
18364         * ParameterStruct.h: new file
18365
18366         * ParagraphParameters.h: new file
18367
18368         * ParagraphParameters.C: new file
18369
18370         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
18371         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
18372
18373         * BufferView_pimpl.C: ParagraphParameter changes.
18374         * buffer.C: Likewise.
18375         * bufferview_funcs.C: Likewise.
18376         * text.C: Likewise.
18377         * text2.C: Likewise.
18378
18379 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18380
18381         * lyxfind.C (LyXReplace): do not redefine default argument in
18382         implementation.
18383         (IsStringInText): ditto
18384         (SearchForward): ditto
18385         (SearchBackward): ditto
18386
18387 2001-03-06  Juergen Vigna  <jug@sad.it>
18388
18389         * lyxfind.C (IsStringInText): put parentes around expressions.
18390
18391 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
18392
18393         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
18394
18395 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
18396
18397         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
18398
18399         * stl_string_fwd.h: add comment
18400
18401         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
18402
18403         * tabular.h:
18404         * tabular.C: remove unused DocBook methods
18405
18406         * intl.C:
18407         * language.C:
18408         * paragraph.C:
18409         * buffer.C:
18410         killed DO_USE_DEFAULT_LANGUAGE
18411
18412 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18413
18414         * lyx_gui.C: do not include language.h.
18415
18416         * bufferview_funcs.C (ToggleAndShow): do not provide optional
18417         arguments in function implementation.
18418
18419 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18420
18421         * BufferView_pimpl.C: add <ctime>
18422
18423 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18424
18425         * BufferView_pimpl.C: add using std::find_if
18426
18427 2001-02-27  José Matos  <jamatos@fep.up.pt>
18428
18429         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18430         by OnlyPath.
18431
18432 2001-02-11  José Matos  <jamatos@fep.up.pt>
18433
18434         * buffer.C (makeDocBookFile): command styles now have a parameter as
18435         "title" by default.
18436
18437 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
18438
18439         * layout_forms.[Ch]: removed
18440         * lyx_cb.[Ch]: out character
18441         * lyx_gui.C: out character
18442         * lyx_gui_misc.C: out character
18443         * bufferview_funcs.C: : out character,
18444         added toggleall as parameter in ToggleAndShow
18445
18446 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
18447
18448         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18449
18450         * text2.C (SetCurrentFont): Disable number property at boundary.
18451
18452 2001-02-26  Juergen Vigna  <jug@sad.it>
18453
18454         * lyxfunc.C (getStatus): added a string argument override function so
18455         that this is correctly called from LyXFunc::Dispatch if it contains a
18456         do_not_use_argument which is used!
18457         (Dispatch): added check for "custom" export and call appropriate func.
18458
18459 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
18460
18461         * lyxrc.C: Add language_command_local, language_use_babel and
18462         language_global_options.
18463
18464         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18465
18466         * buffer.C (makeLaTeXFile): Use language_use_babel and
18467         language_global_options.
18468
18469 2001-02-23  Juergen Vigna  <jug@sad.it>
18470
18471         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18472         which works with LyXText and putted it inside BufferView. Here now we
18473         only call for that part the BufferView::Dispatch() function.
18474
18475         * BufferView.C (Dispatch): added.
18476
18477         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18478         functions which needs to use a LyXText over from LyXFunc.
18479         (MenuInsertLyXFile): added
18480         (getInsetByCode): added
18481         (moveCursorUpdate): added
18482         (static TEXT): added
18483
18484 2001-02-22  Juergen Vigna  <jug@sad.it>
18485
18486         * BufferView_pimpl.C (update): call a status update to see if LyXText
18487         needs it.
18488
18489 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18490
18491         * vc-backend.C (revert): implement for CVS
18492         (getLog): implement for CVS
18493
18494 2001-02-20  Juergen Vigna  <jug@sad.it>
18495
18496         * text2.C (ClearSelection): added BufferView param for inset_owner call
18497
18498         * lyxfunc.C (TEXT): added this function and use it instead of
18499         directly owner->view()-text of getLyXText().
18500
18501 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
18502
18503         * src/layout_forms.C: out preamble
18504         * src/layout_forms.h: out preamble
18505         * src/lyx_cb.C: out preamble
18506         * src/lyx_cb.h: out preamble
18507         * src/lyx_gui.C: out preamble
18508         * src/lyx_gui_misc.C: out preamble
18509         * src/lyxfunc.C: connect with guii preamble
18510
18511 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
18512
18513         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18514
18515 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
18516
18517         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18518         whether to run bibtex.
18519
18520 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
18521
18522         * Makefile.am (lyx_SOURCES): Remove BackStack.h
18523
18524 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
18525
18526         * Makefile.am (lyx_SOURCES): removed bibforms.h
18527
18528         * vspace.h: doxygen
18529
18530         * text.C (GetVisibleRow): make several local vars const
18531
18532         * tabular.C: small cleanup.
18533
18534         * lyxserver.C (callback): use compare instead of strncmp
18535
18536         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18537         inlines to after class or to paragraph.C
18538
18539         * lyxfont.h: remove friend operator!=
18540
18541         * converter.h: move friend bool operator< to non friend and after
18542         class def.
18543
18544         * combox.h: small cleanup
18545
18546         * buffer.h: doxygen, remove unused constructor, move inclas inlies
18547         to inlines after class def.
18548
18549         * buffer.C (pop_tag): use string operations instead of strcmp
18550
18551         * bmtable.c: doxygen, small cleanup
18552
18553         * LaTeX.h: remove friend operator==
18554
18555 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
18556
18557         * screen.C:
18558         * lyxrc.[Ch]:
18559         * lyxfunc.C:
18560         * lyxfont.[Ch]:
18561         * lyx_cb.C:
18562         * intl.[Ch]:
18563         * commandtags.h:
18564         * buffer.C:
18565         * WorkArea.[Ch]:
18566         * LyXAction.C:
18567         * BufferView_pimpl.C:
18568         * BufferView.[Ch]: remove cruft
18569
18570 2001-02-14  Juergen Vigna  <jug@sad.it>
18571
18572         * lyxfunc.C: removed #if 0 unused code
18573
18574         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18575
18576         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18577
18578         * text2.C (SetSelection): added a BufferView * parameter
18579
18580 2001-02-13  Juergen Vigna  <jug@sad.it>
18581
18582         * lyxfunc.C (Dispatch): fixed protected blank problem.
18583         * BufferView2.C (protectedBlank): added LyxText * parameter.
18584
18585         * tabular.C (AppendRow): forgot to set row_info of newly added row.
18586         (AppendColumn): same as above for column_info.
18587
18588         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18589         (moveCursorUpdate): use a LyXText param for support of InsetText.
18590
18591         * BufferView_pimpl.C (doubleClick): added support for InsetText.
18592         (tripleClick): ditto
18593
18594         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18595
18596         * BufferView_pimpl.C (update): added LyXText param to honor insets.
18597
18598         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18599
18600         * text2.C (SetSelection): set correct update status if inset_owner
18601         (ToggleFree): ditto
18602
18603 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
18604
18605         * tabular.C: remove some commented code.
18606
18607 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
18608
18609         * BufferView_pimpl.C: call hideSplash()
18610
18611         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18612
18613         * include_form.h:
18614         * bibforms.h: remove
18615
18616         * lyxfunc.C:
18617         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18618           add LFUN_CHILD_CREATE
18619
18620         * counters.h: fix tiny typo
18621
18622         * lyx_cb.C:
18623         * lyx.h:
18624         * lyx_gui.C:
18625         * lyx.C: move splash to frontends/xforms/
18626
18627         * lyx_gui_misc.C: move Include and Bibform to frontends
18628
18629         * lyxvc.h: clarify comment
18630
18631         * vspace.C: tiny housekeeping
18632
18633 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
18634
18635         * text.C (PrepareToPrint): RTL Fix.
18636
18637         * paragraph.C (GetUChar): New method.
18638         (String):  Use GetUChar.
18639
18640         * buffer.C (asciiParagraph): Use GetUChar.
18641
18642 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
18643
18644         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18645
18646 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
18647
18648         * buffer.h:
18649         * buffer.C: rename to getLogName(), handle
18650           build log / latex log nicely
18651
18652 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18653
18654         * MenuBackend.C:
18655         * MenuBackend.h: remove support for reference menuitem type.
18656
18657 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
18658
18659         * BufferView_pimpl.C: housekeeping
18660         * BufferView_pimpl.h:
18661         * LyXView.h:
18662         * Makefile.am:
18663         * Timeout.C:
18664         * Timeout.h:
18665         * minibuffer.h: move Timeout GUI-I
18666
18667 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
18668
18669         * lyxrc.C (read): Update converters data-structures.
18670
18671 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
18672
18673         * LaTeX.h (operator!=): add operator != for Aux_Info
18674
18675 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
18676
18677         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18678
18679         * LaTeXLog.C: deleted, useful code moved to Buffer
18680
18681         * buffer.h:
18682         * buffer.C: new function getLatexLogName()
18683
18684         * lyx_gui_misc.C:
18685         * lyx_gui.C:
18686         * lyxvc.C:
18687         * lyxvc.h:
18688         * lyxfunc.C: use frontends for LaTeX and VC logs
18689
18690 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18691
18692         * LaTeX.h: yet another std:: that Allan forgot.
18693
18694         * Variables.C (set): renamed from isset(), because this clashes
18695         with some HP-UX macros (grr).
18696
18697 2001-02-06  Allan Rae  <rae@lyx.org>
18698
18699         * LaTeX.h: Another bug fix.  Missing std:: this time.
18700
18701 2001-02-04  Allan Rae  <rae@lyx.org>
18702
18703         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18704         floats problem. I've left it commented out because it's not quite
18705         correct.  It should also test that the current object is a table or
18706         figure inset.  But I haven't gotten around to figuring out how to do
18707         that.  I *think* it'll be something like: "table" == inset.type()
18708
18709         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18710         bool.
18711
18712 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
18713
18714         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18715         all the citation/databases/styles in the auxilary file.
18716         (run): Rerun latex if there was a babel language error.
18717
18718 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
18719
18720         * text.C (Backspace): Preserve the font when changing newline char
18721         with a space.
18722         (BreakParagraph): If the cursor is before a space, delete the space.
18723
18724         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18725
18726 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
18727
18728         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18729         new argument (code).
18730         (ChangeCitationsIfUnique): New method.
18731
18732         * paragraph.C (GetPositionOfInset): Handle bibkey.
18733
18734 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18735
18736         * BufferView_pimpl.h: change type of Position::par_pos to
18737         LyXParagraph::size_type.
18738
18739 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
18740
18741         * BufferView_pimpl.C (savePosition, restorePosition): Write
18742         messages to minibuffer.
18743
18744 2001-01-28  José Matos  <jamatos@fep.up.pt>
18745
18746         * buffer.C (makeDocBookFile): adds support for document language.
18747         A silly restriction on the name of LatexCommand types where removed.
18748         Added support for CDATA sections, allows to chars unescaped, used
18749         among others in code, to avoid escape < and >.
18750
18751 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18752
18753         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18754         saved positions instrad of a stack. Furthermore, a position is
18755         stored using paragraph id/paragraph position.
18756
18757         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18758         Remove LFUN_REF_BACK.
18759
18760 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18761
18762         * converter.C (dvipdfm_options): New method.
18763
18764 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
18765
18766         * vspace.C (isValidLength): Fix for empty input string.
18767
18768 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18769
18770         * LyXAction.C (init): change description of LFUN_FIGURE to
18771         "Insert Graphics"
18772
18773 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18774
18775         * LaTeX.C: add using directive
18776
18777 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18778
18779         * MenuBackend.C (expand): Fix the sorting of the formats.
18780
18781 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
18782
18783         * lyx_main.C: tiny error message fix
18784
18785 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18786
18787         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18788         calling fl_initialize(). This fixes the problem with ',' as
18789         decimal separator in text files.
18790
18791 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18792
18793         * trans.C (process): Fix the keymap bug.
18794
18795 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
18796
18797         * LaTeX.C (scanAuxFiles): New method. Provides support for
18798         multiple bibliographies (when using the bibtopic/bibunits pacakges).
18799         (scanLogFile) Scan for "run BibTeX" messages.
18800
18801         * buffer.C (makeLaTeXFile): Do not load the ae package when using
18802         OT1 font encoding. Also, load the aecompl package if the ae
18803         package is loaded.
18804
18805         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18806
18807 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18808
18809         * texrow.C (increasePos): turn two error messages into debug
18810         messages.
18811
18812 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
18813
18814         * LaTeX.C (scanAux): Handle the \@input macro.
18815         (runBibTeX): Use scanAux().
18816
18817         * language.C (latex_options_): New field.
18818
18819         * LaTeXFeatures.C (getMacros): Add language macros.
18820
18821         * buffer.C (makeLaTeXFile): Small fix.
18822
18823 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18824
18825         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18826
18827         * text2.C: add a using directive.
18828
18829 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
18830
18831         * BufferView2.C:
18832         * lyx_gui_misc.h:
18833         * lyxfr1.C:
18834         * lyxfunc.C: kill LyXBell.
18835
18836 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
18837
18838         * text.C (IsBoundary): Remove the error message
18839
18840         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18841
18842         * lyxrc.C (setDefaults): Correct initialization value for
18843         font_norm_type.
18844
18845 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
18846
18847         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18848         gotoError().
18849
18850         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18851         and GotoNextNote().
18852
18853         * src/LyXAction.C: Added reference-next.
18854
18855         * text.C (InsertChar): Use contains instead of strchr.
18856
18857         * lyx_cb.C (MenuInsertLabel): Enable default value code.
18858
18859 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
18860
18861         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18862         alignment commands (when needed).
18863
18864         * text.C (InsertChar): Add ':' to number separator chars.