]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
a0b9e02f18c86975fae697dab46e6850af68ac8e
[lyx.git] / src / ChangeLog
1 2006-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
2
3         * paragraph.[Ch] (write, lookupChange, lookupChangeFull;
4         added setChangeFull):
5         * paragraph_pimpl.[Ch] (trackChanges, cleanChanges, acceptChange,
6         rejectChange, erase; added setChangeFull):
7         * CutAndPaste.C (eraseSelectionHelper):
8         * lyxtext.h:
9         * text.C (readParToken, readParagraph, breakParagraph,
10         acceptChange, rejectChange, backspace, currentState; 
11         added backspacePos0):
12         * paragraph_funcs.C (breakParagraphConservative, mergeParagraph):
13         * lyxfind.C (findChange, findNextChange): fix bug 880: Change
14         tracked paragraphs should still allow a paragraph split (and related
15         things, i.e., multi-paragraph change tracking)
16
17 2006-03-10  Martin Vermeer  <martin.vermeer@hut.fi>
18
19         * BufferView_pimpl.C: fix bug 2212: First change is skipped is
20         "Merge changes..." dialog
21
22 2006-03-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
23
24         * bufferparams.C (writeLaTeX): define \labelitemi with \def. Fixes LaTeX 
25         error if the class has not defined them yet (bug 2053).
26
27 2006-03-10  Martin Vermeer  <martin.vermeer@hut.fi>
28
29         * BufferView.[Ch]:
30         * BufferView_pimpl.[Ch]: 
31         * LyXAction.C:
32         * debug.[Ch]:
33         * rowpainter.C:
34         * text3.C: Inside-inset speedup, esp. for the Mac (bug 2195)
35
36 2006-03-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
37
38         * pch.h: fix nullstream.hpp location for boost 1.33.0
39
40 2006-03-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
41
42         * pch.h:
43         * support/pch.h:
44         * support/debugstream.h: Use the correct nullstream.
45
46 2006-02-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
47
48         * text3.C (mathDispatch): fix math inset creation from string (bug 2315)
49
50 2006-02-28  Martin Vermeer  <martin.vermeer@hut.fi>
51
52         * cursor.C (niceInsert): fix (properly) insertion of
53         fonts/decorations around selection
54
55 2006-02-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
56
57         * lyxfont.C (lyxWriteChanges): Don't write \lang latex
58
59 2006-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
60
61         * text3.C (mathDispatch): fix crash when selection is not empty
62         but selectionAsString is empty (bug 2321).
63
64 2006-02-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
65
66         * text.C (changeCase): avoid crash in empty paragraph or on last
67         word of the paragraph. (buf 2323)
68         (cursorRightOneWord): fix the logic to stop at a beginning of a word.
69
70 2006-02-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
71
72         * buffer.C (readHeader): also erase params.preamble in advance
73         so that an empty preamble is actually recognized (bug 2317).
74
75         * rowpainter.C (paintFromPos): ditch applyOuterFont (bug 2308).
76
77 2006-02-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
78
79         * text2.C (deleteEmptyParagraphMechanism): 64bit compile fix
80
81 2006-02-05  Martin Vermeer  <martin.vermeer@hut.fi>
82
83         * buffer.C:
84         * bufferparams.[Ch]:
85         * lyxtext.h:
86         * paragraph.[Ch]:
87         * paragraph_funcs.C
88         * rowpainter.C:
89         * text.C:
90         * text2.C:
91         * text3.C: Fix bug 2115: blue language lines (for default font)
92         popping up when the documnent font is different. This includes work
93         by Georg Baum.
94
95 2006-02-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
96
97         * exporter.C (Backends): Add "lyx" backend
98         * exporter.C (Export): Handle "lyx" backend
99         * graph.C (getReachable): Don't exclude "lyx"
100         * MenuBackend.C (expandFormats): exclude "lyx" from export menu
101
102 2006-02-03  Martin Vermeer  <martin.vermeer@hut.fi>
103
104         * cursor.C (bruteFind2): convert relative to absolute co-ordinates
105         for correct in-mathed positioning
106
107 2006-02-03  Martin Vermeer  <martin.vermeer@hut.fi>
108
109         * rowpainter.C (paintForeignMark): fix foreign blue line under
110         insets
111
112 2006-01-30  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
113
114         * * text2.C (deleteEmptyParagraphMechanism): fix off-by-one error of the start 
115         pit of the uno range (bug 2022).
116
117 2006-01-28  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
118
119         * messages.C (get): Only warn once if setlocale fails (bug 2177)
120
121 2006-01-28  Martin Vermeer  <martin.vermeer@hut.fi>
122
123         * text2.C (setCharFont): take inset's own font settings into account
124         when defining the font to reduce to, fixes 2019
125
126 2006-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
127
128         * bufferview_funcs.C (coordOffset): remove the check for
129         collapsed collapsables (fix for bug 2094). This is now done
130         on a more general level (cursor.C).
131
132         * dociterator.[Ch] (forwardPos): add an optional argument
133         bool "ignorecollapsed" (default false), which lets forwardPos
134         skip collapsed insets.
135
136         * cursor.C (bruteFind): use forwardPos(ignorecollapsed = true)
137         (fixes bug 2241 and 2094).
138
139 2006-01-26  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
140
141         * buffer.C: change tracking (dvipost) doesn't require
142         color.sty anymore.
143
144         * LaTeXFeatures.C (getPackages): no need for the color
145         option "usenames" (bug 2169).
146
147 2006-01-23  Helge Hafting <helge.hafting@aitel.hist.no>
148         * buffer_funcs.C: Trivial fix - added {} around
149         the statements to be affected by a if-test. Now
150         label in a minipage in a float looks ok on screen again.
151
152 2006-01-23  Martin Vermeer  <martin.vermeer@hut.fi>
153
154         * text2.C: fix bug 2015: on screen fonts in nested environments 
155         can be wrong
156
157 2006-01-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
158
159         * converter.C (convert): handle unknown formats
160
161 2006-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
162
163         * cursor.C (goUpDown): comment out some debug messages.
164
165         * counters.C (newCounter): make error messages more explicit
166         (these appear with some textclasses like beamer)
167
168 2006-01-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
169
170         * kbmap.C (defkey): 
171         * lyxfunc.C (processKeySym): make sure new FuncRequest objects
172         have origin set to KEYBOARD. (bug 2221)
173
174 2006-01-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
175
176         * rowpainter.C (isCursorOnRow): do not exclude endpos().
177
178 2006-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
179
180         * cursor.C (macroModeClose): returns true if an inset actually got
181         inserted; revert faulty fix to bug 2034.
182
183 2006-01-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
184
185         * tabular.C (getLabelList): remove (not used anymore).
186
187 2006-01-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
188
189         * outputparams.[Ch]: add new flag inComment
190
191 2006-01-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
192
193         * text2.C (deleteEmptyParagraphMechanism): since we delete a
194         paragraph, recordUndo should span two paragraphs (bug 2155).
195
196 2006-01-01  Martin Vermeer  <martin.vermeer@hut.fi>
197
198         * rowpainter.C (paintPar): always repaint the row with the
199         cursor in it
200
201 2006-01-01  Lars Gullik Bjønnes <larsbj@gullik.net>
202
203         * MenuBackend.h: 
204         * bufferlist.h: 
205         * lyxtext.h: 
206         * paragraph.h:
207         * vspace.h: fix syntax error
208
209 2005-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
210
211         * text3.C (dispatch): Force refresh if typing into inset changes its
212                               metrics
213
214 2005-12-30  Martin Vermeer  <martin.vermeer@hut.fi>
215
216         * RowList_fwd.h:
217         * paragraph.C:
218         * paragraph.h:
219         * rowpainter.C: Speed up rendering by only re-painting rows that
220         have changed. When selection or whole-screen update active, all rows
221         are repainted, as are all rows within insets.
222
223 2005-12-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
224
225         * version.C.in: Use PACKAGE_VERSION instead of VERSION
226
227 2005-12-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
228
229         * tabular.C (toggleFixedWidth): Use default layout of text class
230         instead of hardcoded "Standard"
231
232 2005-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
233
234         * lyxfunc.C (dispatch): do not call getStatus again to determine
235         whether a lfun is disabled (bug 2172).
236
237 2005-12-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
238
239         * cursor.C (macroModeClose): set the cursor inside the new math
240         atom if relevant (think \frac{}{}) (bug 2034)
241
242 2005-12-19  Martin Vermeer  <martin.vermeer@hut.fi>
243
244         * lyxtext.h:
245         * text.C:
246         * text3.C (Delete, backspace): force update when merging paragraphs
247
248 2005-12-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
249
250         * BufferView.C (mouseSetCursor): clear the selection properly (bug
251         2163). 
252
253 2005-12-08  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
254
255         * text.C (redoParagraph): honor inset->noFontChange()
256         * rowpainter.C (paintInset): ditto
257
258 2005-12-15  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
259
260         * lyx_main.C (priv_exec): don't initialize Math on startup 
261         (initMath() has been moved to math_hullinset).
262
263 2005-12-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
264
265         * lyxrc.C: set default_papersize to PAPER_DEFAULT;
266         handle PAPER_DEFAULT in LyXRC::read and LyXRC::write (bug 2148).
267         * paper.h: dispose dead PAPER_PACKAGES enum.
268
269 2005-12-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
270
271         * Makefile.am (OTHERLIBS): add SOCKET_LIBS in case we compile
272         without X support.
273
274 2005-12-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
275
276         * exporter.C (Export): Don't try to copy a file if it does not exist
277         (bug 1888)
278
279 2005-12-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
280
281         * text2.C (makeFontEntriesLayoutSpecific): remove.
282         (setLayout): adapt.
283
284         * text.C (insertChar): remove bogus caching of fonts (did not do
285         anything). 
286
287         * text2.C (LyXText): initialize current_font to ALL_INHERIT (was
288         ALL_SANE). (bug 2146)
289
290 2005-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
291
292         * rowpainter.C (paintFirst): fix centering of
293         LABEL_CENTERED_TOP_ENVIRONMENT. 
294
295 2005-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
296
297         * BufferView.C (mouseSetCursor): new method. Calls
298         deleteEmptyParagraphMechanism if necessary.
299
300         * lyxtext.h: make deleteEmptyParagraphMechanism public.
301
302         * text3.C (dispatch/LFUN_MOUSE_PRESS): use
303         BufferView::mouseSetCursor (bug 2109).
304         (dispatch/LFUN_PASTE): remove #warning that is now irrelevant.
305
306 2005-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>  
307
308         * text3.C (dispatch/LFUN_INDEX_INSERT): when a selection is set,
309         do not remove it (this inset behaves differently from the others).
310
311 2005-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
312
313         Fix bug 2096.
314         
315         * BufferView_pimpl.C (getStatus): it is only possible to insert a
316         file in a text inset.
317
318         * buffer.C (readDocument): remove pit argument and code releated
319         to it; set the inset owner correctly (unrelated, but useful).
320         (readFile): get rid of pit argument.
321
322         * CutAndPaste.C (pasteSelectionHelper): use a ParagraphList and a
323         textclass instead of a selection index.
324         (pasteParagraphList): new function.
325         (pasteSelection): make it a wrapper around pasteParagraphList.
326
327         * BufferView_pimpl.C (MenuInsertLyXFile): use
328         cap::pasteParagraphList to insert a file.
329
330 2005-11-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
331
332         * buffer_funcs.C (bufferErrors): prevent endless loop (bug 2121)
333
334 2005-11-17  Michael Gerz  <michael.gerz@teststep.org>
335
336         * exporter.C: fix typo in text message
337
338 2005-11-28  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
339
340         * text2.C (setLayout): move recUndo call to other setLayout method
341         * tabular.C (toggleFixedWidth): new, handle cell width changes
342         * tabular.C (setColumnPWidth): move some code from insettabular.C here
343         and use toggleFixedWidth
344         * tabular.C (setMColumnPWidth): ditto
345
346 2005-11-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
347
348         * paragraph.C (asString): use new inset->textString method (fix
349         bug 2089) 
350
351 2005-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
352
353         * CutAndPaste.C (numberOfSelections): new helper function.
354
355         * lyxfunc.C (getStatus): remove support for LFUN_COPY and LFUN_CUT.
356
357         * text3.C (getStatus): move code for LFUN_CUT and LFUN_COPY from
358         LyXFunc::getStatus; implement LFUN_PASTE.
359
360 2005-11-17  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
361
362         * dociterator.[Ch]: new member realInset() that returns the cell
363         for tabulars and the inset for the rest (bug 1952).
364         * undo.C (textUndoOrRedo): use realInset when resetting insetOwner
365         (bug 1952).
366
367 2005-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
368
369         * text.C (leftMargin): honor the NextNoIndent tag in layouts.
370
371 2005-11-17  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
372
373         * lyxfunc.C:
374         * paragraph.C:
375         * text3.C: InsetBase::forceDefaultParagraphs now takes a cell as
376         argument.
377
378 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
379
380         * text.C (redoParagraph): Fix bug 1966: cursor doesn't go to next
381         line after typing ctrl-enter
382
383 2005-11-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
384
385         * bufferview_funcs.C (coordOffset): fix the fix for bug 2094, as
386         math insets do not return a proper editable() state yet (bug 2124).
387
388 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
389
390         * BufferView_pimpl.[Ch]: Fix bug 1814: better scroll behaviour for 
391         docs containing very large paragraphs.
392
393 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
394
395         * cursor.C (selectionBegin, selectionEnd):
396         * text.C (drawSelection): Fix bug 2115: assertion when anchor and 
397         cursor at different depths.
398
399 2005-11-03  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
400
401         * bufferview_funcs.C (coordOffset): do not call cursorPos
402         for collapsed collapsables (fix bug 2094).
403
404 2005-11-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
405
406         * paragraph.C (fontSpan): make sure that the FontSpan does not
407         span across beginOfBody (bug 1947).
408
409 2005-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
410
411         * lyxlength.h: undefine macros that clash with solaris/x86 (bug 992)
412
413 2005-11-03  Michael Gerz  <michael.gerz@teststep.org>
414
415         * messages.C: fix crash and localization on MinGW/Windows platform
416
417 2005-11-02  Angus Leeming  <leeming@lyx.org>
418
419         * Bidi.C:
420         * lyxtextclass.C: trivial fixes to some MSVS warnings.
421
422 2005-10-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
423
424         * text3.C (getStatus): re-enable disabled code. (bug 2081)
425
426         * BranchList.h (empty): constify.
427
428 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
429
430         * text3.C (getStatus): 
431         * MenuBackend.C (expandBranches): take the branch list from the
432         master document (bug 2092).
433         
434         * MenuBackend.C (expandBranches): 
435         * bufferparams.C (writeFile): use BranchList type.
436
437 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
438
439         * text3.C (dispatch, getStatus): 
440         * LyXAction.C (init): 
441         * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
442
443 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
444
445         * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
446
447 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
448
449         * text.C (insertChar): do not reset boundary (bug 2061)
450
451 2005-10-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
452
453         * dociterator.C (updateInsets): new method. Updates the inset_
454         cache of all the slices of the iterator.
455
456         * text2.C (deleteEmptyParagraphMechanism): compare also containing
457         insets when comparing pit/pos; pass the right cursor to
458         recordUndo; when a paragraph has been deleted, compare `old.top()' to
459         the right cursor slice of `cur'; use updateInsets on cur to make
460         sure that the inset caches are correct; general cleanup.
461
462 2005-10-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
463
464         * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
465         dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
466         containg inset. If this does not work, the same command will be
467         sent to other insets down the queue by LCursor::dispatch. (bug 2066)
468
469         * lyxfunc.C (dispatch): make sure the cursor is correct when doing
470         a dispatch.
471
472 2005-10-20  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
473
474         * lyxtextclass.C (Read): convert layout file if the format is wrong
475         * lyxtextclass.C (layout2layout): new, needed for the above
476
477 2005-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
478
479         * messages.C: do not forget to include <cerrno>.
480
481 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
482
483         * dociterator.h (StableDocIterator): add access to pos().
484         * undo.C (samePar): new method to check if two
485         iterators are in the same paragraph
486         * undo.C (recordUndo): check for samePar instead of cell identity
487         (which includes pos() and is too strict) (fixes bug 2097)
488
489 2005-10-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
490
491         * text.C (setCursorFromCoordinates): return a bool telling whether
492         dEPM triggered.
493
494         * text3.C (cursorPrevious): update if needed after
495         setCursorFromCoordinates (when dEPM triggered).
496
497         * text2.C (cursorDown, cursorUp): make sure to reset the anchor
498         (otherwise the anchor may be completely wrong and make dEPM assert).
499
500 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
501
502         * buffer.C: version upgrade to 245.
503         * bufferparams.C: remove \quotes_times (bug 2090).
504         * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
505         quotation marks as default.
506
507 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
508
509         * CutAndPaste.C (nrOfParagraphs): remove (unused)
510         * CutAndPaste.C (cutSelection): Remove debug message
511         * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
512         undo information and only copy if this is a real cut
513         * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
514         call
515         * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
516         (bug 2059)
517         * CutAndPaste.C (eraseSelection): prevent cursor corruption
518         * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
519         superflous cur.selection() setting
520         * CutAndPaste.[Ch] (grabSelection): take a const cursor
521         * cursor.C (selectionAsString): implement mathed case ((bug 2059)
522
523 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
524
525         * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
526         change anything.
527
528 2005-10-11  Martin Vermeer  <martin.vermeer@hut.fi>
529
530         * BufferView_pimpl.C: comment layout change
531
532 2005-10-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
533
534         * LyXAction.C:
535         * lfuns.h:
536         * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
537         by bibliography managers (bug 2071).
538
539 2005-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
540
541         * BufferView_pimpl.C (update): choose arguments to update call so
542         that single-par update works most times
543         * text3.C (dispatch): carefully tune updating separately for
544         whole-screen and current-paragraph
545         * rowpainter.C (paintText): 1) replace painting by caching for
546         the two extra paragraphs, because we can;
547         2) suppress greying out of areas below/above drawn area in case of
548         single-par refresh
549         * lyxfunc.C (dispatch): remove superfluous update
550         * LyXAction.[Ch]: introduce SingleParUpdate
551
552 2005-10-05  Angus Leeming  <leeming@lyx.org>
553
554         * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
555         always initialised before use.
556
557         * text.C (setHeightOfRow): squash warning about comparison
558         of signed and unsigned types.
559
560 2005-10-03  Martin Vermeer  <martin.vermeer@hut.fi>
561
562         * text.C (cursorX): two fixes involving RtL text drawing
563
564 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
565
566         * cursor.C (erase): fix 'clever' UI hack. It was activated for all
567         items, not only large ones (part of bug 2057)
568
569 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
570
571         * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
572         argument, use "newcommand".
573
574 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
575
576         * cursor.C (setSelection): do not open collapsable insets;
577         the insets do by themselves now (autoopen).
578
579 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
580
581         * buffer.C: format is up to 244.
582
583 2005-09-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
584
585         * text.C (redoParagraph): fix calcultation of inset width wrt 
586         leftMargin (bug 1957).
587
588         * text3.C (dispatch): leave inset to the right when hitting ESC 
589         (bug 2034).
590
591 2005-09-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
592
593         * text2.C: 
594         * text.C: 
595         * factory.C:
596         * messages.C: include <boost/current_function.hpp> 
597
598 2005-09-12  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
599
600         * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
601         when command is internal. (bug 1941)
602
603 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
604
605         * text2.C (cursorRight): do not honor boundary when at the end of
606         a paragraph. (bug 2010 again)
607
608 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
609
610         * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
611
612 2005-09-19  Martin Vermeer  <martin.vermeer@hut.fi>
613
614         * rowpainter.C (paintText): fix RtL space width display bug (2029)
615
616 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
617
618         * text2.C (setCursor): remove the unused 'boundary' parameter for
619         the CursorSlice version; adapt the LCursor version.
620
621         * lyxrc.C (write): 
622         * paragraph_pimpl.C (markErased): 
623         * cursor.C (bruteFind2, bruteFond3): fix warnings.
624
625 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
626
627         * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
628         as is already done for "chapter".
629
630 2005-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
631
632         * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
633         textclass; do not record undo if nothing is changed.
634
635 2005-09-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
636
637         * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
638
639 2005-09-14  Michael Gerz  <michael.gerz@teststep.org>
640
641         * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
642
643 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
644
645         * BufferView_pimpl.C (setBuffer): when one wants to set the layout
646         combox, it is necessary to search for the topmost paragraph in the
647         cursor stack (bug 1926)
648
649 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
650
651         * text2.C (cursorEnd, cursorRight): do not set boundary to true at
652         end of paragraph. (bug 2010)
653
654 2005-09-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
655
656         * text.C (leftMargin): check for inInset == 0
657
658 2005-09-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
659
660         * text.C (leftMargin): test for insetbase's new neverIndent()
661         bool instead of listing each and every inset that does not
662         wish par indendation.
663
664 2005-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
665
666         * buffer_funcs.C (setCounter): put the code to compute enum label
667         here (where it belongs).
668
669         * counters.C (enumLabel): move code to buffer_funcs.C.
670
671 2005-09-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
672
673         * outputparams.[Ch]: store local_font instead of local_language
674         * paragraph.C (simpleTeXOnePar): adapt to the change above
675
676 2005-09-08  Martin Vermeer  <martin.vermeer@hut.fi>
677
678         * buffer_funcs.C:
679         * counters.[Ch]: clean up special code for Hebrew.
680
681 2005-09-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
682
683         * lyxfunc.C (lookupChange): fix code when cursor depth is greater
684         than 2.
685
686 2005-09-08  Angus Leeming  <leeming@lyx.org>
687
688         * ispell.C:
689         * lyxrc.C: correct grammar describing invocation of the
690         spellchecker.
691
692 2005-08-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
693
694         * text.C (read): remove unused variable.
695         (readParToken): remove static Change variable (never good in
696         recursive settings...); add it as a parameter instead.
697
698         * paragraph_pimpl.C (acceptChange): make debug info conditional.
699
700         * metricsinfo.C (PainterInfo): add new member erased_.
701
702         * rowpainter.C (RowPainter): add erased_ member, initialized from
703         PainterInfo. 
704         (paintInset): pass erased_ to Inset::draw.
705
706         * lyxfunc.C (lookupChange): new function. Tells whether change 
707         tracking is disabled at a given postion.
708         (getStatus): disable some actions when in deleted text with change
709         tracking. 
710
711 2005-08-03  John Levon  <levon@movementarian.org>
712         
713         * tabular.C (appendColumn, setMultiColumn): adapt to change to
714         InsetText::clear().
715
716         * paragraph_pimpl.C (markErased): add bool argument and handle it.
717         Also make sure to mark insets recursively.
718         (rejectChange, erase): be recursive
719
720         * paragraph.C (markErased): add bool argument.
721 2005-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
722
723         * lyxfind.C (findNextChange): tiny cleanup.
724
725         * BufferView_pimpl.C (trackChanges): avoid crash when stopping
726         change tracking with the cursor in an inset; make sure the first
727         change is not skipped.
728
729 2005-09-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
730
731         * CutAndPaste.[Ch]: new methods dirtyTabularStack and 
732         tabularStackDirty to work around bug 1919 (tabular needs
733         to know whether its own cell paste buffer or the one of 
734         texted is newer.
735         * CutAndPaste.C: mark tabular_stack_ clean after copy.
736
737 2005-08-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
738
739         * text2.C (cursorEnd): check for empty text (fixes bug 1998)
740
741 2005-08-19  Lars Gullik Bjønnes  <larsbj@gullik.net>
742
743         * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
744         use old deleteion algorithm when changetracking is on.
745
746 2005-08-18  Martin Vermeer  <martin.vermeer@hut.fi>
747
748         * messages.C (get): add debug output.
749
750 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
751
752         * text.C (cursorX): fix bug 1965: cursor movement at
753         line end broken in RtL.
754         (drawSelection): fix bug 1970: drawing of single-line 
755         selection broken for RtL.
756
757 2005-07-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
758
759         bug 465.
760
761         * dociterator.h (clear, push_back, pop_back): change from
762         protected to public.
763
764         * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
765         and changed to just return the value of the item depth; take a
766         ParIterator as argument; take the itemdepth at outer nesting level
767         in account if necessary; cleanup and comment the code.
768         (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
769         and changed to just return true if reset is needed; take a
770         ParIterator as argument; cleanup and comment the code.
771         (setCounter): adapt to above changes.
772
773 2005-07-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
774
775         * text3.C (dispatch): make debug message optional
776
777 2005-08-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
778
779         * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
780         inset. (bug 1963)
781
782 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
783
784         * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
785
786 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
787
788         * text.C (insertChar):
789         * text2.C (deleteEmptyParagraphMechanism): take care whether 
790         a blank has been deleted (in change tracking mode) (bug 1254).
791
792 2005-07-20  John Levon  <levon@movementarian.org>
793
794         * text2.C (insertStringAsLines): remove old dubious code,
795         fixing bug 1939.
796
797 2005-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
798
799         * MenuBackend.C (expandToc): use Floating::listName() as title of
800         the floats submenus.
801
802 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
803
804         * toc.[Ch]: Do not use translatable strings (bug 1870).
805
806 2005-07-20  John Levon  <levon@movementarian.org>
807
808         * tabular.C: fix 1748 - setting multicolumn adds
809           left line to the first cell
810
811 2005-07-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
812
813         bug 1920
814         * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
815         pars in one go.
816
817 2005-07-18  Lars Gullik Bjønnes  <larsbj@lyx.org>
818
819         * messages.C: supress some lyxerr messages
820
821 2005-07-18  Juergen Vigna  <jug@lyx.org>
822
823         * text.C (drawSelection): honor boundary when asking for cursorX.
824
825 2005-07-17  José Matos  <jamatos@fc.up.pt>
826
827         * tabular.C (recalculateMulticolumns): fix handling of one column
828         tables.
829
830 2005-07-17  Juergen Vigna  <jug@lyx.org>
831
832         * text.C (Delete, backspace): fixed so that paragraph with the
833         same layout can be merged by Delete/Backspace.
834
835 2005-07-17  Michael Schmitt  <michael.schmitt@teststep.org>
836
837         * text.C (readParToken): fix spelling.
838
839 2005-07-17  Martin Vermeer  <martin.vermeer@hut.fi>
840
841         * text2.C: fix counter update for DEPM problem reported by
842         Georg Baum
843
844 2005-07-17  Juergen Vigna  <jug@lyx.org>
845
846         * BufferView_pimpl.C (setBuffer): save/restore the
847         cursor/selection when switching buffers
848
849         * buffer.h: 
850         * buffer.C (saveCursor): add saveDocumentIterators to save the
851         cursor when switching buffer.
852
853 2005-07-17  Michael Schmitt  <michqel.schmitt@teststep.org>
854
855         * debug.C: fix typo
856         * buffer.C: clarify message
857         
858 2005-07-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
859
860         * dociterator.C (DocIterator): fix initialization order
861
862 2005-07-17  Juergen Vigna  <jug@lyx.org>
863
864         * text2.C (cursorHome): 
865         * text.C (drawSelection, cursorX): 
866         * dociterator.C (textRow): add boundary to getRow() call
867
868         * paragraph.C (getRow): implementation of below
869
870         * paragraph.h: add parameter boundary for getRow() function
871
872 2005-07-17  José Matos  <jamatos@fc.up.pt>
873
874         * buffer.C:
875         * bufferparams.[Ch]:
876         * tex-strings.[Ch]: new file format, remove support for a4.sty,
877         a4wide.sty and a4widemargins.
878
879 2005-07-17  Juergen Vigna  <jug@lyx.org>
880
881         * text2.C (cursorLeft): fix one of error
882
883 2005-07-17  Juergen Vigna  <jug@lyx.org>
884
885         * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
886                    cursorEnd):
887         more fixes for boundary handling
888
889         * text3.C (dispatch): don't reset cursor if boundary has changed
890         on cursor movement.
891
892 2005-07-16  Juergen Vigna  <jug@lyx.org>
893
894         * text2.C (getColumnNearX): hopefully got it right now,
895         check if we are on column 0 for special case.
896
897 2005-07-16  Juergen Vigna  <jug@lyx.org>
898
899         * text2.C (getColumnNearX): handle special case Newline Inset
900
901         * text.C (singleWidth): Just remove bogus check
902
903 2005-07-16  Michael Schmitt  <michael.schmitt@teststep.org>
904
905         * funcrequest.C (split): avoid reading uninitialized char c
906
907 2005-07-16  José Matos  <jamatos@fc.up.pt>
908
909         * buffer.C:
910         * converter.C:
911         * lyxrc.C:
912         * paper.h:
913         * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
914         single papersize variable.
915
916 2005-07-16  Juergen Vigna  <jug@lyx.org>
917
918         * text3.C (dispatch): honor boundary when checking if a cursor
919         movement has been done
920
921         * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown) 
922         (setCursor, setCursorIntern): fix cursor movement with boundary
923
924 2005-07-16  Juergen Vigna  <jug@lyx.org>
925
926         * text.C (currentState): output the actual Boundary
927
928 2005-07-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
929
930         * factory.C (createInset): fix bad logic for tabular creation
931
932 2005-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
933
934         * lyx_main.C (init): change some reLyX reference to tex2lyx
935
936 2005-07-16  Juergen Vigna  <jug@lyx.org>
937
938         * dociterator.C (DocIterator): initialize boundary
939
940 2005-07-16  Juergen Vigna  <jug@lyx.org>
941
942         * text2.C (getColumnNearX): Consider rows without trailing blank.  
943
944 2005-07-16  André Pönitz  <poenitz@gmx.net>
945
946         * lyxfont.h: Change order of declarations to give the compiler
947         a better chance to inline things
948
949         * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
950         questions on unsaved docs for better scritability
951
952 2005-07-16  André Pönitz  <poenitz@gmx.net>
953
954         * paragraph.h (getChar): remove asserts as the same kind of security
955         can be achieved by using a suitable standard library implementation
956         and the function was in the critical path (25.9% in profiler)
957
958 2005-07-16  Juergen Vigna  <jug@lyx.org>
959
960         * cursor.C (bruteFind2):
961         * bufferview_funcs.C (coordOffset): 
962         * text.C (cursorX,cursorY): Handle cursor position after last char
963         in row before a inset which uses a whole row.
964
965 2005-07-15  José Matos <jamatos@lyx.org>
966
967         * output_plaintext.[Ch] (writeFileAscii): control reference title
968         printing.
969         (asciiParagraph): noparbreak was already deal and was incorrectly
970         used.
971
972 2005-07-15  Juergen Vigna <jug@lyx.org>
973
974         * lyxfunc.C (dispatch): save and restore the cursor after a
975         textclass switch.
976
977 2005-07-15  Lars Gullik Bjønnes <lgb@tandberg.net>
978
979         * text.C (backspace): bug 806 for empty keepempty paragraphs we
980         change the layout to default before letting DEPM do its thing.
981
982         * paragraph_funcs.C (breakParagraph): dont reset the layout on
983         keepEmpty paragraphs
984
985         * text.C (setCursorFromCoordinates): add a debug statement
986
987         * text2.C (getColumnNearX): bug 1825 make sure that we don't
988         return a pos that is not on the row
989
990         * output_latex.C (TeXDeeper): get rid of potential dereferencing
991         of past the end iterator
992
993 2005-07-14  André Pönitz  <poenitz@gmx.net>
994
995         * undo.C (recordUndoFullBuffer): implement undo for
996         textclass switches
997
998 2005-07-14  André Pönitz  <poenitz@gmx.net>
999
1000         * cursor.C (setSelection): open insets when selection is set there
1001         to avoid crashs with cold coord cache
1002
1003 2005-07-14  André Pönitz  <poenitz@gmx.net>
1004
1005         * trans_mgr.C (insert): move cursor to the right after inserting
1006         a char.
1007
1008 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
1009
1010         * BufferView_pimpl.C (update): dampen some of the debug blabbering
1011         * factory.C (readInset): ditto
1012         * text.C, text2.C: ditto
1013
1014 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1015
1016         * buffer.C: format incremented to 242. There is no file format per
1017         se, but the "frenchb" language has been removed from lib/language
1018         and has to be translated to "french" by lyx2lyx.
1019
1020 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1021
1022         * cursor_slice.h, dociterator.h: add some documentation
1023         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
1024
1025 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1026
1027         * text.C (leftMargin): do not add identation to display() style
1028         insets, because they are always centered (bug 1293).
1029
1030 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1031
1032         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
1033         formatted_time methods in support/lyxtime.
1034
1035 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1036
1037         * toc.[Ch]: new method getGuiName, which is used by the frontends 
1038         to set the toc combo (fixes bug 1870). Make TOC string translatable.
1039
1040 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1041
1042         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
1043         StableDocIterator const &)
1044         * undo.C (recordUndo): use the above instead of cell.size() comparison
1045         (fixes bug 1808; instructed by Andr�.
1046
1047 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
1048
1049         * cursor_slice.h: 
1050         * dociterator.h: Fix the assert when copying rows/cols in math
1051
1052 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1053
1054         * BufferView_pimpl.C:
1055         * LyXAction.C:
1056         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
1057
1058         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
1059         (findInset): new functions, refactored from goto Inset that return 
1060         the position of a certain inset without setting the buffer's cursor
1061         (by Jean-Marc); 
1062         (gotoInset): rewrite to call findInset and then set the cursor
1063         (by Jean-Marc).
1064
1065 2005-06-16  Angus Leeming  <leeming@lyx.org>
1066
1067         * lyxrc.C (output, read): wrap all input and output of paths with
1068         calls to os::internal_path and os::external_path, respectively.
1069         (output): wrap bind_file inside quotes.
1070
1071         * format.C (view): enable the viewer to use the '$$s' placeholder.
1072
1073 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1074
1075         * LColor.[Ch] (getFromLaTeXName): new
1076
1077 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
1078
1079         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
1080
1081 2005-06-14  Angus Leeming  <leeming@lyx.org>
1082
1083         * lyx_main.C (init): ensure that the LyX binary dir is the first
1084         element in the PATH on non-POSIX builds.
1085
1086 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1087
1088         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
1089
1090 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1091
1092         * rowpainter.C (paintInset, paintHebrewComposeChar)
1093         (paintArabicComposeChar, paintChars): add a LyXFont argument.
1094         (paintChars): use getFontSpan to reduce calls to getFont to a
1095         minimum; use Paragraph::lookupChange instead of isXXXText.
1096         (paintForeignMark): rename LyXFont argument.
1097         (paintFromPos): pass a LyXFont object to the various paintXXX
1098         methods.
1099
1100         * FontIterator.C (FontIterator, operator++): use
1101         Paragraph::getFontSpan
1102
1103         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
1104         version that returns the font span as a pair.
1105
1106 2005-06-09  Angus Leeming  <leeming@lyx.org>
1107
1108         * converter.C (convert): Don't forget "outfile = real_outfile" as
1109         the final step in a conversion where the input and output file names
1110         are the same. Otherwise, future conversion steps won't work...
1111
1112 2005-06-09  Angus Leeming  <leeming@lyx.org>
1113
1114         * lyxsocket.C: remove stub code as it isn't needed by
1115         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
1116
1117 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1118
1119         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
1120         effectively disabled -x
1121
1122 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1123
1124         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
1125         when it actually makes sense.
1126
1127 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
1128
1129         * BufferView_pimpl.C: revert to showCursor in connection with
1130         Lars's front-end stack
1131
1132 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1133
1134         * text.C (redoParagraph): move cursor right after a bibitem
1135         has been inserted.
1136
1137         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
1138
1139 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1140
1141         * buffer_funcs.C (bufferErrors): fix computation of the end of an
1142         error range.
1143
1144 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
1145
1146         * BufferView.[Ch] (update):
1147         * BufferView_pimpl.[Ch] (update, metrics):
1148         * dimension.h (operator==):
1149         * lyxfunc.C (dispatch):
1150         * metricsinfo.h (ViewMetricsInfo):
1151         * rowpainter.C (paintText):
1152         * lyxtext.h:
1153         * text.C (redoParagraph):
1154         * text3.C (dispatch): Make LyX only repaint current paragraph in
1155         case of character insert --> speedup. Also fix cursor draw
1156         artifacts
1157
1158 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1159
1160         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
1161         avoid a crash (bug 1891)
1162
1163 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1164
1165         Fix bug 1892:
1166
1167         * text2.C (getStringToIndex): constify cur argument.
1168
1169         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
1170         argument has been given
1171         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
1172         try to invoke LFUN_INSET_APPLY).
1173
1174         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
1175         if no inset was created by doInsertInset
1176         (doInsertInset): return true if an inset has been inserted.
1177
1178 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1179
1180         * vspace.C (asGUIName): new method. A version of the space
1181         suitable for showing on screen.
1182
1183 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
1184
1185         * MenuBackend.C:
1186         * lyxrc.C: rename "ASCII" to "Plain Text"
1187
1188 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1189
1190         * buffer_funcs.C (expandLabel): take a Buffer as argument;
1191         translate the labelstring.
1192         (setCounter): translate labelstring as needed.
1193
1194         * output_docbook.C (makeCommand): fix expandLabel invokation
1195
1196 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
1197
1198         * BufferView.C: fix dialog title
1199
1200 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1201
1202         * lyx_main.C (priv_exec): fix logic error with help from Angus
1203         * lyx_main.C (parse_execute): set is_gui = false and remove now
1204         obsolete comment about a segfault
1205
1206 2005-05-18  Angus Leeming  <leeming@lyx.org>
1207
1208         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
1209
1210 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
1211
1212         * tabular.[hC]: added setCellInset to fix tabular paste.
1213
1214 2005-05-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1215
1216         * buffer.C (save): check if destination is writable before trying
1217         to copy a file
1218
1219 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
1220
1221         * BufferView_pimpl.C (update): fix processEvents -caused update
1222         recursion bug
1223
1224 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1225
1226         * buffer_funcs.C (setCounter): fix test for numbering of
1227         environments.
1228
1229         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
1230         depth correctly; use optional argument when it exists
1231
1232         * lyxtextclass.C: remove unused MaxCounterTags enum
1233         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
1234         (max_toclevel, min_toclevel): new methods.
1235
1236         * MenuBackend.C (expandToc2): fix case where depth is smaller than
1237         the smallest depth in toc.
1238
1239         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
1240         layouts that should not appear in a table of contents.
1241
1242 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1243
1244         * cursor.h (undispatched, noUpdate): add comments from Andr�
1245 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
1246
1247         * lfuns.h:
1248         * LyXAction.C:
1249         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
1250
1251 2005-05-07  André Pönitz  <poenitz@gmx.net>
1252
1253         * cursor.[Ch] (leaveInset): new function
1254
1255 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1256
1257         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
1258
1259 2005-05-04  Angus Leeming  <leeming@lyx.org>
1260
1261         * lyxfunc.C (getStatus): disable the spell checker dialog if
1262         none of USE_[AIP]SPELL are defined.
1263
1264 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
1265
1266         * tabular.C (setWidthOfCell): remove obsolete comment
1267
1268 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
1269
1270         * paragraph.C (bibitem):
1271         * buffer_funcs.C (setCounter):
1272         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
1273
1274 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1275
1276         * text3.C (getStatus): immediately return after setOnOff
1277
1278         * rowpainter.C: fix drawing of appendix start
1279
1280 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1281
1282         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
1283         SwitchBetweenClasses and remove the unused return value.
1284         Handle character styles, too
1285
1286 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
1287
1288         * factory.C (createInset): handle undefined character styles
1289
1290 2005-05-02  Angus Leeming  <leeming@lyx.org>
1291
1292         * buffer.C: protect the #include of utime.h with a preprocessor
1293         guard.
1294
1295 2005-05-02  Angus Leeming  <leeming@lyx.org>
1296
1297         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
1298         function so that auto-saving works, albeit in a blocking manner.
1299
1300         * Makefile.am: make compilation of the client sub directory, of
1301         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
1302         on conditionals set at configure time.
1303
1304         * SpellBase.[Ch]: no longer an abstract base class. Instead,
1305         it can be compiled in its own right but has no-op functionality.
1306
1307         * aspell.C, pspell.C: remove preprocessor guards. The files should
1308         be compiled only if the necessary functionality exists.
1309
1310         * lyxserver.C, lyxsocket.C: disable on Windows.
1311
1312 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
1313
1314         * text.C (leftMargin): Fix the parindent use bug (1764)
1315         by dirty trick
1316
1317 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
1318
1319         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
1320         argument.
1321
1322 2005-04-25  Angus Leeming  <leeming@lyx.org>
1323
1324         * Bidi.[Ch]:
1325         * coordcache.[Ch]:
1326         * ispell.C:
1327         * lyxserver.C:
1328         * mover.C:
1329         * pch.h:
1330         include <config.h> in .C files, not .h ones.
1331         add licence blurb.
1332         protect headers inside preprocessor guards.
1333
1334 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1335
1336         * FuncStatus.h (StatusCodes): document
1337
1338 2005-04-21  André Pönitz  <poenitz@gmx.net>
1339
1340         * FuncStatus.h (enabled, onoff): document
1341
1342 2005-04-19  Angus Leeming  <leeming@lyx.org>
1343
1344         * BufferView_pimpl.C (cursorToggle): no longer test whether
1345         any child processes have been reaped before calling
1346         handleCompletedProcesses().
1347
1348 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
1349
1350         * text3.C (dispatch): fix, finally fix, the language problem in
1351         new lyxtexts, without disabling on-the-fly font changes (Helge's
1352         bug report)
1353
1354 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1355
1356         * text3.C (dispatch): set cursor on double/triple click events
1357         (bug 1811)
1358
1359 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1360
1361         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
1362         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
1363
1364         * rowpainter.C (paintFirst): simplify the code a little bit. In
1365         particular, remove the test for secnumdepth.
1366         * text.C (setHeightOfRow): only allocate space for chapter number
1367         when updateCounters provided an actual label, instead of looking
1368         at secnumdepth directly.
1369
1370         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
1371
1372         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
1373         paragraphs when secnumdepth is large enough or, for environments,
1374         when they are not the first in a sequence.
1375
1376 2005-04-17  Angus Leeming  <leeming@lyx.org>
1377
1378         * buffer.C (makeLaTeXFile): replace code to manipulate a path
1379         containing space and '~' characters with a call to latex_path().
1380
1381 2005-04-17  Angus Leeming  <leeming@lyx.org>
1382
1383         * converter.C (convert): protect all args of convertDefault.sh
1384         script with quotes.
1385
1386 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1387
1388         * text3.C (dispatch): change the layout to "Caption" after inserting
1389         a float.
1390
1391 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1392
1393         * text3.C (dispatch): fix language problem in newly created
1394         textinsets (and main text) in non-english docs
1395
1396 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1397
1398         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
1399         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
1400         * text3.C (getStatus): disable LFUN_INSET_MODIFY
1401
1402 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1403
1404         * lyxtext.h:
1405         * text.C (metrics):
1406         * text2.C (getFont):
1407         * rowpainter.C (getFont): Fix metrics bug introduced by inset
1408         fonts fix
1409
1410 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1411
1412         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
1413         output of \item arguments without trailing text.
1414
1415 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1416
1417         * FontIterator.C (operator*): avoid a copy of the font.
1418
1419 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1420
1421         * rowpainter.C (getFont): fix language bug from previous fix
1422
1423 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1424
1425         * rowpainter.C (RowPainter, getFont): fix font inside inset
1426         (bugs 1766, 1809)
1427
1428 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
1429
1430         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1431         preventing inserted font, deco, delim insets jumping to start of
1432         surrounding inset.
1433
1434 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1435
1436         * lyxfunc.C (dispatch): translate message before sending it to the
1437         minibuffer.
1438
1439 2005-03-29  Angus Leeming  <leeming@lyx.org>
1440
1441         * lyx_main.C (priv_exec): call os::internal_path on each file passed
1442         to LyX on the command line.
1443
1444 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
1445
1446         * vc-backend.C: use QuoteName to protect file names wherever
1447         necessary.
1448
1449 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
1450
1451         * buffer.[Ch]:
1452         * BranchList.h: fix bugs 1844,1845: document settings don't
1453         stick
1454
1455 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1456
1457         * lyxrc.C (setDefaults, read, output, getDescription): add support
1458         for tex_allows_spaces.
1459
1460         * exporter.C (Export): allows files in directory containing spaces
1461         if tex_allows_spaces is true.
1462
1463         * buffer.C (makeLaTeXFile): if the document path contains spaces,
1464         output it in double quotes.
1465
1466 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1467
1468         * rowpainter.C: use default text height for drawing change tracker
1469         strikeout lines.
1470
1471 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1472
1473         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1474
1475 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1476
1477         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1478         directory is missing.
1479
1480 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
1481
1482         * text2.C: fixed the fix, extended to other case.
1483
1484 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
1485
1486         * text2.C: fix for cursor up/down stuck in math [bug 1792]
1487
1488 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
1489
1490         * text2.C (cursorUp): get rid of a crash
1491         * text.C (x2pos): add an assert
1492
1493 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1494
1495         * lyxfunc.C (getStatus): fix warning when assertions are disabled
1496
1497         * text3.C:
1498         * lyxfunc.C:
1499         * dociterator.C: include <boost/current_function.hpp>, which is
1500         needed when assertions are disabled.
1501
1502 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1503
1504         * text2.C: fix for stuck cursor when traversing two
1505         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1506
1507 2005-02-25  Andreas Vox  <avox@arcor.de>
1508
1509         * output_docbook.C (makeParagraph): suppress trailing newline
1510         after a run of paragraphs
1511
1512 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1513
1514         * paragraph.C: fix for confused change tracker when pasting
1515         text that begins with a lineseparator. [bug 1827]
1516         (setChange(0, Change::INSERTED);)
1517
1518         * paragraph_funcs.C: fix for lost changes on triple-paste
1519         in change tracking mode [bug 1827] (par.setChange()).
1520
1521 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1522
1523         * text2.C (updateCounters, setCounter, expandLabel): move to
1524         buffer_funcs.
1525
1526         * buffer_funcs.C (updateCounters): turn into a free standing
1527         function and add a buffer parameter. Remove dead code for tracking
1528         labelstring change.
1529         (setCounter): change into a free-standing function which gets a
1530         dociterator as argument. Use this iterator to fix captions in a
1531         simple way. When no float is found above the caption, use the
1532         labelstring of the caption layout as default.
1533
1534         * text.C (breakParagraph, backspace):
1535         * text2.C (init, setLayout, changeDepth):
1536         * text3.C (dispatch):
1537         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1538         updateCounters.
1539
1540         * dociterator.C (forwardPar): make it much faster by calling
1541         forwardPos() only when really necessary.
1542
1543         * output_docbook.C (makeCommand): adapt to expandLabel move.
1544
1545         * cursor.C: remove unused variable
1546
1547 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1548
1549         * paragraph_funcs.C: fix crash when pasting insets in change
1550         tracking mode [bug 1277] (honour change type in moveItem).
1551
1552 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1553
1554         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1555
1556 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1557
1558         * BufferView.C (setCursor): change to use a DocIterator.
1559         (gotoLabel): use BufferView::setCursor (other part of bug 781).
1560         (putSelectionAt): adapt to BufferView::setCursor change.
1561
1562         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1563         moved here from LyXText and rewritten to use proper cursor
1564         methods. Fixes bug 1787, 616 and 835.
1565
1566         * BufferView_pimpl.C (restorePosition): set the cursor correctly
1567         when inside an inset (part of bug 781).
1568         (dispatch): adapt to change of BufferView::setCursor.
1569         (getStatus, dispatch): handle LFUN_GOTOERROR,
1570         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1571
1572         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1573         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1574         * text3.C (gotoNextInset, gotoInset): removed.
1575
1576 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1577
1578         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1579
1580 2005-02-15  Angus Leeming  <leeming@lyx.org>
1581
1582         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1583         can be used meaningfully in a comparison.
1584
1585 2005-02-13  André Pönitz  <poenitz@gmx.net>
1586
1587         * bufferview_funcs.C (coordOffset): improve cursor drawing
1588
1589 2005-02-13  André Pönitz  <poenitz@gmx.net>
1590
1591         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1592         * Cursor.C (dispatch): use fixIfBroken
1593         * lyxfunc.C (getStatus): use fixIfBroken
1594
1595 2005-02-15  Angus Leeming  <leeming@lyx.org>
1596
1597         * lyx_main.C (error_handler):
1598         * lyxfunc.C:
1599         * lyxrc.C (setDefaults):
1600         s/GetEnv/getEnv/.
1601         #include "environment.h".
1602
1603         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1604
1605 2005-02-15  Angus Leeming  <leeming@lyx.org>
1606
1607         * lyxserver.C (startPipe): squash MSVC warning "local variable
1608         'fd' used without having been initialized".
1609
1610 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1611
1612         * BufferView_pimpl.C: revert accidental commit.
1613
1614 2005-02-14  André Pönitz  <poenitz@gmx.net>
1615
1616         * dociterator.[Ch]: new member forwardPosNoDescent(),
1617         which doesn't enter nested insets.
1618         * text2.C (setFont): use forwardPosNoDescent() instead
1619         of ForwardPos() (fixes crash on font change).
1620
1621 2005-02-13  Angus Leeming  <leeming@lyx.org>
1622
1623         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1624         only if lyxrc.path_prefix is not empty.
1625
1626 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1627
1628         * bufferparams.C (readGraphicsDriver): prevent crash
1629
1630 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1631
1632         * text2.C (setCounter): check for inInset() == 0
1633
1634 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1635
1636         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1637         but use update() to get correct screen display; use convert
1638         instead of istringstream.
1639         (getStatus): handle LFUN_GOTO_PARAGRAPH
1640
1641         * lyxfunc.C (dispatch, getStatus): do not handle
1642         LFUN_GOTO_PARAGRAPH here.
1643
1644 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1645
1646         * text3.C (dispatch): size() -> depth()
1647
1648         * text2.C: remove some debug output
1649
1650         * paragraph.C: ws changes only
1651
1652         * lyxfunc.C (getStatus): size() -> depth()
1653
1654         * dociterator.h (clear, push_back, pop_back, internalData,
1655         operator[], resize, empty): new functions
1656         Make StableDocIterator and operator== be friends. Don't inherit
1657         from std::vector use a privat class variable slices_ instead.
1658         Modify to fit.
1659
1660         * dociterator.C: update because of not inheriting from std::vector
1661         anymore. Call explictly to slices_ instead. Use depth() instead of
1662         size() and top() instead of back()
1663
1664         * cursor.C: chagne size() -> depth and back() -> top(). Also
1665         remove some direct operator[](i) calls in favour of foo[i]
1666         (getFont): remove some dead code
1667
1668         * bufferview_funcs.C (coordOffset): size() -> depth()
1669
1670         * buffer.C: ws changes only
1671
1672         * CutAndPaste.C (eraseSelection): back() -> top()
1673
1674         * BufferView_pimpl.C (selectionRequested): back() -> top()
1675
1676         * BufferView.C (setCursor): size() -> depth()
1677
1678 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1679
1680         * text3.C (cursorPrevious): return true if depm changed something
1681         (cursorNext): ditto
1682         (dispatch): rename sl to oldTopSlice, remove moving use the new
1683         NoUpdate func attrib instead. Make sure that needsUpdate is set
1684         for function that have NoUpdate, but where depm might have changed
1685         the buffer anyway.
1686
1687         * text2.C (cursorLeft): make us return true if depm changed
1688         something
1689         (cursorRight): ditto
1690         (cursorUpParagraph): ditto
1691         (curosrDownParagraph): ditto
1692         (cursorUp, cursorDown): ditto, make sure to read comments in code
1693         (deleteEmptyParagraphMechanism): remove an assert, also return
1694         true if just a single char was deleted.
1695
1696         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1697         cursor that we modify, to avoid modifying an active cursor before
1698         we call setCursor. This allows depm to run. Also return true if
1699         depm deleted something.
1700
1701         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1702         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1703         cursorDownParagraph, cursorPrevious and cursorNext, return true if
1704         something was changed in the buffer because of them (ie. depm run)
1705
1706         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1707         debug messages. Make update by default be false. Make sure that
1708         the result of update is retained throught several calls down to
1709         dispatch.
1710
1711         * LyXAction.h: add a new func_attrib: NoUpdate
1712
1713         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1714         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1715         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1716         and LFUN_WORDLEFT
1717         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1718
1719 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1720
1721         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1722         bv_->owner(), bv_->buffer() by direct references to the private
1723         members.
1724         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1725         (getStatus): isSavedPosition() is in BufferView::Pimpl.
1726         (fitCursor): center() is in BufferView::Pimpl.
1727         (getStatus, trackChanges, dispatch): no need for a temporary buf
1728         variable
1729         (fitCursor, workAreaDispatch): use workarea().workheight()
1730
1731 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1732
1733         * CutAndPaste.C (pasteSelectionHelper): fix a crash
1734
1735 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1736
1737         * buffer.C: format up to 241.
1738         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1739         break if pasting into ERT
1740         * lyxfunc.C (getStatus): suppress mathpanel and
1741         LFUN_DIALOG_SHOW_NEW_INSET in ERT
1742
1743 2005-02-01  Angus Leeming  <leeming@lyx.org>
1744
1745         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1746
1747 2005-02-01  Angus Leeming  <leeming@lyx.org>
1748
1749         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1750         calling fs::is_directory().
1751
1752 2005-01-31  Angus Leeming  <leeming@lyx.org>
1753
1754         * lyx_main.C (priv_exec): specify explicitly the relative location
1755         of the top level build directory when run in-place.
1756
1757 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1758
1759         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1760         LyXText containing the cursor, not the top-level one.
1761
1762         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1763         true.
1764         (insertStringAsLines): rename par to pit; use temporary variable
1765         par to hold a Paragraph; do not store par.layout() in a variable,
1766         since the pointer may die when breaking paragraphs; pass pars to
1767         breakParagraph() instead of Buffer::paragraphs().
1768
1769 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1770
1771         * lyxlex_pimpl.h: #include <fstream>.
1772
1773         * BufferView.[Ch] (getLyXText): add a const version.
1774
1775         * BufferView_pimpl.C: add debug aids.
1776
1777         * RowList_fwd.h:
1778         * buffer.h:
1779         * lyxrow.h:
1780         * paragraph_funcs.h: add commentary explaining what the class does.
1781
1782
1783         * coordcache.[Ch]: add lots of commentary.
1784         (startUpdating, doneUpdating): debug aids.
1785         (arrays, insets, parPos, getParPos): accessors to private data.
1786
1787         * cursor_slice.[Ch] (text): add a const version.
1788         * dociterator.[Ch] (text, innerText): add const versions.
1789
1790         * lyxtext.h (breakParagraph): change the keep_layout arg to a
1791         bool.
1792
1793         * paragraph.C (getRow, pos2ros): add asserts.
1794
1795         * paragraph.h: add commentary. Lots of.
1796
1797         * paragraph.[Ch] (metrucs, draw): removed.
1798
1799         * cursor.C:
1800         * rowpainter.[Ch]: const-correct changes.
1801
1802         * text.C: various obvious clean-ups. Removal of ancient cruft.
1803         Bug fixes, even.
1804
1805 2005-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
1806
1807         * vc-backend.C (find_file): rewrite to use boost.filesystem
1808         (scanMaster): ditto
1809
1810         * main.C (main): set default name check for boost.filesystem to
1811         no check
1812
1813         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1814         (open): ditto
1815         (doImport): ditto
1816         (actOnUpdatedPrefs): ditto
1817
1818         * lyx_main.C (init): rewrite to use boost.filesystem
1819         (queryUserLyXDir): ditto
1820
1821         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1822         (getContentsOfAsciiFile): ditto
1823
1824         * lastfiles.C (readFile): rewrite to use boost.filesystem
1825
1826         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1827
1828         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1829         (loadLyXFile): ditto
1830
1831         * buffer.C (Buffer): adjust for destroydir
1832         (getLogName): rewrite to use boost.filesystem
1833         (setFileName): ditto
1834         (save): use fs::copy_file (from fs_extras)
1835
1836         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1837
1838         * LaTeX.C (run): rewrite to use boost.filesystem
1839         (scanAuxFiles): ditto
1840         (handleFoundFile): ditto
1841
1842 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1843
1844         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1845
1846         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1847
1848 2005-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1849
1850         * lyxlayout.[Ch]: change some vars from float to double
1851
1852         * buffer.C (readFile): make a local var const
1853
1854         * Several files: use convert<> instead of atoi,strToXXX and friends
1855
1856 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1857
1858         * LaTeXFeatures.[Ch]: Add a static list packages_ that
1859         holds the contents of packages.lst. New functions getAvailable
1860         and isAvailable to parse and check that list, resp.
1861
1862         * LyXAction.C:
1863         * lfuns.h:
1864         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1865
1866         * bufferparams.[Ch]: new param output_changes.
1867
1868         * Buffer.C: increase file format to 240.
1869         Use output_changes and isVailable.
1870
1871         * changes.[Ch]:
1872         * paragraph.C:
1873         * paragraph_pimpl.C: Use output_changes and isVailable.
1874
1875 2005-01-23  Angus Leeming  <leeming@lyx.org>
1876
1877         * output_latex.C: #include "insetbibitem.h", rather than
1878         forward declare function bibitemWidest.
1879
1880 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
1881
1882         * lyx_main.C (init): make it compile on the Mac.
1883
1884 2005-01-20  Angus Leeming  <leeming@lyx.org>
1885
1886         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1887         (setLyXMisc): (char string literal) != (char string literal) is
1888         performing a comparison on the addresses. Convert one operand
1889         explicitly to string to guarantee expected behaviour.
1890         From MSVC warning.
1891
1892 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1893
1894         * buffer.C:
1895         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1896
1897         * output_plaintext.C: remove unneeded #include gzstream.h.
1898
1899 2005-01-20  Angus Leeming  <leeming@lyx.org>
1900
1901         * SpellBase.h: rename some of the elements of the Result enum.
1902
1903         * aspell_local.h:
1904         * ispell.h:
1905         * pspell.h:
1906         * aspell.C (check):
1907         * ispell.C (check):
1908         * pspell.C (check): ditto
1909
1910 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1911
1912         * buffer.C: add #include <fstream>.
1913
1914         * lyx_main.C (init): Compile fix.
1915
1916         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1917
1918 2005-01-20  Angus Leeming  <leeming@lyx.org>
1919
1920         * mover.h: change commentary to reflect the changed meaning of
1921         the $$s placeholder.
1922
1923 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1924
1925         * output_linuxdoc.C (linuxdocParagraphs): silence warning
1926
1927         * lyxfind.C (MatchString::operator()): remove bogus semicolon
1928
1929 2005-01-20  Angus Leeming  <leeming@lyx.org>
1930
1931         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1932         printing diagnostic data by not dereferecing an iterator past the
1933         end.
1934
1935 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1936
1937         * buffer.C (readHeader): use "&&" rather than "and".
1938
1939         * lyxserver.h (inPipeName, outPipeName): make these const.
1940
1941 2005-01-19  Angus Leeming  <leeming@lyx.org>
1942
1943         * lyx_main.C (error_handler, init): protect SIGHUP with
1944         #ifdef SIGHUP guards.
1945
1946 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1947
1948         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1949
1950 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1951
1952         * text.C (setHeightOfRow): add a margin at the top and bottom of
1953         the document (bug 1761)
1954
1955 2005-01-17  Angus Leeming  <leeming@lyx.org>
1956
1957         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1958         with "python ". Workaround for a brain-dead Windows.
1959
1960 2005-01-16  Angus Leeming  <leeming@lyx.org>
1961
1962         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1963         for MacOSX and Windows to use prependEnvPath.
1964         Strip out the hard-coded block to add elements to the PATH for
1965         MacOSX and replace it with a call to prependEnvPath using the
1966         contents of LyXRC::path_prefix.
1967         (queryUserLyXDir): strip out the code to run reconfigure, instead
1968         returning a boolean indicating the necessity to do so.
1969         (reconfigureUserLyXDir): contains the code to reconfigure the
1970         user support directory. Is now called after the various LyXRC data
1971         files have been read.
1972
1973         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1974
1975 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1976
1977         * converter.[Ch] (convert): take a new parameter try_default. Use
1978         a default converter (imagemagick) if try_default is true.
1979
1980 2005-01-13  Angus Leeming  <leeming@lyx.org>
1981
1982         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1983         os::cygwin_path_fix.
1984         (write): output LyXRC::cygwin_path_fix as necessary.
1985
1986 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
1987
1988         * lyxrc.h:
1989         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1990
1991 2005-01-12  Angus Leeming  <leeming@lyx.org>
1992
1993         * lyx_main.C (init): set the PATH variable to include the
1994         directory containing the LyX binary when running on Mac or Windows.
1995
1996 2005-01-12  Angus Leeming  <leeming@lyx.org>
1997
1998         * lyx_main.C (init): remove cruft that purports to set the locale
1999         dir. It doesn't and is not needed anyway.
2000
2001 2005-01-10  Angus Leeming  <leeming@lyx.org>
2002
2003         * Makefile.am: remove the lyx_main.C special casing.
2004
2005         * BufferView_pimpl.C:
2006         * bufferlist.C:
2007         * exporter.C:
2008         * lyx_cb.C:
2009         * lyx_main.C:
2010         * lyxfunc.C:
2011         * messages.C: use support/package.h to provide the paths to the
2012         various directories used by LyX.
2013
2014 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2015
2016         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
2017         layout if pasting into an empty paragraph)
2018
2019 2005-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2020
2021         * tex-accent.C: add <string>
2022
2023 2005-01-06  José Matos  <jamatos@lyx.org>
2024
2025         * ParagraphParameters.C (write): put every parameter in its own line.
2026         * paragraph.C (write): reduce number of consecutive empty lines exported.
2027         * buffer.C (LYX_FORMAT): increase file format to 239.
2028
2029 2005-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2030
2031         * everywhere: change support/tostr.h -> support/convert.h
2032
2033         * tabular.C: make all write_attributes templates, tostr -> convert
2034
2035         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
2036         (emptyTag): and -> &&, and fix type for ret from getChar
2037         (getFirstWord): fix type for ret from getChar
2038         (onlyText): and -> &&
2039         (simpleDocBookOnePar): and not -> && !, fix type for ret from
2040         getChar
2041
2042         * toc.C (goTo, action):
2043         * text3.C (dispatch):
2044         * text.C (currentState):
2045         * tex-accent.C (DoAccent):
2046         * sgml.C:
2047         * lyxrc.C:
2048         * lyxfunc.C (menuNew):
2049         * lyxfinc.C (replace):
2050         * counters.C (laberItem):
2051         * bufferview_funcs.C (font2string):
2052         * bufferparams.C (writeFile):
2053         * buffer.C (readFile):
2054         * Spacing.C (set):
2055         * MenuBackend.C: tostr -> convert
2056
2057         * LaTeX.C (runMessage): fix format
2058         (scanAuxFiles): tostr -> convert
2059
2060         * BufferView_pimpl.C (savePosition): fix format
2061         (restorePosition): ditto
2062         (dispatch): ditto
2063
2064 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2065
2066         * Spacing.[Ch]: New method getValueAsString().
2067
2068         * Spacing.[Ch]:
2069         * bufferparams.C:
2070         * ParagraphParameters.C:
2071         * lyxlayout.C:
2072         * text.C:
2073         * text3.C: store/read spacing value as string.
2074
2075         * rowpainter.C: change float value (spacing_val) to double.
2076
2077         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
2078         broken custom document spacing).
2079
2080 2005-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
2081
2082         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
2083         namespace, also more use of temp references and const
2084
2085         * cursor.[Ch] (getStatus): move to lyxfunc.C
2086
2087         * bufferparams.C: reformat slightly
2088
2089         * bufferview_funcs.C (font2string): constify arg
2090
2091         * changes.C:
2092         * converter.C:
2093         * counters.C:
2094         * bufferlist.C:
2095         * buffer_funcs.C: (many funcs): constify arg on function
2096         definitions, also make more local vars const, also add ASSERTS on
2097         pointer args.
2098
2099         * buffer.C (LYX_FORMAT): put const in correct place
2100         (many funcs): constify arg on function definitions, also make
2101         more local vars const
2102
2103         * aspell_local.h: remove "struct" from typdef setup
2104
2105         * aspell.C (check): make word_ok const
2106         (nextMiss): simplify slightly
2107         (error): ditto
2108
2109 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2110
2111         * lyxrc.[Ch]: store all float values as strings.
2112         use int (not float) for lyxrc.dpi.
2113
2114 2005-01-04  Angus Leeming  <leeming@lyx.org>
2115
2116         * lyx_cb.C (Reconfigure):
2117         * lyx_main.C (queryUserLyXDir):
2118         to run the <system_lyxdir>/configure correctly on Windows, prefix
2119         the path to the script with "sh " when generating the string that
2120         is passed to system().
2121
2122 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2123
2124         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
2125
2126 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2127
2128         * lyxlength.C (asLatexString): get rid of setprecision
2129
2130 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2131
2132         * text2.C (setLayout): remove unused variable endpit.
2133         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
2134
2135         * paragraph.C (onlyText): remove unused variable style.
2136
2137         * cursor.C (bruteFind): remove unused variables beg and end.
2138
2139         * Makefile.am (dist_noinset_DATA): not needed anymore
2140
2141         * cheaders/*: remove.
2142
2143 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2144
2145         * text3.C: fix LFUN_MATH_MODE.
2146
2147 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2148
2149         * buffer_funcs.C (countWords): new function. Counts words between
2150         two iterators.
2151
2152         * BufferView_pimpl.C (getStatus, dispatch): handle
2153         LFUN_WORDS_COUNT.
2154
2155         * LyXAction.C (init):
2156         * lfuns.h: add LFUN_WORDS_COUNT.
2157
2158 2004-12-19  Angus Leeming  <leeming@lyx.org>
2159
2160         * buffer.C (save): s/slashify_path/internal_path/.
2161
2162 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2163
2164         * lyxfind.C (findChange): do not search for end of pars, because
2165         the change tracker cannot handle this (fixes bug 1719).
2166
2167 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2168
2169         * paragraph.[Ch] (autoBreakRows): remove
2170
2171         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
2172
2173         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
2174         avoid using the paragraph one
2175
2176         * text2.C (LyXText, insertStringAsLines): adjust
2177
2178 2004-12-16  Angus Leeming  <leeming@lyx.org>
2179
2180         * bufferlist.C:
2181         * lyx_main.C:
2182         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
2183
2184 2004-12-14  Angus Leeming  <leeming@lyx.org>
2185
2186         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
2187
2188         * bufferlist.C (emergencyWrite):
2189         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
2190         GetEnvPath("HOME").
2191
2192 2004-12-14  Angus Leeming  <leeming@lyx.org>
2193
2194         * main.C: (main): no longer pass pointers to os::init.
2195
2196 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
2197
2198         * undo.C (textUndoOrRedo): simplify logic, fix a crash
2199         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
2200
2201 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
2202
2203         * lyxfunc.C:
2204         * text3.C: remove selection_possible global flag
2205
2206 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
2207
2208         * text2.C (getSelectionSpan): remove
2209         (changeDepth, changeDepthAllowed): adjust
2210
2211 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
2212
2213         * Makefile.am (BOOST_LIBS): use boost variables
2214
2215 2004-12-03  José Matos  <jamatos@lyx.org>
2216
2217         * buffer.C: format up to 238.
2218
2219 2004-12-03  José Matos  <jamatos@lyx.org>
2220
2221         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
2222
2223 2004-12-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2224
2225         * cursor.C (goUpDown): remove call to idxUpDown2
2226
2227 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2228
2229         * tabular.[Ch]: use size_t-like types for cell, row and column
2230         indices
2231
2232 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2233
2234         * lyxfunc.C (getStatus): do not lose previous information when
2235         calling BufferView::getStatus; do not set a default "Command
2236         disabled" message at the beginning, but just before returning.
2237
2238 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2239
2240         * cursor.h (getStatus): add better comment from src/cursor.C
2241
2242 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2243
2244         * text3.C (getStatus): return false when the lfun is not handled
2245
2246 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2247
2248         * broken_headers.h: remove
2249
2250         * Makefile.am (lyx_SOURCES): remove broken_headers.h
2251
2252 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2253
2254         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
2255         offset_ref accessors
2256
2257         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
2258         top_y_, merge fitcursor with update
2259         (updateScrollbar, scrollDocView, fitCursor, center, update): new
2260         coord scheme
2261         (metrics): introduce
2262         (workAreaDispatch): adapt to new coord scheme
2263         (redoCurrentBuffer): remove
2264
2265         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
2266
2267         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
2268         CurStatus enum.
2269
2270         * coordcache.[Ch]: add paragraph cache and helpers
2271
2272         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
2273         adjust everywhere
2274
2275         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
2276         (targetX, setTargetX): introduce
2277
2278         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
2279         baseline -> ascent, as the rest of lyx
2280
2281         * lyxtext.h: remove redoParagraphs, updateParPositions,
2282         fullRebreak, redoParagraphInternal. move dist to anon namespace in
2283         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
2284         have ascent/descent (ascent is ascent of first par)
2285
2286         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
2287         step of BufferView
2288
2289         * paragraph.[Ch]: unify dimension handling with the rest of lyx
2290
2291         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
2292
2293         * pariterator.C: fix infinite loop introduced in par->pit renaming
2294
2295         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
2296         in insets and LyXText, draw two off-screen paragraphs using
2297         NullPainter, and adapt to new coord scheme
2298
2299         * text.C:
2300         * text2.C:
2301         * text3.C: adapt lfun handlers to the new coord scheme, which
2302         means: there's only guaranteed coord information for onscreen pars
2303         plus one above and one below. This implies that one can do search
2304         from y coordinates in the range [-1,workHeight]
2305
2306 2004-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2307
2308         * rename a lot of InsetOld to InsetBase
2309
2310 2004-11-25  Angus Leeming  <leeming@lyx.org>
2311
2312         * BufferView_pimpl.C:
2313         * lyx_cb.C:
2314         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
2315
2316 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2317
2318         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
2319         call BufferView::getStatus if LCursor::getStatus did nothing
2320         (setStatusMessage, getStatusMessage): removed.
2321
2322         * FuncStatus.C (message): new methods. Used to provide an error
2323         message indicating why a command is disabled.
2324         (clear, |=, FuncStatus): update for message.
2325
2326 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2327
2328         * lyxfunc.C (dispatch): always call sendDispatchMessage
2329
2330 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2331
2332         * BufferView.C:
2333         * BufferView_pimpl.C:
2334         * CutAndPaste.C:
2335         * FontIterator.C:
2336         * buffer.C:
2337         * cursor.C:
2338         * cursor_slice.[Ch]:
2339         * dociterator.[Ch]:
2340         * lyxfind.C:
2341         * paragraph_funcs.C:
2342         * pariterator.C:
2343         * rowpainter.C:
2344         * text.C:
2345         * text2.C:
2346         * text3.C:
2347         * undo.C: par->pit renaming
2348
2349 2004-11-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2350
2351         * tabular.C (cellstruct): use initialization, store a shared_ptr
2352         to insettext instead of the insettext directly, adjust to fit.
2353         (operator=):  new function
2354         (swap): new function
2355         (rowstruct): use initialization
2356         (columnstruct): use initialization
2357         (ltType): use initialization
2358
2359
2360         * lyxlength.h (swap): new function
2361
2362         * LColor.[Ch] (operator=): use the common semantics
2363
2364 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2365
2366         * lyxfind.C (findNextChange): update the bufferview after setting
2367         the selection.
2368
2369 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2370
2371         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
2372         number of InsetOptArgs has already been inserted.
2373
2374         * output_latex.C (latexOptArgInsets): new method. This outputs all
2375         the optarg insets, up to the limit defined in the layout file.
2376         (optArgInset): removed
2377         (TeXOnePar): call latexOptArgInsets; correctly update texrow
2378
2379 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2380
2381         * paragraph.C (isLetter): remove special spellchecker-related
2382         code; return true also for digits
2383         (isWord, isKomma): remove
2384
2385         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
2386         * lyxfind.C (MatchString()): use isLetter instead of isWord
2387
2388 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2389
2390         * pariterator.h (operatir=): comment out un-implemented member
2391         function.
2392
2393         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
2394         static cast.
2395
2396 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2397
2398         * lyxfont.h: include LColor.h to satisfy concept checks.
2399
2400 2004-11-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2401
2402         * pariterator.h: add typdefs for value_type, difference_type,
2403         pointer and reference to satisfy concept checks. Also add default
2404         constructor for same reason.
2405
2406         * pariterator.C (operator++): add post-increment operator to
2407         satisfy concept checks.
2408
2409         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
2410         checks.
2411
2412         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
2413
2414         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
2415         checks. Also rename base_type to BaseType to follow naming
2416         standard better.
2417
2418         * FloatList.h: include Floating.h to satisfy concept checks.
2419
2420 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2421
2422         * lyxfunc.C (getStatus): when the origin of the request is menu or
2423         toolbar, and the LyXView does not have focus, do as if there was
2424         no buffer (bug 1720)
2425
2426         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2427         FuncRequest to individual entries of LFUN_SEQUENCE
2428
2429 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2430
2431         * output_latex.C (TeXOnePar): override runparams.moving_arg
2432         according to the needprotect value of the current paragraph (bug
2433         1739)
2434
2435         * paragraph.C (simpleTeXOnePar): no need to override
2436         runparams.moving_args here
2437
2438 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
2439
2440         * vspace.C: fix off-by-one-error, related to fix #1682
2441
2442 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2443
2444         * lengthcommon.C: a more general fix for bug 1682
2445
2446 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2447
2448         * text.C (backspace): fix crash
2449
2450 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2451
2452         * format.[Ch] (getFormatFromFile): new method
2453         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2454
2455 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2456
2457         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2458
2459 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2460
2461         * lyxfunc.C (dispatch): remove the verbose argument
2462         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2463         instead
2464
2465         * kbmap.C (defkey): set the origin of func to KEYBOARD
2466
2467         * MenuBackend.C (MenuItem):
2468         * ToolbarBackend.C (add): set the origin of func to UI
2469
2470         * funcrequest.[Ch]: add origin member, which indicates which part
2471         of LyX requests an action
2472
2473 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2474
2475         * converter.C (move): don't lie in the error message
2476         * converter.h (isReachable, move): document
2477
2478 2004-11-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2479
2480         * buffer.C: remove unused using lyx::support::atoi
2481         * paragraph_funcs.C: ditto
2482
2483 2004-11-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2484
2485         * bufferlist.C (exists): use bind and equal_to instead of
2486         compare_memfun
2487         (getBuffer): ditto
2488         * lyxtextclasslist.C (NumberOfClass): ditto
2489
2490         * cursor.C (insert): use for_each instead of explicit for loop
2491
2492         * bufferlist.C (getFileNames): use std::transform and
2493         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2494
2495         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2496         for loop
2497
2498         * buffer.C (changeLanguage): use for_each instead of explicit for
2499         loop
2500         (hasParWithID): implement using getParFromID
2501
2502         * LaTeXFeatures.C: ws change only
2503
2504         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2505         to cleanup a bit.
2506
2507         * BufferView_pimpl.C (trackChanges): use for_each instead of
2508         expilicit for loop
2509
2510 2004-11-04  André Pönitz  <poenitz@gmx.net>
2511
2512         * undo.h:
2513         * undo.C (textUndoOrRedo): fix crash when creating undo information.
2514
2515         * dociterator.C (asDocIterator): use hard assert again.
2516
2517 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2518
2519         * lyxlength.C (asLatexString): rewrite so that it does not use
2520         snprintf anymore
2521
2522 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2523
2524         * text3.C (specialChar, dispatch): make sure cursor moves to the
2525         right after inserting an inset
2526
2527 2004-11-02  José Matos  <jamatos@lyx.org>
2528
2529         * output_docbook.C (docbook):
2530         * paragraph.C (getID):
2531         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2532         garantee that the output is always legal.
2533
2534         * tabular.C (docbook):
2535         * outputprams.[Ch]: remove mixed contents.
2536
2537 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2538
2539         * text2.C (setCounter): prevent endless loop
2540
2541 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2542
2543         * exporter.C (copyFile): use the mover instead of support::copy()
2544         * exporter.C (Export): pass format and latex name to copyFile()
2545         * exporter.h (addExternalFile): document
2546         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2547
2548 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2549
2550         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2551
2552 2004-10-30  José Matos  <jamatos@lyx.org>
2553
2554         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2555         text and no inset or font change. This allows to use CDATA
2556         sections just for the whole paragraph.
2557
2558 2004-10-30  José Matos  <jamatos@lyx.org>
2559
2560         * paragraph.C (getFirstWord): remove unused variable.
2561
2562 2004-10-30  José Matos  <jamatos@lyx.org>
2563
2564         * paragraph.C (getFirstWord): the content should always be escaped
2565         there.
2566         (simpleDocBookOnePar):
2567         * output_docbook.C (makeEnvironment): replace reference to CDATA
2568         to style pass_thru.
2569
2570 2004-10-30  José Matos  <jamatos@lyx.org>
2571
2572         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2573
2574 2004-10-30  José Matos  <jamatos@lyx.org>
2575
2576         * output_docbook.C (makeParagraphs):
2577         * paragraph.[Ch] (emptyTag): for docbook and company, if the
2578         standard paragraph has only a given type of content drop the wrapper.
2579
2580 2004-10-29  José Matos  <jamatos@lyx.org>
2581
2582         * output_docbook.C (makeEnvironment):
2583         * sgml.C (openTag):
2584         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2585
2586 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
2587
2588         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2589         (cleanID): sanitize any id.
2590
2591 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2592
2593         * buffer.C, lyxlex_pimpl.C:
2594         * lyxlex_pimpl.C (setFile):
2595         s/getExtFromContents/getFormatFromContents/
2596
2597 2004-10-28  José Matos  <jamatos@lyx.org>
2598
2599         * output_docbook.C (makeEnvironment): move id to broadest possible
2600         scope.
2601
2602         * sgml.C (openTag): apply substitution of <> for all attributes.
2603
2604 2004-10-28  José Matos  <jamatos@lyx.org>
2605
2606         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2607         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2608         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2609
2610         * sgml.[Ch]: new version for open and closeTag for paragraph and
2611         for strings. Now they handle the ids of paragraphs.
2612
2613 2004-10-26  Angus Leeming  <leeming@lyx.org>
2614
2615         * Makefile.am: add mover.[Ch].
2616
2617         * converter.C (convert, move): use the new Movers to move external
2618         files to the temp directory.
2619
2620         * lyx_main.C (init): ensure that the global system_movers data
2621         is initialised.
2622
2623         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2624         preferences file.
2625
2626         * mover.[Ch]: new files, defining a Mover as a utility to move an
2627         external file between directories and, if necessary, manipulate this
2628         file using a helper script.
2629
2630 2004-10-25  José Matos  <jamatos@lyx.org>
2631
2632         * output_docbook.C (makeCommand): merge two if's that tested the
2633         same condition.
2634
2635 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2636
2637         * sgml.C (escapeString): fix warning in a better way
2638
2639 2004-10-25  José Matos  <jamatos@lyx.org>
2640
2641         * sgml.C (escapeString): import the require boosts header file for
2642         tie, and avoid a signed unsigned comparison.
2643
2644 2004-10-25  José Matos  <jamatos@lyx.org>
2645
2646         * sgml.h: add #include <string>
2647
2648 2004-10-25  José Matos  <jamatos@lyx.org>
2649
2650         * sgml.[Ch] (escapeString): new function to escape all the string.
2651
2652 2004-10-24  José Matos  <jamatos@lyx.org>
2653
2654         * paragraph.[Ch] (getFirstWord): new function to get the first
2655         word. Useful for description.
2656         (simpleDocBookOnePar): remove depth argument, add another that
2657         says where to start the paragraph.
2658
2659         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2660         use the new functions to fix cleanly the support for descriptions.
2661
2662 2004-10-24  José Matos  <jamatos@lyx.org>
2663
2664         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2665         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2666         * output_linuxdoc.C (linuxdocParagraphs):
2667         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2668         add buffer as argument.
2669
2670 2004-10-24  José Matos  <jamatos@lyx.org>
2671
2672         * output_docbook.C (makeEnvironment, searchEnvironment): place
2673         CDATA inside paragraphs and fix scope for listitems.
2674
2675 2004-10-24  José Matos  <jamatos@lyx.org>
2676
2677         * output_docbook.C: remove using statement for stack.
2678
2679 2004-10-23  José Matos  <jamatos@lyx.org>
2680
2681         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2682         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2683         docbook. The new scheme is recursive and makes use of iterators, the
2684         same as latex export works.
2685         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2686         directly with the paragraph contents. This code was moved up to
2687         output_docbook.C (docbookParagraphs).
2688         * sgml.C (openTag, closeTag): removed unneeded newlines.
2689         (closeEnvTags) removed.
2690
2691 2004-10-23  André Pönitz  <poenitz@gmx.net>
2692
2693         * undo.C (textUndoOrRedo):
2694         * dociterator.C (asDocIterator): work around crash
2695
2696         * cursor.C (getStatus): replace ASSERT by more verbose error message
2697           and manual correction of the problem. Should increase stability
2698           while providing more sensible information.
2699
2700 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2701
2702         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2703
2704         * bufferlist.C (previous, next): new methods
2705
2706         * lfuns.h:
2707         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2708
2709 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
2710
2711         * buffer.C (makeDocBookFile): add dsssl stylesheet control
2712         entities to preamble.
2713
2714 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2715
2716         * messages.C (Pimpl): strip off translation context information
2717
2718 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2719
2720         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2721         the cursor is correct (bug 1694)
2722
2723 2004-10-13  José Matos  <jamatos@lyx.org>
2724
2725         * output_docbook.C (docbookParagraphs): fix closing tags in the
2726         end of the document.
2727
2728 2004-10-09  José Matos  <jamatos@lyx.org>
2729
2730         * buffer.C: format up to 237.
2731         * bufferparams.C (write): use tostr to convert booleans to strings.
2732
2733 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
2734
2735         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2736
2737 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
2738
2739         * LaTeX.C: implement use of babel language in xindy.
2740
2741 2004-10-05  José Matos  <jamatos@lyx.org>
2742
2743         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2744         Add new translators to help reading and writing the lyx file.
2745
2746 2004-10-05  José Matos  <jamatos@lyx.org>
2747
2748         * ParagraphParameters.C (read):
2749         * text.C (readParToken): replace nexToken by more appropriate lex
2750         methods.
2751
2752 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
2753
2754         * LaTeX.C (runMakeIndex):
2755         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2756         (usually 'makeindex') configurable.
2757
2758         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2759         with a variable rather than with a number.
2760
2761 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2762
2763         * output_latex.C (TeXOnePar): make sure font setting is the first
2764         thing that gets output (and the last at the end). Should fix bug
2765         1404.
2766
2767 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2768
2769         * pch.h: use proper signal include
2770
2771         * LaTeX.h: Use preferred calling of Boost.Signal
2772         * buffer.h: ditto
2773
2774 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2775
2776         * pch.h: dont include <boost/function/function0.hpp>
2777
2778         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2779
2780         * paragraph_pimpl.h: remove usage of ShareContainer
2781
2782         * paragraph_pimpl.C: remove initialization of ShareContainer.
2783
2784 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2785
2786         Fix bug #1666
2787
2788         * BufferView.C (putSelectionAt): change the semantics when
2789         backwards == true: now, this just swaps cursor and anchor wrt the
2790         forward case
2791
2792         * BufferView.h (putSelectionAt): add some documentation
2793
2794         * lyxfind.C (findBackwards): rewrite using while(). In particular,
2795         make sure backwardChar is done at least once (to avoid getting
2796         stuck)
2797         (findNextChange): use putSelectionAt in the forward direction
2798         (operator()): use Paragraph::isWord
2799
2800 2004-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2801
2802         * Spacing.C (set): c_str fix
2803
2804 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2805
2806         * lyx_cb.C (Reconfigure): quote the name of configure script in
2807         case it contains spaces
2808
2809 2004-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2810
2811         * client: new dir
2812
2813         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2814         (BOOST_LIBS): use top_buildir when looking for the file
2815
2816 2004-08-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2817
2818         * pch.h: do not use include boost/format.hpp, multiple symbols
2819                 will result (gcc bug)
2820
2821
2822 2004-08-23  José Matos  <jamatos@lyx.org>
2823
2824         * bufferparams.C (readToken): fix reading of the author field.
2825
2826 2004-08-20  José Matos  <jamatos@lyx.org>
2827
2828         * lyxrc.C: remove support/translator.h inclusion since it is not used.
2829
2830 2004-08-20  José Matos  <jamatos@lyx.org>
2831
2832         * lyxlex.[Ch] (findToken): remove function.
2833
2834         * ParagraphParameters.C (findToken):
2835         * bufferparams.C (findToken): replace call for previous function
2836         with local copy. This local function has one more argument, the
2837         read string argument.
2838
2839 2004-08-16  José Matos  <jamatos@lyx.org>
2840
2841         * ParagraphParameters.C (write):
2842         * Spacing.C (writeFile):
2843         * bufferparams.C (writeLaTeX):
2844         * lyx_cb.C (Reconfigure):
2845         * paragraph.C (write):
2846         * tabular.C (write): remove unnecessary space at end of line.
2847
2848
2849 2004-08-16  José Matos  <jamatos@lyx.org>
2850
2851         * text.C (readParagraph): remove debug message.
2852
2853 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2854
2855         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2856         crash
2857
2858         * output_plaintext.C (asciiParagraph): set depth correctly
2859
2860         * outputparams.h: add member depth
2861
2862         * paragraph_funcs.C (ownerPar): remove.
2863
2864         * text2.C (setCounter): remove first_pit; comment out some
2865         non-working code that uses ownerPar
2866
2867         * BufferView.C (getParentLanguage): remove. Not used anymore, and
2868         uses ownerPar
2869
2870 2004-08-16  José Matos  <jamatos@lyx.org>
2871
2872         * text.C (readParToken, readParagraph, read): report all unknown tokens.
2873         For the same level of importance use the same chanel to report problems.
2874         (read): add code to deal with \begin_body and \end_body.
2875
2876
2877 2004-08-15  José Matos  <jamatos@lyx.org>
2878
2879         * lyxlex.C (getString): fix comment, buffer::readBody is now
2880         buffer:readDocument.
2881
2882         * tex-strings.C (string_papersize): Default -> default,
2883         Custom -> custom, for consistency with other options.
2884
2885 2004-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2886
2887         * pch.h: new file
2888
2889         * Makefile.am: support pch
2890
2891 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2892
2893         * text.C (readParToken): remove the static LyXFont variable and
2894         pass it as a parameter instead. This fixes a nasty bug where an
2895         inset will be inserted with a bad font in some situations
2896         (readParagraph): adapt
2897
2898         * text2.C (setCounter): reduce number of calls to pars_[pit]
2899
2900         * text.C (singleWidth): add an assert, fix a test
2901
2902         * rowpainter.C (paintText): reduce number of calls to singleWidth
2903
2904         * paragraph.C (isHfill):
2905         (isNewline): ws only
2906
2907 2004-08-14  André Pönitz  <poenitz@gmx.net>
2908
2909         * text.C:
2910         * text2.C:
2911         * rowpainter.C:
2912         * lyxtext.h (several functions): use a Paragraph & argument
2913         instead of par_type
2914
2915 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2916
2917         * metricsinfo.h: add a new field ltr_pos to PainterInfo
2918
2919         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2920
2921         * text.C (singleWidth): remove useless test
2922
2923 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2924
2925         * tabular.h: remove bogus comments
2926
2927         * tabular.C (getDescentOfRow):
2928         (isPartOfMultiColumn): add assertions
2929
2930         * lyxlength.C (inPixels): remove #warning
2931
2932 2004-08-14  André Pönitz  <poenitz@gmx.net>
2933
2934         * paragraph.h: inline getChar()
2935
2936         * BufferView.h: remove unused declarations
2937
2938 2004-08-14  José Matos  <jamatos@lyx.org>
2939
2940         * Buffer.[Ch] (readDocument): new name for old readBody.
2941         * Buffer.C: new file format, new keywords: \begin_document,
2942         \begin_header, \begin_body, \end_body.
2943
2944         * bufferparams.C (readToken): replace all calls to lex.nextToken
2945         by lex.next(). Do the same to eatLine except where really needed.
2946
2947         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2948         line when writing to the lyx file.
2949
2950         * output_plaintext.C (asciiParagraph): fix Bibliography style
2951         handling.
2952
2953         * text.C (read): fix end of file handling.
2954
2955 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2956
2957         * MenuBackend.C (Menu::operator[]): new method to access
2958         individual menu items
2959         (Menu::hasFunc): new method. search for an item that corresponds
2960         to a given func
2961         (MenuBackend::specialMenu): new method
2962         (MenuBackend::expand): if a special menu has been set, skip
2963         entries whose func() appears in this menu
2964
2965 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2966
2967         * text3.C: use Debug::DEBUG a bit more
2968
2969         * text.C (leftMargin): try to simplify a tiny bit change var x to
2970         l_margin. Dont output the wide margins always.
2971         (rightMargin): no margin in inner texts
2972
2973         * rowpainter.h (nestMargin): new func
2974         (changebarMargin): new func
2975         (rightMargin): new func
2976
2977         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2978         now functions.
2979         (paintLast): ditto
2980
2981         * factory.C (createInset): modify setDrawFrame
2982
2983         * cursor.C: use Debug::DEBUG a bit more
2984
2985 2004-08-14  André Pönitz  <poenitz@gmx.net>
2986
2987         * coordcache.[Ch]:
2988         * Makefile.am: new files to accomodate an 'external' (x,y)-position
2989         cache for all insets in (at least partially) visible (top-level)
2990         paragraphs.
2991
2992         * BufferView_pimpl.C: reset external coord cache before every update.
2993         This means the coord cache only contains valid entries.
2994
2995 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2996
2997         bug 1096
2998         * BufferView_pimpl.C (getInsetByCode): move function out of class
2999         and change in to a template in anon namespace. Also fix to do what
3000         suits us better.
3001
3002 2004-08-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
3003
3004         bug 1305
3005         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
3006         of char
3007         (breakParagraph): rename par to par_offset and use a local
3008         reference. Add code to keep the language over a rebreak.
3009         (breakParagraphConservative): rename par to par_offset, use a
3010         local reference
3011         (mergeParagraph): ditto
3012         (outerHook): ditto
3013         (isFirstInSequence): ditto
3014         (outerFont): rename pit to par_offset
3015
3016         * paragraph.C: ws change
3017         * paragraph.h: ditto
3018         * text3.C: ditto
3019         * text.C: ditto
3020
3021 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3022
3023         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
3024         treatment for ']'
3025
3026         * paragraph.C (simpleTeXOnePar): when we have a \item with
3027         optional argument, enclose the argument with curly brackets (in
3028         case it contains a closing square bracket)
3029
3030         * text2.C (editXY):
3031         * text2.C (editXY):
3032         * text3.C (checkInsetHit): constify
3033
3034 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3035
3036         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
3037         documents (bug 1629)
3038
3039 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3040
3041         Fix toggling of collapsable insets with the mouse (bug 1558)
3042
3043         * lyxfunc.C (dispatch): adapt to LCursor changes
3044
3045         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
3046         make sure that dispatch is not invoked twice
3047
3048         * cursor.C (needsUpdate): new method
3049         (dispatch): return void
3050         (result): new method, to access the DispatchResult of the cursor.
3051
3052 2004-08-13  José Matos  <jamatos@lyx.org>
3053
3054         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
3055
3056 2004-08-13  André Pönitz  <poenitz@gmx.net>
3057
3058         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
3059
3060         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
3061           multiple cells
3062
3063 2004-08-12  André Pönitz  <poenitz@gmx.net>
3064
3065         * text3.C: take out the 'cursor right' form insertInset and only
3066         do it in those places when it is really needed. Fixes crash on
3067         C-m...
3068
3069 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3070
3071         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
3072
3073         * BufferView_pimpl.C (setBuffer): initialize the current font of
3074         the underlying LyXText
3075
3076 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3077
3078         * kbsequence.C (print): use UI native formatting for menu
3079         shortcuts
3080
3081         * text.C (insertChar): call Paragraph::insertChar with a font
3082         argument (cosmetic)
3083
3084         * paragraph.C (insertInset, insertChar): the version that takes a
3085         LyXFont argument is now a wrapper around the other one (the
3086         opposite used to be true).
3087
3088         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
3089         argument. Font setting is done in Paragraph now.
3090
3091 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3092
3093         * outputparams.h: add new members intitle and lang.
3094
3095         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
3096         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
3097
3098 2004-08-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3099
3100         * text3.C (dispatch): remove special handling of button 4 and 5,
3101         it is now taken care of in the frontend code.
3102
3103 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3104
3105         * Spacing.h: add <string> (STLPort compile fix)
3106
3107 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3108
3109         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
3110
3111 2004-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3112
3113         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
3114         to bool.
3115
3116         * converter.C (showMessage): inherit from unary_function, make
3117         operator() const.
3118
3119         * buffer.C (writeFile): initialize retval
3120
3121         * InsetList.h: rename private variable list to list_
3122         * InsetList.[Ch]: adjust accordingly.
3123
3124 2004-07-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3125
3126         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
3127         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
3128         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
3129         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
3130         * ParagraphParameters.C, LaTeXFeatures.C: replace
3131         "support/std_sstream.h" with <sstream>
3132
3133 2004-07-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3134
3135         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
3136         * lyxsocket.C (LyXServerSocket): ditto
3137         (serverCallback): ditto
3138
3139 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3140
3141         * LaTeXFeatures.C: check release date when loading jurabib.
3142
3143 2004-07-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3144
3145         * lyxserver.C (startPipe): call register_socket_callback
3146         (endPipe): call unregister_socket_callback
3147
3148 2004-07-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3149
3150         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
3151         (LyXServerSocket): register the callback
3152         (LyXServerSocket): unregister the callback
3153         (fd): delete function
3154         (serverCallback): improve error checking and setup the callbacks.
3155         (dataCallback): change arg to fd.
3156         (writeln): new func (copied fro the client socket) used for server
3157         write to client.
3158         (LyXDataSocket): simplify
3159         (~LyXDataSocket): close ann unregiser callback
3160         (server): delete function
3161         (fd): delete function
3162         (readln): small changes, improve some std::string usage
3163         (writeln): constify a bit
3164
3165 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3166
3167         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
3168         Qt frontend
3169
3170 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3171
3172         * BufferView_pimpl.C (setBuffer): set the layout combox value only
3173         after it has been populated
3174
3175 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3176
3177         * text2.C (insertInset): move cursor when inserting inset.
3178
3179 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3180
3181         * kbmap.C (findbindings): a couple of new methods. returns a
3182         container of kb_sequence objects. The real work is done by the
3183         private recursive version
3184         (printbindings): uses findbindings to print out a bracketed list
3185         of bindings (renamed from findbinding).
3186
3187         * MenuBackend.C (binding): use kb_keymap::findbindings
3188
3189         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
3190
3191 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3192
3193         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
3194
3195 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3196
3197         * paragraph.C (isWord): return true on insets that report
3198         isLetter().
3199
3200         * text.C (getWord): use Paragraph::isWord to decide what is in a
3201         word and what is not; fix bug 1609.
3202
3203 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3204
3205         * tex-strings.C: add "none" to string_paperpackages[], fixes
3206         off-by-one-error in the paperpackage selection.
3207
3208         * lyxlex.[Ch]:
3209         * tex-strings.[Ch]: char const * string[n]
3210         -> char const * const string[]
3211
3212 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3213
3214         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
3215         command, return early.
3216
3217 2004-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3218
3219         * debug.h: add DEBUG to enum and fix size of ANY.
3220
3221         * debug.C: add support for Debug::DEBUG
3222         (showTags): cast errorTags.level to unsigned int
3223
3224         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
3225         (redoCurrentBuffer): ditto
3226         (updateScrollbar): ditto
3227         * cursor.C (dispatch): ditto
3228         * text2.C (setLayout): ditto
3229         (setFont): ditto
3230         (updateCounters): ditto
3231         (editXY): ditto
3232         (deleteEmptyParagraphMechanism): ditto
3233
3234 2004-06-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3235
3236         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
3237         annotations to cleanup the Makefile slightly.
3238
3239 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3240
3241         * lyxrc.C: do not set user_email to a default value but use empty
3242         instead. The entry used to be translated, which does not work
3243         since at the point where lyxrc is constructed there is no
3244         translation service available
3245
3246         * messages.C (getLocaleDir): remove and use directly
3247         lyx_localedir() instead
3248
3249 2004-06-02  Angus Leeming  <leeming@lyx.org>
3250
3251         Fix crash caused by dereferencing null pointer 'exportdata' in
3252         OutputParams by creating a new ExportData variable on the heap,
3253         storing it in a boost::shared_ptr.
3254         The crash was triggered when generating an Instant Preview
3255         of an external inset.
3256
3257         * Makefile.am: add outputparams.C
3258
3259         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
3260         (c-tor): allocate memory to it.
3261
3262         * exporter.C (c-tor): associated changes.
3263
3264 2004-06-01  Angus Leeming  <leeming@lyx.org>
3265
3266         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
3267         contains data before calling isInset(0). (Bug 1513.)
3268
3269 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3270
3271         * exporter.C (checkOverwrite): new method
3272         * exporter.C (copyFile): new method
3273         * exporter.C (Export): copy referenced files to the document dir
3274         * exporter.[Ch]: new class ExportedFile
3275         * exporter.[Ch]: new class ExportData. Contains currently the
3276         names of referenced external files
3277         * outputparams.h: add exportdata member.
3278
3279 2004-05-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3280
3281         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
3282         version.C-tmp
3283
3284 2004-05-19  Angus Leeming  <leeming@lyx.org>
3285
3286         * LaTeXFeatures.C:
3287         * ToolbarBackend.C:
3288         * bufferparams.C:
3289         * lyxfunc.C: small changes due to the introduction of namespace
3290         lyx::frontend and the moving of namespace biblio to lyx::biblio.
3291
3292 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
3293
3294         * text3.C (dispatch): supress update when only moving the cursor
3295         * cursor.C (selHandle): remove commented code
3296
3297 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3298
3299         * paragraph.C (startTeXParParams): correct column count
3300         * CutAndPaste.C (pasteSelection): remove const_cast
3301         * output_docbook.C (docbookParagraphs): remove const_cast
3302         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
3303         const_cast and return ParagraphList::const_iterator
3304         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
3305         * output_plaintext.C (writeFileAscii): remove const_cast
3306         * paragraph.[Ch] (simpleTeXOnePar): make const
3307         * paragraph_funcs.C (outerPar): use const iterators
3308         * paragraph_pimpl.C (validate): use const iterators
3309         * text.C (setHeightOfRow): use const iterators
3310
3311 2004-05-17  Angus Leeming  <leeming@lyx.org>
3312
3313         * lfuns.h:
3314         * LyXAction.C (init): new LFUN_INSET_REFRESH.
3315
3316         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
3317         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
3318         if the citation engine has changed.
3319
3320 2004-05-14  José Matos  <jamatos@lyx.org>
3321
3322         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
3323         if the textclass does not provide it. Have it different for sgml and
3324         xml.
3325         support the language of document.
3326         * output_docbook.C (docbookParagraphs):
3327         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
3328         first anchor as the id of the paragraph, remove special case code.
3329         * sgml.C (escapeChar): escape only < & >.
3330
3331 2004-05-14  Angus Leeming  <leeming@lyx.org>
3332
3333         * bufferparams.h: move biblio::CiteEngine enum here to minimize
3334         dependencies on src/frontends/controllers/biblio.h. Define a
3335         CiteEngine_enum wrapper class to enable the enum to be forward
3336         declared.
3337
3338 2004-05-12  Angus Leeming  <leeming@lyx.org>
3339
3340         * buffer.C: up LYX_FORMAT to 234.
3341         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
3342         use_numerical_citations with a single biblio::CiteEngine cite_engine
3343         variable.
3344         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
3345
3346 2004-05-13  José Matos  <jamatos@lyx.org>
3347
3348         * converter.h:
3349         * converter.C (Converter, readFlags): add xml member.
3350         * outputparams.h: add XML flavor.
3351         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
3352
3353 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3354
3355         * lyxfunc.C (dispatch):
3356         (getStatus): fix handling of LFUN_SEQUENCE
3357
3358 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3359
3360         * debug.C (showLevel): do not forget the end-of-line marker
3361
3362 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3363
3364         * kbmap.C (read): do not stop parsing a bind file when an error
3365         occurs (bug 1575)
3366
3367 2004-04-29  Angus Leeming  <leeming@lyx.org>
3368
3369         * cursor.C:
3370         * factory.C:
3371         * pariterator.C:
3372         * text2.C: wrap a bunch of #warning statements
3373         inside #ifdef WITH_WARNINGS blocks.
3374
3375 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3376
3377         * buffer.C: increment format to 233.
3378
3379 2004-04-28  Angus Leeming  <leeming@lyx.org>
3380
3381         * BufferView_pimpl.C:
3382         * lyxfunc.C:
3383         * text3.C:
3384         s/updateToolbar()/updateToolbars()/
3385         s/Toolbar.h/Toolbars.h/
3386
3387 2004-04-28  Angus Leeming  <leeming@lyx.org>
3388
3389         * BufferView.[Ch] (c-tor):
3390         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
3391         No longer passes these data to the WorkArea generator.
3392
3393 2004-04-28  Angus Leeming  <leeming@lyx.org>
3394
3395         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
3396
3397 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3398
3399         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
3400
3401 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3402
3403         * output_latex.C (TeXEnvironment): make sure that there is a line
3404         break before \end{foo} for the last paragraph of a document
3405         (TeXOnePar): if the paragraph is at the end of the document (or
3406         inset) and the language has to be reset, then make sure that the
3407         line break is _before_ the language command, not after (fixes bug
3408         1225); also make sure that the language reset command is the first
3409         thing after the paragraph (to ensure proper nesting of
3410         environments and thus fix bug 1404)
3411
3412 2004-04-21  John Levon  <levon@movementarian.org>
3413
3414         * ToolbarBackend.h:
3415         * ToolbarBackend.C: make "name" be a programmatic name
3416         and a gui_name field.
3417
3418         * lyxfunc.C: display the minibuffer on M-x
3419
3420 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3421
3422         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3423         (bug 1526)
3424
3425 2004-04-19  Angus Leeming  <leeming@lyx.org>
3426
3427         * BufferView_pimpl.C (setBuffer): changed preview interface.
3428
3429         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3430         possible values.
3431
3432 2004-04-19  John Levon  <levon@movementarian.org>
3433
3434         * BufferView_pimpl.C:
3435         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3436
3437 2004-04-05  Angus Leeming  <leeming@lyx.org>
3438
3439         * text.C (redoParagraphs): add call to updateCounters(), thereby
3440         fixing the missing "Figure #:" label from the caption of a
3441         figure float.
3442
3443 2004-04-13  Angus Leeming  <leeming@lyx.org>
3444
3445         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3446         cursor is clicked out of an inset.
3447
3448 2004-04-13  Angus Leeming  <leeming@lyx.org>
3449
3450         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3451         than an InsetOld one.
3452
3453 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3454
3455         * format.[Ch]: add editor to Format
3456         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3457         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3458
3459 2004-04-08  André Pönitz  <poenitz@gmx.net>
3460
3461         * metricsinfo.h: remove PainterInfo::width member
3462
3463 2004-04-08  Angus Leeming  <leeming@lyx.org>
3464
3465         * lyx_sty.C (boldsymbol_def): modify so that it outputs
3466         "\providecommand" rather than "\newcommand", thereby preventing
3467         clashes with packages that define "\boldsymbol" themselves.
3468         Eg, beamer.
3469
3470 2004-04-08  Angus Leeming  <leeming@lyx.org>
3471
3472         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3473         thereby squashing an unnecessary warning.
3474
3475 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3476
3477         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3478         setBuffer()
3479
3480 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
3481
3482         * BufferView.C (setCursor): call redoParagraph (some insets could
3483         have been opened)
3484         (putSelectionAt): remove the 'double update' trick
3485
3486         * BufferView_pimpl.C (fitCursor): call refreshPar
3487         (workAreaDispatch): remove an uneeded update call
3488         (dispatch): remove some manual update calls
3489
3490         * cursor.[Ch]: remove cached_y_, updatePos
3491         (selHandle): set noUpdate when appropriate
3492
3493         * lyxfunc.C (dispatch): track if we need an update
3494
3495         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3496
3497         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3498         (paintSelection): cheap optimization, do not call cursorX when not
3499         needed
3500         (paintPars): change signature
3501         (refreshPar): add
3502         (paintText): adjust
3503         (paintTextInset): adjust
3504
3505         * text.C: adjust
3506
3507 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3508
3509         * lengthcommon.C: compilation fix: remove explicit array size from
3510         unit_name[] and friends
3511
3512 2004-04-05  Angus Leeming  <leeming@lyx.org>
3513
3514         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3515
3516         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3517         present only for the preferences dialog.
3518         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3519
3520 2004-04-05  Angus Leeming  <leeming@lyx.org>
3521
3522         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3523         to enable the frontends to export changes to lyxrc correctly.
3524
3525         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3526
3527 2004-04-07  André Pönitz  <poenitz@gmx.net>
3528
3529         * cursor.[Ch] (selClear, adjust): remove math
3530
3531         * cursor_slice.C: more agressive assert
3532
3533         * lyxfunc.C:
3534         * BufferView_pimpl.C: rework mouse event dispatch
3535
3536         * dociterator.C:
3537         * paragraph.C:
3538         * text2.C:
3539         * text3.C: adjust
3540
3541 2004-04-05  André Pönitz  <poenitz@gmx.net>
3542
3543         * cursor.[Ch] (valign, halign...): remove unneeded functions
3544
3545 2004-04-05  Angus Leeming  <leeming@lyx.org>
3546
3547         * lyxlength.[Ch] (unit_name et al.): const-correct.
3548
3549 2004-04-05  Angus Leeming  <leeming@lyx.org>
3550
3551         * BufferView_pimpl.C:
3552         * buffer.C:
3553         * counters.C:
3554         * cursor.C:
3555         * lyxfunc.C
3556         * paragraph.C:
3557         * pariterator.C:
3558         * text.C:
3559         * text2.C:
3560         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3561
3562 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3563
3564         * text3.C (getStatus): add LFUN_BEGINNINGBUF
3565
3566 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3567
3568         * lyxfind.C: add a couple of inTexted() tests + other small fixes
3569         * BufferView_pimpl.[Ch] (getStatus)
3570         * BufferView.[Ch] (getStatus): add
3571         * lyxfunc.C (getStatus): move lfuns handled in
3572         BufferView::dispatch to te function above
3573         * Cursor.C (setSelection): set selection() = true
3574
3575 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3576
3577         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3578
3579 2004-03-31  Angus Leeming  <leeming@lyx.org>
3580
3581         * lyxfunc.C (dispatch): Fall through to the generic
3582         Dialogs::show("preamble").
3583
3584 2004-03-31  Angus Leeming  <leeming@lyx.org>
3585
3586         * lyxfunc.C (dispatch): Fall through to the generic
3587         Dialogs::show("spellchecker").
3588
3589 2004-03-31  Angus Leeming  <leeming@lyx.org>
3590
3591         * lyxfunc.C (getStatus, dispatch): changed invocation of the
3592         preferences dialog.
3593
3594 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3595
3596         * BufferView.C
3597         * cursor.[Ch]
3598         * dociterator.[Ch]:
3599         * insetiterator.[Ch]:
3600         * lyxfind.C:
3601         * lyxfunc.C:
3602         * pariterator.[Ch]:
3603         * text2.C:
3604         * undo.[Ch]: s/DocumentIterator/DocIterator/g
3605
3606 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3607
3608         * BufferView.C (setCursor, putSelectionAt): call edit to open the
3609         insets where we are putting the cursor.
3610
3611 2004-03-31  Angus Leeming  <leeming@lyx.org>
3612
3613         * lfuns.h:
3614         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3615
3616         * lyxrc.[Ch] (read, write): overloaded member functions taking
3617         a std::[io]stream arguments.
3618
3619         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3620
3621 2004-03-31  Angus Leeming  <leeming@lyx.org>
3622
3623         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3624         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3625
3626         * lyxtextclass.C (load): if the text class couldn't be loaded, then
3627         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3628
3629 2004-03-31  Angus Leeming  <leeming@lyx.org>
3630
3631         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3632         the LFUN_ALL_INSETS_TOGGLE code.
3633
3634 2004-03-30  Angus Leeming  <leeming@lyx.org>
3635
3636         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3637         has died. Fall through to the generic Dialogs::show("document").
3638
3639 2004-03-30  Angus Leeming  <leeming@lyx.org>
3640
3641         * lfuns.h:
3642         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3643         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3644
3645         * lyxfunc.C (getStatus, dispatch): define the actions for these
3646         lfuns. Little more than a cut and pste job from ControlDocument.C
3647
3648         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3649
3650 2004-03-30  Angus Leeming  <leeming@lyx.org>
3651
3652         * lfuns.h:
3653         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3654         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3655
3656         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3657         open/closed state of ollapsable insets. Usage:
3658
3659         all-inset-toggle <state> <name>, where
3660         <state> == "open" || "closed" || "toggle" and
3661         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3662
3663         * lyxtext.h, text2.C (toggleInset): removed.
3664
3665         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3666         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3667         now passes LFUN_INSET_TOGGLE to the found inset.
3668
3669         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3670         is now invoked as "all-insets-toggle toggle branch".
3671
3672 2004-03-30  Angus Leeming  <leeming@lyx.org>
3673
3674         * dociterator.C:
3675         * insetiterator.C:
3676         * pariterator.[Ch]: added/corrected header blurb.
3677
3678 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
3679
3680         * dociterator.[Ch]: add an inset_ member
3681         (backwardPos): implemented
3682         (backwardPos, forwardPos): use inset_ when the stack is empty.
3683         (doc_iterator_begin, doc_iterator_end): implemented
3684         * pariterator.[Ch]: adjust, add begin, end
3685         * insetiterator.[Ch]: adjust, add begin, end
3686         * cursor.C:
3687         * document.C:
3688         * BufferView.C:
3689         * BufferView_pimpl.C:
3690         * CutAndPaste.C: adjust
3691
3692 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3693
3694         * buffer.C: increment file format to 232.
3695         * LaTeXFeatures.C: add bibtopic package.
3696         * bufferparams.[Ch]: param \use_bibtopic.
3697
3698         * lyxrc.[Ch]: add lyxrc bibtex_command
3699         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3700
3701         * buffer.C: increment file format to 231.
3702
3703 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3704
3705         * dociterator.C: implement forwardPar
3706         * iterators.[Ch]: remove, replaced by
3707         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3708         * BufferView.C:
3709         * BufferView_pimpl.C:
3710         * CutAndPaste.C:
3711         * buffer.C:
3712         * bufferview_funcs.C:
3713         * cursor.C:
3714         * lyxfind.C
3715         * lyxfunc.C
3716         * paragraph_funcs.C
3717         * toc.C:
3718         * Makefile.am: adjust
3719
3720 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3721
3722         * CutAndPaste.C (pasteSelection): fix 2 crashes
3723         (eraseSelection): fix a crash
3724         * paragraph_funcs.C: remove a warning
3725
3726 2004-03-28  Angus Leeming  <leeming@lyx.org>
3727
3728         * lfuns.h:
3729         * LyXAction.C (init): new LFUN_PRINT.
3730
3731         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3732
3733 2004-03-27  Angus Leeming  <leeming@lyx.org>
3734
3735         * lfuns.h:
3736         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3737
3738         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3739
3740 2004-03-27  Angus Leeming  <leeming@lyx.org>
3741
3742         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3743         insetlist always contains non-null pointers to insets.
3744
3745 2004-03-26  Angus Leeming  <leeming@lyx.org>
3746
3747         * src/BufferView_pimpl.C:
3748         * src/CutAndPaste.C:
3749         * src/buffer.C:
3750         * src/iterators.C:
3751         * src/output_plaintext.C:
3752         * src/outputparams.h:
3753         * src/paragraph_funcs.C:
3754         * src/rowpainter.C:
3755         * src/text.C:
3756         * src/text2.C:
3757         * src/frontends/controllers/ControlErrorList.C:
3758         * src/frontends/gtk/FileDialogPrivate.C:
3759         * src/frontends/gtk/GPainter.C:
3760         * src/frontends/gtk/GToolbar.C:
3761         * src/frontends/qt2/QRef.C:
3762         * src/mathed/math_scriptinset.C: squash compiler warnings.
3763
3764 2004-03-26  Angus Leeming  <leeming@lyx.org>
3765
3766         * ispell.C (LaunchIspell::start):
3767         * lyx_cb.C (AutoSaveBuffer::start):
3768         invoke run(DontWait) rather than runNonBlocking().
3769
3770 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
3771
3772         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3773
3774 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3775
3776         * kbsequence.C (print): adjust
3777
3778         * kbmap.C (printKeySym): rename and change signature
3779         (printKey): use LyXKeySym::print()
3780
3781 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
3782
3783         * undo.C: add using std::advance to compile for stlport
3784
3785 2004-03-24  Angus Leeming  <leeming@lyx.org>
3786
3787         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3788         it leads to a crash when no buffer is present.
3789
3790 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3791             Martin Vermeer  <martin.vermeer@hut.fi>
3792
3793         * lyxfunc.C (dispatch):
3794         * bufferparams.C (readToken): use the new LColor::setColor
3795
3796         * LColor.[Ch] (setColor): new version that takes two strings as
3797         argument and creates a new color entry if necessary
3798
3799 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3800
3801         * buffer.C (makeLaTeXFile): if the main latex file that is
3802         processed is usually a subdocument of some master, then pretend
3803         for a while that it is actually the master
3804
3805 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3806
3807         * buffer.C (getLabelList):
3808         (getBibkeyList): use getMasterBuffer()
3809         (getMasterBuffer): new method. Returns the main document in the
3810         case where one is using included documents.
3811
3812 2004-03-25  André Pönitz  <poenitz@gmx.net>
3813
3814         * Makefile.am:
3815         * iterators.[Ch]:
3816         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3817
3818         * ParagraphList_fwd.h: change ParagraphList to a std::vector
3819
3820         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3821         text*.C over here. Rename namespace CutAndPaste to lyx::cap
3822
3823         * ParameterStruct.h: merge with ParagraphParameters
3824
3825         * lyxtext.h: remove LyXText::parOffset() and getPar()
3826
3827         * text3.C: Remove all 'manual' update calls. We do now one per user
3828         interaction which is completely sufficient.
3829
3830         * Bidi.C:
3831         * BufferView.[Ch]:
3832         * BufferView_pimpl.C:
3833         * FontIterator.[Ch]:
3834         * MenuBackend.C:
3835         * ParagraphParameters.[Ch]:
3836         * buffer.C:
3837         * buffer.h:
3838         * bufferlist.C:
3839         * cursor.[Ch]:
3840         * cursor_slice.[Ch]:
3841         * dociterator.[Ch]:
3842         * errorlist.[Ch]:
3843         * factory.C:
3844         * lfuns.h:
3845         * lyxfind.C:
3846         * lyxfunc.C:
3847         * output_docbook.[Ch]:
3848         * output_latex.[Ch]:
3849         * output_linuxdoc.[Ch]:
3850         * output_plaintext.[Ch]:
3851         * paragraph.[Ch]:
3852         * paragraph_funcs.[Ch]:
3853         * paragraph_pimpl.[Ch]:
3854         * rowpainter.C:
3855         * tabular.[Ch]:
3856         * text.C:
3857         * text2.C:
3858         * toc.C:
3859         * undo.[Ch]: adjust
3860
3861         * frontends/controllers/ControlDocument.C:
3862         * frontends/controllers/ControlErrorList.C:
3863         * frontends/controllers/ControlSpellchecker.C:
3864         * insets/inset.C:
3865         * insets/inset.h:
3866         * insets/insetbase.h:
3867         * insets/insetbibitem.C:
3868         * insets/insetbox.C:
3869         * insets/insetbranch.C:
3870         * insets/insetcaption.C:
3871         * insets/insetcharstyle.C:
3872         * insets/insetcharstyle.h:
3873         * insets/insetcollapsable.C:
3874         * insets/insetcollapsable.h:
3875         * insets/insetert.C:
3876         * insets/insetfloat.C:
3877         * insets/insetfoot.C:
3878         * insets/insetmarginal.C:
3879         * insets/insetnote.C:
3880         * insets/insetoptarg.C:
3881         * insets/insettabular.C:
3882         * insets/insettext.C:
3883         * insets/insettext.h:
3884         * insets/insetwrap.C:
3885         * mathed/math_mboxinset.C:
3886         * mathed/math_nestinset.C:
3887         * mathed/math_scriptinset.C:
3888         * mathed/math_scriptinset.h:
3889         * support/types.h:
3890
3891 2004-03-24  Angus Leeming  <leeming@lyx.org>
3892
3893         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3894         deal with any child processes that have finished but are waiting to
3895         communicate this fact to the rest of LyX.
3896
3897 2004-03-24  Angus Leeming  <leeming@lyx.org>
3898
3899         64-bit compile fixes.
3900
3901         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3902         (c-tor): pass lyx::pos_types rather than ints.
3903
3904         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3905         lyx::pos_type.
3906
3907         * text.C (Delete): compile fix.
3908         (getPar): ensure that function declaration is the same as that in
3909         the header file.
3910
3911 2004-03-23  Angus Leeming  <leeming@lyx.org>
3912
3913         * ispell.C (LaunchIspell):
3914         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3915         a boost::shred_ptr rather than a std::auto_ptr.
3916
3917 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3918
3919         * lyxfunc.C (getStatus): handle read-only buffers correctly;
3920         handle LFUN_FILE_INSERT_*
3921
3922         * lyxrc.C (setDefaults, getDescription, output, read):
3923         * lyxrc.h: remove ps_command
3924
3925 2004-03-22  Angus Leeming  <leeming@lyx.org>
3926
3927         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3928         Ensure that error_handler is processed once only and that all data
3929         is saved before attempting to output any warning messages.
3930
3931         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3932
3933 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
3934
3935         * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3936
3937 2004-03-19  André Pönitz  <poenitz@gmx.net>
3938
3939         * cursor.[Ch] (reset): take main text inset as argument
3940
3941         * BufferView: adjust
3942         * BufferView_pimpl.C: adjust
3943
3944         * paragraph.[Ch]: fix completely broken operator=()
3945
3946 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3947
3948         * LColor.C (getFromLyXName): make sure that the color name is used
3949         as lowercase.
3950
3951 2004-03-17  Angus Leeming  <leeming@lyx.org>
3952
3953         * lfuns.h:
3954         * LyXAction.C (init): remove LFUN_FORKS_KILL.
3955
3956         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3957         dialog and to kill a forked process.
3958
3959 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3960
3961         * text2.C (setCursorFromCoordinates): fix font problem
3962
3963 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3964
3965         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3966         bogus "rebuild cursor" code
3967
3968 2004-03-11  André Pönitz  <poenitz@gmx.net>
3969
3970         * buffer.[Ch]: use InsetText instead of LyXText as container for
3971         the main lyx text.
3972
3973         * dociterator.[Ch]: drop the BufferView * member which is not needed
3974         anymore after the change to buffer.C
3975
3976         * paragraph_funcs.C:
3977         * text.C:
3978         * text2.C:
3979         * BufferView.[Ch]:
3980         * BufferView_pimpl.[Ch]:
3981         * cursor.[Ch]:
3982         * cursor_slice.[Ch]: adjust
3983
3984         * text3.C: fix bug in mathDispatch
3985
3986 2004-03-08  André Pönitz  <poenitz@gmx.net>
3987
3988         * undo.[Ch]: use 'StableDocumentIterator' as base for
3989         the Undo struct.
3990
3991 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3992
3993         * LaTeXFeatures.C:
3994         * bufferparams.[Ch]: add jurabib support and param.
3995
3996         * LaTeX.C: add FIXME/comment.
3997
3998 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3999
4000         * buffer.C: increment file format to 230.
4001
4002 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
4003
4004         * cursor.C (dispatch): avoid infinite loops
4005
4006 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
4007
4008         * rowpainter.C (paintSelection): fix x coordinates
4009
4010 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
4011
4012         * text.C (rowBreakPoint): fix breaking before displayed insets
4013
4014 2004-03-01  André Pönitz  <poenitz@gmx.net>
4015
4016         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
4017
4018         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
4019
4020         * Makefile.am:
4021         * BufferView.C:
4022         * BufferView_pimpl.C:
4023         * buffer.C:
4024         * lyxfind.C:
4025         * lyxfunc.C:
4026         * text.C:
4027         * text2.C:
4028         * text3.C: adjust
4029
4030 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
4031
4032         * lyxtext.h:
4033         * text.C:
4034         * text2.C:
4035         * rowpainter.C:
4036         * BufferView_pimpl.C: rename textwidth -> maxwidth,
4037         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
4038
4039 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
4040
4041         * Bidi.[Ch] (computeTables): const correctness
4042         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
4043         fill_hfill, fill_label_hfill and x from Row
4044         * lyxtext.h: prepareToPrint returns a RowMetrics
4045         * rowPainter.C: adjust
4046         * text.C (prepareToPrint): use width, not textWidth. adjust
4047         (redoParagraphInternal, cursorX): adjust
4048         * text2.C (getColumnNearX): adjust
4049         (init): put a default value to the top LyXText::width
4050
4051 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
4052
4053         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
4054
4055 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
4056
4057         * lyxtext.h: add FontIterator class
4058
4059         * text.C (FontIterator, operator*, operator->, operator++): add
4060         (rowBreakPoint, setRowWidth): adjust (fixing a
4061         rebreaking bug)
4062
4063 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4064
4065         * BufferView_pimpl.C (workAreaDispatch): allow also
4066         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
4067
4068 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
4069
4070         * text.C (rowBreakPoint): fix a bug showing with very large insets
4071
4072 2004-02-25  André Pönitz  <poenitz@gmx.net>
4073
4074         * text3.C:
4075         * cursor.[Ch]: move some mathed specific code to mathed
4076
4077 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4078
4079         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
4080         use_tempdir in preferences
4081         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
4082         tempfile creation
4083         * lyx_main.C: ensure that tempdir is valid
4084         * lyxlex.h: correct typo
4085         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
4086         * paragraph.[Ch] (isMultiLingual): make const
4087         * cursor.[Ch] (openable): make const
4088
4089 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4090
4091         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
4092
4093 2004-02-20  André Pönitz  <poenitz@gmx.net>
4094
4095         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
4096
4097         * cursor.[Ch]: prepare for localized getStatus()
4098
4099         * lyxtext.h:
4100         * tabular.C:
4101         * text.C:
4102         * text2.C:
4103         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
4104
4105 2004-02-20  André Pönitz  <poenitz@gmx.net>
4106
4107         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
4108
4109 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
4110
4111         * text2.C (setCursorFromCoordinates): switch to absolute coords
4112         (cursorUp): adjust
4113         (cursorDown): adjust
4114         * text3.C (dispatch): adjust
4115
4116 2004-02-16  André Pönitz  <poenitz@gmx.net>
4117
4118         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
4119           insets/ChangeLog)
4120
4121         * cursor_slice.[Ch]: remove unneeded acessor function
4122
4123         * lyxtext.h: rename rtl() to isRTL()
4124
4125         * rowpainter.C:
4126         * tabular.C:
4127         * text.C:
4128         * text2.C:
4129         * text3.C: adjust
4130
4131 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
4132
4133         * rowpainter.C (paintSelection): coord fix
4134
4135 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
4136
4137         * Spacing.C: compile fix
4138
4139 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
4140
4141         * cursor.C (dispatch): restore current_ before returning
4142
4143 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
4144
4145         * text2.C (cursorUp, cursorDown): fix coords
4146         (moveUp): fix crash
4147
4148 2004-02-12  André Pönitz  <poenitz@gmx.net>
4149
4150         * lyxtext.h:
4151         * text.C:
4152         * text2.C:
4153         * text3.C: add LCursor & parameter to most cursor movement functions
4154           remove usage of LyXText::cursorRow() and cursorPar()
4155
4156         * cursor.[Ch]: add textRow() needed members
4157
4158         * BufferView.C:
4159         * BufferView_pimpl.C:
4160         * paragraph.[Ch]:
4161         * BufferView.C:
4162         * BufferView_pimpl.C: adjust
4163
4164 2004-02-11  André Pönitz  <poenitz@gmx.net>
4165
4166         * lyxfunc.C:
4167         * BufferView.[Ch]:
4168         * BufferView_pimpl.C: shift undo/redo handling
4169
4170         * cursor.[Ch]: fix mathed crash
4171
4172         * lyxfind.C:
4173         * lyxtext.h: move selectionAsText to LCursor
4174
4175         * output_latex.C:
4176         * paragraph.C:
4177         * text.C:
4178         * text2.C:
4179         * text3.C: adjust
4180
4181         * rowpainter.C: fix excessive drawing
4182
4183 2004-02-06  André Pönitz  <poenitz@gmx.net>
4184
4185         * BufferView.[Ch]:
4186         * BufferView_pimpl.[Ch]:
4187         * text3.C: move some text specific LFUN handling
4188
4189 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
4190
4191         * text3.C (checkInsetHit): adjust coords
4192         * text2.C (getColumnNearX): adjust coords
4193         (edit): adjust coords
4194         * text.C (getRowNearY): add two asserts
4195
4196 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
4197
4198         * converter.C:
4199         * format.C: add using std::distance to compile on gcc 2.95/stlport
4200
4201 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
4202
4203         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
4204
4205 2004-02-04  André Pönitz  <poenitz@gmx.net>
4206
4207         * BufferView.[Ch] (insertInset):
4208         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
4209
4210         * text2.C:
4211         * text3.C: adjust
4212
4213 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
4214
4215         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
4216         on the default clause of the switch
4217         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
4218         wasn't catched by LCursor::dispatch
4219
4220 2004-02-03  André Pönitz  <poenitz@gmx.net>
4221
4222         * BufferView.C:
4223         * cursor.[Ch]: some additional asserts
4224
4225         * undo.[Ch]: remove LyXText dependency in interface
4226
4227         * lyxfunc.C: adjust
4228
4229         * lyxtext.h (firstPar, lastPar): remove dead functions
4230
4231         * text.C:
4232         * text2.C:
4233         * text3.C:
4234         * paragraph.[Ch]: adjust
4235
4236 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
4237
4238         * lyxfind.C (find): fix argument order in call to ::find
4239
4240 2004-02-02  André Pönitz  <poenitz@gmx.net>
4241
4242         * cursor.[Ch]: remove direct access to anchor
4243
4244         * text.C: remove findText() hack
4245
4246 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
4247
4248         * iterators.[Ch] (lockPath): remove in favour of...
4249         * BufferView.[Ch] (setCursor): this addition
4250         * BufferView.C (putSelectionAt): adjust
4251         * undo.C (performUndoOrRedo): adjust
4252         * lyxfunc.C (dispatch): adjust
4253
4254 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
4255
4256         * iterators.C (lockPath): add a missing slice
4257         * undo.C (performUndoOrRedo): remove redundant positioning code
4258
4259 2004-02-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4260
4261         * vc-backend.C (scanMaster): ";" -> ';'
4262
4263 2004-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4264
4265         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
4266         std::binary_function
4267
4268         * lyxtextclass.C (compare_name): rename to...
4269         (LayoutNamesEqual): ...this
4270
4271         * lyxlex_pimpl.C (compare_tags): inherit from
4272         std::binary_function, put back into anon namespace
4273
4274         * lyxfind.C (MatchString): inherig from std::binary_function
4275         (findChange): use empty() istead of !size()
4276
4277         * format.C (FormatNamesEqual): new functor
4278         (getFormat): use it
4279         (getNumber): use it
4280         (add): use it
4281         (erase): use it
4282         (setViewer): use it
4283
4284         * converter.C (compare_Converter): rename to...
4285         (ConverterEqual): ...this, and fixup a bit.
4286         (getConverter): use it, and make function const
4287         (getNumber): use it, and make function const
4288         (add): use it
4289         (erase): use it:
4290
4291         * bufferlist.C: add using boost::bind
4292
4293         * MenuBackend.C (MenuNamesEqual): new functor
4294         (hasMenu): use it, and make function const
4295         (hasSubmenu): use nested bind to get rid of compare_memfun.
4296
4297 2004-01-30  André Pönitz  <poenitz@gmx.net>
4298
4299         * BufferView_pimpl.C:
4300         * cursor.C:
4301         * cursor.h:
4302         * cursor_slice.[Ch]:
4303         * lyxfunc.C:
4304         * lyxtext.h:
4305         * paragraph_funcs.C:
4306         * paragraph_funcs.h:
4307         * rowpainter.C:
4308         * text.C:
4309         * text2.C:
4310         * text3.C: move some of the edit(x,y) handling to the insets
4311         some coordinate changes.
4312
4313 2004-01-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4314
4315         * text.C: add using statements for std::advance and std::distance
4316
4317         * paragraph.C: add using statement for std::distance
4318
4319         * lyxfind.C: add using statement for std::advance
4320
4321         * cursor.C (region): remove std:: from swap
4322         (openable): use nucleus in stead of operator->
4323
4324         * BufferView.C: add using statements for std::distance and std::swap
4325
4326 2004-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4327
4328         * iterators.C: Remove the pimple, move the needed structures to
4329         the header file. Create accessor for the positions stack.
4330         (asPosIterator): remove function
4331
4332         * PosIterator.C (PosIterator): move constructors to top of file
4333         (PosIterator): reimplement the constructor taking a ParIterator in
4334         terms of setFrom.
4335         (setFrom): new function
4336         (operator!=): inline it
4337
4338 2004-01-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4339
4340         * lyxfind.C (replaceAll): use std::advance
4341
4342         * iterators.h: inherit from std::iterator.
4343
4344         * PosIterator.C (advance, distance): remove
4345         * PosIterator.h: interit from std::iterator.
4346
4347 2004-01-26  André Pönitz  <poenitz@gmx.net>
4348
4349         * BufferView.[Ch]:
4350         * BufferView_pimpl.[Ch]:
4351         * InsetList.[Ch]:
4352         * PosIterator.[Ch]:
4353         * buffer.h:
4354         * bufferview_funcs.C:
4355         * cursor.[Ch]:
4356         * cursor_slice.h:
4357         * factory.[Ch]:
4358         * iterators.[Ch]:
4359         * lyxfind.C:
4360         * lyxfunc.C:
4361         * lyxtext.h:
4362         * output_docbook.C:
4363         * output_latex.C:
4364         * output_linuxdoc.C:
4365         * output_plaintext.C:
4366         * paragraph.[Ch]:
4367         * paragraph_funcs.[Ch]:
4368         * paragraph_pimpl.[Ch]:
4369         * rowpainter.C:
4370         * tabular.C:
4371         * tabular.h:
4372         * text.C:
4373         * text2.C:
4374         * text3.C: more IU:  dumps most of the rest of the mathcursor
4375     implementation into cursor.[Ch]; "globalize" a bit of it.
4376
4377 2004-01-25  Angus Leeming  <leeming@lyx.org>
4378
4379         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
4380
4381 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4382
4383         * LaTeXFeatures.h: add nice_ and nice() const
4384         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
4385
4386 2004-01-20  André Pönitz  <poenitz@gmx.net>
4387
4388         * BufferView.[Ch]:
4389         * BufferView_pimpl.C:
4390         * PosIterator.C:
4391         * bufferview_funcs.C:
4392         * cursor.[Ch]:
4393         * cursor_slice.[Ch]:
4394         * factory.C:
4395         * iterators.C:
4396         * lyx_cb.C:
4397         * lyxfind.C:
4398         * lyxfunc.C:
4399         * lyxtext.h:
4400         * rowpainter.C:
4401         * text.C:
4402         * text2.C:
4403         * text3.C:
4404         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
4405           LCursor and mathcursor parts to LCursor and InsetBase.
4406
4407 2004-01-15  André Pönitz  <poenitz@gmx.net>
4408
4409         * cursor_slice.[Ch]: add a few covienience functions
4410
4411         * funcrequest.[Ch]: remove BufferView * member
4412
4413         * BufferView_pimpl.C:
4414         * cursor.C:
4415         * factory.[Ch]:
4416         * lyxfind.[Ch]:
4417         * lyxfunc.C:
4418         * lyxtext.h:
4419         * text3.C:
4420         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4421
4422 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
4423
4424         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4425         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4426
4427 2004-01-13  André Pönitz  <poenitz@gmx.net>
4428
4429         * textcursor.[Ch]:
4430         * lyxtext.h: hide cursor and selection anchor behind accessor function
4431
4432         * BufferView.C:
4433         * BufferView_pimpl.[Ch]:
4434         * PosIterator.C:
4435         * bufferview_funcs.C:
4436         * cursor.h:
4437         * lyxfind.C:
4438         * lyxfunc.C:
4439         * text.C:
4440         * text2.C:
4441         * text3.C:
4442         * undo.C: adjust
4443
4444         * cursor.h:
4445         * cursor_slice.[Ch]: some integer type changes for inset unification
4446
4447         * lyxcursor.[hC]: remove, it's CursorSlice now.
4448
4449         * Makefile.am:
4450         * BufferView_pimpl.[Ch]:
4451         * bufferview_funcs.C:
4452         * cursor_slice.C:
4453         * lyxtext.h:
4454         * text.C:
4455         * text2.C:
4456         * text3.C:
4457         * textcursor.[Ch]: adjust
4458
4459 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
4460
4461         * text2.C (undoSpan): add and use
4462         * text.C (breakParagraph): use undoSpan (fix bug 578)
4463         * lyxtext.h: adjust
4464
4465 2004-01-08  Angus Leeming  <leeming@lyx.org>
4466
4467         * BufferView_pimpl.C (MenuInsertLyXFile):
4468         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4469         * lyxfunc.C (menuNew, open, doImport):
4470         FileFilterList change to the FileDialog open and save functions.
4471
4472 2004-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4473
4474         * ShareContainer.h: make isEqual and isUnique adaptable
4475
4476         * CutAndPaste.C: make resetOwnerAndChanges adaptable
4477
4478 2004-01-07  Angus Leeming  <leeming@lyx.org>
4479
4480         * LyXAction.C:
4481         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4482
4483         * BufferView_pimpl.C (dispatch): act on these LFUNs.
4484
4485         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4486         functions replacing find, replace and replaceAll.
4487
4488         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4489         LFUN_WORDFIND(FORWARD|BACKWARD).
4490
4491 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4492
4493         * text.C (breakParagraph): remove an outdated #warning
4494
4495 2004-01-07  André Pönitz  <poenitz@gmx.net>
4496
4497         * lyxfind.C: somewhat clearer logic
4498
4499         * text.C: prevent crash in cursorX on unitialized row cache
4500
4501 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4502
4503         * lyxcursor.[Ch] (operator>): add
4504         * textcursor.C (selStart, selEnd): use std::min and std::max
4505
4506 2004-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4507
4508         * Chktex.C: include boost/format.hpp
4509
4510 2004-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4511
4512         * InsetList.C: replace functor MathcIt with adaptable functor
4513         InsetTablePosLess
4514         (insetIterator): modify accordingly
4515
4516         * BranchList.h: move the BranchNamesEqual functor here from...
4517         * BranchList.C: ... to here
4518
4519         * BranchList.C: new BranchListEqual fuctor, use it. Remove
4520         SameName and match.
4521         (add): replace a finding loop with std::find_if.
4522
4523 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
4524
4525         * output_docbook.C: moving LatexParam functionality into
4526         .layout files
4527
4528 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4529
4530         * buffer.C: increment format to 229.
4531
4532 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
4533
4534         * LaTeXFeatures.C:
4535         * lyx_sty.[Ch]: remove minipageindent_def
4536
4537         * LyXAction.C:
4538         * factory.C:
4539         * lfuns.h:
4540         * lyxfunc.C:
4541         * text3.C: remove LFUN_INSET_MINIPAGE
4542
4543 2003-12-28  Angus Leeming  <leeming@lyx.org>
4544
4545         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4546
4547 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
4548
4549         * text2.C (setParagraph): fix off-by-one crash
4550
4551 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
4552
4553         * output_docbook.C: header stuff for AGU
4554
4555 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
4556
4557         * text2.C (redoCursor): remove
4558         * text.C:
4559         * text3.C:
4560         * BufferView_pimpl.C: remove calls to redoCursor and
4561         setCursor(cursor.par(), cursor.pos()) all around
4562
4563 2003-12-15  Angus Leeming  <leeming@lyx.org>
4564
4565         * buffer.C: up the format to 228.
4566
4567 2003-12-15  André Pönitz  <poenitz@gmx.net>
4568
4569         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4570         slices
4571
4572         * Makefile.am:
4573
4574         * BufferView_pimpl.C:
4575         * cursor.[Ch]:
4576         * lyxcursor.[Ch]:
4577         * rowpainter.[Ch]:
4578         * lyxtext.h:
4579         * text.C:
4580         * text2.C:
4581         * text3.C: adjust
4582
4583 2003-12-15  Angus Leeming  <leeming@lyx.org>
4584
4585         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4586         than getFromGUIName to manipulate the color.
4587
4588 2003-12-14  Angus Leeming  <leeming@lyx.org>
4589
4590         * BranchList.[Ch]: minimize the API.
4591         (Branch::getBranch, getColor): now return a 'const &'.
4592         (Branch::setSelected) now returns a bool set to true if the
4593         selection status changes.
4594         (BranchList::clear, size, getColor, setColor, setSelected,
4595         allBranches, allSelected, separator): removed.
4596         (BranchList::find): new functions, returning the Branch with
4597         the given name.
4598         (BranchList::add, remove): return a bool indicating that
4599         the operation was successful.
4600
4601         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4602         new InsetBranch::isBranchSlected member function.
4603
4604         * LColor.[Ch]: mimimize the API.
4605         (fill): renamed as addColor and made private.
4606         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4607         versions of these functions taking a string arg have been removed.
4608
4609         * bufferparams.C (readToken):
4610         * lyxfunc.C (dispatch):
4611         * lyxrc.C (read): changes due to the altered BranchList and
4612         LColor APIs.
4613
4614         * factory.C (createInset, readInset): changes due to altered
4615         InsetBranch c-tor.
4616
4617 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4618
4619         * factory.C:
4620         * lyxfunc.C: remove insetminipage. "minipage-insert"
4621         now produces a frameless minipage box inset.
4622
4623 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4624
4625         * textcursor.[Ch] (selStart,selEnd): add new methods
4626         remove selection::start, end, use LyXCursor::operator<
4627         * lyxcursor.[Ch] (operator<): add
4628         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4629         * BufferView.[Ch] (unsetXSel): add
4630         * text2.C (clearSelection): use unsetXSel,adjust
4631         * text.C: adjust
4632         * text3.C: adjust
4633         * rowpainter.C: adjust
4634         * bufferview_funcs.C (put_selection_at): adjust
4635
4636 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4637
4638         * BufferView_pimpl.C: small coord. correction
4639
4640 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4641
4642         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4643         dragging over the splash screen.
4644
4645 2003-12-11  Angus Leeming  <leeming@lyx.org>
4646
4647         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4648         as it is now handled in LyXText::dispatch.
4649
4650         * text3.C (doInsertInset): remove a level of nesting.
4651
4652 2003-12-11  Angus Leeming  <leeming@lyx.org>
4653
4654         * factory.C (createInset): changes due to the changed interface to
4655         InsetCommandMailer::string2params.
4656
4657 2003-12-10  Angus Leeming  <leeming@lyx.org>
4658
4659         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4660         'dialog-show-new-inset <inset name>'
4661
4662 2003-12-10  Angus Leeming  <leeming@lyx.org>
4663
4664         * buffer.C: up the format to 227.
4665
4666         * factory.C: the box inset is now identified simply by 'Box'.
4667
4668 2003-12-10  Angus Leeming  <leeming@lyx.org>
4669
4670         * buffer.C: up the format to 226.
4671
4672         * factory.C: the note inset is now identified simply by 'Note'.
4673
4674 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
4675
4676         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4677         when a pit is enough. Standarize a couple of loops.
4678
4679 2003-12-05  Angus Leeming  <leeming@lyx.org>
4680
4681         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4682         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4683         data to the re-worked "log" dialog.
4684
4685 2003-12-03  André Pönitz  <poenitz@gmx.net>
4686
4687         * PosIterator.C:
4688         * iterators.C:
4689         * lyxtext.h:
4690         * output_latex.C:
4691         * paragraph_funcs.C:
4692         * text.C:
4693         * text2.C: use Inset::getText instead of Inset::getParagraph
4694
4695 2003-12-03  André Pönitz  <poenitz@gmx.net>
4696
4697         * buffer.[Ch]:
4698         * lyxtext.h:
4699         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4700         InsetText::read() as LyXText::read()
4701
4702 2003-12-02  Angus Leeming  <leeming@lyx.org>
4703
4704         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4705         type. Add a comment in the implementation that the function uses
4706         the stream's bad() function rather than fail() as the std::streams
4707         would do.
4708
4709 2003-12-02  André Pönitz  <poenitz@gmx.net>
4710
4711         * lyxlex.[Ch]: make interface more similar to std::stream
4712
4713         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4714
4715 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
4716
4717         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4718
4719 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
4720
4721         * vspace.[Ch]: remove VSpace::NONE
4722
4723 2003-12-01  André Pönitz  <poenitz@gmx.net>
4724
4725         * buffer.[Ch]:
4726         * lyxtext.h: move ParagraphList member to LyXText
4727         rename LyXText::ownerParagraphs to LyXText::paragraph
4728
4729         * CutAndPaste.C:
4730         * bufferview_funcs.C:
4731         * iterators.[Ch]:
4732         * lyx_cb.C:
4733         * paragraph.C:
4734         * rowpainter.C:
4735         * tabular.C:
4736         * text.C:
4737         * text2.C:
4738         * text3.C: adjust
4739
4740         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4741
4742         * undo.C: fix cursor positioning
4743
4744 2003-12-01  John Levon  <levon@movementarian.org>
4745
4746         * BufferView_pimpl.C: fix a crash on exit with
4747         a buffer open
4748
4749 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
4750
4751         * BranchList.C: fix setSelected() method.
4752
4753 2003-11-28  André Pönitz  <poenitz@gmx.net>
4754
4755         * ParagraphParameters.[Ch]:
4756         * ParameterStruct.h: remove space above/below from Paragraph to
4757          InsetVSpace
4758
4759         * BufferView_pimpl.C:
4760         * factory.C:
4761         * lyxfunc.C:
4762         * lyxtext.h:
4763         * output_latex.C:
4764         * paragraph.C:
4765         * paragraph_funcs.C:
4766         * rowpainter.[Ch]:
4767         * text.C:
4768         * text2.C:
4769         * text3.C: adjust
4770
4771 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
4772
4773         * factory.C: Syntax change for CharStyles
4774
4775 2003-11-28  André Pönitz  <poenitz@gmx.net>
4776
4777         * BufferView.[Ch]:
4778         * BufferView.[Ch]:
4779         * buffer.[Ch]:
4780         * buffer.[Ch]: move LyXText member
4781
4782 2003-11-28  André Pönitz  <poenitz@gmx.net>
4783
4784         * BufferView.[Ch]: make LyXText * text a private member
4785
4786         * BufferView_pimpl.C:
4787         * cursor.C:
4788         * iterators.C:
4789         * lyx_cb.C:
4790         * lyxfind.C:
4791         * lyxtext.h:
4792         * rowpainter.[Ch]:
4793         * text.C:
4794         * text2.C:
4795         * undo.C: adjust
4796
4797         * output_plaintext.C: cleanup
4798
4799 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4800
4801         * buffer.C:
4802         * lyxtextclass.[Ch]: parametrize SGML document header
4803
4804 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4805
4806         * converter.[Ch]:
4807         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4808         getFlavor().
4809
4810 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
4811
4812         * text2.C (setFont): rework using PosIterator (no more recursive)
4813         (setCharFont): no more needed
4814         (setLayout): no more selection cursors fiddling (done by redoCursor)
4815         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4816         destroy remaining ones)
4817
4818 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
4819
4820         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4821         * lyxtext.h: ditto
4822         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4823         selection cursors
4824         * lyxfunc.C: adjust
4825         * text3.C: adjust + re-allow multi par depth changes
4826         * textcursor.C: simplify a bit
4827
4828 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
4829
4830         * src/buffer.C:
4831         * src/lyxlayout.C:
4832         * src/lyxlayout.h:
4833         * src/lyxtext.h:
4834         * src/output_docbook.C:
4835         * src/output_latex.C:
4836         * src/paragraph.C:
4837         * src/paragraph.h:
4838         * src/sgml.C:
4839         * src/sgml.h:
4840         * src/text2.C: Introducing a number of tags parametrizing various
4841         XML formats that we may want to support
4842
4843 2003-11-25  André Pönitz  <poenitz@gmx.net>
4844
4845         * InsetList.[Ch] (begein, end): inline as suggested by profiler
4846
4847         * lyxtext.h (leftMargin/rightMargin): simplify interface
4848
4849         * rowpainter.C:
4850         * text.C:
4851         * text2.C:
4852         * text3.C: adjust
4853
4854 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4855
4856         * lyxfunc.C (dispatch): propogate the bibtex databases from the
4857         master file to any child files. Fixes bug 546.
4858
4859 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4860
4861         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4862
4863 2003-11-24  André Pönitz  <poenitz@gmx.net>
4864
4865         * rowpainter.C: simplification
4866
4867         * text2.C (updateCounters): remove call to redoParagraph on
4868         changed labels as this is far too expensive.
4869
4870 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4871
4872         * converter.C (convert): fix a crash: this function gets
4873         called with buffer == 0 from importer code.
4874
4875 2003-11-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4876
4877         * text3.C (cursorPrevious): make sure that we do not compare
4878         iterators form different containers.
4879         (cursorNext): ditto
4880
4881         * rowpainter.C (paintSelection): make sure that we do not compare
4882         iterators from different containers.
4883
4884         * text3.C (dispatch): [PRIOR] make sure that we do not compare
4885         iterators from different ParagraphList containers.
4886         [NEXT] ditto
4887
4888         * text2.C (LyXText): change order of initialization slightly
4889         (operator=): new function. copy all variables except cache_par_
4890         (moveUp): make sure that we do not compare iterators from
4891         different ParagraphList constainers.
4892         (moveDown): ditto
4893
4894         * text.C (firstPar): new function
4895         (lastPar): new function
4896         (endPar): new function
4897
4898         * lyxtext.h: move things around and group public functions, public
4899         variables, private functions, private variables
4900
4901 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
4902
4903         * factory.C: change call to InsetERT constructor to avoid
4904         additional invocation of method status
4905         * text2.C (toggleInset): remove redundant update() call
4906         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4907         instead of a Bufferview pointer
4908
4909 2003-11-21  André Pönitz  <poenitz@gmx.net>
4910
4911         * rowpainter.C: simplification
4912
4913 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4914
4915         * text3.C (dispatch): make possible to extend a word/row selection
4916         with the mouse
4917
4918 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4919
4920         * lyxtext.h: x0_,y0_ -> xo_,yo_
4921         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4922         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4923         * rowpainter.C (paintRows): paint full paragraphs
4924
4925 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4926
4927         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4928         screen coordinates)
4929
4930 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4931
4932         * lyxtext.h: add x0_, y0_
4933         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4934         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4935
4936 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
4937
4938         * text2.C (setCursorIntern): move the x_target update here *
4939         * text3.C: change some bv() to true/false in calls to
4940         cursorUp/Down/Right/Left
4941         * cursor.C: use helper function.
4942
4943 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4944
4945         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4946         * paragraph_funcs.[Ch]: correct comment
4947         * rowpainter.C: do not paint selections away from bv->cursor()
4948         Fix a long standing selection painting bug.
4949         * text3.C: generalize mouse-selection code to LyXTexts other that
4950         top one
4951         * textcursor.C: do not use y coords if we can use par offsets
4952
4953 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4954
4955         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4956         cursor position after e.g. inset insert)
4957
4958 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
4959
4960         * lyxfind.C (replace): adjust to locking removal + some
4961         code simplification
4962
4963 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
4964
4965         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4966         of the path
4967
4968 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
4969
4970         * lyxlayout.[Ch]:
4971         * output_docbook.C: XML sanitation: new layout
4972         parameters InnerTag and CommandDepth
4973
4974 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
4975
4976         * BufferView_pimpl.C:
4977         * factory.C:
4978         * text3.C: Fix the insertion and modification of button-style
4979         insets
4980
4981 2003-11-13  André Pönitz  <poenitz@gmx.net>
4982
4983         * InsetList.[Ch]: remove deleteLyXText
4984
4985         * paragraph.[Ch]: cache beginOfBody position
4986
4987         * Bidi.C:
4988         * text.C:
4989         * text2.C:
4990         * text3.C: remove superfluous update() calls
4991
4992         * vspace.C: cleanup
4993
4994 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
4995
4996         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4997         * BufferView.C (fitLockedInsetCursor): remove
4998         * cursor.[Ch] (getDim): add
4999         * text.C (getRowNearY): add faster version
5000         * text3.C: remove some update calls
5001
5002 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
5003
5004         * LaTeXFeatures.C:
5005         * LyXAction.C:
5006         * MenuBackend.C:
5007         * MenuBackend.h:
5008         * dispatchresult.h:
5009         * factory.C:
5010         * lfuns.h:
5011         * lyxfunc.C:
5012         * lyxtextclass.C:
5013         * lyxtextclass.h:
5014         * text3.C: The Character Style /XML short element patch.
5015
5016 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
5017
5018         * text3.C:
5019         * factory.C: Small step to solving 'unable to insert some insets'
5020         problem
5021
5022 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
5023
5024         * cursor.[Ch] (updatePos): new function for updating the y
5025         position of the tip inset
5026         * bufferview_funcs.C (put_selection_at):
5027         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
5028
5029 2003-11-11  André Pönitz  <poenitz@gmx.net>
5030
5031         * text.C: remove big comment on invalid Paragraph pointers as it is
5032         not valid anymore
5033
5034 2003-11-11  André Pönitz  <poenitz@gmx.net>
5035
5036         * text_funcs.[Ch]: merge with ...
5037
5038         * text.C: ... this
5039
5040         * lyxtext.h:
5041         * text2.C:
5042         * text3.C: adjust
5043
5044         * Makefile.am: remove text_funcs.[Ch]
5045
5046 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
5047
5048         * cursor.C (getPos): return absolute cached y coord
5049
5050         * BufferView_pimpl.C (fitCursor): new simplistic code
5051         (workAreaDispatch): add a fitCursor call
5052
5053 2003-11-10  André Pönitz  <poenitz@gmx.net>
5054
5055         * BufferView.[Ch]:
5056         * BufferView_pimpl.[Ch]: merge update() and updateInset()
5057
5058 2003-11-10  André Pönitz  <poenitz@gmx.net>
5059
5060         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
5061         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
5062         indicate that the cursor needs to leave an inset
5063
5064         * lyxtext.h: remove inset locking
5065
5066         * cursor.[Ch]: re-implement functionality provided by inset locking
5067
5068         * BufferView.[Ch]:
5069         * BufferView_pimpl.[Ch]:
5070         * LyXAction.C:
5071         * bufferview_funcs.[Ch]:
5072         * factory.C:
5073         * funcrequest.[Ch]:
5074         * iterators.C:
5075         * lyx_cb.C:
5076         * lyxfind.C:
5077         * lyxfunc.C:
5078         * text.C:
5079         * text2.C:
5080         * text3.C:
5081         * undo.C: adjust
5082
5083 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
5084
5085         * PosIterator.[Ch]: replace the stack with a vector, add inset
5086         accesor
5087         * iterators.[C]: adjust
5088
5089 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
5090
5091         * lyxfind.C (replaceAll): mark the buffer dirty if something was
5092         replaced
5093         * paragraph_funcs.C (readParToken): put the correct id in the
5094         error item, not the id of the top paragraph
5095
5096 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
5097
5098         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
5099         * bufferview_funcs.C (put_selection_at): use the above
5100
5101 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
5102
5103         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
5104
5105 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5106
5107         * output_linuxdoc.h:
5108         * output_plaintext.h:
5109         * output.h:
5110         * output_docbook.h: add #include statements
5111
5112 2003-11-05  José Matos  <jamatos@lyx.org>
5113
5114         * output_docbook.[Ch]:
5115         * output_latex.[Ch]:
5116         * output_linuxdoc.[Ch]:
5117         * output_plaintext.[Ch]: New files for output formats.
5118         * output.[Ch]: New file for helper functions.
5119
5120         * buffer.[Ch]:
5121         * paragraph_funcs.[Ch]: output functions moved to new files.
5122
5123         * outputparams.h: rename of latexrunparams.h
5124
5125         * LaTeX.[Ch]:
5126         * buffer.[Ch]:
5127         * bufferlist.[Ch]:
5128         * converter.[Ch]:
5129         * exporter.C:
5130         * paragraph.[Ch]:
5131         * paragraph_funcs.[Ch]:
5132         * paragraph_pimpl.[Ch]:
5133         * tabular.[Ch]: rename ascii to plaintext
5134         and LatexRunParams to OutputParams.
5135
5136 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
5137
5138         * iterators.[Ch] (text): require bv argument
5139         * undo.C (recordUndo):
5140         * lyxfunc.C (dispatch):
5141         * bufferview_funcs.C (put_selection_at): adjust
5142
5143 2003-11-05  Jo� Luis M. Assirati  <assirati@fma.if.usp.br>
5144
5145         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
5146
5147 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
5148
5149         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
5150         nestings
5151
5152 2003-11-04  André Pönitz  <poenitz@gmx.net>
5153
5154         * cursor.[Ch]: restructure
5155
5156         * BufferView.[Ch]:
5157         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
5158
5159         * iterators.[Ch] (asCursor): remove
5160
5161         * lfuns.h: remove LFUN_INSET_EDIT
5162
5163         * lyxfunc.C:
5164         * tabular.C:
5165         * text.C:
5166         * text2.C:
5167         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
5168
5169 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5170
5171         * lyxfind.[Ch]: complete overhaul
5172         * BufferView_pimpl.C:
5173         * lyxfunc.C: adjust
5174         * paragraph.[Ch] (insert): add
5175
5176 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5177
5178         * BufferView.[Ch]:
5179         * lyxtext.h:
5180         * text.C: remove dead spellcheck code
5181
5182 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5183
5184         * dispatchresult.h: add a val setter
5185
5186         * cursor.C (dispatch): use a tempvar for data_[i]
5187
5188 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5189
5190         * PosIterator.[Ch]: compile fix
5191
5192 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5193
5194         * text.C (cursorPar): deactivate the cursor cache
5195
5196 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
5197
5198         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
5199
5200 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5201
5202         * text3.C (dispatch): adjust for new DisptchResult semantics.
5203
5204         * lyxfunc.C (dispatch): handle update when return from
5205         Cursor::dispatch, adjust for new DispatchResult semantics.
5206
5207         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
5208         DispatchResult(true) mean to not update. Add class functions for
5209         setting dispatched and update, as well as reading.
5210
5211         * cursor.C (dispatch): don't handle update here
5212
5213 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5214
5215         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
5216         * trans_mgr.C: adjust
5217
5218         * paragraph_funcs.C (readParToken): exception safety
5219
5220         * lyxvc.h: store the vcs pointer in a scoped_ptr
5221         * lyxvc.C: adjust
5222
5223         * lyxsocket.C (serverCallback): exception safety
5224
5225         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
5226
5227         * ispell.C (clone): make it return a auto_ptr
5228
5229         * factory.C (createInset): exception safety
5230         (readInset): exception safety
5231
5232         * bufferlist.C (newBuffer): exception safety
5233
5234         * Thesaurus.C (Thesaurus): use initialization for aik_
5235
5236         * MenuBackend.C (expandToc): exception safety.
5237
5238 2003-11-03  André Pönitz  <poenitz@gmx.net>
5239
5240         * buffer.C:
5241         * buffer.h:
5242         * bufferview_funcs.C: remove getInsetFromId()
5243
5244         * lyxcursor.[Ch]:
5245         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
5246
5247         * lyxfunc.C:
5248         * text2.C:
5249         * text3.C: adjust
5250
5251 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
5252
5253         * PosIterator.C (distance, advance): new
5254         * bufferview_funcs.[Ch] (put_selection_at): new
5255         * iterators.[Ch] (lockPath): new
5256
5257 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
5258
5259         * iterators.[Ch] (asPosIterator): added
5260         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
5261         * PosIterator.[Ch]: added
5262
5263 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5264
5265         * text3.C:
5266         * lyxfunc.C:
5267         * cursor.C (dispatch):
5268         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
5269
5270         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
5271         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
5272         contructor, add a class function dispatched. Remove operator>=
5273
5274 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5275
5276         * debug.C: only use the default constructor for debugstream
5277         (lyxerr) here.
5278
5279         * main.C (main): include debug.h and setup the lyxerr streambuf
5280         here.
5281
5282 2003-10-31  José Matos  <jamatos@lyx.org>
5283
5284         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
5285
5286         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
5287         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
5288         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5289         * paragraph_pimpl.C (simpleTeXSpecialC):
5290         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
5291         add LatexRunParams argument.
5292
5293         * exporter.C (Export): change call accordingly.
5294
5295         * latexrunparams.h: add new member to take care of the other backends.
5296 2003-10-30  José Matos  <jamatos@lyx.org>
5297
5298         * buffer.C (makeLinuxDocFile, makeDocBookFile):
5299         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5300         factorise code for paragraph output.
5301         * buffer.[Ch]:
5302         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
5303         move functions.
5304
5305 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5306
5307         * text3.C (dispatch):
5308         * lyxfunc.C (dispatch):
5309         * cursor.C (dispatch):
5310         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
5311
5312         * dispatchresult.h: make the dispatch_result_t ctor explicit
5313
5314 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
5315
5316         * sgml.[Ch]:
5317         * buffer.C: small refactoring of docbook stuff
5318
5319 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5320
5321         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
5322         meaning.
5323
5324 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5325
5326         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
5327         operator dispatch_result_t, and operators for == != and >=
5328
5329         * cursor.C (dispatch): adjust for operator dispatch_result_t
5330         removal. comment out call to update
5331
5332         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
5333
5334 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5335
5336         * text3.C:
5337         * text2.C:
5338         * text.C:
5339         * lyxtext.h:
5340         * lyxfunc.C:
5341         * cursor.C:
5342         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
5343         (dispatch):
5344
5345         * dispatchresult.h: new file, DispatchResult broken out of
5346         insets/insetbase.h
5347
5348         * Makefile.am (lyx_SOURCES): add dispatchresult.h
5349
5350 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
5351
5352         * text.C (rowBreakPoint): put a hack inside #if 0
5353
5354 2003-10-28  André Pönitz  <poenitz@gmx.net>
5355
5356         * lyxtext.h:
5357         * metricsinfo.C:
5358         * paragraph_funcs.C:
5359         * rowpainter.C:
5360         * text.C:
5361         * text2.C: general cleanup (lots of small stuff)
5362
5363 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
5364
5365         * text2.C (cursorEnd): simple fix to the "end key goes to one
5366         before the end on last row" bug
5367
5368 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5369
5370         * text.C (backspace): fix the "zombie characters"
5371
5372 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5373
5374         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
5375
5376 2003-10-27  André Pönitz  <poenitz@gmx.net>
5377
5378         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
5379
5380         * factory.C: handle new InsetPagebreak, InsetLine
5381
5382         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
5383         and move handling into new InsetPagebreak, InsetLine
5384
5385         * BufferView_pimpl.C:
5386         * LyXAction.C:
5387         * ParagraphParameters.C:
5388         * ParameterStruct.h:
5389         * lyxfunc.C:
5390         * lyxtext.h:
5391         * paragraph.C:
5392         * paragraph.h:
5393         * paragraph_funcs.C:
5394         * paragraph_pimpl.C:
5395         * rowpainter.C:
5396         * text.C:
5397         * text2.C:
5398         * text3.C: adjust
5399
5400 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5401
5402         * text.C:
5403         * lyxrow_funcs.[Ch]:
5404         * Bidi.C:
5405         * paragraph.C:
5406         * lyxtext.h:
5407         * rowpainter.C:
5408         * text2.C:
5409         * text3.C: remove lastPos uses in favour of Row::endpos
5410
5411 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5412
5413         * undo.C (performUndoOrRedo): fix two crashes by setting a
5414         cursor by hand and reordering some calls. Use bv->lockInset instead
5415         of inset->edit because the latter loses cursor information
5416
5417 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
5418
5419         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5420         by Martin
5421         (rowBreakPoint): fix width. change point to point + 1.
5422         Add a missing check.
5423
5424 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
5425
5426         * MenuBackend.C:
5427         * lyxfunc.C: fix (at least partly) the problems
5428         with the Nav menu and headers inside branch insets
5429         reported by Kayvan
5430
5431 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
5432
5433         * paragraph.C (getChar): add strong asserts
5434
5435         * lyxrow_funcs.C (lastPos): remove hideous hack
5436
5437         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5438         (fill): adjust to that (avoid an infinite loop)
5439
5440 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5441
5442         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5443
5444 2003-10-23  André Pönitz  <poenitz@gmx.net>
5445
5446         * RowList_fwd.h: change list<> to vector<> to gain speed
5447         after suggestion from Alfredo
5448
5449 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5450
5451         * lyxtext.h: move the bidi stuff from here...
5452         * text.C: and here
5453         * text2.C: and here
5454         * Bidi.[Ch]: ... to here
5455
5456 2003-10-23  André Pönitz  <poenitz@gmx.net>
5457
5458         * lyxtext.h:
5459         * text.C (isLastRow, isFirstRow): new functions
5460
5461         * paragraph.h: new width cache member
5462
5463         * rowpainter.C: replace RowList::iterator with Row & where possible
5464
5465         * lyxfunc.C: replace several view()->text with a single call
5466
5467         * toc.C: fix 'unused' warning
5468
5469 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5470
5471         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5472         when woring with stream::pos_type
5473         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5474
5475 2003-10-22  André Pönitz  <poenitz@gmx.net>
5476
5477         * lyxtext.h:
5478         * text.C: use Row & instead of RowList::iterator
5479
5480         * lyxrow.h: rename end() to endpos()
5481
5482         * rowpainter.C:
5483         * text.C:
5484         * text2.C: adjust
5485
5486 2003-10-22  Angus Leeming  <leeming@lyx.org>
5487
5488         * buffer.[Ch] (fully_loaded): new member function, returning true
5489         only when the file has been loaded fully.
5490         Used to prevent the premature generation of previews and by the
5491         citation inset to prevent computation of the natbib-style label.
5492
5493         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5494         templates are all set up.
5495
5496         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5497
5498 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
5499
5500         * text.C: fixed an "oops" in the "is a bit silly"
5501         bug fix
5502
5503 2003-10-21  André Pönitz  <poenitz@gmx.net>
5504
5505         * FuncStatus.[Ch]: small stuff, whitespace
5506
5507         * lyxfont.[Ch]: operator<<() for debug reasons
5508
5509         * lyxfunc.C:
5510         * lyxrow_funcs.C:
5511         * lyxtext.h: whitespace, spelling
5512
5513         * paragraph.C: naming of variables
5514
5515         * text.C:
5516         * text2.C: small stuff
5517
5518
5519 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
5520
5521         * text.C: (1) finish off the inset display() work;
5522         (2) fix the "is a bit silly" bug (accessing char
5523         past end of par).
5524
5525 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
5526
5527         * text.C: re-introduce display() for insets, fixing the
5528         various bugs (stretch of line above, math inset
5529         positioning, ...)
5530
5531 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5532
5533         * text.C (rightMargin): remove spurious semicolon
5534
5535         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5536         1415)
5537
5538 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
5539
5540         * text3.C: fix one crash due to wrong cursor def
5541
5542 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5543
5544         * vc-backend.C (scanMaster): make the regex static
5545
5546         * LaTeX.C (scanAuxFile): make the regexs static
5547
5548         * text3.C (doInsertInset, dispatch, dispatch):
5549         * text2.C (cursorUp, cursorDown):
5550         * text.C (selectNextWordToSpellcheck):
5551         * BufferView_pimpl.C (dispatch):
5552         * lyxfunc.C (dispatch):  localDispatch -> dispatch
5553
5554 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5555
5556         * lyxsocket.C: include <cerrno>
5557
5558 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5559
5560         * lyxfunc.C (dispatch): remove textcache stuff
5561
5562         * bufferlist.C (release): remove textcache stuff
5563         (closeAll): ditto
5564
5565         * TextCache.C: delete file
5566         * TextCache.h: delete file
5567
5568         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5569
5570         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5571         delete of the bv_->text.
5572         (resizeCurrentBuffer): remove texcache stuff
5573         (workAreaResize): ditto
5574
5575 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5576
5577         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5578         action.
5579
5580 2003-10-16  André Pönitz  <poenitz@gmx.net>
5581
5582         * lyxrow.[Ch]:
5583         * paragraph.h:
5584         * rowpainter.C:
5585         * text.C:
5586         * text2.C:
5587         * text3.C: speed up by storing y positions per paragraph plus per-row
5588         offset instead of having a 'full' y position in the row.
5589
5590 2003-10-15  André Pönitz  <poenitz@gmx.net>
5591
5592         * iterators.[Ch]:
5593         * iterators.[Ch]:
5594         * undo.[Ch]: make undo aware of inner insets
5595
5596 2003-10-14  Angus Leeming  <leeming@lyx.org>
5597
5598         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5599         static member functions LyX::ref() and LyX::cref.
5600         (lastfiles): new accessor functions for the new lastfiles_ member var.
5601         (addLyXView, views_): add a new LyXView to the list of views_.
5602         (updateInset): loop over all LyXViews to call their own updateInset
5603         member function, returning a pointer to the Buffer owning the inset.
5604
5605         * BufferView_pimpl.C (loadLyXFile):
5606         * MenuBackend.C (expandLastfiles):
5607         * bufferlist.C (MenuWrite, QuitLyX):
5608         lastfiles is no longer a global variable.
5609         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5610
5611         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5612         static function. Access through LyX::cref().emergencyCleanup().
5613
5614 2003-10-14  André Pönitz  <poenitz@gmx.net>
5615
5616         * iterators.[Ch]: new direct access to innermost LyXText and Inset
5617
5618         * undo.[Ch]: restoring part of 'undo in insets'
5619
5620         * Makefile.am:
5621         * undo_funcs.[Ch]: merge with undo.[Ch]
5622
5623         * tabular.C: small cleansing stuff
5624
5625 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
5626
5627         * paragraph_funcs.C (readParToken): report unknown insets as error
5628         boxes. Use the outer paragraph as location (also for unknown
5629         tokens).
5630
5631         * factory.C (readInset): do not abort on reading an unknown inset.
5632         Eat it and return 0.
5633
5634 2003-10-13  Angus Leeming  <leeming@lyx.org>
5635
5636         * lyx_main.C (LyX): remove call to setDisplayTranslator().
5637
5638         * lyxrc.C: displayTranslator is now a function,
5639         declared in GraphicsTypes.h.
5640
5641 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5642
5643         * format.C: new placeholder $$a to pass the socket address.
5644
5645         * bufferlist.[Ch]: new function getBufferFromTmp.
5646
5647         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5648           files in the temporary dir.
5649
5650 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5651
5652         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5653
5654         * Makefile.am: add lyxsocket.[Ch].
5655
5656         * lyx_main.C (error_handler): handle SIGPIPE.
5657
5658 2003-10-13  André Pönitz  <poenitz@gmx.net>
5659
5660         * BufferView_pimpl.C:
5661         * lyxtext.h:
5662         * text.C:
5663         * text2.C:
5664         * text3.C:
5665         * undo_funcs.[Ch]: use paroffset_type instead of
5666           ParagraphList::iterators to prevent multiple conversion
5667           (and get a more robust interface)
5668
5669 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5670
5671         * lyxfunc.C (dispatch): RESULT -> dispatch_result
5672         * lyxtext.h: ditto
5673         * text3.C (dispatch): ditto
5674
5675 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5676
5677         * LaTeX.C (handleFoundFile): move the static to smaller scope,
5678         move the onlyfile, use onlyfile instead of foundfile in a couple
5679         of places.
5680
5681         * DepTable.C (update): flush the error stream a bit more
5682
5683 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5684
5685         * lyxserver.C (callback): adjust
5686
5687         * lyxfunc.C (getStatus): add a missing brace in commented code
5688         (ensureBufferClean): reindent
5689         (dispatch): delete version taking a string
5690
5691 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5692
5693         * LaTeX.C (deplog): move found file handlig from here...
5694         (handleFoundFile): .. to new function here.
5695         (deplog): make sure to discover several files mentioned on the
5696         same log line.
5697
5698 2003-10-10  André Pönitz  <poenitz@gmx.net>
5699
5700         * lyxfunc.C:
5701         * lyxtext.h:
5702         * tabular.C:
5703         * text.C:
5704         * text2.C:
5705         * text3.C: fix some of the tabular crashes
5706
5707 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5708
5709         * MenuBackend.C (binding): put debug message into Debug::KBMAP
5710
5711         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5712
5713 2003-10-09  André Pönitz  <poenitz@gmx.net>
5714
5715         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5716
5717         * BufferView.C:
5718         * BufferView_pimpl.C:
5719         * bufferview_funcs.C:
5720         * lyx_cb.C:
5721         * lyxcursor.C:
5722         * lyxfind.C:
5723         * lyxfunc.C:
5724         * lyxtext.h:
5725         * text.C:
5726         * text2.C:
5727         * text3.C:
5728         * text_funcs.[Ch]:
5729         * textcursor.[Ch]:
5730         * undo_funcs.C: adjust
5731
5732 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5733
5734         * text2.C (incrementItemDepth): new function, use a backtracking
5735         algorithm to discover the correct item depth.
5736         (resetEnumCounterIfNeeded): new function, use a backtracking
5737         algorithm to discover if counter reset is needed.
5738         (setCounter): use them. Simplify a bit. Add different labels for
5739         different item depths for itemize.
5740
5741         * paragraph.C (Paragraph): remove initialization of enumdepth
5742         (operator=): ditto
5743
5744         * paragraph.h: get rid of enumdepth, and use itemdepth both for
5745         enumerate and itemize. Change the type of itemdepth to signed char.
5746
5747 2003-10-08  André Pönitz  <poenitz@gmx.net>
5748
5749         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5750           thing assignable.
5751         * text.C:
5752         * text2.C: adjust
5753
5754         * tabular.[Ch]: fix crash after 'row-insert'
5755
5756 2003-10-08  Angus Leeming  <leeming@lyx.org>
5757
5758         Fix doxygen warnings.
5759
5760         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5761         Remove CutAndPaste:: prefix from header file declaration.
5762
5763         * LColor.h (fill): remove LColor:: prefix from declaration.
5764
5765         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5766         use lyx::depth_type rather than Paragraph::depth_type so that
5767         header file and .C file match.
5768
5769         * converter.h (intToFormat): remove Converters:: prefix from declaration.
5770
5771         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5772         * aspell.C: \file aspell_local.C -> \file aspell.C
5773         * gettext.C: \file gettext.C -> \file src/gettext.C
5774         * gettext.h: \file gettext.h -> \file src/gettext.h
5775         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5776         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5777         * text.C: \file text.C -> \file src/text.C
5778
5779         * toc.C: move comment so that doxygen is not confused.
5780
5781 2003-10-07  Angus Leeming  <leeming@lyx.org>
5782
5783         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5784
5785 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5786
5787         * aspell.C:
5788         * aspell_local.h: add forgotten std::string's.
5789
5790 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5791
5792         * LaTeXFeatures.C:
5793         * LyXAction.C:
5794         * factory.C:
5795         * lfuns.h:
5796         * lyxfunc.C:
5797         * text3.C: The Box patch. Fancybox support, minipage, parbox
5798
5799 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5800
5801         * CutAndPaste.h:
5802         * DepTable.h:
5803         * FloatList.h:
5804         * LaTeXFeatures.h:
5805         * ParagraphParameters.h:
5806         * TextCache.h:
5807         * Thesaurus.h:
5808         * bufferlist.h:
5809         * exporter.h:
5810         * importer.h:
5811         * lastfiles.h:
5812         * lyxfind.h:
5813         * lyxfont.h:
5814         * lyxlex.h:
5815         * lyxtextclasslist.h:
5816         * messages.h:
5817         * paragraph.h:
5818         * paragraph_pimpl.C:
5819         * textcursor.h: add <string> and other small fixes to make Lars'
5820         std::string patch compile with STLport.
5821
5822 2003-10-06  Angus Leeming  <leeming@lyx.org>
5823
5824         * LColor.h: Add missing #include <string>.
5825
5826 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5827
5828         * All most all file in all subdirs: Make <string> be the prefered
5829         way of getting to std::string, add using declarations.
5830
5831 2003-10-06  André Pönitz  <poenitz@gmx.net>
5832
5833         * metricsinfo.C: initialize LyXFont before changing attribute.
5834         (fixes the 'math in \emph is upright' bug)
5835
5836 2003-10-06  André Pönitz  <poenitz@gmx.net>
5837
5838         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5839
5840 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
5841
5842         * graph.C:
5843         * paragraph_pimpl.C: Small fixes to build using STLport
5844
5845 2003-10-02  André Pönitz  <poenitz@gmx.net>
5846
5847         * lyxfunc.C:
5848         * text3.C: move handling of LFUN_DEPTH *; fix #1360
5849
5850 2003-10-01  André Pönitz  <poenitz@gmx.net>
5851
5852         * factory.C: assert early
5853
5854 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5855
5856         * lyx_main.C: remove the global debug object
5857
5858         * debug.h: adjust for new debugstream
5859
5860         * debug.C: adjust for new debugstream and keep the global debug
5861         object here.
5862
5863 2003-09-22  Angus Leeming  <leeming@lyx.org>
5864
5865         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5866         of g++ which otherwise complain that the scoped_ptr destructor can't delete
5867         an incomplete class LyXFont.
5868
5869 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
5870
5871         * factory.C: bug fix in branches
5872
5873 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5874
5875         * lyxfunc.C (processKeySym): adjust
5876         (dispatch): adjust
5877         (dispatch): change arg name from ev to func, adjust
5878         (sendDispatchMessage): ditto
5879
5880         * lyx_main.C (defaultKeyBindings): adjust keybindings
5881         (deadKeyBindings): ditto
5882
5883         * kbsequence.C (addkey): return a FuncRequest
5884
5885         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5886
5887         * kbmap.C (bind): take a FuncRequest as arg, adjust
5888         (read): adjust
5889         (lookup): adjust
5890         (defkey): change to take a FuncRequest as arg, adjust
5891         (findbinding): take a FuncRequest as arg, adjust.
5892
5893         * funcrequest.h (operator=): added
5894
5895         * funcrequest.C (FuncRequest): default kb_action changed from
5896         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5897
5898         * buffer.C (dispatch): simplify
5899         (dispatch): adjust to take a FuncRequest as arg, adjust
5900
5901         * boost.C (assertion_failed): change assertion message slightly
5902
5903         * ToolbarBackend.C (read): simplify
5904
5905         * MenuBackend.C (binding): adjust call to findbinding, add a
5906         message if no binding is found.
5907         (read): simplify
5908         (expandToc): correct by adding a empty FuncRequest
5909
5910         * LyXAction.C: include <boost/assert.hpp>
5911         (isPseudoAction): delete function
5912         (LookupFunc): change name to...
5913         (lookupFunc): this. change return type to FuncRequest.
5914         (getActionName): take kb_action as arg, simplify
5915         (funcHasFlag): add an assert, simplify.
5916
5917 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5918
5919         * toc.C (action): return a FuncRequest, simplify
5920
5921         * lyxfunc.C (processKeySym): adjust
5922         (getStatus): delete version that takes an int.
5923         (getStatus): adjust
5924         (dispatch): delete version that takes action as int
5925         (dispatch): adjust
5926         (sendDispatchMessage): simplify and adjust
5927
5928         * funcrequest.C (getArg): take unsigned int as arg
5929
5930         * ToolbarBackend.C (read): adjust
5931         (add): delete version that takes func as a string.
5932         (getIton): take a FuncRequest as arg
5933
5934         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5935         action.
5936
5937         * MenuBackend.C (MenuItem): add a new construct that only takes a
5938         Kind, simplify the constructor use for submenus.
5939         (add): adjust
5940         (expandLastfiles): adjust
5941         (expandDocuments): adjust
5942         (expandFormats): adjust
5943         (expandFloatListInsert): adjust
5944         (expandFloatInsert): adjust
5945         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5946
5947         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5948         Remove class variables lyx_pseudo_map and lyx_arg_map
5949
5950         * LyXAction.C (searchActionArg): delete function
5951         (getPseudoAction): delete function
5952         (retrieveActionArg): delete function
5953         (LookupFunc): make it return kb_action, simplify.
5954         (getActionName): simplify
5955
5956         * factory.C (createInset): fix new bug
5957
5958 2003-09-19  Angus Leeming  <leeming@lyx.org>
5959
5960         * CutAndPaste.C (pasteSelection): remove fudge used to set the
5961         masterFilename_ parameter in the include inset.
5962
5963         * factory.C (createInset): changes due to the changes to InsetInclude.
5964
5965 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5966
5967         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5968
5969 2003-09-18  Angus Leeming  <leeming@lyx.org>
5970
5971         * buffer.C:
5972         * BufferView.C: pass the buffer when calling Inset::getLabelList,
5973         Inset::fillWithBibKeys.
5974         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5975
5976 2003-09-18  Angus Leeming  <leeming@lyx.org>
5977
5978         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5979         variables.
5980         (ctor): pass and store a 'Buffer const &'
5981         (buffer): new member function.
5982
5983         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5984         '*this' to the LaTeXFeatures ctor.
5985
5986 2003-09-18  Angus Leeming  <leeming@lyx.org>
5987
5988         * LColor.h:
5989         * lyxfont.C:
5990         * lyxfont.h:
5991         * lyxtext.h:
5992         * text.C: rename EnumLColor as LColor_color.
5993
5994 2003-09-18  Angus Leeming  <leeming@lyx.org>
5995
5996         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5997         remove #include "insets/insetbase.h" from cursor.h.
5998
5999 2003-09-18  Angus Leeming  <leeming@lyx.org>
6000
6001         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
6002         InsetOld_code to remove #include "inset.h".
6003
6004         * iterators.C: add #include "insets/inset.h"
6005
6006 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
6007
6008         * BufferView.C: remove more locking stuff that apparently doesn't
6009         do anything sensible.
6010
6011 2003-09-16  André Pönitz  <poenitz@gmx.net>
6012
6013         * paragraph.[Ch]:
6014         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
6015           performance boost.
6016
6017 2003-09-16  Angus Leeming  <leeming@lyx.org>
6018
6019         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
6020
6021         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
6022         arg/return type.
6023
6024         * paragraph.h: remove #include "lyxfont.h". Forward declare
6025         LyXFont_size.
6026
6027 2003-09-16  Angus Leeming  <leeming@lyx.org>
6028
6029         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
6030         of support/textutils.h.
6031         (isWord): move the contents of support/textutils.h's IsWordChar here.
6032
6033         * buffer.C:
6034         * lyxfind.C:
6035         * rowpainter.C:
6036         * text.C:
6037         * text2.C: add #include "paragraph.h".
6038
6039         * rowpainter.C:
6040         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
6041
6042 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6043
6044         * main.C:
6045         * lyx_main.C:
6046         * lyx_cb.C:
6047         * buffer.C:
6048         * LaTeX.C: use namespace alias for lyx::support::os
6049
6050 2003-09-16  Angus Leeming  <leeming@lyx.org>
6051
6052         * bufferparams.C:
6053         * bufferview_funcs.C:
6054         * factory.C:
6055         * lyxfunc.C:
6056         * paragraph_pimpl.C:
6057         * rowpainter.C:
6058         * text.C: add #include "LColor.h".
6059
6060 2003-09-16  Angus Leeming  <leeming@lyx.org>
6061
6062         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
6063         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
6064         return LyXFont &.
6065         Store the FontBits::color variable as an int rather than as an
6066         LColor::colorso that we can move LColor.h out of the lyxfont.h header
6067         file.
6068
6069         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
6070         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
6071         string calls together.
6072
6073         * lyxrc.C: add #include "LColor.h".
6074
6075 2003-09-15  Angus Leeming  <leeming@lyx.org>
6076
6077         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
6078         a cow_ptr.
6079
6080 2003-09-15  Angus Leeming  <leeming@lyx.org>
6081
6082         * LColor.h: add an EnumLColor wrapper for LColor::color.
6083
6084         * lyxfont.[Ch] (color, setColor, realColor):
6085         * lyxtext.h, text.C (backgroundColor):
6086         pass EnumLColor args to/from the functions, rather than LColor::color
6087         ones.
6088
6089         * lyxfont.h:
6090         * lyxtext.h: forward declare EnumLColor.
6091
6092         * lyx_main.C: add #include "LColor.h".
6093
6094 2003-09-15  Angus Leeming  <leeming@lyx.org>
6095
6096         * .cvsignore: add lyx-gtk.
6097
6098 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6099
6100         * Chktex.C
6101         * LaTeX.C
6102         * LaTeXFeatures.C
6103         * ParagraphParameters.C
6104         * Spacing.C
6105         * buffer.C
6106         * bufferparams.C
6107         * bufferview_funcs.C
6108         * chset.C
6109         * counters.C
6110         * funcrequest.C
6111         * lyxfont.C
6112         * lyxgluelength.C
6113         * lyxlength.C
6114         * paragraph.C
6115         * paragraph_funcs.C
6116         * text3.C
6117         * vc-backend.C: remove usage of STRCONV
6118
6119 2003-09-15  Angus Leeming  <leeming@lyx.org>
6120
6121         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
6122         explicitly define the color passed to the painter.
6123
6124 2003-09-15  Angus Leeming  <leeming@lyx.org>
6125
6126         * bufferparams.C (BufferParams): reorder member initializers to avoid
6127         compiler warning.
6128
6129 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
6130
6131         * CutAndPaste.C (pasteSelection): remove an outdated #warning
6132         * text.C (updateRowPositions): remove an unusual nop
6133
6134 2003-09-12  André Pönitz  <poenitz@gmx.net>
6135
6136         * BufferView_pimpl.C:
6137         * Bullet.C:
6138         * layout.h:
6139         * lyxfunc.C:
6140         * lyxlayout.[Ch]:
6141         * lyxtextclass.C:
6142         * rowpainter.C:
6143         * text.C:
6144         * text2.C:
6145         * Counters.[Ch]: finish the 'automatic counters' job
6146
6147 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6148
6149         * aspell.C: include <boost/assert.cpp> (compile fix)
6150
6151 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
6152
6153         * boost.C (assertion_failed): use lyx::support::abort instead of
6154         assert.
6155
6156 2003-09-10  Angus Leeming  <leeming@lyx.org>
6157
6158         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
6159         with their _fwd progeny.
6160
6161 2003-09-09  Angus Leeming  <leeming@lyx.org>
6162
6163         134 files throughtout the source tree: replace 'using namespace abc;'
6164         directives with the appropriate 'using abc::xyz;' declarations.
6165
6166 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
6167
6168         * boost.C (emergencyCleanup): moved here from LAssert.c
6169         (assertion_failed): new function, called by BOOST_ASSERT
6170
6171         * several files: change Assert to BOOST_ASSERT
6172
6173 2003-09-09  Angus Leeming  <leeming@lyx.org>
6174
6175         * buffer.[Ch]: Add an Impl class and move Buffer's member
6176         variables into it. As a result move several header files out of
6177         buffer.h.
6178
6179         Add header files to lots of .C files all over the tree as a result.
6180
6181 2003-09-09  Angus Leeming  <leeming@lyx.org>
6182
6183         * buffer.[Ch]: make Buffer's member variables private. Add
6184         accessor functions.
6185
6186         Lots of changes all over the tree as a result.
6187
6188 2003-09-08  Angus Leeming  <leeming@lyx.org>
6189
6190         * graph.C: #include <config.h>.
6191
6192 2003-09-08  Angus Leeming  <leeming@lyx.org>
6193
6194         * BranchList.C:
6195         * BufferView.C:
6196         * BufferView_pimpl.C:
6197         * CutAndPaste.C:
6198         * DepTable.C:
6199         * LaTeX.C:
6200         * LaTeXFeatures.C:
6201         * LyXAction.C:
6202         * MenuBackend.C:
6203         * TextCache.C:
6204         * aspell.C:
6205         * buffer.C:
6206         * bufferlist.C:
6207         * changes.C:
6208         * chset.C:
6209         * converter.C:
6210         * counters.C:
6211         * debug.C:
6212         * graph.C:
6213         * ispell.C:
6214         * lyx_cb.C:
6215         * lyxfind.C:
6216         * lyxfunc.C:
6217         * lyxlex_pimpl.C:
6218         * lyxrc.C:
6219         * lyxrow.C:
6220         * paragraph.C:
6221         * rowpainter.C:
6222         * texrow.C:
6223         * text.C:
6224         * text2.C:
6225         * toc.C: remove redundant using directives.
6226
6227 2003-09-07  Angus Leeming  <leeming@lyx.org>
6228
6229         * LaTeXFeatures.h: remove #include "support/types.h".
6230         * ToolbarBackend.h: remove #include <algorithm>.
6231         * changes.h: remove #include <ctime>.
6232         * debug.h: remove #include <iosfwd>.
6233         * graph.h: remove #include "support/std_string.h".
6234         * lyx_main.h: remove #include <csignal>.
6235         * lyxlex_pimpl.h: remove #include <fstream>.
6236         * sgml.h: remove #include <algorithm>, <utility>.
6237         * toc.h: remove #include "support/std_ostream.h".
6238         Add #include <iosfwd>.
6239
6240 2003-09-07  Angus Leeming  <leeming@lyx.org>
6241
6242         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
6243
6244         * converter.h: forward declare LatexRunParams.
6245         * encoding.h: remove #include "lyxrc.h".
6246         * lyxtext.h: remove #include "LColor.h".
6247         * lyxtextclass.h: remove #include "support/types.h".
6248         * trans.h: remove #include "tex-accent.h".
6249         * trans_mgr.h: remove #include "tex-accent.h".
6250         * insets/inset.h: remove #include "support/types.h", <vector>.
6251         * insets/insetcollapsable.h: remove #include "LColor.h".
6252         * insets/insetinclude.h: remove #include "dimension.h".
6253         * insets/insetlatexaccent.h: remove #include "dimension.h".
6254         * insets/insetoptarg.h:: remove #include "insettext.h".
6255         * insets/insettext.h: remove #include "dimension.h",
6256         <boost/shared_ptr.hpp>
6257
6258         * insets/renderers.h: add #include "dimension.h".
6259         * insets/updatableinset.h: add #include "support/types.h".
6260
6261         * many .C files: Associated changes.
6262
6263 2003-09-06  Angus Leeming  <leeming@lyx.org>
6264
6265         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
6266         one, inside testInvariant.
6267
6268         * PrinterParams.C: new file.
6269         * PrinterParams.[Ch]: move the function bodies out of line.
6270
6271 2003-09-06  Angus Leeming  <leeming@lyx.org>
6272
6273         * ParagraphParameters.h: forward declare ParameterStruct rather than
6274         including its header file.
6275         (depth): moved out-of-line.
6276
6277 2003-09-06  Angus Leeming  <leeming@lyx.org>
6278
6279         * BufferView_pimpl.h:
6280         * kbmap.h:
6281         * kbsequence.h:
6282         * lyxfunc.h: forward declare LyXKeySym rather than
6283         #include "frontends/LyXKeySym.h".
6284
6285         * BufferView_pimpl.C:
6286         * kbmap.C:
6287         * kbsequence.C:
6288         * lyxfunc.C: associated changes.
6289
6290 2003-09-06  Angus Leeming  <leeming@lyx.org>
6291
6292         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6293         As a result, can remove the #include "insets/inset.h" from BufferView.h
6294
6295 2003-09-06  Angus Leeming  <leeming@lyx.org>
6296
6297         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6298         As a result, can remove the #include "insets/inset.h" from BufferView.h
6299
6300 2003-09-06  Angus Leeming  <leeming@lyx.org>
6301
6302         * buffer_funcs.C:
6303         * buffer.h:
6304         * bufferlist.C:
6305         * BufferView.C:
6306         * bufferview_funcs.C:
6307         * BufferView_pimpl.C:
6308         * CutAndPaste.C:
6309         * lyx_cb.C:
6310         * lyxfunc.C:
6311         * paragraph.h:
6312         * ParagraphParameters.C:
6313         * tabular.C:
6314         * text3.C:
6315         * toc.C:
6316         * undo_funcs.C:
6317         * frontends/controllers/ControlDocument.C:
6318         * insets/insetcaption.C: rearrange the #includes into some sort of
6319         coherent order.
6320
6321         * buffer.h: remove #includes ErrorList.h, undo.h
6322
6323 2003-09-06  Angus Leeming  <leeming@lyx.org>
6324
6325         * support/types.h: add a 'depth_type' typedef, used to store the
6326         nesting depth of a paragraph.
6327
6328         * paragraph.h:
6329         * ParameterStruct.h: use this lyx::depth_type typedef rather than
6330         defining explicitly.
6331
6332         * buffer.h:
6333         * paragraph_funcs.h:
6334         * ParagraphParameters.h:
6335         * sgml.h: use lyx::depth_type rather than Paragraph or
6336         ParameterStruct's depth_type.
6337
6338         * buffer.h
6339         * paragraph_funcs.h: no need to #include paragraph.h anymore.
6340
6341         * BufferView.C:
6342         * BufferView_pimpl.C:
6343         * CutAndPaste.C:
6344         * ParagraphParameters.C:
6345         * buffer_funcs.C:
6346         * bufferlist.C:
6347         * bufferview_funcs.C:
6348         * lyx_cb.C:
6349         * lyxfunc.C:
6350         * tabular.C:
6351         * text3.C:
6352         * toc.C:
6353         * undo_funcs.C:
6354         * frontends/LyXView.C:
6355         * frontends/controllers/ControlDocument.C:
6356         * frontends/controllers/ControlErrorList.C:
6357         * insets/insetbibitem.C:
6358         * insets/insetbranch.C:
6359         * insets/insetcaption.C:
6360         * insets/insetcollapsable.C:
6361         * insets/insetenv.C:
6362         * insets/insetert.C:
6363         * insets/insetfloat.C:
6364         * insets/insetfoot.C:
6365         * insets/insetfootlike.C:
6366         * insets/insetnewline.C:
6367         * insets/insetquotes.C:
6368         * insets/insettabular.C:
6369         * insets/insettext.C:
6370         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
6371
6372         * frontends/controllers/ControlChanges.C: #include "changes.h".
6373
6374 2003-09-06  Angus Leeming  <leeming@lyx.org>
6375
6376         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
6377         than #including paragraph.h.
6378
6379         * ParagraphList.h:
6380         * RowList.h: deleted. Superfluous.
6381
6382         * CutAndPaste.h:
6383         * iterators.h:
6384         * lyxcursor.h:
6385         * lyxtext.h:
6386         * text_funcs.h:
6387         * undo.h:
6388         * undo_funcs.h:
6389         * insets/inset.h:
6390         * insets/insettext.h: use ParagraphList_fwd.h rather than
6391         ParagraphList.h.
6392
6393         * paragraph.h: don't forward declare ParagraphList.
6394
6395         * buffer.h:
6396         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
6397         rather than ParagraphList.h. paragraph.h is still needed for the
6398         Paragraph::depth_type parameters.
6399
6400         * textcursor.h: enable it to compile stand-alone in light of the
6401         above changes.
6402
6403         * bufferview_funcs.C:
6404         * iterators.C:
6405         * lyxfunc.C:
6406         * lyxrow_funcs.C:
6407         * paragraph.C:
6408         * rowpainter.C:
6409         * text.C:
6410         * text2.C:
6411         * text3.C:
6412         * text_funcs.C:
6413         * textcursor.C:
6414         * undo.C:
6415         * frontends/controllers/ControlParagraph.C:
6416         * frontends/controllers/ControlTabular.C:
6417         * insets/insetmarginal.C:
6418         * insets/insetminipage.C:
6419         * insets/insetnote.C:
6420         * insets/insetoptarg.C: add header files needed to compile again.
6421
6422 2003-09-06  Angus Leeming  <leeming@lyx.org>
6423
6424         * RowList_fwd.h: new file, forward-declaring Row rather than
6425         #including lyxrow.h.
6426
6427         * lyxrow_funcs.h:
6428         * lyxtext.h:
6429         * paragraph.h:
6430         * insets/insettext.h: use it instead of RowList.h
6431
6432         * bufferview_funcs.C:
6433         * lyxfunc.C:
6434         * lyxrow_funcs.C:
6435         * paragraph.C:
6436         * rowpainter.C:
6437         * text.C:
6438         * text2.C:
6439         * text3.C: #include "RowList.h".
6440
6441 2003-09-05  Angus Leeming  <leeming@lyx.org>
6442
6443         * factory.C (createInset):
6444         * vspace.C (c-tor): replace sscanf call with an istringstream.
6445         * ispell.C: re-add missing HP/UX headers.
6446         * lyxserver.C: re-add missing  os2 headers.
6447
6448 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
6449
6450         * BranchList.C:
6451         * graph.C:
6452         * ispell.C:
6453         * lastfiles.C:
6454         * lyx_cb.C:
6455         * lyxserver.C:
6456         * texrow.C:
6457         * text3.C: re-add missing system headers, needed for 2.95.2.
6458
6459 2003-09-05  Angus Leeming  <leeming@lyx.org>
6460
6461         Changes most place everywhere due to the removal of using directives
6462         from support/std_sstream.h.
6463
6464 2003-09-05  Angus Leeming  <leeming@lyx.org>
6465
6466         Replace LString.h with support/std_string.h,
6467         Lsstream.h with support/std_sstream.h,
6468         support/LIstream.h with support/std_istream.h,
6469         support/LOstream.h with support/std_ostream.h.
6470
6471         Changes resulting throughout the tree.
6472
6473 2003-09-05  Angus Leeming  <leeming@lyx.org>
6474
6475         * sgml.h: ensure that the header file can be compiled stand-alone.
6476         * *.C: strip out redundant #includes. (320 in total.)
6477
6478 2003-09-04  Angus Leeming  <leeming@lyx.org>
6479
6480         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6481         here (from getPackages).
6482
6483         * debug.[Ch]: add a new EXTERNAL tag.
6484
6485 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6486
6487         * text2.C (cursorEnd): simplify
6488         (setCursor): adjust
6489         (getColumnNearX): adjust
6490
6491         * text.C (computeBidiTables): adjust
6492         (fill): adjust
6493
6494         * rowpainter.C (paintChars): adjust
6495         (paintSelection): adjust
6496         (paintChangeBar): adjust
6497         (paintText): adjust
6498
6499         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6500         lastPos instead.
6501         (numberOfSeparators): adjust
6502
6503 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6504
6505         * LyXAction.C:
6506         * box.[Ch]:
6507         * lfuns.h:
6508         * lyxfunc.C:
6509         * text3.C: Restricts the mouse click functionality
6510         of insets like bibtex, include, toc and floatlist to the visible
6511         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6512         up the dialogs. Cursor has to be in front of the inset (i.e.
6513         start of row) for this to function.
6514
6515 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6516
6517         * bufferview_funcs.C (currentState): output row information
6518
6519 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6520
6521         * bufferview_funcs.C (currentState): output paragraph position
6522
6523 2003-09-04  Angus Leeming  <leeming@lyx.org>
6524
6525         * FloatList.h: move out #include "Floating.h".
6526         * LaTeX.h: move out #include "DepTable.h".
6527         * LyXAction.h: move out #include "funcrequest.h".
6528         * buffer.h: move out #include "author.h", "iterators.h".
6529         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6530         * lyx_main.h: move out #include "errorlist.h".
6531         * lyxfunc.h: move out #include "FuncStatus.h".
6532         * lyxtext: move out #include "lyxcursor.h".
6533         * paragraph_pimpl.h: move out #include "counters.h".
6534
6535 2003-09-03  Angus Leeming  <leeming@lyx.org>
6536
6537         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6538         preamble_snippets list, enabling us to add snippets to the preamble
6539         only if the snippet was not there already.
6540
6541 2003-09-04  Angus Leeming  <leeming@lyx.org>
6542
6543         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6544
6545 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6546
6547         * lyxfunc.C (dispatch): if fitCursor did something be sure to
6548         update
6549
6550 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6551
6552         * BranchList.C: point fix, earlier forgotten
6553
6554 2003-09-02  Angus Leeming  <leeming@lyx.org>
6555
6556         * box.C (contains): renamed from 'contained' after a fantastic
6557         amount of hot air.
6558
6559 2003-09-02  John Levon  <levon@movementarian.org>
6560
6561         * BufferView.C:
6562         * lyxcursor.h:
6563         * lyxcursor.C:
6564         * lyxfunc.C:
6565         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6566
6567 2003-09-02  John Levon  <levon@movementarian.org>
6568
6569         * text2.C: simplification of cursorEnd(), including partial
6570         fix for bug 1376
6571
6572 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6573
6574         * buffer.C (readFile): add a space
6575
6576 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
6577
6578         * BufferView_pimpl.C (update): remove bogus fitCursor() call
6579
6580 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6581
6582         * buffer.C (readFile): new function, take a filename and a
6583         ParagraphList::iterator
6584         (readFile): adjust
6585         (readFile): adjust, make it private. don't use setStream, make
6586         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6587         always contain the filename.
6588
6589         * BufferView.C (insertLyXFile): simplify and make it work for
6590         gzipped files.
6591
6592 2003-08-30  John Levon  <levon@movementarian.org>
6593
6594         * Makefile.am: fix dist (from Kayvan)
6595
6596 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6597
6598         * most files: change to use const Buffer refs
6599
6600 2003-08-27  André Pönitz  <poenitz@gmx.net>
6601
6602         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6603         on top of ownerPar().
6604
6605 2003-08-27  John Levon  <levon@movementarian.org>
6606
6607         * funcrequest.C: properly initialise POD members
6608
6609 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6610
6611         * lyxtext.h (top_y): move top_y from here
6612         * text.C:
6613         * text2.C:
6614         * text3.C:
6615         * BufferView.[Ch]:
6616         * BufferView_pimpl.[Ch]: to here
6617         * frontends/screen.C:
6618         * insets/insettabular.C:
6619         * insets/insettext.C: adjust
6620         * rowpainter.[Ch] (paintRows): remove LyXText & argument
6621
6622 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6623
6624         * BufferView.[Ch]:
6625         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6626
6627 2003-08-26  André Pönitz  <poenitz@gmx.net>
6628
6629         * paragraph_func.[Ch] (outerPar): new function
6630
6631         * paragraph.C:
6632         * paragraph_funcs.C:
6633         * paragraph_funcs.h:
6634         * paragraph_pimpl.C:
6635         * text2.C: remove Inset::par_owner
6636
6637 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
6638
6639         * lyxrow_funcs.C:
6640         * lyxtext.h:
6641         * text.C:
6642         * text2.C: eliminates the needFullRow/display() stuff
6643         altogether, putting the logic in metrics/draw in the insets.
6644
6645 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
6646
6647         * text2.C (redoParagraphInternal, redoParagraphs):
6648         * text.C (redoParagraph): add a call to updateRowPositions at the
6649         end of each 'metrics-like' call. Remove all others.
6650         (getRow): remove the 'y-computing' version.
6651         (getRowNearY): do not compute nor return the real y. Solve the
6652         'y < 0' problem and simplify.
6653
6654 2003-08-22  Angus Leeming  <leeming@lyx.org>
6655
6656         * *.[Ch]: clean-up of licence and author blurbs.
6657         Also move config.h out of a few .h files and into a few .C files.
6658
6659 2003-08-22  André Pönitz  <poenitz@gmx.net>
6660
6661         * lyxrow.[Ch]: add x_ and *fill_ members
6662
6663         * lyxtext.h:
6664         * text.C:
6665         * rowpainter.C:
6666         * text2.C: adjust/remove prepareToPrint() calls
6667
6668 2003-08-22  André Pönitz  <poenitz@gmx.net>
6669
6670         * lyxrow.[Ch]: add  end_ member
6671
6672         * lyxrow_funcs.C: use LyXRow::end_
6673
6674         * lyxtext.h (singleWidth): add LyXFont parameter
6675
6676         * rowpainter.C:
6677         * text2.C: adjust LyXText::singleWidth() calls
6678
6679         * text.C (redoParagraph): simplify row breaking logic
6680
6681
6682 2003-08-19  André Pönitz  <poenitz@gmx.net>
6683
6684         * funcrequest.C: initialize button_ member
6685
6686         * text3.C:
6687         * rowpainter.[Ch]: interface consolidation
6688
6689 2003-08-18  André Pönitz  <poenitz@gmx.net>
6690
6691         * BufferView.C:
6692         * BufferView_pimpl.C:
6693         * lyxfind.C:
6694         * paragraph_funcs.C:
6695         * rowpainter.C:
6696         * text3.C: remove LyXScreen::draw() and fitCursor calls
6697
6698         * BranchList.h: remove spurious semicolons
6699
6700         * MenuBackend.C: fix branchlist related crash
6701
6702 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
6703
6704         * BranchList.[Ch]:
6705         * InsetList.[Ch]:
6706         * LColor.[Ch]:
6707         * LyXAction.C:
6708         * Makefile.am:
6709         * MenuBackend.[Ch]:
6710         * bufferparams.[Ch]:
6711         * factory.C:
6712         * lfuns.h:
6713         * lyxfunc.C:
6714         * text3.C: implements the 'branch inset'
6715         idea. This allows the output of various versions of a document
6716         from a single source version, selectively outputing or suppressing
6717         output of parts of the text.
6718         This implementation contains a 'branch list editor' in a separate
6719         tab of the document settings dialog. Branches are user definable
6720         and have a "display colour" to distinguish them on-screen.
6721
6722         ColorHandler was somewhat cleaned up.
6723         (1) make possible a dynamically growing LColor list by allowing
6724         the graphic context cache to grow along (vector);
6725         (2) eliminate an IMHO unnecessary step in colour allocation.
6726
6727 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
6728
6729         * BufferView_pimpl.C: compile fix
6730
6731 2003-08-15  André Pönitz  <poenitz@gmx.net>
6732
6733         * rowpainter.C: remove extra metrics calls
6734
6735         * lyxtext.h: merge the two constructors into a single one,
6736           pass reference to owner's par list
6737
6738         * BufferView_pimpl.C:
6739         * text.C:
6740         * text2.C: adjust
6741
6742 2003-08-15  André Pönitz  <poenitz@gmx.net>
6743
6744         * lyxrow_funcs.[Ch]:
6745         * lyxtext.h:
6746         * paragraph.h:
6747         * paragraph_funcs.C:
6748         * rowpainter.C:
6749         * text.C:
6750         * text2.C:
6751         * text3.C:
6752         * text_funcs.C: split LyXText::rowlist_ into individual
6753         Paragraph::rows_ chunks
6754
6755         * BufferView.[Ch]:
6756         * BufferView_pimpl.[Ch]:
6757         * lyxfind.C:
6758         * lyxtext.h:
6759         * text3.C: remove toggleSelection()
6760
6761 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
6762
6763         * bufferlist.C: beautify two alerts (shorter text of buttons)
6764         * buffer.C: Remove redundant ' ' from message
6765         * tabular.h:
6766         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6767         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6768         rename VALIGN_CENTER to VALIGN_MIDDLE
6769
6770 2003-08-11  André Pönitz  <poenitz@gmx.net>
6771
6772         * lyxtext.h (getPar):
6773         * text.C: new function
6774
6775 2003-08-11  André Pönitz  <poenitz@gmx.net>
6776
6777         * Makefile.am:
6778         * tracer.[Ch]: remove unneeded files
6779
6780         * InsetList.[Ch]: remove resizeInsetsLyXText()
6781
6782         * lyxtext.h:
6783         * text.C:
6784         * text2.C:
6785         * text3.C: merge insertParagraphs() and appendParagraph()
6786         remove breakAgain(), update()
6787
6788         * BufferView_pimpl.[Ch]:
6789         * bufferview_funcs.[Ch]:
6790         * lyxfunc.C:
6791         * paragraph.[Ch]:
6792         * rowpainter.C:
6793         * tabular.C: adjust after text & InsetList changes.
6794
6795 2003-08-08  André Pönitz  <poenitz@gmx.net>
6796
6797         * text.C (insertChar, backspace): replace rowlist fiddling
6798         with rebreak of full par
6799
6800         * lyxtext.h:
6801         * text.C (breakAgainOneRow, redoHeightOfParagraph,
6802         checkParagraph, updateInset): removed
6803
6804 2003-08-07  André Pönitz  <poenitz@gmx.net>
6805
6806         * paragraph.C:
6807         * text3.C: merge some LFUN handlers, remove dead code
6808
6809 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6810
6811         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6812
6813 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
6814
6815         * text2.C (DEPM): fix part of bug 1255 and 1256
6816
6817 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6818
6819         * BufferView_pimpl.C (workAreaDispatch): change to use
6820         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6821         that are no mouse related.
6822
6823 2003-08-05  André Pönitz  <poenitz@gmx.net>
6824
6825         * BufferView.[Ch]:
6826         * BufferView_pimpl.[Ch]:
6827         * bufferview_funcs.C:
6828         * text2.C:
6829         * text3.C: rip out "deep update"
6830
6831         * textcursor.[Ch] (last_sel_cursor): remove unused member
6832
6833 2003-08-04  André Pönitz  <poenitz@gmx.net>
6834
6835         * BufferView.[Ch]:
6836         * BufferView_pimpl.[Ch]:
6837         * ParagraphParameters.C:
6838         * bufferview_funcs.C:
6839         * lyx_cb.C:
6840         * lyxfind.C:
6841         * lyxfunc.C:
6842         * text.C:
6843         * text2.C:
6844         * text3.C: replace "complicated" BufferView::update(...) calls with
6845         simpler ones.
6846
6847         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6848
6849 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
6850
6851         * Makefile.am (lyx_SOURCES): add paper.h
6852
6853 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6854
6855         * Makefile.am: move things around so that both lyx-qt and
6856         lyx-xforms can be built (according to --with-frontend). Then lyx
6857         is a symbolic link to lyx-[firstfrontend]
6858
6859 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
6860
6861         * Always use std::endl with lyxerr
6862
6863 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
6864
6865         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6866
6867 2003-08-01  André Pönitz  <poenitz@gmx.net>
6868
6869         * BufferView.[Ch]:
6870         * BufferView_pimpl.[Ch]:
6871         * lyxfunc.C:
6872         * text3.C: merge BufferView::repaint() and BufferView::update()
6873
6874 2003-08-01  José Matos  <jamatos@lyx.org>
6875
6876         * buffer.[Ch]: file_format is no longer a buffer data element.
6877
6878 2003-08-01  André Pönitz  <poenitz@gmx.net>
6879
6880         * BufferView.C:
6881         * lyxtext.h:
6882         * text.C:
6883         * text2.C: make redoParagraph more independent of current cursor
6884
6885         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6886         * text.C:
6887         * text2.C: remove unneeded members
6888
6889 2003-07-30  André Pönitz  <poenitz@gmx.net>
6890
6891         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6892
6893         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6894           create a single function...
6895
6896         * paragraph_funcs.C (moveItem): ... here.
6897
6898         * text.C:
6899           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6900
6901 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
6902
6903         * LColor.[Ch]: Add comment and greyedout logical colors.
6904
6905 2003-07-30  André Pönitz  <poenitz@gmx.net>
6906
6907         * tabular.C: don't use Assert too heavily. This crashes where it
6908           shouldn't
6909
6910 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
6911
6912         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6913         is disabled (bug 1232)
6914
6915 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6916
6917         * factory.C: limited 'arg' scope
6918
6919 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6920
6921         * factory.C: fixed Note submenu issues
6922
6923 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6924
6925         * factory.C: submenu for Note/Comment/Greyedout
6926
6927 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
6928
6929         * lyx_main.C (LyX):
6930         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6931
6932 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
6933
6934         * LaTeXFeatures.C:
6935         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6936         greyedout. Patch provided by Jürgen Spitzmüller.
6937
6938 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6939
6940         * kbmap.C (read): fix error message when reading bind files
6941
6942 2003-07-29  Angus Leeming  <leeming@lyx.org>
6943
6944         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6945         certainly does not do what it purports to do. I am doing it, and
6946         us, a favour by killing it.
6947
6948 2003-07-28  José Matos  <jamatos@lyx.org>
6949
6950         * buffer.C (readBody, do_writeFile):
6951         * paragraph.C(readParagraph): \end_document replaces \the_end.
6952
6953 2003-07-29  André Pönitz  <poenitz@gmx.net>
6954
6955         * BufferView.[Ch]:
6956         * BufferView_pimpl.[Ch]:
6957         * lyxfunc.C:
6958         * text2.C:
6959         * text3.C:
6960         * textcursor.[Ch]: remove toggleToggle & Co
6961
6962 2003-07-28  José Matos  <jamatos@fep.up.pt>
6963
6964         * buffer.C (readParagraph):
6965         * params_func (readParToken, readParagraph):
6966         * paragraph.C (write): \layout -> \begin_layout.
6967
6968 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6969
6970         * lyxlex_pimpl.C (setFile): clean up slightly.
6971
6972         * bufferparams.h: add compressed var
6973
6974         * buffer_funcs.C (readFile): adjust for LyXLex change
6975         (newFile): ditto + simplify
6976
6977         * buffer.C (writeFile): handle writing of compressed files
6978
6979         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6980         Check if the file is compressed and set a bufferparm if so.
6981
6982         * Makefile.am (lyx_LDADD): remove explicit -lz
6983
6984 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6985
6986         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6987         makeDocBookFile): put the real LyX version in the first line of
6988         the file
6989
6990         * version.h:
6991         * version.C.in: remove lyx_docversion
6992
6993         * tabular.C (write_attribute): add a template-based version to
6994         write enums properly
6995
6996 2003-07-28  André Pönitz  <poenitz@gmx.net>
6997
6998         * lyxtext.h:
6999         * text.C:
7000         * text2.C:
7001         * text3.C: use doubles again for x-coordinates. They are needed.
7002
7003 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7004
7005         * messages.C (getLocaleDir): use lyx_localedir()
7006
7007         * lyxlex_pimpl.C (setFile): compress stuff
7008
7009         * buffer.C (writeFile): add some compression stuff
7010         (do_writeFile): new func, dont call expliti close... will this
7011         breake anything?
7012
7013         * Makefile.am (lyx_LDADD): add -lz
7014
7015 2003-07-28  José Matos  <jamatos@fep.up.pt>
7016
7017         * buffer.C: increment file format.
7018         * paragraph_funcs (readParagraph, readParToken):
7019         * paragraph.C (readParagraph): add \end_layout.
7020
7021 2003-07-27  Angus Leeming  <leeming@lyx.org>
7022
7023         * Makefile.am: remove special casing for configure-time setting of
7024         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
7025
7026         * lyx_main.C (init): remove all Jean-Marc's magic setting of
7027         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
7028
7029 2003-07-26  André Pönitz  <poenitz@gmx.net>
7030
7031         * paragraph_func.[Ch]:
7032         * paragraph.C (realizeFont): inline it whereever it is used
7033
7034         * rowpainter.C:
7035         * text.C:
7036         * text2.C:
7037         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
7038
7039
7040 2003-07-26  André Pönitz  <poenitz@gmx.net>
7041
7042         *       lyxtext.h:
7043         * text.C:
7044         * text2.C: get rid of LyXText::need_break_row
7045
7046 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7047
7048         * toc.[Ch]: put namespace toc inside namespace lyx
7049
7050         * MenuBackend.C (expandToc2): adjust for lyx::toc
7051         (expandToc): ditto
7052
7053         * lyxfunc.C (dispatch): adjust for lyx::find
7054
7055         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
7056         lyx::find instead. Reorganize a bit.
7057         (LyXReplace): rename to replace
7058         (LyXFind): rename to find
7059
7060         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
7061         (dispatch): ditto
7062
7063 2003-07-26  André Pönitz  <poenitz@gmx.net>
7064
7065         * text.C (setHeightOfRow): restrict scope of temporary variable
7066
7067         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
7068           code (never has been used?)
7069
7070 2003-07-27  Asger Alstrup  <alstrup@local>
7071
7072         * text.C (fill): Optimise algorithm to exploit that we can reuse
7073         the LyXFont for many characters.
7074         (setHeightOfRow): Same thing.
7075         (rowBreakPoint): Same thing.
7076
7077 2003-07-26  Asger Alstrup  <alstrup@local>
7078
7079         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
7080
7081         * text.C (singleWidth): Spurious font copying in hot-spot
7082         singleWidth avoided. Reorder tests for arabic for efficiency.
7083
7084         * text.C (fill): handle empty paragraphs better.
7085
7086 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7087
7088         * ispell.C:
7089         * encoding.h: add includes
7090
7091         * lyxrc.C: remove reading of bind files
7092
7093         * lyx_main.C (init): setup bindings and menus only if we have a
7094         gui.
7095
7096         * kbmap.C (read): new method. Do the actual reading of bind
7097         files.
7098
7099         * converter.C (dvipdfm_options):
7100         * bufferparams.C:
7101         * lyxrc.C (read):
7102         (output): adapt PAPER_* enums.
7103
7104         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
7105
7106         * bufferparams.h: remove paper-related enums from there
7107
7108         * paper.h: New file. A trivial header file to hold paper-related
7109         enums. It should later expand to contain many paper-related
7110         horrors access.
7111
7112         * lyxrc.C: declare extern displayTranslator
7113
7114 2003-07-27  José Matos  <jamatos@fep.up.pt>
7115
7116         * tabular.[Ch] (linuxdoc): add support for tables and figures
7117         (linuxdoc).
7118
7119 2003-07-27  José Matos  <jamatos@fep.up.pt>
7120
7121         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
7122         consistency in both functions.
7123         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
7124
7125 2003-07-26  Asger Alstrup  <alstrup@local>
7126
7127         * rowpainter.C (paintRows): Change algorithm to work directly on
7128         the insets rather than asking every character in the document
7129         whether its an inset.
7130
7131 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
7132
7133         * buffer.C (openFileWrite): factorize some code
7134
7135 2003-07-26  Angus Leeming  <leeming@lyx.org>
7136
7137         * lyx_cb.C:
7138         * lyx_main.[Ch]: replace occurances of system_tempdir with
7139         os::getTmpDir().
7140
7141 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7142
7143         * rename Inset to InsetOld
7144
7145 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
7146
7147         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
7148         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
7149         which I think is a bit clearer. EDIT is gone, since it was
7150         premature optimisation, and broken for mathed anyway.
7151         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
7152         with cursor positioning in insets as well (math insets still do not
7153         work, but that's a different story anyway.) It mysteriously
7154         crashes sometimes with undo in the first paragraph, but I'm fairly
7155         confident that this is a compiler bug.
7156
7157 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7158
7159         * paragraph.C (Paragraph): adjust for new clone return type
7160         (operator==): ditto
7161         (copyIntoMinibuffer): ditto
7162
7163 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
7164
7165         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
7166         by not having a special case, and always doing a full rebreak of
7167         the document after undo.
7168
7169 2003-07-23  Angus Leeming  <leeming@lyx.org>
7170
7171         * factory.C (createInset): InsetExternal::setParams now takes a
7172         Buffer const * arg.
7173
7174 2003-07-23  Angus Leeming  <leeming@lyx.org>
7175
7176         * factory.C (createInset): changed interface to the external and
7177         graphics mailers' string2params functions.
7178
7179 2003-07-23  Angus Leeming  <leeming@lyx.org>
7180
7181         * factory.C (createInset): pass a
7182         Buffer const * parameter to InsetExternalMailer's string2params.
7183
7184 2003-07-22  John Levon  <levon@movementarian.org>
7185
7186         * Thesaurus.h: include the right aiksaurus header
7187
7188 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7189
7190         * MenuBackend.C (expand): check menu shortcuts unconditionally
7191
7192 2003-07-21  Angus Leeming  <leeming@lyx.org>
7193
7194         * factory.C (createInset): pass a
7195         buffer_path parameter to InsetGraphicsMailer's string2params.
7196
7197 2003-07-21  Angus Leeming  <leeming@lyx.org>
7198
7199         * BufferView_pimpl.C (buffer):
7200         * buffer.C (d-tor):
7201         * lyx_main.C (LyX):
7202         * lyxfunc.C (dispatch):
7203         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
7204         rather than the grfx shortcut.
7205
7206 2003-07-21  André Pönitz  <poenitz@gmx.net>
7207
7208         * rowpainter.C: remove unused variables
7209
7210         * tabular_funcs.C:
7211         * tabular_funcs.h: move to tabular.C
7212         * Makefile.am: adjust
7213
7214         * tabular.[Ch]: basic optical cleaning
7215
7216         * author.h: pass references, not values
7217
7218 2003-07-18  André Pönitz  <poenitz@gmx.net>
7219
7220         * lyxtext.h:
7221         * metricsinfo.C:
7222         * metricsinfo.h:
7223         * rowpainter.C:
7224         * text.C:
7225         * text2.C:
7226         * text3.C: two-phase drawing for InsetText and InsetTabular
7227         some float -> int changes.
7228
7229 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
7230
7231         * lyx_main.C: fix the fix
7232
7233 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
7234
7235         * lyx_main.C: fix a crash in batch mode if no files specified
7236         * converter.C: ws
7237
7238 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
7239
7240         * format.[Ch] (papersize): moved to BufferParams
7241         * converter.[Ch] (dvips_options): moved to BufferParams
7242         (dvipdfm_options): moved to anon namespace
7243         * bufferparams.[Ch]: added above functions.
7244
7245 2003-07-17  André Pönitz  <poenitz@gmx.net>
7246
7247         * lyxtext.h:
7248         * rowpainter.C:
7249         * text2.C: don't call inset->update() anymore
7250
7251         * metricsinfo.[Ch]: add convenience constructor
7252
7253 2003-07-16  André Pönitz  <poenitz@gmx.net>
7254
7255         * lyxcursor.[Ch]:
7256         * lyxfunc.[Ch]:
7257         * text.C:
7258         * text2.C: replace the LyXCursor::irow_ member with
7259          on-demand computation of the value
7260
7261 2003-07-16  John Levon  <levon@movementarian.org>
7262
7263         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
7264
7265 2003-07-15  André Pönitz  <poenitz@gmx.net>
7266
7267         * text.C:
7268         * text2.C: remove no more needed refresh_row
7269
7270 2003-07-15  André Pönitz  <poenitz@gmx.net>
7271
7272         * lyxtext.h:
7273         * rowpainter.C:
7274         * text2.C:
7275         * text3.C: refresh_status tristate -> need_update bool
7276
7277 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
7278
7279         * lyxtext.h (init): remove reinit argument (act as if always true)
7280         * text2.C: adjust to that
7281
7282 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7283
7284         * bufferview_funcs.[Ch]: introduce function replaceSelection()
7285         * text3.C: use it to delete selections in some cases
7286         (bugs 441, 673, 702, 954).
7287
7288 2003-07-14  André Pönitz  <poenitz@gmx.net>
7289
7290         * rowpainter.[Ch]: reduce interface
7291
7292 2003-07-14  André Pönitz  <poenitz@gmx.net>
7293
7294         * BufferView_pimpl.C:
7295         * text2.C: adjust after removing unused BufferView * argument
7296
7297 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
7298
7299         * text2.C (init): fix a crash fired on resize
7300
7301 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
7302
7303         * buffer.[Ch]: added new closing signal
7304         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
7305         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
7306         BufferView::Pimpl via the closing the signal
7307
7308 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
7309
7310         * buffer.[Ch]: take out all bv-related from buffer
7311         * BufferView.C:
7312         * BufferView_pimpl.[Ch]: connect to new signals
7313         * CutAndPaste.C: removed useless asserts
7314         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
7315         * lyxvc.[Ch]:
7316         * vc-backend.[Ch]:
7317         * lyxfunc.C: moved view-related funciontality from vc here
7318         * paragraph.C: removed outdated comments
7319         * text.C: ws
7320
7321 2003-07-10  André Pönitz  <poenitz@gmx.net>
7322
7323         * BufferView_pimpl.C:
7324         * tabular.h:
7325         * tabular_funcs.C:
7326         * text.C:
7327         * text2.C: remove InsetText::InnerCache, clean up consequences
7328
7329 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
7330
7331         * ispell.C: fix two typos in error messages
7332
7333 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
7334
7335         * Extend Note inset to other forms of annotation like Comment
7336         and Greyedout. Right button click gives dialog.
7337
7338         Files modified or added (+):
7339
7340         * insetnote.[Ch]
7341         * FormNote.[Ch]      +
7342         * ControlNote.[Ch]   +
7343         * form_note.fd       +
7344         * Makefile.am in frontends/xforms, frontends/xforms/forms,
7345         frontends/controllers
7346         * xforms/Dialogs.C
7347         * factory.C
7348
7349 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7350
7351         * aspell.C: add missing namespace lyx::support
7352
7353 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
7354
7355         * BufferView.[Ch] (newFile): Add
7356         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
7357         * LaTeX.[Ch] (message): added this signal and use it
7358         * buffer.[Ch] (busy, message): added these signals and use them
7359         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
7360         * converter.C:
7361         * exporter.C:
7362         * format.C:
7363         * importer.C: use buffer signals instead of direct bv calling
7364         * lyx_cb.[Ch] (ShowMessage): removed
7365         * lyx_main.C:
7366         * lyxfunc.C:
7367         * paragraph_funcs.C:
7368         * text2.C: use buffer signals
7369
7370 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7371
7372         * introduce namespace lyx::graphics
7373
7374 2003-07-02  André Pönitz  <poenitz@gmx.net>
7375
7376         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
7377
7378 2003-07-01  André Pönitz  <poenitz@gmx.net>
7379
7380         * text.C:
7381         * text2.C:
7382         * text3.C:
7383         * text_funcs.[Ch]:
7384         * textcursor.h:
7385         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
7386           text*.C to text_func.C
7387
7388 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7389
7390         * introduce namespace lyx::support
7391
7392 2003-06-30  André Pönitz  <poenitz@gmx.net>
7393
7394         * Chktex.C:
7395         * funcrequest.C:
7396         * lyxtext.h:
7397         * text.C: re-enable --with-included-string
7398
7399 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7400
7401         * textcursor.C: add <config.h>
7402
7403         * text.C (getWord): remove const from word_location arg
7404
7405         * lyxvc.C (getLogFile): fix const type order
7406
7407         * lyxtext.h: remove const from word_location arg, add arg name
7408
7409         * lyxlayout.h: currect type on labeltype.
7410
7411         * importer.C: correct \file
7412
7413         * converter.C (intToFormat): use std:: on ret val, ws changes
7414
7415         * bufferlist.h: correct \file
7416
7417         * buffer.C (makeLinuxDocFile): fix const type order
7418         (makeDocBookFile): ditto
7419         (fillWithBibKeys): use std:: on stdlib args.
7420
7421         * CutAndPaste.C: fix authors.
7422         (availableSelections): use std:: on return vector
7423
7424 2003-06-27  André Pönitz  <poenitz@gmx.net>
7425
7426         * BufferView_pimpl.C:
7427         * bufferview_funcs.C:
7428         * lyxcursor.C:
7429         * lyxcursor.h:
7430         * lyxfunc.C:
7431         * lyxtext.h:
7432         * rowpainter.C:
7433         * text.C:
7434         * text2.C:
7435         * text3.C: remove LyXCursor::row_ member
7436
7437         * lyxtext.h:
7438         * text.C: rename fullRebreak() to partialRebreak() and implement
7439           a fullRebreak() that really bereks fully
7440
7441         * textcursor.h: new struct for cursor-related data
7442
7443 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
7444
7445         * lyx_main.C (LyX): get full path of document loaded on the
7446         command line
7447
7448 2003-06-26  André Pönitz  <poenitz@gmx.net>
7449
7450         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7451           remove unused/broken operator>,<,>=.
7452
7453         *       text.C: remove only use of broken operator<= in an Assert().
7454
7455 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7456
7457         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7458         moved errorlist_.clear to showErrorList
7459
7460 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7461
7462         * converter.C (scanLog, runLaTeX):
7463         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7464         move the bv->showErrorList call to the callers
7465         * lyxfunc.C: i.e. here...
7466         * text2.C: and here
7467         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7468         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7469         namespace, the second to...
7470         * buffer_funcs (BufferFormat, parseErrors): added
7471         * errorlist.C (ErrorList(TeXErrors const &)): removed
7472
7473 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7474
7475         * ToolbarBackend.C (getIcon): complain when icon cannot be found
7476
7477 2003-06-24  "Garst R. Reese" <reese@isn.net>
7478
7479         * debug.C: fix typo
7480
7481 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7482
7483         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7484
7485         * version.C.in: change docversion to 1.4
7486
7487 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
7488
7489         * buffer.C: fix a bug just introduced
7490
7491 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
7492
7493         * buffer.[Ch]: added the parseError signal and use it, removed
7494         sgmlError
7495         * BufferView.[Ch] (addError): moved to ...
7496         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7497         to the Buffer::parseError signal to catch (guess what) parse errors
7498         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7499
7500 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
7501
7502         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7503         ability to create a buffer and to return an existing one from
7504         the list. Moved these functions to...
7505         * buffer_funcs.[Ch]: added
7506         * BufferView.[Ch] (loadLyXFile): added
7507         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7508         job removed from bufferlist::loadLyXFile.
7509         * buffer.C (setReadOnly): make it work without view
7510         (i.e added an if (users))
7511
7512 2003-06-19  Angus Leeming  <leeming@lyx.org>
7513
7514         * lfuns.h:
7515         * LyXAction.C (init):
7516         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7517         with LFUN_DIALOG_SHOW <name> <data>.
7518
7519 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7520
7521         * CutAndPaste.C (availableSelections): small compilation fix for
7522         ancient (gcc 2.9x) compilers
7523
7524 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
7525
7526         * text3.C (cursorNext): add tmp var
7527
7528         * text2.C (updateCounters): for function calling out of for clause
7529         (replaceSelectionWithString): ditto
7530         (insertStringAsParagraphs): ditto
7531         (getColumnNearX): add tmp var
7532         (setCursorFromCoordinates): add tmp var
7533         (cursorDownParagraph): add tmp var
7534         (deleteEmptyParagraphMechanism): add tmp var
7535
7536         * text.C (insertChar): add tmp var
7537
7538         * rowpainter.C (paintDepthBar): add tmp var
7539
7540         * CutAndPaste.C (availableSelections): potentially check all
7541         paragraphs in a cut to fill the shown strings.
7542
7543 2003-06-18  André Pönitz  <poenitz@gmx.net>
7544
7545         * kbmap.[Ch]: use vector<> instead of list<>
7546
7547 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
7548
7549         * text3.C (dispatch): handle arg to LFUN_PASTE, call
7550         pasteSelection with index
7551
7552         * text2.C (pasteSelection): modify, call pasteSelection with index
7553
7554         * paragraph.C (asString): reimplement version with no interval to
7555         call the one with interval.
7556
7557         * lyxtext.h: add index arg to pasteSelection
7558
7559         * MenuBackend.C (MenuItem): handle PasteRecent
7560         (Menu::read::Menutags): add md_pasterecent
7561         (read): handle it
7562         (expandPasteRecent): new function
7563         (expand): use it
7564
7565         * MenuBackend.h: add PasteRecent to MenuItem::Kind
7566
7567         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7568         the limited stack
7569         (availableSelections): new function
7570
7571 2003-06-17  Angus Leeming  <leeming@lyx.org>
7572
7573         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7574
7575 2003-06-17  Angus Leeming  <leeming@lyx.org>
7576
7577         * lfuns.h:
7578         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7579
7580         * lyxfunc.C (dispatch): invoke it.
7581
7582 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7583
7584         * iterators.C (operator++, ParPosition): reintroduce some
7585         const_cast for the benefit of older compilers.
7586
7587 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7588
7589         * text3.C (dispatch): do not modify clipboard when doing
7590         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7591         LFUN_DELETE_SKIP on a selection selection
7592
7593 2003-06-16  André Pönitz  <poenitz@gmx.net>
7594
7595         * BufferView.C:
7596         * buffer.C:
7597         * buffer.h:
7598         * paragraph.C:
7599         * tabular.[Ch]: IU of clone() and getLabelList();
7600
7601 2003-06-13  André Pönitz  <poenitz@gmx.net>
7602
7603         * tabular.h: compactification
7604
7605 2003-06-12  André Pönitz  <poenitz@gmx.net>
7606
7607         * tabular.C:
7608         * tabular.h:
7609         * tabular_funcs.h: some renaming plus whitespace
7610
7611 2003-06-12  André Pönitz  <poenitz@gmx.net>
7612
7613         * BufferView.C:
7614         * BufferView_pimpl.C:
7615         * CutAndPaste.C:
7616         * buffer.C:
7617         * iterators.[Ch]:
7618         * lyxfunc.C:
7619         * text.C:
7620         * toc.C: Return a Paragraph & for ParIterator::operator*()
7621
7622 2003-06-11  John Levon  <levon@movementarian.org>
7623
7624         * lyx_main.C:
7625         * ToolbarBackend.h:
7626         * ToolbarBackend.C: add "Toolbars" section and
7627         put the flags there
7628
7629 2003-06-10  Angus Leeming  <leeming@lyx.org>
7630
7631         * lfuns.h:
7632         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7633
7634         * lyxfunc.C (dispatch): invoke it.
7635
7636 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7637
7638         * main.C: protect <ios> with HAVE_IOS
7639         (main): protect sync_with_stdio with HAVE_IOS
7640
7641 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
7642
7643         * text2.C (cutSelection): adjust
7644         (pasteSelection): adjust
7645
7646         * messages.C: handle get of empty string
7647
7648         * main.C (main): use sync_with_stdio(false)
7649
7650         * lyxfunc.C (dispatch): adjust
7651
7652         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7653         (WriteAs): remove unneeded BufferView arg.
7654
7655         * bufferparams.h: use correct types on papersize, papersize2 and
7656         paperpackage.
7657
7658         * bufferparams.C (readToken): adjust for type
7659         (writeLaTeX): add missing cases to switch.
7660
7661         * bufferlist.C (quitWriteBuffer): adjust
7662         (close): adjust
7663
7664         * buffer.C (asciiParagraph): remove some commented code.
7665
7666         * CutAndPaste.C: remove current_view extern variable.
7667         (cutSelection): add BufferParams arg.
7668         (eraseSelection): add BufferParams arg.
7669         (pasteSelection): add Buffer const & arg
7670
7671 2003-06-07  John Levon  <levon@movementarian.org>
7672
7673         * buffer.C:
7674         * paragraph_funcs.C:
7675         * paragraph_pimpl.C:
7676         * text.C:
7677         * text2.C:
7678         * paragraph.h:
7679         * paragraph.C: allow InsetERT to freely space lines,
7680         and some consolidation of code
7681
7682 2003-06-06  José Matos  <jamatos@fep.up.pt>
7683
7684         * buffer.C (makeDocBookFile): fix bug #821
7685
7686 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
7687
7688         * BufferView_pimpl.C (dispatch): use Dialogs::visible
7689
7690 2003-06-04  Angus Leeming  <leeming@lyx.org>
7691
7692         * buffer.C: bump format to 224.
7693
7694 2003-06-05  André Pönitz  <poenitz@gmx.net>
7695
7696         * text2.C (redoParagraphs): remove two const_cast<>
7697
7698 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
7699
7700         * ParagraphList.h: remove last remnants of NO_STD_LIST
7701
7702 2003-06-03  Angus Leeming  <leeming@lyx.org>
7703
7704         * factory.C (createInset): small change to the way InsetExternal's params
7705         are set.
7706
7707 2003-06-04  André Pönitz  <poenitz@gmx.net>
7708
7709         * buffer.h: use Undo directly instead of shared_ptr<Undo>
7710
7711         * paragraph_pimpl.h:
7712         * paragraph.[Ch]: some Inset -> UpdatableInset changes
7713
7714         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7715
7716         * undo_funcs.C: make some simple cases of undo work again
7717
7718 2003-06-03  John Levon  <levon@movementarian.org>
7719
7720         * ispell.C: HPUX doesn't have sys/select.h
7721         (from Albert Chin)
7722
7723 2003-06-03  John Levon  <levon@movementarian.org>
7724
7725         * CutAndPaste.C: update tabular and include inset
7726         buffer references
7727
7728         * buffer.h:
7729         * paragraph.h:
7730         * paragraph.C: remove owningBuffer(), don't pass Buffer
7731         to clone()
7732
7733         * factory.C: insetGraphicsParams changed
7734
7735 2003-06-02  John Levon  <levon@movementarian.org>
7736
7737         * LyXAction.C:
7738         * factory.C:
7739         * lfuns.h:
7740         * lyxfunc.C:
7741         * text3.C: remove insetparent
7742
7743 2003-06-02  John Levon  <levon@movementarian.org>
7744
7745         * buffer.h:
7746         * buffer.C: fix inset_iterator.end(), move out of line
7747         (bug 1149)
7748
7749 2003-06-01  John Levon  <levon@movementarian.org>
7750
7751         * text3.C: use a proper cut/paste when doing inset
7752         insert (from Jürgen Spitzmüller)
7753
7754 2003-06-01  John Levon  <levon@movementarian.org>
7755
7756         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7757
7758 2003-05-30  André Pönitz  <poenitz@gmx.net>
7759
7760         * rowpainter.C: unify second drawing phase
7761
7762 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7763
7764         * trans_mgr.C: remove one case of current_view
7765
7766         * text2.C (cursorBottom): delete NO_STD_LIST stuff
7767
7768         * paragraph_funcs.h: remove paragraph.h include
7769
7770         * paragraph.h: delete NO_STD_LIST stuff
7771
7772         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7773
7774         * buffer.h: remove paragraph.h include
7775
7776         * ParagraphList.C: delete file
7777
7778         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7779
7780         * toc.C (getTocList): adjust
7781
7782         * paragraph_pimpl.C (validate): adjust
7783
7784         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7785
7786         * paragraph.C (Paragraph): adjust
7787         (getPositionOfInset): use const_iterator, adjust
7788         (bibitem): use const_iterator, adjust
7789         (setInsetOwner): adjust
7790
7791         * iterators.C (operator++): adjust
7792
7793         * InsetList.[Ch]: Replace selfmade iterator with standard
7794         vector::iterator also introduce const_iterator. Remove getPos,
7795         getInset and setInset from InsetTable. Adjust accordingly.
7796
7797         * BufferView.C (lockInset): adjust
7798         (ChangeInsets): adjust
7799
7800         * tabular.[Ch]: delete commented same_id functions
7801
7802 2003-05-28  John Levon  <levon@movementarian.org>
7803
7804         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7805
7806 2003-05-28  André Pönitz  <poenitz@gmx.net>
7807
7808         * metricsinfo.[Ch]: remove 'fullredraw' member
7809
7810 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
7811
7812         * lyxtextclass.C (operator): remove caching.
7813
7814 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7815
7816         * text3.C: adjust
7817
7818         * text2.C (cursorBottom): adjust
7819         (setCounter): use ParagraphList::find, adjust
7820
7821         * text.C (workWidth): use ParagraphList::find, adjust
7822
7823         * lyxcursor.C (LyXCursor): adjust
7824
7825         * buffer.C (inset_iterator): adjust
7826
7827         * ParagraphList.h: make iterator(value_type) private, make
7828         ParagraphList a friend of iterator.
7829
7830         * ParagraphList.C (find): new function
7831
7832         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7833
7834 2003-05-27  André Pönitz  <poenitz@gmx.net>
7835
7836         * dimension.[Ch]: a -> asc, d -> des, w -> wid
7837
7838 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7839
7840         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7841
7842 2003-05-26  John Levon  <levon@movementarian.org>
7843
7844         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7845
7846 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7847
7848         * remove same_id from function signatures, adjust.
7849
7850 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7851
7852         * undo_funcs.C (createUndo): use the id functions directly, adjust.
7853
7854         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7855
7856         * paragraph.C (Paragraph): get rid of same_ids parameter
7857
7858         * ParagraphList.C (insert): adjust
7859         (push_back): adjust
7860
7861 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7862
7863         * paragraph_funcs.C (breakParagraph): adjust
7864         (breakParagraphConservative): adjust
7865
7866         * buffer.C (readParagraph): adjust
7867
7868         * ParagraphList.C (insert): take a reference instead of a pointer
7869         (insert): adjust
7870
7871         * paragraph.[Ch] (id): new function
7872
7873         * bufferlist.C (newFile): adjust
7874
7875         * ParagraphList.C (ParagraphList): adjust
7876         (assign): adjust
7877         (push_back): take a reference instead of a pointer.
7878
7879         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7880
7881         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7882         instead.
7883
7884         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7885         set else use old code.
7886
7887         * ParagraphList.C: remove all NO_NEXT code and only compile this
7888         code of NO_STD_LIST is set.
7889
7890 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7891
7892         * BufferView_pimpl.C:
7893         * TextCache.C:
7894         * TextCache.h:
7895         * bufferlist.C:
7896         * errorlist.h:
7897         * format.C:
7898         * format.h:
7899         * graph.C:
7900         * lyxfunc.C:
7901         * lyxrc.C:
7902         * graphics/GraphicsConverter.C:
7903         * graphics/PreviewLoader.C: header adjustment
7904
7905 2003-05-23  Angus Leeming  <leeming@lyx.org>
7906
7907         * LaTeXFeatures.[Ch] (useBabel): new method.
7908         * bufferparams.C (writeLaTeX): use it.
7909
7910 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7911
7912         * ParagraphList.h (set): remove unused function.
7913
7914 2003-05-23  André Pönitz  <poenitz@gmx.net>
7915
7916         * BufferView.C:
7917         * BufferView_pimpl.C:
7918         * buffer.C:
7919         * buffer.h:
7920         * lyxfunc.C:
7921         * undo_funcs.C: setUndo reworked
7922
7923         * iterators.[Ch]: add access to topmost ParagraphList
7924
7925         * lyxtext.[Ch] (workWidth): add a const
7926
7927 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7928
7929         * texrow.[Ch] (increasePos): remove function
7930         * exporter.C (export): removed unused var and outdated comment
7931
7932 2003-05-23  Angus Leeming  <leeming@lyx.org>
7933
7934         * latexrunparams.h: rename fragile as moving_arg.
7935         * paragraph.C (simpleTeXOnePar): ditto.
7936         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7937
7938 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7939
7940         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7941         (createUndo): ditto
7942         (textUndoOrRedo): comment out a currently unused var.
7943
7944         * paragraph.h (NO_NEXT): enable NO_NEXT
7945
7946         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7947
7948         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7949
7950         * exporter.C (Export): adjust for removeAutoInsets removal.
7951
7952         * buffer.C (runChktex): adjust for removeAutoInsets removal.
7953
7954         * LyXAction.C (init): remove LFUN_REMOVEERRORS
7955
7956         * BufferView.[Ch] (removeAutoInsets): delete function
7957
7958 2003-05-22  Angus Leeming  <leeming@lyx.org>
7959
7960         * latexrunparams.h: add a free_spacing variable.
7961
7962         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7963         to pass moving_arg, as the data is stored in runparams.fragile.
7964
7965         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7966         to Inset::latexOptional or to simpleTeXOnePar.
7967
7968         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7969         free_spacing arg to Inset::latexOptional.
7970
7971         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7972         free_spacing arg.
7973
7974 2003-05-22  Angus Leeming  <leeming@lyx.org>
7975
7976         * latexrunparams.h: add fragile and use_babel variables.
7977
7978         * bufferparams.[Ch] (writeLaTeX): return use_babel.
7979         * buffer.C (makeLaTeXFile): store this returned value in
7980         runparams.use_babel, thus passing it to the inset::latex methods.
7981
7982         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7983         simpleTeXSpecialChars as it is now stored in runparams.fragile.
7984
7985         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7986         longer has a fragile arg, as it is stored in runparams.fragile.
7987
7988         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7989         moving_arg parameter as the data is stored in runparams.fragile.
7990
7991         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7992         a fragile parameter as the data is stored in runparams.fragile.
7993
7994 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7995
7996         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7997
7998 2003-05-22  Angus Leeming  <leeming@lyx.org>
7999
8000         * latexrunparams.h: add a 'bool nice' which defaults to false.
8001
8002         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
8003         now encapsulated within runparams.
8004
8005         * bufferlist.C (updateIncludedTeXfiles):
8006         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
8007
8008 2003-05-22  Angus Leeming  <leeming@lyx.org>
8009
8010         * latexrunparams.h: new file containing struct LatexRunParams.
8011         * Makefile.am: add new file.
8012
8013         * LaTeX.[Ch] (c-tor, run):
8014         * buffer.[Ch] (makeLaTeXFile):
8015         * bufferlist.[Ch] (updateIncludedTeXfiles):
8016         * converter.C (convert, scanLog):
8017         * converter.[Ch] (runLaTeX):
8018         * exporter.C (Export):
8019         * paragraph.[Ch] (simpleTeXOnePar):
8020         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
8021         * paragraph_funcs.[Ch] (latexParagraphs):
8022         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
8023         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
8024         pass around a LatexRunParams parameter.
8025
8026 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8027
8028         * paragraph.[Ch]: remove unused constructor
8029
8030         * ParagraphList.C (erase): new function, taking two iterators
8031
8032 2003-05-22  André Pönitz  <poenitz@gmx.net>
8033
8034         * undo_funcs.C: remove duplicated code
8035
8036         * iterator.[Ch]: operator=
8037
8038 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8039
8040         * tabular.C (SetMultiColumn): ws changes
8041
8042         * rowpainter.C (paintFirst): get rid of a ->previous
8043
8044         * lyx_cb.C (getPossibleLabel): parlist simplification
8045
8046         * BufferView.C (ChangeInsets): simplify slightly.
8047
8048 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
8049
8050         * LyXAction.C: new lfun space-insert, kill protected-space-insert
8051         * lfuns.h: new LFUN_SPACE
8052         * lyxfunc.C: protected space has a new lfun
8053         * paragraph_funcs.C: read new space insets
8054         * text3.C:
8055         * factory.C: handle new space insets
8056
8057 2003-05-22  André Pönitz  <poenitz@gmx.net>
8058
8059         * BufferView.C:
8060         * BufferView_pimpl.C:
8061         * buffer.[Ch]:
8062         * lyxfunc.C:
8063         * undo_funcs.C: return a ParIterator from getParFromID.
8064
8065         * iterators.[Ch]: add two const's
8066
8067 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
8068
8069         * toc.C (getTocList): adjust
8070
8071         * iterators.[Ch]: rework for parlist
8072
8073         * buffer.C (par_iterator_begin): adjust
8074         (par_iterator_end): adjust
8075
8076         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
8077
8078         * BufferView.C (removeAutoInsets): adjust
8079         (ChangeInsets): adjust
8080
8081 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
8082
8083         * text.C (top_y): fix bug 1110
8084
8085 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
8086
8087         * errorlist.[Ch]: added
8088         * buffer.C:
8089         * BufferView.[Ch]:
8090         * BufferView_pimpl.C:
8091         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
8092         instead
8093
8094 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8095
8096         * Makefile.am: ensure that lyx is relinked upon changes to the
8097         various "convenience" libs.
8098
8099 2003-05-20  Angus Leeming  <leeming@lyx.org>
8100
8101         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
8102         files are compiled in alphabetical order again.
8103
8104         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
8105
8106 2003-05-19  Angus Leeming  <leeming@lyx.org>
8107
8108         * gettext.[Ch]: remove "char const * _(char const *)".
8109
8110 2003-05-19  André Pönitz  <poenitz@gmx.net>
8111
8112         * dimension.[Ch]: promote from mathed/dimension.[Ch]
8113
8114         * Makefile.am:
8115         * BufferView.C:
8116         * DepTable.h:
8117         * LaTeXFeatures.C:
8118         * buffer.C:
8119         * lyxfont.C:
8120         * lyxlex.h:
8121         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
8122
8123 2003-05-19  André Pönitz  <poenitz@gmx.net>
8124
8125         * buffer.C:
8126         * lyxlayout.[Ch]:
8127         * lyxtextclass.[Ch]:
8128         * paragraph.C:
8129         * paragraph_funcs.[Ch]:
8130         * text2.C:
8131         * text3.C: more insetenv work
8132
8133 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
8134
8135         * ParagraphParameters.C (params2string): small bug fixed
8136
8137 2003-05-16  André Pönitz  <poenitz@gmx.net>
8138
8139         * debug.C:
8140         * bufferview_funcs.C: patch from Kornel Benko to prevent
8141           crash when _(...) is called twice in a statement
8142
8143 2003-05-16  André Pönitz  <poenitz@gmx.net>
8144
8145         * BufferView.C:
8146         * lyxfunc.C:
8147         * text.C:
8148         * text2.C:
8149         * text3.C:
8150         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
8151
8152 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
8153
8154         * lyx_main.C (init): remove spurious static_cast
8155
8156 2003-05-14  André Pönitz  <poenitz@gmx.net>
8157
8158         * BufferView.C: fix format string
8159
8160 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
8161
8162         * BufferView.[Ch] (insertErrors): removed
8163         * BufferView.[Ch] (showErrorList): added
8164         * buffer.C (runChkTeX):
8165         * converter.C (scanLog): call showErrorList instead of inserterrors
8166
8167 2003-05-13  André Pönitz  <poenitz@gmx.net>
8168
8169         * BufferView_pimpl.C:
8170         * buffer.C:
8171         * bufferview_func.C:
8172         * MenuBackend.C:
8173         * lyxfunc.C:
8174         * lyxrc.C:
8175         * tex-accent.C:
8176         * text3.C:
8177         * toc.C:
8178         * tabular_funcs.h: tostr() from its own header
8179
8180         * ParagraphParameters.C:
8181         * ToolbarBackend.C:
8182         * bufferparams.C:
8183         * format.C:
8184         * lyxlex_pimpl.C:
8185         * text3.C: STRCONV()
8186
8187 2003-05-12  André Pönitz  <poenitz@gmx.net>
8188
8189         * BufferView.C:
8190         * BufferView_pimpl.C:
8191         * CutAndPaste.C:
8192         * LaTeX.C:
8193         * LaTeXFeatures.C:
8194         * ParagraphParameters.C:
8195         * buffer.C:
8196         * bufferlist.C:
8197         * bufferparams.C:
8198         * bufferview_funcs.C:
8199         * converter.C:
8200         * counters.C:
8201         * debug.C:
8202         * exporter.C:
8203         * format.C:
8204         * importer.C:
8205         * lyx_cb.C:
8206         * lyx_main.C:
8207         * lyxfont.C:
8208         * lyxfunc.C:
8209         * lyxvc.C:
8210         * paragraph.C:
8211         * paragraph_funcs.C:
8212         * tabular.C:
8213         * tabular_funcs.C:
8214         * text2.C:
8215         * text3.C:  boost::format -> bformat  all over the place
8216
8217
8218 2003-05-09  André Pönitz  <poenitz@gmx.net>
8219
8220         * LColor.[Ch]: Pimpl the #include <map> away
8221
8222 2003-05-09  John Levon  <levon@movementarian.org>
8223
8224         * bufferlist.C: never remove emergency saves
8225
8226 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8227
8228         * Makefile.am: better lib building
8229
8230 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
8231
8232         * texrow.[Ch]: remove dependency on Paragraph and just store a id
8233         instead.
8234         * paragraph_pimpl.C (simpleTeXBlanks): adjust
8235         (simpleTeXSpecialChars): adjust
8236         (simpleTeXSpecialChars): adjust
8237         * paragraph.C (simpleTeXOnePar): adjust
8238         * buffer.C (makeLaTeXFile): adjust
8239
8240         * Makefile.am (BOOST_LIBS): allow boost as system lib.
8241
8242         * text2.C (changeDepth): parlist cleanup
8243         (getColumnNearX): ditto
8244
8245         * rowpainter.C (getLabelFont): parlist cleanup
8246
8247         * bufferlist.C (newFile): parlist cleanup
8248
8249         * CutAndPaste.C (eraseSelection): parlist cleanup
8250
8251         * BufferView_pimpl.C (trackChanges): parlist cleanup
8252         (dispatch): ditto
8253
8254         * BufferView.C (lockInset): parlist cleanup.
8255         (ChangeInsets): ditto
8256
8257 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8258
8259         * CutAndPaste.h: Update file header.
8260
8261         * CutAndPaste.C: Update file header.
8262         Store the parts cut out of the Document in a limited_stack.
8263         (copySelection): adjust
8264         (pasteSelection): new function, takes the index in the limited stack.
8265         (nrOfParagraphs): adjust
8266         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
8267         simplify error inset insertion.
8268         (checkPastePossible): adjust
8269
8270 2003-05-06  John Levon  <levon@movementarian.org>
8271
8272         * text2.C: don't cast wrap inset to float
8273
8274 2003-05-05  André Pönitz  <poenitz@gmx.net>
8275
8276         * iterator.C:
8277         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
8278
8279         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
8280           few naked Paragraph *.
8281
8282 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
8283
8284         * bufferparams.C: Output warning if a document with missing
8285         TeX document class is loaded
8286         * exporter.C: Disable TeX exports if the document class is missing
8287         * lyxtextclass.C:
8288         * lyxtextclass.h:
8289         * lyxtextclasslist.C: Handle new textclass.lst format; new method
8290         isTeXClassAvailable()
8291
8292 2003-05-03  John Levon  <levon@movementarian.org>
8293
8294         * BufferView.h:
8295         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
8296         explicit cursor show/hide
8297
8298         * BufferView_pimpl.h:
8299         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
8300         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
8301
8302         * lyxfunc.C: hide cursor before dispatching.
8303
8304         * lyx_cb.C:
8305         * lyxfind.C:
8306         * text.C:
8307         * text3.C: remove explicit cursor hides
8308
8309 2003-05-02  André Pönitz  <poenitz@gmx.net>
8310
8311         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
8312
8313         * undo_funcs.C:
8314         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
8315           linked lists
8316
8317         * text2.C: tiny whitespace
8318
8319 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8320
8321         * undo_funcs.C: almost only ws changes.
8322
8323         * ParagraphList.C (splice): just return if pl is empty.
8324
8325 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8326
8327         * ParagraphList.C (splice): new function.
8328
8329         * CutAndPaste.C (pasteSelection): use it
8330
8331 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8332
8333         * CutAndPaste.C (pasteSelection): remove the last next and
8334         previous from this file.
8335
8336 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8337
8338         * CutAndPaste.C (pasteSelection): more clean up, user proper
8339         ParagraphList functions for pasteing.
8340
8341         * ParagraphList.C (insert): new function, three arg insert
8342
8343 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8344
8345         * ParagraphList.C (insert): new function, three arg insert
8346
8347         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
8348         not on paragraphs.
8349
8350 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8351
8352         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
8353
8354 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8355
8356         * CutAndPaste.C (pasteSelection): remove some unneeded code.
8357
8358 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8359
8360         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
8361         (copySelection): clean up a bit.
8362         (pasteSelection): use make_pair
8363
8364         * ParagraphList.C (ParagraphList): implement copy constructor
8365         (operator=): implement, base on copy constructor.
8366         (assign): new func
8367
8368         * paragraph.C (erase): return a bool
8369
8370         * paragraph_pimpl.C (erasePos): remove function, move contents...
8371         (erase): ... here. Return a bool.
8372         (erase): call erase instead of erasePos.
8373
8374 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
8375
8376         * ParagraphList.h: define PitPosPair
8377         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
8378         ParagraphList, fix a bug on pasting multiple pars
8379         * text2.C: change interface to C&P
8380
8381 2003-04-30  André Pönitz  <poenitz@gmx.net>
8382
8383         * undo_func.C: revert part of yesterday's patch 2
8384
8385 2003-04-30  John Levon  <levon@movementarian.org>
8386
8387         * LColor.C: s/tabular/table/
8388
8389 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8390
8391         * text3.C (dispatch): do not convert iterator -> pointer
8392         * undo_funcs.C (setCursorParUndo): ditto
8393         * text_funcs.C (transposeChars): ditto
8394
8395         * text2.C (setLayout): ws changes only
8396
8397         * text.C (breakParagraph): do not convert iterator -> pointer
8398         (insertChar): ditto
8399         (acceptChange): ditto
8400         (rejectChange): ditto
8401         (changeCase): ditto
8402         (Delete): ditto
8403         (backspace): ditto
8404
8405         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
8406         pointer
8407
8408 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8409
8410         * text3.C (gotoInset): YABG (yet another bad getChar)
8411
8412 2003-04-29  André Pönitz  <poenitz@gmx.net>
8413
8414         * paragraph.h: make operator= private unimplemented as long as
8415           it is unusable
8416
8417         * ParagraphList.C: whitespace
8418
8419         * paragraph.[Ch]:
8420         * paragraph_pimpl.[Ch]:
8421         * paragraph_funcs.C:
8422         * CutAndPaste.C:
8423         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
8424
8425         * text2.C:
8426           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8427
8428 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8429
8430         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8431         * paragraph.[Ch] (erase):
8432         * paragraph_pimpl.[Ch] (erase): change return type and value
8433         * text2.C (cutSelection): some rework
8434
8435 2003-04-28  John Levon  <levon@movementarian.org>
8436
8437         * bufferlist.C: changes for unsaved changes dialog
8438
8439 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8440
8441         * bufferlist.C (newFile): set language (messages_) for new
8442         documents also.
8443
8444         * buffer.C (readFile): ws changes only.
8445
8446 2003-04-28  André Pönitz  <poenitz@gmx.net>
8447
8448         * undo_funcs.C:
8449         * lyxfunc.C:
8450         * buffer.[Ch]:
8451         * BufferView_pimpl.C:
8452         * BufferView.C: getParFromID related ParagraphList::iterator changes
8453
8454 2003-04-28  André Pönitz  <poenitz@gmx.net>
8455
8456         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8457           Changes
8458
8459 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8460
8461         * messages.C: remove one more localedir class variable.
8462
8463 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8464
8465         * messages.C (getLocaleDir): singleton generation function
8466         (Pimpl): use it.
8467         (Messages): add a default constructor.
8468
8469         * main.C (main): do not setup localedir here, do not call
8470         gettext_init.
8471
8472         * gettext.C (_): use it.
8473         (gettext_init): delete funciton
8474
8475 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8476
8477         * gettext.C (getLyXMessages): new singleton generating function.
8478
8479         * buffer.C (updateDocLang): adjust
8480
8481         * Makefile.am (messages.o): add target
8482         (main.o): remove target
8483
8484 2003-04-27  John Levon  <levon@movementarian.org>
8485
8486         * bufferlist.C:
8487         * lyx_cb.C:
8488         * lyxfunc.C:
8489         * lyxvc.C: specify cancel button in Alert::prompt
8490
8491 2003-04-26  John Levon  <levon@movementarian.org>
8492
8493         * text3.C:
8494         * lyxfunc.C:
8495         * lfuns.h:
8496         * LyXAction.C: add LFUN_INSET_SETTINGS
8497
8498         * lyxfunc.C: don't enable tabular-feature when there's
8499         just any locking inset
8500
8501 2003-04-26  John Levon  <levon@movementarian.org>
8502
8503         * bufferlist.C: re-add Cancel to buffer close question
8504
8505         * lyxfunc.C: fix import UI a bit
8506
8507 2003-04-25  John Levon  <levon@movementarian.org>
8508
8509         * gettext.C: remove the broken asserts for now
8510
8511 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8512
8513         * messages.C: make case where setlocale cannot comply work better.
8514
8515         * buffer.C (updateDocLang): new function
8516         (changeLanguage): use it
8517         (readFile): use it
8518
8519         * text2.C (setCounter): use B_ a bit.
8520
8521         * lyxlayout.C (Read): be sure to trim the label strings.
8522
8523         * messages.C (Messages): fix typo in comment
8524
8525         * buffer.C (readFile): set message_ after file is loaded.
8526         (makeDocBookFile): remove double return
8527         (changeLanguage): reset message_ upon language change.
8528         (B_): new func, use this to get translated buffer strings.
8529
8530         * main.C: add myself and Jean Marc as authors.
8531
8532 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8533
8534         * messages.[hC]: pimplify Messages, and three different pimpls to be
8535         used in different circumstances.
8536
8537         * gettext.[Ch]: change for use with new message code.
8538
8539 2003-04-24 André Pönitz <poenitz@gmx.net>
8540
8541         * factory.C: support for eqref
8542
8543 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
8544
8545         * messages.[Ch]: add missing char
8546
8547         * Makefile.am (lyx_SOURCES): add messages.[Ch]
8548
8549         * messages.[Ch]: New files
8550
8551 2003-04-18  John Levon  <levon@movementarian.org>
8552
8553         * BufferView.h:
8554         * BufferView.C:
8555         * BufferView_pimpl.C:
8556         * lfuns.h:
8557         * LyXAction.C:
8558         * lyxtext.h:
8559         * text2.C: remove layout-copy/paste (bug 778)
8560
8561 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8562
8563         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8564
8565 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8566
8567         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8568         if they succeed. Act accordingly.
8569
8570 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8571
8572         * text2.C (setCharFont): adjust
8573         (setCounter): adjust
8574         (insertStringAsLines): adjust
8575
8576         * text.C (leftMargin): adjust
8577         (setHeightOfRow): adjust
8578
8579         * rowpainter.C (paintFirst): adjust
8580         (paintLast): adjust
8581
8582         * paragraph_funcs.C (depthHook): ParagraphList::iterators
8583         (outerHook): ditto
8584         (isFirstInSequence): ditto
8585         (getEndLabel): ditto
8586         (outerFont): adjust
8587
8588         * paragraph.C (getParLanguage): comment out some hard stuff.
8589
8590         * buffer.C (insertStringAsLines): take a ParagraphList as arg
8591         (sgmlError): ditto
8592         (simpleDocBookOnePar): ditto
8593         (makeDocBookFile): use ParagraphList::iterator
8594
8595         * CutAndPaste.C (pasteSelection): adjust
8596
8597 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8598
8599         * text2.C (getFont): adjust
8600         (getLayoutFont): adjust
8601         (getLabelFont): adjust
8602
8603         * paragraph_funcs.C (TeXOnePar): adjust
8604
8605         * buffer.C (simpleLinuxDocOnePar): adjust
8606         (simpleDocBookOnePar): adjust
8607
8608         * CutAndPaste.C (pasteSelection): adjust
8609
8610         * BufferView.C (getEncoding): adjust
8611
8612         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8613
8614 2003-04-16  John Levon  <levon@movementarian.org>
8615
8616         * lyxfind.C: use parlist stuff for search/changes
8617
8618 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8619
8620         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8621
8622         * text2.C (deleteEmptyParagraphMechanism): adjust
8623
8624         * text2.[Ch] (ownerParagraph): delete func (both of them
8625
8626 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8627
8628         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8629
8630 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8631
8632         * ParagraphList.C: prepare for NO_NEXT
8633
8634 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8635
8636         * text2.C (getFont): adjust
8637         (getLayoutFont): adjust
8638         (getLabelFont): adjust
8639
8640         * paragraph.C (getFont): adjust
8641         (getLabelFont): adjust
8642         (getLayoutFont): adjust
8643
8644         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8645
8646 2003-04-15  John Levon  <levon@movementarian.org>
8647
8648         From Angus Leeming
8649
8650         * lyx_main.C: handle Include in .ui files
8651
8652 2003-04-15  John Levon  <levon@movementarian.org>
8653
8654         * MenuBackend.C: make the doc files length shorter
8655
8656         * ToolbarBackend.h:
8657         * ToolbarBackend.C: handle toolbar placement flags,
8658         Minibuffer
8659
8660 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8661
8662         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8663         adjust
8664
8665         * paragraph_funcs.C (TeXOnePar): adjust
8666
8667         * paragraph.C (getLabelFont): add outerfont arg, adjust
8668         (getLayoutFont): ditto
8669         (simpleTeXOnePar): adjust
8670
8671         * paragraph_pimpl.C (realizeFont): delete func
8672
8673 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
8674
8675         * text2.C (beforeFullRowInset): added a bad getchar check, removed
8676         row argument, constify cur argument.
8677
8678 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8679
8680         * text2.C (getFont): adjust
8681         (getLayoutFont): adjust
8682         (getLabelFont): adjust
8683
8684         * paragraph_funcs.C (TeXOnePar): adjust
8685         (outerFont): new func...
8686         (realizeFont): ...moved out from here, changed this to facilitate
8687         transition
8688
8689         * paragraph.C (getFont): take outerfont as arg, adjust
8690         (simpleTeXOnePar): add outerfont arg, adjust
8691
8692         * buffer.C (simpleLinuxDocOnePar): adjust
8693         (simpleDocBookOnePar): adjust
8694
8695         * CutAndPaste.C (pasteSelection): adjust
8696
8697         * BufferView.C (getEncoding): adjust
8698
8699 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8700
8701         * text2.C (setCharFont): adjust
8702         (setCounter): adjust
8703
8704         * text.C (leftMargin): adjust
8705         (setHeightOfRow): adjust
8706
8707         * rowpainter.C (paintFirst): adjust
8708         (paintLast): adjust
8709
8710         * paragraph_pimpl.C (realizeFont): adjust
8711
8712         * paragraph.C (isFirstInSequence): move from here...
8713         * paragraph_funcs.C (isFirstInSequence): ...to here
8714
8715         * paragraph.C (outerHook): move from here...
8716         * paragraph_funcs.C (outerHook): ...to here
8717
8718         * paragraph.C (depthHook): move from here...
8719         * paragraph_funcs.C (depthHook): ...to here
8720
8721         * paragraph.C (getEndLabel): move from here...
8722         * paragraph_funcs.C (getEndLabel): ...to here
8723
8724         * text2.C (realizeFont): move from here...
8725         * paragraph_funcs.C (realizeFont): ...to here
8726
8727 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8728
8729         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8730
8731 2003-04-14  Angus Leeming  <leeming@lyx.org>
8732
8733         * LColor.[Ch]: scrap LColor mathcursor.
8734
8735 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8736
8737         * lyxlex.[Ch] (text): delete function
8738         * trans.C (Load): adjust
8739         * paragraph_funcs.C (readParToken): adjust
8740
8741 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8742
8743         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8744         vector<char> instead of a char[].
8745
8746         * lyxlex_pimpl.C (getString): adjust
8747         (next): adjust
8748         (lex): use getString
8749         (eatLine): adjust
8750         (nextToken): adjust
8751
8752         * lyxlex.C (text): use pimpl_->getString()
8753         (getBool): ditto
8754         (findToken): ditto
8755
8756 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8757
8758         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8759         (makeFontEntriesLayoutSpecific): temp var for par.size()
8760         (setLayout): temp var for ownerParagraphs().end()
8761         (fullRebreak): temp var for rows().end()
8762         (selectionAsString): temp var for boost::next(startpit), realize
8763         that the while really is a regular for loop.
8764         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8765         setCursor in one place.
8766         (setParagraph): temp vr for ownerParagraphs().end()
8767         (updateCounters): make the while loop a for loop
8768         (cutSelection): temp var for ownerParagraphs().end()
8769         (updateInset): make the do {} while() a regular for loop
8770         (getCursorX): use temp vars
8771         (setCurrentFont): use temp vars
8772         (getColumnNearX): use temp vars
8773
8774 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8775
8776         * text.C (transformChar): use temp var for getChar
8777         (computeBidiTables): use temp var for row->par()
8778         (fill): move temp vars for row->par() and pit->layout() earlier in
8779         the function.
8780         (labelFill): use temp var for row->par()
8781         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8782         asc and desc, realize that pit never changes and that firstpit is
8783         just a duplicate and not needed. Exchange rit->par() with pit in a
8784         lot of places.
8785         (breakAgain): use a temp var for boost::next(rit)
8786         (breakAgainOneRow): ditto
8787         (breakParagraph): use a temp var for rows().begin()
8788         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8789         (cursorRightOneWord): use temp var for cursor.par() and
8790         cursor.pos(), remove usage of tmpcursor.
8791         (cursorLeftOneWord): use temp var for cursor.par() and
8792         cursor.pos() only set cur at end of function.
8793
8794 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8795
8796         * text.C, text2.C: exchange all usage of Paragraph::next with
8797         boost::next(ParagraphList::iterator)
8798
8799         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8800
8801         * text2.C (cursorTop): simplify implementation
8802         (cursorBottom): ditto
8803         (setParagraph): use ParagraphList::iterator
8804         (setCurrentFont): adjust
8805         (getColumnNearX): adjust
8806         (cursorRight): adjust
8807         (cursorLeft): remove usage of Paragraph::previous
8808         (cursorUpParagraph): ditto
8809         (deleteEmptyParagraphMechanism): slight cleanup
8810
8811         * text.C (isBoundary): take a Paragraph const & instead of a
8812         pointer as arg.
8813         (addressBreakPoint): ditto
8814         (leftMargin): remove usage of Paragraph::previous.
8815         (setHeightOfRow): ditto
8816         (cursorLeftOneWord): ditto
8817         (selectNextWordToSpellcheck): ditto
8818         (Delete): ditto
8819         (backspace): ditto
8820         (breakParagraph): remove one usage of Paragraph::next
8821         (redoParagraph): ditto
8822         (acceptChange): ditto
8823         (insertChar): adjust
8824         (rowBreakPoint): adjust
8825
8826         * bufferview_funcs.C (toggleAndShow): adjust
8827
8828 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
8829
8830         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8831         methods to access it.
8832         * lyxtext.h:
8833         * text.C: Added updateRowPositions to compute all row positions.
8834         Make top_y and getRowNearY() to use the cached y position
8835
8836 2003-04-11  John Levon  <levon@movementarian.org>
8837
8838         * text.C (rowBreakPoint): reintroduce the labelEnd
8839         checks, code copied from the row fill stuff. Deep voodoo.
8840
8841         * text.C (fill): add a comment and debugging for the
8842         next poor soul.
8843
8844 2003-04-11  John Levon  <levon@movementarian.org>
8845
8846         * text.C: make sure fullrow insets get wrapped to the next line,
8847         even when they're in a manual label
8848
8849 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8850
8851         * text2.C (insertParagraph): make it take ParagraphList::iterator
8852         as arg.
8853         (setLayout): make it return ParagraphList::iterator
8854         (redoParagraphs): ditto
8855         (setCounter): ditto
8856         (checkParagraph): ditto
8857
8858         * text.C (getRow): make getrow take ParagraphList::iterator as arg
8859
8860         * text2.C: adjust several funcs.
8861         (realizeFont): take a ParagraphList::iterator as arg.
8862         (getLayoutFont): ditto
8863         (getLabelFont): ditto
8864         (setCharFont): ditto
8865
8866         * text.C: adjust several funcs.
8867
8868 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8869
8870         * text.C (selectNextWordToSpellcheck): don't accidentally
8871         skip insets
8872
8873 2003-04-10  John Levon  <levon@movementarian.org>
8874
8875         * ToolbarBackend.C (getIcon): special handling for
8876         LFUN_MATH_DELIM
8877
8878 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8879
8880         * text2.C (cursorRight): a getChar assert fixed
8881
8882 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8883
8884         * text2.C (getFont): change to take a ParagraphList::iterator
8885         instead of Paragraph*
8886         Adjust several functions.
8887
8888         * text.C (transformChar): change to take a ParagraphList::iterator
8889         instead of Paragraph*
8890         (singleWidth): ditto
8891         Adjust several functions.
8892
8893         * rowpainter.C: adjust several functions
8894         * rowpainter.h:store a ParagraphList::iterator and not a
8895         Paragraph&.
8896
8897
8898 2003-04-09  John Levon  <levon@movementarian.org>
8899
8900         * lyxfunc.C:
8901         * lfuns.h:
8902         * LyXAction.h:
8903         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8904         and the "help" bits as well
8905
8906 2003-04-09  John Levon  <levon@movementarian.org>
8907
8908         * ToolbarBackend.h:
8909         * ToolbarBackend.C: allow multiple toolbars
8910
8911 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8912
8913         * undo_funcs.C (setCursorParUndo): adjust
8914
8915         * text_funcs.C (transposeChars): adjust
8916
8917         * text3.C (gotoNextInset): adjust
8918         (dispatch): adjust
8919
8920         * text2.C (setLayout): adjust
8921         (changeDepth): adjust
8922         (setFont): adjust
8923         (redoParagraphs): adjust
8924         (selectionAsString): adjust
8925         (setParagraph): adjust
8926         (insertInset): adjust
8927         (cutSelection): adjust
8928         (copySelection): adjust
8929         (pasteSelection): adjust
8930         (insertStringAsLines): adjust
8931         (updateInset): adjust
8932         (setCursor): change to take a ParagraphList::iterator parameter
8933         (setCursorIntern): change to take a ParagraphList::iterator parameter
8934         (setCurrentFont): adjust
8935         (cursorLeft): adjust
8936         (cursorRight): adjust
8937         (deleteEmptyParagraphMechanism): adjust
8938
8939         * text.C (breakParagraph): adjust
8940         (insertChar): adjust
8941         (acceptChange): adjust
8942         (rejectChange): adjust
8943         (selectNextWordToSpellcheck): adjust
8944         (changeCase): adjust
8945         (Delete): adjust
8946         (backspace): adjust
8947
8948         * lyxfind.C (SearchForward): adjust
8949         (SearchBackward): adjust
8950         (nextChange): adjust
8951
8952         * lyxcursor.C (par): adjust
8953
8954         * lyxcursor.h: store a ParagraphList::iterator instead of a
8955         Paragraph*
8956
8957         * lyx_cb.C (getPossibleLabel): adjust
8958
8959         * bufferview_funcs.C (toggleAndShow): adjust
8960
8961         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8962         (dispatch): adjust
8963
8964         * BufferView.C (removeAutoInsets): adjust
8965         (lockedInsetStoreUndo): adjust
8966
8967 2003-04-09  John Levon  <levon@movementarian.org>
8968
8969         * ToolbarBackend.C: try icon without argument
8970         if with argument fails
8971
8972 2003-04-08  John Levon  <levon@movementarian.org>
8973
8974         * ToolbarBackend.h:
8975         * ToolbarBackend.C: add getIcon(), handle tooltip,
8976         and change from "Icon" to "Item".
8977
8978 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8979
8980         * BufferView.C (lockInset): another bad getchar crunched
8981
8982 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8983
8984         * text2.C (changeDepth): do not setUndo on test_only (make undo work
8985         again)
8986
8987 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
8988
8989         * lyxfind.C (searchForward, searchBackwards): bug 782
8990
8991 2003-04-07  John Levon  <levon@movementarian.org>
8992
8993         * paragraph.C: remove dead comment
8994
8995         * text.C: remove troublesome depth-fiddling code
8996         in leftMargin() and rightMargin() (bug 1017)
8997
8998         * text.C: fix breaking of rows in nested lists
8999         (bug 1004)
9000
9001         * text2.C (updateCounters): fix up depth values
9002         (bug 1013)
9003
9004 2003-04-07  John Levon  <levon@movementarian.org>
9005
9006         * BufferView_pimpl.C: clear message when doc finishes resizing,
9007         and after a mouse event
9008
9009         * lyxfunc.C: clear message after exiting inset
9010
9011 2003-04-07  John Levon  <levon@movementarian.org>
9012
9013         * bufferview_funcs.C: show math status not outside
9014         status in the statusbar
9015
9016 2003-04-07  John Levon  <levon@movementarian.org>
9017
9018         * lyxfunc.C: note status changed after a depth change
9019
9020 2003-04-04  Angus Leeming  <leeming@lyx.org>
9021
9022         * LaTeX.h: move AuxInfo operator==, != out of line.
9023         Remove LaTeX virtual destructor; nothing derives from it.
9024         Move operator()() out of public area and rename it startscript().
9025         Change protected for private.
9026
9027 2003-04-04  Angus Leeming  <leeming@lyx.org>
9028
9029         * lyxfunc.C:
9030         * text2.C: remove unneeded #includes.
9031
9032 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
9033
9034         * text2.C (dEPM): fix the heigth of the next row
9035
9036 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
9037
9038         * text.C: squashed an invalid getChar requester + some ws changes
9039
9040 2003-04-03  John Levon  <levon@movementarian.org>
9041
9042         * bufferview_funcs.h:
9043         * bufferview_funcs.C:
9044         * lyxfunc.C:
9045         * lyxtext.h:
9046         * text2.C: make getStatus work for the env depth lfuns
9047
9048 2003-04-03  John Levon  <levon@movementarian.org>
9049
9050         * bufferview_funcs.h:
9051         * bufferview_funcs.C:
9052         * lyxfunc.C:
9053         * lyxtext.h:
9054         * text2.C: parlistize decDepth(), by merging it with incDepth()
9055
9056 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9057
9058         * lyxrow.h: store a ParagraphList::iterator instead of a
9059         Paragraph* and adjust other class functions to suit.
9060
9061         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
9062         above.
9063
9064 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
9065
9066         * text2.C (setCursor): do not anchor to cursor row for the time being
9067
9068 2003-04-02  John Levon  <levon@movementarian.org>
9069
9070         * LyXAction.C:
9071         * lfuns.h:
9072         * lyx_main.C:
9073         * lyxtext.h:
9074         * text.C:
9075         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
9076
9077 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9078
9079         * paragraph.h: make ParagraphList and ParagraphList::iterator
9080         friends of Paragraph.
9081
9082         * buffer.C (makeLinuxDocFile): move towards ParagraphList
9083
9084         * ParagraphList.C: Use the private next_ and previous_ from
9085         Paragraph.
9086
9087 2003-04-01  John Levon  <levon@movementarian.org>
9088
9089         * ToolbarBackend.h:
9090         * ToolbarBackend.C:
9091         * Makefile.am: rename, remove defaults gunk
9092
9093         * MenuBackend.h:
9094         * MenuBackend.C: remove defaults gunk
9095
9096         * Languages.h:
9097         * Languages.C: remove defaults gunk
9098
9099         * lyx_main.h:
9100         * lyx_main.C: error out if files couldn't be found.
9101
9102 2003-04-02  John Levon  <levon@movementarian.org>
9103
9104         * text2.C: make incDepth() use parlist
9105
9106 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9107
9108         * undo_funcs.C (firstUndoParagraph): adjust
9109
9110         * text3.C (gotoInset): adjust
9111         (dispatch): adjust, and rewrite loop.
9112
9113         * text2.C (init): adjust, and rewrite loop.
9114         (redoParagraphs): adjust
9115         (updateInset): adjust, and rewrite loop.
9116         (deleteEmptyParagraphMechanism): adjust
9117
9118         * tabular.C (LyXTabular): adjust
9119         (SetMultiColumn): adjust
9120         (TeXRow): adjust
9121
9122         * lyxtext.[Ch] (ownerParagraph): delete function
9123         (ownerParagraphs): new function returns a ParagraphList.
9124
9125         * BufferView.C (removeAutoInsets): adjust
9126         (insertErrors): adjust
9127         (setCursorFromRow): adjust
9128
9129 2003-04-01  Angus Leeming  <leeming@lyx.org>
9130
9131         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
9132         in the frontends.
9133
9134 2003-04-02  John Levon  <levon@movementarian.org>
9135
9136         * lyxtext.h:
9137         * text.C:
9138         * Makefile.am:
9139         * text_funcs.h:
9140         * text_funcs.C: make transposeChars a free function
9141
9142         * lyxrow_funcs.C: remove wrong comment
9143
9144 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9145
9146         * lyxtext.h: adjust
9147         * rowpainter.C: adjust
9148         * text.C: adjust
9149         * text2.C: adjust
9150         * text3.C: adjust
9151
9152         * lyxrow_funcs. [Ch]: new files
9153
9154         * lyxrow.[Ch]: remove next and previous pointers
9155         (next,previous): remove accessor functions
9156         (isParEnd): move to lyxrow_funcs
9157         (lastPos): move to lyxrow_funcs
9158         (nextRowIsAllInset): move to lyxrow_funcs
9159         (lastPrintablePos): move to lyxrow_funcs
9160         (numberOfSeparators): move to lyxrow_funcs
9161         (numberOfHfills): move to lyxrow_funcs
9162         (numberOfLabelHfills): move to lyxrow_funcs
9163         (hfillExpansion): move to lyxrow_funcs
9164
9165         * lyxfunc.C: adjust
9166
9167         * bufferview_funcs.C (toggleAndShow): adjust
9168
9169         * RowList.h: Remove class RowList from file leave just a
9170         std::list<Row>.
9171
9172         * RowList.C: delete file
9173
9174         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
9175         and lyxrow_funcs.h
9176
9177 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9178
9179         * text3.C (cursorPrevious): adjust
9180         (cursorNext): adjust
9181         (dispatch): adjust
9182
9183         * text2.C (redoHeightOfParagraph): adjust
9184         (redoDrawingOfParagraph): adjust
9185         (setCursor): adjust
9186
9187         * text.C (breakParagraph): adjust
9188         (insertChar): adjust
9189         (backspace): adjust
9190
9191         * rowpainter.C (RowPainter): adjust
9192         (leftMargin): simplify and adjust
9193         (most rowpainter functions): adjust.
9194
9195         * rowpainter.h: store the row as RowList::iterator not as Row*
9196
9197         * lyxcursor.C (row): taka RowList::iterator as arg
9198         (irow): ditto
9199
9200         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
9201         of Row*.
9202
9203 2003-04-01  Angus Leeming  <leeming@lyx.org>
9204
9205         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
9206         stuff like bool Bool.
9207
9208 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
9209
9210         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
9211         rewrite a loop
9212
9213 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9214
9215         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
9216         RowList::iterator.
9217
9218         * lyxtext.h (rows): drop one version and leve a const variant that
9219         returns a RowList::iterator.
9220
9221 2003-03-31  Angus Leeming  <leeming@lyx.org>
9222
9223         * text.C (fill): ensure that the signature is the same as that in the
9224         header file.
9225
9226 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
9227
9228         * text2.C (redoParagraphs): adjust
9229         (updateCounters): adjust
9230         (checkParagraph): adjust
9231         (getColumnNearX): adjust and reformat a bit.
9232
9233         * text.C (top_y): adjust
9234         (workWidth): adjust
9235         (leftMargin): adjust
9236         (prepareToPrint): adjust
9237         (getRow): adjust
9238         (getRowNearY): adjust
9239
9240         * lyxtext.h: make rowlist_ mutable.
9241
9242         * RowList.h: add const_iterator
9243         * RowList.C: adjust for RowList::const_iterator.
9244
9245         * text2.C (getCursorX): make it take a RowList::iterator as arg,
9246         adjust.
9247
9248 2003-03-31  John Levon  <levon@movementarian.org>
9249
9250         * lyxrc.h:
9251         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
9252
9253         * lyx_main.C: set default fonts from using lyx_gui funcs
9254
9255         * exporter.C: pdf_mode moved from lyxrc
9256
9257         * lyx_cb.C:
9258         * lyxfunc.C: changes from above
9259
9260 2003-03-31  John Levon  <levon@movementarian.org>
9261
9262         * lyx_main.C: fix to the last fix
9263
9264 2003-03-31  John Levon  <levon@movementarian.org>
9265
9266         * bufferlist.C: "Load original" -> "Load Original"
9267
9268         * converter.C:
9269         * exporter.C:
9270         * importer.C:
9271         * lyx_main.C:
9272         * format.C: more Alert cleanups
9273
9274 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
9275
9276         * text2.C (removeParagraph): make it take a RowList::iterator as
9277         arg, adjust.
9278         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
9279         (postRowPaint): make it take a RowList::iterator as arg, adjust.
9280
9281         * text.C (anchor_row): make it take a RowList::iterator as arg,
9282         adjust.
9283         (computeBidiTables): make it take a const reference to Row instead
9284         of Row pointer, adjust.
9285         (leftMargin): make it take a RowList::iterator as arg, adjust.
9286         (rowBreakPoint): adjust
9287         (breakAgainOneRow): make it take a RowList::iterator as arg,
9288         adjust.
9289         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
9290
9291         * bufferview_funcs.C (toggleAndShow): adjust
9292
9293 2003-03-30  John Levon  <levon@movementarian.org>
9294
9295         * Makefile.am:
9296         * BoostFormat.h:
9297         * boost-inst.C: moved to support
9298
9299         * several files: changes as a result
9300
9301 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
9302
9303         * text2.C (LyXText): adjust.
9304         (init): adjust
9305         (removeRow): make it take a RowList::iterator as arg, adjust.
9306         (fullRebreak): adjust
9307         (deleteEmptyParagraphMechanism): adjust
9308         (clearPaint): adjust
9309         (postPaint): adjust
9310
9311         * text.C (top_y): adjust
9312         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
9313         (breakAgain): make it take a RowList::iterator as arg, adjust.
9314         (breakParagraph): adjust
9315         (insertChar): adjust
9316         (backspace): adjust
9317
9318         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
9319         need_break_row, and refresh_row.
9320
9321         * text3.C (dispatch): adjust
9322
9323         * text2.C (checkParagraph): adjust
9324         (setCursor): adjust
9325         (setCursorFromCoordinates): adjust
9326
9327         * text.C (top_y): adjust
9328         (workWidth): adjust
9329         (getRow): make it return a RowList::iterator, adjust
9330         (getRowNearY): make it return a RowList::iterator, adjust
9331
9332         * text2.C (init): adjust
9333         (insertRow): remove function
9334         (insertParagraph): adjust
9335         (redoParagraphs): adjust
9336         (fullRebreak): adjust
9337         (updateCounters): adjust
9338
9339         * text.C (top_y): rewrite to use RowList iterators.
9340         (top_y): adjust
9341         (setHeightOfRow): rewrite to sue RowList iterators.
9342         (appendParagraph): adjust
9343         (breakAgain): adjust
9344         (breakAgainOneRow): adjust
9345         (breakParagraph): adjust
9346         (getRow): adjust
9347         (getRowNearY): adjust, and remove commented code.
9348
9349         * lyxtext.h (firstRow): delete function
9350         (lastRow): delete function
9351         (rows): new function (const and non-const versions.)
9352         (insertRow): delete function
9353
9354         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
9355
9356 2003-03-29  John Levon  <levon@movementarian.org>
9357
9358         * BufferView_pimpl.C: always update scrollbar top
9359         because pasting text when we're anchored could mean we
9360         miss an update altogether
9361
9362 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9363
9364         * text2.C (init): use rowlist_.end() and not 0.
9365         (insertRow): change to take a RowList::iterator as arg, adjust
9366         for this.
9367         (insertParagraph): change to take a RowList::iterator as arg,
9368         adjust for this.
9369         (redoParagraphs): remove some debug msgs.
9370
9371         * text.C (appendParagraph): change to take a RowList::iterator
9372         arg, adjust for this.
9373         (breakAgain): add an assert
9374         (breakAgainOneRow): ditto
9375
9376 2003-03-29  John Levon  <levon@movementarian.org>
9377
9378         * text2.C: do not clear selection after inc/decDepth
9379         (bug 550)
9380
9381 2003-03-29  John Levon  <levon@movementarian.org>
9382
9383         * BufferView.C:
9384         * buffer.C: fix broken strerrors according to Lars
9385
9386 2003-03-29  John Levon  <levon@movementarian.org>
9387
9388         * converters.C: more Alert cleanups
9389
9390 2003-03-29  John Levon  <levon@movementarian.org>
9391
9392         * bufferview_funcs.C: remove pointless Alert
9393
9394         * buffer.C: fix confusing error message when
9395         a template is chmoded 000
9396
9397 2003-03-29  John Levon  <levon@movementarian.org>
9398
9399         * BufferView.C:
9400         * BufferView.h:
9401         * BufferView_pimpl.C: Alert fixes
9402
9403         * Makefile.am:
9404         * tabular.C:
9405         * tabular-old.C: remove unused table compat reading
9406
9407 2003-03-29  John Levon  <levon@movementarian.org>
9408
9409         * BufferView.C:
9410         * buffer.C:
9411         * lyx_cb.h:
9412         * lyx_cb.C: more Alert cleanups
9413
9414         * lyxfunc.C: don't allow chktex if not latex document
9415
9416 2003-03-29  John Levon  <levon@movementarian.org>
9417
9418         * lyx_cb.C:
9419         * BufferView.C:
9420         * buffer.C: warnings pushed down from support/,
9421         kill err_alert
9422
9423 2003-03-29  John Levon  <levon@movementarian.org>
9424
9425         * lyxfunc.C: safety check for C-r (revert)
9426
9427 2003-03-29  John Levon  <levon@movementarian.org>
9428
9429         * bufferlist.h:
9430         * bufferlist.C: several UI fixes using Alert::prompt.
9431         Fix the pointless looping quit code. Fix stupid revert
9432         behaviour (bug 938)
9433
9434         * lyxvc.h:
9435         * lyxvc.C:
9436         * lyx_cb.C: use Alert::prompt
9437
9438         * lyx_main.C: remove a silly question
9439
9440         * lyxfunc.C: remove a couple of silly questions,
9441         use Alert::prompt
9442
9443 2003-03-28  John Levon  <levon@movementarian.org>
9444
9445         * text2.C: fix bug 974 (End on empty par)
9446
9447 2003-03-28  John Levon  <levon@movementarian.org>
9448
9449         * BufferView_pimpl.C:
9450         * LyXAction.C:
9451         * lfuns.h: remove do-nothing math greek lfuns
9452
9453 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9454
9455         * lyxgluelength.h (isValidGlueLength): add default arg on
9456         parameter 2. Remove default arg from friend in class.
9457
9458         * lyxlength.h (isValidLength): add default arg on parameter 2.
9459         Remove default arg from friend in class.
9460
9461         * text2.C (LyXText): adjust, initialize refresh_row.
9462         (init): adjust
9463         (removeRow): adjust
9464         (insertRow): adjust
9465         (insertParagraph): adjst
9466         (redoParagraphs): adjust
9467         (fullRebreak): adjust
9468         (updateCounters): adjust
9469         (deleteEmptyParagraphMechanism): first attempt at fixing a
9470         crashing bug.
9471
9472         * text.C (top_y): adjust
9473         (setHeightOfRow): adjust
9474         (getRow): adjust
9475         (getRowNearY): adjust
9476
9477         * lyxtext.h: include RowList.h
9478         (~LyXText): not needed anymore, deleted.
9479         (firstRow): modify for RowList
9480         (lastRow): new function
9481         Delete firstrow and lastrow class variables, add a Rowlist
9482         rowlist_ class variable.
9483
9484         * lyxrow.C (lastPos): use empty() and not !size() to check if a
9485         paragraph is empty.
9486
9487         * RowList.C (insert): fix case where it == begin().
9488
9489 2003-03-26  Angus Leeming  <leeming@lyx.org>
9490
9491         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9492         the thesaurus dialog.
9493
9494 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
9495
9496         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9497
9498         * RowList.[Ch]: new files
9499
9500         * ParagraphList.C (erase): handle the case where it == begin
9501         correctly.
9502
9503 2003-03-25  John Levon  <levon@movementarian.org>
9504
9505         * Makefile.am:
9506         * aspell_local.h:
9507         * aspell.C: add new aspell support
9508
9509         * lyxrc.h:
9510         * lyxrc.C: Make use_pspell be use_spell_lib. Always
9511         have it accessible.
9512
9513 2003-03-25  Angus Leeming  <leeming@lyx.org>
9514
9515         * lfuns.h:
9516         * LyXAction.C (init): new LFUN_INSET_INSERT.
9517
9518         * BufferView_pimpl.C (dispatch): split out part of the
9519         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9520
9521         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9522         LFUN_INSET_APPLY.
9523
9524 2003-03-25  Angus Leeming  <leeming@lyx.org>
9525
9526         * lyxfunc.C (dispatch): changes to the Dialogs interface.
9527
9528 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
9529
9530         * text2.C:
9531         * text3.C: remove useless row->height(0)
9532
9533 2003-03-25  John Levon  <levon@movementarian.org>
9534
9535         * lyxtext.h:
9536         * text2.C:
9537         * text3.C: rename the refreshing stuff to better names
9538
9539 2003-03-24  John Levon  <levon@movementarian.org>
9540
9541         * BufferView_pimpl.h:
9542         * BufferView_pimpl.C: update layout choice on a mouse
9543         press/release
9544
9545 2003-03-23  John Levon  <levon@movementarian.org>
9546
9547         * Makefile.am: fix commandtags.h reference
9548
9549 2003-03-22  John Levon  <levon@movementarian.org>
9550
9551         * BufferView_pimpl.C:
9552         * lyxtext.h:
9553         * rowpainter.C:
9554         * rowpainter.h:
9555         * text.C:
9556         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9557
9558 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
9559
9560         * lyxtext.h:
9561         * text.C: take the rtl methods out of line
9562
9563 2003-03-21 André Pönitz <poenitz@gmx.net>
9564
9565         * metricsinfo.[Ch]: new files containing structures to be passed around
9566         during the two-phase-drawing...
9567
9568 2003-03-21 André Pönitz <poenitz@gmx.net>
9569
9570         * lyxtextclass.C: read 'environment' tag.
9571
9572 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
9573
9574         * text2.C (removeRow): fix bug 964
9575
9576 2003-03-20  John Levon  <levon@movementarian.org>
9577
9578         * rowpainter.C:
9579         * text.C:
9580         * text2.C: paint cleanups. Inset::update() dropped font
9581         parameter
9582
9583 2003-03-19  John Levon  <levon@movementarian.org>
9584
9585         * lyxfunc.C: only fitcursor/markDirty if available()
9586
9587 2003-03-19  John Levon  <levon@movementarian.org>
9588
9589         * commandtags.h: rename to ...
9590
9591         * lfuns.h: ... this, and renumber / cleanup
9592
9593 2003-03-19  John Levon  <levon@movementarian.org>
9594
9595         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9596         fit the cursor after an lfun
9597
9598         * BufferView.h:
9599         * BufferView.C:
9600         * BufferView_pimpl.h:
9601         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9602
9603         * LyXAction.C: layout-character should have ReadOnly
9604
9605         * ParagraphParameters.C:
9606         * buffer.C:
9607         * bufferview_funcs.C:
9608         * lyx_cb.C:
9609         * lyxfind.C:
9610         * lyxtext.h:
9611         * text.C:
9612         * text2.C:
9613         * text3.C:
9614         * undo_funcs.C: changes from above
9615
9616 2003-03-18  John Levon  <levon@movementarian.org>
9617
9618         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9619         remove it from update()
9620
9621         * lyxfunc.C: update layout choice after an lfun
9622
9623         * text3.C: remove extra updateLayoutChoice()s
9624
9625 2003-03-18  John Levon  <levon@movementarian.org>
9626
9627         * text.C: top_y change means full repaint, fix
9628         a drawing bug with cursor movement
9629
9630 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9631
9632         * lyxtext.h:
9633         * text.C:
9634         * text2.C: anchor row on setCursor
9635
9636 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9637
9638         * lyxtext.h: remove almost all mutable keywords
9639         * text.C:
9640         * text2.C:
9641         * text3.C: remove const keywords accordingly
9642
9643 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9644
9645         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9646         anon namespace
9647         (TeXEnvironment): ditto
9648         (TeXOnePar): ditto
9649
9650 2003-03-17  John Levon  <levon@movementarian.org>
9651
9652         * text.C (rowBreakPoint): remove attempt to fix displayed
9653         math insets inside a manual label
9654
9655 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9656
9657         * lyxtext.h: remove BufferView* as first arg from almost all class
9658         functions.
9659         * other files: adjust.
9660
9661 2003-03-17  John Levon  <levon@movementarian.org>
9662
9663         * lyxtext.h:
9664         * undo_funcs.C:
9665         * text2.C: more paint cleanups
9666
9667         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9668
9669         * rowpainter.h:
9670         * rowpainter.C: remove "smart" background painting code
9671
9672 2003-03-16  John Levon  <levon@movementarian.org>
9673
9674         * lyxtext.h:
9675         * text.C:
9676         * text2.C:
9677         * text3.C: add helper functions for setting refresh_row/y
9678
9679 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
9680
9681         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9682         newline inset which *can* get inserted in the pass_thru layouts.
9683         This is primarily for literate documents.
9684
9685 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
9686
9687         * buffer.C: increment LYX_FORMAT to 223
9688
9689 2003-03-14 André Pönitz <poenitz@gmx.net>
9690
9691         * textclass.h: prepare for environment handling, ws changes
9692         * lyxlayout.C: read latexheader and latexfooter tags
9693
9694 2003-03-14  John Levon  <levon@movementarian.org>
9695
9696         * text2.C: rewrite ::status() a bit
9697
9698 2003-03-13  John Levon  <levon@movementarian.org>
9699
9700         * lyxtext.h: add some docs
9701
9702 2003-03-13  John Levon  <levon@movementarian.org>
9703
9704         * lyxtext.h:
9705         * text.C:
9706         * text2.C:
9707         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9708
9709 2003-03-13  John Levon  <levon@movementarian.org>
9710
9711         * text3.C: fix appendix redrawing
9712
9713 2003-03-13  John Levon  <levon@movementarian.org>
9714
9715         * text.C (setHeightOfRow):
9716         * rowpainter.h:
9717         * rowpainter.C: make appendix mark have the text
9718           "Appendix" so the user knows what it is
9719
9720         * LColor.h:
9721         * LColor.C: s/appendixline/appendix/ from above
9722
9723 2003-03-13  John Levon  <levon@movementarian.org>
9724
9725         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9726
9727         * text.C: fix a getChar(pos) bug properly
9728
9729 2003-03-13  Angus Leeming  <leeming@lyx.org>
9730
9731         * commandtags.h:
9732         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9733         Probably only temporary. Let's see how things pan out.
9734
9735         * BufferView.C (unlockInset):
9736         * BufferView_pimpl.C (fitCursor):
9737         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9738
9739         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9740         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9741
9742         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9743         new functions that convert ParagraphParameters to and from a string.
9744
9745         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9746         BufferView::Pimpl's dispatch.
9747         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9748
9749 2003-03-13 André Pönitz <poenitz@gmx.net>
9750
9751         * lyxfunc.C:
9752         * text3.C:
9753         * factory.C: make it aware of InsetEnv
9754
9755 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
9756
9757         * text2.C (setCursor): never ask for one past last
9758         (setCursor): add some debugging messages.
9759
9760         * text.C (singleWidth): never ask for one past last
9761         (singleWidth): ditto
9762         (leftMargin): ditto
9763         (rightMargin): ditto
9764         (rowBreakPoint): ditto
9765         (setHeightOfRow): ditto
9766         (prepareToPrint): ditto
9767
9768         * rowpainter.C (paintBackground): never ask for one past last
9769         (paintText): never ask for one past last
9770
9771         * paragraph_pimpl.C (getChar): make the assert stricter, never
9772         allow the one past last pos to be taken
9773
9774         * paragraph.C (getChar): ws changes only
9775
9776         * lyxrow.C (nextRowIsAllInset): never ask for one past last
9777         (numberOfSeparators): ditto
9778         (numberOfHfills): ditto
9779
9780 2003-03-12  John Levon  <levon@movementarian.org>
9781
9782         * author.h:
9783         * author.C:
9784         * bufferparams.h:
9785         * bufferparams.C:
9786         * paragraph_funcs.C: fix per-buffer authorlists
9787
9788 2003-03-12  John Levon  <levon@movementarian.org>
9789
9790         * text.C: fix newline in right address
9791
9792 2003-03-12  Angus Leeming  <leeming@lyx.org>
9793
9794         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9795         duplicate those in LyXFunc::dispatch.
9796
9797         * commandtags.h:
9798         * LyXAction.C:
9799         * ToolbarDefaults.C:
9800         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9801         Add LFUN_FONTFREE_UPDATE.
9802
9803         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9804         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9805
9806         * bufferview_func.[Ch]: several new functions to facilliate
9807         transfer of data to and from the character dialog.
9808
9809 2003-03-12  John Levon  <levon@movementarian.org>
9810
9811         * buffer.C:
9812         * paragraph.h:
9813         * paragraph.C:
9814         * paragraph_funcs.C:
9815         * paragraph_pimpl.C:
9816         * sgml.C:
9817         * tabular.C:
9818         * text.C:
9819         * text3.C: remove META_NEWLINE in favour of an inset
9820
9821         * rowpainter.h:
9822         * rowpainter.C: remove paintNewline (done by inset)
9823
9824 2003-03-12  John Levon  <levon@movementarian.org>
9825
9826         * paragraph_pimpl.C: complain about bad getChar()s
9827         for a while at least
9828
9829 2003-03-12  John Levon  <levon@movementarian.org>
9830
9831         * buffer.h:
9832         * buffer.C: move paragraph read into a separate function,
9833         a little renaming to reflect that.
9834
9835         * bufferparams.h:
9836         * bufferparams.C: remove the author_ids map, not necessary now
9837
9838         * factory.h:
9839         * factory.C: moved Buffer::readInset to here
9840
9841         * paragraph_funcs.h:
9842         * paragraph_funcs.C: readParagraph free function moved from
9843         buffer.C
9844
9845         * tabular.C: name change
9846
9847 2003-03-12  John Levon  <levon@movementarian.org>
9848
9849         * buffer.C:
9850         * ParagraphParameters.C: move par params input to
9851         a read() method
9852
9853         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9854         behave like a normal read from the stream wrt reading
9855         a line vs. a \\token
9856
9857 2003-03-12  John Levon  <levon@movementarian.org>
9858
9859         * paragraph.C:
9860         * ParagraphParameters.h:
9861         * ParagraphParameters.C: move output code to a
9862         ::write() method
9863
9864 2003-03-12  John Levon  <levon@movementarian.org>
9865
9866         * BufferView.C (insertLyXFile):
9867         * buffer.h:
9868         * buffer.C:
9869         * tabular.C: use a parlist iterator for creating the
9870           document.
9871
9872 2003-03-12  John Levon  <levon@movementarian.org>
9873
9874         * buffer.C: make current_change static local not
9875           static file-scope
9876
9877 2003-03-12  John Levon  <levon@movementarian.org>
9878
9879         * buffer.C: fix insertStringAsLines for change tracking
9880
9881 2003-03-12  John Levon  <levon@movementarian.org>
9882
9883         * BufferView.C:
9884         * tabular.C:
9885         * buffer.h:
9886         * buffer.C:
9887         * bufferparams.h:
9888         * bufferparams.C: move author list into params. Rename some
9889           functions. Move the header reading into a separate token
9890           loop. Move the header token reading into BufferParams.
9891
9892 2003-03-12  John Levon  <levon@movementarian.org>
9893
9894         * changes.C: put debug inside lyxerr.debugging() checks
9895
9896 2003-03-11 André Pönitz <poenitz@gmx.net>
9897
9898         * factory.C: make it aware of InsetHFill
9899
9900 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9901
9902         * buffer.C (latexParagraphs): move function from here...
9903         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9904         args.
9905
9906 2003-03-10  Angus Leeming  <leeming@lyx.org>
9907
9908         * LyXAction.C (init): fix bug in poplating array with multiple entries
9909         with the same LFUN (spotted by JMarc).
9910
9911 2003-03-10  John Levon  <levon@movementarian.org>
9912
9913         * text.C:
9914         * text2.C: move getColumnNearX() near its
9915         only call site
9916
9917 2003-03-10  John Levon  <levon@movementarian.org>
9918
9919         * text.C: fix break before a minipage
9920
9921 2003-03-10  John Levon  <levon@movementarian.org>
9922
9923         * text.C: fix the last commit
9924
9925 2003-03-09  John Levon  <levon@movementarian.org>
9926
9927         * lyxtext.h:
9928         * text.C:
9929         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9930         bug 365 (don't break before insets unless needed). Don't
9931         return a value > last under any circumstances.
9932
9933 2003-03-09  Angus Leeming  <leeming@lyx.org>
9934
9935         * BufferView_pimpl.C (trackChanges, dispatch): call
9936         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9937
9938 2003-03-09  Angus Leeming  <leeming@lyx.org>
9939
9940         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9941         than Dialogs::showAboutlyx().
9942
9943 2003-03-09  Angus Leeming  <leeming@lyx.org>
9944
9945         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9946         than Dialogs::showTabularCreate().
9947
9948 2003-03-09  John Levon  <levon@movementarian.org>
9949
9950         * lyxtext.h:
9951         * text.C:
9952         * text2.C: 3rd arg to nextBreakPoint was always the same.
9953           Use references.
9954
9955 2003-03-08  John Levon  <levon@movementarian.org>
9956
9957         * lyxrow.C:
9958         * paragraph.C:
9959         * paragraph.h:
9960         * rowpainter.C:
9961         * text.C:
9962         * text2.C: Remove the "main" bit from the "main body"
9963           notion.
9964
9965 2003-03-08  John Levon  <levon@movementarian.org>
9966
9967         * text.C (leftMargin): The left margin of an empty
9968         manual label paragraph should not include the label width
9969         string length.
9970
9971         * text.C (prepareToPrint): don't attempt to measure hfills
9972         for empty manual label paragraphs - the answer should be 0
9973
9974 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9975
9976         * CutAndPaste.C: remove commented code and reindent.
9977
9978 2003-03-08  John Levon  <levon@movementarian.org>
9979
9980         * lyxfunc.h:
9981         * lyxfunc.C: move reloadBuffer()
9982
9983         * BufferView.h:
9984         * BufferView.C: to here
9985
9986         * lyxvc.C: add comment
9987
9988         * vc-backend.h:
9989         * vc-backend.C: call bv->reload() to avoid
9990           getStatus() check on MENURELOAD
9991
9992 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
9993
9994         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9995         to an old format .dep file.
9996
9997 2003-03-07  Angus Leeming  <leeming@lyx.org>
9998
9999         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
10000         when the LFUN_MOUSE_RELEASE should have been handled by
10001         inset->localDispatch.
10002
10003 2003-03-07  Angus Leeming  <leeming@lyx.org>
10004
10005         * BufferView_pimpl.C (dispatch):
10006         * LyXAction.C (init):
10007         * ToolbarDefaults.C (init):
10008         * commandtags.h:
10009         * lyxfunc.C (getStatus):
10010         remove LFUN_INSET_GRAPHICS.
10011
10012         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
10013
10014 2003-03-07  Angus Leeming  <leeming@lyx.org>
10015
10016         * commandtags.h:
10017         * LyXAction.C (init):
10018         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
10019
10020         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
10021
10022         * commandtags.h:
10023         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
10024
10025         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
10026         localDispatch method LFUN_INSET_DIALOG_UPDATE.
10027
10028 2003-03-07  Angus Leeming  <leeming@lyx.org>
10029
10030         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
10031         remove "ert".
10032
10033 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10034
10035         * ParagraphList.C (front): new function
10036         (back): implement
10037
10038 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
10039
10040         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
10041         and top_row_offset_. removed var first_y.
10042         * text.C (top_y):
10043         * text2.C (LyXText, removeRow):
10044         * text3.C:
10045         * BufferView_pimpl.C:
10046         use these methods instead of using first_y
10047
10048 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10049
10050         * text2.C (pasteSelection): adjust for checkPastePossible
10051
10052         * CutAndPaste.C: remove Paragraph * buf and replace with
10053         ParagraphList paragraphs.
10054         (DeleteBuffer): delete
10055         (cutSelection): change the tc type to textclass_type
10056         (copySelection): change the tc type to textclass_type
10057         (copySelection): adjust for ParagraphList
10058         (pasteSelection): change the tc type to textclass_type
10059         (pasteSelection): adjust for Paragraphlist
10060         (nrOfParagraphs): simplify for ParagraphList
10061         (checkPastePossible): simplify for ParagraphList
10062         (checkPastePossible): remove unused arg
10063
10064         * ParagraphList.C (insert): handle the case where there are no
10065         paragraphs yet.
10066
10067         * CutAndPaste.h: make CutAndPaste a namespace.
10068
10069         * text3.C (dispatch): adjust
10070
10071         * text.C (breakParagraph): add a ParagraphList as arg
10072
10073         * paragraph_funcs.C (breakParagraph): change to take a
10074         BufferParams and a ParagraphList as args.
10075         (breakParagraphConservative): ditto
10076         (mergeParagraph): ditto
10077         (TeXDeeper): add a ParagraphList arg
10078         (TeXEnvironment): ditto
10079         (TeXOnePar): ditto
10080
10081         * buffer.C (readLyXformat2): adjust
10082         (insertStringAsLines): adjust
10083         (latexParagraphs): adjust
10084
10085         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
10086         (cutSelection): adjust
10087         (pasteSelection): adjust
10088
10089         * BufferView_pimpl.C (insertInset): adjust
10090
10091 2003-03-05  Angus Leeming  <leeming@lyx.org>
10092
10093         * commandtags.h:
10094         * LyXAction.C (init):
10095         * BufferView_pimpl.C (dispatch):
10096         * lyxfunc.C (getStatus):
10097         remove LFUN_CHILD_INSERT.
10098
10099         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
10100
10101 2003-03-05  Angus Leeming  <leeming@lyx.org>
10102
10103         * commandtags.h:
10104         * LyXAction.C (init):
10105         * src/factory.C (createInset):
10106         * lyxfunc.C (getStatus):
10107         * text3.C (dispatch):
10108         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
10109
10110         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
10111
10112 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10113
10114         * ParagraphList.C (insert): handle insert right before end()
10115         (erase): fix cases where it can be first or last paragraph.
10116
10117 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10118
10119         * paragraph_funcs.C (TeXEnvironment): remove all usage of
10120         Paragraph::next and Paragraph::previous
10121         (TeXOnePar): ditto
10122
10123         * text.C (breakParagraph): adjust
10124
10125         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
10126         BufferParams& as arg.
10127         (breakParagraph): use ParagraphList::insert
10128         (breakParagraphConservative): take a Buffer* instead of a
10129         BufferParams& as arg.
10130         (breakParagraphConservative): use ParagraphList::insert.
10131
10132         * buffer.C (insertStringAsLines): un-const it
10133         (insertStringAsLines): adjust
10134
10135         * ParagraphList.C (insert): new function
10136
10137         * CutAndPaste.C (pasteSelection): adjust
10138
10139         * text.C (backspace): adjust
10140
10141         * tabular.C (SetMultiColumn): adjust
10142
10143         * CutAndPaste.C (cutSelection): adjust
10144         (pasteSelection): adjust
10145
10146         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
10147         Buffer const * as arg
10148
10149         * ParagraphList.C (erase): new function
10150         * paragraph_funcs.C (mergeParagraph): use it
10151         (mergeParagraph): make it take a Buffer* instead of a
10152         BufferParams* as arg
10153
10154         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
10155         as arg
10156         (breakParagraphConservative): ditto
10157
10158         * paragraph.h: remove the breakParagraph friend
10159
10160         * paragraph.C (eraseIntern): new function
10161         (setChange): new function
10162
10163         * paragraph_funcs.C (mergeParagraph): make it take a
10164         ParagraphList::iterator instead of a Paragraph *, adjust
10165         accordingly.
10166
10167         * paragraph.h: move an #endif so that the change tracking stuff
10168         also works in the NO_NEXT case.
10169
10170 2003-03-04  Angus Leeming  <leeming@lyx.org>
10171
10172         * commandtags.h:
10173         * LyXAction.C: new LFUN_INSET_MODIFY.
10174
10175         * BufferView_pimpl.C (dispatch): if an inset is found to be open
10176         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
10177
10178 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10179
10180         * several files: ws changes only
10181
10182         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
10183         (TeXEnvironment): ditto
10184         (TeXDeeper): ditto
10185
10186         * buffer.C (makeLaTeXFile): adjust
10187         (latexParagraphs): make it take ParagraphList::iterator as args
10188
10189 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
10190
10191         * buffer.C (latexParagraphs): adjust
10192
10193         * paragraph.C (TeXOnePar): move function...
10194         (optArgInset): move function...
10195         (TeXEnvironment): move function...
10196         * paragraph_pimpl.C (TeXDeeper): move function...
10197         * paragraph_funcs.C: ...here
10198
10199         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
10200
10201 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10202
10203         * buffer.C (readInset): remove compability code for old Figure and
10204         InsetInfo insets
10205
10206 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10207
10208         * buffer.C: ws changes
10209         (readInset):
10210
10211         * BufferView_pimpl.C: ditto
10212         * author.C: ditto
10213         * buffer.h: ditto
10214         * bufferlist.h: ditto
10215         * changes.h: ditto
10216         * lyxfunc.C: ditto
10217
10218 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
10219
10220         * converter.[Ch]: split into itself +
10221         * graph.[Ch]
10222         * format.[Ch]
10223         * Makefile.am: += graph.[Ch] + format.[Ch]
10224         * MenuBackend.C
10225         * buffer.C
10226         * exporter.C
10227         * importer.C
10228         * lyx_main.C
10229         * lyxfunc.C
10230         * lyxrc.C: added #include "format.h"
10231
10232 2003-02-27  Angus Leeming  <leeming@lyx.org>
10233
10234         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
10235           a label.
10236
10237         * factory.C (createInset): add "label" to the factory.
10238
10239         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
10240           string and do no more.
10241
10242 2003-02-27  Angus Leeming  <leeming@lyx.org>
10243
10244         * commandtags.h:
10245         * LyXAction.C (init):
10246         * factory.C (createInset):
10247         * BufferView_pimpl.C (dispatch):
10248           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
10249
10250         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
10251
10252         * lyxfunc.C (dispatch):
10253         * text3.C (dispatch): pass name to params2string.
10254
10255 2003-02-26  Angus Leeming  <leeming@lyx.org>
10256
10257         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
10258           blocks together.
10259           Rearrange the ~includes. Strip out the unnecessary ones.
10260
10261         * factory.C (createInset): reformat.
10262           create new insets for the various LFUN_XYZ_APPLY lfuns.
10263
10264 2003-02-26  John Levon  <levon@movementarian.org>
10265
10266         * lyxrow.h:
10267         * lyxrow.C: add isParStart,isParEnd helpers
10268
10269         * paragraph.h: make isInserted/DeletedText take refs
10270
10271         * paragraph_funcs.h:
10272         * paragraph_funcs.C: remove #if 0'd code
10273
10274         * lyxtext.h:
10275         * text3.C:
10276         * text2.C:
10277         * text.C: use lyxrow helpers above.
10278           Move draw and paint routines to RowPainter.
10279           Make several methods use refs not pointers.
10280           Make backgroundColor() const.
10281           Add markChangeInDraw(), isInInset().
10282           Merge changeRegionCase into changeCase.
10283           Make workWidth() shouldn't-happen code into an Assert.
10284
10285         * rowpainter.h:
10286         * rowpainter.C: new class for painting a row.
10287
10288         * vspace.h:
10289         * vspace.C: make inPixels take a ref
10290
10291 2003-02-26  Angus Leeming  <leeming@lyx.org>
10292
10293         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
10294         LFUN_REF_APPLY.
10295
10296 2003-02-25  John Levon  <levon@movementarian.org>
10297
10298         * ispell.C: give the forked command a more accurate name
10299
10300 2003-02-22  John Levon  <levon@movementarian.org>
10301
10302         * toc.h:
10303         * toc.C: make TocItem store an id not a Paragraph *
10304           (bug #913)
10305
10306 2003-02-21  Angus Leeming  <leeming@lyx.org>
10307
10308         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
10309           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
10310           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
10311           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
10312           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
10313           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
10314
10315         * BufferView_pimpl.C (dispatch):
10316         * LyXAction.C (init):
10317         * factory.C (createInset):
10318         * lyxfunc.C (getStatus, dispatch):
10319         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
10320
10321 2003-02-21  Angus Leeming  <leeming@lyx.org>
10322
10323         * BufferView_pimpl.C (MenuInsertLyXFile):
10324         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
10325         * lyxfunc.C (menuNew, open, doImport):
10326           no longer pass a LyXView & to fileDlg.
10327
10328 2003-02-21  Angus Leeming  <leeming@lyx.org>
10329
10330         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
10331         * LyXAction.C: change, BIBKEY to BIBITEM.
10332         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
10333         Change InsetBibKey to InsetBibitem.
10334         Change BIBKEY_CODE to BIBITEM_CODE.
10335         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10336         * factory.C: replace insetbib.h with insetbibitem.h.
10337         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10338         * paragraph.C: replace insetbib.h with insetbibitem.h.
10339         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
10340         Change bibkey() to bibitem().
10341         * text.C: remove insetbib.h.
10342         * text2.C: replace insetbib.h with insetbibitem.h.
10343         change bibkey() to bibitem().
10344         * text3.C: remove insetbib.h.
10345         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10346
10347 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10348
10349         * lyxrc.C (output): enclose user email in quotes (in case there are
10350         several words)
10351
10352 2003-02-18  John Levon  <levon@movementarian.org>
10353
10354         * buffer.h: add std::
10355
10356 2003-02-17  John Levon  <levon@movementarian.org>
10357
10358         * SpellBase.h:
10359         * ispell.h:
10360         * ispell.C:
10361         * pspell.h:
10362         * pspell.C: reworking. Especially in ispell, a large
10363           number of clean ups and bug fixes.
10364
10365         * lyxfunc.C: fix revert to behave sensibly
10366
10367 2003-02-17 André Pönitz <poenitz@gmx.net>
10368
10369         * LyXAction.C:
10370         * commandtags.h: new LFUN_INSERT_BIBKEY
10371
10372         * layout.h:
10373         * lyxlayout.C:
10374         * buffer.C:
10375         * factory.C:
10376         * text.C:
10377         * text2.C:
10378         * text3.C:
10379         * paragraph.[Ch]:
10380         * paragraph_func.C: remove special bibkey handling
10381
10382 2003-02-17  John Levon  <levon@movementarian.org>
10383
10384         * text.C (Delete): fix case where delete at the end of
10385           the very first paragraph would not merge the pars
10386
10387 2003-02-17  John Levon  <levon@movementarian.org>
10388
10389         * lyxrow.C: fix lastPrintablePos()
10390
10391 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10392
10393         * bufferparams.C (writeLaTeX): add a std:here
10394
10395         * buffer.C: and remove a using directive there
10396
10397 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10398
10399         * buffer.C (makeLaTeXFile): move the code that generates the
10400           preamble...
10401
10402         * bufferparams.C (writeLaTeX): ... in this new method
10403
10404         * LaTeXFeatures.C (getEncodingSet): make const
10405           (getLanguages): make const
10406
10407         * MenuBackend.C (binding): returns the binding associated to this
10408           action
10409           (add): sets the status of each item by calling getStatus. Adds
10410           some intelligence.
10411           (read): add support for OptSubMenu
10412           (expand): remove extra separator at the end of expanded menu
10413
10414 2003-02-15  John Levon  <levon@movementarian.org>
10415
10416         * BufferView.C:
10417         * BufferView_pimpl.C:
10418         * bufferlist.h:
10419         * bufferlist.C: remove pointless BufferStorage bloat. Remove
10420           inset code that had no actual effect. Remove unneeded status
10421           code.
10422
10423 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10424
10425         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10426           in preamble
10427
10428 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
10429
10430         * text.C (drawLengthMarker): also draw an arrow marker for
10431           symbolic lengths (medskip...)
10432
10433 2003-02-14  John Levon  <levon@movementarian.org>
10434
10435         * tabular.h:
10436         * tabular.C: better method names
10437
10438 2003-02-14  John Levon  <levon@movementarian.org>
10439
10440         * BufferView_pimpl.C:
10441         * bufferlist.C:
10442         * buffer.C:
10443         * converter.C:
10444         * lyx_cb.C:
10445         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10446           it's a more accurate name. Remove some pointless uses.
10447
10448 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10449
10450         * text2.C (LyXText): change order of initilizers to shut off
10451           warnings
10452
10453 2003-02-14  John Levon  <levon@movementarian.org>
10454
10455         * buffer.C: use ParIterator for getParFromID()
10456
10457         * paragraph.h:
10458         * paragraph.C:
10459         * paragraph_pimpl.h:
10460         * paragraph_pimpl.C: remove unused getParFromID()
10461
10462 2003-02-14  John Levon  <levon@movementarian.org>
10463
10464         * buffer.C: remove some very old #if 0'd parse code
10465
10466 2003-02-13  John Levon  <levon@movementarian.org>
10467
10468         * text.h:
10469         * text.C:
10470         * text2.C: move hfillExpansion(), numberOfSeparators(),
10471           rowLast(), rowLastPrintable(), numberofHfills(),
10472           numberOfLabelHfills() ...
10473
10474         * lyxrow.h:
10475         * lyxrow.C: ... to member functions here.
10476
10477         * paragraph.h:
10478         * paragraph.C:
10479         * lyxtext.h:
10480         * text.C: remove LyXText::beginningOfMainBody(), and call
10481           p->beginningOfMainBody() directly. Move the check for
10482           LABEL_MANUAL into the latter.
10483
10484         * text.h:
10485         * text.C:
10486         * text2.C:
10487         * vspace.C:
10488         * BufferView.h:
10489         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10490
10491         * text.h:
10492         * text.C:
10493         * text2.C:
10494         * text3.C:
10495         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10496           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10497
10498 2003-02-13  John Levon  <levon@movementarian.org>
10499
10500         * CutAndPaste.C: remove debug
10501
10502 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10503
10504         * paragraph.C (asString): remove two unused variables
10505
10506         * lyxtextclass.C (readTitleType):
10507           (Read):
10508           (LyXTextClass): handle new members titletype_ and titlename_
10509
10510         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10511
10512 2003-02-09  John Levon  <levon@movementarian.org>
10513
10514         * buffer.h:
10515         * buffer.C: replace hand-coded list with a map for the dep clean
10516
10517 2003-02-08  John Levon  <levon@movementarian.org>
10518
10519         * LaTeX.C: consolidate code into showRunMessage() helper
10520
10521 2003-02-08  John Levon  <levon@movementarian.org>
10522
10523         * lyxfind.C:
10524         * lyxtext.h:
10525         * text2.C:
10526         * BufferView.C: change setSelectionOverString() to setSelectionRange()
10527           and pass the size in explicitly
10528
10529         * BufferView_pimpl.h:
10530         * BufferView_pimpl.C:
10531         * BufferView.h:
10532         * BufferView.C: add getCurrentChange()
10533
10534         * BufferView_pimpl.h:
10535         * BufferView_pimpl.C: handle change lfuns
10536
10537         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10538           for changes. Mark pasted paragraphs as new.
10539
10540         * support/lyxtime.h:
10541         * support/lyxtime.C:
10542         * DepTable.C: abstract time_t as lyx::time_type
10543
10544         * LColor.h:
10545         * LColor.C: add colours for new text, deleted text, changebars
10546
10547         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10548           package use "usenames" option.
10549
10550         * commandtags.h:
10551         * lyxfunc.C:
10552         * LyXAction.C: add change lfuns
10553
10554         * Makefile.am:
10555         * author.h:
10556         * author.C: author handling
10557
10558         * buffer.h:
10559         * buffer.C: add a per-buffer author list, with first entry as
10560           current author. Handle new .lyx tokens for change tracking. Output
10561           author list to .lyx file. Output dvipost stuff to .tex preamble.
10562           Bump lyx format to 222.
10563
10564         * bufferlist.h:
10565         * bufferlist.C: add setCurrentAuthor() to reset current author details
10566           in all buffers.
10567
10568         * bufferparams.h:
10569         * bufferparams.C: add param for tracking
10570
10571         * bufferview_funcs.C: output change info in minibuffer
10572
10573         * Makefile.am:
10574         * changes.h:
10575         * changes.C: add change-tracking structure
10576
10577         * debug.h:
10578         * debug.C: add CHANGES debug flag
10579
10580         * lyxfind.h:
10581         * lyxfind.C: add code for finding the next change piece
10582
10583         * lyxrc.h:
10584         * lyxrc.C: add user_name and user_email
10585
10586         * lyxrow.h:
10587         * lyxrow.C: add a metric for the top of the text line
10588
10589         * lyxtext.h:
10590         * text.C: implement accept/rejectChange()
10591
10592         * lyxtext.h:
10593         * text.C: paint changebars. Paint new/deleted text in the chosen
10594         colours. Strike through deleted text.
10595
10596         * paragraph.h:
10597         * paragraph.C:
10598         * paragraph_pimpl.h:
10599         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10600           in the current change to the insert functions. Rework erase to
10601           mark text as deleted, adding an eraseIntern() and a range-based
10602           erase(). Implement per-paragraph change lookup and
10603           accept/reject.
10604
10605         * paragraph_funcs.C: Fixup paste for change tracking.
10606
10607         * tabular.C: mark added row/columns as new.
10608
10609         * text.C: fix rowLast() to never return -1. Don't allow
10610           spellchecking of deleted text. Track transpose changes. Don't
10611           allow paragraph break or merge where appropriate.
10612
10613         * text2.C: leave cursor at end of selection after a cut.
10614
10615 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10616
10617         * text.C (getLengthMarkerHeight):
10618         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10619         visible on screen too.
10620
10621 2003-02-07  John Levon  <levon@movementarian.org>
10622
10623         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10624
10625 2003-02-05  Angus Leeming  <leeming@lyx.org>
10626
10627         * lyxserver.C (read_ready): revert my patch of 11 September last year
10628         as it sends PC cpu through the roof. Presumably this means that
10629         the lyxserver will no longer run on an Alpha...
10630
10631 2003-01-30  Angus Leeming  <leeming@lyx.org>
10632
10633         * factory.C (createInset): create an InsetCommandParam of type "index"
10634         and use it to 'do the right thing'.
10635
10636         * text2.C (getStringToIndex): ensure that cursor position is always
10637         reset to the reset_cursor position.
10638
10639 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10640
10641         * lyxfunc.C (getStatus): "buffer-export custom" should never be
10642         disabled.
10643
10644 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
10645
10646         * bufferview.C:
10647         * lyxcb.C:
10648         * lyxfunc.C: Output messages with identical spelling, punctuation,
10649         and spaces
10650
10651 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
10652
10653         * MenuBackend.C (expandFormats): List only viewable export formats
10654         in "View" menu
10655
10656         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10657         message
10658
10659         * lyxfunc.C (getStatus): Make sure that formats other than
10660         "fax" can also be disabled
10661
10662 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10663
10664         * text3.C (dispatch): put the lfuns that insert insets in 3
10665         groups, and call doInsertInset with appropriate arguments.
10666         (doInsertInset): new function, that creates an inset and inserts
10667         it according to some boolean parameters.
10668
10669 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
10670
10671         * buffer.C (readFile): remember to pass on 'par' when calling
10672         readFile recursively.
10673
10674 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10675
10676         * MenuBackend.C (expandFormats): add "..." to import formats.
10677
10678 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
10679
10680         * paragraph.C (asString): Remove XForms RTL hacks.
10681
10682 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
10683         * buffer.C: fix typo
10684
10685 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10686
10687         * Makefile.am (LIBS): delete var
10688         (lyx_LDADD): add @LIBS@ here instead.
10689
10690 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
10691
10692         * Clarify the meaning of "wheel mouse jump"
10693
10694 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10695
10696         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10697         tabular in a float
10698
10699 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10700
10701         * importer.C (Loaders): do not preallocate 3 elements in the
10702         vector, since one ends up with 6 elements otherwise
10703
10704 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10705
10706         * DepTable.C (write): write the file name as last element of the
10707         .dep file (because it may contain spaces)
10708         (read): read info in the right order
10709
10710 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10711
10712         * paragraph_pimpl.C (simpleTeXBlanks):
10713         (simpleTeXSpecialChars):
10714         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10715
10716         * tabular.C (latex): add some missing case statements. Reindent.
10717
10718         * MenuBackend.C (expandToc): remove unused variable.
10719
10720 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
10721
10722         * LColor.C:
10723         * LaTeX.C:
10724         * LyXAction.C:
10725         * MenuBackend.C:
10726         * buffer.C:
10727         * exporter.C:
10728         * lyxfunc.C:
10729         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10730         and the like.
10731
10732 2003-01-05  John Levon  <levon@movementarian.org>
10733
10734         * BufferView.h:
10735         * BufferView.C: add getEncoding()
10736
10737         * kbsequence.h:
10738         * kbsequence.C: do not store last keypress
10739
10740         * lyxfunc.h:
10741         * lyxfunc.C: store last keypress here instead. Pass encoding
10742           to getISOEncoded()
10743
10744 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10745
10746         * lyx_main.C (init): remove annoying error message when following
10747         symbolic links (bug #780)
10748
10749 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10750
10751         * text.C (insertChar):
10752         * lyxrc.C (getDescription): remove extra spaces
10753
10754 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10755
10756         * lyxrc.C (getDescription): remove extra spaces
10757
10758 2002-12-20  John Levon  <levon@movementarian.org>
10759
10760         * text3.C: hack fix for page up/down across tall rows
10761
10762 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10763
10764         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10765         not been invoked
10766
10767 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10768
10769         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10770         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10771         thesaurus is not compiled in
10772
10773 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
10774
10775         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
10776
10777 2002-12-16  Angus Leeming  <leeming@lyx.org>
10778
10779         * lyxrc.[Ch]:
10780         * lyx_main.C (init): remove override_x_deadkeys stuff.
10781
10782 2002-12-12  John Levon  <levon@movementarian.org>
10783
10784         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10785           insert. Only remove shift modifier under strict
10786           circumstances.
10787
10788 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
10789
10790         * MenuBackend.C (expandToc): fix crash.
10791
10792 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
10793
10794         * MenuBackend.C (expandToc): gettext on float names.
10795
10796 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
10797
10798         * lyxlength.[Ch]: set default unit to UNIT_NONE,
10799         implement bool empty() [bug 490]
10800
10801 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10802
10803         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10804
10805 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10806
10807         * several files: ws changes
10808
10809 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10810
10811         * text2.C (setCounter): clean up a bit, use boost.format.
10812         (updateCounters): initialize par upon declaration.
10813
10814         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10815         if the layout exists. We do not just store the layout any more.
10816         (SwitchLayoutsBetweenClasses): use boost.format
10817
10818 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10819
10820         * converter.C (convert): if from and to files are the same, use a
10821         temporary files as intermediary
10822
10823 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10824
10825         * commandtags.h:
10826         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10827
10828 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10829
10830         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10831
10832 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
10833
10834         * tabular.C (asciiPrintCell): use string(size, char) instead of
10835         explicit loop.
10836
10837         * sgml.C (openTag): fix order of arguments to string constructor
10838         (closeTag): ditto
10839
10840         * lyxfunc.C (dispatch): use boost.format
10841
10842         * lots of files: change "c" -> 'c'
10843
10844 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10845
10846         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10847
10848 2002-11-25  Angus Leeming  <leeming@lyx.org>
10849
10850         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10851
10852         * lyx_main.C (init): compile fix.
10853
10854 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
10855
10856         * lyx_cb.C (start): boost.formatify
10857         do not include <iostream>
10858
10859         * lengthcommon.C: ws only
10860
10861         * boost-inst.C,BoostFormat.h: add more explict instantations
10862
10863 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
10864
10865         * lots of files: handle USE_BOOST_FORMAT
10866
10867 2002-11-21  John Levon  <levon@movementarian.org>
10868
10869         * pspell.C: fix compile
10870
10871 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10872
10873         * lyxfunc.C (dispatch): use boost::format
10874         (open): ditto
10875         (doImport): ditto
10876
10877         * lyxfont.C (stateText): use boost::format
10878
10879         * lyx_main.C (LyX): use boost::format
10880         (init): ditto
10881         (queryUserLyXDir): ditto
10882         (readRcFile): ditto
10883         (parse_dbg): ditto
10884         (typedef boost::function): use the recommened syntax.
10885
10886         * importer.C (Import): use boost::format
10887
10888         * debug.C (showLevel): use boost::format
10889
10890         * converter.C (view): use boost::format
10891         (convert): ditto
10892         (move): ditto
10893         (scanLog): ditto
10894
10895         * bufferview_funcs.C (currentState): use boost::format
10896
10897         * bufferlist.C (emergencyWrite): use boost::format
10898
10899         * buffer.C (readLyXformat2): use boost::format
10900         (parseSingleLyXformat2Token): ditto
10901
10902         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10903
10904         * LaTeX.C (run): use boost::format
10905
10906         * Chktex.C (scanLogFile): use boost::format
10907
10908         * BufferView_pimpl.C (savePosition): use boost::format
10909         (restorePosition): ditto
10910         (MenuInsertLyXFile): ditto
10911
10912         * BoostFormat.h: help file for explicit instation.
10913
10914 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
10915
10916         * tabular.C (latex): Support for block alignment in fixed width
10917         columns.
10918
10919 2002-11-17  John Levon  <levon@movementarian.org>
10920
10921         * BufferView_pimpl.C:
10922         * lyx_cb.C:
10923         * lyxfunc.C: split filedialog into open/save
10924
10925 2002-11-08  Juergen Vigna  <jug@sad.it>
10926
10927         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10928         by my last patch (hopefully).
10929
10930 2002-11-08  John Levon  <levon@movementarian.org>
10931
10932         * iterators.h:
10933         * iterators.C:
10934         * buffer.h:
10935         * buffer.C:
10936         * paragraph.h:
10937         * paragraph.C:
10938         * toc.h:
10939         * toc.C: ParConstIterator, and use it (from Lars)
10940
10941 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
10942
10943         * lyxtextclass.[Ch]: revise and add doxygen comments
10944
10945 2002-11-07  John Levon  <levon@movementarian.org>
10946
10947         * text.C: fix progress value for spellchecker
10948
10949         * toc.C: fix navigate menu for insetwrap inside minipage
10950
10951         * paragraph_funcs.C: added FIXME for suspect code
10952
10953 2002-11-07  John Levon  <levon@movementarian.org>
10954
10955         * BufferView_pimpl.C: fix redrawing of insets
10956           on buffer switch
10957
10958 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10959
10960         * text2.C (updateCounters): fix bug 668
10961
10962 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
10963
10964         * text3.C (dispatch): Do not make the buffer dirty when moving the
10965         cursor.
10966
10967 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10968
10969         * vc-backend.C: STRCONV
10970         (scanMaster): ditto
10971
10972         * text2.C (setCounter): STRCONV
10973
10974         * paragraph.C (asString): STRCONV
10975
10976         * lyxlength.C (asString): STRCONV
10977         (asLatexString): ditto
10978
10979         * lyxgluelength.C (asString): STRCONV
10980         (asLatexString): ditto
10981
10982         * lyxfunc.C (dispatch): STRCONV
10983         (open): ditto
10984
10985         * lyxfont.C (stateText): STRCONV
10986
10987         * importer.C (Import): STRCONV
10988
10989         * counters.C (labelItem): STRCONV
10990         (numberLabel): ditto
10991         (numberLabel): remove unused ostringstream o
10992
10993         * chset.C: STRCONV
10994         (loadFile): ditto
10995
10996         * bufferview_funcs.C (currentState): STRCONV
10997
10998         * buffer.C (readFile): STRCONV
10999         (asciiParagraph): ditto
11000         (makeLaTeXFile): ditto
11001
11002         * Spacing.C (writeEnvirBegin): STRCONV
11003
11004         * LaTeXFeatures.C (getLanguages): STRCONV
11005         (getPackages): ditto
11006         (getMacros): ditto
11007         (getBabelOptions): ditto
11008         (getTClassPreamble): ditto
11009         (getLyXSGMLEntities): ditto
11010         (getIncludedFiles): ditto
11011
11012         * LaTeX.C: STRCONV
11013         (run): ditto
11014         (scanAuxFile): ditto
11015         (deplog): ditto
11016
11017         * LString.h: add the STRCONV macros
11018
11019         * BufferView_pimpl.C (savePosition): STRCONV
11020         (restorePosition): ditto
11021         (MenuInsertLyXFile): ditto
11022
11023         * vc-backend.C (scanMaster): change from submatch[...] to
11024         submatch.str(...)
11025
11026         * funcrequest.C: include config.h
11027
11028         * factory.C: include config.h
11029
11030         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
11031
11032         * box.C: include config.h
11033
11034         * LaTeX.C (scanAuxFile): change from submatch[...] to
11035         submatch.str(...)
11036         (deplog): ditto
11037
11038 2002-10-25  Angus Leeming  <leeming@lyx.org>
11039
11040         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
11041
11042         * ispell.[Ch] (setError): new method.
11043         * ispell.C (c-tor): move out child process into new class LaunchIspell.
11044         Use setError() insetead of goto END.
11045
11046         * lyx_cb.C (AutoSave): move out child process into new class
11047         AutoSaveBuffer.
11048
11049 2002-10-30  John Levon  <levon@movementarian.org>
11050
11051         * text3.C: make start appendix undoable
11052
11053 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
11054
11055         * lyxlength.C (inPixels): Fix returned value.
11056
11057         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
11058         environment.
11059
11060 2002-10-24  Angus Leeming  <leeming@lyx.org>
11061
11062         * lyxgluelength.h: no need to forward declare BufferParams
11063         or BufferView, so don't.
11064
11065 2002-10-21  John Levon  <levon@movementarian.org>
11066
11067         * BufferView.C: menuUndo ->undo, redo
11068
11069         * BufferView.h: document, remove dead, make some methods private
11070
11071         * paragraph_funcs.h:
11072         * paragraph_funcs.C:
11073         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
11074
11075         * buffer.h:
11076         * buffer.C:
11077         * sgml.h:
11078         * sgml.C: move sgml open/close tag into sgml.C
11079
11080         * bufferview_funcs.h: unused prototype
11081
11082         * lyxfunc.h:
11083         * lyxfunc.C: remove unused
11084
11085         * lyxtext.h:
11086         * text.C: remove unused
11087
11088 2002-10-21  John Levon  <levon@movementarian.org>
11089
11090         * BufferView.h:
11091         * BufferView.C:
11092         * BufferView_pimpl.h:
11093         * BufferView_pimpl.C: fix mouse wheel handling based on
11094           patch from Darren Freeman
11095
11096 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
11097
11098         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
11099
11100 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
11101
11102         * lyxlength.C (inPixels): Fix hanfling of negative length.
11103         Fix LyXLength::MU case.
11104
11105 2002-10-16  John Levon  <levon@movementarian.org>
11106
11107         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
11108
11109 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11110
11111         * converter.C (view): add support for $$i (file name) and $$p
11112         (file path) for the viewer command. If $$i is not specified, then
11113         it is appended to the command (for compatibility with old syntax)
11114
11115 2002-10-14  Juergen Vigna  <jug@sad.it>
11116
11117         * undo_funcs.C (textHandleUndo): alter the order in which the
11118         new undopar is added to the LyXText, as we have to set first
11119         the right prev/next and then add it as otherwise the rebuild of
11120         LyXText is not correct. Also reset the cursor to the right paragraph,
11121         with this IMO we could remove the hack in "redoParagraphs()".
11122
11123 2002-10-09  Angus Leeming  <leeming@lyx.org>
11124
11125         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
11126         to turn off an optimisation if a new inset is to be inserted.
11127
11128 2002-10-11 André Pönitz <poenitz@gmx.net>
11129
11130         * lyxtext.h: make some functions public to allow access
11131         from inset/lyxtext for handling LFUN_PRIOR/NEXT
11132
11133 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11134
11135         * text3.C (dispatch): when changing layout, avoid an infinite loop
11136         [bug #652]
11137
11138 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11139
11140         * lyxrc.C (read): treat a viewer or converter command of "none" as
11141         if it were empty.
11142
11143         * MenuBackend.C (expandFormats): for an update, also allow the
11144         formats that are not viewable
11145
11146         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
11147         script if it is newer than the lyxrc.defaults in user directory
11148
11149 2002-10-07 André Pönitz <poenitz@gmx.net>
11150
11151         * text.C: Vitaly Lipatov's small i18n fix
11152
11153 2002-09-25  Angus Leeming  <leeming@lyx.org>
11154
11155         * ispell.h: doxygen fix.
11156
11157 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
11158
11159         * buffer.h (readFile): Add a new argument to the method, to allow
11160         reading of old-format templates.
11161
11162 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
11163
11164         * toc.C (getTocList): Get TOC from InsetWrap.
11165
11166 2002-09-16  John Levon  <levon@movementarian.org>
11167
11168         * lyxfunc.C: check tabular for cut/copy too
11169
11170 2002-09-12  John Levon  <levon@movementarian.org>
11171
11172         * LyXAction.C: tidy
11173
11174         * factory.h:
11175         * factory.C: add header
11176
11177         * paragraph_funcs.h:
11178         * paragraph_funcs.C: cleanup
11179
11180 2002-09-11  John Levon  <levon@movementarian.org>
11181
11182         * PrinterParams.h: odd/even default to true
11183
11184 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
11185
11186         * PrinterParams.h: update printer parameters for new xforms dialog
11187
11188 2002-09-11  Angus Leeming  <leeming@lyx.org>
11189
11190         * lyxserver.C (read_ready): re-write to make it more transparent
11191         and to make it work in coherent fashion under Tru64 Unix.
11192
11193 2002-09-11  André Pönitz <poenitz@gmx.net>
11194
11195         * commandtags.h:
11196         * LyXAction.C:
11197         * text3.C: implement LFUN_WORDSEL
11198
11199 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11200
11201         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
11202         make floatlist_ a boost::shared_ptr<FloatList>
11203
11204         * lyxtextclass.C: include FloatList.h
11205         (LyXTextClass): initialize floatlist_
11206         (TextClassTags): add TC_NOFLOAT
11207         (Read): match "nofloat" to TC_NOFLOAT and use it.
11208         (readFloat): modify call to floatlist_
11209         (floats): ditto
11210         (floats): ditto
11211
11212         * FloatList.[Ch] (FloatList): remove commented out float
11213         initialization.
11214         (erase): new function
11215
11216 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11217
11218         * MenuBackend.C (expandToc): fix crash when there is no document
11219         open
11220
11221 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
11222
11223         * many files: Add insetwrap.
11224
11225 2002-09-09  John Levon  <levon@movementarian.org>
11226
11227         * text2.C: remove confusing and awkward depth wraparound
11228
11229 2002-09-09  John Levon  <levon@movementarian.org>
11230
11231         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
11232
11233         * buffer.h:
11234         * buffer.C: remove getIncludeonlyList()
11235
11236         * paragraph.C:
11237         * lyxfunc.C: remove headers
11238
11239 2002-09-09  Juergen Vigna  <jug@sad.it>
11240
11241         * text.C (getColumnNearX): fix form Michael this is most
11242         probably a cut&paste bug.
11243
11244 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
11245
11246         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
11247
11248         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
11249         references, ws changes.
11250
11251         * text2.C (init): update counters after init
11252         (insertParagraph): no need to set counter on idividual paragraphs.
11253         (setCounter): access the counters object in the textclass object
11254         on in the buffer object.
11255         (updateCounters): ditto
11256
11257         * lyxtextclass.C: include counters.h, add variable ctrs_ as
11258         shared_ptr<Counters> to avoid loading counters.h in all
11259         compilation units.
11260         (LyXTextClass): initialize ctrs_
11261         (TextClassTags): add TC_COUNTER, and ...
11262         (Read): use it here.
11263         (CounterTags): new tags
11264         (readCounter): new function
11265         (counters): new funtion
11266         (defaultLayoutName): return a const reference
11267
11268         * counters.C (Counters): remove contructor
11269         (newCounter): remove a couple of unneeded statements.
11270         (newCounter): simplify a bit.
11271         (numberLabel): some small formatting changes.
11272
11273         * buffer.[Ch]: remove all traces of counters, move the Counters
11274         object to the LyXTextClass.
11275
11276 2002-09-06  Alain Castera  <castera@in2p3.fr>
11277
11278         * tabular.C: uses \tabularnewline; uses >{...} construct from array
11279         package to set the horizontal alignment on fixed width columns.
11280
11281         * lyx_sty.C:
11282         * lyx_sty.h: added tabularnewline macro def.
11283
11284         * LaTeXFeatures.C: added NeedTabularnewline macro feature
11285
11286 2002-09-06  John Levon  <levon@movementarian.org>
11287
11288         * LyXAction.C: tooltips for sub/superscript
11289
11290         * MenuBackend.C: a bit more verbose
11291
11292         * lyxfunc.C: tiny clean
11293
11294         * undo_funcs.C: document undo_frozen
11295
11296 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
11297
11298         * counters.C (Counters): add missing algorithm counter.
11299
11300         * text2.C (setCounter): lookup the counter with layouts latexname
11301         instead of by section number.
11302         (setCounter): use a hackish way to lookup the correct enum
11303         counter.
11304         a float name->type change
11305         reset enum couners with counter name directly instead of depth value.
11306
11307         * counters.C (Counters): remove the push_backs, change to use the
11308         float type not the float name.
11309         (labelItem): remove unused string, float name->type change
11310
11311         * counters.h: don't include vector, loose the enums and sects vectors
11312
11313 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
11314
11315         * lyxtextclass.C (TextClassTags): add TC_FLOAT
11316         (Read): add float->TC_FLOAT to textclassTags
11317         (Read): and handle it in the switch
11318         (readFloat): new function
11319
11320         * FloatList.C (FloatList): comment out the hardcoded float
11321         definitions.
11322
11323         * lyxlayout.h: ws change.
11324
11325 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
11326
11327         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
11328
11329 2002-09-03  Angus Leeming  <leeming@lyx.org>
11330
11331         * BufferView_pimpl.h: qualified name is not allowed in member
11332         declaration: WorkArea & Pimpl::workarea() const;
11333
11334         * factory.C: added using std::endl directive.
11335
11336         * text3.C: added using std::find and std::vector directives.
11337
11338 2002-08-29  André Pönitz <poenitz@gmx.net>
11339
11340         * lyxtext.h:
11341         * text2.C: remove unused member number_of_rows
11342
11343         * Makefile.am:
11344         * BufferView2.C: remove file, move contents to...
11345         * BufferView.C: ... here
11346
11347         * BufferView_pimpl.C:
11348         * factory.C: move more inset creation to factory
11349
11350         * vspace.C: avoid direct usage of LyXText, ws changes
11351
11352         * BufferView.[Ch]:
11353                 don't provide direct access to WorkArea, use two simple
11354                 acessors haveSelction() and workHeight() instead
11355
11356
11357 2002-08-29  John Levon  <levon@movementarian.org>
11358
11359         * BufferView_pimpl.C (dispatch): do not continue when
11360           no buffer
11361
11362 2002-08-28  André Pönitz <poenitz@gmx.net>
11363
11364         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
11365
11366         * BufferView.h:
11367         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
11368
11369 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
11370
11371         * buffer.C: increment LYX_FORMAT to 221
11372
11373         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
11374         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
11375
11376         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
11377
11378         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
11379
11380 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11381
11382         * factory.C (createInset): use LyXTextClass::floats
11383
11384         * MenuBackend.C (expandFloatListInsert):
11385         (expandFloatInsert):
11386         (expandToc):
11387
11388         * text2.C (setCounter):
11389
11390         * LaTeXFeatures.C (useFloat):
11391         (getFloatDefinitions):
11392
11393         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
11394
11395         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
11396         floatlist_, with accessor floats().
11397
11398         * FloatList.h: remove global FloatList
11399
11400 2002-08-26  André Pönitz <poenitz@gmx.net>
11401
11402         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
11403
11404         * BufferView.h:
11405         * BufferView2.C:
11406         * BufferView_pimpl.C:
11407         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
11408
11409 2002-08-25  John Levon  <levon@movementarian.org>
11410
11411         * LyXAction.C: fix margin note description
11412
11413 2002-08-24  John Levon  <levon@movementarian.org>
11414
11415         * buffer.C:
11416         * bufferlist.C:
11417         * bufferview_funcs.C:
11418         * lyxfont.C:
11419         * undo_funcs.C: cleanups
11420
11421         * lyxfunc.C: disable CUT/COPY when no selection
11422
11423 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
11424
11425         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11426         in "enum UNIT"; e.g. PTW for Percent of TextWidth
11427
11428         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11429         Add backward compatibility to "mono", "gray" and "no".
11430
11431 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
11432
11433         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11434         (and file_format >= 200).
11435
11436 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11437
11438         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11439
11440 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11441
11442         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11443
11444 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
11445
11446         * BufferView_pimpl.C:
11447         * LyXAction.C:
11448         * buffer.C:
11449         * commandtags.h:
11450         * lyxfunc.C:
11451         * paragraph.[Ch]:
11452         * text2.C:
11453         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11454         inset and code to make it  work with the paragraph code. The inset
11455         can be anywhere in the paragraph, but will only do the expected
11456         thing in LaTeX if the layout file contains the parameter line
11457                         OptionalArgs    1
11458         (or more generally, a nonzero value) for that layout.
11459
11460 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
11461
11462         * paragraph.h: remove the declaration of undefined counters class
11463         function.
11464
11465 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
11466
11467         * text2.C (setCounter):  fixed enumeration mis-count as reported by
11468         Dr. Richard Hawkins.
11469
11470 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11471
11472         * paragraph_funcs.h: remove some unneeded includes
11473
11474         * text.C (backspace): pasteParagraph now in global scipe
11475
11476         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11477         (pasteSelection): ditto
11478
11479         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11480         * paragraph_funcs.C (pasteParagraph): ... here
11481
11482 2002-08-20  André Pönitz <poenitz@gmx.net>
11483
11484         * commandtags.h: new LFUNs for swapping/copying table row/colums
11485
11486         * LyXAction.C:
11487         * lyxfunc.C: support for new lfuns
11488
11489 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
11490
11491         * tabular.C:
11492         * buffer.[Ch]: remove NO_COMPABILITY stuff
11493
11494 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
11495
11496         * boost.C (throw_exception): new file, with helper function for
11497         boost compiled without exceptions.
11498
11499         * paragraph.h:
11500         * lyxlength.C:
11501         * buffer.C:
11502         * ParameterStruct.h:
11503         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11504
11505         * bufferlist.C (emergencyWriteAll): use boost bind
11506
11507         * BufferView_pimpl.C (moveCursorUpdate): remove inline
11508
11509         * text.C: include paragraph_funcs.h
11510         (breakParagraph): breakParagraph is now in global scope
11511
11512         * paragraph_funcs.[Ch]: new files
11513
11514         * paragraph.C (breakParagraph,breakParagraphConservative): move to
11515         global scope
11516
11517         * buffer.C: include paragraph_funcs.h
11518         (insertStringAsLines): breakParagraph is now in global scope
11519
11520         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11521         paragraph_funcs.C
11522
11523         * CutAndPaste.C: include paragraph_funcs.h
11524         (cutSelection): breakParagraphConservative is now in global scope
11525         (pasteSelection): ditto
11526
11527         * buffer.h: declare oprator== and operator!= for
11528         Buffer::inset_iterator
11529
11530         * bufferlist.C (emergencyWrite): don't use fmt(...)
11531
11532         * text3.C: add using std::endl
11533
11534         * BufferView.C (moveCursorUpdate): remove default arg
11535
11536 2002-08-20  André Pönitz <poenitz@gmx.net>
11537
11538         * buffer.[Ch]: move inline functions to .C
11539
11540         * BufferView2.C:
11541         * BufferView_pimpl.C:
11542         * text.C:
11543         * buffer.[Ch]: use improved inset_iterator
11544
11545         * buffer.C:
11546         * paragraph.[Ch]: write one paragraph at a time
11547
11548 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11549
11550         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11551         style if style is not specified.
11552
11553 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11554
11555         * text2.C (setCounter): when searching for right label for a
11556         caption, make sure to recurse to parent insets (so that a caption
11557         in a minipage in a figure float works) (bug #568)
11558
11559 2002-08-20  André Pönitz <poenitz@gmx.net>
11560
11561         * text3.C: new file for LyXText::dispatch() and helpers
11562
11563         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11564
11565         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11566
11567 2002-08-19  André Pönitz <poenitz@gmx.net>
11568
11569         * lyxtext.h:
11570         * text.C: new LyXText::dispatch()
11571
11572         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11573
11574 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
11575
11576         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11577
11578         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11579         Hebrew text.
11580
11581 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11582
11583         * Makefile.am: use $(variables) instead of @substitutions@
11584
11585 2002-08-15  André Pönitz <poenitz@gmx.net>
11586
11587         * lyxfunc.C:
11588         * BufferView_pimpl.C: streamlining mathed <-> outer world
11589         interaction
11590
11591         * commandtags.h:
11592         * LyXAction.C: remove unused LFUN_MATH
11593
11594 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11595
11596         * paragraph.[Ch]: add some NO_NEXT ifdefs.
11597
11598 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11599
11600         * paragraph.C (Paragraph): reformat a bit
11601         (cutIntoMinibuffer): use builtin InsetList function instad of
11602         doing it manually.
11603         (getInset): ditto
11604
11605         * buffer.C: include boost/bind.hpp, add using std::for_each
11606         (writeFileAscii): use ParagraphList iterators
11607         (validate): use for_each for validate traversal of paragraphs
11608         (getBibkeyList): use ParagraphList iterators
11609         (resizeInsets): use for_each to resizeInsetsLyXText for all
11610         paragraphs.
11611         (getParFromID): use ParagraphList iterators
11612
11613         * BufferView2.C (lockInset): use paragraph list and iterators
11614
11615 2002-08-14  John Levon  <levon@movementarian.org>
11616
11617         * lyxserver.C: remove spurious xforms include
11618
11619 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11620
11621         * lyxfunc.C (getStatus): disable math-extern outside of math mode
11622
11623 2002-08-13  André Pönitz <poenitz@gmx.net>
11624
11625         * LyXAction.[Ch]:
11626         * lyxfunc.C: further cleaning
11627
11628 2002-08-13  André Pönitz <poenitz@gmx.net>
11629
11630         * funcrequest.h: new constructor
11631
11632         * funcrequest.C: move stuff here from .h
11633
11634         * Makefile.am:
11635         * BufferView_pimpl.C:
11636         * LyXAction.C:
11637         * toc.C:
11638         * lyxfunc.C: subsequent changes
11639
11640         * lyxfunc.h: new view() member function
11641
11642         * lyxfunc.C: subsequent changes
11643
11644 2002-08-13  Angus Leeming  <leeming@lyx.org>
11645
11646         * BufferView2.C:
11647         * BufferView_pimpl.C:
11648         * buffer.C:
11649         * converter.C:
11650         * importer.C:
11651         * lyxfunc.C:
11652         * lyxvc.C:
11653         * toc.C:
11654         * vc-backend.C:
11655         changes due to the changed LyXView interface that now returns references
11656         to member variables not pointers.
11657
11658 2002-08-13  Angus Leeming  <leeming@lyx.org>
11659
11660         * WordLangTuple (word, lang_code): return references to strings,
11661         not strings.
11662
11663         * BufferView.h:
11664         * SpellBase.h:
11665         * lyxtext.h: forward-declare WordLangTuple.
11666
11667         * BufferView2.C:
11668         * ispell.C:
11669         * pspell.C:
11670         * text.C: #include "WordLangTuple.h".
11671
11672         * lyxtext.h:
11673         * text.C: (selectNextWordToSpellcheck): constify return type.
11674
11675 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
11676
11677         * buffer.C:
11678         * buffer.h:
11679         * lyxtext.h:
11680         * paragraph.C:
11681         * paragraph_pimpl.h:
11682         * text.C:
11683         * text2.C:
11684         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11685         suggested by Angus.
11686         Made updateCounter always count from start of buffer, and removed
11687         second argument (par).
11688         Reverted floats number display to '#'. Perhaps I'll try again when the
11689         code base is sanitized a bit.
11690
11691 2002-08-12  Angus Leeming  <leeming@lyx.org>
11692
11693         * buffer.[Ch] (getLabelList): constify.
11694
11695 2002-08-07  André Pönitz <poenitz@gmx.net>
11696
11697         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11698
11699         * funcrequest.h: extension to keep mouse (x,y) position
11700
11701 2002-08-12  Juergen Vigna  <jug@sad.it>
11702
11703         * BufferView2.C (insertErrors): forbid undo when inserting error
11704         insets.
11705
11706         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11707
11708 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
11709
11710         * ParagraphList.[Ch]: new files
11711
11712         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11713
11714         * BufferView2.C (lockInset): ParagraphList changes
11715         * toc.C: ditto
11716         * text2.C: ditto
11717         * bufferlist.C: ditto
11718         * buffer.h: ditto
11719         * buffer.C: ditto
11720
11721 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11722
11723         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11724         unused class variable counter_,
11725
11726         * paragraph.[Ch] (getFirstCounter): delete unused function
11727
11728         * counters.C: include LAssert.h
11729         (reset): add a new function with no arg, change other version to
11730         not have def. arg and to not allow empty arg.
11731
11732         * text2.C (setCounter): remove empty arg from call to Counters::reset
11733
11734 2002-08-11  John Levon  <levon@movementarian.org>
11735
11736         * Makefile.am: add WordLangTuple.h
11737
11738 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11739
11740         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11741         lyxfunc.C lyxlex_pimpl.C: ws changes only.
11742
11743         * insets/insettext.C: InsetList changes
11744
11745         * graphics/GraphicsSupport.C (operator()): InsetList changes
11746
11747         * toc.C (getTocList): InsetList changes
11748
11749         * paragraph_pimpl.[Ch]: InsetList changes
11750
11751         * paragraph.[Ch]: InsetList changes
11752
11753         * buffer.C (inset_iterator): InsetList changes
11754         (setParagraph): ditto
11755         * buffer.h (inset_iterator): ditto
11756         * iterators.C (operator++): ditto
11757         * iterators.h: ditto
11758
11759         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11760
11761         * InsetList.[Ch]: new files, most InsetList handling moved out of
11762         paragraph.C.
11763
11764         * BufferView2.C (removeAutoInsets): InsetList changes
11765         (lockInset): ditto
11766         (ChangeInsets): ditto
11767
11768 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
11769
11770         * paragraph_pimpl.h (empty): new function
11771
11772         * paragraph.[Ch] (empty): new function
11773
11774         * other files: use the new Paragraph::empty function
11775
11776 2002-08-09  John Levon  <levon@movementarian.org>
11777
11778         * lyxtext.h: remove unused refresh_height
11779
11780 2002-08-09  John Levon  <levon@movementarian.org>
11781
11782         * Makefile.am:
11783         * sgml.h:
11784         * sgml.C:
11785         * buffer.C:
11786         * paragraph.h:
11787         * paragraph.C: move sgml char escaping out of paragraph
11788
11789         * paragraph.h:
11790         * paragraph.C: remove id setter
11791
11792         * buffer.C:
11793         * paragraph.C:
11794         * paragraph_pimpl.C: remove dead tex_code_break_column
11795
11796         * bufferview_funcs.C: small cleanup
11797
11798         * lyxfunc.C: remove dead proto
11799
11800         * lyxtext.h: make some stuff private. Remove some dead stuff.
11801
11802         * lyxgluelength.C: make as[LyX]String() readable
11803
11804 2002-08-08  John Levon  <levon@movementarian.org>
11805
11806         * LyXAction.h:
11807         * LyXAction.C:
11808         * MenuBackend.C:
11809         * ToolbarDefaults.C:
11810         * lyxfunc.C:
11811         * lyxrc.C:
11812         * toc.C: lyxaction cleanup
11813
11814 2002-08-08  John Levon  <levon@movementarian.org>
11815
11816         * BufferView2.C: small cleanup
11817
11818         * lyxfind.h:
11819         * lyxfind.C: move unnecessary header into the .C
11820
11821 2002-08-08  John Levon  <levon@movementarian.org>
11822
11823         * funcrequest.h: just tedious nonsense
11824
11825         * lyx_main.h:
11826         * lyx_main.C: cleanups
11827
11828         * buffer.C:
11829         * vspace.C: remove dead header lyx_main.h
11830
11831 2002-08-07  Angus Leeming  <leeming@lyx.org>
11832
11833         * Paragraph.[Ch]:
11834         * paragraph_pimpl.h:
11835         Forward declare class Counters in paragraph.h by moving the ctrs member
11836         variable into Paragraph::Pimpl.
11837         (counters): new method, returning a reference to pimpl_->ctrs.
11838
11839         * text2.C: ensuing changes.
11840
11841 2002-08-07  John Levon  <levon@movementarian.org>
11842
11843         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11844
11845         * BufferView_pimpl.C: announce X selection on double/triple
11846           click
11847
11848         * lyx_main.C: use correct bool in batch dispatch
11849
11850         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11851
11852 2002-08-07  André Pönitz <poenitz@gmx.net>
11853
11854         * funcrequest.h: new class to wrap a kb_action and its argument
11855
11856         * BufferView.[Ch]:
11857         * BufferView_pimpl[Ch]:
11858         * LaTeX.C:
11859         * LyXAction.[Ch]:
11860         * lyxfunc.[Ch]:
11861         * lyxrc.C: subsequent changes
11862
11863
11864 2002-08-07  John Levon  <levon@movementarian.org>
11865
11866         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11867           document options change.
11868
11869 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
11870
11871         * counters.[Ch]
11872         * text2.C
11873         * paragraph.[Ch]
11874         * makefile.am: move counters functionality over from
11875         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11876
11877 2002-08-06  John Levon  <levon@movementarian.org>
11878
11879         * WordLangTuple.h: new file for word + language code tuple
11880
11881         * SpellBase.h:
11882         * pspell.h:
11883         * pspell.C:
11884         * ispell.h:
11885         * ispell.C:
11886         * lyxtext.h:
11887         * text.C:
11888         * text2.C:
11889         * BufferView.h:
11890         * BufferView2.C: use WordLangTuple
11891
11892         * layout.h:
11893         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11894
11895 2002-08-06  John Levon  <levon@movementarian.org>
11896
11897         * lyx_main.C: fix cmdline batch handling
11898
11899 2002-08-06  André Pönitz <poenitz@gmx.net>
11900
11901         * lyxrc.C: set default for show_banner to true
11902
11903 2002-08-06  John Levon  <levon@movementarian.org>
11904
11905         * pspell.C: fix a crash, and allow new aspell to work
11906
11907 2002-08-06  John Levon  <levon@movementarian.org>
11908
11909         * lyxfunc.C:
11910         * kbmap.C: small cleanup
11911
11912         * vspace.h:
11913         * vspace.C: add const
11914
11915 2002-08-05  John Levon  <levon@movementarian.org>
11916
11917         * LyXAction.C: back to tabular-insert
11918
11919 2002-08-04  John Levon  <levon@movementarian.org>
11920
11921         * BufferView.h:
11922         * BufferView.C: cosmetic change
11923
11924         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11925
11926         * bufferlist.C:
11927         * buffer.h:
11928         * buffer.C:
11929         * lyxcb.h:
11930         * lyxcb.C:
11931         * lyxserver.C:
11932         * lyxvc.C:
11933         * vc-backend.C:
11934         * BufferView2.C: purge all "Lyx" not "LyX" strings
11935
11936         * lyxcursor.h:
11937         * lyxcursor.C: attempt to add some documentation
11938
11939         * lyxfunc.C:
11940         * commandtags.h:
11941         * LyXAction.C:
11942         * ToolbarDefaults.C:
11943         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11944           merge with LFUN_TABULAR_INSERT
11945
11946         * Makefile.am:
11947         * SpellBase.h:
11948         * ispell.h:
11949         * ispell.C:
11950         * pspell.h:
11951         * pspell.C: split up i/pspell implementations into separate
11952           files, many cleanups
11953
11954         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11955
11956         * text2.C: some cleanup
11957
11958         * lyxfunc.C: don't check for isp_command == "none" any more, it
11959           didn't make any sense
11960
11961 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
11962
11963         * counters.[Ch]
11964         * text2.C
11965         * paragraph.[Ch]
11966         * makefile.am: move counters functionality over
11967         from text2.C/paragraph.[Ch] to counters.[Ch], and
11968         make proper C++.
11969 2002-08-02  John Levon  <levon@movementarian.org>
11970
11971         * buffer.C: s/lyxconvert/lyx2lyx/
11972
11973 2002-08-02  Angus Leeming  <leeming@lyx.org>
11974
11975         * lyxlex.C: revert John's change as it breaks reading of the user
11976         preamble.
11977
11978 2002-08-02  Angus Leeming  <leeming@lyx.org>
11979
11980         * importer.C (Import):
11981         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11982         changes due to LyXView::view() now returning a boost::shared_ptr.
11983
11984 2002-08-02  John Levon  <levon@movementarian.org>
11985
11986         * lyxlex.C: small cleanup
11987
11988 2002-08-02  John Levon  <levon@movementarian.org>
11989
11990         * text2.C (status): small cleanup, no logic change
11991
11992 2002-08-01  John Levon  <levon@movementarian.org>
11993
11994         * buffer.h:
11995         * buffer.C (writeFile): don't output alerts, caller
11996           handles this
11997
11998         * bufferlist.C:
11999         * lyx_cb.C: from above
12000
12001         * lyxfunc.C: allow to open non-existent files
12002
12003 2002-07-31  John Levon  <levon@movementarian.org>
12004
12005         * lyxserver.C: don't let incidental errors get
12006           in the way (errno)
12007
12008 2002-07-30  John Levon  <levon@movementarian.org>
12009
12010         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
12011
12012 2002-07-30  John Levon  <levon@movementarian.org>
12013
12014         * lyxserver.h:
12015         * lyxserver.C: remove I/O callback too
12016
12017 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12018
12019         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
12020         log.
12021
12022 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
12023
12024         * many files: strip,frontStrip -> trim,ltrim,rtrim
12025
12026 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
12027
12028         * PrinterParams.h: remove extern containsOnly, and include
12029         support/lstrings.h instead.
12030
12031         * LaTeX.C (scanAuxFile): modify because of strip changes
12032         (deplog): ditto
12033         * buffer.C (makeLaTeXFile): ditto
12034         * bufferparams.C (writeFile): ditt
12035         * lyxfont.C (stateText): ditto
12036         * lyxserver.C (read_ready): ditto
12037         * vc-backend.C (scanMaster): ditto
12038
12039         * BufferView_pimpl.h: ws changes
12040
12041         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
12042
12043 2002-07-26  André Pönitz <poenitz@gmx.net>
12044
12045         * kb_sequence.C: remove unnedred usings
12046
12047 2002-07-26  Juergen Vigna  <jug@sad.it>
12048
12049         * lyxfind.C (LyXReplace): we have to check better if the returned
12050         text is not of theLockingInset()->getLockingInset().
12051
12052 2002-07-25  Juergen Vigna  <jug@sad.it>
12053
12054         * lyxfind.C (LyXReplace): don't replace if we don't get the
12055         right LyXText.
12056
12057         * undo_funcs.C (createUndo): remove debugging code.
12058
12059 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
12060
12061         * buffer.C (parseSingleLyXformat2Token): Use default placement
12062         when reading old floats.
12063
12064         * FloatList.C (FloatList): Change the default placement of figure
12065         and tables to "tbp".
12066
12067 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
12068
12069         * MenuBackend.C: using std::max
12070
12071 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12072
12073         * MenuBackend.C (expandToc):
12074         (expandToc2): code moved from xforms menu frontend. It is now
12075         generic and TOCs are transparent to menu frontends.
12076
12077 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12078
12079         * toc.C (getTocList): protect against buf=0
12080
12081         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
12082         Menu as first parameter. Now, this calls itself recursively to
12083         expand a whole tree (this will be useful for TOC handling)
12084         (expandFloatInsert): remove 'wide' version of floats
12085
12086         * MenuBackend.h (submenuname): returns the name of the submenu.
12087         (submenu): returns the submenu itself, provided it has been
12088         created by MenuBackend::expand
12089
12090 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12091
12092         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
12093         insets which have noFontChange == true. (bug #172)
12094
12095 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12096
12097         * BufferView_pimpl.C: add connection objects and use them...
12098         (Pimpl): here.
12099
12100 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12101
12102         * MenuBackend.C (expandLastfiles):
12103         (expandDocuments):
12104         (expandFormats):
12105         (expandFloatListInsert):
12106         (expandFloatInsert):
12107         (expand): split expand in parts
12108
12109 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
12110
12111         * lyx_gui.C: use lyx_gui::exit()
12112
12113 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
12114
12115         * LyXAction.C: show the failing pseudo action
12116
12117 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
12118
12119         * buffer.C (readFile): Run the lyxconvert script in order to read
12120         old files.
12121
12122 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
12123
12124         * LyXAction.C:
12125         * commandtags.h:
12126         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
12127
12128 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
12129
12130         * LyXAction.C:
12131         * commandtags.h:
12132         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
12133
12134 2002-07-22  Herbert Voss  <voss@lyx.org>
12135
12136         * lengthcommon.C:
12137         * lyxlength.[Ch]: add support for the vertical lengths
12138
12139 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
12140
12141         * toc.[Ch]: std:: fixes
12142
12143 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12144
12145         * lyxrc.C: do not include lyx_main.h
12146
12147         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
12148         for layouts
12149
12150         * lyxrc.C:
12151         * encoding.C:
12152         * bufferlist.C:
12153         * BufferView2.C: include "lyxlex.h"
12154
12155         * tabular.h:
12156         * bufferparams.h: do not #include "lyxlex.h"
12157
12158         * lyxtextclasslist.C (Add): remove method
12159         (classlist): renamed to classlist_
12160
12161         * paragraph_pimpl.C:
12162         * paragraph.C:
12163         * text2.C:
12164         * CutAndPaste.C:
12165         * bufferview_funcs.C:
12166         * bufferlist.C:
12167         * text.C:
12168         * LaTeXFeatures.C:
12169         * buffer.C:
12170         * toc.C (getTocList): use BufferParams::getLyXTextClass
12171
12172         * toc.C (getTocList): use InsetFloat::addToToc
12173
12174         * toc.[Ch]: new files, containing helper functions to handle table
12175         of contents
12176
12177         * lyxfunc.C (dispatch): no need to remove spaces around command
12178         given as a string
12179         (getStatus): handle LFUN_SEQUENCE by returning the status of the
12180         first command of the sequence; it is not very clever, but I do not
12181         have a better idea, actually
12182
12183         * LyXAction.C (LookupFunc): make sure to remove space at the
12184         beginning and end of the command
12185
12186 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12187
12188         * MenuBackend.C (getMenubar): new method: return the menubar of
12189         this menu set
12190         (read): treat differently reading of menu and menubar (in
12191         particular, the menubar has no name now)
12192         (Menu::menubar): remove
12193
12194         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
12195         saving is finished
12196
12197 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
12198
12199         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
12200         a bibitem inset in a RTL paragraph.
12201
12202 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
12203
12204         * paragraph_pimpl.C: constify
12205
12206         * BufferView_pimpl.C:
12207         * LaTeX.C:
12208         * lyxfunc.C: fix dispatch in a nicer way
12209
12210 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12211
12212         * lyxfunc.C (dispatch):
12213         * BufferView_pimpl.C:
12214         * BufferView_pimpl.h:
12215         * BufferView.C:
12216         * BufferView.h: rename Dispatch() to dispatch()
12217
12218         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
12219
12220         * lyxlayout.C (Read): honor DependsOn tag
12221
12222         * lyxlayout.[Ch] (depends_on): new method
12223
12224         * version.C.in: update lyx_docversion
12225
12226         * LaTeXFeatures.C (getMacros): only define \LyX when needed
12227
12228         * paragraph.C (validate): remove from here...
12229         * paragraph_pimpl.C (validate): ... and move here
12230         (isTextAt): make it const
12231
12232         * buffer.C (getLists): ws cleanup
12233
12234 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
12235
12236         * language.C (read): Use iso8859-1 encoding in latex_lang
12237         (this prevents LyX from crashing when using iso10646-1 encoding).
12238
12239 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12240
12241         * text2.C (toggleInset): if cursor is inside an inset, close the
12242         inset and leave cursor _after_ it
12243
12244 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
12245
12246         * lyxfunc.C: move minibuffer completion handling out of here
12247
12248 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
12249
12250         * BufferView_pimpl.C:
12251         * LaTeX.C: fix dispatch calls
12252
12253 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
12254
12255         * text.C (drawChars): Fix Arabic text rendering.
12256
12257 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
12258
12259         * LyXAction.C:
12260         * commandtags.h:
12261         * lyxfunc.C: remove message-push/pop
12262
12263         * lyxserver.C:
12264         * lyxfunc.h:
12265         * lyxfunc.C: rationalise some code by removing verboseDispatch
12266           in favour of a bool argument to dispatch()
12267
12268 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12269
12270         * lyx_main.C (init): make sure to read symlinks as absolute paths
12271
12272 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12273
12274         * lyxfunc.h:
12275         * lyxfunc.C: no need for commandshortcut to be a member
12276
12277 2002-07-15  André Pönitz <poenitz@gmx.net>
12278
12279         * converter.C: add support for $$s (scripts from lib/scripts dir)
12280         * lyx_main.C: white space
12281
12282 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12283
12284         * bufferlist.C:
12285         * lyxrc.h:
12286         * lyxrc.C: remove second exit confirmation
12287
12288 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12289
12290         * BufferView.h:
12291         * BufferView.C:
12292         * BufferView2.C:
12293         * BufferView_pimpl.h:
12294         * BufferView_pimpl.C:
12295         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
12296
12297 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12298
12299         * MenuBackend.C (expand): add numeric shortcuts to document menu
12300
12301         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
12302
12303 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12304
12305         * lyxfont.C (setLyXFamily):
12306         (setLyXSeries):
12307         (setLyXShape):
12308         (setLyXSize):
12309         (setLyXMisc):
12310         (lyxRead):
12311         * debug.C (value):
12312         * buffer.C (asciiParagraph): use ascii_lowercase
12313
12314 2002-07-15  Mike Fabian  <mfabian@suse.de>
12315
12316         * lyxlex_pimpl.C (search_kw):
12317         * lyxlex.C (getLongString):
12318         * converter.h (operator<):
12319         * converter.C (operator<):
12320         * buffer.C (parseSingleLyXformat2Token):
12321         (asciiParagraph):
12322         * ToolbarDefaults.C (read):
12323         * MenuBackend.C (checkShortcuts):
12324         (read):
12325         * LColor.C (getFromGUIName):
12326         (getFromLyXName): use the compare_ascii_no_case instead of
12327         compare_no_case, because in turkish, 'i' is not the lowercase
12328         version of 'I', and thus turkish locale breaks parsing of tags.
12329
12330 2002-07-16  Angus Leeming  <leeming@lyx.org>
12331
12332         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
12333         now takes a Buffer const & argument.
12334
12335 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
12336
12337         * BufferView.C (resize): check there's a buffer to resize
12338
12339 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
12340
12341         * lyxfunc.C: remove dead code
12342
12343         * lyxserver.h:
12344         * lyxserver.C: use lyx_guii::set_read_callback
12345
12346 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12347
12348         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
12349         an inset in a RTL paragraph.
12350
12351 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12352
12353         * lyxfunc.C: repaint after a font size update
12354
12355 2002-07-15  André Pönitz <poenitz@gmx.net>
12356
12357         * lyxlength.C: inBP should be able to return negative values
12358
12359 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12360
12361         * lyxfunc.C: use lyx_gui::update_fonts()
12362
12363 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12364
12365         * lyxfunc.C: use lyx_gui::update_color()
12366
12367 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
12368
12369         * bufferlist.C:
12370         * lyxfunc.h:
12371         * lyxfunc.C:
12372         * lyxrc.h:
12373         * lyxrc.C: remove file->new asks for name option, and let
12374           buffer-new take an argument
12375
12376 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
12377
12378         * BufferView_pimpl.C: remove unneeded extra repaint()
12379
12380 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
12381
12382         * LyXAction.C: allow command-sequence with NoBuffer
12383
12384         * lyxfunc.C: don't insist on trailing ';' for command-sequence
12385
12386 2002-07-10  Angus Leeming  <leeming@lyx.org>
12387
12388         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
12389
12390 2002-07-09  Angus Leeming  <leeming@lyx.org>
12391
12392         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
12393
12394 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12395
12396         * lengthcommon.h: whitespace
12397
12398         * lyxfunc.C: update scrollbar after goto paragraph
12399
12400         * lyxtext.h: factor out page break drawing, and fix it so
12401           page break/added space paints as selected nicely
12402
12403 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12404
12405         * BufferView_pimpl.C: add FIXMEs, clean up a little
12406
12407 2002-07-09  André Pönitz <poenitz@gmx.net>
12408
12409         * lyxfont.[Ch]: support for wasy symbols
12410
12411 2002-07-08  André Pönitz <poenitz@gmx.net>
12412
12413         * BufferView_pimpl.C: apply John's patch for #93.
12414
12415 2002-07-05  Angus Leeming  <leeming@lyx.org>
12416
12417         * BufferView_pimpl.C (buffer): generate previews if desired.
12418
12419         * LColor.h: add "preview" to the color enum.
12420
12421         * LColor.C (LColor): add a corresponding entry to the items array.
12422
12423         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12424         with this buffer.
12425
12426 2002-07-05  Angus Leeming  <leeming@lyx.org>
12427
12428         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12429         The body of the code is now in the method that is passed an ostream &
12430         rather than a file name.
12431         Pass an additional only_preamble parameter, useful for the forthcoming
12432         preview stuff.
12433
12434 2002-07-03  André Pönitz <poenitz@gmx.net>
12435
12436         * lyxfunc.C: simplify getStatus() a bit for math stuff
12437
12438 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12439
12440         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12441
12442 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12443
12444         * text.C (changeRegionCase): do not change case of all the
12445         document when region ends at paragraph end (bug #461)
12446
12447 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12448
12449         * paragraph.C (startTeXParParams):
12450         (endTeXParParams): add \protect when necessary
12451
12452 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12453
12454         * BufferView_pimpl.C (workAreaExpose): remove warning
12455
12456 2002-06-27  Angus Leeming  <leeming@lyx.org>
12457
12458         * Makefile.am: add lyxlayout_ptr_fwd.h.
12459
12460 2002-06-26  André Pönitz <poenitz@gmx.net>
12461
12462         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12463
12464 2002-06-25  Angus Leeming  <leeming@lyx.org>
12465
12466         * lyxfunc.C (dispatch): Comment out the call to
12467         grfx::GCache::changeDisplay. The method no longer exists now that the
12468         pixmap generation part of the graphics loader has been moved into
12469         InsetGraphics.
12470
12471 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12472
12473         * text2.C: layout as layout
12474
12475         * text.C: layout as layout
12476
12477         * tabular.C (OldFormatRead): layout as layout
12478
12479         * paragraph_pimpl.C (TeXDeeper): layout as layout
12480         (realizeFont): layout as layout
12481
12482         * paragraph.C (writeFile): layout as layout
12483         (validate): layout as layout
12484         (getFont): layout as layout
12485         (getLabelFont): layout as layout
12486         (getLayoutFont): layout as layout
12487         (breakParagraph): layout as layout
12488         (stripLeadingSpaces): layout as layout
12489         (getEndLabel): layout as layout
12490         (getMaxDepthAfter): layout as layout
12491         (applyLayout): layout as layout
12492         (TeXOnePar): layout as layout
12493         (simpleTeXOnePar): layout as layout
12494         (TeXEnvironment): layout as layout
12495         (layout): layout as layout
12496         (layout): layout as layout
12497
12498         * lyxtextclass.C (compare_name): new functor to work with
12499         shared_ptr, layout as layout
12500         (Read): layout as layout
12501         (hasLayout): layout as layout
12502         (operator): layout as layout
12503         (delete_layout): layout as layout
12504         (defaultLayout): layout as layout
12505
12506         * lyxlayout_ptr_fwd.h: new file
12507
12508         * lyxlayout.C (Read): layout as layout
12509
12510         * lyx_cb.C (MenuInsertLabel): layout as layout
12511
12512         * bufferlist.C (newFile): layout as layout
12513
12514         * buffer.C (readLyXformat2): layout as layout
12515         (parseSingleLyXformat2Token): layout as layout
12516         (insertStringAsLines): layout as layout
12517         (asciiParagraph): layout as layout
12518         (latexParagraphs): layout as layout
12519         (makeLinuxDocFile): layout as layout
12520         (simpleLinuxDocOnePar): layout as layout
12521         (makeDocBookFile): layout as layout
12522         (simpleDocBookOnePar): layout as layout
12523         (getLists): layout as layout
12524
12525         * LaTeXFeatures.C (getTClassPreamble): layout as layout
12526
12527         * CutAndPaste.C (cutSelection): layout as layout
12528         (pasteSelection): layout as layout
12529         (SwitchLayoutsBetweenClasses): layout as layout
12530
12531         * BufferView_pimpl.C (Dispatch): layout as layout
12532         (smartQuote): layout as layout
12533
12534         * BufferView2.C (unlockInset): layout as layout
12535
12536 2002-06-24  André Pönitz <poenitz@gmx.net>
12537
12538         * lyxfunc.C: fix #487
12539
12540 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12541
12542         * lyxrc.h:
12543         * lyxrc.C:
12544         * lyxfunc.C: remove display_shortcuts, show_banner
12545
12546 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12547
12548         * Buffer_pimpl.C: oops, update on resize
12549
12550 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12551
12552         * buffer.C:
12553         * converter.C:
12554         * exporter.C:
12555         * lyxfunc.C:
12556         * BufferView.h:
12557         * BufferView.C: use repaint()
12558
12559         * BufferView_pimpl.h:
12560         * BufferView_pimpl.C: s/updateScreen()/repaint()/
12561           as it's a clearer description. Remove superfluous
12562           redraws.
12563
12564 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12565
12566         * text.C: fix bug 488. Not ideal, but getting
12567           getWord() to work properly for the insets that
12568           matter is more difficult ...
12569
12570 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12571
12572         * BufferView_pimpl.C:
12573         * LyXAction.C:
12574         * commandtags.h:
12575         * lyxfunc.C: remove the six million index lyxfuncs to just
12576           one, and DTRT (bug 458)
12577
12578 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12579
12580         * BufferView.h:
12581         * BufferView.C:
12582         * BufferView_pimpl.h:
12583         * BufferView_pimpl.C: clean up resize() stuff,
12584           and unnecessary updateScreen()s
12585
12586 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12587
12588         * BufferView.h:
12589         * BufferView.C:
12590         * BufferView_pimpl.h:
12591         * BufferView_pimpl.C:
12592         * lyxfind.h:
12593         * lyxfind.C:
12594         * minibuffer.C: remove focus management of workarea,
12595           not needed. Use screen's greyOut()
12596
12597 2002-06-17  Herbert Voss  <voss@lyx.org>
12598
12599         * converter.C: (convert) do not post a message, when converting
12600         fails, let the calling function decide what to do in this case
12601
12602 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
12603
12604         * lyxfunc.C: tidy up a little
12605
12606 2002-06-16    <alstrup@diku.dk>
12607
12608         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12609         Got rid of FORMS_H_LOCATION include. Now we are
12610         GUII.
12611
12612 2002-06-15  LyX Development team  <lyx@rilke>
12613
12614         * buffer.[Ch] (sgmlOpenTag):
12615         (sgmlCloseTag): Added support for avoiding pernicious mixed
12616         content. Return number of lines written.
12617
12618         (makeLinuxDocFile):
12619         (makeDocBookFile): Fixed calls to sgml*Tag.
12620         Simple white space clean.
12621
12622         (simpleDocBookOnePar): Simple white space clean.
12623
12624         * tabular.[Ch] (docBook): Renamed to docbook and got another
12625         argument to related with the pernicious mixed content.
12626
12627         (docbookRow): Fixed calls for docbook inset method.
12628
12629 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
12630
12631         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12632         so it's X11 independent.
12633
12634         * kb*.[Ch]: ditto.
12635
12636         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12637
12638 2002-06-15  Lyx Development team  <lyx@electronia>
12639
12640         * intl.h: Renamed getTrans to getTransManager.
12641
12642 2002-06-14  Angus Leeming  <leeming@lyx.org>
12643
12644         * Makefile.am: nuke forgotten stl_string_fwd.h.
12645
12646 2002-06-12  Angus Leeming  <leeming@lyx.org>
12647
12648         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12649
12650 2002-06-13  Angus Leeming  <leeming@lyx.org>
12651
12652         * LaTeX.C:
12653         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12654
12655 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
12656
12657         * kbmap.C (getiso): add support for cyrillic and greek
12658
12659 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12660
12661         * BufferView.h:
12662         * BufferView.C:
12663         * BufferView_pimpl.h:
12664         * BufferView_pimpl.C: move bogus scrolling logic
12665           to xforms
12666
12667 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12668
12669         * lyxfunc.C:
12670         * BufferView_pimpl.C: view->resize() change
12671
12672 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12673
12674         * BufferView_pimpl.C: topCursorVisible
12675           prototype change
12676
12677 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12678
12679         * Makefile.am:
12680         * lyx_gui.h:
12681         * lyx_gui.C: move to frontends/
12682
12683         * main.C:
12684         * lyx_main.h:
12685         * lyx_main.C: changes from above
12686
12687 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12688
12689         * intl.C:
12690         * intl.h:
12691         * kbmap.C:
12692         * kbsequence.C:
12693         * lyx_cb.C:
12694         * lyx_main.C: minor tidy
12695
12696 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12697
12698         * BufferView_pimpl.h:
12699         * BufferView_pimpl.C:
12700         * BufferView.h:
12701         * BufferView.C: make painter() const,
12702           remove dead code
12703
12704         * BufferView2.C: use screen() accessor
12705
12706         * lyx_main.h:
12707         * lyx_main.C: some minor cleanup
12708
12709 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12710
12711         * BufferView_pimpl.h:
12712         * BufferView_pimpl.C: remove enter/leaveView,
12713           use workHeight()
12714
12715 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12716
12717         * BufferView.h:
12718         * BufferView.C:
12719         * BufferView2.C:
12720         * BufferView_pimpl.h:
12721         * BufferView_pimpl.C: only construct screen once,
12722           rename
12723
12724         * lyxrc.C: remove pointless comment
12725
12726 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12727
12728         * BufferView.h:
12729         * BufferView.C: remove active() and belowMouse()
12730
12731         * BufferView_pimpl.h:
12732         * BufferView_pimpl.C: use workarea() not workarea_,
12733           and make it use a scoped_ptr instead
12734
12735 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12736
12737         * lyx_gui.C: add debug message on BadWindow
12738
12739 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12740
12741         * sp_spell.C: fdopen is not part of the C++ standard.
12742
12743         * paragraph.C (InsetIterator): use >= instead of ==
12744
12745 2002-06-07  Angus Leeming  <leeming@lyx.org>
12746
12747         Fixes needed to compile with Compaq cxx 6.5.
12748         * BufferView_pimpl.C:
12749         * DepTable.C:
12750         * buffer.C:
12751         * converter.C:
12752         * encoding.C:
12753         * lyx_gui.C:
12754         * lyx_main.C:
12755         * lyxtextclasslist.C:
12756         * minibuffer.C:
12757         * sp_spell.C:
12758         * tabular_funcs.C:
12759         * vc-backend.C:
12760         all c-library variables have been moved into namespace std. Wrap
12761         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12762
12763         * lyxlength.C:
12764         * tabular-old.C:
12765         * tabular.C:
12766         Add a using std::abs declaration.
12767
12768         * kbmap.h (modifier_pair):
12769         * paragraph.h (InsetTable, InsetList):
12770         * lyxfont.h (FontBits):
12771         type definition made public.
12772
12773         * bufferlist.C (emergencyWriteAll): the compiler complains that
12774         there is more than one possible lyx::class_fun template to choose from.
12775         I re-named the void specialisation as lyx::void_class_fun.
12776
12777         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12778
12779         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12780         the compiler is is unable to find tostr in write_attribute.
12781
12782 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12783
12784         * buffer.C (sgmlError): hide #warning
12785
12786 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12787
12788         * xtl/*: get rid of xtl, which is not in use anyway
12789
12790         * LyXAction.C (init):
12791         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12792         were unimplemented xtl experimentation
12793
12794 2002-06-04  André Pönitz <poenitz@gmx.net>
12795
12796         * lyxfunc.C: disable array operation on simple formulae
12797
12798 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
12799
12800         * converter.C: constify a bit
12801
12802 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
12803
12804         * lyx_gui.C: check xforms version correctly
12805
12806 2002-04-30  Herbert Voss  <voss@lyx.org>
12807
12808         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12809         "keep" option
12810
12811 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
12812
12813         * lyxvc.C: fix bug 416 (make sure buffer is saved before
12814           attempt to register it with a VCS)
12815
12816 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12817
12818         * lyx_main.C (init): honor variables LYX_DIR_13x and
12819         LYX_USERDIR_13x
12820
12821 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12822
12823         * buffer.h:
12824         * buffer.C:
12825         * lyx_main.C: fix a crash on bad command line,
12826           and give a useful exit status on error
12827
12828         * lyxfunc.C (doImport): allow -i lyx to work
12829
12830 2002-03-30  André Pönitz <poenitz@gmx.net>
12831
12832         * lyxfunc.C: mathed font changes
12833
12834 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12835
12836         * LaTeX.C:
12837         * importer.h:
12838         * importer.C:
12839         * lyx_sty.h:
12840         * lyx_sty.C:
12841         * lyxlex.C:
12842         * lyxrow.h:
12843         * lyxtext.h:
12844         * paragraph.h:
12845         * paragraph.C:
12846         * texrow.h:
12847         * texrow.C:
12848         * text.C:
12849         * trans_mgr.h: srcdocs, and some minor cleanups
12850
12851 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12852
12853         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12854         call getFont all the time)
12855
12856 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12857
12858         * switch from SigC signals to boost::signals
12859
12860 2002-05-29  André Pönitz <poenitz@gmx.net>
12861
12862         * paragraph_pimpl.C (getChar): don't call size() too often...
12863
12864 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12865
12866         * paragraph_pimpl.C (insertChar): do not try to update tables when
12867         appending (pos == size())
12868
12869         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12870         in order to reduce drastically the number of comparisons needed to
12871         parse a large document
12872
12873 2002-05-29  André Pönitz <poenitz@gmx.net>
12874
12875         * text.C:
12876         * text2.C:
12877         * lyxtextclass.C:
12878         * sp_pspell.h:
12879         * textclasslist.[Ch]:
12880         * sp_ispell.h: whitespace change
12881
12882 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12883
12884         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12885         lyxaction directly now.
12886
12887 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
12888
12889         * trans.C:
12890         * lyxfont.C:
12891         * lyxvc.C: remove unused headers
12892
12893 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12894
12895         * Makefile.am:
12896         * buffer.h:
12897         * undostack.h:
12898         * undostack.C:
12899         * undo_funcs.h:
12900         * undo_funcs.C: some cleanups. Use shared_ptr
12901           and a template for the undo stacks.
12902
12903 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12904
12905         * BufferView_pimpl.h:
12906         * BufferView_pimpl.C:
12907         * kbmap.h:
12908         * kbmap.C:
12909         * kbsequence.h:
12910         * kbsequence.C:
12911         * lyxfunc.h:
12912         * lyxfunc.C:
12913         * text2.C: use key_state/mouse_state
12914
12915 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12916
12917         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12918         and LSubstring
12919
12920         * chset.C: change include order
12921         (loadFile): use boost regex and get rid of LRegex and LSubstring
12922
12923         * Makefile.am (BOOST_LIBS): new variable
12924         (lyx_LDADD): use it
12925
12926         * LaTeX.C: change include order.
12927         (scanAuxFile): use boost regex and get rid of LRegex and
12928         LSubstring
12929         (deplog): ditto
12930
12931 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12932
12933         * ColorHandler.h:
12934         * ColorHandler.C:
12935         * FontInfo.h:
12936         * FontInfo.C: moved to frontends/xforms/
12937
12938         * FontLoader.h:
12939         * FontLoader.C: moved into frontends for GUIIzation
12940
12941         * Makefile.am:
12942         * lyx_gui.C:
12943         * lyxfont.C:
12944         * lyxfunc.C: changes from above
12945
12946 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12947
12948         * LColor.C: remove spurious X include
12949
12950         * BufferView_pimpl.C:
12951         * Makefile.am:
12952         * font.h:
12953         * font.C:
12954         * text.C:
12955         * text2.C: move font metrics to frontends/
12956
12957 2002-05-24  Juergen Vigna  <jug@sad.it>
12958
12959         * undo_funcs.C (textHandleUndo): fix the cursor selection after
12960         setting the undo_cursor.
12961
12962         * ParagraphParameters.h: include local includes first.
12963
12964 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12965
12966         * BufferView_pimpl.C:
12967         * BufferView_pimpl.h:
12968         * Makefile.am:
12969         * WorkArea.h:
12970         * WorkArea.C:
12971         * screen.C: move WorkArea into frontends/
12972
12973         * lyxscreen.h:
12974         * screen.C:
12975         * text.C:
12976         * BufferView.C:
12977         * BufferView2.C: move LyXScreen into frontends/
12978
12979         * lyxlookup.h:
12980         * lyxlookup.C:
12981         * lyx_gui.C: move lyxlookup into frontends/xforms/
12982
12983 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12984
12985         * BufferView2.C:
12986         * BufferView_pimpl.C:
12987         * FontLoader.C:
12988         * LyXView.h:
12989         * LyXView.C:
12990         * Makefile.am:
12991         * WorkArea.C:
12992         * XFormsView.h:
12993         * XFormsView.C:
12994         * buffer.C:
12995         * bufferlist.C:
12996         * bufferview_funcs.C:
12997         * converter.C:
12998         * importer.C:
12999         * lyx_cb.C:
13000         * lyx_gui.C:
13001         * lyx_main.C:
13002         * lyx_find.C:
13003         * lyxfunc.C:
13004         * lyxvc.C:
13005         * minibuffer.C:
13006         * text.C:
13007         * text2.C:
13008         * trans.C:
13009         * vc-backend.C: move LyX/XFormsView into frontends/
13010
13011 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
13012
13013         * Makefile.am:
13014         * PainterBase.C:
13015         * PainterBase.h:
13016         * Painter.C:
13017         * Painter.h:
13018         * WorkArea.C:
13019         * WorkArea.h:
13020         * screen.C:
13021         * tabular.C:
13022         * text.C:
13023         * text2.C: move Painter to frontends/
13024
13025 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13026
13027         * buffer.C: comment out some some code that depend upon lyx_format
13028         < 220
13029
13030         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
13031         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
13032
13033         * buffer.h (NO_COMPABILITY): turn off compability
13034
13035         * ColorHandler.C: include scoped_array.hpp
13036
13037         * font.C: Use more specific smart_ptr header.
13038         * Painter.C: ditto
13039         * gettext.C: ditto
13040         * ShareContainer.h: ditto
13041         * lyx_main.h: ditto
13042         * kbmap.h: ditto
13043         * FontInfo.h: ditto
13044         * BufferView_pimpl.h: ditto
13045         * ColorHandler.h: ditto
13046
13047         * kbmap.C (defkey): change call to shared_ptr::reset
13048
13049 2002-05-21  Juergen Vigna  <jug@sad.it>
13050
13051         * buffer.C (insertErtContents): fix to insert ert asis if it is
13052         non empty. Skip it completely if it contains only whitespaces.
13053
13054 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
13055
13056         * BufferView_pimpl.C:
13057         * BufferView2.C: clear selection on paste (bug 393)
13058
13059 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13060
13061         * DepTable.C: include ctime
13062
13063 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
13064
13065         * buffer.C (latexParagraphs): Add new argument (moving_arg).
13066
13067 2002-05-14  Juergen Vigna  <jug@sad.it>
13068
13069         * text.C (breakParagraph): fixed function to honor the keepempty
13070         layout in the right maner and also to permit the right breaking
13071         algorithm on empty or non empyt keepempty paragraphs.
13072
13073         * paragraph.C (breakParagraph): we have to check also if the par
13074         is really empty (!size()) for isempty otherwise we do the wrong
13075         paragraph break.
13076
13077 2002-05-10  Juergen Vigna  <jug@sad.it>
13078
13079         * buffer.[Ch] : The following are only changes to the ert
13080         compatibility read reading old LaTeX layout and font stuff and
13081         convert it to ERTInsets.
13082
13083         * buffer.h: added isErtInset().
13084
13085         * buffer.C (struct ErtComp): add a fromlayout bool to check
13086         if we're inside a LaTeX layout.
13087         (isErtInset): new helper function.
13088         (insertErtContents): look for other ert insets before this one
13089         and insert the contents there, so that we don't have subsequent
13090         ERT insets with nothing between them. This way we create only one
13091         inset with multiple paragraphs. Also check if we don't insert only
13092         spaces ' ' as they are ignored anyway afterwards in the .tex file
13093         so if we have only spaces we will ignore this latex part in the
13094         new file.
13095         (parseSingleLyXformat2Token \\layout): better compatibility when
13096         reading layout-latex stuff.
13097         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
13098         language tag.
13099         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
13100         stuff after reading the inset only get the information back from
13101         the stack.
13102
13103 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
13104
13105         * buffer.C (makeLaTeXFile): Put language options after loading babel.
13106
13107         * LaTeXFeatures.C (getBabelOptions): New method.
13108
13109 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13110
13111         * BufferView_pimpl.C (Dispatch): work around missing argument for
13112         'layout'
13113
13114 2002-05-08  Juergen Vigna  <jug@sad.it>
13115
13116         * text.C (leftMargin): handle paragraph leftindent.
13117
13118         * paragraph.C (writeFile): write the new \\leftindent tag.
13119         (validate): handle leftindent code.
13120         (TeXEnvironment): handle paragraphleftindent code again.
13121
13122         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
13123
13124         * buffer.C (parseSingleLyXformat2Token): added compatibility code
13125         for paragrap_extra indent code and new token \\leftindent.
13126         (latexParagraphs): handle the leftindent as environment.
13127
13128         * ParameterStruct.h: added leftindent support.
13129
13130         * ParagraphParameters.C (leftIndent): added support functions for
13131         the paragraph left indent.
13132
13133         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
13134         more appropriate.
13135
13136 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
13137
13138         * paragraph.C (isRightToLeftPar): Return false for a paragraph
13139         inside insetERT.
13140
13141         * text.C (computeBidiTables): No bidi in insetERT.
13142
13143         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
13144         in RTL documents.
13145
13146 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13147
13148         * version.C.in: pre 5
13149
13150 2002-05-02  José Matos  <jamatos@fep.up.pt>
13151         * buffer.C (makeDocBookFile): white space changes, add newline to
13152         command styles.
13153         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
13154
13155         * tabular.C (docBook): fix typo.
13156
13157 2002-05-03  Juergen Vigna  <jug@sad.it>
13158
13159         * screen.C (drawFromTo): recalculate the rowpointer if we had a
13160         change in LyXText as we can not be sure it was not freed.
13161         (drawOneRow): remove unused code.
13162
13163         * text.C (drawInset): redo the calculation of the need_break_row as
13164         it could have a row which was already freed.
13165         (draw): look at the return value of drawInset and return false if
13166         it also returned false.
13167         (paintRowText): look at the return value of draw and return false if
13168         it also returned false.
13169
13170         * lyxtext.h: added bool return type to drawInset() and draw() so that
13171         if we have a change in the row so that the rowbreak has to be redone
13172         we abort drawing as it will be called again.
13173
13174 2002-05-02  Juergen Vigna  <jug@sad.it>
13175
13176         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
13177         a change in the maintext also if we're inside an inset.
13178         (Dispatch): set the cursor again after a break line and after the
13179         screen has been updated as it could be we're in a different row.
13180
13181         * text2.C (fixCursorAfterDelete): check to make sure we don't request
13182         to set the cursor behind the pargraph with > size().
13183         (setCursor): check also for the same paragraph when checking where
13184         to put the cursor if we have a NFR inset.
13185
13186         * buffer.C (parseSingleLyXformat2Token): move the compatibility
13187         parts of layout read further up as it still was in the wrong
13188         position.
13189
13190 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13191
13192         * screen.C (drawFromTo): change sine fullRebreak always return
13193         true.
13194
13195         * buffer.C (parseSingleLyXformat2Token): reindent some
13196
13197         * BufferView_pimpl.C (update): change since fullRebreak always
13198         return true.
13199         (Dispatch): git rid of the last hardcoded "Standard"s.
13200
13201 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13202
13203         * text2.[Ch] (fullRebreak): make it return void now that we always
13204         returned true.
13205
13206 2002-04-30  Juergen Vigna  <jug@sad.it>
13207
13208         * buffer.C (parseSingleLyXformat2Token): reset the font before the
13209         ert compatibility check for "latex" layout.
13210
13211 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
13212
13213         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
13214         minipages: use col% instead of p%, and also use the current font.
13215         (makeLaTeXFile): Fix use babel condition.
13216         (parseSingleLyXformat2Token): Correct font when reading old floats.
13217
13218 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
13219
13220         * BufferView_pimpl.C (Dispatch): Check that float type exists when
13221         inserting list of floats.
13222
13223 2002-04-25  Herbert Voss  <voss@lyx.org>
13224
13225         * MenuBackend.C (expand): don't add the graphics extensions to the
13226         export menu
13227
13228 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13229
13230         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
13231         non-existing layout, do not complain if it was the default layout
13232         of the original class (bug #342)
13233
13234 2002-04-24  Juergen Vigna  <jug@sad.it>
13235
13236         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
13237         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
13238
13239 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
13240
13241         * buffer.C (getBibkeyList): If using \bibliography, return the
13242         option field with the reference itself. Enables us to provide natbib
13243         support when using \bibliography.
13244
13245 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
13246
13247         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
13248
13249         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
13250         natbib is provided by the LaTeX class.
13251
13252 2002-04-23  Juergen Vigna  <jug@sad.it>
13253
13254         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
13255         Wakeup functions.
13256
13257         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
13258
13259 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13260
13261         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
13262
13263         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
13264         ensuremath around textordmasculine, textordfeminine and
13265         textdegree.
13266
13267 2002-04-19  Juergen Vigna  <jug@sad.it>
13268
13269         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
13270         reinitializing the buffer otherwise row-dimensions may be wrong.
13271         (update): reset also the selection cursors if they do exits otherwise
13272         their x/y positions may be wrong.
13273
13274         * text2.C (cursorDown): don't enter the inset if we came from a row
13275         above and are one row over the inset.
13276
13277         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
13278         really leaving an inset.
13279
13280 2002-04-18  Juergen Vigna  <jug@sad.it>
13281
13282         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
13283         of the selected paragraph does not have the selected layout also if
13284         the last one had!
13285
13286         * text2.C (setLayout): fixed bug which did not change last selected
13287         paragraph.
13288
13289         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
13290         changed the read and substituted \\end_float with \\end_inset!
13291
13292         * BufferView_pimpl.C (cursorPrevious):
13293         (cursorNext): fixed to make it work with rows heigher than the work
13294         area without moving the cursor only the draw of the row.
13295         (workAreaMotionNotify): fix jumping over high rows.
13296
13297 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13298
13299         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
13300         Ressler.
13301
13302 2002-04-16  Juergen Vigna  <jug@sad.it>
13303
13304         * text2.C (setCursor): set also the irow().
13305         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
13306         (cursorUp):
13307         (cursorDown): support for locking an inset if the x_fix value goes
13308         inside it. That way I can transverse insets too with cursor up/down.
13309
13310         * lyxrow.h: added irow helper function same as other (i) functions.
13311
13312         * BufferView_pimpl.C (cursorPrevious):
13313         (cursorNext): fixed for insets!
13314
13315 2002-04-15  Juergen Vigna  <jug@sad.it>
13316
13317         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
13318         position otherwise it is wrong in some cases.
13319
13320         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
13321         inside the inset before the call.
13322
13323 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
13324
13325         * buffer.[Ch] (getBibkeyList): make it const.
13326
13327 2002-04-12  Juergen Vigna  <jug@sad.it>
13328
13329         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
13330
13331         * text2.C (getCursorX): new helper function
13332         (setCursor): compute also ix_
13333         (setCursorFromCoordinates): set also ix.
13334
13335         * lyxcursor.h: added ix_ and helper functions.
13336
13337         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
13338
13339         * buffer.C (insertStringAsLines): dont break paragraph if the this
13340         paragraph is inside an inset which does not permit it!
13341
13342         * text.C (breakParagraph): honor keepempty flag and break the paragraph
13343         also with no chars on this paragraph.
13344         (paintRowText): only paint stuff if it's inside the workarea!
13345
13346         * paragraph.C (breakParagraph): honor keepempty flag and break the
13347         paragraph always below not above.
13348
13349         * BufferView2.C (unlockInset): update the paragraph layout on inset
13350         unlock as we changed paragraph in such a case.
13351
13352         * lyxfind.C (LyXFind): clear the former selection if not found!
13353
13354         * text2.C (insertInset): freeze Undo after setUndo so that it is not
13355         again called in insertChar().
13356
13357         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
13358         an inset which uses the whole row!
13359         (rightMargin): ditto.
13360         (insertChar): force a rebreak if we inserted an inset!
13361
13362 2002-03-28  Herbert Voss  <voss@lyx.org>
13363
13364         * lyxlength.[Ch]: add inBP() to get the right PS-point
13365         units (BigPoint). With inPixels we have rounding errors
13366
13367 2002-04-11  Juergen Vigna  <jug@sad.it>
13368
13369         * text2.C (setCursorFromCoordinates): set iy to the right value.
13370         (setCursor): add check if row->previous exists!
13371
13372         * buffer.C (parseSingleLyXformat2Token): reset font after read of
13373         an old float_type as this was the case in the old code!
13374
13375         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
13376
13377         * BufferView2.C (showLockedInsetCursor): use iy
13378         (fitLockedInsetCursor): ditto
13379
13380         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
13381         locked insets as there we have the right value now.
13382
13383         * lyxcursor.C: added iy_ variable and iy functions to set to the
13384         baseline of cursor-y of the locked inset.
13385
13386         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
13387         (setCursor): fixed for insets which need a full row.
13388
13389         * text.C (rowLastPrintable): don't ignore the last space when before
13390         an inset which needs a full row.
13391         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
13392         as last character of a row when before a inset which needs a full row.
13393
13394 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13395
13396         * version.C.in: update date
13397
13398         * text2.C (fullRebreak): try to always return true and see what
13399         happens...
13400
13401 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13402
13403         * MenuBackend.C (expand): use Floating::listName
13404
13405         * FloatList.C (FloatList): add listName argument to the built-in
13406         floats
13407
13408         * Floating.[Ch]: add listName member, which is the 'List of XXX'
13409         text associated with the float.
13410
13411 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13412
13413         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
13414
13415 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13416
13417         * ShareContainer.h: add a couple of missing typenames.
13418
13419 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
13420
13421         * lyxrc.C (getDescription): use _() correctly rather than N_().
13422
13423 2002-03-28  Herbert Voss  <voss@lyx.org>
13424
13425         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13426         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13427
13428 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13429
13430         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13431         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13432
13433 2002-03-29  Juergen Vigna  <jug@sad.it>
13434
13435         * lyxfunc.C (dispatch): add a missing fitCursor call.
13436
13437         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13438         it was scrolled by a cursor move, so return the bool status.
13439
13440         * BufferView.C (fitCursor): return the bool flag also to the outside
13441         world as this is needed.
13442
13443         * screen.C (toggleToggle): don't subtract the offset if it's positive.
13444
13445         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13446         call the edit() as it is not needed (and wrong) IMO.
13447         (workAreaButtonPress): set the screen_first variable before evt.
13448         unlock the inset as this may change screen_first and then we have
13449         a wrong y position for the click!
13450
13451 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13452
13453         * MenuBackend.C (expand): another translation that I missed
13454
13455 2002-03-28  Juergen Vigna  <jug@sad.it>
13456
13457         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13458
13459         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13460
13461 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13462
13463         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13464
13465         * MenuBackend.C (expand): fix export/view/update when there is no
13466         document open.
13467
13468 2002-03-27  Herbert Voss  <voss@lyx.org>
13469
13470         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13471         and text%
13472
13473 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13474
13475         * bufferview_funcs.C (currentState): only show paragraph number
13476         for is DEVEL_VERSION is set.
13477
13478         * lyxfunc.C (dispatch): put warning in INFO channel
13479
13480         * MenuBackend.C (expand): translate the name of floats
13481
13482         * FloatList.C (FloatList): mark the float names for translation
13483
13484         * converter.C (convert): use LibScriptSearch
13485
13486 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13487
13488         * MenuBackend.C (defaults): fix default menu (we might as well get
13489         rid of it...)
13490
13491 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13492
13493         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13494         directory.
13495
13496 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13497
13498         * lyxvc.C: reorder includes.
13499
13500 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
13501
13502         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13503           properly
13504
13505 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
13506
13507         * CutAndPaste.C: change layouts earlier on paste
13508           to avoid crashing when calling getFont()
13509
13510 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
13511
13512         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13513         irritating #error.
13514
13515 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13516
13517         * WorkArea.C: remove 'Pending' debug message.
13518
13519         * most files: ws cleanup
13520
13521         * buffer.[Ch]: ws changes
13522
13523         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13524
13525 2002-03-21  Juergen Vigna  <jug@sad.it>
13526
13527         * tabular.C (SetMultiColumn): collapse also the contents of the
13528         cells and set the last border right. Added a Buffer const * param.
13529
13530 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13531
13532         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13533         linking or not.
13534
13535 2002-03-19  Juergen Vigna  <jug@sad.it>
13536
13537         * text2.C (clearSelection): reset also xsel_cache.
13538
13539         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13540         where it needs to be called (John tells us to do so too :)
13541         (selectionLost): reset sel_cache.
13542
13543         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13544
13545 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13546
13547         * text2.C (setCursorIntern): put debuging code in INSETS channel
13548
13549 2002-03-19  André Pönitz <poenitz@gmx.net>
13550
13551         * lyxfunc.C: tiny whitespace change
13552
13553 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13554
13555         * ToolbarDefaults.C (init):
13556         * LyXAction.C (init):
13557         * commandtags.h:
13558         * BufferView_pimpl.C (Dispatch):
13559         * lyxfunc.C (dispatch): remove LFUN_DEPTH
13560
13561 2002-03-19  Allan Rae  <rae@lyx.org>
13562
13563         * exporter.C (Export): removeAutoInsets before doing anything else.
13564         While I've just introduced a dependency on BufferView this really is
13565         the best place to clean the buffer otherwise you need to cleanup in
13566         a dozen places before calling export or cleanup in a dozen functions
13567         that export calls.
13568
13569         * converter.C (runLaTeX):
13570         (scanLog): Better handling of removeAutoInsets and screen updates.
13571
13572         * lyxfunc.C (dispatch): small whitespace changes
13573
13574 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13575
13576         * WorkArea.C (C_WorkAreaEvent): return a value.
13577         (event_cb): return 1 if we handled the event, 0 otherwise.
13578
13579         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13580
13581 2002-03-18  Juergen Vigna  <jug@sad.it>
13582
13583         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13584         (GetAdditionalWidth): ditto.
13585         (RightLine): ditto.
13586         (LeftLine): ditto.
13587
13588         * BufferView2.C (copy): use getLyXText() so that we do it inside an
13589         inset if we're there actually (probably not used right now but this
13590         is the direction to go for unifying code).
13591         (paste): disable code to clear the selection.
13592
13593         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13594         inside an InsetText and move the check further up as it is in the
13595         wrong place.
13596
13597         * text2.C (pasteSelection): set a selection over the pasted text.
13598
13599 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
13600
13601         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13602         and libgraphics to build on Cygwin.
13603
13604 2002-03-15  Juergen Vigna  <jug@sad.it>
13605
13606         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13607         inserting an Inset into the paragraph. I know this is not the best
13608         fix but we already use current_view in CutAndPaste so we will remove
13609         all of it's using at the same time.
13610
13611         * buffer.C (sgmlError): deactivated function till it is rewritten in
13612         the right mode, now it can create problems.
13613
13614         * paragraph.C (isLineSeparator): check if getInset returns != 0,
13615         before accessing it.
13616
13617 2002-03-14  Juergen Vigna  <jug@sad.it>
13618
13619         * undo_funcs.C (textHandleUndo): do the right thing when updating
13620         the inset after the undo/redo.
13621
13622         * text2.C (setCursor): just some testcode for #44 not ready yet.
13623
13624         * undo_funcs.C (textHandleUndo): set the next() and previous()
13625         pointers of the paragraph to 0 before deleting otherwise we have
13626         problems with the Paragraph::[destructor].
13627
13628         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13629         on a paragraph insertion.
13630
13631 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13632
13633         * buffer.C (asciiParagraph): use += operator for char append to
13634         string.
13635
13636         * paragraph.C (getFontSettings): compare >= not just >
13637         (highestFontInRange): ditto
13638         (setFont): ditto
13639
13640 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13641
13642         * paragraph.C: change several algorithm to be more appripriate for
13643         the problem domain. This is lookip in FontList and in the InsetList.
13644
13645 2002-03-13  André Pönitz <poenitz@gmx.net>
13646
13647         * commandtags.h:
13648         * LyXAction.C: remove unused LFUN_MATH_MACROARG
13649
13650 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
13651
13652         * commandtags.h:
13653         * LyXAction.C:
13654         * lyxfunc.C:
13655         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13656
13657 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13658
13659         * Painter.C (display): anon helper function, adjust code for this
13660         change.
13661         (pixmap): remove function.
13662
13663         * Painter.h: remove private display variable.
13664
13665         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13666
13667 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
13668
13669         * WorkArea.[Ch]: remove figinset_canvas cruft.
13670
13671 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13672
13673         * lyxtextclass.C (operator): add one item cache optimization.
13674
13675         * bufferlist.h: doxy changes
13676
13677         * bufferlist.C: ws changes
13678
13679         * DepTable.[Ch] (ext_exist): place const in the right spot.
13680
13681         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13682         call resizeInsets.
13683         (workAreaExpose): call resizeInsets when the with BufferView changes.
13684         (Dispatch): adjust for protectedBlank removal
13685         (specialChar): call updateInset if the insert went ok.
13686
13687         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13688         specialChar instead.
13689
13690         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13691
13692         * BufferView.h: doxy change
13693
13694         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13695
13696         * lyxtextclass.C (operator[]): remove non-const version
13697         (defaultLayout): remove non-const version
13698
13699 2002-03-12  Juergen Vigna  <jug@sad.it>
13700
13701         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13702         did resize the LyXText too.
13703
13704         * buffer.C (readLyXformat2): set layout information on newly allocated
13705         paragraphs.
13706
13707         * tabular.C (OldFormatRead): set layout information on the paragraph.
13708
13709 2002-03-12  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13710
13711         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13712
13713 2002-03-11  Juergen Vigna  <jug@sad.it>
13714
13715         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13716         plainly wrong.
13717         (resizeCurrentBuffer): force also the insets to resize themselfes.
13718         (moveCursorUpdate): fixed up for InsetText.
13719
13720 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
13721
13722         * commandtags.h:
13723         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13724         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13725         value of Dialogs::tooltipsEnabled().
13726         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13727
13728 2002-03-08  Juergen Vigna  <jug@sad.it>
13729
13730         * BufferView_pimpl.C (updateInset): update inset inside inset also
13731         if it isn't inside theLockingInset().
13732
13733 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13734
13735         * buffer.C (asciiParagraph): redo some of the word and line length
13736         handling.
13737         (getLists): look for Caption instead of caption.
13738
13739 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13740
13741         * buffer.C (Buffer): initialize niceFile to true
13742         (makeLaTeXFile):
13743         (makeLinuxDocFile):
13744         (makeDocBookFile): make sure niceFile is true on exit
13745
13746 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13747
13748         * buffer.C (makeLaTeXFile): escape ~ in \input@path
13749
13750 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
13751
13752         * LyXSendto.C: remove.
13753         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13754         * lyx_gui.C: remove now-redundant comment.
13755         * ColorHandler.h: remove forward declaration of class WorkArea.
13756         * lyxfunc.C: remove #include "WorkArea.h".
13757
13758 2002-03-07  Juergen Vigna  <jug@sad.it>
13759
13760         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13761         got moved away with the DEPM and also set the inset_owner always
13762         right which before could have been omitted.
13763
13764 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13765
13766         * buffer.C (parseSingleLyXformat2Token): use default layout is the
13767         wanted layout is not found.
13768
13769 2002-03-07  Juergen Vigna  <jug@sad.it>
13770
13771         * CutAndPaste.C (cutSelection): another layout settings forgotten.
13772
13773 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13774
13775         * paragraph.C (breakParagraph): use default layout not layout of
13776         prev paragraph.
13777         (Paragraph): clear ParagraphParameters.
13778
13779 2002-03-06  Juergen Vigna  <jug@sad.it>
13780
13781         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13782         otherwise it would not be a valid lenght. Fixed a special case in
13783         the minipage compatibility read where we end the document with a
13784         minipage.
13785
13786         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13787         was set as it could be 0 for InsetTexts first entry.
13788
13789 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13790
13791         * paragraph.C (writeFile): if layout is empty write out
13792         defaultLayoutName().
13793
13794         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13795         file without named layout we set layout to defaultLayoutName().
13796
13797 2002-03-06  Juergen Vigna  <jug@sad.it>
13798
13799         * CutAndPaste.C (copySelection): set layout for new paragraph.
13800
13801         * text.C (prepareToPrint): leave ERT inset left aligned
13802         (leftMargin): don't indent paragraphs inside ERT insets
13803
13804 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13805
13806         * paragraph.C (breakParagraph): dont call clear do the work manually
13807
13808         * paragraph.[Ch] (clear): remove function
13809
13810 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13811
13812         * paragraph.C (Paragraph): dont call clear, the work has already
13813         been done.
13814
13815         * lyxtextclass.C (operator): assert if n is empty
13816
13817         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13818         work manually instead.
13819
13820 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13821
13822         * BufferView_pimpl.C: protect selectionLost against text == 0
13823
13824 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13825
13826         * text.C (breakParagraph): fix a setting layout to '0' problem.
13827
13828 2002-03-05  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13829
13830         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13831         final location of file, for the included files, and graphics.
13832
13833 2002-03-05  Juergen Vigna  <jug@sad.it>
13834
13835         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13836
13837 2002-03-04  Juergen Vigna  <jug@sad.it>
13838
13839         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13840
13841         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13842         last column of multicolumn cells.
13843         (SetWidthOfMulticolCell): recalculate NMC and real columns.
13844
13845 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
13846
13847         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13848         file if it doesn't go to a temporary file.
13849
13850         * buffer.C (sgmlOpenTag):
13851         (sgmlCloseTag):  remove extra newline insertion.
13852
13853 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13854
13855         * text.C (getRowNearY): comment out debug msg
13856
13857 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13858
13859         * text2.C: first -> first_y
13860
13861         * text.C (getRowNearY): add some attemts at a possible
13862         optimization, not working.
13863
13864         * tabular.[Ch]: add BufferParams to several function so that newly
13865         created paragraph can be initialized to he default layotu for the
13866         buffers textclass.
13867
13868         * tabular-old.C (ReadOld): add buf->params to call of Init
13869
13870         * screen.C: rename text->first to text->first_y
13871
13872         * paragraph.C (breakParagraph): always set layout in the broken
13873         paragraph
13874
13875         * lyxtextclass.C (Read): remove lowercase
13876         (hasLayout): ditto
13877         (operator): ditto
13878         (delete_layout): ditto
13879
13880         * lyxtext.h: rename first -> first_y
13881
13882         * lyxlayout.C (Read): remove lowercase
13883         (name): ditto
13884         (setName): ditto
13885         (obsoleted_by): ditto
13886
13887         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13888
13889         * buffer.C (insertErtContents): add params are to InsetERT
13890         (parseSingleLyXformat2Token): add code to check if a paragraphs
13891         layout really exist.
13892         (parseSingleLyXformat2Token): add params to several inset
13893         constructors
13894         (asciiParagraph): remove lowercase, do the layout comparisons with
13895         no_case
13896
13897         * BufferView_pimpl.C (cursorNext): first -> first_y
13898         (resizeCurrentBuffer): first -> first_y
13899         (updateScrollbar): first -> first_y
13900         (scrollCB): first -> first_y
13901         (workAreaMotionNotify): first -> first_y
13902         (workAreaButtonPress): first -> first_y
13903         (checkInsetHit): first -> first_y
13904         (cursorPrevious): first -> first_y
13905         (cursorNext): first -> first_y
13906         (Dispatch): add buffer_->params to severl inset contructors
13907
13908 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13909
13910         * lyxlayout.C (Read): remove some debug info that I forgot.
13911
13912         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13913         clean up the code slightly.
13914         (makeLinuxDocFile): ditto
13915         (makeDocBookFile): ditto
13916
13917         * text2.C: layout as string
13918
13919         * text.C: layout as string
13920
13921         * paragraph_pimpl.C: layout as string
13922
13923         * paragraph.[Ch]: layout as string
13924
13925         * lyxtextclasslist.[Ch]: layout as string
13926
13927         * lyxtextclass.[Ch]: layout as string
13928
13929         * lyxtext.h: layout as string
13930
13931         * lyxlayout.[Ch]: layout as string
13932
13933         * lyx_cb.C: layout as string
13934
13935         * bufferview_funcs.C: layout as string
13936
13937         * bufferparams.C: layout as string
13938
13939         * buffer.C: layout as string
13940
13941         * LyXView.[Ch]: layout as string
13942
13943         * LaTeXFeatures.[Ch]: layout as string
13944
13945         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13946
13947         * BufferView_pimpl.C: change current_layout to string, remove
13948         lyx::layout_type.
13949         (Dispatch):
13950         (smartQuote):
13951         (insertInset):
13952         (workAreaButtonRelease): layout as string
13953
13954         * BufferView2.C (unlockInset): adjust
13955
13956         * vspace.C (asLatexCommand): use an explict temp variable.
13957
13958 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13959
13960         * Makefile.am: use FRONTEND_*
13961
13962 2002-03-01  Juergen Vigna  <jug@sad.it>
13963
13964         * tabular.C (SetWidthOfMulticolCell): changed to something better
13965         I hope but still work in progress.
13966         (recalculateMulticolumnsOfColumn): renamed function from
13967         recalculateMulticolCells as it is more appropriate now.
13968         (SetWidthOfCell): calculate multicols better.
13969
13970 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13971
13972         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13973
13974         * lyxfunc.C (processKeySym): print sequence also if it is
13975         `deleted' (complete)
13976
13977         * kbsequence.C (print): print sequence even if it is deleted
13978         (complete would be a better word, actually).
13979
13980         * lyxfunc.C (dispatch): print complete options after a prefix key
13981
13982         * vspace.C (asLatexCommand): rewrite in a slightly different form.
13983
13984 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
13985
13986         * text2.C (setCharFont): eliminate setCharFont code duplication.
13987
13988 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13989
13990         * BufferView_pimpl.C (Dispatch): remove bogus handling of
13991         LFUN_TABULAR_FEATURE (bug #177)
13992
13993 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
13994
13995         * Makefile.am: remove figure.h
13996
13997 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
13998
13999         * Bufferview_pimpl.C:
14000         * CutAndPasteC:
14001         * LaTeX.C:
14002         * LyXSendto.C:
14003         * buffer.C:
14004         * bufferlist.C:
14005         * converter.C:
14006         * language.C:
14007         * lyxfunc.C:
14008         * lyxvc.C:
14009         * paragraph.C:
14010         * text.C:
14011         * text2.C: remove #include "lyx_gui_misc.h".
14012
14013         * LaTeX.C: added #include <cstdio>
14014
14015 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14016
14017         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
14018         that the paragraph following this one can have.
14019
14020         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
14021
14022         * vspace.C (asLatexCommand): fix bogus gcc warning
14023
14024         * Makefile.am (lyx_SOURCES): remove vms_defines.h
14025
14026 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
14027
14028         * text2.C (setLayout): get rid of redundant code
14029
14030 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
14031
14032         * text2.C (incDepth): make sure depth cannot be increased beyond
14033         reasonable values.
14034
14035 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
14036
14037         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
14038         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
14039
14040         * PainterBase.h (image):
14041         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
14042         a LyXImage const *.
14043
14044 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
14045
14046         * BufferView.C:
14047         * BufferView.h:
14048         * BufferView_pimpl.C:
14049         * BufferView_pimpl.h:
14050         * LaTeXFeatures.C:
14051         * LyXAction.C:
14052         * LyXView.C:
14053         * Makefile.am:
14054         * UpdateList.h:
14055         * UpdateList.C:
14056         * buffer.C:
14057         * figure.h:
14058         * figureForm.C:
14059         * figureForm.h:
14060         * figure_form.C:
14061         * figure_form.h:
14062         * lyx_cb.C:
14063         * lyx_gui.C:
14064         * lyx_gui_misc.C:
14065         * lyxfunc.C:
14066         * sp_base.h:
14067         * sp_ispell.h:
14068         * sp_pspell.h:
14069         * sp_spell.C: remove fig inset, and the crap house of
14070           cards that follows it
14071
14072 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
14073
14074         * Makefile.am:
14075         * lyxserver.C:
14076         * os2_defines.h:
14077         * os2_errortable.h:
14078         * nt_defines.h: move .h into support/
14079
14080         * vms_defines.h: remove
14081
14082         * WorkArea.C: add space in debug output
14083
14084         * text2.C:
14085         * paragraph.C:
14086         * buffer.C: add WITH_WARNINGS
14087
14088         * vc-backend.h:
14089         * vc-backend.C:
14090         * bufferlist.C: s/retrive/retrieve/, add docs
14091
14092         * vspace.h:
14093         * vspace.C:
14094         * kbmap.h:
14095         * lyxlength.h:
14096         * lyxgluelength.h:
14097         * length_common.h:
14098         * chset.h:
14099         * chset.C: add docs
14100
14101         * lyxgui.C: add ID to X error handler
14102
14103         * lyxtestclass.c: fix typo
14104
14105 2002-02-26  Juergen Vigna  <jug@sad.it>
14106
14107         * tabular_funcs.C (write_attribute): changed so that some default
14108         attributes are not written at all.
14109         (getTokenValue): set default values before trying to read the
14110         value so we have the return value always set as default if we don't
14111         find the token we search for.
14112
14113         * tabular.C (Write): write bools as bools not as strings!
14114
14115 2002-02-22  Juergen Vigna  <jug@sad.it>
14116
14117         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
14118         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
14119
14120         * text.C (leftMargin): don't add an indent for paragraphs inside
14121         tabular cells (fix #208).
14122
14123 2002-02-21  José Matos  <jamatos@fep.up.pt>
14124
14125         * tabular.C (docBook): fixed support for long tables.
14126
14127 2002-02-20  Juergen Vigna  <jug@sad.it>
14128
14129         * text2.C (getFont): get the drawing font of the Inset if this
14130         paragraph is inside an inset (only important for InsetERT for now).
14131
14132         * buffer.C (insertErtContents): use new lanugage params in ERT
14133         constructor.
14134
14135         * CutAndPaste.C: commenting out seemingly uneeded code.
14136
14137 2002-02-19  Allan Rae  <rae@lyx.org>
14138
14139         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
14140         Iterators might be simple to use but they also get invalidated.
14141         (removeAutoInsets): renamed saved cursor tracking variables and added
14142         some comments to clarify what everything does.
14143
14144 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
14145
14146         * Chktex.C:
14147         * LaTeX.C:
14148         * LyXSendto.C:
14149         * converter.C:
14150         * lyx_cb.C:
14151         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
14152         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
14153
14154         * lyxfunc.C:
14155         * vc-backend.h: remove #include "support/syscall.h"
14156
14157         * LaTeX.C:
14158         * LyXSendto.C:
14159         * converter.C: rearrange #includes in Lars' approved fashion.
14160
14161         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
14162         forward declare class Timeout in the header file.
14163
14164         * XFormsView.C: changes due to the above.
14165
14166         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
14167         similar to LyXView.
14168
14169         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
14170         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
14171
14172 2002-02-18  José Matos  <jamatos@fep.up.pt>
14173
14174         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
14175         insets contents.
14176
14177 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14178
14179         * a lot of small ws changes
14180         * add a lot of using std::XXX
14181         * use std construcs some places where approp.
14182         * use some exisint stuff from lyxfunctional where approp.
14183         * Make file changes to use partial linking (lets test this now...)
14184
14185 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
14186
14187         * Chktex.C:
14188         * buffer.C:
14189         remove #include "support/syscontr.h" as it's redundant. Always has been.
14190
14191         * Chktex.C:
14192         * LaTeX.C:
14193         * LyXSendto.C:
14194         * converter.C:
14195         * lyx_cb.C:
14196         * vc-backend.C:
14197         change Systemcalls::System to Systemcalls::Wait and
14198         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
14199         No change of functionality, just reflects the stripped down Systemcalls
14200         class.
14201
14202 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
14203
14204         * debug.[Ch]: add a GRAPHICS type to the enum.
14205
14206 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14207
14208         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
14209
14210         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
14211         there is an inset.
14212
14213 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14214
14215         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
14216         match the changes below.
14217
14218         * text2.C (toggleInset): if there is not editable inset at cursor
14219         position, try to see if cursor is _inside_ a collapsable inset
14220         and close it.
14221
14222 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14223
14224         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
14225         document menu has a nice checkbox
14226
14227 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14228
14229         * lyxlength.C (asLatexString): change PW to output as percent of
14230         \textwidth.
14231
14232         * lengthcommon.C: change '%' to 't%'
14233
14234         * lyxfunc.C (dispatch): a few comments from Martin
14235
14236 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
14237
14238         * WorkArea.h:
14239         * WorkArea.C:
14240         * BufferView_pimpl.h:
14241         * BufferView_pimpl.C: clear our selection when X tells us we've lost
14242           the X selection.
14243
14244 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14245
14246         * vspace.C (inPixels): fix compiler warning
14247
14248 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14249
14250         * lyxfunc.C (getStatus): fix status message for disabled commands.
14251
14252 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
14253
14254         * BufferView_pimpl.C: fix crash on close buffer
14255         during selection (#227)
14256
14257 2002-01-27  Herbert Voss  <voss@lyx.org>
14258
14259         * buffer.C: link old Figure to new graphic inset
14260
14261 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14262
14263         * FontLoader.C (getFontinfo): Change the latex font names in order
14264         to match the names of type1inst.
14265
14266 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14267
14268         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
14269
14270         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
14271         (extchanged): ditto
14272         (ext_exist): ditto
14273         (remove_files_with_extension): ditto
14274         (remove_file): ditto
14275         (write): ditto
14276
14277         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
14278         document is smaller than the work area height. Do not initialize
14279         static variables to 0.
14280
14281 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14282
14283         * lyx_gui.C (init): give the toolbar tooltips a normal font.
14284
14285         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
14286         LFUN_LAYOUT_PARAGRAPHS.
14287
14288         * tabular.C (GetCellFromInset): new method. Finds an inset in a
14289         tabular. It is possible to provide a possible cell, which will
14290         typically be the actcell from the corresponding insettabular
14291
14292         * lyxfunc.C (getStatus): small cleanup; disable
14293         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
14294         true
14295
14296 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14297
14298         * tabular.C (Validate): remove broken optimization (fixes bug #201)
14299
14300         * paragraph.C (startTeXParParams):
14301         (endTeXParParams): new methods. The LaTeX code to
14302         start/end paragraph formatting
14303         (simpleTeXOnePar): call startTeXParParams also when paragraph is
14304         empty (fixes bug #200)
14305
14306         * vspace.C (inPixels): adapt to the change below
14307         (inPixels): [later] more cleanups (remove unused variables)
14308
14309         * lyxlength.C (inPixels): change to use a width and a height as
14310         parameter.
14311
14312 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14313
14314         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
14315         Replaced with \paperwidth
14316
14317         * DepTable.C (insert): add std:: qualifier
14318
14319 2002-01-18  Allan Rae  <rae@lyx.org>
14320
14321         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
14322         updated also?
14323
14324         * text.C (drawInset): Turned out I didn't know enough about how
14325         rebreaking worked.  This fixes most of the redraw problems.  I see
14326         an occasional cursor trail when a line is broken now and the cursor
14327         placement can seem out by a few pixels also after a rebreak.
14328
14329 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14330
14331         * buffer.C (parseSingleLyXformat2Token): update because minipage
14332         width is now a LyXLength
14333
14334         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
14335
14336         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
14337         math insets
14338
14339 2002-01-17  Juergen Vigna  <jug@sad.it>
14340
14341         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
14342
14343         * BufferView2.C (lockInset): call edit() so that theLockingInset()
14344         is set correctly and the inset is updated correctly.
14345
14346 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14347
14348         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
14349         the beginning of the loop.
14350
14351 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
14352
14353         * lyxrc.C: improve help for use_scalable_fonts
14354
14355 2002-01-17  Allan Rae  <rae@lyx.org>
14356
14357         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
14358
14359 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14360
14361         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
14362         make sure to set their inset_owner to the right value (bug #171)
14363
14364 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
14365
14366         * DepTable.h
14367         * DepTable.C: Implement mtime checking to reduce time spent doing
14368         CRCs.
14369
14370 2002-01-16  Juergen Vigna  <jug@sad.it>
14371
14372         * tabular.C (GetAdditionalHeight): one of error fixed.
14373
14374         * lyxrc.C (output): small fix in writing use_pspell.
14375
14376 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
14377
14378         * sp_base.h: #include LString.h
14379
14380 2002-01-16  Allan Rae  <rae@lyx.org>
14381
14382         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
14383         Can someone check this please?
14384
14385         * text.C (drawInset): It was possible that p.row would be removed by
14386         breakAgainOneRow upsetting a few other settings.  There may be another
14387         small tweak possible by setting need_break_row = 0 when p.row has been
14388         removed but I don't know enough about the logic here.
14389
14390 2002-01-15  Allan Rae  <rae@lyx.org>
14391
14392         * text.C (insertChar): removed conditional truism.
14393
14394         * BufferView2.C (removeAutoInsets): More tweaks.
14395         cur_par_prev could be a stray pointer.  Check for trailing empty line
14396         in case last line was cur_par and only had an error inset on it.
14397
14398 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14399
14400         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
14401         absolute
14402
14403         * vc-backend.C (most methods):
14404         * exporter.C (Export):
14405         * converter.C (convert):
14406         (runLaTeX):
14407         * LyXSendto.C (SendtoApplyCB):
14408         * lyxfunc.C (dispatch):
14409         (menuNew):
14410         (open):
14411         (doImport):
14412         * lyx_cb.C (AutoSave):
14413         (InsertAsciiFile):
14414         * BufferView_pimpl.C (MenuInsertLyXFile):
14415         * buffer.C (runChktex): use Buffer::filePath().
14416
14417         * buffer.h: rename filename to filename_; rename filepath to
14418         filepath_ and make it private
14419         (filePath): new method
14420
14421         * buffer.C (writeFile): use fileName()
14422         (getLatexName):
14423
14424         * lyx_main.C (init): fix starting  of LyX when the binary is a
14425         link from so,ewhere else.
14426
14427         * minibuffer.C: include <cctype> for isprint
14428
14429 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14430
14431         * buffer.C (parseSingleLyXformat2Token): changes associated with the
14432         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14433         name clash with InsetCollapsable's width function.
14434
14435 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14436
14437         * lastfiles.C: include <iterator>
14438
14439 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14440
14441         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14442         std::count.
14443
14444         * buffer.C (makeLaTeXFile): ditto.
14445         Also make loop operation more transparent.
14446
14447 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14448
14449         * ToolbarDefaults.C: remove trailing comma closing namespace.
14450
14451         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14452
14453         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14454         as in WorkArea.
14455
14456         * trans.C (Load): comment out unused variable, allowed.
14457
14458 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14459
14460         * minibuffer.[Ch] (append_char): new method to recieve input from the
14461         drop-down completion browser. If a key was pressed, then recieve this
14462         char and append it to the existing string.
14463         (peek_event): modify the positioning data passed to the completion
14464         browser so that it can be placed above the minibuffer rather than below.
14465 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14466
14467         * LyXAction.C (init): alloe error-next for readonly documents.
14468
14469         * BufferView2.C (ChangeRefsIfUnique): use standard version of
14470         count.
14471
14472 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14473
14474         * bufferlist.C (readFile): create the buffer _after_ checking that
14475         the file exists.
14476
14477         * lyxfunc.C (verboseDispatch): fix handling of arguments
14478
14479         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14480
14481         * lyxrc.C: use string::erase() instead of initializing to "".
14482
14483
14484 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14485
14486         * BufferView_pimpl.h:
14487         * BufferView_pimpl.C:
14488         * WorkArea.h:
14489         * WorkArea.C:
14490         * text2.C: tell X when we have made a selection for copying
14491
14492 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14493
14494         * BufferView_pimpl.C (MenuInsertLyXFile):
14495         * lyxfunc.C (menuNew):
14496         (open):
14497         (doImport): add shortcuts to directory buttons
14498
14499         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14500         open a float)
14501
14502         * lyxfunc.C (setStatusMessage):
14503         (getStatusMessage): new methods
14504         (getStatus):use setStatusMessage instead of setErrorMessage
14505         (dispatch): when function is disabled, set error message here
14506         [instead of in getStatus previously]
14507
14508         * BufferView_pimpl.C (workAreaButtonRelease): update
14509         toolbar/menubar here too.
14510
14511 2002-01-13  Allan Rae  <rae@lyx.org>
14512
14513         * BufferView2.C (removeAutoInsets): finished off earlier fix.
14514         Now seems indestructible.  Remaining task is to audit all other
14515         code affected by deleteEmptyParagraphMechanism.  One small quirk
14516         left is that an empty document with an error in the preamble can
14517         be made to report an error but no error box appears.  I don't know
14518         where it goes.
14519         (removeAutoInsets): Improved comments.
14520
14521 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
14522
14523         * Thesaurus.h:
14524         * Thesaurus.C: update for Aiksaurus 0.14
14525
14526 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14527
14528         * text2.C (firstParagraph): removed member function, all uses
14529         replaces with ownerParagraph
14530         (redoParagraphs): here
14531         (updateInset): here
14532         (toggleAppendix): here
14533         * BufferView2.C (insertErrors): here
14534         (setCursorFromRow): here
14535
14536 2002-01-13  Allan Rae  <rae@lyx.org>
14537
14538         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14539         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14540         There is still a way to segfault this although you may have to do this
14541         multiple times: Have an InsetERT with an unknown command in it.
14542         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14543         <down-arrow>, <Enter> again, View->DVI, BANG!
14544
14545         * text2.C (setCursor):
14546         (deleteEmptyParagraphMechanism):
14547         * lyxtext.h (setCursor):
14548         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14549         Making use of the return value may help fix other bugs.
14550
14551 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14552
14553         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14554
14555         * LyXView.C (updateMenubar): call MenuBar::update here
14556         (updateToolbar): but not here
14557         (showState): do not update toolbar/menubar
14558
14559         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14560         should need to care about that.
14561
14562         * lyxfunc.C (verboseDispatch): simplify a bit
14563         (getStatus): have a version which takes a pseudoaction, and
14564         another which requires a (kb_action,string).
14565
14566         * LyXAction.C (retrieveActionArg): make it work also when action
14567         is not a pseudo-action.
14568         (getActionName): simplify a bit
14569         (helpText):
14570
14571 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14572
14573         * lyxfunc.C (verboseDispatch): new families of methods with
14574         several ways to specify a command and a bool to indicate whether
14575         the command name and shortcut should be displayed in minibuffer
14576         (eventually, we could extend that to a finer bitmask like
14577         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14578         (dispatch): the pristine dispatch command which just, well,
14579         dispatchs! Note it still sets its result to minibuffer; I'm not
14580         sure we want that.
14581
14582         * lyxfunc.h: remove setHintMessage
14583
14584         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14585
14586 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14587
14588         * BufferView_pimpl.C (specialChar): delete new inset if we have
14589         not been able to insert it.
14590
14591         * kbmap.C: revert to using int instead of kb_action, since all we
14592         are dealing with is pseudo-actions.
14593
14594         * LyXAction.C (searchActionArg): change to return int instead of
14595         kb_action, since the result is a pseudoaction.
14596
14597 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
14598
14599         * buffer.C (insertErtContents): Fix (partially) the font bug.
14600
14601 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14602
14603         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14604         as the other one is broken on my machine!
14605
14606 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
14607
14608         * commandtags.h:
14609         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14610
14611 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
14612
14613         * lyxrc.[Ch]: change names and descriptions of popup font variables to
14614         reflect their actual use. Provide compatibility code for older lyxrc
14615         files.
14616
14617         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14618         FL_NORMAL_STYLE.
14619         change names of popup font variables in line with the changes to lyxrc.C
14620
14621 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14622
14623         * buffer.C (asciiParagraph): avoid outputing a word twice after
14624         an inset.
14625
14626         * lyxrc.C (getDescription): document that document_path and
14627         template_path can be empty.
14628
14629 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14630
14631         * LaTeXFeatures.C (getMacros):
14632         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14633
14634         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14635
14636         * LaTeXFeatures.C (useFloat): require "float" here instead of in
14637         getPackages.
14638         (getPackages): rename feature "floats" to "float". Use an array to
14639         iterate over 'simple' features (i.e. just a \usepackage). Add
14640         handling of "amsmath" (renamed from "amsstyle").
14641
14642 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
14643
14644         * LaTeXFeatures.C (require): Prevent duplicate entries in the
14645         features list.
14646
14647 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
14648
14649         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14650         FuncStaus::FuncStatus & FuncStaus::some_method().
14651
14652 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
14653
14654         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14655         of the func_satus stuff. Edited and massaged in various ways by
14656         JMarc.
14657
14658         * lyxfunc.C (getStatus): use FuncStatus
14659
14660 2002-01-08  Juergen Vigna  <jug@sad.it>
14661
14662         * text.C (nextBreakPoint): use function Inset::isChar().
14663
14664         * paragraph.C (TeXOnePar): use function
14665         Inset::forceDefaultParagraphs.
14666
14667         * buffer.C (latexParagraphs): use function
14668         Inset::forceDefaultParagraphs.
14669
14670 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14671
14672         * lyx_gui.C (init): set the style of the menu popups to
14673         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14674
14675 2002-01-07  Juergen Vigna  <jug@sad.it>
14676
14677         * text.C (setHeightOfRow): small fix
14678         (prepareToPrint): don't look at alignment if we don't have the place
14679         for doing it.
14680
14681 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14682
14683         * box.C: New file. Move the Box methods and functions out of box.h,
14684         following Lars' suggestion.
14685
14686 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14687
14688         * box.h: #include "support/LOstream.h", needed for inlined function.
14689
14690         * lyxtextclass.C:
14691         * lyxtextclasslist.C: added some using std declarations.
14692
14693 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
14694
14695         * box.h: make signed dimensions to allow insets wider than
14696           the screen (bug #162)
14697
14698         * BufferView_pimpl.C: add some insetHit debug
14699
14700 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
14701
14702         * vc-backend.C: add FIXME
14703
14704 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14705
14706         * lyxfunc.C (getStatus): enable code for showing math font status
14707         in toolbar/menu.
14708
14709 2002-01-07  Juergen Vigna  <jug@sad.it>
14710
14711         * text.C (nextBreakPoint): removed debug output not needed anymore.
14712
14713 2002-01-06  Juergen Vigna  <jug@sad.it>
14714
14715         * text.C (nextBreakPoint): fixed up this function we had this bug
14716         since ever but now hopefully we break row better.
14717         (insertChar): we have to check if an inset is the next char as it
14718         could now happen that a large inset is causing a break.
14719
14720 2002-01-05  Juergen Vigna  <jug@sad.it>
14721
14722         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14723         if it doesn't like to be drawed.
14724
14725 2002-01-04  Juergen Vigna  <jug@sad.it>
14726
14727         * BufferView2.C (lockInset): forgot to set a cursor.
14728
14729         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14730
14731 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
14732
14733         * FormMathsPanel.C:
14734         * FormMathsPanel.h
14735         * MathsSymbols.C:
14736         * form_maths_panel.C:
14737         * form_maths_panel.h:
14738         * form_maths_panel.fd: implemented sub- and super- buttons in math
14739         panel.
14740
14741         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14742         (or ^ space) to be used as in TeX (req'd by Andr�.
14743
14744         * lyxfunc.C: Allow ^ and _ again to be used both as
14745         super/subscript (mathed) and as themselves (in text).
14746
14747 2002-01-03  Allan Rae  <rae@lyx.org>
14748
14749         * LyXView.C (updateWindowTitle): Setup a short icon title of either
14750         "LyX" or the filename of the current buffer if it has one.  This is a
14751         modified form of John Levon's patch.
14752
14753         * XFormsView.C (setWindowTitle): also set icon title.
14754
14755         * LyXView.h (setWindowTitle): signature changed.
14756         * XFormsView.h (setWindowTitle): ditto.
14757
14758 2002-01-02  Juergen Vigna  <jug@sad.it>
14759
14760         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14761
14762 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14763
14764         * screen.C (topCursorVisible): introduce a temp var for
14765         text->cursor.row(), handle the case where this row is null. (kindo
14766         hachish)
14767
14768         * text2.C (setCursor): add a couple of asserts.
14769
14770         * paragraph.h (inset_iterator): add -> operator
14771
14772         * paragraph.[Ch] (autoDeleteInsets): remove member function
14773
14774         * BufferView2.C (removeAutoInsets): rewrite to handle the old
14775         cursor pos correctly and handle inset deletion by itself.
14776         (insertErrors): move iterator declaration out of for expression
14777
14778         * lyxtextclass.C: add <algorithm>
14779
14780         * Makefile.am: added the new files to sources, removed layout.C
14781
14782         * layout.C: removed file
14783
14784         * layout.h: remove LYX_DUMMY_LAYOUT
14785
14786         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14787         layout.
14788
14789         * lyxlayout.[Ch]:
14790         * lyxtextclass.[Ch]:
14791         * lyxtextclasslist.[Ch]: new files
14792
14793         * include order changes to a lot of files, also changes because of
14794         the six new files.
14795
14796 2001-12-27  Juergen Vigna  <jug@sad.it>
14797
14798         * buffer.C (asciiParagraph): more fixes.
14799
14800         * tabular.C (ascii): make ascii export support export of only the
14801         data separated by a column-delimiter.
14802         (ascii): better support for ascii export.
14803
14804         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14805
14806 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14807
14808         * tabular_funcs.C: use a "using std::getline" instead of the
14809         previous fix from Angus (necessary for cxx + lyxstring)
14810
14811 2001-12-24  Juergen Vigna  <jug@sad.it>
14812
14813         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14814
14815         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14816         problems. First check a minipage also if we have some ert-contents
14817         (not only on par->size(), second set the right depth of the paragraph
14818         on the relink to the root-paragraph-list!
14819
14820         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14821         which then did not anymore update the main paragraphs on undo/redo!
14822
14823 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14824
14825         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14826         code. Support all font-changing funcs (even those which are not in
14827         menu currently). Support for reporting font settings in
14828         mathed (disabled until Andre provides a function on mathed's side).
14829
14830         * func_status.h (toggle): small helper function to set toggle
14831         state on a flag.
14832
14833 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
14834
14835         * tabular_funcs.C: getline -> std::getline
14836
14837 2001-12-21  Juergen Vigna  <jug@sad.it>
14838
14839         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14840         accessed and could be 0 (I couldn't generate this but it seems
14841         Michael could!).
14842
14843 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14844
14845         * tabular_funcs.C: add LIstream.h, move write_attribute to..
14846         * tabular_funcs.h: here and include iosfwd
14847
14848 2001-12-20  Juergen Vigna  <jug@sad.it>
14849
14850         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14851         inside inset but undo_par was.
14852
14853 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14854
14855         * Thesaurus.C: always include <config.h> in sources.
14856
14857         * Painter.h:
14858         * lyxlookup.h:
14859         * box.h: do not include <config.h> in header files
14860
14861         * text.C (paintLastRow): remove unused variable
14862
14863         * text.C (transformChar):
14864         (insertChar):
14865         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14866
14867         * Painter.C (text):
14868         * font.C (width): rewrite to use uppercase() instead of
14869         islower/toupper.
14870
14871         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14872
14873 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
14874
14875         * lyxfind.C: clean up of find failure position change
14876
14877 2001-12-20  Juergen Vigna  <jug@sad.it>
14878
14879         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14880
14881         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14882         (TeXRow): added to LaTeX a single tabular row.
14883         (TeXLongtableHeaderFooter): added to output LT-h/f data.
14884         (Latex): simplified and finally good LT-h/f support.
14885         (various_functions): just small adaptions for LT-h/f support.
14886
14887         * tabular_funcs.[hC]: added and moved here all not classfunctions
14888         of LyXTabular.
14889
14890 2001-12-19  Juergen Vigna  <jug@sad.it>
14891
14892         * tabular.[Ch]: better support for longtabular options (not finished
14893         yet!)
14894
14895 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14896
14897         * text.C (paintLastRow): use the label font instead of the font of
14898         the last character to compute the size of *_BOX. This makes more
14899         sense and avoids a crash with empty paragraphs.
14900         Use Painter::rectangle to draw EMPTY_BOX.
14901
14902 2001-12-19  Juergen Vigna  <jug@sad.it>
14903
14904         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14905         the paragraphs if the replaced paragraph is not the first one!
14906         Tried to delete not used paragraphs but does not work yet so for
14907         now it's inside #ifdef's and by default off!
14908
14909 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14910
14911         * MenuBackend.C: include "lyx_main.h" instead of declaring
14912         lastfiles (actually was declared as LastFiles* instead of a
14913         scoped_ptr).
14914
14915 2001-12-17  Juergen Vigna  <jug@sad.it>
14916
14917         * tabular.C (AppendColumn): applied John's fix
14918
14919 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
14920
14921         * BufferView.h:
14922         * BufferView.C:
14923         * BufferView_pimpl.h:
14924         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14925
14926         * Makefile.am:
14927         * box.h: new start of class for above
14928
14929         * lyxfunc.C: ignore space-only minibuffer dispatches.
14930           Show the command name when it doesn't exist
14931
14932         * minibuffer.C: don't add empty lines to the history
14933
14934         * minibuffer.C: add a space on dropdown completion
14935
14936 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
14937
14938         * text.C: fix line above/below drawing in insets
14939
14940 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14941
14942         * lyxlength.C (LyXLength): Initialize private variables.
14943
14944 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
14945
14946         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14947         when inserting error insets.
14948
14949 2001-12-13  Juergen Vigna  <jug@sad.it>
14950
14951         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14952         actually sometimes the before-paragraph.
14953         (setUndo): don't clear the redostack if we're not actually undoing!
14954
14955 2001-12-06  Juergen Vigna  <jug@sad.it>
14956
14957         * undo_funcs.C (textHandleUndo): well after John's hint I got here
14958         and fixed redoing of main paragraph, so we can use it now ;)
14959
14960         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14961
14962 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14963
14964         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14965         Juergen's request
14966
14967 2001-12-13  André Pönitz <poenitz@gmx.net>
14968
14969         * undostack.[Ch]:
14970         * undo_func.C: minor cleanup
14971
14972 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14973
14974         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14975         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14976         font in urw-fonts package which is marked as -urw-fontspecific and
14977         does not work (incidentally, changing the encoding in the
14978         fonts.dir of this package to -adobe-fontspecific fixes the
14979         problem).
14980
14981         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14982         is a crash when undoing first paragraph (Juergen, please take a
14983         look). THis does not mean the undo fix is wrong, just that it
14984         uncovers problems.
14985
14986         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14987         the (Paragraph*) version when needed instead of duplicating the
14988         code.
14989
14990         * text.C (workWidth): use Inset::parOwner to find out where the
14991         inset has been inserted. This is a huge performance gain for large
14992         documents with lots of insets. If Inset::parOwner is not set, fall
14993         back on the brute force method
14994
14995         * paragraph_pimpl.C (insertInset):
14996         * paragraph.C (Paragraph):
14997         (cutIntoMinibuffer): set parOwner of insets when
14998         inserting/removing them
14999
15000         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
15001
15002 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
15003
15004         * commandtags.h:
15005         * LyXAction.C:
15006         * lyx_main.C:
15007         * lyxfunc.C:
15008         * mathed/formulabase.C:
15009         * mathed/math_cursor.[Ch]:
15010         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
15011
15012
15013 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15014
15015         * lyxlength.[Ch] (operator!=): new function
15016
15017 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
15018
15019         * text.C (workWidth): use Inset::parOwner to find out where the
15020         inset has been inserted. This is a huge performance gain for large
15021         documents with lots of insets. If Inset::parOwner is not set, fall
15022         back on the brute force method
15023
15024         * paragraph_pimpl.C (insertInset):
15025         * paragraph.C (Paragraph):
15026         (cutIntoMinibuffer): set parOwner of insets when
15027         inserting/removing them
15028
15029         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
15030
15031 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
15032
15033         * tabular-old.C (getTokenValue):
15034         * tabular.C (getTokenValue):
15035         (write_attribute): new versions for LyXLength
15036         (everywhere): adjust the use of widths
15037
15038         * tabular.h: change the type of widths from string to LyXLength
15039
15040 2001-12-11  Ben Stanley <bds02@uow.edu.au>
15041
15042         * paragraph.C: fixed missing line number count when exporting
15043         Environments to LaTeX file
15044
15045         * buffer.C: added informational message for checking line numbers.
15046
15047 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
15048
15049         * text2.C (deleteEmptyParagraphMechanism): if there is only one
15050         paragraph, do the 'double space' part, but not the 'empty
15051         paragraph' one.
15052
15053         * text.C (workWidth): small optimization
15054         (getLengthMarkerHeight): use minimal size for negative lengths.
15055
15056 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
15057
15058         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
15059
15060         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
15061
15062 2001-12-11  André Pönitz <poenitz@gmx.net>
15063
15064         * FontLoader.C:
15065         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
15066
15067 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
15068
15069         * text2.C: keep selection on a setFont()
15070
15071 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
15072
15073         * lyx_cb.C: another bv->text misuse, from insert label
15074
15075 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
15076
15077         * kbsequence.h:
15078         * kbsequence.C: re-instate nmodifier mask
15079
15080 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
15081
15082         * lyx_main.h: make lyxGUI private.
15083
15084 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
15085
15086         * lyxfind.C: place the cursor correctly on failed search
15087
15088 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
15089
15090         * text.C (getLengthMarkerHeight): for small heights, the arrows
15091         are not always on top/bottom of the text
15092         (drawLengthMarker): smaller arrows; take the left margin in
15093         account; draw also vfills.
15094         (paintFirstRow):
15095         (paintLastRow): remove special code for vfill and standard spaces,
15096         since everything is handled in drawLengthMarker now.
15097
15098 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15099
15100         * buffer.C (insertErtContents): try to handle font and language
15101         interaction a bit better.g
15102
15103         * ColorHandler.C (updateColor): change the hash to cover the whole
15104         LColor enum, ws cleanup
15105         (getGCLinepars): ditto
15106         (getGCLinepars): only lookup in the linecache once.
15107
15108 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
15109
15110         * iterators.C (operator++): Make the iterator more robust
15111
15112         * BufferView2.C (removeAutoInsets): Use paragraph iterators
15113         (John's patch)
15114         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
15115
15116 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15117
15118         * lyxtext.h:
15119         * text.C: better added space drawing
15120
15121 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15122
15123         * LyXView.C:
15124         * BufferView2.C: fix layout combo update on inset unlock
15125
15126 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15127
15128         * Makefile.am: don't compile unused files
15129
15130 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15131
15132         * lyxfunc.C:
15133         * commandtags.h:
15134         * LyXAction.C: remove old LFUN_LAYOUTNO
15135
15136 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15137
15138         * paragraph_pimpl.h:
15139         * paragraph_pimpl.C: isTextAt() doesn't need font param
15140
15141 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15142
15143         * lyxlex.h:
15144         * lyxlex.C: little cleanup
15145
15146 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15147
15148         * BufferView_pimpl.C: fix insertAscii for insets
15149
15150 2001-12-05  Juergen Vigna  <jug@sad.it>
15151
15152         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
15153         set the right font on the "multi" paragraph paste!
15154
15155 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15156
15157         * trans_decl.h:
15158         * trans_mgr.[Ch]:
15159         * trans.[Ch]:
15160         * lyxgluelength.C:
15161         * lyxlength.C: remove out-commented code.
15162
15163         * BufferView_pimpl:
15164         * CutAndPaste.C:
15165         * DepTable.C:
15166         * buffer.C:
15167         * chset.C:
15168         * lastfiles.C:
15169         * lyxlex.C:
15170         * lyxlex_pimpl.C:
15171         * lyxserver.C:
15172         * screen.C:
15173         * tabular-old.C:
15174         * tabular.C:
15175         * text.C:
15176         * trans_mgr.C:
15177         * vc-backend.C: change "while(" to "while ("
15178
15179         * lyxlength.[Ch]: add zero function to check if length is zero or
15180         not
15181         * lyxgluelength.C: use it
15182
15183 2001-12-05  Allan Rae  <rae@lyx.org>
15184
15185         * lyxlength.C: Attempted a fix for the abs(int) header selection.
15186         Works for 2.95.3, from what I understand of Garst's reports this should
15187         work for other g++ versions.  We're screwed if the abs(int) definition
15188         changed between bugfix releases of gcc.
15189
15190 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
15191
15192         * text.C: fix chapter label offset !
15193
15194 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
15195
15196         * lyxtext.h:
15197         * text.C: fix hfill at end of line, clean up
15198
15199 2001-12-04  Juergen Vigna  <jug@sad.it>
15200
15201         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
15202         that we force an update of the inset and it's owners if neccessary.
15203
15204 2001-12-03  Juergen Vigna  <jug@sad.it>
15205
15206         * text.C (rowLast): simplified code
15207
15208 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
15209
15210         * lyxfunc.C: fix show options on timeout
15211
15212 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15213
15214         * screen.C (topCursorVisible): scroll half a page when the cursor
15215         reached top of bottom of screen
15216
15217 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
15218
15219         * minibuffer.C: deactivate on loss of focus
15220
15221 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15222
15223         * vspace.[Ch] (operator!=): add operator.
15224
15225 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
15226
15227         * BufferView_pimpl.C: refuse to open an inset when
15228         there's a selection.
15229
15230 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
15231
15232         * BufferView_pimpl.C: allow to click on RHS of full row insets
15233
15234 2001-11-30  Juergen Vigna  <jug@sad.it>
15235
15236         * tabular.C (LyXTabular): add a same_id to set the same id's in the
15237         insets for undo reasons.
15238
15239 2001-11-28  André Pönitz <poenitz@gmx.net>
15240
15241         * vspace.[Ch]: cosmetical changes
15242
15243 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15244
15245         * LyXAction.h:
15246         * LyXAction.C:
15247         * lyxfunc.h:
15248         * lyxfunc.C:
15249         * kbmap.h:
15250         * kbmap.C:
15251         * lyxrc.C:
15252         * kbsequence.h:
15253         * kbsequence.C: part re-write of old kb code
15254
15255         * Painter.C:
15256         * WorkArea.C: remove Lgb_bug_find_hack
15257
15258 2001-11-30  José Matos <jamatos@fep.up.pt>
15259
15260         * buffer.C (makeDocBookFile): add a comment to point a hack.
15261         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
15262         Fixed a double write of labels.
15263
15264 2001-11-29 Ben Stanley <bds02@uow.edu.au>
15265
15266         * LaTeX.C:
15267         * LaTeX.h Fixed bug in LaTeX class where it would not
15268         re-run latex if no depfiles were changed, but the .dvi was removed.
15269
15270 2001-11-28  André Pönitz <poenitz@gmx.net>
15271
15272         * all the files from the change on 2001/11/26:
15273         use lyx::layout_type instead of LyXTextClass::size_type
15274         use lyx::textclass_type instead of LyXTextClassList::size_type
15275
15276 2001-11-29  Juergen Vigna  <jug@sad.it>
15277
15278         * text.C: added support for paragraph::isFreeSpacing()
15279
15280         * buffer.C: same as above
15281
15282         * paragraph.h: inserted isFreeSpacing() function to enable
15283         FreeSpacing inside InsetERT.
15284
15285         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
15286         of the paragraph's in the cut/copy buffer to 0!
15287
15288         * text2.C (removeRow): remove the assert as it can!
15289
15290         * lyxtext.h: added helper function firstRow returning firstrow and
15291         made firstrow private again.
15292
15293         * BufferView2.C (lockInset): don't relock if we're already locked!
15294
15295         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
15296         the only paragraph.
15297         (removeRow): added Assert::(firstrow)
15298
15299         * debug.C: forgot to add INSETTEXT here.
15300
15301 2001-11-28  Juergen Vigna  <jug@sad.it>
15302
15303         * sp_spell.C (initialize): changed error text to more general
15304         spellchecker command use (not only ispell!)
15305
15306         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
15307
15308         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
15309
15310 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15311
15312         * vspace.C: initialise lyxgluelength on failure
15313
15314 2001-11-28  Allan Rae  <rae@lyx.org>
15315
15316         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
15317         declaration & definition that looks like a function declaration.
15318
15319 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15320
15321         * BufferView2.C (copy):
15322         (copyEnvironment): do not clear the selection when doing a copy.
15323
15324         * text.C (paintFirstRow): compilation fix
15325
15326 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
15327
15328         * tabular.C (Latex): correct line count when writing latex.
15329
15330 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
15331
15332         * paragraph_pimpl.h:
15333         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
15334           bug a bit
15335
15336 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15337
15338         * text.C:
15339         * LColor.h:
15340         * LColor.C: change vfillline->added_space
15341
15342         * text.C: add markers and text for added space
15343
15344         * vspace.C: fix comment
15345
15346 2001-11-28  André Pönitz <poenitz@gmx.net>
15347
15348         * paragraph.C: whitespace changes
15349         * all the other files from the change on 2001/11/26:
15350         change *::pos_type into lyx::pos_type
15351
15352 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
15353
15354         * buffer.C (parseSingleLyXformat2Token): Set the language to the
15355         language of the document when inserting error insets.
15356
15357 2001-11-26  André Pönitz <poenitz@gmx.net>
15358
15359         * BufferView_pimpl.[Ch]:
15360         *       CutAndPaste.C:
15361         * buffer.[Ch]:
15362         * lyxcursor.[Ch]:
15363         * lyxfind.C:
15364         * lyxfunc.C:
15365         * lyxrow.[Ch]:
15366         * paragraph.[Ch]:
15367         * paragraph_pimpl.[Ch]:
15368         * sp_spell.C:
15369         * text.C:
15370         * text2.C: reduce header dependencies, introduce type for positions
15371
15372 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15373
15374         * <various>: change to use Alert.h
15375
15376 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
15377
15378         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
15379         when encountering an unknown token.
15380         (readLyXformat2): Show an error message if there were unknown tokens.
15381
15382 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
15383
15384         * BufferView2.C:
15385         * BufferView_pimpl.C:
15386         * buffer.C:
15387         * paragraph.h:
15388         * text.C:
15389         * text2.C: use par->isInset()
15390
15391 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15392
15393         * paragraph_pimpl.h:
15394         * paragraph_pimpl.C: cleanup
15395
15396 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15397
15398         * text2.C (removeRow):
15399         * text.C (setHeightOfRow): remove useless (and costly) call to
15400         getRow.
15401
15402 2001-11-20  Allan Rae  <rae@lyx.org>
15403
15404         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
15405         Now need Inset*::checkInsertChar() to return true for appropriate
15406         cases so that the characters in the minibuffer will actually be
15407         inserted.
15408
15409 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15410
15411         * text.C: change the order of the includes.
15412         (workWidth): initialize it at once.
15413         (workWidth): make maxw unsigned
15414         (setHeightOfRow): remove unused variable (inset)
15415         (selectSelectedWord): remove unused variable (inset)
15416         (paintRowText): fix drawing of hfill characters, and clean up a bit.
15417
15418 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15419
15420         * lyxserver.C (emergencyCleanup): do not try to close pipes if
15421         server is not running.
15422         (openConnection):
15423         (closeConnection): add debug info when server is disabled.
15424
15425         * ColorHandler.C (getGCForeground): send debug message to GUI
15426         channel.
15427
15428         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15429
15430         * kbmap.C (bind): modify because return conventions of
15431         kb_sequence::parse have changed.
15432
15433         * kbsequence.C (parse): only ignore spaces and not any stupid
15434         control character. This avoids tests like s[i] <= ' ', which are
15435         guaranteed to fail with 8bit characters and signed chars.
15436         Change return code to string::npos when there have been no error
15437         (0 was a bad idea when error is at first character)
15438
15439 2001-11-14  José Matos  <jamatos@fep.up.pt>
15440
15441         * buffer.h:
15442         * buffer.C (simpleDocBookOnePar): removed unused argument.
15443
15444 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15445
15446         * text.C (selectNextWordToSpellcheck): do not test explicitely for
15447         insets which are part of a word. Paragraph::isLetter takes care of
15448         that now. Use Paragraph::isInset to identify insets.
15449         (selectSelectedWord): do not test for hyphenation break.
15450
15451         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15452         that protected spaces are considered as spaces.
15453
15454         * paragraph.C (isLetter): cleanup the code for ispell extras; use
15455         Inset::isLetter.
15456
15457 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
15458
15459         * lyxserver.h:
15460         * lyxserver.C: fix it. and small cleanup.
15461
15462 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15463
15464         * BufferView_pimpl.C: use inline helpers
15465
15466         * LaTeXFeatures.h:
15467         * LaTeXFeatures.C: fix typos
15468
15469         * Spacing.h:
15470         * Spacing.C: move spacing_string into class
15471
15472         * ToolbarDefaults.C: move stuff into namespace anon
15473
15474         * layout.h: update enum
15475
15476         * lyxfunc.C: use better debug
15477
15478         * minibuffer.h: fix typo
15479
15480         * debug.h:
15481         * debug.C:
15482         * WorkArea.C: add and use Debug::WORKAREA
15483
15484         * lyxtext.h:
15485         * text.C:
15486         * text2.C: code re-organisation, inline helpers
15487
15488 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
15489
15490         * Layout.C: replaced a few cases of std::vector.size() == 0 with
15491         std::vector.empty().
15492
15493 2001-11-09  Allan Rae  <rae@lyx.org>
15494
15495         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15496         '\n's after tables.  Tabular and ERT inset work now makes this no
15497         longer necessary.
15498
15499 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15500
15501         * minibuffer.h:
15502         * minibuffer.C: fix crash, improve drop-down completion
15503
15504 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
15505
15506         * lyxserver.h:
15507         * lyxserver.C: invalidate fd's when doing endPipe()
15508
15509 2001-11-08  José Matos  <jamatos@fep.up.pt>
15510
15511         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15512         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15513
15514         * paragraph.h:
15515         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15516
15517 2001-11-07  José Matos  <jamatos@fep.up.pt>
15518
15519         * buffer.h:
15520         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15521         const qualifier.
15522
15523         * buffer.C (sgmlOpenTag):
15524         * buffer.C (sgmlCloseTag): removed debug info.
15525
15526         * buffer.h (sgmlOpenTag):
15527         * buffer.h (sgmlCloseTag): made public.
15528
15529 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15530
15531         * buffer.C (saveParamsAsDefaults):
15532         * lyx_cb.C (MenuLayoutSave): remove
15533
15534         * LyXAction.C (init):
15535         * commandtags.h:
15536         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15537
15538 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15539
15540         * buffer.C (setPaperStuff): removed from here...
15541
15542         * bufferparams.C (setPaperStuff): ... and moved there.
15543
15544 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
15545
15546         * minibuffer.h:
15547         * minibuffer.C:
15548         * XFormsView.C: add support for drop-down completion
15549
15550 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
15551
15552         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15553         commands.
15554
15555 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15556
15557         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15558         disabled.
15559
15560 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
15561
15562         * lyx_main.C: change ref to known bugs
15563
15564 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
15565
15566         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15567         to work around older babel problems.
15568
15569 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15570
15571         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15572
15573 2001-10-24  Juergen Vigna  <jug@sad.it>
15574
15575         * tabular-old.C (ReadOld): below variable changes reflected.
15576
15577         * tabular.[Ch]: added ltType struct for longtable header/footer
15578         defines and changed all instances where they are used. Added
15579         future support for double top/bottom rows.
15580
15581 2001-10-24  José Matos  <jamatos@fep.up.pt>
15582
15583         * buffer.h (docbookHandleCaption):
15584         * buffer.C (docbookHandleCaption): removed unused function.
15585         (makeDocBookFile): moved docbook supported version to v4.1.
15586
15587 2001-10-24  José Matos  <jamatos@fep.up.pt>
15588
15589         * tabular.h:
15590         * tabular.C (docbookRow): new function to export docbook code of a row.
15591         (DocBook): now honors the longtable flags.
15592
15593 2001-10-23  José Matos  <jamatos@fep.up.pt>
15594
15595         * LaTeXFeatures.h:
15596         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15597         of the lyx defined sgml entities used in a docbook/linuxdoc document.
15598
15599         * buffer.C (makeLinuxDocFile):
15600         (makeDocBookFile): reworked the preamble, more clean, and with
15601         support for lyx defined entities. Changed the document declaration
15602         to be more XML friendly.
15603
15604         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15605         if we need to output XML that should be done with a filter.
15606
15607 2001-10-22  Juergen Vigna  <jug@sad.it>
15608
15609         * sp_pspell.h (class PSpell): add alive function needed in the
15610         controller to see if the spellchecker could be started.
15611
15612 2001-10-22  Juergen Vigna  <jug@sad.it>
15613
15614         * buffer.C (insertStringAsLines): modify the font for inserting
15615         chars in certain conditions by calling checkInsertChar(font).
15616
15617 2001-10-19  Juergen Vigna  <jug@sad.it>
15618
15619         * text.C (workWidth): use getRow instead of wrong algorithm.
15620         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15621
15622 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
15623
15624         * lyxserver.h:
15625         * lyxserver.C:
15626         * lyx_main.h:
15627         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15628
15629 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15630
15631         * text.C (workWidth): do not search for the exact row when
15632         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15633         optimization for big documents.
15634
15635 2001-10-18  Juergen Vigna  <jug@sad.it>
15636
15637         * text.C (workWidth): new function with added Inset * parameter.
15638
15639 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15640
15641         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15642
15643         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15644         change return type of getColumnNearX.
15645
15646
15647         * text.C (changeRegionCase): use uppercase/lowercase instead of
15648         toupper/tolower.
15649         (leftMargin):
15650         (rightMargin): simplify code by factoring out the uses of
15651         textclasslist.
15652         (labelFill):
15653         (numberOfHfills):
15654         (setHeightOfRow):
15655         (appendParagraph): use Paragraph::size_type
15656
15657 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15658
15659         * vspace.C (asLatexString): add a missing break
15660
15661 2001-10-15  Herbert Voss  <voss@perce.de>
15662
15663         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15664
15665 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15666
15667         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15668         is not available.
15669
15670 2001-10-10  André Pönitz <poenitz@gmx.net>
15671
15672         * lyxfunc.C: removed greek_kb_flag.
15673
15674 2001-10-10  Herbert Voss  <voss@perce.de>
15675
15676         * lyx_main.C: delete global string help_lyxdir.
15677
15678 2001-10-09  Herbert Voss  <voss@perce.de>
15679
15680         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15681
15682         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15683
15684         * lyx_main.C: added global string help_lyxdir.
15685
15686         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15687
15688 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15689
15690         * lyxrc.C (set_font_norm_type): support iso8859-4
15691
15692 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
15693
15694         * LaTeX.C (deplog): add another regex for MikTeX
15695
15696 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15697
15698         * lyxrc.C (set_font_norm_type): support iso8859-3
15699
15700 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15701
15702         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15703
15704         * LaTeXFeatures.C: remove special case of french and index
15705
15706         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15707         before \begin{document}). This solves several incompatibilities.
15708
15709 2001-10-03  Garst Reese  <reese@isn.net>
15710
15711         * lyx_cb.C: change CheckTex error msg.
15712
15713 2001-10-03  José Matos  <jamatos@fep.up.pt>
15714
15715         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15716
15717 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15718
15719         * .cvsignore: update
15720
15721         * lyx_main.C (commandLineVersionInfo): use new style version info.
15722
15723         * buffer.C (writeFile):
15724         (makeLaTeXFile):
15725         (makeLinuxDocFile):
15726         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15727
15728         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15729
15730         * version.h: update to use stuff in version.C
15731
15732         * version.C.in: new file. Contains version information determined
15733         at compile time. This is a merging of version.h and
15734         version_info.h.in.
15735
15736 2001-10-03  Juergen Vigna  <jug@sad.it>
15737
15738         * BufferView_pimpl.C (update): don't change "dirty" status in
15739         updateInset call.
15740
15741 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
15742
15743         * WorkArea.C (c-tor): re-position version string slightly.
15744
15745 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
15746
15747         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15748         revert to previous code.
15749
15750         WorkArea.[Ch]: (show, destroySplash): methods removed.
15751
15752         WorkArea.C: rework code so that it's an amalgam of the codes before and
15753         after the splash screen was moved to WorkArea.
15754
15755 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15756
15757         * lyxrc.C (read):
15758         * vspace.C (inPixels):
15759         (lyx_advance):
15760         * kbmap.C (bind):
15761         * buffer.C (insertStringAsLines):
15762         (asciiParagraph): fix types to be large enough
15763
15764         * lyxlex_pimpl.h: change member status from short to int
15765
15766         * layout.h: fix type of endlabeltype
15767
15768         * kbmap.C (bind):
15769         * kbsequence.C (parse): change return type to string::size_type
15770
15771         * LaTeX.C (updateBibtexDependencies): comment out unneeded
15772         variable
15773
15774         * Bullet.C (bulletSize):
15775         (bulletEntry): do not use short ints as parameters
15776
15777         * BufferView2.C (insertLyXFile): change a char to an int.
15778
15779         * WorkArea.C (WorkArea): remove unneeded floats in computation
15780
15781 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
15782
15783         * buffer.C (asciiParagraph): Treat '\\' as other chars.
15784
15785         * paragraph.C (asString): Do not ignore newline/hfill chars when
15786         copying to the clipboard.
15787
15788 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
15789
15790         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15791         after a multi-line inset.
15792
15793 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
15794
15795         * paragraph.C (validate): Set NeedLyXFootnoteCode
15796
15797 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15798
15799         * lyxfont.C (LyXSizeNames): changed increase-error to increase
15800         and decrease-error to decrease.
15801
15802 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15803
15804         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15805         it more readable (should be equivalent)
15806
15807 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15808
15809         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15810
15811 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15812
15813         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15814         of a cursor (row, etc.) after a character has been deleted
15815         (deleteEmptyParagraphMechanism): call the method above on _all_
15816         cursors held by the LyXText when a double space has been
15817         detected/deleted.
15818
15819 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15820
15821         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15822         pixmap.
15823         (resizeCurrentBuff): remove code to destroy the old splash dialog.
15824
15825         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15826         background. Use greyOut() and the new show() methods to toggle between
15827         the foreground and background. Add code to remove the splash after
15828         its initial showing.
15829
15830         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15831         (create_forms): no longer call Dialogs::showSplash.
15832
15833 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15834
15835         * .cvsignore: add version_info.h
15836
15837 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15838
15839         * version_info.h.in: new file
15840
15841         * Makefile.am: add version_info.h.in
15842
15843         * lyx_main.C (commandLineVersionInfo): use version_info defined in
15844         version_info.h instead of VERSION_INFO
15845
15846 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
15847
15848         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15849         The ERT inset now returns string().
15850
15851 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
15852
15853         * lyxtext.h, text.C (selectNextWord): renamed as
15854         selectNextWordToSpellcheck.
15855
15856         * text.C (selectNextWordToSpellcheck): Modified to not select
15857         words inside an ERT inset.
15858
15859 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15860
15861         * lyx_cb.C (MenuLayoutSave): change a bit the question
15862
15863         * sp_base.h: include <sys/types.h>
15864
15865 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
15866
15867         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15868
15869 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
15870
15871         * several files: fix typos in user-visible strings
15872
15873 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15874
15875         * text2.C (pasteSelection): do not set the selection, since it
15876         will be cleared later. Actually, the intent was to fix the way the
15877         selection was set, but I figured rmoving the code was just as good.
15878
15879 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
15880
15881         * FontLoader.C (available): Check if font is available without
15882         loading the font.
15883
15884 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
15885
15886         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15887
15888 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
15889
15890         * lyxrc.[Ch]: added display_graphics variable and associated code.
15891
15892 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15893
15894         * bufferparams.C (hasClassDefaults): new method. Returns true if
15895         the buffer parameters correspond to known class defaults
15896
15897 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
15898
15899         * XFormsView.C (show): set minimum size to the main window.
15900
15901 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15902
15903         * text2.C (copySelection):
15904         (cutSelection):
15905         * lyxfind.C (LyXReplace):
15906         * BufferView_pimpl.C (Dispatch): pass the correct flag to
15907         LyXText::selectionAsString.
15908
15909         * paragraph.C (asString): add "label" argument to the second form
15910
15911         * text2.C (selectionAsString): add "label" argument and pass it to
15912         Paragraph::asString.
15913
15914 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15915
15916         * lyx_main.C (commandLineHelp): remove version information
15917
15918 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
15919
15920         * lyx_main.C: add -version commandline option
15921
15922 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15923
15924         * paragraph.h: make the optional constructor arg required instead.
15925         some modifications to other files because of this.
15926
15927         * minibuffer.C (C_MiniBuffer_peek_event): make it static
15928
15929         * lyxserver.C (C_LyXComm_callback): make it static
15930
15931         * lyx_main.C (error_handler): make it static
15932
15933         * lyx_gui.C (LyX_XErrHandler): make it static
15934
15935         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15936
15937         * WorkArea.C: make the extern "C" methods static.
15938
15939         * Makefile.am (lyx_LDADD): simplify
15940
15941 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15942
15943         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15944         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15945
15946         * LyXAction.C (init):
15947         * lyxfunc.C (dispatch): associated code removal.
15948
15949 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15950
15951         * lyxfont.h (isSymbolFont): shut off warning
15952
15953         * text.C (setHeightOfRow):
15954         (getVisibleRow): fix crash with empty paragraphs which have a
15955         bottom line
15956
15957 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
15958
15959         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15960         code.
15961
15962 2001-09-04  José Matos  <jamatos@fep.up.pt>
15963         * buffer.C
15964         * buffer.h
15965         * tabular.C (docbook): rename docBook method to docbook.
15966
15967 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15968
15969         * Makefile.am: add dependencies to main.o.
15970
15971 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
15972
15973         * FontLoader.C (available): Return false if !lyxrc.use_gui
15974
15975 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
15976
15977         * FontInfo.C (query):
15978         * converter.C (view):
15979         * importer.C (Import):
15980         * exporter.C (Export): Can not -> cannot.
15981
15982 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
15983
15984         * BufferView_pimpl.C: allow to create index inset even if
15985           string is empty
15986
15987 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15988
15989         * buffer.C (getLists): replace boost::tie code with an explicit pair
15990         as boost::tie can break some compilers.
15991
15992         * iterators.h: Added a std:: declaration to the return type of
15993         ParIterator::size.
15994
15995 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
15996
15997         * lyxrc.C: add help for view_dvi_paper_option, default to safe
15998           case.
15999
16000 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
16001
16002         * iterators.[Ch]: New files. Provide paragraph iterators.
16003
16004         * buffer.C (changeLanguage): Use paragraph iterators.
16005         (isMultiLingual): ditto
16006
16007         * BufferView2.C (ChangeInsets): Use paragraph iterators.
16008
16009 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
16010
16011         * FontLoader.C: Support for cmr font.
16012
16013 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
16014
16015         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
16016         (available): New method.
16017
16018         * FontInfo.C (getFontname): Use scalable fonts even when
16019         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
16020         found.
16021
16022 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
16023
16024         * converter.C (Formats::view): reverted! Incorrect fix.
16025
16026 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
16027
16028         * converter.C (Formats::view): only output the -paper option
16029         if the dvi viewer is xdvi, thereby fixing bug #233429.
16030
16031 2001-08-23  Herbert Voss  <voss@perce>
16032
16033         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
16034
16035 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
16036
16037         * Spacing.h (Spacing): Set space to Default on in the default
16038         constructor.
16039
16040 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16041
16042         * vc-backend.h (RCS::versionString): add RCS to version
16043         (CVS::versionString): add CVS to version
16044
16045         * vc-backend.C (scanMaster): do not add CVS to version.
16046         (scanMaster): do not add RCS to version
16047
16048         * lyxvc.C (versionString): new method
16049
16050         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
16051
16052 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16053
16054         * Spacing.C (set): initialize fval
16055
16056 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
16057
16058         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
16059         " or \.
16060
16061 2001-08-16  Juergen Vigna  <jug@sad.it>
16062
16063         * lyxfunc.C (dispatch): implemented the new FINISHED states.
16064
16065 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
16066
16067         * BufferView_pimpl.C:
16068         * figureForm.C:
16069         * lyxtext.h:
16070         * text2.C: setParagraph takes linespacing now
16071
16072 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
16073
16074         * LyxAction.C: add internal LFUN_CITATION_INSERT
16075
16076         * LyXView.C: actually apply fix
16077
16078         * bufferlist.C: fix open non-existent file
16079
16080         * lyxfind.C: fix indentation
16081
16082         * lyxfunc.C: remove unneeded assert, fix typo
16083
16084 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
16085
16086         * MenuBackend.C: use "Floatname List"
16087
16088 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
16089
16090         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
16091         when converting LaTeX layout to insetERT.
16092         Generate a non-collapsed float when reading old float
16093
16094 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
16095
16096         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
16097         ERT insets.
16098
16099 2001-08-13  Juergen Vigna  <jug@sad.it>
16100
16101         * text.C (fill): return 0 instead of 20 as this seems to be the more
16102         correct value.
16103
16104 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
16105
16106         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
16107         lyxrc.font_norm.
16108
16109 2001-08-13  Juergen Vigna  <jug@sad.it>
16110
16111         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
16112         casesensitive off.
16113         (SearchBackward): comment out the unlocking of the inset_owner this
16114         should not be needed!
16115
16116 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
16117
16118         * Many files: Remove inherit_language, and add latex_language
16119
16120         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
16121         collapsible insets.
16122
16123 2001-08-10  Juergen Vigna  <jug@sad.it>
16124
16125         * text.C (prepareToPrint): fixed hfill-width in draw!
16126
16127         * BufferView2.C (selectLastWord): save the selection cursor as this
16128         now is cleared in the function LyXText::clearSelection!
16129
16130 2001-08-08  Juergen Vigna  <jug@sad.it>
16131
16132         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
16133         BACKSPACE type functions.
16134
16135         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
16136         is only cutted from the document but not put in the cut-buffer, where
16137         still the old stuff should be.
16138
16139         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
16140
16141         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
16142
16143         * tabular.C (SetWidthOfCell): fixed special case where the width
16144         was not updated!
16145         (LeftLine): handle '|' in align_special.
16146         (RightLine): ditto
16147         (LeftAlreadyDrawed): ditto
16148         (SetWidthOfCell): ditto
16149
16150 2001-08-07  Juergen Vigna  <jug@sad.it>
16151
16152         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
16153
16154 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16155
16156         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
16157         * lyxlex.[hC]: ditto
16158
16159 2001-08-06  Juergen Vigna  <jug@sad.it>
16160
16161         * text.C (getVisibleRow): fix up row clearing a bit.
16162
16163 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16164
16165         * minibuffer.C: make sure the X server sees the changes in the input.
16166
16167 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16168
16169         * paragraph.C (getFont): split into...
16170         (getLabelFont): this
16171         (getLayoutFont): and this
16172         * paragraph_pimpl.C (realizeFont): calling this
16173
16174         * text2.C (getFont): split into...
16175         (getLayoutFont): this
16176         (getLabelFont): and this
16177         (realizeFont): all three calling this
16178
16179         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
16180         files where used.
16181
16182 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16183
16184         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
16185
16186 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
16187
16188         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
16189         layouts from the Quote inset insertion.
16190
16191 2001-08-03  Juergen Vigna  <jug@sad.it>
16192
16193         * BufferView_pimpl.C (update): do the fitCursor only at the end!
16194
16195         * screen.C (drawFromTo): don't call fitcursor here and do the loop
16196         only if status not is already CHANGED_IN_DRAW (second level).
16197
16198         * text.C (draw): don't set the need_break_row when inside an
16199         InsetText LyXText.
16200
16201 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16202
16203         * buffer.C (parseSingleLyXformat2Token): handle more latex
16204         conversion cases.
16205
16206         * bufferview_funcs.[hC]: change function names to
16207         begin with small char, adjust other files.
16208
16209 2001-08-02  André Pönitz <poenitz@gmx.net>
16210
16211         * lyxfunc.C:
16212         BufferView_pimpl.C: remove broken special code for math-greek
16213
16214 2001-08-02  Juergen Vigna  <jug@sad.it>
16215
16216         * BufferView_pimpl.C (update): redone this function so that we
16217         update the text again if there was a CHANGE_IN_DRAW.
16218
16219         * screen.C (cursorToggle): removed LyXText parameter and recoded.
16220         (drawFromTo): added a new internal bool which is used by draw() and
16221         redraw() function.
16222         (general): some cursor drawing problems fixed.
16223
16224 2001-08-01  Juergen Vigna  <jug@sad.it>
16225
16226         * lyxfind.C (LyXFind): fixed
16227         (SearchForward): ditto
16228         (SearchBackward): ditto
16229
16230         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
16231         spurius drawing of the cursor in the main area.
16232
16233         * text2.C (status): small fix which could lead to a segfault!
16234         (clearSelection): remove unneeded BufferView param.
16235
16236 2001-08-01  André Pönitz <poenitz@gmx.net>
16237
16238         * lyxfunc.C: small change due to changed mathed interface
16239
16240 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16241
16242         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
16243
16244 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
16245
16246         * lyxfunc.c: fail gracefully if file doesn't exist
16247
16248         * LyXSendto.C:
16249         * buffer.C:
16250         * lyxfunc.C:
16251         * BufferView_pimpl.C: IsDirWriteable() proto changed
16252
16253         * LyXView.C: fix updateWindowTitle() to store the last title
16254
16255 2001-07-31  Juergen Vigna  <jug@sad.it>
16256
16257         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
16258         the font (wrong since using of Paragraph::highestFontInRange).
16259
16260         * paragraph.C (highestFontInRange): added a default_size parameter.
16261
16262         * text.C (getVisibleRow): minor clear row changes (still not perfect).
16263         (setHeightOfRow): reformat
16264
16265 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16266
16267         * converter.[hC] + affected files: move to (inital-char)lowercase
16268         function names.
16269
16270         * ParagraphParameters.C (ParagraphParameters): remove commented code
16271
16272         * PainterBase.[Ch]: remove commented code
16273
16274         * LaTeXFeatures.h: add "bool floats" for float.sty
16275
16276         * LaTeXFeatures.C (LaTeXFeatures): init floats
16277         (require): handle float
16278         (getPackages): do it with floats
16279
16280 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16281
16282         * BufferView_pimpl.C (Dispatch): improve handling of
16283         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
16284
16285         * commandtags.h: #include lyxfont.h here temporarily to avoid
16286         keybinding bug.
16287
16288         * bufferlist.h: include LString.h here.
16289
16290 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16291
16292         * text2.C (getStringToIndex): new method.
16293
16294 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
16295
16296         * *: Reduced header file dependencies all over.
16297
16298 2001-07-30  Baruch Even  <baruch@lyx.org>
16299
16300         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
16301
16302 2001-07-29  Baruch Even  <baruch@lyx.org>
16303
16304         * buffer.C (readInset): Changed GRAPHICS to Graphics.
16305
16306 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16307
16308         * ParameterStruct.h (endif): add a default constructor to make
16309         sure that all variables is initialized.
16310
16311         * ParagraphParameters.C (ParagraphParameters): adjust
16312
16313 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16314
16315         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
16316         index; also, check that there is something to index, and that it
16317         does not span over several paragraphs.
16318         (doubleClick): use WHOLE_WORD_STRICT for double click.
16319
16320         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
16321
16322         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
16323         scheme.
16324
16325 2001-07-26  Baruch Even  <baruch@lyx.org>
16326
16327         * buffer.C (readInset): Changed to call up InsetGraphics when reading
16328         an InsetFig figure, backwards compatible reading of old figure code.
16329
16330 2001-07-27  Juergen Vigna  <jug@sad.it>
16331
16332         * text2.C: font.realize function adaption.
16333
16334         * text.C (draw): add a warnings lyxerr text if needed.
16335
16336         * layout.C: font.realize function adaption.
16337
16338         * language.C: add inherit_language and implement it's handlings
16339
16340         * bufferview_funcs.C (StyleReset): remove language parameter from
16341         font creation (should be language_inherit now).
16342
16343         * bufferparams.C (writeFile): handle ignore_language.
16344
16345         * paragraph.C (getFontSettings): the language has to be resolved
16346         otherwise we have problems in LyXFont!
16347
16348         * lyxfont.C (lyxWriteChanges): added document_language parameter
16349         (update): removed unneeded language parameter
16350
16351         * paragraph.C (validate): fixed wrong output of color-package when
16352         using interface colors for certain fonts in certain environments,
16353         which should not seen as that on the final output.
16354
16355 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
16356
16357         * BufferView_pimpl.C:
16358         * Thesaurus.h:
16359         * Thesaurus.C:
16360         * Makefile.am:
16361         * commandtags.h:
16362         * LyXAction.C: add thesaurus support
16363
16364         * lyxfind.h:
16365         * lyxfind.C: add "once" parameter, for thesaurus, to not
16366           move to the next match
16367
16368 2001-07-26  Juergen Vigna  <jug@sad.it>
16369
16370         * lyxfont.C (realize): honor ignore_language too!
16371         (resolved): ditto.
16372
16373         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
16374
16375         * text.C (draw): one place more for ignore_language to not draw
16376         itself!
16377
16378 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
16379
16380         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
16381
16382 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16383
16384         * buffer.C (parseSingleLyXformat2Token): a more general fix for
16385         the minipage conversion problem.
16386
16387 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16388
16389         * buffer.C (parseSingleLyXformat2Token): check minipage if we
16390         insert an inset.
16391
16392 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16393
16394         * BufferView.h: don't forward declare WorkArea
16395
16396         * BufferView.C: don't include WorkArea.h
16397
16398 2001-07-25  André Pönitz <poenitz@gmx.net>
16399
16400         * commandtags.h:
16401         * LyXAction.C:
16402         * lyxfunc.C:  new LFUN 'math-space'
16403
16404         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
16405
16406 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16407
16408         * text2.C (toggleInset): call open/close
16409
16410 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16411
16412         * lyxfunc.C (dispatch): add debug for the disabled case
16413
16414         * font.C (buttonText): make similar to rectText
16415
16416         * buffer.C (readInset): comment out parsing of insetlist and
16417         insttheorem
16418
16419         * PainterBase.C (rectText): small correction
16420
16421         * BufferView_pimpl.C: comment out insettheorem and insetlist
16422         * LyXAction.C: ditto
16423         * commandtags.h: ditto
16424
16425 2001-07-24  Juergen Vigna  <jug@sad.it>
16426
16427         * text.C (draw): honor the ignore_language.
16428
16429         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16430
16431 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16432
16433         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16434         char inset.
16435
16436 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16437
16438         * lyxtext.h: remove unused (and unimplemented) methods
16439
16440 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16441
16442         * text.C (getVisibleRow): honor background color
16443
16444         * PainterBase.h:
16445         * Painter.h: remove default color argument for fillRectangle
16446
16447         * text.C (backgroundColor): new method
16448
16449 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16450
16451         * text.C (getVisibleRow): adjust
16452
16453         * font.[Ch] (rectText): new method, metrics
16454         (buttonText): new method, metrics
16455
16456         * PainterBase.[hC]: make rectText and buttonText always draw and take
16457         fewer paramteres.
16458
16459 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16460
16461         * ToolbarDefaults.C (read):
16462         * MenuBackend.C (read): allow escaping in all strings
16463
16464         * BufferView_pimpl.C (insertAndEditInset): new method.
16465         (Dispatch): use insertAndEditInset whenever appropriate.
16466
16467         * BufferView_pimpl.C (insertNote): removed
16468
16469         * BufferView_pimpl.C (smartQuote): new method, moved from
16470         BufferView; if an insetquote cannot be inserted, insert a '"'
16471         character instead.
16472
16473         * BufferView2.C: remove insertCorrectQuote();
16474
16475         * lyxfunc.C (getStatus): Add support for all remaingin
16476         inset-insert lfuns.
16477
16478         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16479
16480         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16481         command (necessary to pass " as parameter of self-insert.
16482
16483         * text.C (selectWordWhenUnderCursor):
16484         (selectWord): add word_location parameter
16485         (selectWordWhenUnderCursor): same + remove special code for word
16486         boundary.
16487         (selectNextWord): use kind() to guess type of insetspecialchar,
16488         not latex().
16489
16490         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16491         (insertErtContents): create ert insets as collapsed.
16492         (readInset): better compatibility code for Info inset.
16493
16494 2001-07-20  Juergen Vigna  <jug@sad.it>
16495
16496         * lyxfunc.C (dispatch): use always LyXFind now!
16497
16498         * text2.C (init): add a reinit flag so that the LyXText can be
16499         reinited instead of deleted and reallocated (used in InsetText).
16500
16501         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16502
16503         * text.C: ditto
16504
16505         * text2.C: ditto
16506
16507 2001-07-18  Juergen Vigna  <jug@sad.it>
16508
16509         * text.C (selectNextWord): handle insets inside inset by calling
16510         always the bv->text functions so that we can go up the_locking_inset!
16511
16512         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16513         in strange locations when inside an inset!
16514
16515         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16516         handling to include insets.
16517
16518         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16519
16520 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16521
16522         * LyXAction.C (init):
16523         * commandtags.h:
16524         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16525         LIGATURE_BREAK, since the name is so stupid.
16526
16527 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16528
16529         * buffer.C (readInset): enable reading of new InsetNotes as well as old
16530         InsetInfos.
16531
16532         * FontLoader.C: remove FORMS_H_LOCATION cruft.
16533
16534         * sp_form.[Ch]: remove.
16535
16536         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16537
16538         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16539         InsetInfo.
16540
16541         * src/buffer.C (readInset): ditto.
16542
16543 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16544
16545         * BufferView_pimpl.C (specialChar): new method. Obsoletes
16546         menuSeparator(), endOfSentenceDot(), ldots() and
16547         hyphenationPoint(), which are therefore removed.
16548         (Dispatch): handle LFUN_HYPHENATION_BREAK.
16549
16550         * LyXAction.C (init):
16551         * commandtags.h: add LFUN_HYPHENATION_BREAK.
16552
16553         * paragraph.C (getWord): removed.
16554
16555         * BufferView_pimpl.C (Dispatch): use last word or selection for
16556         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16557
16558         * lyx_main.C (queryUserLyXDir): do not ask before creating
16559         user_dir, except if it has been named explicitely.
16560
16561 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16562
16563         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16564         a document of zero size.
16565
16566 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
16567
16568         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16569         approriately in the c-tor and in require().
16570         (getPackages): output the appropriate LaTeX for natbib support.
16571
16572         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16573         variables "use_natbib" and "use_numerical_citations" when reading the
16574         LyX file.
16575         (readInset): read the various natbib cite commands.
16576         (validate): white-space change.
16577
16578         * bufferparams.[Ch]: new variables "bool use_natbib" and
16579         "bool use_numerical_citations".
16580         (writeFile): output them in the LyX file.
16581
16582 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16583
16584         * lyxfunc.C (getStatus): add support for all the inset insertion
16585         commands.
16586
16587         * text2.C (insertInset):
16588         * paragraph.C (insetAllowed):
16589         * BufferView_pimpl.C (insertInset): update to take in account the
16590         renaming of insertInsetAllowed
16591
16592         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16593
16594         * text2.C (getInset): new method. returns inset at cursor position.
16595
16596         * BufferView_pimpl.C (Dispatch): changes because of this.
16597
16598         * LyXAction.C (init): rename open-stuff to inset-toggle.
16599
16600         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16601
16602         * text2.C (toggleInset): renamed from openStuff; use
16603         Inset::open().
16604
16605 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
16606
16607         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16608
16609         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16610
16611 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
16612
16613         * buffer.C (readLyXformat2): Add filename to the error dialog
16614
16615 2001-07-18  Juergen Vigna  <jug@sad.it>
16616
16617         * tabular.C (GetCellNumber): put an assert here instead of the check!
16618
16619 2001-07-17  Juergen Vigna  <jug@sad.it>
16620
16621         * BufferView_pimpl.C (toggleSelection): adapted too.
16622
16623         * text.C (selectNextWord): adapted for use with insets.
16624         (selectSelectedWord): ditto
16625
16626 2001-07-17  Juergen Vigna  <jug@sad.it>
16627
16628         * sp_spell.C (PSpell): fix initialitation order.
16629
16630 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16631
16632         * paragraph.C: spacing
16633
16634 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
16635
16636         * sp_spell.C: repair language selection for pspell
16637
16638 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16639
16640         * lyxfunc.h: change more methods to begin with lower char.
16641
16642 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
16643
16644         * buffer.C (parseSingleLyXformat2Token): Generate error insets
16645         for unknown layouts.
16646
16647 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
16648
16649         * buffer.C (readLyXformat2): Generate an error dialog if there are
16650         unknown layouts.
16651
16652 2001-07-16  Juergen Vigna  <jug@sad.it>
16653
16654         * sp_spell.C: always compile ISpell part.
16655
16656         * lyxrc.C: added use_pspell entry and it's handling.
16657
16658 2001-07-13  Juergen Vigna  <jug@sad.it>
16659
16660         * sp_spell.C: removed double includes.
16661
16662 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
16663
16664         Consistent use of Lsstream.h:
16665         * Lsstream.h: added using std::stringstream for consistencies sake.
16666
16667         * buffer.C: removed using std::stringstream
16668
16669         * lyxfont.C (stateText):
16670         * paragraph.C (asString):
16671         * text.C (selectNextWord, selectSelectedWord):
16672         * text2.C (setCounter):
16673         * vspace.C (asString, asLatexString):
16674         std::ostringstream -> ostringstream.
16675
16676 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16677
16678         * LyXAction.C: add LFUN_HELP_ABOUTLYX
16679         * commandtags.h: add LFUN_HELP_ABOUTLYX
16680         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16681
16682 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16683
16684         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16685         cursorToggle()
16686         * lyx_gui_misc.C: remove spellchecker
16687         * lyxfunc.C: showSpellchecker
16688         * sp_base.h: added
16689         * sp_ispell.h: added
16690         * sp_pspell.h: added
16691         * sp_spell.C: added
16692         * sp_form.[Ch]: removed
16693         * spellchecker.[Ch]: removed
16694
16695 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
16696
16697         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16698         is set.
16699         (simpleTeXSpecialChars): Simply print the input character without
16700         any special translation if pass_thru is set.
16701
16702         * layout.h: Added bool pass_thru to layout class for being able to
16703         implement pass through of a paragraph for Literate Programming.
16704
16705         * layout.C: add LT_PASS_THRU to LayoutTags enum.
16706         * layout.C (LyXLayout): set pass_thru to flase in constructor.
16707         * layout.C (Read): add "passthru" to list of layout tags and add
16708         code to set the pass_thru boolean when it is read.
16709
16710 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16711
16712         * trans_decl.h: remove allowed from KmodInfo
16713
16714         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16715         remove allowed code
16716         (Load): adjust
16717
16718         * paragraph_pimpl.C (erase): use boost::prior
16719
16720         * Painter.C (text): use data() instead of c_str() when length is
16721         also provided.
16722         * WorkArea.C (putClipboard): ditto
16723         * font.h (width): ditto
16724
16725         * BufferView2.C: use it-> instead of (*it). for iterators
16726         * texrow.C: ditto
16727         * paragraph_pimpl.C: ditto
16728         * paragraph.C: ditto
16729         * minibuffer.C: ditto
16730         * language.C: ditto
16731         * kbmap.C: ditto
16732         * encoding.C: ditto
16733         * counters.C: ditto
16734         * converter.C: ditto
16735         * chset.C: ditto
16736         * Variables.C: ditto
16737         * TextCache.C: ditto
16738         * MenuBackend.C: ditto
16739         * LyXAction.C: ditto
16740         * LColor.C: ditto
16741         * FloatList.C: ditto
16742         * DepTable.C: ditto
16743         * ColorHandler.C (LyXColorHandler): ditto
16744
16745 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16746
16747         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16748
16749         * text2.C (openStuff): reintroduce this method (which had been
16750         nuked in NEW_INSETS frenzy).
16751
16752         * lyxfunc.C (Dispatch): when an action has not been handled, use
16753         its name in the error message, not its number.
16754
16755         * paragraph.C (inInset): change method name to begin with lowercase.
16756
16757         * undo_funcs.C:
16758         * text2.C: updates because of this.
16759
16760 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16761
16762         * ToolbarDefaults.C (add): add spaces in error message
16763
16764 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16765
16766         * buffer.C (readLyXformat2): initialize the ert comp. variables.
16767         (readLyXformat2): rename return_par to first_par, use lyxlex's
16768         pushToken and remove the manual push handling.
16769         (parseSingleLyXformat2Token): add another ert comp. variable:
16770         in_tabular, rename return_par to first_par. handle newlines better
16771
16772 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16773
16774         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16775
16776 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16777
16778         * text2.C (getParFromID): removed
16779
16780         * buffer.C (getParFromID): new method moved form lyxtext.
16781         * BufferView2.C (insertErrors): adjust
16782         (setCursorFromRow): adjust
16783         * BufferView_pimpl.C (restorePosition): adjust
16784         * lyxfunc.C (Dispatch): adjust
16785         * undo_funcs.C (textUndo): adjust
16786         (textRedo): adjust
16787         (textHandleUndo): adjust
16788         (textHandleUndo): adjust
16789
16790 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16791
16792         * buffer.C: up' the LYX_FORMAT
16793
16794         * lyxfont.h: turn NO_LATEX on as default
16795
16796         * buffer.C (insertErtContents): new methods of tex style compability.
16797         (parseSingleLyXformat2Token): use it several places.
16798         * tabular.C (OldFormatRead): and here
16799
16800 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16801
16802         * text2.C: remove some commented code.
16803         reindent file.
16804
16805         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16806         * trans.C: changes because of the above.
16807
16808 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
16809
16810         * text2.C (setCounter): Fix counters bug with bibliography layout.
16811
16812 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16813
16814         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16815         own member functions
16816         (simpleTeXSpecialChars): ditto
16817
16818 2001-07-06  Juergen Vigna  <jug@sad.it>
16819
16820         * a lot of files: changed the access to LyXText::status and the
16821         call of undo-functions.
16822
16823         * undo.[Ch]: added a inset_id to the undo informations.
16824
16825         * undo_funcs.[Ch]: added and moved here all undo functions.
16826
16827         * lyxtext.h: give the status enum a weight, made status_ a private
16828         variable and made accessor functions for it, removed the whole bunch
16829         of undo-functions as they are now in their own file, make some
16830         functions publically available. Added function ownerParagraph with
16831         int parameter.
16832
16833         * paragraph.[Ch]: added "bool same_ids" to the constructor,
16834         made InInset() a const function, added getParFromID() function.
16835
16836         * buffer.[Ch]: added const version for inset_iterator functions,
16837         added getInsetFromID() function.
16838
16839         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16840         changed undo functions for new version.
16841
16842 2001-07-05  Juergen Vigna  <jug@sad.it>
16843
16844         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16845         unknow mechanism does not call the proper constructor but only this
16846         one also if I request the other!?
16847
16848 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16849
16850         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16851
16852         * text2.C (LyXText): use initialization lists.
16853
16854         * lyxtext.h (Selection): initialize set_ and mark_
16855         (init): remove method
16856
16857 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
16858
16859         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16860
16861 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16862
16863         * screen.[Ch]: change method names to begin with lowercase
16864
16865         * BufferView_pimpl.C (updateScrollbar): simplify further and
16866         hopefully make it a bit faster.
16867
16868 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16869
16870         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16871         calling directly xforms functions.
16872
16873         * Painter.C (Painter):
16874         * lyx_cb.C (MenuWrite):
16875         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16876         fl_display.
16877
16878         * lyx_gui.C: remove bogus guiruntime extern declaration.
16879
16880 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16881
16882         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16883         in NEW_INSETS
16884         (redoDrawingOfParagraph): ditto
16885         (redoParagraphs): ditto
16886         (cutSelection): don't create a object for CutAndPaste use the
16887         static method directly
16888         (pasteSelection): ditto
16889
16890         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16891         LyXview (+ rename)
16892
16893 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16894
16895         * modifications to some other files because of this.
16896
16897         * Makefile.am (lyx_SOURCES): add XFormsView
16898
16899         * XFormsView.[Ch]: new files
16900
16901         * LyXView.[Ch]: make LyXView a base class for the gui handling for
16902         the main window. Move the gui dependent stuff to XFormsView
16903
16904 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16905
16906         * tabular.C (GetCellInset): update cur_cell also in the row/col
16907         version of this function.
16908
16909         * lyxfunc.C: no need to include figure_form.h here.
16910
16911         * FontLoader.h:
16912         * lyxfunc.h:
16913         * lyxscreen.h:
16914         * text2.C:
16915         * lyxvc.C: no need to include forms.h here.
16916
16917 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16918
16919         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16920
16921         * lyxfunc.C (Dispatch):
16922         * Spacing.C (set):
16923         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16924         constructor argument.
16925
16926 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16927
16928         * paragraph.C (Paragraph): dont't clear, and just set layout.
16929         (makeSameLayout): use params's copy contructor.
16930
16931         * ParagraphParameters.[Ch] (makeSame): delete method
16932
16933 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
16934
16935         * Variables.[Ch]: fix indentation, rename set to isSet
16936
16937 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16938
16939         * lyxfunc.C (Dispatch): fix typo
16940
16941 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16942
16943         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16944         upper_bound.
16945
16946         * bufferlist.C: include assert.h for emergencyWrite().
16947
16948 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16949
16950         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16951           give up at last (bug #425202) !
16952
16953 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
16954
16955         * lyx_gui_misc.C:
16956         * sp_form.h:
16957         * sp_form.C:
16958         * spellchecker.h:
16959         * spellchecker.C: strip spellchecker options and bring up
16960           preferences tab instead
16961
16962 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16963
16964         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16965         the istringstream constructor
16966
16967 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16968
16969         * paragraph.C (getLayout): fix return value
16970
16971         * paragraph.h: do not declare getLayout as inline.
16972
16973         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16974
16975 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16976
16977         * lyxcursor.h (operator<): new func
16978         (operator>): new func
16979         (operator>=): new func
16980         (operator<=): new func
16981
16982         * text.C (changeCase): use selection.start and selection.end
16983         (changeRegionCase): require from to be <= to. Require par to be a
16984         valid paragraph.
16985
16986         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16987
16988 2001-06-27  Juergen Vigna  <jug@sad.it>
16989
16990         * text.C (cursorLeftOneWord): changed to return the cursor and added
16991         overlay with BufferView * parameter which calls this one.
16992         (getWord): added
16993         (selectWord): use new getWord function.
16994         (changeCase): renamed from changeWordCase as and extended to work
16995         also on selections.
16996
16997         * lyxtext.h: added enum word_location
16998
16999         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
17000         changeCase as this operates now also on selections.
17001
17002 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
17003
17004         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
17005
17006         * many files: send debug output to Debug::INFO instead of
17007         Debug::ANY.
17008
17009         * converter.C (View):
17010         (Convert):
17011         (Move): send debug output to Debug::FILES instead of console.
17012
17013 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
17014
17015         * lyxfunc.C (getStatus): use func_status
17016
17017         * func_status.h: new header, describing the results of
17018         LyXFunc::getStatus;
17019
17020         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
17021         LFUN_MATH_HALIGN.
17022
17023 2001-06-25  The LyX Project  <jug@sad.it>
17024
17025         * buffer.C (sgmlOpenTag):
17026         (sgmlCloseTag):
17027         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
17028
17029 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17030
17031         * text2.C: remove some dead code
17032
17033         * tabular.C (GetCellInset): store the last cell checked (gotten)
17034
17035         * tabular.h: add the helper for the speedup
17036
17037         * lyxtext.h: remove some dead code
17038
17039 2001-06-26  The LyX Project  <Asger>
17040
17041         * paragraph.C: Change export to LaTeX of alignment to
17042         \begin{center} and family for better roundtrip work with reLyX.
17043
17044         * Tune the math drawing a bit.
17045
17046 2001-06-25  The LyX Project  <Asger>
17047
17048         * LColor.C (LColor): New color for math background. New color
17049         for buttons.
17050
17051 2001-06-25  The LyX Project  <jug@sad.it>
17052
17053         * lyxfunc.C (MenuNew): remove extra check for .lyx file
17054
17055         * lyxfunc.C (Open):
17056         * bufferlist.C (newFile): do not restrict to files ending with
17057         .lyx
17058
17059         * BufferView_pimpl.C (MenuInsertLyXFile):
17060
17061 2001-06-24  The LyX Project  <jug@sad.it>
17062
17063         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
17064         of compare_no_case
17065
17066 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17067
17068         * lyxtext.h: rename most methods to begin with a small char.
17069         Lots of changes because of this.
17070
17071         * paragraph.C (Paragraph): do not call fitToSize
17072         (erase): call Pimpl::erase
17073         (insertChar): call Pimpl::insertChar
17074         (insertInset): call Pipl::insertInset
17075         (breakParagraph): do not call fitToSize
17076         (breakParagraphConservative): do not call fitToSize
17077         (fitToSize): remove method
17078
17079         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
17080
17081 2001-06-24  The LyX Project  <Asger>
17082
17083         * Fix Qt compilation^2
17084
17085 2001-06-24  The LyX Project  <jug@sad.it>
17086
17087         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
17088         depthHook(getDepth()-1).
17089
17090         * paragraph.h:
17091         * ParagraphParameters.h:
17092         * ParameterStruct.h: change type of depth to unsigned int ==
17093         depth_type. Many adaptations to other files before of that.
17094
17095 2001-06-24  The LyX Project  <Asger>
17096
17097         * Fix Qt compilation.
17098
17099 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17100
17101         * paragraph.h: renamed several methods to begin with small letter.
17102         several changes to many parts of the code because of this.
17103
17104 2001-06-23  The LyX Project  <jug@sad.it>
17105
17106         * text2.C (InsertStringAsLines): renamed from InsertStringA;
17107         rewritten to discard all double spaces when KeepEmpty is off
17108         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
17109         to only handle newlines but not fiddle with spaces and friends.
17110
17111         * lyxfunc.C (MenuNew): when doing 'new from template', use
17112         template_path as default directory
17113
17114 2001-06-23  The LyX Project  <Asger>
17115
17116         * Clean-up of header file includes all over
17117         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
17118
17119 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17120
17121         * paragraph.h: renamed from lyxparagraph.h
17122
17123 2001-06-23  Asger  <lyx@violet.home.sad.it>
17124
17125         * Buffer.h: Removed Buffer::resize
17126         * BufferList.h: Removed BufferList::resize
17127         * LyXView.h: Added LyXView::resize. This way, we will only reflow
17128         the document lazily when we change the width, or the font settings.
17129
17130 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
17131
17132         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
17133
17134 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
17135
17136         * buffer.h: remove out of date comment
17137
17138 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
17139
17140         * lyxscreen.h:
17141         * screen.C: fix "theoretical" GC leak
17142
17143 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17144
17145         * LaTeX.C (scanAuxFile):
17146         (deplog): remove trailing \r when reading stream (useful under
17147         win32)
17148
17149 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
17150
17151         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
17152         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
17153         and BufferView::theLockingInset(Inset*), so should use them and not
17154         access bv_->text->the_locking_inset directly.
17155
17156         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
17157
17158 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
17159
17160         * Makefile.am:
17161         * tex-defs.h: remove old unused file
17162
17163 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
17164
17165         * BufferView_pimpl.C: fix typo, remove minibuffer message
17166           when buffer has loaded
17167
17168 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17169
17170         * lyxfunc.C (Dispatch): use stringstream
17171         (MenuNew): use stringstream
17172         (Open): use stringstream
17173
17174         * importer.C (Import): use stringstream
17175
17176         * bufferview_funcs.C (CurrentState): use stringstream
17177
17178         * LaTeX.C (run): use stringstream
17179
17180         * BufferView_pimpl.C (savePosition): use stringstream
17181         (restorePosition): use stringstream
17182         (MenuInsertLyXFile): use stringstream
17183
17184 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
17185
17186         * BufferView.C:
17187         * Bullet.C:
17188         * ColorHandler.C:
17189         * FontInfo.C:
17190         * FontLoader.C:
17191         * LColor.C:
17192         * LaTeXFeatures.C:
17193         * Painter.C:
17194         * gettext.C:
17195         * lyx_gui_misc.C:
17196         * lyxserver.C:
17197         * vspace.C: removed // -*- C++ -*- as first line.
17198
17199         * lyxfind.h:
17200         * version.h: added // -*- C++ -*- as first line.
17201
17202 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17203
17204         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
17205
17206         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
17207         of string
17208
17209 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17210
17211         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
17212         of floats.
17213
17214 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17215
17216         * gettext.C: include LString.h even when --disable-nls is on.
17217
17218 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
17219
17220         * converter.h (Get): changed argument type from int to
17221         FormatList::size_type to avoid unnecessary conversion.
17222
17223         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
17224         before using it.
17225
17226 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17227
17228         * gettext.h: include LString.h even when --disable-nls is on.
17229
17230 2001-06-07  Juergen Vigna  <jug@sad.it>
17231
17232         * text.C (BreakAgain): subst spaces with tabs.
17233
17234         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
17235         (resizeInsetsLyXText): set force on resizeLyXText.
17236
17237 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17238
17239         * gettext.h (gettext_init):
17240         (locale_init): use a real definition instead of a macro
17241
17242 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
17243
17244         * Bufferview_pimpl.C:
17245         * LColor.h:
17246         * LColor.C: further lcolor tidies
17247
17248 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17249
17250         * BufferView_pimpl.C (updateScrollbar): simplify.
17251
17252         * BufferView2.C: don't include insets/insetinfo.h, change
17253         prototype for insertInset and call the Pimpl version. let
17254         updateInset call Pimpl version.
17255
17256         * BufferView.h: move inset_slept to BufferView::Pimpl, move
17257         gotoInset to BufferView::Pimpl
17258
17259 2001-06-01  Juergen Vigna  <jug@sad.it>
17260
17261         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
17262         inside a LockingInset (is the update needed at all?).
17263
17264 2001-05-31  Juergen Vigna  <jug@sad.it>
17265
17266         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
17267         here not the old one otherwise how should we compare it afterwards
17268         if it's the same!
17269
17270 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17271
17272         * lyxfont.C:
17273         * tabular.C:
17274         * tabular-old.C:
17275         * FontInfo.C: bring C functions into global namespace when
17276         necessary
17277
17278 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17279
17280         * LString.h: make sure config.h has been loaded before LString.h.
17281
17282         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
17283         (one for each char read by EatLine!).
17284
17285         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
17286         variables.
17287
17288 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17289
17290         * paragraph.C (BreakParagraph): set the inset_owner in the new par
17291         to the same as the par we break from
17292
17293 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17294
17295         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
17296
17297         * MenuBackend.C (expand): also create menu entries for wide
17298         versions of the floats.
17299
17300         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
17301
17302         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
17303
17304         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
17305         frontends/Makefile.am
17306
17307         * text2.C: adjust
17308         * text.C: adjust
17309
17310
17311         * tabular.C (getTokenValue): add std::
17312
17313         * tabular-old.C (getTokenValue): add std::
17314         (getTokenValue): ditto
17315         (getTokenValue): ditto
17316
17317         * screen.C (ToggleSelection): adjust
17318
17319         * lyxtext.h: put selection cursors inside a Selection struct.
17320
17321         * lyxfunc.C (moveCursorUpdate): adjust
17322
17323         * lyxfont.C (latexWriteStartChanges): add std::
17324
17325         * lyxfind.C: adjust
17326
17327         * font.h: delete with(char const *, LyXFont const &)
17328
17329         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
17330
17331         * FontInfo.C (getFontname): add std::
17332
17333         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
17334         (workAreaButtonPress): adjust
17335         (tripleClick): adjust
17336         (update): adjust
17337         (moveCursorUpdate): adjust
17338         (Dispatch): adjust
17339
17340         * BufferView2.C (gotoInset): adjust
17341
17342 2001-05-30  Juergen Vigna  <jug@sad.it>
17343
17344         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
17345         to check pspell I add this as default as I now have new pspell
17346         libraries and they seem to use this.
17347
17348 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17349
17350         * text2.C (CutSelection): make the cursor valid before the call to
17351         ClearSelection.
17352
17353 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17354
17355         * kbsequence.C (parse): de-uglify a bit the parsing code, which
17356         relied on 0 terminated strings and other horrors. Bug found due to
17357         the new assert in lyxstring!
17358
17359         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
17360         KP_ keys.
17361
17362 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17363
17364         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
17365         to latinkeys.bind.
17366
17367         * lyxfunc.C (processKeySym): change method of getting to the
17368         self-insert char.
17369
17370         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
17371         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
17372         * BufferView_pimpl.[Ch]: here as private methods.
17373
17374 2001-05-28  Juergen Vigna  <jug@sad.it>
17375
17376         * text.C (SetHeightOfRow): added the update() call again as it is
17377         needed to initialize inset dimensions!
17378
17379 2001-05-16  Juergen Vigna  <jug@sad.it>
17380
17381         * text2.C (SetCharFont): Add new function with BufferView * and
17382         bool toggleall parameters for setting insets internal fonts.
17383         (SetFont): Freeze the undo as we may change fonts in Insets and
17384         all this change should be inside only one Undo!
17385
17386         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
17387         setting font's in insets as for them we have the SetFont function!
17388
17389 2001-05-15  Juergen Vigna  <jug@sad.it>
17390
17391         * text2.C (ClearSelection): to be sure we REALLY don't have any
17392         selection anymore!
17393
17394         * tabular.C (TeXCellPreamble): fixed the left border problem for
17395         multicolumn cells.
17396
17397 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
17398
17399         * LaTeX.C (deplog): Make sure that the main .tex file is in the
17400         dependancy file
17401
17402 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17403
17404         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
17405         LFUN_BREAKPARAGRAPH.
17406
17407         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
17408         help test to "internal only", similar for LFUN_INSERT_URL
17409
17410         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
17411         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
17412         auto_region_delete and deadkeys.
17413
17414 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
17415
17416         * LColor.h:
17417         * LColor.C: remove some dead entries, tidy a little
17418
17419 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17420
17421         * lyxfunc.C (processKeySym): comment the Escape handling, remove
17422         commented code.
17423         (Dispatch): implement LFUN_ESCAPE
17424
17425         * commandtags.h: add LFUN_ESCAPE
17426
17427         * LyXAction.C (init): add entry for LFUN_ESCAPE
17428
17429         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17430         Remove commented code.
17431         (insertNote): moved here
17432         (open_new_inset): moved here
17433
17434         * BufferView[2].[Ch]: move insertNote and open_new_inset to
17435         BufferView_pimpl
17436
17437 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17438
17439         * kbmap.C (findbinding): clean it up and make it work correctly.
17440
17441         * lyx_main.C (init): do not pass argc and argv as parameters
17442
17443 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
17444
17445         * buffer.C: fix path for OS/2 & Win32
17446
17447         * lyx_gui.C:
17448         * lyx_main:
17449         * lyx_main.C: Added os:: class.
17450
17451         * os2_defines.h: update
17452
17453 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17454
17455         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17456         better by trying again with reduced state.
17457
17458 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17459
17460         * lyxrc.C (read): print error about invalid key sequence only when
17461         debugging (because not all latinX keysyms are known to some X
17462         servers)
17463
17464         * kbsequence.C (getiso): add a few std:: qualifiers
17465         (getiso): comment out extra return statement.
17466
17467 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17468
17469         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17470         handling.
17471         (Dispatch): enhance the accent inset a bit. (not perfect)
17472
17473 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17474
17475         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17476
17477 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17478
17479         * bufferlist.C (emergencyWrite): fix assert() call
17480
17481 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
17482
17483         * text.C (InsertChar): Added trivial patch to only send the "you
17484         can not do multiple spaces this way" message once during a
17485         session.
17486
17487 2001-05-08  Baruch Even  <baruch@lyx.org>
17488
17489         * Makefile.am: Changed order of libraries to get LyX to link properly
17490         with the gnome frontend.
17491
17492 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17493
17494         * LaTeXFeatures.h: add a std:: qualifier
17495
17496 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17497
17498         * paragraph.C (String): use stringstream
17499
17500 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17501
17502         * paragraph.C (writeFile): remove footflag arg
17503
17504         * buffer.C (makeLaTeXFile): use stringstream
17505         (latexParagraphs): remove footnot gurba
17506
17507         * LaTeXFeatures.C (getPackages): use stringstream
17508         (getMacros): likewise
17509         (getTClassPreamble): likewise
17510         (getFloatDefinitions): new method
17511
17512         * paragraph.C (writeFile): reindent
17513         (Erase): reindent
17514
17515         * WorkArea.h: revert the xpos + etc changes.
17516
17517         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17518
17519         * lyxparagraph.[Ch]: add copy constructor, remove Clone
17520
17521         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17522         (pasteSelection): likewise
17523         * text2.C (CreateUndo): likewise
17524
17525 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17526
17527         * minibuffer.C (peek_event): temporarily reduce the functionality
17528         of the minibuffer (to allow args on lfuns)
17529
17530         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17531         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17532
17533         * buffer.C (readInset): add compability reading of old float
17534         lists, add reading of new style float list.
17535         (readInset): avoid reevaluation of inscmd.getCmdName()
17536         (getLists): reindent
17537
17538         * MenuBackend.C (MenuItem): implement parsing of
17539         md_floatlistinsert and md_floatinsert.
17540         (expand::LastFiles): move initalizaton of iterators out of loop,
17541         avoid reevaluation.
17542         (expand::Documents): introduce typdedef vector<string> Strings,
17543         and use it.
17544         (expand::ExportFormats): introduce typedef vector<Format const *>
17545         Formats, and use it.
17546         (expand): implement FloatListInsert and FloatInsert.
17547
17548         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17549         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17550         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17551
17552         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17553         handling.
17554         (Dispatch::LFUN_FLOAT_LIST): implement
17555
17556 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
17557
17558         * LaTeX.C (run): Fix problem with --export code.
17559
17560 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17561
17562         * BufferView.[Ch] (workarea): removed.
17563         (getClipboard) new method; wrapper for workarea()->getClipboard()
17564
17565         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17566         bug.
17567
17568         * WorkArea.h (width, height, xpos, ypos): These methods all
17569         returned the dimensions of the work_area sub-area of WorkArea,
17570         resulting in a position error if the WorkArea were resized. Now
17571         return the dimensions of the entire WorkArea.
17572
17573         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17574
17575 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17576
17577         * LaTeX.C (deplog): correct the syntax of regex reg1
17578
17579 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17580
17581         * undo.C: remove !NEW_INSETS cruft
17582
17583 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17584
17585         * text2.C: remove !NEW_INSETS cruft
17586
17587         * text.C: remove !NEW_INSETS cruft
17588
17589         * tabular.C: remove !NEW_INSETS cruft
17590
17591         * spellchecker.C: remove !NEW_INSETS cruft
17592
17593         * lyxtext.h: remove !NEW_INSETS cruft
17594
17595         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17596
17597         * lyxfunc.C: remove !NEW_INSETS cruft
17598
17599         * lyxfind.C: remove !NEW_INSETS cruft
17600
17601         * lyx_cb.C: remove !NEW_INSETS cruft
17602
17603         * figureForm.C: remove  !NEW_INSETS cruft
17604
17605         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17606
17607         * buffer.[Ch]: remove !NEW_INSETS cruft
17608
17609         * ToolbarDefaults.C: remove !NEW_INSETS cruft
17610
17611         * CutAndPaste.C: remove !NEW_INSETS cruft
17612
17613         * BufferView_pimpl.C: remove !NEW_INSETS cruft
17614
17615         * BufferView2.C: remove !NEW_INSETS cruft
17616
17617         * BufferView.h: remove !NEW_INSETS cruft
17618
17619 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17620
17621         * Lsstream.h: include LString.h before the sstream headers to
17622         fix problem with gcc 2.95.3 and lyxstring
17623
17624 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17625
17626         * lyx_main.C: add using directives when needed for C functions
17627         declared in std:: namespace.
17628
17629 2001-04-27  Juergen Vigna  <jug@sad.it>
17630
17631         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17632         (SetHeightOfRow): comment out the update call should not be needed!
17633
17634 2001-04-13  Juergen Vigna  <jug@sad.it>
17635
17636         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17637         (LyXTabular): tried to minimize operator= operations (and realized
17638         hopfully Lars wish).
17639
17640 2001-04-27  Juergen Vigna  <jug@sad.it>
17641
17642         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17643
17644 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17645
17646         * lyxfunc.C (Dispatch): hack to make listof algorithm work
17647
17648         * buffer.C (readInset): hack to make listof algorithm work
17649
17650         * BufferView_pimpl.C: hack to make listof algorithm work
17651
17652 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17653
17654         * LyXAction.C: removed all !NEW_INSETS cruft
17655         (init): moved lfun_item in method
17656
17657         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17658
17659 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17660
17661         * BufferView2.C (theLockingInset): white space.
17662
17663 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17664
17665         * minibuffer.C: include <iostream>
17666
17667         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17668
17669         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17670
17671         * commandtags.h: add LFUN_TRANSPOSE_CHARS
17672
17673         * text.[Ch] (TransposeChars): new method
17674
17675 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17676
17677         * call message directly through LyXView instead of through LyXFunc
17678         * BufferView2.C: adjust
17679         * BufferView_pimpl.C: adjust
17680         * FontLoader.C: adjust
17681         * buffer.C: adjust
17682         * bufferview_funcs.C: adjust
17683         * converter.C: adjust
17684         * figureForm.C: adjust
17685         * importer.C: adjust
17686         * lyx_cb.C: adjust
17687         * lyx_gui_misc.C: adjust
17688         * lyxfunc.C: adjust
17689         * lyxvc.C: adjust
17690         * text2.C: adjust
17691         + more files in subdirs
17692
17693         * lyxparagraph.h (size): move up int file
17694         (GetLayout): ditto
17695
17696         * adjust all uses of Assert to lyx::Assert.
17697
17698         * BufferView2.C (ChangeCitationsIfUnique): adjust for
17699         lyxfunctional in namespace lyx
17700         * layout.C (hasLayout): ditto
17701         (GetLayout): ditto
17702         (GetLayout): ditto
17703         (delete_layout): ditto
17704         (NumberOfClass): ditto
17705         * converter.C (GetFormat): ditto
17706         (GetNumber): ditto
17707         (Add): ditto
17708         (Delete): ditto
17709         (SetViewer): ditto
17710         * bufferlist.C (getFileNames): ditto
17711         (emergencyWriteAll): ditto
17712         (exists): ditto
17713         (getBuffer): ditto
17714         * MenuBackend.C (hasSubmenu): ditto
17715         (hasMenu): ditto
17716         (getMenu): ditto
17717         * BufferView_pimpl.C (getInsetByCode): ditto
17718
17719 2001-04-18  Juergen Vigna  <jug@sad.it>
17720
17721         * vspace.C (asLatexString): fixed the 100% problem.
17722
17723 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17724
17725         * lyxfunc.C (Dispatch):
17726         * minibuffer.C:
17727         * minibuffer.h: add a few std:: qualifiers
17728
17729 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17730
17731         * minibuffer.[Ch]: reimplement so that commands is initiated and
17732         run from lyxfunc, simplified som handling, and made the completion
17733         and history code for complete. wip.
17734
17735         * lyxfunc.C (processKeySym): call message
17736         (miniDispatch): new temporary method
17737         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17738         (LFUN_MESSAGE): implement
17739         (LFUN_MESSAGE_PUSH): implement
17740         (LFUN_MESSAGE_POP): implement
17741         (initMiniBuffer): the initial/defualt minibuffer message.
17742
17743         * lyxfont.[Ch]: inline some more getters
17744
17745         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17746
17747         * lyx_gui_misc.[Ch] (WriteStatus): remove method
17748
17749         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17750         (AutoSave): use LFUN_MESSAGE
17751         (Reconfigure): ditto
17752
17753         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17754
17755         * figureForm.C: use LFUN_MESSAGE
17756
17757         * converter.C (runLaTeX): use LFUN_MESSAGE
17758
17759         * bufferview_funcs.C: use LFUN_MESSAGE
17760         (Melt): ditto
17761         (changeDepth): ditto
17762
17763         * bufferparams.h: use boost::
17764
17765         * bufferlist.h: inherit privately from noncopyable
17766
17767         * bufferlist.C (loadLyXFile): remove some commented code.
17768
17769         * buffer.C (runChktex): use LFUN_MESSAGE
17770
17771         * ShareContainer.h: inherit privately from noncopyable
17772
17773         * ParagraphParameters.[hC] (depth): inline it.
17774
17775         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17776         methods.
17777         (message): new method
17778         (messagePush): ditto
17779         (messagePop): ditto
17780         (show): init minibuffer
17781         (showState): direct call
17782
17783         * LaTeX.[Ch]: inherit privately from noncopyable
17784         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17785         instead of WriteStatus.
17786
17787         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17788
17789         * BufferView_pimpl.C (buffer): don't init minibuffer
17790         (workAreaButtonPress): use LFUN_MESSAGE
17791         (workAreaButtonRelease): ditto
17792         (savePosition): ditto
17793         (restorePosition): ditto
17794         (MenuInsertLyXFile): ditto
17795         (workAreaExpose): don't init minibuffer
17796         (update): remove commented code, simplify
17797
17798         * BufferView2.C (openStuff): use LFUN_MESSAGE
17799         (toggleFloat): ditto
17800         (menuUndo): ditto
17801         (menuRedo): ditto
17802         (copyEnvironment): ditto
17803         (pasteEnvironment): ditto
17804         (copy): ditto
17805         (cut): ditto
17806         (paste): ditto
17807         (gotoInset): ditto
17808         (updateInset): remove some commented code
17809
17810         * lastfiles.h: inherit privately from noncopyable
17811         * layout.h: ditto
17812         * lyx_gui.h: ditto
17813         * lyx_main.h: ditto
17814         * lyxlex.h: ditto
17815         * lyxlex_pimpl.h: ditto
17816
17817         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17818         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17819         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17820
17821         * LyXAction.h: inherit privately from noncopyable, add methods
17822         func_begin, func_end, returning iterators to the func map.
17823
17824         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17825         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17826         (func_begin): new method
17827         (func_end): new method
17828
17829         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17830         and not)
17831         (copySelection): ditto
17832         (pasteSelection): ditto
17833
17834         * BufferView.C: whitespace change
17835         * BufferView.h: inherit privately from noncopyable
17836
17837 2001-04-16  Allan Rae  <rae@lyx.org>
17838
17839         * tabular-old.C (l_getline):
17840         * spellchecker.C (sc_check_word):
17841         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17842         an unrecognised preprocessor directive.  So ensure they're wrapped.
17843
17844 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
17845
17846         * src/exporter.C (Export): Give an error message when path to file
17847         contains spaces.
17848
17849 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
17850
17851         * LaTeX.C (deplog): Always check that foundfile exists.
17852
17853 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17854
17855         * lyx_main.h:
17856         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17857
17858 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17859
17860         * tabular.[Ch] (getLabelList): implement new method
17861
17862         * minibuffer.h: comment ouf setTiimer
17863
17864         * minibuffer.C (ExecutingCB): constify res
17865         (peek_event): constify s
17866         (Set): constify ntext
17867         (Init): constify nicename
17868
17869         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17870
17871         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17872         (savePosition): use two params to Minibuffer::Set
17873         (restorePosition): ditto
17874
17875 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17876
17877         * lyx_main.C: include language.h
17878
17879         * Makefile.am (lyx_main.o): add language.h
17880
17881 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17882
17883         * exporter.C:
17884         * paragraph.C:
17885         * screen.C:
17886         * tabular.C:
17887         * CutAndPaste.C: include gettext.h
17888
17889         * lyxfont.h: remove old hack with ON and OFF.
17890
17891         * lyxparagraph.h:
17892         * lyxfont.h: do not include language.h...
17893
17894         * BufferView2.C:
17895         * LaTeXFeatures.C:
17896         * Painter.C:
17897         * bufferview_funcs.C:
17898         * font.C:
17899         * lyxfont.C:
17900         * text.C:
17901         * text2.C:
17902         * trans_mgr.C:
17903         * paragraph.C: ... but do it here instead
17904
17905 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17906
17907         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17908
17909         * tabular.C: small reformat
17910
17911         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17912         NEW_INSETS version
17913         (GetChar): ditto
17914         (BreakParagraph): ditto
17915         (SetOnlyLayout): ditto
17916         (SetLayout): ditto
17917
17918         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17919         with one arg less.
17920
17921         * lastfiles.C: removed most using decl, add std:: where needed
17922
17923         * buffer.C: ws changes
17924
17925         * MenuBackend.C (class compare_format): put into anon namespace
17926         (expand): constify label, names, action, action2
17927         (expand):
17928
17929         * text.C (SingleWidth): constify font
17930         (IsBoundary): constify rtl2
17931         (GetVisibleRow): constify ww
17932
17933         * LaTeX.C (deplog): constify logfile
17934
17935         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17936         start_x, end_x
17937         (workAreaExpose): constify widthChange, heightChange
17938
17939         * lyxrow.C (par): moved
17940         (height): moved
17941         (next): moved
17942         * lyxrow.h: as inlines here
17943
17944         * lyxfont.h (shape): moved from lyxfont.C
17945         (emph): moved from lyxfont.C
17946
17947         * lyxfont.C (LyXFont): use initialization list for all
17948         constructors
17949         (shape): move to lyxfont.h as inline
17950         (emph): move to lyxfont.h as inline
17951
17952
17953 2001-04-04  Juergen Vigna  <jug@sad.it>
17954
17955         * vspace.C: had to include stdio.h for use of sscanf
17956
17957 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
17958
17959         * BufferView.h:
17960         * BufferView_pimpl.h: remove xforms cruft. Both classes are
17961         independent of xforms.
17962
17963 2001-04-02  Juergen Vigna  <jug@sad.it>
17964
17965         * spellchecker.C: fixed namespace placing!
17966
17967 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
17968
17969         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17970         the LyXParagraph * is 0.
17971
17972 2001-03-29  Juergen Vigna  <jug@sad.it>
17973
17974         * vspace.C: added support for %, c%, p%, l%.
17975         (stringFromUnit): added helper function.
17976         (asLatexString): changed to give right results for the %-values.
17977
17978         * buffer.C: convert the widthp in a width%.
17979
17980 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
17981
17982         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17983         figureForm.[Ch].
17984
17985         * figureForm.[Ch]: stripped the FD_from_figure manipulation
17986         code out of lux_cb.[Ch], ready for its (imminent?) removal.
17987
17988         * lyx_cb.[Ch]: see above.
17989
17990         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17991         form1.[Ch].
17992
17993         * form1.[Ch]:
17994         * lyx.[Ch]: replaced by figure_form.[Ch].
17995
17996         * lyx_gui.C:
17997         * lyx_gui_misc.C:
17998         * lyxfunc.C: changed headers associated with above changes.
17999
18000 2001-03-27  Juergen Vigna  <jug@sad.it>
18001
18002         * BufferView_pimpl.C: set the temporary cursor right!
18003
18004 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
18005
18006         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
18007
18008 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
18009
18010         * LString.h: removed "using std::getline"!
18011
18012         * BufferView_pimpl.C (Dispatch): changes due to changes in
18013         InsetInclude::Params.
18014
18015         * buffer.C (tag_name): removed redundant break statements as they were
18016         producing lots of warnings with my compiler.
18017
18018 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18019
18020         * LString.h: add "using std::getline" when using the real <string>.
18021
18022 2001-03-23  Jos�Ab�io Matos  <jamatos@fep.up.pt>
18023
18024         * buffer.C: removed bitset usage.
18025         PAR_TAG moved to an anonymous name space.
18026         (tag_name): new funtion, also in the anonymous namespace.
18027         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
18028         (makeDocBookFile): clean code. Completed transition from string arrays
18029         to string vectors.
18030         (SimpleDocBookOnePar): code clean.
18031
18032 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18033
18034         * tabular.C: add some comments.
18035
18036 2001-03-22  Juergen Vigna  <jug@sad.it>
18037
18038         * buffer.C (parseSingleLyXformat2Token): redone the minipage
18039         compatibility read a bit and fixed bug with minipage in different
18040         depth.
18041
18042 2001-03-21  Jos�Ab�io Matos  <jamatos@fep.up.pt>
18043
18044         * buffer.C (pop_tag): removed.
18045         (push_tag): removed.
18046         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
18047         array replaced with vector. Added support for CDATA sections.
18048         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
18049         at any nest level.
18050         (makeDocBookFile): XML conformant declaration of CDATA section,
18051         fixed bug related to <emphasis> in the first paragraph char.
18052         (sgmlOpenTag): exclude empty tags.
18053         (sgmlCloseTag): ditto.
18054
18055         * buffer.h (pop_tag): removed.
18056         (push_tag): removed.
18057
18058 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
18059
18060         * language.h (Languages): added size_type and size().
18061
18062 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18063
18064         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
18065         response on compability reading of minipages. One probliem is that
18066         the old usage of minipages was flertydig
18067
18068         * several files here and in subdirs: don't use static at file
18069         scope use anon namespaces instead.
18070
18071 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
18072
18073         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
18074         LaTeX output. This is necessary for Literate document
18075         processing.
18076
18077 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18078
18079         * buffer.C: insert hfill when needed.
18080
18081         * tabular.C (l_getline): use string::erase, small whitespace change.
18082
18083         * BufferView_pimpl.C: try the anon namespace.
18084         * WorkArea.C: ditto
18085
18086 2001-03-16  Juergen Vigna  <jug@sad.it>
18087
18088         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
18089         otherwise it won't open options-dialogs.
18090
18091         * buffer.C: honor pextraWidth(p) on converting minipages.
18092
18093         * tabular.C (l_getline): changed the functions to strip trailing \r.
18094
18095 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
18096
18097         * BufferView_pimpl.C:
18098         * minibuffer..C: added "using SigC::slot" declaration.
18099
18100 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18101
18102         * lyxlex_pimpl.h: noncopyable is in namespace boost.
18103
18104         * text2.C: ditto
18105
18106         * text.C: ditto
18107
18108         * paragraph.C: ditto
18109
18110         * lyxtext.h: NO_PEXTRA
18111
18112         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
18113
18114         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
18115         * ParameterStruct.h: ditto
18116         * ParagraphParameters.h: ditto
18117         * lyxparagraph.h: ditto
18118
18119 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18120
18121         * buffer.C: add compability for minipage alignment.
18122         (latexParagraphs): remove unwanted pextra check.
18123
18124         * several files: remove CXX_WORKING_NAMESPACES
18125
18126         * buffer.C (pop_tag): tie is in namespace boost
18127
18128         * BufferView.h: noncopyable is in namespace boost
18129         * lyxlex.h: ditto
18130         * lyx_main.h: ditto
18131         * lyx_gui.h: ditto
18132         * layout.h: ditto
18133         * lastfiles.h: ditto
18134         * bufferlist.h: ditto
18135         * ShareContainer.h: ditto
18136         * LyXView.h: ditto
18137         * LyXAction.h: ditto
18138         * LaTeX.h: ditto
18139
18140 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
18141
18142         * Merging changes from BRANCH_MVC back into HEAD.
18143
18144         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
18145
18146 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
18147
18148         * BufferView_pimpl.C: change from intl.C
18149
18150         * combox.h:
18151         * combox.C:
18152         * Makefile.am: move combox.*
18153
18154         * form1.h:
18155         * form1.C:
18156         * lyx_gui.C:
18157         * intl.h:
18158         * intl.C: remove dialog (covered by prefs)
18159
18160 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
18161
18162         * lyxfunc.C (Dispatch): removed redundant break statement.
18163
18164 2001-03-14  Juergen Vigna  <jug@sad.it>
18165
18166         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
18167
18168 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18169
18170         * buffer.C: add hack to fix compability reading of minipages.
18171
18172 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
18173
18174         * buffer.C (getLists): Cleanup.
18175
18176 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18177
18178         * lyxfont.C (update): don't honor toggleall on font size.
18179
18180 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
18181
18182         * bmtable.c:
18183         * bmtable.h:
18184         * Makefile.am: moved to frontends/xforms/
18185
18186         * lyx_gui_misc.C:
18187         * lyxfunc.C:
18188         * BufferView_pimpl.C: changes for moved mathpanel
18189
18190 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
18191
18192         * gettext.h: fix gettext_init() in --disable-nls
18193
18194 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18195
18196         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
18197
18198 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
18199
18200         * lyx.C:
18201         * lyx.h: strip external form
18202
18203 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
18204
18205         * BufferView_pimpl.C: add comment, destroySplash()
18206
18207 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
18208
18209         * BufferView_pimpl.C:
18210         * LyXAction.C:
18211         * buffer.C:
18212         * commandtags.h:
18213         * lyxfunc.C: use re-worked insetinclude
18214
18215 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18216
18217         * buffer.C: add using std::stringstream.
18218
18219         * lyx_cb.C: readd using std::ios.
18220
18221         * buffer.C: add using std::map.
18222
18223         * BufferView_pimpl.C: add using std::vector.
18224
18225         * ShareContainer.h: add std:: to swap.
18226
18227         * buffer.h: add some typedefs
18228         * buffer.C (getLists): use them
18229         (getLists): renamed from getTocList.
18230         add a counter for the different float types and use it in the
18231         generated string.
18232         (getLists): use the same counter for the NEW_INSETS and the "non"
18233         NEW_INSETS
18234
18235         * lyx_cb.h: remove unused items, includes, using etc.
18236
18237         * ShareContainer.h: remove some commented code, add more comments
18238         and "documentation".
18239
18240 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18241
18242         * buffer.C (getTocList): make the list also when NEW_INSETS is
18243         defined.
18244
18245         * buffer.h: remove TocType
18246
18247         * buffer.C (getTocList): change to return a map<string,
18248         vector<TocItem> >, implement for dynamic number of list.
18249
18250         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
18251         * text2.C (PasteSelection): adjust
18252         * CutAndPaste.C (pasteSelection): adjust
18253
18254         * FloatList.C (FloatList): update from the new_insets branch.
18255         * Floating.[Ch]: ditto
18256         * LaTeXFeatures.C: ditto
18257         * buffer.C: ditto
18258         * lyxlex_pimpl.C: ditto
18259
18260         * paragraph.C (Last): remove when NEW_INSETS is defined.
18261
18262         * other file: changes because of the above.
18263
18264 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18265
18266         * lyxparagraph.h: rename next to next_, previous to previous_,
18267         make them private for NEW_INSETS. Rename Next() to next(),
18268         Previous() to previous().
18269
18270         * other files: changes because of the above.
18271
18272 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
18273
18274         * BufferView.h:
18275         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
18276         problem.
18277
18278 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18279
18280         * main.C (main): pass lyx_localedir to gettext_init().
18281
18282         * gettext.h: remove locale_init and gettext_init macros
18283
18284         * gettext.C (locale_init): new function
18285         (gettext_init): new function
18286
18287         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
18288         setlocale().
18289
18290 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
18291
18292         * Moved credits to frontends:
18293         * credits.[Ch]: removed
18294         * credits_form.[Ch]: removed
18295         * lyx_gui_misc.C: remove credits stuff
18296         * Makefile.am:
18297
18298 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18299
18300         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
18301
18302         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
18303         unneeded destructor.
18304
18305         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
18306         a standalone pointer again.
18307
18308         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
18309
18310 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
18311
18312         * Makefile.am:
18313         * filedlg.h:
18314         * filedlg.C:
18315         * LyXAction.C:
18316         * ToolbarDefaults.C:
18317         * bufferlist.C:
18318         * commandtags.h:
18319         * form1.C:
18320         * form1.h:
18321         * lyx_cb.C:
18322         * lyx_cb.h:
18323         * lyxfunc.h:
18324         * lyxfunc.C:
18325         * BufferView_pimpl.C: use new file dialog in GUII
18326
18327         * lyx_cb.h:
18328         * lyx_cb.C: remove LayoutsCB to Toolbar
18329
18330 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18331
18332         * ShareContainer.h (get): add std:: qualifier
18333
18334 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18335
18336         * ShareContainer.h: define a proper ShareContainer::value_type
18337         type (and use typename to please compaq cxx)
18338
18339 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18340
18341         * lyxparagraph.h: move serveral local vars to
18342         ParameterStruct/ParagraphParameters., use ShareContainer in
18343         FontTable., make vars in FontTable private and add getter and
18344         setter.
18345
18346         * paragraph.C: changes because of the above.
18347
18348         * lyxfont.h: remove copy constructor and copy assignment. (the
18349         default ones is ok), move number inside FontBits. move inlines to
18350         lyxfont.C
18351
18352         * lyxfont.C: add number to initializaton of statics, move several
18353         inlines here. constify several local vars. some whitespace
18354         cleanup. Dont hide outerscope variables.
18355
18356         * Spacing.h: add two new constructors to match the set methods.
18357
18358         * ShareContainer.h: new file, will perhaps be moved to support
18359
18360         * ParameterStruct.h: new file
18361
18362         * ParagraphParameters.h: new file
18363
18364         * ParagraphParameters.C: new file
18365
18366         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
18367         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
18368
18369         * BufferView_pimpl.C: ParagraphParameter changes.
18370         * buffer.C: Likewise.
18371         * bufferview_funcs.C: Likewise.
18372         * text.C: Likewise.
18373         * text2.C: Likewise.
18374
18375 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18376
18377         * lyxfind.C (LyXReplace): do not redefine default argument in
18378         implementation.
18379         (IsStringInText): ditto
18380         (SearchForward): ditto
18381         (SearchBackward): ditto
18382
18383 2001-03-06  Juergen Vigna  <jug@sad.it>
18384
18385         * lyxfind.C (IsStringInText): put parentes around expressions.
18386
18387 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
18388
18389         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
18390
18391 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
18392
18393         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
18394
18395         * stl_string_fwd.h: add comment
18396
18397         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
18398
18399         * tabular.h:
18400         * tabular.C: remove unused DocBook methods
18401
18402         * intl.C:
18403         * language.C:
18404         * paragraph.C:
18405         * buffer.C:
18406         killed DO_USE_DEFAULT_LANGUAGE
18407
18408 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18409
18410         * lyx_gui.C: do not include language.h.
18411
18412         * bufferview_funcs.C (ToggleAndShow): do not provide optional
18413         arguments in function implementation.
18414
18415 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18416
18417         * BufferView_pimpl.C: add <ctime>
18418
18419 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18420
18421         * BufferView_pimpl.C: add using std::find_if
18422
18423 2001-02-27  José Matos  <jamatos@fep.up.pt>
18424
18425         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18426         by OnlyPath.
18427
18428 2001-02-11  José Matos  <jamatos@fep.up.pt>
18429
18430         * buffer.C (makeDocBookFile): command styles now have a parameter as
18431         "title" by default.
18432
18433 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
18434
18435         * layout_forms.[Ch]: removed
18436         * lyx_cb.[Ch]: out character
18437         * lyx_gui.C: out character
18438         * lyx_gui_misc.C: out character
18439         * bufferview_funcs.C: : out character,
18440         added toggleall as parameter in ToggleAndShow
18441
18442 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
18443
18444         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18445
18446         * text2.C (SetCurrentFont): Disable number property at boundary.
18447
18448 2001-02-26  Juergen Vigna  <jug@sad.it>
18449
18450         * lyxfunc.C (getStatus): added a string argument override function so
18451         that this is correctly called from LyXFunc::Dispatch if it contains a
18452         do_not_use_argument which is used!
18453         (Dispatch): added check for "custom" export and call appropriate func.
18454
18455 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
18456
18457         * lyxrc.C: Add language_command_local, language_use_babel and
18458         language_global_options.
18459
18460         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18461
18462         * buffer.C (makeLaTeXFile): Use language_use_babel and
18463         language_global_options.
18464
18465 2001-02-23  Juergen Vigna  <jug@sad.it>
18466
18467         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18468         which works with LyXText and putted it inside BufferView. Here now we
18469         only call for that part the BufferView::Dispatch() function.
18470
18471         * BufferView.C (Dispatch): added.
18472
18473         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18474         functions which needs to use a LyXText over from LyXFunc.
18475         (MenuInsertLyXFile): added
18476         (getInsetByCode): added
18477         (moveCursorUpdate): added
18478         (static TEXT): added
18479
18480 2001-02-22  Juergen Vigna  <jug@sad.it>
18481
18482         * BufferView_pimpl.C (update): call a status update to see if LyXText
18483         needs it.
18484
18485 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18486
18487         * vc-backend.C (revert): implement for CVS
18488         (getLog): implement for CVS
18489
18490 2001-02-20  Juergen Vigna  <jug@sad.it>
18491
18492         * text2.C (ClearSelection): added BufferView param for inset_owner call
18493
18494         * lyxfunc.C (TEXT): added this function and use it instead of
18495         directly owner->view()-text of getLyXText().
18496
18497 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
18498
18499         * src/layout_forms.C: out preamble
18500         * src/layout_forms.h: out preamble
18501         * src/lyx_cb.C: out preamble
18502         * src/lyx_cb.h: out preamble
18503         * src/lyx_gui.C: out preamble
18504         * src/lyx_gui_misc.C: out preamble
18505         * src/lyxfunc.C: connect with guii preamble
18506
18507 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
18508
18509         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18510
18511 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
18512
18513         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18514         whether to run bibtex.
18515
18516 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
18517
18518         * Makefile.am (lyx_SOURCES): Remove BackStack.h
18519
18520 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
18521
18522         * Makefile.am (lyx_SOURCES): removed bibforms.h
18523
18524         * vspace.h: doxygen
18525
18526         * text.C (GetVisibleRow): make several local vars const
18527
18528         * tabular.C: small cleanup.
18529
18530         * lyxserver.C (callback): use compare instead of strncmp
18531
18532         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18533         inlines to after class or to paragraph.C
18534
18535         * lyxfont.h: remove friend operator!=
18536
18537         * converter.h: move friend bool operator< to non friend and after
18538         class def.
18539
18540         * combox.h: small cleanup
18541
18542         * buffer.h: doxygen, remove unused constructor, move inclas inlies
18543         to inlines after class def.
18544
18545         * buffer.C (pop_tag): use string operations instead of strcmp
18546
18547         * bmtable.c: doxygen, small cleanup
18548
18549         * LaTeX.h: remove friend operator==
18550
18551 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
18552
18553         * screen.C:
18554         * lyxrc.[Ch]:
18555         * lyxfunc.C:
18556         * lyxfont.[Ch]:
18557         * lyx_cb.C:
18558         * intl.[Ch]:
18559         * commandtags.h:
18560         * buffer.C:
18561         * WorkArea.[Ch]:
18562         * LyXAction.C:
18563         * BufferView_pimpl.C:
18564         * BufferView.[Ch]: remove cruft
18565
18566 2001-02-14  Juergen Vigna  <jug@sad.it>
18567
18568         * lyxfunc.C: removed #if 0 unused code
18569
18570         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18571
18572         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18573
18574         * text2.C (SetSelection): added a BufferView * parameter
18575
18576 2001-02-13  Juergen Vigna  <jug@sad.it>
18577
18578         * lyxfunc.C (Dispatch): fixed protected blank problem.
18579         * BufferView2.C (protectedBlank): added LyxText * parameter.
18580
18581         * tabular.C (AppendRow): forgot to set row_info of newly added row.
18582         (AppendColumn): same as above for column_info.
18583
18584         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18585         (moveCursorUpdate): use a LyXText param for support of InsetText.
18586
18587         * BufferView_pimpl.C (doubleClick): added support for InsetText.
18588         (tripleClick): ditto
18589
18590         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18591
18592         * BufferView_pimpl.C (update): added LyXText param to honor insets.
18593
18594         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18595
18596         * text2.C (SetSelection): set correct update status if inset_owner
18597         (ToggleFree): ditto
18598
18599 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
18600
18601         * tabular.C: remove some commented code.
18602
18603 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
18604
18605         * BufferView_pimpl.C: call hideSplash()
18606
18607         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18608
18609         * include_form.h:
18610         * bibforms.h: remove
18611
18612         * lyxfunc.C:
18613         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18614           add LFUN_CHILD_CREATE
18615
18616         * counters.h: fix tiny typo
18617
18618         * lyx_cb.C:
18619         * lyx.h:
18620         * lyx_gui.C:
18621         * lyx.C: move splash to frontends/xforms/
18622
18623         * lyx_gui_misc.C: move Include and Bibform to frontends
18624
18625         * lyxvc.h: clarify comment
18626
18627         * vspace.C: tiny housekeeping
18628
18629 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
18630
18631         * text.C (PrepareToPrint): RTL Fix.
18632
18633         * paragraph.C (GetUChar): New method.
18634         (String):  Use GetUChar.
18635
18636         * buffer.C (asciiParagraph): Use GetUChar.
18637
18638 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
18639
18640         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18641
18642 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
18643
18644         * buffer.h:
18645         * buffer.C: rename to getLogName(), handle
18646           build log / latex log nicely
18647
18648 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18649
18650         * MenuBackend.C:
18651         * MenuBackend.h: remove support for reference menuitem type.
18652
18653 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
18654
18655         * BufferView_pimpl.C: housekeeping
18656         * BufferView_pimpl.h:
18657         * LyXView.h:
18658         * Makefile.am:
18659         * Timeout.C:
18660         * Timeout.h:
18661         * minibuffer.h: move Timeout GUI-I
18662
18663 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
18664
18665         * lyxrc.C (read): Update converters data-structures.
18666
18667 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
18668
18669         * LaTeX.h (operator!=): add operator != for Aux_Info
18670
18671 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
18672
18673         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18674
18675         * LaTeXLog.C: deleted, useful code moved to Buffer
18676
18677         * buffer.h:
18678         * buffer.C: new function getLatexLogName()
18679
18680         * lyx_gui_misc.C:
18681         * lyx_gui.C:
18682         * lyxvc.C:
18683         * lyxvc.h:
18684         * lyxfunc.C: use frontends for LaTeX and VC logs
18685
18686 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18687
18688         * LaTeX.h: yet another std:: that Allan forgot.
18689
18690         * Variables.C (set): renamed from isset(), because this clashes
18691         with some HP-UX macros (grr).
18692
18693 2001-02-06  Allan Rae  <rae@lyx.org>
18694
18695         * LaTeX.h: Another bug fix.  Missing std:: this time.
18696
18697 2001-02-04  Allan Rae  <rae@lyx.org>
18698
18699         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18700         floats problem. I've left it commented out because it's not quite
18701         correct.  It should also test that the current object is a table or
18702         figure inset.  But I haven't gotten around to figuring out how to do
18703         that.  I *think* it'll be something like: "table" == inset.type()
18704
18705         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18706         bool.
18707
18708 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
18709
18710         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18711         all the citation/databases/styles in the auxilary file.
18712         (run): Rerun latex if there was a babel language error.
18713
18714 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
18715
18716         * text.C (Backspace): Preserve the font when changing newline char
18717         with a space.
18718         (BreakParagraph): If the cursor is before a space, delete the space.
18719
18720         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18721
18722 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
18723
18724         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18725         new argument (code).
18726         (ChangeCitationsIfUnique): New method.
18727
18728         * paragraph.C (GetPositionOfInset): Handle bibkey.
18729
18730 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18731
18732         * BufferView_pimpl.h: change type of Position::par_pos to
18733         LyXParagraph::size_type.
18734
18735 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
18736
18737         * BufferView_pimpl.C (savePosition, restorePosition): Write
18738         messages to minibuffer.
18739
18740 2001-01-28  José Matos  <jamatos@fep.up.pt>
18741
18742         * buffer.C (makeDocBookFile): adds support for document language.
18743         A silly restriction on the name of LatexCommand types where removed.
18744         Added support for CDATA sections, allows to chars unescaped, used
18745         among others in code, to avoid escape < and >.
18746
18747 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18748
18749         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18750         saved positions instrad of a stack. Furthermore, a position is
18751         stored using paragraph id/paragraph position.
18752
18753         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18754         Remove LFUN_REF_BACK.
18755
18756 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18757
18758         * converter.C (dvipdfm_options): New method.
18759
18760 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
18761
18762         * vspace.C (isValidLength): Fix for empty input string.
18763
18764 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18765
18766         * LyXAction.C (init): change description of LFUN_FIGURE to
18767         "Insert Graphics"
18768
18769 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18770
18771         * LaTeX.C: add using directive
18772
18773 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18774
18775         * MenuBackend.C (expand): Fix the sorting of the formats.
18776
18777 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
18778
18779         * lyx_main.C: tiny error message fix
18780
18781 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18782
18783         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18784         calling fl_initialize(). This fixes the problem with ',' as
18785         decimal separator in text files.
18786
18787 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18788
18789         * trans.C (process): Fix the keymap bug.
18790
18791 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
18792
18793         * LaTeX.C (scanAuxFiles): New method. Provides support for
18794         multiple bibliographies (when using the bibtopic/bibunits pacakges).
18795         (scanLogFile) Scan for "run BibTeX" messages.
18796
18797         * buffer.C (makeLaTeXFile): Do not load the ae package when using
18798         OT1 font encoding. Also, load the aecompl package if the ae
18799         package is loaded.
18800
18801         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18802
18803 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18804
18805         * texrow.C (increasePos): turn two error messages into debug
18806         messages.
18807
18808 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
18809
18810         * LaTeX.C (scanAux): Handle the \@input macro.
18811         (runBibTeX): Use scanAux().
18812
18813         * language.C (latex_options_): New field.
18814
18815         * LaTeXFeatures.C (getMacros): Add language macros.
18816
18817         * buffer.C (makeLaTeXFile): Small fix.
18818
18819 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18820
18821         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18822
18823         * text2.C: add a using directive.
18824
18825 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
18826
18827         * BufferView2.C:
18828         * lyx_gui_misc.h:
18829         * lyxfr1.C:
18830         * lyxfunc.C: kill LyXBell.
18831
18832 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
18833
18834         * text.C (IsBoundary): Remove the error message
18835
18836         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18837
18838         * lyxrc.C (setDefaults): Correct initialization value for
18839         font_norm_type.
18840
18841 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
18842
18843         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18844         gotoError().
18845
18846         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18847         and GotoNextNote().
18848
18849         * src/LyXAction.C: Added reference-next.
18850
18851         * text.C (InsertChar): Use contains instead of strchr.
18852
18853         * lyx_cb.C (MenuInsertLabel): Enable default value code.
18854
18855 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
18856
18857         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18858         alignment commands (when needed).
18859
18860         * text.C (InsertChar): Add ':' to number separator chars.