]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
1c0e9aac38e23eac0198ef85f2c8ae3e875a7cc7
[lyx.git] / src / ChangeLog
1 2006-03-16  John Spray  <spray@lyx.org>
2
3         * lyxfunc.C (getStatus): disable LFUN_MENUWRITE when document is
4         clean (bug 2313)
5
6 2006-03-15  Martin Vermeer  <martin.vermeer@hut.fi>
7
8         * CutAndPaste.C (pasteSelectionHelper): comments
9         * paragraph_funcs.C (mergeParagraph): fix Juergen's cut&paste bug
10         * changes.h: comments
11         * paragraph.C (stripLeadingSpaces): remove unnecessary setChange
12         * text.C (backspace): allow deletion of inserted para break
13         Change tracking -related bug fixes (reported by Juergen) and 
14         some documentation work
15
16 2006-03-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
17
18         * MenuBackend.C (expand): make sure the menu is empty before
19         starting. 
20
21         * MenuBackend.h (clear): new method.
22
23 2006-03-13  Martin Vermeer  <martin.vermeer@hut.fi>
24
25         * rowpainter.C (paintChangeBar): fix painting of change bar with
26         only paragraph break changed
27
28 2006-03-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
29
30         * lyx_cb.C (Reconfigure): run lib/configure.py, not lib/configure
31         * lyx_main.C (reconfigureUserLyXDir): run ditto
32
33 2006-03-12  Martin Vermeer  <martin.vermeer@hut.fi>
34
35         * lyxtext.h: doxygen documentation fix
36
37 2006-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
38
39         * paragraph.[Ch] (write, lookupChange, lookupChangeFull;
40         added setChangeFull):
41         * paragraph_pimpl.[Ch] (trackChanges, cleanChanges, acceptChange,
42         rejectChange, erase; added setChangeFull):
43         * CutAndPaste.C (eraseSelectionHelper):
44         * lyxtext.h:
45         * text.C (readParToken, readParagraph, breakParagraph,
46         acceptChange, rejectChange, backspace, currentState; 
47         added backspacePos0):
48         * paragraph_funcs.C (breakParagraphConservative, mergeParagraph):
49         * lyxfind.C (findChange, findNextChange): fix bug 880: Change
50         tracked paragraphs should still allow a paragraph split (and related
51         things, i.e., multi-paragraph change tracking)
52
53 2006-03-10  Martin Vermeer  <martin.vermeer@hut.fi>
54
55         * BufferView_pimpl.C: fix bug 2212: First change is skipped is
56         "Merge changes..." dialog
57
58 2006-03-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
59
60         * bufferparams.C (writeLaTeX): define \labelitemi with \def. Fixes LaTeX 
61         error if the class has not defined them yet (bug 2053).
62
63 2006-03-10  Martin Vermeer  <martin.vermeer@hut.fi>
64
65         * BufferView.[Ch]:
66         * BufferView_pimpl.[Ch]: 
67         * LyXAction.C:
68         * debug.[Ch]:
69         * rowpainter.C:
70         * text3.C: Inside-inset speedup, esp. for the Mac (bug 2195)
71
72 2006-03-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
73
74         * pch.h: fix nullstream.hpp location for boost 1.33.0
75
76 2006-03-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
77
78         * pch.h:
79         * support/pch.h:
80         * support/debugstream.h: Use the correct nullstream.
81
82 2006-02-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
83
84         * text3.C (mathDispatch): fix math inset creation from string (bug 2315)
85
86 2006-02-28  Martin Vermeer  <martin.vermeer@hut.fi>
87
88         * cursor.C (niceInsert): fix (properly) insertion of
89         fonts/decorations around selection
90
91 2006-02-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
92
93         * lyxfont.C (lyxWriteChanges): Don't write \lang latex
94
95 2006-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
96
97         * text3.C (mathDispatch): fix crash when selection is not empty
98         but selectionAsString is empty (bug 2321).
99
100 2006-02-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
101
102         * text.C (changeCase): avoid crash in empty paragraph or on last
103         word of the paragraph. (buf 2323)
104         (cursorRightOneWord): fix the logic to stop at a beginning of a word.
105
106 2006-02-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
107
108         * buffer.C (readHeader): also erase params.preamble in advance
109         so that an empty preamble is actually recognized (bug 2317).
110
111         * rowpainter.C (paintFromPos): ditch applyOuterFont (bug 2308).
112
113 2006-02-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
114
115         * text2.C (deleteEmptyParagraphMechanism): 64bit compile fix
116
117 2006-02-05  Martin Vermeer  <martin.vermeer@hut.fi>
118
119         * buffer.C:
120         * bufferparams.[Ch]:
121         * lyxtext.h:
122         * paragraph.[Ch]:
123         * paragraph_funcs.C
124         * rowpainter.C:
125         * text.C:
126         * text2.C:
127         * text3.C: Fix bug 2115: blue language lines (for default font)
128         popping up when the documnent font is different. This includes work
129         by Georg Baum.
130
131 2006-02-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
132
133         * exporter.C (Backends): Add "lyx" backend
134         * exporter.C (Export): Handle "lyx" backend
135         * graph.C (getReachable): Don't exclude "lyx"
136         * MenuBackend.C (expandFormats): exclude "lyx" from export menu
137
138 2006-02-03  Martin Vermeer  <martin.vermeer@hut.fi>
139
140         * cursor.C (bruteFind2): convert relative to absolute co-ordinates
141         for correct in-mathed positioning
142
143 2006-02-03  Martin Vermeer  <martin.vermeer@hut.fi>
144
145         * rowpainter.C (paintForeignMark): fix foreign blue line under
146         insets
147
148 2006-01-30  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
149
150         * * text2.C (deleteEmptyParagraphMechanism): fix off-by-one error of the start 
151         pit of the uno range (bug 2022).
152
153 2006-01-28  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
154
155         * messages.C (get): Only warn once if setlocale fails (bug 2177)
156
157 2006-01-28  Martin Vermeer  <martin.vermeer@hut.fi>
158
159         * text2.C (setCharFont): take inset's own font settings into account
160         when defining the font to reduce to, fixes 2019
161
162 2006-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
163
164         * bufferview_funcs.C (coordOffset): remove the check for
165         collapsed collapsables (fix for bug 2094). This is now done
166         on a more general level (cursor.C).
167
168         * dociterator.[Ch] (forwardPos): add an optional argument
169         bool "ignorecollapsed" (default false), which lets forwardPos
170         skip collapsed insets.
171
172         * cursor.C (bruteFind): use forwardPos(ignorecollapsed = true)
173         (fixes bug 2241 and 2094).
174
175 2006-01-26  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
176
177         * buffer.C: change tracking (dvipost) doesn't require
178         color.sty anymore.
179
180         * LaTeXFeatures.C (getPackages): no need for the color
181         option "usenames" (bug 2169).
182
183 2006-01-23  Helge Hafting <helge.hafting@aitel.hist.no>
184         * buffer_funcs.C: Trivial fix - added {} around
185         the statements to be affected by a if-test. Now
186         label in a minipage in a float looks ok on screen again.
187
188 2006-01-23  Martin Vermeer  <martin.vermeer@hut.fi>
189
190         * text2.C: fix bug 2015: on screen fonts in nested environments 
191         can be wrong
192
193 2006-01-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
194
195         * converter.C (convert): handle unknown formats
196
197 2006-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
198
199         * cursor.C (goUpDown): comment out some debug messages.
200
201         * counters.C (newCounter): make error messages more explicit
202         (these appear with some textclasses like beamer)
203
204 2006-01-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
205
206         * kbmap.C (defkey): 
207         * lyxfunc.C (processKeySym): make sure new FuncRequest objects
208         have origin set to KEYBOARD. (bug 2221)
209
210 2006-01-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
211
212         * rowpainter.C (isCursorOnRow): do not exclude endpos().
213
214 2006-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
215
216         * cursor.C (macroModeClose): returns true if an inset actually got
217         inserted; revert faulty fix to bug 2034.
218
219 2006-01-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
220
221         * tabular.C (getLabelList): remove (not used anymore).
222
223 2006-01-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
224
225         * outputparams.[Ch]: add new flag inComment
226
227 2006-01-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
228
229         * text2.C (deleteEmptyParagraphMechanism): since we delete a
230         paragraph, recordUndo should span two paragraphs (bug 2155).
231
232 2006-01-01  Martin Vermeer  <martin.vermeer@hut.fi>
233
234         * rowpainter.C (paintPar): always repaint the row with the
235         cursor in it
236
237 2006-01-01  Lars Gullik Bjønnes <larsbj@gullik.net>
238
239         * MenuBackend.h: 
240         * bufferlist.h: 
241         * lyxtext.h: 
242         * paragraph.h:
243         * vspace.h: fix syntax error
244
245 2005-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
246
247         * text3.C (dispatch): Force refresh if typing into inset changes its
248                               metrics
249
250 2005-12-30  Martin Vermeer  <martin.vermeer@hut.fi>
251
252         * RowList_fwd.h:
253         * paragraph.C:
254         * paragraph.h:
255         * rowpainter.C: Speed up rendering by only re-painting rows that
256         have changed. When selection or whole-screen update active, all rows
257         are repainted, as are all rows within insets.
258
259 2005-12-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
260
261         * version.C.in: Use PACKAGE_VERSION instead of VERSION
262
263 2005-12-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
264
265         * tabular.C (toggleFixedWidth): Use default layout of text class
266         instead of hardcoded "Standard"
267
268 2005-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
269
270         * lyxfunc.C (dispatch): do not call getStatus again to determine
271         whether a lfun is disabled (bug 2172).
272
273 2005-12-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
274
275         * cursor.C (macroModeClose): set the cursor inside the new math
276         atom if relevant (think \frac{}{}) (bug 2034)
277
278 2005-12-19  Martin Vermeer  <martin.vermeer@hut.fi>
279
280         * lyxtext.h:
281         * text.C:
282         * text3.C (Delete, backspace): force update when merging paragraphs
283
284 2005-12-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
285
286         * BufferView.C (mouseSetCursor): clear the selection properly (bug
287         2163). 
288
289 2005-12-08  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
290
291         * text.C (redoParagraph): honor inset->noFontChange()
292         * rowpainter.C (paintInset): ditto
293
294 2005-12-15  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
295
296         * lyx_main.C (priv_exec): don't initialize Math on startup 
297         (initMath() has been moved to math_hullinset).
298
299 2005-12-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
300
301         * lyxrc.C: set default_papersize to PAPER_DEFAULT;
302         handle PAPER_DEFAULT in LyXRC::read and LyXRC::write (bug 2148).
303         * paper.h: dispose dead PAPER_PACKAGES enum.
304
305 2005-12-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
306
307         * Makefile.am (OTHERLIBS): add SOCKET_LIBS in case we compile
308         without X support.
309
310 2005-12-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
311
312         * exporter.C (Export): Don't try to copy a file if it does not exist
313         (bug 1888)
314
315 2005-12-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
316
317         * text2.C (makeFontEntriesLayoutSpecific): remove.
318         (setLayout): adapt.
319
320         * text.C (insertChar): remove bogus caching of fonts (did not do
321         anything). 
322
323         * text2.C (LyXText): initialize current_font to ALL_INHERIT (was
324         ALL_SANE). (bug 2146)
325
326 2005-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
327
328         * rowpainter.C (paintFirst): fix centering of
329         LABEL_CENTERED_TOP_ENVIRONMENT. 
330
331 2005-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
332
333         * BufferView.C (mouseSetCursor): new method. Calls
334         deleteEmptyParagraphMechanism if necessary.
335
336         * lyxtext.h: make deleteEmptyParagraphMechanism public.
337
338         * text3.C (dispatch/LFUN_MOUSE_PRESS): use
339         BufferView::mouseSetCursor (bug 2109).
340         (dispatch/LFUN_PASTE): remove #warning that is now irrelevant.
341
342 2005-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>  
343
344         * text3.C (dispatch/LFUN_INDEX_INSERT): when a selection is set,
345         do not remove it (this inset behaves differently from the others).
346
347 2005-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
348
349         Fix bug 2096.
350         
351         * BufferView_pimpl.C (getStatus): it is only possible to insert a
352         file in a text inset.
353
354         * buffer.C (readDocument): remove pit argument and code releated
355         to it; set the inset owner correctly (unrelated, but useful).
356         (readFile): get rid of pit argument.
357
358         * CutAndPaste.C (pasteSelectionHelper): use a ParagraphList and a
359         textclass instead of a selection index.
360         (pasteParagraphList): new function.
361         (pasteSelection): make it a wrapper around pasteParagraphList.
362
363         * BufferView_pimpl.C (MenuInsertLyXFile): use
364         cap::pasteParagraphList to insert a file.
365
366 2005-11-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
367
368         * buffer_funcs.C (bufferErrors): prevent endless loop (bug 2121)
369
370 2005-11-17  Michael Gerz  <michael.gerz@teststep.org>
371
372         * exporter.C: fix typo in text message
373
374 2005-11-28  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
375
376         * text2.C (setLayout): move recUndo call to other setLayout method
377         * tabular.C (toggleFixedWidth): new, handle cell width changes
378         * tabular.C (setColumnPWidth): move some code from insettabular.C here
379         and use toggleFixedWidth
380         * tabular.C (setMColumnPWidth): ditto
381
382 2005-11-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
383
384         * paragraph.C (asString): use new inset->textString method (fix
385         bug 2089) 
386
387 2005-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
388
389         * CutAndPaste.C (numberOfSelections): new helper function.
390
391         * lyxfunc.C (getStatus): remove support for LFUN_COPY and LFUN_CUT.
392
393         * text3.C (getStatus): move code for LFUN_CUT and LFUN_COPY from
394         LyXFunc::getStatus; implement LFUN_PASTE.
395
396 2005-11-17  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
397
398         * dociterator.[Ch]: new member realInset() that returns the cell
399         for tabulars and the inset for the rest (bug 1952).
400         * undo.C (textUndoOrRedo): use realInset when resetting insetOwner
401         (bug 1952).
402
403 2005-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
404
405         * text.C (leftMargin): honor the NextNoIndent tag in layouts.
406
407 2005-11-17  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
408
409         * lyxfunc.C:
410         * paragraph.C:
411         * text3.C: InsetBase::forceDefaultParagraphs now takes a cell as
412         argument.
413
414 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
415
416         * text.C (redoParagraph): Fix bug 1966: cursor doesn't go to next
417         line after typing ctrl-enter
418
419 2005-11-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
420
421         * bufferview_funcs.C (coordOffset): fix the fix for bug 2094, as
422         math insets do not return a proper editable() state yet (bug 2124).
423
424 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
425
426         * BufferView_pimpl.[Ch]: Fix bug 1814: better scroll behaviour for 
427         docs containing very large paragraphs.
428
429 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
430
431         * cursor.C (selectionBegin, selectionEnd):
432         * text.C (drawSelection): Fix bug 2115: assertion when anchor and 
433         cursor at different depths.
434
435 2005-11-03  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
436
437         * bufferview_funcs.C (coordOffset): do not call cursorPos
438         for collapsed collapsables (fix bug 2094).
439
440 2005-11-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
441
442         * paragraph.C (fontSpan): make sure that the FontSpan does not
443         span across beginOfBody (bug 1947).
444
445 2005-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
446
447         * lyxlength.h: undefine macros that clash with solaris/x86 (bug 992)
448
449 2005-11-03  Michael Gerz  <michael.gerz@teststep.org>
450
451         * messages.C: fix crash and localization on MinGW/Windows platform
452
453 2005-11-02  Angus Leeming  <leeming@lyx.org>
454
455         * Bidi.C:
456         * lyxtextclass.C: trivial fixes to some MSVS warnings.
457
458 2005-10-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
459
460         * text3.C (getStatus): re-enable disabled code. (bug 2081)
461
462         * BranchList.h (empty): constify.
463
464 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
465
466         * text3.C (getStatus): 
467         * MenuBackend.C (expandBranches): take the branch list from the
468         master document (bug 2092).
469         
470         * MenuBackend.C (expandBranches): 
471         * bufferparams.C (writeFile): use BranchList type.
472
473 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
474
475         * text3.C (dispatch, getStatus): 
476         * LyXAction.C (init): 
477         * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
478
479 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
480
481         * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
482
483 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
484
485         * text.C (insertChar): do not reset boundary (bug 2061)
486
487 2005-10-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
488
489         * dociterator.C (updateInsets): new method. Updates the inset_
490         cache of all the slices of the iterator.
491
492         * text2.C (deleteEmptyParagraphMechanism): compare also containing
493         insets when comparing pit/pos; pass the right cursor to
494         recordUndo; when a paragraph has been deleted, compare `old.top()' to
495         the right cursor slice of `cur'; use updateInsets on cur to make
496         sure that the inset caches are correct; general cleanup.
497
498 2005-10-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
499
500         * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
501         dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
502         containg inset. If this does not work, the same command will be
503         sent to other insets down the queue by LCursor::dispatch. (bug 2066)
504
505         * lyxfunc.C (dispatch): make sure the cursor is correct when doing
506         a dispatch.
507
508 2005-10-20  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
509
510         * lyxtextclass.C (Read): convert layout file if the format is wrong
511         * lyxtextclass.C (layout2layout): new, needed for the above
512
513 2005-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
514
515         * messages.C: do not forget to include <cerrno>.
516
517 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
518
519         * dociterator.h (StableDocIterator): add access to pos().
520         * undo.C (samePar): new method to check if two
521         iterators are in the same paragraph
522         * undo.C (recordUndo): check for samePar instead of cell identity
523         (which includes pos() and is too strict) (fixes bug 2097)
524
525 2005-10-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
526
527         * text.C (setCursorFromCoordinates): return a bool telling whether
528         dEPM triggered.
529
530         * text3.C (cursorPrevious): update if needed after
531         setCursorFromCoordinates (when dEPM triggered).
532
533         * text2.C (cursorDown, cursorUp): make sure to reset the anchor
534         (otherwise the anchor may be completely wrong and make dEPM assert).
535
536 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
537
538         * buffer.C: version upgrade to 245.
539         * bufferparams.C: remove \quotes_times (bug 2090).
540         * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
541         quotation marks as default.
542
543 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
544
545         * CutAndPaste.C (nrOfParagraphs): remove (unused)
546         * CutAndPaste.C (cutSelection): Remove debug message
547         * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
548         undo information and only copy if this is a real cut
549         * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
550         call
551         * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
552         (bug 2059)
553         * CutAndPaste.C (eraseSelection): prevent cursor corruption
554         * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
555         superflous cur.selection() setting
556         * CutAndPaste.[Ch] (grabSelection): take a const cursor
557         * cursor.C (selectionAsString): implement mathed case ((bug 2059)
558
559 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
560
561         * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
562         change anything.
563
564 2005-10-11  Martin Vermeer  <martin.vermeer@hut.fi>
565
566         * BufferView_pimpl.C: comment layout change
567
568 2005-10-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
569
570         * LyXAction.C:
571         * lfuns.h:
572         * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
573         by bibliography managers (bug 2071).
574
575 2005-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
576
577         * BufferView_pimpl.C (update): choose arguments to update call so
578         that single-par update works most times
579         * text3.C (dispatch): carefully tune updating separately for
580         whole-screen and current-paragraph
581         * rowpainter.C (paintText): 1) replace painting by caching for
582         the two extra paragraphs, because we can;
583         2) suppress greying out of areas below/above drawn area in case of
584         single-par refresh
585         * lyxfunc.C (dispatch): remove superfluous update
586         * LyXAction.[Ch]: introduce SingleParUpdate
587
588 2005-10-05  Angus Leeming  <leeming@lyx.org>
589
590         * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
591         always initialised before use.
592
593         * text.C (setHeightOfRow): squash warning about comparison
594         of signed and unsigned types.
595
596 2005-10-03  Martin Vermeer  <martin.vermeer@hut.fi>
597
598         * text.C (cursorX): two fixes involving RtL text drawing
599
600 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
601
602         * cursor.C (erase): fix 'clever' UI hack. It was activated for all
603         items, not only large ones (part of bug 2057)
604
605 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
606
607         * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
608         argument, use "newcommand".
609
610 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
611
612         * cursor.C (setSelection): do not open collapsable insets;
613         the insets do by themselves now (autoopen).
614
615 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
616
617         * buffer.C: format is up to 244.
618
619 2005-09-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
620
621         * text.C (redoParagraph): fix calcultation of inset width wrt 
622         leftMargin (bug 1957).
623
624         * text3.C (dispatch): leave inset to the right when hitting ESC 
625         (bug 2034).
626
627 2005-09-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
628
629         * text2.C: 
630         * text.C: 
631         * factory.C:
632         * messages.C: include <boost/current_function.hpp> 
633
634 2005-09-12  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
635
636         * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
637         when command is internal. (bug 1941)
638
639 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
640
641         * text2.C (cursorRight): do not honor boundary when at the end of
642         a paragraph. (bug 2010 again)
643
644 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
645
646         * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
647
648 2005-09-19  Martin Vermeer  <martin.vermeer@hut.fi>
649
650         * rowpainter.C (paintText): fix RtL space width display bug (2029)
651
652 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
653
654         * text2.C (setCursor): remove the unused 'boundary' parameter for
655         the CursorSlice version; adapt the LCursor version.
656
657         * lyxrc.C (write): 
658         * paragraph_pimpl.C (markErased): 
659         * cursor.C (bruteFind2, bruteFond3): fix warnings.
660
661 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
662
663         * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
664         as is already done for "chapter".
665
666 2005-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
667
668         * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
669         textclass; do not record undo if nothing is changed.
670
671 2005-09-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
672
673         * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
674
675 2005-09-14  Michael Gerz  <michael.gerz@teststep.org>
676
677         * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
678
679 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
680
681         * BufferView_pimpl.C (setBuffer): when one wants to set the layout
682         combox, it is necessary to search for the topmost paragraph in the
683         cursor stack (bug 1926)
684
685 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
686
687         * text2.C (cursorEnd, cursorRight): do not set boundary to true at
688         end of paragraph. (bug 2010)
689
690 2005-09-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
691
692         * text.C (leftMargin): check for inInset == 0
693
694 2005-09-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
695
696         * text.C (leftMargin): test for insetbase's new neverIndent()
697         bool instead of listing each and every inset that does not
698         wish par indendation.
699
700 2005-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
701
702         * buffer_funcs.C (setCounter): put the code to compute enum label
703         here (where it belongs).
704
705         * counters.C (enumLabel): move code to buffer_funcs.C.
706
707 2005-09-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
708
709         * outputparams.[Ch]: store local_font instead of local_language
710         * paragraph.C (simpleTeXOnePar): adapt to the change above
711
712 2005-09-08  Martin Vermeer  <martin.vermeer@hut.fi>
713
714         * buffer_funcs.C:
715         * counters.[Ch]: clean up special code for Hebrew.
716
717 2005-09-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
718
719         * lyxfunc.C (lookupChange): fix code when cursor depth is greater
720         than 2.
721
722 2005-09-08  Angus Leeming  <leeming@lyx.org>
723
724         * ispell.C:
725         * lyxrc.C: correct grammar describing invocation of the
726         spellchecker.
727
728 2005-08-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
729
730         * text.C (read): remove unused variable.
731         (readParToken): remove static Change variable (never good in
732         recursive settings...); add it as a parameter instead.
733
734         * paragraph_pimpl.C (acceptChange): make debug info conditional.
735
736         * metricsinfo.C (PainterInfo): add new member erased_.
737
738         * rowpainter.C (RowPainter): add erased_ member, initialized from
739         PainterInfo. 
740         (paintInset): pass erased_ to Inset::draw.
741
742         * lyxfunc.C (lookupChange): new function. Tells whether change 
743         tracking is disabled at a given postion.
744         (getStatus): disable some actions when in deleted text with change
745         tracking. 
746
747 2005-08-03  John Levon  <levon@movementarian.org>
748         
749         * tabular.C (appendColumn, setMultiColumn): adapt to change to
750         InsetText::clear().
751
752         * paragraph_pimpl.C (markErased): add bool argument and handle it.
753         Also make sure to mark insets recursively.
754         (rejectChange, erase): be recursive
755
756         * paragraph.C (markErased): add bool argument.
757 2005-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
758
759         * lyxfind.C (findNextChange): tiny cleanup.
760
761         * BufferView_pimpl.C (trackChanges): avoid crash when stopping
762         change tracking with the cursor in an inset; make sure the first
763         change is not skipped.
764
765 2005-09-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
766
767         * CutAndPaste.[Ch]: new methods dirtyTabularStack and 
768         tabularStackDirty to work around bug 1919 (tabular needs
769         to know whether its own cell paste buffer or the one of 
770         texted is newer.
771         * CutAndPaste.C: mark tabular_stack_ clean after copy.
772
773 2005-08-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
774
775         * text2.C (cursorEnd): check for empty text (fixes bug 1998)
776
777 2005-08-19  Lars Gullik Bjønnes  <larsbj@gullik.net>
778
779         * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
780         use old deleteion algorithm when changetracking is on.
781
782 2005-08-18  Martin Vermeer  <martin.vermeer@hut.fi>
783
784         * messages.C (get): add debug output.
785
786 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
787
788         * text.C (cursorX): fix bug 1965: cursor movement at
789         line end broken in RtL.
790         (drawSelection): fix bug 1970: drawing of single-line 
791         selection broken for RtL.
792
793 2005-07-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
794
795         bug 465.
796
797         * dociterator.h (clear, push_back, pop_back): change from
798         protected to public.
799
800         * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
801         and changed to just return the value of the item depth; take a
802         ParIterator as argument; take the itemdepth at outer nesting level
803         in account if necessary; cleanup and comment the code.
804         (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
805         and changed to just return true if reset is needed; take a
806         ParIterator as argument; cleanup and comment the code.
807         (setCounter): adapt to above changes.
808
809 2005-07-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
810
811         * text3.C (dispatch): make debug message optional
812
813 2005-08-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
814
815         * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
816         inset. (bug 1963)
817
818 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
819
820         * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
821
822 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
823
824         * text.C (insertChar):
825         * text2.C (deleteEmptyParagraphMechanism): take care whether 
826         a blank has been deleted (in change tracking mode) (bug 1254).
827
828 2005-07-20  John Levon  <levon@movementarian.org>
829
830         * text2.C (insertStringAsLines): remove old dubious code,
831         fixing bug 1939.
832
833 2005-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
834
835         * MenuBackend.C (expandToc): use Floating::listName() as title of
836         the floats submenus.
837
838 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
839
840         * toc.[Ch]: Do not use translatable strings (bug 1870).
841
842 2005-07-20  John Levon  <levon@movementarian.org>
843
844         * tabular.C: fix 1748 - setting multicolumn adds
845           left line to the first cell
846
847 2005-07-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
848
849         bug 1920
850         * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
851         pars in one go.
852
853 2005-07-18  Lars Gullik Bjønnes  <larsbj@lyx.org>
854
855         * messages.C: supress some lyxerr messages
856
857 2005-07-18  Juergen Vigna  <jug@lyx.org>
858
859         * text.C (drawSelection): honor boundary when asking for cursorX.
860
861 2005-07-17  José Matos  <jamatos@fc.up.pt>
862
863         * tabular.C (recalculateMulticolumns): fix handling of one column
864         tables.
865
866 2005-07-17  Juergen Vigna  <jug@lyx.org>
867
868         * text.C (Delete, backspace): fixed so that paragraph with the
869         same layout can be merged by Delete/Backspace.
870
871 2005-07-17  Michael Schmitt  <michael.schmitt@teststep.org>
872
873         * text.C (readParToken): fix spelling.
874
875 2005-07-17  Martin Vermeer  <martin.vermeer@hut.fi>
876
877         * text2.C: fix counter update for DEPM problem reported by
878         Georg Baum
879
880 2005-07-17  Juergen Vigna  <jug@lyx.org>
881
882         * BufferView_pimpl.C (setBuffer): save/restore the
883         cursor/selection when switching buffers
884
885         * buffer.h: 
886         * buffer.C (saveCursor): add saveDocumentIterators to save the
887         cursor when switching buffer.
888
889 2005-07-17  Michael Schmitt  <michqel.schmitt@teststep.org>
890
891         * debug.C: fix typo
892         * buffer.C: clarify message
893         
894 2005-07-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
895
896         * dociterator.C (DocIterator): fix initialization order
897
898 2005-07-17  Juergen Vigna  <jug@lyx.org>
899
900         * text2.C (cursorHome): 
901         * text.C (drawSelection, cursorX): 
902         * dociterator.C (textRow): add boundary to getRow() call
903
904         * paragraph.C (getRow): implementation of below
905
906         * paragraph.h: add parameter boundary for getRow() function
907
908 2005-07-17  José Matos  <jamatos@fc.up.pt>
909
910         * buffer.C:
911         * bufferparams.[Ch]:
912         * tex-strings.[Ch]: new file format, remove support for a4.sty,
913         a4wide.sty and a4widemargins.
914
915 2005-07-17  Juergen Vigna  <jug@lyx.org>
916
917         * text2.C (cursorLeft): fix one of error
918
919 2005-07-17  Juergen Vigna  <jug@lyx.org>
920
921         * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
922                    cursorEnd):
923         more fixes for boundary handling
924
925         * text3.C (dispatch): don't reset cursor if boundary has changed
926         on cursor movement.
927
928 2005-07-16  Juergen Vigna  <jug@lyx.org>
929
930         * text2.C (getColumnNearX): hopefully got it right now,
931         check if we are on column 0 for special case.
932
933 2005-07-16  Juergen Vigna  <jug@lyx.org>
934
935         * text2.C (getColumnNearX): handle special case Newline Inset
936
937         * text.C (singleWidth): Just remove bogus check
938
939 2005-07-16  Michael Schmitt  <michael.schmitt@teststep.org>
940
941         * funcrequest.C (split): avoid reading uninitialized char c
942
943 2005-07-16  José Matos  <jamatos@fc.up.pt>
944
945         * buffer.C:
946         * converter.C:
947         * lyxrc.C:
948         * paper.h:
949         * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
950         single papersize variable.
951
952 2005-07-16  Juergen Vigna  <jug@lyx.org>
953
954         * text3.C (dispatch): honor boundary when checking if a cursor
955         movement has been done
956
957         * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown) 
958         (setCursor, setCursorIntern): fix cursor movement with boundary
959
960 2005-07-16  Juergen Vigna  <jug@lyx.org>
961
962         * text.C (currentState): output the actual Boundary
963
964 2005-07-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
965
966         * factory.C (createInset): fix bad logic for tabular creation
967
968 2005-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
969
970         * lyx_main.C (init): change some reLyX reference to tex2lyx
971
972 2005-07-16  Juergen Vigna  <jug@lyx.org>
973
974         * dociterator.C (DocIterator): initialize boundary
975
976 2005-07-16  Juergen Vigna  <jug@lyx.org>
977
978         * text2.C (getColumnNearX): Consider rows without trailing blank.  
979
980 2005-07-16  André Pönitz  <poenitz@gmx.net>
981
982         * lyxfont.h: Change order of declarations to give the compiler
983         a better chance to inline things
984
985         * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
986         questions on unsaved docs for better scritability
987
988 2005-07-16  André Pönitz  <poenitz@gmx.net>
989
990         * paragraph.h (getChar): remove asserts as the same kind of security
991         can be achieved by using a suitable standard library implementation
992         and the function was in the critical path (25.9% in profiler)
993
994 2005-07-16  Juergen Vigna  <jug@lyx.org>
995
996         * cursor.C (bruteFind2):
997         * bufferview_funcs.C (coordOffset): 
998         * text.C (cursorX,cursorY): Handle cursor position after last char
999         in row before a inset which uses a whole row.
1000
1001 2005-07-15  José Matos <jamatos@lyx.org>
1002
1003         * output_plaintext.[Ch] (writeFileAscii): control reference title
1004         printing.
1005         (asciiParagraph): noparbreak was already deal and was incorrectly
1006         used.
1007
1008 2005-07-15  Juergen Vigna <jug@lyx.org>
1009
1010         * lyxfunc.C (dispatch): save and restore the cursor after a
1011         textclass switch.
1012
1013 2005-07-15  Lars Gullik Bjønnes <lgb@tandberg.net>
1014
1015         * text.C (backspace): bug 806 for empty keepempty paragraphs we
1016         change the layout to default before letting DEPM do its thing.
1017
1018         * paragraph_funcs.C (breakParagraph): dont reset the layout on
1019         keepEmpty paragraphs
1020
1021         * text.C (setCursorFromCoordinates): add a debug statement
1022
1023         * text2.C (getColumnNearX): bug 1825 make sure that we don't
1024         return a pos that is not on the row
1025
1026         * output_latex.C (TeXDeeper): get rid of potential dereferencing
1027         of past the end iterator
1028
1029 2005-07-14  André Pönitz  <poenitz@gmx.net>
1030
1031         * undo.C (recordUndoFullBuffer): implement undo for
1032         textclass switches
1033
1034 2005-07-14  André Pönitz  <poenitz@gmx.net>
1035
1036         * cursor.C (setSelection): open insets when selection is set there
1037         to avoid crashs with cold coord cache
1038
1039 2005-07-14  André Pönitz  <poenitz@gmx.net>
1040
1041         * trans_mgr.C (insert): move cursor to the right after inserting
1042         a char.
1043
1044 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
1045
1046         * BufferView_pimpl.C (update): dampen some of the debug blabbering
1047         * factory.C (readInset): ditto
1048         * text.C, text2.C: ditto
1049
1050 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1051
1052         * buffer.C: format incremented to 242. There is no file format per
1053         se, but the "frenchb" language has been removed from lib/language
1054         and has to be translated to "french" by lyx2lyx.
1055
1056 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1057
1058         * cursor_slice.h, dociterator.h: add some documentation
1059         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
1060
1061 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1062
1063         * text.C (leftMargin): do not add identation to display() style
1064         insets, because they are always centered (bug 1293).
1065
1066 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1067
1068         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
1069         formatted_time methods in support/lyxtime.
1070
1071 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1072
1073         * toc.[Ch]: new method getGuiName, which is used by the frontends 
1074         to set the toc combo (fixes bug 1870). Make TOC string translatable.
1075
1076 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1077
1078         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
1079         StableDocIterator const &)
1080         * undo.C (recordUndo): use the above instead of cell.size() comparison
1081         (fixes bug 1808; instructed by Andr�.
1082
1083 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
1084
1085         * cursor_slice.h: 
1086         * dociterator.h: Fix the assert when copying rows/cols in math
1087
1088 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1089
1090         * BufferView_pimpl.C:
1091         * LyXAction.C:
1092         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
1093
1094         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
1095         (findInset): new functions, refactored from goto Inset that return 
1096         the position of a certain inset without setting the buffer's cursor
1097         (by Jean-Marc); 
1098         (gotoInset): rewrite to call findInset and then set the cursor
1099         (by Jean-Marc).
1100
1101 2005-06-16  Angus Leeming  <leeming@lyx.org>
1102
1103         * lyxrc.C (output, read): wrap all input and output of paths with
1104         calls to os::internal_path and os::external_path, respectively.
1105         (output): wrap bind_file inside quotes.
1106
1107         * format.C (view): enable the viewer to use the '$$s' placeholder.
1108
1109 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1110
1111         * LColor.[Ch] (getFromLaTeXName): new
1112
1113 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
1114
1115         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
1116
1117 2005-06-14  Angus Leeming  <leeming@lyx.org>
1118
1119         * lyx_main.C (init): ensure that the LyX binary dir is the first
1120         element in the PATH on non-POSIX builds.
1121
1122 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1123
1124         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
1125
1126 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1127
1128         * rowpainter.C (paintInset, paintHebrewComposeChar)
1129         (paintArabicComposeChar, paintChars): add a LyXFont argument.
1130         (paintChars): use getFontSpan to reduce calls to getFont to a
1131         minimum; use Paragraph::lookupChange instead of isXXXText.
1132         (paintForeignMark): rename LyXFont argument.
1133         (paintFromPos): pass a LyXFont object to the various paintXXX
1134         methods.
1135
1136         * FontIterator.C (FontIterator, operator++): use
1137         Paragraph::getFontSpan
1138
1139         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
1140         version that returns the font span as a pair.
1141
1142 2005-06-09  Angus Leeming  <leeming@lyx.org>
1143
1144         * converter.C (convert): Don't forget "outfile = real_outfile" as
1145         the final step in a conversion where the input and output file names
1146         are the same. Otherwise, future conversion steps won't work...
1147
1148 2005-06-09  Angus Leeming  <leeming@lyx.org>
1149
1150         * lyxsocket.C: remove stub code as it isn't needed by
1151         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
1152
1153 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1154
1155         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
1156         effectively disabled -x
1157
1158 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1159
1160         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
1161         when it actually makes sense.
1162
1163 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
1164
1165         * BufferView_pimpl.C: revert to showCursor in connection with
1166         Lars's front-end stack
1167
1168 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1169
1170         * text.C (redoParagraph): move cursor right after a bibitem
1171         has been inserted.
1172
1173         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
1174
1175 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1176
1177         * buffer_funcs.C (bufferErrors): fix computation of the end of an
1178         error range.
1179
1180 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
1181
1182         * BufferView.[Ch] (update):
1183         * BufferView_pimpl.[Ch] (update, metrics):
1184         * dimension.h (operator==):
1185         * lyxfunc.C (dispatch):
1186         * metricsinfo.h (ViewMetricsInfo):
1187         * rowpainter.C (paintText):
1188         * lyxtext.h:
1189         * text.C (redoParagraph):
1190         * text3.C (dispatch): Make LyX only repaint current paragraph in
1191         case of character insert --> speedup. Also fix cursor draw
1192         artifacts
1193
1194 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1195
1196         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
1197         avoid a crash (bug 1891)
1198
1199 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1200
1201         Fix bug 1892:
1202
1203         * text2.C (getStringToIndex): constify cur argument.
1204
1205         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
1206         argument has been given
1207         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
1208         try to invoke LFUN_INSET_APPLY).
1209
1210         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
1211         if no inset was created by doInsertInset
1212         (doInsertInset): return true if an inset has been inserted.
1213
1214 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1215
1216         * vspace.C (asGUIName): new method. A version of the space
1217         suitable for showing on screen.
1218
1219 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
1220
1221         * MenuBackend.C:
1222         * lyxrc.C: rename "ASCII" to "Plain Text"
1223
1224 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1225
1226         * buffer_funcs.C (expandLabel): take a Buffer as argument;
1227         translate the labelstring.
1228         (setCounter): translate labelstring as needed.
1229
1230         * output_docbook.C (makeCommand): fix expandLabel invokation
1231
1232 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
1233
1234         * BufferView.C: fix dialog title
1235
1236 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1237
1238         * lyx_main.C (priv_exec): fix logic error with help from Angus
1239         * lyx_main.C (parse_execute): set is_gui = false and remove now
1240         obsolete comment about a segfault
1241
1242 2005-05-18  Angus Leeming  <leeming@lyx.org>
1243
1244         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
1245
1246 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
1247
1248         * tabular.[hC]: added setCellInset to fix tabular paste.
1249
1250 2005-05-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1251
1252         * buffer.C (save): check if destination is writable before trying
1253         to copy a file
1254
1255 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
1256
1257         * BufferView_pimpl.C (update): fix processEvents -caused update
1258         recursion bug
1259
1260 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1261
1262         * buffer_funcs.C (setCounter): fix test for numbering of
1263         environments.
1264
1265         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
1266         depth correctly; use optional argument when it exists
1267
1268         * lyxtextclass.C: remove unused MaxCounterTags enum
1269         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
1270         (max_toclevel, min_toclevel): new methods.
1271
1272         * MenuBackend.C (expandToc2): fix case where depth is smaller than
1273         the smallest depth in toc.
1274
1275         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
1276         layouts that should not appear in a table of contents.
1277
1278 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1279
1280         * cursor.h (undispatched, noUpdate): add comments from Andr�
1281 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
1282
1283         * lfuns.h:
1284         * LyXAction.C:
1285         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
1286
1287 2005-05-07  André Pönitz  <poenitz@gmx.net>
1288
1289         * cursor.[Ch] (leaveInset): new function
1290
1291 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1292
1293         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
1294
1295 2005-05-04  Angus Leeming  <leeming@lyx.org>
1296
1297         * lyxfunc.C (getStatus): disable the spell checker dialog if
1298         none of USE_[AIP]SPELL are defined.
1299
1300 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
1301
1302         * tabular.C (setWidthOfCell): remove obsolete comment
1303
1304 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
1305
1306         * paragraph.C (bibitem):
1307         * buffer_funcs.C (setCounter):
1308         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
1309
1310 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1311
1312         * text3.C (getStatus): immediately return after setOnOff
1313
1314         * rowpainter.C: fix drawing of appendix start
1315
1316 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1317
1318         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
1319         SwitchBetweenClasses and remove the unused return value.
1320         Handle character styles, too
1321
1322 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
1323
1324         * factory.C (createInset): handle undefined character styles
1325
1326 2005-05-02  Angus Leeming  <leeming@lyx.org>
1327
1328         * buffer.C: protect the #include of utime.h with a preprocessor
1329         guard.
1330
1331 2005-05-02  Angus Leeming  <leeming@lyx.org>
1332
1333         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
1334         function so that auto-saving works, albeit in a blocking manner.
1335
1336         * Makefile.am: make compilation of the client sub directory, of
1337         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
1338         on conditionals set at configure time.
1339
1340         * SpellBase.[Ch]: no longer an abstract base class. Instead,
1341         it can be compiled in its own right but has no-op functionality.
1342
1343         * aspell.C, pspell.C: remove preprocessor guards. The files should
1344         be compiled only if the necessary functionality exists.
1345
1346         * lyxserver.C, lyxsocket.C: disable on Windows.
1347
1348 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
1349
1350         * text.C (leftMargin): Fix the parindent use bug (1764)
1351         by dirty trick
1352
1353 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
1354
1355         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
1356         argument.
1357
1358 2005-04-25  Angus Leeming  <leeming@lyx.org>
1359
1360         * Bidi.[Ch]:
1361         * coordcache.[Ch]:
1362         * ispell.C:
1363         * lyxserver.C:
1364         * mover.C:
1365         * pch.h:
1366         include <config.h> in .C files, not .h ones.
1367         add licence blurb.
1368         protect headers inside preprocessor guards.
1369
1370 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1371
1372         * FuncStatus.h (StatusCodes): document
1373
1374 2005-04-21  André Pönitz  <poenitz@gmx.net>
1375
1376         * FuncStatus.h (enabled, onoff): document
1377
1378 2005-04-19  Angus Leeming  <leeming@lyx.org>
1379
1380         * BufferView_pimpl.C (cursorToggle): no longer test whether
1381         any child processes have been reaped before calling
1382         handleCompletedProcesses().
1383
1384 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
1385
1386         * text3.C (dispatch): fix, finally fix, the language problem in
1387         new lyxtexts, without disabling on-the-fly font changes (Helge's
1388         bug report)
1389
1390 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1391
1392         * text3.C (dispatch): set cursor on double/triple click events
1393         (bug 1811)
1394
1395 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1396
1397         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
1398         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
1399
1400         * rowpainter.C (paintFirst): simplify the code a little bit. In
1401         particular, remove the test for secnumdepth.
1402         * text.C (setHeightOfRow): only allocate space for chapter number
1403         when updateCounters provided an actual label, instead of looking
1404         at secnumdepth directly.
1405
1406         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
1407
1408         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
1409         paragraphs when secnumdepth is large enough or, for environments,
1410         when they are not the first in a sequence.
1411
1412 2005-04-17  Angus Leeming  <leeming@lyx.org>
1413
1414         * buffer.C (makeLaTeXFile): replace code to manipulate a path
1415         containing space and '~' characters with a call to latex_path().
1416
1417 2005-04-17  Angus Leeming  <leeming@lyx.org>
1418
1419         * converter.C (convert): protect all args of convertDefault.sh
1420         script with quotes.
1421
1422 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1423
1424         * text3.C (dispatch): change the layout to "Caption" after inserting
1425         a float.
1426
1427 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1428
1429         * text3.C (dispatch): fix language problem in newly created
1430         textinsets (and main text) in non-english docs
1431
1432 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1433
1434         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
1435         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
1436         * text3.C (getStatus): disable LFUN_INSET_MODIFY
1437
1438 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1439
1440         * lyxtext.h:
1441         * text.C (metrics):
1442         * text2.C (getFont):
1443         * rowpainter.C (getFont): Fix metrics bug introduced by inset
1444         fonts fix
1445
1446 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1447
1448         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
1449         output of \item arguments without trailing text.
1450
1451 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1452
1453         * FontIterator.C (operator*): avoid a copy of the font.
1454
1455 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1456
1457         * rowpainter.C (getFont): fix language bug from previous fix
1458
1459 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1460
1461         * rowpainter.C (RowPainter, getFont): fix font inside inset
1462         (bugs 1766, 1809)
1463
1464 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
1465
1466         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1467         preventing inserted font, deco, delim insets jumping to start of
1468         surrounding inset.
1469
1470 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1471
1472         * lyxfunc.C (dispatch): translate message before sending it to the
1473         minibuffer.
1474
1475 2005-03-29  Angus Leeming  <leeming@lyx.org>
1476
1477         * lyx_main.C (priv_exec): call os::internal_path on each file passed
1478         to LyX on the command line.
1479
1480 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
1481
1482         * vc-backend.C: use QuoteName to protect file names wherever
1483         necessary.
1484
1485 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
1486
1487         * buffer.[Ch]:
1488         * BranchList.h: fix bugs 1844,1845: document settings don't
1489         stick
1490
1491 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1492
1493         * lyxrc.C (setDefaults, read, output, getDescription): add support
1494         for tex_allows_spaces.
1495
1496         * exporter.C (Export): allows files in directory containing spaces
1497         if tex_allows_spaces is true.
1498
1499         * buffer.C (makeLaTeXFile): if the document path contains spaces,
1500         output it in double quotes.
1501
1502 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1503
1504         * rowpainter.C: use default text height for drawing change tracker
1505         strikeout lines.
1506
1507 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1508
1509         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1510
1511 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1512
1513         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1514         directory is missing.
1515
1516 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
1517
1518         * text2.C: fixed the fix, extended to other case.
1519
1520 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
1521
1522         * text2.C: fix for cursor up/down stuck in math [bug 1792]
1523
1524 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
1525
1526         * text2.C (cursorUp): get rid of a crash
1527         * text.C (x2pos): add an assert
1528
1529 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1530
1531         * lyxfunc.C (getStatus): fix warning when assertions are disabled
1532
1533         * text3.C:
1534         * lyxfunc.C:
1535         * dociterator.C: include <boost/current_function.hpp>, which is
1536         needed when assertions are disabled.
1537
1538 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1539
1540         * text2.C: fix for stuck cursor when traversing two
1541         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1542
1543 2005-02-25  Andreas Vox  <avox@arcor.de>
1544
1545         * output_docbook.C (makeParagraph): suppress trailing newline
1546         after a run of paragraphs
1547
1548 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1549
1550         * paragraph.C: fix for confused change tracker when pasting
1551         text that begins with a lineseparator. [bug 1827]
1552         (setChange(0, Change::INSERTED);)
1553
1554         * paragraph_funcs.C: fix for lost changes on triple-paste
1555         in change tracking mode [bug 1827] (par.setChange()).
1556
1557 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1558
1559         * text2.C (updateCounters, setCounter, expandLabel): move to
1560         buffer_funcs.
1561
1562         * buffer_funcs.C (updateCounters): turn into a free standing
1563         function and add a buffer parameter. Remove dead code for tracking
1564         labelstring change.
1565         (setCounter): change into a free-standing function which gets a
1566         dociterator as argument. Use this iterator to fix captions in a
1567         simple way. When no float is found above the caption, use the
1568         labelstring of the caption layout as default.
1569
1570         * text.C (breakParagraph, backspace):
1571         * text2.C (init, setLayout, changeDepth):
1572         * text3.C (dispatch):
1573         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1574         updateCounters.
1575
1576         * dociterator.C (forwardPar): make it much faster by calling
1577         forwardPos() only when really necessary.
1578
1579         * output_docbook.C (makeCommand): adapt to expandLabel move.
1580
1581         * cursor.C: remove unused variable
1582
1583 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1584
1585         * paragraph_funcs.C: fix crash when pasting insets in change
1586         tracking mode [bug 1277] (honour change type in moveItem).
1587
1588 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1589
1590         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1591
1592 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1593
1594         * BufferView.C (setCursor): change to use a DocIterator.
1595         (gotoLabel): use BufferView::setCursor (other part of bug 781).
1596         (putSelectionAt): adapt to BufferView::setCursor change.
1597
1598         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1599         moved here from LyXText and rewritten to use proper cursor
1600         methods. Fixes bug 1787, 616 and 835.
1601
1602         * BufferView_pimpl.C (restorePosition): set the cursor correctly
1603         when inside an inset (part of bug 781).
1604         (dispatch): adapt to change of BufferView::setCursor.
1605         (getStatus, dispatch): handle LFUN_GOTOERROR,
1606         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1607
1608         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1609         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1610         * text3.C (gotoNextInset, gotoInset): removed.
1611
1612 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1613
1614         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1615
1616 2005-02-15  Angus Leeming  <leeming@lyx.org>
1617
1618         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1619         can be used meaningfully in a comparison.
1620
1621 2005-02-13  André Pönitz  <poenitz@gmx.net>
1622
1623         * bufferview_funcs.C (coordOffset): improve cursor drawing
1624
1625 2005-02-13  André Pönitz  <poenitz@gmx.net>
1626
1627         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1628         * Cursor.C (dispatch): use fixIfBroken
1629         * lyxfunc.C (getStatus): use fixIfBroken
1630
1631 2005-02-15  Angus Leeming  <leeming@lyx.org>
1632
1633         * lyx_main.C (error_handler):
1634         * lyxfunc.C:
1635         * lyxrc.C (setDefaults):
1636         s/GetEnv/getEnv/.
1637         #include "environment.h".
1638
1639         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1640
1641 2005-02-15  Angus Leeming  <leeming@lyx.org>
1642
1643         * lyxserver.C (startPipe): squash MSVC warning "local variable
1644         'fd' used without having been initialized".
1645
1646 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1647
1648         * BufferView_pimpl.C: revert accidental commit.
1649
1650 2005-02-14  André Pönitz  <poenitz@gmx.net>
1651
1652         * dociterator.[Ch]: new member forwardPosNoDescent(),
1653         which doesn't enter nested insets.
1654         * text2.C (setFont): use forwardPosNoDescent() instead
1655         of ForwardPos() (fixes crash on font change).
1656
1657 2005-02-13  Angus Leeming  <leeming@lyx.org>
1658
1659         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1660         only if lyxrc.path_prefix is not empty.
1661
1662 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1663
1664         * bufferparams.C (readGraphicsDriver): prevent crash
1665
1666 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1667
1668         * text2.C (setCounter): check for inInset() == 0
1669
1670 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1671
1672         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1673         but use update() to get correct screen display; use convert
1674         instead of istringstream.
1675         (getStatus): handle LFUN_GOTO_PARAGRAPH
1676
1677         * lyxfunc.C (dispatch, getStatus): do not handle
1678         LFUN_GOTO_PARAGRAPH here.
1679
1680 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1681
1682         * text3.C (dispatch): size() -> depth()
1683
1684         * text2.C: remove some debug output
1685
1686         * paragraph.C: ws changes only
1687
1688         * lyxfunc.C (getStatus): size() -> depth()
1689
1690         * dociterator.h (clear, push_back, pop_back, internalData,
1691         operator[], resize, empty): new functions
1692         Make StableDocIterator and operator== be friends. Don't inherit
1693         from std::vector use a privat class variable slices_ instead.
1694         Modify to fit.
1695
1696         * dociterator.C: update because of not inheriting from std::vector
1697         anymore. Call explictly to slices_ instead. Use depth() instead of
1698         size() and top() instead of back()
1699
1700         * cursor.C: chagne size() -> depth and back() -> top(). Also
1701         remove some direct operator[](i) calls in favour of foo[i]
1702         (getFont): remove some dead code
1703
1704         * bufferview_funcs.C (coordOffset): size() -> depth()
1705
1706         * buffer.C: ws changes only
1707
1708         * CutAndPaste.C (eraseSelection): back() -> top()
1709
1710         * BufferView_pimpl.C (selectionRequested): back() -> top()
1711
1712         * BufferView.C (setCursor): size() -> depth()
1713
1714 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1715
1716         * text3.C (cursorPrevious): return true if depm changed something
1717         (cursorNext): ditto
1718         (dispatch): rename sl to oldTopSlice, remove moving use the new
1719         NoUpdate func attrib instead. Make sure that needsUpdate is set
1720         for function that have NoUpdate, but where depm might have changed
1721         the buffer anyway.
1722
1723         * text2.C (cursorLeft): make us return true if depm changed
1724         something
1725         (cursorRight): ditto
1726         (cursorUpParagraph): ditto
1727         (curosrDownParagraph): ditto
1728         (cursorUp, cursorDown): ditto, make sure to read comments in code
1729         (deleteEmptyParagraphMechanism): remove an assert, also return
1730         true if just a single char was deleted.
1731
1732         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1733         cursor that we modify, to avoid modifying an active cursor before
1734         we call setCursor. This allows depm to run. Also return true if
1735         depm deleted something.
1736
1737         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1738         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1739         cursorDownParagraph, cursorPrevious and cursorNext, return true if
1740         something was changed in the buffer because of them (ie. depm run)
1741
1742         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1743         debug messages. Make update by default be false. Make sure that
1744         the result of update is retained throught several calls down to
1745         dispatch.
1746
1747         * LyXAction.h: add a new func_attrib: NoUpdate
1748
1749         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1750         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1751         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1752         and LFUN_WORDLEFT
1753         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1754
1755 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1756
1757         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1758         bv_->owner(), bv_->buffer() by direct references to the private
1759         members.
1760         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1761         (getStatus): isSavedPosition() is in BufferView::Pimpl.
1762         (fitCursor): center() is in BufferView::Pimpl.
1763         (getStatus, trackChanges, dispatch): no need for a temporary buf
1764         variable
1765         (fitCursor, workAreaDispatch): use workarea().workheight()
1766
1767 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1768
1769         * CutAndPaste.C (pasteSelectionHelper): fix a crash
1770
1771 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1772
1773         * buffer.C: format up to 241.
1774         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1775         break if pasting into ERT
1776         * lyxfunc.C (getStatus): suppress mathpanel and
1777         LFUN_DIALOG_SHOW_NEW_INSET in ERT
1778
1779 2005-02-01  Angus Leeming  <leeming@lyx.org>
1780
1781         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1782
1783 2005-02-01  Angus Leeming  <leeming@lyx.org>
1784
1785         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1786         calling fs::is_directory().
1787
1788 2005-01-31  Angus Leeming  <leeming@lyx.org>
1789
1790         * lyx_main.C (priv_exec): specify explicitly the relative location
1791         of the top level build directory when run in-place.
1792
1793 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1794
1795         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1796         LyXText containing the cursor, not the top-level one.
1797
1798         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1799         true.
1800         (insertStringAsLines): rename par to pit; use temporary variable
1801         par to hold a Paragraph; do not store par.layout() in a variable,
1802         since the pointer may die when breaking paragraphs; pass pars to
1803         breakParagraph() instead of Buffer::paragraphs().
1804
1805 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1806
1807         * lyxlex_pimpl.h: #include <fstream>.
1808
1809         * BufferView.[Ch] (getLyXText): add a const version.
1810
1811         * BufferView_pimpl.C: add debug aids.
1812
1813         * RowList_fwd.h:
1814         * buffer.h:
1815         * lyxrow.h:
1816         * paragraph_funcs.h: add commentary explaining what the class does.
1817
1818
1819         * coordcache.[Ch]: add lots of commentary.
1820         (startUpdating, doneUpdating): debug aids.
1821         (arrays, insets, parPos, getParPos): accessors to private data.
1822
1823         * cursor_slice.[Ch] (text): add a const version.
1824         * dociterator.[Ch] (text, innerText): add const versions.
1825
1826         * lyxtext.h (breakParagraph): change the keep_layout arg to a
1827         bool.
1828
1829         * paragraph.C (getRow, pos2ros): add asserts.
1830
1831         * paragraph.h: add commentary. Lots of.
1832
1833         * paragraph.[Ch] (metrucs, draw): removed.
1834
1835         * cursor.C:
1836         * rowpainter.[Ch]: const-correct changes.
1837
1838         * text.C: various obvious clean-ups. Removal of ancient cruft.
1839         Bug fixes, even.
1840
1841 2005-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
1842
1843         * vc-backend.C (find_file): rewrite to use boost.filesystem
1844         (scanMaster): ditto
1845
1846         * main.C (main): set default name check for boost.filesystem to
1847         no check
1848
1849         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1850         (open): ditto
1851         (doImport): ditto
1852         (actOnUpdatedPrefs): ditto
1853
1854         * lyx_main.C (init): rewrite to use boost.filesystem
1855         (queryUserLyXDir): ditto
1856
1857         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1858         (getContentsOfAsciiFile): ditto
1859
1860         * lastfiles.C (readFile): rewrite to use boost.filesystem
1861
1862         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1863
1864         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1865         (loadLyXFile): ditto
1866
1867         * buffer.C (Buffer): adjust for destroydir
1868         (getLogName): rewrite to use boost.filesystem
1869         (setFileName): ditto
1870         (save): use fs::copy_file (from fs_extras)
1871
1872         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1873
1874         * LaTeX.C (run): rewrite to use boost.filesystem
1875         (scanAuxFiles): ditto
1876         (handleFoundFile): ditto
1877
1878 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1879
1880         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1881
1882         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1883
1884 2005-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1885
1886         * lyxlayout.[Ch]: change some vars from float to double
1887
1888         * buffer.C (readFile): make a local var const
1889
1890         * Several files: use convert<> instead of atoi,strToXXX and friends
1891
1892 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1893
1894         * LaTeXFeatures.[Ch]: Add a static list packages_ that
1895         holds the contents of packages.lst. New functions getAvailable
1896         and isAvailable to parse and check that list, resp.
1897
1898         * LyXAction.C:
1899         * lfuns.h:
1900         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1901
1902         * bufferparams.[Ch]: new param output_changes.
1903
1904         * Buffer.C: increase file format to 240.
1905         Use output_changes and isVailable.
1906
1907         * changes.[Ch]:
1908         * paragraph.C:
1909         * paragraph_pimpl.C: Use output_changes and isVailable.
1910
1911 2005-01-23  Angus Leeming  <leeming@lyx.org>
1912
1913         * output_latex.C: #include "insetbibitem.h", rather than
1914         forward declare function bibitemWidest.
1915
1916 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
1917
1918         * lyx_main.C (init): make it compile on the Mac.
1919
1920 2005-01-20  Angus Leeming  <leeming@lyx.org>
1921
1922         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1923         (setLyXMisc): (char string literal) != (char string literal) is
1924         performing a comparison on the addresses. Convert one operand
1925         explicitly to string to guarantee expected behaviour.
1926         From MSVC warning.
1927
1928 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1929
1930         * buffer.C:
1931         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1932
1933         * output_plaintext.C: remove unneeded #include gzstream.h.
1934
1935 2005-01-20  Angus Leeming  <leeming@lyx.org>
1936
1937         * SpellBase.h: rename some of the elements of the Result enum.
1938
1939         * aspell_local.h:
1940         * ispell.h:
1941         * pspell.h:
1942         * aspell.C (check):
1943         * ispell.C (check):
1944         * pspell.C (check): ditto
1945
1946 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1947
1948         * buffer.C: add #include <fstream>.
1949
1950         * lyx_main.C (init): Compile fix.
1951
1952         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1953
1954 2005-01-20  Angus Leeming  <leeming@lyx.org>
1955
1956         * mover.h: change commentary to reflect the changed meaning of
1957         the $$s placeholder.
1958
1959 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1960
1961         * output_linuxdoc.C (linuxdocParagraphs): silence warning
1962
1963         * lyxfind.C (MatchString::operator()): remove bogus semicolon
1964
1965 2005-01-20  Angus Leeming  <leeming@lyx.org>
1966
1967         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1968         printing diagnostic data by not dereferecing an iterator past the
1969         end.
1970
1971 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1972
1973         * buffer.C (readHeader): use "&&" rather than "and".
1974
1975         * lyxserver.h (inPipeName, outPipeName): make these const.
1976
1977 2005-01-19  Angus Leeming  <leeming@lyx.org>
1978
1979         * lyx_main.C (error_handler, init): protect SIGHUP with
1980         #ifdef SIGHUP guards.
1981
1982 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1983
1984         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1985
1986 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1987
1988         * text.C (setHeightOfRow): add a margin at the top and bottom of
1989         the document (bug 1761)
1990
1991 2005-01-17  Angus Leeming  <leeming@lyx.org>
1992
1993         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1994         with "python ". Workaround for a brain-dead Windows.
1995
1996 2005-01-16  Angus Leeming  <leeming@lyx.org>
1997
1998         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1999         for MacOSX and Windows to use prependEnvPath.
2000         Strip out the hard-coded block to add elements to the PATH for
2001         MacOSX and replace it with a call to prependEnvPath using the
2002         contents of LyXRC::path_prefix.
2003         (queryUserLyXDir): strip out the code to run reconfigure, instead
2004         returning a boolean indicating the necessity to do so.
2005         (reconfigureUserLyXDir): contains the code to reconfigure the
2006         user support directory. Is now called after the various LyXRC data
2007         files have been read.
2008
2009         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
2010
2011 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2012
2013         * converter.[Ch] (convert): take a new parameter try_default. Use
2014         a default converter (imagemagick) if try_default is true.
2015
2016 2005-01-13  Angus Leeming  <leeming@lyx.org>
2017
2018         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
2019         os::cygwin_path_fix.
2020         (write): output LyXRC::cygwin_path_fix as necessary.
2021
2022 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
2023
2024         * lyxrc.h:
2025         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
2026
2027 2005-01-12  Angus Leeming  <leeming@lyx.org>
2028
2029         * lyx_main.C (init): set the PATH variable to include the
2030         directory containing the LyX binary when running on Mac or Windows.
2031
2032 2005-01-12  Angus Leeming  <leeming@lyx.org>
2033
2034         * lyx_main.C (init): remove cruft that purports to set the locale
2035         dir. It doesn't and is not needed anyway.
2036
2037 2005-01-10  Angus Leeming  <leeming@lyx.org>
2038
2039         * Makefile.am: remove the lyx_main.C special casing.
2040
2041         * BufferView_pimpl.C:
2042         * bufferlist.C:
2043         * exporter.C:
2044         * lyx_cb.C:
2045         * lyx_main.C:
2046         * lyxfunc.C:
2047         * messages.C: use support/package.h to provide the paths to the
2048         various directories used by LyX.
2049
2050 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2051
2052         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
2053         layout if pasting into an empty paragraph)
2054
2055 2005-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2056
2057         * tex-accent.C: add <string>
2058
2059 2005-01-06  José Matos  <jamatos@lyx.org>
2060
2061         * ParagraphParameters.C (write): put every parameter in its own line.
2062         * paragraph.C (write): reduce number of consecutive empty lines exported.
2063         * buffer.C (LYX_FORMAT): increase file format to 239.
2064
2065 2005-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2066
2067         * everywhere: change support/tostr.h -> support/convert.h
2068
2069         * tabular.C: make all write_attributes templates, tostr -> convert
2070
2071         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
2072         (emptyTag): and -> &&, and fix type for ret from getChar
2073         (getFirstWord): fix type for ret from getChar
2074         (onlyText): and -> &&
2075         (simpleDocBookOnePar): and not -> && !, fix type for ret from
2076         getChar
2077
2078         * toc.C (goTo, action):
2079         * text3.C (dispatch):
2080         * text.C (currentState):
2081         * tex-accent.C (DoAccent):
2082         * sgml.C:
2083         * lyxrc.C:
2084         * lyxfunc.C (menuNew):
2085         * lyxfinc.C (replace):
2086         * counters.C (laberItem):
2087         * bufferview_funcs.C (font2string):
2088         * bufferparams.C (writeFile):
2089         * buffer.C (readFile):
2090         * Spacing.C (set):
2091         * MenuBackend.C: tostr -> convert
2092
2093         * LaTeX.C (runMessage): fix format
2094         (scanAuxFiles): tostr -> convert
2095
2096         * BufferView_pimpl.C (savePosition): fix format
2097         (restorePosition): ditto
2098         (dispatch): ditto
2099
2100 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2101
2102         * Spacing.[Ch]: New method getValueAsString().
2103
2104         * Spacing.[Ch]:
2105         * bufferparams.C:
2106         * ParagraphParameters.C:
2107         * lyxlayout.C:
2108         * text.C:
2109         * text3.C: store/read spacing value as string.
2110
2111         * rowpainter.C: change float value (spacing_val) to double.
2112
2113         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
2114         broken custom document spacing).
2115
2116 2005-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
2117
2118         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
2119         namespace, also more use of temp references and const
2120
2121         * cursor.[Ch] (getStatus): move to lyxfunc.C
2122
2123         * bufferparams.C: reformat slightly
2124
2125         * bufferview_funcs.C (font2string): constify arg
2126
2127         * changes.C:
2128         * converter.C:
2129         * counters.C:
2130         * bufferlist.C:
2131         * buffer_funcs.C: (many funcs): constify arg on function
2132         definitions, also make more local vars const, also add ASSERTS on
2133         pointer args.
2134
2135         * buffer.C (LYX_FORMAT): put const in correct place
2136         (many funcs): constify arg on function definitions, also make
2137         more local vars const
2138
2139         * aspell_local.h: remove "struct" from typdef setup
2140
2141         * aspell.C (check): make word_ok const
2142         (nextMiss): simplify slightly
2143         (error): ditto
2144
2145 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2146
2147         * lyxrc.[Ch]: store all float values as strings.
2148         use int (not float) for lyxrc.dpi.
2149
2150 2005-01-04  Angus Leeming  <leeming@lyx.org>
2151
2152         * lyx_cb.C (Reconfigure):
2153         * lyx_main.C (queryUserLyXDir):
2154         to run the <system_lyxdir>/configure correctly on Windows, prefix
2155         the path to the script with "sh " when generating the string that
2156         is passed to system().
2157
2158 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2159
2160         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
2161
2162 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2163
2164         * lyxlength.C (asLatexString): get rid of setprecision
2165
2166 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2167
2168         * text2.C (setLayout): remove unused variable endpit.
2169         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
2170
2171         * paragraph.C (onlyText): remove unused variable style.
2172
2173         * cursor.C (bruteFind): remove unused variables beg and end.
2174
2175         * Makefile.am (dist_noinset_DATA): not needed anymore
2176
2177         * cheaders/*: remove.
2178
2179 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2180
2181         * text3.C: fix LFUN_MATH_MODE.
2182
2183 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2184
2185         * buffer_funcs.C (countWords): new function. Counts words between
2186         two iterators.
2187
2188         * BufferView_pimpl.C (getStatus, dispatch): handle
2189         LFUN_WORDS_COUNT.
2190
2191         * LyXAction.C (init):
2192         * lfuns.h: add LFUN_WORDS_COUNT.
2193
2194 2004-12-19  Angus Leeming  <leeming@lyx.org>
2195
2196         * buffer.C (save): s/slashify_path/internal_path/.
2197
2198 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2199
2200         * lyxfind.C (findChange): do not search for end of pars, because
2201         the change tracker cannot handle this (fixes bug 1719).
2202
2203 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2204
2205         * paragraph.[Ch] (autoBreakRows): remove
2206
2207         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
2208
2209         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
2210         avoid using the paragraph one
2211
2212         * text2.C (LyXText, insertStringAsLines): adjust
2213
2214 2004-12-16  Angus Leeming  <leeming@lyx.org>
2215
2216         * bufferlist.C:
2217         * lyx_main.C:
2218         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
2219
2220 2004-12-14  Angus Leeming  <leeming@lyx.org>
2221
2222         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
2223
2224         * bufferlist.C (emergencyWrite):
2225         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
2226         GetEnvPath("HOME").
2227
2228 2004-12-14  Angus Leeming  <leeming@lyx.org>
2229
2230         * main.C: (main): no longer pass pointers to os::init.
2231
2232 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
2233
2234         * undo.C (textUndoOrRedo): simplify logic, fix a crash
2235         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
2236
2237 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
2238
2239         * lyxfunc.C:
2240         * text3.C: remove selection_possible global flag
2241
2242 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
2243
2244         * text2.C (getSelectionSpan): remove
2245         (changeDepth, changeDepthAllowed): adjust
2246
2247 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
2248
2249         * Makefile.am (BOOST_LIBS): use boost variables
2250
2251 2004-12-03  José Matos  <jamatos@lyx.org>
2252
2253         * buffer.C: format up to 238.
2254
2255 2004-12-03  José Matos  <jamatos@lyx.org>
2256
2257         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
2258
2259 2004-12-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2260
2261         * cursor.C (goUpDown): remove call to idxUpDown2
2262
2263 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2264
2265         * tabular.[Ch]: use size_t-like types for cell, row and column
2266         indices
2267
2268 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2269
2270         * lyxfunc.C (getStatus): do not lose previous information when
2271         calling BufferView::getStatus; do not set a default "Command
2272         disabled" message at the beginning, but just before returning.
2273
2274 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2275
2276         * cursor.h (getStatus): add better comment from src/cursor.C
2277
2278 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2279
2280         * text3.C (getStatus): return false when the lfun is not handled
2281
2282 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2283
2284         * broken_headers.h: remove
2285
2286         * Makefile.am (lyx_SOURCES): remove broken_headers.h
2287
2288 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2289
2290         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
2291         offset_ref accessors
2292
2293         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
2294         top_y_, merge fitcursor with update
2295         (updateScrollbar, scrollDocView, fitCursor, center, update): new
2296         coord scheme
2297         (metrics): introduce
2298         (workAreaDispatch): adapt to new coord scheme
2299         (redoCurrentBuffer): remove
2300
2301         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
2302
2303         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
2304         CurStatus enum.
2305
2306         * coordcache.[Ch]: add paragraph cache and helpers
2307
2308         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
2309         adjust everywhere
2310
2311         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
2312         (targetX, setTargetX): introduce
2313
2314         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
2315         baseline -> ascent, as the rest of lyx
2316
2317         * lyxtext.h: remove redoParagraphs, updateParPositions,
2318         fullRebreak, redoParagraphInternal. move dist to anon namespace in
2319         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
2320         have ascent/descent (ascent is ascent of first par)
2321
2322         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
2323         step of BufferView
2324
2325         * paragraph.[Ch]: unify dimension handling with the rest of lyx
2326
2327         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
2328
2329         * pariterator.C: fix infinite loop introduced in par->pit renaming
2330
2331         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
2332         in insets and LyXText, draw two off-screen paragraphs using
2333         NullPainter, and adapt to new coord scheme
2334
2335         * text.C:
2336         * text2.C:
2337         * text3.C: adapt lfun handlers to the new coord scheme, which
2338         means: there's only guaranteed coord information for onscreen pars
2339         plus one above and one below. This implies that one can do search
2340         from y coordinates in the range [-1,workHeight]
2341
2342 2004-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2343
2344         * rename a lot of InsetOld to InsetBase
2345
2346 2004-11-25  Angus Leeming  <leeming@lyx.org>
2347
2348         * BufferView_pimpl.C:
2349         * lyx_cb.C:
2350         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
2351
2352 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2353
2354         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
2355         call BufferView::getStatus if LCursor::getStatus did nothing
2356         (setStatusMessage, getStatusMessage): removed.
2357
2358         * FuncStatus.C (message): new methods. Used to provide an error
2359         message indicating why a command is disabled.
2360         (clear, |=, FuncStatus): update for message.
2361
2362 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2363
2364         * lyxfunc.C (dispatch): always call sendDispatchMessage
2365
2366 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2367
2368         * BufferView.C:
2369         * BufferView_pimpl.C:
2370         * CutAndPaste.C:
2371         * FontIterator.C:
2372         * buffer.C:
2373         * cursor.C:
2374         * cursor_slice.[Ch]:
2375         * dociterator.[Ch]:
2376         * lyxfind.C:
2377         * paragraph_funcs.C:
2378         * pariterator.C:
2379         * rowpainter.C:
2380         * text.C:
2381         * text2.C:
2382         * text3.C:
2383         * undo.C: par->pit renaming
2384
2385 2004-11-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2386
2387         * tabular.C (cellstruct): use initialization, store a shared_ptr
2388         to insettext instead of the insettext directly, adjust to fit.
2389         (operator=):  new function
2390         (swap): new function
2391         (rowstruct): use initialization
2392         (columnstruct): use initialization
2393         (ltType): use initialization
2394
2395
2396         * lyxlength.h (swap): new function
2397
2398         * LColor.[Ch] (operator=): use the common semantics
2399
2400 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2401
2402         * lyxfind.C (findNextChange): update the bufferview after setting
2403         the selection.
2404
2405 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2406
2407         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
2408         number of InsetOptArgs has already been inserted.
2409
2410         * output_latex.C (latexOptArgInsets): new method. This outputs all
2411         the optarg insets, up to the limit defined in the layout file.
2412         (optArgInset): removed
2413         (TeXOnePar): call latexOptArgInsets; correctly update texrow
2414
2415 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2416
2417         * paragraph.C (isLetter): remove special spellchecker-related
2418         code; return true also for digits
2419         (isWord, isKomma): remove
2420
2421         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
2422         * lyxfind.C (MatchString()): use isLetter instead of isWord
2423
2424 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2425
2426         * pariterator.h (operatir=): comment out un-implemented member
2427         function.
2428
2429         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
2430         static cast.
2431
2432 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2433
2434         * lyxfont.h: include LColor.h to satisfy concept checks.
2435
2436 2004-11-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2437
2438         * pariterator.h: add typdefs for value_type, difference_type,
2439         pointer and reference to satisfy concept checks. Also add default
2440         constructor for same reason.
2441
2442         * pariterator.C (operator++): add post-increment operator to
2443         satisfy concept checks.
2444
2445         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
2446         checks.
2447
2448         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
2449
2450         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
2451         checks. Also rename base_type to BaseType to follow naming
2452         standard better.
2453
2454         * FloatList.h: include Floating.h to satisfy concept checks.
2455
2456 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2457
2458         * lyxfunc.C (getStatus): when the origin of the request is menu or
2459         toolbar, and the LyXView does not have focus, do as if there was
2460         no buffer (bug 1720)
2461
2462         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2463         FuncRequest to individual entries of LFUN_SEQUENCE
2464
2465 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2466
2467         * output_latex.C (TeXOnePar): override runparams.moving_arg
2468         according to the needprotect value of the current paragraph (bug
2469         1739)
2470
2471         * paragraph.C (simpleTeXOnePar): no need to override
2472         runparams.moving_args here
2473
2474 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
2475
2476         * vspace.C: fix off-by-one-error, related to fix #1682
2477
2478 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2479
2480         * lengthcommon.C: a more general fix for bug 1682
2481
2482 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2483
2484         * text.C (backspace): fix crash
2485
2486 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2487
2488         * format.[Ch] (getFormatFromFile): new method
2489         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2490
2491 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2492
2493         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2494
2495 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2496
2497         * lyxfunc.C (dispatch): remove the verbose argument
2498         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2499         instead
2500
2501         * kbmap.C (defkey): set the origin of func to KEYBOARD
2502
2503         * MenuBackend.C (MenuItem):
2504         * ToolbarBackend.C (add): set the origin of func to UI
2505
2506         * funcrequest.[Ch]: add origin member, which indicates which part
2507         of LyX requests an action
2508
2509 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2510
2511         * converter.C (move): don't lie in the error message
2512         * converter.h (isReachable, move): document
2513
2514 2004-11-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2515
2516         * buffer.C: remove unused using lyx::support::atoi
2517         * paragraph_funcs.C: ditto
2518
2519 2004-11-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2520
2521         * bufferlist.C (exists): use bind and equal_to instead of
2522         compare_memfun
2523         (getBuffer): ditto
2524         * lyxtextclasslist.C (NumberOfClass): ditto
2525
2526         * cursor.C (insert): use for_each instead of explicit for loop
2527
2528         * bufferlist.C (getFileNames): use std::transform and
2529         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2530
2531         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2532         for loop
2533
2534         * buffer.C (changeLanguage): use for_each instead of explicit for
2535         loop
2536         (hasParWithID): implement using getParFromID
2537
2538         * LaTeXFeatures.C: ws change only
2539
2540         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2541         to cleanup a bit.
2542
2543         * BufferView_pimpl.C (trackChanges): use for_each instead of
2544         expilicit for loop
2545
2546 2004-11-04  André Pönitz  <poenitz@gmx.net>
2547
2548         * undo.h:
2549         * undo.C (textUndoOrRedo): fix crash when creating undo information.
2550
2551         * dociterator.C (asDocIterator): use hard assert again.
2552
2553 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2554
2555         * lyxlength.C (asLatexString): rewrite so that it does not use
2556         snprintf anymore
2557
2558 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2559
2560         * text3.C (specialChar, dispatch): make sure cursor moves to the
2561         right after inserting an inset
2562
2563 2004-11-02  José Matos  <jamatos@lyx.org>
2564
2565         * output_docbook.C (docbook):
2566         * paragraph.C (getID):
2567         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2568         garantee that the output is always legal.
2569
2570         * tabular.C (docbook):
2571         * outputprams.[Ch]: remove mixed contents.
2572
2573 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2574
2575         * text2.C (setCounter): prevent endless loop
2576
2577 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2578
2579         * exporter.C (copyFile): use the mover instead of support::copy()
2580         * exporter.C (Export): pass format and latex name to copyFile()
2581         * exporter.h (addExternalFile): document
2582         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2583
2584 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2585
2586         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2587
2588 2004-10-30  José Matos  <jamatos@lyx.org>
2589
2590         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2591         text and no inset or font change. This allows to use CDATA
2592         sections just for the whole paragraph.
2593
2594 2004-10-30  José Matos  <jamatos@lyx.org>
2595
2596         * paragraph.C (getFirstWord): remove unused variable.
2597
2598 2004-10-30  José Matos  <jamatos@lyx.org>
2599
2600         * paragraph.C (getFirstWord): the content should always be escaped
2601         there.
2602         (simpleDocBookOnePar):
2603         * output_docbook.C (makeEnvironment): replace reference to CDATA
2604         to style pass_thru.
2605
2606 2004-10-30  José Matos  <jamatos@lyx.org>
2607
2608         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2609
2610 2004-10-30  José Matos  <jamatos@lyx.org>
2611
2612         * output_docbook.C (makeParagraphs):
2613         * paragraph.[Ch] (emptyTag): for docbook and company, if the
2614         standard paragraph has only a given type of content drop the wrapper.
2615
2616 2004-10-29  José Matos  <jamatos@lyx.org>
2617
2618         * output_docbook.C (makeEnvironment):
2619         * sgml.C (openTag):
2620         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2621
2622 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
2623
2624         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2625         (cleanID): sanitize any id.
2626
2627 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2628
2629         * buffer.C, lyxlex_pimpl.C:
2630         * lyxlex_pimpl.C (setFile):
2631         s/getExtFromContents/getFormatFromContents/
2632
2633 2004-10-28  José Matos  <jamatos@lyx.org>
2634
2635         * output_docbook.C (makeEnvironment): move id to broadest possible
2636         scope.
2637
2638         * sgml.C (openTag): apply substitution of <> for all attributes.
2639
2640 2004-10-28  José Matos  <jamatos@lyx.org>
2641
2642         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2643         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2644         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2645
2646         * sgml.[Ch]: new version for open and closeTag for paragraph and
2647         for strings. Now they handle the ids of paragraphs.
2648
2649 2004-10-26  Angus Leeming  <leeming@lyx.org>
2650
2651         * Makefile.am: add mover.[Ch].
2652
2653         * converter.C (convert, move): use the new Movers to move external
2654         files to the temp directory.
2655
2656         * lyx_main.C (init): ensure that the global system_movers data
2657         is initialised.
2658
2659         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2660         preferences file.
2661
2662         * mover.[Ch]: new files, defining a Mover as a utility to move an
2663         external file between directories and, if necessary, manipulate this
2664         file using a helper script.
2665
2666 2004-10-25  José Matos  <jamatos@lyx.org>
2667
2668         * output_docbook.C (makeCommand): merge two if's that tested the
2669         same condition.
2670
2671 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2672
2673         * sgml.C (escapeString): fix warning in a better way
2674
2675 2004-10-25  José Matos  <jamatos@lyx.org>
2676
2677         * sgml.C (escapeString): import the require boosts header file for
2678         tie, and avoid a signed unsigned comparison.
2679
2680 2004-10-25  José Matos  <jamatos@lyx.org>
2681
2682         * sgml.h: add #include <string>
2683
2684 2004-10-25  José Matos  <jamatos@lyx.org>
2685
2686         * sgml.[Ch] (escapeString): new function to escape all the string.
2687
2688 2004-10-24  José Matos  <jamatos@lyx.org>
2689
2690         * paragraph.[Ch] (getFirstWord): new function to get the first
2691         word. Useful for description.
2692         (simpleDocBookOnePar): remove depth argument, add another that
2693         says where to start the paragraph.
2694
2695         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2696         use the new functions to fix cleanly the support for descriptions.
2697
2698 2004-10-24  José Matos  <jamatos@lyx.org>
2699
2700         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2701         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2702         * output_linuxdoc.C (linuxdocParagraphs):
2703         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2704         add buffer as argument.
2705
2706 2004-10-24  José Matos  <jamatos@lyx.org>
2707
2708         * output_docbook.C (makeEnvironment, searchEnvironment): place
2709         CDATA inside paragraphs and fix scope for listitems.
2710
2711 2004-10-24  José Matos  <jamatos@lyx.org>
2712
2713         * output_docbook.C: remove using statement for stack.
2714
2715 2004-10-23  José Matos  <jamatos@lyx.org>
2716
2717         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2718         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2719         docbook. The new scheme is recursive and makes use of iterators, the
2720         same as latex export works.
2721         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2722         directly with the paragraph contents. This code was moved up to
2723         output_docbook.C (docbookParagraphs).
2724         * sgml.C (openTag, closeTag): removed unneeded newlines.
2725         (closeEnvTags) removed.
2726
2727 2004-10-23  André Pönitz  <poenitz@gmx.net>
2728
2729         * undo.C (textUndoOrRedo):
2730         * dociterator.C (asDocIterator): work around crash
2731
2732         * cursor.C (getStatus): replace ASSERT by more verbose error message
2733           and manual correction of the problem. Should increase stability
2734           while providing more sensible information.
2735
2736 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2737
2738         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2739
2740         * bufferlist.C (previous, next): new methods
2741
2742         * lfuns.h:
2743         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2744
2745 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
2746
2747         * buffer.C (makeDocBookFile): add dsssl stylesheet control
2748         entities to preamble.
2749
2750 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2751
2752         * messages.C (Pimpl): strip off translation context information
2753
2754 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2755
2756         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2757         the cursor is correct (bug 1694)
2758
2759 2004-10-13  José Matos  <jamatos@lyx.org>
2760
2761         * output_docbook.C (docbookParagraphs): fix closing tags in the
2762         end of the document.
2763
2764 2004-10-09  José Matos  <jamatos@lyx.org>
2765
2766         * buffer.C: format up to 237.
2767         * bufferparams.C (write): use tostr to convert booleans to strings.
2768
2769 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
2770
2771         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2772
2773 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
2774
2775         * LaTeX.C: implement use of babel language in xindy.
2776
2777 2004-10-05  José Matos  <jamatos@lyx.org>
2778
2779         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2780         Add new translators to help reading and writing the lyx file.
2781
2782 2004-10-05  José Matos  <jamatos@lyx.org>
2783
2784         * ParagraphParameters.C (read):
2785         * text.C (readParToken): replace nexToken by more appropriate lex
2786         methods.
2787
2788 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
2789
2790         * LaTeX.C (runMakeIndex):
2791         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2792         (usually 'makeindex') configurable.
2793
2794         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2795         with a variable rather than with a number.
2796
2797 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2798
2799         * output_latex.C (TeXOnePar): make sure font setting is the first
2800         thing that gets output (and the last at the end). Should fix bug
2801         1404.
2802
2803 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2804
2805         * pch.h: use proper signal include
2806
2807         * LaTeX.h: Use preferred calling of Boost.Signal
2808         * buffer.h: ditto
2809
2810 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2811
2812         * pch.h: dont include <boost/function/function0.hpp>
2813
2814         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2815
2816         * paragraph_pimpl.h: remove usage of ShareContainer
2817
2818         * paragraph_pimpl.C: remove initialization of ShareContainer.
2819
2820 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2821
2822         Fix bug #1666
2823
2824         * BufferView.C (putSelectionAt): change the semantics when
2825         backwards == true: now, this just swaps cursor and anchor wrt the
2826         forward case
2827
2828         * BufferView.h (putSelectionAt): add some documentation
2829
2830         * lyxfind.C (findBackwards): rewrite using while(). In particular,
2831         make sure backwardChar is done at least once (to avoid getting
2832         stuck)
2833         (findNextChange): use putSelectionAt in the forward direction
2834         (operator()): use Paragraph::isWord
2835
2836 2004-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2837
2838         * Spacing.C (set): c_str fix
2839
2840 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2841
2842         * lyx_cb.C (Reconfigure): quote the name of configure script in
2843         case it contains spaces
2844
2845 2004-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2846
2847         * client: new dir
2848
2849         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2850         (BOOST_LIBS): use top_buildir when looking for the file
2851
2852 2004-08-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2853
2854         * pch.h: do not use include boost/format.hpp, multiple symbols
2855                 will result (gcc bug)
2856
2857
2858 2004-08-23  José Matos  <jamatos@lyx.org>
2859
2860         * bufferparams.C (readToken): fix reading of the author field.
2861
2862 2004-08-20  José Matos  <jamatos@lyx.org>
2863
2864         * lyxrc.C: remove support/translator.h inclusion since it is not used.
2865
2866 2004-08-20  José Matos  <jamatos@lyx.org>
2867
2868         * lyxlex.[Ch] (findToken): remove function.
2869
2870         * ParagraphParameters.C (findToken):
2871         * bufferparams.C (findToken): replace call for previous function
2872         with local copy. This local function has one more argument, the
2873         read string argument.
2874
2875 2004-08-16  José Matos  <jamatos@lyx.org>
2876
2877         * ParagraphParameters.C (write):
2878         * Spacing.C (writeFile):
2879         * bufferparams.C (writeLaTeX):
2880         * lyx_cb.C (Reconfigure):
2881         * paragraph.C (write):
2882         * tabular.C (write): remove unnecessary space at end of line.
2883
2884
2885 2004-08-16  José Matos  <jamatos@lyx.org>
2886
2887         * text.C (readParagraph): remove debug message.
2888
2889 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2890
2891         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2892         crash
2893
2894         * output_plaintext.C (asciiParagraph): set depth correctly
2895
2896         * outputparams.h: add member depth
2897
2898         * paragraph_funcs.C (ownerPar): remove.
2899
2900         * text2.C (setCounter): remove first_pit; comment out some
2901         non-working code that uses ownerPar
2902
2903         * BufferView.C (getParentLanguage): remove. Not used anymore, and
2904         uses ownerPar
2905
2906 2004-08-16  José Matos  <jamatos@lyx.org>
2907
2908         * text.C (readParToken, readParagraph, read): report all unknown tokens.
2909         For the same level of importance use the same chanel to report problems.
2910         (read): add code to deal with \begin_body and \end_body.
2911
2912
2913 2004-08-15  José Matos  <jamatos@lyx.org>
2914
2915         * lyxlex.C (getString): fix comment, buffer::readBody is now
2916         buffer:readDocument.
2917
2918         * tex-strings.C (string_papersize): Default -> default,
2919         Custom -> custom, for consistency with other options.
2920
2921 2004-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2922
2923         * pch.h: new file
2924
2925         * Makefile.am: support pch
2926
2927 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2928
2929         * text.C (readParToken): remove the static LyXFont variable and
2930         pass it as a parameter instead. This fixes a nasty bug where an
2931         inset will be inserted with a bad font in some situations
2932         (readParagraph): adapt
2933
2934         * text2.C (setCounter): reduce number of calls to pars_[pit]
2935
2936         * text.C (singleWidth): add an assert, fix a test
2937
2938         * rowpainter.C (paintText): reduce number of calls to singleWidth
2939
2940         * paragraph.C (isHfill):
2941         (isNewline): ws only
2942
2943 2004-08-14  André Pönitz  <poenitz@gmx.net>
2944
2945         * text.C:
2946         * text2.C:
2947         * rowpainter.C:
2948         * lyxtext.h (several functions): use a Paragraph & argument
2949         instead of par_type
2950
2951 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2952
2953         * metricsinfo.h: add a new field ltr_pos to PainterInfo
2954
2955         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2956
2957         * text.C (singleWidth): remove useless test
2958
2959 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2960
2961         * tabular.h: remove bogus comments
2962
2963         * tabular.C (getDescentOfRow):
2964         (isPartOfMultiColumn): add assertions
2965
2966         * lyxlength.C (inPixels): remove #warning
2967
2968 2004-08-14  André Pönitz  <poenitz@gmx.net>
2969
2970         * paragraph.h: inline getChar()
2971
2972         * BufferView.h: remove unused declarations
2973
2974 2004-08-14  José Matos  <jamatos@lyx.org>
2975
2976         * Buffer.[Ch] (readDocument): new name for old readBody.
2977         * Buffer.C: new file format, new keywords: \begin_document,
2978         \begin_header, \begin_body, \end_body.
2979
2980         * bufferparams.C (readToken): replace all calls to lex.nextToken
2981         by lex.next(). Do the same to eatLine except where really needed.
2982
2983         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2984         line when writing to the lyx file.
2985
2986         * output_plaintext.C (asciiParagraph): fix Bibliography style
2987         handling.
2988
2989         * text.C (read): fix end of file handling.
2990
2991 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2992
2993         * MenuBackend.C (Menu::operator[]): new method to access
2994         individual menu items
2995         (Menu::hasFunc): new method. search for an item that corresponds
2996         to a given func
2997         (MenuBackend::specialMenu): new method
2998         (MenuBackend::expand): if a special menu has been set, skip
2999         entries whose func() appears in this menu
3000
3001 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
3002
3003         * text3.C: use Debug::DEBUG a bit more
3004
3005         * text.C (leftMargin): try to simplify a tiny bit change var x to
3006         l_margin. Dont output the wide margins always.
3007         (rightMargin): no margin in inner texts
3008
3009         * rowpainter.h (nestMargin): new func
3010         (changebarMargin): new func
3011         (rightMargin): new func
3012
3013         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
3014         now functions.
3015         (paintLast): ditto
3016
3017         * factory.C (createInset): modify setDrawFrame
3018
3019         * cursor.C: use Debug::DEBUG a bit more
3020
3021 2004-08-14  André Pönitz  <poenitz@gmx.net>
3022
3023         * coordcache.[Ch]:
3024         * Makefile.am: new files to accomodate an 'external' (x,y)-position
3025         cache for all insets in (at least partially) visible (top-level)
3026         paragraphs.
3027
3028         * BufferView_pimpl.C: reset external coord cache before every update.
3029         This means the coord cache only contains valid entries.
3030
3031 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
3032
3033         bug 1096
3034         * BufferView_pimpl.C (getInsetByCode): move function out of class
3035         and change in to a template in anon namespace. Also fix to do what
3036         suits us better.
3037
3038 2004-08-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
3039
3040         bug 1305
3041         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
3042         of char
3043         (breakParagraph): rename par to par_offset and use a local
3044         reference. Add code to keep the language over a rebreak.
3045         (breakParagraphConservative): rename par to par_offset, use a
3046         local reference
3047         (mergeParagraph): ditto
3048         (outerHook): ditto
3049         (isFirstInSequence): ditto
3050         (outerFont): rename pit to par_offset
3051
3052         * paragraph.C: ws change
3053         * paragraph.h: ditto
3054         * text3.C: ditto
3055         * text.C: ditto
3056
3057 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3058
3059         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
3060         treatment for ']'
3061
3062         * paragraph.C (simpleTeXOnePar): when we have a \item with
3063         optional argument, enclose the argument with curly brackets (in
3064         case it contains a closing square bracket)
3065
3066         * text2.C (editXY):
3067         * text2.C (editXY):
3068         * text3.C (checkInsetHit): constify
3069
3070 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3071
3072         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
3073         documents (bug 1629)
3074
3075 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3076
3077         Fix toggling of collapsable insets with the mouse (bug 1558)
3078
3079         * lyxfunc.C (dispatch): adapt to LCursor changes
3080
3081         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
3082         make sure that dispatch is not invoked twice
3083
3084         * cursor.C (needsUpdate): new method
3085         (dispatch): return void
3086         (result): new method, to access the DispatchResult of the cursor.
3087
3088 2004-08-13  José Matos  <jamatos@lyx.org>
3089
3090         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
3091
3092 2004-08-13  André Pönitz  <poenitz@gmx.net>
3093
3094         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
3095
3096         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
3097           multiple cells
3098
3099 2004-08-12  André Pönitz  <poenitz@gmx.net>
3100
3101         * text3.C: take out the 'cursor right' form insertInset and only
3102         do it in those places when it is really needed. Fixes crash on
3103         C-m...
3104
3105 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3106
3107         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
3108
3109         * BufferView_pimpl.C (setBuffer): initialize the current font of
3110         the underlying LyXText
3111
3112 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3113
3114         * kbsequence.C (print): use UI native formatting for menu
3115         shortcuts
3116
3117         * text.C (insertChar): call Paragraph::insertChar with a font
3118         argument (cosmetic)
3119
3120         * paragraph.C (insertInset, insertChar): the version that takes a
3121         LyXFont argument is now a wrapper around the other one (the
3122         opposite used to be true).
3123
3124         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
3125         argument. Font setting is done in Paragraph now.
3126
3127 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3128
3129         * outputparams.h: add new members intitle and lang.
3130
3131         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
3132         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
3133
3134 2004-08-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3135
3136         * text3.C (dispatch): remove special handling of button 4 and 5,
3137         it is now taken care of in the frontend code.
3138
3139 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3140
3141         * Spacing.h: add <string> (STLPort compile fix)
3142
3143 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3144
3145         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
3146
3147 2004-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3148
3149         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
3150         to bool.
3151
3152         * converter.C (showMessage): inherit from unary_function, make
3153         operator() const.
3154
3155         * buffer.C (writeFile): initialize retval
3156
3157         * InsetList.h: rename private variable list to list_
3158         * InsetList.[Ch]: adjust accordingly.
3159
3160 2004-07-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3161
3162         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
3163         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
3164         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
3165         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
3166         * ParagraphParameters.C, LaTeXFeatures.C: replace
3167         "support/std_sstream.h" with <sstream>
3168
3169 2004-07-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3170
3171         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
3172         * lyxsocket.C (LyXServerSocket): ditto
3173         (serverCallback): ditto
3174
3175 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3176
3177         * LaTeXFeatures.C: check release date when loading jurabib.
3178
3179 2004-07-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3180
3181         * lyxserver.C (startPipe): call register_socket_callback
3182         (endPipe): call unregister_socket_callback
3183
3184 2004-07-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3185
3186         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
3187         (LyXServerSocket): register the callback
3188         (LyXServerSocket): unregister the callback
3189         (fd): delete function
3190         (serverCallback): improve error checking and setup the callbacks.
3191         (dataCallback): change arg to fd.
3192         (writeln): new func (copied fro the client socket) used for server
3193         write to client.
3194         (LyXDataSocket): simplify
3195         (~LyXDataSocket): close ann unregiser callback
3196         (server): delete function
3197         (fd): delete function
3198         (readln): small changes, improve some std::string usage
3199         (writeln): constify a bit
3200
3201 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3202
3203         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
3204         Qt frontend
3205
3206 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3207
3208         * BufferView_pimpl.C (setBuffer): set the layout combox value only
3209         after it has been populated
3210
3211 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3212
3213         * text2.C (insertInset): move cursor when inserting inset.
3214
3215 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3216
3217         * kbmap.C (findbindings): a couple of new methods. returns a
3218         container of kb_sequence objects. The real work is done by the
3219         private recursive version
3220         (printbindings): uses findbindings to print out a bracketed list
3221         of bindings (renamed from findbinding).
3222
3223         * MenuBackend.C (binding): use kb_keymap::findbindings
3224
3225         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
3226
3227 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3228
3229         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
3230
3231 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3232
3233         * paragraph.C (isWord): return true on insets that report
3234         isLetter().
3235
3236         * text.C (getWord): use Paragraph::isWord to decide what is in a
3237         word and what is not; fix bug 1609.
3238
3239 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3240
3241         * tex-strings.C: add "none" to string_paperpackages[], fixes
3242         off-by-one-error in the paperpackage selection.
3243
3244         * lyxlex.[Ch]:
3245         * tex-strings.[Ch]: char const * string[n]
3246         -> char const * const string[]
3247
3248 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3249
3250         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
3251         command, return early.
3252
3253 2004-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3254
3255         * debug.h: add DEBUG to enum and fix size of ANY.
3256
3257         * debug.C: add support for Debug::DEBUG
3258         (showTags): cast errorTags.level to unsigned int
3259
3260         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
3261         (redoCurrentBuffer): ditto
3262         (updateScrollbar): ditto
3263         * cursor.C (dispatch): ditto
3264         * text2.C (setLayout): ditto
3265         (setFont): ditto
3266         (updateCounters): ditto
3267         (editXY): ditto
3268         (deleteEmptyParagraphMechanism): ditto
3269
3270 2004-06-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3271
3272         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
3273         annotations to cleanup the Makefile slightly.
3274
3275 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3276
3277         * lyxrc.C: do not set user_email to a default value but use empty
3278         instead. The entry used to be translated, which does not work
3279         since at the point where lyxrc is constructed there is no
3280         translation service available
3281
3282         * messages.C (getLocaleDir): remove and use directly
3283         lyx_localedir() instead
3284
3285 2004-06-02  Angus Leeming  <leeming@lyx.org>
3286
3287         Fix crash caused by dereferencing null pointer 'exportdata' in
3288         OutputParams by creating a new ExportData variable on the heap,
3289         storing it in a boost::shared_ptr.
3290         The crash was triggered when generating an Instant Preview
3291         of an external inset.
3292
3293         * Makefile.am: add outputparams.C
3294
3295         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
3296         (c-tor): allocate memory to it.
3297
3298         * exporter.C (c-tor): associated changes.
3299
3300 2004-06-01  Angus Leeming  <leeming@lyx.org>
3301
3302         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
3303         contains data before calling isInset(0). (Bug 1513.)
3304
3305 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3306
3307         * exporter.C (checkOverwrite): new method
3308         * exporter.C (copyFile): new method
3309         * exporter.C (Export): copy referenced files to the document dir
3310         * exporter.[Ch]: new class ExportedFile
3311         * exporter.[Ch]: new class ExportData. Contains currently the
3312         names of referenced external files
3313         * outputparams.h: add exportdata member.
3314
3315 2004-05-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3316
3317         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
3318         version.C-tmp
3319
3320 2004-05-19  Angus Leeming  <leeming@lyx.org>
3321
3322         * LaTeXFeatures.C:
3323         * ToolbarBackend.C:
3324         * bufferparams.C:
3325         * lyxfunc.C: small changes due to the introduction of namespace
3326         lyx::frontend and the moving of namespace biblio to lyx::biblio.
3327
3328 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
3329
3330         * text3.C (dispatch): supress update when only moving the cursor
3331         * cursor.C (selHandle): remove commented code
3332
3333 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3334
3335         * paragraph.C (startTeXParParams): correct column count
3336         * CutAndPaste.C (pasteSelection): remove const_cast
3337         * output_docbook.C (docbookParagraphs): remove const_cast
3338         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
3339         const_cast and return ParagraphList::const_iterator
3340         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
3341         * output_plaintext.C (writeFileAscii): remove const_cast
3342         * paragraph.[Ch] (simpleTeXOnePar): make const
3343         * paragraph_funcs.C (outerPar): use const iterators
3344         * paragraph_pimpl.C (validate): use const iterators
3345         * text.C (setHeightOfRow): use const iterators
3346
3347 2004-05-17  Angus Leeming  <leeming@lyx.org>
3348
3349         * lfuns.h:
3350         * LyXAction.C (init): new LFUN_INSET_REFRESH.
3351
3352         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
3353         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
3354         if the citation engine has changed.
3355
3356 2004-05-14  José Matos  <jamatos@lyx.org>
3357
3358         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
3359         if the textclass does not provide it. Have it different for sgml and
3360         xml.
3361         support the language of document.
3362         * output_docbook.C (docbookParagraphs):
3363         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
3364         first anchor as the id of the paragraph, remove special case code.
3365         * sgml.C (escapeChar): escape only < & >.
3366
3367 2004-05-14  Angus Leeming  <leeming@lyx.org>
3368
3369         * bufferparams.h: move biblio::CiteEngine enum here to minimize
3370         dependencies on src/frontends/controllers/biblio.h. Define a
3371         CiteEngine_enum wrapper class to enable the enum to be forward
3372         declared.
3373
3374 2004-05-12  Angus Leeming  <leeming@lyx.org>
3375
3376         * buffer.C: up LYX_FORMAT to 234.
3377         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
3378         use_numerical_citations with a single biblio::CiteEngine cite_engine
3379         variable.
3380         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
3381
3382 2004-05-13  José Matos  <jamatos@lyx.org>
3383
3384         * converter.h:
3385         * converter.C (Converter, readFlags): add xml member.
3386         * outputparams.h: add XML flavor.
3387         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
3388
3389 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3390
3391         * lyxfunc.C (dispatch):
3392         (getStatus): fix handling of LFUN_SEQUENCE
3393
3394 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3395
3396         * debug.C (showLevel): do not forget the end-of-line marker
3397
3398 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3399
3400         * kbmap.C (read): do not stop parsing a bind file when an error
3401         occurs (bug 1575)
3402
3403 2004-04-29  Angus Leeming  <leeming@lyx.org>
3404
3405         * cursor.C:
3406         * factory.C:
3407         * pariterator.C:
3408         * text2.C: wrap a bunch of #warning statements
3409         inside #ifdef WITH_WARNINGS blocks.
3410
3411 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3412
3413         * buffer.C: increment format to 233.
3414
3415 2004-04-28  Angus Leeming  <leeming@lyx.org>
3416
3417         * BufferView_pimpl.C:
3418         * lyxfunc.C:
3419         * text3.C:
3420         s/updateToolbar()/updateToolbars()/
3421         s/Toolbar.h/Toolbars.h/
3422
3423 2004-04-28  Angus Leeming  <leeming@lyx.org>
3424
3425         * BufferView.[Ch] (c-tor):
3426         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
3427         No longer passes these data to the WorkArea generator.
3428
3429 2004-04-28  Angus Leeming  <leeming@lyx.org>
3430
3431         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
3432
3433 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3434
3435         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
3436
3437 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3438
3439         * output_latex.C (TeXEnvironment): make sure that there is a line
3440         break before \end{foo} for the last paragraph of a document
3441         (TeXOnePar): if the paragraph is at the end of the document (or
3442         inset) and the language has to be reset, then make sure that the
3443         line break is _before_ the language command, not after (fixes bug
3444         1225); also make sure that the language reset command is the first
3445         thing after the paragraph (to ensure proper nesting of
3446         environments and thus fix bug 1404)
3447
3448 2004-04-21  John Levon  <levon@movementarian.org>
3449
3450         * ToolbarBackend.h:
3451         * ToolbarBackend.C: make "name" be a programmatic name
3452         and a gui_name field.
3453
3454         * lyxfunc.C: display the minibuffer on M-x
3455
3456 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3457
3458         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3459         (bug 1526)
3460
3461 2004-04-19  Angus Leeming  <leeming@lyx.org>
3462
3463         * BufferView_pimpl.C (setBuffer): changed preview interface.
3464
3465         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3466         possible values.
3467
3468 2004-04-19  John Levon  <levon@movementarian.org>
3469
3470         * BufferView_pimpl.C:
3471         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3472
3473 2004-04-05  Angus Leeming  <leeming@lyx.org>
3474
3475         * text.C (redoParagraphs): add call to updateCounters(), thereby
3476         fixing the missing "Figure #:" label from the caption of a
3477         figure float.
3478
3479 2004-04-13  Angus Leeming  <leeming@lyx.org>
3480
3481         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3482         cursor is clicked out of an inset.
3483
3484 2004-04-13  Angus Leeming  <leeming@lyx.org>
3485
3486         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3487         than an InsetOld one.
3488
3489 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3490
3491         * format.[Ch]: add editor to Format
3492         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3493         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3494
3495 2004-04-08  André Pönitz  <poenitz@gmx.net>
3496
3497         * metricsinfo.h: remove PainterInfo::width member
3498
3499 2004-04-08  Angus Leeming  <leeming@lyx.org>
3500
3501         * lyx_sty.C (boldsymbol_def): modify so that it outputs
3502         "\providecommand" rather than "\newcommand", thereby preventing
3503         clashes with packages that define "\boldsymbol" themselves.
3504         Eg, beamer.
3505
3506 2004-04-08  Angus Leeming  <leeming@lyx.org>
3507
3508         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3509         thereby squashing an unnecessary warning.
3510
3511 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3512
3513         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3514         setBuffer()
3515
3516 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
3517
3518         * BufferView.C (setCursor): call redoParagraph (some insets could
3519         have been opened)
3520         (putSelectionAt): remove the 'double update' trick
3521
3522         * BufferView_pimpl.C (fitCursor): call refreshPar
3523         (workAreaDispatch): remove an uneeded update call
3524         (dispatch): remove some manual update calls
3525
3526         * cursor.[Ch]: remove cached_y_, updatePos
3527         (selHandle): set noUpdate when appropriate
3528
3529         * lyxfunc.C (dispatch): track if we need an update
3530
3531         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3532
3533         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3534         (paintSelection): cheap optimization, do not call cursorX when not
3535         needed
3536         (paintPars): change signature
3537         (refreshPar): add
3538         (paintText): adjust
3539         (paintTextInset): adjust
3540
3541         * text.C: adjust
3542
3543 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3544
3545         * lengthcommon.C: compilation fix: remove explicit array size from
3546         unit_name[] and friends
3547
3548 2004-04-05  Angus Leeming  <leeming@lyx.org>
3549
3550         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3551
3552         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3553         present only for the preferences dialog.
3554         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3555
3556 2004-04-05  Angus Leeming  <leeming@lyx.org>
3557
3558         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3559         to enable the frontends to export changes to lyxrc correctly.
3560
3561         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3562
3563 2004-04-07  André Pönitz  <poenitz@gmx.net>
3564
3565         * cursor.[Ch] (selClear, adjust): remove math
3566
3567         * cursor_slice.C: more agressive assert
3568
3569         * lyxfunc.C:
3570         * BufferView_pimpl.C: rework mouse event dispatch
3571
3572         * dociterator.C:
3573         * paragraph.C:
3574         * text2.C:
3575         * text3.C: adjust
3576
3577 2004-04-05  André Pönitz  <poenitz@gmx.net>
3578
3579         * cursor.[Ch] (valign, halign...): remove unneeded functions
3580
3581 2004-04-05  Angus Leeming  <leeming@lyx.org>
3582
3583         * lyxlength.[Ch] (unit_name et al.): const-correct.
3584
3585 2004-04-05  Angus Leeming  <leeming@lyx.org>
3586
3587         * BufferView_pimpl.C:
3588         * buffer.C:
3589         * counters.C:
3590         * cursor.C:
3591         * lyxfunc.C
3592         * paragraph.C:
3593         * pariterator.C:
3594         * text.C:
3595         * text2.C:
3596         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3597
3598 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3599
3600         * text3.C (getStatus): add LFUN_BEGINNINGBUF
3601
3602 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3603
3604         * lyxfind.C: add a couple of inTexted() tests + other small fixes
3605         * BufferView_pimpl.[Ch] (getStatus)
3606         * BufferView.[Ch] (getStatus): add
3607         * lyxfunc.C (getStatus): move lfuns handled in
3608         BufferView::dispatch to te function above
3609         * Cursor.C (setSelection): set selection() = true
3610
3611 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3612
3613         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3614
3615 2004-03-31  Angus Leeming  <leeming@lyx.org>
3616
3617         * lyxfunc.C (dispatch): Fall through to the generic
3618         Dialogs::show("preamble").
3619
3620 2004-03-31  Angus Leeming  <leeming@lyx.org>
3621
3622         * lyxfunc.C (dispatch): Fall through to the generic
3623         Dialogs::show("spellchecker").
3624
3625 2004-03-31  Angus Leeming  <leeming@lyx.org>
3626
3627         * lyxfunc.C (getStatus, dispatch): changed invocation of the
3628         preferences dialog.
3629
3630 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3631
3632         * BufferView.C
3633         * cursor.[Ch]
3634         * dociterator.[Ch]:
3635         * insetiterator.[Ch]:
3636         * lyxfind.C:
3637         * lyxfunc.C:
3638         * pariterator.[Ch]:
3639         * text2.C:
3640         * undo.[Ch]: s/DocumentIterator/DocIterator/g
3641
3642 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3643
3644         * BufferView.C (setCursor, putSelectionAt): call edit to open the
3645         insets where we are putting the cursor.
3646
3647 2004-03-31  Angus Leeming  <leeming@lyx.org>
3648
3649         * lfuns.h:
3650         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3651
3652         * lyxrc.[Ch] (read, write): overloaded member functions taking
3653         a std::[io]stream arguments.
3654
3655         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3656
3657 2004-03-31  Angus Leeming  <leeming@lyx.org>
3658
3659         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3660         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3661
3662         * lyxtextclass.C (load): if the text class couldn't be loaded, then
3663         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3664
3665 2004-03-31  Angus Leeming  <leeming@lyx.org>
3666
3667         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3668         the LFUN_ALL_INSETS_TOGGLE code.
3669
3670 2004-03-30  Angus Leeming  <leeming@lyx.org>
3671
3672         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3673         has died. Fall through to the generic Dialogs::show("document").
3674
3675 2004-03-30  Angus Leeming  <leeming@lyx.org>
3676
3677         * lfuns.h:
3678         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3679         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3680
3681         * lyxfunc.C (getStatus, dispatch): define the actions for these
3682         lfuns. Little more than a cut and pste job from ControlDocument.C
3683
3684         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3685
3686 2004-03-30  Angus Leeming  <leeming@lyx.org>
3687
3688         * lfuns.h:
3689         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3690         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3691
3692         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3693         open/closed state of ollapsable insets. Usage:
3694
3695         all-inset-toggle <state> <name>, where
3696         <state> == "open" || "closed" || "toggle" and
3697         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3698
3699         * lyxtext.h, text2.C (toggleInset): removed.
3700
3701         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3702         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3703         now passes LFUN_INSET_TOGGLE to the found inset.
3704
3705         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3706         is now invoked as "all-insets-toggle toggle branch".
3707
3708 2004-03-30  Angus Leeming  <leeming@lyx.org>
3709
3710         * dociterator.C:
3711         * insetiterator.C:
3712         * pariterator.[Ch]: added/corrected header blurb.
3713
3714 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
3715
3716         * dociterator.[Ch]: add an inset_ member
3717         (backwardPos): implemented
3718         (backwardPos, forwardPos): use inset_ when the stack is empty.
3719         (doc_iterator_begin, doc_iterator_end): implemented
3720         * pariterator.[Ch]: adjust, add begin, end
3721         * insetiterator.[Ch]: adjust, add begin, end
3722         * cursor.C:
3723         * document.C:
3724         * BufferView.C:
3725         * BufferView_pimpl.C:
3726         * CutAndPaste.C: adjust
3727
3728 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3729
3730         * buffer.C: increment file format to 232.
3731         * LaTeXFeatures.C: add bibtopic package.
3732         * bufferparams.[Ch]: param \use_bibtopic.
3733
3734         * lyxrc.[Ch]: add lyxrc bibtex_command
3735         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3736
3737         * buffer.C: increment file format to 231.
3738
3739 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3740
3741         * dociterator.C: implement forwardPar
3742         * iterators.[Ch]: remove, replaced by
3743         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3744         * BufferView.C:
3745         * BufferView_pimpl.C:
3746         * CutAndPaste.C:
3747         * buffer.C:
3748         * bufferview_funcs.C:
3749         * cursor.C:
3750         * lyxfind.C
3751         * lyxfunc.C
3752         * paragraph_funcs.C
3753         * toc.C:
3754         * Makefile.am: adjust
3755
3756 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3757
3758         * CutAndPaste.C (pasteSelection): fix 2 crashes
3759         (eraseSelection): fix a crash
3760         * paragraph_funcs.C: remove a warning
3761
3762 2004-03-28  Angus Leeming  <leeming@lyx.org>
3763
3764         * lfuns.h:
3765         * LyXAction.C (init): new LFUN_PRINT.
3766
3767         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3768
3769 2004-03-27  Angus Leeming  <leeming@lyx.org>
3770
3771         * lfuns.h:
3772         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3773
3774         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3775
3776 2004-03-27  Angus Leeming  <leeming@lyx.org>
3777
3778         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3779         insetlist always contains non-null pointers to insets.
3780
3781 2004-03-26  Angus Leeming  <leeming@lyx.org>
3782
3783         * src/BufferView_pimpl.C:
3784         * src/CutAndPaste.C:
3785         * src/buffer.C:
3786         * src/iterators.C:
3787         * src/output_plaintext.C:
3788         * src/outputparams.h:
3789         * src/paragraph_funcs.C:
3790         * src/rowpainter.C:
3791         * src/text.C:
3792         * src/text2.C:
3793         * src/frontends/controllers/ControlErrorList.C:
3794         * src/frontends/gtk/FileDialogPrivate.C:
3795         * src/frontends/gtk/GPainter.C:
3796         * src/frontends/gtk/GToolbar.C:
3797         * src/frontends/qt2/QRef.C:
3798         * src/mathed/math_scriptinset.C: squash compiler warnings.
3799
3800 2004-03-26  Angus Leeming  <leeming@lyx.org>
3801
3802         * ispell.C (LaunchIspell::start):
3803         * lyx_cb.C (AutoSaveBuffer::start):
3804         invoke run(DontWait) rather than runNonBlocking().
3805
3806 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
3807
3808         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3809
3810 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3811
3812         * kbsequence.C (print): adjust
3813
3814         * kbmap.C (printKeySym): rename and change signature
3815         (printKey): use LyXKeySym::print()
3816
3817 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
3818
3819         * undo.C: add using std::advance to compile for stlport
3820
3821 2004-03-24  Angus Leeming  <leeming@lyx.org>
3822
3823         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3824         it leads to a crash when no buffer is present.
3825
3826 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3827             Martin Vermeer  <martin.vermeer@hut.fi>
3828
3829         * lyxfunc.C (dispatch):
3830         * bufferparams.C (readToken): use the new LColor::setColor
3831
3832         * LColor.[Ch] (setColor): new version that takes two strings as
3833         argument and creates a new color entry if necessary
3834
3835 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3836
3837         * buffer.C (makeLaTeXFile): if the main latex file that is
3838         processed is usually a subdocument of some master, then pretend
3839         for a while that it is actually the master
3840
3841 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3842
3843         * buffer.C (getLabelList):
3844         (getBibkeyList): use getMasterBuffer()
3845         (getMasterBuffer): new method. Returns the main document in the
3846         case where one is using included documents.
3847
3848 2004-03-25  André Pönitz  <poenitz@gmx.net>
3849
3850         * Makefile.am:
3851         * iterators.[Ch]:
3852         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3853
3854         * ParagraphList_fwd.h: change ParagraphList to a std::vector
3855
3856         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3857         text*.C over here. Rename namespace CutAndPaste to lyx::cap
3858
3859         * ParameterStruct.h: merge with ParagraphParameters
3860
3861         * lyxtext.h: remove LyXText::parOffset() and getPar()
3862
3863         * text3.C: Remove all 'manual' update calls. We do now one per user
3864         interaction which is completely sufficient.
3865
3866         * Bidi.C:
3867         * BufferView.[Ch]:
3868         * BufferView_pimpl.C:
3869         * FontIterator.[Ch]:
3870         * MenuBackend.C:
3871         * ParagraphParameters.[Ch]:
3872         * buffer.C:
3873         * buffer.h:
3874         * bufferlist.C:
3875         * cursor.[Ch]:
3876         * cursor_slice.[Ch]:
3877         * dociterator.[Ch]:
3878         * errorlist.[Ch]:
3879         * factory.C:
3880         * lfuns.h:
3881         * lyxfind.C:
3882         * lyxfunc.C:
3883         * output_docbook.[Ch]:
3884         * output_latex.[Ch]:
3885         * output_linuxdoc.[Ch]:
3886         * output_plaintext.[Ch]:
3887         * paragraph.[Ch]:
3888         * paragraph_funcs.[Ch]:
3889         * paragraph_pimpl.[Ch]:
3890         * rowpainter.C:
3891         * tabular.[Ch]:
3892         * text.C:
3893         * text2.C:
3894         * toc.C:
3895         * undo.[Ch]: adjust
3896
3897         * frontends/controllers/ControlDocument.C:
3898         * frontends/controllers/ControlErrorList.C:
3899         * frontends/controllers/ControlSpellchecker.C:
3900         * insets/inset.C:
3901         * insets/inset.h:
3902         * insets/insetbase.h:
3903         * insets/insetbibitem.C:
3904         * insets/insetbox.C:
3905         * insets/insetbranch.C:
3906         * insets/insetcaption.C:
3907         * insets/insetcharstyle.C:
3908         * insets/insetcharstyle.h:
3909         * insets/insetcollapsable.C:
3910         * insets/insetcollapsable.h:
3911         * insets/insetert.C:
3912         * insets/insetfloat.C:
3913         * insets/insetfoot.C:
3914         * insets/insetmarginal.C:
3915         * insets/insetnote.C:
3916         * insets/insetoptarg.C:
3917         * insets/insettabular.C:
3918         * insets/insettext.C:
3919         * insets/insettext.h:
3920         * insets/insetwrap.C:
3921         * mathed/math_mboxinset.C:
3922         * mathed/math_nestinset.C:
3923         * mathed/math_scriptinset.C:
3924         * mathed/math_scriptinset.h:
3925         * support/types.h:
3926
3927 2004-03-24  Angus Leeming  <leeming@lyx.org>
3928
3929         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3930         deal with any child processes that have finished but are waiting to
3931         communicate this fact to the rest of LyX.
3932
3933 2004-03-24  Angus Leeming  <leeming@lyx.org>
3934
3935         64-bit compile fixes.
3936
3937         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3938         (c-tor): pass lyx::pos_types rather than ints.
3939
3940         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3941         lyx::pos_type.
3942
3943         * text.C (Delete): compile fix.
3944         (getPar): ensure that function declaration is the same as that in
3945         the header file.
3946
3947 2004-03-23  Angus Leeming  <leeming@lyx.org>
3948
3949         * ispell.C (LaunchIspell):
3950         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3951         a boost::shred_ptr rather than a std::auto_ptr.
3952
3953 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3954
3955         * lyxfunc.C (getStatus): handle read-only buffers correctly;
3956         handle LFUN_FILE_INSERT_*
3957
3958         * lyxrc.C (setDefaults, getDescription, output, read):
3959         * lyxrc.h: remove ps_command
3960
3961 2004-03-22  Angus Leeming  <leeming@lyx.org>
3962
3963         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3964         Ensure that error_handler is processed once only and that all data
3965         is saved before attempting to output any warning messages.
3966
3967         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3968
3969 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
3970
3971         * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3972
3973 2004-03-19  André Pönitz  <poenitz@gmx.net>
3974
3975         * cursor.[Ch] (reset): take main text inset as argument
3976
3977         * BufferView: adjust
3978         * BufferView_pimpl.C: adjust
3979
3980         * paragraph.[Ch]: fix completely broken operator=()
3981
3982 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3983
3984         * LColor.C (getFromLyXName): make sure that the color name is used
3985         as lowercase.
3986
3987 2004-03-17  Angus Leeming  <leeming@lyx.org>
3988
3989         * lfuns.h:
3990         * LyXAction.C (init): remove LFUN_FORKS_KILL.
3991
3992         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3993         dialog and to kill a forked process.
3994
3995 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3996
3997         * text2.C (setCursorFromCoordinates): fix font problem
3998
3999 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
4000
4001         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
4002         bogus "rebuild cursor" code
4003
4004 2004-03-11  André Pönitz  <poenitz@gmx.net>
4005
4006         * buffer.[Ch]: use InsetText instead of LyXText as container for
4007         the main lyx text.
4008
4009         * dociterator.[Ch]: drop the BufferView * member which is not needed
4010         anymore after the change to buffer.C
4011
4012         * paragraph_funcs.C:
4013         * text.C:
4014         * text2.C:
4015         * BufferView.[Ch]:
4016         * BufferView_pimpl.[Ch]:
4017         * cursor.[Ch]:
4018         * cursor_slice.[Ch]: adjust
4019
4020         * text3.C: fix bug in mathDispatch
4021
4022 2004-03-08  André Pönitz  <poenitz@gmx.net>
4023
4024         * undo.[Ch]: use 'StableDocumentIterator' as base for
4025         the Undo struct.
4026
4027 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4028
4029         * LaTeXFeatures.C:
4030         * bufferparams.[Ch]: add jurabib support and param.
4031
4032         * LaTeX.C: add FIXME/comment.
4033
4034 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4035
4036         * buffer.C: increment file format to 230.
4037
4038 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
4039
4040         * cursor.C (dispatch): avoid infinite loops
4041
4042 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
4043
4044         * rowpainter.C (paintSelection): fix x coordinates
4045
4046 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
4047
4048         * text.C (rowBreakPoint): fix breaking before displayed insets
4049
4050 2004-03-01  André Pönitz  <poenitz@gmx.net>
4051
4052         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
4053
4054         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
4055
4056         * Makefile.am:
4057         * BufferView.C:
4058         * BufferView_pimpl.C:
4059         * buffer.C:
4060         * lyxfind.C:
4061         * lyxfunc.C:
4062         * text.C:
4063         * text2.C:
4064         * text3.C: adjust
4065
4066 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
4067
4068         * lyxtext.h:
4069         * text.C:
4070         * text2.C:
4071         * rowpainter.C:
4072         * BufferView_pimpl.C: rename textwidth -> maxwidth,
4073         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
4074
4075 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
4076
4077         * Bidi.[Ch] (computeTables): const correctness
4078         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
4079         fill_hfill, fill_label_hfill and x from Row
4080         * lyxtext.h: prepareToPrint returns a RowMetrics
4081         * rowPainter.C: adjust
4082         * text.C (prepareToPrint): use width, not textWidth. adjust
4083         (redoParagraphInternal, cursorX): adjust
4084         * text2.C (getColumnNearX): adjust
4085         (init): put a default value to the top LyXText::width
4086
4087 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
4088
4089         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
4090
4091 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
4092
4093         * lyxtext.h: add FontIterator class
4094
4095         * text.C (FontIterator, operator*, operator->, operator++): add
4096         (rowBreakPoint, setRowWidth): adjust (fixing a
4097         rebreaking bug)
4098
4099 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4100
4101         * BufferView_pimpl.C (workAreaDispatch): allow also
4102         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
4103
4104 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
4105
4106         * text.C (rowBreakPoint): fix a bug showing with very large insets
4107
4108 2004-02-25  André Pönitz  <poenitz@gmx.net>
4109
4110         * text3.C:
4111         * cursor.[Ch]: move some mathed specific code to mathed
4112
4113 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4114
4115         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
4116         use_tempdir in preferences
4117         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
4118         tempfile creation
4119         * lyx_main.C: ensure that tempdir is valid
4120         * lyxlex.h: correct typo
4121         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
4122         * paragraph.[Ch] (isMultiLingual): make const
4123         * cursor.[Ch] (openable): make const
4124
4125 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4126
4127         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
4128
4129 2004-02-20  André Pönitz  <poenitz@gmx.net>
4130
4131         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
4132
4133         * cursor.[Ch]: prepare for localized getStatus()
4134
4135         * lyxtext.h:
4136         * tabular.C:
4137         * text.C:
4138         * text2.C:
4139         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
4140
4141 2004-02-20  André Pönitz  <poenitz@gmx.net>
4142
4143         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
4144
4145 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
4146
4147         * text2.C (setCursorFromCoordinates): switch to absolute coords
4148         (cursorUp): adjust
4149         (cursorDown): adjust
4150         * text3.C (dispatch): adjust
4151
4152 2004-02-16  André Pönitz  <poenitz@gmx.net>
4153
4154         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
4155           insets/ChangeLog)
4156
4157         * cursor_slice.[Ch]: remove unneeded acessor function
4158
4159         * lyxtext.h: rename rtl() to isRTL()
4160
4161         * rowpainter.C:
4162         * tabular.C:
4163         * text.C:
4164         * text2.C:
4165         * text3.C: adjust
4166
4167 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
4168
4169         * rowpainter.C (paintSelection): coord fix
4170
4171 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
4172
4173         * Spacing.C: compile fix
4174
4175 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
4176
4177         * cursor.C (dispatch): restore current_ before returning
4178
4179 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
4180
4181         * text2.C (cursorUp, cursorDown): fix coords
4182         (moveUp): fix crash
4183
4184 2004-02-12  André Pönitz  <poenitz@gmx.net>
4185
4186         * lyxtext.h:
4187         * text.C:
4188         * text2.C:
4189         * text3.C: add LCursor & parameter to most cursor movement functions
4190           remove usage of LyXText::cursorRow() and cursorPar()
4191
4192         * cursor.[Ch]: add textRow() needed members
4193
4194         * BufferView.C:
4195         * BufferView_pimpl.C:
4196         * paragraph.[Ch]:
4197         * BufferView.C:
4198         * BufferView_pimpl.C: adjust
4199
4200 2004-02-11  André Pönitz  <poenitz@gmx.net>
4201
4202         * lyxfunc.C:
4203         * BufferView.[Ch]:
4204         * BufferView_pimpl.C: shift undo/redo handling
4205
4206         * cursor.[Ch]: fix mathed crash
4207
4208         * lyxfind.C:
4209         * lyxtext.h: move selectionAsText to LCursor
4210
4211         * output_latex.C:
4212         * paragraph.C:
4213         * text.C:
4214         * text2.C:
4215         * text3.C: adjust
4216
4217         * rowpainter.C: fix excessive drawing
4218
4219 2004-02-06  André Pönitz  <poenitz@gmx.net>
4220
4221         * BufferView.[Ch]:
4222         * BufferView_pimpl.[Ch]:
4223         * text3.C: move some text specific LFUN handling
4224
4225 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
4226
4227         * text3.C (checkInsetHit): adjust coords
4228         * text2.C (getColumnNearX): adjust coords
4229         (edit): adjust coords
4230         * text.C (getRowNearY): add two asserts
4231
4232 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
4233
4234         * converter.C:
4235         * format.C: add using std::distance to compile on gcc 2.95/stlport
4236
4237 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
4238
4239         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
4240
4241 2004-02-04  André Pönitz  <poenitz@gmx.net>
4242
4243         * BufferView.[Ch] (insertInset):
4244         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
4245
4246         * text2.C:
4247         * text3.C: adjust
4248
4249 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
4250
4251         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
4252         on the default clause of the switch
4253         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
4254         wasn't catched by LCursor::dispatch
4255
4256 2004-02-03  André Pönitz  <poenitz@gmx.net>
4257
4258         * BufferView.C:
4259         * cursor.[Ch]: some additional asserts
4260
4261         * undo.[Ch]: remove LyXText dependency in interface
4262
4263         * lyxfunc.C: adjust
4264
4265         * lyxtext.h (firstPar, lastPar): remove dead functions
4266
4267         * text.C:
4268         * text2.C:
4269         * text3.C:
4270         * paragraph.[Ch]: adjust
4271
4272 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
4273
4274         * lyxfind.C (find): fix argument order in call to ::find
4275
4276 2004-02-02  André Pönitz  <poenitz@gmx.net>
4277
4278         * cursor.[Ch]: remove direct access to anchor
4279
4280         * text.C: remove findText() hack
4281
4282 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
4283
4284         * iterators.[Ch] (lockPath): remove in favour of...
4285         * BufferView.[Ch] (setCursor): this addition
4286         * BufferView.C (putSelectionAt): adjust
4287         * undo.C (performUndoOrRedo): adjust
4288         * lyxfunc.C (dispatch): adjust
4289
4290 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
4291
4292         * iterators.C (lockPath): add a missing slice
4293         * undo.C (performUndoOrRedo): remove redundant positioning code
4294
4295 2004-02-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4296
4297         * vc-backend.C (scanMaster): ";" -> ';'
4298
4299 2004-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4300
4301         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
4302         std::binary_function
4303
4304         * lyxtextclass.C (compare_name): rename to...
4305         (LayoutNamesEqual): ...this
4306
4307         * lyxlex_pimpl.C (compare_tags): inherit from
4308         std::binary_function, put back into anon namespace
4309
4310         * lyxfind.C (MatchString): inherig from std::binary_function
4311         (findChange): use empty() istead of !size()
4312
4313         * format.C (FormatNamesEqual): new functor
4314         (getFormat): use it
4315         (getNumber): use it
4316         (add): use it
4317         (erase): use it
4318         (setViewer): use it
4319
4320         * converter.C (compare_Converter): rename to...
4321         (ConverterEqual): ...this, and fixup a bit.
4322         (getConverter): use it, and make function const
4323         (getNumber): use it, and make function const
4324         (add): use it
4325         (erase): use it:
4326
4327         * bufferlist.C: add using boost::bind
4328
4329         * MenuBackend.C (MenuNamesEqual): new functor
4330         (hasMenu): use it, and make function const
4331         (hasSubmenu): use nested bind to get rid of compare_memfun.
4332
4333 2004-01-30  André Pönitz  <poenitz@gmx.net>
4334
4335         * BufferView_pimpl.C:
4336         * cursor.C:
4337         * cursor.h:
4338         * cursor_slice.[Ch]:
4339         * lyxfunc.C:
4340         * lyxtext.h:
4341         * paragraph_funcs.C:
4342         * paragraph_funcs.h:
4343         * rowpainter.C:
4344         * text.C:
4345         * text2.C:
4346         * text3.C: move some of the edit(x,y) handling to the insets
4347         some coordinate changes.
4348
4349 2004-01-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4350
4351         * text.C: add using statements for std::advance and std::distance
4352
4353         * paragraph.C: add using statement for std::distance
4354
4355         * lyxfind.C: add using statement for std::advance
4356
4357         * cursor.C (region): remove std:: from swap
4358         (openable): use nucleus in stead of operator->
4359
4360         * BufferView.C: add using statements for std::distance and std::swap
4361
4362 2004-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4363
4364         * iterators.C: Remove the pimple, move the needed structures to
4365         the header file. Create accessor for the positions stack.
4366         (asPosIterator): remove function
4367
4368         * PosIterator.C (PosIterator): move constructors to top of file
4369         (PosIterator): reimplement the constructor taking a ParIterator in
4370         terms of setFrom.
4371         (setFrom): new function
4372         (operator!=): inline it
4373
4374 2004-01-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4375
4376         * lyxfind.C (replaceAll): use std::advance
4377
4378         * iterators.h: inherit from std::iterator.
4379
4380         * PosIterator.C (advance, distance): remove
4381         * PosIterator.h: interit from std::iterator.
4382
4383 2004-01-26  André Pönitz  <poenitz@gmx.net>
4384
4385         * BufferView.[Ch]:
4386         * BufferView_pimpl.[Ch]:
4387         * InsetList.[Ch]:
4388         * PosIterator.[Ch]:
4389         * buffer.h:
4390         * bufferview_funcs.C:
4391         * cursor.[Ch]:
4392         * cursor_slice.h:
4393         * factory.[Ch]:
4394         * iterators.[Ch]:
4395         * lyxfind.C:
4396         * lyxfunc.C:
4397         * lyxtext.h:
4398         * output_docbook.C:
4399         * output_latex.C:
4400         * output_linuxdoc.C:
4401         * output_plaintext.C:
4402         * paragraph.[Ch]:
4403         * paragraph_funcs.[Ch]:
4404         * paragraph_pimpl.[Ch]:
4405         * rowpainter.C:
4406         * tabular.C:
4407         * tabular.h:
4408         * text.C:
4409         * text2.C:
4410         * text3.C: more IU:  dumps most of the rest of the mathcursor
4411     implementation into cursor.[Ch]; "globalize" a bit of it.
4412
4413 2004-01-25  Angus Leeming  <leeming@lyx.org>
4414
4415         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
4416
4417 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4418
4419         * LaTeXFeatures.h: add nice_ and nice() const
4420         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
4421
4422 2004-01-20  André Pönitz  <poenitz@gmx.net>
4423
4424         * BufferView.[Ch]:
4425         * BufferView_pimpl.C:
4426         * PosIterator.C:
4427         * bufferview_funcs.C:
4428         * cursor.[Ch]:
4429         * cursor_slice.[Ch]:
4430         * factory.C:
4431         * iterators.C:
4432         * lyx_cb.C:
4433         * lyxfind.C:
4434         * lyxfunc.C:
4435         * lyxtext.h:
4436         * rowpainter.C:
4437         * text.C:
4438         * text2.C:
4439         * text3.C:
4440         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
4441           LCursor and mathcursor parts to LCursor and InsetBase.
4442
4443 2004-01-15  André Pönitz  <poenitz@gmx.net>
4444
4445         * cursor_slice.[Ch]: add a few covienience functions
4446
4447         * funcrequest.[Ch]: remove BufferView * member
4448
4449         * BufferView_pimpl.C:
4450         * cursor.C:
4451         * factory.[Ch]:
4452         * lyxfind.[Ch]:
4453         * lyxfunc.C:
4454         * lyxtext.h:
4455         * text3.C:
4456         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4457
4458 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
4459
4460         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4461         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4462
4463 2004-01-13  André Pönitz  <poenitz@gmx.net>
4464
4465         * textcursor.[Ch]:
4466         * lyxtext.h: hide cursor and selection anchor behind accessor function
4467
4468         * BufferView.C:
4469         * BufferView_pimpl.[Ch]:
4470         * PosIterator.C:
4471         * bufferview_funcs.C:
4472         * cursor.h:
4473         * lyxfind.C:
4474         * lyxfunc.C:
4475         * text.C:
4476         * text2.C:
4477         * text3.C:
4478         * undo.C: adjust
4479
4480         * cursor.h:
4481         * cursor_slice.[Ch]: some integer type changes for inset unification
4482
4483         * lyxcursor.[hC]: remove, it's CursorSlice now.
4484
4485         * Makefile.am:
4486         * BufferView_pimpl.[Ch]:
4487         * bufferview_funcs.C:
4488         * cursor_slice.C:
4489         * lyxtext.h:
4490         * text.C:
4491         * text2.C:
4492         * text3.C:
4493         * textcursor.[Ch]: adjust
4494
4495 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
4496
4497         * text2.C (undoSpan): add and use
4498         * text.C (breakParagraph): use undoSpan (fix bug 578)
4499         * lyxtext.h: adjust
4500
4501 2004-01-08  Angus Leeming  <leeming@lyx.org>
4502
4503         * BufferView_pimpl.C (MenuInsertLyXFile):
4504         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4505         * lyxfunc.C (menuNew, open, doImport):
4506         FileFilterList change to the FileDialog open and save functions.
4507
4508 2004-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4509
4510         * ShareContainer.h: make isEqual and isUnique adaptable
4511
4512         * CutAndPaste.C: make resetOwnerAndChanges adaptable
4513
4514 2004-01-07  Angus Leeming  <leeming@lyx.org>
4515
4516         * LyXAction.C:
4517         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4518
4519         * BufferView_pimpl.C (dispatch): act on these LFUNs.
4520
4521         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4522         functions replacing find, replace and replaceAll.
4523
4524         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4525         LFUN_WORDFIND(FORWARD|BACKWARD).
4526
4527 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4528
4529         * text.C (breakParagraph): remove an outdated #warning
4530
4531 2004-01-07  André Pönitz  <poenitz@gmx.net>
4532
4533         * lyxfind.C: somewhat clearer logic
4534
4535         * text.C: prevent crash in cursorX on unitialized row cache
4536
4537 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4538
4539         * lyxcursor.[Ch] (operator>): add
4540         * textcursor.C (selStart, selEnd): use std::min and std::max
4541
4542 2004-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4543
4544         * Chktex.C: include boost/format.hpp
4545
4546 2004-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4547
4548         * InsetList.C: replace functor MathcIt with adaptable functor
4549         InsetTablePosLess
4550         (insetIterator): modify accordingly
4551
4552         * BranchList.h: move the BranchNamesEqual functor here from...
4553         * BranchList.C: ... to here
4554
4555         * BranchList.C: new BranchListEqual fuctor, use it. Remove
4556         SameName and match.
4557         (add): replace a finding loop with std::find_if.
4558
4559 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
4560
4561         * output_docbook.C: moving LatexParam functionality into
4562         .layout files
4563
4564 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4565
4566         * buffer.C: increment format to 229.
4567
4568 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
4569
4570         * LaTeXFeatures.C:
4571         * lyx_sty.[Ch]: remove minipageindent_def
4572
4573         * LyXAction.C:
4574         * factory.C:
4575         * lfuns.h:
4576         * lyxfunc.C:
4577         * text3.C: remove LFUN_INSET_MINIPAGE
4578
4579 2003-12-28  Angus Leeming  <leeming@lyx.org>
4580
4581         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4582
4583 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
4584
4585         * text2.C (setParagraph): fix off-by-one crash
4586
4587 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
4588
4589         * output_docbook.C: header stuff for AGU
4590
4591 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
4592
4593         * text2.C (redoCursor): remove
4594         * text.C:
4595         * text3.C:
4596         * BufferView_pimpl.C: remove calls to redoCursor and
4597         setCursor(cursor.par(), cursor.pos()) all around
4598
4599 2003-12-15  Angus Leeming  <leeming@lyx.org>
4600
4601         * buffer.C: up the format to 228.
4602
4603 2003-12-15  André Pönitz  <poenitz@gmx.net>
4604
4605         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4606         slices
4607
4608         * Makefile.am:
4609
4610         * BufferView_pimpl.C:
4611         * cursor.[Ch]:
4612         * lyxcursor.[Ch]:
4613         * rowpainter.[Ch]:
4614         * lyxtext.h:
4615         * text.C:
4616         * text2.C:
4617         * text3.C: adjust
4618
4619 2003-12-15  Angus Leeming  <leeming@lyx.org>
4620
4621         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4622         than getFromGUIName to manipulate the color.
4623
4624 2003-12-14  Angus Leeming  <leeming@lyx.org>
4625
4626         * BranchList.[Ch]: minimize the API.
4627         (Branch::getBranch, getColor): now return a 'const &'.
4628         (Branch::setSelected) now returns a bool set to true if the
4629         selection status changes.
4630         (BranchList::clear, size, getColor, setColor, setSelected,
4631         allBranches, allSelected, separator): removed.
4632         (BranchList::find): new functions, returning the Branch with
4633         the given name.
4634         (BranchList::add, remove): return a bool indicating that
4635         the operation was successful.
4636
4637         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4638         new InsetBranch::isBranchSlected member function.
4639
4640         * LColor.[Ch]: mimimize the API.
4641         (fill): renamed as addColor and made private.
4642         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4643         versions of these functions taking a string arg have been removed.
4644
4645         * bufferparams.C (readToken):
4646         * lyxfunc.C (dispatch):
4647         * lyxrc.C (read): changes due to the altered BranchList and
4648         LColor APIs.
4649
4650         * factory.C (createInset, readInset): changes due to altered
4651         InsetBranch c-tor.
4652
4653 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4654
4655         * factory.C:
4656         * lyxfunc.C: remove insetminipage. "minipage-insert"
4657         now produces a frameless minipage box inset.
4658
4659 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4660
4661         * textcursor.[Ch] (selStart,selEnd): add new methods
4662         remove selection::start, end, use LyXCursor::operator<
4663         * lyxcursor.[Ch] (operator<): add
4664         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4665         * BufferView.[Ch] (unsetXSel): add
4666         * text2.C (clearSelection): use unsetXSel,adjust
4667         * text.C: adjust
4668         * text3.C: adjust
4669         * rowpainter.C: adjust
4670         * bufferview_funcs.C (put_selection_at): adjust
4671
4672 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4673
4674         * BufferView_pimpl.C: small coord. correction
4675
4676 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4677
4678         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4679         dragging over the splash screen.
4680
4681 2003-12-11  Angus Leeming  <leeming@lyx.org>
4682
4683         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4684         as it is now handled in LyXText::dispatch.
4685
4686         * text3.C (doInsertInset): remove a level of nesting.
4687
4688 2003-12-11  Angus Leeming  <leeming@lyx.org>
4689
4690         * factory.C (createInset): changes due to the changed interface to
4691         InsetCommandMailer::string2params.
4692
4693 2003-12-10  Angus Leeming  <leeming@lyx.org>
4694
4695         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4696         'dialog-show-new-inset <inset name>'
4697
4698 2003-12-10  Angus Leeming  <leeming@lyx.org>
4699
4700         * buffer.C: up the format to 227.
4701
4702         * factory.C: the box inset is now identified simply by 'Box'.
4703
4704 2003-12-10  Angus Leeming  <leeming@lyx.org>
4705
4706         * buffer.C: up the format to 226.
4707
4708         * factory.C: the note inset is now identified simply by 'Note'.
4709
4710 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
4711
4712         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4713         when a pit is enough. Standarize a couple of loops.
4714
4715 2003-12-05  Angus Leeming  <leeming@lyx.org>
4716
4717         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4718         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4719         data to the re-worked "log" dialog.
4720
4721 2003-12-03  André Pönitz  <poenitz@gmx.net>
4722
4723         * PosIterator.C:
4724         * iterators.C:
4725         * lyxtext.h:
4726         * output_latex.C:
4727         * paragraph_funcs.C:
4728         * text.C:
4729         * text2.C: use Inset::getText instead of Inset::getParagraph
4730
4731 2003-12-03  André Pönitz  <poenitz@gmx.net>
4732
4733         * buffer.[Ch]:
4734         * lyxtext.h:
4735         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4736         InsetText::read() as LyXText::read()
4737
4738 2003-12-02  Angus Leeming  <leeming@lyx.org>
4739
4740         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4741         type. Add a comment in the implementation that the function uses
4742         the stream's bad() function rather than fail() as the std::streams
4743         would do.
4744
4745 2003-12-02  André Pönitz  <poenitz@gmx.net>
4746
4747         * lyxlex.[Ch]: make interface more similar to std::stream
4748
4749         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4750
4751 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
4752
4753         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4754
4755 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
4756
4757         * vspace.[Ch]: remove VSpace::NONE
4758
4759 2003-12-01  André Pönitz  <poenitz@gmx.net>
4760
4761         * buffer.[Ch]:
4762         * lyxtext.h: move ParagraphList member to LyXText
4763         rename LyXText::ownerParagraphs to LyXText::paragraph
4764
4765         * CutAndPaste.C:
4766         * bufferview_funcs.C:
4767         * iterators.[Ch]:
4768         * lyx_cb.C:
4769         * paragraph.C:
4770         * rowpainter.C:
4771         * tabular.C:
4772         * text.C:
4773         * text2.C:
4774         * text3.C: adjust
4775
4776         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4777
4778         * undo.C: fix cursor positioning
4779
4780 2003-12-01  John Levon  <levon@movementarian.org>
4781
4782         * BufferView_pimpl.C: fix a crash on exit with
4783         a buffer open
4784
4785 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
4786
4787         * BranchList.C: fix setSelected() method.
4788
4789 2003-11-28  André Pönitz  <poenitz@gmx.net>
4790
4791         * ParagraphParameters.[Ch]:
4792         * ParameterStruct.h: remove space above/below from Paragraph to
4793          InsetVSpace
4794
4795         * BufferView_pimpl.C:
4796         * factory.C:
4797         * lyxfunc.C:
4798         * lyxtext.h:
4799         * output_latex.C:
4800         * paragraph.C:
4801         * paragraph_funcs.C:
4802         * rowpainter.[Ch]:
4803         * text.C:
4804         * text2.C:
4805         * text3.C: adjust
4806
4807 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
4808
4809         * factory.C: Syntax change for CharStyles
4810
4811 2003-11-28  André Pönitz  <poenitz@gmx.net>
4812
4813         * BufferView.[Ch]:
4814         * BufferView.[Ch]:
4815         * buffer.[Ch]:
4816         * buffer.[Ch]: move LyXText member
4817
4818 2003-11-28  André Pönitz  <poenitz@gmx.net>
4819
4820         * BufferView.[Ch]: make LyXText * text a private member
4821
4822         * BufferView_pimpl.C:
4823         * cursor.C:
4824         * iterators.C:
4825         * lyx_cb.C:
4826         * lyxfind.C:
4827         * lyxtext.h:
4828         * rowpainter.[Ch]:
4829         * text.C:
4830         * text2.C:
4831         * undo.C: adjust
4832
4833         * output_plaintext.C: cleanup
4834
4835 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4836
4837         * buffer.C:
4838         * lyxtextclass.[Ch]: parametrize SGML document header
4839
4840 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4841
4842         * converter.[Ch]:
4843         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4844         getFlavor().
4845
4846 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
4847
4848         * text2.C (setFont): rework using PosIterator (no more recursive)
4849         (setCharFont): no more needed
4850         (setLayout): no more selection cursors fiddling (done by redoCursor)
4851         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4852         destroy remaining ones)
4853
4854 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
4855
4856         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4857         * lyxtext.h: ditto
4858         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4859         selection cursors
4860         * lyxfunc.C: adjust
4861         * text3.C: adjust + re-allow multi par depth changes
4862         * textcursor.C: simplify a bit
4863
4864 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
4865
4866         * src/buffer.C:
4867         * src/lyxlayout.C:
4868         * src/lyxlayout.h:
4869         * src/lyxtext.h:
4870         * src/output_docbook.C:
4871         * src/output_latex.C:
4872         * src/paragraph.C:
4873         * src/paragraph.h:
4874         * src/sgml.C:
4875         * src/sgml.h:
4876         * src/text2.C: Introducing a number of tags parametrizing various
4877         XML formats that we may want to support
4878
4879 2003-11-25  André Pönitz  <poenitz@gmx.net>
4880
4881         * InsetList.[Ch] (begein, end): inline as suggested by profiler
4882
4883         * lyxtext.h (leftMargin/rightMargin): simplify interface
4884
4885         * rowpainter.C:
4886         * text.C:
4887         * text2.C:
4888         * text3.C: adjust
4889
4890 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4891
4892         * lyxfunc.C (dispatch): propogate the bibtex databases from the
4893         master file to any child files. Fixes bug 546.
4894
4895 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4896
4897         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4898
4899 2003-11-24  André Pönitz  <poenitz@gmx.net>
4900
4901         * rowpainter.C: simplification
4902
4903         * text2.C (updateCounters): remove call to redoParagraph on
4904         changed labels as this is far too expensive.
4905
4906 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4907
4908         * converter.C (convert): fix a crash: this function gets
4909         called with buffer == 0 from importer code.
4910
4911 2003-11-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4912
4913         * text3.C (cursorPrevious): make sure that we do not compare
4914         iterators form different containers.
4915         (cursorNext): ditto
4916
4917         * rowpainter.C (paintSelection): make sure that we do not compare
4918         iterators from different containers.
4919
4920         * text3.C (dispatch): [PRIOR] make sure that we do not compare
4921         iterators from different ParagraphList containers.
4922         [NEXT] ditto
4923
4924         * text2.C (LyXText): change order of initialization slightly
4925         (operator=): new function. copy all variables except cache_par_
4926         (moveUp): make sure that we do not compare iterators from
4927         different ParagraphList constainers.
4928         (moveDown): ditto
4929
4930         * text.C (firstPar): new function
4931         (lastPar): new function
4932         (endPar): new function
4933
4934         * lyxtext.h: move things around and group public functions, public
4935         variables, private functions, private variables
4936
4937 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
4938
4939         * factory.C: change call to InsetERT constructor to avoid
4940         additional invocation of method status
4941         * text2.C (toggleInset): remove redundant update() call
4942         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4943         instead of a Bufferview pointer
4944
4945 2003-11-21  André Pönitz  <poenitz@gmx.net>
4946
4947         * rowpainter.C: simplification
4948
4949 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4950
4951         * text3.C (dispatch): make possible to extend a word/row selection
4952         with the mouse
4953
4954 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4955
4956         * lyxtext.h: x0_,y0_ -> xo_,yo_
4957         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4958         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4959         * rowpainter.C (paintRows): paint full paragraphs
4960
4961 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4962
4963         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4964         screen coordinates)
4965
4966 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4967
4968         * lyxtext.h: add x0_, y0_
4969         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4970         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4971
4972 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
4973
4974         * text2.C (setCursorIntern): move the x_target update here *
4975         * text3.C: change some bv() to true/false in calls to
4976         cursorUp/Down/Right/Left
4977         * cursor.C: use helper function.
4978
4979 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4980
4981         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4982         * paragraph_funcs.[Ch]: correct comment
4983         * rowpainter.C: do not paint selections away from bv->cursor()
4984         Fix a long standing selection painting bug.
4985         * text3.C: generalize mouse-selection code to LyXTexts other that
4986         top one
4987         * textcursor.C: do not use y coords if we can use par offsets
4988
4989 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4990
4991         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4992         cursor position after e.g. inset insert)
4993
4994 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
4995
4996         * lyxfind.C (replace): adjust to locking removal + some
4997         code simplification
4998
4999 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
5000
5001         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
5002         of the path
5003
5004 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
5005
5006         * lyxlayout.[Ch]:
5007         * output_docbook.C: XML sanitation: new layout
5008         parameters InnerTag and CommandDepth
5009
5010 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
5011
5012         * BufferView_pimpl.C:
5013         * factory.C:
5014         * text3.C: Fix the insertion and modification of button-style
5015         insets
5016
5017 2003-11-13  André Pönitz  <poenitz@gmx.net>
5018
5019         * InsetList.[Ch]: remove deleteLyXText
5020
5021         * paragraph.[Ch]: cache beginOfBody position
5022
5023         * Bidi.C:
5024         * text.C:
5025         * text2.C:
5026         * text3.C: remove superfluous update() calls
5027
5028         * vspace.C: cleanup
5029
5030 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
5031
5032         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
5033         * BufferView.C (fitLockedInsetCursor): remove
5034         * cursor.[Ch] (getDim): add
5035         * text.C (getRowNearY): add faster version
5036         * text3.C: remove some update calls
5037
5038 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
5039
5040         * LaTeXFeatures.C:
5041         * LyXAction.C:
5042         * MenuBackend.C:
5043         * MenuBackend.h:
5044         * dispatchresult.h:
5045         * factory.C:
5046         * lfuns.h:
5047         * lyxfunc.C:
5048         * lyxtextclass.C:
5049         * lyxtextclass.h:
5050         * text3.C: The Character Style /XML short element patch.
5051
5052 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
5053
5054         * text3.C:
5055         * factory.C: Small step to solving 'unable to insert some insets'
5056         problem
5057
5058 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
5059
5060         * cursor.[Ch] (updatePos): new function for updating the y
5061         position of the tip inset
5062         * bufferview_funcs.C (put_selection_at):
5063         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
5064
5065 2003-11-11  André Pönitz  <poenitz@gmx.net>
5066
5067         * text.C: remove big comment on invalid Paragraph pointers as it is
5068         not valid anymore
5069
5070 2003-11-11  André Pönitz  <poenitz@gmx.net>
5071
5072         * text_funcs.[Ch]: merge with ...
5073
5074         * text.C: ... this
5075
5076         * lyxtext.h:
5077         * text2.C:
5078         * text3.C: adjust
5079
5080         * Makefile.am: remove text_funcs.[Ch]
5081
5082 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
5083
5084         * cursor.C (getPos): return absolute cached y coord
5085
5086         * BufferView_pimpl.C (fitCursor): new simplistic code
5087         (workAreaDispatch): add a fitCursor call
5088
5089 2003-11-10  André Pönitz  <poenitz@gmx.net>
5090
5091         * BufferView.[Ch]:
5092         * BufferView_pimpl.[Ch]: merge update() and updateInset()
5093
5094 2003-11-10  André Pönitz  <poenitz@gmx.net>
5095
5096         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
5097         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
5098         indicate that the cursor needs to leave an inset
5099
5100         * lyxtext.h: remove inset locking
5101
5102         * cursor.[Ch]: re-implement functionality provided by inset locking
5103
5104         * BufferView.[Ch]:
5105         * BufferView_pimpl.[Ch]:
5106         * LyXAction.C:
5107         * bufferview_funcs.[Ch]:
5108         * factory.C:
5109         * funcrequest.[Ch]:
5110         * iterators.C:
5111         * lyx_cb.C:
5112         * lyxfind.C:
5113         * lyxfunc.C:
5114         * text.C:
5115         * text2.C:
5116         * text3.C:
5117         * undo.C: adjust
5118
5119 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
5120
5121         * PosIterator.[Ch]: replace the stack with a vector, add inset
5122         accesor
5123         * iterators.[C]: adjust
5124
5125 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
5126
5127         * lyxfind.C (replaceAll): mark the buffer dirty if something was
5128         replaced
5129         * paragraph_funcs.C (readParToken): put the correct id in the
5130         error item, not the id of the top paragraph
5131
5132 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
5133
5134         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
5135         * bufferview_funcs.C (put_selection_at): use the above
5136
5137 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
5138
5139         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
5140
5141 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5142
5143         * output_linuxdoc.h:
5144         * output_plaintext.h:
5145         * output.h:
5146         * output_docbook.h: add #include statements
5147
5148 2003-11-05  José Matos  <jamatos@lyx.org>
5149
5150         * output_docbook.[Ch]:
5151         * output_latex.[Ch]:
5152         * output_linuxdoc.[Ch]:
5153         * output_plaintext.[Ch]: New files for output formats.
5154         * output.[Ch]: New file for helper functions.
5155
5156         * buffer.[Ch]:
5157         * paragraph_funcs.[Ch]: output functions moved to new files.
5158
5159         * outputparams.h: rename of latexrunparams.h
5160
5161         * LaTeX.[Ch]:
5162         * buffer.[Ch]:
5163         * bufferlist.[Ch]:
5164         * converter.[Ch]:
5165         * exporter.C:
5166         * paragraph.[Ch]:
5167         * paragraph_funcs.[Ch]:
5168         * paragraph_pimpl.[Ch]:
5169         * tabular.[Ch]: rename ascii to plaintext
5170         and LatexRunParams to OutputParams.
5171
5172 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
5173
5174         * iterators.[Ch] (text): require bv argument
5175         * undo.C (recordUndo):
5176         * lyxfunc.C (dispatch):
5177         * bufferview_funcs.C (put_selection_at): adjust
5178
5179 2003-11-05  Jo� Luis M. Assirati  <assirati@fma.if.usp.br>
5180
5181         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
5182
5183 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
5184
5185         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
5186         nestings
5187
5188 2003-11-04  André Pönitz  <poenitz@gmx.net>
5189
5190         * cursor.[Ch]: restructure
5191
5192         * BufferView.[Ch]:
5193         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
5194
5195         * iterators.[Ch] (asCursor): remove
5196
5197         * lfuns.h: remove LFUN_INSET_EDIT
5198
5199         * lyxfunc.C:
5200         * tabular.C:
5201         * text.C:
5202         * text2.C:
5203         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
5204
5205 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5206
5207         * lyxfind.[Ch]: complete overhaul
5208         * BufferView_pimpl.C:
5209         * lyxfunc.C: adjust
5210         * paragraph.[Ch] (insert): add
5211
5212 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5213
5214         * BufferView.[Ch]:
5215         * lyxtext.h:
5216         * text.C: remove dead spellcheck code
5217
5218 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5219
5220         * dispatchresult.h: add a val setter
5221
5222         * cursor.C (dispatch): use a tempvar for data_[i]
5223
5224 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5225
5226         * PosIterator.[Ch]: compile fix
5227
5228 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5229
5230         * text.C (cursorPar): deactivate the cursor cache
5231
5232 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
5233
5234         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
5235
5236 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5237
5238         * text3.C (dispatch): adjust for new DisptchResult semantics.
5239
5240         * lyxfunc.C (dispatch): handle update when return from
5241         Cursor::dispatch, adjust for new DispatchResult semantics.
5242
5243         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
5244         DispatchResult(true) mean to not update. Add class functions for
5245         setting dispatched and update, as well as reading.
5246
5247         * cursor.C (dispatch): don't handle update here
5248
5249 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5250
5251         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
5252         * trans_mgr.C: adjust
5253
5254         * paragraph_funcs.C (readParToken): exception safety
5255
5256         * lyxvc.h: store the vcs pointer in a scoped_ptr
5257         * lyxvc.C: adjust
5258
5259         * lyxsocket.C (serverCallback): exception safety
5260
5261         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
5262
5263         * ispell.C (clone): make it return a auto_ptr
5264
5265         * factory.C (createInset): exception safety
5266         (readInset): exception safety
5267
5268         * bufferlist.C (newBuffer): exception safety
5269
5270         * Thesaurus.C (Thesaurus): use initialization for aik_
5271
5272         * MenuBackend.C (expandToc): exception safety.
5273
5274 2003-11-03  André Pönitz  <poenitz@gmx.net>
5275
5276         * buffer.C:
5277         * buffer.h:
5278         * bufferview_funcs.C: remove getInsetFromId()
5279
5280         * lyxcursor.[Ch]:
5281         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
5282
5283         * lyxfunc.C:
5284         * text2.C:
5285         * text3.C: adjust
5286
5287 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
5288
5289         * PosIterator.C (distance, advance): new
5290         * bufferview_funcs.[Ch] (put_selection_at): new
5291         * iterators.[Ch] (lockPath): new
5292
5293 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
5294
5295         * iterators.[Ch] (asPosIterator): added
5296         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
5297         * PosIterator.[Ch]: added
5298
5299 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5300
5301         * text3.C:
5302         * lyxfunc.C:
5303         * cursor.C (dispatch):
5304         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
5305
5306         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
5307         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
5308         contructor, add a class function dispatched. Remove operator>=
5309
5310 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5311
5312         * debug.C: only use the default constructor for debugstream
5313         (lyxerr) here.
5314
5315         * main.C (main): include debug.h and setup the lyxerr streambuf
5316         here.
5317
5318 2003-10-31  José Matos  <jamatos@lyx.org>
5319
5320         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
5321
5322         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
5323         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
5324         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5325         * paragraph_pimpl.C (simpleTeXSpecialC):
5326         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
5327         add LatexRunParams argument.
5328
5329         * exporter.C (Export): change call accordingly.
5330
5331         * latexrunparams.h: add new member to take care of the other backends.
5332 2003-10-30  José Matos  <jamatos@lyx.org>
5333
5334         * buffer.C (makeLinuxDocFile, makeDocBookFile):
5335         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5336         factorise code for paragraph output.
5337         * buffer.[Ch]:
5338         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
5339         move functions.
5340
5341 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5342
5343         * text3.C (dispatch):
5344         * lyxfunc.C (dispatch):
5345         * cursor.C (dispatch):
5346         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
5347
5348         * dispatchresult.h: make the dispatch_result_t ctor explicit
5349
5350 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
5351
5352         * sgml.[Ch]:
5353         * buffer.C: small refactoring of docbook stuff
5354
5355 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5356
5357         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
5358         meaning.
5359
5360 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5361
5362         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
5363         operator dispatch_result_t, and operators for == != and >=
5364
5365         * cursor.C (dispatch): adjust for operator dispatch_result_t
5366         removal. comment out call to update
5367
5368         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
5369
5370 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5371
5372         * text3.C:
5373         * text2.C:
5374         * text.C:
5375         * lyxtext.h:
5376         * lyxfunc.C:
5377         * cursor.C:
5378         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
5379         (dispatch):
5380
5381         * dispatchresult.h: new file, DispatchResult broken out of
5382         insets/insetbase.h
5383
5384         * Makefile.am (lyx_SOURCES): add dispatchresult.h
5385
5386 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
5387
5388         * text.C (rowBreakPoint): put a hack inside #if 0
5389
5390 2003-10-28  André Pönitz  <poenitz@gmx.net>
5391
5392         * lyxtext.h:
5393         * metricsinfo.C:
5394         * paragraph_funcs.C:
5395         * rowpainter.C:
5396         * text.C:
5397         * text2.C: general cleanup (lots of small stuff)
5398
5399 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
5400
5401         * text2.C (cursorEnd): simple fix to the "end key goes to one
5402         before the end on last row" bug
5403
5404 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5405
5406         * text.C (backspace): fix the "zombie characters"
5407
5408 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5409
5410         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
5411
5412 2003-10-27  André Pönitz  <poenitz@gmx.net>
5413
5414         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
5415
5416         * factory.C: handle new InsetPagebreak, InsetLine
5417
5418         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
5419         and move handling into new InsetPagebreak, InsetLine
5420
5421         * BufferView_pimpl.C:
5422         * LyXAction.C:
5423         * ParagraphParameters.C:
5424         * ParameterStruct.h:
5425         * lyxfunc.C:
5426         * lyxtext.h:
5427         * paragraph.C:
5428         * paragraph.h:
5429         * paragraph_funcs.C:
5430         * paragraph_pimpl.C:
5431         * rowpainter.C:
5432         * text.C:
5433         * text2.C:
5434         * text3.C: adjust
5435
5436 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5437
5438         * text.C:
5439         * lyxrow_funcs.[Ch]:
5440         * Bidi.C:
5441         * paragraph.C:
5442         * lyxtext.h:
5443         * rowpainter.C:
5444         * text2.C:
5445         * text3.C: remove lastPos uses in favour of Row::endpos
5446
5447 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5448
5449         * undo.C (performUndoOrRedo): fix two crashes by setting a
5450         cursor by hand and reordering some calls. Use bv->lockInset instead
5451         of inset->edit because the latter loses cursor information
5452
5453 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
5454
5455         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5456         by Martin
5457         (rowBreakPoint): fix width. change point to point + 1.
5458         Add a missing check.
5459
5460 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
5461
5462         * MenuBackend.C:
5463         * lyxfunc.C: fix (at least partly) the problems
5464         with the Nav menu and headers inside branch insets
5465         reported by Kayvan
5466
5467 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
5468
5469         * paragraph.C (getChar): add strong asserts
5470
5471         * lyxrow_funcs.C (lastPos): remove hideous hack
5472
5473         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5474         (fill): adjust to that (avoid an infinite loop)
5475
5476 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5477
5478         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5479
5480 2003-10-23  André Pönitz  <poenitz@gmx.net>
5481
5482         * RowList_fwd.h: change list<> to vector<> to gain speed
5483         after suggestion from Alfredo
5484
5485 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5486
5487         * lyxtext.h: move the bidi stuff from here...
5488         * text.C: and here
5489         * text2.C: and here
5490         * Bidi.[Ch]: ... to here
5491
5492 2003-10-23  André Pönitz  <poenitz@gmx.net>
5493
5494         * lyxtext.h:
5495         * text.C (isLastRow, isFirstRow): new functions
5496
5497         * paragraph.h: new width cache member
5498
5499         * rowpainter.C: replace RowList::iterator with Row & where possible
5500
5501         * lyxfunc.C: replace several view()->text with a single call
5502
5503         * toc.C: fix 'unused' warning
5504
5505 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5506
5507         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5508         when woring with stream::pos_type
5509         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5510
5511 2003-10-22  André Pönitz  <poenitz@gmx.net>
5512
5513         * lyxtext.h:
5514         * text.C: use Row & instead of RowList::iterator
5515
5516         * lyxrow.h: rename end() to endpos()
5517
5518         * rowpainter.C:
5519         * text.C:
5520         * text2.C: adjust
5521
5522 2003-10-22  Angus Leeming  <leeming@lyx.org>
5523
5524         * buffer.[Ch] (fully_loaded): new member function, returning true
5525         only when the file has been loaded fully.
5526         Used to prevent the premature generation of previews and by the
5527         citation inset to prevent computation of the natbib-style label.
5528
5529         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5530         templates are all set up.
5531
5532         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5533
5534 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
5535
5536         * text.C: fixed an "oops" in the "is a bit silly"
5537         bug fix
5538
5539 2003-10-21  André Pönitz  <poenitz@gmx.net>
5540
5541         * FuncStatus.[Ch]: small stuff, whitespace
5542
5543         * lyxfont.[Ch]: operator<<() for debug reasons
5544
5545         * lyxfunc.C:
5546         * lyxrow_funcs.C:
5547         * lyxtext.h: whitespace, spelling
5548
5549         * paragraph.C: naming of variables
5550
5551         * text.C:
5552         * text2.C: small stuff
5553
5554
5555 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
5556
5557         * text.C: (1) finish off the inset display() work;
5558         (2) fix the "is a bit silly" bug (accessing char
5559         past end of par).
5560
5561 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
5562
5563         * text.C: re-introduce display() for insets, fixing the
5564         various bugs (stretch of line above, math inset
5565         positioning, ...)
5566
5567 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5568
5569         * text.C (rightMargin): remove spurious semicolon
5570
5571         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5572         1415)
5573
5574 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
5575
5576         * text3.C: fix one crash due to wrong cursor def
5577
5578 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5579
5580         * vc-backend.C (scanMaster): make the regex static
5581
5582         * LaTeX.C (scanAuxFile): make the regexs static
5583
5584         * text3.C (doInsertInset, dispatch, dispatch):
5585         * text2.C (cursorUp, cursorDown):
5586         * text.C (selectNextWordToSpellcheck):
5587         * BufferView_pimpl.C (dispatch):
5588         * lyxfunc.C (dispatch):  localDispatch -> dispatch
5589
5590 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5591
5592         * lyxsocket.C: include <cerrno>
5593
5594 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5595
5596         * lyxfunc.C (dispatch): remove textcache stuff
5597
5598         * bufferlist.C (release): remove textcache stuff
5599         (closeAll): ditto
5600
5601         * TextCache.C: delete file
5602         * TextCache.h: delete file
5603
5604         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5605
5606         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5607         delete of the bv_->text.
5608         (resizeCurrentBuffer): remove texcache stuff
5609         (workAreaResize): ditto
5610
5611 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5612
5613         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5614         action.
5615
5616 2003-10-16  André Pönitz  <poenitz@gmx.net>
5617
5618         * lyxrow.[Ch]:
5619         * paragraph.h:
5620         * rowpainter.C:
5621         * text.C:
5622         * text2.C:
5623         * text3.C: speed up by storing y positions per paragraph plus per-row
5624         offset instead of having a 'full' y position in the row.
5625
5626 2003-10-15  André Pönitz  <poenitz@gmx.net>
5627
5628         * iterators.[Ch]:
5629         * iterators.[Ch]:
5630         * undo.[Ch]: make undo aware of inner insets
5631
5632 2003-10-14  Angus Leeming  <leeming@lyx.org>
5633
5634         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5635         static member functions LyX::ref() and LyX::cref.
5636         (lastfiles): new accessor functions for the new lastfiles_ member var.
5637         (addLyXView, views_): add a new LyXView to the list of views_.
5638         (updateInset): loop over all LyXViews to call their own updateInset
5639         member function, returning a pointer to the Buffer owning the inset.
5640
5641         * BufferView_pimpl.C (loadLyXFile):
5642         * MenuBackend.C (expandLastfiles):
5643         * bufferlist.C (MenuWrite, QuitLyX):
5644         lastfiles is no longer a global variable.
5645         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5646
5647         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5648         static function. Access through LyX::cref().emergencyCleanup().
5649
5650 2003-10-14  André Pönitz  <poenitz@gmx.net>
5651
5652         * iterators.[Ch]: new direct access to innermost LyXText and Inset
5653
5654         * undo.[Ch]: restoring part of 'undo in insets'
5655
5656         * Makefile.am:
5657         * undo_funcs.[Ch]: merge with undo.[Ch]
5658
5659         * tabular.C: small cleansing stuff
5660
5661 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
5662
5663         * paragraph_funcs.C (readParToken): report unknown insets as error
5664         boxes. Use the outer paragraph as location (also for unknown
5665         tokens).
5666
5667         * factory.C (readInset): do not abort on reading an unknown inset.
5668         Eat it and return 0.
5669
5670 2003-10-13  Angus Leeming  <leeming@lyx.org>
5671
5672         * lyx_main.C (LyX): remove call to setDisplayTranslator().
5673
5674         * lyxrc.C: displayTranslator is now a function,
5675         declared in GraphicsTypes.h.
5676
5677 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5678
5679         * format.C: new placeholder $$a to pass the socket address.
5680
5681         * bufferlist.[Ch]: new function getBufferFromTmp.
5682
5683         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5684           files in the temporary dir.
5685
5686 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5687
5688         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5689
5690         * Makefile.am: add lyxsocket.[Ch].
5691
5692         * lyx_main.C (error_handler): handle SIGPIPE.
5693
5694 2003-10-13  André Pönitz  <poenitz@gmx.net>
5695
5696         * BufferView_pimpl.C:
5697         * lyxtext.h:
5698         * text.C:
5699         * text2.C:
5700         * text3.C:
5701         * undo_funcs.[Ch]: use paroffset_type instead of
5702           ParagraphList::iterators to prevent multiple conversion
5703           (and get a more robust interface)
5704
5705 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5706
5707         * lyxfunc.C (dispatch): RESULT -> dispatch_result
5708         * lyxtext.h: ditto
5709         * text3.C (dispatch): ditto
5710
5711 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5712
5713         * LaTeX.C (handleFoundFile): move the static to smaller scope,
5714         move the onlyfile, use onlyfile instead of foundfile in a couple
5715         of places.
5716
5717         * DepTable.C (update): flush the error stream a bit more
5718
5719 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5720
5721         * lyxserver.C (callback): adjust
5722
5723         * lyxfunc.C (getStatus): add a missing brace in commented code
5724         (ensureBufferClean): reindent
5725         (dispatch): delete version taking a string
5726
5727 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5728
5729         * LaTeX.C (deplog): move found file handlig from here...
5730         (handleFoundFile): .. to new function here.
5731         (deplog): make sure to discover several files mentioned on the
5732         same log line.
5733
5734 2003-10-10  André Pönitz  <poenitz@gmx.net>
5735
5736         * lyxfunc.C:
5737         * lyxtext.h:
5738         * tabular.C:
5739         * text.C:
5740         * text2.C:
5741         * text3.C: fix some of the tabular crashes
5742
5743 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5744
5745         * MenuBackend.C (binding): put debug message into Debug::KBMAP
5746
5747         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5748
5749 2003-10-09  André Pönitz  <poenitz@gmx.net>
5750
5751         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5752
5753         * BufferView.C:
5754         * BufferView_pimpl.C:
5755         * bufferview_funcs.C:
5756         * lyx_cb.C:
5757         * lyxcursor.C:
5758         * lyxfind.C:
5759         * lyxfunc.C:
5760         * lyxtext.h:
5761         * text.C:
5762         * text2.C:
5763         * text3.C:
5764         * text_funcs.[Ch]:
5765         * textcursor.[Ch]:
5766         * undo_funcs.C: adjust
5767
5768 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5769
5770         * text2.C (incrementItemDepth): new function, use a backtracking
5771         algorithm to discover the correct item depth.
5772         (resetEnumCounterIfNeeded): new function, use a backtracking
5773         algorithm to discover if counter reset is needed.
5774         (setCounter): use them. Simplify a bit. Add different labels for
5775         different item depths for itemize.
5776
5777         * paragraph.C (Paragraph): remove initialization of enumdepth
5778         (operator=): ditto
5779
5780         * paragraph.h: get rid of enumdepth, and use itemdepth both for
5781         enumerate and itemize. Change the type of itemdepth to signed char.
5782
5783 2003-10-08  André Pönitz  <poenitz@gmx.net>
5784
5785         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5786           thing assignable.
5787         * text.C:
5788         * text2.C: adjust
5789
5790         * tabular.[Ch]: fix crash after 'row-insert'
5791
5792 2003-10-08  Angus Leeming  <leeming@lyx.org>
5793
5794         Fix doxygen warnings.
5795
5796         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5797         Remove CutAndPaste:: prefix from header file declaration.
5798
5799         * LColor.h (fill): remove LColor:: prefix from declaration.
5800
5801         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5802         use lyx::depth_type rather than Paragraph::depth_type so that
5803         header file and .C file match.
5804
5805         * converter.h (intToFormat): remove Converters:: prefix from declaration.
5806
5807         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5808         * aspell.C: \file aspell_local.C -> \file aspell.C
5809         * gettext.C: \file gettext.C -> \file src/gettext.C
5810         * gettext.h: \file gettext.h -> \file src/gettext.h
5811         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5812         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5813         * text.C: \file text.C -> \file src/text.C
5814
5815         * toc.C: move comment so that doxygen is not confused.
5816
5817 2003-10-07  Angus Leeming  <leeming@lyx.org>
5818
5819         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5820
5821 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5822
5823         * aspell.C:
5824         * aspell_local.h: add forgotten std::string's.
5825
5826 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5827
5828         * LaTeXFeatures.C:
5829         * LyXAction.C:
5830         * factory.C:
5831         * lfuns.h:
5832         * lyxfunc.C:
5833         * text3.C: The Box patch. Fancybox support, minipage, parbox
5834
5835 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5836
5837         * CutAndPaste.h:
5838         * DepTable.h:
5839         * FloatList.h:
5840         * LaTeXFeatures.h:
5841         * ParagraphParameters.h:
5842         * TextCache.h:
5843         * Thesaurus.h:
5844         * bufferlist.h:
5845         * exporter.h:
5846         * importer.h:
5847         * lastfiles.h:
5848         * lyxfind.h:
5849         * lyxfont.h:
5850         * lyxlex.h:
5851         * lyxtextclasslist.h:
5852         * messages.h:
5853         * paragraph.h:
5854         * paragraph_pimpl.C:
5855         * textcursor.h: add <string> and other small fixes to make Lars'
5856         std::string patch compile with STLport.
5857
5858 2003-10-06  Angus Leeming  <leeming@lyx.org>
5859
5860         * LColor.h: Add missing #include <string>.
5861
5862 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5863
5864         * All most all file in all subdirs: Make <string> be the prefered
5865         way of getting to std::string, add using declarations.
5866
5867 2003-10-06  André Pönitz  <poenitz@gmx.net>
5868
5869         * metricsinfo.C: initialize LyXFont before changing attribute.
5870         (fixes the 'math in \emph is upright' bug)
5871
5872 2003-10-06  André Pönitz  <poenitz@gmx.net>
5873
5874         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5875
5876 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
5877
5878         * graph.C:
5879         * paragraph_pimpl.C: Small fixes to build using STLport
5880
5881 2003-10-02  André Pönitz  <poenitz@gmx.net>
5882
5883         * lyxfunc.C:
5884         * text3.C: move handling of LFUN_DEPTH *; fix #1360
5885
5886 2003-10-01  André Pönitz  <poenitz@gmx.net>
5887
5888         * factory.C: assert early
5889
5890 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5891
5892         * lyx_main.C: remove the global debug object
5893
5894         * debug.h: adjust for new debugstream
5895
5896         * debug.C: adjust for new debugstream and keep the global debug
5897         object here.
5898
5899 2003-09-22  Angus Leeming  <leeming@lyx.org>
5900
5901         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5902         of g++ which otherwise complain that the scoped_ptr destructor can't delete
5903         an incomplete class LyXFont.
5904
5905 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
5906
5907         * factory.C: bug fix in branches
5908
5909 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5910
5911         * lyxfunc.C (processKeySym): adjust
5912         (dispatch): adjust
5913         (dispatch): change arg name from ev to func, adjust
5914         (sendDispatchMessage): ditto
5915
5916         * lyx_main.C (defaultKeyBindings): adjust keybindings
5917         (deadKeyBindings): ditto
5918
5919         * kbsequence.C (addkey): return a FuncRequest
5920
5921         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5922
5923         * kbmap.C (bind): take a FuncRequest as arg, adjust
5924         (read): adjust
5925         (lookup): adjust
5926         (defkey): change to take a FuncRequest as arg, adjust
5927         (findbinding): take a FuncRequest as arg, adjust.
5928
5929         * funcrequest.h (operator=): added
5930
5931         * funcrequest.C (FuncRequest): default kb_action changed from
5932         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5933
5934         * buffer.C (dispatch): simplify
5935         (dispatch): adjust to take a FuncRequest as arg, adjust
5936
5937         * boost.C (assertion_failed): change assertion message slightly
5938
5939         * ToolbarBackend.C (read): simplify
5940
5941         * MenuBackend.C (binding): adjust call to findbinding, add a
5942         message if no binding is found.
5943         (read): simplify
5944         (expandToc): correct by adding a empty FuncRequest
5945
5946         * LyXAction.C: include <boost/assert.hpp>
5947         (isPseudoAction): delete function
5948         (LookupFunc): change name to...
5949         (lookupFunc): this. change return type to FuncRequest.
5950         (getActionName): take kb_action as arg, simplify
5951         (funcHasFlag): add an assert, simplify.
5952
5953 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5954
5955         * toc.C (action): return a FuncRequest, simplify
5956
5957         * lyxfunc.C (processKeySym): adjust
5958         (getStatus): delete version that takes an int.
5959         (getStatus): adjust
5960         (dispatch): delete version that takes action as int
5961         (dispatch): adjust
5962         (sendDispatchMessage): simplify and adjust
5963
5964         * funcrequest.C (getArg): take unsigned int as arg
5965
5966         * ToolbarBackend.C (read): adjust
5967         (add): delete version that takes func as a string.
5968         (getIton): take a FuncRequest as arg
5969
5970         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5971         action.
5972
5973         * MenuBackend.C (MenuItem): add a new construct that only takes a
5974         Kind, simplify the constructor use for submenus.
5975         (add): adjust
5976         (expandLastfiles): adjust
5977         (expandDocuments): adjust
5978         (expandFormats): adjust
5979         (expandFloatListInsert): adjust
5980         (expandFloatInsert): adjust
5981         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5982
5983         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5984         Remove class variables lyx_pseudo_map and lyx_arg_map
5985
5986         * LyXAction.C (searchActionArg): delete function
5987         (getPseudoAction): delete function
5988         (retrieveActionArg): delete function
5989         (LookupFunc): make it return kb_action, simplify.
5990         (getActionName): simplify
5991
5992         * factory.C (createInset): fix new bug
5993
5994 2003-09-19  Angus Leeming  <leeming@lyx.org>
5995
5996         * CutAndPaste.C (pasteSelection): remove fudge used to set the
5997         masterFilename_ parameter in the include inset.
5998
5999         * factory.C (createInset): changes due to the changes to InsetInclude.
6000
6001 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6002
6003         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
6004
6005 2003-09-18  Angus Leeming  <leeming@lyx.org>
6006
6007         * buffer.C:
6008         * BufferView.C: pass the buffer when calling Inset::getLabelList,
6009         Inset::fillWithBibKeys.
6010         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
6011
6012 2003-09-18  Angus Leeming  <leeming@lyx.org>
6013
6014         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
6015         variables.
6016         (ctor): pass and store a 'Buffer const &'
6017         (buffer): new member function.
6018
6019         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
6020         '*this' to the LaTeXFeatures ctor.
6021
6022 2003-09-18  Angus Leeming  <leeming@lyx.org>
6023
6024         * LColor.h:
6025         * lyxfont.C:
6026         * lyxfont.h:
6027         * lyxtext.h:
6028         * text.C: rename EnumLColor as LColor_color.
6029
6030 2003-09-18  Angus Leeming  <leeming@lyx.org>
6031
6032         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
6033         remove #include "insets/insetbase.h" from cursor.h.
6034
6035 2003-09-18  Angus Leeming  <leeming@lyx.org>
6036
6037         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
6038         InsetOld_code to remove #include "inset.h".
6039
6040         * iterators.C: add #include "insets/inset.h"
6041
6042 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
6043
6044         * BufferView.C: remove more locking stuff that apparently doesn't
6045         do anything sensible.
6046
6047 2003-09-16  André Pönitz  <poenitz@gmx.net>
6048
6049         * paragraph.[Ch]:
6050         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
6051           performance boost.
6052
6053 2003-09-16  Angus Leeming  <leeming@lyx.org>
6054
6055         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
6056
6057         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
6058         arg/return type.
6059
6060         * paragraph.h: remove #include "lyxfont.h". Forward declare
6061         LyXFont_size.
6062
6063 2003-09-16  Angus Leeming  <leeming@lyx.org>
6064
6065         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
6066         of support/textutils.h.
6067         (isWord): move the contents of support/textutils.h's IsWordChar here.
6068
6069         * buffer.C:
6070         * lyxfind.C:
6071         * rowpainter.C:
6072         * text.C:
6073         * text2.C: add #include "paragraph.h".
6074
6075         * rowpainter.C:
6076         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
6077
6078 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6079
6080         * main.C:
6081         * lyx_main.C:
6082         * lyx_cb.C:
6083         * buffer.C:
6084         * LaTeX.C: use namespace alias for lyx::support::os
6085
6086 2003-09-16  Angus Leeming  <leeming@lyx.org>
6087
6088         * bufferparams.C:
6089         * bufferview_funcs.C:
6090         * factory.C:
6091         * lyxfunc.C:
6092         * paragraph_pimpl.C:
6093         * rowpainter.C:
6094         * text.C: add #include "LColor.h".
6095
6096 2003-09-16  Angus Leeming  <leeming@lyx.org>
6097
6098         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
6099         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
6100         return LyXFont &.
6101         Store the FontBits::color variable as an int rather than as an
6102         LColor::colorso that we can move LColor.h out of the lyxfont.h header
6103         file.
6104
6105         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
6106         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
6107         string calls together.
6108
6109         * lyxrc.C: add #include "LColor.h".
6110
6111 2003-09-15  Angus Leeming  <leeming@lyx.org>
6112
6113         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
6114         a cow_ptr.
6115
6116 2003-09-15  Angus Leeming  <leeming@lyx.org>
6117
6118         * LColor.h: add an EnumLColor wrapper for LColor::color.
6119
6120         * lyxfont.[Ch] (color, setColor, realColor):
6121         * lyxtext.h, text.C (backgroundColor):
6122         pass EnumLColor args to/from the functions, rather than LColor::color
6123         ones.
6124
6125         * lyxfont.h:
6126         * lyxtext.h: forward declare EnumLColor.
6127
6128         * lyx_main.C: add #include "LColor.h".
6129
6130 2003-09-15  Angus Leeming  <leeming@lyx.org>
6131
6132         * .cvsignore: add lyx-gtk.
6133
6134 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6135
6136         * Chktex.C
6137         * LaTeX.C
6138         * LaTeXFeatures.C
6139         * ParagraphParameters.C
6140         * Spacing.C
6141         * buffer.C
6142         * bufferparams.C
6143         * bufferview_funcs.C
6144         * chset.C
6145         * counters.C
6146         * funcrequest.C
6147         * lyxfont.C
6148         * lyxgluelength.C
6149         * lyxlength.C
6150         * paragraph.C
6151         * paragraph_funcs.C
6152         * text3.C
6153         * vc-backend.C: remove usage of STRCONV
6154
6155 2003-09-15  Angus Leeming  <leeming@lyx.org>
6156
6157         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
6158         explicitly define the color passed to the painter.
6159
6160 2003-09-15  Angus Leeming  <leeming@lyx.org>
6161
6162         * bufferparams.C (BufferParams): reorder member initializers to avoid
6163         compiler warning.
6164
6165 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
6166
6167         * CutAndPaste.C (pasteSelection): remove an outdated #warning
6168         * text.C (updateRowPositions): remove an unusual nop
6169
6170 2003-09-12  André Pönitz  <poenitz@gmx.net>
6171
6172         * BufferView_pimpl.C:
6173         * Bullet.C:
6174         * layout.h:
6175         * lyxfunc.C:
6176         * lyxlayout.[Ch]:
6177         * lyxtextclass.C:
6178         * rowpainter.C:
6179         * text.C:
6180         * text2.C:
6181         * Counters.[Ch]: finish the 'automatic counters' job
6182
6183 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6184
6185         * aspell.C: include <boost/assert.cpp> (compile fix)
6186
6187 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
6188
6189         * boost.C (assertion_failed): use lyx::support::abort instead of
6190         assert.
6191
6192 2003-09-10  Angus Leeming  <leeming@lyx.org>
6193
6194         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
6195         with their _fwd progeny.
6196
6197 2003-09-09  Angus Leeming  <leeming@lyx.org>
6198
6199         134 files throughtout the source tree: replace 'using namespace abc;'
6200         directives with the appropriate 'using abc::xyz;' declarations.
6201
6202 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
6203
6204         * boost.C (emergencyCleanup): moved here from LAssert.c
6205         (assertion_failed): new function, called by BOOST_ASSERT
6206
6207         * several files: change Assert to BOOST_ASSERT
6208
6209 2003-09-09  Angus Leeming  <leeming@lyx.org>
6210
6211         * buffer.[Ch]: Add an Impl class and move Buffer's member
6212         variables into it. As a result move several header files out of
6213         buffer.h.
6214
6215         Add header files to lots of .C files all over the tree as a result.
6216
6217 2003-09-09  Angus Leeming  <leeming@lyx.org>
6218
6219         * buffer.[Ch]: make Buffer's member variables private. Add
6220         accessor functions.
6221
6222         Lots of changes all over the tree as a result.
6223
6224 2003-09-08  Angus Leeming  <leeming@lyx.org>
6225
6226         * graph.C: #include <config.h>.
6227
6228 2003-09-08  Angus Leeming  <leeming@lyx.org>
6229
6230         * BranchList.C:
6231         * BufferView.C:
6232         * BufferView_pimpl.C:
6233         * CutAndPaste.C:
6234         * DepTable.C:
6235         * LaTeX.C:
6236         * LaTeXFeatures.C:
6237         * LyXAction.C:
6238         * MenuBackend.C:
6239         * TextCache.C:
6240         * aspell.C:
6241         * buffer.C:
6242         * bufferlist.C:
6243         * changes.C:
6244         * chset.C:
6245         * converter.C:
6246         * counters.C:
6247         * debug.C:
6248         * graph.C:
6249         * ispell.C:
6250         * lyx_cb.C:
6251         * lyxfind.C:
6252         * lyxfunc.C:
6253         * lyxlex_pimpl.C:
6254         * lyxrc.C:
6255         * lyxrow.C:
6256         * paragraph.C:
6257         * rowpainter.C:
6258         * texrow.C:
6259         * text.C:
6260         * text2.C:
6261         * toc.C: remove redundant using directives.
6262
6263 2003-09-07  Angus Leeming  <leeming@lyx.org>
6264
6265         * LaTeXFeatures.h: remove #include "support/types.h".
6266         * ToolbarBackend.h: remove #include <algorithm>.
6267         * changes.h: remove #include <ctime>.
6268         * debug.h: remove #include <iosfwd>.
6269         * graph.h: remove #include "support/std_string.h".
6270         * lyx_main.h: remove #include <csignal>.
6271         * lyxlex_pimpl.h: remove #include <fstream>.
6272         * sgml.h: remove #include <algorithm>, <utility>.
6273         * toc.h: remove #include "support/std_ostream.h".
6274         Add #include <iosfwd>.
6275
6276 2003-09-07  Angus Leeming  <leeming@lyx.org>
6277
6278         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
6279
6280         * converter.h: forward declare LatexRunParams.
6281         * encoding.h: remove #include "lyxrc.h".
6282         * lyxtext.h: remove #include "LColor.h".
6283         * lyxtextclass.h: remove #include "support/types.h".
6284         * trans.h: remove #include "tex-accent.h".
6285         * trans_mgr.h: remove #include "tex-accent.h".
6286         * insets/inset.h: remove #include "support/types.h", <vector>.
6287         * insets/insetcollapsable.h: remove #include "LColor.h".
6288         * insets/insetinclude.h: remove #include "dimension.h".
6289         * insets/insetlatexaccent.h: remove #include "dimension.h".
6290         * insets/insetoptarg.h:: remove #include "insettext.h".
6291         * insets/insettext.h: remove #include "dimension.h",
6292         <boost/shared_ptr.hpp>
6293
6294         * insets/renderers.h: add #include "dimension.h".
6295         * insets/updatableinset.h: add #include "support/types.h".
6296
6297         * many .C files: Associated changes.
6298
6299 2003-09-06  Angus Leeming  <leeming@lyx.org>
6300
6301         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
6302         one, inside testInvariant.
6303
6304         * PrinterParams.C: new file.
6305         * PrinterParams.[Ch]: move the function bodies out of line.
6306
6307 2003-09-06  Angus Leeming  <leeming@lyx.org>
6308
6309         * ParagraphParameters.h: forward declare ParameterStruct rather than
6310         including its header file.
6311         (depth): moved out-of-line.
6312
6313 2003-09-06  Angus Leeming  <leeming@lyx.org>
6314
6315         * BufferView_pimpl.h:
6316         * kbmap.h:
6317         * kbsequence.h:
6318         * lyxfunc.h: forward declare LyXKeySym rather than
6319         #include "frontends/LyXKeySym.h".
6320
6321         * BufferView_pimpl.C:
6322         * kbmap.C:
6323         * kbsequence.C:
6324         * lyxfunc.C: associated changes.
6325
6326 2003-09-06  Angus Leeming  <leeming@lyx.org>
6327
6328         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6329         As a result, can remove the #include "insets/inset.h" from BufferView.h
6330
6331 2003-09-06  Angus Leeming  <leeming@lyx.org>
6332
6333         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6334         As a result, can remove the #include "insets/inset.h" from BufferView.h
6335
6336 2003-09-06  Angus Leeming  <leeming@lyx.org>
6337
6338         * buffer_funcs.C:
6339         * buffer.h:
6340         * bufferlist.C:
6341         * BufferView.C:
6342         * bufferview_funcs.C:
6343         * BufferView_pimpl.C:
6344         * CutAndPaste.C:
6345         * lyx_cb.C:
6346         * lyxfunc.C:
6347         * paragraph.h:
6348         * ParagraphParameters.C:
6349         * tabular.C:
6350         * text3.C:
6351         * toc.C:
6352         * undo_funcs.C:
6353         * frontends/controllers/ControlDocument.C:
6354         * insets/insetcaption.C: rearrange the #includes into some sort of
6355         coherent order.
6356
6357         * buffer.h: remove #includes ErrorList.h, undo.h
6358
6359 2003-09-06  Angus Leeming  <leeming@lyx.org>
6360
6361         * support/types.h: add a 'depth_type' typedef, used to store the
6362         nesting depth of a paragraph.
6363
6364         * paragraph.h:
6365         * ParameterStruct.h: use this lyx::depth_type typedef rather than
6366         defining explicitly.
6367
6368         * buffer.h:
6369         * paragraph_funcs.h:
6370         * ParagraphParameters.h:
6371         * sgml.h: use lyx::depth_type rather than Paragraph or
6372         ParameterStruct's depth_type.
6373
6374         * buffer.h
6375         * paragraph_funcs.h: no need to #include paragraph.h anymore.
6376
6377         * BufferView.C:
6378         * BufferView_pimpl.C:
6379         * CutAndPaste.C:
6380         * ParagraphParameters.C:
6381         * buffer_funcs.C:
6382         * bufferlist.C:
6383         * bufferview_funcs.C:
6384         * lyx_cb.C:
6385         * lyxfunc.C:
6386         * tabular.C:
6387         * text3.C:
6388         * toc.C:
6389         * undo_funcs.C:
6390         * frontends/LyXView.C:
6391         * frontends/controllers/ControlDocument.C:
6392         * frontends/controllers/ControlErrorList.C:
6393         * insets/insetbibitem.C:
6394         * insets/insetbranch.C:
6395         * insets/insetcaption.C:
6396         * insets/insetcollapsable.C:
6397         * insets/insetenv.C:
6398         * insets/insetert.C:
6399         * insets/insetfloat.C:
6400         * insets/insetfoot.C:
6401         * insets/insetfootlike.C:
6402         * insets/insetnewline.C:
6403         * insets/insetquotes.C:
6404         * insets/insettabular.C:
6405         * insets/insettext.C:
6406         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
6407
6408         * frontends/controllers/ControlChanges.C: #include "changes.h".
6409
6410 2003-09-06  Angus Leeming  <leeming@lyx.org>
6411
6412         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
6413         than #including paragraph.h.
6414
6415         * ParagraphList.h:
6416         * RowList.h: deleted. Superfluous.
6417
6418         * CutAndPaste.h:
6419         * iterators.h:
6420         * lyxcursor.h:
6421         * lyxtext.h:
6422         * text_funcs.h:
6423         * undo.h:
6424         * undo_funcs.h:
6425         * insets/inset.h:
6426         * insets/insettext.h: use ParagraphList_fwd.h rather than
6427         ParagraphList.h.
6428
6429         * paragraph.h: don't forward declare ParagraphList.
6430
6431         * buffer.h:
6432         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
6433         rather than ParagraphList.h. paragraph.h is still needed for the
6434         Paragraph::depth_type parameters.
6435
6436         * textcursor.h: enable it to compile stand-alone in light of the
6437         above changes.
6438
6439         * bufferview_funcs.C:
6440         * iterators.C:
6441         * lyxfunc.C:
6442         * lyxrow_funcs.C:
6443         * paragraph.C:
6444         * rowpainter.C:
6445         * text.C:
6446         * text2.C:
6447         * text3.C:
6448         * text_funcs.C:
6449         * textcursor.C:
6450         * undo.C:
6451         * frontends/controllers/ControlParagraph.C:
6452         * frontends/controllers/ControlTabular.C:
6453         * insets/insetmarginal.C:
6454         * insets/insetminipage.C:
6455         * insets/insetnote.C:
6456         * insets/insetoptarg.C: add header files needed to compile again.
6457
6458 2003-09-06  Angus Leeming  <leeming@lyx.org>
6459
6460         * RowList_fwd.h: new file, forward-declaring Row rather than
6461         #including lyxrow.h.
6462
6463         * lyxrow_funcs.h:
6464         * lyxtext.h:
6465         * paragraph.h:
6466         * insets/insettext.h: use it instead of RowList.h
6467
6468         * bufferview_funcs.C:
6469         * lyxfunc.C:
6470         * lyxrow_funcs.C:
6471         * paragraph.C:
6472         * rowpainter.C:
6473         * text.C:
6474         * text2.C:
6475         * text3.C: #include "RowList.h".
6476
6477 2003-09-05  Angus Leeming  <leeming@lyx.org>
6478
6479         * factory.C (createInset):
6480         * vspace.C (c-tor): replace sscanf call with an istringstream.
6481         * ispell.C: re-add missing HP/UX headers.
6482         * lyxserver.C: re-add missing  os2 headers.
6483
6484 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
6485
6486         * BranchList.C:
6487         * graph.C:
6488         * ispell.C:
6489         * lastfiles.C:
6490         * lyx_cb.C:
6491         * lyxserver.C:
6492         * texrow.C:
6493         * text3.C: re-add missing system headers, needed for 2.95.2.
6494
6495 2003-09-05  Angus Leeming  <leeming@lyx.org>
6496
6497         Changes most place everywhere due to the removal of using directives
6498         from support/std_sstream.h.
6499
6500 2003-09-05  Angus Leeming  <leeming@lyx.org>
6501
6502         Replace LString.h with support/std_string.h,
6503         Lsstream.h with support/std_sstream.h,
6504         support/LIstream.h with support/std_istream.h,
6505         support/LOstream.h with support/std_ostream.h.
6506
6507         Changes resulting throughout the tree.
6508
6509 2003-09-05  Angus Leeming  <leeming@lyx.org>
6510
6511         * sgml.h: ensure that the header file can be compiled stand-alone.
6512         * *.C: strip out redundant #includes. (320 in total.)
6513
6514 2003-09-04  Angus Leeming  <leeming@lyx.org>
6515
6516         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6517         here (from getPackages).
6518
6519         * debug.[Ch]: add a new EXTERNAL tag.
6520
6521 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6522
6523         * text2.C (cursorEnd): simplify
6524         (setCursor): adjust
6525         (getColumnNearX): adjust
6526
6527         * text.C (computeBidiTables): adjust
6528         (fill): adjust
6529
6530         * rowpainter.C (paintChars): adjust
6531         (paintSelection): adjust
6532         (paintChangeBar): adjust
6533         (paintText): adjust
6534
6535         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6536         lastPos instead.
6537         (numberOfSeparators): adjust
6538
6539 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6540
6541         * LyXAction.C:
6542         * box.[Ch]:
6543         * lfuns.h:
6544         * lyxfunc.C:
6545         * text3.C: Restricts the mouse click functionality
6546         of insets like bibtex, include, toc and floatlist to the visible
6547         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6548         up the dialogs. Cursor has to be in front of the inset (i.e.
6549         start of row) for this to function.
6550
6551 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6552
6553         * bufferview_funcs.C (currentState): output row information
6554
6555 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6556
6557         * bufferview_funcs.C (currentState): output paragraph position
6558
6559 2003-09-04  Angus Leeming  <leeming@lyx.org>
6560
6561         * FloatList.h: move out #include "Floating.h".
6562         * LaTeX.h: move out #include "DepTable.h".
6563         * LyXAction.h: move out #include "funcrequest.h".
6564         * buffer.h: move out #include "author.h", "iterators.h".
6565         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6566         * lyx_main.h: move out #include "errorlist.h".
6567         * lyxfunc.h: move out #include "FuncStatus.h".
6568         * lyxtext: move out #include "lyxcursor.h".
6569         * paragraph_pimpl.h: move out #include "counters.h".
6570
6571 2003-09-03  Angus Leeming  <leeming@lyx.org>
6572
6573         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6574         preamble_snippets list, enabling us to add snippets to the preamble
6575         only if the snippet was not there already.
6576
6577 2003-09-04  Angus Leeming  <leeming@lyx.org>
6578
6579         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6580
6581 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6582
6583         * lyxfunc.C (dispatch): if fitCursor did something be sure to
6584         update
6585
6586 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6587
6588         * BranchList.C: point fix, earlier forgotten
6589
6590 2003-09-02  Angus Leeming  <leeming@lyx.org>
6591
6592         * box.C (contains): renamed from 'contained' after a fantastic
6593         amount of hot air.
6594
6595 2003-09-02  John Levon  <levon@movementarian.org>
6596
6597         * BufferView.C:
6598         * lyxcursor.h:
6599         * lyxcursor.C:
6600         * lyxfunc.C:
6601         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6602
6603 2003-09-02  John Levon  <levon@movementarian.org>
6604
6605         * text2.C: simplification of cursorEnd(), including partial
6606         fix for bug 1376
6607
6608 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6609
6610         * buffer.C (readFile): add a space
6611
6612 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
6613
6614         * BufferView_pimpl.C (update): remove bogus fitCursor() call
6615
6616 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6617
6618         * buffer.C (readFile): new function, take a filename and a
6619         ParagraphList::iterator
6620         (readFile): adjust
6621         (readFile): adjust, make it private. don't use setStream, make
6622         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6623         always contain the filename.
6624
6625         * BufferView.C (insertLyXFile): simplify and make it work for
6626         gzipped files.
6627
6628 2003-08-30  John Levon  <levon@movementarian.org>
6629
6630         * Makefile.am: fix dist (from Kayvan)
6631
6632 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6633
6634         * most files: change to use const Buffer refs
6635
6636 2003-08-27  André Pönitz  <poenitz@gmx.net>
6637
6638         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6639         on top of ownerPar().
6640
6641 2003-08-27  John Levon  <levon@movementarian.org>
6642
6643         * funcrequest.C: properly initialise POD members
6644
6645 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6646
6647         * lyxtext.h (top_y): move top_y from here
6648         * text.C:
6649         * text2.C:
6650         * text3.C:
6651         * BufferView.[Ch]:
6652         * BufferView_pimpl.[Ch]: to here
6653         * frontends/screen.C:
6654         * insets/insettabular.C:
6655         * insets/insettext.C: adjust
6656         * rowpainter.[Ch] (paintRows): remove LyXText & argument
6657
6658 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6659
6660         * BufferView.[Ch]:
6661         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6662
6663 2003-08-26  André Pönitz  <poenitz@gmx.net>
6664
6665         * paragraph_func.[Ch] (outerPar): new function
6666
6667         * paragraph.C:
6668         * paragraph_funcs.C:
6669         * paragraph_funcs.h:
6670         * paragraph_pimpl.C:
6671         * text2.C: remove Inset::par_owner
6672
6673 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
6674
6675         * lyxrow_funcs.C:
6676         * lyxtext.h:
6677         * text.C:
6678         * text2.C: eliminates the needFullRow/display() stuff
6679         altogether, putting the logic in metrics/draw in the insets.
6680
6681 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
6682
6683         * text2.C (redoParagraphInternal, redoParagraphs):
6684         * text.C (redoParagraph): add a call to updateRowPositions at the
6685         end of each 'metrics-like' call. Remove all others.
6686         (getRow): remove the 'y-computing' version.
6687         (getRowNearY): do not compute nor return the real y. Solve the
6688         'y < 0' problem and simplify.
6689
6690 2003-08-22  Angus Leeming  <leeming@lyx.org>
6691
6692         * *.[Ch]: clean-up of licence and author blurbs.
6693         Also move config.h out of a few .h files and into a few .C files.
6694
6695 2003-08-22  André Pönitz  <poenitz@gmx.net>
6696
6697         * lyxrow.[Ch]: add x_ and *fill_ members
6698
6699         * lyxtext.h:
6700         * text.C:
6701         * rowpainter.C:
6702         * text2.C: adjust/remove prepareToPrint() calls
6703
6704 2003-08-22  André Pönitz  <poenitz@gmx.net>
6705
6706         * lyxrow.[Ch]: add  end_ member
6707
6708         * lyxrow_funcs.C: use LyXRow::end_
6709
6710         * lyxtext.h (singleWidth): add LyXFont parameter
6711
6712         * rowpainter.C:
6713         * text2.C: adjust LyXText::singleWidth() calls
6714
6715         * text.C (redoParagraph): simplify row breaking logic
6716
6717
6718 2003-08-19  André Pönitz  <poenitz@gmx.net>
6719
6720         * funcrequest.C: initialize button_ member
6721
6722         * text3.C:
6723         * rowpainter.[Ch]: interface consolidation
6724
6725 2003-08-18  André Pönitz  <poenitz@gmx.net>
6726
6727         * BufferView.C:
6728         * BufferView_pimpl.C:
6729         * lyxfind.C:
6730         * paragraph_funcs.C:
6731         * rowpainter.C:
6732         * text3.C: remove LyXScreen::draw() and fitCursor calls
6733
6734         * BranchList.h: remove spurious semicolons
6735
6736         * MenuBackend.C: fix branchlist related crash
6737
6738 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
6739
6740         * BranchList.[Ch]:
6741         * InsetList.[Ch]:
6742         * LColor.[Ch]:
6743         * LyXAction.C:
6744         * Makefile.am:
6745         * MenuBackend.[Ch]:
6746         * bufferparams.[Ch]:
6747         * factory.C:
6748         * lfuns.h:
6749         * lyxfunc.C:
6750         * text3.C: implements the 'branch inset'
6751         idea. This allows the output of various versions of a document
6752         from a single source version, selectively outputing or suppressing
6753         output of parts of the text.
6754         This implementation contains a 'branch list editor' in a separate
6755         tab of the document settings dialog. Branches are user definable
6756         and have a "display colour" to distinguish them on-screen.
6757
6758         ColorHandler was somewhat cleaned up.
6759         (1) make possible a dynamically growing LColor list by allowing
6760         the graphic context cache to grow along (vector);
6761         (2) eliminate an IMHO unnecessary step in colour allocation.
6762
6763 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
6764
6765         * BufferView_pimpl.C: compile fix
6766
6767 2003-08-15  André Pönitz  <poenitz@gmx.net>
6768
6769         * rowpainter.C: remove extra metrics calls
6770
6771         * lyxtext.h: merge the two constructors into a single one,
6772           pass reference to owner's par list
6773
6774         * BufferView_pimpl.C:
6775         * text.C:
6776         * text2.C: adjust
6777
6778 2003-08-15  André Pönitz  <poenitz@gmx.net>
6779
6780         * lyxrow_funcs.[Ch]:
6781         * lyxtext.h:
6782         * paragraph.h:
6783         * paragraph_funcs.C:
6784         * rowpainter.C:
6785         * text.C:
6786         * text2.C:
6787         * text3.C:
6788         * text_funcs.C: split LyXText::rowlist_ into individual
6789         Paragraph::rows_ chunks
6790
6791         * BufferView.[Ch]:
6792         * BufferView_pimpl.[Ch]:
6793         * lyxfind.C:
6794         * lyxtext.h:
6795         * text3.C: remove toggleSelection()
6796
6797 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
6798
6799         * bufferlist.C: beautify two alerts (shorter text of buttons)
6800         * buffer.C: Remove redundant ' ' from message
6801         * tabular.h:
6802         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6803         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6804         rename VALIGN_CENTER to VALIGN_MIDDLE
6805
6806 2003-08-11  André Pönitz  <poenitz@gmx.net>
6807
6808         * lyxtext.h (getPar):
6809         * text.C: new function
6810
6811 2003-08-11  André Pönitz  <poenitz@gmx.net>
6812
6813         * Makefile.am:
6814         * tracer.[Ch]: remove unneeded files
6815
6816         * InsetList.[Ch]: remove resizeInsetsLyXText()
6817
6818         * lyxtext.h:
6819         * text.C:
6820         * text2.C:
6821         * text3.C: merge insertParagraphs() and appendParagraph()
6822         remove breakAgain(), update()
6823
6824         * BufferView_pimpl.[Ch]:
6825         * bufferview_funcs.[Ch]:
6826         * lyxfunc.C:
6827         * paragraph.[Ch]:
6828         * rowpainter.C:
6829         * tabular.C: adjust after text & InsetList changes.
6830
6831 2003-08-08  André Pönitz  <poenitz@gmx.net>
6832
6833         * text.C (insertChar, backspace): replace rowlist fiddling
6834         with rebreak of full par
6835
6836         * lyxtext.h:
6837         * text.C (breakAgainOneRow, redoHeightOfParagraph,
6838         checkParagraph, updateInset): removed
6839
6840 2003-08-07  André Pönitz  <poenitz@gmx.net>
6841
6842         * paragraph.C:
6843         * text3.C: merge some LFUN handlers, remove dead code
6844
6845 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6846
6847         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6848
6849 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
6850
6851         * text2.C (DEPM): fix part of bug 1255 and 1256
6852
6853 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6854
6855         * BufferView_pimpl.C (workAreaDispatch): change to use
6856         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6857         that are no mouse related.
6858
6859 2003-08-05  André Pönitz  <poenitz@gmx.net>
6860
6861         * BufferView.[Ch]:
6862         * BufferView_pimpl.[Ch]:
6863         * bufferview_funcs.C:
6864         * text2.C:
6865         * text3.C: rip out "deep update"
6866
6867         * textcursor.[Ch] (last_sel_cursor): remove unused member
6868
6869 2003-08-04  André Pönitz  <poenitz@gmx.net>
6870
6871         * BufferView.[Ch]:
6872         * BufferView_pimpl.[Ch]:
6873         * ParagraphParameters.C:
6874         * bufferview_funcs.C:
6875         * lyx_cb.C:
6876         * lyxfind.C:
6877         * lyxfunc.C:
6878         * text.C:
6879         * text2.C:
6880         * text3.C: replace "complicated" BufferView::update(...) calls with
6881         simpler ones.
6882
6883         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6884
6885 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
6886
6887         * Makefile.am (lyx_SOURCES): add paper.h
6888
6889 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6890
6891         * Makefile.am: move things around so that both lyx-qt and
6892         lyx-xforms can be built (according to --with-frontend). Then lyx
6893         is a symbolic link to lyx-[firstfrontend]
6894
6895 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
6896
6897         * Always use std::endl with lyxerr
6898
6899 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
6900
6901         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6902
6903 2003-08-01  André Pönitz  <poenitz@gmx.net>
6904
6905         * BufferView.[Ch]:
6906         * BufferView_pimpl.[Ch]:
6907         * lyxfunc.C:
6908         * text3.C: merge BufferView::repaint() and BufferView::update()
6909
6910 2003-08-01  José Matos  <jamatos@lyx.org>
6911
6912         * buffer.[Ch]: file_format is no longer a buffer data element.
6913
6914 2003-08-01  André Pönitz  <poenitz@gmx.net>
6915
6916         * BufferView.C:
6917         * lyxtext.h:
6918         * text.C:
6919         * text2.C: make redoParagraph more independent of current cursor
6920
6921         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6922         * text.C:
6923         * text2.C: remove unneeded members
6924
6925 2003-07-30  André Pönitz  <poenitz@gmx.net>
6926
6927         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6928
6929         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6930           create a single function...
6931
6932         * paragraph_funcs.C (moveItem): ... here.
6933
6934         * text.C:
6935           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6936
6937 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
6938
6939         * LColor.[Ch]: Add comment and greyedout logical colors.
6940
6941 2003-07-30  André Pönitz  <poenitz@gmx.net>
6942
6943         * tabular.C: don't use Assert too heavily. This crashes where it
6944           shouldn't
6945
6946 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
6947
6948         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6949         is disabled (bug 1232)
6950
6951 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6952
6953         * factory.C: limited 'arg' scope
6954
6955 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6956
6957         * factory.C: fixed Note submenu issues
6958
6959 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6960
6961         * factory.C: submenu for Note/Comment/Greyedout
6962
6963 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
6964
6965         * lyx_main.C (LyX):
6966         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6967
6968 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
6969
6970         * LaTeXFeatures.C:
6971         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6972         greyedout. Patch provided by Jürgen Spitzmüller.
6973
6974 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6975
6976         * kbmap.C (read): fix error message when reading bind files
6977
6978 2003-07-29  Angus Leeming  <leeming@lyx.org>
6979
6980         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6981         certainly does not do what it purports to do. I am doing it, and
6982         us, a favour by killing it.
6983
6984 2003-07-28  José Matos  <jamatos@lyx.org>
6985
6986         * buffer.C (readBody, do_writeFile):
6987         * paragraph.C(readParagraph): \end_document replaces \the_end.
6988
6989 2003-07-29  André Pönitz  <poenitz@gmx.net>
6990
6991         * BufferView.[Ch]:
6992         * BufferView_pimpl.[Ch]:
6993         * lyxfunc.C:
6994         * text2.C:
6995         * text3.C:
6996         * textcursor.[Ch]: remove toggleToggle & Co
6997
6998 2003-07-28  José Matos  <jamatos@fep.up.pt>
6999
7000         * buffer.C (readParagraph):
7001         * params_func (readParToken, readParagraph):
7002         * paragraph.C (write): \layout -> \begin_layout.
7003
7004 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7005
7006         * lyxlex_pimpl.C (setFile): clean up slightly.
7007
7008         * bufferparams.h: add compressed var
7009
7010         * buffer_funcs.C (readFile): adjust for LyXLex change
7011         (newFile): ditto + simplify
7012
7013         * buffer.C (writeFile): handle writing of compressed files
7014
7015         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
7016         Check if the file is compressed and set a bufferparm if so.
7017
7018         * Makefile.am (lyx_LDADD): remove explicit -lz
7019
7020 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7021
7022         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
7023         makeDocBookFile): put the real LyX version in the first line of
7024         the file
7025
7026         * version.h:
7027         * version.C.in: remove lyx_docversion
7028
7029         * tabular.C (write_attribute): add a template-based version to
7030         write enums properly
7031
7032 2003-07-28  André Pönitz  <poenitz@gmx.net>
7033
7034         * lyxtext.h:
7035         * text.C:
7036         * text2.C:
7037         * text3.C: use doubles again for x-coordinates. They are needed.
7038
7039 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7040
7041         * messages.C (getLocaleDir): use lyx_localedir()
7042
7043         * lyxlex_pimpl.C (setFile): compress stuff
7044
7045         * buffer.C (writeFile): add some compression stuff
7046         (do_writeFile): new func, dont call expliti close... will this
7047         breake anything?
7048
7049         * Makefile.am (lyx_LDADD): add -lz
7050
7051 2003-07-28  José Matos  <jamatos@fep.up.pt>
7052
7053         * buffer.C: increment file format.
7054         * paragraph_funcs (readParagraph, readParToken):
7055         * paragraph.C (readParagraph): add \end_layout.
7056
7057 2003-07-27  Angus Leeming  <leeming@lyx.org>
7058
7059         * Makefile.am: remove special casing for configure-time setting of
7060         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
7061
7062         * lyx_main.C (init): remove all Jean-Marc's magic setting of
7063         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
7064
7065 2003-07-26  André Pönitz  <poenitz@gmx.net>
7066
7067         * paragraph_func.[Ch]:
7068         * paragraph.C (realizeFont): inline it whereever it is used
7069
7070         * rowpainter.C:
7071         * text.C:
7072         * text2.C:
7073         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
7074
7075
7076 2003-07-26  André Pönitz  <poenitz@gmx.net>
7077
7078         *       lyxtext.h:
7079         * text.C:
7080         * text2.C: get rid of LyXText::need_break_row
7081
7082 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7083
7084         * toc.[Ch]: put namespace toc inside namespace lyx
7085
7086         * MenuBackend.C (expandToc2): adjust for lyx::toc
7087         (expandToc): ditto
7088
7089         * lyxfunc.C (dispatch): adjust for lyx::find
7090
7091         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
7092         lyx::find instead. Reorganize a bit.
7093         (LyXReplace): rename to replace
7094         (LyXFind): rename to find
7095
7096         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
7097         (dispatch): ditto
7098
7099 2003-07-26  André Pönitz  <poenitz@gmx.net>
7100
7101         * text.C (setHeightOfRow): restrict scope of temporary variable
7102
7103         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
7104           code (never has been used?)
7105
7106 2003-07-27  Asger Alstrup  <alstrup@local>
7107
7108         * text.C (fill): Optimise algorithm to exploit that we can reuse
7109         the LyXFont for many characters.
7110         (setHeightOfRow): Same thing.
7111         (rowBreakPoint): Same thing.
7112
7113 2003-07-26  Asger Alstrup  <alstrup@local>
7114
7115         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
7116
7117         * text.C (singleWidth): Spurious font copying in hot-spot
7118         singleWidth avoided. Reorder tests for arabic for efficiency.
7119
7120         * text.C (fill): handle empty paragraphs better.
7121
7122 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7123
7124         * ispell.C:
7125         * encoding.h: add includes
7126
7127         * lyxrc.C: remove reading of bind files
7128
7129         * lyx_main.C (init): setup bindings and menus only if we have a
7130         gui.
7131
7132         * kbmap.C (read): new method. Do the actual reading of bind
7133         files.
7134
7135         * converter.C (dvipdfm_options):
7136         * bufferparams.C:
7137         * lyxrc.C (read):
7138         (output): adapt PAPER_* enums.
7139
7140         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
7141
7142         * bufferparams.h: remove paper-related enums from there
7143
7144         * paper.h: New file. A trivial header file to hold paper-related
7145         enums. It should later expand to contain many paper-related
7146         horrors access.
7147
7148         * lyxrc.C: declare extern displayTranslator
7149
7150 2003-07-27  José Matos  <jamatos@fep.up.pt>
7151
7152         * tabular.[Ch] (linuxdoc): add support for tables and figures
7153         (linuxdoc).
7154
7155 2003-07-27  José Matos  <jamatos@fep.up.pt>
7156
7157         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
7158         consistency in both functions.
7159         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
7160
7161 2003-07-26  Asger Alstrup  <alstrup@local>
7162
7163         * rowpainter.C (paintRows): Change algorithm to work directly on
7164         the insets rather than asking every character in the document
7165         whether its an inset.
7166
7167 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
7168
7169         * buffer.C (openFileWrite): factorize some code
7170
7171 2003-07-26  Angus Leeming  <leeming@lyx.org>
7172
7173         * lyx_cb.C:
7174         * lyx_main.[Ch]: replace occurances of system_tempdir with
7175         os::getTmpDir().
7176
7177 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7178
7179         * rename Inset to InsetOld
7180
7181 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
7182
7183         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
7184         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
7185         which I think is a bit clearer. EDIT is gone, since it was
7186         premature optimisation, and broken for mathed anyway.
7187         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
7188         with cursor positioning in insets as well (math insets still do not
7189         work, but that's a different story anyway.) It mysteriously
7190         crashes sometimes with undo in the first paragraph, but I'm fairly
7191         confident that this is a compiler bug.
7192
7193 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7194
7195         * paragraph.C (Paragraph): adjust for new clone return type
7196         (operator==): ditto
7197         (copyIntoMinibuffer): ditto
7198
7199 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
7200
7201         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
7202         by not having a special case, and always doing a full rebreak of
7203         the document after undo.
7204
7205 2003-07-23  Angus Leeming  <leeming@lyx.org>
7206
7207         * factory.C (createInset): InsetExternal::setParams now takes a
7208         Buffer const * arg.
7209
7210 2003-07-23  Angus Leeming  <leeming@lyx.org>
7211
7212         * factory.C (createInset): changed interface to the external and
7213         graphics mailers' string2params functions.
7214
7215 2003-07-23  Angus Leeming  <leeming@lyx.org>
7216
7217         * factory.C (createInset): pass a
7218         Buffer const * parameter to InsetExternalMailer's string2params.
7219
7220 2003-07-22  John Levon  <levon@movementarian.org>
7221
7222         * Thesaurus.h: include the right aiksaurus header
7223
7224 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7225
7226         * MenuBackend.C (expand): check menu shortcuts unconditionally
7227
7228 2003-07-21  Angus Leeming  <leeming@lyx.org>
7229
7230         * factory.C (createInset): pass a
7231         buffer_path parameter to InsetGraphicsMailer's string2params.
7232
7233 2003-07-21  Angus Leeming  <leeming@lyx.org>
7234
7235         * BufferView_pimpl.C (buffer):
7236         * buffer.C (d-tor):
7237         * lyx_main.C (LyX):
7238         * lyxfunc.C (dispatch):
7239         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
7240         rather than the grfx shortcut.
7241
7242 2003-07-21  André Pönitz  <poenitz@gmx.net>
7243
7244         * rowpainter.C: remove unused variables
7245
7246         * tabular_funcs.C:
7247         * tabular_funcs.h: move to tabular.C
7248         * Makefile.am: adjust
7249
7250         * tabular.[Ch]: basic optical cleaning
7251
7252         * author.h: pass references, not values
7253
7254 2003-07-18  André Pönitz  <poenitz@gmx.net>
7255
7256         * lyxtext.h:
7257         * metricsinfo.C:
7258         * metricsinfo.h:
7259         * rowpainter.C:
7260         * text.C:
7261         * text2.C:
7262         * text3.C: two-phase drawing for InsetText and InsetTabular
7263         some float -> int changes.
7264
7265 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
7266
7267         * lyx_main.C: fix the fix
7268
7269 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
7270
7271         * lyx_main.C: fix a crash in batch mode if no files specified
7272         * converter.C: ws
7273
7274 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
7275
7276         * format.[Ch] (papersize): moved to BufferParams
7277         * converter.[Ch] (dvips_options): moved to BufferParams
7278         (dvipdfm_options): moved to anon namespace
7279         * bufferparams.[Ch]: added above functions.
7280
7281 2003-07-17  André Pönitz  <poenitz@gmx.net>
7282
7283         * lyxtext.h:
7284         * rowpainter.C:
7285         * text2.C: don't call inset->update() anymore
7286
7287         * metricsinfo.[Ch]: add convenience constructor
7288
7289 2003-07-16  André Pönitz  <poenitz@gmx.net>
7290
7291         * lyxcursor.[Ch]:
7292         * lyxfunc.[Ch]:
7293         * text.C:
7294         * text2.C: replace the LyXCursor::irow_ member with
7295          on-demand computation of the value
7296
7297 2003-07-16  John Levon  <levon@movementarian.org>
7298
7299         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
7300
7301 2003-07-15  André Pönitz  <poenitz@gmx.net>
7302
7303         * text.C:
7304         * text2.C: remove no more needed refresh_row
7305
7306 2003-07-15  André Pönitz  <poenitz@gmx.net>
7307
7308         * lyxtext.h:
7309         * rowpainter.C:
7310         * text2.C:
7311         * text3.C: refresh_status tristate -> need_update bool
7312
7313 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
7314
7315         * lyxtext.h (init): remove reinit argument (act as if always true)
7316         * text2.C: adjust to that
7317
7318 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7319
7320         * bufferview_funcs.[Ch]: introduce function replaceSelection()
7321         * text3.C: use it to delete selections in some cases
7322         (bugs 441, 673, 702, 954).
7323
7324 2003-07-14  André Pönitz  <poenitz@gmx.net>
7325
7326         * rowpainter.[Ch]: reduce interface
7327
7328 2003-07-14  André Pönitz  <poenitz@gmx.net>
7329
7330         * BufferView_pimpl.C:
7331         * text2.C: adjust after removing unused BufferView * argument
7332
7333 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
7334
7335         * text2.C (init): fix a crash fired on resize
7336
7337 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
7338
7339         * buffer.[Ch]: added new closing signal
7340         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
7341         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
7342         BufferView::Pimpl via the closing the signal
7343
7344 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
7345
7346         * buffer.[Ch]: take out all bv-related from buffer
7347         * BufferView.C:
7348         * BufferView_pimpl.[Ch]: connect to new signals
7349         * CutAndPaste.C: removed useless asserts
7350         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
7351         * lyxvc.[Ch]:
7352         * vc-backend.[Ch]:
7353         * lyxfunc.C: moved view-related funciontality from vc here
7354         * paragraph.C: removed outdated comments
7355         * text.C: ws
7356
7357 2003-07-10  André Pönitz  <poenitz@gmx.net>
7358
7359         * BufferView_pimpl.C:
7360         * tabular.h:
7361         * tabular_funcs.C:
7362         * text.C:
7363         * text2.C: remove InsetText::InnerCache, clean up consequences
7364
7365 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
7366
7367         * ispell.C: fix two typos in error messages
7368
7369 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
7370
7371         * Extend Note inset to other forms of annotation like Comment
7372         and Greyedout. Right button click gives dialog.
7373
7374         Files modified or added (+):
7375
7376         * insetnote.[Ch]
7377         * FormNote.[Ch]      +
7378         * ControlNote.[Ch]   +
7379         * form_note.fd       +
7380         * Makefile.am in frontends/xforms, frontends/xforms/forms,
7381         frontends/controllers
7382         * xforms/Dialogs.C
7383         * factory.C
7384
7385 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7386
7387         * aspell.C: add missing namespace lyx::support
7388
7389 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
7390
7391         * BufferView.[Ch] (newFile): Add
7392         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
7393         * LaTeX.[Ch] (message): added this signal and use it
7394         * buffer.[Ch] (busy, message): added these signals and use them
7395         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
7396         * converter.C:
7397         * exporter.C:
7398         * format.C:
7399         * importer.C: use buffer signals instead of direct bv calling
7400         * lyx_cb.[Ch] (ShowMessage): removed
7401         * lyx_main.C:
7402         * lyxfunc.C:
7403         * paragraph_funcs.C:
7404         * text2.C: use buffer signals
7405
7406 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7407
7408         * introduce namespace lyx::graphics
7409
7410 2003-07-02  André Pönitz  <poenitz@gmx.net>
7411
7412         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
7413
7414 2003-07-01  André Pönitz  <poenitz@gmx.net>
7415
7416         * text.C:
7417         * text2.C:
7418         * text3.C:
7419         * text_funcs.[Ch]:
7420         * textcursor.h:
7421         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
7422           text*.C to text_func.C
7423
7424 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7425
7426         * introduce namespace lyx::support
7427
7428 2003-06-30  André Pönitz  <poenitz@gmx.net>
7429
7430         * Chktex.C:
7431         * funcrequest.C:
7432         * lyxtext.h:
7433         * text.C: re-enable --with-included-string
7434
7435 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7436
7437         * textcursor.C: add <config.h>
7438
7439         * text.C (getWord): remove const from word_location arg
7440
7441         * lyxvc.C (getLogFile): fix const type order
7442
7443         * lyxtext.h: remove const from word_location arg, add arg name
7444
7445         * lyxlayout.h: currect type on labeltype.
7446
7447         * importer.C: correct \file
7448
7449         * converter.C (intToFormat): use std:: on ret val, ws changes
7450
7451         * bufferlist.h: correct \file
7452
7453         * buffer.C (makeLinuxDocFile): fix const type order
7454         (makeDocBookFile): ditto
7455         (fillWithBibKeys): use std:: on stdlib args.
7456
7457         * CutAndPaste.C: fix authors.
7458         (availableSelections): use std:: on return vector
7459
7460 2003-06-27  André Pönitz  <poenitz@gmx.net>
7461
7462         * BufferView_pimpl.C:
7463         * bufferview_funcs.C:
7464         * lyxcursor.C:
7465         * lyxcursor.h:
7466         * lyxfunc.C:
7467         * lyxtext.h:
7468         * rowpainter.C:
7469         * text.C:
7470         * text2.C:
7471         * text3.C: remove LyXCursor::row_ member
7472
7473         * lyxtext.h:
7474         * text.C: rename fullRebreak() to partialRebreak() and implement
7475           a fullRebreak() that really bereks fully
7476
7477         * textcursor.h: new struct for cursor-related data
7478
7479 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
7480
7481         * lyx_main.C (LyX): get full path of document loaded on the
7482         command line
7483
7484 2003-06-26  André Pönitz  <poenitz@gmx.net>
7485
7486         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7487           remove unused/broken operator>,<,>=.
7488
7489         *       text.C: remove only use of broken operator<= in an Assert().
7490
7491 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7492
7493         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7494         moved errorlist_.clear to showErrorList
7495
7496 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7497
7498         * converter.C (scanLog, runLaTeX):
7499         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7500         move the bv->showErrorList call to the callers
7501         * lyxfunc.C: i.e. here...
7502         * text2.C: and here
7503         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7504         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7505         namespace, the second to...
7506         * buffer_funcs (BufferFormat, parseErrors): added
7507         * errorlist.C (ErrorList(TeXErrors const &)): removed
7508
7509 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7510
7511         * ToolbarBackend.C (getIcon): complain when icon cannot be found
7512
7513 2003-06-24  "Garst R. Reese" <reese@isn.net>
7514
7515         * debug.C: fix typo
7516
7517 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7518
7519         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7520
7521         * version.C.in: change docversion to 1.4
7522
7523 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
7524
7525         * buffer.C: fix a bug just introduced
7526
7527 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
7528
7529         * buffer.[Ch]: added the parseError signal and use it, removed
7530         sgmlError
7531         * BufferView.[Ch] (addError): moved to ...
7532         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7533         to the Buffer::parseError signal to catch (guess what) parse errors
7534         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7535
7536 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
7537
7538         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7539         ability to create a buffer and to return an existing one from
7540         the list. Moved these functions to...
7541         * buffer_funcs.[Ch]: added
7542         * BufferView.[Ch] (loadLyXFile): added
7543         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7544         job removed from bufferlist::loadLyXFile.
7545         * buffer.C (setReadOnly): make it work without view
7546         (i.e added an if (users))
7547
7548 2003-06-19  Angus Leeming  <leeming@lyx.org>
7549
7550         * lfuns.h:
7551         * LyXAction.C (init):
7552         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7553         with LFUN_DIALOG_SHOW <name> <data>.
7554
7555 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7556
7557         * CutAndPaste.C (availableSelections): small compilation fix for
7558         ancient (gcc 2.9x) compilers
7559
7560 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
7561
7562         * text3.C (cursorNext): add tmp var
7563
7564         * text2.C (updateCounters): for function calling out of for clause
7565         (replaceSelectionWithString): ditto
7566         (insertStringAsParagraphs): ditto
7567         (getColumnNearX): add tmp var
7568         (setCursorFromCoordinates): add tmp var
7569         (cursorDownParagraph): add tmp var
7570         (deleteEmptyParagraphMechanism): add tmp var
7571
7572         * text.C (insertChar): add tmp var
7573
7574         * rowpainter.C (paintDepthBar): add tmp var
7575
7576         * CutAndPaste.C (availableSelections): potentially check all
7577         paragraphs in a cut to fill the shown strings.
7578
7579 2003-06-18  André Pönitz  <poenitz@gmx.net>
7580
7581         * kbmap.[Ch]: use vector<> instead of list<>
7582
7583 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
7584
7585         * text3.C (dispatch): handle arg to LFUN_PASTE, call
7586         pasteSelection with index
7587
7588         * text2.C (pasteSelection): modify, call pasteSelection with index
7589
7590         * paragraph.C (asString): reimplement version with no interval to
7591         call the one with interval.
7592
7593         * lyxtext.h: add index arg to pasteSelection
7594
7595         * MenuBackend.C (MenuItem): handle PasteRecent
7596         (Menu::read::Menutags): add md_pasterecent
7597         (read): handle it
7598         (expandPasteRecent): new function
7599         (expand): use it
7600
7601         * MenuBackend.h: add PasteRecent to MenuItem::Kind
7602
7603         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7604         the limited stack
7605         (availableSelections): new function
7606
7607 2003-06-17  Angus Leeming  <leeming@lyx.org>
7608
7609         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7610
7611 2003-06-17  Angus Leeming  <leeming@lyx.org>
7612
7613         * lfuns.h:
7614         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7615
7616         * lyxfunc.C (dispatch): invoke it.
7617
7618 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7619
7620         * iterators.C (operator++, ParPosition): reintroduce some
7621         const_cast for the benefit of older compilers.
7622
7623 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7624
7625         * text3.C (dispatch): do not modify clipboard when doing
7626         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7627         LFUN_DELETE_SKIP on a selection selection
7628
7629 2003-06-16  André Pönitz  <poenitz@gmx.net>
7630
7631         * BufferView.C:
7632         * buffer.C:
7633         * buffer.h:
7634         * paragraph.C:
7635         * tabular.[Ch]: IU of clone() and getLabelList();
7636
7637 2003-06-13  André Pönitz  <poenitz@gmx.net>
7638
7639         * tabular.h: compactification
7640
7641 2003-06-12  André Pönitz  <poenitz@gmx.net>
7642
7643         * tabular.C:
7644         * tabular.h:
7645         * tabular_funcs.h: some renaming plus whitespace
7646
7647 2003-06-12  André Pönitz  <poenitz@gmx.net>
7648
7649         * BufferView.C:
7650         * BufferView_pimpl.C:
7651         * CutAndPaste.C:
7652         * buffer.C:
7653         * iterators.[Ch]:
7654         * lyxfunc.C:
7655         * text.C:
7656         * toc.C: Return a Paragraph & for ParIterator::operator*()
7657
7658 2003-06-11  John Levon  <levon@movementarian.org>
7659
7660         * lyx_main.C:
7661         * ToolbarBackend.h:
7662         * ToolbarBackend.C: add "Toolbars" section and
7663         put the flags there
7664
7665 2003-06-10  Angus Leeming  <leeming@lyx.org>
7666
7667         * lfuns.h:
7668         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7669
7670         * lyxfunc.C (dispatch): invoke it.
7671
7672 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7673
7674         * main.C: protect <ios> with HAVE_IOS
7675         (main): protect sync_with_stdio with HAVE_IOS
7676
7677 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
7678
7679         * text2.C (cutSelection): adjust
7680         (pasteSelection): adjust
7681
7682         * messages.C: handle get of empty string
7683
7684         * main.C (main): use sync_with_stdio(false)
7685
7686         * lyxfunc.C (dispatch): adjust
7687
7688         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7689         (WriteAs): remove unneeded BufferView arg.
7690
7691         * bufferparams.h: use correct types on papersize, papersize2 and
7692         paperpackage.
7693
7694         * bufferparams.C (readToken): adjust for type
7695         (writeLaTeX): add missing cases to switch.
7696
7697         * bufferlist.C (quitWriteBuffer): adjust
7698         (close): adjust
7699
7700         * buffer.C (asciiParagraph): remove some commented code.
7701
7702         * CutAndPaste.C: remove current_view extern variable.
7703         (cutSelection): add BufferParams arg.
7704         (eraseSelection): add BufferParams arg.
7705         (pasteSelection): add Buffer const & arg
7706
7707 2003-06-07  John Levon  <levon@movementarian.org>
7708
7709         * buffer.C:
7710         * paragraph_funcs.C:
7711         * paragraph_pimpl.C:
7712         * text.C:
7713         * text2.C:
7714         * paragraph.h:
7715         * paragraph.C: allow InsetERT to freely space lines,
7716         and some consolidation of code
7717
7718 2003-06-06  José Matos  <jamatos@fep.up.pt>
7719
7720         * buffer.C (makeDocBookFile): fix bug #821
7721
7722 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
7723
7724         * BufferView_pimpl.C (dispatch): use Dialogs::visible
7725
7726 2003-06-04  Angus Leeming  <leeming@lyx.org>
7727
7728         * buffer.C: bump format to 224.
7729
7730 2003-06-05  André Pönitz  <poenitz@gmx.net>
7731
7732         * text2.C (redoParagraphs): remove two const_cast<>
7733
7734 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
7735
7736         * ParagraphList.h: remove last remnants of NO_STD_LIST
7737
7738 2003-06-03  Angus Leeming  <leeming@lyx.org>
7739
7740         * factory.C (createInset): small change to the way InsetExternal's params
7741         are set.
7742
7743 2003-06-04  André Pönitz  <poenitz@gmx.net>
7744
7745         * buffer.h: use Undo directly instead of shared_ptr<Undo>
7746
7747         * paragraph_pimpl.h:
7748         * paragraph.[Ch]: some Inset -> UpdatableInset changes
7749
7750         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7751
7752         * undo_funcs.C: make some simple cases of undo work again
7753
7754 2003-06-03  John Levon  <levon@movementarian.org>
7755
7756         * ispell.C: HPUX doesn't have sys/select.h
7757         (from Albert Chin)
7758
7759 2003-06-03  John Levon  <levon@movementarian.org>
7760
7761         * CutAndPaste.C: update tabular and include inset
7762         buffer references
7763
7764         * buffer.h:
7765         * paragraph.h:
7766         * paragraph.C: remove owningBuffer(), don't pass Buffer
7767         to clone()
7768
7769         * factory.C: insetGraphicsParams changed
7770
7771 2003-06-02  John Levon  <levon@movementarian.org>
7772
7773         * LyXAction.C:
7774         * factory.C:
7775         * lfuns.h:
7776         * lyxfunc.C:
7777         * text3.C: remove insetparent
7778
7779 2003-06-02  John Levon  <levon@movementarian.org>
7780
7781         * buffer.h:
7782         * buffer.C: fix inset_iterator.end(), move out of line
7783         (bug 1149)
7784
7785 2003-06-01  John Levon  <levon@movementarian.org>
7786
7787         * text3.C: use a proper cut/paste when doing inset
7788         insert (from Jürgen Spitzmüller)
7789
7790 2003-06-01  John Levon  <levon@movementarian.org>
7791
7792         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7793
7794 2003-05-30  André Pönitz  <poenitz@gmx.net>
7795
7796         * rowpainter.C: unify second drawing phase
7797
7798 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7799
7800         * trans_mgr.C: remove one case of current_view
7801
7802         * text2.C (cursorBottom): delete NO_STD_LIST stuff
7803
7804         * paragraph_funcs.h: remove paragraph.h include
7805
7806         * paragraph.h: delete NO_STD_LIST stuff
7807
7808         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7809
7810         * buffer.h: remove paragraph.h include
7811
7812         * ParagraphList.C: delete file
7813
7814         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7815
7816         * toc.C (getTocList): adjust
7817
7818         * paragraph_pimpl.C (validate): adjust
7819
7820         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7821
7822         * paragraph.C (Paragraph): adjust
7823         (getPositionOfInset): use const_iterator, adjust
7824         (bibitem): use const_iterator, adjust
7825         (setInsetOwner): adjust
7826
7827         * iterators.C (operator++): adjust
7828
7829         * InsetList.[Ch]: Replace selfmade iterator with standard
7830         vector::iterator also introduce const_iterator. Remove getPos,
7831         getInset and setInset from InsetTable. Adjust accordingly.
7832
7833         * BufferView.C (lockInset): adjust
7834         (ChangeInsets): adjust
7835
7836         * tabular.[Ch]: delete commented same_id functions
7837
7838 2003-05-28  John Levon  <levon@movementarian.org>
7839
7840         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7841
7842 2003-05-28  André Pönitz  <poenitz@gmx.net>
7843
7844         * metricsinfo.[Ch]: remove 'fullredraw' member
7845
7846 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
7847
7848         * lyxtextclass.C (operator): remove caching.
7849
7850 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7851
7852         * text3.C: adjust
7853
7854         * text2.C (cursorBottom): adjust
7855         (setCounter): use ParagraphList::find, adjust
7856
7857         * text.C (workWidth): use ParagraphList::find, adjust
7858
7859         * lyxcursor.C (LyXCursor): adjust
7860
7861         * buffer.C (inset_iterator): adjust
7862
7863         * ParagraphList.h: make iterator(value_type) private, make
7864         ParagraphList a friend of iterator.
7865
7866         * ParagraphList.C (find): new function
7867
7868         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7869
7870 2003-05-27  André Pönitz  <poenitz@gmx.net>
7871
7872         * dimension.[Ch]: a -> asc, d -> des, w -> wid
7873
7874 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7875
7876         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7877
7878 2003-05-26  John Levon  <levon@movementarian.org>
7879
7880         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7881
7882 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7883
7884         * remove same_id from function signatures, adjust.
7885
7886 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7887
7888         * undo_funcs.C (createUndo): use the id functions directly, adjust.
7889
7890         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7891
7892         * paragraph.C (Paragraph): get rid of same_ids parameter
7893
7894         * ParagraphList.C (insert): adjust
7895         (push_back): adjust
7896
7897 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7898
7899         * paragraph_funcs.C (breakParagraph): adjust
7900         (breakParagraphConservative): adjust
7901
7902         * buffer.C (readParagraph): adjust
7903
7904         * ParagraphList.C (insert): take a reference instead of a pointer
7905         (insert): adjust
7906
7907         * paragraph.[Ch] (id): new function
7908
7909         * bufferlist.C (newFile): adjust
7910
7911         * ParagraphList.C (ParagraphList): adjust
7912         (assign): adjust
7913         (push_back): take a reference instead of a pointer.
7914
7915         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7916
7917         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7918         instead.
7919
7920         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7921         set else use old code.
7922
7923         * ParagraphList.C: remove all NO_NEXT code and only compile this
7924         code of NO_STD_LIST is set.
7925
7926 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7927
7928         * BufferView_pimpl.C:
7929         * TextCache.C:
7930         * TextCache.h:
7931         * bufferlist.C:
7932         * errorlist.h:
7933         * format.C:
7934         * format.h:
7935         * graph.C:
7936         * lyxfunc.C:
7937         * lyxrc.C:
7938         * graphics/GraphicsConverter.C:
7939         * graphics/PreviewLoader.C: header adjustment
7940
7941 2003-05-23  Angus Leeming  <leeming@lyx.org>
7942
7943         * LaTeXFeatures.[Ch] (useBabel): new method.
7944         * bufferparams.C (writeLaTeX): use it.
7945
7946 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7947
7948         * ParagraphList.h (set): remove unused function.
7949
7950 2003-05-23  André Pönitz  <poenitz@gmx.net>
7951
7952         * BufferView.C:
7953         * BufferView_pimpl.C:
7954         * buffer.C:
7955         * buffer.h:
7956         * lyxfunc.C:
7957         * undo_funcs.C: setUndo reworked
7958
7959         * iterators.[Ch]: add access to topmost ParagraphList
7960
7961         * lyxtext.[Ch] (workWidth): add a const
7962
7963 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7964
7965         * texrow.[Ch] (increasePos): remove function
7966         * exporter.C (export): removed unused var and outdated comment
7967
7968 2003-05-23  Angus Leeming  <leeming@lyx.org>
7969
7970         * latexrunparams.h: rename fragile as moving_arg.
7971         * paragraph.C (simpleTeXOnePar): ditto.
7972         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7973
7974 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7975
7976         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7977         (createUndo): ditto
7978         (textUndoOrRedo): comment out a currently unused var.
7979
7980         * paragraph.h (NO_NEXT): enable NO_NEXT
7981
7982         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7983
7984         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7985
7986         * exporter.C (Export): adjust for removeAutoInsets removal.
7987
7988         * buffer.C (runChktex): adjust for removeAutoInsets removal.
7989
7990         * LyXAction.C (init): remove LFUN_REMOVEERRORS
7991
7992         * BufferView.[Ch] (removeAutoInsets): delete function
7993
7994 2003-05-22  Angus Leeming  <leeming@lyx.org>
7995
7996         * latexrunparams.h: add a free_spacing variable.
7997
7998         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7999         to pass moving_arg, as the data is stored in runparams.fragile.
8000
8001         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
8002         to Inset::latexOptional or to simpleTeXOnePar.
8003
8004         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
8005         free_spacing arg to Inset::latexOptional.
8006
8007         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
8008         free_spacing arg.
8009
8010 2003-05-22  Angus Leeming  <leeming@lyx.org>
8011
8012         * latexrunparams.h: add fragile and use_babel variables.
8013
8014         * bufferparams.[Ch] (writeLaTeX): return use_babel.
8015         * buffer.C (makeLaTeXFile): store this returned value in
8016         runparams.use_babel, thus passing it to the inset::latex methods.
8017
8018         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
8019         simpleTeXSpecialChars as it is now stored in runparams.fragile.
8020
8021         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
8022         longer has a fragile arg, as it is stored in runparams.fragile.
8023
8024         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
8025         moving_arg parameter as the data is stored in runparams.fragile.
8026
8027         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
8028         a fragile parameter as the data is stored in runparams.fragile.
8029
8030 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8031
8032         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
8033
8034 2003-05-22  Angus Leeming  <leeming@lyx.org>
8035
8036         * latexrunparams.h: add a 'bool nice' which defaults to false.
8037
8038         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
8039         now encapsulated within runparams.
8040
8041         * bufferlist.C (updateIncludedTeXfiles):
8042         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
8043
8044 2003-05-22  Angus Leeming  <leeming@lyx.org>
8045
8046         * latexrunparams.h: new file containing struct LatexRunParams.
8047         * Makefile.am: add new file.
8048
8049         * LaTeX.[Ch] (c-tor, run):
8050         * buffer.[Ch] (makeLaTeXFile):
8051         * bufferlist.[Ch] (updateIncludedTeXfiles):
8052         * converter.C (convert, scanLog):
8053         * converter.[Ch] (runLaTeX):
8054         * exporter.C (Export):
8055         * paragraph.[Ch] (simpleTeXOnePar):
8056         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
8057         * paragraph_funcs.[Ch] (latexParagraphs):
8058         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
8059         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
8060         pass around a LatexRunParams parameter.
8061
8062 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8063
8064         * paragraph.[Ch]: remove unused constructor
8065
8066         * ParagraphList.C (erase): new function, taking two iterators
8067
8068 2003-05-22  André Pönitz  <poenitz@gmx.net>
8069
8070         * undo_funcs.C: remove duplicated code
8071
8072         * iterator.[Ch]: operator=
8073
8074 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8075
8076         * tabular.C (SetMultiColumn): ws changes
8077
8078         * rowpainter.C (paintFirst): get rid of a ->previous
8079
8080         * lyx_cb.C (getPossibleLabel): parlist simplification
8081
8082         * BufferView.C (ChangeInsets): simplify slightly.
8083
8084 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
8085
8086         * LyXAction.C: new lfun space-insert, kill protected-space-insert
8087         * lfuns.h: new LFUN_SPACE
8088         * lyxfunc.C: protected space has a new lfun
8089         * paragraph_funcs.C: read new space insets
8090         * text3.C:
8091         * factory.C: handle new space insets
8092
8093 2003-05-22  André Pönitz  <poenitz@gmx.net>
8094
8095         * BufferView.C:
8096         * BufferView_pimpl.C:
8097         * buffer.[Ch]:
8098         * lyxfunc.C:
8099         * undo_funcs.C: return a ParIterator from getParFromID.
8100
8101         * iterators.[Ch]: add two const's
8102
8103 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
8104
8105         * toc.C (getTocList): adjust
8106
8107         * iterators.[Ch]: rework for parlist
8108
8109         * buffer.C (par_iterator_begin): adjust
8110         (par_iterator_end): adjust
8111
8112         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
8113
8114         * BufferView.C (removeAutoInsets): adjust
8115         (ChangeInsets): adjust
8116
8117 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
8118
8119         * text.C (top_y): fix bug 1110
8120
8121 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
8122
8123         * errorlist.[Ch]: added
8124         * buffer.C:
8125         * BufferView.[Ch]:
8126         * BufferView_pimpl.C:
8127         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
8128         instead
8129
8130 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8131
8132         * Makefile.am: ensure that lyx is relinked upon changes to the
8133         various "convenience" libs.
8134
8135 2003-05-20  Angus Leeming  <leeming@lyx.org>
8136
8137         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
8138         files are compiled in alphabetical order again.
8139
8140         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
8141
8142 2003-05-19  Angus Leeming  <leeming@lyx.org>
8143
8144         * gettext.[Ch]: remove "char const * _(char const *)".
8145
8146 2003-05-19  André Pönitz  <poenitz@gmx.net>
8147
8148         * dimension.[Ch]: promote from mathed/dimension.[Ch]
8149
8150         * Makefile.am:
8151         * BufferView.C:
8152         * DepTable.h:
8153         * LaTeXFeatures.C:
8154         * buffer.C:
8155         * lyxfont.C:
8156         * lyxlex.h:
8157         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
8158
8159 2003-05-19  André Pönitz  <poenitz@gmx.net>
8160
8161         * buffer.C:
8162         * lyxlayout.[Ch]:
8163         * lyxtextclass.[Ch]:
8164         * paragraph.C:
8165         * paragraph_funcs.[Ch]:
8166         * text2.C:
8167         * text3.C: more insetenv work
8168
8169 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
8170
8171         * ParagraphParameters.C (params2string): small bug fixed
8172
8173 2003-05-16  André Pönitz  <poenitz@gmx.net>
8174
8175         * debug.C:
8176         * bufferview_funcs.C: patch from Kornel Benko to prevent
8177           crash when _(...) is called twice in a statement
8178
8179 2003-05-16  André Pönitz  <poenitz@gmx.net>
8180
8181         * BufferView.C:
8182         * lyxfunc.C:
8183         * text.C:
8184         * text2.C:
8185         * text3.C:
8186         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
8187
8188 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
8189
8190         * lyx_main.C (init): remove spurious static_cast
8191
8192 2003-05-14  André Pönitz  <poenitz@gmx.net>
8193
8194         * BufferView.C: fix format string
8195
8196 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
8197
8198         * BufferView.[Ch] (insertErrors): removed
8199         * BufferView.[Ch] (showErrorList): added
8200         * buffer.C (runChkTeX):
8201         * converter.C (scanLog): call showErrorList instead of inserterrors
8202
8203 2003-05-13  André Pönitz  <poenitz@gmx.net>
8204
8205         * BufferView_pimpl.C:
8206         * buffer.C:
8207         * bufferview_func.C:
8208         * MenuBackend.C:
8209         * lyxfunc.C:
8210         * lyxrc.C:
8211         * tex-accent.C:
8212         * text3.C:
8213         * toc.C:
8214         * tabular_funcs.h: tostr() from its own header
8215
8216         * ParagraphParameters.C:
8217         * ToolbarBackend.C:
8218         * bufferparams.C:
8219         * format.C:
8220         * lyxlex_pimpl.C:
8221         * text3.C: STRCONV()
8222
8223 2003-05-12  André Pönitz  <poenitz@gmx.net>
8224
8225         * BufferView.C:
8226         * BufferView_pimpl.C:
8227         * CutAndPaste.C:
8228         * LaTeX.C:
8229         * LaTeXFeatures.C:
8230         * ParagraphParameters.C:
8231         * buffer.C:
8232         * bufferlist.C:
8233         * bufferparams.C:
8234         * bufferview_funcs.C:
8235         * converter.C:
8236         * counters.C:
8237         * debug.C:
8238         * exporter.C:
8239         * format.C:
8240         * importer.C:
8241         * lyx_cb.C:
8242         * lyx_main.C:
8243         * lyxfont.C:
8244         * lyxfunc.C:
8245         * lyxvc.C:
8246         * paragraph.C:
8247         * paragraph_funcs.C:
8248         * tabular.C:
8249         * tabular_funcs.C:
8250         * text2.C:
8251         * text3.C:  boost::format -> bformat  all over the place
8252
8253
8254 2003-05-09  André Pönitz  <poenitz@gmx.net>
8255
8256         * LColor.[Ch]: Pimpl the #include <map> away
8257
8258 2003-05-09  John Levon  <levon@movementarian.org>
8259
8260         * bufferlist.C: never remove emergency saves
8261
8262 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8263
8264         * Makefile.am: better lib building
8265
8266 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
8267
8268         * texrow.[Ch]: remove dependency on Paragraph and just store a id
8269         instead.
8270         * paragraph_pimpl.C (simpleTeXBlanks): adjust
8271         (simpleTeXSpecialChars): adjust
8272         (simpleTeXSpecialChars): adjust
8273         * paragraph.C (simpleTeXOnePar): adjust
8274         * buffer.C (makeLaTeXFile): adjust
8275
8276         * Makefile.am (BOOST_LIBS): allow boost as system lib.
8277
8278         * text2.C (changeDepth): parlist cleanup
8279         (getColumnNearX): ditto
8280
8281         * rowpainter.C (getLabelFont): parlist cleanup
8282
8283         * bufferlist.C (newFile): parlist cleanup
8284
8285         * CutAndPaste.C (eraseSelection): parlist cleanup
8286
8287         * BufferView_pimpl.C (trackChanges): parlist cleanup
8288         (dispatch): ditto
8289
8290         * BufferView.C (lockInset): parlist cleanup.
8291         (ChangeInsets): ditto
8292
8293 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8294
8295         * CutAndPaste.h: Update file header.
8296
8297         * CutAndPaste.C: Update file header.
8298         Store the parts cut out of the Document in a limited_stack.
8299         (copySelection): adjust
8300         (pasteSelection): new function, takes the index in the limited stack.
8301         (nrOfParagraphs): adjust
8302         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
8303         simplify error inset insertion.
8304         (checkPastePossible): adjust
8305
8306 2003-05-06  John Levon  <levon@movementarian.org>
8307
8308         * text2.C: don't cast wrap inset to float
8309
8310 2003-05-05  André Pönitz  <poenitz@gmx.net>
8311
8312         * iterator.C:
8313         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
8314
8315         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
8316           few naked Paragraph *.
8317
8318 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
8319
8320         * bufferparams.C: Output warning if a document with missing
8321         TeX document class is loaded
8322         * exporter.C: Disable TeX exports if the document class is missing
8323         * lyxtextclass.C:
8324         * lyxtextclass.h:
8325         * lyxtextclasslist.C: Handle new textclass.lst format; new method
8326         isTeXClassAvailable()
8327
8328 2003-05-03  John Levon  <levon@movementarian.org>
8329
8330         * BufferView.h:
8331         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
8332         explicit cursor show/hide
8333
8334         * BufferView_pimpl.h:
8335         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
8336         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
8337
8338         * lyxfunc.C: hide cursor before dispatching.
8339
8340         * lyx_cb.C:
8341         * lyxfind.C:
8342         * text.C:
8343         * text3.C: remove explicit cursor hides
8344
8345 2003-05-02  André Pönitz  <poenitz@gmx.net>
8346
8347         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
8348
8349         * undo_funcs.C:
8350         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
8351           linked lists
8352
8353         * text2.C: tiny whitespace
8354
8355 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8356
8357         * undo_funcs.C: almost only ws changes.
8358
8359         * ParagraphList.C (splice): just return if pl is empty.
8360
8361 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8362
8363         * ParagraphList.C (splice): new function.
8364
8365         * CutAndPaste.C (pasteSelection): use it
8366
8367 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8368
8369         * CutAndPaste.C (pasteSelection): remove the last next and
8370         previous from this file.
8371
8372 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8373
8374         * CutAndPaste.C (pasteSelection): more clean up, user proper
8375         ParagraphList functions for pasteing.
8376
8377         * ParagraphList.C (insert): new function, three arg insert
8378
8379 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8380
8381         * ParagraphList.C (insert): new function, three arg insert
8382
8383         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
8384         not on paragraphs.
8385
8386 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8387
8388         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
8389
8390 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8391
8392         * CutAndPaste.C (pasteSelection): remove some unneeded code.
8393
8394 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8395
8396         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
8397         (copySelection): clean up a bit.
8398         (pasteSelection): use make_pair
8399
8400         * ParagraphList.C (ParagraphList): implement copy constructor
8401         (operator=): implement, base on copy constructor.
8402         (assign): new func
8403
8404         * paragraph.C (erase): return a bool
8405
8406         * paragraph_pimpl.C (erasePos): remove function, move contents...
8407         (erase): ... here. Return a bool.
8408         (erase): call erase instead of erasePos.
8409
8410 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
8411
8412         * ParagraphList.h: define PitPosPair
8413         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
8414         ParagraphList, fix a bug on pasting multiple pars
8415         * text2.C: change interface to C&P
8416
8417 2003-04-30  André Pönitz  <poenitz@gmx.net>
8418
8419         * undo_func.C: revert part of yesterday's patch 2
8420
8421 2003-04-30  John Levon  <levon@movementarian.org>
8422
8423         * LColor.C: s/tabular/table/
8424
8425 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8426
8427         * text3.C (dispatch): do not convert iterator -> pointer
8428         * undo_funcs.C (setCursorParUndo): ditto
8429         * text_funcs.C (transposeChars): ditto
8430
8431         * text2.C (setLayout): ws changes only
8432
8433         * text.C (breakParagraph): do not convert iterator -> pointer
8434         (insertChar): ditto
8435         (acceptChange): ditto
8436         (rejectChange): ditto
8437         (changeCase): ditto
8438         (Delete): ditto
8439         (backspace): ditto
8440
8441         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
8442         pointer
8443
8444 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8445
8446         * text3.C (gotoInset): YABG (yet another bad getChar)
8447
8448 2003-04-29  André Pönitz  <poenitz@gmx.net>
8449
8450         * paragraph.h: make operator= private unimplemented as long as
8451           it is unusable
8452
8453         * ParagraphList.C: whitespace
8454
8455         * paragraph.[Ch]:
8456         * paragraph_pimpl.[Ch]:
8457         * paragraph_funcs.C:
8458         * CutAndPaste.C:
8459         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
8460
8461         * text2.C:
8462           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8463
8464 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8465
8466         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8467         * paragraph.[Ch] (erase):
8468         * paragraph_pimpl.[Ch] (erase): change return type and value
8469         * text2.C (cutSelection): some rework
8470
8471 2003-04-28  John Levon  <levon@movementarian.org>
8472
8473         * bufferlist.C: changes for unsaved changes dialog
8474
8475 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8476
8477         * bufferlist.C (newFile): set language (messages_) for new
8478         documents also.
8479
8480         * buffer.C (readFile): ws changes only.
8481
8482 2003-04-28  André Pönitz  <poenitz@gmx.net>
8483
8484         * undo_funcs.C:
8485         * lyxfunc.C:
8486         * buffer.[Ch]:
8487         * BufferView_pimpl.C:
8488         * BufferView.C: getParFromID related ParagraphList::iterator changes
8489
8490 2003-04-28  André Pönitz  <poenitz@gmx.net>
8491
8492         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8493           Changes
8494
8495 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8496
8497         * messages.C: remove one more localedir class variable.
8498
8499 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8500
8501         * messages.C (getLocaleDir): singleton generation function
8502         (Pimpl): use it.
8503         (Messages): add a default constructor.
8504
8505         * main.C (main): do not setup localedir here, do not call
8506         gettext_init.
8507
8508         * gettext.C (_): use it.
8509         (gettext_init): delete funciton
8510
8511 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8512
8513         * gettext.C (getLyXMessages): new singleton generating function.
8514
8515         * buffer.C (updateDocLang): adjust
8516
8517         * Makefile.am (messages.o): add target
8518         (main.o): remove target
8519
8520 2003-04-27  John Levon  <levon@movementarian.org>
8521
8522         * bufferlist.C:
8523         * lyx_cb.C:
8524         * lyxfunc.C:
8525         * lyxvc.C: specify cancel button in Alert::prompt
8526
8527 2003-04-26  John Levon  <levon@movementarian.org>
8528
8529         * text3.C:
8530         * lyxfunc.C:
8531         * lfuns.h:
8532         * LyXAction.C: add LFUN_INSET_SETTINGS
8533
8534         * lyxfunc.C: don't enable tabular-feature when there's
8535         just any locking inset
8536
8537 2003-04-26  John Levon  <levon@movementarian.org>
8538
8539         * bufferlist.C: re-add Cancel to buffer close question
8540
8541         * lyxfunc.C: fix import UI a bit
8542
8543 2003-04-25  John Levon  <levon@movementarian.org>
8544
8545         * gettext.C: remove the broken asserts for now
8546
8547 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8548
8549         * messages.C: make case where setlocale cannot comply work better.
8550
8551         * buffer.C (updateDocLang): new function
8552         (changeLanguage): use it
8553         (readFile): use it
8554
8555         * text2.C (setCounter): use B_ a bit.
8556
8557         * lyxlayout.C (Read): be sure to trim the label strings.
8558
8559         * messages.C (Messages): fix typo in comment
8560
8561         * buffer.C (readFile): set message_ after file is loaded.
8562         (makeDocBookFile): remove double return
8563         (changeLanguage): reset message_ upon language change.
8564         (B_): new func, use this to get translated buffer strings.
8565
8566         * main.C: add myself and Jean Marc as authors.
8567
8568 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8569
8570         * messages.[hC]: pimplify Messages, and three different pimpls to be
8571         used in different circumstances.
8572
8573         * gettext.[Ch]: change for use with new message code.
8574
8575 2003-04-24 André Pönitz <poenitz@gmx.net>
8576
8577         * factory.C: support for eqref
8578
8579 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
8580
8581         * messages.[Ch]: add missing char
8582
8583         * Makefile.am (lyx_SOURCES): add messages.[Ch]
8584
8585         * messages.[Ch]: New files
8586
8587 2003-04-18  John Levon  <levon@movementarian.org>
8588
8589         * BufferView.h:
8590         * BufferView.C:
8591         * BufferView_pimpl.C:
8592         * lfuns.h:
8593         * LyXAction.C:
8594         * lyxtext.h:
8595         * text2.C: remove layout-copy/paste (bug 778)
8596
8597 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8598
8599         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8600
8601 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8602
8603         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8604         if they succeed. Act accordingly.
8605
8606 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8607
8608         * text2.C (setCharFont): adjust
8609         (setCounter): adjust
8610         (insertStringAsLines): adjust
8611
8612         * text.C (leftMargin): adjust
8613         (setHeightOfRow): adjust
8614
8615         * rowpainter.C (paintFirst): adjust
8616         (paintLast): adjust
8617
8618         * paragraph_funcs.C (depthHook): ParagraphList::iterators
8619         (outerHook): ditto
8620         (isFirstInSequence): ditto
8621         (getEndLabel): ditto
8622         (outerFont): adjust
8623
8624         * paragraph.C (getParLanguage): comment out some hard stuff.
8625
8626         * buffer.C (insertStringAsLines): take a ParagraphList as arg
8627         (sgmlError): ditto
8628         (simpleDocBookOnePar): ditto
8629         (makeDocBookFile): use ParagraphList::iterator
8630
8631         * CutAndPaste.C (pasteSelection): adjust
8632
8633 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8634
8635         * text2.C (getFont): adjust
8636         (getLayoutFont): adjust
8637         (getLabelFont): adjust
8638
8639         * paragraph_funcs.C (TeXOnePar): adjust
8640
8641         * buffer.C (simpleLinuxDocOnePar): adjust
8642         (simpleDocBookOnePar): adjust
8643
8644         * CutAndPaste.C (pasteSelection): adjust
8645
8646         * BufferView.C (getEncoding): adjust
8647
8648         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8649
8650 2003-04-16  John Levon  <levon@movementarian.org>
8651
8652         * lyxfind.C: use parlist stuff for search/changes
8653
8654 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8655
8656         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8657
8658         * text2.C (deleteEmptyParagraphMechanism): adjust
8659
8660         * text2.[Ch] (ownerParagraph): delete func (both of them
8661
8662 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8663
8664         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8665
8666 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8667
8668         * ParagraphList.C: prepare for NO_NEXT
8669
8670 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8671
8672         * text2.C (getFont): adjust
8673         (getLayoutFont): adjust
8674         (getLabelFont): adjust
8675
8676         * paragraph.C (getFont): adjust
8677         (getLabelFont): adjust
8678         (getLayoutFont): adjust
8679
8680         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8681
8682 2003-04-15  John Levon  <levon@movementarian.org>
8683
8684         From Angus Leeming
8685
8686         * lyx_main.C: handle Include in .ui files
8687
8688 2003-04-15  John Levon  <levon@movementarian.org>
8689
8690         * MenuBackend.C: make the doc files length shorter
8691
8692         * ToolbarBackend.h:
8693         * ToolbarBackend.C: handle toolbar placement flags,
8694         Minibuffer
8695
8696 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8697
8698         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8699         adjust
8700
8701         * paragraph_funcs.C (TeXOnePar): adjust
8702
8703         * paragraph.C (getLabelFont): add outerfont arg, adjust
8704         (getLayoutFont): ditto
8705         (simpleTeXOnePar): adjust
8706
8707         * paragraph_pimpl.C (realizeFont): delete func
8708
8709 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
8710
8711         * text2.C (beforeFullRowInset): added a bad getchar check, removed
8712         row argument, constify cur argument.
8713
8714 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8715
8716         * text2.C (getFont): adjust
8717         (getLayoutFont): adjust
8718         (getLabelFont): adjust
8719
8720         * paragraph_funcs.C (TeXOnePar): adjust
8721         (outerFont): new func...
8722         (realizeFont): ...moved out from here, changed this to facilitate
8723         transition
8724
8725         * paragraph.C (getFont): take outerfont as arg, adjust
8726         (simpleTeXOnePar): add outerfont arg, adjust
8727
8728         * buffer.C (simpleLinuxDocOnePar): adjust
8729         (simpleDocBookOnePar): adjust
8730
8731         * CutAndPaste.C (pasteSelection): adjust
8732
8733         * BufferView.C (getEncoding): adjust
8734
8735 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8736
8737         * text2.C (setCharFont): adjust
8738         (setCounter): adjust
8739
8740         * text.C (leftMargin): adjust
8741         (setHeightOfRow): adjust
8742
8743         * rowpainter.C (paintFirst): adjust
8744         (paintLast): adjust
8745
8746         * paragraph_pimpl.C (realizeFont): adjust
8747
8748         * paragraph.C (isFirstInSequence): move from here...
8749         * paragraph_funcs.C (isFirstInSequence): ...to here
8750
8751         * paragraph.C (outerHook): move from here...
8752         * paragraph_funcs.C (outerHook): ...to here
8753
8754         * paragraph.C (depthHook): move from here...
8755         * paragraph_funcs.C (depthHook): ...to here
8756
8757         * paragraph.C (getEndLabel): move from here...
8758         * paragraph_funcs.C (getEndLabel): ...to here
8759
8760         * text2.C (realizeFont): move from here...
8761         * paragraph_funcs.C (realizeFont): ...to here
8762
8763 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8764
8765         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8766
8767 2003-04-14  Angus Leeming  <leeming@lyx.org>
8768
8769         * LColor.[Ch]: scrap LColor mathcursor.
8770
8771 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8772
8773         * lyxlex.[Ch] (text): delete function
8774         * trans.C (Load): adjust
8775         * paragraph_funcs.C (readParToken): adjust
8776
8777 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8778
8779         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8780         vector<char> instead of a char[].
8781
8782         * lyxlex_pimpl.C (getString): adjust
8783         (next): adjust
8784         (lex): use getString
8785         (eatLine): adjust
8786         (nextToken): adjust
8787
8788         * lyxlex.C (text): use pimpl_->getString()
8789         (getBool): ditto
8790         (findToken): ditto
8791
8792 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8793
8794         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8795         (makeFontEntriesLayoutSpecific): temp var for par.size()
8796         (setLayout): temp var for ownerParagraphs().end()
8797         (fullRebreak): temp var for rows().end()
8798         (selectionAsString): temp var for boost::next(startpit), realize
8799         that the while really is a regular for loop.
8800         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8801         setCursor in one place.
8802         (setParagraph): temp vr for ownerParagraphs().end()
8803         (updateCounters): make the while loop a for loop
8804         (cutSelection): temp var for ownerParagraphs().end()
8805         (updateInset): make the do {} while() a regular for loop
8806         (getCursorX): use temp vars
8807         (setCurrentFont): use temp vars
8808         (getColumnNearX): use temp vars
8809
8810 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8811
8812         * text.C (transformChar): use temp var for getChar
8813         (computeBidiTables): use temp var for row->par()
8814         (fill): move temp vars for row->par() and pit->layout() earlier in
8815         the function.
8816         (labelFill): use temp var for row->par()
8817         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8818         asc and desc, realize that pit never changes and that firstpit is
8819         just a duplicate and not needed. Exchange rit->par() with pit in a
8820         lot of places.
8821         (breakAgain): use a temp var for boost::next(rit)
8822         (breakAgainOneRow): ditto
8823         (breakParagraph): use a temp var for rows().begin()
8824         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8825         (cursorRightOneWord): use temp var for cursor.par() and
8826         cursor.pos(), remove usage of tmpcursor.
8827         (cursorLeftOneWord): use temp var for cursor.par() and
8828         cursor.pos() only set cur at end of function.
8829
8830 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8831
8832         * text.C, text2.C: exchange all usage of Paragraph::next with
8833         boost::next(ParagraphList::iterator)
8834
8835         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8836
8837         * text2.C (cursorTop): simplify implementation
8838         (cursorBottom): ditto
8839         (setParagraph): use ParagraphList::iterator
8840         (setCurrentFont): adjust
8841         (getColumnNearX): adjust
8842         (cursorRight): adjust
8843         (cursorLeft): remove usage of Paragraph::previous
8844         (cursorUpParagraph): ditto
8845         (deleteEmptyParagraphMechanism): slight cleanup
8846
8847         * text.C (isBoundary): take a Paragraph const & instead of a
8848         pointer as arg.
8849         (addressBreakPoint): ditto
8850         (leftMargin): remove usage of Paragraph::previous.
8851         (setHeightOfRow): ditto
8852         (cursorLeftOneWord): ditto
8853         (selectNextWordToSpellcheck): ditto
8854         (Delete): ditto
8855         (backspace): ditto
8856         (breakParagraph): remove one usage of Paragraph::next
8857         (redoParagraph): ditto
8858         (acceptChange): ditto
8859         (insertChar): adjust
8860         (rowBreakPoint): adjust
8861
8862         * bufferview_funcs.C (toggleAndShow): adjust
8863
8864 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
8865
8866         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8867         methods to access it.
8868         * lyxtext.h:
8869         * text.C: Added updateRowPositions to compute all row positions.
8870         Make top_y and getRowNearY() to use the cached y position
8871
8872 2003-04-11  John Levon  <levon@movementarian.org>
8873
8874         * text.C (rowBreakPoint): reintroduce the labelEnd
8875         checks, code copied from the row fill stuff. Deep voodoo.
8876
8877         * text.C (fill): add a comment and debugging for the
8878         next poor soul.
8879
8880 2003-04-11  John Levon  <levon@movementarian.org>
8881
8882         * text.C: make sure fullrow insets get wrapped to the next line,
8883         even when they're in a manual label
8884
8885 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8886
8887         * text2.C (insertParagraph): make it take ParagraphList::iterator
8888         as arg.
8889         (setLayout): make it return ParagraphList::iterator
8890         (redoParagraphs): ditto
8891         (setCounter): ditto
8892         (checkParagraph): ditto
8893
8894         * text.C (getRow): make getrow take ParagraphList::iterator as arg
8895
8896         * text2.C: adjust several funcs.
8897         (realizeFont): take a ParagraphList::iterator as arg.
8898         (getLayoutFont): ditto
8899         (getLabelFont): ditto
8900         (setCharFont): ditto
8901
8902         * text.C: adjust several funcs.
8903
8904 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8905
8906         * text.C (selectNextWordToSpellcheck): don't accidentally
8907         skip insets
8908
8909 2003-04-10  John Levon  <levon@movementarian.org>
8910
8911         * ToolbarBackend.C (getIcon): special handling for
8912         LFUN_MATH_DELIM
8913
8914 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8915
8916         * text2.C (cursorRight): a getChar assert fixed
8917
8918 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8919
8920         * text2.C (getFont): change to take a ParagraphList::iterator
8921         instead of Paragraph*
8922         Adjust several functions.
8923
8924         * text.C (transformChar): change to take a ParagraphList::iterator
8925         instead of Paragraph*
8926         (singleWidth): ditto
8927         Adjust several functions.
8928
8929         * rowpainter.C: adjust several functions
8930         * rowpainter.h:store a ParagraphList::iterator and not a
8931         Paragraph&.
8932
8933
8934 2003-04-09  John Levon  <levon@movementarian.org>
8935
8936         * lyxfunc.C:
8937         * lfuns.h:
8938         * LyXAction.h:
8939         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8940         and the "help" bits as well
8941
8942 2003-04-09  John Levon  <levon@movementarian.org>
8943
8944         * ToolbarBackend.h:
8945         * ToolbarBackend.C: allow multiple toolbars
8946
8947 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8948
8949         * undo_funcs.C (setCursorParUndo): adjust
8950
8951         * text_funcs.C (transposeChars): adjust
8952
8953         * text3.C (gotoNextInset): adjust
8954         (dispatch): adjust
8955
8956         * text2.C (setLayout): adjust
8957         (changeDepth): adjust
8958         (setFont): adjust
8959         (redoParagraphs): adjust
8960         (selectionAsString): adjust
8961         (setParagraph): adjust
8962         (insertInset): adjust
8963         (cutSelection): adjust
8964         (copySelection): adjust
8965         (pasteSelection): adjust
8966         (insertStringAsLines): adjust
8967         (updateInset): adjust
8968         (setCursor): change to take a ParagraphList::iterator parameter
8969         (setCursorIntern): change to take a ParagraphList::iterator parameter
8970         (setCurrentFont): adjust
8971         (cursorLeft): adjust
8972         (cursorRight): adjust
8973         (deleteEmptyParagraphMechanism): adjust
8974
8975         * text.C (breakParagraph): adjust
8976         (insertChar): adjust
8977         (acceptChange): adjust
8978         (rejectChange): adjust
8979         (selectNextWordToSpellcheck): adjust
8980         (changeCase): adjust
8981         (Delete): adjust
8982         (backspace): adjust
8983
8984         * lyxfind.C (SearchForward): adjust
8985         (SearchBackward): adjust
8986         (nextChange): adjust
8987
8988         * lyxcursor.C (par): adjust
8989
8990         * lyxcursor.h: store a ParagraphList::iterator instead of a
8991         Paragraph*
8992
8993         * lyx_cb.C (getPossibleLabel): adjust
8994
8995         * bufferview_funcs.C (toggleAndShow): adjust
8996
8997         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8998         (dispatch): adjust
8999
9000         * BufferView.C (removeAutoInsets): adjust
9001         (lockedInsetStoreUndo): adjust
9002
9003 2003-04-09  John Levon  <levon@movementarian.org>
9004
9005         * ToolbarBackend.C: try icon without argument
9006         if with argument fails
9007
9008 2003-04-08  John Levon  <levon@movementarian.org>
9009
9010         * ToolbarBackend.h:
9011         * ToolbarBackend.C: add getIcon(), handle tooltip,
9012         and change from "Icon" to "Item".
9013
9014 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
9015
9016         * BufferView.C (lockInset): another bad getchar crunched
9017
9018 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
9019
9020         * text2.C (changeDepth): do not setUndo on test_only (make undo work
9021         again)
9022
9023 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
9024
9025         * lyxfind.C (searchForward, searchBackwards): bug 782
9026
9027 2003-04-07  John Levon  <levon@movementarian.org>
9028
9029         * paragraph.C: remove dead comment
9030
9031         * text.C: remove troublesome depth-fiddling code
9032         in leftMargin() and rightMargin() (bug 1017)
9033
9034         * text.C: fix breaking of rows in nested lists
9035         (bug 1004)
9036
9037         * text2.C (updateCounters): fix up depth values
9038         (bug 1013)
9039
9040 2003-04-07  John Levon  <levon@movementarian.org>
9041
9042         * BufferView_pimpl.C: clear message when doc finishes resizing,
9043         and after a mouse event
9044
9045         * lyxfunc.C: clear message after exiting inset
9046
9047 2003-04-07  John Levon  <levon@movementarian.org>
9048
9049         * bufferview_funcs.C: show math status not outside
9050         status in the statusbar
9051
9052 2003-04-07  John Levon  <levon@movementarian.org>
9053
9054         * lyxfunc.C: note status changed after a depth change
9055
9056 2003-04-04  Angus Leeming  <leeming@lyx.org>
9057
9058         * LaTeX.h: move AuxInfo operator==, != out of line.
9059         Remove LaTeX virtual destructor; nothing derives from it.
9060         Move operator()() out of public area and rename it startscript().
9061         Change protected for private.
9062
9063 2003-04-04  Angus Leeming  <leeming@lyx.org>
9064
9065         * lyxfunc.C:
9066         * text2.C: remove unneeded #includes.
9067
9068 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
9069
9070         * text2.C (dEPM): fix the heigth of the next row
9071
9072 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
9073
9074         * text.C: squashed an invalid getChar requester + some ws changes
9075
9076 2003-04-03  John Levon  <levon@movementarian.org>
9077
9078         * bufferview_funcs.h:
9079         * bufferview_funcs.C:
9080         * lyxfunc.C:
9081         * lyxtext.h:
9082         * text2.C: make getStatus work for the env depth lfuns
9083
9084 2003-04-03  John Levon  <levon@movementarian.org>
9085
9086         * bufferview_funcs.h:
9087         * bufferview_funcs.C:
9088         * lyxfunc.C:
9089         * lyxtext.h:
9090         * text2.C: parlistize decDepth(), by merging it with incDepth()
9091
9092 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9093
9094         * lyxrow.h: store a ParagraphList::iterator instead of a
9095         Paragraph* and adjust other class functions to suit.
9096
9097         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
9098         above.
9099
9100 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
9101
9102         * text2.C (setCursor): do not anchor to cursor row for the time being
9103
9104 2003-04-02  John Levon  <levon@movementarian.org>
9105
9106         * LyXAction.C:
9107         * lfuns.h:
9108         * lyx_main.C:
9109         * lyxtext.h:
9110         * text.C:
9111         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
9112
9113 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9114
9115         * paragraph.h: make ParagraphList and ParagraphList::iterator
9116         friends of Paragraph.
9117
9118         * buffer.C (makeLinuxDocFile): move towards ParagraphList
9119
9120         * ParagraphList.C: Use the private next_ and previous_ from
9121         Paragraph.
9122
9123 2003-04-01  John Levon  <levon@movementarian.org>
9124
9125         * ToolbarBackend.h:
9126         * ToolbarBackend.C:
9127         * Makefile.am: rename, remove defaults gunk
9128
9129         * MenuBackend.h:
9130         * MenuBackend.C: remove defaults gunk
9131
9132         * Languages.h:
9133         * Languages.C: remove defaults gunk
9134
9135         * lyx_main.h:
9136         * lyx_main.C: error out if files couldn't be found.
9137
9138 2003-04-02  John Levon  <levon@movementarian.org>
9139
9140         * text2.C: make incDepth() use parlist
9141
9142 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9143
9144         * undo_funcs.C (firstUndoParagraph): adjust
9145
9146         * text3.C (gotoInset): adjust
9147         (dispatch): adjust, and rewrite loop.
9148
9149         * text2.C (init): adjust, and rewrite loop.
9150         (redoParagraphs): adjust
9151         (updateInset): adjust, and rewrite loop.
9152         (deleteEmptyParagraphMechanism): adjust
9153
9154         * tabular.C (LyXTabular): adjust
9155         (SetMultiColumn): adjust
9156         (TeXRow): adjust
9157
9158         * lyxtext.[Ch] (ownerParagraph): delete function
9159         (ownerParagraphs): new function returns a ParagraphList.
9160
9161         * BufferView.C (removeAutoInsets): adjust
9162         (insertErrors): adjust
9163         (setCursorFromRow): adjust
9164
9165 2003-04-01  Angus Leeming  <leeming@lyx.org>
9166
9167         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
9168         in the frontends.
9169
9170 2003-04-02  John Levon  <levon@movementarian.org>
9171
9172         * lyxtext.h:
9173         * text.C:
9174         * Makefile.am:
9175         * text_funcs.h:
9176         * text_funcs.C: make transposeChars a free function
9177
9178         * lyxrow_funcs.C: remove wrong comment
9179
9180 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9181
9182         * lyxtext.h: adjust
9183         * rowpainter.C: adjust
9184         * text.C: adjust
9185         * text2.C: adjust
9186         * text3.C: adjust
9187
9188         * lyxrow_funcs. [Ch]: new files
9189
9190         * lyxrow.[Ch]: remove next and previous pointers
9191         (next,previous): remove accessor functions
9192         (isParEnd): move to lyxrow_funcs
9193         (lastPos): move to lyxrow_funcs
9194         (nextRowIsAllInset): move to lyxrow_funcs
9195         (lastPrintablePos): move to lyxrow_funcs
9196         (numberOfSeparators): move to lyxrow_funcs
9197         (numberOfHfills): move to lyxrow_funcs
9198         (numberOfLabelHfills): move to lyxrow_funcs
9199         (hfillExpansion): move to lyxrow_funcs
9200
9201         * lyxfunc.C: adjust
9202
9203         * bufferview_funcs.C (toggleAndShow): adjust
9204
9205         * RowList.h: Remove class RowList from file leave just a
9206         std::list<Row>.
9207
9208         * RowList.C: delete file
9209
9210         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
9211         and lyxrow_funcs.h
9212
9213 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9214
9215         * text3.C (cursorPrevious): adjust
9216         (cursorNext): adjust
9217         (dispatch): adjust
9218
9219         * text2.C (redoHeightOfParagraph): adjust
9220         (redoDrawingOfParagraph): adjust
9221         (setCursor): adjust
9222
9223         * text.C (breakParagraph): adjust
9224         (insertChar): adjust
9225         (backspace): adjust
9226
9227         * rowpainter.C (RowPainter): adjust
9228         (leftMargin): simplify and adjust
9229         (most rowpainter functions): adjust.
9230
9231         * rowpainter.h: store the row as RowList::iterator not as Row*
9232
9233         * lyxcursor.C (row): taka RowList::iterator as arg
9234         (irow): ditto
9235
9236         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
9237         of Row*.
9238
9239 2003-04-01  Angus Leeming  <leeming@lyx.org>
9240
9241         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
9242         stuff like bool Bool.
9243
9244 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
9245
9246         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
9247         rewrite a loop
9248
9249 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9250
9251         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
9252         RowList::iterator.
9253
9254         * lyxtext.h (rows): drop one version and leve a const variant that
9255         returns a RowList::iterator.
9256
9257 2003-03-31  Angus Leeming  <leeming@lyx.org>
9258
9259         * text.C (fill): ensure that the signature is the same as that in the
9260         header file.
9261
9262 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
9263
9264         * text2.C (redoParagraphs): adjust
9265         (updateCounters): adjust
9266         (checkParagraph): adjust
9267         (getColumnNearX): adjust and reformat a bit.
9268
9269         * text.C (top_y): adjust
9270         (workWidth): adjust
9271         (leftMargin): adjust
9272         (prepareToPrint): adjust
9273         (getRow): adjust
9274         (getRowNearY): adjust
9275
9276         * lyxtext.h: make rowlist_ mutable.
9277
9278         * RowList.h: add const_iterator
9279         * RowList.C: adjust for RowList::const_iterator.
9280
9281         * text2.C (getCursorX): make it take a RowList::iterator as arg,
9282         adjust.
9283
9284 2003-03-31  John Levon  <levon@movementarian.org>
9285
9286         * lyxrc.h:
9287         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
9288
9289         * lyx_main.C: set default fonts from using lyx_gui funcs
9290
9291         * exporter.C: pdf_mode moved from lyxrc
9292
9293         * lyx_cb.C:
9294         * lyxfunc.C: changes from above
9295
9296 2003-03-31  John Levon  <levon@movementarian.org>
9297
9298         * lyx_main.C: fix to the last fix
9299
9300 2003-03-31  John Levon  <levon@movementarian.org>
9301
9302         * bufferlist.C: "Load original" -> "Load Original"
9303
9304         * converter.C:
9305         * exporter.C:
9306         * importer.C:
9307         * lyx_main.C:
9308         * format.C: more Alert cleanups
9309
9310 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
9311
9312         * text2.C (removeParagraph): make it take a RowList::iterator as
9313         arg, adjust.
9314         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
9315         (postRowPaint): make it take a RowList::iterator as arg, adjust.
9316
9317         * text.C (anchor_row): make it take a RowList::iterator as arg,
9318         adjust.
9319         (computeBidiTables): make it take a const reference to Row instead
9320         of Row pointer, adjust.
9321         (leftMargin): make it take a RowList::iterator as arg, adjust.
9322         (rowBreakPoint): adjust
9323         (breakAgainOneRow): make it take a RowList::iterator as arg,
9324         adjust.
9325         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
9326
9327         * bufferview_funcs.C (toggleAndShow): adjust
9328
9329 2003-03-30  John Levon  <levon@movementarian.org>
9330
9331         * Makefile.am:
9332         * BoostFormat.h:
9333         * boost-inst.C: moved to support
9334
9335         * several files: changes as a result
9336
9337 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
9338
9339         * text2.C (LyXText): adjust.
9340         (init): adjust
9341         (removeRow): make it take a RowList::iterator as arg, adjust.
9342         (fullRebreak): adjust
9343         (deleteEmptyParagraphMechanism): adjust
9344         (clearPaint): adjust
9345         (postPaint): adjust
9346
9347         * text.C (top_y): adjust
9348         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
9349         (breakAgain): make it take a RowList::iterator as arg, adjust.
9350         (breakParagraph): adjust
9351         (insertChar): adjust
9352         (backspace): adjust
9353
9354         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
9355         need_break_row, and refresh_row.
9356
9357         * text3.C (dispatch): adjust
9358
9359         * text2.C (checkParagraph): adjust
9360         (setCursor): adjust
9361         (setCursorFromCoordinates): adjust
9362
9363         * text.C (top_y): adjust
9364         (workWidth): adjust
9365         (getRow): make it return a RowList::iterator, adjust
9366         (getRowNearY): make it return a RowList::iterator, adjust
9367
9368         * text2.C (init): adjust
9369         (insertRow): remove function
9370         (insertParagraph): adjust
9371         (redoParagraphs): adjust
9372         (fullRebreak): adjust
9373         (updateCounters): adjust
9374
9375         * text.C (top_y): rewrite to use RowList iterators.
9376         (top_y): adjust
9377         (setHeightOfRow): rewrite to sue RowList iterators.
9378         (appendParagraph): adjust
9379         (breakAgain): adjust
9380         (breakAgainOneRow): adjust
9381         (breakParagraph): adjust
9382         (getRow): adjust
9383         (getRowNearY): adjust, and remove commented code.
9384
9385         * lyxtext.h (firstRow): delete function
9386         (lastRow): delete function
9387         (rows): new function (const and non-const versions.)
9388         (insertRow): delete function
9389
9390         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
9391
9392 2003-03-29  John Levon  <levon@movementarian.org>
9393
9394         * BufferView_pimpl.C: always update scrollbar top
9395         because pasting text when we're anchored could mean we
9396         miss an update altogether
9397
9398 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9399
9400         * text2.C (init): use rowlist_.end() and not 0.
9401         (insertRow): change to take a RowList::iterator as arg, adjust
9402         for this.
9403         (insertParagraph): change to take a RowList::iterator as arg,
9404         adjust for this.
9405         (redoParagraphs): remove some debug msgs.
9406
9407         * text.C (appendParagraph): change to take a RowList::iterator
9408         arg, adjust for this.
9409         (breakAgain): add an assert
9410         (breakAgainOneRow): ditto
9411
9412 2003-03-29  John Levon  <levon@movementarian.org>
9413
9414         * text2.C: do not clear selection after inc/decDepth
9415         (bug 550)
9416
9417 2003-03-29  John Levon  <levon@movementarian.org>
9418
9419         * BufferView.C:
9420         * buffer.C: fix broken strerrors according to Lars
9421
9422 2003-03-29  John Levon  <levon@movementarian.org>
9423
9424         * converters.C: more Alert cleanups
9425
9426 2003-03-29  John Levon  <levon@movementarian.org>
9427
9428         * bufferview_funcs.C: remove pointless Alert
9429
9430         * buffer.C: fix confusing error message when
9431         a template is chmoded 000
9432
9433 2003-03-29  John Levon  <levon@movementarian.org>
9434
9435         * BufferView.C:
9436         * BufferView.h:
9437         * BufferView_pimpl.C: Alert fixes
9438
9439         * Makefile.am:
9440         * tabular.C:
9441         * tabular-old.C: remove unused table compat reading
9442
9443 2003-03-29  John Levon  <levon@movementarian.org>
9444
9445         * BufferView.C:
9446         * buffer.C:
9447         * lyx_cb.h:
9448         * lyx_cb.C: more Alert cleanups
9449
9450         * lyxfunc.C: don't allow chktex if not latex document
9451
9452 2003-03-29  John Levon  <levon@movementarian.org>
9453
9454         * lyx_cb.C:
9455         * BufferView.C:
9456         * buffer.C: warnings pushed down from support/,
9457         kill err_alert
9458
9459 2003-03-29  John Levon  <levon@movementarian.org>
9460
9461         * lyxfunc.C: safety check for C-r (revert)
9462
9463 2003-03-29  John Levon  <levon@movementarian.org>
9464
9465         * bufferlist.h:
9466         * bufferlist.C: several UI fixes using Alert::prompt.
9467         Fix the pointless looping quit code. Fix stupid revert
9468         behaviour (bug 938)
9469
9470         * lyxvc.h:
9471         * lyxvc.C:
9472         * lyx_cb.C: use Alert::prompt
9473
9474         * lyx_main.C: remove a silly question
9475
9476         * lyxfunc.C: remove a couple of silly questions,
9477         use Alert::prompt
9478
9479 2003-03-28  John Levon  <levon@movementarian.org>
9480
9481         * text2.C: fix bug 974 (End on empty par)
9482
9483 2003-03-28  John Levon  <levon@movementarian.org>
9484
9485         * BufferView_pimpl.C:
9486         * LyXAction.C:
9487         * lfuns.h: remove do-nothing math greek lfuns
9488
9489 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9490
9491         * lyxgluelength.h (isValidGlueLength): add default arg on
9492         parameter 2. Remove default arg from friend in class.
9493
9494         * lyxlength.h (isValidLength): add default arg on parameter 2.
9495         Remove default arg from friend in class.
9496
9497         * text2.C (LyXText): adjust, initialize refresh_row.
9498         (init): adjust
9499         (removeRow): adjust
9500         (insertRow): adjust
9501         (insertParagraph): adjst
9502         (redoParagraphs): adjust
9503         (fullRebreak): adjust
9504         (updateCounters): adjust
9505         (deleteEmptyParagraphMechanism): first attempt at fixing a
9506         crashing bug.
9507
9508         * text.C (top_y): adjust
9509         (setHeightOfRow): adjust
9510         (getRow): adjust
9511         (getRowNearY): adjust
9512
9513         * lyxtext.h: include RowList.h
9514         (~LyXText): not needed anymore, deleted.
9515         (firstRow): modify for RowList
9516         (lastRow): new function
9517         Delete firstrow and lastrow class variables, add a Rowlist
9518         rowlist_ class variable.
9519
9520         * lyxrow.C (lastPos): use empty() and not !size() to check if a
9521         paragraph is empty.
9522
9523         * RowList.C (insert): fix case where it == begin().
9524
9525 2003-03-26  Angus Leeming  <leeming@lyx.org>
9526
9527         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9528         the thesaurus dialog.
9529
9530 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
9531
9532         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9533
9534         * RowList.[Ch]: new files
9535
9536         * ParagraphList.C (erase): handle the case where it == begin
9537         correctly.
9538
9539 2003-03-25  John Levon  <levon@movementarian.org>
9540
9541         * Makefile.am:
9542         * aspell_local.h:
9543         * aspell.C: add new aspell support
9544
9545         * lyxrc.h:
9546         * lyxrc.C: Make use_pspell be use_spell_lib. Always
9547         have it accessible.
9548
9549 2003-03-25  Angus Leeming  <leeming@lyx.org>
9550
9551         * lfuns.h:
9552         * LyXAction.C (init): new LFUN_INSET_INSERT.
9553
9554         * BufferView_pimpl.C (dispatch): split out part of the
9555         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9556
9557         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9558         LFUN_INSET_APPLY.
9559
9560 2003-03-25  Angus Leeming  <leeming@lyx.org>
9561
9562         * lyxfunc.C (dispatch): changes to the Dialogs interface.
9563
9564 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
9565
9566         * text2.C:
9567         * text3.C: remove useless row->height(0)
9568
9569 2003-03-25  John Levon  <levon@movementarian.org>
9570
9571         * lyxtext.h:
9572         * text2.C:
9573         * text3.C: rename the refreshing stuff to better names
9574
9575 2003-03-24  John Levon  <levon@movementarian.org>
9576
9577         * BufferView_pimpl.h:
9578         * BufferView_pimpl.C: update layout choice on a mouse
9579         press/release
9580
9581 2003-03-23  John Levon  <levon@movementarian.org>
9582
9583         * Makefile.am: fix commandtags.h reference
9584
9585 2003-03-22  John Levon  <levon@movementarian.org>
9586
9587         * BufferView_pimpl.C:
9588         * lyxtext.h:
9589         * rowpainter.C:
9590         * rowpainter.h:
9591         * text.C:
9592         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9593
9594 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
9595
9596         * lyxtext.h:
9597         * text.C: take the rtl methods out of line
9598
9599 2003-03-21 André Pönitz <poenitz@gmx.net>
9600
9601         * metricsinfo.[Ch]: new files containing structures to be passed around
9602         during the two-phase-drawing...
9603
9604 2003-03-21 André Pönitz <poenitz@gmx.net>
9605
9606         * lyxtextclass.C: read 'environment' tag.
9607
9608 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
9609
9610         * text2.C (removeRow): fix bug 964
9611
9612 2003-03-20  John Levon  <levon@movementarian.org>
9613
9614         * rowpainter.C:
9615         * text.C:
9616         * text2.C: paint cleanups. Inset::update() dropped font
9617         parameter
9618
9619 2003-03-19  John Levon  <levon@movementarian.org>
9620
9621         * lyxfunc.C: only fitcursor/markDirty if available()
9622
9623 2003-03-19  John Levon  <levon@movementarian.org>
9624
9625         * commandtags.h: rename to ...
9626
9627         * lfuns.h: ... this, and renumber / cleanup
9628
9629 2003-03-19  John Levon  <levon@movementarian.org>
9630
9631         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9632         fit the cursor after an lfun
9633
9634         * BufferView.h:
9635         * BufferView.C:
9636         * BufferView_pimpl.h:
9637         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9638
9639         * LyXAction.C: layout-character should have ReadOnly
9640
9641         * ParagraphParameters.C:
9642         * buffer.C:
9643         * bufferview_funcs.C:
9644         * lyx_cb.C:
9645         * lyxfind.C:
9646         * lyxtext.h:
9647         * text.C:
9648         * text2.C:
9649         * text3.C:
9650         * undo_funcs.C: changes from above
9651
9652 2003-03-18  John Levon  <levon@movementarian.org>
9653
9654         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9655         remove it from update()
9656
9657         * lyxfunc.C: update layout choice after an lfun
9658
9659         * text3.C: remove extra updateLayoutChoice()s
9660
9661 2003-03-18  John Levon  <levon@movementarian.org>
9662
9663         * text.C: top_y change means full repaint, fix
9664         a drawing bug with cursor movement
9665
9666 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9667
9668         * lyxtext.h:
9669         * text.C:
9670         * text2.C: anchor row on setCursor
9671
9672 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9673
9674         * lyxtext.h: remove almost all mutable keywords
9675         * text.C:
9676         * text2.C:
9677         * text3.C: remove const keywords accordingly
9678
9679 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9680
9681         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9682         anon namespace
9683         (TeXEnvironment): ditto
9684         (TeXOnePar): ditto
9685
9686 2003-03-17  John Levon  <levon@movementarian.org>
9687
9688         * text.C (rowBreakPoint): remove attempt to fix displayed
9689         math insets inside a manual label
9690
9691 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9692
9693         * lyxtext.h: remove BufferView* as first arg from almost all class
9694         functions.
9695         * other files: adjust.
9696
9697 2003-03-17  John Levon  <levon@movementarian.org>
9698
9699         * lyxtext.h:
9700         * undo_funcs.C:
9701         * text2.C: more paint cleanups
9702
9703         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9704
9705         * rowpainter.h:
9706         * rowpainter.C: remove "smart" background painting code
9707
9708 2003-03-16  John Levon  <levon@movementarian.org>
9709
9710         * lyxtext.h:
9711         * text.C:
9712         * text2.C:
9713         * text3.C: add helper functions for setting refresh_row/y
9714
9715 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
9716
9717         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9718         newline inset which *can* get inserted in the pass_thru layouts.
9719         This is primarily for literate documents.
9720
9721 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
9722
9723         * buffer.C: increment LYX_FORMAT to 223
9724
9725 2003-03-14 André Pönitz <poenitz@gmx.net>
9726
9727         * textclass.h: prepare for environment handling, ws changes
9728         * lyxlayout.C: read latexheader and latexfooter tags
9729
9730 2003-03-14  John Levon  <levon@movementarian.org>
9731
9732         * text2.C: rewrite ::status() a bit
9733
9734 2003-03-13  John Levon  <levon@movementarian.org>
9735
9736         * lyxtext.h: add some docs
9737
9738 2003-03-13  John Levon  <levon@movementarian.org>
9739
9740         * lyxtext.h:
9741         * text.C:
9742         * text2.C:
9743         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9744
9745 2003-03-13  John Levon  <levon@movementarian.org>
9746
9747         * text3.C: fix appendix redrawing
9748
9749 2003-03-13  John Levon  <levon@movementarian.org>
9750
9751         * text.C (setHeightOfRow):
9752         * rowpainter.h:
9753         * rowpainter.C: make appendix mark have the text
9754           "Appendix" so the user knows what it is
9755
9756         * LColor.h:
9757         * LColor.C: s/appendixline/appendix/ from above
9758
9759 2003-03-13  John Levon  <levon@movementarian.org>
9760
9761         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9762
9763         * text.C: fix a getChar(pos) bug properly
9764
9765 2003-03-13  Angus Leeming  <leeming@lyx.org>
9766
9767         * commandtags.h:
9768         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9769         Probably only temporary. Let's see how things pan out.
9770
9771         * BufferView.C (unlockInset):
9772         * BufferView_pimpl.C (fitCursor):
9773         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9774
9775         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9776         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9777
9778         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9779         new functions that convert ParagraphParameters to and from a string.
9780
9781         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9782         BufferView::Pimpl's dispatch.
9783         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9784
9785 2003-03-13 André Pönitz <poenitz@gmx.net>
9786
9787         * lyxfunc.C:
9788         * text3.C:
9789         * factory.C: make it aware of InsetEnv
9790
9791 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
9792
9793         * text2.C (setCursor): never ask for one past last
9794         (setCursor): add some debugging messages.
9795
9796         * text.C (singleWidth): never ask for one past last
9797         (singleWidth): ditto
9798         (leftMargin): ditto
9799         (rightMargin): ditto
9800         (rowBreakPoint): ditto
9801         (setHeightOfRow): ditto
9802         (prepareToPrint): ditto
9803
9804         * rowpainter.C (paintBackground): never ask for one past last
9805         (paintText): never ask for one past last
9806
9807         * paragraph_pimpl.C (getChar): make the assert stricter, never
9808         allow the one past last pos to be taken
9809
9810         * paragraph.C (getChar): ws changes only
9811
9812         * lyxrow.C (nextRowIsAllInset): never ask for one past last
9813         (numberOfSeparators): ditto
9814         (numberOfHfills): ditto
9815
9816 2003-03-12  John Levon  <levon@movementarian.org>
9817
9818         * author.h:
9819         * author.C:
9820         * bufferparams.h:
9821         * bufferparams.C:
9822         * paragraph_funcs.C: fix per-buffer authorlists
9823
9824 2003-03-12  John Levon  <levon@movementarian.org>
9825
9826         * text.C: fix newline in right address
9827
9828 2003-03-12  Angus Leeming  <leeming@lyx.org>
9829
9830         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9831         duplicate those in LyXFunc::dispatch.
9832
9833         * commandtags.h:
9834         * LyXAction.C:
9835         * ToolbarDefaults.C:
9836         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9837         Add LFUN_FONTFREE_UPDATE.
9838
9839         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9840         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9841
9842         * bufferview_func.[Ch]: several new functions to facilliate
9843         transfer of data to and from the character dialog.
9844
9845 2003-03-12  John Levon  <levon@movementarian.org>
9846
9847         * buffer.C:
9848         * paragraph.h:
9849         * paragraph.C:
9850         * paragraph_funcs.C:
9851         * paragraph_pimpl.C:
9852         * sgml.C:
9853         * tabular.C:
9854         * text.C:
9855         * text3.C: remove META_NEWLINE in favour of an inset
9856
9857         * rowpainter.h:
9858         * rowpainter.C: remove paintNewline (done by inset)
9859
9860 2003-03-12  John Levon  <levon@movementarian.org>
9861
9862         * paragraph_pimpl.C: complain about bad getChar()s
9863         for a while at least
9864
9865 2003-03-12  John Levon  <levon@movementarian.org>
9866
9867         * buffer.h:
9868         * buffer.C: move paragraph read into a separate function,
9869         a little renaming to reflect that.
9870
9871         * bufferparams.h:
9872         * bufferparams.C: remove the author_ids map, not necessary now
9873
9874         * factory.h:
9875         * factory.C: moved Buffer::readInset to here
9876
9877         * paragraph_funcs.h:
9878         * paragraph_funcs.C: readParagraph free function moved from
9879         buffer.C
9880
9881         * tabular.C: name change
9882
9883 2003-03-12  John Levon  <levon@movementarian.org>
9884
9885         * buffer.C:
9886         * ParagraphParameters.C: move par params input to
9887         a read() method
9888
9889         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9890         behave like a normal read from the stream wrt reading
9891         a line vs. a \\token
9892
9893 2003-03-12  John Levon  <levon@movementarian.org>
9894
9895         * paragraph.C:
9896         * ParagraphParameters.h:
9897         * ParagraphParameters.C: move output code to a
9898         ::write() method
9899
9900 2003-03-12  John Levon  <levon@movementarian.org>
9901
9902         * BufferView.C (insertLyXFile):
9903         * buffer.h:
9904         * buffer.C:
9905         * tabular.C: use a parlist iterator for creating the
9906           document.
9907
9908 2003-03-12  John Levon  <levon@movementarian.org>
9909
9910         * buffer.C: make current_change static local not
9911           static file-scope
9912
9913 2003-03-12  John Levon  <levon@movementarian.org>
9914
9915         * buffer.C: fix insertStringAsLines for change tracking
9916
9917 2003-03-12  John Levon  <levon@movementarian.org>
9918
9919         * BufferView.C:
9920         * tabular.C:
9921         * buffer.h:
9922         * buffer.C:
9923         * bufferparams.h:
9924         * bufferparams.C: move author list into params. Rename some
9925           functions. Move the header reading into a separate token
9926           loop. Move the header token reading into BufferParams.
9927
9928 2003-03-12  John Levon  <levon@movementarian.org>
9929
9930         * changes.C: put debug inside lyxerr.debugging() checks
9931
9932 2003-03-11 André Pönitz <poenitz@gmx.net>
9933
9934         * factory.C: make it aware of InsetHFill
9935
9936 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9937
9938         * buffer.C (latexParagraphs): move function from here...
9939         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9940         args.
9941
9942 2003-03-10  Angus Leeming  <leeming@lyx.org>
9943
9944         * LyXAction.C (init): fix bug in poplating array with multiple entries
9945         with the same LFUN (spotted by JMarc).
9946
9947 2003-03-10  John Levon  <levon@movementarian.org>
9948
9949         * text.C:
9950         * text2.C: move getColumnNearX() near its
9951         only call site
9952
9953 2003-03-10  John Levon  <levon@movementarian.org>
9954
9955         * text.C: fix break before a minipage
9956
9957 2003-03-10  John Levon  <levon@movementarian.org>
9958
9959         * text.C: fix the last commit
9960
9961 2003-03-09  John Levon  <levon@movementarian.org>
9962
9963         * lyxtext.h:
9964         * text.C:
9965         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9966         bug 365 (don't break before insets unless needed). Don't
9967         return a value > last under any circumstances.
9968
9969 2003-03-09  Angus Leeming  <leeming@lyx.org>
9970
9971         * BufferView_pimpl.C (trackChanges, dispatch): call
9972         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9973
9974 2003-03-09  Angus Leeming  <leeming@lyx.org>
9975
9976         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9977         than Dialogs::showAboutlyx().
9978
9979 2003-03-09  Angus Leeming  <leeming@lyx.org>
9980
9981         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9982         than Dialogs::showTabularCreate().
9983
9984 2003-03-09  John Levon  <levon@movementarian.org>
9985
9986         * lyxtext.h:
9987         * text.C:
9988         * text2.C: 3rd arg to nextBreakPoint was always the same.
9989           Use references.
9990
9991 2003-03-08  John Levon  <levon@movementarian.org>
9992
9993         * lyxrow.C:
9994         * paragraph.C:
9995         * paragraph.h:
9996         * rowpainter.C:
9997         * text.C:
9998         * text2.C: Remove the "main" bit from the "main body"
9999           notion.
10000
10001 2003-03-08  John Levon  <levon@movementarian.org>
10002
10003         * text.C (leftMargin): The left margin of an empty
10004         manual label paragraph should not include the label width
10005         string length.
10006
10007         * text.C (prepareToPrint): don't attempt to measure hfills
10008         for empty manual label paragraphs - the answer should be 0
10009
10010 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
10011
10012         * CutAndPaste.C: remove commented code and reindent.
10013
10014 2003-03-08  John Levon  <levon@movementarian.org>
10015
10016         * lyxfunc.h:
10017         * lyxfunc.C: move reloadBuffer()
10018
10019         * BufferView.h:
10020         * BufferView.C: to here
10021
10022         * lyxvc.C: add comment
10023
10024         * vc-backend.h:
10025         * vc-backend.C: call bv->reload() to avoid
10026           getStatus() check on MENURELOAD
10027
10028 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
10029
10030         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
10031         to an old format .dep file.
10032
10033 2003-03-07  Angus Leeming  <leeming@lyx.org>
10034
10035         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
10036         when the LFUN_MOUSE_RELEASE should have been handled by
10037         inset->localDispatch.
10038
10039 2003-03-07  Angus Leeming  <leeming@lyx.org>
10040
10041         * BufferView_pimpl.C (dispatch):
10042         * LyXAction.C (init):
10043         * ToolbarDefaults.C (init):
10044         * commandtags.h:
10045         * lyxfunc.C (getStatus):
10046         remove LFUN_INSET_GRAPHICS.
10047
10048         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
10049
10050 2003-03-07  Angus Leeming  <leeming@lyx.org>
10051
10052         * commandtags.h:
10053         * LyXAction.C (init):
10054         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
10055
10056         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
10057
10058         * commandtags.h:
10059         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
10060
10061         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
10062         localDispatch method LFUN_INSET_DIALOG_UPDATE.
10063
10064 2003-03-07  Angus Leeming  <leeming@lyx.org>
10065
10066         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
10067         remove "ert".
10068
10069 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10070
10071         * ParagraphList.C (front): new function
10072         (back): implement
10073
10074 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
10075
10076         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
10077         and top_row_offset_. removed var first_y.
10078         * text.C (top_y):
10079         * text2.C (LyXText, removeRow):
10080         * text3.C:
10081         * BufferView_pimpl.C:
10082         use these methods instead of using first_y
10083
10084 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10085
10086         * text2.C (pasteSelection): adjust for checkPastePossible
10087
10088         * CutAndPaste.C: remove Paragraph * buf and replace with
10089         ParagraphList paragraphs.
10090         (DeleteBuffer): delete
10091         (cutSelection): change the tc type to textclass_type
10092         (copySelection): change the tc type to textclass_type
10093         (copySelection): adjust for ParagraphList
10094         (pasteSelection): change the tc type to textclass_type
10095         (pasteSelection): adjust for Paragraphlist
10096         (nrOfParagraphs): simplify for ParagraphList
10097         (checkPastePossible): simplify for ParagraphList
10098         (checkPastePossible): remove unused arg
10099
10100         * ParagraphList.C (insert): handle the case where there are no
10101         paragraphs yet.
10102
10103         * CutAndPaste.h: make CutAndPaste a namespace.
10104
10105         * text3.C (dispatch): adjust
10106
10107         * text.C (breakParagraph): add a ParagraphList as arg
10108
10109         * paragraph_funcs.C (breakParagraph): change to take a
10110         BufferParams and a ParagraphList as args.
10111         (breakParagraphConservative): ditto
10112         (mergeParagraph): ditto
10113         (TeXDeeper): add a ParagraphList arg
10114         (TeXEnvironment): ditto
10115         (TeXOnePar): ditto
10116
10117         * buffer.C (readLyXformat2): adjust
10118         (insertStringAsLines): adjust
10119         (latexParagraphs): adjust
10120
10121         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
10122         (cutSelection): adjust
10123         (pasteSelection): adjust
10124
10125         * BufferView_pimpl.C (insertInset): adjust
10126
10127 2003-03-05  Angus Leeming  <leeming@lyx.org>
10128
10129         * commandtags.h:
10130         * LyXAction.C (init):
10131         * BufferView_pimpl.C (dispatch):
10132         * lyxfunc.C (getStatus):
10133         remove LFUN_CHILD_INSERT.
10134
10135         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
10136
10137 2003-03-05  Angus Leeming  <leeming@lyx.org>
10138
10139         * commandtags.h:
10140         * LyXAction.C (init):
10141         * src/factory.C (createInset):
10142         * lyxfunc.C (getStatus):
10143         * text3.C (dispatch):
10144         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
10145
10146         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
10147
10148 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10149
10150         * ParagraphList.C (insert): handle insert right before end()
10151         (erase): fix cases where it can be first or last paragraph.
10152
10153 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10154
10155         * paragraph_funcs.C (TeXEnvironment): remove all usage of
10156         Paragraph::next and Paragraph::previous
10157         (TeXOnePar): ditto
10158
10159         * text.C (breakParagraph): adjust
10160
10161         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
10162         BufferParams& as arg.
10163         (breakParagraph): use ParagraphList::insert
10164         (breakParagraphConservative): take a Buffer* instead of a
10165         BufferParams& as arg.
10166         (breakParagraphConservative): use ParagraphList::insert.
10167
10168         * buffer.C (insertStringAsLines): un-const it
10169         (insertStringAsLines): adjust
10170
10171         * ParagraphList.C (insert): new function
10172
10173         * CutAndPaste.C (pasteSelection): adjust
10174
10175         * text.C (backspace): adjust
10176
10177         * tabular.C (SetMultiColumn): adjust
10178
10179         * CutAndPaste.C (cutSelection): adjust
10180         (pasteSelection): adjust
10181
10182         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
10183         Buffer const * as arg
10184
10185         * ParagraphList.C (erase): new function
10186         * paragraph_funcs.C (mergeParagraph): use it
10187         (mergeParagraph): make it take a Buffer* instead of a
10188         BufferParams* as arg
10189
10190         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
10191         as arg
10192         (breakParagraphConservative): ditto
10193
10194         * paragraph.h: remove the breakParagraph friend
10195
10196         * paragraph.C (eraseIntern): new function
10197         (setChange): new function
10198
10199         * paragraph_funcs.C (mergeParagraph): make it take a
10200         ParagraphList::iterator instead of a Paragraph *, adjust
10201         accordingly.
10202
10203         * paragraph.h: move an #endif so that the change tracking stuff
10204         also works in the NO_NEXT case.
10205
10206 2003-03-04  Angus Leeming  <leeming@lyx.org>
10207
10208         * commandtags.h:
10209         * LyXAction.C: new LFUN_INSET_MODIFY.
10210
10211         * BufferView_pimpl.C (dispatch): if an inset is found to be open
10212         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
10213
10214 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10215
10216         * several files: ws changes only
10217
10218         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
10219         (TeXEnvironment): ditto
10220         (TeXDeeper): ditto
10221
10222         * buffer.C (makeLaTeXFile): adjust
10223         (latexParagraphs): make it take ParagraphList::iterator as args
10224
10225 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
10226
10227         * buffer.C (latexParagraphs): adjust
10228
10229         * paragraph.C (TeXOnePar): move function...
10230         (optArgInset): move function...
10231         (TeXEnvironment): move function...
10232         * paragraph_pimpl.C (TeXDeeper): move function...
10233         * paragraph_funcs.C: ...here
10234
10235         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
10236
10237 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10238
10239         * buffer.C (readInset): remove compability code for old Figure and
10240         InsetInfo insets
10241
10242 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10243
10244         * buffer.C: ws changes
10245         (readInset):
10246
10247         * BufferView_pimpl.C: ditto
10248         * author.C: ditto
10249         * buffer.h: ditto
10250         * bufferlist.h: ditto
10251         * changes.h: ditto
10252         * lyxfunc.C: ditto
10253
10254 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
10255
10256         * converter.[Ch]: split into itself +
10257         * graph.[Ch]
10258         * format.[Ch]
10259         * Makefile.am: += graph.[Ch] + format.[Ch]
10260         * MenuBackend.C
10261         * buffer.C
10262         * exporter.C
10263         * importer.C
10264         * lyx_main.C
10265         * lyxfunc.C
10266         * lyxrc.C: added #include "format.h"
10267
10268 2003-02-27  Angus Leeming  <leeming@lyx.org>
10269
10270         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
10271           a label.
10272
10273         * factory.C (createInset): add "label" to the factory.
10274
10275         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
10276           string and do no more.
10277
10278 2003-02-27  Angus Leeming  <leeming@lyx.org>
10279
10280         * commandtags.h:
10281         * LyXAction.C (init):
10282         * factory.C (createInset):
10283         * BufferView_pimpl.C (dispatch):
10284           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
10285
10286         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
10287
10288         * lyxfunc.C (dispatch):
10289         * text3.C (dispatch): pass name to params2string.
10290
10291 2003-02-26  Angus Leeming  <leeming@lyx.org>
10292
10293         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
10294           blocks together.
10295           Rearrange the ~includes. Strip out the unnecessary ones.
10296
10297         * factory.C (createInset): reformat.
10298           create new insets for the various LFUN_XYZ_APPLY lfuns.
10299
10300 2003-02-26  John Levon  <levon@movementarian.org>
10301
10302         * lyxrow.h:
10303         * lyxrow.C: add isParStart,isParEnd helpers
10304
10305         * paragraph.h: make isInserted/DeletedText take refs
10306
10307         * paragraph_funcs.h:
10308         * paragraph_funcs.C: remove #if 0'd code
10309
10310         * lyxtext.h:
10311         * text3.C:
10312         * text2.C:
10313         * text.C: use lyxrow helpers above.
10314           Move draw and paint routines to RowPainter.
10315           Make several methods use refs not pointers.
10316           Make backgroundColor() const.
10317           Add markChangeInDraw(), isInInset().
10318           Merge changeRegionCase into changeCase.
10319           Make workWidth() shouldn't-happen code into an Assert.
10320
10321         * rowpainter.h:
10322         * rowpainter.C: new class for painting a row.
10323
10324         * vspace.h:
10325         * vspace.C: make inPixels take a ref
10326
10327 2003-02-26  Angus Leeming  <leeming@lyx.org>
10328
10329         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
10330         LFUN_REF_APPLY.
10331
10332 2003-02-25  John Levon  <levon@movementarian.org>
10333
10334         * ispell.C: give the forked command a more accurate name
10335
10336 2003-02-22  John Levon  <levon@movementarian.org>
10337
10338         * toc.h:
10339         * toc.C: make TocItem store an id not a Paragraph *
10340           (bug #913)
10341
10342 2003-02-21  Angus Leeming  <leeming@lyx.org>
10343
10344         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
10345           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
10346           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
10347           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
10348           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
10349           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
10350
10351         * BufferView_pimpl.C (dispatch):
10352         * LyXAction.C (init):
10353         * factory.C (createInset):
10354         * lyxfunc.C (getStatus, dispatch):
10355         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
10356
10357 2003-02-21  Angus Leeming  <leeming@lyx.org>
10358
10359         * BufferView_pimpl.C (MenuInsertLyXFile):
10360         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
10361         * lyxfunc.C (menuNew, open, doImport):
10362           no longer pass a LyXView & to fileDlg.
10363
10364 2003-02-21  Angus Leeming  <leeming@lyx.org>
10365
10366         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
10367         * LyXAction.C: change, BIBKEY to BIBITEM.
10368         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
10369         Change InsetBibKey to InsetBibitem.
10370         Change BIBKEY_CODE to BIBITEM_CODE.
10371         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10372         * factory.C: replace insetbib.h with insetbibitem.h.
10373         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10374         * paragraph.C: replace insetbib.h with insetbibitem.h.
10375         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
10376         Change bibkey() to bibitem().
10377         * text.C: remove insetbib.h.
10378         * text2.C: replace insetbib.h with insetbibitem.h.
10379         change bibkey() to bibitem().
10380         * text3.C: remove insetbib.h.
10381         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10382
10383 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10384
10385         * lyxrc.C (output): enclose user email in quotes (in case there are
10386         several words)
10387
10388 2003-02-18  John Levon  <levon@movementarian.org>
10389
10390         * buffer.h: add std::
10391
10392 2003-02-17  John Levon  <levon@movementarian.org>
10393
10394         * SpellBase.h:
10395         * ispell.h:
10396         * ispell.C:
10397         * pspell.h:
10398         * pspell.C: reworking. Especially in ispell, a large
10399           number of clean ups and bug fixes.
10400
10401         * lyxfunc.C: fix revert to behave sensibly
10402
10403 2003-02-17 André Pönitz <poenitz@gmx.net>
10404
10405         * LyXAction.C:
10406         * commandtags.h: new LFUN_INSERT_BIBKEY
10407
10408         * layout.h:
10409         * lyxlayout.C:
10410         * buffer.C:
10411         * factory.C:
10412         * text.C:
10413         * text2.C:
10414         * text3.C:
10415         * paragraph.[Ch]:
10416         * paragraph_func.C: remove special bibkey handling
10417
10418 2003-02-17  John Levon  <levon@movementarian.org>
10419
10420         * text.C (Delete): fix case where delete at the end of
10421           the very first paragraph would not merge the pars
10422
10423 2003-02-17  John Levon  <levon@movementarian.org>
10424
10425         * lyxrow.C: fix lastPrintablePos()
10426
10427 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10428
10429         * bufferparams.C (writeLaTeX): add a std:here
10430
10431         * buffer.C: and remove a using directive there
10432
10433 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10434
10435         * buffer.C (makeLaTeXFile): move the code that generates the
10436           preamble...
10437
10438         * bufferparams.C (writeLaTeX): ... in this new method
10439
10440         * LaTeXFeatures.C (getEncodingSet): make const
10441           (getLanguages): make const
10442
10443         * MenuBackend.C (binding): returns the binding associated to this
10444           action
10445           (add): sets the status of each item by calling getStatus. Adds
10446           some intelligence.
10447           (read): add support for OptSubMenu
10448           (expand): remove extra separator at the end of expanded menu
10449
10450 2003-02-15  John Levon  <levon@movementarian.org>
10451
10452         * BufferView.C:
10453         * BufferView_pimpl.C:
10454         * bufferlist.h:
10455         * bufferlist.C: remove pointless BufferStorage bloat. Remove
10456           inset code that had no actual effect. Remove unneeded status
10457           code.
10458
10459 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10460
10461         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10462           in preamble
10463
10464 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
10465
10466         * text.C (drawLengthMarker): also draw an arrow marker for
10467           symbolic lengths (medskip...)
10468
10469 2003-02-14  John Levon  <levon@movementarian.org>
10470
10471         * tabular.h:
10472         * tabular.C: better method names
10473
10474 2003-02-14  John Levon  <levon@movementarian.org>
10475
10476         * BufferView_pimpl.C:
10477         * bufferlist.C:
10478         * buffer.C:
10479         * converter.C:
10480         * lyx_cb.C:
10481         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10482           it's a more accurate name. Remove some pointless uses.
10483
10484 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10485
10486         * text2.C (LyXText): change order of initilizers to shut off
10487           warnings
10488
10489 2003-02-14  John Levon  <levon@movementarian.org>
10490
10491         * buffer.C: use ParIterator for getParFromID()
10492
10493         * paragraph.h:
10494         * paragraph.C:
10495         * paragraph_pimpl.h:
10496         * paragraph_pimpl.C: remove unused getParFromID()
10497
10498 2003-02-14  John Levon  <levon@movementarian.org>
10499
10500         * buffer.C: remove some very old #if 0'd parse code
10501
10502 2003-02-13  John Levon  <levon@movementarian.org>
10503
10504         * text.h:
10505         * text.C:
10506         * text2.C: move hfillExpansion(), numberOfSeparators(),
10507           rowLast(), rowLastPrintable(), numberofHfills(),
10508           numberOfLabelHfills() ...
10509
10510         * lyxrow.h:
10511         * lyxrow.C: ... to member functions here.
10512
10513         * paragraph.h:
10514         * paragraph.C:
10515         * lyxtext.h:
10516         * text.C: remove LyXText::beginningOfMainBody(), and call
10517           p->beginningOfMainBody() directly. Move the check for
10518           LABEL_MANUAL into the latter.
10519
10520         * text.h:
10521         * text.C:
10522         * text2.C:
10523         * vspace.C:
10524         * BufferView.h:
10525         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10526
10527         * text.h:
10528         * text.C:
10529         * text2.C:
10530         * text3.C:
10531         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10532           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10533
10534 2003-02-13  John Levon  <levon@movementarian.org>
10535
10536         * CutAndPaste.C: remove debug
10537
10538 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10539
10540         * paragraph.C (asString): remove two unused variables
10541
10542         * lyxtextclass.C (readTitleType):
10543           (Read):
10544           (LyXTextClass): handle new members titletype_ and titlename_
10545
10546         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10547
10548 2003-02-09  John Levon  <levon@movementarian.org>
10549
10550         * buffer.h:
10551         * buffer.C: replace hand-coded list with a map for the dep clean
10552
10553 2003-02-08  John Levon  <levon@movementarian.org>
10554
10555         * LaTeX.C: consolidate code into showRunMessage() helper
10556
10557 2003-02-08  John Levon  <levon@movementarian.org>
10558
10559         * lyxfind.C:
10560         * lyxtext.h:
10561         * text2.C:
10562         * BufferView.C: change setSelectionOverString() to setSelectionRange()
10563           and pass the size in explicitly
10564
10565         * BufferView_pimpl.h:
10566         * BufferView_pimpl.C:
10567         * BufferView.h:
10568         * BufferView.C: add getCurrentChange()
10569
10570         * BufferView_pimpl.h:
10571         * BufferView_pimpl.C: handle change lfuns
10572
10573         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10574           for changes. Mark pasted paragraphs as new.
10575
10576         * support/lyxtime.h:
10577         * support/lyxtime.C:
10578         * DepTable.C: abstract time_t as lyx::time_type
10579
10580         * LColor.h:
10581         * LColor.C: add colours for new text, deleted text, changebars
10582
10583         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10584           package use "usenames" option.
10585
10586         * commandtags.h:
10587         * lyxfunc.C:
10588         * LyXAction.C: add change lfuns
10589
10590         * Makefile.am:
10591         * author.h:
10592         * author.C: author handling
10593
10594         * buffer.h:
10595         * buffer.C: add a per-buffer author list, with first entry as
10596           current author. Handle new .lyx tokens for change tracking. Output
10597           author list to .lyx file. Output dvipost stuff to .tex preamble.
10598           Bump lyx format to 222.
10599
10600         * bufferlist.h:
10601         * bufferlist.C: add setCurrentAuthor() to reset current author details
10602           in all buffers.
10603
10604         * bufferparams.h:
10605         * bufferparams.C: add param for tracking
10606
10607         * bufferview_funcs.C: output change info in minibuffer
10608
10609         * Makefile.am:
10610         * changes.h:
10611         * changes.C: add change-tracking structure
10612
10613         * debug.h:
10614         * debug.C: add CHANGES debug flag
10615
10616         * lyxfind.h:
10617         * lyxfind.C: add code for finding the next change piece
10618
10619         * lyxrc.h:
10620         * lyxrc.C: add user_name and user_email
10621
10622         * lyxrow.h:
10623         * lyxrow.C: add a metric for the top of the text line
10624
10625         * lyxtext.h:
10626         * text.C: implement accept/rejectChange()
10627
10628         * lyxtext.h:
10629         * text.C: paint changebars. Paint new/deleted text in the chosen
10630         colours. Strike through deleted text.
10631
10632         * paragraph.h:
10633         * paragraph.C:
10634         * paragraph_pimpl.h:
10635         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10636           in the current change to the insert functions. Rework erase to
10637           mark text as deleted, adding an eraseIntern() and a range-based
10638           erase(). Implement per-paragraph change lookup and
10639           accept/reject.
10640
10641         * paragraph_funcs.C: Fixup paste for change tracking.
10642
10643         * tabular.C: mark added row/columns as new.
10644
10645         * text.C: fix rowLast() to never return -1. Don't allow
10646           spellchecking of deleted text. Track transpose changes. Don't
10647           allow paragraph break or merge where appropriate.
10648
10649         * text2.C: leave cursor at end of selection after a cut.
10650
10651 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10652
10653         * text.C (getLengthMarkerHeight):
10654         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10655         visible on screen too.
10656
10657 2003-02-07  John Levon  <levon@movementarian.org>
10658
10659         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10660
10661 2003-02-05  Angus Leeming  <leeming@lyx.org>
10662
10663         * lyxserver.C (read_ready): revert my patch of 11 September last year
10664         as it sends PC cpu through the roof. Presumably this means that
10665         the lyxserver will no longer run on an Alpha...
10666
10667 2003-01-30  Angus Leeming  <leeming@lyx.org>
10668
10669         * factory.C (createInset): create an InsetCommandParam of type "index"
10670         and use it to 'do the right thing'.
10671
10672         * text2.C (getStringToIndex): ensure that cursor position is always
10673         reset to the reset_cursor position.
10674
10675 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10676
10677         * lyxfunc.C (getStatus): "buffer-export custom" should never be
10678         disabled.
10679
10680 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
10681
10682         * bufferview.C:
10683         * lyxcb.C:
10684         * lyxfunc.C: Output messages with identical spelling, punctuation,
10685         and spaces
10686
10687 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
10688
10689         * MenuBackend.C (expandFormats): List only viewable export formats
10690         in "View" menu
10691
10692         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10693         message
10694
10695         * lyxfunc.C (getStatus): Make sure that formats other than
10696         "fax" can also be disabled
10697
10698 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10699
10700         * text3.C (dispatch): put the lfuns that insert insets in 3
10701         groups, and call doInsertInset with appropriate arguments.
10702         (doInsertInset): new function, that creates an inset and inserts
10703         it according to some boolean parameters.
10704
10705 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
10706
10707         * buffer.C (readFile): remember to pass on 'par' when calling
10708         readFile recursively.
10709
10710 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10711
10712         * MenuBackend.C (expandFormats): add "..." to import formats.
10713
10714 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
10715
10716         * paragraph.C (asString): Remove XForms RTL hacks.
10717
10718 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
10719         * buffer.C: fix typo
10720
10721 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10722
10723         * Makefile.am (LIBS): delete var
10724         (lyx_LDADD): add @LIBS@ here instead.
10725
10726 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
10727
10728         * Clarify the meaning of "wheel mouse jump"
10729
10730 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10731
10732         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10733         tabular in a float
10734
10735 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10736
10737         * importer.C (Loaders): do not preallocate 3 elements in the
10738         vector, since one ends up with 6 elements otherwise
10739
10740 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10741
10742         * DepTable.C (write): write the file name as last element of the
10743         .dep file (because it may contain spaces)
10744         (read): read info in the right order
10745
10746 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10747
10748         * paragraph_pimpl.C (simpleTeXBlanks):
10749         (simpleTeXSpecialChars):
10750         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10751
10752         * tabular.C (latex): add some missing case statements. Reindent.
10753
10754         * MenuBackend.C (expandToc): remove unused variable.
10755
10756 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
10757
10758         * LColor.C:
10759         * LaTeX.C:
10760         * LyXAction.C:
10761         * MenuBackend.C:
10762         * buffer.C:
10763         * exporter.C:
10764         * lyxfunc.C:
10765         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10766         and the like.
10767
10768 2003-01-05  John Levon  <levon@movementarian.org>
10769
10770         * BufferView.h:
10771         * BufferView.C: add getEncoding()
10772
10773         * kbsequence.h:
10774         * kbsequence.C: do not store last keypress
10775
10776         * lyxfunc.h:
10777         * lyxfunc.C: store last keypress here instead. Pass encoding
10778           to getISOEncoded()
10779
10780 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10781
10782         * lyx_main.C (init): remove annoying error message when following
10783         symbolic links (bug #780)
10784
10785 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10786
10787         * text.C (insertChar):
10788         * lyxrc.C (getDescription): remove extra spaces
10789
10790 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10791
10792         * lyxrc.C (getDescription): remove extra spaces
10793
10794 2002-12-20  John Levon  <levon@movementarian.org>
10795
10796         * text3.C: hack fix for page up/down across tall rows
10797
10798 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10799
10800         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10801         not been invoked
10802
10803 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10804
10805         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10806         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10807         thesaurus is not compiled in
10808
10809 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
10810
10811         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
10812
10813 2002-12-16  Angus Leeming  <leeming@lyx.org>
10814
10815         * lyxrc.[Ch]:
10816         * lyx_main.C (init): remove override_x_deadkeys stuff.
10817
10818 2002-12-12  John Levon  <levon@movementarian.org>
10819
10820         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10821           insert. Only remove shift modifier under strict
10822           circumstances.
10823
10824 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
10825
10826         * MenuBackend.C (expandToc): fix crash.
10827
10828 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
10829
10830         * MenuBackend.C (expandToc): gettext on float names.
10831
10832 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
10833
10834         * lyxlength.[Ch]: set default unit to UNIT_NONE,
10835         implement bool empty() [bug 490]
10836
10837 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10838
10839         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10840
10841 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10842
10843         * several files: ws changes
10844
10845 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10846
10847         * text2.C (setCounter): clean up a bit, use boost.format.
10848         (updateCounters): initialize par upon declaration.
10849
10850         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10851         if the layout exists. We do not just store the layout any more.
10852         (SwitchLayoutsBetweenClasses): use boost.format
10853
10854 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10855
10856         * converter.C (convert): if from and to files are the same, use a
10857         temporary files as intermediary
10858
10859 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10860
10861         * commandtags.h:
10862         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10863
10864 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10865
10866         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10867
10868 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
10869
10870         * tabular.C (asciiPrintCell): use string(size, char) instead of
10871         explicit loop.
10872
10873         * sgml.C (openTag): fix order of arguments to string constructor
10874         (closeTag): ditto
10875
10876         * lyxfunc.C (dispatch): use boost.format
10877
10878         * lots of files: change "c" -> 'c'
10879
10880 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10881
10882         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10883
10884 2002-11-25  Angus Leeming  <leeming@lyx.org>
10885
10886         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10887
10888         * lyx_main.C (init): compile fix.
10889
10890 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
10891
10892         * lyx_cb.C (start): boost.formatify
10893         do not include <iostream>
10894
10895         * lengthcommon.C: ws only
10896
10897         * boost-inst.C,BoostFormat.h: add more explict instantations
10898
10899 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
10900
10901         * lots of files: handle USE_BOOST_FORMAT
10902
10903 2002-11-21  John Levon  <levon@movementarian.org>
10904
10905         * pspell.C: fix compile
10906
10907 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10908
10909         * lyxfunc.C (dispatch): use boost::format
10910         (open): ditto
10911         (doImport): ditto
10912
10913         * lyxfont.C (stateText): use boost::format
10914
10915         * lyx_main.C (LyX): use boost::format
10916         (init): ditto
10917         (queryUserLyXDir): ditto
10918         (readRcFile): ditto
10919         (parse_dbg): ditto
10920         (typedef boost::function): use the recommened syntax.
10921
10922         * importer.C (Import): use boost::format
10923
10924         * debug.C (showLevel): use boost::format
10925
10926         * converter.C (view): use boost::format
10927         (convert): ditto
10928         (move): ditto
10929         (scanLog): ditto
10930
10931         * bufferview_funcs.C (currentState): use boost::format
10932
10933         * bufferlist.C (emergencyWrite): use boost::format
10934
10935         * buffer.C (readLyXformat2): use boost::format
10936         (parseSingleLyXformat2Token): ditto
10937
10938         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10939
10940         * LaTeX.C (run): use boost::format
10941
10942         * Chktex.C (scanLogFile): use boost::format
10943
10944         * BufferView_pimpl.C (savePosition): use boost::format
10945         (restorePosition): ditto
10946         (MenuInsertLyXFile): ditto
10947
10948         * BoostFormat.h: help file for explicit instation.
10949
10950 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
10951
10952         * tabular.C (latex): Support for block alignment in fixed width
10953         columns.
10954
10955 2002-11-17  John Levon  <levon@movementarian.org>
10956
10957         * BufferView_pimpl.C:
10958         * lyx_cb.C:
10959         * lyxfunc.C: split filedialog into open/save
10960
10961 2002-11-08  Juergen Vigna  <jug@sad.it>
10962
10963         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10964         by my last patch (hopefully).
10965
10966 2002-11-08  John Levon  <levon@movementarian.org>
10967
10968         * iterators.h:
10969         * iterators.C:
10970         * buffer.h:
10971         * buffer.C:
10972         * paragraph.h:
10973         * paragraph.C:
10974         * toc.h:
10975         * toc.C: ParConstIterator, and use it (from Lars)
10976
10977 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
10978
10979         * lyxtextclass.[Ch]: revise and add doxygen comments
10980
10981 2002-11-07  John Levon  <levon@movementarian.org>
10982
10983         * text.C: fix progress value for spellchecker
10984
10985         * toc.C: fix navigate menu for insetwrap inside minipage
10986
10987         * paragraph_funcs.C: added FIXME for suspect code
10988
10989 2002-11-07  John Levon  <levon@movementarian.org>
10990
10991         * BufferView_pimpl.C: fix redrawing of insets
10992           on buffer switch
10993
10994 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10995
10996         * text2.C (updateCounters): fix bug 668
10997
10998 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
10999
11000         * text3.C (dispatch): Do not make the buffer dirty when moving the
11001         cursor.
11002
11003 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
11004
11005         * vc-backend.C: STRCONV
11006         (scanMaster): ditto
11007
11008         * text2.C (setCounter): STRCONV
11009
11010         * paragraph.C (asString): STRCONV
11011
11012         * lyxlength.C (asString): STRCONV
11013         (asLatexString): ditto
11014
11015         * lyxgluelength.C (asString): STRCONV
11016         (asLatexString): ditto
11017
11018         * lyxfunc.C (dispatch): STRCONV
11019         (open): ditto
11020
11021         * lyxfont.C (stateText): STRCONV
11022
11023         * importer.C (Import): STRCONV
11024
11025         * counters.C (labelItem): STRCONV
11026         (numberLabel): ditto
11027         (numberLabel): remove unused ostringstream o
11028
11029         * chset.C: STRCONV
11030         (loadFile): ditto
11031
11032         * bufferview_funcs.C (currentState): STRCONV
11033
11034         * buffer.C (readFile): STRCONV
11035         (asciiParagraph): ditto
11036         (makeLaTeXFile): ditto
11037
11038         * Spacing.C (writeEnvirBegin): STRCONV
11039
11040         * LaTeXFeatures.C (getLanguages): STRCONV
11041         (getPackages): ditto
11042         (getMacros): ditto
11043         (getBabelOptions): ditto
11044         (getTClassPreamble): ditto
11045         (getLyXSGMLEntities): ditto
11046         (getIncludedFiles): ditto
11047
11048         * LaTeX.C: STRCONV
11049         (run): ditto
11050         (scanAuxFile): ditto
11051         (deplog): ditto
11052
11053         * LString.h: add the STRCONV macros
11054
11055         * BufferView_pimpl.C (savePosition): STRCONV
11056         (restorePosition): ditto
11057         (MenuInsertLyXFile): ditto
11058
11059         * vc-backend.C (scanMaster): change from submatch[...] to
11060         submatch.str(...)
11061
11062         * funcrequest.C: include config.h
11063
11064         * factory.C: include config.h
11065
11066         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
11067
11068         * box.C: include config.h
11069
11070         * LaTeX.C (scanAuxFile): change from submatch[...] to
11071         submatch.str(...)
11072         (deplog): ditto
11073
11074 2002-10-25  Angus Leeming  <leeming@lyx.org>
11075
11076         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
11077
11078         * ispell.[Ch] (setError): new method.
11079         * ispell.C (c-tor): move out child process into new class LaunchIspell.
11080         Use setError() insetead of goto END.
11081
11082         * lyx_cb.C (AutoSave): move out child process into new class
11083         AutoSaveBuffer.
11084
11085 2002-10-30  John Levon  <levon@movementarian.org>
11086
11087         * text3.C: make start appendix undoable
11088
11089 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
11090
11091         * lyxlength.C (inPixels): Fix returned value.
11092
11093         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
11094         environment.
11095
11096 2002-10-24  Angus Leeming  <leeming@lyx.org>
11097
11098         * lyxgluelength.h: no need to forward declare BufferParams
11099         or BufferView, so don't.
11100
11101 2002-10-21  John Levon  <levon@movementarian.org>
11102
11103         * BufferView.C: menuUndo ->undo, redo
11104
11105         * BufferView.h: document, remove dead, make some methods private
11106
11107         * paragraph_funcs.h:
11108         * paragraph_funcs.C:
11109         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
11110
11111         * buffer.h:
11112         * buffer.C:
11113         * sgml.h:
11114         * sgml.C: move sgml open/close tag into sgml.C
11115
11116         * bufferview_funcs.h: unused prototype
11117
11118         * lyxfunc.h:
11119         * lyxfunc.C: remove unused
11120
11121         * lyxtext.h:
11122         * text.C: remove unused
11123
11124 2002-10-21  John Levon  <levon@movementarian.org>
11125
11126         * BufferView.h:
11127         * BufferView.C:
11128         * BufferView_pimpl.h:
11129         * BufferView_pimpl.C: fix mouse wheel handling based on
11130           patch from Darren Freeman
11131
11132 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
11133
11134         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
11135
11136 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
11137
11138         * lyxlength.C (inPixels): Fix hanfling of negative length.
11139         Fix LyXLength::MU case.
11140
11141 2002-10-16  John Levon  <levon@movementarian.org>
11142
11143         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
11144
11145 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11146
11147         * converter.C (view): add support for $$i (file name) and $$p
11148         (file path) for the viewer command. If $$i is not specified, then
11149         it is appended to the command (for compatibility with old syntax)
11150
11151 2002-10-14  Juergen Vigna  <jug@sad.it>
11152
11153         * undo_funcs.C (textHandleUndo): alter the order in which the
11154         new undopar is added to the LyXText, as we have to set first
11155         the right prev/next and then add it as otherwise the rebuild of
11156         LyXText is not correct. Also reset the cursor to the right paragraph,
11157         with this IMO we could remove the hack in "redoParagraphs()".
11158
11159 2002-10-09  Angus Leeming  <leeming@lyx.org>
11160
11161         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
11162         to turn off an optimisation if a new inset is to be inserted.
11163
11164 2002-10-11 André Pönitz <poenitz@gmx.net>
11165
11166         * lyxtext.h: make some functions public to allow access
11167         from inset/lyxtext for handling LFUN_PRIOR/NEXT
11168
11169 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11170
11171         * text3.C (dispatch): when changing layout, avoid an infinite loop
11172         [bug #652]
11173
11174 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11175
11176         * lyxrc.C (read): treat a viewer or converter command of "none" as
11177         if it were empty.
11178
11179         * MenuBackend.C (expandFormats): for an update, also allow the
11180         formats that are not viewable
11181
11182         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
11183         script if it is newer than the lyxrc.defaults in user directory
11184
11185 2002-10-07 André Pönitz <poenitz@gmx.net>
11186
11187         * text.C: Vitaly Lipatov's small i18n fix
11188
11189 2002-09-25  Angus Leeming  <leeming@lyx.org>
11190
11191         * ispell.h: doxygen fix.
11192
11193 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
11194
11195         * buffer.h (readFile): Add a new argument to the method, to allow
11196         reading of old-format templates.
11197
11198 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
11199
11200         * toc.C (getTocList): Get TOC from InsetWrap.
11201
11202 2002-09-16  John Levon  <levon@movementarian.org>
11203
11204         * lyxfunc.C: check tabular for cut/copy too
11205
11206 2002-09-12  John Levon  <levon@movementarian.org>
11207
11208         * LyXAction.C: tidy
11209
11210         * factory.h:
11211         * factory.C: add header
11212
11213         * paragraph_funcs.h:
11214         * paragraph_funcs.C: cleanup
11215
11216 2002-09-11  John Levon  <levon@movementarian.org>
11217
11218         * PrinterParams.h: odd/even default to true
11219
11220 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
11221
11222         * PrinterParams.h: update printer parameters for new xforms dialog
11223
11224 2002-09-11  Angus Leeming  <leeming@lyx.org>
11225
11226         * lyxserver.C (read_ready): re-write to make it more transparent
11227         and to make it work in coherent fashion under Tru64 Unix.
11228
11229 2002-09-11  André Pönitz <poenitz@gmx.net>
11230
11231         * commandtags.h:
11232         * LyXAction.C:
11233         * text3.C: implement LFUN_WORDSEL
11234
11235 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11236
11237         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
11238         make floatlist_ a boost::shared_ptr<FloatList>
11239
11240         * lyxtextclass.C: include FloatList.h
11241         (LyXTextClass): initialize floatlist_
11242         (TextClassTags): add TC_NOFLOAT
11243         (Read): match "nofloat" to TC_NOFLOAT and use it.
11244         (readFloat): modify call to floatlist_
11245         (floats): ditto
11246         (floats): ditto
11247
11248         * FloatList.[Ch] (FloatList): remove commented out float
11249         initialization.
11250         (erase): new function
11251
11252 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11253
11254         * MenuBackend.C (expandToc): fix crash when there is no document
11255         open
11256
11257 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
11258
11259         * many files: Add insetwrap.
11260
11261 2002-09-09  John Levon  <levon@movementarian.org>
11262
11263         * text2.C: remove confusing and awkward depth wraparound
11264
11265 2002-09-09  John Levon  <levon@movementarian.org>
11266
11267         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
11268
11269         * buffer.h:
11270         * buffer.C: remove getIncludeonlyList()
11271
11272         * paragraph.C:
11273         * lyxfunc.C: remove headers
11274
11275 2002-09-09  Juergen Vigna  <jug@sad.it>
11276
11277         * text.C (getColumnNearX): fix form Michael this is most
11278         probably a cut&paste bug.
11279
11280 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
11281
11282         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
11283
11284         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
11285         references, ws changes.
11286
11287         * text2.C (init): update counters after init
11288         (insertParagraph): no need to set counter on idividual paragraphs.
11289         (setCounter): access the counters object in the textclass object
11290         on in the buffer object.
11291         (updateCounters): ditto
11292
11293         * lyxtextclass.C: include counters.h, add variable ctrs_ as
11294         shared_ptr<Counters> to avoid loading counters.h in all
11295         compilation units.
11296         (LyXTextClass): initialize ctrs_
11297         (TextClassTags): add TC_COUNTER, and ...
11298         (Read): use it here.
11299         (CounterTags): new tags
11300         (readCounter): new function
11301         (counters): new funtion
11302         (defaultLayoutName): return a const reference
11303
11304         * counters.C (Counters): remove contructor
11305         (newCounter): remove a couple of unneeded statements.
11306         (newCounter): simplify a bit.
11307         (numberLabel): some small formatting changes.
11308
11309         * buffer.[Ch]: remove all traces of counters, move the Counters
11310         object to the LyXTextClass.
11311
11312 2002-09-06  Alain Castera  <castera@in2p3.fr>
11313
11314         * tabular.C: uses \tabularnewline; uses >{...} construct from array
11315         package to set the horizontal alignment on fixed width columns.
11316
11317         * lyx_sty.C:
11318         * lyx_sty.h: added tabularnewline macro def.
11319
11320         * LaTeXFeatures.C: added NeedTabularnewline macro feature
11321
11322 2002-09-06  John Levon  <levon@movementarian.org>
11323
11324         * LyXAction.C: tooltips for sub/superscript
11325
11326         * MenuBackend.C: a bit more verbose
11327
11328         * lyxfunc.C: tiny clean
11329
11330         * undo_funcs.C: document undo_frozen
11331
11332 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
11333
11334         * counters.C (Counters): add missing algorithm counter.
11335
11336         * text2.C (setCounter): lookup the counter with layouts latexname
11337         instead of by section number.
11338         (setCounter): use a hackish way to lookup the correct enum
11339         counter.
11340         a float name->type change
11341         reset enum couners with counter name directly instead of depth value.
11342
11343         * counters.C (Counters): remove the push_backs, change to use the
11344         float type not the float name.
11345         (labelItem): remove unused string, float name->type change
11346
11347         * counters.h: don't include vector, loose the enums and sects vectors
11348
11349 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
11350
11351         * lyxtextclass.C (TextClassTags): add TC_FLOAT
11352         (Read): add float->TC_FLOAT to textclassTags
11353         (Read): and handle it in the switch
11354         (readFloat): new function
11355
11356         * FloatList.C (FloatList): comment out the hardcoded float
11357         definitions.
11358
11359         * lyxlayout.h: ws change.
11360
11361 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
11362
11363         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
11364
11365 2002-09-03  Angus Leeming  <leeming@lyx.org>
11366
11367         * BufferView_pimpl.h: qualified name is not allowed in member
11368         declaration: WorkArea & Pimpl::workarea() const;
11369
11370         * factory.C: added using std::endl directive.
11371
11372         * text3.C: added using std::find and std::vector directives.
11373
11374 2002-08-29  André Pönitz <poenitz@gmx.net>
11375
11376         * lyxtext.h:
11377         * text2.C: remove unused member number_of_rows
11378
11379         * Makefile.am:
11380         * BufferView2.C: remove file, move contents to...
11381         * BufferView.C: ... here
11382
11383         * BufferView_pimpl.C:
11384         * factory.C: move more inset creation to factory
11385
11386         * vspace.C: avoid direct usage of LyXText, ws changes
11387
11388         * BufferView.[Ch]:
11389                 don't provide direct access to WorkArea, use two simple
11390                 acessors haveSelction() and workHeight() instead
11391
11392
11393 2002-08-29  John Levon  <levon@movementarian.org>
11394
11395         * BufferView_pimpl.C (dispatch): do not continue when
11396           no buffer
11397
11398 2002-08-28  André Pönitz <poenitz@gmx.net>
11399
11400         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
11401
11402         * BufferView.h:
11403         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
11404
11405 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
11406
11407         * buffer.C: increment LYX_FORMAT to 221
11408
11409         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
11410         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
11411
11412         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
11413
11414         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
11415
11416 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11417
11418         * factory.C (createInset): use LyXTextClass::floats
11419
11420         * MenuBackend.C (expandFloatListInsert):
11421         (expandFloatInsert):
11422         (expandToc):
11423
11424         * text2.C (setCounter):
11425
11426         * LaTeXFeatures.C (useFloat):
11427         (getFloatDefinitions):
11428
11429         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
11430
11431         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
11432         floatlist_, with accessor floats().
11433
11434         * FloatList.h: remove global FloatList
11435
11436 2002-08-26  André Pönitz <poenitz@gmx.net>
11437
11438         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
11439
11440         * BufferView.h:
11441         * BufferView2.C:
11442         * BufferView_pimpl.C:
11443         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
11444
11445 2002-08-25  John Levon  <levon@movementarian.org>
11446
11447         * LyXAction.C: fix margin note description
11448
11449 2002-08-24  John Levon  <levon@movementarian.org>
11450
11451         * buffer.C:
11452         * bufferlist.C:
11453         * bufferview_funcs.C:
11454         * lyxfont.C:
11455         * undo_funcs.C: cleanups
11456
11457         * lyxfunc.C: disable CUT/COPY when no selection
11458
11459 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
11460
11461         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11462         in "enum UNIT"; e.g. PTW for Percent of TextWidth
11463
11464         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11465         Add backward compatibility to "mono", "gray" and "no".
11466
11467 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
11468
11469         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11470         (and file_format >= 200).
11471
11472 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11473
11474         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11475
11476 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11477
11478         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11479
11480 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
11481
11482         * BufferView_pimpl.C:
11483         * LyXAction.C:
11484         * buffer.C:
11485         * commandtags.h:
11486         * lyxfunc.C:
11487         * paragraph.[Ch]:
11488         * text2.C:
11489         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11490         inset and code to make it  work with the paragraph code. The inset
11491         can be anywhere in the paragraph, but will only do the expected
11492         thing in LaTeX if the layout file contains the parameter line
11493                         OptionalArgs    1
11494         (or more generally, a nonzero value) for that layout.
11495
11496 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
11497
11498         * paragraph.h: remove the declaration of undefined counters class
11499         function.
11500
11501 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
11502
11503         * text2.C (setCounter):  fixed enumeration mis-count as reported by
11504         Dr. Richard Hawkins.
11505
11506 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11507
11508         * paragraph_funcs.h: remove some unneeded includes
11509
11510         * text.C (backspace): pasteParagraph now in global scipe
11511
11512         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11513         (pasteSelection): ditto
11514
11515         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11516         * paragraph_funcs.C (pasteParagraph): ... here
11517
11518 2002-08-20  André Pönitz <poenitz@gmx.net>
11519
11520         * commandtags.h: new LFUNs for swapping/copying table row/colums
11521
11522         * LyXAction.C:
11523         * lyxfunc.C: support for new lfuns
11524
11525 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
11526
11527         * tabular.C:
11528         * buffer.[Ch]: remove NO_COMPABILITY stuff
11529
11530 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
11531
11532         * boost.C (throw_exception): new file, with helper function for
11533         boost compiled without exceptions.
11534
11535         * paragraph.h:
11536         * lyxlength.C:
11537         * buffer.C:
11538         * ParameterStruct.h:
11539         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11540
11541         * bufferlist.C (emergencyWriteAll): use boost bind
11542
11543         * BufferView_pimpl.C (moveCursorUpdate): remove inline
11544
11545         * text.C: include paragraph_funcs.h
11546         (breakParagraph): breakParagraph is now in global scope
11547
11548         * paragraph_funcs.[Ch]: new files
11549
11550         * paragraph.C (breakParagraph,breakParagraphConservative): move to
11551         global scope
11552
11553         * buffer.C: include paragraph_funcs.h
11554         (insertStringAsLines): breakParagraph is now in global scope
11555
11556         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11557         paragraph_funcs.C
11558
11559         * CutAndPaste.C: include paragraph_funcs.h
11560         (cutSelection): breakParagraphConservative is now in global scope
11561         (pasteSelection): ditto
11562
11563         * buffer.h: declare oprator== and operator!= for
11564         Buffer::inset_iterator
11565
11566         * bufferlist.C (emergencyWrite): don't use fmt(...)
11567
11568         * text3.C: add using std::endl
11569
11570         * BufferView.C (moveCursorUpdate): remove default arg
11571
11572 2002-08-20  André Pönitz <poenitz@gmx.net>
11573
11574         * buffer.[Ch]: move inline functions to .C
11575
11576         * BufferView2.C:
11577         * BufferView_pimpl.C:
11578         * text.C:
11579         * buffer.[Ch]: use improved inset_iterator
11580
11581         * buffer.C:
11582         * paragraph.[Ch]: write one paragraph at a time
11583
11584 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11585
11586         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11587         style if style is not specified.
11588
11589 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11590
11591         * text2.C (setCounter): when searching for right label for a
11592         caption, make sure to recurse to parent insets (so that a caption
11593         in a minipage in a figure float works) (bug #568)
11594
11595 2002-08-20  André Pönitz <poenitz@gmx.net>
11596
11597         * text3.C: new file for LyXText::dispatch() and helpers
11598
11599         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11600
11601         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11602
11603 2002-08-19  André Pönitz <poenitz@gmx.net>
11604
11605         * lyxtext.h:
11606         * text.C: new LyXText::dispatch()
11607
11608         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11609
11610 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
11611
11612         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11613
11614         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11615         Hebrew text.
11616
11617 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11618
11619         * Makefile.am: use $(variables) instead of @substitutions@
11620
11621 2002-08-15  André Pönitz <poenitz@gmx.net>
11622
11623         * lyxfunc.C:
11624         * BufferView_pimpl.C: streamlining mathed <-> outer world
11625         interaction
11626
11627         * commandtags.h:
11628         * LyXAction.C: remove unused LFUN_MATH
11629
11630 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11631
11632         * paragraph.[Ch]: add some NO_NEXT ifdefs.
11633
11634 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11635
11636         * paragraph.C (Paragraph): reformat a bit
11637         (cutIntoMinibuffer): use builtin InsetList function instad of
11638         doing it manually.
11639         (getInset): ditto
11640
11641         * buffer.C: include boost/bind.hpp, add using std::for_each
11642         (writeFileAscii): use ParagraphList iterators
11643         (validate): use for_each for validate traversal of paragraphs
11644         (getBibkeyList): use ParagraphList iterators
11645         (resizeInsets): use for_each to resizeInsetsLyXText for all
11646         paragraphs.
11647         (getParFromID): use ParagraphList iterators
11648
11649         * BufferView2.C (lockInset): use paragraph list and iterators
11650
11651 2002-08-14  John Levon  <levon@movementarian.org>
11652
11653         * lyxserver.C: remove spurious xforms include
11654
11655 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11656
11657         * lyxfunc.C (getStatus): disable math-extern outside of math mode
11658
11659 2002-08-13  André Pönitz <poenitz@gmx.net>
11660
11661         * LyXAction.[Ch]:
11662         * lyxfunc.C: further cleaning
11663
11664 2002-08-13  André Pönitz <poenitz@gmx.net>
11665
11666         * funcrequest.h: new constructor
11667
11668         * funcrequest.C: move stuff here from .h
11669
11670         * Makefile.am:
11671         * BufferView_pimpl.C:
11672         * LyXAction.C:
11673         * toc.C:
11674         * lyxfunc.C: subsequent changes
11675
11676         * lyxfunc.h: new view() member function
11677
11678         * lyxfunc.C: subsequent changes
11679
11680 2002-08-13  Angus Leeming  <leeming@lyx.org>
11681
11682         * BufferView2.C:
11683         * BufferView_pimpl.C:
11684         * buffer.C:
11685         * converter.C:
11686         * importer.C:
11687         * lyxfunc.C:
11688         * lyxvc.C:
11689         * toc.C:
11690         * vc-backend.C:
11691         changes due to the changed LyXView interface that now returns references
11692         to member variables not pointers.
11693
11694 2002-08-13  Angus Leeming  <leeming@lyx.org>
11695
11696         * WordLangTuple (word, lang_code): return references to strings,
11697         not strings.
11698
11699         * BufferView.h:
11700         * SpellBase.h:
11701         * lyxtext.h: forward-declare WordLangTuple.
11702
11703         * BufferView2.C:
11704         * ispell.C:
11705         * pspell.C:
11706         * text.C: #include "WordLangTuple.h".
11707
11708         * lyxtext.h:
11709         * text.C: (selectNextWordToSpellcheck): constify return type.
11710
11711 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
11712
11713         * buffer.C:
11714         * buffer.h:
11715         * lyxtext.h:
11716         * paragraph.C:
11717         * paragraph_pimpl.h:
11718         * text.C:
11719         * text2.C:
11720         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11721         suggested by Angus.
11722         Made updateCounter always count from start of buffer, and removed
11723         second argument (par).
11724         Reverted floats number display to '#'. Perhaps I'll try again when the
11725         code base is sanitized a bit.
11726
11727 2002-08-12  Angus Leeming  <leeming@lyx.org>
11728
11729         * buffer.[Ch] (getLabelList): constify.
11730
11731 2002-08-07  André Pönitz <poenitz@gmx.net>
11732
11733         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11734
11735         * funcrequest.h: extension to keep mouse (x,y) position
11736
11737 2002-08-12  Juergen Vigna  <jug@sad.it>
11738
11739         * BufferView2.C (insertErrors): forbid undo when inserting error
11740         insets.
11741
11742         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11743
11744 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
11745
11746         * ParagraphList.[Ch]: new files
11747
11748         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11749
11750         * BufferView2.C (lockInset): ParagraphList changes
11751         * toc.C: ditto
11752         * text2.C: ditto
11753         * bufferlist.C: ditto
11754         * buffer.h: ditto
11755         * buffer.C: ditto
11756
11757 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11758
11759         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11760         unused class variable counter_,
11761
11762         * paragraph.[Ch] (getFirstCounter): delete unused function
11763
11764         * counters.C: include LAssert.h
11765         (reset): add a new function with no arg, change other version to
11766         not have def. arg and to not allow empty arg.
11767
11768         * text2.C (setCounter): remove empty arg from call to Counters::reset
11769
11770 2002-08-11  John Levon  <levon@movementarian.org>
11771
11772         * Makefile.am: add WordLangTuple.h
11773
11774 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11775
11776         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11777         lyxfunc.C lyxlex_pimpl.C: ws changes only.
11778
11779         * insets/insettext.C: InsetList changes
11780
11781         * graphics/GraphicsSupport.C (operator()): InsetList changes
11782
11783         * toc.C (getTocList): InsetList changes
11784
11785         * paragraph_pimpl.[Ch]: InsetList changes
11786
11787         * paragraph.[Ch]: InsetList changes
11788
11789         * buffer.C (inset_iterator): InsetList changes
11790         (setParagraph): ditto
11791         * buffer.h (inset_iterator): ditto
11792         * iterators.C (operator++): ditto
11793         * iterators.h: ditto
11794
11795         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11796
11797         * InsetList.[Ch]: new files, most InsetList handling moved out of
11798         paragraph.C.
11799
11800         * BufferView2.C (removeAutoInsets): InsetList changes
11801         (lockInset): ditto
11802         (ChangeInsets): ditto
11803
11804 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
11805
11806         * paragraph_pimpl.h (empty): new function
11807
11808         * paragraph.[Ch] (empty): new function
11809
11810         * other files: use the new Paragraph::empty function
11811
11812 2002-08-09  John Levon  <levon@movementarian.org>
11813
11814         * lyxtext.h: remove unused refresh_height
11815
11816 2002-08-09  John Levon  <levon@movementarian.org>
11817
11818         * Makefile.am:
11819         * sgml.h:
11820         * sgml.C:
11821         * buffer.C:
11822         * paragraph.h:
11823         * paragraph.C: move sgml char escaping out of paragraph
11824
11825         * paragraph.h:
11826         * paragraph.C: remove id setter
11827
11828         * buffer.C:
11829         * paragraph.C:
11830         * paragraph_pimpl.C: remove dead tex_code_break_column
11831
11832         * bufferview_funcs.C: small cleanup
11833
11834         * lyxfunc.C: remove dead proto
11835
11836         * lyxtext.h: make some stuff private. Remove some dead stuff.
11837
11838         * lyxgluelength.C: make as[LyX]String() readable
11839
11840 2002-08-08  John Levon  <levon@movementarian.org>
11841
11842         * LyXAction.h:
11843         * LyXAction.C:
11844         * MenuBackend.C:
11845         * ToolbarDefaults.C:
11846         * lyxfunc.C:
11847         * lyxrc.C:
11848         * toc.C: lyxaction cleanup
11849
11850 2002-08-08  John Levon  <levon@movementarian.org>
11851
11852         * BufferView2.C: small cleanup
11853
11854         * lyxfind.h:
11855         * lyxfind.C: move unnecessary header into the .C
11856
11857 2002-08-08  John Levon  <levon@movementarian.org>
11858
11859         * funcrequest.h: just tedious nonsense
11860
11861         * lyx_main.h:
11862         * lyx_main.C: cleanups
11863
11864         * buffer.C:
11865         * vspace.C: remove dead header lyx_main.h
11866
11867 2002-08-07  Angus Leeming  <leeming@lyx.org>
11868
11869         * Paragraph.[Ch]:
11870         * paragraph_pimpl.h:
11871         Forward declare class Counters in paragraph.h by moving the ctrs member
11872         variable into Paragraph::Pimpl.
11873         (counters): new method, returning a reference to pimpl_->ctrs.
11874
11875         * text2.C: ensuing changes.
11876
11877 2002-08-07  John Levon  <levon@movementarian.org>
11878
11879         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11880
11881         * BufferView_pimpl.C: announce X selection on double/triple
11882           click
11883
11884         * lyx_main.C: use correct bool in batch dispatch
11885
11886         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11887
11888 2002-08-07  André Pönitz <poenitz@gmx.net>
11889
11890         * funcrequest.h: new class to wrap a kb_action and its argument
11891
11892         * BufferView.[Ch]:
11893         * BufferView_pimpl[Ch]:
11894         * LaTeX.C:
11895         * LyXAction.[Ch]:
11896         * lyxfunc.[Ch]:
11897         * lyxrc.C: subsequent changes
11898
11899
11900 2002-08-07  John Levon  <levon@movementarian.org>
11901
11902         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11903           document options change.
11904
11905 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
11906
11907         * counters.[Ch]
11908         * text2.C
11909         * paragraph.[Ch]
11910         * makefile.am: move counters functionality over from
11911         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11912
11913 2002-08-06  John Levon  <levon@movementarian.org>
11914
11915         * WordLangTuple.h: new file for word + language code tuple
11916
11917         * SpellBase.h:
11918         * pspell.h:
11919         * pspell.C:
11920         * ispell.h:
11921         * ispell.C:
11922         * lyxtext.h:
11923         * text.C:
11924         * text2.C:
11925         * BufferView.h:
11926         * BufferView2.C: use WordLangTuple
11927
11928         * layout.h:
11929         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11930
11931 2002-08-06  John Levon  <levon@movementarian.org>
11932
11933         * lyx_main.C: fix cmdline batch handling
11934
11935 2002-08-06  André Pönitz <poenitz@gmx.net>
11936
11937         * lyxrc.C: set default for show_banner to true
11938
11939 2002-08-06  John Levon  <levon@movementarian.org>
11940
11941         * pspell.C: fix a crash, and allow new aspell to work
11942
11943 2002-08-06  John Levon  <levon@movementarian.org>
11944
11945         * lyxfunc.C:
11946         * kbmap.C: small cleanup
11947
11948         * vspace.h:
11949         * vspace.C: add const
11950
11951 2002-08-05  John Levon  <levon@movementarian.org>
11952
11953         * LyXAction.C: back to tabular-insert
11954
11955 2002-08-04  John Levon  <levon@movementarian.org>
11956
11957         * BufferView.h:
11958         * BufferView.C: cosmetic change
11959
11960         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11961
11962         * bufferlist.C:
11963         * buffer.h:
11964         * buffer.C:
11965         * lyxcb.h:
11966         * lyxcb.C:
11967         * lyxserver.C:
11968         * lyxvc.C:
11969         * vc-backend.C:
11970         * BufferView2.C: purge all "Lyx" not "LyX" strings
11971
11972         * lyxcursor.h:
11973         * lyxcursor.C: attempt to add some documentation
11974
11975         * lyxfunc.C:
11976         * commandtags.h:
11977         * LyXAction.C:
11978         * ToolbarDefaults.C:
11979         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11980           merge with LFUN_TABULAR_INSERT
11981
11982         * Makefile.am:
11983         * SpellBase.h:
11984         * ispell.h:
11985         * ispell.C:
11986         * pspell.h:
11987         * pspell.C: split up i/pspell implementations into separate
11988           files, many cleanups
11989
11990         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11991
11992         * text2.C: some cleanup
11993
11994         * lyxfunc.C: don't check for isp_command == "none" any more, it
11995           didn't make any sense
11996
11997 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
11998
11999         * counters.[Ch]
12000         * text2.C
12001         * paragraph.[Ch]
12002         * makefile.am: move counters functionality over
12003         from text2.C/paragraph.[Ch] to counters.[Ch], and
12004         make proper C++.
12005 2002-08-02  John Levon  <levon@movementarian.org>
12006
12007         * buffer.C: s/lyxconvert/lyx2lyx/
12008
12009 2002-08-02  Angus Leeming  <leeming@lyx.org>
12010
12011         * lyxlex.C: revert John's change as it breaks reading of the user
12012         preamble.
12013
12014 2002-08-02  Angus Leeming  <leeming@lyx.org>
12015
12016         * importer.C (Import):
12017         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
12018         changes due to LyXView::view() now returning a boost::shared_ptr.
12019
12020 2002-08-02  John Levon  <levon@movementarian.org>
12021
12022         * lyxlex.C: small cleanup
12023
12024 2002-08-02  John Levon  <levon@movementarian.org>
12025
12026         * text2.C (status): small cleanup, no logic change
12027
12028 2002-08-01  John Levon  <levon@movementarian.org>
12029
12030         * buffer.h:
12031         * buffer.C (writeFile): don't output alerts, caller
12032           handles this
12033
12034         * bufferlist.C:
12035         * lyx_cb.C: from above
12036
12037         * lyxfunc.C: allow to open non-existent files
12038
12039 2002-07-31  John Levon  <levon@movementarian.org>
12040
12041         * lyxserver.C: don't let incidental errors get
12042           in the way (errno)
12043
12044 2002-07-30  John Levon  <levon@movementarian.org>
12045
12046         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
12047
12048 2002-07-30  John Levon  <levon@movementarian.org>
12049
12050         * lyxserver.h:
12051         * lyxserver.C: remove I/O callback too
12052
12053 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12054
12055         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
12056         log.
12057
12058 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
12059
12060         * many files: strip,frontStrip -> trim,ltrim,rtrim
12061
12062 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
12063
12064         * PrinterParams.h: remove extern containsOnly, and include
12065         support/lstrings.h instead.
12066
12067         * LaTeX.C (scanAuxFile): modify because of strip changes
12068         (deplog): ditto
12069         * buffer.C (makeLaTeXFile): ditto
12070         * bufferparams.C (writeFile): ditt
12071         * lyxfont.C (stateText): ditto
12072         * lyxserver.C (read_ready): ditto
12073         * vc-backend.C (scanMaster): ditto
12074
12075         * BufferView_pimpl.h: ws changes
12076
12077         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
12078
12079 2002-07-26  André Pönitz <poenitz@gmx.net>
12080
12081         * kb_sequence.C: remove unnedred usings
12082
12083 2002-07-26  Juergen Vigna  <jug@sad.it>
12084
12085         * lyxfind.C (LyXReplace): we have to check better if the returned
12086         text is not of theLockingInset()->getLockingInset().
12087
12088 2002-07-25  Juergen Vigna  <jug@sad.it>
12089
12090         * lyxfind.C (LyXReplace): don't replace if we don't get the
12091         right LyXText.
12092
12093         * undo_funcs.C (createUndo): remove debugging code.
12094
12095 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
12096
12097         * buffer.C (parseSingleLyXformat2Token): Use default placement
12098         when reading old floats.
12099
12100         * FloatList.C (FloatList): Change the default placement of figure
12101         and tables to "tbp".
12102
12103 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
12104
12105         * MenuBackend.C: using std::max
12106
12107 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12108
12109         * MenuBackend.C (expandToc):
12110         (expandToc2): code moved from xforms menu frontend. It is now
12111         generic and TOCs are transparent to menu frontends.
12112
12113 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12114
12115         * toc.C (getTocList): protect against buf=0
12116
12117         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
12118         Menu as first parameter. Now, this calls itself recursively to
12119         expand a whole tree (this will be useful for TOC handling)
12120         (expandFloatInsert): remove 'wide' version of floats
12121
12122         * MenuBackend.h (submenuname): returns the name of the submenu.
12123         (submenu): returns the submenu itself, provided it has been
12124         created by MenuBackend::expand
12125
12126 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12127
12128         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
12129         insets which have noFontChange == true. (bug #172)
12130
12131 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12132
12133         * BufferView_pimpl.C: add connection objects and use them...
12134         (Pimpl): here.
12135
12136 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12137
12138         * MenuBackend.C (expandLastfiles):
12139         (expandDocuments):
12140         (expandFormats):
12141         (expandFloatListInsert):
12142         (expandFloatInsert):
12143         (expand): split expand in parts
12144
12145 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
12146
12147         * lyx_gui.C: use lyx_gui::exit()
12148
12149 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
12150
12151         * LyXAction.C: show the failing pseudo action
12152
12153 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
12154
12155         * buffer.C (readFile): Run the lyxconvert script in order to read
12156         old files.
12157
12158 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
12159
12160         * LyXAction.C:
12161         * commandtags.h:
12162         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
12163
12164 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
12165
12166         * LyXAction.C:
12167         * commandtags.h:
12168         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
12169
12170 2002-07-22  Herbert Voss  <voss@lyx.org>
12171
12172         * lengthcommon.C:
12173         * lyxlength.[Ch]: add support for the vertical lengths
12174
12175 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
12176
12177         * toc.[Ch]: std:: fixes
12178
12179 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12180
12181         * lyxrc.C: do not include lyx_main.h
12182
12183         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
12184         for layouts
12185
12186         * lyxrc.C:
12187         * encoding.C:
12188         * bufferlist.C:
12189         * BufferView2.C: include "lyxlex.h"
12190
12191         * tabular.h:
12192         * bufferparams.h: do not #include "lyxlex.h"
12193
12194         * lyxtextclasslist.C (Add): remove method
12195         (classlist): renamed to classlist_
12196
12197         * paragraph_pimpl.C:
12198         * paragraph.C:
12199         * text2.C:
12200         * CutAndPaste.C:
12201         * bufferview_funcs.C:
12202         * bufferlist.C:
12203         * text.C:
12204         * LaTeXFeatures.C:
12205         * buffer.C:
12206         * toc.C (getTocList): use BufferParams::getLyXTextClass
12207
12208         * toc.C (getTocList): use InsetFloat::addToToc
12209
12210         * toc.[Ch]: new files, containing helper functions to handle table
12211         of contents
12212
12213         * lyxfunc.C (dispatch): no need to remove spaces around command
12214         given as a string
12215         (getStatus): handle LFUN_SEQUENCE by returning the status of the
12216         first command of the sequence; it is not very clever, but I do not
12217         have a better idea, actually
12218
12219         * LyXAction.C (LookupFunc): make sure to remove space at the
12220         beginning and end of the command
12221
12222 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12223
12224         * MenuBackend.C (getMenubar): new method: return the menubar of
12225         this menu set
12226         (read): treat differently reading of menu and menubar (in
12227         particular, the menubar has no name now)
12228         (Menu::menubar): remove
12229
12230         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
12231         saving is finished
12232
12233 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
12234
12235         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
12236         a bibitem inset in a RTL paragraph.
12237
12238 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
12239
12240         * paragraph_pimpl.C: constify
12241
12242         * BufferView_pimpl.C:
12243         * LaTeX.C:
12244         * lyxfunc.C: fix dispatch in a nicer way
12245
12246 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12247
12248         * lyxfunc.C (dispatch):
12249         * BufferView_pimpl.C:
12250         * BufferView_pimpl.h:
12251         * BufferView.C:
12252         * BufferView.h: rename Dispatch() to dispatch()
12253
12254         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
12255
12256         * lyxlayout.C (Read): honor DependsOn tag
12257
12258         * lyxlayout.[Ch] (depends_on): new method
12259
12260         * version.C.in: update lyx_docversion
12261
12262         * LaTeXFeatures.C (getMacros): only define \LyX when needed
12263
12264         * paragraph.C (validate): remove from here...
12265         * paragraph_pimpl.C (validate): ... and move here
12266         (isTextAt): make it const
12267
12268         * buffer.C (getLists): ws cleanup
12269
12270 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
12271
12272         * language.C (read): Use iso8859-1 encoding in latex_lang
12273         (this prevents LyX from crashing when using iso10646-1 encoding).
12274
12275 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12276
12277         * text2.C (toggleInset): if cursor is inside an inset, close the
12278         inset and leave cursor _after_ it
12279
12280 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
12281
12282         * lyxfunc.C: move minibuffer completion handling out of here
12283
12284 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
12285
12286         * BufferView_pimpl.C:
12287         * LaTeX.C: fix dispatch calls
12288
12289 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
12290
12291         * text.C (drawChars): Fix Arabic text rendering.
12292
12293 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
12294
12295         * LyXAction.C:
12296         * commandtags.h:
12297         * lyxfunc.C: remove message-push/pop
12298
12299         * lyxserver.C:
12300         * lyxfunc.h:
12301         * lyxfunc.C: rationalise some code by removing verboseDispatch
12302           in favour of a bool argument to dispatch()
12303
12304 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12305
12306         * lyx_main.C (init): make sure to read symlinks as absolute paths
12307
12308 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12309
12310         * lyxfunc.h:
12311         * lyxfunc.C: no need for commandshortcut to be a member
12312
12313 2002-07-15  André Pönitz <poenitz@gmx.net>
12314
12315         * converter.C: add support for $$s (scripts from lib/scripts dir)
12316         * lyx_main.C: white space
12317
12318 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12319
12320         * bufferlist.C:
12321         * lyxrc.h:
12322         * lyxrc.C: remove second exit confirmation
12323
12324 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12325
12326         * BufferView.h:
12327         * BufferView.C:
12328         * BufferView2.C:
12329         * BufferView_pimpl.h:
12330         * BufferView_pimpl.C:
12331         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
12332
12333 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12334
12335         * MenuBackend.C (expand): add numeric shortcuts to document menu
12336
12337         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
12338
12339 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12340
12341         * lyxfont.C (setLyXFamily):
12342         (setLyXSeries):
12343         (setLyXShape):
12344         (setLyXSize):
12345         (setLyXMisc):
12346         (lyxRead):
12347         * debug.C (value):
12348         * buffer.C (asciiParagraph): use ascii_lowercase
12349
12350 2002-07-15  Mike Fabian  <mfabian@suse.de>
12351
12352         * lyxlex_pimpl.C (search_kw):
12353         * lyxlex.C (getLongString):
12354         * converter.h (operator<):
12355         * converter.C (operator<):
12356         * buffer.C (parseSingleLyXformat2Token):
12357         (asciiParagraph):
12358         * ToolbarDefaults.C (read):
12359         * MenuBackend.C (checkShortcuts):
12360         (read):
12361         * LColor.C (getFromGUIName):
12362         (getFromLyXName): use the compare_ascii_no_case instead of
12363         compare_no_case, because in turkish, 'i' is not the lowercase
12364         version of 'I', and thus turkish locale breaks parsing of tags.
12365
12366 2002-07-16  Angus Leeming  <leeming@lyx.org>
12367
12368         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
12369         now takes a Buffer const & argument.
12370
12371 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
12372
12373         * BufferView.C (resize): check there's a buffer to resize
12374
12375 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
12376
12377         * lyxfunc.C: remove dead code
12378
12379         * lyxserver.h:
12380         * lyxserver.C: use lyx_guii::set_read_callback
12381
12382 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12383
12384         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
12385         an inset in a RTL paragraph.
12386
12387 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12388
12389         * lyxfunc.C: repaint after a font size update
12390
12391 2002-07-15  André Pönitz <poenitz@gmx.net>
12392
12393         * lyxlength.C: inBP should be able to return negative values
12394
12395 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12396
12397         * lyxfunc.C: use lyx_gui::update_fonts()
12398
12399 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12400
12401         * lyxfunc.C: use lyx_gui::update_color()
12402
12403 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
12404
12405         * bufferlist.C:
12406         * lyxfunc.h:
12407         * lyxfunc.C:
12408         * lyxrc.h:
12409         * lyxrc.C: remove file->new asks for name option, and let
12410           buffer-new take an argument
12411
12412 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
12413
12414         * BufferView_pimpl.C: remove unneeded extra repaint()
12415
12416 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
12417
12418         * LyXAction.C: allow command-sequence with NoBuffer
12419
12420         * lyxfunc.C: don't insist on trailing ';' for command-sequence
12421
12422 2002-07-10  Angus Leeming  <leeming@lyx.org>
12423
12424         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
12425
12426 2002-07-09  Angus Leeming  <leeming@lyx.org>
12427
12428         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
12429
12430 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12431
12432         * lengthcommon.h: whitespace
12433
12434         * lyxfunc.C: update scrollbar after goto paragraph
12435
12436         * lyxtext.h: factor out page break drawing, and fix it so
12437           page break/added space paints as selected nicely
12438
12439 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12440
12441         * BufferView_pimpl.C: add FIXMEs, clean up a little
12442
12443 2002-07-09  André Pönitz <poenitz@gmx.net>
12444
12445         * lyxfont.[Ch]: support for wasy symbols
12446
12447 2002-07-08  André Pönitz <poenitz@gmx.net>
12448
12449         * BufferView_pimpl.C: apply John's patch for #93.
12450
12451 2002-07-05  Angus Leeming  <leeming@lyx.org>
12452
12453         * BufferView_pimpl.C (buffer): generate previews if desired.
12454
12455         * LColor.h: add "preview" to the color enum.
12456
12457         * LColor.C (LColor): add a corresponding entry to the items array.
12458
12459         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12460         with this buffer.
12461
12462 2002-07-05  Angus Leeming  <leeming@lyx.org>
12463
12464         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12465         The body of the code is now in the method that is passed an ostream &
12466         rather than a file name.
12467         Pass an additional only_preamble parameter, useful for the forthcoming
12468         preview stuff.
12469
12470 2002-07-03  André Pönitz <poenitz@gmx.net>
12471
12472         * lyxfunc.C: simplify getStatus() a bit for math stuff
12473
12474 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12475
12476         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12477
12478 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12479
12480         * text.C (changeRegionCase): do not change case of all the
12481         document when region ends at paragraph end (bug #461)
12482
12483 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12484
12485         * paragraph.C (startTeXParParams):
12486         (endTeXParParams): add \protect when necessary
12487
12488 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12489
12490         * BufferView_pimpl.C (workAreaExpose): remove warning
12491
12492 2002-06-27  Angus Leeming  <leeming@lyx.org>
12493
12494         * Makefile.am: add lyxlayout_ptr_fwd.h.
12495
12496 2002-06-26  André Pönitz <poenitz@gmx.net>
12497
12498         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12499
12500 2002-06-25  Angus Leeming  <leeming@lyx.org>
12501
12502         * lyxfunc.C (dispatch): Comment out the call to
12503         grfx::GCache::changeDisplay. The method no longer exists now that the
12504         pixmap generation part of the graphics loader has been moved into
12505         InsetGraphics.
12506
12507 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12508
12509         * text2.C: layout as layout
12510
12511         * text.C: layout as layout
12512
12513         * tabular.C (OldFormatRead): layout as layout
12514
12515         * paragraph_pimpl.C (TeXDeeper): layout as layout
12516         (realizeFont): layout as layout
12517
12518         * paragraph.C (writeFile): layout as layout
12519         (validate): layout as layout
12520         (getFont): layout as layout
12521         (getLabelFont): layout as layout
12522         (getLayoutFont): layout as layout
12523         (breakParagraph): layout as layout
12524         (stripLeadingSpaces): layout as layout
12525         (getEndLabel): layout as layout
12526         (getMaxDepthAfter): layout as layout
12527         (applyLayout): layout as layout
12528         (TeXOnePar): layout as layout
12529         (simpleTeXOnePar): layout as layout
12530         (TeXEnvironment): layout as layout
12531         (layout): layout as layout
12532         (layout): layout as layout
12533
12534         * lyxtextclass.C (compare_name): new functor to work with
12535         shared_ptr, layout as layout
12536         (Read): layout as layout
12537         (hasLayout): layout as layout
12538         (operator): layout as layout
12539         (delete_layout): layout as layout
12540         (defaultLayout): layout as layout
12541
12542         * lyxlayout_ptr_fwd.h: new file
12543
12544         * lyxlayout.C (Read): layout as layout
12545
12546         * lyx_cb.C (MenuInsertLabel): layout as layout
12547
12548         * bufferlist.C (newFile): layout as layout
12549
12550         * buffer.C (readLyXformat2): layout as layout
12551         (parseSingleLyXformat2Token): layout as layout
12552         (insertStringAsLines): layout as layout
12553         (asciiParagraph): layout as layout
12554         (latexParagraphs): layout as layout
12555         (makeLinuxDocFile): layout as layout
12556         (simpleLinuxDocOnePar): layout as layout
12557         (makeDocBookFile): layout as layout
12558         (simpleDocBookOnePar): layout as layout
12559         (getLists): layout as layout
12560
12561         * LaTeXFeatures.C (getTClassPreamble): layout as layout
12562
12563         * CutAndPaste.C (cutSelection): layout as layout
12564         (pasteSelection): layout as layout
12565         (SwitchLayoutsBetweenClasses): layout as layout
12566
12567         * BufferView_pimpl.C (Dispatch): layout as layout
12568         (smartQuote): layout as layout
12569
12570         * BufferView2.C (unlockInset): layout as layout
12571
12572 2002-06-24  André Pönitz <poenitz@gmx.net>
12573
12574         * lyxfunc.C: fix #487
12575
12576 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12577
12578         * lyxrc.h:
12579         * lyxrc.C:
12580         * lyxfunc.C: remove display_shortcuts, show_banner
12581
12582 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12583
12584         * Buffer_pimpl.C: oops, update on resize
12585
12586 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12587
12588         * buffer.C:
12589         * converter.C:
12590         * exporter.C:
12591         * lyxfunc.C:
12592         * BufferView.h:
12593         * BufferView.C: use repaint()
12594
12595         * BufferView_pimpl.h:
12596         * BufferView_pimpl.C: s/updateScreen()/repaint()/
12597           as it's a clearer description. Remove superfluous
12598           redraws.
12599
12600 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12601
12602         * text.C: fix bug 488. Not ideal, but getting
12603           getWord() to work properly for the insets that
12604           matter is more difficult ...
12605
12606 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12607
12608         * BufferView_pimpl.C:
12609         * LyXAction.C:
12610         * commandtags.h:
12611         * lyxfunc.C: remove the six million index lyxfuncs to just
12612           one, and DTRT (bug 458)
12613
12614 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12615
12616         * BufferView.h:
12617         * BufferView.C:
12618         * BufferView_pimpl.h:
12619         * BufferView_pimpl.C: clean up resize() stuff,
12620           and unnecessary updateScreen()s
12621
12622 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12623
12624         * BufferView.h:
12625         * BufferView.C:
12626         * BufferView_pimpl.h:
12627         * BufferView_pimpl.C:
12628         * lyxfind.h:
12629         * lyxfind.C:
12630         * minibuffer.C: remove focus management of workarea,
12631           not needed. Use screen's greyOut()
12632
12633 2002-06-17  Herbert Voss  <voss@lyx.org>
12634
12635         * converter.C: (convert) do not post a message, when converting
12636         fails, let the calling function decide what to do in this case
12637
12638 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
12639
12640         * lyxfunc.C: tidy up a little
12641
12642 2002-06-16    <alstrup@diku.dk>
12643
12644         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12645         Got rid of FORMS_H_LOCATION include. Now we are
12646         GUII.
12647
12648 2002-06-15  LyX Development team  <lyx@rilke>
12649
12650         * buffer.[Ch] (sgmlOpenTag):
12651         (sgmlCloseTag): Added support for avoiding pernicious mixed
12652         content. Return number of lines written.
12653
12654         (makeLinuxDocFile):
12655         (makeDocBookFile): Fixed calls to sgml*Tag.
12656         Simple white space clean.
12657
12658         (simpleDocBookOnePar): Simple white space clean.
12659
12660         * tabular.[Ch] (docBook): Renamed to docbook and got another
12661         argument to related with the pernicious mixed content.
12662
12663         (docbookRow): Fixed calls for docbook inset method.
12664
12665 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
12666
12667         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12668         so it's X11 independent.
12669
12670         * kb*.[Ch]: ditto.
12671
12672         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12673
12674 2002-06-15  Lyx Development team  <lyx@electronia>
12675
12676         * intl.h: Renamed getTrans to getTransManager.
12677
12678 2002-06-14  Angus Leeming  <leeming@lyx.org>
12679
12680         * Makefile.am: nuke forgotten stl_string_fwd.h.
12681
12682 2002-06-12  Angus Leeming  <leeming@lyx.org>
12683
12684         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12685
12686 2002-06-13  Angus Leeming  <leeming@lyx.org>
12687
12688         * LaTeX.C:
12689         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12690
12691 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
12692
12693         * kbmap.C (getiso): add support for cyrillic and greek
12694
12695 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12696
12697         * BufferView.h:
12698         * BufferView.C:
12699         * BufferView_pimpl.h:
12700         * BufferView_pimpl.C: move bogus scrolling logic
12701           to xforms
12702
12703 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12704
12705         * lyxfunc.C:
12706         * BufferView_pimpl.C: view->resize() change
12707
12708 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12709
12710         * BufferView_pimpl.C: topCursorVisible
12711           prototype change
12712
12713 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12714
12715         * Makefile.am:
12716         * lyx_gui.h:
12717         * lyx_gui.C: move to frontends/
12718
12719         * main.C:
12720         * lyx_main.h:
12721         * lyx_main.C: changes from above
12722
12723 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12724
12725         * intl.C:
12726         * intl.h:
12727         * kbmap.C:
12728         * kbsequence.C:
12729         * lyx_cb.C:
12730         * lyx_main.C: minor tidy
12731
12732 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12733
12734         * BufferView_pimpl.h:
12735         * BufferView_pimpl.C:
12736         * BufferView.h:
12737         * BufferView.C: make painter() const,
12738           remove dead code
12739
12740         * BufferView2.C: use screen() accessor
12741
12742         * lyx_main.h:
12743         * lyx_main.C: some minor cleanup
12744
12745 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12746
12747         * BufferView_pimpl.h:
12748         * BufferView_pimpl.C: remove enter/leaveView,
12749           use workHeight()
12750
12751 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12752
12753         * BufferView.h:
12754         * BufferView.C:
12755         * BufferView2.C:
12756         * BufferView_pimpl.h:
12757         * BufferView_pimpl.C: only construct screen once,
12758           rename
12759
12760         * lyxrc.C: remove pointless comment
12761
12762 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12763
12764         * BufferView.h:
12765         * BufferView.C: remove active() and belowMouse()
12766
12767         * BufferView_pimpl.h:
12768         * BufferView_pimpl.C: use workarea() not workarea_,
12769           and make it use a scoped_ptr instead
12770
12771 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12772
12773         * lyx_gui.C: add debug message on BadWindow
12774
12775 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12776
12777         * sp_spell.C: fdopen is not part of the C++ standard.
12778
12779         * paragraph.C (InsetIterator): use >= instead of ==
12780
12781 2002-06-07  Angus Leeming  <leeming@lyx.org>
12782
12783         Fixes needed to compile with Compaq cxx 6.5.
12784         * BufferView_pimpl.C:
12785         * DepTable.C:
12786         * buffer.C:
12787         * converter.C:
12788         * encoding.C:
12789         * lyx_gui.C:
12790         * lyx_main.C:
12791         * lyxtextclasslist.C:
12792         * minibuffer.C:
12793         * sp_spell.C:
12794         * tabular_funcs.C:
12795         * vc-backend.C:
12796         all c-library variables have been moved into namespace std. Wrap
12797         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12798
12799         * lyxlength.C:
12800         * tabular-old.C:
12801         * tabular.C:
12802         Add a using std::abs declaration.
12803
12804         * kbmap.h (modifier_pair):
12805         * paragraph.h (InsetTable, InsetList):
12806         * lyxfont.h (FontBits):
12807         type definition made public.
12808
12809         * bufferlist.C (emergencyWriteAll): the compiler complains that
12810         there is more than one possible lyx::class_fun template to choose from.
12811         I re-named the void specialisation as lyx::void_class_fun.
12812
12813         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12814
12815         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12816         the compiler is is unable to find tostr in write_attribute.
12817
12818 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12819
12820         * buffer.C (sgmlError): hide #warning
12821
12822 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12823
12824         * xtl/*: get rid of xtl, which is not in use anyway
12825
12826         * LyXAction.C (init):
12827         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12828         were unimplemented xtl experimentation
12829
12830 2002-06-04  André Pönitz <poenitz@gmx.net>
12831
12832         * lyxfunc.C: disable array operation on simple formulae
12833
12834 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
12835
12836         * converter.C: constify a bit
12837
12838 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
12839
12840         * lyx_gui.C: check xforms version correctly
12841
12842 2002-04-30  Herbert Voss  <voss@lyx.org>
12843
12844         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12845         "keep" option
12846
12847 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
12848
12849         * lyxvc.C: fix bug 416 (make sure buffer is saved before
12850           attempt to register it with a VCS)
12851
12852 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12853
12854         * lyx_main.C (init): honor variables LYX_DIR_13x and
12855         LYX_USERDIR_13x
12856
12857 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12858
12859         * buffer.h:
12860         * buffer.C:
12861         * lyx_main.C: fix a crash on bad command line,
12862           and give a useful exit status on error
12863
12864         * lyxfunc.C (doImport): allow -i lyx to work
12865
12866 2002-03-30  André Pönitz <poenitz@gmx.net>
12867
12868         * lyxfunc.C: mathed font changes
12869
12870 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12871
12872         * LaTeX.C:
12873         * importer.h:
12874         * importer.C:
12875         * lyx_sty.h:
12876         * lyx_sty.C:
12877         * lyxlex.C:
12878         * lyxrow.h:
12879         * lyxtext.h:
12880         * paragraph.h:
12881         * paragraph.C:
12882         * texrow.h:
12883         * texrow.C:
12884         * text.C:
12885         * trans_mgr.h: srcdocs, and some minor cleanups
12886
12887 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12888
12889         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12890         call getFont all the time)
12891
12892 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12893
12894         * switch from SigC signals to boost::signals
12895
12896 2002-05-29  André Pönitz <poenitz@gmx.net>
12897
12898         * paragraph_pimpl.C (getChar): don't call size() too often...
12899
12900 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12901
12902         * paragraph_pimpl.C (insertChar): do not try to update tables when
12903         appending (pos == size())
12904
12905         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12906         in order to reduce drastically the number of comparisons needed to
12907         parse a large document
12908
12909 2002-05-29  André Pönitz <poenitz@gmx.net>
12910
12911         * text.C:
12912         * text2.C:
12913         * lyxtextclass.C:
12914         * sp_pspell.h:
12915         * textclasslist.[Ch]:
12916         * sp_ispell.h: whitespace change
12917
12918 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12919
12920         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12921         lyxaction directly now.
12922
12923 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
12924
12925         * trans.C:
12926         * lyxfont.C:
12927         * lyxvc.C: remove unused headers
12928
12929 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12930
12931         * Makefile.am:
12932         * buffer.h:
12933         * undostack.h:
12934         * undostack.C:
12935         * undo_funcs.h:
12936         * undo_funcs.C: some cleanups. Use shared_ptr
12937           and a template for the undo stacks.
12938
12939 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12940
12941         * BufferView_pimpl.h:
12942         * BufferView_pimpl.C:
12943         * kbmap.h:
12944         * kbmap.C:
12945         * kbsequence.h:
12946         * kbsequence.C:
12947         * lyxfunc.h:
12948         * lyxfunc.C:
12949         * text2.C: use key_state/mouse_state
12950
12951 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12952
12953         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12954         and LSubstring
12955
12956         * chset.C: change include order
12957         (loadFile): use boost regex and get rid of LRegex and LSubstring
12958
12959         * Makefile.am (BOOST_LIBS): new variable
12960         (lyx_LDADD): use it
12961
12962         * LaTeX.C: change include order.
12963         (scanAuxFile): use boost regex and get rid of LRegex and
12964         LSubstring
12965         (deplog): ditto
12966
12967 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12968
12969         * ColorHandler.h:
12970         * ColorHandler.C:
12971         * FontInfo.h:
12972         * FontInfo.C: moved to frontends/xforms/
12973
12974         * FontLoader.h:
12975         * FontLoader.C: moved into frontends for GUIIzation
12976
12977         * Makefile.am:
12978         * lyx_gui.C:
12979         * lyxfont.C:
12980         * lyxfunc.C: changes from above
12981
12982 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12983
12984         * LColor.C: remove spurious X include
12985
12986         * BufferView_pimpl.C:
12987         * Makefile.am:
12988         * font.h:
12989         * font.C:
12990         * text.C:
12991         * text2.C: move font metrics to frontends/
12992
12993 2002-05-24  Juergen Vigna  <jug@sad.it>
12994
12995         * undo_funcs.C (textHandleUndo): fix the cursor selection after
12996         setting the undo_cursor.
12997
12998         * ParagraphParameters.h: include local includes first.
12999
13000 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
13001
13002         * BufferView_pimpl.C:
13003         * BufferView_pimpl.h:
13004         * Makefile.am:
13005         * WorkArea.h:
13006         * WorkArea.C:
13007         * screen.C: move WorkArea into frontends/
13008
13009         * lyxscreen.h:
13010         * screen.C:
13011         * text.C:
13012         * BufferView.C:
13013         * BufferView2.C: move LyXScreen into frontends/
13014
13015         * lyxlookup.h:
13016         * lyxlookup.C:
13017         * lyx_gui.C: move lyxlookup into frontends/xforms/
13018
13019 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
13020
13021         * BufferView2.C:
13022         * BufferView_pimpl.C:
13023         * FontLoader.C:
13024         * LyXView.h:
13025         * LyXView.C:
13026         * Makefile.am:
13027         * WorkArea.C:
13028         * XFormsView.h:
13029         * XFormsView.C:
13030         * buffer.C:
13031         * bufferlist.C:
13032         * bufferview_funcs.C:
13033         * converter.C:
13034         * importer.C:
13035         * lyx_cb.C:
13036         * lyx_gui.C:
13037         * lyx_main.C:
13038         * lyx_find.C:
13039         * lyxfunc.C:
13040         * lyxvc.C:
13041         * minibuffer.C:
13042         * text.C:
13043         * text2.C:
13044         * trans.C:
13045         * vc-backend.C: move LyX/XFormsView into frontends/
13046
13047 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
13048
13049         * Makefile.am:
13050         * PainterBase.C:
13051         * PainterBase.h:
13052         * Painter.C:
13053         * Painter.h:
13054         * WorkArea.C:
13055         * WorkArea.h:
13056         * screen.C:
13057         * tabular.C:
13058         * text.C:
13059         * text2.C: move Painter to frontends/
13060
13061 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13062
13063         * buffer.C: comment out some some code that depend upon lyx_format
13064         < 220
13065
13066         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
13067         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
13068
13069         * buffer.h (NO_COMPABILITY): turn off compability
13070
13071         * ColorHandler.C: include scoped_array.hpp
13072
13073         * font.C: Use more specific smart_ptr header.
13074         * Painter.C: ditto
13075         * gettext.C: ditto
13076         * ShareContainer.h: ditto
13077         * lyx_main.h: ditto
13078         * kbmap.h: ditto
13079         * FontInfo.h: ditto
13080         * BufferView_pimpl.h: ditto
13081         * ColorHandler.h: ditto
13082
13083         * kbmap.C (defkey): change call to shared_ptr::reset
13084
13085 2002-05-21  Juergen Vigna  <jug@sad.it>
13086
13087         * buffer.C (insertErtContents): fix to insert ert asis if it is
13088         non empty. Skip it completely if it contains only whitespaces.
13089
13090 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
13091
13092         * BufferView_pimpl.C:
13093         * BufferView2.C: clear selection on paste (bug 393)
13094
13095 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13096
13097         * DepTable.C: include ctime
13098
13099 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
13100
13101         * buffer.C (latexParagraphs): Add new argument (moving_arg).
13102
13103 2002-05-14  Juergen Vigna  <jug@sad.it>
13104
13105         * text.C (breakParagraph): fixed function to honor the keepempty
13106         layout in the right maner and also to permit the right breaking
13107         algorithm on empty or non empyt keepempty paragraphs.
13108
13109         * paragraph.C (breakParagraph): we have to check also if the par
13110         is really empty (!size()) for isempty otherwise we do the wrong
13111         paragraph break.
13112
13113 2002-05-10  Juergen Vigna  <jug@sad.it>
13114
13115         * buffer.[Ch] : The following are only changes to the ert
13116         compatibility read reading old LaTeX layout and font stuff and
13117         convert it to ERTInsets.
13118
13119         * buffer.h: added isErtInset().
13120
13121         * buffer.C (struct ErtComp): add a fromlayout bool to check
13122         if we're inside a LaTeX layout.
13123         (isErtInset): new helper function.
13124         (insertErtContents): look for other ert insets before this one
13125         and insert the contents there, so that we don't have subsequent
13126         ERT insets with nothing between them. This way we create only one
13127         inset with multiple paragraphs. Also check if we don't insert only
13128         spaces ' ' as they are ignored anyway afterwards in the .tex file
13129         so if we have only spaces we will ignore this latex part in the
13130         new file.
13131         (parseSingleLyXformat2Token \\layout): better compatibility when
13132         reading layout-latex stuff.
13133         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
13134         language tag.
13135         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
13136         stuff after reading the inset only get the information back from
13137         the stack.
13138
13139 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
13140
13141         * buffer.C (makeLaTeXFile): Put language options after loading babel.
13142
13143         * LaTeXFeatures.C (getBabelOptions): New method.
13144
13145 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13146
13147         * BufferView_pimpl.C (Dispatch): work around missing argument for
13148         'layout'
13149
13150 2002-05-08  Juergen Vigna  <jug@sad.it>
13151
13152         * text.C (leftMargin): handle paragraph leftindent.
13153
13154         * paragraph.C (writeFile): write the new \\leftindent tag.
13155         (validate): handle leftindent code.
13156         (TeXEnvironment): handle paragraphleftindent code again.
13157
13158         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
13159
13160         * buffer.C (parseSingleLyXformat2Token): added compatibility code
13161         for paragrap_extra indent code and new token \\leftindent.
13162         (latexParagraphs): handle the leftindent as environment.
13163
13164         * ParameterStruct.h: added leftindent support.
13165
13166         * ParagraphParameters.C (leftIndent): added support functions for
13167         the paragraph left indent.
13168
13169         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
13170         more appropriate.
13171
13172 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
13173
13174         * paragraph.C (isRightToLeftPar): Return false for a paragraph
13175         inside insetERT.
13176
13177         * text.C (computeBidiTables): No bidi in insetERT.
13178
13179         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
13180         in RTL documents.
13181
13182 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13183
13184         * version.C.in: pre 5
13185
13186 2002-05-02  José Matos  <jamatos@fep.up.pt>
13187         * buffer.C (makeDocBookFile): white space changes, add newline to
13188         command styles.
13189         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
13190
13191         * tabular.C (docBook): fix typo.
13192
13193 2002-05-03  Juergen Vigna  <jug@sad.it>
13194
13195         * screen.C (drawFromTo): recalculate the rowpointer if we had a
13196         change in LyXText as we can not be sure it was not freed.
13197         (drawOneRow): remove unused code.
13198
13199         * text.C (drawInset): redo the calculation of the need_break_row as
13200         it could have a row which was already freed.
13201         (draw): look at the return value of drawInset and return false if
13202         it also returned false.
13203         (paintRowText): look at the return value of draw and return false if
13204         it also returned false.
13205
13206         * lyxtext.h: added bool return type to drawInset() and draw() so that
13207         if we have a change in the row so that the rowbreak has to be redone
13208         we abort drawing as it will be called again.
13209
13210 2002-05-02  Juergen Vigna  <jug@sad.it>
13211
13212         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
13213         a change in the maintext also if we're inside an inset.
13214         (Dispatch): set the cursor again after a break line and after the
13215         screen has been updated as it could be we're in a different row.
13216
13217         * text2.C (fixCursorAfterDelete): check to make sure we don't request
13218         to set the cursor behind the pargraph with > size().
13219         (setCursor): check also for the same paragraph when checking where
13220         to put the cursor if we have a NFR inset.
13221
13222         * buffer.C (parseSingleLyXformat2Token): move the compatibility
13223         parts of layout read further up as it still was in the wrong
13224         position.
13225
13226 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13227
13228         * screen.C (drawFromTo): change sine fullRebreak always return
13229         true.
13230
13231         * buffer.C (parseSingleLyXformat2Token): reindent some
13232
13233         * BufferView_pimpl.C (update): change since fullRebreak always
13234         return true.
13235         (Dispatch): git rid of the last hardcoded "Standard"s.
13236
13237 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13238
13239         * text2.[Ch] (fullRebreak): make it return void now that we always
13240         returned true.
13241
13242 2002-04-30  Juergen Vigna  <jug@sad.it>
13243
13244         * buffer.C (parseSingleLyXformat2Token): reset the font before the
13245         ert compatibility check for "latex" layout.
13246
13247 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
13248
13249         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
13250         minipages: use col% instead of p%, and also use the current font.
13251         (makeLaTeXFile): Fix use babel condition.
13252         (parseSingleLyXformat2Token): Correct font when reading old floats.
13253
13254 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
13255
13256         * BufferView_pimpl.C (Dispatch): Check that float type exists when
13257         inserting list of floats.
13258
13259 2002-04-25  Herbert Voss  <voss@lyx.org>
13260
13261         * MenuBackend.C (expand): don't add the graphics extensions to the
13262         export menu
13263
13264 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13265
13266         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
13267         non-existing layout, do not complain if it was the default layout
13268         of the original class (bug #342)
13269
13270 2002-04-24  Juergen Vigna  <jug@sad.it>
13271
13272         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
13273         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
13274
13275 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
13276
13277         * buffer.C (getBibkeyList): If using \bibliography, return the
13278         option field with the reference itself. Enables us to provide natbib
13279         support when using \bibliography.
13280
13281 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
13282
13283         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
13284
13285         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
13286         natbib is provided by the LaTeX class.
13287
13288 2002-04-23  Juergen Vigna  <jug@sad.it>
13289
13290         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
13291         Wakeup functions.
13292
13293         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
13294
13295 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13296
13297         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
13298
13299         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
13300         ensuremath around textordmasculine, textordfeminine and
13301         textdegree.
13302
13303 2002-04-19  Juergen Vigna  <jug@sad.it>
13304
13305         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
13306         reinitializing the buffer otherwise row-dimensions may be wrong.
13307         (update): reset also the selection cursors if they do exits otherwise
13308         their x/y positions may be wrong.
13309
13310         * text2.C (cursorDown): don't enter the inset if we came from a row
13311         above and are one row over the inset.
13312
13313         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
13314         really leaving an inset.
13315
13316 2002-04-18  Juergen Vigna  <jug@sad.it>
13317
13318         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
13319         of the selected paragraph does not have the selected layout also if
13320         the last one had!
13321
13322         * text2.C (setLayout): fixed bug which did not change last selected
13323         paragraph.
13324
13325         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
13326         changed the read and substituted \\end_float with \\end_inset!
13327
13328         * BufferView_pimpl.C (cursorPrevious):
13329         (cursorNext): fixed to make it work with rows heigher than the work
13330         area without moving the cursor only the draw of the row.
13331         (workAreaMotionNotify): fix jumping over high rows.
13332
13333 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13334
13335         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
13336         Ressler.
13337
13338 2002-04-16  Juergen Vigna  <jug@sad.it>
13339
13340         * text2.C (setCursor): set also the irow().
13341         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
13342         (cursorUp):
13343         (cursorDown): support for locking an inset if the x_fix value goes
13344         inside it. That way I can transverse insets too with cursor up/down.
13345
13346         * lyxrow.h: added irow helper function same as other (i) functions.
13347
13348         * BufferView_pimpl.C (cursorPrevious):
13349         (cursorNext): fixed for insets!
13350
13351 2002-04-15  Juergen Vigna  <jug@sad.it>
13352
13353         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
13354         position otherwise it is wrong in some cases.
13355
13356         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
13357         inside the inset before the call.
13358
13359 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
13360
13361         * buffer.[Ch] (getBibkeyList): make it const.
13362
13363 2002-04-12  Juergen Vigna  <jug@sad.it>
13364
13365         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
13366
13367         * text2.C (getCursorX): new helper function
13368         (setCursor): compute also ix_
13369         (setCursorFromCoordinates): set also ix.
13370
13371         * lyxcursor.h: added ix_ and helper functions.
13372
13373         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
13374
13375         * buffer.C (insertStringAsLines): dont break paragraph if the this
13376         paragraph is inside an inset which does not permit it!
13377
13378         * text.C (breakParagraph): honor keepempty flag and break the paragraph
13379         also with no chars on this paragraph.
13380         (paintRowText): only paint stuff if it's inside the workarea!
13381
13382         * paragraph.C (breakParagraph): honor keepempty flag and break the
13383         paragraph always below not above.
13384
13385         * BufferView2.C (unlockInset): update the paragraph layout on inset
13386         unlock as we changed paragraph in such a case.
13387
13388         * lyxfind.C (LyXFind): clear the former selection if not found!
13389
13390         * text2.C (insertInset): freeze Undo after setUndo so that it is not
13391         again called in insertChar().
13392
13393         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
13394         an inset which uses the whole row!
13395         (rightMargin): ditto.
13396         (insertChar): force a rebreak if we inserted an inset!
13397
13398 2002-03-28  Herbert Voss  <voss@lyx.org>
13399
13400         * lyxlength.[Ch]: add inBP() to get the right PS-point
13401         units (BigPoint). With inPixels we have rounding errors
13402
13403 2002-04-11  Juergen Vigna  <jug@sad.it>
13404
13405         * text2.C (setCursorFromCoordinates): set iy to the right value.
13406         (setCursor): add check if row->previous exists!
13407
13408         * buffer.C (parseSingleLyXformat2Token): reset font after read of
13409         an old float_type as this was the case in the old code!
13410
13411         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
13412
13413         * BufferView2.C (showLockedInsetCursor): use iy
13414         (fitLockedInsetCursor): ditto
13415
13416         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
13417         locked insets as there we have the right value now.
13418
13419         * lyxcursor.C: added iy_ variable and iy functions to set to the
13420         baseline of cursor-y of the locked inset.
13421
13422         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
13423         (setCursor): fixed for insets which need a full row.
13424
13425         * text.C (rowLastPrintable): don't ignore the last space when before
13426         an inset which needs a full row.
13427         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
13428         as last character of a row when before a inset which needs a full row.
13429
13430 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13431
13432         * version.C.in: update date
13433
13434         * text2.C (fullRebreak): try to always return true and see what
13435         happens...
13436
13437 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13438
13439         * MenuBackend.C (expand): use Floating::listName
13440
13441         * FloatList.C (FloatList): add listName argument to the built-in
13442         floats
13443
13444         * Floating.[Ch]: add listName member, which is the 'List of XXX'
13445         text associated with the float.
13446
13447 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13448
13449         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
13450
13451 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13452
13453         * ShareContainer.h: add a couple of missing typenames.
13454
13455 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
13456
13457         * lyxrc.C (getDescription): use _() correctly rather than N_().
13458
13459 2002-03-28  Herbert Voss  <voss@lyx.org>
13460
13461         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13462         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13463
13464 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13465
13466         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13467         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13468
13469 2002-03-29  Juergen Vigna  <jug@sad.it>
13470
13471         * lyxfunc.C (dispatch): add a missing fitCursor call.
13472
13473         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13474         it was scrolled by a cursor move, so return the bool status.
13475
13476         * BufferView.C (fitCursor): return the bool flag also to the outside
13477         world as this is needed.
13478
13479         * screen.C (toggleToggle): don't subtract the offset if it's positive.
13480
13481         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13482         call the edit() as it is not needed (and wrong) IMO.
13483         (workAreaButtonPress): set the screen_first variable before evt.
13484         unlock the inset as this may change screen_first and then we have
13485         a wrong y position for the click!
13486
13487 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13488
13489         * MenuBackend.C (expand): another translation that I missed
13490
13491 2002-03-28  Juergen Vigna  <jug@sad.it>
13492
13493         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13494
13495         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13496
13497 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13498
13499         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13500
13501         * MenuBackend.C (expand): fix export/view/update when there is no
13502         document open.
13503
13504 2002-03-27  Herbert Voss  <voss@lyx.org>
13505
13506         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13507         and text%
13508
13509 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13510
13511         * bufferview_funcs.C (currentState): only show paragraph number
13512         for is DEVEL_VERSION is set.
13513
13514         * lyxfunc.C (dispatch): put warning in INFO channel
13515
13516         * MenuBackend.C (expand): translate the name of floats
13517
13518         * FloatList.C (FloatList): mark the float names for translation
13519
13520         * converter.C (convert): use LibScriptSearch
13521
13522 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13523
13524         * MenuBackend.C (defaults): fix default menu (we might as well get
13525         rid of it...)
13526
13527 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13528
13529         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13530         directory.
13531
13532 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13533
13534         * lyxvc.C: reorder includes.
13535
13536 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
13537
13538         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13539           properly
13540
13541 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
13542
13543         * CutAndPaste.C: change layouts earlier on paste
13544           to avoid crashing when calling getFont()
13545
13546 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
13547
13548         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13549         irritating #error.
13550
13551 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13552
13553         * WorkArea.C: remove 'Pending' debug message.
13554
13555         * most files: ws cleanup
13556
13557         * buffer.[Ch]: ws changes
13558
13559         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13560
13561 2002-03-21  Juergen Vigna  <jug@sad.it>
13562
13563         * tabular.C (SetMultiColumn): collapse also the contents of the
13564         cells and set the last border right. Added a Buffer const * param.
13565
13566 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13567
13568         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13569         linking or not.
13570
13571 2002-03-19  Juergen Vigna  <jug@sad.it>
13572
13573         * text2.C (clearSelection): reset also xsel_cache.
13574
13575         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13576         where it needs to be called (John tells us to do so too :)
13577         (selectionLost): reset sel_cache.
13578
13579         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13580
13581 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13582
13583         * text2.C (setCursorIntern): put debuging code in INSETS channel
13584
13585 2002-03-19  André Pönitz <poenitz@gmx.net>
13586
13587         * lyxfunc.C: tiny whitespace change
13588
13589 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13590
13591         * ToolbarDefaults.C (init):
13592         * LyXAction.C (init):
13593         * commandtags.h:
13594         * BufferView_pimpl.C (Dispatch):
13595         * lyxfunc.C (dispatch): remove LFUN_DEPTH
13596
13597 2002-03-19  Allan Rae  <rae@lyx.org>
13598
13599         * exporter.C (Export): removeAutoInsets before doing anything else.
13600         While I've just introduced a dependency on BufferView this really is
13601         the best place to clean the buffer otherwise you need to cleanup in
13602         a dozen places before calling export or cleanup in a dozen functions
13603         that export calls.
13604
13605         * converter.C (runLaTeX):
13606         (scanLog): Better handling of removeAutoInsets and screen updates.
13607
13608         * lyxfunc.C (dispatch): small whitespace changes
13609
13610 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13611
13612         * WorkArea.C (C_WorkAreaEvent): return a value.
13613         (event_cb): return 1 if we handled the event, 0 otherwise.
13614
13615         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13616
13617 2002-03-18  Juergen Vigna  <jug@sad.it>
13618
13619         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13620         (GetAdditionalWidth): ditto.
13621         (RightLine): ditto.
13622         (LeftLine): ditto.
13623
13624         * BufferView2.C (copy): use getLyXText() so that we do it inside an
13625         inset if we're there actually (probably not used right now but this
13626         is the direction to go for unifying code).
13627         (paste): disable code to clear the selection.
13628
13629         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13630         inside an InsetText and move the check further up as it is in the
13631         wrong place.
13632
13633         * text2.C (pasteSelection): set a selection over the pasted text.
13634
13635 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
13636
13637         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13638         and libgraphics to build on Cygwin.
13639
13640 2002-03-15  Juergen Vigna  <jug@sad.it>
13641
13642         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13643         inserting an Inset into the paragraph. I know this is not the best
13644         fix but we already use current_view in CutAndPaste so we will remove
13645         all of it's using at the same time.
13646
13647         * buffer.C (sgmlError): deactivated function till it is rewritten in
13648         the right mode, now it can create problems.
13649
13650         * paragraph.C (isLineSeparator): check if getInset returns != 0,
13651         before accessing it.
13652
13653 2002-03-14  Juergen Vigna  <jug@sad.it>
13654
13655         * undo_funcs.C (textHandleUndo): do the right thing when updating
13656         the inset after the undo/redo.
13657
13658         * text2.C (setCursor): just some testcode for #44 not ready yet.
13659
13660         * undo_funcs.C (textHandleUndo): set the next() and previous()
13661         pointers of the paragraph to 0 before deleting otherwise we have
13662         problems with the Paragraph::[destructor].
13663
13664         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13665         on a paragraph insertion.
13666
13667 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13668
13669         * buffer.C (asciiParagraph): use += operator for char append to
13670         string.
13671
13672         * paragraph.C (getFontSettings): compare >= not just >
13673         (highestFontInRange): ditto
13674         (setFont): ditto
13675
13676 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13677
13678         * paragraph.C: change several algorithm to be more appripriate for
13679         the problem domain. This is lookip in FontList and in the InsetList.
13680
13681 2002-03-13  André Pönitz <poenitz@gmx.net>
13682
13683         * commandtags.h:
13684         * LyXAction.C: remove unused LFUN_MATH_MACROARG
13685
13686 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
13687
13688         * commandtags.h:
13689         * LyXAction.C:
13690         * lyxfunc.C:
13691         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13692
13693 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13694
13695         * Painter.C (display): anon helper function, adjust code for this
13696         change.
13697         (pixmap): remove function.
13698
13699         * Painter.h: remove private display variable.
13700
13701         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13702
13703 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
13704
13705         * WorkArea.[Ch]: remove figinset_canvas cruft.
13706
13707 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13708
13709         * lyxtextclass.C (operator): add one item cache optimization.
13710
13711         * bufferlist.h: doxy changes
13712
13713         * bufferlist.C: ws changes
13714
13715         * DepTable.[Ch] (ext_exist): place const in the right spot.
13716
13717         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13718         call resizeInsets.
13719         (workAreaExpose): call resizeInsets when the with BufferView changes.
13720         (Dispatch): adjust for protectedBlank removal
13721         (specialChar): call updateInset if the insert went ok.
13722
13723         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13724         specialChar instead.
13725
13726         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13727
13728         * BufferView.h: doxy change
13729
13730         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13731
13732         * lyxtextclass.C (operator[]): remove non-const version
13733         (defaultLayout): remove non-const version
13734
13735 2002-03-12  Juergen Vigna  <jug@sad.it>
13736
13737         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13738         did resize the LyXText too.
13739
13740         * buffer.C (readLyXformat2): set layout information on newly allocated
13741         paragraphs.
13742
13743         * tabular.C (OldFormatRead): set layout information on the paragraph.
13744
13745 2002-03-12  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13746
13747         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13748
13749 2002-03-11  Juergen Vigna  <jug@sad.it>
13750
13751         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13752         plainly wrong.
13753         (resizeCurrentBuffer): force also the insets to resize themselfes.
13754         (moveCursorUpdate): fixed up for InsetText.
13755
13756 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
13757
13758         * commandtags.h:
13759         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13760         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13761         value of Dialogs::tooltipsEnabled().
13762         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13763
13764 2002-03-08  Juergen Vigna  <jug@sad.it>
13765
13766         * BufferView_pimpl.C (updateInset): update inset inside inset also
13767         if it isn't inside theLockingInset().
13768
13769 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13770
13771         * buffer.C (asciiParagraph): redo some of the word and line length
13772         handling.
13773         (getLists): look for Caption instead of caption.
13774
13775 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13776
13777         * buffer.C (Buffer): initialize niceFile to true
13778         (makeLaTeXFile):
13779         (makeLinuxDocFile):
13780         (makeDocBookFile): make sure niceFile is true on exit
13781
13782 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13783
13784         * buffer.C (makeLaTeXFile): escape ~ in \input@path
13785
13786 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
13787
13788         * LyXSendto.C: remove.
13789         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13790         * lyx_gui.C: remove now-redundant comment.
13791         * ColorHandler.h: remove forward declaration of class WorkArea.
13792         * lyxfunc.C: remove #include "WorkArea.h".
13793
13794 2002-03-07  Juergen Vigna  <jug@sad.it>
13795
13796         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13797         got moved away with the DEPM and also set the inset_owner always
13798         right which before could have been omitted.
13799
13800 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13801
13802         * buffer.C (parseSingleLyXformat2Token): use default layout is the
13803         wanted layout is not found.
13804
13805 2002-03-07  Juergen Vigna  <jug@sad.it>
13806
13807         * CutAndPaste.C (cutSelection): another layout settings forgotten.
13808
13809 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13810
13811         * paragraph.C (breakParagraph): use default layout not layout of
13812         prev paragraph.
13813         (Paragraph): clear ParagraphParameters.
13814
13815 2002-03-06  Juergen Vigna  <jug@sad.it>
13816
13817         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13818         otherwise it would not be a valid lenght. Fixed a special case in
13819         the minipage compatibility read where we end the document with a
13820         minipage.
13821
13822         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13823         was set as it could be 0 for InsetTexts first entry.
13824
13825 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13826
13827         * paragraph.C (writeFile): if layout is empty write out
13828         defaultLayoutName().
13829
13830         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13831         file without named layout we set layout to defaultLayoutName().
13832
13833 2002-03-06  Juergen Vigna  <jug@sad.it>
13834
13835         * CutAndPaste.C (copySelection): set layout for new paragraph.
13836
13837         * text.C (prepareToPrint): leave ERT inset left aligned
13838         (leftMargin): don't indent paragraphs inside ERT insets
13839
13840 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13841
13842         * paragraph.C (breakParagraph): dont call clear do the work manually
13843
13844         * paragraph.[Ch] (clear): remove function
13845
13846 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13847
13848         * paragraph.C (Paragraph): dont call clear, the work has already
13849         been done.
13850
13851         * lyxtextclass.C (operator): assert if n is empty
13852
13853         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13854         work manually instead.
13855
13856 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13857
13858         * BufferView_pimpl.C: protect selectionLost against text == 0
13859
13860 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13861
13862         * text.C (breakParagraph): fix a setting layout to '0' problem.
13863
13864 2002-03-05  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13865
13866         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13867         final location of file, for the included files, and graphics.
13868
13869 2002-03-05  Juergen Vigna  <jug@sad.it>
13870
13871         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13872
13873 2002-03-04  Juergen Vigna  <jug@sad.it>
13874
13875         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13876
13877         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13878         last column of multicolumn cells.
13879         (SetWidthOfMulticolCell): recalculate NMC and real columns.
13880
13881 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
13882
13883         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13884         file if it doesn't go to a temporary file.
13885
13886         * buffer.C (sgmlOpenTag):
13887         (sgmlCloseTag):  remove extra newline insertion.
13888
13889 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13890
13891         * text.C (getRowNearY): comment out debug msg
13892
13893 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13894
13895         * text2.C: first -> first_y
13896
13897         * text.C (getRowNearY): add some attemts at a possible
13898         optimization, not working.
13899
13900         * tabular.[Ch]: add BufferParams to several function so that newly
13901         created paragraph can be initialized to he default layotu for the
13902         buffers textclass.
13903
13904         * tabular-old.C (ReadOld): add buf->params to call of Init
13905
13906         * screen.C: rename text->first to text->first_y
13907
13908         * paragraph.C (breakParagraph): always set layout in the broken
13909         paragraph
13910
13911         * lyxtextclass.C (Read): remove lowercase
13912         (hasLayout): ditto
13913         (operator): ditto
13914         (delete_layout): ditto
13915
13916         * lyxtext.h: rename first -> first_y
13917
13918         * lyxlayout.C (Read): remove lowercase
13919         (name): ditto
13920         (setName): ditto
13921         (obsoleted_by): ditto
13922
13923         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13924
13925         * buffer.C (insertErtContents): add params are to InsetERT
13926         (parseSingleLyXformat2Token): add code to check if a paragraphs
13927         layout really exist.
13928         (parseSingleLyXformat2Token): add params to several inset
13929         constructors
13930         (asciiParagraph): remove lowercase, do the layout comparisons with
13931         no_case
13932
13933         * BufferView_pimpl.C (cursorNext): first -> first_y
13934         (resizeCurrentBuffer): first -> first_y
13935         (updateScrollbar): first -> first_y
13936         (scrollCB): first -> first_y
13937         (workAreaMotionNotify): first -> first_y
13938         (workAreaButtonPress): first -> first_y
13939         (checkInsetHit): first -> first_y
13940         (cursorPrevious): first -> first_y
13941         (cursorNext): first -> first_y
13942         (Dispatch): add buffer_->params to severl inset contructors
13943
13944 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13945
13946         * lyxlayout.C (Read): remove some debug info that I forgot.
13947
13948         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13949         clean up the code slightly.
13950         (makeLinuxDocFile): ditto
13951         (makeDocBookFile): ditto
13952
13953         * text2.C: layout as string
13954
13955         * text.C: layout as string
13956
13957         * paragraph_pimpl.C: layout as string
13958
13959         * paragraph.[Ch]: layout as string
13960
13961         * lyxtextclasslist.[Ch]: layout as string
13962
13963         * lyxtextclass.[Ch]: layout as string
13964
13965         * lyxtext.h: layout as string
13966
13967         * lyxlayout.[Ch]: layout as string
13968
13969         * lyx_cb.C: layout as string
13970
13971         * bufferview_funcs.C: layout as string
13972
13973         * bufferparams.C: layout as string
13974
13975         * buffer.C: layout as string
13976
13977         * LyXView.[Ch]: layout as string
13978
13979         * LaTeXFeatures.[Ch]: layout as string
13980
13981         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13982
13983         * BufferView_pimpl.C: change current_layout to string, remove
13984         lyx::layout_type.
13985         (Dispatch):
13986         (smartQuote):
13987         (insertInset):
13988         (workAreaButtonRelease): layout as string
13989
13990         * BufferView2.C (unlockInset): adjust
13991
13992         * vspace.C (asLatexCommand): use an explict temp variable.
13993
13994 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13995
13996         * Makefile.am: use FRONTEND_*
13997
13998 2002-03-01  Juergen Vigna  <jug@sad.it>
13999
14000         * tabular.C (SetWidthOfMulticolCell): changed to something better
14001         I hope but still work in progress.
14002         (recalculateMulticolumnsOfColumn): renamed function from
14003         recalculateMulticolCells as it is more appropriate now.
14004         (SetWidthOfCell): calculate multicols better.
14005
14006 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14007
14008         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
14009
14010         * lyxfunc.C (processKeySym): print sequence also if it is
14011         `deleted' (complete)
14012
14013         * kbsequence.C (print): print sequence even if it is deleted
14014         (complete would be a better word, actually).
14015
14016         * lyxfunc.C (dispatch): print complete options after a prefix key
14017
14018         * vspace.C (asLatexCommand): rewrite in a slightly different form.
14019
14020 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
14021
14022         * text2.C (setCharFont): eliminate setCharFont code duplication.
14023
14024 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14025
14026         * BufferView_pimpl.C (Dispatch): remove bogus handling of
14027         LFUN_TABULAR_FEATURE (bug #177)
14028
14029 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
14030
14031         * Makefile.am: remove figure.h
14032
14033 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
14034
14035         * Bufferview_pimpl.C:
14036         * CutAndPasteC:
14037         * LaTeX.C:
14038         * LyXSendto.C:
14039         * buffer.C:
14040         * bufferlist.C:
14041         * converter.C:
14042         * language.C:
14043         * lyxfunc.C:
14044         * lyxvc.C:
14045         * paragraph.C:
14046         * text.C:
14047         * text2.C: remove #include "lyx_gui_misc.h".
14048
14049         * LaTeX.C: added #include <cstdio>
14050
14051 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14052
14053         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
14054         that the paragraph following this one can have.
14055
14056         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
14057
14058         * vspace.C (asLatexCommand): fix bogus gcc warning
14059
14060         * Makefile.am (lyx_SOURCES): remove vms_defines.h
14061
14062 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
14063
14064         * text2.C (setLayout): get rid of redundant code
14065
14066 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
14067
14068         * text2.C (incDepth): make sure depth cannot be increased beyond
14069         reasonable values.
14070
14071 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
14072
14073         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
14074         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
14075
14076         * PainterBase.h (image):
14077         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
14078         a LyXImage const *.
14079
14080 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
14081
14082         * BufferView.C:
14083         * BufferView.h:
14084         * BufferView_pimpl.C:
14085         * BufferView_pimpl.h:
14086         * LaTeXFeatures.C:
14087         * LyXAction.C:
14088         * LyXView.C:
14089         * Makefile.am:
14090         * UpdateList.h:
14091         * UpdateList.C:
14092         * buffer.C:
14093         * figure.h:
14094         * figureForm.C:
14095         * figureForm.h:
14096         * figure_form.C:
14097         * figure_form.h:
14098         * lyx_cb.C:
14099         * lyx_gui.C:
14100         * lyx_gui_misc.C:
14101         * lyxfunc.C:
14102         * sp_base.h:
14103         * sp_ispell.h:
14104         * sp_pspell.h:
14105         * sp_spell.C: remove fig inset, and the crap house of
14106           cards that follows it
14107
14108 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
14109
14110         * Makefile.am:
14111         * lyxserver.C:
14112         * os2_defines.h:
14113         * os2_errortable.h:
14114         * nt_defines.h: move .h into support/
14115
14116         * vms_defines.h: remove
14117
14118         * WorkArea.C: add space in debug output
14119
14120         * text2.C:
14121         * paragraph.C:
14122         * buffer.C: add WITH_WARNINGS
14123
14124         * vc-backend.h:
14125         * vc-backend.C:
14126         * bufferlist.C: s/retrive/retrieve/, add docs
14127
14128         * vspace.h:
14129         * vspace.C:
14130         * kbmap.h:
14131         * lyxlength.h:
14132         * lyxgluelength.h:
14133         * length_common.h:
14134         * chset.h:
14135         * chset.C: add docs
14136
14137         * lyxgui.C: add ID to X error handler
14138
14139         * lyxtestclass.c: fix typo
14140
14141 2002-02-26  Juergen Vigna  <jug@sad.it>
14142
14143         * tabular_funcs.C (write_attribute): changed so that some default
14144         attributes are not written at all.
14145         (getTokenValue): set default values before trying to read the
14146         value so we have the return value always set as default if we don't
14147         find the token we search for.
14148
14149         * tabular.C (Write): write bools as bools not as strings!
14150
14151 2002-02-22  Juergen Vigna  <jug@sad.it>
14152
14153         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
14154         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
14155
14156         * text.C (leftMargin): don't add an indent for paragraphs inside
14157         tabular cells (fix #208).
14158
14159 2002-02-21  José Matos  <jamatos@fep.up.pt>
14160
14161         * tabular.C (docBook): fixed support for long tables.
14162
14163 2002-02-20  Juergen Vigna  <jug@sad.it>
14164
14165         * text2.C (getFont): get the drawing font of the Inset if this
14166         paragraph is inside an inset (only important for InsetERT for now).
14167
14168         * buffer.C (insertErtContents): use new lanugage params in ERT
14169         constructor.
14170
14171         * CutAndPaste.C: commenting out seemingly uneeded code.
14172
14173 2002-02-19  Allan Rae  <rae@lyx.org>
14174
14175         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
14176         Iterators might be simple to use but they also get invalidated.
14177         (removeAutoInsets): renamed saved cursor tracking variables and added
14178         some comments to clarify what everything does.
14179
14180 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
14181
14182         * Chktex.C:
14183         * LaTeX.C:
14184         * LyXSendto.C:
14185         * converter.C:
14186         * lyx_cb.C:
14187         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
14188         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
14189
14190         * lyxfunc.C:
14191         * vc-backend.h: remove #include "support/syscall.h"
14192
14193         * LaTeX.C:
14194         * LyXSendto.C:
14195         * converter.C: rearrange #includes in Lars' approved fashion.
14196
14197         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
14198         forward declare class Timeout in the header file.
14199
14200         * XFormsView.C: changes due to the above.
14201
14202         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
14203         similar to LyXView.
14204
14205         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
14206         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
14207
14208 2002-02-18  José Matos  <jamatos@fep.up.pt>
14209
14210         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
14211         insets contents.
14212
14213 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14214
14215         * a lot of small ws changes
14216         * add a lot of using std::XXX
14217         * use std construcs some places where approp.
14218         * use some exisint stuff from lyxfunctional where approp.
14219         * Make file changes to use partial linking (lets test this now...)
14220
14221 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
14222
14223         * Chktex.C:
14224         * buffer.C:
14225         remove #include "support/syscontr.h" as it's redundant. Always has been.
14226
14227         * Chktex.C:
14228         * LaTeX.C:
14229         * LyXSendto.C:
14230         * converter.C:
14231         * lyx_cb.C:
14232         * vc-backend.C:
14233         change Systemcalls::System to Systemcalls::Wait and
14234         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
14235         No change of functionality, just reflects the stripped down Systemcalls
14236         class.
14237
14238 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
14239
14240         * debug.[Ch]: add a GRAPHICS type to the enum.
14241
14242 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14243
14244         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
14245
14246         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
14247         there is an inset.
14248
14249 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14250
14251         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
14252         match the changes below.
14253
14254         * text2.C (toggleInset): if there is not editable inset at cursor
14255         position, try to see if cursor is _inside_ a collapsable inset
14256         and close it.
14257
14258 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14259
14260         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
14261         document menu has a nice checkbox
14262
14263 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14264
14265         * lyxlength.C (asLatexString): change PW to output as percent of
14266         \textwidth.
14267
14268         * lengthcommon.C: change '%' to 't%'
14269
14270         * lyxfunc.C (dispatch): a few comments from Martin
14271
14272 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
14273
14274         * WorkArea.h:
14275         * WorkArea.C:
14276         * BufferView_pimpl.h:
14277         * BufferView_pimpl.C: clear our selection when X tells us we've lost
14278           the X selection.
14279
14280 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14281
14282         * vspace.C (inPixels): fix compiler warning
14283
14284 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14285
14286         * lyxfunc.C (getStatus): fix status message for disabled commands.
14287
14288 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
14289
14290         * BufferView_pimpl.C: fix crash on close buffer
14291         during selection (#227)
14292
14293 2002-01-27  Herbert Voss  <voss@lyx.org>
14294
14295         * buffer.C: link old Figure to new graphic inset
14296
14297 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14298
14299         * FontLoader.C (getFontinfo): Change the latex font names in order
14300         to match the names of type1inst.
14301
14302 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14303
14304         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
14305
14306         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
14307         (extchanged): ditto
14308         (ext_exist): ditto
14309         (remove_files_with_extension): ditto
14310         (remove_file): ditto
14311         (write): ditto
14312
14313         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
14314         document is smaller than the work area height. Do not initialize
14315         static variables to 0.
14316
14317 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14318
14319         * lyx_gui.C (init): give the toolbar tooltips a normal font.
14320
14321         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
14322         LFUN_LAYOUT_PARAGRAPHS.
14323
14324         * tabular.C (GetCellFromInset): new method. Finds an inset in a
14325         tabular. It is possible to provide a possible cell, which will
14326         typically be the actcell from the corresponding insettabular
14327
14328         * lyxfunc.C (getStatus): small cleanup; disable
14329         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
14330         true
14331
14332 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14333
14334         * tabular.C (Validate): remove broken optimization (fixes bug #201)
14335
14336         * paragraph.C (startTeXParParams):
14337         (endTeXParParams): new methods. The LaTeX code to
14338         start/end paragraph formatting
14339         (simpleTeXOnePar): call startTeXParParams also when paragraph is
14340         empty (fixes bug #200)
14341
14342         * vspace.C (inPixels): adapt to the change below
14343         (inPixels): [later] more cleanups (remove unused variables)
14344
14345         * lyxlength.C (inPixels): change to use a width and a height as
14346         parameter.
14347
14348 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14349
14350         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
14351         Replaced with \paperwidth
14352
14353         * DepTable.C (insert): add std:: qualifier
14354
14355 2002-01-18  Allan Rae  <rae@lyx.org>
14356
14357         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
14358         updated also?
14359
14360         * text.C (drawInset): Turned out I didn't know enough about how
14361         rebreaking worked.  This fixes most of the redraw problems.  I see
14362         an occasional cursor trail when a line is broken now and the cursor
14363         placement can seem out by a few pixels also after a rebreak.
14364
14365 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14366
14367         * buffer.C (parseSingleLyXformat2Token): update because minipage
14368         width is now a LyXLength
14369
14370         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
14371
14372         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
14373         math insets
14374
14375 2002-01-17  Juergen Vigna  <jug@sad.it>
14376
14377         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
14378
14379         * BufferView2.C (lockInset): call edit() so that theLockingInset()
14380         is set correctly and the inset is updated correctly.
14381
14382 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14383
14384         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
14385         the beginning of the loop.
14386
14387 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
14388
14389         * lyxrc.C: improve help for use_scalable_fonts
14390
14391 2002-01-17  Allan Rae  <rae@lyx.org>
14392
14393         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
14394
14395 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14396
14397         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
14398         make sure to set their inset_owner to the right value (bug #171)
14399
14400 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
14401
14402         * DepTable.h
14403         * DepTable.C: Implement mtime checking to reduce time spent doing
14404         CRCs.
14405
14406 2002-01-16  Juergen Vigna  <jug@sad.it>
14407
14408         * tabular.C (GetAdditionalHeight): one of error fixed.
14409
14410         * lyxrc.C (output): small fix in writing use_pspell.
14411
14412 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
14413
14414         * sp_base.h: #include LString.h
14415
14416 2002-01-16  Allan Rae  <rae@lyx.org>
14417
14418         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
14419         Can someone check this please?
14420
14421         * text.C (drawInset): It was possible that p.row would be removed by
14422         breakAgainOneRow upsetting a few other settings.  There may be another
14423         small tweak possible by setting need_break_row = 0 when p.row has been
14424         removed but I don't know enough about the logic here.
14425
14426 2002-01-15  Allan Rae  <rae@lyx.org>
14427
14428         * text.C (insertChar): removed conditional truism.
14429
14430         * BufferView2.C (removeAutoInsets): More tweaks.
14431         cur_par_prev could be a stray pointer.  Check for trailing empty line
14432         in case last line was cur_par and only had an error inset on it.
14433
14434 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14435
14436         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
14437         absolute
14438
14439         * vc-backend.C (most methods):
14440         * exporter.C (Export):
14441         * converter.C (convert):
14442         (runLaTeX):
14443         * LyXSendto.C (SendtoApplyCB):
14444         * lyxfunc.C (dispatch):
14445         (menuNew):
14446         (open):
14447         (doImport):
14448         * lyx_cb.C (AutoSave):
14449         (InsertAsciiFile):
14450         * BufferView_pimpl.C (MenuInsertLyXFile):
14451         * buffer.C (runChktex): use Buffer::filePath().
14452
14453         * buffer.h: rename filename to filename_; rename filepath to
14454         filepath_ and make it private
14455         (filePath): new method
14456
14457         * buffer.C (writeFile): use fileName()
14458         (getLatexName):
14459
14460         * lyx_main.C (init): fix starting  of LyX when the binary is a
14461         link from so,ewhere else.
14462
14463         * minibuffer.C: include <cctype> for isprint
14464
14465 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14466
14467         * buffer.C (parseSingleLyXformat2Token): changes associated with the
14468         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14469         name clash with InsetCollapsable's width function.
14470
14471 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14472
14473         * lastfiles.C: include <iterator>
14474
14475 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14476
14477         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14478         std::count.
14479
14480         * buffer.C (makeLaTeXFile): ditto.
14481         Also make loop operation more transparent.
14482
14483 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14484
14485         * ToolbarDefaults.C: remove trailing comma closing namespace.
14486
14487         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14488
14489         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14490         as in WorkArea.
14491
14492         * trans.C (Load): comment out unused variable, allowed.
14493
14494 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14495
14496         * minibuffer.[Ch] (append_char): new method to recieve input from the
14497         drop-down completion browser. If a key was pressed, then recieve this
14498         char and append it to the existing string.
14499         (peek_event): modify the positioning data passed to the completion
14500         browser so that it can be placed above the minibuffer rather than below.
14501 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14502
14503         * LyXAction.C (init): alloe error-next for readonly documents.
14504
14505         * BufferView2.C (ChangeRefsIfUnique): use standard version of
14506         count.
14507
14508 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14509
14510         * bufferlist.C (readFile): create the buffer _after_ checking that
14511         the file exists.
14512
14513         * lyxfunc.C (verboseDispatch): fix handling of arguments
14514
14515         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14516
14517         * lyxrc.C: use string::erase() instead of initializing to "".
14518
14519
14520 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14521
14522         * BufferView_pimpl.h:
14523         * BufferView_pimpl.C:
14524         * WorkArea.h:
14525         * WorkArea.C:
14526         * text2.C: tell X when we have made a selection for copying
14527
14528 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14529
14530         * BufferView_pimpl.C (MenuInsertLyXFile):
14531         * lyxfunc.C (menuNew):
14532         (open):
14533         (doImport): add shortcuts to directory buttons
14534
14535         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14536         open a float)
14537
14538         * lyxfunc.C (setStatusMessage):
14539         (getStatusMessage): new methods
14540         (getStatus):use setStatusMessage instead of setErrorMessage
14541         (dispatch): when function is disabled, set error message here
14542         [instead of in getStatus previously]
14543
14544         * BufferView_pimpl.C (workAreaButtonRelease): update
14545         toolbar/menubar here too.
14546
14547 2002-01-13  Allan Rae  <rae@lyx.org>
14548
14549         * BufferView2.C (removeAutoInsets): finished off earlier fix.
14550         Now seems indestructible.  Remaining task is to audit all other
14551         code affected by deleteEmptyParagraphMechanism.  One small quirk
14552         left is that an empty document with an error in the preamble can
14553         be made to report an error but no error box appears.  I don't know
14554         where it goes.
14555         (removeAutoInsets): Improved comments.
14556
14557 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
14558
14559         * Thesaurus.h:
14560         * Thesaurus.C: update for Aiksaurus 0.14
14561
14562 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14563
14564         * text2.C (firstParagraph): removed member function, all uses
14565         replaces with ownerParagraph
14566         (redoParagraphs): here
14567         (updateInset): here
14568         (toggleAppendix): here
14569         * BufferView2.C (insertErrors): here
14570         (setCursorFromRow): here
14571
14572 2002-01-13  Allan Rae  <rae@lyx.org>
14573
14574         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14575         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14576         There is still a way to segfault this although you may have to do this
14577         multiple times: Have an InsetERT with an unknown command in it.
14578         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14579         <down-arrow>, <Enter> again, View->DVI, BANG!
14580
14581         * text2.C (setCursor):
14582         (deleteEmptyParagraphMechanism):
14583         * lyxtext.h (setCursor):
14584         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14585         Making use of the return value may help fix other bugs.
14586
14587 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14588
14589         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14590
14591         * LyXView.C (updateMenubar): call MenuBar::update here
14592         (updateToolbar): but not here
14593         (showState): do not update toolbar/menubar
14594
14595         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14596         should need to care about that.
14597
14598         * lyxfunc.C (verboseDispatch): simplify a bit
14599         (getStatus): have a version which takes a pseudoaction, and
14600         another which requires a (kb_action,string).
14601
14602         * LyXAction.C (retrieveActionArg): make it work also when action
14603         is not a pseudo-action.
14604         (getActionName): simplify a bit
14605         (helpText):
14606
14607 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14608
14609         * lyxfunc.C (verboseDispatch): new families of methods with
14610         several ways to specify a command and a bool to indicate whether
14611         the command name and shortcut should be displayed in minibuffer
14612         (eventually, we could extend that to a finer bitmask like
14613         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14614         (dispatch): the pristine dispatch command which just, well,
14615         dispatchs! Note it still sets its result to minibuffer; I'm not
14616         sure we want that.
14617
14618         * lyxfunc.h: remove setHintMessage
14619
14620         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14621
14622 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14623
14624         * BufferView_pimpl.C (specialChar): delete new inset if we have
14625         not been able to insert it.
14626
14627         * kbmap.C: revert to using int instead of kb_action, since all we
14628         are dealing with is pseudo-actions.
14629
14630         * LyXAction.C (searchActionArg): change to return int instead of
14631         kb_action, since the result is a pseudoaction.
14632
14633 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
14634
14635         * buffer.C (insertErtContents): Fix (partially) the font bug.
14636
14637 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14638
14639         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14640         as the other one is broken on my machine!
14641
14642 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
14643
14644         * commandtags.h:
14645         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14646
14647 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
14648
14649         * lyxrc.[Ch]: change names and descriptions of popup font variables to
14650         reflect their actual use. Provide compatibility code for older lyxrc
14651         files.
14652
14653         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14654         FL_NORMAL_STYLE.
14655         change names of popup font variables in line with the changes to lyxrc.C
14656
14657 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14658
14659         * buffer.C (asciiParagraph): avoid outputing a word twice after
14660         an inset.
14661
14662         * lyxrc.C (getDescription): document that document_path and
14663         template_path can be empty.
14664
14665 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14666
14667         * LaTeXFeatures.C (getMacros):
14668         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14669
14670         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14671
14672         * LaTeXFeatures.C (useFloat): require "float" here instead of in
14673         getPackages.
14674         (getPackages): rename feature "floats" to "float". Use an array to
14675         iterate over 'simple' features (i.e. just a \usepackage). Add
14676         handling of "amsmath" (renamed from "amsstyle").
14677
14678 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
14679
14680         * LaTeXFeatures.C (require): Prevent duplicate entries in the
14681         features list.
14682
14683 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
14684
14685         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14686         FuncStaus::FuncStatus & FuncStaus::some_method().
14687
14688 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
14689
14690         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14691         of the func_satus stuff. Edited and massaged in various ways by
14692         JMarc.
14693
14694         * lyxfunc.C (getStatus): use FuncStatus
14695
14696 2002-01-08  Juergen Vigna  <jug@sad.it>
14697
14698         * text.C (nextBreakPoint): use function Inset::isChar().
14699
14700         * paragraph.C (TeXOnePar): use function
14701         Inset::forceDefaultParagraphs.
14702
14703         * buffer.C (latexParagraphs): use function
14704         Inset::forceDefaultParagraphs.
14705
14706 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14707
14708         * lyx_gui.C (init): set the style of the menu popups to
14709         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14710
14711 2002-01-07  Juergen Vigna  <jug@sad.it>
14712
14713         * text.C (setHeightOfRow): small fix
14714         (prepareToPrint): don't look at alignment if we don't have the place
14715         for doing it.
14716
14717 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14718
14719         * box.C: New file. Move the Box methods and functions out of box.h,
14720         following Lars' suggestion.
14721
14722 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14723
14724         * box.h: #include "support/LOstream.h", needed for inlined function.
14725
14726         * lyxtextclass.C:
14727         * lyxtextclasslist.C: added some using std declarations.
14728
14729 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
14730
14731         * box.h: make signed dimensions to allow insets wider than
14732           the screen (bug #162)
14733
14734         * BufferView_pimpl.C: add some insetHit debug
14735
14736 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
14737
14738         * vc-backend.C: add FIXME
14739
14740 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14741
14742         * lyxfunc.C (getStatus): enable code for showing math font status
14743         in toolbar/menu.
14744
14745 2002-01-07  Juergen Vigna  <jug@sad.it>
14746
14747         * text.C (nextBreakPoint): removed debug output not needed anymore.
14748
14749 2002-01-06  Juergen Vigna  <jug@sad.it>
14750
14751         * text.C (nextBreakPoint): fixed up this function we had this bug
14752         since ever but now hopefully we break row better.
14753         (insertChar): we have to check if an inset is the next char as it
14754         could now happen that a large inset is causing a break.
14755
14756 2002-01-05  Juergen Vigna  <jug@sad.it>
14757
14758         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14759         if it doesn't like to be drawed.
14760
14761 2002-01-04  Juergen Vigna  <jug@sad.it>
14762
14763         * BufferView2.C (lockInset): forgot to set a cursor.
14764
14765         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14766
14767 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
14768
14769         * FormMathsPanel.C:
14770         * FormMathsPanel.h
14771         * MathsSymbols.C:
14772         * form_maths_panel.C:
14773         * form_maths_panel.h:
14774         * form_maths_panel.fd: implemented sub- and super- buttons in math
14775         panel.
14776
14777         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14778         (or ^ space) to be used as in TeX (req'd by Andr�.
14779
14780         * lyxfunc.C: Allow ^ and _ again to be used both as
14781         super/subscript (mathed) and as themselves (in text).
14782
14783 2002-01-03  Allan Rae  <rae@lyx.org>
14784
14785         * LyXView.C (updateWindowTitle): Setup a short icon title of either
14786         "LyX" or the filename of the current buffer if it has one.  This is a
14787         modified form of John Levon's patch.
14788
14789         * XFormsView.C (setWindowTitle): also set icon title.
14790
14791         * LyXView.h (setWindowTitle): signature changed.
14792         * XFormsView.h (setWindowTitle): ditto.
14793
14794 2002-01-02  Juergen Vigna  <jug@sad.it>
14795
14796         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14797
14798 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14799
14800         * screen.C (topCursorVisible): introduce a temp var for
14801         text->cursor.row(), handle the case where this row is null. (kindo
14802         hachish)
14803
14804         * text2.C (setCursor): add a couple of asserts.
14805
14806         * paragraph.h (inset_iterator): add -> operator
14807
14808         * paragraph.[Ch] (autoDeleteInsets): remove member function
14809
14810         * BufferView2.C (removeAutoInsets): rewrite to handle the old
14811         cursor pos correctly and handle inset deletion by itself.
14812         (insertErrors): move iterator declaration out of for expression
14813
14814         * lyxtextclass.C: add <algorithm>
14815
14816         * Makefile.am: added the new files to sources, removed layout.C
14817
14818         * layout.C: removed file
14819
14820         * layout.h: remove LYX_DUMMY_LAYOUT
14821
14822         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14823         layout.
14824
14825         * lyxlayout.[Ch]:
14826         * lyxtextclass.[Ch]:
14827         * lyxtextclasslist.[Ch]: new files
14828
14829         * include order changes to a lot of files, also changes because of
14830         the six new files.
14831
14832 2001-12-27  Juergen Vigna  <jug@sad.it>
14833
14834         * buffer.C (asciiParagraph): more fixes.
14835
14836         * tabular.C (ascii): make ascii export support export of only the
14837         data separated by a column-delimiter.
14838         (ascii): better support for ascii export.
14839
14840         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14841
14842 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14843
14844         * tabular_funcs.C: use a "using std::getline" instead of the
14845         previous fix from Angus (necessary for cxx + lyxstring)
14846
14847 2001-12-24  Juergen Vigna  <jug@sad.it>
14848
14849         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14850
14851         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14852         problems. First check a minipage also if we have some ert-contents
14853         (not only on par->size(), second set the right depth of the paragraph
14854         on the relink to the root-paragraph-list!
14855
14856         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14857         which then did not anymore update the main paragraphs on undo/redo!
14858
14859 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14860
14861         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14862         code. Support all font-changing funcs (even those which are not in
14863         menu currently). Support for reporting font settings in
14864         mathed (disabled until Andre provides a function on mathed's side).
14865
14866         * func_status.h (toggle): small helper function to set toggle
14867         state on a flag.
14868
14869 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
14870
14871         * tabular_funcs.C: getline -> std::getline
14872
14873 2001-12-21  Juergen Vigna  <jug@sad.it>
14874
14875         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14876         accessed and could be 0 (I couldn't generate this but it seems
14877         Michael could!).
14878
14879 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14880
14881         * tabular_funcs.C: add LIstream.h, move write_attribute to..
14882         * tabular_funcs.h: here and include iosfwd
14883
14884 2001-12-20  Juergen Vigna  <jug@sad.it>
14885
14886         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14887         inside inset but undo_par was.
14888
14889 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14890
14891         * Thesaurus.C: always include <config.h> in sources.
14892
14893         * Painter.h:
14894         * lyxlookup.h:
14895         * box.h: do not include <config.h> in header files
14896
14897         * text.C (paintLastRow): remove unused variable
14898
14899         * text.C (transformChar):
14900         (insertChar):
14901         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14902
14903         * Painter.C (text):
14904         * font.C (width): rewrite to use uppercase() instead of
14905         islower/toupper.
14906
14907         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14908
14909 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
14910
14911         * lyxfind.C: clean up of find failure position change
14912
14913 2001-12-20  Juergen Vigna  <jug@sad.it>
14914
14915         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14916
14917         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14918         (TeXRow): added to LaTeX a single tabular row.
14919         (TeXLongtableHeaderFooter): added to output LT-h/f data.
14920         (Latex): simplified and finally good LT-h/f support.
14921         (various_functions): just small adaptions for LT-h/f support.
14922
14923         * tabular_funcs.[hC]: added and moved here all not classfunctions
14924         of LyXTabular.
14925
14926 2001-12-19  Juergen Vigna  <jug@sad.it>
14927
14928         * tabular.[Ch]: better support for longtabular options (not finished
14929         yet!)
14930
14931 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14932
14933         * text.C (paintLastRow): use the label font instead of the font of
14934         the last character to compute the size of *_BOX. This makes more
14935         sense and avoids a crash with empty paragraphs.
14936         Use Painter::rectangle to draw EMPTY_BOX.
14937
14938 2001-12-19  Juergen Vigna  <jug@sad.it>
14939
14940         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14941         the paragraphs if the replaced paragraph is not the first one!
14942         Tried to delete not used paragraphs but does not work yet so for
14943         now it's inside #ifdef's and by default off!
14944
14945 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14946
14947         * MenuBackend.C: include "lyx_main.h" instead of declaring
14948         lastfiles (actually was declared as LastFiles* instead of a
14949         scoped_ptr).
14950
14951 2001-12-17  Juergen Vigna  <jug@sad.it>
14952
14953         * tabular.C (AppendColumn): applied John's fix
14954
14955 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
14956
14957         * BufferView.h:
14958         * BufferView.C:
14959         * BufferView_pimpl.h:
14960         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14961
14962         * Makefile.am:
14963         * box.h: new start of class for above
14964
14965         * lyxfunc.C: ignore space-only minibuffer dispatches.
14966           Show the command name when it doesn't exist
14967
14968         * minibuffer.C: don't add empty lines to the history
14969
14970         * minibuffer.C: add a space on dropdown completion
14971
14972 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
14973
14974         * text.C: fix line above/below drawing in insets
14975
14976 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14977
14978         * lyxlength.C (LyXLength): Initialize private variables.
14979
14980 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
14981
14982         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14983         when inserting error insets.
14984
14985 2001-12-13  Juergen Vigna  <jug@sad.it>
14986
14987         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14988         actually sometimes the before-paragraph.
14989         (setUndo): don't clear the redostack if we're not actually undoing!
14990
14991 2001-12-06  Juergen Vigna  <jug@sad.it>
14992
14993         * undo_funcs.C (textHandleUndo): well after John's hint I got here
14994         and fixed redoing of main paragraph, so we can use it now ;)
14995
14996         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14997
14998 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14999
15000         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
15001         Juergen's request
15002
15003 2001-12-13  André Pönitz <poenitz@gmx.net>
15004
15005         * undostack.[Ch]:
15006         * undo_func.C: minor cleanup
15007
15008 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
15009
15010         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
15011         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
15012         font in urw-fonts package which is marked as -urw-fontspecific and
15013         does not work (incidentally, changing the encoding in the
15014         fonts.dir of this package to -adobe-fontspecific fixes the
15015         problem).
15016
15017         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
15018         is a crash when undoing first paragraph (Juergen, please take a
15019         look). THis does not mean the undo fix is wrong, just that it
15020         uncovers problems.
15021
15022         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
15023         the (Paragraph*) version when needed instead of duplicating the
15024         code.
15025
15026         * text.C (workWidth): use Inset::parOwner to find out where the
15027         inset has been inserted. This is a huge performance gain for large
15028         documents with lots of insets. If Inset::parOwner is not set, fall
15029         back on the brute force method
15030
15031         * paragraph_pimpl.C (insertInset):
15032         * paragraph.C (Paragraph):
15033         (cutIntoMinibuffer): set parOwner of insets when
15034         inserting/removing them
15035
15036         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
15037
15038 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
15039
15040         * commandtags.h:
15041         * LyXAction.C:
15042         * lyx_main.C:
15043         * lyxfunc.C:
15044         * mathed/formulabase.C:
15045         * mathed/math_cursor.[Ch]:
15046         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
15047
15048
15049 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15050
15051         * lyxlength.[Ch] (operator!=): new function
15052
15053 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
15054
15055         * text.C (workWidth): use Inset::parOwner to find out where the
15056         inset has been inserted. This is a huge performance gain for large
15057         documents with lots of insets. If Inset::parOwner is not set, fall
15058         back on the brute force method
15059
15060         * paragraph_pimpl.C (insertInset):
15061         * paragraph.C (Paragraph):
15062         (cutIntoMinibuffer): set parOwner of insets when
15063         inserting/removing them
15064
15065         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
15066
15067 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
15068
15069         * tabular-old.C (getTokenValue):
15070         * tabular.C (getTokenValue):
15071         (write_attribute): new versions for LyXLength
15072         (everywhere): adjust the use of widths
15073
15074         * tabular.h: change the type of widths from string to LyXLength
15075
15076 2001-12-11  Ben Stanley <bds02@uow.edu.au>
15077
15078         * paragraph.C: fixed missing line number count when exporting
15079         Environments to LaTeX file
15080
15081         * buffer.C: added informational message for checking line numbers.
15082
15083 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
15084
15085         * text2.C (deleteEmptyParagraphMechanism): if there is only one
15086         paragraph, do the 'double space' part, but not the 'empty
15087         paragraph' one.
15088
15089         * text.C (workWidth): small optimization
15090         (getLengthMarkerHeight): use minimal size for negative lengths.
15091
15092 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
15093
15094         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
15095
15096         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
15097
15098 2001-12-11  André Pönitz <poenitz@gmx.net>
15099
15100         * FontLoader.C:
15101         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
15102
15103 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
15104
15105         * text2.C: keep selection on a setFont()
15106
15107 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
15108
15109         * lyx_cb.C: another bv->text misuse, from insert label
15110
15111 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
15112
15113         * kbsequence.h:
15114         * kbsequence.C: re-instate nmodifier mask
15115
15116 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
15117
15118         * lyx_main.h: make lyxGUI private.
15119
15120 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
15121
15122         * lyxfind.C: place the cursor correctly on failed search
15123
15124 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
15125
15126         * text.C (getLengthMarkerHeight): for small heights, the arrows
15127         are not always on top/bottom of the text
15128         (drawLengthMarker): smaller arrows; take the left margin in
15129         account; draw also vfills.
15130         (paintFirstRow):
15131         (paintLastRow): remove special code for vfill and standard spaces,
15132         since everything is handled in drawLengthMarker now.
15133
15134 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15135
15136         * buffer.C (insertErtContents): try to handle font and language
15137         interaction a bit better.g
15138
15139         * ColorHandler.C (updateColor): change the hash to cover the whole
15140         LColor enum, ws cleanup
15141         (getGCLinepars): ditto
15142         (getGCLinepars): only lookup in the linecache once.
15143
15144 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
15145
15146         * iterators.C (operator++): Make the iterator more robust
15147
15148         * BufferView2.C (removeAutoInsets): Use paragraph iterators
15149         (John's patch)
15150         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
15151
15152 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15153
15154         * lyxtext.h:
15155         * text.C: better added space drawing
15156
15157 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15158
15159         * LyXView.C:
15160         * BufferView2.C: fix layout combo update on inset unlock
15161
15162 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15163
15164         * Makefile.am: don't compile unused files
15165
15166 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15167
15168         * lyxfunc.C:
15169         * commandtags.h:
15170         * LyXAction.C: remove old LFUN_LAYOUTNO
15171
15172 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15173
15174         * paragraph_pimpl.h:
15175         * paragraph_pimpl.C: isTextAt() doesn't need font param
15176
15177 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15178
15179         * lyxlex.h:
15180         * lyxlex.C: little cleanup
15181
15182 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15183
15184         * BufferView_pimpl.C: fix insertAscii for insets
15185
15186 2001-12-05  Juergen Vigna  <jug@sad.it>
15187
15188         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
15189         set the right font on the "multi" paragraph paste!
15190
15191 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15192
15193         * trans_decl.h:
15194         * trans_mgr.[Ch]:
15195         * trans.[Ch]:
15196         * lyxgluelength.C:
15197         * lyxlength.C: remove out-commented code.
15198
15199         * BufferView_pimpl:
15200         * CutAndPaste.C:
15201         * DepTable.C:
15202         * buffer.C:
15203         * chset.C:
15204         * lastfiles.C:
15205         * lyxlex.C:
15206         * lyxlex_pimpl.C:
15207         * lyxserver.C:
15208         * screen.C:
15209         * tabular-old.C:
15210         * tabular.C:
15211         * text.C:
15212         * trans_mgr.C:
15213         * vc-backend.C: change "while(" to "while ("
15214
15215         * lyxlength.[Ch]: add zero function to check if length is zero or
15216         not
15217         * lyxgluelength.C: use it
15218
15219 2001-12-05  Allan Rae  <rae@lyx.org>
15220
15221         * lyxlength.C: Attempted a fix for the abs(int) header selection.
15222         Works for 2.95.3, from what I understand of Garst's reports this should
15223         work for other g++ versions.  We're screwed if the abs(int) definition
15224         changed between bugfix releases of gcc.
15225
15226 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
15227
15228         * text.C: fix chapter label offset !
15229
15230 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
15231
15232         * lyxtext.h:
15233         * text.C: fix hfill at end of line, clean up
15234
15235 2001-12-04  Juergen Vigna  <jug@sad.it>
15236
15237         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
15238         that we force an update of the inset and it's owners if neccessary.
15239
15240 2001-12-03  Juergen Vigna  <jug@sad.it>
15241
15242         * text.C (rowLast): simplified code
15243
15244 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
15245
15246         * lyxfunc.C: fix show options on timeout
15247
15248 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15249
15250         * screen.C (topCursorVisible): scroll half a page when the cursor
15251         reached top of bottom of screen
15252
15253 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
15254
15255         * minibuffer.C: deactivate on loss of focus
15256
15257 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15258
15259         * vspace.[Ch] (operator!=): add operator.
15260
15261 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
15262
15263         * BufferView_pimpl.C: refuse to open an inset when
15264         there's a selection.
15265
15266 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
15267
15268         * BufferView_pimpl.C: allow to click on RHS of full row insets
15269
15270 2001-11-30  Juergen Vigna  <jug@sad.it>
15271
15272         * tabular.C (LyXTabular): add a same_id to set the same id's in the
15273         insets for undo reasons.
15274
15275 2001-11-28  André Pönitz <poenitz@gmx.net>
15276
15277         * vspace.[Ch]: cosmetical changes
15278
15279 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15280
15281         * LyXAction.h:
15282         * LyXAction.C:
15283         * lyxfunc.h:
15284         * lyxfunc.C:
15285         * kbmap.h:
15286         * kbmap.C:
15287         * lyxrc.C:
15288         * kbsequence.h:
15289         * kbsequence.C: part re-write of old kb code
15290
15291         * Painter.C:
15292         * WorkArea.C: remove Lgb_bug_find_hack
15293
15294 2001-11-30  José Matos <jamatos@fep.up.pt>
15295
15296         * buffer.C (makeDocBookFile): add a comment to point a hack.
15297         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
15298         Fixed a double write of labels.
15299
15300 2001-11-29 Ben Stanley <bds02@uow.edu.au>
15301
15302         * LaTeX.C:
15303         * LaTeX.h Fixed bug in LaTeX class where it would not
15304         re-run latex if no depfiles were changed, but the .dvi was removed.
15305
15306 2001-11-28  André Pönitz <poenitz@gmx.net>
15307
15308         * all the files from the change on 2001/11/26:
15309         use lyx::layout_type instead of LyXTextClass::size_type
15310         use lyx::textclass_type instead of LyXTextClassList::size_type
15311
15312 2001-11-29  Juergen Vigna  <jug@sad.it>
15313
15314         * text.C: added support for paragraph::isFreeSpacing()
15315
15316         * buffer.C: same as above
15317
15318         * paragraph.h: inserted isFreeSpacing() function to enable
15319         FreeSpacing inside InsetERT.
15320
15321         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
15322         of the paragraph's in the cut/copy buffer to 0!
15323
15324         * text2.C (removeRow): remove the assert as it can!
15325
15326         * lyxtext.h: added helper function firstRow returning firstrow and
15327         made firstrow private again.
15328
15329         * BufferView2.C (lockInset): don't relock if we're already locked!
15330
15331         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
15332         the only paragraph.
15333         (removeRow): added Assert::(firstrow)
15334
15335         * debug.C: forgot to add INSETTEXT here.
15336
15337 2001-11-28  Juergen Vigna  <jug@sad.it>
15338
15339         * sp_spell.C (initialize): changed error text to more general
15340         spellchecker command use (not only ispell!)
15341
15342         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
15343
15344         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
15345
15346 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15347
15348         * vspace.C: initialise lyxgluelength on failure
15349
15350 2001-11-28  Allan Rae  <rae@lyx.org>
15351
15352         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
15353         declaration & definition that looks like a function declaration.
15354
15355 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15356
15357         * BufferView2.C (copy):
15358         (copyEnvironment): do not clear the selection when doing a copy.
15359
15360         * text.C (paintFirstRow): compilation fix
15361
15362 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
15363
15364         * tabular.C (Latex): correct line count when writing latex.
15365
15366 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
15367
15368         * paragraph_pimpl.h:
15369         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
15370           bug a bit
15371
15372 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15373
15374         * text.C:
15375         * LColor.h:
15376         * LColor.C: change vfillline->added_space
15377
15378         * text.C: add markers and text for added space
15379
15380         * vspace.C: fix comment
15381
15382 2001-11-28  André Pönitz <poenitz@gmx.net>
15383
15384         * paragraph.C: whitespace changes
15385         * all the other files from the change on 2001/11/26:
15386         change *::pos_type into lyx::pos_type
15387
15388 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
15389
15390         * buffer.C (parseSingleLyXformat2Token): Set the language to the
15391         language of the document when inserting error insets.
15392
15393 2001-11-26  André Pönitz <poenitz@gmx.net>
15394
15395         * BufferView_pimpl.[Ch]:
15396         *       CutAndPaste.C:
15397         * buffer.[Ch]:
15398         * lyxcursor.[Ch]:
15399         * lyxfind.C:
15400         * lyxfunc.C:
15401         * lyxrow.[Ch]:
15402         * paragraph.[Ch]:
15403         * paragraph_pimpl.[Ch]:
15404         * sp_spell.C:
15405         * text.C:
15406         * text2.C: reduce header dependencies, introduce type for positions
15407
15408 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15409
15410         * <various>: change to use Alert.h
15411
15412 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
15413
15414         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
15415         when encountering an unknown token.
15416         (readLyXformat2): Show an error message if there were unknown tokens.
15417
15418 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
15419
15420         * BufferView2.C:
15421         * BufferView_pimpl.C:
15422         * buffer.C:
15423         * paragraph.h:
15424         * text.C:
15425         * text2.C: use par->isInset()
15426
15427 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15428
15429         * paragraph_pimpl.h:
15430         * paragraph_pimpl.C: cleanup
15431
15432 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15433
15434         * text2.C (removeRow):
15435         * text.C (setHeightOfRow): remove useless (and costly) call to
15436         getRow.
15437
15438 2001-11-20  Allan Rae  <rae@lyx.org>
15439
15440         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
15441         Now need Inset*::checkInsertChar() to return true for appropriate
15442         cases so that the characters in the minibuffer will actually be
15443         inserted.
15444
15445 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15446
15447         * text.C: change the order of the includes.
15448         (workWidth): initialize it at once.
15449         (workWidth): make maxw unsigned
15450         (setHeightOfRow): remove unused variable (inset)
15451         (selectSelectedWord): remove unused variable (inset)
15452         (paintRowText): fix drawing of hfill characters, and clean up a bit.
15453
15454 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15455
15456         * lyxserver.C (emergencyCleanup): do not try to close pipes if
15457         server is not running.
15458         (openConnection):
15459         (closeConnection): add debug info when server is disabled.
15460
15461         * ColorHandler.C (getGCForeground): send debug message to GUI
15462         channel.
15463
15464         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15465
15466         * kbmap.C (bind): modify because return conventions of
15467         kb_sequence::parse have changed.
15468
15469         * kbsequence.C (parse): only ignore spaces and not any stupid
15470         control character. This avoids tests like s[i] <= ' ', which are
15471         guaranteed to fail with 8bit characters and signed chars.
15472         Change return code to string::npos when there have been no error
15473         (0 was a bad idea when error is at first character)
15474
15475 2001-11-14  José Matos  <jamatos@fep.up.pt>
15476
15477         * buffer.h:
15478         * buffer.C (simpleDocBookOnePar): removed unused argument.
15479
15480 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15481
15482         * text.C (selectNextWordToSpellcheck): do not test explicitely for
15483         insets which are part of a word. Paragraph::isLetter takes care of
15484         that now. Use Paragraph::isInset to identify insets.
15485         (selectSelectedWord): do not test for hyphenation break.
15486
15487         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15488         that protected spaces are considered as spaces.
15489
15490         * paragraph.C (isLetter): cleanup the code for ispell extras; use
15491         Inset::isLetter.
15492
15493 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
15494
15495         * lyxserver.h:
15496         * lyxserver.C: fix it. and small cleanup.
15497
15498 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15499
15500         * BufferView_pimpl.C: use inline helpers
15501
15502         * LaTeXFeatures.h:
15503         * LaTeXFeatures.C: fix typos
15504
15505         * Spacing.h:
15506         * Spacing.C: move spacing_string into class
15507
15508         * ToolbarDefaults.C: move stuff into namespace anon
15509
15510         * layout.h: update enum
15511
15512         * lyxfunc.C: use better debug
15513
15514         * minibuffer.h: fix typo
15515
15516         * debug.h:
15517         * debug.C:
15518         * WorkArea.C: add and use Debug::WORKAREA
15519
15520         * lyxtext.h:
15521         * text.C:
15522         * text2.C: code re-organisation, inline helpers
15523
15524 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
15525
15526         * Layout.C: replaced a few cases of std::vector.size() == 0 with
15527         std::vector.empty().
15528
15529 2001-11-09  Allan Rae  <rae@lyx.org>
15530
15531         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15532         '\n's after tables.  Tabular and ERT inset work now makes this no
15533         longer necessary.
15534
15535 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15536
15537         * minibuffer.h:
15538         * minibuffer.C: fix crash, improve drop-down completion
15539
15540 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
15541
15542         * lyxserver.h:
15543         * lyxserver.C: invalidate fd's when doing endPipe()
15544
15545 2001-11-08  José Matos  <jamatos@fep.up.pt>
15546
15547         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15548         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15549
15550         * paragraph.h:
15551         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15552
15553 2001-11-07  José Matos  <jamatos@fep.up.pt>
15554
15555         * buffer.h:
15556         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15557         const qualifier.
15558
15559         * buffer.C (sgmlOpenTag):
15560         * buffer.C (sgmlCloseTag): removed debug info.
15561
15562         * buffer.h (sgmlOpenTag):
15563         * buffer.h (sgmlCloseTag): made public.
15564
15565 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15566
15567         * buffer.C (saveParamsAsDefaults):
15568         * lyx_cb.C (MenuLayoutSave): remove
15569
15570         * LyXAction.C (init):
15571         * commandtags.h:
15572         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15573
15574 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15575
15576         * buffer.C (setPaperStuff): removed from here...
15577
15578         * bufferparams.C (setPaperStuff): ... and moved there.
15579
15580 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
15581
15582         * minibuffer.h:
15583         * minibuffer.C:
15584         * XFormsView.C: add support for drop-down completion
15585
15586 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
15587
15588         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15589         commands.
15590
15591 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15592
15593         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15594         disabled.
15595
15596 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
15597
15598         * lyx_main.C: change ref to known bugs
15599
15600 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
15601
15602         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15603         to work around older babel problems.
15604
15605 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15606
15607         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15608
15609 2001-10-24  Juergen Vigna  <jug@sad.it>
15610
15611         * tabular-old.C (ReadOld): below variable changes reflected.
15612
15613         * tabular.[Ch]: added ltType struct for longtable header/footer
15614         defines and changed all instances where they are used. Added
15615         future support for double top/bottom rows.
15616
15617 2001-10-24  José Matos  <jamatos@fep.up.pt>
15618
15619         * buffer.h (docbookHandleCaption):
15620         * buffer.C (docbookHandleCaption): removed unused function.
15621         (makeDocBookFile): moved docbook supported version to v4.1.
15622
15623 2001-10-24  José Matos  <jamatos@fep.up.pt>
15624
15625         * tabular.h:
15626         * tabular.C (docbookRow): new function to export docbook code of a row.
15627         (DocBook): now honors the longtable flags.
15628
15629 2001-10-23  José Matos  <jamatos@fep.up.pt>
15630
15631         * LaTeXFeatures.h:
15632         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15633         of the lyx defined sgml entities used in a docbook/linuxdoc document.
15634
15635         * buffer.C (makeLinuxDocFile):
15636         (makeDocBookFile): reworked the preamble, more clean, and with
15637         support for lyx defined entities. Changed the document declaration
15638         to be more XML friendly.
15639
15640         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15641         if we need to output XML that should be done with a filter.
15642
15643 2001-10-22  Juergen Vigna  <jug@sad.it>
15644
15645         * sp_pspell.h (class PSpell): add alive function needed in the
15646         controller to see if the spellchecker could be started.
15647
15648 2001-10-22  Juergen Vigna  <jug@sad.it>
15649
15650         * buffer.C (insertStringAsLines): modify the font for inserting
15651         chars in certain conditions by calling checkInsertChar(font).
15652
15653 2001-10-19  Juergen Vigna  <jug@sad.it>
15654
15655         * text.C (workWidth): use getRow instead of wrong algorithm.
15656         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15657
15658 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
15659
15660         * lyxserver.h:
15661         * lyxserver.C:
15662         * lyx_main.h:
15663         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15664
15665 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15666
15667         * text.C (workWidth): do not search for the exact row when
15668         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15669         optimization for big documents.
15670
15671 2001-10-18  Juergen Vigna  <jug@sad.it>
15672
15673         * text.C (workWidth): new function with added Inset * parameter.
15674
15675 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15676
15677         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15678
15679         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15680         change return type of getColumnNearX.
15681
15682
15683         * text.C (changeRegionCase): use uppercase/lowercase instead of
15684         toupper/tolower.
15685         (leftMargin):
15686         (rightMargin): simplify code by factoring out the uses of
15687         textclasslist.
15688         (labelFill):
15689         (numberOfHfills):
15690         (setHeightOfRow):
15691         (appendParagraph): use Paragraph::size_type
15692
15693 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15694
15695         * vspace.C (asLatexString): add a missing break
15696
15697 2001-10-15  Herbert Voss  <voss@perce.de>
15698
15699         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15700
15701 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15702
15703         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15704         is not available.
15705
15706 2001-10-10  André Pönitz <poenitz@gmx.net>
15707
15708         * lyxfunc.C: removed greek_kb_flag.
15709
15710 2001-10-10  Herbert Voss  <voss@perce.de>
15711
15712         * lyx_main.C: delete global string help_lyxdir.
15713
15714 2001-10-09  Herbert Voss  <voss@perce.de>
15715
15716         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15717
15718         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15719
15720         * lyx_main.C: added global string help_lyxdir.
15721
15722         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15723
15724 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15725
15726         * lyxrc.C (set_font_norm_type): support iso8859-4
15727
15728 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
15729
15730         * LaTeX.C (deplog): add another regex for MikTeX
15731
15732 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15733
15734         * lyxrc.C (set_font_norm_type): support iso8859-3
15735
15736 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15737
15738         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15739
15740         * LaTeXFeatures.C: remove special case of french and index
15741
15742         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15743         before \begin{document}). This solves several incompatibilities.
15744
15745 2001-10-03  Garst Reese  <reese@isn.net>
15746
15747         * lyx_cb.C: change CheckTex error msg.
15748
15749 2001-10-03  José Matos  <jamatos@fep.up.pt>
15750
15751         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15752
15753 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15754
15755         * .cvsignore: update
15756
15757         * lyx_main.C (commandLineVersionInfo): use new style version info.
15758
15759         * buffer.C (writeFile):
15760         (makeLaTeXFile):
15761         (makeLinuxDocFile):
15762         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15763
15764         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15765
15766         * version.h: update to use stuff in version.C
15767
15768         * version.C.in: new file. Contains version information determined
15769         at compile time. This is a merging of version.h and
15770         version_info.h.in.
15771
15772 2001-10-03  Juergen Vigna  <jug@sad.it>
15773
15774         * BufferView_pimpl.C (update): don't change "dirty" status in
15775         updateInset call.
15776
15777 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
15778
15779         * WorkArea.C (c-tor): re-position version string slightly.
15780
15781 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
15782
15783         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15784         revert to previous code.
15785
15786         WorkArea.[Ch]: (show, destroySplash): methods removed.
15787
15788         WorkArea.C: rework code so that it's an amalgam of the codes before and
15789         after the splash screen was moved to WorkArea.
15790
15791 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15792
15793         * lyxrc.C (read):
15794         * vspace.C (inPixels):
15795         (lyx_advance):
15796         * kbmap.C (bind):
15797         * buffer.C (insertStringAsLines):
15798         (asciiParagraph): fix types to be large enough
15799
15800         * lyxlex_pimpl.h: change member status from short to int
15801
15802         * layout.h: fix type of endlabeltype
15803
15804         * kbmap.C (bind):
15805         * kbsequence.C (parse): change return type to string::size_type
15806
15807         * LaTeX.C (updateBibtexDependencies): comment out unneeded
15808         variable
15809
15810         * Bullet.C (bulletSize):
15811         (bulletEntry): do not use short ints as parameters
15812
15813         * BufferView2.C (insertLyXFile): change a char to an int.
15814
15815         * WorkArea.C (WorkArea): remove unneeded floats in computation
15816
15817 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
15818
15819         * buffer.C (asciiParagraph): Treat '\\' as other chars.
15820
15821         * paragraph.C (asString): Do not ignore newline/hfill chars when
15822         copying to the clipboard.
15823
15824 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
15825
15826         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15827         after a multi-line inset.
15828
15829 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
15830
15831         * paragraph.C (validate): Set NeedLyXFootnoteCode
15832
15833 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15834
15835         * lyxfont.C (LyXSizeNames): changed increase-error to increase
15836         and decrease-error to decrease.
15837
15838 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15839
15840         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15841         it more readable (should be equivalent)
15842
15843 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15844
15845         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15846
15847 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15848
15849         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15850         of a cursor (row, etc.) after a character has been deleted
15851         (deleteEmptyParagraphMechanism): call the method above on _all_
15852         cursors held by the LyXText when a double space has been
15853         detected/deleted.
15854
15855 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15856
15857         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15858         pixmap.
15859         (resizeCurrentBuff): remove code to destroy the old splash dialog.
15860
15861         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15862         background. Use greyOut() and the new show() methods to toggle between
15863         the foreground and background. Add code to remove the splash after
15864         its initial showing.
15865
15866         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15867         (create_forms): no longer call Dialogs::showSplash.
15868
15869 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15870
15871         * .cvsignore: add version_info.h
15872
15873 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15874
15875         * version_info.h.in: new file
15876
15877         * Makefile.am: add version_info.h.in
15878
15879         * lyx_main.C (commandLineVersionInfo): use version_info defined in
15880         version_info.h instead of VERSION_INFO
15881
15882 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
15883
15884         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15885         The ERT inset now returns string().
15886
15887 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
15888
15889         * lyxtext.h, text.C (selectNextWord): renamed as
15890         selectNextWordToSpellcheck.
15891
15892         * text.C (selectNextWordToSpellcheck): Modified to not select
15893         words inside an ERT inset.
15894
15895 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15896
15897         * lyx_cb.C (MenuLayoutSave): change a bit the question
15898
15899         * sp_base.h: include <sys/types.h>
15900
15901 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
15902
15903         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15904
15905 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
15906
15907         * several files: fix typos in user-visible strings
15908
15909 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15910
15911         * text2.C (pasteSelection): do not set the selection, since it
15912         will be cleared later. Actually, the intent was to fix the way the
15913         selection was set, but I figured rmoving the code was just as good.
15914
15915 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
15916
15917         * FontLoader.C (available): Check if font is available without
15918         loading the font.
15919
15920 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
15921
15922         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15923
15924 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
15925
15926         * lyxrc.[Ch]: added display_graphics variable and associated code.
15927
15928 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15929
15930         * bufferparams.C (hasClassDefaults): new method. Returns true if
15931         the buffer parameters correspond to known class defaults
15932
15933 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
15934
15935         * XFormsView.C (show): set minimum size to the main window.
15936
15937 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15938
15939         * text2.C (copySelection):
15940         (cutSelection):
15941         * lyxfind.C (LyXReplace):
15942         * BufferView_pimpl.C (Dispatch): pass the correct flag to
15943         LyXText::selectionAsString.
15944
15945         * paragraph.C (asString): add "label" argument to the second form
15946
15947         * text2.C (selectionAsString): add "label" argument and pass it to
15948         Paragraph::asString.
15949
15950 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15951
15952         * lyx_main.C (commandLineHelp): remove version information
15953
15954 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
15955
15956         * lyx_main.C: add -version commandline option
15957
15958 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15959
15960         * paragraph.h: make the optional constructor arg required instead.
15961         some modifications to other files because of this.
15962
15963         * minibuffer.C (C_MiniBuffer_peek_event): make it static
15964
15965         * lyxserver.C (C_LyXComm_callback): make it static
15966
15967         * lyx_main.C (error_handler): make it static
15968
15969         * lyx_gui.C (LyX_XErrHandler): make it static
15970
15971         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15972
15973         * WorkArea.C: make the extern "C" methods static.
15974
15975         * Makefile.am (lyx_LDADD): simplify
15976
15977 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15978
15979         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15980         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15981
15982         * LyXAction.C (init):
15983         * lyxfunc.C (dispatch): associated code removal.
15984
15985 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15986
15987         * lyxfont.h (isSymbolFont): shut off warning
15988
15989         * text.C (setHeightOfRow):
15990         (getVisibleRow): fix crash with empty paragraphs which have a
15991         bottom line
15992
15993 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
15994
15995         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15996         code.
15997
15998 2001-09-04  José Matos  <jamatos@fep.up.pt>
15999         * buffer.C
16000         * buffer.h
16001         * tabular.C (docbook): rename docBook method to docbook.
16002
16003 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
16004
16005         * Makefile.am: add dependencies to main.o.
16006
16007 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
16008
16009         * FontLoader.C (available): Return false if !lyxrc.use_gui
16010
16011 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
16012
16013         * FontInfo.C (query):
16014         * converter.C (view):
16015         * importer.C (Import):
16016         * exporter.C (Export): Can not -> cannot.
16017
16018 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
16019
16020         * BufferView_pimpl.C: allow to create index inset even if
16021           string is empty
16022
16023 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
16024
16025         * buffer.C (getLists): replace boost::tie code with an explicit pair
16026         as boost::tie can break some compilers.
16027
16028         * iterators.h: Added a std:: declaration to the return type of
16029         ParIterator::size.
16030
16031 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
16032
16033         * lyxrc.C: add help for view_dvi_paper_option, default to safe
16034           case.
16035
16036 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
16037
16038         * iterators.[Ch]: New files. Provide paragraph iterators.
16039
16040         * buffer.C (changeLanguage): Use paragraph iterators.
16041         (isMultiLingual): ditto
16042
16043         * BufferView2.C (ChangeInsets): Use paragraph iterators.
16044
16045 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
16046
16047         * FontLoader.C: Support for cmr font.
16048
16049 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
16050
16051         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
16052         (available): New method.
16053
16054         * FontInfo.C (getFontname): Use scalable fonts even when
16055         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
16056         found.
16057
16058 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
16059
16060         * converter.C (Formats::view): reverted! Incorrect fix.
16061
16062 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
16063
16064         * converter.C (Formats::view): only output the -paper option
16065         if the dvi viewer is xdvi, thereby fixing bug #233429.
16066
16067 2001-08-23  Herbert Voss  <voss@perce>
16068
16069         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
16070
16071 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
16072
16073         * Spacing.h (Spacing): Set space to Default on in the default
16074         constructor.
16075
16076 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16077
16078         * vc-backend.h (RCS::versionString): add RCS to version
16079         (CVS::versionString): add CVS to version
16080
16081         * vc-backend.C (scanMaster): do not add CVS to version.
16082         (scanMaster): do not add RCS to version
16083
16084         * lyxvc.C (versionString): new method
16085
16086         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
16087
16088 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16089
16090         * Spacing.C (set): initialize fval
16091
16092 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
16093
16094         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
16095         " or \.
16096
16097 2001-08-16  Juergen Vigna  <jug@sad.it>
16098
16099         * lyxfunc.C (dispatch): implemented the new FINISHED states.
16100
16101 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
16102
16103         * BufferView_pimpl.C:
16104         * figureForm.C:
16105         * lyxtext.h:
16106         * text2.C: setParagraph takes linespacing now
16107
16108 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
16109
16110         * LyxAction.C: add internal LFUN_CITATION_INSERT
16111
16112         * LyXView.C: actually apply fix
16113
16114         * bufferlist.C: fix open non-existent file
16115
16116         * lyxfind.C: fix indentation
16117
16118         * lyxfunc.C: remove unneeded assert, fix typo
16119
16120 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
16121
16122         * MenuBackend.C: use "Floatname List"
16123
16124 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
16125
16126         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
16127         when converting LaTeX layout to insetERT.
16128         Generate a non-collapsed float when reading old float
16129
16130 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
16131
16132         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
16133         ERT insets.
16134
16135 2001-08-13  Juergen Vigna  <jug@sad.it>
16136
16137         * text.C (fill): return 0 instead of 20 as this seems to be the more
16138         correct value.
16139
16140 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
16141
16142         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
16143         lyxrc.font_norm.
16144
16145 2001-08-13  Juergen Vigna  <jug@sad.it>
16146
16147         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
16148         casesensitive off.
16149         (SearchBackward): comment out the unlocking of the inset_owner this
16150         should not be needed!
16151
16152 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
16153
16154         * Many files: Remove inherit_language, and add latex_language
16155
16156         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
16157         collapsible insets.
16158
16159 2001-08-10  Juergen Vigna  <jug@sad.it>
16160
16161         * text.C (prepareToPrint): fixed hfill-width in draw!
16162
16163         * BufferView2.C (selectLastWord): save the selection cursor as this
16164         now is cleared in the function LyXText::clearSelection!
16165
16166 2001-08-08  Juergen Vigna  <jug@sad.it>
16167
16168         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
16169         BACKSPACE type functions.
16170
16171         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
16172         is only cutted from the document but not put in the cut-buffer, where
16173         still the old stuff should be.
16174
16175         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
16176
16177         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
16178
16179         * tabular.C (SetWidthOfCell): fixed special case where the width
16180         was not updated!
16181         (LeftLine): handle '|' in align_special.
16182         (RightLine): ditto
16183         (LeftAlreadyDrawed): ditto
16184         (SetWidthOfCell): ditto
16185
16186 2001-08-07  Juergen Vigna  <jug@sad.it>
16187
16188         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
16189
16190 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16191
16192         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
16193         * lyxlex.[hC]: ditto
16194
16195 2001-08-06  Juergen Vigna  <jug@sad.it>
16196
16197         * text.C (getVisibleRow): fix up row clearing a bit.
16198
16199 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16200
16201         * minibuffer.C: make sure the X server sees the changes in the input.
16202
16203 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16204
16205         * paragraph.C (getFont): split into...
16206         (getLabelFont): this
16207         (getLayoutFont): and this
16208         * paragraph_pimpl.C (realizeFont): calling this
16209
16210         * text2.C (getFont): split into...
16211         (getLayoutFont): this
16212         (getLabelFont): and this
16213         (realizeFont): all three calling this
16214
16215         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
16216         files where used.
16217
16218 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16219
16220         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
16221
16222 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
16223
16224         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
16225         layouts from the Quote inset insertion.
16226
16227 2001-08-03  Juergen Vigna  <jug@sad.it>
16228
16229         * BufferView_pimpl.C (update): do the fitCursor only at the end!
16230
16231         * screen.C (drawFromTo): don't call fitcursor here and do the loop
16232         only if status not is already CHANGED_IN_DRAW (second level).
16233
16234         * text.C (draw): don't set the need_break_row when inside an
16235         InsetText LyXText.
16236
16237 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16238
16239         * buffer.C (parseSingleLyXformat2Token): handle more latex
16240         conversion cases.
16241
16242         * bufferview_funcs.[hC]: change function names to
16243         begin with small char, adjust other files.
16244
16245 2001-08-02  André Pönitz <poenitz@gmx.net>
16246
16247         * lyxfunc.C:
16248         BufferView_pimpl.C: remove broken special code for math-greek
16249
16250 2001-08-02  Juergen Vigna  <jug@sad.it>
16251
16252         * BufferView_pimpl.C (update): redone this function so that we
16253         update the text again if there was a CHANGE_IN_DRAW.
16254
16255         * screen.C (cursorToggle): removed LyXText parameter and recoded.
16256         (drawFromTo): added a new internal bool which is used by draw() and
16257         redraw() function.
16258         (general): some cursor drawing problems fixed.
16259
16260 2001-08-01  Juergen Vigna  <jug@sad.it>
16261
16262         * lyxfind.C (LyXFind): fixed
16263         (SearchForward): ditto
16264         (SearchBackward): ditto
16265
16266         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
16267         spurius drawing of the cursor in the main area.
16268
16269         * text2.C (status): small fix which could lead to a segfault!
16270         (clearSelection): remove unneeded BufferView param.
16271
16272 2001-08-01  André Pönitz <poenitz@gmx.net>
16273
16274         * lyxfunc.C: small change due to changed mathed interface
16275
16276 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16277
16278         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
16279
16280 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
16281
16282         * lyxfunc.c: fail gracefully if file doesn't exist
16283
16284         * LyXSendto.C:
16285         * buffer.C:
16286         * lyxfunc.C:
16287         * BufferView_pimpl.C: IsDirWriteable() proto changed
16288
16289         * LyXView.C: fix updateWindowTitle() to store the last title
16290
16291 2001-07-31  Juergen Vigna  <jug@sad.it>
16292
16293         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
16294         the font (wrong since using of Paragraph::highestFontInRange).
16295
16296         * paragraph.C (highestFontInRange): added a default_size parameter.
16297
16298         * text.C (getVisibleRow): minor clear row changes (still not perfect).
16299         (setHeightOfRow): reformat
16300
16301 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16302
16303         * converter.[hC] + affected files: move to (inital-char)lowercase
16304         function names.
16305
16306         * ParagraphParameters.C (ParagraphParameters): remove commented code
16307
16308         * PainterBase.[Ch]: remove commented code
16309
16310         * LaTeXFeatures.h: add "bool floats" for float.sty
16311
16312         * LaTeXFeatures.C (LaTeXFeatures): init floats
16313         (require): handle float
16314         (getPackages): do it with floats
16315
16316 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16317
16318         * BufferView_pimpl.C (Dispatch): improve handling of
16319         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
16320
16321         * commandtags.h: #include lyxfont.h here temporarily to avoid
16322         keybinding bug.
16323
16324         * bufferlist.h: include LString.h here.
16325
16326 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16327
16328         * text2.C (getStringToIndex): new method.
16329
16330 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
16331
16332         * *: Reduced header file dependencies all over.
16333
16334 2001-07-30  Baruch Even  <baruch@lyx.org>
16335
16336         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
16337
16338 2001-07-29  Baruch Even  <baruch@lyx.org>
16339
16340         * buffer.C (readInset): Changed GRAPHICS to Graphics.
16341
16342 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16343
16344         * ParameterStruct.h (endif): add a default constructor to make
16345         sure that all variables is initialized.
16346
16347         * ParagraphParameters.C (ParagraphParameters): adjust
16348
16349 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16350
16351         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
16352         index; also, check that there is something to index, and that it
16353         does not span over several paragraphs.
16354         (doubleClick): use WHOLE_WORD_STRICT for double click.
16355
16356         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
16357
16358         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
16359         scheme.
16360
16361 2001-07-26  Baruch Even  <baruch@lyx.org>
16362
16363         * buffer.C (readInset): Changed to call up InsetGraphics when reading
16364         an InsetFig figure, backwards compatible reading of old figure code.
16365
16366 2001-07-27  Juergen Vigna  <jug@sad.it>
16367
16368         * text2.C: font.realize function adaption.
16369
16370         * text.C (draw): add a warnings lyxerr text if needed.
16371
16372         * layout.C: font.realize function adaption.
16373
16374         * language.C: add inherit_language and implement it's handlings
16375
16376         * bufferview_funcs.C (StyleReset): remove language parameter from
16377         font creation (should be language_inherit now).
16378
16379         * bufferparams.C (writeFile): handle ignore_language.
16380
16381         * paragraph.C (getFontSettings): the language has to be resolved
16382         otherwise we have problems in LyXFont!
16383
16384         * lyxfont.C (lyxWriteChanges): added document_language parameter
16385         (update): removed unneeded language parameter
16386
16387         * paragraph.C (validate): fixed wrong output of color-package when
16388         using interface colors for certain fonts in certain environments,
16389         which should not seen as that on the final output.
16390
16391 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
16392
16393         * BufferView_pimpl.C:
16394         * Thesaurus.h:
16395         * Thesaurus.C:
16396         * Makefile.am:
16397         * commandtags.h:
16398         * LyXAction.C: add thesaurus support
16399
16400         * lyxfind.h:
16401         * lyxfind.C: add "once" parameter, for thesaurus, to not
16402           move to the next match
16403
16404 2001-07-26  Juergen Vigna  <jug@sad.it>
16405
16406         * lyxfont.C (realize): honor ignore_language too!
16407         (resolved): ditto.
16408
16409         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
16410
16411         * text.C (draw): one place more for ignore_language to not draw
16412         itself!
16413
16414 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
16415
16416         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
16417
16418 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16419
16420         * buffer.C (parseSingleLyXformat2Token): a more general fix for
16421         the minipage conversion problem.
16422
16423 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16424
16425         * buffer.C (parseSingleLyXformat2Token): check minipage if we
16426         insert an inset.
16427
16428 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16429
16430         * BufferView.h: don't forward declare WorkArea
16431
16432         * BufferView.C: don't include WorkArea.h
16433
16434 2001-07-25  André Pönitz <poenitz@gmx.net>
16435
16436         * commandtags.h:
16437         * LyXAction.C:
16438         * lyxfunc.C:  new LFUN 'math-space'
16439
16440         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
16441
16442 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16443
16444         * text2.C (toggleInset): call open/close
16445
16446 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16447
16448         * lyxfunc.C (dispatch): add debug for the disabled case
16449
16450         * font.C (buttonText): make similar to rectText
16451
16452         * buffer.C (readInset): comment out parsing of insetlist and
16453         insttheorem
16454
16455         * PainterBase.C (rectText): small correction
16456
16457         * BufferView_pimpl.C: comment out insettheorem and insetlist
16458         * LyXAction.C: ditto
16459         * commandtags.h: ditto
16460
16461 2001-07-24  Juergen Vigna  <jug@sad.it>
16462
16463         * text.C (draw): honor the ignore_language.
16464
16465         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16466
16467 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16468
16469         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16470         char inset.
16471
16472 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16473
16474         * lyxtext.h: remove unused (and unimplemented) methods
16475
16476 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16477
16478         * text.C (getVisibleRow): honor background color
16479
16480         * PainterBase.h:
16481         * Painter.h: remove default color argument for fillRectangle
16482
16483         * text.C (backgroundColor): new method
16484
16485 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16486
16487         * text.C (getVisibleRow): adjust
16488
16489         * font.[Ch] (rectText): new method, metrics
16490         (buttonText): new method, metrics
16491
16492         * PainterBase.[hC]: make rectText and buttonText always draw and take
16493         fewer paramteres.
16494
16495 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16496
16497         * ToolbarDefaults.C (read):
16498         * MenuBackend.C (read): allow escaping in all strings
16499
16500         * BufferView_pimpl.C (insertAndEditInset): new method.
16501         (Dispatch): use insertAndEditInset whenever appropriate.
16502
16503         * BufferView_pimpl.C (insertNote): removed
16504
16505         * BufferView_pimpl.C (smartQuote): new method, moved from
16506         BufferView; if an insetquote cannot be inserted, insert a '"'
16507         character instead.
16508
16509         * BufferView2.C: remove insertCorrectQuote();
16510
16511         * lyxfunc.C (getStatus): Add support for all remaingin
16512         inset-insert lfuns.
16513
16514         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16515
16516         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16517         command (necessary to pass " as parameter of self-insert.
16518
16519         * text.C (selectWordWhenUnderCursor):
16520         (selectWord): add word_location parameter
16521         (selectWordWhenUnderCursor): same + remove special code for word
16522         boundary.
16523         (selectNextWord): use kind() to guess type of insetspecialchar,
16524         not latex().
16525
16526         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16527         (insertErtContents): create ert insets as collapsed.
16528         (readInset): better compatibility code for Info inset.
16529
16530 2001-07-20  Juergen Vigna  <jug@sad.it>
16531
16532         * lyxfunc.C (dispatch): use always LyXFind now!
16533
16534         * text2.C (init): add a reinit flag so that the LyXText can be
16535         reinited instead of deleted and reallocated (used in InsetText).
16536
16537         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16538
16539         * text.C: ditto
16540
16541         * text2.C: ditto
16542
16543 2001-07-18  Juergen Vigna  <jug@sad.it>
16544
16545         * text.C (selectNextWord): handle insets inside inset by calling
16546         always the bv->text functions so that we can go up the_locking_inset!
16547
16548         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16549         in strange locations when inside an inset!
16550
16551         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16552         handling to include insets.
16553
16554         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16555
16556 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16557
16558         * LyXAction.C (init):
16559         * commandtags.h:
16560         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16561         LIGATURE_BREAK, since the name is so stupid.
16562
16563 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16564
16565         * buffer.C (readInset): enable reading of new InsetNotes as well as old
16566         InsetInfos.
16567
16568         * FontLoader.C: remove FORMS_H_LOCATION cruft.
16569
16570         * sp_form.[Ch]: remove.
16571
16572         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16573
16574         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16575         InsetInfo.
16576
16577         * src/buffer.C (readInset): ditto.
16578
16579 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16580
16581         * BufferView_pimpl.C (specialChar): new method. Obsoletes
16582         menuSeparator(), endOfSentenceDot(), ldots() and
16583         hyphenationPoint(), which are therefore removed.
16584         (Dispatch): handle LFUN_HYPHENATION_BREAK.
16585
16586         * LyXAction.C (init):
16587         * commandtags.h: add LFUN_HYPHENATION_BREAK.
16588
16589         * paragraph.C (getWord): removed.
16590
16591         * BufferView_pimpl.C (Dispatch): use last word or selection for
16592         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16593
16594         * lyx_main.C (queryUserLyXDir): do not ask before creating
16595         user_dir, except if it has been named explicitely.
16596
16597 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16598
16599         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16600         a document of zero size.
16601
16602 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
16603
16604         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16605         approriately in the c-tor and in require().
16606         (getPackages): output the appropriate LaTeX for natbib support.
16607
16608         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16609         variables "use_natbib" and "use_numerical_citations" when reading the
16610         LyX file.
16611         (readInset): read the various natbib cite commands.
16612         (validate): white-space change.
16613
16614         * bufferparams.[Ch]: new variables "bool use_natbib" and
16615         "bool use_numerical_citations".
16616         (writeFile): output them in the LyX file.
16617
16618 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16619
16620         * lyxfunc.C (getStatus): add support for all the inset insertion
16621         commands.
16622
16623         * text2.C (insertInset):
16624         * paragraph.C (insetAllowed):
16625         * BufferView_pimpl.C (insertInset): update to take in account the
16626         renaming of insertInsetAllowed
16627
16628         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16629
16630         * text2.C (getInset): new method. returns inset at cursor position.
16631
16632         * BufferView_pimpl.C (Dispatch): changes because of this.
16633
16634         * LyXAction.C (init): rename open-stuff to inset-toggle.
16635
16636         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16637
16638         * text2.C (toggleInset): renamed from openStuff; use
16639         Inset::open().
16640
16641 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
16642
16643         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16644
16645         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16646
16647 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
16648
16649         * buffer.C (readLyXformat2): Add filename to the error dialog
16650
16651 2001-07-18  Juergen Vigna  <jug@sad.it>
16652
16653         * tabular.C (GetCellNumber): put an assert here instead of the check!
16654
16655 2001-07-17  Juergen Vigna  <jug@sad.it>
16656
16657         * BufferView_pimpl.C (toggleSelection): adapted too.
16658
16659         * text.C (selectNextWord): adapted for use with insets.
16660         (selectSelectedWord): ditto
16661
16662 2001-07-17  Juergen Vigna  <jug@sad.it>
16663
16664         * sp_spell.C (PSpell): fix initialitation order.
16665
16666 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16667
16668         * paragraph.C: spacing
16669
16670 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
16671
16672         * sp_spell.C: repair language selection for pspell
16673
16674 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16675
16676         * lyxfunc.h: change more methods to begin with lower char.
16677
16678 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
16679
16680         * buffer.C (parseSingleLyXformat2Token): Generate error insets
16681         for unknown layouts.
16682
16683 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
16684
16685         * buffer.C (readLyXformat2): Generate an error dialog if there are
16686         unknown layouts.
16687
16688 2001-07-16  Juergen Vigna  <jug@sad.it>
16689
16690         * sp_spell.C: always compile ISpell part.
16691
16692         * lyxrc.C: added use_pspell entry and it's handling.
16693
16694 2001-07-13  Juergen Vigna  <jug@sad.it>
16695
16696         * sp_spell.C: removed double includes.
16697
16698 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
16699
16700         Consistent use of Lsstream.h:
16701         * Lsstream.h: added using std::stringstream for consistencies sake.
16702
16703         * buffer.C: removed using std::stringstream
16704
16705         * lyxfont.C (stateText):
16706         * paragraph.C (asString):
16707         * text.C (selectNextWord, selectSelectedWord):
16708         * text2.C (setCounter):
16709         * vspace.C (asString, asLatexString):
16710         std::ostringstream -> ostringstream.
16711
16712 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16713
16714         * LyXAction.C: add LFUN_HELP_ABOUTLYX
16715         * commandtags.h: add LFUN_HELP_ABOUTLYX
16716         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16717
16718 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16719
16720         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16721         cursorToggle()
16722         * lyx_gui_misc.C: remove spellchecker
16723         * lyxfunc.C: showSpellchecker
16724         * sp_base.h: added
16725         * sp_ispell.h: added
16726         * sp_pspell.h: added
16727         * sp_spell.C: added
16728         * sp_form.[Ch]: removed
16729         * spellchecker.[Ch]: removed
16730
16731 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
16732
16733         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16734         is set.
16735         (simpleTeXSpecialChars): Simply print the input character without
16736         any special translation if pass_thru is set.
16737
16738         * layout.h: Added bool pass_thru to layout class for being able to
16739         implement pass through of a paragraph for Literate Programming.
16740
16741         * layout.C: add LT_PASS_THRU to LayoutTags enum.
16742         * layout.C (LyXLayout): set pass_thru to flase in constructor.
16743         * layout.C (Read): add "passthru" to list of layout tags and add
16744         code to set the pass_thru boolean when it is read.
16745
16746 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16747
16748         * trans_decl.h: remove allowed from KmodInfo
16749
16750         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16751         remove allowed code
16752         (Load): adjust
16753
16754         * paragraph_pimpl.C (erase): use boost::prior
16755
16756         * Painter.C (text): use data() instead of c_str() when length is
16757         also provided.
16758         * WorkArea.C (putClipboard): ditto
16759         * font.h (width): ditto
16760
16761         * BufferView2.C: use it-> instead of (*it). for iterators
16762         * texrow.C: ditto
16763         * paragraph_pimpl.C: ditto
16764         * paragraph.C: ditto
16765         * minibuffer.C: ditto
16766         * language.C: ditto
16767         * kbmap.C: ditto
16768         * encoding.C: ditto
16769         * counters.C: ditto
16770         * converter.C: ditto
16771         * chset.C: ditto
16772         * Variables.C: ditto
16773         * TextCache.C: ditto
16774         * MenuBackend.C: ditto
16775         * LyXAction.C: ditto
16776         * LColor.C: ditto
16777         * FloatList.C: ditto
16778         * DepTable.C: ditto
16779         * ColorHandler.C (LyXColorHandler): ditto
16780
16781 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16782
16783         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16784
16785         * text2.C (openStuff): reintroduce this method (which had been
16786         nuked in NEW_INSETS frenzy).
16787
16788         * lyxfunc.C (Dispatch): when an action has not been handled, use
16789         its name in the error message, not its number.
16790
16791         * paragraph.C (inInset): change method name to begin with lowercase.
16792
16793         * undo_funcs.C:
16794         * text2.C: updates because of this.
16795
16796 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16797
16798         * ToolbarDefaults.C (add): add spaces in error message
16799
16800 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16801
16802         * buffer.C (readLyXformat2): initialize the ert comp. variables.
16803         (readLyXformat2): rename return_par to first_par, use lyxlex's
16804         pushToken and remove the manual push handling.
16805         (parseSingleLyXformat2Token): add another ert comp. variable:
16806         in_tabular, rename return_par to first_par. handle newlines better
16807
16808 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16809
16810         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16811
16812 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16813
16814         * text2.C (getParFromID): removed
16815
16816         * buffer.C (getParFromID): new method moved form lyxtext.
16817         * BufferView2.C (insertErrors): adjust
16818         (setCursorFromRow): adjust
16819         * BufferView_pimpl.C (restorePosition): adjust
16820         * lyxfunc.C (Dispatch): adjust
16821         * undo_funcs.C (textUndo): adjust
16822         (textRedo): adjust
16823         (textHandleUndo): adjust
16824         (textHandleUndo): adjust
16825
16826 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16827
16828         * buffer.C: up' the LYX_FORMAT
16829
16830         * lyxfont.h: turn NO_LATEX on as default
16831
16832         * buffer.C (insertErtContents): new methods of tex style compability.
16833         (parseSingleLyXformat2Token): use it several places.
16834         * tabular.C (OldFormatRead): and here
16835
16836 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16837
16838         * text2.C: remove some commented code.
16839         reindent file.
16840
16841         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16842         * trans.C: changes because of the above.
16843
16844 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
16845
16846         * text2.C (setCounter): Fix counters bug with bibliography layout.
16847
16848 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16849
16850         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16851         own member functions
16852         (simpleTeXSpecialChars): ditto
16853
16854 2001-07-06  Juergen Vigna  <jug@sad.it>
16855
16856         * a lot of files: changed the access to LyXText::status and the
16857         call of undo-functions.
16858
16859         * undo.[Ch]: added a inset_id to the undo informations.
16860
16861         * undo_funcs.[Ch]: added and moved here all undo functions.
16862
16863         * lyxtext.h: give the status enum a weight, made status_ a private
16864         variable and made accessor functions for it, removed the whole bunch
16865         of undo-functions as they are now in their own file, make some
16866         functions publically available. Added function ownerParagraph with
16867         int parameter.
16868
16869         * paragraph.[Ch]: added "bool same_ids" to the constructor,
16870         made InInset() a const function, added getParFromID() function.
16871
16872         * buffer.[Ch]: added const version for inset_iterator functions,
16873         added getInsetFromID() function.
16874
16875         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16876         changed undo functions for new version.
16877
16878 2001-07-05  Juergen Vigna  <jug@sad.it>
16879
16880         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16881         unknow mechanism does not call the proper constructor but only this
16882         one also if I request the other!?
16883
16884 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16885
16886         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16887
16888         * text2.C (LyXText): use initialization lists.
16889
16890         * lyxtext.h (Selection): initialize set_ and mark_
16891         (init): remove method
16892
16893 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
16894
16895         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16896
16897 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16898
16899         * screen.[Ch]: change method names to begin with lowercase
16900
16901         * BufferView_pimpl.C (updateScrollbar): simplify further and
16902         hopefully make it a bit faster.
16903
16904 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16905
16906         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16907         calling directly xforms functions.
16908
16909         * Painter.C (Painter):
16910         * lyx_cb.C (MenuWrite):
16911         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16912         fl_display.
16913
16914         * lyx_gui.C: remove bogus guiruntime extern declaration.
16915
16916 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16917
16918         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16919         in NEW_INSETS
16920         (redoDrawingOfParagraph): ditto
16921         (redoParagraphs): ditto
16922         (cutSelection): don't create a object for CutAndPaste use the
16923         static method directly
16924         (pasteSelection): ditto
16925
16926         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16927         LyXview (+ rename)
16928
16929 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16930
16931         * modifications to some other files because of this.
16932
16933         * Makefile.am (lyx_SOURCES): add XFormsView
16934
16935         * XFormsView.[Ch]: new files
16936
16937         * LyXView.[Ch]: make LyXView a base class for the gui handling for
16938         the main window. Move the gui dependent stuff to XFormsView
16939
16940 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16941
16942         * tabular.C (GetCellInset): update cur_cell also in the row/col
16943         version of this function.
16944
16945         * lyxfunc.C: no need to include figure_form.h here.
16946
16947         * FontLoader.h:
16948         * lyxfunc.h:
16949         * lyxscreen.h:
16950         * text2.C:
16951         * lyxvc.C: no need to include forms.h here.
16952
16953 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16954
16955         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16956
16957         * lyxfunc.C (Dispatch):
16958         * Spacing.C (set):
16959         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16960         constructor argument.
16961
16962 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16963
16964         * paragraph.C (Paragraph): dont't clear, and just set layout.
16965         (makeSameLayout): use params's copy contructor.
16966
16967         * ParagraphParameters.[Ch] (makeSame): delete method
16968
16969 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
16970
16971         * Variables.[Ch]: fix indentation, rename set to isSet
16972
16973 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16974
16975         * lyxfunc.C (Dispatch): fix typo
16976
16977 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16978
16979         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16980         upper_bound.
16981
16982         * bufferlist.C: include assert.h for emergencyWrite().
16983
16984 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16985
16986         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16987           give up at last (bug #425202) !
16988
16989 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
16990
16991         * lyx_gui_misc.C:
16992         * sp_form.h:
16993         * sp_form.C:
16994         * spellchecker.h:
16995         * spellchecker.C: strip spellchecker options and bring up
16996           preferences tab instead
16997
16998 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16999
17000         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
17001         the istringstream constructor
17002
17003 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17004
17005         * paragraph.C (getLayout): fix return value
17006
17007         * paragraph.h: do not declare getLayout as inline.
17008
17009         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
17010
17011 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17012
17013         * lyxcursor.h (operator<): new func
17014         (operator>): new func
17015         (operator>=): new func
17016         (operator<=): new func
17017
17018         * text.C (changeCase): use selection.start and selection.end
17019         (changeRegionCase): require from to be <= to. Require par to be a
17020         valid paragraph.
17021
17022         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
17023
17024 2001-06-27  Juergen Vigna  <jug@sad.it>
17025
17026         * text.C (cursorLeftOneWord): changed to return the cursor and added
17027         overlay with BufferView * parameter which calls this one.
17028         (getWord): added
17029         (selectWord): use new getWord function.
17030         (changeCase): renamed from changeWordCase as and extended to work
17031         also on selections.
17032
17033         * lyxtext.h: added enum word_location
17034
17035         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
17036         changeCase as this operates now also on selections.
17037
17038 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
17039
17040         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
17041
17042         * many files: send debug output to Debug::INFO instead of
17043         Debug::ANY.
17044
17045         * converter.C (View):
17046         (Convert):
17047         (Move): send debug output to Debug::FILES instead of console.
17048
17049 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
17050
17051         * lyxfunc.C (getStatus): use func_status
17052
17053         * func_status.h: new header, describing the results of
17054         LyXFunc::getStatus;
17055
17056         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
17057         LFUN_MATH_HALIGN.
17058
17059 2001-06-25  The LyX Project  <jug@sad.it>
17060
17061         * buffer.C (sgmlOpenTag):
17062         (sgmlCloseTag):
17063         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
17064
17065 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17066
17067         * text2.C: remove some dead code
17068
17069         * tabular.C (GetCellInset): store the last cell checked (gotten)
17070
17071         * tabular.h: add the helper for the speedup
17072
17073         * lyxtext.h: remove some dead code
17074
17075 2001-06-26  The LyX Project  <Asger>
17076
17077         * paragraph.C: Change export to LaTeX of alignment to
17078         \begin{center} and family for better roundtrip work with reLyX.
17079
17080         * Tune the math drawing a bit.
17081
17082 2001-06-25  The LyX Project  <Asger>
17083
17084         * LColor.C (LColor): New color for math background. New color
17085         for buttons.
17086
17087 2001-06-25  The LyX Project  <jug@sad.it>
17088
17089         * lyxfunc.C (MenuNew): remove extra check for .lyx file
17090
17091         * lyxfunc.C (Open):
17092         * bufferlist.C (newFile): do not restrict to files ending with
17093         .lyx
17094
17095         * BufferView_pimpl.C (MenuInsertLyXFile):
17096
17097 2001-06-24  The LyX Project  <jug@sad.it>
17098
17099         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
17100         of compare_no_case
17101
17102 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17103
17104         * lyxtext.h: rename most methods to begin with a small char.
17105         Lots of changes because of this.
17106
17107         * paragraph.C (Paragraph): do not call fitToSize
17108         (erase): call Pimpl::erase
17109         (insertChar): call Pimpl::insertChar
17110         (insertInset): call Pipl::insertInset
17111         (breakParagraph): do not call fitToSize
17112         (breakParagraphConservative): do not call fitToSize
17113         (fitToSize): remove method
17114
17115         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
17116
17117 2001-06-24  The LyX Project  <Asger>
17118
17119         * Fix Qt compilation^2
17120
17121 2001-06-24  The LyX Project  <jug@sad.it>
17122
17123         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
17124         depthHook(getDepth()-1).
17125
17126         * paragraph.h:
17127         * ParagraphParameters.h:
17128         * ParameterStruct.h: change type of depth to unsigned int ==
17129         depth_type. Many adaptations to other files before of that.
17130
17131 2001-06-24  The LyX Project  <Asger>
17132
17133         * Fix Qt compilation.
17134
17135 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17136
17137         * paragraph.h: renamed several methods to begin with small letter.
17138         several changes to many parts of the code because of this.
17139
17140 2001-06-23  The LyX Project  <jug@sad.it>
17141
17142         * text2.C (InsertStringAsLines): renamed from InsertStringA;
17143         rewritten to discard all double spaces when KeepEmpty is off
17144         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
17145         to only handle newlines but not fiddle with spaces and friends.
17146
17147         * lyxfunc.C (MenuNew): when doing 'new from template', use
17148         template_path as default directory
17149
17150 2001-06-23  The LyX Project  <Asger>
17151
17152         * Clean-up of header file includes all over
17153         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
17154
17155 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17156
17157         * paragraph.h: renamed from lyxparagraph.h
17158
17159 2001-06-23  Asger  <lyx@violet.home.sad.it>
17160
17161         * Buffer.h: Removed Buffer::resize
17162         * BufferList.h: Removed BufferList::resize
17163         * LyXView.h: Added LyXView::resize. This way, we will only reflow
17164         the document lazily when we change the width, or the font settings.
17165
17166 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
17167
17168         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
17169
17170 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
17171
17172         * buffer.h: remove out of date comment
17173
17174 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
17175
17176         * lyxscreen.h:
17177         * screen.C: fix "theoretical" GC leak
17178
17179 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17180
17181         * LaTeX.C (scanAuxFile):
17182         (deplog): remove trailing \r when reading stream (useful under
17183         win32)
17184
17185 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
17186
17187         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
17188         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
17189         and BufferView::theLockingInset(Inset*), so should use them and not
17190         access bv_->text->the_locking_inset directly.
17191
17192         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
17193
17194 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
17195
17196         * Makefile.am:
17197         * tex-defs.h: remove old unused file
17198
17199 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
17200
17201         * BufferView_pimpl.C: fix typo, remove minibuffer message
17202           when buffer has loaded
17203
17204 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17205
17206         * lyxfunc.C (Dispatch): use stringstream
17207         (MenuNew): use stringstream
17208         (Open): use stringstream
17209
17210         * importer.C (Import): use stringstream
17211
17212         * bufferview_funcs.C (CurrentState): use stringstream
17213
17214         * LaTeX.C (run): use stringstream
17215
17216         * BufferView_pimpl.C (savePosition): use stringstream
17217         (restorePosition): use stringstream
17218         (MenuInsertLyXFile): use stringstream
17219
17220 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
17221
17222         * BufferView.C:
17223         * Bullet.C:
17224         * ColorHandler.C:
17225         * FontInfo.C:
17226         * FontLoader.C:
17227         * LColor.C:
17228         * LaTeXFeatures.C:
17229         * Painter.C:
17230         * gettext.C:
17231         * lyx_gui_misc.C:
17232         * lyxserver.C:
17233         * vspace.C: removed // -*- C++ -*- as first line.
17234
17235         * lyxfind.h:
17236         * version.h: added // -*- C++ -*- as first line.
17237
17238 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17239
17240         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
17241
17242         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
17243         of string
17244
17245 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17246
17247         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
17248         of floats.
17249
17250 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17251
17252         * gettext.C: include LString.h even when --disable-nls is on.
17253
17254 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
17255
17256         * converter.h (Get): changed argument type from int to
17257         FormatList::size_type to avoid unnecessary conversion.
17258
17259         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
17260         before using it.
17261
17262 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17263
17264         * gettext.h: include LString.h even when --disable-nls is on.
17265
17266 2001-06-07  Juergen Vigna  <jug@sad.it>
17267
17268         * text.C (BreakAgain): subst spaces with tabs.
17269
17270         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
17271         (resizeInsetsLyXText): set force on resizeLyXText.
17272
17273 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17274
17275         * gettext.h (gettext_init):
17276         (locale_init): use a real definition instead of a macro
17277
17278 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
17279
17280         * Bufferview_pimpl.C:
17281         * LColor.h:
17282         * LColor.C: further lcolor tidies
17283
17284 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17285
17286         * BufferView_pimpl.C (updateScrollbar): simplify.
17287
17288         * BufferView2.C: don't include insets/insetinfo.h, change
17289         prototype for insertInset and call the Pimpl version. let
17290         updateInset call Pimpl version.
17291
17292         * BufferView.h: move inset_slept to BufferView::Pimpl, move
17293         gotoInset to BufferView::Pimpl
17294
17295 2001-06-01  Juergen Vigna  <jug@sad.it>
17296
17297         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
17298         inside a LockingInset (is the update needed at all?).
17299
17300 2001-05-31  Juergen Vigna  <jug@sad.it>
17301
17302         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
17303         here not the old one otherwise how should we compare it afterwards
17304         if it's the same!
17305
17306 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17307
17308         * lyxfont.C:
17309         * tabular.C:
17310         * tabular-old.C:
17311         * FontInfo.C: bring C functions into global namespace when
17312         necessary
17313
17314 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17315
17316         * LString.h: make sure config.h has been loaded before LString.h.
17317
17318         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
17319         (one for each char read by EatLine!).
17320
17321         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
17322         variables.
17323
17324 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17325
17326         * paragraph.C (BreakParagraph): set the inset_owner in the new par
17327         to the same as the par we break from
17328
17329 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17330
17331         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
17332
17333         * MenuBackend.C (expand): also create menu entries for wide
17334         versions of the floats.
17335
17336         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
17337
17338         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
17339
17340         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
17341         frontends/Makefile.am
17342
17343         * text2.C: adjust
17344         * text.C: adjust
17345
17346
17347         * tabular.C (getTokenValue): add std::
17348
17349         * tabular-old.C (getTokenValue): add std::
17350         (getTokenValue): ditto
17351         (getTokenValue): ditto
17352
17353         * screen.C (ToggleSelection): adjust
17354
17355         * lyxtext.h: put selection cursors inside a Selection struct.
17356
17357         * lyxfunc.C (moveCursorUpdate): adjust
17358
17359         * lyxfont.C (latexWriteStartChanges): add std::
17360
17361         * lyxfind.C: adjust
17362
17363         * font.h: delete with(char const *, LyXFont const &)
17364
17365         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
17366
17367         * FontInfo.C (getFontname): add std::
17368
17369         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
17370         (workAreaButtonPress): adjust
17371         (tripleClick): adjust
17372         (update): adjust
17373         (moveCursorUpdate): adjust
17374         (Dispatch): adjust
17375
17376         * BufferView2.C (gotoInset): adjust
17377
17378 2001-05-30  Juergen Vigna  <jug@sad.it>
17379
17380         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
17381         to check pspell I add this as default as I now have new pspell
17382         libraries and they seem to use this.
17383
17384 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17385
17386         * text2.C (CutSelection): make the cursor valid before the call to
17387         ClearSelection.
17388
17389 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17390
17391         * kbsequence.C (parse): de-uglify a bit the parsing code, which
17392         relied on 0 terminated strings and other horrors. Bug found due to
17393         the new assert in lyxstring!
17394
17395         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
17396         KP_ keys.
17397
17398 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17399
17400         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
17401         to latinkeys.bind.
17402
17403         * lyxfunc.C (processKeySym): change method of getting to the
17404         self-insert char.
17405
17406         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
17407         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
17408         * BufferView_pimpl.[Ch]: here as private methods.
17409
17410 2001-05-28  Juergen Vigna  <jug@sad.it>
17411
17412         * text.C (SetHeightOfRow): added the update() call again as it is
17413         needed to initialize inset dimensions!
17414
17415 2001-05-16  Juergen Vigna  <jug@sad.it>
17416
17417         * text2.C (SetCharFont): Add new function with BufferView * and
17418         bool toggleall parameters for setting insets internal fonts.
17419         (SetFont): Freeze the undo as we may change fonts in Insets and
17420         all this change should be inside only one Undo!
17421
17422         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
17423         setting font's in insets as for them we have the SetFont function!
17424
17425 2001-05-15  Juergen Vigna  <jug@sad.it>
17426
17427         * text2.C (ClearSelection): to be sure we REALLY don't have any
17428         selection anymore!
17429
17430         * tabular.C (TeXCellPreamble): fixed the left border problem for
17431         multicolumn cells.
17432
17433 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
17434
17435         * LaTeX.C (deplog): Make sure that the main .tex file is in the
17436         dependancy file
17437
17438 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17439
17440         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
17441         LFUN_BREAKPARAGRAPH.
17442
17443         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
17444         help test to "internal only", similar for LFUN_INSERT_URL
17445
17446         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
17447         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
17448         auto_region_delete and deadkeys.
17449
17450 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
17451
17452         * LColor.h:
17453         * LColor.C: remove some dead entries, tidy a little
17454
17455 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17456
17457         * lyxfunc.C (processKeySym): comment the Escape handling, remove
17458         commented code.
17459         (Dispatch): implement LFUN_ESCAPE
17460
17461         * commandtags.h: add LFUN_ESCAPE
17462
17463         * LyXAction.C (init): add entry for LFUN_ESCAPE
17464
17465         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17466         Remove commented code.
17467         (insertNote): moved here
17468         (open_new_inset): moved here
17469
17470         * BufferView[2].[Ch]: move insertNote and open_new_inset to
17471         BufferView_pimpl
17472
17473 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17474
17475         * kbmap.C (findbinding): clean it up and make it work correctly.
17476
17477         * lyx_main.C (init): do not pass argc and argv as parameters
17478
17479 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
17480
17481         * buffer.C: fix path for OS/2 & Win32
17482
17483         * lyx_gui.C:
17484         * lyx_main:
17485         * lyx_main.C: Added os:: class.
17486
17487         * os2_defines.h: update
17488
17489 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17490
17491         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17492         better by trying again with reduced state.
17493
17494 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17495
17496         * lyxrc.C (read): print error about invalid key sequence only when
17497         debugging (because not all latinX keysyms are known to some X
17498         servers)
17499
17500         * kbsequence.C (getiso): add a few std:: qualifiers
17501         (getiso): comment out extra return statement.
17502
17503 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17504
17505         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17506         handling.
17507         (Dispatch): enhance the accent inset a bit. (not perfect)
17508
17509 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17510
17511         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17512
17513 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17514
17515         * bufferlist.C (emergencyWrite): fix assert() call
17516
17517 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
17518
17519         * text.C (InsertChar): Added trivial patch to only send the "you
17520         can not do multiple spaces this way" message once during a
17521         session.
17522
17523 2001-05-08  Baruch Even  <baruch@lyx.org>
17524
17525         * Makefile.am: Changed order of libraries to get LyX to link properly
17526         with the gnome frontend.
17527
17528 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17529
17530         * LaTeXFeatures.h: add a std:: qualifier
17531
17532 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17533
17534         * paragraph.C (String): use stringstream
17535
17536 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17537
17538         * paragraph.C (writeFile): remove footflag arg
17539
17540         * buffer.C (makeLaTeXFile): use stringstream
17541         (latexParagraphs): remove footnot gurba
17542
17543         * LaTeXFeatures.C (getPackages): use stringstream
17544         (getMacros): likewise
17545         (getTClassPreamble): likewise
17546         (getFloatDefinitions): new method
17547
17548         * paragraph.C (writeFile): reindent
17549         (Erase): reindent
17550
17551         * WorkArea.h: revert the xpos + etc changes.
17552
17553         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17554
17555         * lyxparagraph.[Ch]: add copy constructor, remove Clone
17556
17557         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17558         (pasteSelection): likewise
17559         * text2.C (CreateUndo): likewise
17560
17561 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17562
17563         * minibuffer.C (peek_event): temporarily reduce the functionality
17564         of the minibuffer (to allow args on lfuns)
17565
17566         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17567         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17568
17569         * buffer.C (readInset): add compability reading of old float
17570         lists, add reading of new style float list.
17571         (readInset): avoid reevaluation of inscmd.getCmdName()
17572         (getLists): reindent
17573
17574         * MenuBackend.C (MenuItem): implement parsing of
17575         md_floatlistinsert and md_floatinsert.
17576         (expand::LastFiles): move initalizaton of iterators out of loop,
17577         avoid reevaluation.
17578         (expand::Documents): introduce typdedef vector<string> Strings,
17579         and use it.
17580         (expand::ExportFormats): introduce typedef vector<Format const *>
17581         Formats, and use it.
17582         (expand): implement FloatListInsert and FloatInsert.
17583
17584         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17585         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17586         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17587
17588         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17589         handling.
17590         (Dispatch::LFUN_FLOAT_LIST): implement
17591
17592 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
17593
17594         * LaTeX.C (run): Fix problem with --export code.
17595
17596 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17597
17598         * BufferView.[Ch] (workarea): removed.
17599         (getClipboard) new method; wrapper for workarea()->getClipboard()
17600
17601         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17602         bug.
17603
17604         * WorkArea.h (width, height, xpos, ypos): These methods all
17605         returned the dimensions of the work_area sub-area of WorkArea,
17606         resulting in a position error if the WorkArea were resized. Now
17607         return the dimensions of the entire WorkArea.
17608
17609         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17610
17611 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17612
17613         * LaTeX.C (deplog): correct the syntax of regex reg1
17614
17615 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17616
17617         * undo.C: remove !NEW_INSETS cruft
17618
17619 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17620
17621         * text2.C: remove !NEW_INSETS cruft
17622
17623         * text.C: remove !NEW_INSETS cruft
17624
17625         * tabular.C: remove !NEW_INSETS cruft
17626
17627         * spellchecker.C: remove !NEW_INSETS cruft
17628
17629         * lyxtext.h: remove !NEW_INSETS cruft
17630
17631         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17632
17633         * lyxfunc.C: remove !NEW_INSETS cruft
17634
17635         * lyxfind.C: remove !NEW_INSETS cruft
17636
17637         * lyx_cb.C: remove !NEW_INSETS cruft
17638
17639         * figureForm.C: remove  !NEW_INSETS cruft
17640
17641         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17642
17643         * buffer.[Ch]: remove !NEW_INSETS cruft
17644
17645         * ToolbarDefaults.C: remove !NEW_INSETS cruft
17646
17647         * CutAndPaste.C: remove !NEW_INSETS cruft
17648
17649         * BufferView_pimpl.C: remove !NEW_INSETS cruft
17650
17651         * BufferView2.C: remove !NEW_INSETS cruft
17652
17653         * BufferView.h: remove !NEW_INSETS cruft
17654
17655 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17656
17657         * Lsstream.h: include LString.h before the sstream headers to
17658         fix problem with gcc 2.95.3 and lyxstring
17659
17660 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17661
17662         * lyx_main.C: add using directives when needed for C functions
17663         declared in std:: namespace.
17664
17665 2001-04-27  Juergen Vigna  <jug@sad.it>
17666
17667         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17668         (SetHeightOfRow): comment out the update call should not be needed!
17669
17670 2001-04-13  Juergen Vigna  <jug@sad.it>
17671
17672         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17673         (LyXTabular): tried to minimize operator= operations (and realized
17674         hopfully Lars wish).
17675
17676 2001-04-27  Juergen Vigna  <jug@sad.it>
17677
17678         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17679
17680 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17681
17682         * lyxfunc.C (Dispatch): hack to make listof algorithm work
17683
17684         * buffer.C (readInset): hack to make listof algorithm work
17685
17686         * BufferView_pimpl.C: hack to make listof algorithm work
17687
17688 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17689
17690         * LyXAction.C: removed all !NEW_INSETS cruft
17691         (init): moved lfun_item in method
17692
17693         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17694
17695 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17696
17697         * BufferView2.C (theLockingInset): white space.
17698
17699 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17700
17701         * minibuffer.C: include <iostream>
17702
17703         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17704
17705         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17706
17707         * commandtags.h: add LFUN_TRANSPOSE_CHARS
17708
17709         * text.[Ch] (TransposeChars): new method
17710
17711 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17712
17713         * call message directly through LyXView instead of through LyXFunc
17714         * BufferView2.C: adjust
17715         * BufferView_pimpl.C: adjust
17716         * FontLoader.C: adjust
17717         * buffer.C: adjust
17718         * bufferview_funcs.C: adjust
17719         * converter.C: adjust
17720         * figureForm.C: adjust
17721         * importer.C: adjust
17722         * lyx_cb.C: adjust
17723         * lyx_gui_misc.C: adjust
17724         * lyxfunc.C: adjust
17725         * lyxvc.C: adjust
17726         * text2.C: adjust
17727         + more files in subdirs
17728
17729         * lyxparagraph.h (size): move up int file
17730         (GetLayout): ditto
17731
17732         * adjust all uses of Assert to lyx::Assert.
17733
17734         * BufferView2.C (ChangeCitationsIfUnique): adjust for
17735         lyxfunctional in namespace lyx
17736         * layout.C (hasLayout): ditto
17737         (GetLayout): ditto
17738         (GetLayout): ditto
17739         (delete_layout): ditto
17740         (NumberOfClass): ditto
17741         * converter.C (GetFormat): ditto
17742         (GetNumber): ditto
17743         (Add): ditto
17744         (Delete): ditto
17745         (SetViewer): ditto
17746         * bufferlist.C (getFileNames): ditto
17747         (emergencyWriteAll): ditto
17748         (exists): ditto
17749         (getBuffer): ditto
17750         * MenuBackend.C (hasSubmenu): ditto
17751         (hasMenu): ditto
17752         (getMenu): ditto
17753         * BufferView_pimpl.C (getInsetByCode): ditto
17754
17755 2001-04-18  Juergen Vigna  <jug@sad.it>
17756
17757         * vspace.C (asLatexString): fixed the 100% problem.
17758
17759 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17760
17761         * lyxfunc.C (Dispatch):
17762         * minibuffer.C:
17763         * minibuffer.h: add a few std:: qualifiers
17764
17765 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17766
17767         * minibuffer.[Ch]: reimplement so that commands is initiated and
17768         run from lyxfunc, simplified som handling, and made the completion
17769         and history code for complete. wip.
17770
17771         * lyxfunc.C (processKeySym): call message
17772         (miniDispatch): new temporary method
17773         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17774         (LFUN_MESSAGE): implement
17775         (LFUN_MESSAGE_PUSH): implement
17776         (LFUN_MESSAGE_POP): implement
17777         (initMiniBuffer): the initial/defualt minibuffer message.
17778
17779         * lyxfont.[Ch]: inline some more getters
17780
17781         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17782
17783         * lyx_gui_misc.[Ch] (WriteStatus): remove method
17784
17785         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17786         (AutoSave): use LFUN_MESSAGE
17787         (Reconfigure): ditto
17788
17789         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17790
17791         * figureForm.C: use LFUN_MESSAGE
17792
17793         * converter.C (runLaTeX): use LFUN_MESSAGE
17794
17795         * bufferview_funcs.C: use LFUN_MESSAGE
17796         (Melt): ditto
17797         (changeDepth): ditto
17798
17799         * bufferparams.h: use boost::
17800
17801         * bufferlist.h: inherit privately from noncopyable
17802
17803         * bufferlist.C (loadLyXFile): remove some commented code.
17804
17805         * buffer.C (runChktex): use LFUN_MESSAGE
17806
17807         * ShareContainer.h: inherit privately from noncopyable
17808
17809         * ParagraphParameters.[hC] (depth): inline it.
17810
17811         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17812         methods.
17813         (message): new method
17814         (messagePush): ditto
17815         (messagePop): ditto
17816         (show): init minibuffer
17817         (showState): direct call
17818
17819         * LaTeX.[Ch]: inherit privately from noncopyable
17820         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17821         instead of WriteStatus.
17822
17823         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17824
17825         * BufferView_pimpl.C (buffer): don't init minibuffer
17826         (workAreaButtonPress): use LFUN_MESSAGE
17827         (workAreaButtonRelease): ditto
17828         (savePosition): ditto
17829         (restorePosition): ditto
17830         (MenuInsertLyXFile): ditto
17831         (workAreaExpose): don't init minibuffer
17832         (update): remove commented code, simplify
17833
17834         * BufferView2.C (openStuff): use LFUN_MESSAGE
17835         (toggleFloat): ditto
17836         (menuUndo): ditto
17837         (menuRedo): ditto
17838         (copyEnvironment): ditto
17839         (pasteEnvironment): ditto
17840         (copy): ditto
17841         (cut): ditto
17842         (paste): ditto
17843         (gotoInset): ditto
17844         (updateInset): remove some commented code
17845
17846         * lastfiles.h: inherit privately from noncopyable
17847         * layout.h: ditto
17848         * lyx_gui.h: ditto
17849         * lyx_main.h: ditto
17850         * lyxlex.h: ditto
17851         * lyxlex_pimpl.h: ditto
17852
17853         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17854         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17855         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17856
17857         * LyXAction.h: inherit privately from noncopyable, add methods
17858         func_begin, func_end, returning iterators to the func map.
17859
17860         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17861         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17862         (func_begin): new method
17863         (func_end): new method
17864
17865         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17866         and not)
17867         (copySelection): ditto
17868         (pasteSelection): ditto
17869
17870         * BufferView.C: whitespace change
17871         * BufferView.h: inherit privately from noncopyable
17872
17873 2001-04-16  Allan Rae  <rae@lyx.org>
17874
17875         * tabular-old.C (l_getline):
17876         * spellchecker.C (sc_check_word):
17877         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17878         an unrecognised preprocessor directive.  So ensure they're wrapped.
17879
17880 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
17881
17882         * src/exporter.C (Export): Give an error message when path to file
17883         contains spaces.
17884
17885 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
17886
17887         * LaTeX.C (deplog): Always check that foundfile exists.
17888
17889 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17890
17891         * lyx_main.h:
17892         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17893
17894 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17895
17896         * tabular.[Ch] (getLabelList): implement new method
17897
17898         * minibuffer.h: comment ouf setTiimer
17899
17900         * minibuffer.C (ExecutingCB): constify res
17901         (peek_event): constify s
17902         (Set): constify ntext
17903         (Init): constify nicename
17904
17905         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17906
17907         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17908         (savePosition): use two params to Minibuffer::Set
17909         (restorePosition): ditto
17910
17911 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17912
17913         * lyx_main.C: include language.h
17914
17915         * Makefile.am (lyx_main.o): add language.h
17916
17917 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17918
17919         * exporter.C:
17920         * paragraph.C:
17921         * screen.C:
17922         * tabular.C:
17923         * CutAndPaste.C: include gettext.h
17924
17925         * lyxfont.h: remove old hack with ON and OFF.
17926
17927         * lyxparagraph.h:
17928         * lyxfont.h: do not include language.h...
17929
17930         * BufferView2.C:
17931         * LaTeXFeatures.C:
17932         * Painter.C:
17933         * bufferview_funcs.C:
17934         * font.C:
17935         * lyxfont.C:
17936         * text.C:
17937         * text2.C:
17938         * trans_mgr.C:
17939         * paragraph.C: ... but do it here instead
17940
17941 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17942
17943         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17944
17945         * tabular.C: small reformat
17946
17947         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17948         NEW_INSETS version
17949         (GetChar): ditto
17950         (BreakParagraph): ditto
17951         (SetOnlyLayout): ditto
17952         (SetLayout): ditto
17953
17954         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17955         with one arg less.
17956
17957         * lastfiles.C: removed most using decl, add std:: where needed
17958
17959         * buffer.C: ws changes
17960
17961         * MenuBackend.C (class compare_format): put into anon namespace
17962         (expand): constify label, names, action, action2
17963         (expand):
17964
17965         * text.C (SingleWidth): constify font
17966         (IsBoundary): constify rtl2
17967         (GetVisibleRow): constify ww
17968
17969         * LaTeX.C (deplog): constify logfile
17970
17971         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17972         start_x, end_x
17973         (workAreaExpose): constify widthChange, heightChange
17974
17975         * lyxrow.C (par): moved
17976         (height): moved
17977         (next): moved
17978         * lyxrow.h: as inlines here
17979
17980         * lyxfont.h (shape): moved from lyxfont.C
17981         (emph): moved from lyxfont.C
17982
17983         * lyxfont.C (LyXFont): use initialization list for all
17984         constructors
17985         (shape): move to lyxfont.h as inline
17986         (emph): move to lyxfont.h as inline
17987
17988
17989 2001-04-04  Juergen Vigna  <jug@sad.it>
17990
17991         * vspace.C: had to include stdio.h for use of sscanf
17992
17993 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
17994
17995         * BufferView.h:
17996         * BufferView_pimpl.h: remove xforms cruft. Both classes are
17997         independent of xforms.
17998
17999 2001-04-02  Juergen Vigna  <jug@sad.it>
18000
18001         * spellchecker.C: fixed namespace placing!
18002
18003 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
18004
18005         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
18006         the LyXParagraph * is 0.
18007
18008 2001-03-29  Juergen Vigna  <jug@sad.it>
18009
18010         * vspace.C: added support for %, c%, p%, l%.
18011         (stringFromUnit): added helper function.
18012         (asLatexString): changed to give right results for the %-values.
18013
18014         * buffer.C: convert the widthp in a width%.
18015
18016 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
18017
18018         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
18019         figureForm.[Ch].
18020
18021         * figureForm.[Ch]: stripped the FD_from_figure manipulation
18022         code out of lux_cb.[Ch], ready for its (imminent?) removal.
18023
18024         * lyx_cb.[Ch]: see above.
18025
18026         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
18027         form1.[Ch].
18028
18029         * form1.[Ch]:
18030         * lyx.[Ch]: replaced by figure_form.[Ch].
18031
18032         * lyx_gui.C:
18033         * lyx_gui_misc.C:
18034         * lyxfunc.C: changed headers associated with above changes.
18035
18036 2001-03-27  Juergen Vigna  <jug@sad.it>
18037
18038         * BufferView_pimpl.C: set the temporary cursor right!
18039
18040 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
18041
18042         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
18043
18044 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
18045
18046         * LString.h: removed "using std::getline"!
18047
18048         * BufferView_pimpl.C (Dispatch): changes due to changes in
18049         InsetInclude::Params.
18050
18051         * buffer.C (tag_name): removed redundant break statements as they were
18052         producing lots of warnings with my compiler.
18053
18054 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18055
18056         * LString.h: add "using std::getline" when using the real <string>.
18057
18058 2001-03-23  Jos�Ab�io Matos  <jamatos@fep.up.pt>
18059
18060         * buffer.C: removed bitset usage.
18061         PAR_TAG moved to an anonymous name space.
18062         (tag_name): new funtion, also in the anonymous namespace.
18063         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
18064         (makeDocBookFile): clean code. Completed transition from string arrays
18065         to string vectors.
18066         (SimpleDocBookOnePar): code clean.
18067
18068 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18069
18070         * tabular.C: add some comments.
18071
18072 2001-03-22  Juergen Vigna  <jug@sad.it>
18073
18074         * buffer.C (parseSingleLyXformat2Token): redone the minipage
18075         compatibility read a bit and fixed bug with minipage in different
18076         depth.
18077
18078 2001-03-21  Jos�Ab�io Matos  <jamatos@fep.up.pt>
18079
18080         * buffer.C (pop_tag): removed.
18081         (push_tag): removed.
18082         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
18083         array replaced with vector. Added support for CDATA sections.
18084         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
18085         at any nest level.
18086         (makeDocBookFile): XML conformant declaration of CDATA section,
18087         fixed bug related to <emphasis> in the first paragraph char.
18088         (sgmlOpenTag): exclude empty tags.
18089         (sgmlCloseTag): ditto.
18090
18091         * buffer.h (pop_tag): removed.
18092         (push_tag): removed.
18093
18094 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
18095
18096         * language.h (Languages): added size_type and size().
18097
18098 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18099
18100         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
18101         response on compability reading of minipages. One probliem is that
18102         the old usage of minipages was flertydig
18103
18104         * several files here and in subdirs: don't use static at file
18105         scope use anon namespaces instead.
18106
18107 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
18108
18109         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
18110         LaTeX output. This is necessary for Literate document
18111         processing.
18112
18113 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18114
18115         * buffer.C: insert hfill when needed.
18116
18117         * tabular.C (l_getline): use string::erase, small whitespace change.
18118
18119         * BufferView_pimpl.C: try the anon namespace.
18120         * WorkArea.C: ditto
18121
18122 2001-03-16  Juergen Vigna  <jug@sad.it>
18123
18124         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
18125         otherwise it won't open options-dialogs.
18126
18127         * buffer.C: honor pextraWidth(p) on converting minipages.
18128
18129         * tabular.C (l_getline): changed the functions to strip trailing \r.
18130
18131 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
18132
18133         * BufferView_pimpl.C:
18134         * minibuffer..C: added "using SigC::slot" declaration.
18135
18136 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18137
18138         * lyxlex_pimpl.h: noncopyable is in namespace boost.
18139
18140         * text2.C: ditto
18141
18142         * text.C: ditto
18143
18144         * paragraph.C: ditto
18145
18146         * lyxtext.h: NO_PEXTRA
18147
18148         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
18149
18150         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
18151         * ParameterStruct.h: ditto
18152         * ParagraphParameters.h: ditto
18153         * lyxparagraph.h: ditto
18154
18155 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18156
18157         * buffer.C: add compability for minipage alignment.
18158         (latexParagraphs): remove unwanted pextra check.
18159
18160         * several files: remove CXX_WORKING_NAMESPACES
18161
18162         * buffer.C (pop_tag): tie is in namespace boost
18163
18164         * BufferView.h: noncopyable is in namespace boost
18165         * lyxlex.h: ditto
18166         * lyx_main.h: ditto
18167         * lyx_gui.h: ditto
18168         * layout.h: ditto
18169         * lastfiles.h: ditto
18170         * bufferlist.h: ditto
18171         * ShareContainer.h: ditto
18172         * LyXView.h: ditto
18173         * LyXAction.h: ditto
18174         * LaTeX.h: ditto
18175
18176 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
18177
18178         * Merging changes from BRANCH_MVC back into HEAD.
18179
18180         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
18181
18182 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
18183
18184         * BufferView_pimpl.C: change from intl.C
18185
18186         * combox.h:
18187         * combox.C:
18188         * Makefile.am: move combox.*
18189
18190         * form1.h:
18191         * form1.C:
18192         * lyx_gui.C:
18193         * intl.h:
18194         * intl.C: remove dialog (covered by prefs)
18195
18196 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
18197
18198         * lyxfunc.C (Dispatch): removed redundant break statement.
18199
18200 2001-03-14  Juergen Vigna  <jug@sad.it>
18201
18202         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
18203
18204 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18205
18206         * buffer.C: add hack to fix compability reading of minipages.
18207
18208 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
18209
18210         * buffer.C (getLists): Cleanup.
18211
18212 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18213
18214         * lyxfont.C (update): don't honor toggleall on font size.
18215
18216 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
18217
18218         * bmtable.c:
18219         * bmtable.h:
18220         * Makefile.am: moved to frontends/xforms/
18221
18222         * lyx_gui_misc.C:
18223         * lyxfunc.C:
18224         * BufferView_pimpl.C: changes for moved mathpanel
18225
18226 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
18227
18228         * gettext.h: fix gettext_init() in --disable-nls
18229
18230 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18231
18232         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
18233
18234 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
18235
18236         * lyx.C:
18237         * lyx.h: strip external form
18238
18239 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
18240
18241         * BufferView_pimpl.C: add comment, destroySplash()
18242
18243 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
18244
18245         * BufferView_pimpl.C:
18246         * LyXAction.C:
18247         * buffer.C:
18248         * commandtags.h:
18249         * lyxfunc.C: use re-worked insetinclude
18250
18251 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18252
18253         * buffer.C: add using std::stringstream.
18254
18255         * lyx_cb.C: readd using std::ios.
18256
18257         * buffer.C: add using std::map.
18258
18259         * BufferView_pimpl.C: add using std::vector.
18260
18261         * ShareContainer.h: add std:: to swap.
18262
18263         * buffer.h: add some typedefs
18264         * buffer.C (getLists): use them
18265         (getLists): renamed from getTocList.
18266         add a counter for the different float types and use it in the
18267         generated string.
18268         (getLists): use the same counter for the NEW_INSETS and the "non"
18269         NEW_INSETS
18270
18271         * lyx_cb.h: remove unused items, includes, using etc.
18272
18273         * ShareContainer.h: remove some commented code, add more comments
18274         and "documentation".
18275
18276 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18277
18278         * buffer.C (getTocList): make the list also when NEW_INSETS is
18279         defined.
18280
18281         * buffer.h: remove TocType
18282
18283         * buffer.C (getTocList): change to return a map<string,
18284         vector<TocItem> >, implement for dynamic number of list.
18285
18286         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
18287         * text2.C (PasteSelection): adjust
18288         * CutAndPaste.C (pasteSelection): adjust
18289
18290         * FloatList.C (FloatList): update from the new_insets branch.
18291         * Floating.[Ch]: ditto
18292         * LaTeXFeatures.C: ditto
18293         * buffer.C: ditto
18294         * lyxlex_pimpl.C: ditto
18295
18296         * paragraph.C (Last): remove when NEW_INSETS is defined.
18297
18298         * other file: changes because of the above.
18299
18300 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18301
18302         * lyxparagraph.h: rename next to next_, previous to previous_,
18303         make them private for NEW_INSETS. Rename Next() to next(),
18304         Previous() to previous().
18305
18306         * other files: changes because of the above.
18307
18308 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
18309
18310         * BufferView.h:
18311         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
18312         problem.
18313
18314 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18315
18316         * main.C (main): pass lyx_localedir to gettext_init().
18317
18318         * gettext.h: remove locale_init and gettext_init macros
18319
18320         * gettext.C (locale_init): new function
18321         (gettext_init): new function
18322
18323         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
18324         setlocale().
18325
18326 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
18327
18328         * Moved credits to frontends:
18329         * credits.[Ch]: removed
18330         * credits_form.[Ch]: removed
18331         * lyx_gui_misc.C: remove credits stuff
18332         * Makefile.am:
18333
18334 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18335
18336         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
18337
18338         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
18339         unneeded destructor.
18340
18341         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
18342         a standalone pointer again.
18343
18344         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
18345
18346 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
18347
18348         * Makefile.am:
18349         * filedlg.h:
18350         * filedlg.C:
18351         * LyXAction.C:
18352         * ToolbarDefaults.C:
18353         * bufferlist.C:
18354         * commandtags.h:
18355         * form1.C:
18356         * form1.h:
18357         * lyx_cb.C:
18358         * lyx_cb.h:
18359         * lyxfunc.h:
18360         * lyxfunc.C:
18361         * BufferView_pimpl.C: use new file dialog in GUII
18362
18363         * lyx_cb.h:
18364         * lyx_cb.C: remove LayoutsCB to Toolbar
18365
18366 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18367
18368         * ShareContainer.h (get): add std:: qualifier
18369
18370 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18371
18372         * ShareContainer.h: define a proper ShareContainer::value_type
18373         type (and use typename to please compaq cxx)
18374
18375 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18376
18377         * lyxparagraph.h: move serveral local vars to
18378         ParameterStruct/ParagraphParameters., use ShareContainer in
18379         FontTable., make vars in FontTable private and add getter and
18380         setter.
18381
18382         * paragraph.C: changes because of the above.
18383
18384         * lyxfont.h: remove copy constructor and copy assignment. (the
18385         default ones is ok), move number inside FontBits. move inlines to
18386         lyxfont.C
18387
18388         * lyxfont.C: add number to initializaton of statics, move several
18389         inlines here. constify several local vars. some whitespace
18390         cleanup. Dont hide outerscope variables.
18391
18392         * Spacing.h: add two new constructors to match the set methods.
18393
18394         * ShareContainer.h: new file, will perhaps be moved to support
18395
18396         * ParameterStruct.h: new file
18397
18398         * ParagraphParameters.h: new file
18399
18400         * ParagraphParameters.C: new file
18401
18402         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
18403         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
18404
18405         * BufferView_pimpl.C: ParagraphParameter changes.
18406         * buffer.C: Likewise.
18407         * bufferview_funcs.C: Likewise.
18408         * text.C: Likewise.
18409         * text2.C: Likewise.
18410
18411 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18412
18413         * lyxfind.C (LyXReplace): do not redefine default argument in
18414         implementation.
18415         (IsStringInText): ditto
18416         (SearchForward): ditto
18417         (SearchBackward): ditto
18418
18419 2001-03-06  Juergen Vigna  <jug@sad.it>
18420
18421         * lyxfind.C (IsStringInText): put parentes around expressions.
18422
18423 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
18424
18425         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
18426
18427 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
18428
18429         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
18430
18431         * stl_string_fwd.h: add comment
18432
18433         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
18434
18435         * tabular.h:
18436         * tabular.C: remove unused DocBook methods
18437
18438         * intl.C:
18439         * language.C:
18440         * paragraph.C:
18441         * buffer.C:
18442         killed DO_USE_DEFAULT_LANGUAGE
18443
18444 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18445
18446         * lyx_gui.C: do not include language.h.
18447
18448         * bufferview_funcs.C (ToggleAndShow): do not provide optional
18449         arguments in function implementation.
18450
18451 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18452
18453         * BufferView_pimpl.C: add <ctime>
18454
18455 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18456
18457         * BufferView_pimpl.C: add using std::find_if
18458
18459 2001-02-27  José Matos  <jamatos@fep.up.pt>
18460
18461         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18462         by OnlyPath.
18463
18464 2001-02-11  José Matos  <jamatos@fep.up.pt>
18465
18466         * buffer.C (makeDocBookFile): command styles now have a parameter as
18467         "title" by default.
18468
18469 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
18470
18471         * layout_forms.[Ch]: removed
18472         * lyx_cb.[Ch]: out character
18473         * lyx_gui.C: out character
18474         * lyx_gui_misc.C: out character
18475         * bufferview_funcs.C: : out character,
18476         added toggleall as parameter in ToggleAndShow
18477
18478 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
18479
18480         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18481
18482         * text2.C (SetCurrentFont): Disable number property at boundary.
18483
18484 2001-02-26  Juergen Vigna  <jug@sad.it>
18485
18486         * lyxfunc.C (getStatus): added a string argument override function so
18487         that this is correctly called from LyXFunc::Dispatch if it contains a
18488         do_not_use_argument which is used!
18489         (Dispatch): added check for "custom" export and call appropriate func.
18490
18491 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
18492
18493         * lyxrc.C: Add language_command_local, language_use_babel and
18494         language_global_options.
18495
18496         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18497
18498         * buffer.C (makeLaTeXFile): Use language_use_babel and
18499         language_global_options.
18500
18501 2001-02-23  Juergen Vigna  <jug@sad.it>
18502
18503         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18504         which works with LyXText and putted it inside BufferView. Here now we
18505         only call for that part the BufferView::Dispatch() function.
18506
18507         * BufferView.C (Dispatch): added.
18508
18509         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18510         functions which needs to use a LyXText over from LyXFunc.
18511         (MenuInsertLyXFile): added
18512         (getInsetByCode): added
18513         (moveCursorUpdate): added
18514         (static TEXT): added
18515
18516 2001-02-22  Juergen Vigna  <jug@sad.it>
18517
18518         * BufferView_pimpl.C (update): call a status update to see if LyXText
18519         needs it.
18520
18521 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18522
18523         * vc-backend.C (revert): implement for CVS
18524         (getLog): implement for CVS
18525
18526 2001-02-20  Juergen Vigna  <jug@sad.it>
18527
18528         * text2.C (ClearSelection): added BufferView param for inset_owner call
18529
18530         * lyxfunc.C (TEXT): added this function and use it instead of
18531         directly owner->view()-text of getLyXText().
18532
18533 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
18534
18535         * src/layout_forms.C: out preamble
18536         * src/layout_forms.h: out preamble
18537         * src/lyx_cb.C: out preamble
18538         * src/lyx_cb.h: out preamble
18539         * src/lyx_gui.C: out preamble
18540         * src/lyx_gui_misc.C: out preamble
18541         * src/lyxfunc.C: connect with guii preamble
18542
18543 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
18544
18545         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18546
18547 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
18548
18549         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18550         whether to run bibtex.
18551
18552 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
18553
18554         * Makefile.am (lyx_SOURCES): Remove BackStack.h
18555
18556 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
18557
18558         * Makefile.am (lyx_SOURCES): removed bibforms.h
18559
18560         * vspace.h: doxygen
18561
18562         * text.C (GetVisibleRow): make several local vars const
18563
18564         * tabular.C: small cleanup.
18565
18566         * lyxserver.C (callback): use compare instead of strncmp
18567
18568         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18569         inlines to after class or to paragraph.C
18570
18571         * lyxfont.h: remove friend operator!=
18572
18573         * converter.h: move friend bool operator< to non friend and after
18574         class def.
18575
18576         * combox.h: small cleanup
18577
18578         * buffer.h: doxygen, remove unused constructor, move inclas inlies
18579         to inlines after class def.
18580
18581         * buffer.C (pop_tag): use string operations instead of strcmp
18582
18583         * bmtable.c: doxygen, small cleanup
18584
18585         * LaTeX.h: remove friend operator==
18586
18587 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
18588
18589         * screen.C:
18590         * lyxrc.[Ch]:
18591         * lyxfunc.C:
18592         * lyxfont.[Ch]:
18593         * lyx_cb.C:
18594         * intl.[Ch]:
18595         * commandtags.h:
18596         * buffer.C:
18597         * WorkArea.[Ch]:
18598         * LyXAction.C:
18599         * BufferView_pimpl.C:
18600         * BufferView.[Ch]: remove cruft
18601
18602 2001-02-14  Juergen Vigna  <jug@sad.it>
18603
18604         * lyxfunc.C: removed #if 0 unused code
18605
18606         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18607
18608         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18609
18610         * text2.C (SetSelection): added a BufferView * parameter
18611
18612 2001-02-13  Juergen Vigna  <jug@sad.it>
18613
18614         * lyxfunc.C (Dispatch): fixed protected blank problem.
18615         * BufferView2.C (protectedBlank): added LyxText * parameter.
18616
18617         * tabular.C (AppendRow): forgot to set row_info of newly added row.
18618         (AppendColumn): same as above for column_info.
18619
18620         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18621         (moveCursorUpdate): use a LyXText param for support of InsetText.
18622
18623         * BufferView_pimpl.C (doubleClick): added support for InsetText.
18624         (tripleClick): ditto
18625
18626         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18627
18628         * BufferView_pimpl.C (update): added LyXText param to honor insets.
18629
18630         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18631
18632         * text2.C (SetSelection): set correct update status if inset_owner
18633         (ToggleFree): ditto
18634
18635 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
18636
18637         * tabular.C: remove some commented code.
18638
18639 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
18640
18641         * BufferView_pimpl.C: call hideSplash()
18642
18643         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18644
18645         * include_form.h:
18646         * bibforms.h: remove
18647
18648         * lyxfunc.C:
18649         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18650           add LFUN_CHILD_CREATE
18651
18652         * counters.h: fix tiny typo
18653
18654         * lyx_cb.C:
18655         * lyx.h:
18656         * lyx_gui.C:
18657         * lyx.C: move splash to frontends/xforms/
18658
18659         * lyx_gui_misc.C: move Include and Bibform to frontends
18660
18661         * lyxvc.h: clarify comment
18662
18663         * vspace.C: tiny housekeeping
18664
18665 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
18666
18667         * text.C (PrepareToPrint): RTL Fix.
18668
18669         * paragraph.C (GetUChar): New method.
18670         (String):  Use GetUChar.
18671
18672         * buffer.C (asciiParagraph): Use GetUChar.
18673
18674 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
18675
18676         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18677
18678 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
18679
18680         * buffer.h:
18681         * buffer.C: rename to getLogName(), handle
18682           build log / latex log nicely
18683
18684 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18685
18686         * MenuBackend.C:
18687         * MenuBackend.h: remove support for reference menuitem type.
18688
18689 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
18690
18691         * BufferView_pimpl.C: housekeeping
18692         * BufferView_pimpl.h:
18693         * LyXView.h:
18694         * Makefile.am:
18695         * Timeout.C:
18696         * Timeout.h:
18697         * minibuffer.h: move Timeout GUI-I
18698
18699 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
18700
18701         * lyxrc.C (read): Update converters data-structures.
18702
18703 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
18704
18705         * LaTeX.h (operator!=): add operator != for Aux_Info
18706
18707 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
18708
18709         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18710
18711         * LaTeXLog.C: deleted, useful code moved to Buffer
18712
18713         * buffer.h:
18714         * buffer.C: new function getLatexLogName()
18715
18716         * lyx_gui_misc.C:
18717         * lyx_gui.C:
18718         * lyxvc.C:
18719         * lyxvc.h:
18720         * lyxfunc.C: use frontends for LaTeX and VC logs
18721
18722 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18723
18724         * LaTeX.h: yet another std:: that Allan forgot.
18725
18726         * Variables.C (set): renamed from isset(), because this clashes
18727         with some HP-UX macros (grr).
18728
18729 2001-02-06  Allan Rae  <rae@lyx.org>
18730
18731         * LaTeX.h: Another bug fix.  Missing std:: this time.
18732
18733 2001-02-04  Allan Rae  <rae@lyx.org>
18734
18735         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18736         floats problem. I've left it commented out because it's not quite
18737         correct.  It should also test that the current object is a table or
18738         figure inset.  But I haven't gotten around to figuring out how to do
18739         that.  I *think* it'll be something like: "table" == inset.type()
18740
18741         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18742         bool.
18743
18744 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
18745
18746         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18747         all the citation/databases/styles in the auxilary file.
18748         (run): Rerun latex if there was a babel language error.
18749
18750 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
18751
18752         * text.C (Backspace): Preserve the font when changing newline char
18753         with a space.
18754         (BreakParagraph): If the cursor is before a space, delete the space.
18755
18756         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18757
18758 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
18759
18760         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18761         new argument (code).
18762         (ChangeCitationsIfUnique): New method.
18763
18764         * paragraph.C (GetPositionOfInset): Handle bibkey.
18765
18766 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18767
18768         * BufferView_pimpl.h: change type of Position::par_pos to
18769         LyXParagraph::size_type.
18770
18771 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
18772
18773         * BufferView_pimpl.C (savePosition, restorePosition): Write
18774         messages to minibuffer.
18775
18776 2001-01-28  José Matos  <jamatos@fep.up.pt>
18777
18778         * buffer.C (makeDocBookFile): adds support for document language.
18779         A silly restriction on the name of LatexCommand types where removed.
18780         Added support for CDATA sections, allows to chars unescaped, used
18781         among others in code, to avoid escape < and >.
18782
18783 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18784
18785         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18786         saved positions instrad of a stack. Furthermore, a position is
18787         stored using paragraph id/paragraph position.
18788
18789         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18790         Remove LFUN_REF_BACK.
18791
18792 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18793
18794         * converter.C (dvipdfm_options): New method.
18795
18796 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
18797
18798         * vspace.C (isValidLength): Fix for empty input string.
18799
18800 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18801
18802         * LyXAction.C (init): change description of LFUN_FIGURE to
18803         "Insert Graphics"
18804
18805 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18806
18807         * LaTeX.C: add using directive
18808
18809 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18810
18811         * MenuBackend.C (expand): Fix the sorting of the formats.
18812
18813 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
18814
18815         * lyx_main.C: tiny error message fix
18816
18817 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18818
18819         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18820         calling fl_initialize(). This fixes the problem with ',' as
18821         decimal separator in text files.
18822
18823 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18824
18825         * trans.C (process): Fix the keymap bug.
18826
18827 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
18828
18829         * LaTeX.C (scanAuxFiles): New method. Provides support for
18830         multiple bibliographies (when using the bibtopic/bibunits pacakges).
18831         (scanLogFile) Scan for "run BibTeX" messages.
18832
18833         * buffer.C (makeLaTeXFile): Do not load the ae package when using
18834         OT1 font encoding. Also, load the aecompl package if the ae
18835         package is loaded.
18836
18837         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18838
18839 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18840
18841         * texrow.C (increasePos): turn two error messages into debug
18842         messages.
18843
18844 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
18845
18846         * LaTeX.C (scanAux): Handle the \@input macro.
18847         (runBibTeX): Use scanAux().
18848
18849         * language.C (latex_options_): New field.
18850
18851         * LaTeXFeatures.C (getMacros): Add language macros.
18852
18853         * buffer.C (makeLaTeXFile): Small fix.
18854
18855 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18856
18857         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18858
18859         * text2.C: add a using directive.
18860
18861 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
18862
18863         * BufferView2.C:
18864         * lyx_gui_misc.h:
18865         * lyxfr1.C:
18866         * lyxfunc.C: kill LyXBell.
18867
18868 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
18869
18870         * text.C (IsBoundary): Remove the error message
18871
18872         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18873
18874         * lyxrc.C (setDefaults): Correct initialization value for
18875         font_norm_type.
18876
18877 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
18878
18879         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18880         gotoError().
18881
18882         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18883         and GotoNextNote().
18884
18885         * src/LyXAction.C: Added reference-next.
18886
18887         * text.C (InsertChar): Use contains instead of strchr.
18888
18889         * lyx_cb.C (MenuInsertLabel): Enable default value code.
18890
18891 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
18892
18893         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18894         alignment commands (when needed).
18895
18896         * text.C (InsertChar): Add ':' to number separator chars.