]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
4375184811b290e1954ebcd6bad8f6f8fb5f8837
[lyx.git] / src / ChangeLog
1 2006-03-16  Félix-Antoine Bourbonnais  <bouf10pub2@myriade.ca>
2
3         * text3.C (dispatch): set needsUpdate according to the return
4         value of the methods below (bug 2298)
5
6         * text2.C (cursorTop, cursorBottom, cursorHome, cursorEnd): return
7         true if dEPM triggered.
8
9 2006-03-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
10
11         * text.C (getPossibleLabel): get a sensible prefix inside figure and 
12         tabular floats (bug 1999).
13
14 2006-03-16  John Spray  <spray@lyx.org>
15
16         * lyxfunc.C (getStatus): disable LFUN_MENUWRITE when document is
17         clean (bug 2313)
18
19 2006-03-15  Martin Vermeer  <martin.vermeer@hut.fi>
20
21         * CutAndPaste.C (pasteSelectionHelper): comments
22         * paragraph_funcs.C (mergeParagraph): fix Juergen's cut&paste bug
23         * changes.h: comments
24         * paragraph.C (stripLeadingSpaces): remove unnecessary setChange
25         * text.C (backspace): allow deletion of inserted para break
26         Change tracking -related bug fixes (reported by Juergen) and 
27         some documentation work
28
29 2006-03-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
30
31         * MenuBackend.C (expand): make sure the menu is empty before
32         starting. 
33
34         * MenuBackend.h (clear): new method.
35
36 2006-03-13  Martin Vermeer  <martin.vermeer@hut.fi>
37
38         * rowpainter.C (paintChangeBar): fix painting of change bar with
39         only paragraph break changed
40
41 2006-03-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
42
43         * lyx_cb.C (Reconfigure): run lib/configure.py, not lib/configure
44         * lyx_main.C (reconfigureUserLyXDir): run ditto
45
46 2006-03-12  Martin Vermeer  <martin.vermeer@hut.fi>
47
48         * lyxtext.h: doxygen documentation fix
49
50 2006-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
51
52         * paragraph.[Ch] (write, lookupChange, lookupChangeFull;
53         added setChangeFull):
54         * paragraph_pimpl.[Ch] (trackChanges, cleanChanges, acceptChange,
55         rejectChange, erase; added setChangeFull):
56         * CutAndPaste.C (eraseSelectionHelper):
57         * lyxtext.h:
58         * text.C (readParToken, readParagraph, breakParagraph,
59         acceptChange, rejectChange, backspace, currentState; 
60         added backspacePos0):
61         * paragraph_funcs.C (breakParagraphConservative, mergeParagraph):
62         * lyxfind.C (findChange, findNextChange): fix bug 880: Change
63         tracked paragraphs should still allow a paragraph split (and related
64         things, i.e., multi-paragraph change tracking)
65
66 2006-03-10  Martin Vermeer  <martin.vermeer@hut.fi>
67
68         * BufferView_pimpl.C: fix bug 2212: First change is skipped is
69         "Merge changes..." dialog
70
71 2006-03-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
72
73         * bufferparams.C (writeLaTeX): define \labelitemi with \def. Fixes LaTeX 
74         error if the class has not defined them yet (bug 2053).
75
76 2006-03-10  Martin Vermeer  <martin.vermeer@hut.fi>
77
78         * BufferView.[Ch]:
79         * BufferView_pimpl.[Ch]: 
80         * LyXAction.C:
81         * debug.[Ch]:
82         * rowpainter.C:
83         * text3.C: Inside-inset speedup, esp. for the Mac (bug 2195)
84
85 2006-03-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
86
87         * pch.h: fix nullstream.hpp location for boost 1.33.0
88
89 2006-03-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
90
91         * pch.h:
92         * support/pch.h:
93         * support/debugstream.h: Use the correct nullstream.
94
95 2006-02-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
96
97         * text3.C (mathDispatch): fix math inset creation from string (bug 2315)
98
99 2006-02-28  Martin Vermeer  <martin.vermeer@hut.fi>
100
101         * cursor.C (niceInsert): fix (properly) insertion of
102         fonts/decorations around selection
103
104 2006-02-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
105
106         * lyxfont.C (lyxWriteChanges): Don't write \lang latex
107
108 2006-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
109
110         * text3.C (mathDispatch): fix crash when selection is not empty
111         but selectionAsString is empty (bug 2321).
112
113 2006-02-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
114
115         * text.C (changeCase): avoid crash in empty paragraph or on last
116         word of the paragraph. (buf 2323)
117         (cursorRightOneWord): fix the logic to stop at a beginning of a word.
118
119 2006-02-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
120
121         * buffer.C (readHeader): also erase params.preamble in advance
122         so that an empty preamble is actually recognized (bug 2317).
123
124         * rowpainter.C (paintFromPos): ditch applyOuterFont (bug 2308).
125
126 2006-02-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
127
128         * text2.C (deleteEmptyParagraphMechanism): 64bit compile fix
129
130 2006-02-05  Martin Vermeer  <martin.vermeer@hut.fi>
131
132         * buffer.C:
133         * bufferparams.[Ch]:
134         * lyxtext.h:
135         * paragraph.[Ch]:
136         * paragraph_funcs.C
137         * rowpainter.C:
138         * text.C:
139         * text2.C:
140         * text3.C: Fix bug 2115: blue language lines (for default font)
141         popping up when the documnent font is different. This includes work
142         by Georg Baum.
143
144 2006-02-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
145
146         * exporter.C (Backends): Add "lyx" backend
147         * exporter.C (Export): Handle "lyx" backend
148         * graph.C (getReachable): Don't exclude "lyx"
149         * MenuBackend.C (expandFormats): exclude "lyx" from export menu
150
151 2006-02-03  Martin Vermeer  <martin.vermeer@hut.fi>
152
153         * cursor.C (bruteFind2): convert relative to absolute co-ordinates
154         for correct in-mathed positioning
155
156 2006-02-03  Martin Vermeer  <martin.vermeer@hut.fi>
157
158         * rowpainter.C (paintForeignMark): fix foreign blue line under
159         insets
160
161 2006-01-30  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
162
163         * * text2.C (deleteEmptyParagraphMechanism): fix off-by-one error of the start 
164         pit of the uno range (bug 2022).
165
166 2006-01-28  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
167
168         * messages.C (get): Only warn once if setlocale fails (bug 2177)
169
170 2006-01-28  Martin Vermeer  <martin.vermeer@hut.fi>
171
172         * text2.C (setCharFont): take inset's own font settings into account
173         when defining the font to reduce to, fixes 2019
174
175 2006-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
176
177         * bufferview_funcs.C (coordOffset): remove the check for
178         collapsed collapsables (fix for bug 2094). This is now done
179         on a more general level (cursor.C).
180
181         * dociterator.[Ch] (forwardPos): add an optional argument
182         bool "ignorecollapsed" (default false), which lets forwardPos
183         skip collapsed insets.
184
185         * cursor.C (bruteFind): use forwardPos(ignorecollapsed = true)
186         (fixes bug 2241 and 2094).
187
188 2006-01-26  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
189
190         * buffer.C: change tracking (dvipost) doesn't require
191         color.sty anymore.
192
193         * LaTeXFeatures.C (getPackages): no need for the color
194         option "usenames" (bug 2169).
195
196 2006-01-23  Helge Hafting <helge.hafting@aitel.hist.no>
197         * buffer_funcs.C: Trivial fix - added {} around
198         the statements to be affected by a if-test. Now
199         label in a minipage in a float looks ok on screen again.
200
201 2006-01-23  Martin Vermeer  <martin.vermeer@hut.fi>
202
203         * text2.C: fix bug 2015: on screen fonts in nested environments 
204         can be wrong
205
206 2006-01-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
207
208         * converter.C (convert): handle unknown formats
209
210 2006-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
211
212         * cursor.C (goUpDown): comment out some debug messages.
213
214         * counters.C (newCounter): make error messages more explicit
215         (these appear with some textclasses like beamer)
216
217 2006-01-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
218
219         * kbmap.C (defkey): 
220         * lyxfunc.C (processKeySym): make sure new FuncRequest objects
221         have origin set to KEYBOARD. (bug 2221)
222
223 2006-01-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
224
225         * rowpainter.C (isCursorOnRow): do not exclude endpos().
226
227 2006-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
228
229         * cursor.C (macroModeClose): returns true if an inset actually got
230         inserted; revert faulty fix to bug 2034.
231
232 2006-01-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
233
234         * tabular.C (getLabelList): remove (not used anymore).
235
236 2006-01-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
237
238         * outputparams.[Ch]: add new flag inComment
239
240 2006-01-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
241
242         * text2.C (deleteEmptyParagraphMechanism): since we delete a
243         paragraph, recordUndo should span two paragraphs (bug 2155).
244
245 2006-01-01  Martin Vermeer  <martin.vermeer@hut.fi>
246
247         * rowpainter.C (paintPar): always repaint the row with the
248         cursor in it
249
250 2006-01-01  Lars Gullik Bjønnes <larsbj@gullik.net>
251
252         * MenuBackend.h: 
253         * bufferlist.h: 
254         * lyxtext.h: 
255         * paragraph.h:
256         * vspace.h: fix syntax error
257
258 2005-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
259
260         * text3.C (dispatch): Force refresh if typing into inset changes its
261                               metrics
262
263 2005-12-30  Martin Vermeer  <martin.vermeer@hut.fi>
264
265         * RowList_fwd.h:
266         * paragraph.C:
267         * paragraph.h:
268         * rowpainter.C: Speed up rendering by only re-painting rows that
269         have changed. When selection or whole-screen update active, all rows
270         are repainted, as are all rows within insets.
271
272 2005-12-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
273
274         * version.C.in: Use PACKAGE_VERSION instead of VERSION
275
276 2005-12-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
277
278         * tabular.C (toggleFixedWidth): Use default layout of text class
279         instead of hardcoded "Standard"
280
281 2005-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
282
283         * lyxfunc.C (dispatch): do not call getStatus again to determine
284         whether a lfun is disabled (bug 2172).
285
286 2005-12-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
287
288         * cursor.C (macroModeClose): set the cursor inside the new math
289         atom if relevant (think \frac{}{}) (bug 2034)
290
291 2005-12-19  Martin Vermeer  <martin.vermeer@hut.fi>
292
293         * lyxtext.h:
294         * text.C:
295         * text3.C (Delete, backspace): force update when merging paragraphs
296
297 2005-12-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
298
299         * BufferView.C (mouseSetCursor): clear the selection properly (bug
300         2163). 
301
302 2005-12-08  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
303
304         * text.C (redoParagraph): honor inset->noFontChange()
305         * rowpainter.C (paintInset): ditto
306
307 2005-12-15  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
308
309         * lyx_main.C (priv_exec): don't initialize Math on startup 
310         (initMath() has been moved to math_hullinset).
311
312 2005-12-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
313
314         * lyxrc.C: set default_papersize to PAPER_DEFAULT;
315         handle PAPER_DEFAULT in LyXRC::read and LyXRC::write (bug 2148).
316         * paper.h: dispose dead PAPER_PACKAGES enum.
317
318 2005-12-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
319
320         * Makefile.am (OTHERLIBS): add SOCKET_LIBS in case we compile
321         without X support.
322
323 2005-12-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
324
325         * exporter.C (Export): Don't try to copy a file if it does not exist
326         (bug 1888)
327
328 2005-12-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
329
330         * text2.C (makeFontEntriesLayoutSpecific): remove.
331         (setLayout): adapt.
332
333         * text.C (insertChar): remove bogus caching of fonts (did not do
334         anything). 
335
336         * text2.C (LyXText): initialize current_font to ALL_INHERIT (was
337         ALL_SANE). (bug 2146)
338
339 2005-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
340
341         * rowpainter.C (paintFirst): fix centering of
342         LABEL_CENTERED_TOP_ENVIRONMENT. 
343
344 2005-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
345
346         * BufferView.C (mouseSetCursor): new method. Calls
347         deleteEmptyParagraphMechanism if necessary.
348
349         * lyxtext.h: make deleteEmptyParagraphMechanism public.
350
351         * text3.C (dispatch/LFUN_MOUSE_PRESS): use
352         BufferView::mouseSetCursor (bug 2109).
353         (dispatch/LFUN_PASTE): remove #warning that is now irrelevant.
354
355 2005-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>  
356
357         * text3.C (dispatch/LFUN_INDEX_INSERT): when a selection is set,
358         do not remove it (this inset behaves differently from the others).
359
360 2005-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
361
362         Fix bug 2096.
363         
364         * BufferView_pimpl.C (getStatus): it is only possible to insert a
365         file in a text inset.
366
367         * buffer.C (readDocument): remove pit argument and code releated
368         to it; set the inset owner correctly (unrelated, but useful).
369         (readFile): get rid of pit argument.
370
371         * CutAndPaste.C (pasteSelectionHelper): use a ParagraphList and a
372         textclass instead of a selection index.
373         (pasteParagraphList): new function.
374         (pasteSelection): make it a wrapper around pasteParagraphList.
375
376         * BufferView_pimpl.C (MenuInsertLyXFile): use
377         cap::pasteParagraphList to insert a file.
378
379 2005-11-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
380
381         * buffer_funcs.C (bufferErrors): prevent endless loop (bug 2121)
382
383 2005-11-17  Michael Gerz  <michael.gerz@teststep.org>
384
385         * exporter.C: fix typo in text message
386
387 2005-11-28  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
388
389         * text2.C (setLayout): move recUndo call to other setLayout method
390         * tabular.C (toggleFixedWidth): new, handle cell width changes
391         * tabular.C (setColumnPWidth): move some code from insettabular.C here
392         and use toggleFixedWidth
393         * tabular.C (setMColumnPWidth): ditto
394
395 2005-11-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
396
397         * paragraph.C (asString): use new inset->textString method (fix
398         bug 2089) 
399
400 2005-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
401
402         * CutAndPaste.C (numberOfSelections): new helper function.
403
404         * lyxfunc.C (getStatus): remove support for LFUN_COPY and LFUN_CUT.
405
406         * text3.C (getStatus): move code for LFUN_CUT and LFUN_COPY from
407         LyXFunc::getStatus; implement LFUN_PASTE.
408
409 2005-11-17  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
410
411         * dociterator.[Ch]: new member realInset() that returns the cell
412         for tabulars and the inset for the rest (bug 1952).
413         * undo.C (textUndoOrRedo): use realInset when resetting insetOwner
414         (bug 1952).
415
416 2005-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
417
418         * text.C (leftMargin): honor the NextNoIndent tag in layouts.
419
420 2005-11-17  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
421
422         * lyxfunc.C:
423         * paragraph.C:
424         * text3.C: InsetBase::forceDefaultParagraphs now takes a cell as
425         argument.
426
427 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
428
429         * text.C (redoParagraph): Fix bug 1966: cursor doesn't go to next
430         line after typing ctrl-enter
431
432 2005-11-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
433
434         * bufferview_funcs.C (coordOffset): fix the fix for bug 2094, as
435         math insets do not return a proper editable() state yet (bug 2124).
436
437 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
438
439         * BufferView_pimpl.[Ch]: Fix bug 1814: better scroll behaviour for 
440         docs containing very large paragraphs.
441
442 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
443
444         * cursor.C (selectionBegin, selectionEnd):
445         * text.C (drawSelection): Fix bug 2115: assertion when anchor and 
446         cursor at different depths.
447
448 2005-11-03  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
449
450         * bufferview_funcs.C (coordOffset): do not call cursorPos
451         for collapsed collapsables (fix bug 2094).
452
453 2005-11-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
454
455         * paragraph.C (fontSpan): make sure that the FontSpan does not
456         span across beginOfBody (bug 1947).
457
458 2005-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
459
460         * lyxlength.h: undefine macros that clash with solaris/x86 (bug 992)
461
462 2005-11-03  Michael Gerz  <michael.gerz@teststep.org>
463
464         * messages.C: fix crash and localization on MinGW/Windows platform
465
466 2005-11-02  Angus Leeming  <leeming@lyx.org>
467
468         * Bidi.C:
469         * lyxtextclass.C: trivial fixes to some MSVS warnings.
470
471 2005-10-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
472
473         * text3.C (getStatus): re-enable disabled code. (bug 2081)
474
475         * BranchList.h (empty): constify.
476
477 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
478
479         * text3.C (getStatus): 
480         * MenuBackend.C (expandBranches): take the branch list from the
481         master document (bug 2092).
482         
483         * MenuBackend.C (expandBranches): 
484         * bufferparams.C (writeFile): use BranchList type.
485
486 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
487
488         * text3.C (dispatch, getStatus): 
489         * LyXAction.C (init): 
490         * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
491
492 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
493
494         * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
495
496 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
497
498         * text.C (insertChar): do not reset boundary (bug 2061)
499
500 2005-10-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
501
502         * dociterator.C (updateInsets): new method. Updates the inset_
503         cache of all the slices of the iterator.
504
505         * text2.C (deleteEmptyParagraphMechanism): compare also containing
506         insets when comparing pit/pos; pass the right cursor to
507         recordUndo; when a paragraph has been deleted, compare `old.top()' to
508         the right cursor slice of `cur'; use updateInsets on cur to make
509         sure that the inset caches are correct; general cleanup.
510
511 2005-10-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
512
513         * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
514         dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
515         containg inset. If this does not work, the same command will be
516         sent to other insets down the queue by LCursor::dispatch. (bug 2066)
517
518         * lyxfunc.C (dispatch): make sure the cursor is correct when doing
519         a dispatch.
520
521 2005-10-20  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
522
523         * lyxtextclass.C (Read): convert layout file if the format is wrong
524         * lyxtextclass.C (layout2layout): new, needed for the above
525
526 2005-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
527
528         * messages.C: do not forget to include <cerrno>.
529
530 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
531
532         * dociterator.h (StableDocIterator): add access to pos().
533         * undo.C (samePar): new method to check if two
534         iterators are in the same paragraph
535         * undo.C (recordUndo): check for samePar instead of cell identity
536         (which includes pos() and is too strict) (fixes bug 2097)
537
538 2005-10-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
539
540         * text.C (setCursorFromCoordinates): return a bool telling whether
541         dEPM triggered.
542
543         * text3.C (cursorPrevious): update if needed after
544         setCursorFromCoordinates (when dEPM triggered).
545
546         * text2.C (cursorDown, cursorUp): make sure to reset the anchor
547         (otherwise the anchor may be completely wrong and make dEPM assert).
548
549 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
550
551         * buffer.C: version upgrade to 245.
552         * bufferparams.C: remove \quotes_times (bug 2090).
553         * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
554         quotation marks as default.
555
556 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
557
558         * CutAndPaste.C (nrOfParagraphs): remove (unused)
559         * CutAndPaste.C (cutSelection): Remove debug message
560         * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
561         undo information and only copy if this is a real cut
562         * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
563         call
564         * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
565         (bug 2059)
566         * CutAndPaste.C (eraseSelection): prevent cursor corruption
567         * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
568         superflous cur.selection() setting
569         * CutAndPaste.[Ch] (grabSelection): take a const cursor
570         * cursor.C (selectionAsString): implement mathed case ((bug 2059)
571
572 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
573
574         * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
575         change anything.
576
577 2005-10-11  Martin Vermeer  <martin.vermeer@hut.fi>
578
579         * BufferView_pimpl.C: comment layout change
580
581 2005-10-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
582
583         * LyXAction.C:
584         * lfuns.h:
585         * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
586         by bibliography managers (bug 2071).
587
588 2005-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
589
590         * BufferView_pimpl.C (update): choose arguments to update call so
591         that single-par update works most times
592         * text3.C (dispatch): carefully tune updating separately for
593         whole-screen and current-paragraph
594         * rowpainter.C (paintText): 1) replace painting by caching for
595         the two extra paragraphs, because we can;
596         2) suppress greying out of areas below/above drawn area in case of
597         single-par refresh
598         * lyxfunc.C (dispatch): remove superfluous update
599         * LyXAction.[Ch]: introduce SingleParUpdate
600
601 2005-10-05  Angus Leeming  <leeming@lyx.org>
602
603         * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
604         always initialised before use.
605
606         * text.C (setHeightOfRow): squash warning about comparison
607         of signed and unsigned types.
608
609 2005-10-03  Martin Vermeer  <martin.vermeer@hut.fi>
610
611         * text.C (cursorX): two fixes involving RtL text drawing
612
613 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
614
615         * cursor.C (erase): fix 'clever' UI hack. It was activated for all
616         items, not only large ones (part of bug 2057)
617
618 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
619
620         * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
621         argument, use "newcommand".
622
623 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
624
625         * cursor.C (setSelection): do not open collapsable insets;
626         the insets do by themselves now (autoopen).
627
628 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
629
630         * buffer.C: format is up to 244.
631
632 2005-09-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
633
634         * text.C (redoParagraph): fix calcultation of inset width wrt 
635         leftMargin (bug 1957).
636
637         * text3.C (dispatch): leave inset to the right when hitting ESC 
638         (bug 2034).
639
640 2005-09-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
641
642         * text2.C: 
643         * text.C: 
644         * factory.C:
645         * messages.C: include <boost/current_function.hpp> 
646
647 2005-09-12  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
648
649         * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
650         when command is internal. (bug 1941)
651
652 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
653
654         * text2.C (cursorRight): do not honor boundary when at the end of
655         a paragraph. (bug 2010 again)
656
657 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
658
659         * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
660
661 2005-09-19  Martin Vermeer  <martin.vermeer@hut.fi>
662
663         * rowpainter.C (paintText): fix RtL space width display bug (2029)
664
665 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
666
667         * text2.C (setCursor): remove the unused 'boundary' parameter for
668         the CursorSlice version; adapt the LCursor version.
669
670         * lyxrc.C (write): 
671         * paragraph_pimpl.C (markErased): 
672         * cursor.C (bruteFind2, bruteFond3): fix warnings.
673
674 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
675
676         * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
677         as is already done for "chapter".
678
679 2005-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
680
681         * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
682         textclass; do not record undo if nothing is changed.
683
684 2005-09-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
685
686         * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
687
688 2005-09-14  Michael Gerz  <michael.gerz@teststep.org>
689
690         * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
691
692 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
693
694         * BufferView_pimpl.C (setBuffer): when one wants to set the layout
695         combox, it is necessary to search for the topmost paragraph in the
696         cursor stack (bug 1926)
697
698 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
699
700         * text2.C (cursorEnd, cursorRight): do not set boundary to true at
701         end of paragraph. (bug 2010)
702
703 2005-09-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
704
705         * text.C (leftMargin): check for inInset == 0
706
707 2005-09-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
708
709         * text.C (leftMargin): test for insetbase's new neverIndent()
710         bool instead of listing each and every inset that does not
711         wish par indendation.
712
713 2005-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
714
715         * buffer_funcs.C (setCounter): put the code to compute enum label
716         here (where it belongs).
717
718         * counters.C (enumLabel): move code to buffer_funcs.C.
719
720 2005-09-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
721
722         * outputparams.[Ch]: store local_font instead of local_language
723         * paragraph.C (simpleTeXOnePar): adapt to the change above
724
725 2005-09-08  Martin Vermeer  <martin.vermeer@hut.fi>
726
727         * buffer_funcs.C:
728         * counters.[Ch]: clean up special code for Hebrew.
729
730 2005-09-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
731
732         * lyxfunc.C (lookupChange): fix code when cursor depth is greater
733         than 2.
734
735 2005-09-08  Angus Leeming  <leeming@lyx.org>
736
737         * ispell.C:
738         * lyxrc.C: correct grammar describing invocation of the
739         spellchecker.
740
741 2005-08-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
742
743         * text.C (read): remove unused variable.
744         (readParToken): remove static Change variable (never good in
745         recursive settings...); add it as a parameter instead.
746
747         * paragraph_pimpl.C (acceptChange): make debug info conditional.
748
749         * metricsinfo.C (PainterInfo): add new member erased_.
750
751         * rowpainter.C (RowPainter): add erased_ member, initialized from
752         PainterInfo. 
753         (paintInset): pass erased_ to Inset::draw.
754
755         * lyxfunc.C (lookupChange): new function. Tells whether change 
756         tracking is disabled at a given postion.
757         (getStatus): disable some actions when in deleted text with change
758         tracking. 
759
760 2005-08-03  John Levon  <levon@movementarian.org>
761         
762         * tabular.C (appendColumn, setMultiColumn): adapt to change to
763         InsetText::clear().
764
765         * paragraph_pimpl.C (markErased): add bool argument and handle it.
766         Also make sure to mark insets recursively.
767         (rejectChange, erase): be recursive
768
769         * paragraph.C (markErased): add bool argument.
770 2005-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
771
772         * lyxfind.C (findNextChange): tiny cleanup.
773
774         * BufferView_pimpl.C (trackChanges): avoid crash when stopping
775         change tracking with the cursor in an inset; make sure the first
776         change is not skipped.
777
778 2005-09-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
779
780         * CutAndPaste.[Ch]: new methods dirtyTabularStack and 
781         tabularStackDirty to work around bug 1919 (tabular needs
782         to know whether its own cell paste buffer or the one of 
783         texted is newer.
784         * CutAndPaste.C: mark tabular_stack_ clean after copy.
785
786 2005-08-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
787
788         * text2.C (cursorEnd): check for empty text (fixes bug 1998)
789
790 2005-08-19  Lars Gullik Bjønnes  <larsbj@gullik.net>
791
792         * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
793         use old deleteion algorithm when changetracking is on.
794
795 2005-08-18  Martin Vermeer  <martin.vermeer@hut.fi>
796
797         * messages.C (get): add debug output.
798
799 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
800
801         * text.C (cursorX): fix bug 1965: cursor movement at
802         line end broken in RtL.
803         (drawSelection): fix bug 1970: drawing of single-line 
804         selection broken for RtL.
805
806 2005-07-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
807
808         bug 465.
809
810         * dociterator.h (clear, push_back, pop_back): change from
811         protected to public.
812
813         * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
814         and changed to just return the value of the item depth; take a
815         ParIterator as argument; take the itemdepth at outer nesting level
816         in account if necessary; cleanup and comment the code.
817         (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
818         and changed to just return true if reset is needed; take a
819         ParIterator as argument; cleanup and comment the code.
820         (setCounter): adapt to above changes.
821
822 2005-07-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
823
824         * text3.C (dispatch): make debug message optional
825
826 2005-08-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
827
828         * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
829         inset. (bug 1963)
830
831 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
832
833         * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
834
835 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
836
837         * text.C (insertChar):
838         * text2.C (deleteEmptyParagraphMechanism): take care whether 
839         a blank has been deleted (in change tracking mode) (bug 1254).
840
841 2005-07-20  John Levon  <levon@movementarian.org>
842
843         * text2.C (insertStringAsLines): remove old dubious code,
844         fixing bug 1939.
845
846 2005-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
847
848         * MenuBackend.C (expandToc): use Floating::listName() as title of
849         the floats submenus.
850
851 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
852
853         * toc.[Ch]: Do not use translatable strings (bug 1870).
854
855 2005-07-20  John Levon  <levon@movementarian.org>
856
857         * tabular.C: fix 1748 - setting multicolumn adds
858           left line to the first cell
859
860 2005-07-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
861
862         bug 1920
863         * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
864         pars in one go.
865
866 2005-07-18  Lars Gullik Bjønnes  <larsbj@lyx.org>
867
868         * messages.C: supress some lyxerr messages
869
870 2005-07-18  Juergen Vigna  <jug@lyx.org>
871
872         * text.C (drawSelection): honor boundary when asking for cursorX.
873
874 2005-07-17  José Matos  <jamatos@fc.up.pt>
875
876         * tabular.C (recalculateMulticolumns): fix handling of one column
877         tables.
878
879 2005-07-17  Juergen Vigna  <jug@lyx.org>
880
881         * text.C (Delete, backspace): fixed so that paragraph with the
882         same layout can be merged by Delete/Backspace.
883
884 2005-07-17  Michael Schmitt  <michael.schmitt@teststep.org>
885
886         * text.C (readParToken): fix spelling.
887
888 2005-07-17  Martin Vermeer  <martin.vermeer@hut.fi>
889
890         * text2.C: fix counter update for DEPM problem reported by
891         Georg Baum
892
893 2005-07-17  Juergen Vigna  <jug@lyx.org>
894
895         * BufferView_pimpl.C (setBuffer): save/restore the
896         cursor/selection when switching buffers
897
898         * buffer.h: 
899         * buffer.C (saveCursor): add saveDocumentIterators to save the
900         cursor when switching buffer.
901
902 2005-07-17  Michael Schmitt  <michqel.schmitt@teststep.org>
903
904         * debug.C: fix typo
905         * buffer.C: clarify message
906         
907 2005-07-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
908
909         * dociterator.C (DocIterator): fix initialization order
910
911 2005-07-17  Juergen Vigna  <jug@lyx.org>
912
913         * text2.C (cursorHome): 
914         * text.C (drawSelection, cursorX): 
915         * dociterator.C (textRow): add boundary to getRow() call
916
917         * paragraph.C (getRow): implementation of below
918
919         * paragraph.h: add parameter boundary for getRow() function
920
921 2005-07-17  José Matos  <jamatos@fc.up.pt>
922
923         * buffer.C:
924         * bufferparams.[Ch]:
925         * tex-strings.[Ch]: new file format, remove support for a4.sty,
926         a4wide.sty and a4widemargins.
927
928 2005-07-17  Juergen Vigna  <jug@lyx.org>
929
930         * text2.C (cursorLeft): fix one of error
931
932 2005-07-17  Juergen Vigna  <jug@lyx.org>
933
934         * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
935                    cursorEnd):
936         more fixes for boundary handling
937
938         * text3.C (dispatch): don't reset cursor if boundary has changed
939         on cursor movement.
940
941 2005-07-16  Juergen Vigna  <jug@lyx.org>
942
943         * text2.C (getColumnNearX): hopefully got it right now,
944         check if we are on column 0 for special case.
945
946 2005-07-16  Juergen Vigna  <jug@lyx.org>
947
948         * text2.C (getColumnNearX): handle special case Newline Inset
949
950         * text.C (singleWidth): Just remove bogus check
951
952 2005-07-16  Michael Schmitt  <michael.schmitt@teststep.org>
953
954         * funcrequest.C (split): avoid reading uninitialized char c
955
956 2005-07-16  José Matos  <jamatos@fc.up.pt>
957
958         * buffer.C:
959         * converter.C:
960         * lyxrc.C:
961         * paper.h:
962         * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
963         single papersize variable.
964
965 2005-07-16  Juergen Vigna  <jug@lyx.org>
966
967         * text3.C (dispatch): honor boundary when checking if a cursor
968         movement has been done
969
970         * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown) 
971         (setCursor, setCursorIntern): fix cursor movement with boundary
972
973 2005-07-16  Juergen Vigna  <jug@lyx.org>
974
975         * text.C (currentState): output the actual Boundary
976
977 2005-07-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
978
979         * factory.C (createInset): fix bad logic for tabular creation
980
981 2005-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
982
983         * lyx_main.C (init): change some reLyX reference to tex2lyx
984
985 2005-07-16  Juergen Vigna  <jug@lyx.org>
986
987         * dociterator.C (DocIterator): initialize boundary
988
989 2005-07-16  Juergen Vigna  <jug@lyx.org>
990
991         * text2.C (getColumnNearX): Consider rows without trailing blank.  
992
993 2005-07-16  André Pönitz  <poenitz@gmx.net>
994
995         * lyxfont.h: Change order of declarations to give the compiler
996         a better chance to inline things
997
998         * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
999         questions on unsaved docs for better scritability
1000
1001 2005-07-16  André Pönitz  <poenitz@gmx.net>
1002
1003         * paragraph.h (getChar): remove asserts as the same kind of security
1004         can be achieved by using a suitable standard library implementation
1005         and the function was in the critical path (25.9% in profiler)
1006
1007 2005-07-16  Juergen Vigna  <jug@lyx.org>
1008
1009         * cursor.C (bruteFind2):
1010         * bufferview_funcs.C (coordOffset): 
1011         * text.C (cursorX,cursorY): Handle cursor position after last char
1012         in row before a inset which uses a whole row.
1013
1014 2005-07-15  José Matos <jamatos@lyx.org>
1015
1016         * output_plaintext.[Ch] (writeFileAscii): control reference title
1017         printing.
1018         (asciiParagraph): noparbreak was already deal and was incorrectly
1019         used.
1020
1021 2005-07-15  Juergen Vigna <jug@lyx.org>
1022
1023         * lyxfunc.C (dispatch): save and restore the cursor after a
1024         textclass switch.
1025
1026 2005-07-15  Lars Gullik Bjønnes <lgb@tandberg.net>
1027
1028         * text.C (backspace): bug 806 for empty keepempty paragraphs we
1029         change the layout to default before letting DEPM do its thing.
1030
1031         * paragraph_funcs.C (breakParagraph): dont reset the layout on
1032         keepEmpty paragraphs
1033
1034         * text.C (setCursorFromCoordinates): add a debug statement
1035
1036         * text2.C (getColumnNearX): bug 1825 make sure that we don't
1037         return a pos that is not on the row
1038
1039         * output_latex.C (TeXDeeper): get rid of potential dereferencing
1040         of past the end iterator
1041
1042 2005-07-14  André Pönitz  <poenitz@gmx.net>
1043
1044         * undo.C (recordUndoFullBuffer): implement undo for
1045         textclass switches
1046
1047 2005-07-14  André Pönitz  <poenitz@gmx.net>
1048
1049         * cursor.C (setSelection): open insets when selection is set there
1050         to avoid crashs with cold coord cache
1051
1052 2005-07-14  André Pönitz  <poenitz@gmx.net>
1053
1054         * trans_mgr.C (insert): move cursor to the right after inserting
1055         a char.
1056
1057 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
1058
1059         * BufferView_pimpl.C (update): dampen some of the debug blabbering
1060         * factory.C (readInset): ditto
1061         * text.C, text2.C: ditto
1062
1063 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1064
1065         * buffer.C: format incremented to 242. There is no file format per
1066         se, but the "frenchb" language has been removed from lib/language
1067         and has to be translated to "french" by lyx2lyx.
1068
1069 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1070
1071         * cursor_slice.h, dociterator.h: add some documentation
1072         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
1073
1074 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1075
1076         * text.C (leftMargin): do not add identation to display() style
1077         insets, because they are always centered (bug 1293).
1078
1079 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1080
1081         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
1082         formatted_time methods in support/lyxtime.
1083
1084 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1085
1086         * toc.[Ch]: new method getGuiName, which is used by the frontends 
1087         to set the toc combo (fixes bug 1870). Make TOC string translatable.
1088
1089 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1090
1091         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
1092         StableDocIterator const &)
1093         * undo.C (recordUndo): use the above instead of cell.size() comparison
1094         (fixes bug 1808; instructed by Andr�.
1095
1096 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
1097
1098         * cursor_slice.h: 
1099         * dociterator.h: Fix the assert when copying rows/cols in math
1100
1101 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1102
1103         * BufferView_pimpl.C:
1104         * LyXAction.C:
1105         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
1106
1107         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
1108         (findInset): new functions, refactored from goto Inset that return 
1109         the position of a certain inset without setting the buffer's cursor
1110         (by Jean-Marc); 
1111         (gotoInset): rewrite to call findInset and then set the cursor
1112         (by Jean-Marc).
1113
1114 2005-06-16  Angus Leeming  <leeming@lyx.org>
1115
1116         * lyxrc.C (output, read): wrap all input and output of paths with
1117         calls to os::internal_path and os::external_path, respectively.
1118         (output): wrap bind_file inside quotes.
1119
1120         * format.C (view): enable the viewer to use the '$$s' placeholder.
1121
1122 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1123
1124         * LColor.[Ch] (getFromLaTeXName): new
1125
1126 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
1127
1128         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
1129
1130 2005-06-14  Angus Leeming  <leeming@lyx.org>
1131
1132         * lyx_main.C (init): ensure that the LyX binary dir is the first
1133         element in the PATH on non-POSIX builds.
1134
1135 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1136
1137         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
1138
1139 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1140
1141         * rowpainter.C (paintInset, paintHebrewComposeChar)
1142         (paintArabicComposeChar, paintChars): add a LyXFont argument.
1143         (paintChars): use getFontSpan to reduce calls to getFont to a
1144         minimum; use Paragraph::lookupChange instead of isXXXText.
1145         (paintForeignMark): rename LyXFont argument.
1146         (paintFromPos): pass a LyXFont object to the various paintXXX
1147         methods.
1148
1149         * FontIterator.C (FontIterator, operator++): use
1150         Paragraph::getFontSpan
1151
1152         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
1153         version that returns the font span as a pair.
1154
1155 2005-06-09  Angus Leeming  <leeming@lyx.org>
1156
1157         * converter.C (convert): Don't forget "outfile = real_outfile" as
1158         the final step in a conversion where the input and output file names
1159         are the same. Otherwise, future conversion steps won't work...
1160
1161 2005-06-09  Angus Leeming  <leeming@lyx.org>
1162
1163         * lyxsocket.C: remove stub code as it isn't needed by
1164         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
1165
1166 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1167
1168         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
1169         effectively disabled -x
1170
1171 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1172
1173         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
1174         when it actually makes sense.
1175
1176 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
1177
1178         * BufferView_pimpl.C: revert to showCursor in connection with
1179         Lars's front-end stack
1180
1181 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1182
1183         * text.C (redoParagraph): move cursor right after a bibitem
1184         has been inserted.
1185
1186         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
1187
1188 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1189
1190         * buffer_funcs.C (bufferErrors): fix computation of the end of an
1191         error range.
1192
1193 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
1194
1195         * BufferView.[Ch] (update):
1196         * BufferView_pimpl.[Ch] (update, metrics):
1197         * dimension.h (operator==):
1198         * lyxfunc.C (dispatch):
1199         * metricsinfo.h (ViewMetricsInfo):
1200         * rowpainter.C (paintText):
1201         * lyxtext.h:
1202         * text.C (redoParagraph):
1203         * text3.C (dispatch): Make LyX only repaint current paragraph in
1204         case of character insert --> speedup. Also fix cursor draw
1205         artifacts
1206
1207 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1208
1209         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
1210         avoid a crash (bug 1891)
1211
1212 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1213
1214         Fix bug 1892:
1215
1216         * text2.C (getStringToIndex): constify cur argument.
1217
1218         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
1219         argument has been given
1220         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
1221         try to invoke LFUN_INSET_APPLY).
1222
1223         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
1224         if no inset was created by doInsertInset
1225         (doInsertInset): return true if an inset has been inserted.
1226
1227 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1228
1229         * vspace.C (asGUIName): new method. A version of the space
1230         suitable for showing on screen.
1231
1232 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
1233
1234         * MenuBackend.C:
1235         * lyxrc.C: rename "ASCII" to "Plain Text"
1236
1237 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1238
1239         * buffer_funcs.C (expandLabel): take a Buffer as argument;
1240         translate the labelstring.
1241         (setCounter): translate labelstring as needed.
1242
1243         * output_docbook.C (makeCommand): fix expandLabel invokation
1244
1245 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
1246
1247         * BufferView.C: fix dialog title
1248
1249 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1250
1251         * lyx_main.C (priv_exec): fix logic error with help from Angus
1252         * lyx_main.C (parse_execute): set is_gui = false and remove now
1253         obsolete comment about a segfault
1254
1255 2005-05-18  Angus Leeming  <leeming@lyx.org>
1256
1257         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
1258
1259 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
1260
1261         * tabular.[hC]: added setCellInset to fix tabular paste.
1262
1263 2005-05-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1264
1265         * buffer.C (save): check if destination is writable before trying
1266         to copy a file
1267
1268 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
1269
1270         * BufferView_pimpl.C (update): fix processEvents -caused update
1271         recursion bug
1272
1273 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1274
1275         * buffer_funcs.C (setCounter): fix test for numbering of
1276         environments.
1277
1278         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
1279         depth correctly; use optional argument when it exists
1280
1281         * lyxtextclass.C: remove unused MaxCounterTags enum
1282         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
1283         (max_toclevel, min_toclevel): new methods.
1284
1285         * MenuBackend.C (expandToc2): fix case where depth is smaller than
1286         the smallest depth in toc.
1287
1288         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
1289         layouts that should not appear in a table of contents.
1290
1291 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1292
1293         * cursor.h (undispatched, noUpdate): add comments from Andr�
1294 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
1295
1296         * lfuns.h:
1297         * LyXAction.C:
1298         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
1299
1300 2005-05-07  André Pönitz  <poenitz@gmx.net>
1301
1302         * cursor.[Ch] (leaveInset): new function
1303
1304 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1305
1306         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
1307
1308 2005-05-04  Angus Leeming  <leeming@lyx.org>
1309
1310         * lyxfunc.C (getStatus): disable the spell checker dialog if
1311         none of USE_[AIP]SPELL are defined.
1312
1313 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
1314
1315         * tabular.C (setWidthOfCell): remove obsolete comment
1316
1317 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
1318
1319         * paragraph.C (bibitem):
1320         * buffer_funcs.C (setCounter):
1321         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
1322
1323 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1324
1325         * text3.C (getStatus): immediately return after setOnOff
1326
1327         * rowpainter.C: fix drawing of appendix start
1328
1329 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1330
1331         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
1332         SwitchBetweenClasses and remove the unused return value.
1333         Handle character styles, too
1334
1335 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
1336
1337         * factory.C (createInset): handle undefined character styles
1338
1339 2005-05-02  Angus Leeming  <leeming@lyx.org>
1340
1341         * buffer.C: protect the #include of utime.h with a preprocessor
1342         guard.
1343
1344 2005-05-02  Angus Leeming  <leeming@lyx.org>
1345
1346         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
1347         function so that auto-saving works, albeit in a blocking manner.
1348
1349         * Makefile.am: make compilation of the client sub directory, of
1350         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
1351         on conditionals set at configure time.
1352
1353         * SpellBase.[Ch]: no longer an abstract base class. Instead,
1354         it can be compiled in its own right but has no-op functionality.
1355
1356         * aspell.C, pspell.C: remove preprocessor guards. The files should
1357         be compiled only if the necessary functionality exists.
1358
1359         * lyxserver.C, lyxsocket.C: disable on Windows.
1360
1361 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
1362
1363         * text.C (leftMargin): Fix the parindent use bug (1764)
1364         by dirty trick
1365
1366 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
1367
1368         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
1369         argument.
1370
1371 2005-04-25  Angus Leeming  <leeming@lyx.org>
1372
1373         * Bidi.[Ch]:
1374         * coordcache.[Ch]:
1375         * ispell.C:
1376         * lyxserver.C:
1377         * mover.C:
1378         * pch.h:
1379         include <config.h> in .C files, not .h ones.
1380         add licence blurb.
1381         protect headers inside preprocessor guards.
1382
1383 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1384
1385         * FuncStatus.h (StatusCodes): document
1386
1387 2005-04-21  André Pönitz  <poenitz@gmx.net>
1388
1389         * FuncStatus.h (enabled, onoff): document
1390
1391 2005-04-19  Angus Leeming  <leeming@lyx.org>
1392
1393         * BufferView_pimpl.C (cursorToggle): no longer test whether
1394         any child processes have been reaped before calling
1395         handleCompletedProcesses().
1396
1397 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
1398
1399         * text3.C (dispatch): fix, finally fix, the language problem in
1400         new lyxtexts, without disabling on-the-fly font changes (Helge's
1401         bug report)
1402
1403 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1404
1405         * text3.C (dispatch): set cursor on double/triple click events
1406         (bug 1811)
1407
1408 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1409
1410         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
1411         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
1412
1413         * rowpainter.C (paintFirst): simplify the code a little bit. In
1414         particular, remove the test for secnumdepth.
1415         * text.C (setHeightOfRow): only allocate space for chapter number
1416         when updateCounters provided an actual label, instead of looking
1417         at secnumdepth directly.
1418
1419         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
1420
1421         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
1422         paragraphs when secnumdepth is large enough or, for environments,
1423         when they are not the first in a sequence.
1424
1425 2005-04-17  Angus Leeming  <leeming@lyx.org>
1426
1427         * buffer.C (makeLaTeXFile): replace code to manipulate a path
1428         containing space and '~' characters with a call to latex_path().
1429
1430 2005-04-17  Angus Leeming  <leeming@lyx.org>
1431
1432         * converter.C (convert): protect all args of convertDefault.sh
1433         script with quotes.
1434
1435 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1436
1437         * text3.C (dispatch): change the layout to "Caption" after inserting
1438         a float.
1439
1440 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1441
1442         * text3.C (dispatch): fix language problem in newly created
1443         textinsets (and main text) in non-english docs
1444
1445 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1446
1447         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
1448         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
1449         * text3.C (getStatus): disable LFUN_INSET_MODIFY
1450
1451 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1452
1453         * lyxtext.h:
1454         * text.C (metrics):
1455         * text2.C (getFont):
1456         * rowpainter.C (getFont): Fix metrics bug introduced by inset
1457         fonts fix
1458
1459 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1460
1461         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
1462         output of \item arguments without trailing text.
1463
1464 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1465
1466         * FontIterator.C (operator*): avoid a copy of the font.
1467
1468 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1469
1470         * rowpainter.C (getFont): fix language bug from previous fix
1471
1472 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1473
1474         * rowpainter.C (RowPainter, getFont): fix font inside inset
1475         (bugs 1766, 1809)
1476
1477 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
1478
1479         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1480         preventing inserted font, deco, delim insets jumping to start of
1481         surrounding inset.
1482
1483 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1484
1485         * lyxfunc.C (dispatch): translate message before sending it to the
1486         minibuffer.
1487
1488 2005-03-29  Angus Leeming  <leeming@lyx.org>
1489
1490         * lyx_main.C (priv_exec): call os::internal_path on each file passed
1491         to LyX on the command line.
1492
1493 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
1494
1495         * vc-backend.C: use QuoteName to protect file names wherever
1496         necessary.
1497
1498 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
1499
1500         * buffer.[Ch]:
1501         * BranchList.h: fix bugs 1844,1845: document settings don't
1502         stick
1503
1504 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1505
1506         * lyxrc.C (setDefaults, read, output, getDescription): add support
1507         for tex_allows_spaces.
1508
1509         * exporter.C (Export): allows files in directory containing spaces
1510         if tex_allows_spaces is true.
1511
1512         * buffer.C (makeLaTeXFile): if the document path contains spaces,
1513         output it in double quotes.
1514
1515 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1516
1517         * rowpainter.C: use default text height for drawing change tracker
1518         strikeout lines.
1519
1520 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1521
1522         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1523
1524 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1525
1526         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1527         directory is missing.
1528
1529 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
1530
1531         * text2.C: fixed the fix, extended to other case.
1532
1533 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
1534
1535         * text2.C: fix for cursor up/down stuck in math [bug 1792]
1536
1537 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
1538
1539         * text2.C (cursorUp): get rid of a crash
1540         * text.C (x2pos): add an assert
1541
1542 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1543
1544         * lyxfunc.C (getStatus): fix warning when assertions are disabled
1545
1546         * text3.C:
1547         * lyxfunc.C:
1548         * dociterator.C: include <boost/current_function.hpp>, which is
1549         needed when assertions are disabled.
1550
1551 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1552
1553         * text2.C: fix for stuck cursor when traversing two
1554         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1555
1556 2005-02-25  Andreas Vox  <avox@arcor.de>
1557
1558         * output_docbook.C (makeParagraph): suppress trailing newline
1559         after a run of paragraphs
1560
1561 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1562
1563         * paragraph.C: fix for confused change tracker when pasting
1564         text that begins with a lineseparator. [bug 1827]
1565         (setChange(0, Change::INSERTED);)
1566
1567         * paragraph_funcs.C: fix for lost changes on triple-paste
1568         in change tracking mode [bug 1827] (par.setChange()).
1569
1570 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1571
1572         * text2.C (updateCounters, setCounter, expandLabel): move to
1573         buffer_funcs.
1574
1575         * buffer_funcs.C (updateCounters): turn into a free standing
1576         function and add a buffer parameter. Remove dead code for tracking
1577         labelstring change.
1578         (setCounter): change into a free-standing function which gets a
1579         dociterator as argument. Use this iterator to fix captions in a
1580         simple way. When no float is found above the caption, use the
1581         labelstring of the caption layout as default.
1582
1583         * text.C (breakParagraph, backspace):
1584         * text2.C (init, setLayout, changeDepth):
1585         * text3.C (dispatch):
1586         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1587         updateCounters.
1588
1589         * dociterator.C (forwardPar): make it much faster by calling
1590         forwardPos() only when really necessary.
1591
1592         * output_docbook.C (makeCommand): adapt to expandLabel move.
1593
1594         * cursor.C: remove unused variable
1595
1596 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1597
1598         * paragraph_funcs.C: fix crash when pasting insets in change
1599         tracking mode [bug 1277] (honour change type in moveItem).
1600
1601 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1602
1603         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1604
1605 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1606
1607         * BufferView.C (setCursor): change to use a DocIterator.
1608         (gotoLabel): use BufferView::setCursor (other part of bug 781).
1609         (putSelectionAt): adapt to BufferView::setCursor change.
1610
1611         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1612         moved here from LyXText and rewritten to use proper cursor
1613         methods. Fixes bug 1787, 616 and 835.
1614
1615         * BufferView_pimpl.C (restorePosition): set the cursor correctly
1616         when inside an inset (part of bug 781).
1617         (dispatch): adapt to change of BufferView::setCursor.
1618         (getStatus, dispatch): handle LFUN_GOTOERROR,
1619         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1620
1621         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1622         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1623         * text3.C (gotoNextInset, gotoInset): removed.
1624
1625 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1626
1627         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1628
1629 2005-02-15  Angus Leeming  <leeming@lyx.org>
1630
1631         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1632         can be used meaningfully in a comparison.
1633
1634 2005-02-13  André Pönitz  <poenitz@gmx.net>
1635
1636         * bufferview_funcs.C (coordOffset): improve cursor drawing
1637
1638 2005-02-13  André Pönitz  <poenitz@gmx.net>
1639
1640         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1641         * Cursor.C (dispatch): use fixIfBroken
1642         * lyxfunc.C (getStatus): use fixIfBroken
1643
1644 2005-02-15  Angus Leeming  <leeming@lyx.org>
1645
1646         * lyx_main.C (error_handler):
1647         * lyxfunc.C:
1648         * lyxrc.C (setDefaults):
1649         s/GetEnv/getEnv/.
1650         #include "environment.h".
1651
1652         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1653
1654 2005-02-15  Angus Leeming  <leeming@lyx.org>
1655
1656         * lyxserver.C (startPipe): squash MSVC warning "local variable
1657         'fd' used without having been initialized".
1658
1659 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1660
1661         * BufferView_pimpl.C: revert accidental commit.
1662
1663 2005-02-14  André Pönitz  <poenitz@gmx.net>
1664
1665         * dociterator.[Ch]: new member forwardPosNoDescent(),
1666         which doesn't enter nested insets.
1667         * text2.C (setFont): use forwardPosNoDescent() instead
1668         of ForwardPos() (fixes crash on font change).
1669
1670 2005-02-13  Angus Leeming  <leeming@lyx.org>
1671
1672         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1673         only if lyxrc.path_prefix is not empty.
1674
1675 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1676
1677         * bufferparams.C (readGraphicsDriver): prevent crash
1678
1679 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1680
1681         * text2.C (setCounter): check for inInset() == 0
1682
1683 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1684
1685         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1686         but use update() to get correct screen display; use convert
1687         instead of istringstream.
1688         (getStatus): handle LFUN_GOTO_PARAGRAPH
1689
1690         * lyxfunc.C (dispatch, getStatus): do not handle
1691         LFUN_GOTO_PARAGRAPH here.
1692
1693 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1694
1695         * text3.C (dispatch): size() -> depth()
1696
1697         * text2.C: remove some debug output
1698
1699         * paragraph.C: ws changes only
1700
1701         * lyxfunc.C (getStatus): size() -> depth()
1702
1703         * dociterator.h (clear, push_back, pop_back, internalData,
1704         operator[], resize, empty): new functions
1705         Make StableDocIterator and operator== be friends. Don't inherit
1706         from std::vector use a privat class variable slices_ instead.
1707         Modify to fit.
1708
1709         * dociterator.C: update because of not inheriting from std::vector
1710         anymore. Call explictly to slices_ instead. Use depth() instead of
1711         size() and top() instead of back()
1712
1713         * cursor.C: chagne size() -> depth and back() -> top(). Also
1714         remove some direct operator[](i) calls in favour of foo[i]
1715         (getFont): remove some dead code
1716
1717         * bufferview_funcs.C (coordOffset): size() -> depth()
1718
1719         * buffer.C: ws changes only
1720
1721         * CutAndPaste.C (eraseSelection): back() -> top()
1722
1723         * BufferView_pimpl.C (selectionRequested): back() -> top()
1724
1725         * BufferView.C (setCursor): size() -> depth()
1726
1727 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1728
1729         * text3.C (cursorPrevious): return true if depm changed something
1730         (cursorNext): ditto
1731         (dispatch): rename sl to oldTopSlice, remove moving use the new
1732         NoUpdate func attrib instead. Make sure that needsUpdate is set
1733         for function that have NoUpdate, but where depm might have changed
1734         the buffer anyway.
1735
1736         * text2.C (cursorLeft): make us return true if depm changed
1737         something
1738         (cursorRight): ditto
1739         (cursorUpParagraph): ditto
1740         (curosrDownParagraph): ditto
1741         (cursorUp, cursorDown): ditto, make sure to read comments in code
1742         (deleteEmptyParagraphMechanism): remove an assert, also return
1743         true if just a single char was deleted.
1744
1745         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1746         cursor that we modify, to avoid modifying an active cursor before
1747         we call setCursor. This allows depm to run. Also return true if
1748         depm deleted something.
1749
1750         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1751         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1752         cursorDownParagraph, cursorPrevious and cursorNext, return true if
1753         something was changed in the buffer because of them (ie. depm run)
1754
1755         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1756         debug messages. Make update by default be false. Make sure that
1757         the result of update is retained throught several calls down to
1758         dispatch.
1759
1760         * LyXAction.h: add a new func_attrib: NoUpdate
1761
1762         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1763         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1764         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1765         and LFUN_WORDLEFT
1766         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1767
1768 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1769
1770         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1771         bv_->owner(), bv_->buffer() by direct references to the private
1772         members.
1773         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1774         (getStatus): isSavedPosition() is in BufferView::Pimpl.
1775         (fitCursor): center() is in BufferView::Pimpl.
1776         (getStatus, trackChanges, dispatch): no need for a temporary buf
1777         variable
1778         (fitCursor, workAreaDispatch): use workarea().workheight()
1779
1780 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1781
1782         * CutAndPaste.C (pasteSelectionHelper): fix a crash
1783
1784 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1785
1786         * buffer.C: format up to 241.
1787         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1788         break if pasting into ERT
1789         * lyxfunc.C (getStatus): suppress mathpanel and
1790         LFUN_DIALOG_SHOW_NEW_INSET in ERT
1791
1792 2005-02-01  Angus Leeming  <leeming@lyx.org>
1793
1794         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1795
1796 2005-02-01  Angus Leeming  <leeming@lyx.org>
1797
1798         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1799         calling fs::is_directory().
1800
1801 2005-01-31  Angus Leeming  <leeming@lyx.org>
1802
1803         * lyx_main.C (priv_exec): specify explicitly the relative location
1804         of the top level build directory when run in-place.
1805
1806 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1807
1808         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1809         LyXText containing the cursor, not the top-level one.
1810
1811         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1812         true.
1813         (insertStringAsLines): rename par to pit; use temporary variable
1814         par to hold a Paragraph; do not store par.layout() in a variable,
1815         since the pointer may die when breaking paragraphs; pass pars to
1816         breakParagraph() instead of Buffer::paragraphs().
1817
1818 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1819
1820         * lyxlex_pimpl.h: #include <fstream>.
1821
1822         * BufferView.[Ch] (getLyXText): add a const version.
1823
1824         * BufferView_pimpl.C: add debug aids.
1825
1826         * RowList_fwd.h:
1827         * buffer.h:
1828         * lyxrow.h:
1829         * paragraph_funcs.h: add commentary explaining what the class does.
1830
1831
1832         * coordcache.[Ch]: add lots of commentary.
1833         (startUpdating, doneUpdating): debug aids.
1834         (arrays, insets, parPos, getParPos): accessors to private data.
1835
1836         * cursor_slice.[Ch] (text): add a const version.
1837         * dociterator.[Ch] (text, innerText): add const versions.
1838
1839         * lyxtext.h (breakParagraph): change the keep_layout arg to a
1840         bool.
1841
1842         * paragraph.C (getRow, pos2ros): add asserts.
1843
1844         * paragraph.h: add commentary. Lots of.
1845
1846         * paragraph.[Ch] (metrucs, draw): removed.
1847
1848         * cursor.C:
1849         * rowpainter.[Ch]: const-correct changes.
1850
1851         * text.C: various obvious clean-ups. Removal of ancient cruft.
1852         Bug fixes, even.
1853
1854 2005-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
1855
1856         * vc-backend.C (find_file): rewrite to use boost.filesystem
1857         (scanMaster): ditto
1858
1859         * main.C (main): set default name check for boost.filesystem to
1860         no check
1861
1862         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1863         (open): ditto
1864         (doImport): ditto
1865         (actOnUpdatedPrefs): ditto
1866
1867         * lyx_main.C (init): rewrite to use boost.filesystem
1868         (queryUserLyXDir): ditto
1869
1870         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1871         (getContentsOfAsciiFile): ditto
1872
1873         * lastfiles.C (readFile): rewrite to use boost.filesystem
1874
1875         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1876
1877         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1878         (loadLyXFile): ditto
1879
1880         * buffer.C (Buffer): adjust for destroydir
1881         (getLogName): rewrite to use boost.filesystem
1882         (setFileName): ditto
1883         (save): use fs::copy_file (from fs_extras)
1884
1885         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1886
1887         * LaTeX.C (run): rewrite to use boost.filesystem
1888         (scanAuxFiles): ditto
1889         (handleFoundFile): ditto
1890
1891 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1892
1893         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1894
1895         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1896
1897 2005-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1898
1899         * lyxlayout.[Ch]: change some vars from float to double
1900
1901         * buffer.C (readFile): make a local var const
1902
1903         * Several files: use convert<> instead of atoi,strToXXX and friends
1904
1905 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1906
1907         * LaTeXFeatures.[Ch]: Add a static list packages_ that
1908         holds the contents of packages.lst. New functions getAvailable
1909         and isAvailable to parse and check that list, resp.
1910
1911         * LyXAction.C:
1912         * lfuns.h:
1913         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1914
1915         * bufferparams.[Ch]: new param output_changes.
1916
1917         * Buffer.C: increase file format to 240.
1918         Use output_changes and isVailable.
1919
1920         * changes.[Ch]:
1921         * paragraph.C:
1922         * paragraph_pimpl.C: Use output_changes and isVailable.
1923
1924 2005-01-23  Angus Leeming  <leeming@lyx.org>
1925
1926         * output_latex.C: #include "insetbibitem.h", rather than
1927         forward declare function bibitemWidest.
1928
1929 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
1930
1931         * lyx_main.C (init): make it compile on the Mac.
1932
1933 2005-01-20  Angus Leeming  <leeming@lyx.org>
1934
1935         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1936         (setLyXMisc): (char string literal) != (char string literal) is
1937         performing a comparison on the addresses. Convert one operand
1938         explicitly to string to guarantee expected behaviour.
1939         From MSVC warning.
1940
1941 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1942
1943         * buffer.C:
1944         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1945
1946         * output_plaintext.C: remove unneeded #include gzstream.h.
1947
1948 2005-01-20  Angus Leeming  <leeming@lyx.org>
1949
1950         * SpellBase.h: rename some of the elements of the Result enum.
1951
1952         * aspell_local.h:
1953         * ispell.h:
1954         * pspell.h:
1955         * aspell.C (check):
1956         * ispell.C (check):
1957         * pspell.C (check): ditto
1958
1959 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1960
1961         * buffer.C: add #include <fstream>.
1962
1963         * lyx_main.C (init): Compile fix.
1964
1965         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1966
1967 2005-01-20  Angus Leeming  <leeming@lyx.org>
1968
1969         * mover.h: change commentary to reflect the changed meaning of
1970         the $$s placeholder.
1971
1972 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1973
1974         * output_linuxdoc.C (linuxdocParagraphs): silence warning
1975
1976         * lyxfind.C (MatchString::operator()): remove bogus semicolon
1977
1978 2005-01-20  Angus Leeming  <leeming@lyx.org>
1979
1980         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1981         printing diagnostic data by not dereferecing an iterator past the
1982         end.
1983
1984 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1985
1986         * buffer.C (readHeader): use "&&" rather than "and".
1987
1988         * lyxserver.h (inPipeName, outPipeName): make these const.
1989
1990 2005-01-19  Angus Leeming  <leeming@lyx.org>
1991
1992         * lyx_main.C (error_handler, init): protect SIGHUP with
1993         #ifdef SIGHUP guards.
1994
1995 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1996
1997         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1998
1999 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2000
2001         * text.C (setHeightOfRow): add a margin at the top and bottom of
2002         the document (bug 1761)
2003
2004 2005-01-17  Angus Leeming  <leeming@lyx.org>
2005
2006         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
2007         with "python ". Workaround for a brain-dead Windows.
2008
2009 2005-01-16  Angus Leeming  <leeming@lyx.org>
2010
2011         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
2012         for MacOSX and Windows to use prependEnvPath.
2013         Strip out the hard-coded block to add elements to the PATH for
2014         MacOSX and replace it with a call to prependEnvPath using the
2015         contents of LyXRC::path_prefix.
2016         (queryUserLyXDir): strip out the code to run reconfigure, instead
2017         returning a boolean indicating the necessity to do so.
2018         (reconfigureUserLyXDir): contains the code to reconfigure the
2019         user support directory. Is now called after the various LyXRC data
2020         files have been read.
2021
2022         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
2023
2024 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2025
2026         * converter.[Ch] (convert): take a new parameter try_default. Use
2027         a default converter (imagemagick) if try_default is true.
2028
2029 2005-01-13  Angus Leeming  <leeming@lyx.org>
2030
2031         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
2032         os::cygwin_path_fix.
2033         (write): output LyXRC::cygwin_path_fix as necessary.
2034
2035 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
2036
2037         * lyxrc.h:
2038         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
2039
2040 2005-01-12  Angus Leeming  <leeming@lyx.org>
2041
2042         * lyx_main.C (init): set the PATH variable to include the
2043         directory containing the LyX binary when running on Mac or Windows.
2044
2045 2005-01-12  Angus Leeming  <leeming@lyx.org>
2046
2047         * lyx_main.C (init): remove cruft that purports to set the locale
2048         dir. It doesn't and is not needed anyway.
2049
2050 2005-01-10  Angus Leeming  <leeming@lyx.org>
2051
2052         * Makefile.am: remove the lyx_main.C special casing.
2053
2054         * BufferView_pimpl.C:
2055         * bufferlist.C:
2056         * exporter.C:
2057         * lyx_cb.C:
2058         * lyx_main.C:
2059         * lyxfunc.C:
2060         * messages.C: use support/package.h to provide the paths to the
2061         various directories used by LyX.
2062
2063 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2064
2065         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
2066         layout if pasting into an empty paragraph)
2067
2068 2005-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2069
2070         * tex-accent.C: add <string>
2071
2072 2005-01-06  José Matos  <jamatos@lyx.org>
2073
2074         * ParagraphParameters.C (write): put every parameter in its own line.
2075         * paragraph.C (write): reduce number of consecutive empty lines exported.
2076         * buffer.C (LYX_FORMAT): increase file format to 239.
2077
2078 2005-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2079
2080         * everywhere: change support/tostr.h -> support/convert.h
2081
2082         * tabular.C: make all write_attributes templates, tostr -> convert
2083
2084         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
2085         (emptyTag): and -> &&, and fix type for ret from getChar
2086         (getFirstWord): fix type for ret from getChar
2087         (onlyText): and -> &&
2088         (simpleDocBookOnePar): and not -> && !, fix type for ret from
2089         getChar
2090
2091         * toc.C (goTo, action):
2092         * text3.C (dispatch):
2093         * text.C (currentState):
2094         * tex-accent.C (DoAccent):
2095         * sgml.C:
2096         * lyxrc.C:
2097         * lyxfunc.C (menuNew):
2098         * lyxfinc.C (replace):
2099         * counters.C (laberItem):
2100         * bufferview_funcs.C (font2string):
2101         * bufferparams.C (writeFile):
2102         * buffer.C (readFile):
2103         * Spacing.C (set):
2104         * MenuBackend.C: tostr -> convert
2105
2106         * LaTeX.C (runMessage): fix format
2107         (scanAuxFiles): tostr -> convert
2108
2109         * BufferView_pimpl.C (savePosition): fix format
2110         (restorePosition): ditto
2111         (dispatch): ditto
2112
2113 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2114
2115         * Spacing.[Ch]: New method getValueAsString().
2116
2117         * Spacing.[Ch]:
2118         * bufferparams.C:
2119         * ParagraphParameters.C:
2120         * lyxlayout.C:
2121         * text.C:
2122         * text3.C: store/read spacing value as string.
2123
2124         * rowpainter.C: change float value (spacing_val) to double.
2125
2126         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
2127         broken custom document spacing).
2128
2129 2005-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
2130
2131         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
2132         namespace, also more use of temp references and const
2133
2134         * cursor.[Ch] (getStatus): move to lyxfunc.C
2135
2136         * bufferparams.C: reformat slightly
2137
2138         * bufferview_funcs.C (font2string): constify arg
2139
2140         * changes.C:
2141         * converter.C:
2142         * counters.C:
2143         * bufferlist.C:
2144         * buffer_funcs.C: (many funcs): constify arg on function
2145         definitions, also make more local vars const, also add ASSERTS on
2146         pointer args.
2147
2148         * buffer.C (LYX_FORMAT): put const in correct place
2149         (many funcs): constify arg on function definitions, also make
2150         more local vars const
2151
2152         * aspell_local.h: remove "struct" from typdef setup
2153
2154         * aspell.C (check): make word_ok const
2155         (nextMiss): simplify slightly
2156         (error): ditto
2157
2158 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2159
2160         * lyxrc.[Ch]: store all float values as strings.
2161         use int (not float) for lyxrc.dpi.
2162
2163 2005-01-04  Angus Leeming  <leeming@lyx.org>
2164
2165         * lyx_cb.C (Reconfigure):
2166         * lyx_main.C (queryUserLyXDir):
2167         to run the <system_lyxdir>/configure correctly on Windows, prefix
2168         the path to the script with "sh " when generating the string that
2169         is passed to system().
2170
2171 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2172
2173         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
2174
2175 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2176
2177         * lyxlength.C (asLatexString): get rid of setprecision
2178
2179 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2180
2181         * text2.C (setLayout): remove unused variable endpit.
2182         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
2183
2184         * paragraph.C (onlyText): remove unused variable style.
2185
2186         * cursor.C (bruteFind): remove unused variables beg and end.
2187
2188         * Makefile.am (dist_noinset_DATA): not needed anymore
2189
2190         * cheaders/*: remove.
2191
2192 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2193
2194         * text3.C: fix LFUN_MATH_MODE.
2195
2196 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2197
2198         * buffer_funcs.C (countWords): new function. Counts words between
2199         two iterators.
2200
2201         * BufferView_pimpl.C (getStatus, dispatch): handle
2202         LFUN_WORDS_COUNT.
2203
2204         * LyXAction.C (init):
2205         * lfuns.h: add LFUN_WORDS_COUNT.
2206
2207 2004-12-19  Angus Leeming  <leeming@lyx.org>
2208
2209         * buffer.C (save): s/slashify_path/internal_path/.
2210
2211 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2212
2213         * lyxfind.C (findChange): do not search for end of pars, because
2214         the change tracker cannot handle this (fixes bug 1719).
2215
2216 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2217
2218         * paragraph.[Ch] (autoBreakRows): remove
2219
2220         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
2221
2222         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
2223         avoid using the paragraph one
2224
2225         * text2.C (LyXText, insertStringAsLines): adjust
2226
2227 2004-12-16  Angus Leeming  <leeming@lyx.org>
2228
2229         * bufferlist.C:
2230         * lyx_main.C:
2231         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
2232
2233 2004-12-14  Angus Leeming  <leeming@lyx.org>
2234
2235         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
2236
2237         * bufferlist.C (emergencyWrite):
2238         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
2239         GetEnvPath("HOME").
2240
2241 2004-12-14  Angus Leeming  <leeming@lyx.org>
2242
2243         * main.C: (main): no longer pass pointers to os::init.
2244
2245 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
2246
2247         * undo.C (textUndoOrRedo): simplify logic, fix a crash
2248         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
2249
2250 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
2251
2252         * lyxfunc.C:
2253         * text3.C: remove selection_possible global flag
2254
2255 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
2256
2257         * text2.C (getSelectionSpan): remove
2258         (changeDepth, changeDepthAllowed): adjust
2259
2260 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
2261
2262         * Makefile.am (BOOST_LIBS): use boost variables
2263
2264 2004-12-03  José Matos  <jamatos@lyx.org>
2265
2266         * buffer.C: format up to 238.
2267
2268 2004-12-03  José Matos  <jamatos@lyx.org>
2269
2270         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
2271
2272 2004-12-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2273
2274         * cursor.C (goUpDown): remove call to idxUpDown2
2275
2276 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2277
2278         * tabular.[Ch]: use size_t-like types for cell, row and column
2279         indices
2280
2281 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2282
2283         * lyxfunc.C (getStatus): do not lose previous information when
2284         calling BufferView::getStatus; do not set a default "Command
2285         disabled" message at the beginning, but just before returning.
2286
2287 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2288
2289         * cursor.h (getStatus): add better comment from src/cursor.C
2290
2291 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2292
2293         * text3.C (getStatus): return false when the lfun is not handled
2294
2295 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2296
2297         * broken_headers.h: remove
2298
2299         * Makefile.am (lyx_SOURCES): remove broken_headers.h
2300
2301 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2302
2303         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
2304         offset_ref accessors
2305
2306         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
2307         top_y_, merge fitcursor with update
2308         (updateScrollbar, scrollDocView, fitCursor, center, update): new
2309         coord scheme
2310         (metrics): introduce
2311         (workAreaDispatch): adapt to new coord scheme
2312         (redoCurrentBuffer): remove
2313
2314         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
2315
2316         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
2317         CurStatus enum.
2318
2319         * coordcache.[Ch]: add paragraph cache and helpers
2320
2321         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
2322         adjust everywhere
2323
2324         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
2325         (targetX, setTargetX): introduce
2326
2327         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
2328         baseline -> ascent, as the rest of lyx
2329
2330         * lyxtext.h: remove redoParagraphs, updateParPositions,
2331         fullRebreak, redoParagraphInternal. move dist to anon namespace in
2332         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
2333         have ascent/descent (ascent is ascent of first par)
2334
2335         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
2336         step of BufferView
2337
2338         * paragraph.[Ch]: unify dimension handling with the rest of lyx
2339
2340         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
2341
2342         * pariterator.C: fix infinite loop introduced in par->pit renaming
2343
2344         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
2345         in insets and LyXText, draw two off-screen paragraphs using
2346         NullPainter, and adapt to new coord scheme
2347
2348         * text.C:
2349         * text2.C:
2350         * text3.C: adapt lfun handlers to the new coord scheme, which
2351         means: there's only guaranteed coord information for onscreen pars
2352         plus one above and one below. This implies that one can do search
2353         from y coordinates in the range [-1,workHeight]
2354
2355 2004-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2356
2357         * rename a lot of InsetOld to InsetBase
2358
2359 2004-11-25  Angus Leeming  <leeming@lyx.org>
2360
2361         * BufferView_pimpl.C:
2362         * lyx_cb.C:
2363         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
2364
2365 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2366
2367         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
2368         call BufferView::getStatus if LCursor::getStatus did nothing
2369         (setStatusMessage, getStatusMessage): removed.
2370
2371         * FuncStatus.C (message): new methods. Used to provide an error
2372         message indicating why a command is disabled.
2373         (clear, |=, FuncStatus): update for message.
2374
2375 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2376
2377         * lyxfunc.C (dispatch): always call sendDispatchMessage
2378
2379 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2380
2381         * BufferView.C:
2382         * BufferView_pimpl.C:
2383         * CutAndPaste.C:
2384         * FontIterator.C:
2385         * buffer.C:
2386         * cursor.C:
2387         * cursor_slice.[Ch]:
2388         * dociterator.[Ch]:
2389         * lyxfind.C:
2390         * paragraph_funcs.C:
2391         * pariterator.C:
2392         * rowpainter.C:
2393         * text.C:
2394         * text2.C:
2395         * text3.C:
2396         * undo.C: par->pit renaming
2397
2398 2004-11-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2399
2400         * tabular.C (cellstruct): use initialization, store a shared_ptr
2401         to insettext instead of the insettext directly, adjust to fit.
2402         (operator=):  new function
2403         (swap): new function
2404         (rowstruct): use initialization
2405         (columnstruct): use initialization
2406         (ltType): use initialization
2407
2408
2409         * lyxlength.h (swap): new function
2410
2411         * LColor.[Ch] (operator=): use the common semantics
2412
2413 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2414
2415         * lyxfind.C (findNextChange): update the bufferview after setting
2416         the selection.
2417
2418 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2419
2420         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
2421         number of InsetOptArgs has already been inserted.
2422
2423         * output_latex.C (latexOptArgInsets): new method. This outputs all
2424         the optarg insets, up to the limit defined in the layout file.
2425         (optArgInset): removed
2426         (TeXOnePar): call latexOptArgInsets; correctly update texrow
2427
2428 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2429
2430         * paragraph.C (isLetter): remove special spellchecker-related
2431         code; return true also for digits
2432         (isWord, isKomma): remove
2433
2434         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
2435         * lyxfind.C (MatchString()): use isLetter instead of isWord
2436
2437 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2438
2439         * pariterator.h (operatir=): comment out un-implemented member
2440         function.
2441
2442         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
2443         static cast.
2444
2445 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2446
2447         * lyxfont.h: include LColor.h to satisfy concept checks.
2448
2449 2004-11-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2450
2451         * pariterator.h: add typdefs for value_type, difference_type,
2452         pointer and reference to satisfy concept checks. Also add default
2453         constructor for same reason.
2454
2455         * pariterator.C (operator++): add post-increment operator to
2456         satisfy concept checks.
2457
2458         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
2459         checks.
2460
2461         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
2462
2463         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
2464         checks. Also rename base_type to BaseType to follow naming
2465         standard better.
2466
2467         * FloatList.h: include Floating.h to satisfy concept checks.
2468
2469 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2470
2471         * lyxfunc.C (getStatus): when the origin of the request is menu or
2472         toolbar, and the LyXView does not have focus, do as if there was
2473         no buffer (bug 1720)
2474
2475         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2476         FuncRequest to individual entries of LFUN_SEQUENCE
2477
2478 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2479
2480         * output_latex.C (TeXOnePar): override runparams.moving_arg
2481         according to the needprotect value of the current paragraph (bug
2482         1739)
2483
2484         * paragraph.C (simpleTeXOnePar): no need to override
2485         runparams.moving_args here
2486
2487 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
2488
2489         * vspace.C: fix off-by-one-error, related to fix #1682
2490
2491 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2492
2493         * lengthcommon.C: a more general fix for bug 1682
2494
2495 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2496
2497         * text.C (backspace): fix crash
2498
2499 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2500
2501         * format.[Ch] (getFormatFromFile): new method
2502         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2503
2504 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2505
2506         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2507
2508 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2509
2510         * lyxfunc.C (dispatch): remove the verbose argument
2511         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2512         instead
2513
2514         * kbmap.C (defkey): set the origin of func to KEYBOARD
2515
2516         * MenuBackend.C (MenuItem):
2517         * ToolbarBackend.C (add): set the origin of func to UI
2518
2519         * funcrequest.[Ch]: add origin member, which indicates which part
2520         of LyX requests an action
2521
2522 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2523
2524         * converter.C (move): don't lie in the error message
2525         * converter.h (isReachable, move): document
2526
2527 2004-11-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2528
2529         * buffer.C: remove unused using lyx::support::atoi
2530         * paragraph_funcs.C: ditto
2531
2532 2004-11-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2533
2534         * bufferlist.C (exists): use bind and equal_to instead of
2535         compare_memfun
2536         (getBuffer): ditto
2537         * lyxtextclasslist.C (NumberOfClass): ditto
2538
2539         * cursor.C (insert): use for_each instead of explicit for loop
2540
2541         * bufferlist.C (getFileNames): use std::transform and
2542         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2543
2544         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2545         for loop
2546
2547         * buffer.C (changeLanguage): use for_each instead of explicit for
2548         loop
2549         (hasParWithID): implement using getParFromID
2550
2551         * LaTeXFeatures.C: ws change only
2552
2553         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2554         to cleanup a bit.
2555
2556         * BufferView_pimpl.C (trackChanges): use for_each instead of
2557         expilicit for loop
2558
2559 2004-11-04  André Pönitz  <poenitz@gmx.net>
2560
2561         * undo.h:
2562         * undo.C (textUndoOrRedo): fix crash when creating undo information.
2563
2564         * dociterator.C (asDocIterator): use hard assert again.
2565
2566 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2567
2568         * lyxlength.C (asLatexString): rewrite so that it does not use
2569         snprintf anymore
2570
2571 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2572
2573         * text3.C (specialChar, dispatch): make sure cursor moves to the
2574         right after inserting an inset
2575
2576 2004-11-02  José Matos  <jamatos@lyx.org>
2577
2578         * output_docbook.C (docbook):
2579         * paragraph.C (getID):
2580         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2581         garantee that the output is always legal.
2582
2583         * tabular.C (docbook):
2584         * outputprams.[Ch]: remove mixed contents.
2585
2586 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2587
2588         * text2.C (setCounter): prevent endless loop
2589
2590 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2591
2592         * exporter.C (copyFile): use the mover instead of support::copy()
2593         * exporter.C (Export): pass format and latex name to copyFile()
2594         * exporter.h (addExternalFile): document
2595         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2596
2597 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2598
2599         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2600
2601 2004-10-30  José Matos  <jamatos@lyx.org>
2602
2603         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2604         text and no inset or font change. This allows to use CDATA
2605         sections just for the whole paragraph.
2606
2607 2004-10-30  José Matos  <jamatos@lyx.org>
2608
2609         * paragraph.C (getFirstWord): remove unused variable.
2610
2611 2004-10-30  José Matos  <jamatos@lyx.org>
2612
2613         * paragraph.C (getFirstWord): the content should always be escaped
2614         there.
2615         (simpleDocBookOnePar):
2616         * output_docbook.C (makeEnvironment): replace reference to CDATA
2617         to style pass_thru.
2618
2619 2004-10-30  José Matos  <jamatos@lyx.org>
2620
2621         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2622
2623 2004-10-30  José Matos  <jamatos@lyx.org>
2624
2625         * output_docbook.C (makeParagraphs):
2626         * paragraph.[Ch] (emptyTag): for docbook and company, if the
2627         standard paragraph has only a given type of content drop the wrapper.
2628
2629 2004-10-29  José Matos  <jamatos@lyx.org>
2630
2631         * output_docbook.C (makeEnvironment):
2632         * sgml.C (openTag):
2633         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2634
2635 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
2636
2637         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2638         (cleanID): sanitize any id.
2639
2640 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2641
2642         * buffer.C, lyxlex_pimpl.C:
2643         * lyxlex_pimpl.C (setFile):
2644         s/getExtFromContents/getFormatFromContents/
2645
2646 2004-10-28  José Matos  <jamatos@lyx.org>
2647
2648         * output_docbook.C (makeEnvironment): move id to broadest possible
2649         scope.
2650
2651         * sgml.C (openTag): apply substitution of <> for all attributes.
2652
2653 2004-10-28  José Matos  <jamatos@lyx.org>
2654
2655         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2656         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2657         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2658
2659         * sgml.[Ch]: new version for open and closeTag for paragraph and
2660         for strings. Now they handle the ids of paragraphs.
2661
2662 2004-10-26  Angus Leeming  <leeming@lyx.org>
2663
2664         * Makefile.am: add mover.[Ch].
2665
2666         * converter.C (convert, move): use the new Movers to move external
2667         files to the temp directory.
2668
2669         * lyx_main.C (init): ensure that the global system_movers data
2670         is initialised.
2671
2672         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2673         preferences file.
2674
2675         * mover.[Ch]: new files, defining a Mover as a utility to move an
2676         external file between directories and, if necessary, manipulate this
2677         file using a helper script.
2678
2679 2004-10-25  José Matos  <jamatos@lyx.org>
2680
2681         * output_docbook.C (makeCommand): merge two if's that tested the
2682         same condition.
2683
2684 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2685
2686         * sgml.C (escapeString): fix warning in a better way
2687
2688 2004-10-25  José Matos  <jamatos@lyx.org>
2689
2690         * sgml.C (escapeString): import the require boosts header file for
2691         tie, and avoid a signed unsigned comparison.
2692
2693 2004-10-25  José Matos  <jamatos@lyx.org>
2694
2695         * sgml.h: add #include <string>
2696
2697 2004-10-25  José Matos  <jamatos@lyx.org>
2698
2699         * sgml.[Ch] (escapeString): new function to escape all the string.
2700
2701 2004-10-24  José Matos  <jamatos@lyx.org>
2702
2703         * paragraph.[Ch] (getFirstWord): new function to get the first
2704         word. Useful for description.
2705         (simpleDocBookOnePar): remove depth argument, add another that
2706         says where to start the paragraph.
2707
2708         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2709         use the new functions to fix cleanly the support for descriptions.
2710
2711 2004-10-24  José Matos  <jamatos@lyx.org>
2712
2713         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2714         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2715         * output_linuxdoc.C (linuxdocParagraphs):
2716         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2717         add buffer as argument.
2718
2719 2004-10-24  José Matos  <jamatos@lyx.org>
2720
2721         * output_docbook.C (makeEnvironment, searchEnvironment): place
2722         CDATA inside paragraphs and fix scope for listitems.
2723
2724 2004-10-24  José Matos  <jamatos@lyx.org>
2725
2726         * output_docbook.C: remove using statement for stack.
2727
2728 2004-10-23  José Matos  <jamatos@lyx.org>
2729
2730         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2731         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2732         docbook. The new scheme is recursive and makes use of iterators, the
2733         same as latex export works.
2734         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2735         directly with the paragraph contents. This code was moved up to
2736         output_docbook.C (docbookParagraphs).
2737         * sgml.C (openTag, closeTag): removed unneeded newlines.
2738         (closeEnvTags) removed.
2739
2740 2004-10-23  André Pönitz  <poenitz@gmx.net>
2741
2742         * undo.C (textUndoOrRedo):
2743         * dociterator.C (asDocIterator): work around crash
2744
2745         * cursor.C (getStatus): replace ASSERT by more verbose error message
2746           and manual correction of the problem. Should increase stability
2747           while providing more sensible information.
2748
2749 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2750
2751         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2752
2753         * bufferlist.C (previous, next): new methods
2754
2755         * lfuns.h:
2756         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2757
2758 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
2759
2760         * buffer.C (makeDocBookFile): add dsssl stylesheet control
2761         entities to preamble.
2762
2763 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2764
2765         * messages.C (Pimpl): strip off translation context information
2766
2767 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2768
2769         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2770         the cursor is correct (bug 1694)
2771
2772 2004-10-13  José Matos  <jamatos@lyx.org>
2773
2774         * output_docbook.C (docbookParagraphs): fix closing tags in the
2775         end of the document.
2776
2777 2004-10-09  José Matos  <jamatos@lyx.org>
2778
2779         * buffer.C: format up to 237.
2780         * bufferparams.C (write): use tostr to convert booleans to strings.
2781
2782 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
2783
2784         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2785
2786 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
2787
2788         * LaTeX.C: implement use of babel language in xindy.
2789
2790 2004-10-05  José Matos  <jamatos@lyx.org>
2791
2792         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2793         Add new translators to help reading and writing the lyx file.
2794
2795 2004-10-05  José Matos  <jamatos@lyx.org>
2796
2797         * ParagraphParameters.C (read):
2798         * text.C (readParToken): replace nexToken by more appropriate lex
2799         methods.
2800
2801 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
2802
2803         * LaTeX.C (runMakeIndex):
2804         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2805         (usually 'makeindex') configurable.
2806
2807         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2808         with a variable rather than with a number.
2809
2810 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2811
2812         * output_latex.C (TeXOnePar): make sure font setting is the first
2813         thing that gets output (and the last at the end). Should fix bug
2814         1404.
2815
2816 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2817
2818         * pch.h: use proper signal include
2819
2820         * LaTeX.h: Use preferred calling of Boost.Signal
2821         * buffer.h: ditto
2822
2823 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2824
2825         * pch.h: dont include <boost/function/function0.hpp>
2826
2827         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2828
2829         * paragraph_pimpl.h: remove usage of ShareContainer
2830
2831         * paragraph_pimpl.C: remove initialization of ShareContainer.
2832
2833 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2834
2835         Fix bug #1666
2836
2837         * BufferView.C (putSelectionAt): change the semantics when
2838         backwards == true: now, this just swaps cursor and anchor wrt the
2839         forward case
2840
2841         * BufferView.h (putSelectionAt): add some documentation
2842
2843         * lyxfind.C (findBackwards): rewrite using while(). In particular,
2844         make sure backwardChar is done at least once (to avoid getting
2845         stuck)
2846         (findNextChange): use putSelectionAt in the forward direction
2847         (operator()): use Paragraph::isWord
2848
2849 2004-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2850
2851         * Spacing.C (set): c_str fix
2852
2853 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2854
2855         * lyx_cb.C (Reconfigure): quote the name of configure script in
2856         case it contains spaces
2857
2858 2004-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2859
2860         * client: new dir
2861
2862         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2863         (BOOST_LIBS): use top_buildir when looking for the file
2864
2865 2004-08-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2866
2867         * pch.h: do not use include boost/format.hpp, multiple symbols
2868                 will result (gcc bug)
2869
2870
2871 2004-08-23  José Matos  <jamatos@lyx.org>
2872
2873         * bufferparams.C (readToken): fix reading of the author field.
2874
2875 2004-08-20  José Matos  <jamatos@lyx.org>
2876
2877         * lyxrc.C: remove support/translator.h inclusion since it is not used.
2878
2879 2004-08-20  José Matos  <jamatos@lyx.org>
2880
2881         * lyxlex.[Ch] (findToken): remove function.
2882
2883         * ParagraphParameters.C (findToken):
2884         * bufferparams.C (findToken): replace call for previous function
2885         with local copy. This local function has one more argument, the
2886         read string argument.
2887
2888 2004-08-16  José Matos  <jamatos@lyx.org>
2889
2890         * ParagraphParameters.C (write):
2891         * Spacing.C (writeFile):
2892         * bufferparams.C (writeLaTeX):
2893         * lyx_cb.C (Reconfigure):
2894         * paragraph.C (write):
2895         * tabular.C (write): remove unnecessary space at end of line.
2896
2897
2898 2004-08-16  José Matos  <jamatos@lyx.org>
2899
2900         * text.C (readParagraph): remove debug message.
2901
2902 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2903
2904         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2905         crash
2906
2907         * output_plaintext.C (asciiParagraph): set depth correctly
2908
2909         * outputparams.h: add member depth
2910
2911         * paragraph_funcs.C (ownerPar): remove.
2912
2913         * text2.C (setCounter): remove first_pit; comment out some
2914         non-working code that uses ownerPar
2915
2916         * BufferView.C (getParentLanguage): remove. Not used anymore, and
2917         uses ownerPar
2918
2919 2004-08-16  José Matos  <jamatos@lyx.org>
2920
2921         * text.C (readParToken, readParagraph, read): report all unknown tokens.
2922         For the same level of importance use the same chanel to report problems.
2923         (read): add code to deal with \begin_body and \end_body.
2924
2925
2926 2004-08-15  José Matos  <jamatos@lyx.org>
2927
2928         * lyxlex.C (getString): fix comment, buffer::readBody is now
2929         buffer:readDocument.
2930
2931         * tex-strings.C (string_papersize): Default -> default,
2932         Custom -> custom, for consistency with other options.
2933
2934 2004-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2935
2936         * pch.h: new file
2937
2938         * Makefile.am: support pch
2939
2940 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2941
2942         * text.C (readParToken): remove the static LyXFont variable and
2943         pass it as a parameter instead. This fixes a nasty bug where an
2944         inset will be inserted with a bad font in some situations
2945         (readParagraph): adapt
2946
2947         * text2.C (setCounter): reduce number of calls to pars_[pit]
2948
2949         * text.C (singleWidth): add an assert, fix a test
2950
2951         * rowpainter.C (paintText): reduce number of calls to singleWidth
2952
2953         * paragraph.C (isHfill):
2954         (isNewline): ws only
2955
2956 2004-08-14  André Pönitz  <poenitz@gmx.net>
2957
2958         * text.C:
2959         * text2.C:
2960         * rowpainter.C:
2961         * lyxtext.h (several functions): use a Paragraph & argument
2962         instead of par_type
2963
2964 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2965
2966         * metricsinfo.h: add a new field ltr_pos to PainterInfo
2967
2968         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2969
2970         * text.C (singleWidth): remove useless test
2971
2972 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2973
2974         * tabular.h: remove bogus comments
2975
2976         * tabular.C (getDescentOfRow):
2977         (isPartOfMultiColumn): add assertions
2978
2979         * lyxlength.C (inPixels): remove #warning
2980
2981 2004-08-14  André Pönitz  <poenitz@gmx.net>
2982
2983         * paragraph.h: inline getChar()
2984
2985         * BufferView.h: remove unused declarations
2986
2987 2004-08-14  José Matos  <jamatos@lyx.org>
2988
2989         * Buffer.[Ch] (readDocument): new name for old readBody.
2990         * Buffer.C: new file format, new keywords: \begin_document,
2991         \begin_header, \begin_body, \end_body.
2992
2993         * bufferparams.C (readToken): replace all calls to lex.nextToken
2994         by lex.next(). Do the same to eatLine except where really needed.
2995
2996         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2997         line when writing to the lyx file.
2998
2999         * output_plaintext.C (asciiParagraph): fix Bibliography style
3000         handling.
3001
3002         * text.C (read): fix end of file handling.
3003
3004 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3005
3006         * MenuBackend.C (Menu::operator[]): new method to access
3007         individual menu items
3008         (Menu::hasFunc): new method. search for an item that corresponds
3009         to a given func
3010         (MenuBackend::specialMenu): new method
3011         (MenuBackend::expand): if a special menu has been set, skip
3012         entries whose func() appears in this menu
3013
3014 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
3015
3016         * text3.C: use Debug::DEBUG a bit more
3017
3018         * text.C (leftMargin): try to simplify a tiny bit change var x to
3019         l_margin. Dont output the wide margins always.
3020         (rightMargin): no margin in inner texts
3021
3022         * rowpainter.h (nestMargin): new func
3023         (changebarMargin): new func
3024         (rightMargin): new func
3025
3026         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
3027         now functions.
3028         (paintLast): ditto
3029
3030         * factory.C (createInset): modify setDrawFrame
3031
3032         * cursor.C: use Debug::DEBUG a bit more
3033
3034 2004-08-14  André Pönitz  <poenitz@gmx.net>
3035
3036         * coordcache.[Ch]:
3037         * Makefile.am: new files to accomodate an 'external' (x,y)-position
3038         cache for all insets in (at least partially) visible (top-level)
3039         paragraphs.
3040
3041         * BufferView_pimpl.C: reset external coord cache before every update.
3042         This means the coord cache only contains valid entries.
3043
3044 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
3045
3046         bug 1096
3047         * BufferView_pimpl.C (getInsetByCode): move function out of class
3048         and change in to a template in anon namespace. Also fix to do what
3049         suits us better.
3050
3051 2004-08-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
3052
3053         bug 1305
3054         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
3055         of char
3056         (breakParagraph): rename par to par_offset and use a local
3057         reference. Add code to keep the language over a rebreak.
3058         (breakParagraphConservative): rename par to par_offset, use a
3059         local reference
3060         (mergeParagraph): ditto
3061         (outerHook): ditto
3062         (isFirstInSequence): ditto
3063         (outerFont): rename pit to par_offset
3064
3065         * paragraph.C: ws change
3066         * paragraph.h: ditto
3067         * text3.C: ditto
3068         * text.C: ditto
3069
3070 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3071
3072         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
3073         treatment for ']'
3074
3075         * paragraph.C (simpleTeXOnePar): when we have a \item with
3076         optional argument, enclose the argument with curly brackets (in
3077         case it contains a closing square bracket)
3078
3079         * text2.C (editXY):
3080         * text2.C (editXY):
3081         * text3.C (checkInsetHit): constify
3082
3083 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3084
3085         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
3086         documents (bug 1629)
3087
3088 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3089
3090         Fix toggling of collapsable insets with the mouse (bug 1558)
3091
3092         * lyxfunc.C (dispatch): adapt to LCursor changes
3093
3094         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
3095         make sure that dispatch is not invoked twice
3096
3097         * cursor.C (needsUpdate): new method
3098         (dispatch): return void
3099         (result): new method, to access the DispatchResult of the cursor.
3100
3101 2004-08-13  José Matos  <jamatos@lyx.org>
3102
3103         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
3104
3105 2004-08-13  André Pönitz  <poenitz@gmx.net>
3106
3107         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
3108
3109         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
3110           multiple cells
3111
3112 2004-08-12  André Pönitz  <poenitz@gmx.net>
3113
3114         * text3.C: take out the 'cursor right' form insertInset and only
3115         do it in those places when it is really needed. Fixes crash on
3116         C-m...
3117
3118 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3119
3120         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
3121
3122         * BufferView_pimpl.C (setBuffer): initialize the current font of
3123         the underlying LyXText
3124
3125 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3126
3127         * kbsequence.C (print): use UI native formatting for menu
3128         shortcuts
3129
3130         * text.C (insertChar): call Paragraph::insertChar with a font
3131         argument (cosmetic)
3132
3133         * paragraph.C (insertInset, insertChar): the version that takes a
3134         LyXFont argument is now a wrapper around the other one (the
3135         opposite used to be true).
3136
3137         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
3138         argument. Font setting is done in Paragraph now.
3139
3140 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3141
3142         * outputparams.h: add new members intitle and lang.
3143
3144         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
3145         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
3146
3147 2004-08-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3148
3149         * text3.C (dispatch): remove special handling of button 4 and 5,
3150         it is now taken care of in the frontend code.
3151
3152 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3153
3154         * Spacing.h: add <string> (STLPort compile fix)
3155
3156 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3157
3158         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
3159
3160 2004-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3161
3162         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
3163         to bool.
3164
3165         * converter.C (showMessage): inherit from unary_function, make
3166         operator() const.
3167
3168         * buffer.C (writeFile): initialize retval
3169
3170         * InsetList.h: rename private variable list to list_
3171         * InsetList.[Ch]: adjust accordingly.
3172
3173 2004-07-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3174
3175         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
3176         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
3177         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
3178         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
3179         * ParagraphParameters.C, LaTeXFeatures.C: replace
3180         "support/std_sstream.h" with <sstream>
3181
3182 2004-07-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3183
3184         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
3185         * lyxsocket.C (LyXServerSocket): ditto
3186         (serverCallback): ditto
3187
3188 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3189
3190         * LaTeXFeatures.C: check release date when loading jurabib.
3191
3192 2004-07-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3193
3194         * lyxserver.C (startPipe): call register_socket_callback
3195         (endPipe): call unregister_socket_callback
3196
3197 2004-07-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3198
3199         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
3200         (LyXServerSocket): register the callback
3201         (LyXServerSocket): unregister the callback
3202         (fd): delete function
3203         (serverCallback): improve error checking and setup the callbacks.
3204         (dataCallback): change arg to fd.
3205         (writeln): new func (copied fro the client socket) used for server
3206         write to client.
3207         (LyXDataSocket): simplify
3208         (~LyXDataSocket): close ann unregiser callback
3209         (server): delete function
3210         (fd): delete function
3211         (readln): small changes, improve some std::string usage
3212         (writeln): constify a bit
3213
3214 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3215
3216         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
3217         Qt frontend
3218
3219 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3220
3221         * BufferView_pimpl.C (setBuffer): set the layout combox value only
3222         after it has been populated
3223
3224 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3225
3226         * text2.C (insertInset): move cursor when inserting inset.
3227
3228 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3229
3230         * kbmap.C (findbindings): a couple of new methods. returns a
3231         container of kb_sequence objects. The real work is done by the
3232         private recursive version
3233         (printbindings): uses findbindings to print out a bracketed list
3234         of bindings (renamed from findbinding).
3235
3236         * MenuBackend.C (binding): use kb_keymap::findbindings
3237
3238         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
3239
3240 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3241
3242         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
3243
3244 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3245
3246         * paragraph.C (isWord): return true on insets that report
3247         isLetter().
3248
3249         * text.C (getWord): use Paragraph::isWord to decide what is in a
3250         word and what is not; fix bug 1609.
3251
3252 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3253
3254         * tex-strings.C: add "none" to string_paperpackages[], fixes
3255         off-by-one-error in the paperpackage selection.
3256
3257         * lyxlex.[Ch]:
3258         * tex-strings.[Ch]: char const * string[n]
3259         -> char const * const string[]
3260
3261 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3262
3263         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
3264         command, return early.
3265
3266 2004-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3267
3268         * debug.h: add DEBUG to enum and fix size of ANY.
3269
3270         * debug.C: add support for Debug::DEBUG
3271         (showTags): cast errorTags.level to unsigned int
3272
3273         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
3274         (redoCurrentBuffer): ditto
3275         (updateScrollbar): ditto
3276         * cursor.C (dispatch): ditto
3277         * text2.C (setLayout): ditto
3278         (setFont): ditto
3279         (updateCounters): ditto
3280         (editXY): ditto
3281         (deleteEmptyParagraphMechanism): ditto
3282
3283 2004-06-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3284
3285         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
3286         annotations to cleanup the Makefile slightly.
3287
3288 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3289
3290         * lyxrc.C: do not set user_email to a default value but use empty
3291         instead. The entry used to be translated, which does not work
3292         since at the point where lyxrc is constructed there is no
3293         translation service available
3294
3295         * messages.C (getLocaleDir): remove and use directly
3296         lyx_localedir() instead
3297
3298 2004-06-02  Angus Leeming  <leeming@lyx.org>
3299
3300         Fix crash caused by dereferencing null pointer 'exportdata' in
3301         OutputParams by creating a new ExportData variable on the heap,
3302         storing it in a boost::shared_ptr.
3303         The crash was triggered when generating an Instant Preview
3304         of an external inset.
3305
3306         * Makefile.am: add outputparams.C
3307
3308         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
3309         (c-tor): allocate memory to it.
3310
3311         * exporter.C (c-tor): associated changes.
3312
3313 2004-06-01  Angus Leeming  <leeming@lyx.org>
3314
3315         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
3316         contains data before calling isInset(0). (Bug 1513.)
3317
3318 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3319
3320         * exporter.C (checkOverwrite): new method
3321         * exporter.C (copyFile): new method
3322         * exporter.C (Export): copy referenced files to the document dir
3323         * exporter.[Ch]: new class ExportedFile
3324         * exporter.[Ch]: new class ExportData. Contains currently the
3325         names of referenced external files
3326         * outputparams.h: add exportdata member.
3327
3328 2004-05-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3329
3330         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
3331         version.C-tmp
3332
3333 2004-05-19  Angus Leeming  <leeming@lyx.org>
3334
3335         * LaTeXFeatures.C:
3336         * ToolbarBackend.C:
3337         * bufferparams.C:
3338         * lyxfunc.C: small changes due to the introduction of namespace
3339         lyx::frontend and the moving of namespace biblio to lyx::biblio.
3340
3341 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
3342
3343         * text3.C (dispatch): supress update when only moving the cursor
3344         * cursor.C (selHandle): remove commented code
3345
3346 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3347
3348         * paragraph.C (startTeXParParams): correct column count
3349         * CutAndPaste.C (pasteSelection): remove const_cast
3350         * output_docbook.C (docbookParagraphs): remove const_cast
3351         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
3352         const_cast and return ParagraphList::const_iterator
3353         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
3354         * output_plaintext.C (writeFileAscii): remove const_cast
3355         * paragraph.[Ch] (simpleTeXOnePar): make const
3356         * paragraph_funcs.C (outerPar): use const iterators
3357         * paragraph_pimpl.C (validate): use const iterators
3358         * text.C (setHeightOfRow): use const iterators
3359
3360 2004-05-17  Angus Leeming  <leeming@lyx.org>
3361
3362         * lfuns.h:
3363         * LyXAction.C (init): new LFUN_INSET_REFRESH.
3364
3365         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
3366         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
3367         if the citation engine has changed.
3368
3369 2004-05-14  José Matos  <jamatos@lyx.org>
3370
3371         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
3372         if the textclass does not provide it. Have it different for sgml and
3373         xml.
3374         support the language of document.
3375         * output_docbook.C (docbookParagraphs):
3376         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
3377         first anchor as the id of the paragraph, remove special case code.
3378         * sgml.C (escapeChar): escape only < & >.
3379
3380 2004-05-14  Angus Leeming  <leeming@lyx.org>
3381
3382         * bufferparams.h: move biblio::CiteEngine enum here to minimize
3383         dependencies on src/frontends/controllers/biblio.h. Define a
3384         CiteEngine_enum wrapper class to enable the enum to be forward
3385         declared.
3386
3387 2004-05-12  Angus Leeming  <leeming@lyx.org>
3388
3389         * buffer.C: up LYX_FORMAT to 234.
3390         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
3391         use_numerical_citations with a single biblio::CiteEngine cite_engine
3392         variable.
3393         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
3394
3395 2004-05-13  José Matos  <jamatos@lyx.org>
3396
3397         * converter.h:
3398         * converter.C (Converter, readFlags): add xml member.
3399         * outputparams.h: add XML flavor.
3400         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
3401
3402 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3403
3404         * lyxfunc.C (dispatch):
3405         (getStatus): fix handling of LFUN_SEQUENCE
3406
3407 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3408
3409         * debug.C (showLevel): do not forget the end-of-line marker
3410
3411 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3412
3413         * kbmap.C (read): do not stop parsing a bind file when an error
3414         occurs (bug 1575)
3415
3416 2004-04-29  Angus Leeming  <leeming@lyx.org>
3417
3418         * cursor.C:
3419         * factory.C:
3420         * pariterator.C:
3421         * text2.C: wrap a bunch of #warning statements
3422         inside #ifdef WITH_WARNINGS blocks.
3423
3424 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3425
3426         * buffer.C: increment format to 233.
3427
3428 2004-04-28  Angus Leeming  <leeming@lyx.org>
3429
3430         * BufferView_pimpl.C:
3431         * lyxfunc.C:
3432         * text3.C:
3433         s/updateToolbar()/updateToolbars()/
3434         s/Toolbar.h/Toolbars.h/
3435
3436 2004-04-28  Angus Leeming  <leeming@lyx.org>
3437
3438         * BufferView.[Ch] (c-tor):
3439         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
3440         No longer passes these data to the WorkArea generator.
3441
3442 2004-04-28  Angus Leeming  <leeming@lyx.org>
3443
3444         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
3445
3446 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3447
3448         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
3449
3450 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3451
3452         * output_latex.C (TeXEnvironment): make sure that there is a line
3453         break before \end{foo} for the last paragraph of a document
3454         (TeXOnePar): if the paragraph is at the end of the document (or
3455         inset) and the language has to be reset, then make sure that the
3456         line break is _before_ the language command, not after (fixes bug
3457         1225); also make sure that the language reset command is the first
3458         thing after the paragraph (to ensure proper nesting of
3459         environments and thus fix bug 1404)
3460
3461 2004-04-21  John Levon  <levon@movementarian.org>
3462
3463         * ToolbarBackend.h:
3464         * ToolbarBackend.C: make "name" be a programmatic name
3465         and a gui_name field.
3466
3467         * lyxfunc.C: display the minibuffer on M-x
3468
3469 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3470
3471         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3472         (bug 1526)
3473
3474 2004-04-19  Angus Leeming  <leeming@lyx.org>
3475
3476         * BufferView_pimpl.C (setBuffer): changed preview interface.
3477
3478         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3479         possible values.
3480
3481 2004-04-19  John Levon  <levon@movementarian.org>
3482
3483         * BufferView_pimpl.C:
3484         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3485
3486 2004-04-05  Angus Leeming  <leeming@lyx.org>
3487
3488         * text.C (redoParagraphs): add call to updateCounters(), thereby
3489         fixing the missing "Figure #:" label from the caption of a
3490         figure float.
3491
3492 2004-04-13  Angus Leeming  <leeming@lyx.org>
3493
3494         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3495         cursor is clicked out of an inset.
3496
3497 2004-04-13  Angus Leeming  <leeming@lyx.org>
3498
3499         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3500         than an InsetOld one.
3501
3502 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3503
3504         * format.[Ch]: add editor to Format
3505         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3506         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3507
3508 2004-04-08  André Pönitz  <poenitz@gmx.net>
3509
3510         * metricsinfo.h: remove PainterInfo::width member
3511
3512 2004-04-08  Angus Leeming  <leeming@lyx.org>
3513
3514         * lyx_sty.C (boldsymbol_def): modify so that it outputs
3515         "\providecommand" rather than "\newcommand", thereby preventing
3516         clashes with packages that define "\boldsymbol" themselves.
3517         Eg, beamer.
3518
3519 2004-04-08  Angus Leeming  <leeming@lyx.org>
3520
3521         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3522         thereby squashing an unnecessary warning.
3523
3524 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3525
3526         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3527         setBuffer()
3528
3529 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
3530
3531         * BufferView.C (setCursor): call redoParagraph (some insets could
3532         have been opened)
3533         (putSelectionAt): remove the 'double update' trick
3534
3535         * BufferView_pimpl.C (fitCursor): call refreshPar
3536         (workAreaDispatch): remove an uneeded update call
3537         (dispatch): remove some manual update calls
3538
3539         * cursor.[Ch]: remove cached_y_, updatePos
3540         (selHandle): set noUpdate when appropriate
3541
3542         * lyxfunc.C (dispatch): track if we need an update
3543
3544         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3545
3546         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3547         (paintSelection): cheap optimization, do not call cursorX when not
3548         needed
3549         (paintPars): change signature
3550         (refreshPar): add
3551         (paintText): adjust
3552         (paintTextInset): adjust
3553
3554         * text.C: adjust
3555
3556 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3557
3558         * lengthcommon.C: compilation fix: remove explicit array size from
3559         unit_name[] and friends
3560
3561 2004-04-05  Angus Leeming  <leeming@lyx.org>
3562
3563         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3564
3565         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3566         present only for the preferences dialog.
3567         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3568
3569 2004-04-05  Angus Leeming  <leeming@lyx.org>
3570
3571         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3572         to enable the frontends to export changes to lyxrc correctly.
3573
3574         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3575
3576 2004-04-07  André Pönitz  <poenitz@gmx.net>
3577
3578         * cursor.[Ch] (selClear, adjust): remove math
3579
3580         * cursor_slice.C: more agressive assert
3581
3582         * lyxfunc.C:
3583         * BufferView_pimpl.C: rework mouse event dispatch
3584
3585         * dociterator.C:
3586         * paragraph.C:
3587         * text2.C:
3588         * text3.C: adjust
3589
3590 2004-04-05  André Pönitz  <poenitz@gmx.net>
3591
3592         * cursor.[Ch] (valign, halign...): remove unneeded functions
3593
3594 2004-04-05  Angus Leeming  <leeming@lyx.org>
3595
3596         * lyxlength.[Ch] (unit_name et al.): const-correct.
3597
3598 2004-04-05  Angus Leeming  <leeming@lyx.org>
3599
3600         * BufferView_pimpl.C:
3601         * buffer.C:
3602         * counters.C:
3603         * cursor.C:
3604         * lyxfunc.C
3605         * paragraph.C:
3606         * pariterator.C:
3607         * text.C:
3608         * text2.C:
3609         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3610
3611 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3612
3613         * text3.C (getStatus): add LFUN_BEGINNINGBUF
3614
3615 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3616
3617         * lyxfind.C: add a couple of inTexted() tests + other small fixes
3618         * BufferView_pimpl.[Ch] (getStatus)
3619         * BufferView.[Ch] (getStatus): add
3620         * lyxfunc.C (getStatus): move lfuns handled in
3621         BufferView::dispatch to te function above
3622         * Cursor.C (setSelection): set selection() = true
3623
3624 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3625
3626         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3627
3628 2004-03-31  Angus Leeming  <leeming@lyx.org>
3629
3630         * lyxfunc.C (dispatch): Fall through to the generic
3631         Dialogs::show("preamble").
3632
3633 2004-03-31  Angus Leeming  <leeming@lyx.org>
3634
3635         * lyxfunc.C (dispatch): Fall through to the generic
3636         Dialogs::show("spellchecker").
3637
3638 2004-03-31  Angus Leeming  <leeming@lyx.org>
3639
3640         * lyxfunc.C (getStatus, dispatch): changed invocation of the
3641         preferences dialog.
3642
3643 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3644
3645         * BufferView.C
3646         * cursor.[Ch]
3647         * dociterator.[Ch]:
3648         * insetiterator.[Ch]:
3649         * lyxfind.C:
3650         * lyxfunc.C:
3651         * pariterator.[Ch]:
3652         * text2.C:
3653         * undo.[Ch]: s/DocumentIterator/DocIterator/g
3654
3655 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3656
3657         * BufferView.C (setCursor, putSelectionAt): call edit to open the
3658         insets where we are putting the cursor.
3659
3660 2004-03-31  Angus Leeming  <leeming@lyx.org>
3661
3662         * lfuns.h:
3663         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3664
3665         * lyxrc.[Ch] (read, write): overloaded member functions taking
3666         a std::[io]stream arguments.
3667
3668         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3669
3670 2004-03-31  Angus Leeming  <leeming@lyx.org>
3671
3672         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3673         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3674
3675         * lyxtextclass.C (load): if the text class couldn't be loaded, then
3676         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3677
3678 2004-03-31  Angus Leeming  <leeming@lyx.org>
3679
3680         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3681         the LFUN_ALL_INSETS_TOGGLE code.
3682
3683 2004-03-30  Angus Leeming  <leeming@lyx.org>
3684
3685         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3686         has died. Fall through to the generic Dialogs::show("document").
3687
3688 2004-03-30  Angus Leeming  <leeming@lyx.org>
3689
3690         * lfuns.h:
3691         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3692         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3693
3694         * lyxfunc.C (getStatus, dispatch): define the actions for these
3695         lfuns. Little more than a cut and pste job from ControlDocument.C
3696
3697         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3698
3699 2004-03-30  Angus Leeming  <leeming@lyx.org>
3700
3701         * lfuns.h:
3702         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3703         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3704
3705         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3706         open/closed state of ollapsable insets. Usage:
3707
3708         all-inset-toggle <state> <name>, where
3709         <state> == "open" || "closed" || "toggle" and
3710         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3711
3712         * lyxtext.h, text2.C (toggleInset): removed.
3713
3714         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3715         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3716         now passes LFUN_INSET_TOGGLE to the found inset.
3717
3718         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3719         is now invoked as "all-insets-toggle toggle branch".
3720
3721 2004-03-30  Angus Leeming  <leeming@lyx.org>
3722
3723         * dociterator.C:
3724         * insetiterator.C:
3725         * pariterator.[Ch]: added/corrected header blurb.
3726
3727 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
3728
3729         * dociterator.[Ch]: add an inset_ member
3730         (backwardPos): implemented
3731         (backwardPos, forwardPos): use inset_ when the stack is empty.
3732         (doc_iterator_begin, doc_iterator_end): implemented
3733         * pariterator.[Ch]: adjust, add begin, end
3734         * insetiterator.[Ch]: adjust, add begin, end
3735         * cursor.C:
3736         * document.C:
3737         * BufferView.C:
3738         * BufferView_pimpl.C:
3739         * CutAndPaste.C: adjust
3740
3741 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3742
3743         * buffer.C: increment file format to 232.
3744         * LaTeXFeatures.C: add bibtopic package.
3745         * bufferparams.[Ch]: param \use_bibtopic.
3746
3747         * lyxrc.[Ch]: add lyxrc bibtex_command
3748         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3749
3750         * buffer.C: increment file format to 231.
3751
3752 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3753
3754         * dociterator.C: implement forwardPar
3755         * iterators.[Ch]: remove, replaced by
3756         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3757         * BufferView.C:
3758         * BufferView_pimpl.C:
3759         * CutAndPaste.C:
3760         * buffer.C:
3761         * bufferview_funcs.C:
3762         * cursor.C:
3763         * lyxfind.C
3764         * lyxfunc.C
3765         * paragraph_funcs.C
3766         * toc.C:
3767         * Makefile.am: adjust
3768
3769 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3770
3771         * CutAndPaste.C (pasteSelection): fix 2 crashes
3772         (eraseSelection): fix a crash
3773         * paragraph_funcs.C: remove a warning
3774
3775 2004-03-28  Angus Leeming  <leeming@lyx.org>
3776
3777         * lfuns.h:
3778         * LyXAction.C (init): new LFUN_PRINT.
3779
3780         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3781
3782 2004-03-27  Angus Leeming  <leeming@lyx.org>
3783
3784         * lfuns.h:
3785         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3786
3787         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3788
3789 2004-03-27  Angus Leeming  <leeming@lyx.org>
3790
3791         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3792         insetlist always contains non-null pointers to insets.
3793
3794 2004-03-26  Angus Leeming  <leeming@lyx.org>
3795
3796         * src/BufferView_pimpl.C:
3797         * src/CutAndPaste.C:
3798         * src/buffer.C:
3799         * src/iterators.C:
3800         * src/output_plaintext.C:
3801         * src/outputparams.h:
3802         * src/paragraph_funcs.C:
3803         * src/rowpainter.C:
3804         * src/text.C:
3805         * src/text2.C:
3806         * src/frontends/controllers/ControlErrorList.C:
3807         * src/frontends/gtk/FileDialogPrivate.C:
3808         * src/frontends/gtk/GPainter.C:
3809         * src/frontends/gtk/GToolbar.C:
3810         * src/frontends/qt2/QRef.C:
3811         * src/mathed/math_scriptinset.C: squash compiler warnings.
3812
3813 2004-03-26  Angus Leeming  <leeming@lyx.org>
3814
3815         * ispell.C (LaunchIspell::start):
3816         * lyx_cb.C (AutoSaveBuffer::start):
3817         invoke run(DontWait) rather than runNonBlocking().
3818
3819 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
3820
3821         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3822
3823 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3824
3825         * kbsequence.C (print): adjust
3826
3827         * kbmap.C (printKeySym): rename and change signature
3828         (printKey): use LyXKeySym::print()
3829
3830 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
3831
3832         * undo.C: add using std::advance to compile for stlport
3833
3834 2004-03-24  Angus Leeming  <leeming@lyx.org>
3835
3836         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3837         it leads to a crash when no buffer is present.
3838
3839 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3840             Martin Vermeer  <martin.vermeer@hut.fi>
3841
3842         * lyxfunc.C (dispatch):
3843         * bufferparams.C (readToken): use the new LColor::setColor
3844
3845         * LColor.[Ch] (setColor): new version that takes two strings as
3846         argument and creates a new color entry if necessary
3847
3848 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3849
3850         * buffer.C (makeLaTeXFile): if the main latex file that is
3851         processed is usually a subdocument of some master, then pretend
3852         for a while that it is actually the master
3853
3854 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3855
3856         * buffer.C (getLabelList):
3857         (getBibkeyList): use getMasterBuffer()
3858         (getMasterBuffer): new method. Returns the main document in the
3859         case where one is using included documents.
3860
3861 2004-03-25  André Pönitz  <poenitz@gmx.net>
3862
3863         * Makefile.am:
3864         * iterators.[Ch]:
3865         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3866
3867         * ParagraphList_fwd.h: change ParagraphList to a std::vector
3868
3869         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3870         text*.C over here. Rename namespace CutAndPaste to lyx::cap
3871
3872         * ParameterStruct.h: merge with ParagraphParameters
3873
3874         * lyxtext.h: remove LyXText::parOffset() and getPar()
3875
3876         * text3.C: Remove all 'manual' update calls. We do now one per user
3877         interaction which is completely sufficient.
3878
3879         * Bidi.C:
3880         * BufferView.[Ch]:
3881         * BufferView_pimpl.C:
3882         * FontIterator.[Ch]:
3883         * MenuBackend.C:
3884         * ParagraphParameters.[Ch]:
3885         * buffer.C:
3886         * buffer.h:
3887         * bufferlist.C:
3888         * cursor.[Ch]:
3889         * cursor_slice.[Ch]:
3890         * dociterator.[Ch]:
3891         * errorlist.[Ch]:
3892         * factory.C:
3893         * lfuns.h:
3894         * lyxfind.C:
3895         * lyxfunc.C:
3896         * output_docbook.[Ch]:
3897         * output_latex.[Ch]:
3898         * output_linuxdoc.[Ch]:
3899         * output_plaintext.[Ch]:
3900         * paragraph.[Ch]:
3901         * paragraph_funcs.[Ch]:
3902         * paragraph_pimpl.[Ch]:
3903         * rowpainter.C:
3904         * tabular.[Ch]:
3905         * text.C:
3906         * text2.C:
3907         * toc.C:
3908         * undo.[Ch]: adjust
3909
3910         * frontends/controllers/ControlDocument.C:
3911         * frontends/controllers/ControlErrorList.C:
3912         * frontends/controllers/ControlSpellchecker.C:
3913         * insets/inset.C:
3914         * insets/inset.h:
3915         * insets/insetbase.h:
3916         * insets/insetbibitem.C:
3917         * insets/insetbox.C:
3918         * insets/insetbranch.C:
3919         * insets/insetcaption.C:
3920         * insets/insetcharstyle.C:
3921         * insets/insetcharstyle.h:
3922         * insets/insetcollapsable.C:
3923         * insets/insetcollapsable.h:
3924         * insets/insetert.C:
3925         * insets/insetfloat.C:
3926         * insets/insetfoot.C:
3927         * insets/insetmarginal.C:
3928         * insets/insetnote.C:
3929         * insets/insetoptarg.C:
3930         * insets/insettabular.C:
3931         * insets/insettext.C:
3932         * insets/insettext.h:
3933         * insets/insetwrap.C:
3934         * mathed/math_mboxinset.C:
3935         * mathed/math_nestinset.C:
3936         * mathed/math_scriptinset.C:
3937         * mathed/math_scriptinset.h:
3938         * support/types.h:
3939
3940 2004-03-24  Angus Leeming  <leeming@lyx.org>
3941
3942         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3943         deal with any child processes that have finished but are waiting to
3944         communicate this fact to the rest of LyX.
3945
3946 2004-03-24  Angus Leeming  <leeming@lyx.org>
3947
3948         64-bit compile fixes.
3949
3950         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3951         (c-tor): pass lyx::pos_types rather than ints.
3952
3953         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3954         lyx::pos_type.
3955
3956         * text.C (Delete): compile fix.
3957         (getPar): ensure that function declaration is the same as that in
3958         the header file.
3959
3960 2004-03-23  Angus Leeming  <leeming@lyx.org>
3961
3962         * ispell.C (LaunchIspell):
3963         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3964         a boost::shred_ptr rather than a std::auto_ptr.
3965
3966 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3967
3968         * lyxfunc.C (getStatus): handle read-only buffers correctly;
3969         handle LFUN_FILE_INSERT_*
3970
3971         * lyxrc.C (setDefaults, getDescription, output, read):
3972         * lyxrc.h: remove ps_command
3973
3974 2004-03-22  Angus Leeming  <leeming@lyx.org>
3975
3976         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3977         Ensure that error_handler is processed once only and that all data
3978         is saved before attempting to output any warning messages.
3979
3980         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3981
3982 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
3983
3984         * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3985
3986 2004-03-19  André Pönitz  <poenitz@gmx.net>
3987
3988         * cursor.[Ch] (reset): take main text inset as argument
3989
3990         * BufferView: adjust
3991         * BufferView_pimpl.C: adjust
3992
3993         * paragraph.[Ch]: fix completely broken operator=()
3994
3995 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3996
3997         * LColor.C (getFromLyXName): make sure that the color name is used
3998         as lowercase.
3999
4000 2004-03-17  Angus Leeming  <leeming@lyx.org>
4001
4002         * lfuns.h:
4003         * LyXAction.C (init): remove LFUN_FORKS_KILL.
4004
4005         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
4006         dialog and to kill a forked process.
4007
4008 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
4009
4010         * text2.C (setCursorFromCoordinates): fix font problem
4011
4012 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
4013
4014         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
4015         bogus "rebuild cursor" code
4016
4017 2004-03-11  André Pönitz  <poenitz@gmx.net>
4018
4019         * buffer.[Ch]: use InsetText instead of LyXText as container for
4020         the main lyx text.
4021
4022         * dociterator.[Ch]: drop the BufferView * member which is not needed
4023         anymore after the change to buffer.C
4024
4025         * paragraph_funcs.C:
4026         * text.C:
4027         * text2.C:
4028         * BufferView.[Ch]:
4029         * BufferView_pimpl.[Ch]:
4030         * cursor.[Ch]:
4031         * cursor_slice.[Ch]: adjust
4032
4033         * text3.C: fix bug in mathDispatch
4034
4035 2004-03-08  André Pönitz  <poenitz@gmx.net>
4036
4037         * undo.[Ch]: use 'StableDocumentIterator' as base for
4038         the Undo struct.
4039
4040 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4041
4042         * LaTeXFeatures.C:
4043         * bufferparams.[Ch]: add jurabib support and param.
4044
4045         * LaTeX.C: add FIXME/comment.
4046
4047 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4048
4049         * buffer.C: increment file format to 230.
4050
4051 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
4052
4053         * cursor.C (dispatch): avoid infinite loops
4054
4055 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
4056
4057         * rowpainter.C (paintSelection): fix x coordinates
4058
4059 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
4060
4061         * text.C (rowBreakPoint): fix breaking before displayed insets
4062
4063 2004-03-01  André Pönitz  <poenitz@gmx.net>
4064
4065         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
4066
4067         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
4068
4069         * Makefile.am:
4070         * BufferView.C:
4071         * BufferView_pimpl.C:
4072         * buffer.C:
4073         * lyxfind.C:
4074         * lyxfunc.C:
4075         * text.C:
4076         * text2.C:
4077         * text3.C: adjust
4078
4079 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
4080
4081         * lyxtext.h:
4082         * text.C:
4083         * text2.C:
4084         * rowpainter.C:
4085         * BufferView_pimpl.C: rename textwidth -> maxwidth,
4086         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
4087
4088 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
4089
4090         * Bidi.[Ch] (computeTables): const correctness
4091         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
4092         fill_hfill, fill_label_hfill and x from Row
4093         * lyxtext.h: prepareToPrint returns a RowMetrics
4094         * rowPainter.C: adjust
4095         * text.C (prepareToPrint): use width, not textWidth. adjust
4096         (redoParagraphInternal, cursorX): adjust
4097         * text2.C (getColumnNearX): adjust
4098         (init): put a default value to the top LyXText::width
4099
4100 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
4101
4102         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
4103
4104 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
4105
4106         * lyxtext.h: add FontIterator class
4107
4108         * text.C (FontIterator, operator*, operator->, operator++): add
4109         (rowBreakPoint, setRowWidth): adjust (fixing a
4110         rebreaking bug)
4111
4112 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4113
4114         * BufferView_pimpl.C (workAreaDispatch): allow also
4115         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
4116
4117 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
4118
4119         * text.C (rowBreakPoint): fix a bug showing with very large insets
4120
4121 2004-02-25  André Pönitz  <poenitz@gmx.net>
4122
4123         * text3.C:
4124         * cursor.[Ch]: move some mathed specific code to mathed
4125
4126 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4127
4128         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
4129         use_tempdir in preferences
4130         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
4131         tempfile creation
4132         * lyx_main.C: ensure that tempdir is valid
4133         * lyxlex.h: correct typo
4134         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
4135         * paragraph.[Ch] (isMultiLingual): make const
4136         * cursor.[Ch] (openable): make const
4137
4138 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4139
4140         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
4141
4142 2004-02-20  André Pönitz  <poenitz@gmx.net>
4143
4144         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
4145
4146         * cursor.[Ch]: prepare for localized getStatus()
4147
4148         * lyxtext.h:
4149         * tabular.C:
4150         * text.C:
4151         * text2.C:
4152         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
4153
4154 2004-02-20  André Pönitz  <poenitz@gmx.net>
4155
4156         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
4157
4158 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
4159
4160         * text2.C (setCursorFromCoordinates): switch to absolute coords
4161         (cursorUp): adjust
4162         (cursorDown): adjust
4163         * text3.C (dispatch): adjust
4164
4165 2004-02-16  André Pönitz  <poenitz@gmx.net>
4166
4167         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
4168           insets/ChangeLog)
4169
4170         * cursor_slice.[Ch]: remove unneeded acessor function
4171
4172         * lyxtext.h: rename rtl() to isRTL()
4173
4174         * rowpainter.C:
4175         * tabular.C:
4176         * text.C:
4177         * text2.C:
4178         * text3.C: adjust
4179
4180 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
4181
4182         * rowpainter.C (paintSelection): coord fix
4183
4184 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
4185
4186         * Spacing.C: compile fix
4187
4188 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
4189
4190         * cursor.C (dispatch): restore current_ before returning
4191
4192 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
4193
4194         * text2.C (cursorUp, cursorDown): fix coords
4195         (moveUp): fix crash
4196
4197 2004-02-12  André Pönitz  <poenitz@gmx.net>
4198
4199         * lyxtext.h:
4200         * text.C:
4201         * text2.C:
4202         * text3.C: add LCursor & parameter to most cursor movement functions
4203           remove usage of LyXText::cursorRow() and cursorPar()
4204
4205         * cursor.[Ch]: add textRow() needed members
4206
4207         * BufferView.C:
4208         * BufferView_pimpl.C:
4209         * paragraph.[Ch]:
4210         * BufferView.C:
4211         * BufferView_pimpl.C: adjust
4212
4213 2004-02-11  André Pönitz  <poenitz@gmx.net>
4214
4215         * lyxfunc.C:
4216         * BufferView.[Ch]:
4217         * BufferView_pimpl.C: shift undo/redo handling
4218
4219         * cursor.[Ch]: fix mathed crash
4220
4221         * lyxfind.C:
4222         * lyxtext.h: move selectionAsText to LCursor
4223
4224         * output_latex.C:
4225         * paragraph.C:
4226         * text.C:
4227         * text2.C:
4228         * text3.C: adjust
4229
4230         * rowpainter.C: fix excessive drawing
4231
4232 2004-02-06  André Pönitz  <poenitz@gmx.net>
4233
4234         * BufferView.[Ch]:
4235         * BufferView_pimpl.[Ch]:
4236         * text3.C: move some text specific LFUN handling
4237
4238 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
4239
4240         * text3.C (checkInsetHit): adjust coords
4241         * text2.C (getColumnNearX): adjust coords
4242         (edit): adjust coords
4243         * text.C (getRowNearY): add two asserts
4244
4245 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
4246
4247         * converter.C:
4248         * format.C: add using std::distance to compile on gcc 2.95/stlport
4249
4250 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
4251
4252         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
4253
4254 2004-02-04  André Pönitz  <poenitz@gmx.net>
4255
4256         * BufferView.[Ch] (insertInset):
4257         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
4258
4259         * text2.C:
4260         * text3.C: adjust
4261
4262 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
4263
4264         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
4265         on the default clause of the switch
4266         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
4267         wasn't catched by LCursor::dispatch
4268
4269 2004-02-03  André Pönitz  <poenitz@gmx.net>
4270
4271         * BufferView.C:
4272         * cursor.[Ch]: some additional asserts
4273
4274         * undo.[Ch]: remove LyXText dependency in interface
4275
4276         * lyxfunc.C: adjust
4277
4278         * lyxtext.h (firstPar, lastPar): remove dead functions
4279
4280         * text.C:
4281         * text2.C:
4282         * text3.C:
4283         * paragraph.[Ch]: adjust
4284
4285 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
4286
4287         * lyxfind.C (find): fix argument order in call to ::find
4288
4289 2004-02-02  André Pönitz  <poenitz@gmx.net>
4290
4291         * cursor.[Ch]: remove direct access to anchor
4292
4293         * text.C: remove findText() hack
4294
4295 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
4296
4297         * iterators.[Ch] (lockPath): remove in favour of...
4298         * BufferView.[Ch] (setCursor): this addition
4299         * BufferView.C (putSelectionAt): adjust
4300         * undo.C (performUndoOrRedo): adjust
4301         * lyxfunc.C (dispatch): adjust
4302
4303 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
4304
4305         * iterators.C (lockPath): add a missing slice
4306         * undo.C (performUndoOrRedo): remove redundant positioning code
4307
4308 2004-02-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4309
4310         * vc-backend.C (scanMaster): ";" -> ';'
4311
4312 2004-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4313
4314         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
4315         std::binary_function
4316
4317         * lyxtextclass.C (compare_name): rename to...
4318         (LayoutNamesEqual): ...this
4319
4320         * lyxlex_pimpl.C (compare_tags): inherit from
4321         std::binary_function, put back into anon namespace
4322
4323         * lyxfind.C (MatchString): inherig from std::binary_function
4324         (findChange): use empty() istead of !size()
4325
4326         * format.C (FormatNamesEqual): new functor
4327         (getFormat): use it
4328         (getNumber): use it
4329         (add): use it
4330         (erase): use it
4331         (setViewer): use it
4332
4333         * converter.C (compare_Converter): rename to...
4334         (ConverterEqual): ...this, and fixup a bit.
4335         (getConverter): use it, and make function const
4336         (getNumber): use it, and make function const
4337         (add): use it
4338         (erase): use it:
4339
4340         * bufferlist.C: add using boost::bind
4341
4342         * MenuBackend.C (MenuNamesEqual): new functor
4343         (hasMenu): use it, and make function const
4344         (hasSubmenu): use nested bind to get rid of compare_memfun.
4345
4346 2004-01-30  André Pönitz  <poenitz@gmx.net>
4347
4348         * BufferView_pimpl.C:
4349         * cursor.C:
4350         * cursor.h:
4351         * cursor_slice.[Ch]:
4352         * lyxfunc.C:
4353         * lyxtext.h:
4354         * paragraph_funcs.C:
4355         * paragraph_funcs.h:
4356         * rowpainter.C:
4357         * text.C:
4358         * text2.C:
4359         * text3.C: move some of the edit(x,y) handling to the insets
4360         some coordinate changes.
4361
4362 2004-01-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4363
4364         * text.C: add using statements for std::advance and std::distance
4365
4366         * paragraph.C: add using statement for std::distance
4367
4368         * lyxfind.C: add using statement for std::advance
4369
4370         * cursor.C (region): remove std:: from swap
4371         (openable): use nucleus in stead of operator->
4372
4373         * BufferView.C: add using statements for std::distance and std::swap
4374
4375 2004-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4376
4377         * iterators.C: Remove the pimple, move the needed structures to
4378         the header file. Create accessor for the positions stack.
4379         (asPosIterator): remove function
4380
4381         * PosIterator.C (PosIterator): move constructors to top of file
4382         (PosIterator): reimplement the constructor taking a ParIterator in
4383         terms of setFrom.
4384         (setFrom): new function
4385         (operator!=): inline it
4386
4387 2004-01-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4388
4389         * lyxfind.C (replaceAll): use std::advance
4390
4391         * iterators.h: inherit from std::iterator.
4392
4393         * PosIterator.C (advance, distance): remove
4394         * PosIterator.h: interit from std::iterator.
4395
4396 2004-01-26  André Pönitz  <poenitz@gmx.net>
4397
4398         * BufferView.[Ch]:
4399         * BufferView_pimpl.[Ch]:
4400         * InsetList.[Ch]:
4401         * PosIterator.[Ch]:
4402         * buffer.h:
4403         * bufferview_funcs.C:
4404         * cursor.[Ch]:
4405         * cursor_slice.h:
4406         * factory.[Ch]:
4407         * iterators.[Ch]:
4408         * lyxfind.C:
4409         * lyxfunc.C:
4410         * lyxtext.h:
4411         * output_docbook.C:
4412         * output_latex.C:
4413         * output_linuxdoc.C:
4414         * output_plaintext.C:
4415         * paragraph.[Ch]:
4416         * paragraph_funcs.[Ch]:
4417         * paragraph_pimpl.[Ch]:
4418         * rowpainter.C:
4419         * tabular.C:
4420         * tabular.h:
4421         * text.C:
4422         * text2.C:
4423         * text3.C: more IU:  dumps most of the rest of the mathcursor
4424     implementation into cursor.[Ch]; "globalize" a bit of it.
4425
4426 2004-01-25  Angus Leeming  <leeming@lyx.org>
4427
4428         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
4429
4430 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4431
4432         * LaTeXFeatures.h: add nice_ and nice() const
4433         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
4434
4435 2004-01-20  André Pönitz  <poenitz@gmx.net>
4436
4437         * BufferView.[Ch]:
4438         * BufferView_pimpl.C:
4439         * PosIterator.C:
4440         * bufferview_funcs.C:
4441         * cursor.[Ch]:
4442         * cursor_slice.[Ch]:
4443         * factory.C:
4444         * iterators.C:
4445         * lyx_cb.C:
4446         * lyxfind.C:
4447         * lyxfunc.C:
4448         * lyxtext.h:
4449         * rowpainter.C:
4450         * text.C:
4451         * text2.C:
4452         * text3.C:
4453         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
4454           LCursor and mathcursor parts to LCursor and InsetBase.
4455
4456 2004-01-15  André Pönitz  <poenitz@gmx.net>
4457
4458         * cursor_slice.[Ch]: add a few covienience functions
4459
4460         * funcrequest.[Ch]: remove BufferView * member
4461
4462         * BufferView_pimpl.C:
4463         * cursor.C:
4464         * factory.[Ch]:
4465         * lyxfind.[Ch]:
4466         * lyxfunc.C:
4467         * lyxtext.h:
4468         * text3.C:
4469         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4470
4471 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
4472
4473         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4474         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4475
4476 2004-01-13  André Pönitz  <poenitz@gmx.net>
4477
4478         * textcursor.[Ch]:
4479         * lyxtext.h: hide cursor and selection anchor behind accessor function
4480
4481         * BufferView.C:
4482         * BufferView_pimpl.[Ch]:
4483         * PosIterator.C:
4484         * bufferview_funcs.C:
4485         * cursor.h:
4486         * lyxfind.C:
4487         * lyxfunc.C:
4488         * text.C:
4489         * text2.C:
4490         * text3.C:
4491         * undo.C: adjust
4492
4493         * cursor.h:
4494         * cursor_slice.[Ch]: some integer type changes for inset unification
4495
4496         * lyxcursor.[hC]: remove, it's CursorSlice now.
4497
4498         * Makefile.am:
4499         * BufferView_pimpl.[Ch]:
4500         * bufferview_funcs.C:
4501         * cursor_slice.C:
4502         * lyxtext.h:
4503         * text.C:
4504         * text2.C:
4505         * text3.C:
4506         * textcursor.[Ch]: adjust
4507
4508 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
4509
4510         * text2.C (undoSpan): add and use
4511         * text.C (breakParagraph): use undoSpan (fix bug 578)
4512         * lyxtext.h: adjust
4513
4514 2004-01-08  Angus Leeming  <leeming@lyx.org>
4515
4516         * BufferView_pimpl.C (MenuInsertLyXFile):
4517         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4518         * lyxfunc.C (menuNew, open, doImport):
4519         FileFilterList change to the FileDialog open and save functions.
4520
4521 2004-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4522
4523         * ShareContainer.h: make isEqual and isUnique adaptable
4524
4525         * CutAndPaste.C: make resetOwnerAndChanges adaptable
4526
4527 2004-01-07  Angus Leeming  <leeming@lyx.org>
4528
4529         * LyXAction.C:
4530         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4531
4532         * BufferView_pimpl.C (dispatch): act on these LFUNs.
4533
4534         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4535         functions replacing find, replace and replaceAll.
4536
4537         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4538         LFUN_WORDFIND(FORWARD|BACKWARD).
4539
4540 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4541
4542         * text.C (breakParagraph): remove an outdated #warning
4543
4544 2004-01-07  André Pönitz  <poenitz@gmx.net>
4545
4546         * lyxfind.C: somewhat clearer logic
4547
4548         * text.C: prevent crash in cursorX on unitialized row cache
4549
4550 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4551
4552         * lyxcursor.[Ch] (operator>): add
4553         * textcursor.C (selStart, selEnd): use std::min and std::max
4554
4555 2004-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4556
4557         * Chktex.C: include boost/format.hpp
4558
4559 2004-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4560
4561         * InsetList.C: replace functor MathcIt with adaptable functor
4562         InsetTablePosLess
4563         (insetIterator): modify accordingly
4564
4565         * BranchList.h: move the BranchNamesEqual functor here from...
4566         * BranchList.C: ... to here
4567
4568         * BranchList.C: new BranchListEqual fuctor, use it. Remove
4569         SameName and match.
4570         (add): replace a finding loop with std::find_if.
4571
4572 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
4573
4574         * output_docbook.C: moving LatexParam functionality into
4575         .layout files
4576
4577 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4578
4579         * buffer.C: increment format to 229.
4580
4581 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
4582
4583         * LaTeXFeatures.C:
4584         * lyx_sty.[Ch]: remove minipageindent_def
4585
4586         * LyXAction.C:
4587         * factory.C:
4588         * lfuns.h:
4589         * lyxfunc.C:
4590         * text3.C: remove LFUN_INSET_MINIPAGE
4591
4592 2003-12-28  Angus Leeming  <leeming@lyx.org>
4593
4594         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4595
4596 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
4597
4598         * text2.C (setParagraph): fix off-by-one crash
4599
4600 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
4601
4602         * output_docbook.C: header stuff for AGU
4603
4604 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
4605
4606         * text2.C (redoCursor): remove
4607         * text.C:
4608         * text3.C:
4609         * BufferView_pimpl.C: remove calls to redoCursor and
4610         setCursor(cursor.par(), cursor.pos()) all around
4611
4612 2003-12-15  Angus Leeming  <leeming@lyx.org>
4613
4614         * buffer.C: up the format to 228.
4615
4616 2003-12-15  André Pönitz  <poenitz@gmx.net>
4617
4618         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4619         slices
4620
4621         * Makefile.am:
4622
4623         * BufferView_pimpl.C:
4624         * cursor.[Ch]:
4625         * lyxcursor.[Ch]:
4626         * rowpainter.[Ch]:
4627         * lyxtext.h:
4628         * text.C:
4629         * text2.C:
4630         * text3.C: adjust
4631
4632 2003-12-15  Angus Leeming  <leeming@lyx.org>
4633
4634         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4635         than getFromGUIName to manipulate the color.
4636
4637 2003-12-14  Angus Leeming  <leeming@lyx.org>
4638
4639         * BranchList.[Ch]: minimize the API.
4640         (Branch::getBranch, getColor): now return a 'const &'.
4641         (Branch::setSelected) now returns a bool set to true if the
4642         selection status changes.
4643         (BranchList::clear, size, getColor, setColor, setSelected,
4644         allBranches, allSelected, separator): removed.
4645         (BranchList::find): new functions, returning the Branch with
4646         the given name.
4647         (BranchList::add, remove): return a bool indicating that
4648         the operation was successful.
4649
4650         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4651         new InsetBranch::isBranchSlected member function.
4652
4653         * LColor.[Ch]: mimimize the API.
4654         (fill): renamed as addColor and made private.
4655         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4656         versions of these functions taking a string arg have been removed.
4657
4658         * bufferparams.C (readToken):
4659         * lyxfunc.C (dispatch):
4660         * lyxrc.C (read): changes due to the altered BranchList and
4661         LColor APIs.
4662
4663         * factory.C (createInset, readInset): changes due to altered
4664         InsetBranch c-tor.
4665
4666 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4667
4668         * factory.C:
4669         * lyxfunc.C: remove insetminipage. "minipage-insert"
4670         now produces a frameless minipage box inset.
4671
4672 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4673
4674         * textcursor.[Ch] (selStart,selEnd): add new methods
4675         remove selection::start, end, use LyXCursor::operator<
4676         * lyxcursor.[Ch] (operator<): add
4677         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4678         * BufferView.[Ch] (unsetXSel): add
4679         * text2.C (clearSelection): use unsetXSel,adjust
4680         * text.C: adjust
4681         * text3.C: adjust
4682         * rowpainter.C: adjust
4683         * bufferview_funcs.C (put_selection_at): adjust
4684
4685 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4686
4687         * BufferView_pimpl.C: small coord. correction
4688
4689 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4690
4691         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4692         dragging over the splash screen.
4693
4694 2003-12-11  Angus Leeming  <leeming@lyx.org>
4695
4696         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4697         as it is now handled in LyXText::dispatch.
4698
4699         * text3.C (doInsertInset): remove a level of nesting.
4700
4701 2003-12-11  Angus Leeming  <leeming@lyx.org>
4702
4703         * factory.C (createInset): changes due to the changed interface to
4704         InsetCommandMailer::string2params.
4705
4706 2003-12-10  Angus Leeming  <leeming@lyx.org>
4707
4708         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4709         'dialog-show-new-inset <inset name>'
4710
4711 2003-12-10  Angus Leeming  <leeming@lyx.org>
4712
4713         * buffer.C: up the format to 227.
4714
4715         * factory.C: the box inset is now identified simply by 'Box'.
4716
4717 2003-12-10  Angus Leeming  <leeming@lyx.org>
4718
4719         * buffer.C: up the format to 226.
4720
4721         * factory.C: the note inset is now identified simply by 'Note'.
4722
4723 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
4724
4725         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4726         when a pit is enough. Standarize a couple of loops.
4727
4728 2003-12-05  Angus Leeming  <leeming@lyx.org>
4729
4730         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4731         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4732         data to the re-worked "log" dialog.
4733
4734 2003-12-03  André Pönitz  <poenitz@gmx.net>
4735
4736         * PosIterator.C:
4737         * iterators.C:
4738         * lyxtext.h:
4739         * output_latex.C:
4740         * paragraph_funcs.C:
4741         * text.C:
4742         * text2.C: use Inset::getText instead of Inset::getParagraph
4743
4744 2003-12-03  André Pönitz  <poenitz@gmx.net>
4745
4746         * buffer.[Ch]:
4747         * lyxtext.h:
4748         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4749         InsetText::read() as LyXText::read()
4750
4751 2003-12-02  Angus Leeming  <leeming@lyx.org>
4752
4753         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4754         type. Add a comment in the implementation that the function uses
4755         the stream's bad() function rather than fail() as the std::streams
4756         would do.
4757
4758 2003-12-02  André Pönitz  <poenitz@gmx.net>
4759
4760         * lyxlex.[Ch]: make interface more similar to std::stream
4761
4762         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4763
4764 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
4765
4766         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4767
4768 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
4769
4770         * vspace.[Ch]: remove VSpace::NONE
4771
4772 2003-12-01  André Pönitz  <poenitz@gmx.net>
4773
4774         * buffer.[Ch]:
4775         * lyxtext.h: move ParagraphList member to LyXText
4776         rename LyXText::ownerParagraphs to LyXText::paragraph
4777
4778         * CutAndPaste.C:
4779         * bufferview_funcs.C:
4780         * iterators.[Ch]:
4781         * lyx_cb.C:
4782         * paragraph.C:
4783         * rowpainter.C:
4784         * tabular.C:
4785         * text.C:
4786         * text2.C:
4787         * text3.C: adjust
4788
4789         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4790
4791         * undo.C: fix cursor positioning
4792
4793 2003-12-01  John Levon  <levon@movementarian.org>
4794
4795         * BufferView_pimpl.C: fix a crash on exit with
4796         a buffer open
4797
4798 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
4799
4800         * BranchList.C: fix setSelected() method.
4801
4802 2003-11-28  André Pönitz  <poenitz@gmx.net>
4803
4804         * ParagraphParameters.[Ch]:
4805         * ParameterStruct.h: remove space above/below from Paragraph to
4806          InsetVSpace
4807
4808         * BufferView_pimpl.C:
4809         * factory.C:
4810         * lyxfunc.C:
4811         * lyxtext.h:
4812         * output_latex.C:
4813         * paragraph.C:
4814         * paragraph_funcs.C:
4815         * rowpainter.[Ch]:
4816         * text.C:
4817         * text2.C:
4818         * text3.C: adjust
4819
4820 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
4821
4822         * factory.C: Syntax change for CharStyles
4823
4824 2003-11-28  André Pönitz  <poenitz@gmx.net>
4825
4826         * BufferView.[Ch]:
4827         * BufferView.[Ch]:
4828         * buffer.[Ch]:
4829         * buffer.[Ch]: move LyXText member
4830
4831 2003-11-28  André Pönitz  <poenitz@gmx.net>
4832
4833         * BufferView.[Ch]: make LyXText * text a private member
4834
4835         * BufferView_pimpl.C:
4836         * cursor.C:
4837         * iterators.C:
4838         * lyx_cb.C:
4839         * lyxfind.C:
4840         * lyxtext.h:
4841         * rowpainter.[Ch]:
4842         * text.C:
4843         * text2.C:
4844         * undo.C: adjust
4845
4846         * output_plaintext.C: cleanup
4847
4848 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4849
4850         * buffer.C:
4851         * lyxtextclass.[Ch]: parametrize SGML document header
4852
4853 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4854
4855         * converter.[Ch]:
4856         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4857         getFlavor().
4858
4859 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
4860
4861         * text2.C (setFont): rework using PosIterator (no more recursive)
4862         (setCharFont): no more needed
4863         (setLayout): no more selection cursors fiddling (done by redoCursor)
4864         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4865         destroy remaining ones)
4866
4867 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
4868
4869         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4870         * lyxtext.h: ditto
4871         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4872         selection cursors
4873         * lyxfunc.C: adjust
4874         * text3.C: adjust + re-allow multi par depth changes
4875         * textcursor.C: simplify a bit
4876
4877 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
4878
4879         * src/buffer.C:
4880         * src/lyxlayout.C:
4881         * src/lyxlayout.h:
4882         * src/lyxtext.h:
4883         * src/output_docbook.C:
4884         * src/output_latex.C:
4885         * src/paragraph.C:
4886         * src/paragraph.h:
4887         * src/sgml.C:
4888         * src/sgml.h:
4889         * src/text2.C: Introducing a number of tags parametrizing various
4890         XML formats that we may want to support
4891
4892 2003-11-25  André Pönitz  <poenitz@gmx.net>
4893
4894         * InsetList.[Ch] (begein, end): inline as suggested by profiler
4895
4896         * lyxtext.h (leftMargin/rightMargin): simplify interface
4897
4898         * rowpainter.C:
4899         * text.C:
4900         * text2.C:
4901         * text3.C: adjust
4902
4903 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4904
4905         * lyxfunc.C (dispatch): propogate the bibtex databases from the
4906         master file to any child files. Fixes bug 546.
4907
4908 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4909
4910         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4911
4912 2003-11-24  André Pönitz  <poenitz@gmx.net>
4913
4914         * rowpainter.C: simplification
4915
4916         * text2.C (updateCounters): remove call to redoParagraph on
4917         changed labels as this is far too expensive.
4918
4919 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4920
4921         * converter.C (convert): fix a crash: this function gets
4922         called with buffer == 0 from importer code.
4923
4924 2003-11-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4925
4926         * text3.C (cursorPrevious): make sure that we do not compare
4927         iterators form different containers.
4928         (cursorNext): ditto
4929
4930         * rowpainter.C (paintSelection): make sure that we do not compare
4931         iterators from different containers.
4932
4933         * text3.C (dispatch): [PRIOR] make sure that we do not compare
4934         iterators from different ParagraphList containers.
4935         [NEXT] ditto
4936
4937         * text2.C (LyXText): change order of initialization slightly
4938         (operator=): new function. copy all variables except cache_par_
4939         (moveUp): make sure that we do not compare iterators from
4940         different ParagraphList constainers.
4941         (moveDown): ditto
4942
4943         * text.C (firstPar): new function
4944         (lastPar): new function
4945         (endPar): new function
4946
4947         * lyxtext.h: move things around and group public functions, public
4948         variables, private functions, private variables
4949
4950 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
4951
4952         * factory.C: change call to InsetERT constructor to avoid
4953         additional invocation of method status
4954         * text2.C (toggleInset): remove redundant update() call
4955         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4956         instead of a Bufferview pointer
4957
4958 2003-11-21  André Pönitz  <poenitz@gmx.net>
4959
4960         * rowpainter.C: simplification
4961
4962 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4963
4964         * text3.C (dispatch): make possible to extend a word/row selection
4965         with the mouse
4966
4967 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4968
4969         * lyxtext.h: x0_,y0_ -> xo_,yo_
4970         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4971         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4972         * rowpainter.C (paintRows): paint full paragraphs
4973
4974 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4975
4976         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4977         screen coordinates)
4978
4979 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4980
4981         * lyxtext.h: add x0_, y0_
4982         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4983         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4984
4985 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
4986
4987         * text2.C (setCursorIntern): move the x_target update here *
4988         * text3.C: change some bv() to true/false in calls to
4989         cursorUp/Down/Right/Left
4990         * cursor.C: use helper function.
4991
4992 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4993
4994         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4995         * paragraph_funcs.[Ch]: correct comment
4996         * rowpainter.C: do not paint selections away from bv->cursor()
4997         Fix a long standing selection painting bug.
4998         * text3.C: generalize mouse-selection code to LyXTexts other that
4999         top one
5000         * textcursor.C: do not use y coords if we can use par offsets
5001
5002 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
5003
5004         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
5005         cursor position after e.g. inset insert)
5006
5007 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
5008
5009         * lyxfind.C (replace): adjust to locking removal + some
5010         code simplification
5011
5012 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
5013
5014         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
5015         of the path
5016
5017 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
5018
5019         * lyxlayout.[Ch]:
5020         * output_docbook.C: XML sanitation: new layout
5021         parameters InnerTag and CommandDepth
5022
5023 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
5024
5025         * BufferView_pimpl.C:
5026         * factory.C:
5027         * text3.C: Fix the insertion and modification of button-style
5028         insets
5029
5030 2003-11-13  André Pönitz  <poenitz@gmx.net>
5031
5032         * InsetList.[Ch]: remove deleteLyXText
5033
5034         * paragraph.[Ch]: cache beginOfBody position
5035
5036         * Bidi.C:
5037         * text.C:
5038         * text2.C:
5039         * text3.C: remove superfluous update() calls
5040
5041         * vspace.C: cleanup
5042
5043 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
5044
5045         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
5046         * BufferView.C (fitLockedInsetCursor): remove
5047         * cursor.[Ch] (getDim): add
5048         * text.C (getRowNearY): add faster version
5049         * text3.C: remove some update calls
5050
5051 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
5052
5053         * LaTeXFeatures.C:
5054         * LyXAction.C:
5055         * MenuBackend.C:
5056         * MenuBackend.h:
5057         * dispatchresult.h:
5058         * factory.C:
5059         * lfuns.h:
5060         * lyxfunc.C:
5061         * lyxtextclass.C:
5062         * lyxtextclass.h:
5063         * text3.C: The Character Style /XML short element patch.
5064
5065 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
5066
5067         * text3.C:
5068         * factory.C: Small step to solving 'unable to insert some insets'
5069         problem
5070
5071 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
5072
5073         * cursor.[Ch] (updatePos): new function for updating the y
5074         position of the tip inset
5075         * bufferview_funcs.C (put_selection_at):
5076         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
5077
5078 2003-11-11  André Pönitz  <poenitz@gmx.net>
5079
5080         * text.C: remove big comment on invalid Paragraph pointers as it is
5081         not valid anymore
5082
5083 2003-11-11  André Pönitz  <poenitz@gmx.net>
5084
5085         * text_funcs.[Ch]: merge with ...
5086
5087         * text.C: ... this
5088
5089         * lyxtext.h:
5090         * text2.C:
5091         * text3.C: adjust
5092
5093         * Makefile.am: remove text_funcs.[Ch]
5094
5095 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
5096
5097         * cursor.C (getPos): return absolute cached y coord
5098
5099         * BufferView_pimpl.C (fitCursor): new simplistic code
5100         (workAreaDispatch): add a fitCursor call
5101
5102 2003-11-10  André Pönitz  <poenitz@gmx.net>
5103
5104         * BufferView.[Ch]:
5105         * BufferView_pimpl.[Ch]: merge update() and updateInset()
5106
5107 2003-11-10  André Pönitz  <poenitz@gmx.net>
5108
5109         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
5110         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
5111         indicate that the cursor needs to leave an inset
5112
5113         * lyxtext.h: remove inset locking
5114
5115         * cursor.[Ch]: re-implement functionality provided by inset locking
5116
5117         * BufferView.[Ch]:
5118         * BufferView_pimpl.[Ch]:
5119         * LyXAction.C:
5120         * bufferview_funcs.[Ch]:
5121         * factory.C:
5122         * funcrequest.[Ch]:
5123         * iterators.C:
5124         * lyx_cb.C:
5125         * lyxfind.C:
5126         * lyxfunc.C:
5127         * text.C:
5128         * text2.C:
5129         * text3.C:
5130         * undo.C: adjust
5131
5132 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
5133
5134         * PosIterator.[Ch]: replace the stack with a vector, add inset
5135         accesor
5136         * iterators.[C]: adjust
5137
5138 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
5139
5140         * lyxfind.C (replaceAll): mark the buffer dirty if something was
5141         replaced
5142         * paragraph_funcs.C (readParToken): put the correct id in the
5143         error item, not the id of the top paragraph
5144
5145 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
5146
5147         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
5148         * bufferview_funcs.C (put_selection_at): use the above
5149
5150 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
5151
5152         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
5153
5154 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5155
5156         * output_linuxdoc.h:
5157         * output_plaintext.h:
5158         * output.h:
5159         * output_docbook.h: add #include statements
5160
5161 2003-11-05  José Matos  <jamatos@lyx.org>
5162
5163         * output_docbook.[Ch]:
5164         * output_latex.[Ch]:
5165         * output_linuxdoc.[Ch]:
5166         * output_plaintext.[Ch]: New files for output formats.
5167         * output.[Ch]: New file for helper functions.
5168
5169         * buffer.[Ch]:
5170         * paragraph_funcs.[Ch]: output functions moved to new files.
5171
5172         * outputparams.h: rename of latexrunparams.h
5173
5174         * LaTeX.[Ch]:
5175         * buffer.[Ch]:
5176         * bufferlist.[Ch]:
5177         * converter.[Ch]:
5178         * exporter.C:
5179         * paragraph.[Ch]:
5180         * paragraph_funcs.[Ch]:
5181         * paragraph_pimpl.[Ch]:
5182         * tabular.[Ch]: rename ascii to plaintext
5183         and LatexRunParams to OutputParams.
5184
5185 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
5186
5187         * iterators.[Ch] (text): require bv argument
5188         * undo.C (recordUndo):
5189         * lyxfunc.C (dispatch):
5190         * bufferview_funcs.C (put_selection_at): adjust
5191
5192 2003-11-05  Jo� Luis M. Assirati  <assirati@fma.if.usp.br>
5193
5194         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
5195
5196 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
5197
5198         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
5199         nestings
5200
5201 2003-11-04  André Pönitz  <poenitz@gmx.net>
5202
5203         * cursor.[Ch]: restructure
5204
5205         * BufferView.[Ch]:
5206         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
5207
5208         * iterators.[Ch] (asCursor): remove
5209
5210         * lfuns.h: remove LFUN_INSET_EDIT
5211
5212         * lyxfunc.C:
5213         * tabular.C:
5214         * text.C:
5215         * text2.C:
5216         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
5217
5218 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5219
5220         * lyxfind.[Ch]: complete overhaul
5221         * BufferView_pimpl.C:
5222         * lyxfunc.C: adjust
5223         * paragraph.[Ch] (insert): add
5224
5225 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5226
5227         * BufferView.[Ch]:
5228         * lyxtext.h:
5229         * text.C: remove dead spellcheck code
5230
5231 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5232
5233         * dispatchresult.h: add a val setter
5234
5235         * cursor.C (dispatch): use a tempvar for data_[i]
5236
5237 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5238
5239         * PosIterator.[Ch]: compile fix
5240
5241 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5242
5243         * text.C (cursorPar): deactivate the cursor cache
5244
5245 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
5246
5247         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
5248
5249 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5250
5251         * text3.C (dispatch): adjust for new DisptchResult semantics.
5252
5253         * lyxfunc.C (dispatch): handle update when return from
5254         Cursor::dispatch, adjust for new DispatchResult semantics.
5255
5256         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
5257         DispatchResult(true) mean to not update. Add class functions for
5258         setting dispatched and update, as well as reading.
5259
5260         * cursor.C (dispatch): don't handle update here
5261
5262 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5263
5264         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
5265         * trans_mgr.C: adjust
5266
5267         * paragraph_funcs.C (readParToken): exception safety
5268
5269         * lyxvc.h: store the vcs pointer in a scoped_ptr
5270         * lyxvc.C: adjust
5271
5272         * lyxsocket.C (serverCallback): exception safety
5273
5274         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
5275
5276         * ispell.C (clone): make it return a auto_ptr
5277
5278         * factory.C (createInset): exception safety
5279         (readInset): exception safety
5280
5281         * bufferlist.C (newBuffer): exception safety
5282
5283         * Thesaurus.C (Thesaurus): use initialization for aik_
5284
5285         * MenuBackend.C (expandToc): exception safety.
5286
5287 2003-11-03  André Pönitz  <poenitz@gmx.net>
5288
5289         * buffer.C:
5290         * buffer.h:
5291         * bufferview_funcs.C: remove getInsetFromId()
5292
5293         * lyxcursor.[Ch]:
5294         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
5295
5296         * lyxfunc.C:
5297         * text2.C:
5298         * text3.C: adjust
5299
5300 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
5301
5302         * PosIterator.C (distance, advance): new
5303         * bufferview_funcs.[Ch] (put_selection_at): new
5304         * iterators.[Ch] (lockPath): new
5305
5306 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
5307
5308         * iterators.[Ch] (asPosIterator): added
5309         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
5310         * PosIterator.[Ch]: added
5311
5312 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5313
5314         * text3.C:
5315         * lyxfunc.C:
5316         * cursor.C (dispatch):
5317         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
5318
5319         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
5320         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
5321         contructor, add a class function dispatched. Remove operator>=
5322
5323 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5324
5325         * debug.C: only use the default constructor for debugstream
5326         (lyxerr) here.
5327
5328         * main.C (main): include debug.h and setup the lyxerr streambuf
5329         here.
5330
5331 2003-10-31  José Matos  <jamatos@lyx.org>
5332
5333         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
5334
5335         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
5336         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
5337         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5338         * paragraph_pimpl.C (simpleTeXSpecialC):
5339         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
5340         add LatexRunParams argument.
5341
5342         * exporter.C (Export): change call accordingly.
5343
5344         * latexrunparams.h: add new member to take care of the other backends.
5345 2003-10-30  José Matos  <jamatos@lyx.org>
5346
5347         * buffer.C (makeLinuxDocFile, makeDocBookFile):
5348         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5349         factorise code for paragraph output.
5350         * buffer.[Ch]:
5351         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
5352         move functions.
5353
5354 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5355
5356         * text3.C (dispatch):
5357         * lyxfunc.C (dispatch):
5358         * cursor.C (dispatch):
5359         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
5360
5361         * dispatchresult.h: make the dispatch_result_t ctor explicit
5362
5363 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
5364
5365         * sgml.[Ch]:
5366         * buffer.C: small refactoring of docbook stuff
5367
5368 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5369
5370         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
5371         meaning.
5372
5373 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5374
5375         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
5376         operator dispatch_result_t, and operators for == != and >=
5377
5378         * cursor.C (dispatch): adjust for operator dispatch_result_t
5379         removal. comment out call to update
5380
5381         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
5382
5383 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5384
5385         * text3.C:
5386         * text2.C:
5387         * text.C:
5388         * lyxtext.h:
5389         * lyxfunc.C:
5390         * cursor.C:
5391         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
5392         (dispatch):
5393
5394         * dispatchresult.h: new file, DispatchResult broken out of
5395         insets/insetbase.h
5396
5397         * Makefile.am (lyx_SOURCES): add dispatchresult.h
5398
5399 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
5400
5401         * text.C (rowBreakPoint): put a hack inside #if 0
5402
5403 2003-10-28  André Pönitz  <poenitz@gmx.net>
5404
5405         * lyxtext.h:
5406         * metricsinfo.C:
5407         * paragraph_funcs.C:
5408         * rowpainter.C:
5409         * text.C:
5410         * text2.C: general cleanup (lots of small stuff)
5411
5412 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
5413
5414         * text2.C (cursorEnd): simple fix to the "end key goes to one
5415         before the end on last row" bug
5416
5417 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5418
5419         * text.C (backspace): fix the "zombie characters"
5420
5421 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5422
5423         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
5424
5425 2003-10-27  André Pönitz  <poenitz@gmx.net>
5426
5427         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
5428
5429         * factory.C: handle new InsetPagebreak, InsetLine
5430
5431         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
5432         and move handling into new InsetPagebreak, InsetLine
5433
5434         * BufferView_pimpl.C:
5435         * LyXAction.C:
5436         * ParagraphParameters.C:
5437         * ParameterStruct.h:
5438         * lyxfunc.C:
5439         * lyxtext.h:
5440         * paragraph.C:
5441         * paragraph.h:
5442         * paragraph_funcs.C:
5443         * paragraph_pimpl.C:
5444         * rowpainter.C:
5445         * text.C:
5446         * text2.C:
5447         * text3.C: adjust
5448
5449 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5450
5451         * text.C:
5452         * lyxrow_funcs.[Ch]:
5453         * Bidi.C:
5454         * paragraph.C:
5455         * lyxtext.h:
5456         * rowpainter.C:
5457         * text2.C:
5458         * text3.C: remove lastPos uses in favour of Row::endpos
5459
5460 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5461
5462         * undo.C (performUndoOrRedo): fix two crashes by setting a
5463         cursor by hand and reordering some calls. Use bv->lockInset instead
5464         of inset->edit because the latter loses cursor information
5465
5466 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
5467
5468         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5469         by Martin
5470         (rowBreakPoint): fix width. change point to point + 1.
5471         Add a missing check.
5472
5473 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
5474
5475         * MenuBackend.C:
5476         * lyxfunc.C: fix (at least partly) the problems
5477         with the Nav menu and headers inside branch insets
5478         reported by Kayvan
5479
5480 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
5481
5482         * paragraph.C (getChar): add strong asserts
5483
5484         * lyxrow_funcs.C (lastPos): remove hideous hack
5485
5486         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5487         (fill): adjust to that (avoid an infinite loop)
5488
5489 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5490
5491         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5492
5493 2003-10-23  André Pönitz  <poenitz@gmx.net>
5494
5495         * RowList_fwd.h: change list<> to vector<> to gain speed
5496         after suggestion from Alfredo
5497
5498 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5499
5500         * lyxtext.h: move the bidi stuff from here...
5501         * text.C: and here
5502         * text2.C: and here
5503         * Bidi.[Ch]: ... to here
5504
5505 2003-10-23  André Pönitz  <poenitz@gmx.net>
5506
5507         * lyxtext.h:
5508         * text.C (isLastRow, isFirstRow): new functions
5509
5510         * paragraph.h: new width cache member
5511
5512         * rowpainter.C: replace RowList::iterator with Row & where possible
5513
5514         * lyxfunc.C: replace several view()->text with a single call
5515
5516         * toc.C: fix 'unused' warning
5517
5518 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5519
5520         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5521         when woring with stream::pos_type
5522         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5523
5524 2003-10-22  André Pönitz  <poenitz@gmx.net>
5525
5526         * lyxtext.h:
5527         * text.C: use Row & instead of RowList::iterator
5528
5529         * lyxrow.h: rename end() to endpos()
5530
5531         * rowpainter.C:
5532         * text.C:
5533         * text2.C: adjust
5534
5535 2003-10-22  Angus Leeming  <leeming@lyx.org>
5536
5537         * buffer.[Ch] (fully_loaded): new member function, returning true
5538         only when the file has been loaded fully.
5539         Used to prevent the premature generation of previews and by the
5540         citation inset to prevent computation of the natbib-style label.
5541
5542         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5543         templates are all set up.
5544
5545         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5546
5547 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
5548
5549         * text.C: fixed an "oops" in the "is a bit silly"
5550         bug fix
5551
5552 2003-10-21  André Pönitz  <poenitz@gmx.net>
5553
5554         * FuncStatus.[Ch]: small stuff, whitespace
5555
5556         * lyxfont.[Ch]: operator<<() for debug reasons
5557
5558         * lyxfunc.C:
5559         * lyxrow_funcs.C:
5560         * lyxtext.h: whitespace, spelling
5561
5562         * paragraph.C: naming of variables
5563
5564         * text.C:
5565         * text2.C: small stuff
5566
5567
5568 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
5569
5570         * text.C: (1) finish off the inset display() work;
5571         (2) fix the "is a bit silly" bug (accessing char
5572         past end of par).
5573
5574 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
5575
5576         * text.C: re-introduce display() for insets, fixing the
5577         various bugs (stretch of line above, math inset
5578         positioning, ...)
5579
5580 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5581
5582         * text.C (rightMargin): remove spurious semicolon
5583
5584         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5585         1415)
5586
5587 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
5588
5589         * text3.C: fix one crash due to wrong cursor def
5590
5591 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5592
5593         * vc-backend.C (scanMaster): make the regex static
5594
5595         * LaTeX.C (scanAuxFile): make the regexs static
5596
5597         * text3.C (doInsertInset, dispatch, dispatch):
5598         * text2.C (cursorUp, cursorDown):
5599         * text.C (selectNextWordToSpellcheck):
5600         * BufferView_pimpl.C (dispatch):
5601         * lyxfunc.C (dispatch):  localDispatch -> dispatch
5602
5603 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5604
5605         * lyxsocket.C: include <cerrno>
5606
5607 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5608
5609         * lyxfunc.C (dispatch): remove textcache stuff
5610
5611         * bufferlist.C (release): remove textcache stuff
5612         (closeAll): ditto
5613
5614         * TextCache.C: delete file
5615         * TextCache.h: delete file
5616
5617         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5618
5619         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5620         delete of the bv_->text.
5621         (resizeCurrentBuffer): remove texcache stuff
5622         (workAreaResize): ditto
5623
5624 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5625
5626         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5627         action.
5628
5629 2003-10-16  André Pönitz  <poenitz@gmx.net>
5630
5631         * lyxrow.[Ch]:
5632         * paragraph.h:
5633         * rowpainter.C:
5634         * text.C:
5635         * text2.C:
5636         * text3.C: speed up by storing y positions per paragraph plus per-row
5637         offset instead of having a 'full' y position in the row.
5638
5639 2003-10-15  André Pönitz  <poenitz@gmx.net>
5640
5641         * iterators.[Ch]:
5642         * iterators.[Ch]:
5643         * undo.[Ch]: make undo aware of inner insets
5644
5645 2003-10-14  Angus Leeming  <leeming@lyx.org>
5646
5647         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5648         static member functions LyX::ref() and LyX::cref.
5649         (lastfiles): new accessor functions for the new lastfiles_ member var.
5650         (addLyXView, views_): add a new LyXView to the list of views_.
5651         (updateInset): loop over all LyXViews to call their own updateInset
5652         member function, returning a pointer to the Buffer owning the inset.
5653
5654         * BufferView_pimpl.C (loadLyXFile):
5655         * MenuBackend.C (expandLastfiles):
5656         * bufferlist.C (MenuWrite, QuitLyX):
5657         lastfiles is no longer a global variable.
5658         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5659
5660         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5661         static function. Access through LyX::cref().emergencyCleanup().
5662
5663 2003-10-14  André Pönitz  <poenitz@gmx.net>
5664
5665         * iterators.[Ch]: new direct access to innermost LyXText and Inset
5666
5667         * undo.[Ch]: restoring part of 'undo in insets'
5668
5669         * Makefile.am:
5670         * undo_funcs.[Ch]: merge with undo.[Ch]
5671
5672         * tabular.C: small cleansing stuff
5673
5674 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
5675
5676         * paragraph_funcs.C (readParToken): report unknown insets as error
5677         boxes. Use the outer paragraph as location (also for unknown
5678         tokens).
5679
5680         * factory.C (readInset): do not abort on reading an unknown inset.
5681         Eat it and return 0.
5682
5683 2003-10-13  Angus Leeming  <leeming@lyx.org>
5684
5685         * lyx_main.C (LyX): remove call to setDisplayTranslator().
5686
5687         * lyxrc.C: displayTranslator is now a function,
5688         declared in GraphicsTypes.h.
5689
5690 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5691
5692         * format.C: new placeholder $$a to pass the socket address.
5693
5694         * bufferlist.[Ch]: new function getBufferFromTmp.
5695
5696         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5697           files in the temporary dir.
5698
5699 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5700
5701         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5702
5703         * Makefile.am: add lyxsocket.[Ch].
5704
5705         * lyx_main.C (error_handler): handle SIGPIPE.
5706
5707 2003-10-13  André Pönitz  <poenitz@gmx.net>
5708
5709         * BufferView_pimpl.C:
5710         * lyxtext.h:
5711         * text.C:
5712         * text2.C:
5713         * text3.C:
5714         * undo_funcs.[Ch]: use paroffset_type instead of
5715           ParagraphList::iterators to prevent multiple conversion
5716           (and get a more robust interface)
5717
5718 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5719
5720         * lyxfunc.C (dispatch): RESULT -> dispatch_result
5721         * lyxtext.h: ditto
5722         * text3.C (dispatch): ditto
5723
5724 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5725
5726         * LaTeX.C (handleFoundFile): move the static to smaller scope,
5727         move the onlyfile, use onlyfile instead of foundfile in a couple
5728         of places.
5729
5730         * DepTable.C (update): flush the error stream a bit more
5731
5732 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5733
5734         * lyxserver.C (callback): adjust
5735
5736         * lyxfunc.C (getStatus): add a missing brace in commented code
5737         (ensureBufferClean): reindent
5738         (dispatch): delete version taking a string
5739
5740 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5741
5742         * LaTeX.C (deplog): move found file handlig from here...
5743         (handleFoundFile): .. to new function here.
5744         (deplog): make sure to discover several files mentioned on the
5745         same log line.
5746
5747 2003-10-10  André Pönitz  <poenitz@gmx.net>
5748
5749         * lyxfunc.C:
5750         * lyxtext.h:
5751         * tabular.C:
5752         * text.C:
5753         * text2.C:
5754         * text3.C: fix some of the tabular crashes
5755
5756 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5757
5758         * MenuBackend.C (binding): put debug message into Debug::KBMAP
5759
5760         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5761
5762 2003-10-09  André Pönitz  <poenitz@gmx.net>
5763
5764         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5765
5766         * BufferView.C:
5767         * BufferView_pimpl.C:
5768         * bufferview_funcs.C:
5769         * lyx_cb.C:
5770         * lyxcursor.C:
5771         * lyxfind.C:
5772         * lyxfunc.C:
5773         * lyxtext.h:
5774         * text.C:
5775         * text2.C:
5776         * text3.C:
5777         * text_funcs.[Ch]:
5778         * textcursor.[Ch]:
5779         * undo_funcs.C: adjust
5780
5781 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5782
5783         * text2.C (incrementItemDepth): new function, use a backtracking
5784         algorithm to discover the correct item depth.
5785         (resetEnumCounterIfNeeded): new function, use a backtracking
5786         algorithm to discover if counter reset is needed.
5787         (setCounter): use them. Simplify a bit. Add different labels for
5788         different item depths for itemize.
5789
5790         * paragraph.C (Paragraph): remove initialization of enumdepth
5791         (operator=): ditto
5792
5793         * paragraph.h: get rid of enumdepth, and use itemdepth both for
5794         enumerate and itemize. Change the type of itemdepth to signed char.
5795
5796 2003-10-08  André Pönitz  <poenitz@gmx.net>
5797
5798         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5799           thing assignable.
5800         * text.C:
5801         * text2.C: adjust
5802
5803         * tabular.[Ch]: fix crash after 'row-insert'
5804
5805 2003-10-08  Angus Leeming  <leeming@lyx.org>
5806
5807         Fix doxygen warnings.
5808
5809         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5810         Remove CutAndPaste:: prefix from header file declaration.
5811
5812         * LColor.h (fill): remove LColor:: prefix from declaration.
5813
5814         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5815         use lyx::depth_type rather than Paragraph::depth_type so that
5816         header file and .C file match.
5817
5818         * converter.h (intToFormat): remove Converters:: prefix from declaration.
5819
5820         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5821         * aspell.C: \file aspell_local.C -> \file aspell.C
5822         * gettext.C: \file gettext.C -> \file src/gettext.C
5823         * gettext.h: \file gettext.h -> \file src/gettext.h
5824         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5825         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5826         * text.C: \file text.C -> \file src/text.C
5827
5828         * toc.C: move comment so that doxygen is not confused.
5829
5830 2003-10-07  Angus Leeming  <leeming@lyx.org>
5831
5832         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5833
5834 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5835
5836         * aspell.C:
5837         * aspell_local.h: add forgotten std::string's.
5838
5839 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5840
5841         * LaTeXFeatures.C:
5842         * LyXAction.C:
5843         * factory.C:
5844         * lfuns.h:
5845         * lyxfunc.C:
5846         * text3.C: The Box patch. Fancybox support, minipage, parbox
5847
5848 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5849
5850         * CutAndPaste.h:
5851         * DepTable.h:
5852         * FloatList.h:
5853         * LaTeXFeatures.h:
5854         * ParagraphParameters.h:
5855         * TextCache.h:
5856         * Thesaurus.h:
5857         * bufferlist.h:
5858         * exporter.h:
5859         * importer.h:
5860         * lastfiles.h:
5861         * lyxfind.h:
5862         * lyxfont.h:
5863         * lyxlex.h:
5864         * lyxtextclasslist.h:
5865         * messages.h:
5866         * paragraph.h:
5867         * paragraph_pimpl.C:
5868         * textcursor.h: add <string> and other small fixes to make Lars'
5869         std::string patch compile with STLport.
5870
5871 2003-10-06  Angus Leeming  <leeming@lyx.org>
5872
5873         * LColor.h: Add missing #include <string>.
5874
5875 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5876
5877         * All most all file in all subdirs: Make <string> be the prefered
5878         way of getting to std::string, add using declarations.
5879
5880 2003-10-06  André Pönitz  <poenitz@gmx.net>
5881
5882         * metricsinfo.C: initialize LyXFont before changing attribute.
5883         (fixes the 'math in \emph is upright' bug)
5884
5885 2003-10-06  André Pönitz  <poenitz@gmx.net>
5886
5887         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5888
5889 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
5890
5891         * graph.C:
5892         * paragraph_pimpl.C: Small fixes to build using STLport
5893
5894 2003-10-02  André Pönitz  <poenitz@gmx.net>
5895
5896         * lyxfunc.C:
5897         * text3.C: move handling of LFUN_DEPTH *; fix #1360
5898
5899 2003-10-01  André Pönitz  <poenitz@gmx.net>
5900
5901         * factory.C: assert early
5902
5903 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5904
5905         * lyx_main.C: remove the global debug object
5906
5907         * debug.h: adjust for new debugstream
5908
5909         * debug.C: adjust for new debugstream and keep the global debug
5910         object here.
5911
5912 2003-09-22  Angus Leeming  <leeming@lyx.org>
5913
5914         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5915         of g++ which otherwise complain that the scoped_ptr destructor can't delete
5916         an incomplete class LyXFont.
5917
5918 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
5919
5920         * factory.C: bug fix in branches
5921
5922 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5923
5924         * lyxfunc.C (processKeySym): adjust
5925         (dispatch): adjust
5926         (dispatch): change arg name from ev to func, adjust
5927         (sendDispatchMessage): ditto
5928
5929         * lyx_main.C (defaultKeyBindings): adjust keybindings
5930         (deadKeyBindings): ditto
5931
5932         * kbsequence.C (addkey): return a FuncRequest
5933
5934         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5935
5936         * kbmap.C (bind): take a FuncRequest as arg, adjust
5937         (read): adjust
5938         (lookup): adjust
5939         (defkey): change to take a FuncRequest as arg, adjust
5940         (findbinding): take a FuncRequest as arg, adjust.
5941
5942         * funcrequest.h (operator=): added
5943
5944         * funcrequest.C (FuncRequest): default kb_action changed from
5945         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5946
5947         * buffer.C (dispatch): simplify
5948         (dispatch): adjust to take a FuncRequest as arg, adjust
5949
5950         * boost.C (assertion_failed): change assertion message slightly
5951
5952         * ToolbarBackend.C (read): simplify
5953
5954         * MenuBackend.C (binding): adjust call to findbinding, add a
5955         message if no binding is found.
5956         (read): simplify
5957         (expandToc): correct by adding a empty FuncRequest
5958
5959         * LyXAction.C: include <boost/assert.hpp>
5960         (isPseudoAction): delete function
5961         (LookupFunc): change name to...
5962         (lookupFunc): this. change return type to FuncRequest.
5963         (getActionName): take kb_action as arg, simplify
5964         (funcHasFlag): add an assert, simplify.
5965
5966 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5967
5968         * toc.C (action): return a FuncRequest, simplify
5969
5970         * lyxfunc.C (processKeySym): adjust
5971         (getStatus): delete version that takes an int.
5972         (getStatus): adjust
5973         (dispatch): delete version that takes action as int
5974         (dispatch): adjust
5975         (sendDispatchMessage): simplify and adjust
5976
5977         * funcrequest.C (getArg): take unsigned int as arg
5978
5979         * ToolbarBackend.C (read): adjust
5980         (add): delete version that takes func as a string.
5981         (getIton): take a FuncRequest as arg
5982
5983         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5984         action.
5985
5986         * MenuBackend.C (MenuItem): add a new construct that only takes a
5987         Kind, simplify the constructor use for submenus.
5988         (add): adjust
5989         (expandLastfiles): adjust
5990         (expandDocuments): adjust
5991         (expandFormats): adjust
5992         (expandFloatListInsert): adjust
5993         (expandFloatInsert): adjust
5994         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5995
5996         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5997         Remove class variables lyx_pseudo_map and lyx_arg_map
5998
5999         * LyXAction.C (searchActionArg): delete function
6000         (getPseudoAction): delete function
6001         (retrieveActionArg): delete function
6002         (LookupFunc): make it return kb_action, simplify.
6003         (getActionName): simplify
6004
6005         * factory.C (createInset): fix new bug
6006
6007 2003-09-19  Angus Leeming  <leeming@lyx.org>
6008
6009         * CutAndPaste.C (pasteSelection): remove fudge used to set the
6010         masterFilename_ parameter in the include inset.
6011
6012         * factory.C (createInset): changes due to the changes to InsetInclude.
6013
6014 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6015
6016         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
6017
6018 2003-09-18  Angus Leeming  <leeming@lyx.org>
6019
6020         * buffer.C:
6021         * BufferView.C: pass the buffer when calling Inset::getLabelList,
6022         Inset::fillWithBibKeys.
6023         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
6024
6025 2003-09-18  Angus Leeming  <leeming@lyx.org>
6026
6027         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
6028         variables.
6029         (ctor): pass and store a 'Buffer const &'
6030         (buffer): new member function.
6031
6032         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
6033         '*this' to the LaTeXFeatures ctor.
6034
6035 2003-09-18  Angus Leeming  <leeming@lyx.org>
6036
6037         * LColor.h:
6038         * lyxfont.C:
6039         * lyxfont.h:
6040         * lyxtext.h:
6041         * text.C: rename EnumLColor as LColor_color.
6042
6043 2003-09-18  Angus Leeming  <leeming@lyx.org>
6044
6045         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
6046         remove #include "insets/insetbase.h" from cursor.h.
6047
6048 2003-09-18  Angus Leeming  <leeming@lyx.org>
6049
6050         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
6051         InsetOld_code to remove #include "inset.h".
6052
6053         * iterators.C: add #include "insets/inset.h"
6054
6055 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
6056
6057         * BufferView.C: remove more locking stuff that apparently doesn't
6058         do anything sensible.
6059
6060 2003-09-16  André Pönitz  <poenitz@gmx.net>
6061
6062         * paragraph.[Ch]:
6063         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
6064           performance boost.
6065
6066 2003-09-16  Angus Leeming  <leeming@lyx.org>
6067
6068         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
6069
6070         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
6071         arg/return type.
6072
6073         * paragraph.h: remove #include "lyxfont.h". Forward declare
6074         LyXFont_size.
6075
6076 2003-09-16  Angus Leeming  <leeming@lyx.org>
6077
6078         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
6079         of support/textutils.h.
6080         (isWord): move the contents of support/textutils.h's IsWordChar here.
6081
6082         * buffer.C:
6083         * lyxfind.C:
6084         * rowpainter.C:
6085         * text.C:
6086         * text2.C: add #include "paragraph.h".
6087
6088         * rowpainter.C:
6089         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
6090
6091 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6092
6093         * main.C:
6094         * lyx_main.C:
6095         * lyx_cb.C:
6096         * buffer.C:
6097         * LaTeX.C: use namespace alias for lyx::support::os
6098
6099 2003-09-16  Angus Leeming  <leeming@lyx.org>
6100
6101         * bufferparams.C:
6102         * bufferview_funcs.C:
6103         * factory.C:
6104         * lyxfunc.C:
6105         * paragraph_pimpl.C:
6106         * rowpainter.C:
6107         * text.C: add #include "LColor.h".
6108
6109 2003-09-16  Angus Leeming  <leeming@lyx.org>
6110
6111         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
6112         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
6113         return LyXFont &.
6114         Store the FontBits::color variable as an int rather than as an
6115         LColor::colorso that we can move LColor.h out of the lyxfont.h header
6116         file.
6117
6118         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
6119         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
6120         string calls together.
6121
6122         * lyxrc.C: add #include "LColor.h".
6123
6124 2003-09-15  Angus Leeming  <leeming@lyx.org>
6125
6126         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
6127         a cow_ptr.
6128
6129 2003-09-15  Angus Leeming  <leeming@lyx.org>
6130
6131         * LColor.h: add an EnumLColor wrapper for LColor::color.
6132
6133         * lyxfont.[Ch] (color, setColor, realColor):
6134         * lyxtext.h, text.C (backgroundColor):
6135         pass EnumLColor args to/from the functions, rather than LColor::color
6136         ones.
6137
6138         * lyxfont.h:
6139         * lyxtext.h: forward declare EnumLColor.
6140
6141         * lyx_main.C: add #include "LColor.h".
6142
6143 2003-09-15  Angus Leeming  <leeming@lyx.org>
6144
6145         * .cvsignore: add lyx-gtk.
6146
6147 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6148
6149         * Chktex.C
6150         * LaTeX.C
6151         * LaTeXFeatures.C
6152         * ParagraphParameters.C
6153         * Spacing.C
6154         * buffer.C
6155         * bufferparams.C
6156         * bufferview_funcs.C
6157         * chset.C
6158         * counters.C
6159         * funcrequest.C
6160         * lyxfont.C
6161         * lyxgluelength.C
6162         * lyxlength.C
6163         * paragraph.C
6164         * paragraph_funcs.C
6165         * text3.C
6166         * vc-backend.C: remove usage of STRCONV
6167
6168 2003-09-15  Angus Leeming  <leeming@lyx.org>
6169
6170         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
6171         explicitly define the color passed to the painter.
6172
6173 2003-09-15  Angus Leeming  <leeming@lyx.org>
6174
6175         * bufferparams.C (BufferParams): reorder member initializers to avoid
6176         compiler warning.
6177
6178 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
6179
6180         * CutAndPaste.C (pasteSelection): remove an outdated #warning
6181         * text.C (updateRowPositions): remove an unusual nop
6182
6183 2003-09-12  André Pönitz  <poenitz@gmx.net>
6184
6185         * BufferView_pimpl.C:
6186         * Bullet.C:
6187         * layout.h:
6188         * lyxfunc.C:
6189         * lyxlayout.[Ch]:
6190         * lyxtextclass.C:
6191         * rowpainter.C:
6192         * text.C:
6193         * text2.C:
6194         * Counters.[Ch]: finish the 'automatic counters' job
6195
6196 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6197
6198         * aspell.C: include <boost/assert.cpp> (compile fix)
6199
6200 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
6201
6202         * boost.C (assertion_failed): use lyx::support::abort instead of
6203         assert.
6204
6205 2003-09-10  Angus Leeming  <leeming@lyx.org>
6206
6207         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
6208         with their _fwd progeny.
6209
6210 2003-09-09  Angus Leeming  <leeming@lyx.org>
6211
6212         134 files throughtout the source tree: replace 'using namespace abc;'
6213         directives with the appropriate 'using abc::xyz;' declarations.
6214
6215 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
6216
6217         * boost.C (emergencyCleanup): moved here from LAssert.c
6218         (assertion_failed): new function, called by BOOST_ASSERT
6219
6220         * several files: change Assert to BOOST_ASSERT
6221
6222 2003-09-09  Angus Leeming  <leeming@lyx.org>
6223
6224         * buffer.[Ch]: Add an Impl class and move Buffer's member
6225         variables into it. As a result move several header files out of
6226         buffer.h.
6227
6228         Add header files to lots of .C files all over the tree as a result.
6229
6230 2003-09-09  Angus Leeming  <leeming@lyx.org>
6231
6232         * buffer.[Ch]: make Buffer's member variables private. Add
6233         accessor functions.
6234
6235         Lots of changes all over the tree as a result.
6236
6237 2003-09-08  Angus Leeming  <leeming@lyx.org>
6238
6239         * graph.C: #include <config.h>.
6240
6241 2003-09-08  Angus Leeming  <leeming@lyx.org>
6242
6243         * BranchList.C:
6244         * BufferView.C:
6245         * BufferView_pimpl.C:
6246         * CutAndPaste.C:
6247         * DepTable.C:
6248         * LaTeX.C:
6249         * LaTeXFeatures.C:
6250         * LyXAction.C:
6251         * MenuBackend.C:
6252         * TextCache.C:
6253         * aspell.C:
6254         * buffer.C:
6255         * bufferlist.C:
6256         * changes.C:
6257         * chset.C:
6258         * converter.C:
6259         * counters.C:
6260         * debug.C:
6261         * graph.C:
6262         * ispell.C:
6263         * lyx_cb.C:
6264         * lyxfind.C:
6265         * lyxfunc.C:
6266         * lyxlex_pimpl.C:
6267         * lyxrc.C:
6268         * lyxrow.C:
6269         * paragraph.C:
6270         * rowpainter.C:
6271         * texrow.C:
6272         * text.C:
6273         * text2.C:
6274         * toc.C: remove redundant using directives.
6275
6276 2003-09-07  Angus Leeming  <leeming@lyx.org>
6277
6278         * LaTeXFeatures.h: remove #include "support/types.h".
6279         * ToolbarBackend.h: remove #include <algorithm>.
6280         * changes.h: remove #include <ctime>.
6281         * debug.h: remove #include <iosfwd>.
6282         * graph.h: remove #include "support/std_string.h".
6283         * lyx_main.h: remove #include <csignal>.
6284         * lyxlex_pimpl.h: remove #include <fstream>.
6285         * sgml.h: remove #include <algorithm>, <utility>.
6286         * toc.h: remove #include "support/std_ostream.h".
6287         Add #include <iosfwd>.
6288
6289 2003-09-07  Angus Leeming  <leeming@lyx.org>
6290
6291         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
6292
6293         * converter.h: forward declare LatexRunParams.
6294         * encoding.h: remove #include "lyxrc.h".
6295         * lyxtext.h: remove #include "LColor.h".
6296         * lyxtextclass.h: remove #include "support/types.h".
6297         * trans.h: remove #include "tex-accent.h".
6298         * trans_mgr.h: remove #include "tex-accent.h".
6299         * insets/inset.h: remove #include "support/types.h", <vector>.
6300         * insets/insetcollapsable.h: remove #include "LColor.h".
6301         * insets/insetinclude.h: remove #include "dimension.h".
6302         * insets/insetlatexaccent.h: remove #include "dimension.h".
6303         * insets/insetoptarg.h:: remove #include "insettext.h".
6304         * insets/insettext.h: remove #include "dimension.h",
6305         <boost/shared_ptr.hpp>
6306
6307         * insets/renderers.h: add #include "dimension.h".
6308         * insets/updatableinset.h: add #include "support/types.h".
6309
6310         * many .C files: Associated changes.
6311
6312 2003-09-06  Angus Leeming  <leeming@lyx.org>
6313
6314         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
6315         one, inside testInvariant.
6316
6317         * PrinterParams.C: new file.
6318         * PrinterParams.[Ch]: move the function bodies out of line.
6319
6320 2003-09-06  Angus Leeming  <leeming@lyx.org>
6321
6322         * ParagraphParameters.h: forward declare ParameterStruct rather than
6323         including its header file.
6324         (depth): moved out-of-line.
6325
6326 2003-09-06  Angus Leeming  <leeming@lyx.org>
6327
6328         * BufferView_pimpl.h:
6329         * kbmap.h:
6330         * kbsequence.h:
6331         * lyxfunc.h: forward declare LyXKeySym rather than
6332         #include "frontends/LyXKeySym.h".
6333
6334         * BufferView_pimpl.C:
6335         * kbmap.C:
6336         * kbsequence.C:
6337         * lyxfunc.C: associated changes.
6338
6339 2003-09-06  Angus Leeming  <leeming@lyx.org>
6340
6341         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6342         As a result, can remove the #include "insets/inset.h" from BufferView.h
6343
6344 2003-09-06  Angus Leeming  <leeming@lyx.org>
6345
6346         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6347         As a result, can remove the #include "insets/inset.h" from BufferView.h
6348
6349 2003-09-06  Angus Leeming  <leeming@lyx.org>
6350
6351         * buffer_funcs.C:
6352         * buffer.h:
6353         * bufferlist.C:
6354         * BufferView.C:
6355         * bufferview_funcs.C:
6356         * BufferView_pimpl.C:
6357         * CutAndPaste.C:
6358         * lyx_cb.C:
6359         * lyxfunc.C:
6360         * paragraph.h:
6361         * ParagraphParameters.C:
6362         * tabular.C:
6363         * text3.C:
6364         * toc.C:
6365         * undo_funcs.C:
6366         * frontends/controllers/ControlDocument.C:
6367         * insets/insetcaption.C: rearrange the #includes into some sort of
6368         coherent order.
6369
6370         * buffer.h: remove #includes ErrorList.h, undo.h
6371
6372 2003-09-06  Angus Leeming  <leeming@lyx.org>
6373
6374         * support/types.h: add a 'depth_type' typedef, used to store the
6375         nesting depth of a paragraph.
6376
6377         * paragraph.h:
6378         * ParameterStruct.h: use this lyx::depth_type typedef rather than
6379         defining explicitly.
6380
6381         * buffer.h:
6382         * paragraph_funcs.h:
6383         * ParagraphParameters.h:
6384         * sgml.h: use lyx::depth_type rather than Paragraph or
6385         ParameterStruct's depth_type.
6386
6387         * buffer.h
6388         * paragraph_funcs.h: no need to #include paragraph.h anymore.
6389
6390         * BufferView.C:
6391         * BufferView_pimpl.C:
6392         * CutAndPaste.C:
6393         * ParagraphParameters.C:
6394         * buffer_funcs.C:
6395         * bufferlist.C:
6396         * bufferview_funcs.C:
6397         * lyx_cb.C:
6398         * lyxfunc.C:
6399         * tabular.C:
6400         * text3.C:
6401         * toc.C:
6402         * undo_funcs.C:
6403         * frontends/LyXView.C:
6404         * frontends/controllers/ControlDocument.C:
6405         * frontends/controllers/ControlErrorList.C:
6406         * insets/insetbibitem.C:
6407         * insets/insetbranch.C:
6408         * insets/insetcaption.C:
6409         * insets/insetcollapsable.C:
6410         * insets/insetenv.C:
6411         * insets/insetert.C:
6412         * insets/insetfloat.C:
6413         * insets/insetfoot.C:
6414         * insets/insetfootlike.C:
6415         * insets/insetnewline.C:
6416         * insets/insetquotes.C:
6417         * insets/insettabular.C:
6418         * insets/insettext.C:
6419         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
6420
6421         * frontends/controllers/ControlChanges.C: #include "changes.h".
6422
6423 2003-09-06  Angus Leeming  <leeming@lyx.org>
6424
6425         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
6426         than #including paragraph.h.
6427
6428         * ParagraphList.h:
6429         * RowList.h: deleted. Superfluous.
6430
6431         * CutAndPaste.h:
6432         * iterators.h:
6433         * lyxcursor.h:
6434         * lyxtext.h:
6435         * text_funcs.h:
6436         * undo.h:
6437         * undo_funcs.h:
6438         * insets/inset.h:
6439         * insets/insettext.h: use ParagraphList_fwd.h rather than
6440         ParagraphList.h.
6441
6442         * paragraph.h: don't forward declare ParagraphList.
6443
6444         * buffer.h:
6445         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
6446         rather than ParagraphList.h. paragraph.h is still needed for the
6447         Paragraph::depth_type parameters.
6448
6449         * textcursor.h: enable it to compile stand-alone in light of the
6450         above changes.
6451
6452         * bufferview_funcs.C:
6453         * iterators.C:
6454         * lyxfunc.C:
6455         * lyxrow_funcs.C:
6456         * paragraph.C:
6457         * rowpainter.C:
6458         * text.C:
6459         * text2.C:
6460         * text3.C:
6461         * text_funcs.C:
6462         * textcursor.C:
6463         * undo.C:
6464         * frontends/controllers/ControlParagraph.C:
6465         * frontends/controllers/ControlTabular.C:
6466         * insets/insetmarginal.C:
6467         * insets/insetminipage.C:
6468         * insets/insetnote.C:
6469         * insets/insetoptarg.C: add header files needed to compile again.
6470
6471 2003-09-06  Angus Leeming  <leeming@lyx.org>
6472
6473         * RowList_fwd.h: new file, forward-declaring Row rather than
6474         #including lyxrow.h.
6475
6476         * lyxrow_funcs.h:
6477         * lyxtext.h:
6478         * paragraph.h:
6479         * insets/insettext.h: use it instead of RowList.h
6480
6481         * bufferview_funcs.C:
6482         * lyxfunc.C:
6483         * lyxrow_funcs.C:
6484         * paragraph.C:
6485         * rowpainter.C:
6486         * text.C:
6487         * text2.C:
6488         * text3.C: #include "RowList.h".
6489
6490 2003-09-05  Angus Leeming  <leeming@lyx.org>
6491
6492         * factory.C (createInset):
6493         * vspace.C (c-tor): replace sscanf call with an istringstream.
6494         * ispell.C: re-add missing HP/UX headers.
6495         * lyxserver.C: re-add missing  os2 headers.
6496
6497 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
6498
6499         * BranchList.C:
6500         * graph.C:
6501         * ispell.C:
6502         * lastfiles.C:
6503         * lyx_cb.C:
6504         * lyxserver.C:
6505         * texrow.C:
6506         * text3.C: re-add missing system headers, needed for 2.95.2.
6507
6508 2003-09-05  Angus Leeming  <leeming@lyx.org>
6509
6510         Changes most place everywhere due to the removal of using directives
6511         from support/std_sstream.h.
6512
6513 2003-09-05  Angus Leeming  <leeming@lyx.org>
6514
6515         Replace LString.h with support/std_string.h,
6516         Lsstream.h with support/std_sstream.h,
6517         support/LIstream.h with support/std_istream.h,
6518         support/LOstream.h with support/std_ostream.h.
6519
6520         Changes resulting throughout the tree.
6521
6522 2003-09-05  Angus Leeming  <leeming@lyx.org>
6523
6524         * sgml.h: ensure that the header file can be compiled stand-alone.
6525         * *.C: strip out redundant #includes. (320 in total.)
6526
6527 2003-09-04  Angus Leeming  <leeming@lyx.org>
6528
6529         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6530         here (from getPackages).
6531
6532         * debug.[Ch]: add a new EXTERNAL tag.
6533
6534 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6535
6536         * text2.C (cursorEnd): simplify
6537         (setCursor): adjust
6538         (getColumnNearX): adjust
6539
6540         * text.C (computeBidiTables): adjust
6541         (fill): adjust
6542
6543         * rowpainter.C (paintChars): adjust
6544         (paintSelection): adjust
6545         (paintChangeBar): adjust
6546         (paintText): adjust
6547
6548         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6549         lastPos instead.
6550         (numberOfSeparators): adjust
6551
6552 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6553
6554         * LyXAction.C:
6555         * box.[Ch]:
6556         * lfuns.h:
6557         * lyxfunc.C:
6558         * text3.C: Restricts the mouse click functionality
6559         of insets like bibtex, include, toc and floatlist to the visible
6560         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6561         up the dialogs. Cursor has to be in front of the inset (i.e.
6562         start of row) for this to function.
6563
6564 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6565
6566         * bufferview_funcs.C (currentState): output row information
6567
6568 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6569
6570         * bufferview_funcs.C (currentState): output paragraph position
6571
6572 2003-09-04  Angus Leeming  <leeming@lyx.org>
6573
6574         * FloatList.h: move out #include "Floating.h".
6575         * LaTeX.h: move out #include "DepTable.h".
6576         * LyXAction.h: move out #include "funcrequest.h".
6577         * buffer.h: move out #include "author.h", "iterators.h".
6578         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6579         * lyx_main.h: move out #include "errorlist.h".
6580         * lyxfunc.h: move out #include "FuncStatus.h".
6581         * lyxtext: move out #include "lyxcursor.h".
6582         * paragraph_pimpl.h: move out #include "counters.h".
6583
6584 2003-09-03  Angus Leeming  <leeming@lyx.org>
6585
6586         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6587         preamble_snippets list, enabling us to add snippets to the preamble
6588         only if the snippet was not there already.
6589
6590 2003-09-04  Angus Leeming  <leeming@lyx.org>
6591
6592         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6593
6594 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6595
6596         * lyxfunc.C (dispatch): if fitCursor did something be sure to
6597         update
6598
6599 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6600
6601         * BranchList.C: point fix, earlier forgotten
6602
6603 2003-09-02  Angus Leeming  <leeming@lyx.org>
6604
6605         * box.C (contains): renamed from 'contained' after a fantastic
6606         amount of hot air.
6607
6608 2003-09-02  John Levon  <levon@movementarian.org>
6609
6610         * BufferView.C:
6611         * lyxcursor.h:
6612         * lyxcursor.C:
6613         * lyxfunc.C:
6614         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6615
6616 2003-09-02  John Levon  <levon@movementarian.org>
6617
6618         * text2.C: simplification of cursorEnd(), including partial
6619         fix for bug 1376
6620
6621 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6622
6623         * buffer.C (readFile): add a space
6624
6625 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
6626
6627         * BufferView_pimpl.C (update): remove bogus fitCursor() call
6628
6629 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6630
6631         * buffer.C (readFile): new function, take a filename and a
6632         ParagraphList::iterator
6633         (readFile): adjust
6634         (readFile): adjust, make it private. don't use setStream, make
6635         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6636         always contain the filename.
6637
6638         * BufferView.C (insertLyXFile): simplify and make it work for
6639         gzipped files.
6640
6641 2003-08-30  John Levon  <levon@movementarian.org>
6642
6643         * Makefile.am: fix dist (from Kayvan)
6644
6645 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6646
6647         * most files: change to use const Buffer refs
6648
6649 2003-08-27  André Pönitz  <poenitz@gmx.net>
6650
6651         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6652         on top of ownerPar().
6653
6654 2003-08-27  John Levon  <levon@movementarian.org>
6655
6656         * funcrequest.C: properly initialise POD members
6657
6658 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6659
6660         * lyxtext.h (top_y): move top_y from here
6661         * text.C:
6662         * text2.C:
6663         * text3.C:
6664         * BufferView.[Ch]:
6665         * BufferView_pimpl.[Ch]: to here
6666         * frontends/screen.C:
6667         * insets/insettabular.C:
6668         * insets/insettext.C: adjust
6669         * rowpainter.[Ch] (paintRows): remove LyXText & argument
6670
6671 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6672
6673         * BufferView.[Ch]:
6674         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6675
6676 2003-08-26  André Pönitz  <poenitz@gmx.net>
6677
6678         * paragraph_func.[Ch] (outerPar): new function
6679
6680         * paragraph.C:
6681         * paragraph_funcs.C:
6682         * paragraph_funcs.h:
6683         * paragraph_pimpl.C:
6684         * text2.C: remove Inset::par_owner
6685
6686 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
6687
6688         * lyxrow_funcs.C:
6689         * lyxtext.h:
6690         * text.C:
6691         * text2.C: eliminates the needFullRow/display() stuff
6692         altogether, putting the logic in metrics/draw in the insets.
6693
6694 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
6695
6696         * text2.C (redoParagraphInternal, redoParagraphs):
6697         * text.C (redoParagraph): add a call to updateRowPositions at the
6698         end of each 'metrics-like' call. Remove all others.
6699         (getRow): remove the 'y-computing' version.
6700         (getRowNearY): do not compute nor return the real y. Solve the
6701         'y < 0' problem and simplify.
6702
6703 2003-08-22  Angus Leeming  <leeming@lyx.org>
6704
6705         * *.[Ch]: clean-up of licence and author blurbs.
6706         Also move config.h out of a few .h files and into a few .C files.
6707
6708 2003-08-22  André Pönitz  <poenitz@gmx.net>
6709
6710         * lyxrow.[Ch]: add x_ and *fill_ members
6711
6712         * lyxtext.h:
6713         * text.C:
6714         * rowpainter.C:
6715         * text2.C: adjust/remove prepareToPrint() calls
6716
6717 2003-08-22  André Pönitz  <poenitz@gmx.net>
6718
6719         * lyxrow.[Ch]: add  end_ member
6720
6721         * lyxrow_funcs.C: use LyXRow::end_
6722
6723         * lyxtext.h (singleWidth): add LyXFont parameter
6724
6725         * rowpainter.C:
6726         * text2.C: adjust LyXText::singleWidth() calls
6727
6728         * text.C (redoParagraph): simplify row breaking logic
6729
6730
6731 2003-08-19  André Pönitz  <poenitz@gmx.net>
6732
6733         * funcrequest.C: initialize button_ member
6734
6735         * text3.C:
6736         * rowpainter.[Ch]: interface consolidation
6737
6738 2003-08-18  André Pönitz  <poenitz@gmx.net>
6739
6740         * BufferView.C:
6741         * BufferView_pimpl.C:
6742         * lyxfind.C:
6743         * paragraph_funcs.C:
6744         * rowpainter.C:
6745         * text3.C: remove LyXScreen::draw() and fitCursor calls
6746
6747         * BranchList.h: remove spurious semicolons
6748
6749         * MenuBackend.C: fix branchlist related crash
6750
6751 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
6752
6753         * BranchList.[Ch]:
6754         * InsetList.[Ch]:
6755         * LColor.[Ch]:
6756         * LyXAction.C:
6757         * Makefile.am:
6758         * MenuBackend.[Ch]:
6759         * bufferparams.[Ch]:
6760         * factory.C:
6761         * lfuns.h:
6762         * lyxfunc.C:
6763         * text3.C: implements the 'branch inset'
6764         idea. This allows the output of various versions of a document
6765         from a single source version, selectively outputing or suppressing
6766         output of parts of the text.
6767         This implementation contains a 'branch list editor' in a separate
6768         tab of the document settings dialog. Branches are user definable
6769         and have a "display colour" to distinguish them on-screen.
6770
6771         ColorHandler was somewhat cleaned up.
6772         (1) make possible a dynamically growing LColor list by allowing
6773         the graphic context cache to grow along (vector);
6774         (2) eliminate an IMHO unnecessary step in colour allocation.
6775
6776 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
6777
6778         * BufferView_pimpl.C: compile fix
6779
6780 2003-08-15  André Pönitz  <poenitz@gmx.net>
6781
6782         * rowpainter.C: remove extra metrics calls
6783
6784         * lyxtext.h: merge the two constructors into a single one,
6785           pass reference to owner's par list
6786
6787         * BufferView_pimpl.C:
6788         * text.C:
6789         * text2.C: adjust
6790
6791 2003-08-15  André Pönitz  <poenitz@gmx.net>
6792
6793         * lyxrow_funcs.[Ch]:
6794         * lyxtext.h:
6795         * paragraph.h:
6796         * paragraph_funcs.C:
6797         * rowpainter.C:
6798         * text.C:
6799         * text2.C:
6800         * text3.C:
6801         * text_funcs.C: split LyXText::rowlist_ into individual
6802         Paragraph::rows_ chunks
6803
6804         * BufferView.[Ch]:
6805         * BufferView_pimpl.[Ch]:
6806         * lyxfind.C:
6807         * lyxtext.h:
6808         * text3.C: remove toggleSelection()
6809
6810 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
6811
6812         * bufferlist.C: beautify two alerts (shorter text of buttons)
6813         * buffer.C: Remove redundant ' ' from message
6814         * tabular.h:
6815         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6816         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6817         rename VALIGN_CENTER to VALIGN_MIDDLE
6818
6819 2003-08-11  André Pönitz  <poenitz@gmx.net>
6820
6821         * lyxtext.h (getPar):
6822         * text.C: new function
6823
6824 2003-08-11  André Pönitz  <poenitz@gmx.net>
6825
6826         * Makefile.am:
6827         * tracer.[Ch]: remove unneeded files
6828
6829         * InsetList.[Ch]: remove resizeInsetsLyXText()
6830
6831         * lyxtext.h:
6832         * text.C:
6833         * text2.C:
6834         * text3.C: merge insertParagraphs() and appendParagraph()
6835         remove breakAgain(), update()
6836
6837         * BufferView_pimpl.[Ch]:
6838         * bufferview_funcs.[Ch]:
6839         * lyxfunc.C:
6840         * paragraph.[Ch]:
6841         * rowpainter.C:
6842         * tabular.C: adjust after text & InsetList changes.
6843
6844 2003-08-08  André Pönitz  <poenitz@gmx.net>
6845
6846         * text.C (insertChar, backspace): replace rowlist fiddling
6847         with rebreak of full par
6848
6849         * lyxtext.h:
6850         * text.C (breakAgainOneRow, redoHeightOfParagraph,
6851         checkParagraph, updateInset): removed
6852
6853 2003-08-07  André Pönitz  <poenitz@gmx.net>
6854
6855         * paragraph.C:
6856         * text3.C: merge some LFUN handlers, remove dead code
6857
6858 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6859
6860         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6861
6862 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
6863
6864         * text2.C (DEPM): fix part of bug 1255 and 1256
6865
6866 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6867
6868         * BufferView_pimpl.C (workAreaDispatch): change to use
6869         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6870         that are no mouse related.
6871
6872 2003-08-05  André Pönitz  <poenitz@gmx.net>
6873
6874         * BufferView.[Ch]:
6875         * BufferView_pimpl.[Ch]:
6876         * bufferview_funcs.C:
6877         * text2.C:
6878         * text3.C: rip out "deep update"
6879
6880         * textcursor.[Ch] (last_sel_cursor): remove unused member
6881
6882 2003-08-04  André Pönitz  <poenitz@gmx.net>
6883
6884         * BufferView.[Ch]:
6885         * BufferView_pimpl.[Ch]:
6886         * ParagraphParameters.C:
6887         * bufferview_funcs.C:
6888         * lyx_cb.C:
6889         * lyxfind.C:
6890         * lyxfunc.C:
6891         * text.C:
6892         * text2.C:
6893         * text3.C: replace "complicated" BufferView::update(...) calls with
6894         simpler ones.
6895
6896         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6897
6898 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
6899
6900         * Makefile.am (lyx_SOURCES): add paper.h
6901
6902 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6903
6904         * Makefile.am: move things around so that both lyx-qt and
6905         lyx-xforms can be built (according to --with-frontend). Then lyx
6906         is a symbolic link to lyx-[firstfrontend]
6907
6908 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
6909
6910         * Always use std::endl with lyxerr
6911
6912 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
6913
6914         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6915
6916 2003-08-01  André Pönitz  <poenitz@gmx.net>
6917
6918         * BufferView.[Ch]:
6919         * BufferView_pimpl.[Ch]:
6920         * lyxfunc.C:
6921         * text3.C: merge BufferView::repaint() and BufferView::update()
6922
6923 2003-08-01  José Matos  <jamatos@lyx.org>
6924
6925         * buffer.[Ch]: file_format is no longer a buffer data element.
6926
6927 2003-08-01  André Pönitz  <poenitz@gmx.net>
6928
6929         * BufferView.C:
6930         * lyxtext.h:
6931         * text.C:
6932         * text2.C: make redoParagraph more independent of current cursor
6933
6934         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6935         * text.C:
6936         * text2.C: remove unneeded members
6937
6938 2003-07-30  André Pönitz  <poenitz@gmx.net>
6939
6940         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6941
6942         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6943           create a single function...
6944
6945         * paragraph_funcs.C (moveItem): ... here.
6946
6947         * text.C:
6948           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6949
6950 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
6951
6952         * LColor.[Ch]: Add comment and greyedout logical colors.
6953
6954 2003-07-30  André Pönitz  <poenitz@gmx.net>
6955
6956         * tabular.C: don't use Assert too heavily. This crashes where it
6957           shouldn't
6958
6959 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
6960
6961         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6962         is disabled (bug 1232)
6963
6964 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6965
6966         * factory.C: limited 'arg' scope
6967
6968 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6969
6970         * factory.C: fixed Note submenu issues
6971
6972 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6973
6974         * factory.C: submenu for Note/Comment/Greyedout
6975
6976 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
6977
6978         * lyx_main.C (LyX):
6979         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6980
6981 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
6982
6983         * LaTeXFeatures.C:
6984         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6985         greyedout. Patch provided by Jürgen Spitzmüller.
6986
6987 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6988
6989         * kbmap.C (read): fix error message when reading bind files
6990
6991 2003-07-29  Angus Leeming  <leeming@lyx.org>
6992
6993         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6994         certainly does not do what it purports to do. I am doing it, and
6995         us, a favour by killing it.
6996
6997 2003-07-28  José Matos  <jamatos@lyx.org>
6998
6999         * buffer.C (readBody, do_writeFile):
7000         * paragraph.C(readParagraph): \end_document replaces \the_end.
7001
7002 2003-07-29  André Pönitz  <poenitz@gmx.net>
7003
7004         * BufferView.[Ch]:
7005         * BufferView_pimpl.[Ch]:
7006         * lyxfunc.C:
7007         * text2.C:
7008         * text3.C:
7009         * textcursor.[Ch]: remove toggleToggle & Co
7010
7011 2003-07-28  José Matos  <jamatos@fep.up.pt>
7012
7013         * buffer.C (readParagraph):
7014         * params_func (readParToken, readParagraph):
7015         * paragraph.C (write): \layout -> \begin_layout.
7016
7017 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7018
7019         * lyxlex_pimpl.C (setFile): clean up slightly.
7020
7021         * bufferparams.h: add compressed var
7022
7023         * buffer_funcs.C (readFile): adjust for LyXLex change
7024         (newFile): ditto + simplify
7025
7026         * buffer.C (writeFile): handle writing of compressed files
7027
7028         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
7029         Check if the file is compressed and set a bufferparm if so.
7030
7031         * Makefile.am (lyx_LDADD): remove explicit -lz
7032
7033 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7034
7035         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
7036         makeDocBookFile): put the real LyX version in the first line of
7037         the file
7038
7039         * version.h:
7040         * version.C.in: remove lyx_docversion
7041
7042         * tabular.C (write_attribute): add a template-based version to
7043         write enums properly
7044
7045 2003-07-28  André Pönitz  <poenitz@gmx.net>
7046
7047         * lyxtext.h:
7048         * text.C:
7049         * text2.C:
7050         * text3.C: use doubles again for x-coordinates. They are needed.
7051
7052 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7053
7054         * messages.C (getLocaleDir): use lyx_localedir()
7055
7056         * lyxlex_pimpl.C (setFile): compress stuff
7057
7058         * buffer.C (writeFile): add some compression stuff
7059         (do_writeFile): new func, dont call expliti close... will this
7060         breake anything?
7061
7062         * Makefile.am (lyx_LDADD): add -lz
7063
7064 2003-07-28  José Matos  <jamatos@fep.up.pt>
7065
7066         * buffer.C: increment file format.
7067         * paragraph_funcs (readParagraph, readParToken):
7068         * paragraph.C (readParagraph): add \end_layout.
7069
7070 2003-07-27  Angus Leeming  <leeming@lyx.org>
7071
7072         * Makefile.am: remove special casing for configure-time setting of
7073         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
7074
7075         * lyx_main.C (init): remove all Jean-Marc's magic setting of
7076         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
7077
7078 2003-07-26  André Pönitz  <poenitz@gmx.net>
7079
7080         * paragraph_func.[Ch]:
7081         * paragraph.C (realizeFont): inline it whereever it is used
7082
7083         * rowpainter.C:
7084         * text.C:
7085         * text2.C:
7086         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
7087
7088
7089 2003-07-26  André Pönitz  <poenitz@gmx.net>
7090
7091         *       lyxtext.h:
7092         * text.C:
7093         * text2.C: get rid of LyXText::need_break_row
7094
7095 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7096
7097         * toc.[Ch]: put namespace toc inside namespace lyx
7098
7099         * MenuBackend.C (expandToc2): adjust for lyx::toc
7100         (expandToc): ditto
7101
7102         * lyxfunc.C (dispatch): adjust for lyx::find
7103
7104         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
7105         lyx::find instead. Reorganize a bit.
7106         (LyXReplace): rename to replace
7107         (LyXFind): rename to find
7108
7109         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
7110         (dispatch): ditto
7111
7112 2003-07-26  André Pönitz  <poenitz@gmx.net>
7113
7114         * text.C (setHeightOfRow): restrict scope of temporary variable
7115
7116         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
7117           code (never has been used?)
7118
7119 2003-07-27  Asger Alstrup  <alstrup@local>
7120
7121         * text.C (fill): Optimise algorithm to exploit that we can reuse
7122         the LyXFont for many characters.
7123         (setHeightOfRow): Same thing.
7124         (rowBreakPoint): Same thing.
7125
7126 2003-07-26  Asger Alstrup  <alstrup@local>
7127
7128         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
7129
7130         * text.C (singleWidth): Spurious font copying in hot-spot
7131         singleWidth avoided. Reorder tests for arabic for efficiency.
7132
7133         * text.C (fill): handle empty paragraphs better.
7134
7135 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7136
7137         * ispell.C:
7138         * encoding.h: add includes
7139
7140         * lyxrc.C: remove reading of bind files
7141
7142         * lyx_main.C (init): setup bindings and menus only if we have a
7143         gui.
7144
7145         * kbmap.C (read): new method. Do the actual reading of bind
7146         files.
7147
7148         * converter.C (dvipdfm_options):
7149         * bufferparams.C:
7150         * lyxrc.C (read):
7151         (output): adapt PAPER_* enums.
7152
7153         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
7154
7155         * bufferparams.h: remove paper-related enums from there
7156
7157         * paper.h: New file. A trivial header file to hold paper-related
7158         enums. It should later expand to contain many paper-related
7159         horrors access.
7160
7161         * lyxrc.C: declare extern displayTranslator
7162
7163 2003-07-27  José Matos  <jamatos@fep.up.pt>
7164
7165         * tabular.[Ch] (linuxdoc): add support for tables and figures
7166         (linuxdoc).
7167
7168 2003-07-27  José Matos  <jamatos@fep.up.pt>
7169
7170         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
7171         consistency in both functions.
7172         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
7173
7174 2003-07-26  Asger Alstrup  <alstrup@local>
7175
7176         * rowpainter.C (paintRows): Change algorithm to work directly on
7177         the insets rather than asking every character in the document
7178         whether its an inset.
7179
7180 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
7181
7182         * buffer.C (openFileWrite): factorize some code
7183
7184 2003-07-26  Angus Leeming  <leeming@lyx.org>
7185
7186         * lyx_cb.C:
7187         * lyx_main.[Ch]: replace occurances of system_tempdir with
7188         os::getTmpDir().
7189
7190 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7191
7192         * rename Inset to InsetOld
7193
7194 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
7195
7196         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
7197         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
7198         which I think is a bit clearer. EDIT is gone, since it was
7199         premature optimisation, and broken for mathed anyway.
7200         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
7201         with cursor positioning in insets as well (math insets still do not
7202         work, but that's a different story anyway.) It mysteriously
7203         crashes sometimes with undo in the first paragraph, but I'm fairly
7204         confident that this is a compiler bug.
7205
7206 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7207
7208         * paragraph.C (Paragraph): adjust for new clone return type
7209         (operator==): ditto
7210         (copyIntoMinibuffer): ditto
7211
7212 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
7213
7214         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
7215         by not having a special case, and always doing a full rebreak of
7216         the document after undo.
7217
7218 2003-07-23  Angus Leeming  <leeming@lyx.org>
7219
7220         * factory.C (createInset): InsetExternal::setParams now takes a
7221         Buffer const * arg.
7222
7223 2003-07-23  Angus Leeming  <leeming@lyx.org>
7224
7225         * factory.C (createInset): changed interface to the external and
7226         graphics mailers' string2params functions.
7227
7228 2003-07-23  Angus Leeming  <leeming@lyx.org>
7229
7230         * factory.C (createInset): pass a
7231         Buffer const * parameter to InsetExternalMailer's string2params.
7232
7233 2003-07-22  John Levon  <levon@movementarian.org>
7234
7235         * Thesaurus.h: include the right aiksaurus header
7236
7237 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7238
7239         * MenuBackend.C (expand): check menu shortcuts unconditionally
7240
7241 2003-07-21  Angus Leeming  <leeming@lyx.org>
7242
7243         * factory.C (createInset): pass a
7244         buffer_path parameter to InsetGraphicsMailer's string2params.
7245
7246 2003-07-21  Angus Leeming  <leeming@lyx.org>
7247
7248         * BufferView_pimpl.C (buffer):
7249         * buffer.C (d-tor):
7250         * lyx_main.C (LyX):
7251         * lyxfunc.C (dispatch):
7252         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
7253         rather than the grfx shortcut.
7254
7255 2003-07-21  André Pönitz  <poenitz@gmx.net>
7256
7257         * rowpainter.C: remove unused variables
7258
7259         * tabular_funcs.C:
7260         * tabular_funcs.h: move to tabular.C
7261         * Makefile.am: adjust
7262
7263         * tabular.[Ch]: basic optical cleaning
7264
7265         * author.h: pass references, not values
7266
7267 2003-07-18  André Pönitz  <poenitz@gmx.net>
7268
7269         * lyxtext.h:
7270         * metricsinfo.C:
7271         * metricsinfo.h:
7272         * rowpainter.C:
7273         * text.C:
7274         * text2.C:
7275         * text3.C: two-phase drawing for InsetText and InsetTabular
7276         some float -> int changes.
7277
7278 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
7279
7280         * lyx_main.C: fix the fix
7281
7282 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
7283
7284         * lyx_main.C: fix a crash in batch mode if no files specified
7285         * converter.C: ws
7286
7287 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
7288
7289         * format.[Ch] (papersize): moved to BufferParams
7290         * converter.[Ch] (dvips_options): moved to BufferParams
7291         (dvipdfm_options): moved to anon namespace
7292         * bufferparams.[Ch]: added above functions.
7293
7294 2003-07-17  André Pönitz  <poenitz@gmx.net>
7295
7296         * lyxtext.h:
7297         * rowpainter.C:
7298         * text2.C: don't call inset->update() anymore
7299
7300         * metricsinfo.[Ch]: add convenience constructor
7301
7302 2003-07-16  André Pönitz  <poenitz@gmx.net>
7303
7304         * lyxcursor.[Ch]:
7305         * lyxfunc.[Ch]:
7306         * text.C:
7307         * text2.C: replace the LyXCursor::irow_ member with
7308          on-demand computation of the value
7309
7310 2003-07-16  John Levon  <levon@movementarian.org>
7311
7312         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
7313
7314 2003-07-15  André Pönitz  <poenitz@gmx.net>
7315
7316         * text.C:
7317         * text2.C: remove no more needed refresh_row
7318
7319 2003-07-15  André Pönitz  <poenitz@gmx.net>
7320
7321         * lyxtext.h:
7322         * rowpainter.C:
7323         * text2.C:
7324         * text3.C: refresh_status tristate -> need_update bool
7325
7326 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
7327
7328         * lyxtext.h (init): remove reinit argument (act as if always true)
7329         * text2.C: adjust to that
7330
7331 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7332
7333         * bufferview_funcs.[Ch]: introduce function replaceSelection()
7334         * text3.C: use it to delete selections in some cases
7335         (bugs 441, 673, 702, 954).
7336
7337 2003-07-14  André Pönitz  <poenitz@gmx.net>
7338
7339         * rowpainter.[Ch]: reduce interface
7340
7341 2003-07-14  André Pönitz  <poenitz@gmx.net>
7342
7343         * BufferView_pimpl.C:
7344         * text2.C: adjust after removing unused BufferView * argument
7345
7346 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
7347
7348         * text2.C (init): fix a crash fired on resize
7349
7350 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
7351
7352         * buffer.[Ch]: added new closing signal
7353         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
7354         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
7355         BufferView::Pimpl via the closing the signal
7356
7357 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
7358
7359         * buffer.[Ch]: take out all bv-related from buffer
7360         * BufferView.C:
7361         * BufferView_pimpl.[Ch]: connect to new signals
7362         * CutAndPaste.C: removed useless asserts
7363         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
7364         * lyxvc.[Ch]:
7365         * vc-backend.[Ch]:
7366         * lyxfunc.C: moved view-related funciontality from vc here
7367         * paragraph.C: removed outdated comments
7368         * text.C: ws
7369
7370 2003-07-10  André Pönitz  <poenitz@gmx.net>
7371
7372         * BufferView_pimpl.C:
7373         * tabular.h:
7374         * tabular_funcs.C:
7375         * text.C:
7376         * text2.C: remove InsetText::InnerCache, clean up consequences
7377
7378 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
7379
7380         * ispell.C: fix two typos in error messages
7381
7382 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
7383
7384         * Extend Note inset to other forms of annotation like Comment
7385         and Greyedout. Right button click gives dialog.
7386
7387         Files modified or added (+):
7388
7389         * insetnote.[Ch]
7390         * FormNote.[Ch]      +
7391         * ControlNote.[Ch]   +
7392         * form_note.fd       +
7393         * Makefile.am in frontends/xforms, frontends/xforms/forms,
7394         frontends/controllers
7395         * xforms/Dialogs.C
7396         * factory.C
7397
7398 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7399
7400         * aspell.C: add missing namespace lyx::support
7401
7402 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
7403
7404         * BufferView.[Ch] (newFile): Add
7405         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
7406         * LaTeX.[Ch] (message): added this signal and use it
7407         * buffer.[Ch] (busy, message): added these signals and use them
7408         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
7409         * converter.C:
7410         * exporter.C:
7411         * format.C:
7412         * importer.C: use buffer signals instead of direct bv calling
7413         * lyx_cb.[Ch] (ShowMessage): removed
7414         * lyx_main.C:
7415         * lyxfunc.C:
7416         * paragraph_funcs.C:
7417         * text2.C: use buffer signals
7418
7419 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7420
7421         * introduce namespace lyx::graphics
7422
7423 2003-07-02  André Pönitz  <poenitz@gmx.net>
7424
7425         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
7426
7427 2003-07-01  André Pönitz  <poenitz@gmx.net>
7428
7429         * text.C:
7430         * text2.C:
7431         * text3.C:
7432         * text_funcs.[Ch]:
7433         * textcursor.h:
7434         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
7435           text*.C to text_func.C
7436
7437 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7438
7439         * introduce namespace lyx::support
7440
7441 2003-06-30  André Pönitz  <poenitz@gmx.net>
7442
7443         * Chktex.C:
7444         * funcrequest.C:
7445         * lyxtext.h:
7446         * text.C: re-enable --with-included-string
7447
7448 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7449
7450         * textcursor.C: add <config.h>
7451
7452         * text.C (getWord): remove const from word_location arg
7453
7454         * lyxvc.C (getLogFile): fix const type order
7455
7456         * lyxtext.h: remove const from word_location arg, add arg name
7457
7458         * lyxlayout.h: currect type on labeltype.
7459
7460         * importer.C: correct \file
7461
7462         * converter.C (intToFormat): use std:: on ret val, ws changes
7463
7464         * bufferlist.h: correct \file
7465
7466         * buffer.C (makeLinuxDocFile): fix const type order
7467         (makeDocBookFile): ditto
7468         (fillWithBibKeys): use std:: on stdlib args.
7469
7470         * CutAndPaste.C: fix authors.
7471         (availableSelections): use std:: on return vector
7472
7473 2003-06-27  André Pönitz  <poenitz@gmx.net>
7474
7475         * BufferView_pimpl.C:
7476         * bufferview_funcs.C:
7477         * lyxcursor.C:
7478         * lyxcursor.h:
7479         * lyxfunc.C:
7480         * lyxtext.h:
7481         * rowpainter.C:
7482         * text.C:
7483         * text2.C:
7484         * text3.C: remove LyXCursor::row_ member
7485
7486         * lyxtext.h:
7487         * text.C: rename fullRebreak() to partialRebreak() and implement
7488           a fullRebreak() that really bereks fully
7489
7490         * textcursor.h: new struct for cursor-related data
7491
7492 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
7493
7494         * lyx_main.C (LyX): get full path of document loaded on the
7495         command line
7496
7497 2003-06-26  André Pönitz  <poenitz@gmx.net>
7498
7499         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7500           remove unused/broken operator>,<,>=.
7501
7502         *       text.C: remove only use of broken operator<= in an Assert().
7503
7504 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7505
7506         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7507         moved errorlist_.clear to showErrorList
7508
7509 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7510
7511         * converter.C (scanLog, runLaTeX):
7512         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7513         move the bv->showErrorList call to the callers
7514         * lyxfunc.C: i.e. here...
7515         * text2.C: and here
7516         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7517         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7518         namespace, the second to...
7519         * buffer_funcs (BufferFormat, parseErrors): added
7520         * errorlist.C (ErrorList(TeXErrors const &)): removed
7521
7522 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7523
7524         * ToolbarBackend.C (getIcon): complain when icon cannot be found
7525
7526 2003-06-24  "Garst R. Reese" <reese@isn.net>
7527
7528         * debug.C: fix typo
7529
7530 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7531
7532         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7533
7534         * version.C.in: change docversion to 1.4
7535
7536 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
7537
7538         * buffer.C: fix a bug just introduced
7539
7540 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
7541
7542         * buffer.[Ch]: added the parseError signal and use it, removed
7543         sgmlError
7544         * BufferView.[Ch] (addError): moved to ...
7545         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7546         to the Buffer::parseError signal to catch (guess what) parse errors
7547         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7548
7549 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
7550
7551         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7552         ability to create a buffer and to return an existing one from
7553         the list. Moved these functions to...
7554         * buffer_funcs.[Ch]: added
7555         * BufferView.[Ch] (loadLyXFile): added
7556         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7557         job removed from bufferlist::loadLyXFile.
7558         * buffer.C (setReadOnly): make it work without view
7559         (i.e added an if (users))
7560
7561 2003-06-19  Angus Leeming  <leeming@lyx.org>
7562
7563         * lfuns.h:
7564         * LyXAction.C (init):
7565         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7566         with LFUN_DIALOG_SHOW <name> <data>.
7567
7568 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7569
7570         * CutAndPaste.C (availableSelections): small compilation fix for
7571         ancient (gcc 2.9x) compilers
7572
7573 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
7574
7575         * text3.C (cursorNext): add tmp var
7576
7577         * text2.C (updateCounters): for function calling out of for clause
7578         (replaceSelectionWithString): ditto
7579         (insertStringAsParagraphs): ditto
7580         (getColumnNearX): add tmp var
7581         (setCursorFromCoordinates): add tmp var
7582         (cursorDownParagraph): add tmp var
7583         (deleteEmptyParagraphMechanism): add tmp var
7584
7585         * text.C (insertChar): add tmp var
7586
7587         * rowpainter.C (paintDepthBar): add tmp var
7588
7589         * CutAndPaste.C (availableSelections): potentially check all
7590         paragraphs in a cut to fill the shown strings.
7591
7592 2003-06-18  André Pönitz  <poenitz@gmx.net>
7593
7594         * kbmap.[Ch]: use vector<> instead of list<>
7595
7596 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
7597
7598         * text3.C (dispatch): handle arg to LFUN_PASTE, call
7599         pasteSelection with index
7600
7601         * text2.C (pasteSelection): modify, call pasteSelection with index
7602
7603         * paragraph.C (asString): reimplement version with no interval to
7604         call the one with interval.
7605
7606         * lyxtext.h: add index arg to pasteSelection
7607
7608         * MenuBackend.C (MenuItem): handle PasteRecent
7609         (Menu::read::Menutags): add md_pasterecent
7610         (read): handle it
7611         (expandPasteRecent): new function
7612         (expand): use it
7613
7614         * MenuBackend.h: add PasteRecent to MenuItem::Kind
7615
7616         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7617         the limited stack
7618         (availableSelections): new function
7619
7620 2003-06-17  Angus Leeming  <leeming@lyx.org>
7621
7622         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7623
7624 2003-06-17  Angus Leeming  <leeming@lyx.org>
7625
7626         * lfuns.h:
7627         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7628
7629         * lyxfunc.C (dispatch): invoke it.
7630
7631 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7632
7633         * iterators.C (operator++, ParPosition): reintroduce some
7634         const_cast for the benefit of older compilers.
7635
7636 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7637
7638         * text3.C (dispatch): do not modify clipboard when doing
7639         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7640         LFUN_DELETE_SKIP on a selection selection
7641
7642 2003-06-16  André Pönitz  <poenitz@gmx.net>
7643
7644         * BufferView.C:
7645         * buffer.C:
7646         * buffer.h:
7647         * paragraph.C:
7648         * tabular.[Ch]: IU of clone() and getLabelList();
7649
7650 2003-06-13  André Pönitz  <poenitz@gmx.net>
7651
7652         * tabular.h: compactification
7653
7654 2003-06-12  André Pönitz  <poenitz@gmx.net>
7655
7656         * tabular.C:
7657         * tabular.h:
7658         * tabular_funcs.h: some renaming plus whitespace
7659
7660 2003-06-12  André Pönitz  <poenitz@gmx.net>
7661
7662         * BufferView.C:
7663         * BufferView_pimpl.C:
7664         * CutAndPaste.C:
7665         * buffer.C:
7666         * iterators.[Ch]:
7667         * lyxfunc.C:
7668         * text.C:
7669         * toc.C: Return a Paragraph & for ParIterator::operator*()
7670
7671 2003-06-11  John Levon  <levon@movementarian.org>
7672
7673         * lyx_main.C:
7674         * ToolbarBackend.h:
7675         * ToolbarBackend.C: add "Toolbars" section and
7676         put the flags there
7677
7678 2003-06-10  Angus Leeming  <leeming@lyx.org>
7679
7680         * lfuns.h:
7681         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7682
7683         * lyxfunc.C (dispatch): invoke it.
7684
7685 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7686
7687         * main.C: protect <ios> with HAVE_IOS
7688         (main): protect sync_with_stdio with HAVE_IOS
7689
7690 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
7691
7692         * text2.C (cutSelection): adjust
7693         (pasteSelection): adjust
7694
7695         * messages.C: handle get of empty string
7696
7697         * main.C (main): use sync_with_stdio(false)
7698
7699         * lyxfunc.C (dispatch): adjust
7700
7701         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7702         (WriteAs): remove unneeded BufferView arg.
7703
7704         * bufferparams.h: use correct types on papersize, papersize2 and
7705         paperpackage.
7706
7707         * bufferparams.C (readToken): adjust for type
7708         (writeLaTeX): add missing cases to switch.
7709
7710         * bufferlist.C (quitWriteBuffer): adjust
7711         (close): adjust
7712
7713         * buffer.C (asciiParagraph): remove some commented code.
7714
7715         * CutAndPaste.C: remove current_view extern variable.
7716         (cutSelection): add BufferParams arg.
7717         (eraseSelection): add BufferParams arg.
7718         (pasteSelection): add Buffer const & arg
7719
7720 2003-06-07  John Levon  <levon@movementarian.org>
7721
7722         * buffer.C:
7723         * paragraph_funcs.C:
7724         * paragraph_pimpl.C:
7725         * text.C:
7726         * text2.C:
7727         * paragraph.h:
7728         * paragraph.C: allow InsetERT to freely space lines,
7729         and some consolidation of code
7730
7731 2003-06-06  José Matos  <jamatos@fep.up.pt>
7732
7733         * buffer.C (makeDocBookFile): fix bug #821
7734
7735 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
7736
7737         * BufferView_pimpl.C (dispatch): use Dialogs::visible
7738
7739 2003-06-04  Angus Leeming  <leeming@lyx.org>
7740
7741         * buffer.C: bump format to 224.
7742
7743 2003-06-05  André Pönitz  <poenitz@gmx.net>
7744
7745         * text2.C (redoParagraphs): remove two const_cast<>
7746
7747 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
7748
7749         * ParagraphList.h: remove last remnants of NO_STD_LIST
7750
7751 2003-06-03  Angus Leeming  <leeming@lyx.org>
7752
7753         * factory.C (createInset): small change to the way InsetExternal's params
7754         are set.
7755
7756 2003-06-04  André Pönitz  <poenitz@gmx.net>
7757
7758         * buffer.h: use Undo directly instead of shared_ptr<Undo>
7759
7760         * paragraph_pimpl.h:
7761         * paragraph.[Ch]: some Inset -> UpdatableInset changes
7762
7763         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7764
7765         * undo_funcs.C: make some simple cases of undo work again
7766
7767 2003-06-03  John Levon  <levon@movementarian.org>
7768
7769         * ispell.C: HPUX doesn't have sys/select.h
7770         (from Albert Chin)
7771
7772 2003-06-03  John Levon  <levon@movementarian.org>
7773
7774         * CutAndPaste.C: update tabular and include inset
7775         buffer references
7776
7777         * buffer.h:
7778         * paragraph.h:
7779         * paragraph.C: remove owningBuffer(), don't pass Buffer
7780         to clone()
7781
7782         * factory.C: insetGraphicsParams changed
7783
7784 2003-06-02  John Levon  <levon@movementarian.org>
7785
7786         * LyXAction.C:
7787         * factory.C:
7788         * lfuns.h:
7789         * lyxfunc.C:
7790         * text3.C: remove insetparent
7791
7792 2003-06-02  John Levon  <levon@movementarian.org>
7793
7794         * buffer.h:
7795         * buffer.C: fix inset_iterator.end(), move out of line
7796         (bug 1149)
7797
7798 2003-06-01  John Levon  <levon@movementarian.org>
7799
7800         * text3.C: use a proper cut/paste when doing inset
7801         insert (from Jürgen Spitzmüller)
7802
7803 2003-06-01  John Levon  <levon@movementarian.org>
7804
7805         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7806
7807 2003-05-30  André Pönitz  <poenitz@gmx.net>
7808
7809         * rowpainter.C: unify second drawing phase
7810
7811 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7812
7813         * trans_mgr.C: remove one case of current_view
7814
7815         * text2.C (cursorBottom): delete NO_STD_LIST stuff
7816
7817         * paragraph_funcs.h: remove paragraph.h include
7818
7819         * paragraph.h: delete NO_STD_LIST stuff
7820
7821         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7822
7823         * buffer.h: remove paragraph.h include
7824
7825         * ParagraphList.C: delete file
7826
7827         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7828
7829         * toc.C (getTocList): adjust
7830
7831         * paragraph_pimpl.C (validate): adjust
7832
7833         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7834
7835         * paragraph.C (Paragraph): adjust
7836         (getPositionOfInset): use const_iterator, adjust
7837         (bibitem): use const_iterator, adjust
7838         (setInsetOwner): adjust
7839
7840         * iterators.C (operator++): adjust
7841
7842         * InsetList.[Ch]: Replace selfmade iterator with standard
7843         vector::iterator also introduce const_iterator. Remove getPos,
7844         getInset and setInset from InsetTable. Adjust accordingly.
7845
7846         * BufferView.C (lockInset): adjust
7847         (ChangeInsets): adjust
7848
7849         * tabular.[Ch]: delete commented same_id functions
7850
7851 2003-05-28  John Levon  <levon@movementarian.org>
7852
7853         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7854
7855 2003-05-28  André Pönitz  <poenitz@gmx.net>
7856
7857         * metricsinfo.[Ch]: remove 'fullredraw' member
7858
7859 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
7860
7861         * lyxtextclass.C (operator): remove caching.
7862
7863 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7864
7865         * text3.C: adjust
7866
7867         * text2.C (cursorBottom): adjust
7868         (setCounter): use ParagraphList::find, adjust
7869
7870         * text.C (workWidth): use ParagraphList::find, adjust
7871
7872         * lyxcursor.C (LyXCursor): adjust
7873
7874         * buffer.C (inset_iterator): adjust
7875
7876         * ParagraphList.h: make iterator(value_type) private, make
7877         ParagraphList a friend of iterator.
7878
7879         * ParagraphList.C (find): new function
7880
7881         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7882
7883 2003-05-27  André Pönitz  <poenitz@gmx.net>
7884
7885         * dimension.[Ch]: a -> asc, d -> des, w -> wid
7886
7887 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7888
7889         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7890
7891 2003-05-26  John Levon  <levon@movementarian.org>
7892
7893         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7894
7895 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7896
7897         * remove same_id from function signatures, adjust.
7898
7899 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7900
7901         * undo_funcs.C (createUndo): use the id functions directly, adjust.
7902
7903         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7904
7905         * paragraph.C (Paragraph): get rid of same_ids parameter
7906
7907         * ParagraphList.C (insert): adjust
7908         (push_back): adjust
7909
7910 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7911
7912         * paragraph_funcs.C (breakParagraph): adjust
7913         (breakParagraphConservative): adjust
7914
7915         * buffer.C (readParagraph): adjust
7916
7917         * ParagraphList.C (insert): take a reference instead of a pointer
7918         (insert): adjust
7919
7920         * paragraph.[Ch] (id): new function
7921
7922         * bufferlist.C (newFile): adjust
7923
7924         * ParagraphList.C (ParagraphList): adjust
7925         (assign): adjust
7926         (push_back): take a reference instead of a pointer.
7927
7928         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7929
7930         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7931         instead.
7932
7933         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7934         set else use old code.
7935
7936         * ParagraphList.C: remove all NO_NEXT code and only compile this
7937         code of NO_STD_LIST is set.
7938
7939 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7940
7941         * BufferView_pimpl.C:
7942         * TextCache.C:
7943         * TextCache.h:
7944         * bufferlist.C:
7945         * errorlist.h:
7946         * format.C:
7947         * format.h:
7948         * graph.C:
7949         * lyxfunc.C:
7950         * lyxrc.C:
7951         * graphics/GraphicsConverter.C:
7952         * graphics/PreviewLoader.C: header adjustment
7953
7954 2003-05-23  Angus Leeming  <leeming@lyx.org>
7955
7956         * LaTeXFeatures.[Ch] (useBabel): new method.
7957         * bufferparams.C (writeLaTeX): use it.
7958
7959 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7960
7961         * ParagraphList.h (set): remove unused function.
7962
7963 2003-05-23  André Pönitz  <poenitz@gmx.net>
7964
7965         * BufferView.C:
7966         * BufferView_pimpl.C:
7967         * buffer.C:
7968         * buffer.h:
7969         * lyxfunc.C:
7970         * undo_funcs.C: setUndo reworked
7971
7972         * iterators.[Ch]: add access to topmost ParagraphList
7973
7974         * lyxtext.[Ch] (workWidth): add a const
7975
7976 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7977
7978         * texrow.[Ch] (increasePos): remove function
7979         * exporter.C (export): removed unused var and outdated comment
7980
7981 2003-05-23  Angus Leeming  <leeming@lyx.org>
7982
7983         * latexrunparams.h: rename fragile as moving_arg.
7984         * paragraph.C (simpleTeXOnePar): ditto.
7985         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7986
7987 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7988
7989         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7990         (createUndo): ditto
7991         (textUndoOrRedo): comment out a currently unused var.
7992
7993         * paragraph.h (NO_NEXT): enable NO_NEXT
7994
7995         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7996
7997         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7998
7999         * exporter.C (Export): adjust for removeAutoInsets removal.
8000
8001         * buffer.C (runChktex): adjust for removeAutoInsets removal.
8002
8003         * LyXAction.C (init): remove LFUN_REMOVEERRORS
8004
8005         * BufferView.[Ch] (removeAutoInsets): delete function
8006
8007 2003-05-22  Angus Leeming  <leeming@lyx.org>
8008
8009         * latexrunparams.h: add a free_spacing variable.
8010
8011         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
8012         to pass moving_arg, as the data is stored in runparams.fragile.
8013
8014         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
8015         to Inset::latexOptional or to simpleTeXOnePar.
8016
8017         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
8018         free_spacing arg to Inset::latexOptional.
8019
8020         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
8021         free_spacing arg.
8022
8023 2003-05-22  Angus Leeming  <leeming@lyx.org>
8024
8025         * latexrunparams.h: add fragile and use_babel variables.
8026
8027         * bufferparams.[Ch] (writeLaTeX): return use_babel.
8028         * buffer.C (makeLaTeXFile): store this returned value in
8029         runparams.use_babel, thus passing it to the inset::latex methods.
8030
8031         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
8032         simpleTeXSpecialChars as it is now stored in runparams.fragile.
8033
8034         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
8035         longer has a fragile arg, as it is stored in runparams.fragile.
8036
8037         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
8038         moving_arg parameter as the data is stored in runparams.fragile.
8039
8040         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
8041         a fragile parameter as the data is stored in runparams.fragile.
8042
8043 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8044
8045         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
8046
8047 2003-05-22  Angus Leeming  <leeming@lyx.org>
8048
8049         * latexrunparams.h: add a 'bool nice' which defaults to false.
8050
8051         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
8052         now encapsulated within runparams.
8053
8054         * bufferlist.C (updateIncludedTeXfiles):
8055         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
8056
8057 2003-05-22  Angus Leeming  <leeming@lyx.org>
8058
8059         * latexrunparams.h: new file containing struct LatexRunParams.
8060         * Makefile.am: add new file.
8061
8062         * LaTeX.[Ch] (c-tor, run):
8063         * buffer.[Ch] (makeLaTeXFile):
8064         * bufferlist.[Ch] (updateIncludedTeXfiles):
8065         * converter.C (convert, scanLog):
8066         * converter.[Ch] (runLaTeX):
8067         * exporter.C (Export):
8068         * paragraph.[Ch] (simpleTeXOnePar):
8069         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
8070         * paragraph_funcs.[Ch] (latexParagraphs):
8071         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
8072         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
8073         pass around a LatexRunParams parameter.
8074
8075 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8076
8077         * paragraph.[Ch]: remove unused constructor
8078
8079         * ParagraphList.C (erase): new function, taking two iterators
8080
8081 2003-05-22  André Pönitz  <poenitz@gmx.net>
8082
8083         * undo_funcs.C: remove duplicated code
8084
8085         * iterator.[Ch]: operator=
8086
8087 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8088
8089         * tabular.C (SetMultiColumn): ws changes
8090
8091         * rowpainter.C (paintFirst): get rid of a ->previous
8092
8093         * lyx_cb.C (getPossibleLabel): parlist simplification
8094
8095         * BufferView.C (ChangeInsets): simplify slightly.
8096
8097 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
8098
8099         * LyXAction.C: new lfun space-insert, kill protected-space-insert
8100         * lfuns.h: new LFUN_SPACE
8101         * lyxfunc.C: protected space has a new lfun
8102         * paragraph_funcs.C: read new space insets
8103         * text3.C:
8104         * factory.C: handle new space insets
8105
8106 2003-05-22  André Pönitz  <poenitz@gmx.net>
8107
8108         * BufferView.C:
8109         * BufferView_pimpl.C:
8110         * buffer.[Ch]:
8111         * lyxfunc.C:
8112         * undo_funcs.C: return a ParIterator from getParFromID.
8113
8114         * iterators.[Ch]: add two const's
8115
8116 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
8117
8118         * toc.C (getTocList): adjust
8119
8120         * iterators.[Ch]: rework for parlist
8121
8122         * buffer.C (par_iterator_begin): adjust
8123         (par_iterator_end): adjust
8124
8125         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
8126
8127         * BufferView.C (removeAutoInsets): adjust
8128         (ChangeInsets): adjust
8129
8130 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
8131
8132         * text.C (top_y): fix bug 1110
8133
8134 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
8135
8136         * errorlist.[Ch]: added
8137         * buffer.C:
8138         * BufferView.[Ch]:
8139         * BufferView_pimpl.C:
8140         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
8141         instead
8142
8143 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8144
8145         * Makefile.am: ensure that lyx is relinked upon changes to the
8146         various "convenience" libs.
8147
8148 2003-05-20  Angus Leeming  <leeming@lyx.org>
8149
8150         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
8151         files are compiled in alphabetical order again.
8152
8153         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
8154
8155 2003-05-19  Angus Leeming  <leeming@lyx.org>
8156
8157         * gettext.[Ch]: remove "char const * _(char const *)".
8158
8159 2003-05-19  André Pönitz  <poenitz@gmx.net>
8160
8161         * dimension.[Ch]: promote from mathed/dimension.[Ch]
8162
8163         * Makefile.am:
8164         * BufferView.C:
8165         * DepTable.h:
8166         * LaTeXFeatures.C:
8167         * buffer.C:
8168         * lyxfont.C:
8169         * lyxlex.h:
8170         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
8171
8172 2003-05-19  André Pönitz  <poenitz@gmx.net>
8173
8174         * buffer.C:
8175         * lyxlayout.[Ch]:
8176         * lyxtextclass.[Ch]:
8177         * paragraph.C:
8178         * paragraph_funcs.[Ch]:
8179         * text2.C:
8180         * text3.C: more insetenv work
8181
8182 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
8183
8184         * ParagraphParameters.C (params2string): small bug fixed
8185
8186 2003-05-16  André Pönitz  <poenitz@gmx.net>
8187
8188         * debug.C:
8189         * bufferview_funcs.C: patch from Kornel Benko to prevent
8190           crash when _(...) is called twice in a statement
8191
8192 2003-05-16  André Pönitz  <poenitz@gmx.net>
8193
8194         * BufferView.C:
8195         * lyxfunc.C:
8196         * text.C:
8197         * text2.C:
8198         * text3.C:
8199         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
8200
8201 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
8202
8203         * lyx_main.C (init): remove spurious static_cast
8204
8205 2003-05-14  André Pönitz  <poenitz@gmx.net>
8206
8207         * BufferView.C: fix format string
8208
8209 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
8210
8211         * BufferView.[Ch] (insertErrors): removed
8212         * BufferView.[Ch] (showErrorList): added
8213         * buffer.C (runChkTeX):
8214         * converter.C (scanLog): call showErrorList instead of inserterrors
8215
8216 2003-05-13  André Pönitz  <poenitz@gmx.net>
8217
8218         * BufferView_pimpl.C:
8219         * buffer.C:
8220         * bufferview_func.C:
8221         * MenuBackend.C:
8222         * lyxfunc.C:
8223         * lyxrc.C:
8224         * tex-accent.C:
8225         * text3.C:
8226         * toc.C:
8227         * tabular_funcs.h: tostr() from its own header
8228
8229         * ParagraphParameters.C:
8230         * ToolbarBackend.C:
8231         * bufferparams.C:
8232         * format.C:
8233         * lyxlex_pimpl.C:
8234         * text3.C: STRCONV()
8235
8236 2003-05-12  André Pönitz  <poenitz@gmx.net>
8237
8238         * BufferView.C:
8239         * BufferView_pimpl.C:
8240         * CutAndPaste.C:
8241         * LaTeX.C:
8242         * LaTeXFeatures.C:
8243         * ParagraphParameters.C:
8244         * buffer.C:
8245         * bufferlist.C:
8246         * bufferparams.C:
8247         * bufferview_funcs.C:
8248         * converter.C:
8249         * counters.C:
8250         * debug.C:
8251         * exporter.C:
8252         * format.C:
8253         * importer.C:
8254         * lyx_cb.C:
8255         * lyx_main.C:
8256         * lyxfont.C:
8257         * lyxfunc.C:
8258         * lyxvc.C:
8259         * paragraph.C:
8260         * paragraph_funcs.C:
8261         * tabular.C:
8262         * tabular_funcs.C:
8263         * text2.C:
8264         * text3.C:  boost::format -> bformat  all over the place
8265
8266
8267 2003-05-09  André Pönitz  <poenitz@gmx.net>
8268
8269         * LColor.[Ch]: Pimpl the #include <map> away
8270
8271 2003-05-09  John Levon  <levon@movementarian.org>
8272
8273         * bufferlist.C: never remove emergency saves
8274
8275 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8276
8277         * Makefile.am: better lib building
8278
8279 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
8280
8281         * texrow.[Ch]: remove dependency on Paragraph and just store a id
8282         instead.
8283         * paragraph_pimpl.C (simpleTeXBlanks): adjust
8284         (simpleTeXSpecialChars): adjust
8285         (simpleTeXSpecialChars): adjust
8286         * paragraph.C (simpleTeXOnePar): adjust
8287         * buffer.C (makeLaTeXFile): adjust
8288
8289         * Makefile.am (BOOST_LIBS): allow boost as system lib.
8290
8291         * text2.C (changeDepth): parlist cleanup
8292         (getColumnNearX): ditto
8293
8294         * rowpainter.C (getLabelFont): parlist cleanup
8295
8296         * bufferlist.C (newFile): parlist cleanup
8297
8298         * CutAndPaste.C (eraseSelection): parlist cleanup
8299
8300         * BufferView_pimpl.C (trackChanges): parlist cleanup
8301         (dispatch): ditto
8302
8303         * BufferView.C (lockInset): parlist cleanup.
8304         (ChangeInsets): ditto
8305
8306 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8307
8308         * CutAndPaste.h: Update file header.
8309
8310         * CutAndPaste.C: Update file header.
8311         Store the parts cut out of the Document in a limited_stack.
8312         (copySelection): adjust
8313         (pasteSelection): new function, takes the index in the limited stack.
8314         (nrOfParagraphs): adjust
8315         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
8316         simplify error inset insertion.
8317         (checkPastePossible): adjust
8318
8319 2003-05-06  John Levon  <levon@movementarian.org>
8320
8321         * text2.C: don't cast wrap inset to float
8322
8323 2003-05-05  André Pönitz  <poenitz@gmx.net>
8324
8325         * iterator.C:
8326         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
8327
8328         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
8329           few naked Paragraph *.
8330
8331 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
8332
8333         * bufferparams.C: Output warning if a document with missing
8334         TeX document class is loaded
8335         * exporter.C: Disable TeX exports if the document class is missing
8336         * lyxtextclass.C:
8337         * lyxtextclass.h:
8338         * lyxtextclasslist.C: Handle new textclass.lst format; new method
8339         isTeXClassAvailable()
8340
8341 2003-05-03  John Levon  <levon@movementarian.org>
8342
8343         * BufferView.h:
8344         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
8345         explicit cursor show/hide
8346
8347         * BufferView_pimpl.h:
8348         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
8349         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
8350
8351         * lyxfunc.C: hide cursor before dispatching.
8352
8353         * lyx_cb.C:
8354         * lyxfind.C:
8355         * text.C:
8356         * text3.C: remove explicit cursor hides
8357
8358 2003-05-02  André Pönitz  <poenitz@gmx.net>
8359
8360         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
8361
8362         * undo_funcs.C:
8363         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
8364           linked lists
8365
8366         * text2.C: tiny whitespace
8367
8368 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8369
8370         * undo_funcs.C: almost only ws changes.
8371
8372         * ParagraphList.C (splice): just return if pl is empty.
8373
8374 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8375
8376         * ParagraphList.C (splice): new function.
8377
8378         * CutAndPaste.C (pasteSelection): use it
8379
8380 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8381
8382         * CutAndPaste.C (pasteSelection): remove the last next and
8383         previous from this file.
8384
8385 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8386
8387         * CutAndPaste.C (pasteSelection): more clean up, user proper
8388         ParagraphList functions for pasteing.
8389
8390         * ParagraphList.C (insert): new function, three arg insert
8391
8392 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8393
8394         * ParagraphList.C (insert): new function, three arg insert
8395
8396         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
8397         not on paragraphs.
8398
8399 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8400
8401         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
8402
8403 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8404
8405         * CutAndPaste.C (pasteSelection): remove some unneeded code.
8406
8407 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8408
8409         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
8410         (copySelection): clean up a bit.
8411         (pasteSelection): use make_pair
8412
8413         * ParagraphList.C (ParagraphList): implement copy constructor
8414         (operator=): implement, base on copy constructor.
8415         (assign): new func
8416
8417         * paragraph.C (erase): return a bool
8418
8419         * paragraph_pimpl.C (erasePos): remove function, move contents...
8420         (erase): ... here. Return a bool.
8421         (erase): call erase instead of erasePos.
8422
8423 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
8424
8425         * ParagraphList.h: define PitPosPair
8426         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
8427         ParagraphList, fix a bug on pasting multiple pars
8428         * text2.C: change interface to C&P
8429
8430 2003-04-30  André Pönitz  <poenitz@gmx.net>
8431
8432         * undo_func.C: revert part of yesterday's patch 2
8433
8434 2003-04-30  John Levon  <levon@movementarian.org>
8435
8436         * LColor.C: s/tabular/table/
8437
8438 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8439
8440         * text3.C (dispatch): do not convert iterator -> pointer
8441         * undo_funcs.C (setCursorParUndo): ditto
8442         * text_funcs.C (transposeChars): ditto
8443
8444         * text2.C (setLayout): ws changes only
8445
8446         * text.C (breakParagraph): do not convert iterator -> pointer
8447         (insertChar): ditto
8448         (acceptChange): ditto
8449         (rejectChange): ditto
8450         (changeCase): ditto
8451         (Delete): ditto
8452         (backspace): ditto
8453
8454         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
8455         pointer
8456
8457 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8458
8459         * text3.C (gotoInset): YABG (yet another bad getChar)
8460
8461 2003-04-29  André Pönitz  <poenitz@gmx.net>
8462
8463         * paragraph.h: make operator= private unimplemented as long as
8464           it is unusable
8465
8466         * ParagraphList.C: whitespace
8467
8468         * paragraph.[Ch]:
8469         * paragraph_pimpl.[Ch]:
8470         * paragraph_funcs.C:
8471         * CutAndPaste.C:
8472         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
8473
8474         * text2.C:
8475           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8476
8477 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8478
8479         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8480         * paragraph.[Ch] (erase):
8481         * paragraph_pimpl.[Ch] (erase): change return type and value
8482         * text2.C (cutSelection): some rework
8483
8484 2003-04-28  John Levon  <levon@movementarian.org>
8485
8486         * bufferlist.C: changes for unsaved changes dialog
8487
8488 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8489
8490         * bufferlist.C (newFile): set language (messages_) for new
8491         documents also.
8492
8493         * buffer.C (readFile): ws changes only.
8494
8495 2003-04-28  André Pönitz  <poenitz@gmx.net>
8496
8497         * undo_funcs.C:
8498         * lyxfunc.C:
8499         * buffer.[Ch]:
8500         * BufferView_pimpl.C:
8501         * BufferView.C: getParFromID related ParagraphList::iterator changes
8502
8503 2003-04-28  André Pönitz  <poenitz@gmx.net>
8504
8505         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8506           Changes
8507
8508 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8509
8510         * messages.C: remove one more localedir class variable.
8511
8512 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8513
8514         * messages.C (getLocaleDir): singleton generation function
8515         (Pimpl): use it.
8516         (Messages): add a default constructor.
8517
8518         * main.C (main): do not setup localedir here, do not call
8519         gettext_init.
8520
8521         * gettext.C (_): use it.
8522         (gettext_init): delete funciton
8523
8524 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8525
8526         * gettext.C (getLyXMessages): new singleton generating function.
8527
8528         * buffer.C (updateDocLang): adjust
8529
8530         * Makefile.am (messages.o): add target
8531         (main.o): remove target
8532
8533 2003-04-27  John Levon  <levon@movementarian.org>
8534
8535         * bufferlist.C:
8536         * lyx_cb.C:
8537         * lyxfunc.C:
8538         * lyxvc.C: specify cancel button in Alert::prompt
8539
8540 2003-04-26  John Levon  <levon@movementarian.org>
8541
8542         * text3.C:
8543         * lyxfunc.C:
8544         * lfuns.h:
8545         * LyXAction.C: add LFUN_INSET_SETTINGS
8546
8547         * lyxfunc.C: don't enable tabular-feature when there's
8548         just any locking inset
8549
8550 2003-04-26  John Levon  <levon@movementarian.org>
8551
8552         * bufferlist.C: re-add Cancel to buffer close question
8553
8554         * lyxfunc.C: fix import UI a bit
8555
8556 2003-04-25  John Levon  <levon@movementarian.org>
8557
8558         * gettext.C: remove the broken asserts for now
8559
8560 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8561
8562         * messages.C: make case where setlocale cannot comply work better.
8563
8564         * buffer.C (updateDocLang): new function
8565         (changeLanguage): use it
8566         (readFile): use it
8567
8568         * text2.C (setCounter): use B_ a bit.
8569
8570         * lyxlayout.C (Read): be sure to trim the label strings.
8571
8572         * messages.C (Messages): fix typo in comment
8573
8574         * buffer.C (readFile): set message_ after file is loaded.
8575         (makeDocBookFile): remove double return
8576         (changeLanguage): reset message_ upon language change.
8577         (B_): new func, use this to get translated buffer strings.
8578
8579         * main.C: add myself and Jean Marc as authors.
8580
8581 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8582
8583         * messages.[hC]: pimplify Messages, and three different pimpls to be
8584         used in different circumstances.
8585
8586         * gettext.[Ch]: change for use with new message code.
8587
8588 2003-04-24 André Pönitz <poenitz@gmx.net>
8589
8590         * factory.C: support for eqref
8591
8592 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
8593
8594         * messages.[Ch]: add missing char
8595
8596         * Makefile.am (lyx_SOURCES): add messages.[Ch]
8597
8598         * messages.[Ch]: New files
8599
8600 2003-04-18  John Levon  <levon@movementarian.org>
8601
8602         * BufferView.h:
8603         * BufferView.C:
8604         * BufferView_pimpl.C:
8605         * lfuns.h:
8606         * LyXAction.C:
8607         * lyxtext.h:
8608         * text2.C: remove layout-copy/paste (bug 778)
8609
8610 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8611
8612         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8613
8614 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8615
8616         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8617         if they succeed. Act accordingly.
8618
8619 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8620
8621         * text2.C (setCharFont): adjust
8622         (setCounter): adjust
8623         (insertStringAsLines): adjust
8624
8625         * text.C (leftMargin): adjust
8626         (setHeightOfRow): adjust
8627
8628         * rowpainter.C (paintFirst): adjust
8629         (paintLast): adjust
8630
8631         * paragraph_funcs.C (depthHook): ParagraphList::iterators
8632         (outerHook): ditto
8633         (isFirstInSequence): ditto
8634         (getEndLabel): ditto
8635         (outerFont): adjust
8636
8637         * paragraph.C (getParLanguage): comment out some hard stuff.
8638
8639         * buffer.C (insertStringAsLines): take a ParagraphList as arg
8640         (sgmlError): ditto
8641         (simpleDocBookOnePar): ditto
8642         (makeDocBookFile): use ParagraphList::iterator
8643
8644         * CutAndPaste.C (pasteSelection): adjust
8645
8646 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8647
8648         * text2.C (getFont): adjust
8649         (getLayoutFont): adjust
8650         (getLabelFont): adjust
8651
8652         * paragraph_funcs.C (TeXOnePar): adjust
8653
8654         * buffer.C (simpleLinuxDocOnePar): adjust
8655         (simpleDocBookOnePar): adjust
8656
8657         * CutAndPaste.C (pasteSelection): adjust
8658
8659         * BufferView.C (getEncoding): adjust
8660
8661         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8662
8663 2003-04-16  John Levon  <levon@movementarian.org>
8664
8665         * lyxfind.C: use parlist stuff for search/changes
8666
8667 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8668
8669         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8670
8671         * text2.C (deleteEmptyParagraphMechanism): adjust
8672
8673         * text2.[Ch] (ownerParagraph): delete func (both of them
8674
8675 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8676
8677         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8678
8679 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8680
8681         * ParagraphList.C: prepare for NO_NEXT
8682
8683 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8684
8685         * text2.C (getFont): adjust
8686         (getLayoutFont): adjust
8687         (getLabelFont): adjust
8688
8689         * paragraph.C (getFont): adjust
8690         (getLabelFont): adjust
8691         (getLayoutFont): adjust
8692
8693         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8694
8695 2003-04-15  John Levon  <levon@movementarian.org>
8696
8697         From Angus Leeming
8698
8699         * lyx_main.C: handle Include in .ui files
8700
8701 2003-04-15  John Levon  <levon@movementarian.org>
8702
8703         * MenuBackend.C: make the doc files length shorter
8704
8705         * ToolbarBackend.h:
8706         * ToolbarBackend.C: handle toolbar placement flags,
8707         Minibuffer
8708
8709 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8710
8711         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8712         adjust
8713
8714         * paragraph_funcs.C (TeXOnePar): adjust
8715
8716         * paragraph.C (getLabelFont): add outerfont arg, adjust
8717         (getLayoutFont): ditto
8718         (simpleTeXOnePar): adjust
8719
8720         * paragraph_pimpl.C (realizeFont): delete func
8721
8722 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
8723
8724         * text2.C (beforeFullRowInset): added a bad getchar check, removed
8725         row argument, constify cur argument.
8726
8727 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8728
8729         * text2.C (getFont): adjust
8730         (getLayoutFont): adjust
8731         (getLabelFont): adjust
8732
8733         * paragraph_funcs.C (TeXOnePar): adjust
8734         (outerFont): new func...
8735         (realizeFont): ...moved out from here, changed this to facilitate
8736         transition
8737
8738         * paragraph.C (getFont): take outerfont as arg, adjust
8739         (simpleTeXOnePar): add outerfont arg, adjust
8740
8741         * buffer.C (simpleLinuxDocOnePar): adjust
8742         (simpleDocBookOnePar): adjust
8743
8744         * CutAndPaste.C (pasteSelection): adjust
8745
8746         * BufferView.C (getEncoding): adjust
8747
8748 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8749
8750         * text2.C (setCharFont): adjust
8751         (setCounter): adjust
8752
8753         * text.C (leftMargin): adjust
8754         (setHeightOfRow): adjust
8755
8756         * rowpainter.C (paintFirst): adjust
8757         (paintLast): adjust
8758
8759         * paragraph_pimpl.C (realizeFont): adjust
8760
8761         * paragraph.C (isFirstInSequence): move from here...
8762         * paragraph_funcs.C (isFirstInSequence): ...to here
8763
8764         * paragraph.C (outerHook): move from here...
8765         * paragraph_funcs.C (outerHook): ...to here
8766
8767         * paragraph.C (depthHook): move from here...
8768         * paragraph_funcs.C (depthHook): ...to here
8769
8770         * paragraph.C (getEndLabel): move from here...
8771         * paragraph_funcs.C (getEndLabel): ...to here
8772
8773         * text2.C (realizeFont): move from here...
8774         * paragraph_funcs.C (realizeFont): ...to here
8775
8776 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8777
8778         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8779
8780 2003-04-14  Angus Leeming  <leeming@lyx.org>
8781
8782         * LColor.[Ch]: scrap LColor mathcursor.
8783
8784 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8785
8786         * lyxlex.[Ch] (text): delete function
8787         * trans.C (Load): adjust
8788         * paragraph_funcs.C (readParToken): adjust
8789
8790 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8791
8792         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8793         vector<char> instead of a char[].
8794
8795         * lyxlex_pimpl.C (getString): adjust
8796         (next): adjust
8797         (lex): use getString
8798         (eatLine): adjust
8799         (nextToken): adjust
8800
8801         * lyxlex.C (text): use pimpl_->getString()
8802         (getBool): ditto
8803         (findToken): ditto
8804
8805 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8806
8807         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8808         (makeFontEntriesLayoutSpecific): temp var for par.size()
8809         (setLayout): temp var for ownerParagraphs().end()
8810         (fullRebreak): temp var for rows().end()
8811         (selectionAsString): temp var for boost::next(startpit), realize
8812         that the while really is a regular for loop.
8813         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8814         setCursor in one place.
8815         (setParagraph): temp vr for ownerParagraphs().end()
8816         (updateCounters): make the while loop a for loop
8817         (cutSelection): temp var for ownerParagraphs().end()
8818         (updateInset): make the do {} while() a regular for loop
8819         (getCursorX): use temp vars
8820         (setCurrentFont): use temp vars
8821         (getColumnNearX): use temp vars
8822
8823 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8824
8825         * text.C (transformChar): use temp var for getChar
8826         (computeBidiTables): use temp var for row->par()
8827         (fill): move temp vars for row->par() and pit->layout() earlier in
8828         the function.
8829         (labelFill): use temp var for row->par()
8830         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8831         asc and desc, realize that pit never changes and that firstpit is
8832         just a duplicate and not needed. Exchange rit->par() with pit in a
8833         lot of places.
8834         (breakAgain): use a temp var for boost::next(rit)
8835         (breakAgainOneRow): ditto
8836         (breakParagraph): use a temp var for rows().begin()
8837         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8838         (cursorRightOneWord): use temp var for cursor.par() and
8839         cursor.pos(), remove usage of tmpcursor.
8840         (cursorLeftOneWord): use temp var for cursor.par() and
8841         cursor.pos() only set cur at end of function.
8842
8843 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8844
8845         * text.C, text2.C: exchange all usage of Paragraph::next with
8846         boost::next(ParagraphList::iterator)
8847
8848         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8849
8850         * text2.C (cursorTop): simplify implementation
8851         (cursorBottom): ditto
8852         (setParagraph): use ParagraphList::iterator
8853         (setCurrentFont): adjust
8854         (getColumnNearX): adjust
8855         (cursorRight): adjust
8856         (cursorLeft): remove usage of Paragraph::previous
8857         (cursorUpParagraph): ditto
8858         (deleteEmptyParagraphMechanism): slight cleanup
8859
8860         * text.C (isBoundary): take a Paragraph const & instead of a
8861         pointer as arg.
8862         (addressBreakPoint): ditto
8863         (leftMargin): remove usage of Paragraph::previous.
8864         (setHeightOfRow): ditto
8865         (cursorLeftOneWord): ditto
8866         (selectNextWordToSpellcheck): ditto
8867         (Delete): ditto
8868         (backspace): ditto
8869         (breakParagraph): remove one usage of Paragraph::next
8870         (redoParagraph): ditto
8871         (acceptChange): ditto
8872         (insertChar): adjust
8873         (rowBreakPoint): adjust
8874
8875         * bufferview_funcs.C (toggleAndShow): adjust
8876
8877 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
8878
8879         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8880         methods to access it.
8881         * lyxtext.h:
8882         * text.C: Added updateRowPositions to compute all row positions.
8883         Make top_y and getRowNearY() to use the cached y position
8884
8885 2003-04-11  John Levon  <levon@movementarian.org>
8886
8887         * text.C (rowBreakPoint): reintroduce the labelEnd
8888         checks, code copied from the row fill stuff. Deep voodoo.
8889
8890         * text.C (fill): add a comment and debugging for the
8891         next poor soul.
8892
8893 2003-04-11  John Levon  <levon@movementarian.org>
8894
8895         * text.C: make sure fullrow insets get wrapped to the next line,
8896         even when they're in a manual label
8897
8898 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8899
8900         * text2.C (insertParagraph): make it take ParagraphList::iterator
8901         as arg.
8902         (setLayout): make it return ParagraphList::iterator
8903         (redoParagraphs): ditto
8904         (setCounter): ditto
8905         (checkParagraph): ditto
8906
8907         * text.C (getRow): make getrow take ParagraphList::iterator as arg
8908
8909         * text2.C: adjust several funcs.
8910         (realizeFont): take a ParagraphList::iterator as arg.
8911         (getLayoutFont): ditto
8912         (getLabelFont): ditto
8913         (setCharFont): ditto
8914
8915         * text.C: adjust several funcs.
8916
8917 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8918
8919         * text.C (selectNextWordToSpellcheck): don't accidentally
8920         skip insets
8921
8922 2003-04-10  John Levon  <levon@movementarian.org>
8923
8924         * ToolbarBackend.C (getIcon): special handling for
8925         LFUN_MATH_DELIM
8926
8927 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8928
8929         * text2.C (cursorRight): a getChar assert fixed
8930
8931 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8932
8933         * text2.C (getFont): change to take a ParagraphList::iterator
8934         instead of Paragraph*
8935         Adjust several functions.
8936
8937         * text.C (transformChar): change to take a ParagraphList::iterator
8938         instead of Paragraph*
8939         (singleWidth): ditto
8940         Adjust several functions.
8941
8942         * rowpainter.C: adjust several functions
8943         * rowpainter.h:store a ParagraphList::iterator and not a
8944         Paragraph&.
8945
8946
8947 2003-04-09  John Levon  <levon@movementarian.org>
8948
8949         * lyxfunc.C:
8950         * lfuns.h:
8951         * LyXAction.h:
8952         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8953         and the "help" bits as well
8954
8955 2003-04-09  John Levon  <levon@movementarian.org>
8956
8957         * ToolbarBackend.h:
8958         * ToolbarBackend.C: allow multiple toolbars
8959
8960 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8961
8962         * undo_funcs.C (setCursorParUndo): adjust
8963
8964         * text_funcs.C (transposeChars): adjust
8965
8966         * text3.C (gotoNextInset): adjust
8967         (dispatch): adjust
8968
8969         * text2.C (setLayout): adjust
8970         (changeDepth): adjust
8971         (setFont): adjust
8972         (redoParagraphs): adjust
8973         (selectionAsString): adjust
8974         (setParagraph): adjust
8975         (insertInset): adjust
8976         (cutSelection): adjust
8977         (copySelection): adjust
8978         (pasteSelection): adjust
8979         (insertStringAsLines): adjust
8980         (updateInset): adjust
8981         (setCursor): change to take a ParagraphList::iterator parameter
8982         (setCursorIntern): change to take a ParagraphList::iterator parameter
8983         (setCurrentFont): adjust
8984         (cursorLeft): adjust
8985         (cursorRight): adjust
8986         (deleteEmptyParagraphMechanism): adjust
8987
8988         * text.C (breakParagraph): adjust
8989         (insertChar): adjust
8990         (acceptChange): adjust
8991         (rejectChange): adjust
8992         (selectNextWordToSpellcheck): adjust
8993         (changeCase): adjust
8994         (Delete): adjust
8995         (backspace): adjust
8996
8997         * lyxfind.C (SearchForward): adjust
8998         (SearchBackward): adjust
8999         (nextChange): adjust
9000
9001         * lyxcursor.C (par): adjust
9002
9003         * lyxcursor.h: store a ParagraphList::iterator instead of a
9004         Paragraph*
9005
9006         * lyx_cb.C (getPossibleLabel): adjust
9007
9008         * bufferview_funcs.C (toggleAndShow): adjust
9009
9010         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
9011         (dispatch): adjust
9012
9013         * BufferView.C (removeAutoInsets): adjust
9014         (lockedInsetStoreUndo): adjust
9015
9016 2003-04-09  John Levon  <levon@movementarian.org>
9017
9018         * ToolbarBackend.C: try icon without argument
9019         if with argument fails
9020
9021 2003-04-08  John Levon  <levon@movementarian.org>
9022
9023         * ToolbarBackend.h:
9024         * ToolbarBackend.C: add getIcon(), handle tooltip,
9025         and change from "Icon" to "Item".
9026
9027 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
9028
9029         * BufferView.C (lockInset): another bad getchar crunched
9030
9031 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
9032
9033         * text2.C (changeDepth): do not setUndo on test_only (make undo work
9034         again)
9035
9036 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
9037
9038         * lyxfind.C (searchForward, searchBackwards): bug 782
9039
9040 2003-04-07  John Levon  <levon@movementarian.org>
9041
9042         * paragraph.C: remove dead comment
9043
9044         * text.C: remove troublesome depth-fiddling code
9045         in leftMargin() and rightMargin() (bug 1017)
9046
9047         * text.C: fix breaking of rows in nested lists
9048         (bug 1004)
9049
9050         * text2.C (updateCounters): fix up depth values
9051         (bug 1013)
9052
9053 2003-04-07  John Levon  <levon@movementarian.org>
9054
9055         * BufferView_pimpl.C: clear message when doc finishes resizing,
9056         and after a mouse event
9057
9058         * lyxfunc.C: clear message after exiting inset
9059
9060 2003-04-07  John Levon  <levon@movementarian.org>
9061
9062         * bufferview_funcs.C: show math status not outside
9063         status in the statusbar
9064
9065 2003-04-07  John Levon  <levon@movementarian.org>
9066
9067         * lyxfunc.C: note status changed after a depth change
9068
9069 2003-04-04  Angus Leeming  <leeming@lyx.org>
9070
9071         * LaTeX.h: move AuxInfo operator==, != out of line.
9072         Remove LaTeX virtual destructor; nothing derives from it.
9073         Move operator()() out of public area and rename it startscript().
9074         Change protected for private.
9075
9076 2003-04-04  Angus Leeming  <leeming@lyx.org>
9077
9078         * lyxfunc.C:
9079         * text2.C: remove unneeded #includes.
9080
9081 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
9082
9083         * text2.C (dEPM): fix the heigth of the next row
9084
9085 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
9086
9087         * text.C: squashed an invalid getChar requester + some ws changes
9088
9089 2003-04-03  John Levon  <levon@movementarian.org>
9090
9091         * bufferview_funcs.h:
9092         * bufferview_funcs.C:
9093         * lyxfunc.C:
9094         * lyxtext.h:
9095         * text2.C: make getStatus work for the env depth lfuns
9096
9097 2003-04-03  John Levon  <levon@movementarian.org>
9098
9099         * bufferview_funcs.h:
9100         * bufferview_funcs.C:
9101         * lyxfunc.C:
9102         * lyxtext.h:
9103         * text2.C: parlistize decDepth(), by merging it with incDepth()
9104
9105 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9106
9107         * lyxrow.h: store a ParagraphList::iterator instead of a
9108         Paragraph* and adjust other class functions to suit.
9109
9110         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
9111         above.
9112
9113 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
9114
9115         * text2.C (setCursor): do not anchor to cursor row for the time being
9116
9117 2003-04-02  John Levon  <levon@movementarian.org>
9118
9119         * LyXAction.C:
9120         * lfuns.h:
9121         * lyx_main.C:
9122         * lyxtext.h:
9123         * text.C:
9124         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
9125
9126 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9127
9128         * paragraph.h: make ParagraphList and ParagraphList::iterator
9129         friends of Paragraph.
9130
9131         * buffer.C (makeLinuxDocFile): move towards ParagraphList
9132
9133         * ParagraphList.C: Use the private next_ and previous_ from
9134         Paragraph.
9135
9136 2003-04-01  John Levon  <levon@movementarian.org>
9137
9138         * ToolbarBackend.h:
9139         * ToolbarBackend.C:
9140         * Makefile.am: rename, remove defaults gunk
9141
9142         * MenuBackend.h:
9143         * MenuBackend.C: remove defaults gunk
9144
9145         * Languages.h:
9146         * Languages.C: remove defaults gunk
9147
9148         * lyx_main.h:
9149         * lyx_main.C: error out if files couldn't be found.
9150
9151 2003-04-02  John Levon  <levon@movementarian.org>
9152
9153         * text2.C: make incDepth() use parlist
9154
9155 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9156
9157         * undo_funcs.C (firstUndoParagraph): adjust
9158
9159         * text3.C (gotoInset): adjust
9160         (dispatch): adjust, and rewrite loop.
9161
9162         * text2.C (init): adjust, and rewrite loop.
9163         (redoParagraphs): adjust
9164         (updateInset): adjust, and rewrite loop.
9165         (deleteEmptyParagraphMechanism): adjust
9166
9167         * tabular.C (LyXTabular): adjust
9168         (SetMultiColumn): adjust
9169         (TeXRow): adjust
9170
9171         * lyxtext.[Ch] (ownerParagraph): delete function
9172         (ownerParagraphs): new function returns a ParagraphList.
9173
9174         * BufferView.C (removeAutoInsets): adjust
9175         (insertErrors): adjust
9176         (setCursorFromRow): adjust
9177
9178 2003-04-01  Angus Leeming  <leeming@lyx.org>
9179
9180         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
9181         in the frontends.
9182
9183 2003-04-02  John Levon  <levon@movementarian.org>
9184
9185         * lyxtext.h:
9186         * text.C:
9187         * Makefile.am:
9188         * text_funcs.h:
9189         * text_funcs.C: make transposeChars a free function
9190
9191         * lyxrow_funcs.C: remove wrong comment
9192
9193 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9194
9195         * lyxtext.h: adjust
9196         * rowpainter.C: adjust
9197         * text.C: adjust
9198         * text2.C: adjust
9199         * text3.C: adjust
9200
9201         * lyxrow_funcs. [Ch]: new files
9202
9203         * lyxrow.[Ch]: remove next and previous pointers
9204         (next,previous): remove accessor functions
9205         (isParEnd): move to lyxrow_funcs
9206         (lastPos): move to lyxrow_funcs
9207         (nextRowIsAllInset): move to lyxrow_funcs
9208         (lastPrintablePos): move to lyxrow_funcs
9209         (numberOfSeparators): move to lyxrow_funcs
9210         (numberOfHfills): move to lyxrow_funcs
9211         (numberOfLabelHfills): move to lyxrow_funcs
9212         (hfillExpansion): move to lyxrow_funcs
9213
9214         * lyxfunc.C: adjust
9215
9216         * bufferview_funcs.C (toggleAndShow): adjust
9217
9218         * RowList.h: Remove class RowList from file leave just a
9219         std::list<Row>.
9220
9221         * RowList.C: delete file
9222
9223         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
9224         and lyxrow_funcs.h
9225
9226 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9227
9228         * text3.C (cursorPrevious): adjust
9229         (cursorNext): adjust
9230         (dispatch): adjust
9231
9232         * text2.C (redoHeightOfParagraph): adjust
9233         (redoDrawingOfParagraph): adjust
9234         (setCursor): adjust
9235
9236         * text.C (breakParagraph): adjust
9237         (insertChar): adjust
9238         (backspace): adjust
9239
9240         * rowpainter.C (RowPainter): adjust
9241         (leftMargin): simplify and adjust
9242         (most rowpainter functions): adjust.
9243
9244         * rowpainter.h: store the row as RowList::iterator not as Row*
9245
9246         * lyxcursor.C (row): taka RowList::iterator as arg
9247         (irow): ditto
9248
9249         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
9250         of Row*.
9251
9252 2003-04-01  Angus Leeming  <leeming@lyx.org>
9253
9254         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
9255         stuff like bool Bool.
9256
9257 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
9258
9259         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
9260         rewrite a loop
9261
9262 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9263
9264         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
9265         RowList::iterator.
9266
9267         * lyxtext.h (rows): drop one version and leve a const variant that
9268         returns a RowList::iterator.
9269
9270 2003-03-31  Angus Leeming  <leeming@lyx.org>
9271
9272         * text.C (fill): ensure that the signature is the same as that in the
9273         header file.
9274
9275 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
9276
9277         * text2.C (redoParagraphs): adjust
9278         (updateCounters): adjust
9279         (checkParagraph): adjust
9280         (getColumnNearX): adjust and reformat a bit.
9281
9282         * text.C (top_y): adjust
9283         (workWidth): adjust
9284         (leftMargin): adjust
9285         (prepareToPrint): adjust
9286         (getRow): adjust
9287         (getRowNearY): adjust
9288
9289         * lyxtext.h: make rowlist_ mutable.
9290
9291         * RowList.h: add const_iterator
9292         * RowList.C: adjust for RowList::const_iterator.
9293
9294         * text2.C (getCursorX): make it take a RowList::iterator as arg,
9295         adjust.
9296
9297 2003-03-31  John Levon  <levon@movementarian.org>
9298
9299         * lyxrc.h:
9300         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
9301
9302         * lyx_main.C: set default fonts from using lyx_gui funcs
9303
9304         * exporter.C: pdf_mode moved from lyxrc
9305
9306         * lyx_cb.C:
9307         * lyxfunc.C: changes from above
9308
9309 2003-03-31  John Levon  <levon@movementarian.org>
9310
9311         * lyx_main.C: fix to the last fix
9312
9313 2003-03-31  John Levon  <levon@movementarian.org>
9314
9315         * bufferlist.C: "Load original" -> "Load Original"
9316
9317         * converter.C:
9318         * exporter.C:
9319         * importer.C:
9320         * lyx_main.C:
9321         * format.C: more Alert cleanups
9322
9323 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
9324
9325         * text2.C (removeParagraph): make it take a RowList::iterator as
9326         arg, adjust.
9327         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
9328         (postRowPaint): make it take a RowList::iterator as arg, adjust.
9329
9330         * text.C (anchor_row): make it take a RowList::iterator as arg,
9331         adjust.
9332         (computeBidiTables): make it take a const reference to Row instead
9333         of Row pointer, adjust.
9334         (leftMargin): make it take a RowList::iterator as arg, adjust.
9335         (rowBreakPoint): adjust
9336         (breakAgainOneRow): make it take a RowList::iterator as arg,
9337         adjust.
9338         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
9339
9340         * bufferview_funcs.C (toggleAndShow): adjust
9341
9342 2003-03-30  John Levon  <levon@movementarian.org>
9343
9344         * Makefile.am:
9345         * BoostFormat.h:
9346         * boost-inst.C: moved to support
9347
9348         * several files: changes as a result
9349
9350 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
9351
9352         * text2.C (LyXText): adjust.
9353         (init): adjust
9354         (removeRow): make it take a RowList::iterator as arg, adjust.
9355         (fullRebreak): adjust
9356         (deleteEmptyParagraphMechanism): adjust
9357         (clearPaint): adjust
9358         (postPaint): adjust
9359
9360         * text.C (top_y): adjust
9361         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
9362         (breakAgain): make it take a RowList::iterator as arg, adjust.
9363         (breakParagraph): adjust
9364         (insertChar): adjust
9365         (backspace): adjust
9366
9367         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
9368         need_break_row, and refresh_row.
9369
9370         * text3.C (dispatch): adjust
9371
9372         * text2.C (checkParagraph): adjust
9373         (setCursor): adjust
9374         (setCursorFromCoordinates): adjust
9375
9376         * text.C (top_y): adjust
9377         (workWidth): adjust
9378         (getRow): make it return a RowList::iterator, adjust
9379         (getRowNearY): make it return a RowList::iterator, adjust
9380
9381         * text2.C (init): adjust
9382         (insertRow): remove function
9383         (insertParagraph): adjust
9384         (redoParagraphs): adjust
9385         (fullRebreak): adjust
9386         (updateCounters): adjust
9387
9388         * text.C (top_y): rewrite to use RowList iterators.
9389         (top_y): adjust
9390         (setHeightOfRow): rewrite to sue RowList iterators.
9391         (appendParagraph): adjust
9392         (breakAgain): adjust
9393         (breakAgainOneRow): adjust
9394         (breakParagraph): adjust
9395         (getRow): adjust
9396         (getRowNearY): adjust, and remove commented code.
9397
9398         * lyxtext.h (firstRow): delete function
9399         (lastRow): delete function
9400         (rows): new function (const and non-const versions.)
9401         (insertRow): delete function
9402
9403         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
9404
9405 2003-03-29  John Levon  <levon@movementarian.org>
9406
9407         * BufferView_pimpl.C: always update scrollbar top
9408         because pasting text when we're anchored could mean we
9409         miss an update altogether
9410
9411 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9412
9413         * text2.C (init): use rowlist_.end() and not 0.
9414         (insertRow): change to take a RowList::iterator as arg, adjust
9415         for this.
9416         (insertParagraph): change to take a RowList::iterator as arg,
9417         adjust for this.
9418         (redoParagraphs): remove some debug msgs.
9419
9420         * text.C (appendParagraph): change to take a RowList::iterator
9421         arg, adjust for this.
9422         (breakAgain): add an assert
9423         (breakAgainOneRow): ditto
9424
9425 2003-03-29  John Levon  <levon@movementarian.org>
9426
9427         * text2.C: do not clear selection after inc/decDepth
9428         (bug 550)
9429
9430 2003-03-29  John Levon  <levon@movementarian.org>
9431
9432         * BufferView.C:
9433         * buffer.C: fix broken strerrors according to Lars
9434
9435 2003-03-29  John Levon  <levon@movementarian.org>
9436
9437         * converters.C: more Alert cleanups
9438
9439 2003-03-29  John Levon  <levon@movementarian.org>
9440
9441         * bufferview_funcs.C: remove pointless Alert
9442
9443         * buffer.C: fix confusing error message when
9444         a template is chmoded 000
9445
9446 2003-03-29  John Levon  <levon@movementarian.org>
9447
9448         * BufferView.C:
9449         * BufferView.h:
9450         * BufferView_pimpl.C: Alert fixes
9451
9452         * Makefile.am:
9453         * tabular.C:
9454         * tabular-old.C: remove unused table compat reading
9455
9456 2003-03-29  John Levon  <levon@movementarian.org>
9457
9458         * BufferView.C:
9459         * buffer.C:
9460         * lyx_cb.h:
9461         * lyx_cb.C: more Alert cleanups
9462
9463         * lyxfunc.C: don't allow chktex if not latex document
9464
9465 2003-03-29  John Levon  <levon@movementarian.org>
9466
9467         * lyx_cb.C:
9468         * BufferView.C:
9469         * buffer.C: warnings pushed down from support/,
9470         kill err_alert
9471
9472 2003-03-29  John Levon  <levon@movementarian.org>
9473
9474         * lyxfunc.C: safety check for C-r (revert)
9475
9476 2003-03-29  John Levon  <levon@movementarian.org>
9477
9478         * bufferlist.h:
9479         * bufferlist.C: several UI fixes using Alert::prompt.
9480         Fix the pointless looping quit code. Fix stupid revert
9481         behaviour (bug 938)
9482
9483         * lyxvc.h:
9484         * lyxvc.C:
9485         * lyx_cb.C: use Alert::prompt
9486
9487         * lyx_main.C: remove a silly question
9488
9489         * lyxfunc.C: remove a couple of silly questions,
9490         use Alert::prompt
9491
9492 2003-03-28  John Levon  <levon@movementarian.org>
9493
9494         * text2.C: fix bug 974 (End on empty par)
9495
9496 2003-03-28  John Levon  <levon@movementarian.org>
9497
9498         * BufferView_pimpl.C:
9499         * LyXAction.C:
9500         * lfuns.h: remove do-nothing math greek lfuns
9501
9502 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9503
9504         * lyxgluelength.h (isValidGlueLength): add default arg on
9505         parameter 2. Remove default arg from friend in class.
9506
9507         * lyxlength.h (isValidLength): add default arg on parameter 2.
9508         Remove default arg from friend in class.
9509
9510         * text2.C (LyXText): adjust, initialize refresh_row.
9511         (init): adjust
9512         (removeRow): adjust
9513         (insertRow): adjust
9514         (insertParagraph): adjst
9515         (redoParagraphs): adjust
9516         (fullRebreak): adjust
9517         (updateCounters): adjust
9518         (deleteEmptyParagraphMechanism): first attempt at fixing a
9519         crashing bug.
9520
9521         * text.C (top_y): adjust
9522         (setHeightOfRow): adjust
9523         (getRow): adjust
9524         (getRowNearY): adjust
9525
9526         * lyxtext.h: include RowList.h
9527         (~LyXText): not needed anymore, deleted.
9528         (firstRow): modify for RowList
9529         (lastRow): new function
9530         Delete firstrow and lastrow class variables, add a Rowlist
9531         rowlist_ class variable.
9532
9533         * lyxrow.C (lastPos): use empty() and not !size() to check if a
9534         paragraph is empty.
9535
9536         * RowList.C (insert): fix case where it == begin().
9537
9538 2003-03-26  Angus Leeming  <leeming@lyx.org>
9539
9540         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9541         the thesaurus dialog.
9542
9543 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
9544
9545         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9546
9547         * RowList.[Ch]: new files
9548
9549         * ParagraphList.C (erase): handle the case where it == begin
9550         correctly.
9551
9552 2003-03-25  John Levon  <levon@movementarian.org>
9553
9554         * Makefile.am:
9555         * aspell_local.h:
9556         * aspell.C: add new aspell support
9557
9558         * lyxrc.h:
9559         * lyxrc.C: Make use_pspell be use_spell_lib. Always
9560         have it accessible.
9561
9562 2003-03-25  Angus Leeming  <leeming@lyx.org>
9563
9564         * lfuns.h:
9565         * LyXAction.C (init): new LFUN_INSET_INSERT.
9566
9567         * BufferView_pimpl.C (dispatch): split out part of the
9568         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9569
9570         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9571         LFUN_INSET_APPLY.
9572
9573 2003-03-25  Angus Leeming  <leeming@lyx.org>
9574
9575         * lyxfunc.C (dispatch): changes to the Dialogs interface.
9576
9577 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
9578
9579         * text2.C:
9580         * text3.C: remove useless row->height(0)
9581
9582 2003-03-25  John Levon  <levon@movementarian.org>
9583
9584         * lyxtext.h:
9585         * text2.C:
9586         * text3.C: rename the refreshing stuff to better names
9587
9588 2003-03-24  John Levon  <levon@movementarian.org>
9589
9590         * BufferView_pimpl.h:
9591         * BufferView_pimpl.C: update layout choice on a mouse
9592         press/release
9593
9594 2003-03-23  John Levon  <levon@movementarian.org>
9595
9596         * Makefile.am: fix commandtags.h reference
9597
9598 2003-03-22  John Levon  <levon@movementarian.org>
9599
9600         * BufferView_pimpl.C:
9601         * lyxtext.h:
9602         * rowpainter.C:
9603         * rowpainter.h:
9604         * text.C:
9605         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9606
9607 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
9608
9609         * lyxtext.h:
9610         * text.C: take the rtl methods out of line
9611
9612 2003-03-21 André Pönitz <poenitz@gmx.net>
9613
9614         * metricsinfo.[Ch]: new files containing structures to be passed around
9615         during the two-phase-drawing...
9616
9617 2003-03-21 André Pönitz <poenitz@gmx.net>
9618
9619         * lyxtextclass.C: read 'environment' tag.
9620
9621 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
9622
9623         * text2.C (removeRow): fix bug 964
9624
9625 2003-03-20  John Levon  <levon@movementarian.org>
9626
9627         * rowpainter.C:
9628         * text.C:
9629         * text2.C: paint cleanups. Inset::update() dropped font
9630         parameter
9631
9632 2003-03-19  John Levon  <levon@movementarian.org>
9633
9634         * lyxfunc.C: only fitcursor/markDirty if available()
9635
9636 2003-03-19  John Levon  <levon@movementarian.org>
9637
9638         * commandtags.h: rename to ...
9639
9640         * lfuns.h: ... this, and renumber / cleanup
9641
9642 2003-03-19  John Levon  <levon@movementarian.org>
9643
9644         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9645         fit the cursor after an lfun
9646
9647         * BufferView.h:
9648         * BufferView.C:
9649         * BufferView_pimpl.h:
9650         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9651
9652         * LyXAction.C: layout-character should have ReadOnly
9653
9654         * ParagraphParameters.C:
9655         * buffer.C:
9656         * bufferview_funcs.C:
9657         * lyx_cb.C:
9658         * lyxfind.C:
9659         * lyxtext.h:
9660         * text.C:
9661         * text2.C:
9662         * text3.C:
9663         * undo_funcs.C: changes from above
9664
9665 2003-03-18  John Levon  <levon@movementarian.org>
9666
9667         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9668         remove it from update()
9669
9670         * lyxfunc.C: update layout choice after an lfun
9671
9672         * text3.C: remove extra updateLayoutChoice()s
9673
9674 2003-03-18  John Levon  <levon@movementarian.org>
9675
9676         * text.C: top_y change means full repaint, fix
9677         a drawing bug with cursor movement
9678
9679 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9680
9681         * lyxtext.h:
9682         * text.C:
9683         * text2.C: anchor row on setCursor
9684
9685 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9686
9687         * lyxtext.h: remove almost all mutable keywords
9688         * text.C:
9689         * text2.C:
9690         * text3.C: remove const keywords accordingly
9691
9692 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9693
9694         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9695         anon namespace
9696         (TeXEnvironment): ditto
9697         (TeXOnePar): ditto
9698
9699 2003-03-17  John Levon  <levon@movementarian.org>
9700
9701         * text.C (rowBreakPoint): remove attempt to fix displayed
9702         math insets inside a manual label
9703
9704 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9705
9706         * lyxtext.h: remove BufferView* as first arg from almost all class
9707         functions.
9708         * other files: adjust.
9709
9710 2003-03-17  John Levon  <levon@movementarian.org>
9711
9712         * lyxtext.h:
9713         * undo_funcs.C:
9714         * text2.C: more paint cleanups
9715
9716         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9717
9718         * rowpainter.h:
9719         * rowpainter.C: remove "smart" background painting code
9720
9721 2003-03-16  John Levon  <levon@movementarian.org>
9722
9723         * lyxtext.h:
9724         * text.C:
9725         * text2.C:
9726         * text3.C: add helper functions for setting refresh_row/y
9727
9728 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
9729
9730         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9731         newline inset which *can* get inserted in the pass_thru layouts.
9732         This is primarily for literate documents.
9733
9734 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
9735
9736         * buffer.C: increment LYX_FORMAT to 223
9737
9738 2003-03-14 André Pönitz <poenitz@gmx.net>
9739
9740         * textclass.h: prepare for environment handling, ws changes
9741         * lyxlayout.C: read latexheader and latexfooter tags
9742
9743 2003-03-14  John Levon  <levon@movementarian.org>
9744
9745         * text2.C: rewrite ::status() a bit
9746
9747 2003-03-13  John Levon  <levon@movementarian.org>
9748
9749         * lyxtext.h: add some docs
9750
9751 2003-03-13  John Levon  <levon@movementarian.org>
9752
9753         * lyxtext.h:
9754         * text.C:
9755         * text2.C:
9756         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9757
9758 2003-03-13  John Levon  <levon@movementarian.org>
9759
9760         * text3.C: fix appendix redrawing
9761
9762 2003-03-13  John Levon  <levon@movementarian.org>
9763
9764         * text.C (setHeightOfRow):
9765         * rowpainter.h:
9766         * rowpainter.C: make appendix mark have the text
9767           "Appendix" so the user knows what it is
9768
9769         * LColor.h:
9770         * LColor.C: s/appendixline/appendix/ from above
9771
9772 2003-03-13  John Levon  <levon@movementarian.org>
9773
9774         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9775
9776         * text.C: fix a getChar(pos) bug properly
9777
9778 2003-03-13  Angus Leeming  <leeming@lyx.org>
9779
9780         * commandtags.h:
9781         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9782         Probably only temporary. Let's see how things pan out.
9783
9784         * BufferView.C (unlockInset):
9785         * BufferView_pimpl.C (fitCursor):
9786         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9787
9788         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9789         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9790
9791         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9792         new functions that convert ParagraphParameters to and from a string.
9793
9794         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9795         BufferView::Pimpl's dispatch.
9796         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9797
9798 2003-03-13 André Pönitz <poenitz@gmx.net>
9799
9800         * lyxfunc.C:
9801         * text3.C:
9802         * factory.C: make it aware of InsetEnv
9803
9804 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
9805
9806         * text2.C (setCursor): never ask for one past last
9807         (setCursor): add some debugging messages.
9808
9809         * text.C (singleWidth): never ask for one past last
9810         (singleWidth): ditto
9811         (leftMargin): ditto
9812         (rightMargin): ditto
9813         (rowBreakPoint): ditto
9814         (setHeightOfRow): ditto
9815         (prepareToPrint): ditto
9816
9817         * rowpainter.C (paintBackground): never ask for one past last
9818         (paintText): never ask for one past last
9819
9820         * paragraph_pimpl.C (getChar): make the assert stricter, never
9821         allow the one past last pos to be taken
9822
9823         * paragraph.C (getChar): ws changes only
9824
9825         * lyxrow.C (nextRowIsAllInset): never ask for one past last
9826         (numberOfSeparators): ditto
9827         (numberOfHfills): ditto
9828
9829 2003-03-12  John Levon  <levon@movementarian.org>
9830
9831         * author.h:
9832         * author.C:
9833         * bufferparams.h:
9834         * bufferparams.C:
9835         * paragraph_funcs.C: fix per-buffer authorlists
9836
9837 2003-03-12  John Levon  <levon@movementarian.org>
9838
9839         * text.C: fix newline in right address
9840
9841 2003-03-12  Angus Leeming  <leeming@lyx.org>
9842
9843         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9844         duplicate those in LyXFunc::dispatch.
9845
9846         * commandtags.h:
9847         * LyXAction.C:
9848         * ToolbarDefaults.C:
9849         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9850         Add LFUN_FONTFREE_UPDATE.
9851
9852         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9853         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9854
9855         * bufferview_func.[Ch]: several new functions to facilliate
9856         transfer of data to and from the character dialog.
9857
9858 2003-03-12  John Levon  <levon@movementarian.org>
9859
9860         * buffer.C:
9861         * paragraph.h:
9862         * paragraph.C:
9863         * paragraph_funcs.C:
9864         * paragraph_pimpl.C:
9865         * sgml.C:
9866         * tabular.C:
9867         * text.C:
9868         * text3.C: remove META_NEWLINE in favour of an inset
9869
9870         * rowpainter.h:
9871         * rowpainter.C: remove paintNewline (done by inset)
9872
9873 2003-03-12  John Levon  <levon@movementarian.org>
9874
9875         * paragraph_pimpl.C: complain about bad getChar()s
9876         for a while at least
9877
9878 2003-03-12  John Levon  <levon@movementarian.org>
9879
9880         * buffer.h:
9881         * buffer.C: move paragraph read into a separate function,
9882         a little renaming to reflect that.
9883
9884         * bufferparams.h:
9885         * bufferparams.C: remove the author_ids map, not necessary now
9886
9887         * factory.h:
9888         * factory.C: moved Buffer::readInset to here
9889
9890         * paragraph_funcs.h:
9891         * paragraph_funcs.C: readParagraph free function moved from
9892         buffer.C
9893
9894         * tabular.C: name change
9895
9896 2003-03-12  John Levon  <levon@movementarian.org>
9897
9898         * buffer.C:
9899         * ParagraphParameters.C: move par params input to
9900         a read() method
9901
9902         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9903         behave like a normal read from the stream wrt reading
9904         a line vs. a \\token
9905
9906 2003-03-12  John Levon  <levon@movementarian.org>
9907
9908         * paragraph.C:
9909         * ParagraphParameters.h:
9910         * ParagraphParameters.C: move output code to a
9911         ::write() method
9912
9913 2003-03-12  John Levon  <levon@movementarian.org>
9914
9915         * BufferView.C (insertLyXFile):
9916         * buffer.h:
9917         * buffer.C:
9918         * tabular.C: use a parlist iterator for creating the
9919           document.
9920
9921 2003-03-12  John Levon  <levon@movementarian.org>
9922
9923         * buffer.C: make current_change static local not
9924           static file-scope
9925
9926 2003-03-12  John Levon  <levon@movementarian.org>
9927
9928         * buffer.C: fix insertStringAsLines for change tracking
9929
9930 2003-03-12  John Levon  <levon@movementarian.org>
9931
9932         * BufferView.C:
9933         * tabular.C:
9934         * buffer.h:
9935         * buffer.C:
9936         * bufferparams.h:
9937         * bufferparams.C: move author list into params. Rename some
9938           functions. Move the header reading into a separate token
9939           loop. Move the header token reading into BufferParams.
9940
9941 2003-03-12  John Levon  <levon@movementarian.org>
9942
9943         * changes.C: put debug inside lyxerr.debugging() checks
9944
9945 2003-03-11 André Pönitz <poenitz@gmx.net>
9946
9947         * factory.C: make it aware of InsetHFill
9948
9949 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9950
9951         * buffer.C (latexParagraphs): move function from here...
9952         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9953         args.
9954
9955 2003-03-10  Angus Leeming  <leeming@lyx.org>
9956
9957         * LyXAction.C (init): fix bug in poplating array with multiple entries
9958         with the same LFUN (spotted by JMarc).
9959
9960 2003-03-10  John Levon  <levon@movementarian.org>
9961
9962         * text.C:
9963         * text2.C: move getColumnNearX() near its
9964         only call site
9965
9966 2003-03-10  John Levon  <levon@movementarian.org>
9967
9968         * text.C: fix break before a minipage
9969
9970 2003-03-10  John Levon  <levon@movementarian.org>
9971
9972         * text.C: fix the last commit
9973
9974 2003-03-09  John Levon  <levon@movementarian.org>
9975
9976         * lyxtext.h:
9977         * text.C:
9978         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9979         bug 365 (don't break before insets unless needed). Don't
9980         return a value > last under any circumstances.
9981
9982 2003-03-09  Angus Leeming  <leeming@lyx.org>
9983
9984         * BufferView_pimpl.C (trackChanges, dispatch): call
9985         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9986
9987 2003-03-09  Angus Leeming  <leeming@lyx.org>
9988
9989         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9990         than Dialogs::showAboutlyx().
9991
9992 2003-03-09  Angus Leeming  <leeming@lyx.org>
9993
9994         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9995         than Dialogs::showTabularCreate().
9996
9997 2003-03-09  John Levon  <levon@movementarian.org>
9998
9999         * lyxtext.h:
10000         * text.C:
10001         * text2.C: 3rd arg to nextBreakPoint was always the same.
10002           Use references.
10003
10004 2003-03-08  John Levon  <levon@movementarian.org>
10005
10006         * lyxrow.C:
10007         * paragraph.C:
10008         * paragraph.h:
10009         * rowpainter.C:
10010         * text.C:
10011         * text2.C: Remove the "main" bit from the "main body"
10012           notion.
10013
10014 2003-03-08  John Levon  <levon@movementarian.org>
10015
10016         * text.C (leftMargin): The left margin of an empty
10017         manual label paragraph should not include the label width
10018         string length.
10019
10020         * text.C (prepareToPrint): don't attempt to measure hfills
10021         for empty manual label paragraphs - the answer should be 0
10022
10023 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
10024
10025         * CutAndPaste.C: remove commented code and reindent.
10026
10027 2003-03-08  John Levon  <levon@movementarian.org>
10028
10029         * lyxfunc.h:
10030         * lyxfunc.C: move reloadBuffer()
10031
10032         * BufferView.h:
10033         * BufferView.C: to here
10034
10035         * lyxvc.C: add comment
10036
10037         * vc-backend.h:
10038         * vc-backend.C: call bv->reload() to avoid
10039           getStatus() check on MENURELOAD
10040
10041 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
10042
10043         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
10044         to an old format .dep file.
10045
10046 2003-03-07  Angus Leeming  <leeming@lyx.org>
10047
10048         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
10049         when the LFUN_MOUSE_RELEASE should have been handled by
10050         inset->localDispatch.
10051
10052 2003-03-07  Angus Leeming  <leeming@lyx.org>
10053
10054         * BufferView_pimpl.C (dispatch):
10055         * LyXAction.C (init):
10056         * ToolbarDefaults.C (init):
10057         * commandtags.h:
10058         * lyxfunc.C (getStatus):
10059         remove LFUN_INSET_GRAPHICS.
10060
10061         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
10062
10063 2003-03-07  Angus Leeming  <leeming@lyx.org>
10064
10065         * commandtags.h:
10066         * LyXAction.C (init):
10067         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
10068
10069         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
10070
10071         * commandtags.h:
10072         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
10073
10074         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
10075         localDispatch method LFUN_INSET_DIALOG_UPDATE.
10076
10077 2003-03-07  Angus Leeming  <leeming@lyx.org>
10078
10079         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
10080         remove "ert".
10081
10082 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10083
10084         * ParagraphList.C (front): new function
10085         (back): implement
10086
10087 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
10088
10089         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
10090         and top_row_offset_. removed var first_y.
10091         * text.C (top_y):
10092         * text2.C (LyXText, removeRow):
10093         * text3.C:
10094         * BufferView_pimpl.C:
10095         use these methods instead of using first_y
10096
10097 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10098
10099         * text2.C (pasteSelection): adjust for checkPastePossible
10100
10101         * CutAndPaste.C: remove Paragraph * buf and replace with
10102         ParagraphList paragraphs.
10103         (DeleteBuffer): delete
10104         (cutSelection): change the tc type to textclass_type
10105         (copySelection): change the tc type to textclass_type
10106         (copySelection): adjust for ParagraphList
10107         (pasteSelection): change the tc type to textclass_type
10108         (pasteSelection): adjust for Paragraphlist
10109         (nrOfParagraphs): simplify for ParagraphList
10110         (checkPastePossible): simplify for ParagraphList
10111         (checkPastePossible): remove unused arg
10112
10113         * ParagraphList.C (insert): handle the case where there are no
10114         paragraphs yet.
10115
10116         * CutAndPaste.h: make CutAndPaste a namespace.
10117
10118         * text3.C (dispatch): adjust
10119
10120         * text.C (breakParagraph): add a ParagraphList as arg
10121
10122         * paragraph_funcs.C (breakParagraph): change to take a
10123         BufferParams and a ParagraphList as args.
10124         (breakParagraphConservative): ditto
10125         (mergeParagraph): ditto
10126         (TeXDeeper): add a ParagraphList arg
10127         (TeXEnvironment): ditto
10128         (TeXOnePar): ditto
10129
10130         * buffer.C (readLyXformat2): adjust
10131         (insertStringAsLines): adjust
10132         (latexParagraphs): adjust
10133
10134         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
10135         (cutSelection): adjust
10136         (pasteSelection): adjust
10137
10138         * BufferView_pimpl.C (insertInset): adjust
10139
10140 2003-03-05  Angus Leeming  <leeming@lyx.org>
10141
10142         * commandtags.h:
10143         * LyXAction.C (init):
10144         * BufferView_pimpl.C (dispatch):
10145         * lyxfunc.C (getStatus):
10146         remove LFUN_CHILD_INSERT.
10147
10148         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
10149
10150 2003-03-05  Angus Leeming  <leeming@lyx.org>
10151
10152         * commandtags.h:
10153         * LyXAction.C (init):
10154         * src/factory.C (createInset):
10155         * lyxfunc.C (getStatus):
10156         * text3.C (dispatch):
10157         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
10158
10159         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
10160
10161 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10162
10163         * ParagraphList.C (insert): handle insert right before end()
10164         (erase): fix cases where it can be first or last paragraph.
10165
10166 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10167
10168         * paragraph_funcs.C (TeXEnvironment): remove all usage of
10169         Paragraph::next and Paragraph::previous
10170         (TeXOnePar): ditto
10171
10172         * text.C (breakParagraph): adjust
10173
10174         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
10175         BufferParams& as arg.
10176         (breakParagraph): use ParagraphList::insert
10177         (breakParagraphConservative): take a Buffer* instead of a
10178         BufferParams& as arg.
10179         (breakParagraphConservative): use ParagraphList::insert.
10180
10181         * buffer.C (insertStringAsLines): un-const it
10182         (insertStringAsLines): adjust
10183
10184         * ParagraphList.C (insert): new function
10185
10186         * CutAndPaste.C (pasteSelection): adjust
10187
10188         * text.C (backspace): adjust
10189
10190         * tabular.C (SetMultiColumn): adjust
10191
10192         * CutAndPaste.C (cutSelection): adjust
10193         (pasteSelection): adjust
10194
10195         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
10196         Buffer const * as arg
10197
10198         * ParagraphList.C (erase): new function
10199         * paragraph_funcs.C (mergeParagraph): use it
10200         (mergeParagraph): make it take a Buffer* instead of a
10201         BufferParams* as arg
10202
10203         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
10204         as arg
10205         (breakParagraphConservative): ditto
10206
10207         * paragraph.h: remove the breakParagraph friend
10208
10209         * paragraph.C (eraseIntern): new function
10210         (setChange): new function
10211
10212         * paragraph_funcs.C (mergeParagraph): make it take a
10213         ParagraphList::iterator instead of a Paragraph *, adjust
10214         accordingly.
10215
10216         * paragraph.h: move an #endif so that the change tracking stuff
10217         also works in the NO_NEXT case.
10218
10219 2003-03-04  Angus Leeming  <leeming@lyx.org>
10220
10221         * commandtags.h:
10222         * LyXAction.C: new LFUN_INSET_MODIFY.
10223
10224         * BufferView_pimpl.C (dispatch): if an inset is found to be open
10225         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
10226
10227 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10228
10229         * several files: ws changes only
10230
10231         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
10232         (TeXEnvironment): ditto
10233         (TeXDeeper): ditto
10234
10235         * buffer.C (makeLaTeXFile): adjust
10236         (latexParagraphs): make it take ParagraphList::iterator as args
10237
10238 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
10239
10240         * buffer.C (latexParagraphs): adjust
10241
10242         * paragraph.C (TeXOnePar): move function...
10243         (optArgInset): move function...
10244         (TeXEnvironment): move function...
10245         * paragraph_pimpl.C (TeXDeeper): move function...
10246         * paragraph_funcs.C: ...here
10247
10248         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
10249
10250 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10251
10252         * buffer.C (readInset): remove compability code for old Figure and
10253         InsetInfo insets
10254
10255 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10256
10257         * buffer.C: ws changes
10258         (readInset):
10259
10260         * BufferView_pimpl.C: ditto
10261         * author.C: ditto
10262         * buffer.h: ditto
10263         * bufferlist.h: ditto
10264         * changes.h: ditto
10265         * lyxfunc.C: ditto
10266
10267 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
10268
10269         * converter.[Ch]: split into itself +
10270         * graph.[Ch]
10271         * format.[Ch]
10272         * Makefile.am: += graph.[Ch] + format.[Ch]
10273         * MenuBackend.C
10274         * buffer.C
10275         * exporter.C
10276         * importer.C
10277         * lyx_main.C
10278         * lyxfunc.C
10279         * lyxrc.C: added #include "format.h"
10280
10281 2003-02-27  Angus Leeming  <leeming@lyx.org>
10282
10283         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
10284           a label.
10285
10286         * factory.C (createInset): add "label" to the factory.
10287
10288         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
10289           string and do no more.
10290
10291 2003-02-27  Angus Leeming  <leeming@lyx.org>
10292
10293         * commandtags.h:
10294         * LyXAction.C (init):
10295         * factory.C (createInset):
10296         * BufferView_pimpl.C (dispatch):
10297           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
10298
10299         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
10300
10301         * lyxfunc.C (dispatch):
10302         * text3.C (dispatch): pass name to params2string.
10303
10304 2003-02-26  Angus Leeming  <leeming@lyx.org>
10305
10306         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
10307           blocks together.
10308           Rearrange the ~includes. Strip out the unnecessary ones.
10309
10310         * factory.C (createInset): reformat.
10311           create new insets for the various LFUN_XYZ_APPLY lfuns.
10312
10313 2003-02-26  John Levon  <levon@movementarian.org>
10314
10315         * lyxrow.h:
10316         * lyxrow.C: add isParStart,isParEnd helpers
10317
10318         * paragraph.h: make isInserted/DeletedText take refs
10319
10320         * paragraph_funcs.h:
10321         * paragraph_funcs.C: remove #if 0'd code
10322
10323         * lyxtext.h:
10324         * text3.C:
10325         * text2.C:
10326         * text.C: use lyxrow helpers above.
10327           Move draw and paint routines to RowPainter.
10328           Make several methods use refs not pointers.
10329           Make backgroundColor() const.
10330           Add markChangeInDraw(), isInInset().
10331           Merge changeRegionCase into changeCase.
10332           Make workWidth() shouldn't-happen code into an Assert.
10333
10334         * rowpainter.h:
10335         * rowpainter.C: new class for painting a row.
10336
10337         * vspace.h:
10338         * vspace.C: make inPixels take a ref
10339
10340 2003-02-26  Angus Leeming  <leeming@lyx.org>
10341
10342         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
10343         LFUN_REF_APPLY.
10344
10345 2003-02-25  John Levon  <levon@movementarian.org>
10346
10347         * ispell.C: give the forked command a more accurate name
10348
10349 2003-02-22  John Levon  <levon@movementarian.org>
10350
10351         * toc.h:
10352         * toc.C: make TocItem store an id not a Paragraph *
10353           (bug #913)
10354
10355 2003-02-21  Angus Leeming  <leeming@lyx.org>
10356
10357         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
10358           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
10359           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
10360           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
10361           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
10362           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
10363
10364         * BufferView_pimpl.C (dispatch):
10365         * LyXAction.C (init):
10366         * factory.C (createInset):
10367         * lyxfunc.C (getStatus, dispatch):
10368         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
10369
10370 2003-02-21  Angus Leeming  <leeming@lyx.org>
10371
10372         * BufferView_pimpl.C (MenuInsertLyXFile):
10373         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
10374         * lyxfunc.C (menuNew, open, doImport):
10375           no longer pass a LyXView & to fileDlg.
10376
10377 2003-02-21  Angus Leeming  <leeming@lyx.org>
10378
10379         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
10380         * LyXAction.C: change, BIBKEY to BIBITEM.
10381         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
10382         Change InsetBibKey to InsetBibitem.
10383         Change BIBKEY_CODE to BIBITEM_CODE.
10384         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10385         * factory.C: replace insetbib.h with insetbibitem.h.
10386         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10387         * paragraph.C: replace insetbib.h with insetbibitem.h.
10388         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
10389         Change bibkey() to bibitem().
10390         * text.C: remove insetbib.h.
10391         * text2.C: replace insetbib.h with insetbibitem.h.
10392         change bibkey() to bibitem().
10393         * text3.C: remove insetbib.h.
10394         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10395
10396 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10397
10398         * lyxrc.C (output): enclose user email in quotes (in case there are
10399         several words)
10400
10401 2003-02-18  John Levon  <levon@movementarian.org>
10402
10403         * buffer.h: add std::
10404
10405 2003-02-17  John Levon  <levon@movementarian.org>
10406
10407         * SpellBase.h:
10408         * ispell.h:
10409         * ispell.C:
10410         * pspell.h:
10411         * pspell.C: reworking. Especially in ispell, a large
10412           number of clean ups and bug fixes.
10413
10414         * lyxfunc.C: fix revert to behave sensibly
10415
10416 2003-02-17 André Pönitz <poenitz@gmx.net>
10417
10418         * LyXAction.C:
10419         * commandtags.h: new LFUN_INSERT_BIBKEY
10420
10421         * layout.h:
10422         * lyxlayout.C:
10423         * buffer.C:
10424         * factory.C:
10425         * text.C:
10426         * text2.C:
10427         * text3.C:
10428         * paragraph.[Ch]:
10429         * paragraph_func.C: remove special bibkey handling
10430
10431 2003-02-17  John Levon  <levon@movementarian.org>
10432
10433         * text.C (Delete): fix case where delete at the end of
10434           the very first paragraph would not merge the pars
10435
10436 2003-02-17  John Levon  <levon@movementarian.org>
10437
10438         * lyxrow.C: fix lastPrintablePos()
10439
10440 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10441
10442         * bufferparams.C (writeLaTeX): add a std:here
10443
10444         * buffer.C: and remove a using directive there
10445
10446 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10447
10448         * buffer.C (makeLaTeXFile): move the code that generates the
10449           preamble...
10450
10451         * bufferparams.C (writeLaTeX): ... in this new method
10452
10453         * LaTeXFeatures.C (getEncodingSet): make const
10454           (getLanguages): make const
10455
10456         * MenuBackend.C (binding): returns the binding associated to this
10457           action
10458           (add): sets the status of each item by calling getStatus. Adds
10459           some intelligence.
10460           (read): add support for OptSubMenu
10461           (expand): remove extra separator at the end of expanded menu
10462
10463 2003-02-15  John Levon  <levon@movementarian.org>
10464
10465         * BufferView.C:
10466         * BufferView_pimpl.C:
10467         * bufferlist.h:
10468         * bufferlist.C: remove pointless BufferStorage bloat. Remove
10469           inset code that had no actual effect. Remove unneeded status
10470           code.
10471
10472 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10473
10474         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10475           in preamble
10476
10477 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
10478
10479         * text.C (drawLengthMarker): also draw an arrow marker for
10480           symbolic lengths (medskip...)
10481
10482 2003-02-14  John Levon  <levon@movementarian.org>
10483
10484         * tabular.h:
10485         * tabular.C: better method names
10486
10487 2003-02-14  John Levon  <levon@movementarian.org>
10488
10489         * BufferView_pimpl.C:
10490         * bufferlist.C:
10491         * buffer.C:
10492         * converter.C:
10493         * lyx_cb.C:
10494         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10495           it's a more accurate name. Remove some pointless uses.
10496
10497 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10498
10499         * text2.C (LyXText): change order of initilizers to shut off
10500           warnings
10501
10502 2003-02-14  John Levon  <levon@movementarian.org>
10503
10504         * buffer.C: use ParIterator for getParFromID()
10505
10506         * paragraph.h:
10507         * paragraph.C:
10508         * paragraph_pimpl.h:
10509         * paragraph_pimpl.C: remove unused getParFromID()
10510
10511 2003-02-14  John Levon  <levon@movementarian.org>
10512
10513         * buffer.C: remove some very old #if 0'd parse code
10514
10515 2003-02-13  John Levon  <levon@movementarian.org>
10516
10517         * text.h:
10518         * text.C:
10519         * text2.C: move hfillExpansion(), numberOfSeparators(),
10520           rowLast(), rowLastPrintable(), numberofHfills(),
10521           numberOfLabelHfills() ...
10522
10523         * lyxrow.h:
10524         * lyxrow.C: ... to member functions here.
10525
10526         * paragraph.h:
10527         * paragraph.C:
10528         * lyxtext.h:
10529         * text.C: remove LyXText::beginningOfMainBody(), and call
10530           p->beginningOfMainBody() directly. Move the check for
10531           LABEL_MANUAL into the latter.
10532
10533         * text.h:
10534         * text.C:
10535         * text2.C:
10536         * vspace.C:
10537         * BufferView.h:
10538         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10539
10540         * text.h:
10541         * text.C:
10542         * text2.C:
10543         * text3.C:
10544         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10545           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10546
10547 2003-02-13  John Levon  <levon@movementarian.org>
10548
10549         * CutAndPaste.C: remove debug
10550
10551 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10552
10553         * paragraph.C (asString): remove two unused variables
10554
10555         * lyxtextclass.C (readTitleType):
10556           (Read):
10557           (LyXTextClass): handle new members titletype_ and titlename_
10558
10559         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10560
10561 2003-02-09  John Levon  <levon@movementarian.org>
10562
10563         * buffer.h:
10564         * buffer.C: replace hand-coded list with a map for the dep clean
10565
10566 2003-02-08  John Levon  <levon@movementarian.org>
10567
10568         * LaTeX.C: consolidate code into showRunMessage() helper
10569
10570 2003-02-08  John Levon  <levon@movementarian.org>
10571
10572         * lyxfind.C:
10573         * lyxtext.h:
10574         * text2.C:
10575         * BufferView.C: change setSelectionOverString() to setSelectionRange()
10576           and pass the size in explicitly
10577
10578         * BufferView_pimpl.h:
10579         * BufferView_pimpl.C:
10580         * BufferView.h:
10581         * BufferView.C: add getCurrentChange()
10582
10583         * BufferView_pimpl.h:
10584         * BufferView_pimpl.C: handle change lfuns
10585
10586         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10587           for changes. Mark pasted paragraphs as new.
10588
10589         * support/lyxtime.h:
10590         * support/lyxtime.C:
10591         * DepTable.C: abstract time_t as lyx::time_type
10592
10593         * LColor.h:
10594         * LColor.C: add colours for new text, deleted text, changebars
10595
10596         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10597           package use "usenames" option.
10598
10599         * commandtags.h:
10600         * lyxfunc.C:
10601         * LyXAction.C: add change lfuns
10602
10603         * Makefile.am:
10604         * author.h:
10605         * author.C: author handling
10606
10607         * buffer.h:
10608         * buffer.C: add a per-buffer author list, with first entry as
10609           current author. Handle new .lyx tokens for change tracking. Output
10610           author list to .lyx file. Output dvipost stuff to .tex preamble.
10611           Bump lyx format to 222.
10612
10613         * bufferlist.h:
10614         * bufferlist.C: add setCurrentAuthor() to reset current author details
10615           in all buffers.
10616
10617         * bufferparams.h:
10618         * bufferparams.C: add param for tracking
10619
10620         * bufferview_funcs.C: output change info in minibuffer
10621
10622         * Makefile.am:
10623         * changes.h:
10624         * changes.C: add change-tracking structure
10625
10626         * debug.h:
10627         * debug.C: add CHANGES debug flag
10628
10629         * lyxfind.h:
10630         * lyxfind.C: add code for finding the next change piece
10631
10632         * lyxrc.h:
10633         * lyxrc.C: add user_name and user_email
10634
10635         * lyxrow.h:
10636         * lyxrow.C: add a metric for the top of the text line
10637
10638         * lyxtext.h:
10639         * text.C: implement accept/rejectChange()
10640
10641         * lyxtext.h:
10642         * text.C: paint changebars. Paint new/deleted text in the chosen
10643         colours. Strike through deleted text.
10644
10645         * paragraph.h:
10646         * paragraph.C:
10647         * paragraph_pimpl.h:
10648         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10649           in the current change to the insert functions. Rework erase to
10650           mark text as deleted, adding an eraseIntern() and a range-based
10651           erase(). Implement per-paragraph change lookup and
10652           accept/reject.
10653
10654         * paragraph_funcs.C: Fixup paste for change tracking.
10655
10656         * tabular.C: mark added row/columns as new.
10657
10658         * text.C: fix rowLast() to never return -1. Don't allow
10659           spellchecking of deleted text. Track transpose changes. Don't
10660           allow paragraph break or merge where appropriate.
10661
10662         * text2.C: leave cursor at end of selection after a cut.
10663
10664 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10665
10666         * text.C (getLengthMarkerHeight):
10667         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10668         visible on screen too.
10669
10670 2003-02-07  John Levon  <levon@movementarian.org>
10671
10672         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10673
10674 2003-02-05  Angus Leeming  <leeming@lyx.org>
10675
10676         * lyxserver.C (read_ready): revert my patch of 11 September last year
10677         as it sends PC cpu through the roof. Presumably this means that
10678         the lyxserver will no longer run on an Alpha...
10679
10680 2003-01-30  Angus Leeming  <leeming@lyx.org>
10681
10682         * factory.C (createInset): create an InsetCommandParam of type "index"
10683         and use it to 'do the right thing'.
10684
10685         * text2.C (getStringToIndex): ensure that cursor position is always
10686         reset to the reset_cursor position.
10687
10688 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10689
10690         * lyxfunc.C (getStatus): "buffer-export custom" should never be
10691         disabled.
10692
10693 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
10694
10695         * bufferview.C:
10696         * lyxcb.C:
10697         * lyxfunc.C: Output messages with identical spelling, punctuation,
10698         and spaces
10699
10700 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
10701
10702         * MenuBackend.C (expandFormats): List only viewable export formats
10703         in "View" menu
10704
10705         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10706         message
10707
10708         * lyxfunc.C (getStatus): Make sure that formats other than
10709         "fax" can also be disabled
10710
10711 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10712
10713         * text3.C (dispatch): put the lfuns that insert insets in 3
10714         groups, and call doInsertInset with appropriate arguments.
10715         (doInsertInset): new function, that creates an inset and inserts
10716         it according to some boolean parameters.
10717
10718 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
10719
10720         * buffer.C (readFile): remember to pass on 'par' when calling
10721         readFile recursively.
10722
10723 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10724
10725         * MenuBackend.C (expandFormats): add "..." to import formats.
10726
10727 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
10728
10729         * paragraph.C (asString): Remove XForms RTL hacks.
10730
10731 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
10732         * buffer.C: fix typo
10733
10734 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10735
10736         * Makefile.am (LIBS): delete var
10737         (lyx_LDADD): add @LIBS@ here instead.
10738
10739 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
10740
10741         * Clarify the meaning of "wheel mouse jump"
10742
10743 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10744
10745         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10746         tabular in a float
10747
10748 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10749
10750         * importer.C (Loaders): do not preallocate 3 elements in the
10751         vector, since one ends up with 6 elements otherwise
10752
10753 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10754
10755         * DepTable.C (write): write the file name as last element of the
10756         .dep file (because it may contain spaces)
10757         (read): read info in the right order
10758
10759 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10760
10761         * paragraph_pimpl.C (simpleTeXBlanks):
10762         (simpleTeXSpecialChars):
10763         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10764
10765         * tabular.C (latex): add some missing case statements. Reindent.
10766
10767         * MenuBackend.C (expandToc): remove unused variable.
10768
10769 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
10770
10771         * LColor.C:
10772         * LaTeX.C:
10773         * LyXAction.C:
10774         * MenuBackend.C:
10775         * buffer.C:
10776         * exporter.C:
10777         * lyxfunc.C:
10778         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10779         and the like.
10780
10781 2003-01-05  John Levon  <levon@movementarian.org>
10782
10783         * BufferView.h:
10784         * BufferView.C: add getEncoding()
10785
10786         * kbsequence.h:
10787         * kbsequence.C: do not store last keypress
10788
10789         * lyxfunc.h:
10790         * lyxfunc.C: store last keypress here instead. Pass encoding
10791           to getISOEncoded()
10792
10793 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10794
10795         * lyx_main.C (init): remove annoying error message when following
10796         symbolic links (bug #780)
10797
10798 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10799
10800         * text.C (insertChar):
10801         * lyxrc.C (getDescription): remove extra spaces
10802
10803 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10804
10805         * lyxrc.C (getDescription): remove extra spaces
10806
10807 2002-12-20  John Levon  <levon@movementarian.org>
10808
10809         * text3.C: hack fix for page up/down across tall rows
10810
10811 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10812
10813         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10814         not been invoked
10815
10816 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10817
10818         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10819         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10820         thesaurus is not compiled in
10821
10822 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
10823
10824         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
10825
10826 2002-12-16  Angus Leeming  <leeming@lyx.org>
10827
10828         * lyxrc.[Ch]:
10829         * lyx_main.C (init): remove override_x_deadkeys stuff.
10830
10831 2002-12-12  John Levon  <levon@movementarian.org>
10832
10833         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10834           insert. Only remove shift modifier under strict
10835           circumstances.
10836
10837 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
10838
10839         * MenuBackend.C (expandToc): fix crash.
10840
10841 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
10842
10843         * MenuBackend.C (expandToc): gettext on float names.
10844
10845 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
10846
10847         * lyxlength.[Ch]: set default unit to UNIT_NONE,
10848         implement bool empty() [bug 490]
10849
10850 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10851
10852         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10853
10854 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10855
10856         * several files: ws changes
10857
10858 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10859
10860         * text2.C (setCounter): clean up a bit, use boost.format.
10861         (updateCounters): initialize par upon declaration.
10862
10863         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10864         if the layout exists. We do not just store the layout any more.
10865         (SwitchLayoutsBetweenClasses): use boost.format
10866
10867 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10868
10869         * converter.C (convert): if from and to files are the same, use a
10870         temporary files as intermediary
10871
10872 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10873
10874         * commandtags.h:
10875         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10876
10877 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10878
10879         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10880
10881 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
10882
10883         * tabular.C (asciiPrintCell): use string(size, char) instead of
10884         explicit loop.
10885
10886         * sgml.C (openTag): fix order of arguments to string constructor
10887         (closeTag): ditto
10888
10889         * lyxfunc.C (dispatch): use boost.format
10890
10891         * lots of files: change "c" -> 'c'
10892
10893 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10894
10895         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10896
10897 2002-11-25  Angus Leeming  <leeming@lyx.org>
10898
10899         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10900
10901         * lyx_main.C (init): compile fix.
10902
10903 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
10904
10905         * lyx_cb.C (start): boost.formatify
10906         do not include <iostream>
10907
10908         * lengthcommon.C: ws only
10909
10910         * boost-inst.C,BoostFormat.h: add more explict instantations
10911
10912 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
10913
10914         * lots of files: handle USE_BOOST_FORMAT
10915
10916 2002-11-21  John Levon  <levon@movementarian.org>
10917
10918         * pspell.C: fix compile
10919
10920 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10921
10922         * lyxfunc.C (dispatch): use boost::format
10923         (open): ditto
10924         (doImport): ditto
10925
10926         * lyxfont.C (stateText): use boost::format
10927
10928         * lyx_main.C (LyX): use boost::format
10929         (init): ditto
10930         (queryUserLyXDir): ditto
10931         (readRcFile): ditto
10932         (parse_dbg): ditto
10933         (typedef boost::function): use the recommened syntax.
10934
10935         * importer.C (Import): use boost::format
10936
10937         * debug.C (showLevel): use boost::format
10938
10939         * converter.C (view): use boost::format
10940         (convert): ditto
10941         (move): ditto
10942         (scanLog): ditto
10943
10944         * bufferview_funcs.C (currentState): use boost::format
10945
10946         * bufferlist.C (emergencyWrite): use boost::format
10947
10948         * buffer.C (readLyXformat2): use boost::format
10949         (parseSingleLyXformat2Token): ditto
10950
10951         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10952
10953         * LaTeX.C (run): use boost::format
10954
10955         * Chktex.C (scanLogFile): use boost::format
10956
10957         * BufferView_pimpl.C (savePosition): use boost::format
10958         (restorePosition): ditto
10959         (MenuInsertLyXFile): ditto
10960
10961         * BoostFormat.h: help file for explicit instation.
10962
10963 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
10964
10965         * tabular.C (latex): Support for block alignment in fixed width
10966         columns.
10967
10968 2002-11-17  John Levon  <levon@movementarian.org>
10969
10970         * BufferView_pimpl.C:
10971         * lyx_cb.C:
10972         * lyxfunc.C: split filedialog into open/save
10973
10974 2002-11-08  Juergen Vigna  <jug@sad.it>
10975
10976         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10977         by my last patch (hopefully).
10978
10979 2002-11-08  John Levon  <levon@movementarian.org>
10980
10981         * iterators.h:
10982         * iterators.C:
10983         * buffer.h:
10984         * buffer.C:
10985         * paragraph.h:
10986         * paragraph.C:
10987         * toc.h:
10988         * toc.C: ParConstIterator, and use it (from Lars)
10989
10990 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
10991
10992         * lyxtextclass.[Ch]: revise and add doxygen comments
10993
10994 2002-11-07  John Levon  <levon@movementarian.org>
10995
10996         * text.C: fix progress value for spellchecker
10997
10998         * toc.C: fix navigate menu for insetwrap inside minipage
10999
11000         * paragraph_funcs.C: added FIXME for suspect code
11001
11002 2002-11-07  John Levon  <levon@movementarian.org>
11003
11004         * BufferView_pimpl.C: fix redrawing of insets
11005           on buffer switch
11006
11007 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11008
11009         * text2.C (updateCounters): fix bug 668
11010
11011 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
11012
11013         * text3.C (dispatch): Do not make the buffer dirty when moving the
11014         cursor.
11015
11016 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
11017
11018         * vc-backend.C: STRCONV
11019         (scanMaster): ditto
11020
11021         * text2.C (setCounter): STRCONV
11022
11023         * paragraph.C (asString): STRCONV
11024
11025         * lyxlength.C (asString): STRCONV
11026         (asLatexString): ditto
11027
11028         * lyxgluelength.C (asString): STRCONV
11029         (asLatexString): ditto
11030
11031         * lyxfunc.C (dispatch): STRCONV
11032         (open): ditto
11033
11034         * lyxfont.C (stateText): STRCONV
11035
11036         * importer.C (Import): STRCONV
11037
11038         * counters.C (labelItem): STRCONV
11039         (numberLabel): ditto
11040         (numberLabel): remove unused ostringstream o
11041
11042         * chset.C: STRCONV
11043         (loadFile): ditto
11044
11045         * bufferview_funcs.C (currentState): STRCONV
11046
11047         * buffer.C (readFile): STRCONV
11048         (asciiParagraph): ditto
11049         (makeLaTeXFile): ditto
11050
11051         * Spacing.C (writeEnvirBegin): STRCONV
11052
11053         * LaTeXFeatures.C (getLanguages): STRCONV
11054         (getPackages): ditto
11055         (getMacros): ditto
11056         (getBabelOptions): ditto
11057         (getTClassPreamble): ditto
11058         (getLyXSGMLEntities): ditto
11059         (getIncludedFiles): ditto
11060
11061         * LaTeX.C: STRCONV
11062         (run): ditto
11063         (scanAuxFile): ditto
11064         (deplog): ditto
11065
11066         * LString.h: add the STRCONV macros
11067
11068         * BufferView_pimpl.C (savePosition): STRCONV
11069         (restorePosition): ditto
11070         (MenuInsertLyXFile): ditto
11071
11072         * vc-backend.C (scanMaster): change from submatch[...] to
11073         submatch.str(...)
11074
11075         * funcrequest.C: include config.h
11076
11077         * factory.C: include config.h
11078
11079         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
11080
11081         * box.C: include config.h
11082
11083         * LaTeX.C (scanAuxFile): change from submatch[...] to
11084         submatch.str(...)
11085         (deplog): ditto
11086
11087 2002-10-25  Angus Leeming  <leeming@lyx.org>
11088
11089         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
11090
11091         * ispell.[Ch] (setError): new method.
11092         * ispell.C (c-tor): move out child process into new class LaunchIspell.
11093         Use setError() insetead of goto END.
11094
11095         * lyx_cb.C (AutoSave): move out child process into new class
11096         AutoSaveBuffer.
11097
11098 2002-10-30  John Levon  <levon@movementarian.org>
11099
11100         * text3.C: make start appendix undoable
11101
11102 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
11103
11104         * lyxlength.C (inPixels): Fix returned value.
11105
11106         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
11107         environment.
11108
11109 2002-10-24  Angus Leeming  <leeming@lyx.org>
11110
11111         * lyxgluelength.h: no need to forward declare BufferParams
11112         or BufferView, so don't.
11113
11114 2002-10-21  John Levon  <levon@movementarian.org>
11115
11116         * BufferView.C: menuUndo ->undo, redo
11117
11118         * BufferView.h: document, remove dead, make some methods private
11119
11120         * paragraph_funcs.h:
11121         * paragraph_funcs.C:
11122         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
11123
11124         * buffer.h:
11125         * buffer.C:
11126         * sgml.h:
11127         * sgml.C: move sgml open/close tag into sgml.C
11128
11129         * bufferview_funcs.h: unused prototype
11130
11131         * lyxfunc.h:
11132         * lyxfunc.C: remove unused
11133
11134         * lyxtext.h:
11135         * text.C: remove unused
11136
11137 2002-10-21  John Levon  <levon@movementarian.org>
11138
11139         * BufferView.h:
11140         * BufferView.C:
11141         * BufferView_pimpl.h:
11142         * BufferView_pimpl.C: fix mouse wheel handling based on
11143           patch from Darren Freeman
11144
11145 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
11146
11147         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
11148
11149 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
11150
11151         * lyxlength.C (inPixels): Fix hanfling of negative length.
11152         Fix LyXLength::MU case.
11153
11154 2002-10-16  John Levon  <levon@movementarian.org>
11155
11156         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
11157
11158 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11159
11160         * converter.C (view): add support for $$i (file name) and $$p
11161         (file path) for the viewer command. If $$i is not specified, then
11162         it is appended to the command (for compatibility with old syntax)
11163
11164 2002-10-14  Juergen Vigna  <jug@sad.it>
11165
11166         * undo_funcs.C (textHandleUndo): alter the order in which the
11167         new undopar is added to the LyXText, as we have to set first
11168         the right prev/next and then add it as otherwise the rebuild of
11169         LyXText is not correct. Also reset the cursor to the right paragraph,
11170         with this IMO we could remove the hack in "redoParagraphs()".
11171
11172 2002-10-09  Angus Leeming  <leeming@lyx.org>
11173
11174         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
11175         to turn off an optimisation if a new inset is to be inserted.
11176
11177 2002-10-11 André Pönitz <poenitz@gmx.net>
11178
11179         * lyxtext.h: make some functions public to allow access
11180         from inset/lyxtext for handling LFUN_PRIOR/NEXT
11181
11182 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11183
11184         * text3.C (dispatch): when changing layout, avoid an infinite loop
11185         [bug #652]
11186
11187 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11188
11189         * lyxrc.C (read): treat a viewer or converter command of "none" as
11190         if it were empty.
11191
11192         * MenuBackend.C (expandFormats): for an update, also allow the
11193         formats that are not viewable
11194
11195         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
11196         script if it is newer than the lyxrc.defaults in user directory
11197
11198 2002-10-07 André Pönitz <poenitz@gmx.net>
11199
11200         * text.C: Vitaly Lipatov's small i18n fix
11201
11202 2002-09-25  Angus Leeming  <leeming@lyx.org>
11203
11204         * ispell.h: doxygen fix.
11205
11206 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
11207
11208         * buffer.h (readFile): Add a new argument to the method, to allow
11209         reading of old-format templates.
11210
11211 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
11212
11213         * toc.C (getTocList): Get TOC from InsetWrap.
11214
11215 2002-09-16  John Levon  <levon@movementarian.org>
11216
11217         * lyxfunc.C: check tabular for cut/copy too
11218
11219 2002-09-12  John Levon  <levon@movementarian.org>
11220
11221         * LyXAction.C: tidy
11222
11223         * factory.h:
11224         * factory.C: add header
11225
11226         * paragraph_funcs.h:
11227         * paragraph_funcs.C: cleanup
11228
11229 2002-09-11  John Levon  <levon@movementarian.org>
11230
11231         * PrinterParams.h: odd/even default to true
11232
11233 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
11234
11235         * PrinterParams.h: update printer parameters for new xforms dialog
11236
11237 2002-09-11  Angus Leeming  <leeming@lyx.org>
11238
11239         * lyxserver.C (read_ready): re-write to make it more transparent
11240         and to make it work in coherent fashion under Tru64 Unix.
11241
11242 2002-09-11  André Pönitz <poenitz@gmx.net>
11243
11244         * commandtags.h:
11245         * LyXAction.C:
11246         * text3.C: implement LFUN_WORDSEL
11247
11248 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11249
11250         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
11251         make floatlist_ a boost::shared_ptr<FloatList>
11252
11253         * lyxtextclass.C: include FloatList.h
11254         (LyXTextClass): initialize floatlist_
11255         (TextClassTags): add TC_NOFLOAT
11256         (Read): match "nofloat" to TC_NOFLOAT and use it.
11257         (readFloat): modify call to floatlist_
11258         (floats): ditto
11259         (floats): ditto
11260
11261         * FloatList.[Ch] (FloatList): remove commented out float
11262         initialization.
11263         (erase): new function
11264
11265 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11266
11267         * MenuBackend.C (expandToc): fix crash when there is no document
11268         open
11269
11270 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
11271
11272         * many files: Add insetwrap.
11273
11274 2002-09-09  John Levon  <levon@movementarian.org>
11275
11276         * text2.C: remove confusing and awkward depth wraparound
11277
11278 2002-09-09  John Levon  <levon@movementarian.org>
11279
11280         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
11281
11282         * buffer.h:
11283         * buffer.C: remove getIncludeonlyList()
11284
11285         * paragraph.C:
11286         * lyxfunc.C: remove headers
11287
11288 2002-09-09  Juergen Vigna  <jug@sad.it>
11289
11290         * text.C (getColumnNearX): fix form Michael this is most
11291         probably a cut&paste bug.
11292
11293 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
11294
11295         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
11296
11297         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
11298         references, ws changes.
11299
11300         * text2.C (init): update counters after init
11301         (insertParagraph): no need to set counter on idividual paragraphs.
11302         (setCounter): access the counters object in the textclass object
11303         on in the buffer object.
11304         (updateCounters): ditto
11305
11306         * lyxtextclass.C: include counters.h, add variable ctrs_ as
11307         shared_ptr<Counters> to avoid loading counters.h in all
11308         compilation units.
11309         (LyXTextClass): initialize ctrs_
11310         (TextClassTags): add TC_COUNTER, and ...
11311         (Read): use it here.
11312         (CounterTags): new tags
11313         (readCounter): new function
11314         (counters): new funtion
11315         (defaultLayoutName): return a const reference
11316
11317         * counters.C (Counters): remove contructor
11318         (newCounter): remove a couple of unneeded statements.
11319         (newCounter): simplify a bit.
11320         (numberLabel): some small formatting changes.
11321
11322         * buffer.[Ch]: remove all traces of counters, move the Counters
11323         object to the LyXTextClass.
11324
11325 2002-09-06  Alain Castera  <castera@in2p3.fr>
11326
11327         * tabular.C: uses \tabularnewline; uses >{...} construct from array
11328         package to set the horizontal alignment on fixed width columns.
11329
11330         * lyx_sty.C:
11331         * lyx_sty.h: added tabularnewline macro def.
11332
11333         * LaTeXFeatures.C: added NeedTabularnewline macro feature
11334
11335 2002-09-06  John Levon  <levon@movementarian.org>
11336
11337         * LyXAction.C: tooltips for sub/superscript
11338
11339         * MenuBackend.C: a bit more verbose
11340
11341         * lyxfunc.C: tiny clean
11342
11343         * undo_funcs.C: document undo_frozen
11344
11345 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
11346
11347         * counters.C (Counters): add missing algorithm counter.
11348
11349         * text2.C (setCounter): lookup the counter with layouts latexname
11350         instead of by section number.
11351         (setCounter): use a hackish way to lookup the correct enum
11352         counter.
11353         a float name->type change
11354         reset enum couners with counter name directly instead of depth value.
11355
11356         * counters.C (Counters): remove the push_backs, change to use the
11357         float type not the float name.
11358         (labelItem): remove unused string, float name->type change
11359
11360         * counters.h: don't include vector, loose the enums and sects vectors
11361
11362 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
11363
11364         * lyxtextclass.C (TextClassTags): add TC_FLOAT
11365         (Read): add float->TC_FLOAT to textclassTags
11366         (Read): and handle it in the switch
11367         (readFloat): new function
11368
11369         * FloatList.C (FloatList): comment out the hardcoded float
11370         definitions.
11371
11372         * lyxlayout.h: ws change.
11373
11374 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
11375
11376         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
11377
11378 2002-09-03  Angus Leeming  <leeming@lyx.org>
11379
11380         * BufferView_pimpl.h: qualified name is not allowed in member
11381         declaration: WorkArea & Pimpl::workarea() const;
11382
11383         * factory.C: added using std::endl directive.
11384
11385         * text3.C: added using std::find and std::vector directives.
11386
11387 2002-08-29  André Pönitz <poenitz@gmx.net>
11388
11389         * lyxtext.h:
11390         * text2.C: remove unused member number_of_rows
11391
11392         * Makefile.am:
11393         * BufferView2.C: remove file, move contents to...
11394         * BufferView.C: ... here
11395
11396         * BufferView_pimpl.C:
11397         * factory.C: move more inset creation to factory
11398
11399         * vspace.C: avoid direct usage of LyXText, ws changes
11400
11401         * BufferView.[Ch]:
11402                 don't provide direct access to WorkArea, use two simple
11403                 acessors haveSelction() and workHeight() instead
11404
11405
11406 2002-08-29  John Levon  <levon@movementarian.org>
11407
11408         * BufferView_pimpl.C (dispatch): do not continue when
11409           no buffer
11410
11411 2002-08-28  André Pönitz <poenitz@gmx.net>
11412
11413         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
11414
11415         * BufferView.h:
11416         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
11417
11418 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
11419
11420         * buffer.C: increment LYX_FORMAT to 221
11421
11422         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
11423         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
11424
11425         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
11426
11427         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
11428
11429 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11430
11431         * factory.C (createInset): use LyXTextClass::floats
11432
11433         * MenuBackend.C (expandFloatListInsert):
11434         (expandFloatInsert):
11435         (expandToc):
11436
11437         * text2.C (setCounter):
11438
11439         * LaTeXFeatures.C (useFloat):
11440         (getFloatDefinitions):
11441
11442         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
11443
11444         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
11445         floatlist_, with accessor floats().
11446
11447         * FloatList.h: remove global FloatList
11448
11449 2002-08-26  André Pönitz <poenitz@gmx.net>
11450
11451         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
11452
11453         * BufferView.h:
11454         * BufferView2.C:
11455         * BufferView_pimpl.C:
11456         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
11457
11458 2002-08-25  John Levon  <levon@movementarian.org>
11459
11460         * LyXAction.C: fix margin note description
11461
11462 2002-08-24  John Levon  <levon@movementarian.org>
11463
11464         * buffer.C:
11465         * bufferlist.C:
11466         * bufferview_funcs.C:
11467         * lyxfont.C:
11468         * undo_funcs.C: cleanups
11469
11470         * lyxfunc.C: disable CUT/COPY when no selection
11471
11472 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
11473
11474         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11475         in "enum UNIT"; e.g. PTW for Percent of TextWidth
11476
11477         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11478         Add backward compatibility to "mono", "gray" and "no".
11479
11480 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
11481
11482         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11483         (and file_format >= 200).
11484
11485 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11486
11487         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11488
11489 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11490
11491         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11492
11493 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
11494
11495         * BufferView_pimpl.C:
11496         * LyXAction.C:
11497         * buffer.C:
11498         * commandtags.h:
11499         * lyxfunc.C:
11500         * paragraph.[Ch]:
11501         * text2.C:
11502         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11503         inset and code to make it  work with the paragraph code. The inset
11504         can be anywhere in the paragraph, but will only do the expected
11505         thing in LaTeX if the layout file contains the parameter line
11506                         OptionalArgs    1
11507         (or more generally, a nonzero value) for that layout.
11508
11509 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
11510
11511         * paragraph.h: remove the declaration of undefined counters class
11512         function.
11513
11514 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
11515
11516         * text2.C (setCounter):  fixed enumeration mis-count as reported by
11517         Dr. Richard Hawkins.
11518
11519 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11520
11521         * paragraph_funcs.h: remove some unneeded includes
11522
11523         * text.C (backspace): pasteParagraph now in global scipe
11524
11525         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11526         (pasteSelection): ditto
11527
11528         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11529         * paragraph_funcs.C (pasteParagraph): ... here
11530
11531 2002-08-20  André Pönitz <poenitz@gmx.net>
11532
11533         * commandtags.h: new LFUNs for swapping/copying table row/colums
11534
11535         * LyXAction.C:
11536         * lyxfunc.C: support for new lfuns
11537
11538 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
11539
11540         * tabular.C:
11541         * buffer.[Ch]: remove NO_COMPABILITY stuff
11542
11543 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
11544
11545         * boost.C (throw_exception): new file, with helper function for
11546         boost compiled without exceptions.
11547
11548         * paragraph.h:
11549         * lyxlength.C:
11550         * buffer.C:
11551         * ParameterStruct.h:
11552         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11553
11554         * bufferlist.C (emergencyWriteAll): use boost bind
11555
11556         * BufferView_pimpl.C (moveCursorUpdate): remove inline
11557
11558         * text.C: include paragraph_funcs.h
11559         (breakParagraph): breakParagraph is now in global scope
11560
11561         * paragraph_funcs.[Ch]: new files
11562
11563         * paragraph.C (breakParagraph,breakParagraphConservative): move to
11564         global scope
11565
11566         * buffer.C: include paragraph_funcs.h
11567         (insertStringAsLines): breakParagraph is now in global scope
11568
11569         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11570         paragraph_funcs.C
11571
11572         * CutAndPaste.C: include paragraph_funcs.h
11573         (cutSelection): breakParagraphConservative is now in global scope
11574         (pasteSelection): ditto
11575
11576         * buffer.h: declare oprator== and operator!= for
11577         Buffer::inset_iterator
11578
11579         * bufferlist.C (emergencyWrite): don't use fmt(...)
11580
11581         * text3.C: add using std::endl
11582
11583         * BufferView.C (moveCursorUpdate): remove default arg
11584
11585 2002-08-20  André Pönitz <poenitz@gmx.net>
11586
11587         * buffer.[Ch]: move inline functions to .C
11588
11589         * BufferView2.C:
11590         * BufferView_pimpl.C:
11591         * text.C:
11592         * buffer.[Ch]: use improved inset_iterator
11593
11594         * buffer.C:
11595         * paragraph.[Ch]: write one paragraph at a time
11596
11597 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11598
11599         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11600         style if style is not specified.
11601
11602 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11603
11604         * text2.C (setCounter): when searching for right label for a
11605         caption, make sure to recurse to parent insets (so that a caption
11606         in a minipage in a figure float works) (bug #568)
11607
11608 2002-08-20  André Pönitz <poenitz@gmx.net>
11609
11610         * text3.C: new file for LyXText::dispatch() and helpers
11611
11612         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11613
11614         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11615
11616 2002-08-19  André Pönitz <poenitz@gmx.net>
11617
11618         * lyxtext.h:
11619         * text.C: new LyXText::dispatch()
11620
11621         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11622
11623 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
11624
11625         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11626
11627         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11628         Hebrew text.
11629
11630 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11631
11632         * Makefile.am: use $(variables) instead of @substitutions@
11633
11634 2002-08-15  André Pönitz <poenitz@gmx.net>
11635
11636         * lyxfunc.C:
11637         * BufferView_pimpl.C: streamlining mathed <-> outer world
11638         interaction
11639
11640         * commandtags.h:
11641         * LyXAction.C: remove unused LFUN_MATH
11642
11643 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11644
11645         * paragraph.[Ch]: add some NO_NEXT ifdefs.
11646
11647 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11648
11649         * paragraph.C (Paragraph): reformat a bit
11650         (cutIntoMinibuffer): use builtin InsetList function instad of
11651         doing it manually.
11652         (getInset): ditto
11653
11654         * buffer.C: include boost/bind.hpp, add using std::for_each
11655         (writeFileAscii): use ParagraphList iterators
11656         (validate): use for_each for validate traversal of paragraphs
11657         (getBibkeyList): use ParagraphList iterators
11658         (resizeInsets): use for_each to resizeInsetsLyXText for all
11659         paragraphs.
11660         (getParFromID): use ParagraphList iterators
11661
11662         * BufferView2.C (lockInset): use paragraph list and iterators
11663
11664 2002-08-14  John Levon  <levon@movementarian.org>
11665
11666         * lyxserver.C: remove spurious xforms include
11667
11668 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11669
11670         * lyxfunc.C (getStatus): disable math-extern outside of math mode
11671
11672 2002-08-13  André Pönitz <poenitz@gmx.net>
11673
11674         * LyXAction.[Ch]:
11675         * lyxfunc.C: further cleaning
11676
11677 2002-08-13  André Pönitz <poenitz@gmx.net>
11678
11679         * funcrequest.h: new constructor
11680
11681         * funcrequest.C: move stuff here from .h
11682
11683         * Makefile.am:
11684         * BufferView_pimpl.C:
11685         * LyXAction.C:
11686         * toc.C:
11687         * lyxfunc.C: subsequent changes
11688
11689         * lyxfunc.h: new view() member function
11690
11691         * lyxfunc.C: subsequent changes
11692
11693 2002-08-13  Angus Leeming  <leeming@lyx.org>
11694
11695         * BufferView2.C:
11696         * BufferView_pimpl.C:
11697         * buffer.C:
11698         * converter.C:
11699         * importer.C:
11700         * lyxfunc.C:
11701         * lyxvc.C:
11702         * toc.C:
11703         * vc-backend.C:
11704         changes due to the changed LyXView interface that now returns references
11705         to member variables not pointers.
11706
11707 2002-08-13  Angus Leeming  <leeming@lyx.org>
11708
11709         * WordLangTuple (word, lang_code): return references to strings,
11710         not strings.
11711
11712         * BufferView.h:
11713         * SpellBase.h:
11714         * lyxtext.h: forward-declare WordLangTuple.
11715
11716         * BufferView2.C:
11717         * ispell.C:
11718         * pspell.C:
11719         * text.C: #include "WordLangTuple.h".
11720
11721         * lyxtext.h:
11722         * text.C: (selectNextWordToSpellcheck): constify return type.
11723
11724 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
11725
11726         * buffer.C:
11727         * buffer.h:
11728         * lyxtext.h:
11729         * paragraph.C:
11730         * paragraph_pimpl.h:
11731         * text.C:
11732         * text2.C:
11733         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11734         suggested by Angus.
11735         Made updateCounter always count from start of buffer, and removed
11736         second argument (par).
11737         Reverted floats number display to '#'. Perhaps I'll try again when the
11738         code base is sanitized a bit.
11739
11740 2002-08-12  Angus Leeming  <leeming@lyx.org>
11741
11742         * buffer.[Ch] (getLabelList): constify.
11743
11744 2002-08-07  André Pönitz <poenitz@gmx.net>
11745
11746         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11747
11748         * funcrequest.h: extension to keep mouse (x,y) position
11749
11750 2002-08-12  Juergen Vigna  <jug@sad.it>
11751
11752         * BufferView2.C (insertErrors): forbid undo when inserting error
11753         insets.
11754
11755         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11756
11757 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
11758
11759         * ParagraphList.[Ch]: new files
11760
11761         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11762
11763         * BufferView2.C (lockInset): ParagraphList changes
11764         * toc.C: ditto
11765         * text2.C: ditto
11766         * bufferlist.C: ditto
11767         * buffer.h: ditto
11768         * buffer.C: ditto
11769
11770 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11771
11772         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11773         unused class variable counter_,
11774
11775         * paragraph.[Ch] (getFirstCounter): delete unused function
11776
11777         * counters.C: include LAssert.h
11778         (reset): add a new function with no arg, change other version to
11779         not have def. arg and to not allow empty arg.
11780
11781         * text2.C (setCounter): remove empty arg from call to Counters::reset
11782
11783 2002-08-11  John Levon  <levon@movementarian.org>
11784
11785         * Makefile.am: add WordLangTuple.h
11786
11787 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11788
11789         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11790         lyxfunc.C lyxlex_pimpl.C: ws changes only.
11791
11792         * insets/insettext.C: InsetList changes
11793
11794         * graphics/GraphicsSupport.C (operator()): InsetList changes
11795
11796         * toc.C (getTocList): InsetList changes
11797
11798         * paragraph_pimpl.[Ch]: InsetList changes
11799
11800         * paragraph.[Ch]: InsetList changes
11801
11802         * buffer.C (inset_iterator): InsetList changes
11803         (setParagraph): ditto
11804         * buffer.h (inset_iterator): ditto
11805         * iterators.C (operator++): ditto
11806         * iterators.h: ditto
11807
11808         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11809
11810         * InsetList.[Ch]: new files, most InsetList handling moved out of
11811         paragraph.C.
11812
11813         * BufferView2.C (removeAutoInsets): InsetList changes
11814         (lockInset): ditto
11815         (ChangeInsets): ditto
11816
11817 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
11818
11819         * paragraph_pimpl.h (empty): new function
11820
11821         * paragraph.[Ch] (empty): new function
11822
11823         * other files: use the new Paragraph::empty function
11824
11825 2002-08-09  John Levon  <levon@movementarian.org>
11826
11827         * lyxtext.h: remove unused refresh_height
11828
11829 2002-08-09  John Levon  <levon@movementarian.org>
11830
11831         * Makefile.am:
11832         * sgml.h:
11833         * sgml.C:
11834         * buffer.C:
11835         * paragraph.h:
11836         * paragraph.C: move sgml char escaping out of paragraph
11837
11838         * paragraph.h:
11839         * paragraph.C: remove id setter
11840
11841         * buffer.C:
11842         * paragraph.C:
11843         * paragraph_pimpl.C: remove dead tex_code_break_column
11844
11845         * bufferview_funcs.C: small cleanup
11846
11847         * lyxfunc.C: remove dead proto
11848
11849         * lyxtext.h: make some stuff private. Remove some dead stuff.
11850
11851         * lyxgluelength.C: make as[LyX]String() readable
11852
11853 2002-08-08  John Levon  <levon@movementarian.org>
11854
11855         * LyXAction.h:
11856         * LyXAction.C:
11857         * MenuBackend.C:
11858         * ToolbarDefaults.C:
11859         * lyxfunc.C:
11860         * lyxrc.C:
11861         * toc.C: lyxaction cleanup
11862
11863 2002-08-08  John Levon  <levon@movementarian.org>
11864
11865         * BufferView2.C: small cleanup
11866
11867         * lyxfind.h:
11868         * lyxfind.C: move unnecessary header into the .C
11869
11870 2002-08-08  John Levon  <levon@movementarian.org>
11871
11872         * funcrequest.h: just tedious nonsense
11873
11874         * lyx_main.h:
11875         * lyx_main.C: cleanups
11876
11877         * buffer.C:
11878         * vspace.C: remove dead header lyx_main.h
11879
11880 2002-08-07  Angus Leeming  <leeming@lyx.org>
11881
11882         * Paragraph.[Ch]:
11883         * paragraph_pimpl.h:
11884         Forward declare class Counters in paragraph.h by moving the ctrs member
11885         variable into Paragraph::Pimpl.
11886         (counters): new method, returning a reference to pimpl_->ctrs.
11887
11888         * text2.C: ensuing changes.
11889
11890 2002-08-07  John Levon  <levon@movementarian.org>
11891
11892         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11893
11894         * BufferView_pimpl.C: announce X selection on double/triple
11895           click
11896
11897         * lyx_main.C: use correct bool in batch dispatch
11898
11899         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11900
11901 2002-08-07  André Pönitz <poenitz@gmx.net>
11902
11903         * funcrequest.h: new class to wrap a kb_action and its argument
11904
11905         * BufferView.[Ch]:
11906         * BufferView_pimpl[Ch]:
11907         * LaTeX.C:
11908         * LyXAction.[Ch]:
11909         * lyxfunc.[Ch]:
11910         * lyxrc.C: subsequent changes
11911
11912
11913 2002-08-07  John Levon  <levon@movementarian.org>
11914
11915         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11916           document options change.
11917
11918 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
11919
11920         * counters.[Ch]
11921         * text2.C
11922         * paragraph.[Ch]
11923         * makefile.am: move counters functionality over from
11924         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11925
11926 2002-08-06  John Levon  <levon@movementarian.org>
11927
11928         * WordLangTuple.h: new file for word + language code tuple
11929
11930         * SpellBase.h:
11931         * pspell.h:
11932         * pspell.C:
11933         * ispell.h:
11934         * ispell.C:
11935         * lyxtext.h:
11936         * text.C:
11937         * text2.C:
11938         * BufferView.h:
11939         * BufferView2.C: use WordLangTuple
11940
11941         * layout.h:
11942         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11943
11944 2002-08-06  John Levon  <levon@movementarian.org>
11945
11946         * lyx_main.C: fix cmdline batch handling
11947
11948 2002-08-06  André Pönitz <poenitz@gmx.net>
11949
11950         * lyxrc.C: set default for show_banner to true
11951
11952 2002-08-06  John Levon  <levon@movementarian.org>
11953
11954         * pspell.C: fix a crash, and allow new aspell to work
11955
11956 2002-08-06  John Levon  <levon@movementarian.org>
11957
11958         * lyxfunc.C:
11959         * kbmap.C: small cleanup
11960
11961         * vspace.h:
11962         * vspace.C: add const
11963
11964 2002-08-05  John Levon  <levon@movementarian.org>
11965
11966         * LyXAction.C: back to tabular-insert
11967
11968 2002-08-04  John Levon  <levon@movementarian.org>
11969
11970         * BufferView.h:
11971         * BufferView.C: cosmetic change
11972
11973         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11974
11975         * bufferlist.C:
11976         * buffer.h:
11977         * buffer.C:
11978         * lyxcb.h:
11979         * lyxcb.C:
11980         * lyxserver.C:
11981         * lyxvc.C:
11982         * vc-backend.C:
11983         * BufferView2.C: purge all "Lyx" not "LyX" strings
11984
11985         * lyxcursor.h:
11986         * lyxcursor.C: attempt to add some documentation
11987
11988         * lyxfunc.C:
11989         * commandtags.h:
11990         * LyXAction.C:
11991         * ToolbarDefaults.C:
11992         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11993           merge with LFUN_TABULAR_INSERT
11994
11995         * Makefile.am:
11996         * SpellBase.h:
11997         * ispell.h:
11998         * ispell.C:
11999         * pspell.h:
12000         * pspell.C: split up i/pspell implementations into separate
12001           files, many cleanups
12002
12003         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
12004
12005         * text2.C: some cleanup
12006
12007         * lyxfunc.C: don't check for isp_command == "none" any more, it
12008           didn't make any sense
12009
12010 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
12011
12012         * counters.[Ch]
12013         * text2.C
12014         * paragraph.[Ch]
12015         * makefile.am: move counters functionality over
12016         from text2.C/paragraph.[Ch] to counters.[Ch], and
12017         make proper C++.
12018 2002-08-02  John Levon  <levon@movementarian.org>
12019
12020         * buffer.C: s/lyxconvert/lyx2lyx/
12021
12022 2002-08-02  Angus Leeming  <leeming@lyx.org>
12023
12024         * lyxlex.C: revert John's change as it breaks reading of the user
12025         preamble.
12026
12027 2002-08-02  Angus Leeming  <leeming@lyx.org>
12028
12029         * importer.C (Import):
12030         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
12031         changes due to LyXView::view() now returning a boost::shared_ptr.
12032
12033 2002-08-02  John Levon  <levon@movementarian.org>
12034
12035         * lyxlex.C: small cleanup
12036
12037 2002-08-02  John Levon  <levon@movementarian.org>
12038
12039         * text2.C (status): small cleanup, no logic change
12040
12041 2002-08-01  John Levon  <levon@movementarian.org>
12042
12043         * buffer.h:
12044         * buffer.C (writeFile): don't output alerts, caller
12045           handles this
12046
12047         * bufferlist.C:
12048         * lyx_cb.C: from above
12049
12050         * lyxfunc.C: allow to open non-existent files
12051
12052 2002-07-31  John Levon  <levon@movementarian.org>
12053
12054         * lyxserver.C: don't let incidental errors get
12055           in the way (errno)
12056
12057 2002-07-30  John Levon  <levon@movementarian.org>
12058
12059         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
12060
12061 2002-07-30  John Levon  <levon@movementarian.org>
12062
12063         * lyxserver.h:
12064         * lyxserver.C: remove I/O callback too
12065
12066 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12067
12068         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
12069         log.
12070
12071 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
12072
12073         * many files: strip,frontStrip -> trim,ltrim,rtrim
12074
12075 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
12076
12077         * PrinterParams.h: remove extern containsOnly, and include
12078         support/lstrings.h instead.
12079
12080         * LaTeX.C (scanAuxFile): modify because of strip changes
12081         (deplog): ditto
12082         * buffer.C (makeLaTeXFile): ditto
12083         * bufferparams.C (writeFile): ditt
12084         * lyxfont.C (stateText): ditto
12085         * lyxserver.C (read_ready): ditto
12086         * vc-backend.C (scanMaster): ditto
12087
12088         * BufferView_pimpl.h: ws changes
12089
12090         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
12091
12092 2002-07-26  André Pönitz <poenitz@gmx.net>
12093
12094         * kb_sequence.C: remove unnedred usings
12095
12096 2002-07-26  Juergen Vigna  <jug@sad.it>
12097
12098         * lyxfind.C (LyXReplace): we have to check better if the returned
12099         text is not of theLockingInset()->getLockingInset().
12100
12101 2002-07-25  Juergen Vigna  <jug@sad.it>
12102
12103         * lyxfind.C (LyXReplace): don't replace if we don't get the
12104         right LyXText.
12105
12106         * undo_funcs.C (createUndo): remove debugging code.
12107
12108 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
12109
12110         * buffer.C (parseSingleLyXformat2Token): Use default placement
12111         when reading old floats.
12112
12113         * FloatList.C (FloatList): Change the default placement of figure
12114         and tables to "tbp".
12115
12116 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
12117
12118         * MenuBackend.C: using std::max
12119
12120 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12121
12122         * MenuBackend.C (expandToc):
12123         (expandToc2): code moved from xforms menu frontend. It is now
12124         generic and TOCs are transparent to menu frontends.
12125
12126 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12127
12128         * toc.C (getTocList): protect against buf=0
12129
12130         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
12131         Menu as first parameter. Now, this calls itself recursively to
12132         expand a whole tree (this will be useful for TOC handling)
12133         (expandFloatInsert): remove 'wide' version of floats
12134
12135         * MenuBackend.h (submenuname): returns the name of the submenu.
12136         (submenu): returns the submenu itself, provided it has been
12137         created by MenuBackend::expand
12138
12139 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12140
12141         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
12142         insets which have noFontChange == true. (bug #172)
12143
12144 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12145
12146         * BufferView_pimpl.C: add connection objects and use them...
12147         (Pimpl): here.
12148
12149 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12150
12151         * MenuBackend.C (expandLastfiles):
12152         (expandDocuments):
12153         (expandFormats):
12154         (expandFloatListInsert):
12155         (expandFloatInsert):
12156         (expand): split expand in parts
12157
12158 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
12159
12160         * lyx_gui.C: use lyx_gui::exit()
12161
12162 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
12163
12164         * LyXAction.C: show the failing pseudo action
12165
12166 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
12167
12168         * buffer.C (readFile): Run the lyxconvert script in order to read
12169         old files.
12170
12171 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
12172
12173         * LyXAction.C:
12174         * commandtags.h:
12175         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
12176
12177 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
12178
12179         * LyXAction.C:
12180         * commandtags.h:
12181         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
12182
12183 2002-07-22  Herbert Voss  <voss@lyx.org>
12184
12185         * lengthcommon.C:
12186         * lyxlength.[Ch]: add support for the vertical lengths
12187
12188 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
12189
12190         * toc.[Ch]: std:: fixes
12191
12192 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12193
12194         * lyxrc.C: do not include lyx_main.h
12195
12196         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
12197         for layouts
12198
12199         * lyxrc.C:
12200         * encoding.C:
12201         * bufferlist.C:
12202         * BufferView2.C: include "lyxlex.h"
12203
12204         * tabular.h:
12205         * bufferparams.h: do not #include "lyxlex.h"
12206
12207         * lyxtextclasslist.C (Add): remove method
12208         (classlist): renamed to classlist_
12209
12210         * paragraph_pimpl.C:
12211         * paragraph.C:
12212         * text2.C:
12213         * CutAndPaste.C:
12214         * bufferview_funcs.C:
12215         * bufferlist.C:
12216         * text.C:
12217         * LaTeXFeatures.C:
12218         * buffer.C:
12219         * toc.C (getTocList): use BufferParams::getLyXTextClass
12220
12221         * toc.C (getTocList): use InsetFloat::addToToc
12222
12223         * toc.[Ch]: new files, containing helper functions to handle table
12224         of contents
12225
12226         * lyxfunc.C (dispatch): no need to remove spaces around command
12227         given as a string
12228         (getStatus): handle LFUN_SEQUENCE by returning the status of the
12229         first command of the sequence; it is not very clever, but I do not
12230         have a better idea, actually
12231
12232         * LyXAction.C (LookupFunc): make sure to remove space at the
12233         beginning and end of the command
12234
12235 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12236
12237         * MenuBackend.C (getMenubar): new method: return the menubar of
12238         this menu set
12239         (read): treat differently reading of menu and menubar (in
12240         particular, the menubar has no name now)
12241         (Menu::menubar): remove
12242
12243         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
12244         saving is finished
12245
12246 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
12247
12248         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
12249         a bibitem inset in a RTL paragraph.
12250
12251 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
12252
12253         * paragraph_pimpl.C: constify
12254
12255         * BufferView_pimpl.C:
12256         * LaTeX.C:
12257         * lyxfunc.C: fix dispatch in a nicer way
12258
12259 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12260
12261         * lyxfunc.C (dispatch):
12262         * BufferView_pimpl.C:
12263         * BufferView_pimpl.h:
12264         * BufferView.C:
12265         * BufferView.h: rename Dispatch() to dispatch()
12266
12267         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
12268
12269         * lyxlayout.C (Read): honor DependsOn tag
12270
12271         * lyxlayout.[Ch] (depends_on): new method
12272
12273         * version.C.in: update lyx_docversion
12274
12275         * LaTeXFeatures.C (getMacros): only define \LyX when needed
12276
12277         * paragraph.C (validate): remove from here...
12278         * paragraph_pimpl.C (validate): ... and move here
12279         (isTextAt): make it const
12280
12281         * buffer.C (getLists): ws cleanup
12282
12283 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
12284
12285         * language.C (read): Use iso8859-1 encoding in latex_lang
12286         (this prevents LyX from crashing when using iso10646-1 encoding).
12287
12288 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12289
12290         * text2.C (toggleInset): if cursor is inside an inset, close the
12291         inset and leave cursor _after_ it
12292
12293 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
12294
12295         * lyxfunc.C: move minibuffer completion handling out of here
12296
12297 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
12298
12299         * BufferView_pimpl.C:
12300         * LaTeX.C: fix dispatch calls
12301
12302 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
12303
12304         * text.C (drawChars): Fix Arabic text rendering.
12305
12306 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
12307
12308         * LyXAction.C:
12309         * commandtags.h:
12310         * lyxfunc.C: remove message-push/pop
12311
12312         * lyxserver.C:
12313         * lyxfunc.h:
12314         * lyxfunc.C: rationalise some code by removing verboseDispatch
12315           in favour of a bool argument to dispatch()
12316
12317 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12318
12319         * lyx_main.C (init): make sure to read symlinks as absolute paths
12320
12321 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12322
12323         * lyxfunc.h:
12324         * lyxfunc.C: no need for commandshortcut to be a member
12325
12326 2002-07-15  André Pönitz <poenitz@gmx.net>
12327
12328         * converter.C: add support for $$s (scripts from lib/scripts dir)
12329         * lyx_main.C: white space
12330
12331 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12332
12333         * bufferlist.C:
12334         * lyxrc.h:
12335         * lyxrc.C: remove second exit confirmation
12336
12337 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12338
12339         * BufferView.h:
12340         * BufferView.C:
12341         * BufferView2.C:
12342         * BufferView_pimpl.h:
12343         * BufferView_pimpl.C:
12344         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
12345
12346 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12347
12348         * MenuBackend.C (expand): add numeric shortcuts to document menu
12349
12350         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
12351
12352 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12353
12354         * lyxfont.C (setLyXFamily):
12355         (setLyXSeries):
12356         (setLyXShape):
12357         (setLyXSize):
12358         (setLyXMisc):
12359         (lyxRead):
12360         * debug.C (value):
12361         * buffer.C (asciiParagraph): use ascii_lowercase
12362
12363 2002-07-15  Mike Fabian  <mfabian@suse.de>
12364
12365         * lyxlex_pimpl.C (search_kw):
12366         * lyxlex.C (getLongString):
12367         * converter.h (operator<):
12368         * converter.C (operator<):
12369         * buffer.C (parseSingleLyXformat2Token):
12370         (asciiParagraph):
12371         * ToolbarDefaults.C (read):
12372         * MenuBackend.C (checkShortcuts):
12373         (read):
12374         * LColor.C (getFromGUIName):
12375         (getFromLyXName): use the compare_ascii_no_case instead of
12376         compare_no_case, because in turkish, 'i' is not the lowercase
12377         version of 'I', and thus turkish locale breaks parsing of tags.
12378
12379 2002-07-16  Angus Leeming  <leeming@lyx.org>
12380
12381         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
12382         now takes a Buffer const & argument.
12383
12384 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
12385
12386         * BufferView.C (resize): check there's a buffer to resize
12387
12388 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
12389
12390         * lyxfunc.C: remove dead code
12391
12392         * lyxserver.h:
12393         * lyxserver.C: use lyx_guii::set_read_callback
12394
12395 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12396
12397         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
12398         an inset in a RTL paragraph.
12399
12400 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12401
12402         * lyxfunc.C: repaint after a font size update
12403
12404 2002-07-15  André Pönitz <poenitz@gmx.net>
12405
12406         * lyxlength.C: inBP should be able to return negative values
12407
12408 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12409
12410         * lyxfunc.C: use lyx_gui::update_fonts()
12411
12412 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12413
12414         * lyxfunc.C: use lyx_gui::update_color()
12415
12416 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
12417
12418         * bufferlist.C:
12419         * lyxfunc.h:
12420         * lyxfunc.C:
12421         * lyxrc.h:
12422         * lyxrc.C: remove file->new asks for name option, and let
12423           buffer-new take an argument
12424
12425 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
12426
12427         * BufferView_pimpl.C: remove unneeded extra repaint()
12428
12429 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
12430
12431         * LyXAction.C: allow command-sequence with NoBuffer
12432
12433         * lyxfunc.C: don't insist on trailing ';' for command-sequence
12434
12435 2002-07-10  Angus Leeming  <leeming@lyx.org>
12436
12437         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
12438
12439 2002-07-09  Angus Leeming  <leeming@lyx.org>
12440
12441         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
12442
12443 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12444
12445         * lengthcommon.h: whitespace
12446
12447         * lyxfunc.C: update scrollbar after goto paragraph
12448
12449         * lyxtext.h: factor out page break drawing, and fix it so
12450           page break/added space paints as selected nicely
12451
12452 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12453
12454         * BufferView_pimpl.C: add FIXMEs, clean up a little
12455
12456 2002-07-09  André Pönitz <poenitz@gmx.net>
12457
12458         * lyxfont.[Ch]: support for wasy symbols
12459
12460 2002-07-08  André Pönitz <poenitz@gmx.net>
12461
12462         * BufferView_pimpl.C: apply John's patch for #93.
12463
12464 2002-07-05  Angus Leeming  <leeming@lyx.org>
12465
12466         * BufferView_pimpl.C (buffer): generate previews if desired.
12467
12468         * LColor.h: add "preview" to the color enum.
12469
12470         * LColor.C (LColor): add a corresponding entry to the items array.
12471
12472         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12473         with this buffer.
12474
12475 2002-07-05  Angus Leeming  <leeming@lyx.org>
12476
12477         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12478         The body of the code is now in the method that is passed an ostream &
12479         rather than a file name.
12480         Pass an additional only_preamble parameter, useful for the forthcoming
12481         preview stuff.
12482
12483 2002-07-03  André Pönitz <poenitz@gmx.net>
12484
12485         * lyxfunc.C: simplify getStatus() a bit for math stuff
12486
12487 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12488
12489         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12490
12491 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12492
12493         * text.C (changeRegionCase): do not change case of all the
12494         document when region ends at paragraph end (bug #461)
12495
12496 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12497
12498         * paragraph.C (startTeXParParams):
12499         (endTeXParParams): add \protect when necessary
12500
12501 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12502
12503         * BufferView_pimpl.C (workAreaExpose): remove warning
12504
12505 2002-06-27  Angus Leeming  <leeming@lyx.org>
12506
12507         * Makefile.am: add lyxlayout_ptr_fwd.h.
12508
12509 2002-06-26  André Pönitz <poenitz@gmx.net>
12510
12511         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12512
12513 2002-06-25  Angus Leeming  <leeming@lyx.org>
12514
12515         * lyxfunc.C (dispatch): Comment out the call to
12516         grfx::GCache::changeDisplay. The method no longer exists now that the
12517         pixmap generation part of the graphics loader has been moved into
12518         InsetGraphics.
12519
12520 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12521
12522         * text2.C: layout as layout
12523
12524         * text.C: layout as layout
12525
12526         * tabular.C (OldFormatRead): layout as layout
12527
12528         * paragraph_pimpl.C (TeXDeeper): layout as layout
12529         (realizeFont): layout as layout
12530
12531         * paragraph.C (writeFile): layout as layout
12532         (validate): layout as layout
12533         (getFont): layout as layout
12534         (getLabelFont): layout as layout
12535         (getLayoutFont): layout as layout
12536         (breakParagraph): layout as layout
12537         (stripLeadingSpaces): layout as layout
12538         (getEndLabel): layout as layout
12539         (getMaxDepthAfter): layout as layout
12540         (applyLayout): layout as layout
12541         (TeXOnePar): layout as layout
12542         (simpleTeXOnePar): layout as layout
12543         (TeXEnvironment): layout as layout
12544         (layout): layout as layout
12545         (layout): layout as layout
12546
12547         * lyxtextclass.C (compare_name): new functor to work with
12548         shared_ptr, layout as layout
12549         (Read): layout as layout
12550         (hasLayout): layout as layout
12551         (operator): layout as layout
12552         (delete_layout): layout as layout
12553         (defaultLayout): layout as layout
12554
12555         * lyxlayout_ptr_fwd.h: new file
12556
12557         * lyxlayout.C (Read): layout as layout
12558
12559         * lyx_cb.C (MenuInsertLabel): layout as layout
12560
12561         * bufferlist.C (newFile): layout as layout
12562
12563         * buffer.C (readLyXformat2): layout as layout
12564         (parseSingleLyXformat2Token): layout as layout
12565         (insertStringAsLines): layout as layout
12566         (asciiParagraph): layout as layout
12567         (latexParagraphs): layout as layout
12568         (makeLinuxDocFile): layout as layout
12569         (simpleLinuxDocOnePar): layout as layout
12570         (makeDocBookFile): layout as layout
12571         (simpleDocBookOnePar): layout as layout
12572         (getLists): layout as layout
12573
12574         * LaTeXFeatures.C (getTClassPreamble): layout as layout
12575
12576         * CutAndPaste.C (cutSelection): layout as layout
12577         (pasteSelection): layout as layout
12578         (SwitchLayoutsBetweenClasses): layout as layout
12579
12580         * BufferView_pimpl.C (Dispatch): layout as layout
12581         (smartQuote): layout as layout
12582
12583         * BufferView2.C (unlockInset): layout as layout
12584
12585 2002-06-24  André Pönitz <poenitz@gmx.net>
12586
12587         * lyxfunc.C: fix #487
12588
12589 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12590
12591         * lyxrc.h:
12592         * lyxrc.C:
12593         * lyxfunc.C: remove display_shortcuts, show_banner
12594
12595 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12596
12597         * Buffer_pimpl.C: oops, update on resize
12598
12599 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12600
12601         * buffer.C:
12602         * converter.C:
12603         * exporter.C:
12604         * lyxfunc.C:
12605         * BufferView.h:
12606         * BufferView.C: use repaint()
12607
12608         * BufferView_pimpl.h:
12609         * BufferView_pimpl.C: s/updateScreen()/repaint()/
12610           as it's a clearer description. Remove superfluous
12611           redraws.
12612
12613 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12614
12615         * text.C: fix bug 488. Not ideal, but getting
12616           getWord() to work properly for the insets that
12617           matter is more difficult ...
12618
12619 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12620
12621         * BufferView_pimpl.C:
12622         * LyXAction.C:
12623         * commandtags.h:
12624         * lyxfunc.C: remove the six million index lyxfuncs to just
12625           one, and DTRT (bug 458)
12626
12627 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12628
12629         * BufferView.h:
12630         * BufferView.C:
12631         * BufferView_pimpl.h:
12632         * BufferView_pimpl.C: clean up resize() stuff,
12633           and unnecessary updateScreen()s
12634
12635 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12636
12637         * BufferView.h:
12638         * BufferView.C:
12639         * BufferView_pimpl.h:
12640         * BufferView_pimpl.C:
12641         * lyxfind.h:
12642         * lyxfind.C:
12643         * minibuffer.C: remove focus management of workarea,
12644           not needed. Use screen's greyOut()
12645
12646 2002-06-17  Herbert Voss  <voss@lyx.org>
12647
12648         * converter.C: (convert) do not post a message, when converting
12649         fails, let the calling function decide what to do in this case
12650
12651 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
12652
12653         * lyxfunc.C: tidy up a little
12654
12655 2002-06-16    <alstrup@diku.dk>
12656
12657         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12658         Got rid of FORMS_H_LOCATION include. Now we are
12659         GUII.
12660
12661 2002-06-15  LyX Development team  <lyx@rilke>
12662
12663         * buffer.[Ch] (sgmlOpenTag):
12664         (sgmlCloseTag): Added support for avoiding pernicious mixed
12665         content. Return number of lines written.
12666
12667         (makeLinuxDocFile):
12668         (makeDocBookFile): Fixed calls to sgml*Tag.
12669         Simple white space clean.
12670
12671         (simpleDocBookOnePar): Simple white space clean.
12672
12673         * tabular.[Ch] (docBook): Renamed to docbook and got another
12674         argument to related with the pernicious mixed content.
12675
12676         (docbookRow): Fixed calls for docbook inset method.
12677
12678 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
12679
12680         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12681         so it's X11 independent.
12682
12683         * kb*.[Ch]: ditto.
12684
12685         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12686
12687 2002-06-15  Lyx Development team  <lyx@electronia>
12688
12689         * intl.h: Renamed getTrans to getTransManager.
12690
12691 2002-06-14  Angus Leeming  <leeming@lyx.org>
12692
12693         * Makefile.am: nuke forgotten stl_string_fwd.h.
12694
12695 2002-06-12  Angus Leeming  <leeming@lyx.org>
12696
12697         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12698
12699 2002-06-13  Angus Leeming  <leeming@lyx.org>
12700
12701         * LaTeX.C:
12702         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12703
12704 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
12705
12706         * kbmap.C (getiso): add support for cyrillic and greek
12707
12708 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12709
12710         * BufferView.h:
12711         * BufferView.C:
12712         * BufferView_pimpl.h:
12713         * BufferView_pimpl.C: move bogus scrolling logic
12714           to xforms
12715
12716 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12717
12718         * lyxfunc.C:
12719         * BufferView_pimpl.C: view->resize() change
12720
12721 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12722
12723         * BufferView_pimpl.C: topCursorVisible
12724           prototype change
12725
12726 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12727
12728         * Makefile.am:
12729         * lyx_gui.h:
12730         * lyx_gui.C: move to frontends/
12731
12732         * main.C:
12733         * lyx_main.h:
12734         * lyx_main.C: changes from above
12735
12736 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12737
12738         * intl.C:
12739         * intl.h:
12740         * kbmap.C:
12741         * kbsequence.C:
12742         * lyx_cb.C:
12743         * lyx_main.C: minor tidy
12744
12745 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12746
12747         * BufferView_pimpl.h:
12748         * BufferView_pimpl.C:
12749         * BufferView.h:
12750         * BufferView.C: make painter() const,
12751           remove dead code
12752
12753         * BufferView2.C: use screen() accessor
12754
12755         * lyx_main.h:
12756         * lyx_main.C: some minor cleanup
12757
12758 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12759
12760         * BufferView_pimpl.h:
12761         * BufferView_pimpl.C: remove enter/leaveView,
12762           use workHeight()
12763
12764 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12765
12766         * BufferView.h:
12767         * BufferView.C:
12768         * BufferView2.C:
12769         * BufferView_pimpl.h:
12770         * BufferView_pimpl.C: only construct screen once,
12771           rename
12772
12773         * lyxrc.C: remove pointless comment
12774
12775 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12776
12777         * BufferView.h:
12778         * BufferView.C: remove active() and belowMouse()
12779
12780         * BufferView_pimpl.h:
12781         * BufferView_pimpl.C: use workarea() not workarea_,
12782           and make it use a scoped_ptr instead
12783
12784 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12785
12786         * lyx_gui.C: add debug message on BadWindow
12787
12788 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12789
12790         * sp_spell.C: fdopen is not part of the C++ standard.
12791
12792         * paragraph.C (InsetIterator): use >= instead of ==
12793
12794 2002-06-07  Angus Leeming  <leeming@lyx.org>
12795
12796         Fixes needed to compile with Compaq cxx 6.5.
12797         * BufferView_pimpl.C:
12798         * DepTable.C:
12799         * buffer.C:
12800         * converter.C:
12801         * encoding.C:
12802         * lyx_gui.C:
12803         * lyx_main.C:
12804         * lyxtextclasslist.C:
12805         * minibuffer.C:
12806         * sp_spell.C:
12807         * tabular_funcs.C:
12808         * vc-backend.C:
12809         all c-library variables have been moved into namespace std. Wrap
12810         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12811
12812         * lyxlength.C:
12813         * tabular-old.C:
12814         * tabular.C:
12815         Add a using std::abs declaration.
12816
12817         * kbmap.h (modifier_pair):
12818         * paragraph.h (InsetTable, InsetList):
12819         * lyxfont.h (FontBits):
12820         type definition made public.
12821
12822         * bufferlist.C (emergencyWriteAll): the compiler complains that
12823         there is more than one possible lyx::class_fun template to choose from.
12824         I re-named the void specialisation as lyx::void_class_fun.
12825
12826         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12827
12828         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12829         the compiler is is unable to find tostr in write_attribute.
12830
12831 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12832
12833         * buffer.C (sgmlError): hide #warning
12834
12835 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12836
12837         * xtl/*: get rid of xtl, which is not in use anyway
12838
12839         * LyXAction.C (init):
12840         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12841         were unimplemented xtl experimentation
12842
12843 2002-06-04  André Pönitz <poenitz@gmx.net>
12844
12845         * lyxfunc.C: disable array operation on simple formulae
12846
12847 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
12848
12849         * converter.C: constify a bit
12850
12851 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
12852
12853         * lyx_gui.C: check xforms version correctly
12854
12855 2002-04-30  Herbert Voss  <voss@lyx.org>
12856
12857         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12858         "keep" option
12859
12860 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
12861
12862         * lyxvc.C: fix bug 416 (make sure buffer is saved before
12863           attempt to register it with a VCS)
12864
12865 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12866
12867         * lyx_main.C (init): honor variables LYX_DIR_13x and
12868         LYX_USERDIR_13x
12869
12870 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12871
12872         * buffer.h:
12873         * buffer.C:
12874         * lyx_main.C: fix a crash on bad command line,
12875           and give a useful exit status on error
12876
12877         * lyxfunc.C (doImport): allow -i lyx to work
12878
12879 2002-03-30  André Pönitz <poenitz@gmx.net>
12880
12881         * lyxfunc.C: mathed font changes
12882
12883 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12884
12885         * LaTeX.C:
12886         * importer.h:
12887         * importer.C:
12888         * lyx_sty.h:
12889         * lyx_sty.C:
12890         * lyxlex.C:
12891         * lyxrow.h:
12892         * lyxtext.h:
12893         * paragraph.h:
12894         * paragraph.C:
12895         * texrow.h:
12896         * texrow.C:
12897         * text.C:
12898         * trans_mgr.h: srcdocs, and some minor cleanups
12899
12900 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12901
12902         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12903         call getFont all the time)
12904
12905 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12906
12907         * switch from SigC signals to boost::signals
12908
12909 2002-05-29  André Pönitz <poenitz@gmx.net>
12910
12911         * paragraph_pimpl.C (getChar): don't call size() too often...
12912
12913 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12914
12915         * paragraph_pimpl.C (insertChar): do not try to update tables when
12916         appending (pos == size())
12917
12918         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12919         in order to reduce drastically the number of comparisons needed to
12920         parse a large document
12921
12922 2002-05-29  André Pönitz <poenitz@gmx.net>
12923
12924         * text.C:
12925         * text2.C:
12926         * lyxtextclass.C:
12927         * sp_pspell.h:
12928         * textclasslist.[Ch]:
12929         * sp_ispell.h: whitespace change
12930
12931 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12932
12933         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12934         lyxaction directly now.
12935
12936 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
12937
12938         * trans.C:
12939         * lyxfont.C:
12940         * lyxvc.C: remove unused headers
12941
12942 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12943
12944         * Makefile.am:
12945         * buffer.h:
12946         * undostack.h:
12947         * undostack.C:
12948         * undo_funcs.h:
12949         * undo_funcs.C: some cleanups. Use shared_ptr
12950           and a template for the undo stacks.
12951
12952 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12953
12954         * BufferView_pimpl.h:
12955         * BufferView_pimpl.C:
12956         * kbmap.h:
12957         * kbmap.C:
12958         * kbsequence.h:
12959         * kbsequence.C:
12960         * lyxfunc.h:
12961         * lyxfunc.C:
12962         * text2.C: use key_state/mouse_state
12963
12964 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12965
12966         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12967         and LSubstring
12968
12969         * chset.C: change include order
12970         (loadFile): use boost regex and get rid of LRegex and LSubstring
12971
12972         * Makefile.am (BOOST_LIBS): new variable
12973         (lyx_LDADD): use it
12974
12975         * LaTeX.C: change include order.
12976         (scanAuxFile): use boost regex and get rid of LRegex and
12977         LSubstring
12978         (deplog): ditto
12979
12980 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12981
12982         * ColorHandler.h:
12983         * ColorHandler.C:
12984         * FontInfo.h:
12985         * FontInfo.C: moved to frontends/xforms/
12986
12987         * FontLoader.h:
12988         * FontLoader.C: moved into frontends for GUIIzation
12989
12990         * Makefile.am:
12991         * lyx_gui.C:
12992         * lyxfont.C:
12993         * lyxfunc.C: changes from above
12994
12995 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12996
12997         * LColor.C: remove spurious X include
12998
12999         * BufferView_pimpl.C:
13000         * Makefile.am:
13001         * font.h:
13002         * font.C:
13003         * text.C:
13004         * text2.C: move font metrics to frontends/
13005
13006 2002-05-24  Juergen Vigna  <jug@sad.it>
13007
13008         * undo_funcs.C (textHandleUndo): fix the cursor selection after
13009         setting the undo_cursor.
13010
13011         * ParagraphParameters.h: include local includes first.
13012
13013 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
13014
13015         * BufferView_pimpl.C:
13016         * BufferView_pimpl.h:
13017         * Makefile.am:
13018         * WorkArea.h:
13019         * WorkArea.C:
13020         * screen.C: move WorkArea into frontends/
13021
13022         * lyxscreen.h:
13023         * screen.C:
13024         * text.C:
13025         * BufferView.C:
13026         * BufferView2.C: move LyXScreen into frontends/
13027
13028         * lyxlookup.h:
13029         * lyxlookup.C:
13030         * lyx_gui.C: move lyxlookup into frontends/xforms/
13031
13032 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
13033
13034         * BufferView2.C:
13035         * BufferView_pimpl.C:
13036         * FontLoader.C:
13037         * LyXView.h:
13038         * LyXView.C:
13039         * Makefile.am:
13040         * WorkArea.C:
13041         * XFormsView.h:
13042         * XFormsView.C:
13043         * buffer.C:
13044         * bufferlist.C:
13045         * bufferview_funcs.C:
13046         * converter.C:
13047         * importer.C:
13048         * lyx_cb.C:
13049         * lyx_gui.C:
13050         * lyx_main.C:
13051         * lyx_find.C:
13052         * lyxfunc.C:
13053         * lyxvc.C:
13054         * minibuffer.C:
13055         * text.C:
13056         * text2.C:
13057         * trans.C:
13058         * vc-backend.C: move LyX/XFormsView into frontends/
13059
13060 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
13061
13062         * Makefile.am:
13063         * PainterBase.C:
13064         * PainterBase.h:
13065         * Painter.C:
13066         * Painter.h:
13067         * WorkArea.C:
13068         * WorkArea.h:
13069         * screen.C:
13070         * tabular.C:
13071         * text.C:
13072         * text2.C: move Painter to frontends/
13073
13074 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13075
13076         * buffer.C: comment out some some code that depend upon lyx_format
13077         < 220
13078
13079         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
13080         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
13081
13082         * buffer.h (NO_COMPABILITY): turn off compability
13083
13084         * ColorHandler.C: include scoped_array.hpp
13085
13086         * font.C: Use more specific smart_ptr header.
13087         * Painter.C: ditto
13088         * gettext.C: ditto
13089         * ShareContainer.h: ditto
13090         * lyx_main.h: ditto
13091         * kbmap.h: ditto
13092         * FontInfo.h: ditto
13093         * BufferView_pimpl.h: ditto
13094         * ColorHandler.h: ditto
13095
13096         * kbmap.C (defkey): change call to shared_ptr::reset
13097
13098 2002-05-21  Juergen Vigna  <jug@sad.it>
13099
13100         * buffer.C (insertErtContents): fix to insert ert asis if it is
13101         non empty. Skip it completely if it contains only whitespaces.
13102
13103 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
13104
13105         * BufferView_pimpl.C:
13106         * BufferView2.C: clear selection on paste (bug 393)
13107
13108 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13109
13110         * DepTable.C: include ctime
13111
13112 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
13113
13114         * buffer.C (latexParagraphs): Add new argument (moving_arg).
13115
13116 2002-05-14  Juergen Vigna  <jug@sad.it>
13117
13118         * text.C (breakParagraph): fixed function to honor the keepempty
13119         layout in the right maner and also to permit the right breaking
13120         algorithm on empty or non empyt keepempty paragraphs.
13121
13122         * paragraph.C (breakParagraph): we have to check also if the par
13123         is really empty (!size()) for isempty otherwise we do the wrong
13124         paragraph break.
13125
13126 2002-05-10  Juergen Vigna  <jug@sad.it>
13127
13128         * buffer.[Ch] : The following are only changes to the ert
13129         compatibility read reading old LaTeX layout and font stuff and
13130         convert it to ERTInsets.
13131
13132         * buffer.h: added isErtInset().
13133
13134         * buffer.C (struct ErtComp): add a fromlayout bool to check
13135         if we're inside a LaTeX layout.
13136         (isErtInset): new helper function.
13137         (insertErtContents): look for other ert insets before this one
13138         and insert the contents there, so that we don't have subsequent
13139         ERT insets with nothing between them. This way we create only one
13140         inset with multiple paragraphs. Also check if we don't insert only
13141         spaces ' ' as they are ignored anyway afterwards in the .tex file
13142         so if we have only spaces we will ignore this latex part in the
13143         new file.
13144         (parseSingleLyXformat2Token \\layout): better compatibility when
13145         reading layout-latex stuff.
13146         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
13147         language tag.
13148         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
13149         stuff after reading the inset only get the information back from
13150         the stack.
13151
13152 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
13153
13154         * buffer.C (makeLaTeXFile): Put language options after loading babel.
13155
13156         * LaTeXFeatures.C (getBabelOptions): New method.
13157
13158 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13159
13160         * BufferView_pimpl.C (Dispatch): work around missing argument for
13161         'layout'
13162
13163 2002-05-08  Juergen Vigna  <jug@sad.it>
13164
13165         * text.C (leftMargin): handle paragraph leftindent.
13166
13167         * paragraph.C (writeFile): write the new \\leftindent tag.
13168         (validate): handle leftindent code.
13169         (TeXEnvironment): handle paragraphleftindent code again.
13170
13171         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
13172
13173         * buffer.C (parseSingleLyXformat2Token): added compatibility code
13174         for paragrap_extra indent code and new token \\leftindent.
13175         (latexParagraphs): handle the leftindent as environment.
13176
13177         * ParameterStruct.h: added leftindent support.
13178
13179         * ParagraphParameters.C (leftIndent): added support functions for
13180         the paragraph left indent.
13181
13182         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
13183         more appropriate.
13184
13185 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
13186
13187         * paragraph.C (isRightToLeftPar): Return false for a paragraph
13188         inside insetERT.
13189
13190         * text.C (computeBidiTables): No bidi in insetERT.
13191
13192         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
13193         in RTL documents.
13194
13195 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13196
13197         * version.C.in: pre 5
13198
13199 2002-05-02  José Matos  <jamatos@fep.up.pt>
13200         * buffer.C (makeDocBookFile): white space changes, add newline to
13201         command styles.
13202         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
13203
13204         * tabular.C (docBook): fix typo.
13205
13206 2002-05-03  Juergen Vigna  <jug@sad.it>
13207
13208         * screen.C (drawFromTo): recalculate the rowpointer if we had a
13209         change in LyXText as we can not be sure it was not freed.
13210         (drawOneRow): remove unused code.
13211
13212         * text.C (drawInset): redo the calculation of the need_break_row as
13213         it could have a row which was already freed.
13214         (draw): look at the return value of drawInset and return false if
13215         it also returned false.
13216         (paintRowText): look at the return value of draw and return false if
13217         it also returned false.
13218
13219         * lyxtext.h: added bool return type to drawInset() and draw() so that
13220         if we have a change in the row so that the rowbreak has to be redone
13221         we abort drawing as it will be called again.
13222
13223 2002-05-02  Juergen Vigna  <jug@sad.it>
13224
13225         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
13226         a change in the maintext also if we're inside an inset.
13227         (Dispatch): set the cursor again after a break line and after the
13228         screen has been updated as it could be we're in a different row.
13229
13230         * text2.C (fixCursorAfterDelete): check to make sure we don't request
13231         to set the cursor behind the pargraph with > size().
13232         (setCursor): check also for the same paragraph when checking where
13233         to put the cursor if we have a NFR inset.
13234
13235         * buffer.C (parseSingleLyXformat2Token): move the compatibility
13236         parts of layout read further up as it still was in the wrong
13237         position.
13238
13239 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13240
13241         * screen.C (drawFromTo): change sine fullRebreak always return
13242         true.
13243
13244         * buffer.C (parseSingleLyXformat2Token): reindent some
13245
13246         * BufferView_pimpl.C (update): change since fullRebreak always
13247         return true.
13248         (Dispatch): git rid of the last hardcoded "Standard"s.
13249
13250 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13251
13252         * text2.[Ch] (fullRebreak): make it return void now that we always
13253         returned true.
13254
13255 2002-04-30  Juergen Vigna  <jug@sad.it>
13256
13257         * buffer.C (parseSingleLyXformat2Token): reset the font before the
13258         ert compatibility check for "latex" layout.
13259
13260 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
13261
13262         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
13263         minipages: use col% instead of p%, and also use the current font.
13264         (makeLaTeXFile): Fix use babel condition.
13265         (parseSingleLyXformat2Token): Correct font when reading old floats.
13266
13267 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
13268
13269         * BufferView_pimpl.C (Dispatch): Check that float type exists when
13270         inserting list of floats.
13271
13272 2002-04-25  Herbert Voss  <voss@lyx.org>
13273
13274         * MenuBackend.C (expand): don't add the graphics extensions to the
13275         export menu
13276
13277 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13278
13279         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
13280         non-existing layout, do not complain if it was the default layout
13281         of the original class (bug #342)
13282
13283 2002-04-24  Juergen Vigna  <jug@sad.it>
13284
13285         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
13286         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
13287
13288 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
13289
13290         * buffer.C (getBibkeyList): If using \bibliography, return the
13291         option field with the reference itself. Enables us to provide natbib
13292         support when using \bibliography.
13293
13294 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
13295
13296         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
13297
13298         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
13299         natbib is provided by the LaTeX class.
13300
13301 2002-04-23  Juergen Vigna  <jug@sad.it>
13302
13303         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
13304         Wakeup functions.
13305
13306         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
13307
13308 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13309
13310         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
13311
13312         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
13313         ensuremath around textordmasculine, textordfeminine and
13314         textdegree.
13315
13316 2002-04-19  Juergen Vigna  <jug@sad.it>
13317
13318         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
13319         reinitializing the buffer otherwise row-dimensions may be wrong.
13320         (update): reset also the selection cursors if they do exits otherwise
13321         their x/y positions may be wrong.
13322
13323         * text2.C (cursorDown): don't enter the inset if we came from a row
13324         above and are one row over the inset.
13325
13326         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
13327         really leaving an inset.
13328
13329 2002-04-18  Juergen Vigna  <jug@sad.it>
13330
13331         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
13332         of the selected paragraph does not have the selected layout also if
13333         the last one had!
13334
13335         * text2.C (setLayout): fixed bug which did not change last selected
13336         paragraph.
13337
13338         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
13339         changed the read and substituted \\end_float with \\end_inset!
13340
13341         * BufferView_pimpl.C (cursorPrevious):
13342         (cursorNext): fixed to make it work with rows heigher than the work
13343         area without moving the cursor only the draw of the row.
13344         (workAreaMotionNotify): fix jumping over high rows.
13345
13346 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13347
13348         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
13349         Ressler.
13350
13351 2002-04-16  Juergen Vigna  <jug@sad.it>
13352
13353         * text2.C (setCursor): set also the irow().
13354         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
13355         (cursorUp):
13356         (cursorDown): support for locking an inset if the x_fix value goes
13357         inside it. That way I can transverse insets too with cursor up/down.
13358
13359         * lyxrow.h: added irow helper function same as other (i) functions.
13360
13361         * BufferView_pimpl.C (cursorPrevious):
13362         (cursorNext): fixed for insets!
13363
13364 2002-04-15  Juergen Vigna  <jug@sad.it>
13365
13366         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
13367         position otherwise it is wrong in some cases.
13368
13369         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
13370         inside the inset before the call.
13371
13372 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
13373
13374         * buffer.[Ch] (getBibkeyList): make it const.
13375
13376 2002-04-12  Juergen Vigna  <jug@sad.it>
13377
13378         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
13379
13380         * text2.C (getCursorX): new helper function
13381         (setCursor): compute also ix_
13382         (setCursorFromCoordinates): set also ix.
13383
13384         * lyxcursor.h: added ix_ and helper functions.
13385
13386         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
13387
13388         * buffer.C (insertStringAsLines): dont break paragraph if the this
13389         paragraph is inside an inset which does not permit it!
13390
13391         * text.C (breakParagraph): honor keepempty flag and break the paragraph
13392         also with no chars on this paragraph.
13393         (paintRowText): only paint stuff if it's inside the workarea!
13394
13395         * paragraph.C (breakParagraph): honor keepempty flag and break the
13396         paragraph always below not above.
13397
13398         * BufferView2.C (unlockInset): update the paragraph layout on inset
13399         unlock as we changed paragraph in such a case.
13400
13401         * lyxfind.C (LyXFind): clear the former selection if not found!
13402
13403         * text2.C (insertInset): freeze Undo after setUndo so that it is not
13404         again called in insertChar().
13405
13406         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
13407         an inset which uses the whole row!
13408         (rightMargin): ditto.
13409         (insertChar): force a rebreak if we inserted an inset!
13410
13411 2002-03-28  Herbert Voss  <voss@lyx.org>
13412
13413         * lyxlength.[Ch]: add inBP() to get the right PS-point
13414         units (BigPoint). With inPixels we have rounding errors
13415
13416 2002-04-11  Juergen Vigna  <jug@sad.it>
13417
13418         * text2.C (setCursorFromCoordinates): set iy to the right value.
13419         (setCursor): add check if row->previous exists!
13420
13421         * buffer.C (parseSingleLyXformat2Token): reset font after read of
13422         an old float_type as this was the case in the old code!
13423
13424         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
13425
13426         * BufferView2.C (showLockedInsetCursor): use iy
13427         (fitLockedInsetCursor): ditto
13428
13429         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
13430         locked insets as there we have the right value now.
13431
13432         * lyxcursor.C: added iy_ variable and iy functions to set to the
13433         baseline of cursor-y of the locked inset.
13434
13435         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
13436         (setCursor): fixed for insets which need a full row.
13437
13438         * text.C (rowLastPrintable): don't ignore the last space when before
13439         an inset which needs a full row.
13440         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
13441         as last character of a row when before a inset which needs a full row.
13442
13443 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13444
13445         * version.C.in: update date
13446
13447         * text2.C (fullRebreak): try to always return true and see what
13448         happens...
13449
13450 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13451
13452         * MenuBackend.C (expand): use Floating::listName
13453
13454         * FloatList.C (FloatList): add listName argument to the built-in
13455         floats
13456
13457         * Floating.[Ch]: add listName member, which is the 'List of XXX'
13458         text associated with the float.
13459
13460 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13461
13462         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
13463
13464 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13465
13466         * ShareContainer.h: add a couple of missing typenames.
13467
13468 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
13469
13470         * lyxrc.C (getDescription): use _() correctly rather than N_().
13471
13472 2002-03-28  Herbert Voss  <voss@lyx.org>
13473
13474         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13475         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13476
13477 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13478
13479         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13480         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13481
13482 2002-03-29  Juergen Vigna  <jug@sad.it>
13483
13484         * lyxfunc.C (dispatch): add a missing fitCursor call.
13485
13486         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13487         it was scrolled by a cursor move, so return the bool status.
13488
13489         * BufferView.C (fitCursor): return the bool flag also to the outside
13490         world as this is needed.
13491
13492         * screen.C (toggleToggle): don't subtract the offset if it's positive.
13493
13494         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13495         call the edit() as it is not needed (and wrong) IMO.
13496         (workAreaButtonPress): set the screen_first variable before evt.
13497         unlock the inset as this may change screen_first and then we have
13498         a wrong y position for the click!
13499
13500 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13501
13502         * MenuBackend.C (expand): another translation that I missed
13503
13504 2002-03-28  Juergen Vigna  <jug@sad.it>
13505
13506         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13507
13508         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13509
13510 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13511
13512         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13513
13514         * MenuBackend.C (expand): fix export/view/update when there is no
13515         document open.
13516
13517 2002-03-27  Herbert Voss  <voss@lyx.org>
13518
13519         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13520         and text%
13521
13522 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13523
13524         * bufferview_funcs.C (currentState): only show paragraph number
13525         for is DEVEL_VERSION is set.
13526
13527         * lyxfunc.C (dispatch): put warning in INFO channel
13528
13529         * MenuBackend.C (expand): translate the name of floats
13530
13531         * FloatList.C (FloatList): mark the float names for translation
13532
13533         * converter.C (convert): use LibScriptSearch
13534
13535 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13536
13537         * MenuBackend.C (defaults): fix default menu (we might as well get
13538         rid of it...)
13539
13540 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13541
13542         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13543         directory.
13544
13545 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13546
13547         * lyxvc.C: reorder includes.
13548
13549 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
13550
13551         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13552           properly
13553
13554 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
13555
13556         * CutAndPaste.C: change layouts earlier on paste
13557           to avoid crashing when calling getFont()
13558
13559 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
13560
13561         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13562         irritating #error.
13563
13564 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13565
13566         * WorkArea.C: remove 'Pending' debug message.
13567
13568         * most files: ws cleanup
13569
13570         * buffer.[Ch]: ws changes
13571
13572         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13573
13574 2002-03-21  Juergen Vigna  <jug@sad.it>
13575
13576         * tabular.C (SetMultiColumn): collapse also the contents of the
13577         cells and set the last border right. Added a Buffer const * param.
13578
13579 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13580
13581         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13582         linking or not.
13583
13584 2002-03-19  Juergen Vigna  <jug@sad.it>
13585
13586         * text2.C (clearSelection): reset also xsel_cache.
13587
13588         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13589         where it needs to be called (John tells us to do so too :)
13590         (selectionLost): reset sel_cache.
13591
13592         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13593
13594 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13595
13596         * text2.C (setCursorIntern): put debuging code in INSETS channel
13597
13598 2002-03-19  André Pönitz <poenitz@gmx.net>
13599
13600         * lyxfunc.C: tiny whitespace change
13601
13602 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13603
13604         * ToolbarDefaults.C (init):
13605         * LyXAction.C (init):
13606         * commandtags.h:
13607         * BufferView_pimpl.C (Dispatch):
13608         * lyxfunc.C (dispatch): remove LFUN_DEPTH
13609
13610 2002-03-19  Allan Rae  <rae@lyx.org>
13611
13612         * exporter.C (Export): removeAutoInsets before doing anything else.
13613         While I've just introduced a dependency on BufferView this really is
13614         the best place to clean the buffer otherwise you need to cleanup in
13615         a dozen places before calling export or cleanup in a dozen functions
13616         that export calls.
13617
13618         * converter.C (runLaTeX):
13619         (scanLog): Better handling of removeAutoInsets and screen updates.
13620
13621         * lyxfunc.C (dispatch): small whitespace changes
13622
13623 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13624
13625         * WorkArea.C (C_WorkAreaEvent): return a value.
13626         (event_cb): return 1 if we handled the event, 0 otherwise.
13627
13628         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13629
13630 2002-03-18  Juergen Vigna  <jug@sad.it>
13631
13632         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13633         (GetAdditionalWidth): ditto.
13634         (RightLine): ditto.
13635         (LeftLine): ditto.
13636
13637         * BufferView2.C (copy): use getLyXText() so that we do it inside an
13638         inset if we're there actually (probably not used right now but this
13639         is the direction to go for unifying code).
13640         (paste): disable code to clear the selection.
13641
13642         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13643         inside an InsetText and move the check further up as it is in the
13644         wrong place.
13645
13646         * text2.C (pasteSelection): set a selection over the pasted text.
13647
13648 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
13649
13650         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13651         and libgraphics to build on Cygwin.
13652
13653 2002-03-15  Juergen Vigna  <jug@sad.it>
13654
13655         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13656         inserting an Inset into the paragraph. I know this is not the best
13657         fix but we already use current_view in CutAndPaste so we will remove
13658         all of it's using at the same time.
13659
13660         * buffer.C (sgmlError): deactivated function till it is rewritten in
13661         the right mode, now it can create problems.
13662
13663         * paragraph.C (isLineSeparator): check if getInset returns != 0,
13664         before accessing it.
13665
13666 2002-03-14  Juergen Vigna  <jug@sad.it>
13667
13668         * undo_funcs.C (textHandleUndo): do the right thing when updating
13669         the inset after the undo/redo.
13670
13671         * text2.C (setCursor): just some testcode for #44 not ready yet.
13672
13673         * undo_funcs.C (textHandleUndo): set the next() and previous()
13674         pointers of the paragraph to 0 before deleting otherwise we have
13675         problems with the Paragraph::[destructor].
13676
13677         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13678         on a paragraph insertion.
13679
13680 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13681
13682         * buffer.C (asciiParagraph): use += operator for char append to
13683         string.
13684
13685         * paragraph.C (getFontSettings): compare >= not just >
13686         (highestFontInRange): ditto
13687         (setFont): ditto
13688
13689 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13690
13691         * paragraph.C: change several algorithm to be more appripriate for
13692         the problem domain. This is lookip in FontList and in the InsetList.
13693
13694 2002-03-13  André Pönitz <poenitz@gmx.net>
13695
13696         * commandtags.h:
13697         * LyXAction.C: remove unused LFUN_MATH_MACROARG
13698
13699 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
13700
13701         * commandtags.h:
13702         * LyXAction.C:
13703         * lyxfunc.C:
13704         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13705
13706 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13707
13708         * Painter.C (display): anon helper function, adjust code for this
13709         change.
13710         (pixmap): remove function.
13711
13712         * Painter.h: remove private display variable.
13713
13714         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13715
13716 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
13717
13718         * WorkArea.[Ch]: remove figinset_canvas cruft.
13719
13720 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13721
13722         * lyxtextclass.C (operator): add one item cache optimization.
13723
13724         * bufferlist.h: doxy changes
13725
13726         * bufferlist.C: ws changes
13727
13728         * DepTable.[Ch] (ext_exist): place const in the right spot.
13729
13730         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13731         call resizeInsets.
13732         (workAreaExpose): call resizeInsets when the with BufferView changes.
13733         (Dispatch): adjust for protectedBlank removal
13734         (specialChar): call updateInset if the insert went ok.
13735
13736         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13737         specialChar instead.
13738
13739         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13740
13741         * BufferView.h: doxy change
13742
13743         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13744
13745         * lyxtextclass.C (operator[]): remove non-const version
13746         (defaultLayout): remove non-const version
13747
13748 2002-03-12  Juergen Vigna  <jug@sad.it>
13749
13750         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13751         did resize the LyXText too.
13752
13753         * buffer.C (readLyXformat2): set layout information on newly allocated
13754         paragraphs.
13755
13756         * tabular.C (OldFormatRead): set layout information on the paragraph.
13757
13758 2002-03-12  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13759
13760         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13761
13762 2002-03-11  Juergen Vigna  <jug@sad.it>
13763
13764         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13765         plainly wrong.
13766         (resizeCurrentBuffer): force also the insets to resize themselfes.
13767         (moveCursorUpdate): fixed up for InsetText.
13768
13769 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
13770
13771         * commandtags.h:
13772         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13773         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13774         value of Dialogs::tooltipsEnabled().
13775         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13776
13777 2002-03-08  Juergen Vigna  <jug@sad.it>
13778
13779         * BufferView_pimpl.C (updateInset): update inset inside inset also
13780         if it isn't inside theLockingInset().
13781
13782 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13783
13784         * buffer.C (asciiParagraph): redo some of the word and line length
13785         handling.
13786         (getLists): look for Caption instead of caption.
13787
13788 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13789
13790         * buffer.C (Buffer): initialize niceFile to true
13791         (makeLaTeXFile):
13792         (makeLinuxDocFile):
13793         (makeDocBookFile): make sure niceFile is true on exit
13794
13795 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13796
13797         * buffer.C (makeLaTeXFile): escape ~ in \input@path
13798
13799 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
13800
13801         * LyXSendto.C: remove.
13802         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13803         * lyx_gui.C: remove now-redundant comment.
13804         * ColorHandler.h: remove forward declaration of class WorkArea.
13805         * lyxfunc.C: remove #include "WorkArea.h".
13806
13807 2002-03-07  Juergen Vigna  <jug@sad.it>
13808
13809         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13810         got moved away with the DEPM and also set the inset_owner always
13811         right which before could have been omitted.
13812
13813 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13814
13815         * buffer.C (parseSingleLyXformat2Token): use default layout is the
13816         wanted layout is not found.
13817
13818 2002-03-07  Juergen Vigna  <jug@sad.it>
13819
13820         * CutAndPaste.C (cutSelection): another layout settings forgotten.
13821
13822 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13823
13824         * paragraph.C (breakParagraph): use default layout not layout of
13825         prev paragraph.
13826         (Paragraph): clear ParagraphParameters.
13827
13828 2002-03-06  Juergen Vigna  <jug@sad.it>
13829
13830         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13831         otherwise it would not be a valid lenght. Fixed a special case in
13832         the minipage compatibility read where we end the document with a
13833         minipage.
13834
13835         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13836         was set as it could be 0 for InsetTexts first entry.
13837
13838 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13839
13840         * paragraph.C (writeFile): if layout is empty write out
13841         defaultLayoutName().
13842
13843         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13844         file without named layout we set layout to defaultLayoutName().
13845
13846 2002-03-06  Juergen Vigna  <jug@sad.it>
13847
13848         * CutAndPaste.C (copySelection): set layout for new paragraph.
13849
13850         * text.C (prepareToPrint): leave ERT inset left aligned
13851         (leftMargin): don't indent paragraphs inside ERT insets
13852
13853 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13854
13855         * paragraph.C (breakParagraph): dont call clear do the work manually
13856
13857         * paragraph.[Ch] (clear): remove function
13858
13859 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13860
13861         * paragraph.C (Paragraph): dont call clear, the work has already
13862         been done.
13863
13864         * lyxtextclass.C (operator): assert if n is empty
13865
13866         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13867         work manually instead.
13868
13869 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13870
13871         * BufferView_pimpl.C: protect selectionLost against text == 0
13872
13873 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13874
13875         * text.C (breakParagraph): fix a setting layout to '0' problem.
13876
13877 2002-03-05  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13878
13879         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13880         final location of file, for the included files, and graphics.
13881
13882 2002-03-05  Juergen Vigna  <jug@sad.it>
13883
13884         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13885
13886 2002-03-04  Juergen Vigna  <jug@sad.it>
13887
13888         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13889
13890         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13891         last column of multicolumn cells.
13892         (SetWidthOfMulticolCell): recalculate NMC and real columns.
13893
13894 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
13895
13896         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13897         file if it doesn't go to a temporary file.
13898
13899         * buffer.C (sgmlOpenTag):
13900         (sgmlCloseTag):  remove extra newline insertion.
13901
13902 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13903
13904         * text.C (getRowNearY): comment out debug msg
13905
13906 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13907
13908         * text2.C: first -> first_y
13909
13910         * text.C (getRowNearY): add some attemts at a possible
13911         optimization, not working.
13912
13913         * tabular.[Ch]: add BufferParams to several function so that newly
13914         created paragraph can be initialized to he default layotu for the
13915         buffers textclass.
13916
13917         * tabular-old.C (ReadOld): add buf->params to call of Init
13918
13919         * screen.C: rename text->first to text->first_y
13920
13921         * paragraph.C (breakParagraph): always set layout in the broken
13922         paragraph
13923
13924         * lyxtextclass.C (Read): remove lowercase
13925         (hasLayout): ditto
13926         (operator): ditto
13927         (delete_layout): ditto
13928
13929         * lyxtext.h: rename first -> first_y
13930
13931         * lyxlayout.C (Read): remove lowercase
13932         (name): ditto
13933         (setName): ditto
13934         (obsoleted_by): ditto
13935
13936         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13937
13938         * buffer.C (insertErtContents): add params are to InsetERT
13939         (parseSingleLyXformat2Token): add code to check if a paragraphs
13940         layout really exist.
13941         (parseSingleLyXformat2Token): add params to several inset
13942         constructors
13943         (asciiParagraph): remove lowercase, do the layout comparisons with
13944         no_case
13945
13946         * BufferView_pimpl.C (cursorNext): first -> first_y
13947         (resizeCurrentBuffer): first -> first_y
13948         (updateScrollbar): first -> first_y
13949         (scrollCB): first -> first_y
13950         (workAreaMotionNotify): first -> first_y
13951         (workAreaButtonPress): first -> first_y
13952         (checkInsetHit): first -> first_y
13953         (cursorPrevious): first -> first_y
13954         (cursorNext): first -> first_y
13955         (Dispatch): add buffer_->params to severl inset contructors
13956
13957 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13958
13959         * lyxlayout.C (Read): remove some debug info that I forgot.
13960
13961         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13962         clean up the code slightly.
13963         (makeLinuxDocFile): ditto
13964         (makeDocBookFile): ditto
13965
13966         * text2.C: layout as string
13967
13968         * text.C: layout as string
13969
13970         * paragraph_pimpl.C: layout as string
13971
13972         * paragraph.[Ch]: layout as string
13973
13974         * lyxtextclasslist.[Ch]: layout as string
13975
13976         * lyxtextclass.[Ch]: layout as string
13977
13978         * lyxtext.h: layout as string
13979
13980         * lyxlayout.[Ch]: layout as string
13981
13982         * lyx_cb.C: layout as string
13983
13984         * bufferview_funcs.C: layout as string
13985
13986         * bufferparams.C: layout as string
13987
13988         * buffer.C: layout as string
13989
13990         * LyXView.[Ch]: layout as string
13991
13992         * LaTeXFeatures.[Ch]: layout as string
13993
13994         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13995
13996         * BufferView_pimpl.C: change current_layout to string, remove
13997         lyx::layout_type.
13998         (Dispatch):
13999         (smartQuote):
14000         (insertInset):
14001         (workAreaButtonRelease): layout as string
14002
14003         * BufferView2.C (unlockInset): adjust
14004
14005         * vspace.C (asLatexCommand): use an explict temp variable.
14006
14007 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
14008
14009         * Makefile.am: use FRONTEND_*
14010
14011 2002-03-01  Juergen Vigna  <jug@sad.it>
14012
14013         * tabular.C (SetWidthOfMulticolCell): changed to something better
14014         I hope but still work in progress.
14015         (recalculateMulticolumnsOfColumn): renamed function from
14016         recalculateMulticolCells as it is more appropriate now.
14017         (SetWidthOfCell): calculate multicols better.
14018
14019 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14020
14021         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
14022
14023         * lyxfunc.C (processKeySym): print sequence also if it is
14024         `deleted' (complete)
14025
14026         * kbsequence.C (print): print sequence even if it is deleted
14027         (complete would be a better word, actually).
14028
14029         * lyxfunc.C (dispatch): print complete options after a prefix key
14030
14031         * vspace.C (asLatexCommand): rewrite in a slightly different form.
14032
14033 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
14034
14035         * text2.C (setCharFont): eliminate setCharFont code duplication.
14036
14037 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14038
14039         * BufferView_pimpl.C (Dispatch): remove bogus handling of
14040         LFUN_TABULAR_FEATURE (bug #177)
14041
14042 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
14043
14044         * Makefile.am: remove figure.h
14045
14046 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
14047
14048         * Bufferview_pimpl.C:
14049         * CutAndPasteC:
14050         * LaTeX.C:
14051         * LyXSendto.C:
14052         * buffer.C:
14053         * bufferlist.C:
14054         * converter.C:
14055         * language.C:
14056         * lyxfunc.C:
14057         * lyxvc.C:
14058         * paragraph.C:
14059         * text.C:
14060         * text2.C: remove #include "lyx_gui_misc.h".
14061
14062         * LaTeX.C: added #include <cstdio>
14063
14064 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14065
14066         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
14067         that the paragraph following this one can have.
14068
14069         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
14070
14071         * vspace.C (asLatexCommand): fix bogus gcc warning
14072
14073         * Makefile.am (lyx_SOURCES): remove vms_defines.h
14074
14075 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
14076
14077         * text2.C (setLayout): get rid of redundant code
14078
14079 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
14080
14081         * text2.C (incDepth): make sure depth cannot be increased beyond
14082         reasonable values.
14083
14084 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
14085
14086         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
14087         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
14088
14089         * PainterBase.h (image):
14090         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
14091         a LyXImage const *.
14092
14093 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
14094
14095         * BufferView.C:
14096         * BufferView.h:
14097         * BufferView_pimpl.C:
14098         * BufferView_pimpl.h:
14099         * LaTeXFeatures.C:
14100         * LyXAction.C:
14101         * LyXView.C:
14102         * Makefile.am:
14103         * UpdateList.h:
14104         * UpdateList.C:
14105         * buffer.C:
14106         * figure.h:
14107         * figureForm.C:
14108         * figureForm.h:
14109         * figure_form.C:
14110         * figure_form.h:
14111         * lyx_cb.C:
14112         * lyx_gui.C:
14113         * lyx_gui_misc.C:
14114         * lyxfunc.C:
14115         * sp_base.h:
14116         * sp_ispell.h:
14117         * sp_pspell.h:
14118         * sp_spell.C: remove fig inset, and the crap house of
14119           cards that follows it
14120
14121 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
14122
14123         * Makefile.am:
14124         * lyxserver.C:
14125         * os2_defines.h:
14126         * os2_errortable.h:
14127         * nt_defines.h: move .h into support/
14128
14129         * vms_defines.h: remove
14130
14131         * WorkArea.C: add space in debug output
14132
14133         * text2.C:
14134         * paragraph.C:
14135         * buffer.C: add WITH_WARNINGS
14136
14137         * vc-backend.h:
14138         * vc-backend.C:
14139         * bufferlist.C: s/retrive/retrieve/, add docs
14140
14141         * vspace.h:
14142         * vspace.C:
14143         * kbmap.h:
14144         * lyxlength.h:
14145         * lyxgluelength.h:
14146         * length_common.h:
14147         * chset.h:
14148         * chset.C: add docs
14149
14150         * lyxgui.C: add ID to X error handler
14151
14152         * lyxtestclass.c: fix typo
14153
14154 2002-02-26  Juergen Vigna  <jug@sad.it>
14155
14156         * tabular_funcs.C (write_attribute): changed so that some default
14157         attributes are not written at all.
14158         (getTokenValue): set default values before trying to read the
14159         value so we have the return value always set as default if we don't
14160         find the token we search for.
14161
14162         * tabular.C (Write): write bools as bools not as strings!
14163
14164 2002-02-22  Juergen Vigna  <jug@sad.it>
14165
14166         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
14167         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
14168
14169         * text.C (leftMargin): don't add an indent for paragraphs inside
14170         tabular cells (fix #208).
14171
14172 2002-02-21  José Matos  <jamatos@fep.up.pt>
14173
14174         * tabular.C (docBook): fixed support for long tables.
14175
14176 2002-02-20  Juergen Vigna  <jug@sad.it>
14177
14178         * text2.C (getFont): get the drawing font of the Inset if this
14179         paragraph is inside an inset (only important for InsetERT for now).
14180
14181         * buffer.C (insertErtContents): use new lanugage params in ERT
14182         constructor.
14183
14184         * CutAndPaste.C: commenting out seemingly uneeded code.
14185
14186 2002-02-19  Allan Rae  <rae@lyx.org>
14187
14188         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
14189         Iterators might be simple to use but they also get invalidated.
14190         (removeAutoInsets): renamed saved cursor tracking variables and added
14191         some comments to clarify what everything does.
14192
14193 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
14194
14195         * Chktex.C:
14196         * LaTeX.C:
14197         * LyXSendto.C:
14198         * converter.C:
14199         * lyx_cb.C:
14200         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
14201         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
14202
14203         * lyxfunc.C:
14204         * vc-backend.h: remove #include "support/syscall.h"
14205
14206         * LaTeX.C:
14207         * LyXSendto.C:
14208         * converter.C: rearrange #includes in Lars' approved fashion.
14209
14210         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
14211         forward declare class Timeout in the header file.
14212
14213         * XFormsView.C: changes due to the above.
14214
14215         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
14216         similar to LyXView.
14217
14218         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
14219         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
14220
14221 2002-02-18  José Matos  <jamatos@fep.up.pt>
14222
14223         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
14224         insets contents.
14225
14226 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14227
14228         * a lot of small ws changes
14229         * add a lot of using std::XXX
14230         * use std construcs some places where approp.
14231         * use some exisint stuff from lyxfunctional where approp.
14232         * Make file changes to use partial linking (lets test this now...)
14233
14234 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
14235
14236         * Chktex.C:
14237         * buffer.C:
14238         remove #include "support/syscontr.h" as it's redundant. Always has been.
14239
14240         * Chktex.C:
14241         * LaTeX.C:
14242         * LyXSendto.C:
14243         * converter.C:
14244         * lyx_cb.C:
14245         * vc-backend.C:
14246         change Systemcalls::System to Systemcalls::Wait and
14247         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
14248         No change of functionality, just reflects the stripped down Systemcalls
14249         class.
14250
14251 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
14252
14253         * debug.[Ch]: add a GRAPHICS type to the enum.
14254
14255 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14256
14257         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
14258
14259         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
14260         there is an inset.
14261
14262 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14263
14264         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
14265         match the changes below.
14266
14267         * text2.C (toggleInset): if there is not editable inset at cursor
14268         position, try to see if cursor is _inside_ a collapsable inset
14269         and close it.
14270
14271 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14272
14273         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
14274         document menu has a nice checkbox
14275
14276 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14277
14278         * lyxlength.C (asLatexString): change PW to output as percent of
14279         \textwidth.
14280
14281         * lengthcommon.C: change '%' to 't%'
14282
14283         * lyxfunc.C (dispatch): a few comments from Martin
14284
14285 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
14286
14287         * WorkArea.h:
14288         * WorkArea.C:
14289         * BufferView_pimpl.h:
14290         * BufferView_pimpl.C: clear our selection when X tells us we've lost
14291           the X selection.
14292
14293 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14294
14295         * vspace.C (inPixels): fix compiler warning
14296
14297 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14298
14299         * lyxfunc.C (getStatus): fix status message for disabled commands.
14300
14301 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
14302
14303         * BufferView_pimpl.C: fix crash on close buffer
14304         during selection (#227)
14305
14306 2002-01-27  Herbert Voss  <voss@lyx.org>
14307
14308         * buffer.C: link old Figure to new graphic inset
14309
14310 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14311
14312         * FontLoader.C (getFontinfo): Change the latex font names in order
14313         to match the names of type1inst.
14314
14315 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14316
14317         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
14318
14319         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
14320         (extchanged): ditto
14321         (ext_exist): ditto
14322         (remove_files_with_extension): ditto
14323         (remove_file): ditto
14324         (write): ditto
14325
14326         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
14327         document is smaller than the work area height. Do not initialize
14328         static variables to 0.
14329
14330 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14331
14332         * lyx_gui.C (init): give the toolbar tooltips a normal font.
14333
14334         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
14335         LFUN_LAYOUT_PARAGRAPHS.
14336
14337         * tabular.C (GetCellFromInset): new method. Finds an inset in a
14338         tabular. It is possible to provide a possible cell, which will
14339         typically be the actcell from the corresponding insettabular
14340
14341         * lyxfunc.C (getStatus): small cleanup; disable
14342         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
14343         true
14344
14345 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14346
14347         * tabular.C (Validate): remove broken optimization (fixes bug #201)
14348
14349         * paragraph.C (startTeXParParams):
14350         (endTeXParParams): new methods. The LaTeX code to
14351         start/end paragraph formatting
14352         (simpleTeXOnePar): call startTeXParParams also when paragraph is
14353         empty (fixes bug #200)
14354
14355         * vspace.C (inPixels): adapt to the change below
14356         (inPixels): [later] more cleanups (remove unused variables)
14357
14358         * lyxlength.C (inPixels): change to use a width and a height as
14359         parameter.
14360
14361 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14362
14363         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
14364         Replaced with \paperwidth
14365
14366         * DepTable.C (insert): add std:: qualifier
14367
14368 2002-01-18  Allan Rae  <rae@lyx.org>
14369
14370         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
14371         updated also?
14372
14373         * text.C (drawInset): Turned out I didn't know enough about how
14374         rebreaking worked.  This fixes most of the redraw problems.  I see
14375         an occasional cursor trail when a line is broken now and the cursor
14376         placement can seem out by a few pixels also after a rebreak.
14377
14378 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14379
14380         * buffer.C (parseSingleLyXformat2Token): update because minipage
14381         width is now a LyXLength
14382
14383         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
14384
14385         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
14386         math insets
14387
14388 2002-01-17  Juergen Vigna  <jug@sad.it>
14389
14390         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
14391
14392         * BufferView2.C (lockInset): call edit() so that theLockingInset()
14393         is set correctly and the inset is updated correctly.
14394
14395 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14396
14397         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
14398         the beginning of the loop.
14399
14400 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
14401
14402         * lyxrc.C: improve help for use_scalable_fonts
14403
14404 2002-01-17  Allan Rae  <rae@lyx.org>
14405
14406         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
14407
14408 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14409
14410         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
14411         make sure to set their inset_owner to the right value (bug #171)
14412
14413 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
14414
14415         * DepTable.h
14416         * DepTable.C: Implement mtime checking to reduce time spent doing
14417         CRCs.
14418
14419 2002-01-16  Juergen Vigna  <jug@sad.it>
14420
14421         * tabular.C (GetAdditionalHeight): one of error fixed.
14422
14423         * lyxrc.C (output): small fix in writing use_pspell.
14424
14425 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
14426
14427         * sp_base.h: #include LString.h
14428
14429 2002-01-16  Allan Rae  <rae@lyx.org>
14430
14431         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
14432         Can someone check this please?
14433
14434         * text.C (drawInset): It was possible that p.row would be removed by
14435         breakAgainOneRow upsetting a few other settings.  There may be another
14436         small tweak possible by setting need_break_row = 0 when p.row has been
14437         removed but I don't know enough about the logic here.
14438
14439 2002-01-15  Allan Rae  <rae@lyx.org>
14440
14441         * text.C (insertChar): removed conditional truism.
14442
14443         * BufferView2.C (removeAutoInsets): More tweaks.
14444         cur_par_prev could be a stray pointer.  Check for trailing empty line
14445         in case last line was cur_par and only had an error inset on it.
14446
14447 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14448
14449         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
14450         absolute
14451
14452         * vc-backend.C (most methods):
14453         * exporter.C (Export):
14454         * converter.C (convert):
14455         (runLaTeX):
14456         * LyXSendto.C (SendtoApplyCB):
14457         * lyxfunc.C (dispatch):
14458         (menuNew):
14459         (open):
14460         (doImport):
14461         * lyx_cb.C (AutoSave):
14462         (InsertAsciiFile):
14463         * BufferView_pimpl.C (MenuInsertLyXFile):
14464         * buffer.C (runChktex): use Buffer::filePath().
14465
14466         * buffer.h: rename filename to filename_; rename filepath to
14467         filepath_ and make it private
14468         (filePath): new method
14469
14470         * buffer.C (writeFile): use fileName()
14471         (getLatexName):
14472
14473         * lyx_main.C (init): fix starting  of LyX when the binary is a
14474         link from so,ewhere else.
14475
14476         * minibuffer.C: include <cctype> for isprint
14477
14478 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14479
14480         * buffer.C (parseSingleLyXformat2Token): changes associated with the
14481         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14482         name clash with InsetCollapsable's width function.
14483
14484 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14485
14486         * lastfiles.C: include <iterator>
14487
14488 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14489
14490         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14491         std::count.
14492
14493         * buffer.C (makeLaTeXFile): ditto.
14494         Also make loop operation more transparent.
14495
14496 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14497
14498         * ToolbarDefaults.C: remove trailing comma closing namespace.
14499
14500         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14501
14502         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14503         as in WorkArea.
14504
14505         * trans.C (Load): comment out unused variable, allowed.
14506
14507 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14508
14509         * minibuffer.[Ch] (append_char): new method to recieve input from the
14510         drop-down completion browser. If a key was pressed, then recieve this
14511         char and append it to the existing string.
14512         (peek_event): modify the positioning data passed to the completion
14513         browser so that it can be placed above the minibuffer rather than below.
14514 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14515
14516         * LyXAction.C (init): alloe error-next for readonly documents.
14517
14518         * BufferView2.C (ChangeRefsIfUnique): use standard version of
14519         count.
14520
14521 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14522
14523         * bufferlist.C (readFile): create the buffer _after_ checking that
14524         the file exists.
14525
14526         * lyxfunc.C (verboseDispatch): fix handling of arguments
14527
14528         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14529
14530         * lyxrc.C: use string::erase() instead of initializing to "".
14531
14532
14533 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14534
14535         * BufferView_pimpl.h:
14536         * BufferView_pimpl.C:
14537         * WorkArea.h:
14538         * WorkArea.C:
14539         * text2.C: tell X when we have made a selection for copying
14540
14541 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14542
14543         * BufferView_pimpl.C (MenuInsertLyXFile):
14544         * lyxfunc.C (menuNew):
14545         (open):
14546         (doImport): add shortcuts to directory buttons
14547
14548         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14549         open a float)
14550
14551         * lyxfunc.C (setStatusMessage):
14552         (getStatusMessage): new methods
14553         (getStatus):use setStatusMessage instead of setErrorMessage
14554         (dispatch): when function is disabled, set error message here
14555         [instead of in getStatus previously]
14556
14557         * BufferView_pimpl.C (workAreaButtonRelease): update
14558         toolbar/menubar here too.
14559
14560 2002-01-13  Allan Rae  <rae@lyx.org>
14561
14562         * BufferView2.C (removeAutoInsets): finished off earlier fix.
14563         Now seems indestructible.  Remaining task is to audit all other
14564         code affected by deleteEmptyParagraphMechanism.  One small quirk
14565         left is that an empty document with an error in the preamble can
14566         be made to report an error but no error box appears.  I don't know
14567         where it goes.
14568         (removeAutoInsets): Improved comments.
14569
14570 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
14571
14572         * Thesaurus.h:
14573         * Thesaurus.C: update for Aiksaurus 0.14
14574
14575 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14576
14577         * text2.C (firstParagraph): removed member function, all uses
14578         replaces with ownerParagraph
14579         (redoParagraphs): here
14580         (updateInset): here
14581         (toggleAppendix): here
14582         * BufferView2.C (insertErrors): here
14583         (setCursorFromRow): here
14584
14585 2002-01-13  Allan Rae  <rae@lyx.org>
14586
14587         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14588         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14589         There is still a way to segfault this although you may have to do this
14590         multiple times: Have an InsetERT with an unknown command in it.
14591         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14592         <down-arrow>, <Enter> again, View->DVI, BANG!
14593
14594         * text2.C (setCursor):
14595         (deleteEmptyParagraphMechanism):
14596         * lyxtext.h (setCursor):
14597         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14598         Making use of the return value may help fix other bugs.
14599
14600 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14601
14602         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14603
14604         * LyXView.C (updateMenubar): call MenuBar::update here
14605         (updateToolbar): but not here
14606         (showState): do not update toolbar/menubar
14607
14608         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14609         should need to care about that.
14610
14611         * lyxfunc.C (verboseDispatch): simplify a bit
14612         (getStatus): have a version which takes a pseudoaction, and
14613         another which requires a (kb_action,string).
14614
14615         * LyXAction.C (retrieveActionArg): make it work also when action
14616         is not a pseudo-action.
14617         (getActionName): simplify a bit
14618         (helpText):
14619
14620 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14621
14622         * lyxfunc.C (verboseDispatch): new families of methods with
14623         several ways to specify a command and a bool to indicate whether
14624         the command name and shortcut should be displayed in minibuffer
14625         (eventually, we could extend that to a finer bitmask like
14626         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14627         (dispatch): the pristine dispatch command which just, well,
14628         dispatchs! Note it still sets its result to minibuffer; I'm not
14629         sure we want that.
14630
14631         * lyxfunc.h: remove setHintMessage
14632
14633         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14634
14635 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14636
14637         * BufferView_pimpl.C (specialChar): delete new inset if we have
14638         not been able to insert it.
14639
14640         * kbmap.C: revert to using int instead of kb_action, since all we
14641         are dealing with is pseudo-actions.
14642
14643         * LyXAction.C (searchActionArg): change to return int instead of
14644         kb_action, since the result is a pseudoaction.
14645
14646 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
14647
14648         * buffer.C (insertErtContents): Fix (partially) the font bug.
14649
14650 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14651
14652         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14653         as the other one is broken on my machine!
14654
14655 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
14656
14657         * commandtags.h:
14658         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14659
14660 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
14661
14662         * lyxrc.[Ch]: change names and descriptions of popup font variables to
14663         reflect their actual use. Provide compatibility code for older lyxrc
14664         files.
14665
14666         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14667         FL_NORMAL_STYLE.
14668         change names of popup font variables in line with the changes to lyxrc.C
14669
14670 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14671
14672         * buffer.C (asciiParagraph): avoid outputing a word twice after
14673         an inset.
14674
14675         * lyxrc.C (getDescription): document that document_path and
14676         template_path can be empty.
14677
14678 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14679
14680         * LaTeXFeatures.C (getMacros):
14681         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14682
14683         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14684
14685         * LaTeXFeatures.C (useFloat): require "float" here instead of in
14686         getPackages.
14687         (getPackages): rename feature "floats" to "float". Use an array to
14688         iterate over 'simple' features (i.e. just a \usepackage). Add
14689         handling of "amsmath" (renamed from "amsstyle").
14690
14691 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
14692
14693         * LaTeXFeatures.C (require): Prevent duplicate entries in the
14694         features list.
14695
14696 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
14697
14698         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14699         FuncStaus::FuncStatus & FuncStaus::some_method().
14700
14701 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
14702
14703         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14704         of the func_satus stuff. Edited and massaged in various ways by
14705         JMarc.
14706
14707         * lyxfunc.C (getStatus): use FuncStatus
14708
14709 2002-01-08  Juergen Vigna  <jug@sad.it>
14710
14711         * text.C (nextBreakPoint): use function Inset::isChar().
14712
14713         * paragraph.C (TeXOnePar): use function
14714         Inset::forceDefaultParagraphs.
14715
14716         * buffer.C (latexParagraphs): use function
14717         Inset::forceDefaultParagraphs.
14718
14719 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14720
14721         * lyx_gui.C (init): set the style of the menu popups to
14722         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14723
14724 2002-01-07  Juergen Vigna  <jug@sad.it>
14725
14726         * text.C (setHeightOfRow): small fix
14727         (prepareToPrint): don't look at alignment if we don't have the place
14728         for doing it.
14729
14730 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14731
14732         * box.C: New file. Move the Box methods and functions out of box.h,
14733         following Lars' suggestion.
14734
14735 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14736
14737         * box.h: #include "support/LOstream.h", needed for inlined function.
14738
14739         * lyxtextclass.C:
14740         * lyxtextclasslist.C: added some using std declarations.
14741
14742 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
14743
14744         * box.h: make signed dimensions to allow insets wider than
14745           the screen (bug #162)
14746
14747         * BufferView_pimpl.C: add some insetHit debug
14748
14749 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
14750
14751         * vc-backend.C: add FIXME
14752
14753 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14754
14755         * lyxfunc.C (getStatus): enable code for showing math font status
14756         in toolbar/menu.
14757
14758 2002-01-07  Juergen Vigna  <jug@sad.it>
14759
14760         * text.C (nextBreakPoint): removed debug output not needed anymore.
14761
14762 2002-01-06  Juergen Vigna  <jug@sad.it>
14763
14764         * text.C (nextBreakPoint): fixed up this function we had this bug
14765         since ever but now hopefully we break row better.
14766         (insertChar): we have to check if an inset is the next char as it
14767         could now happen that a large inset is causing a break.
14768
14769 2002-01-05  Juergen Vigna  <jug@sad.it>
14770
14771         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14772         if it doesn't like to be drawed.
14773
14774 2002-01-04  Juergen Vigna  <jug@sad.it>
14775
14776         * BufferView2.C (lockInset): forgot to set a cursor.
14777
14778         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14779
14780 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
14781
14782         * FormMathsPanel.C:
14783         * FormMathsPanel.h
14784         * MathsSymbols.C:
14785         * form_maths_panel.C:
14786         * form_maths_panel.h:
14787         * form_maths_panel.fd: implemented sub- and super- buttons in math
14788         panel.
14789
14790         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14791         (or ^ space) to be used as in TeX (req'd by Andr�.
14792
14793         * lyxfunc.C: Allow ^ and _ again to be used both as
14794         super/subscript (mathed) and as themselves (in text).
14795
14796 2002-01-03  Allan Rae  <rae@lyx.org>
14797
14798         * LyXView.C (updateWindowTitle): Setup a short icon title of either
14799         "LyX" or the filename of the current buffer if it has one.  This is a
14800         modified form of John Levon's patch.
14801
14802         * XFormsView.C (setWindowTitle): also set icon title.
14803
14804         * LyXView.h (setWindowTitle): signature changed.
14805         * XFormsView.h (setWindowTitle): ditto.
14806
14807 2002-01-02  Juergen Vigna  <jug@sad.it>
14808
14809         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14810
14811 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14812
14813         * screen.C (topCursorVisible): introduce a temp var for
14814         text->cursor.row(), handle the case where this row is null. (kindo
14815         hachish)
14816
14817         * text2.C (setCursor): add a couple of asserts.
14818
14819         * paragraph.h (inset_iterator): add -> operator
14820
14821         * paragraph.[Ch] (autoDeleteInsets): remove member function
14822
14823         * BufferView2.C (removeAutoInsets): rewrite to handle the old
14824         cursor pos correctly and handle inset deletion by itself.
14825         (insertErrors): move iterator declaration out of for expression
14826
14827         * lyxtextclass.C: add <algorithm>
14828
14829         * Makefile.am: added the new files to sources, removed layout.C
14830
14831         * layout.C: removed file
14832
14833         * layout.h: remove LYX_DUMMY_LAYOUT
14834
14835         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14836         layout.
14837
14838         * lyxlayout.[Ch]:
14839         * lyxtextclass.[Ch]:
14840         * lyxtextclasslist.[Ch]: new files
14841
14842         * include order changes to a lot of files, also changes because of
14843         the six new files.
14844
14845 2001-12-27  Juergen Vigna  <jug@sad.it>
14846
14847         * buffer.C (asciiParagraph): more fixes.
14848
14849         * tabular.C (ascii): make ascii export support export of only the
14850         data separated by a column-delimiter.
14851         (ascii): better support for ascii export.
14852
14853         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14854
14855 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14856
14857         * tabular_funcs.C: use a "using std::getline" instead of the
14858         previous fix from Angus (necessary for cxx + lyxstring)
14859
14860 2001-12-24  Juergen Vigna  <jug@sad.it>
14861
14862         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14863
14864         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14865         problems. First check a minipage also if we have some ert-contents
14866         (not only on par->size(), second set the right depth of the paragraph
14867         on the relink to the root-paragraph-list!
14868
14869         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14870         which then did not anymore update the main paragraphs on undo/redo!
14871
14872 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14873
14874         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14875         code. Support all font-changing funcs (even those which are not in
14876         menu currently). Support for reporting font settings in
14877         mathed (disabled until Andre provides a function on mathed's side).
14878
14879         * func_status.h (toggle): small helper function to set toggle
14880         state on a flag.
14881
14882 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
14883
14884         * tabular_funcs.C: getline -> std::getline
14885
14886 2001-12-21  Juergen Vigna  <jug@sad.it>
14887
14888         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14889         accessed and could be 0 (I couldn't generate this but it seems
14890         Michael could!).
14891
14892 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14893
14894         * tabular_funcs.C: add LIstream.h, move write_attribute to..
14895         * tabular_funcs.h: here and include iosfwd
14896
14897 2001-12-20  Juergen Vigna  <jug@sad.it>
14898
14899         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14900         inside inset but undo_par was.
14901
14902 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14903
14904         * Thesaurus.C: always include <config.h> in sources.
14905
14906         * Painter.h:
14907         * lyxlookup.h:
14908         * box.h: do not include <config.h> in header files
14909
14910         * text.C (paintLastRow): remove unused variable
14911
14912         * text.C (transformChar):
14913         (insertChar):
14914         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14915
14916         * Painter.C (text):
14917         * font.C (width): rewrite to use uppercase() instead of
14918         islower/toupper.
14919
14920         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14921
14922 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
14923
14924         * lyxfind.C: clean up of find failure position change
14925
14926 2001-12-20  Juergen Vigna  <jug@sad.it>
14927
14928         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14929
14930         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14931         (TeXRow): added to LaTeX a single tabular row.
14932         (TeXLongtableHeaderFooter): added to output LT-h/f data.
14933         (Latex): simplified and finally good LT-h/f support.
14934         (various_functions): just small adaptions for LT-h/f support.
14935
14936         * tabular_funcs.[hC]: added and moved here all not classfunctions
14937         of LyXTabular.
14938
14939 2001-12-19  Juergen Vigna  <jug@sad.it>
14940
14941         * tabular.[Ch]: better support for longtabular options (not finished
14942         yet!)
14943
14944 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14945
14946         * text.C (paintLastRow): use the label font instead of the font of
14947         the last character to compute the size of *_BOX. This makes more
14948         sense and avoids a crash with empty paragraphs.
14949         Use Painter::rectangle to draw EMPTY_BOX.
14950
14951 2001-12-19  Juergen Vigna  <jug@sad.it>
14952
14953         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14954         the paragraphs if the replaced paragraph is not the first one!
14955         Tried to delete not used paragraphs but does not work yet so for
14956         now it's inside #ifdef's and by default off!
14957
14958 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14959
14960         * MenuBackend.C: include "lyx_main.h" instead of declaring
14961         lastfiles (actually was declared as LastFiles* instead of a
14962         scoped_ptr).
14963
14964 2001-12-17  Juergen Vigna  <jug@sad.it>
14965
14966         * tabular.C (AppendColumn): applied John's fix
14967
14968 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
14969
14970         * BufferView.h:
14971         * BufferView.C:
14972         * BufferView_pimpl.h:
14973         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14974
14975         * Makefile.am:
14976         * box.h: new start of class for above
14977
14978         * lyxfunc.C: ignore space-only minibuffer dispatches.
14979           Show the command name when it doesn't exist
14980
14981         * minibuffer.C: don't add empty lines to the history
14982
14983         * minibuffer.C: add a space on dropdown completion
14984
14985 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
14986
14987         * text.C: fix line above/below drawing in insets
14988
14989 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14990
14991         * lyxlength.C (LyXLength): Initialize private variables.
14992
14993 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
14994
14995         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14996         when inserting error insets.
14997
14998 2001-12-13  Juergen Vigna  <jug@sad.it>
14999
15000         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
15001         actually sometimes the before-paragraph.
15002         (setUndo): don't clear the redostack if we're not actually undoing!
15003
15004 2001-12-06  Juergen Vigna  <jug@sad.it>
15005
15006         * undo_funcs.C (textHandleUndo): well after John's hint I got here
15007         and fixed redoing of main paragraph, so we can use it now ;)
15008
15009         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
15010
15011 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
15012
15013         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
15014         Juergen's request
15015
15016 2001-12-13  André Pönitz <poenitz@gmx.net>
15017
15018         * undostack.[Ch]:
15019         * undo_func.C: minor cleanup
15020
15021 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
15022
15023         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
15024         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
15025         font in urw-fonts package which is marked as -urw-fontspecific and
15026         does not work (incidentally, changing the encoding in the
15027         fonts.dir of this package to -adobe-fontspecific fixes the
15028         problem).
15029
15030         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
15031         is a crash when undoing first paragraph (Juergen, please take a
15032         look). THis does not mean the undo fix is wrong, just that it
15033         uncovers problems.
15034
15035         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
15036         the (Paragraph*) version when needed instead of duplicating the
15037         code.
15038
15039         * text.C (workWidth): use Inset::parOwner to find out where the
15040         inset has been inserted. This is a huge performance gain for large
15041         documents with lots of insets. If Inset::parOwner is not set, fall
15042         back on the brute force method
15043
15044         * paragraph_pimpl.C (insertInset):
15045         * paragraph.C (Paragraph):
15046         (cutIntoMinibuffer): set parOwner of insets when
15047         inserting/removing them
15048
15049         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
15050
15051 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
15052
15053         * commandtags.h:
15054         * LyXAction.C:
15055         * lyx_main.C:
15056         * lyxfunc.C:
15057         * mathed/formulabase.C:
15058         * mathed/math_cursor.[Ch]:
15059         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
15060
15061
15062 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15063
15064         * lyxlength.[Ch] (operator!=): new function
15065
15066 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
15067
15068         * text.C (workWidth): use Inset::parOwner to find out where the
15069         inset has been inserted. This is a huge performance gain for large
15070         documents with lots of insets. If Inset::parOwner is not set, fall
15071         back on the brute force method
15072
15073         * paragraph_pimpl.C (insertInset):
15074         * paragraph.C (Paragraph):
15075         (cutIntoMinibuffer): set parOwner of insets when
15076         inserting/removing them
15077
15078         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
15079
15080 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
15081
15082         * tabular-old.C (getTokenValue):
15083         * tabular.C (getTokenValue):
15084         (write_attribute): new versions for LyXLength
15085         (everywhere): adjust the use of widths
15086
15087         * tabular.h: change the type of widths from string to LyXLength
15088
15089 2001-12-11  Ben Stanley <bds02@uow.edu.au>
15090
15091         * paragraph.C: fixed missing line number count when exporting
15092         Environments to LaTeX file
15093
15094         * buffer.C: added informational message for checking line numbers.
15095
15096 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
15097
15098         * text2.C (deleteEmptyParagraphMechanism): if there is only one
15099         paragraph, do the 'double space' part, but not the 'empty
15100         paragraph' one.
15101
15102         * text.C (workWidth): small optimization
15103         (getLengthMarkerHeight): use minimal size for negative lengths.
15104
15105 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
15106
15107         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
15108
15109         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
15110
15111 2001-12-11  André Pönitz <poenitz@gmx.net>
15112
15113         * FontLoader.C:
15114         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
15115
15116 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
15117
15118         * text2.C: keep selection on a setFont()
15119
15120 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
15121
15122         * lyx_cb.C: another bv->text misuse, from insert label
15123
15124 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
15125
15126         * kbsequence.h:
15127         * kbsequence.C: re-instate nmodifier mask
15128
15129 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
15130
15131         * lyx_main.h: make lyxGUI private.
15132
15133 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
15134
15135         * lyxfind.C: place the cursor correctly on failed search
15136
15137 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
15138
15139         * text.C (getLengthMarkerHeight): for small heights, the arrows
15140         are not always on top/bottom of the text
15141         (drawLengthMarker): smaller arrows; take the left margin in
15142         account; draw also vfills.
15143         (paintFirstRow):
15144         (paintLastRow): remove special code for vfill and standard spaces,
15145         since everything is handled in drawLengthMarker now.
15146
15147 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15148
15149         * buffer.C (insertErtContents): try to handle font and language
15150         interaction a bit better.g
15151
15152         * ColorHandler.C (updateColor): change the hash to cover the whole
15153         LColor enum, ws cleanup
15154         (getGCLinepars): ditto
15155         (getGCLinepars): only lookup in the linecache once.
15156
15157 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
15158
15159         * iterators.C (operator++): Make the iterator more robust
15160
15161         * BufferView2.C (removeAutoInsets): Use paragraph iterators
15162         (John's patch)
15163         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
15164
15165 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15166
15167         * lyxtext.h:
15168         * text.C: better added space drawing
15169
15170 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15171
15172         * LyXView.C:
15173         * BufferView2.C: fix layout combo update on inset unlock
15174
15175 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15176
15177         * Makefile.am: don't compile unused files
15178
15179 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15180
15181         * lyxfunc.C:
15182         * commandtags.h:
15183         * LyXAction.C: remove old LFUN_LAYOUTNO
15184
15185 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15186
15187         * paragraph_pimpl.h:
15188         * paragraph_pimpl.C: isTextAt() doesn't need font param
15189
15190 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15191
15192         * lyxlex.h:
15193         * lyxlex.C: little cleanup
15194
15195 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15196
15197         * BufferView_pimpl.C: fix insertAscii for insets
15198
15199 2001-12-05  Juergen Vigna  <jug@sad.it>
15200
15201         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
15202         set the right font on the "multi" paragraph paste!
15203
15204 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15205
15206         * trans_decl.h:
15207         * trans_mgr.[Ch]:
15208         * trans.[Ch]:
15209         * lyxgluelength.C:
15210         * lyxlength.C: remove out-commented code.
15211
15212         * BufferView_pimpl:
15213         * CutAndPaste.C:
15214         * DepTable.C:
15215         * buffer.C:
15216         * chset.C:
15217         * lastfiles.C:
15218         * lyxlex.C:
15219         * lyxlex_pimpl.C:
15220         * lyxserver.C:
15221         * screen.C:
15222         * tabular-old.C:
15223         * tabular.C:
15224         * text.C:
15225         * trans_mgr.C:
15226         * vc-backend.C: change "while(" to "while ("
15227
15228         * lyxlength.[Ch]: add zero function to check if length is zero or
15229         not
15230         * lyxgluelength.C: use it
15231
15232 2001-12-05  Allan Rae  <rae@lyx.org>
15233
15234         * lyxlength.C: Attempted a fix for the abs(int) header selection.
15235         Works for 2.95.3, from what I understand of Garst's reports this should
15236         work for other g++ versions.  We're screwed if the abs(int) definition
15237         changed between bugfix releases of gcc.
15238
15239 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
15240
15241         * text.C: fix chapter label offset !
15242
15243 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
15244
15245         * lyxtext.h:
15246         * text.C: fix hfill at end of line, clean up
15247
15248 2001-12-04  Juergen Vigna  <jug@sad.it>
15249
15250         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
15251         that we force an update of the inset and it's owners if neccessary.
15252
15253 2001-12-03  Juergen Vigna  <jug@sad.it>
15254
15255         * text.C (rowLast): simplified code
15256
15257 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
15258
15259         * lyxfunc.C: fix show options on timeout
15260
15261 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15262
15263         * screen.C (topCursorVisible): scroll half a page when the cursor
15264         reached top of bottom of screen
15265
15266 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
15267
15268         * minibuffer.C: deactivate on loss of focus
15269
15270 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15271
15272         * vspace.[Ch] (operator!=): add operator.
15273
15274 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
15275
15276         * BufferView_pimpl.C: refuse to open an inset when
15277         there's a selection.
15278
15279 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
15280
15281         * BufferView_pimpl.C: allow to click on RHS of full row insets
15282
15283 2001-11-30  Juergen Vigna  <jug@sad.it>
15284
15285         * tabular.C (LyXTabular): add a same_id to set the same id's in the
15286         insets for undo reasons.
15287
15288 2001-11-28  André Pönitz <poenitz@gmx.net>
15289
15290         * vspace.[Ch]: cosmetical changes
15291
15292 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15293
15294         * LyXAction.h:
15295         * LyXAction.C:
15296         * lyxfunc.h:
15297         * lyxfunc.C:
15298         * kbmap.h:
15299         * kbmap.C:
15300         * lyxrc.C:
15301         * kbsequence.h:
15302         * kbsequence.C: part re-write of old kb code
15303
15304         * Painter.C:
15305         * WorkArea.C: remove Lgb_bug_find_hack
15306
15307 2001-11-30  José Matos <jamatos@fep.up.pt>
15308
15309         * buffer.C (makeDocBookFile): add a comment to point a hack.
15310         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
15311         Fixed a double write of labels.
15312
15313 2001-11-29 Ben Stanley <bds02@uow.edu.au>
15314
15315         * LaTeX.C:
15316         * LaTeX.h Fixed bug in LaTeX class where it would not
15317         re-run latex if no depfiles were changed, but the .dvi was removed.
15318
15319 2001-11-28  André Pönitz <poenitz@gmx.net>
15320
15321         * all the files from the change on 2001/11/26:
15322         use lyx::layout_type instead of LyXTextClass::size_type
15323         use lyx::textclass_type instead of LyXTextClassList::size_type
15324
15325 2001-11-29  Juergen Vigna  <jug@sad.it>
15326
15327         * text.C: added support for paragraph::isFreeSpacing()
15328
15329         * buffer.C: same as above
15330
15331         * paragraph.h: inserted isFreeSpacing() function to enable
15332         FreeSpacing inside InsetERT.
15333
15334         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
15335         of the paragraph's in the cut/copy buffer to 0!
15336
15337         * text2.C (removeRow): remove the assert as it can!
15338
15339         * lyxtext.h: added helper function firstRow returning firstrow and
15340         made firstrow private again.
15341
15342         * BufferView2.C (lockInset): don't relock if we're already locked!
15343
15344         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
15345         the only paragraph.
15346         (removeRow): added Assert::(firstrow)
15347
15348         * debug.C: forgot to add INSETTEXT here.
15349
15350 2001-11-28  Juergen Vigna  <jug@sad.it>
15351
15352         * sp_spell.C (initialize): changed error text to more general
15353         spellchecker command use (not only ispell!)
15354
15355         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
15356
15357         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
15358
15359 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15360
15361         * vspace.C: initialise lyxgluelength on failure
15362
15363 2001-11-28  Allan Rae  <rae@lyx.org>
15364
15365         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
15366         declaration & definition that looks like a function declaration.
15367
15368 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15369
15370         * BufferView2.C (copy):
15371         (copyEnvironment): do not clear the selection when doing a copy.
15372
15373         * text.C (paintFirstRow): compilation fix
15374
15375 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
15376
15377         * tabular.C (Latex): correct line count when writing latex.
15378
15379 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
15380
15381         * paragraph_pimpl.h:
15382         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
15383           bug a bit
15384
15385 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15386
15387         * text.C:
15388         * LColor.h:
15389         * LColor.C: change vfillline->added_space
15390
15391         * text.C: add markers and text for added space
15392
15393         * vspace.C: fix comment
15394
15395 2001-11-28  André Pönitz <poenitz@gmx.net>
15396
15397         * paragraph.C: whitespace changes
15398         * all the other files from the change on 2001/11/26:
15399         change *::pos_type into lyx::pos_type
15400
15401 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
15402
15403         * buffer.C (parseSingleLyXformat2Token): Set the language to the
15404         language of the document when inserting error insets.
15405
15406 2001-11-26  André Pönitz <poenitz@gmx.net>
15407
15408         * BufferView_pimpl.[Ch]:
15409         *       CutAndPaste.C:
15410         * buffer.[Ch]:
15411         * lyxcursor.[Ch]:
15412         * lyxfind.C:
15413         * lyxfunc.C:
15414         * lyxrow.[Ch]:
15415         * paragraph.[Ch]:
15416         * paragraph_pimpl.[Ch]:
15417         * sp_spell.C:
15418         * text.C:
15419         * text2.C: reduce header dependencies, introduce type for positions
15420
15421 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15422
15423         * <various>: change to use Alert.h
15424
15425 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
15426
15427         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
15428         when encountering an unknown token.
15429         (readLyXformat2): Show an error message if there were unknown tokens.
15430
15431 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
15432
15433         * BufferView2.C:
15434         * BufferView_pimpl.C:
15435         * buffer.C:
15436         * paragraph.h:
15437         * text.C:
15438         * text2.C: use par->isInset()
15439
15440 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15441
15442         * paragraph_pimpl.h:
15443         * paragraph_pimpl.C: cleanup
15444
15445 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15446
15447         * text2.C (removeRow):
15448         * text.C (setHeightOfRow): remove useless (and costly) call to
15449         getRow.
15450
15451 2001-11-20  Allan Rae  <rae@lyx.org>
15452
15453         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
15454         Now need Inset*::checkInsertChar() to return true for appropriate
15455         cases so that the characters in the minibuffer will actually be
15456         inserted.
15457
15458 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15459
15460         * text.C: change the order of the includes.
15461         (workWidth): initialize it at once.
15462         (workWidth): make maxw unsigned
15463         (setHeightOfRow): remove unused variable (inset)
15464         (selectSelectedWord): remove unused variable (inset)
15465         (paintRowText): fix drawing of hfill characters, and clean up a bit.
15466
15467 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15468
15469         * lyxserver.C (emergencyCleanup): do not try to close pipes if
15470         server is not running.
15471         (openConnection):
15472         (closeConnection): add debug info when server is disabled.
15473
15474         * ColorHandler.C (getGCForeground): send debug message to GUI
15475         channel.
15476
15477         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15478
15479         * kbmap.C (bind): modify because return conventions of
15480         kb_sequence::parse have changed.
15481
15482         * kbsequence.C (parse): only ignore spaces and not any stupid
15483         control character. This avoids tests like s[i] <= ' ', which are
15484         guaranteed to fail with 8bit characters and signed chars.
15485         Change return code to string::npos when there have been no error
15486         (0 was a bad idea when error is at first character)
15487
15488 2001-11-14  José Matos  <jamatos@fep.up.pt>
15489
15490         * buffer.h:
15491         * buffer.C (simpleDocBookOnePar): removed unused argument.
15492
15493 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15494
15495         * text.C (selectNextWordToSpellcheck): do not test explicitely for
15496         insets which are part of a word. Paragraph::isLetter takes care of
15497         that now. Use Paragraph::isInset to identify insets.
15498         (selectSelectedWord): do not test for hyphenation break.
15499
15500         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15501         that protected spaces are considered as spaces.
15502
15503         * paragraph.C (isLetter): cleanup the code for ispell extras; use
15504         Inset::isLetter.
15505
15506 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
15507
15508         * lyxserver.h:
15509         * lyxserver.C: fix it. and small cleanup.
15510
15511 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15512
15513         * BufferView_pimpl.C: use inline helpers
15514
15515         * LaTeXFeatures.h:
15516         * LaTeXFeatures.C: fix typos
15517
15518         * Spacing.h:
15519         * Spacing.C: move spacing_string into class
15520
15521         * ToolbarDefaults.C: move stuff into namespace anon
15522
15523         * layout.h: update enum
15524
15525         * lyxfunc.C: use better debug
15526
15527         * minibuffer.h: fix typo
15528
15529         * debug.h:
15530         * debug.C:
15531         * WorkArea.C: add and use Debug::WORKAREA
15532
15533         * lyxtext.h:
15534         * text.C:
15535         * text2.C: code re-organisation, inline helpers
15536
15537 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
15538
15539         * Layout.C: replaced a few cases of std::vector.size() == 0 with
15540         std::vector.empty().
15541
15542 2001-11-09  Allan Rae  <rae@lyx.org>
15543
15544         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15545         '\n's after tables.  Tabular and ERT inset work now makes this no
15546         longer necessary.
15547
15548 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15549
15550         * minibuffer.h:
15551         * minibuffer.C: fix crash, improve drop-down completion
15552
15553 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
15554
15555         * lyxserver.h:
15556         * lyxserver.C: invalidate fd's when doing endPipe()
15557
15558 2001-11-08  José Matos  <jamatos@fep.up.pt>
15559
15560         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15561         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15562
15563         * paragraph.h:
15564         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15565
15566 2001-11-07  José Matos  <jamatos@fep.up.pt>
15567
15568         * buffer.h:
15569         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15570         const qualifier.
15571
15572         * buffer.C (sgmlOpenTag):
15573         * buffer.C (sgmlCloseTag): removed debug info.
15574
15575         * buffer.h (sgmlOpenTag):
15576         * buffer.h (sgmlCloseTag): made public.
15577
15578 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15579
15580         * buffer.C (saveParamsAsDefaults):
15581         * lyx_cb.C (MenuLayoutSave): remove
15582
15583         * LyXAction.C (init):
15584         * commandtags.h:
15585         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15586
15587 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15588
15589         * buffer.C (setPaperStuff): removed from here...
15590
15591         * bufferparams.C (setPaperStuff): ... and moved there.
15592
15593 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
15594
15595         * minibuffer.h:
15596         * minibuffer.C:
15597         * XFormsView.C: add support for drop-down completion
15598
15599 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
15600
15601         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15602         commands.
15603
15604 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15605
15606         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15607         disabled.
15608
15609 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
15610
15611         * lyx_main.C: change ref to known bugs
15612
15613 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
15614
15615         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15616         to work around older babel problems.
15617
15618 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15619
15620         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15621
15622 2001-10-24  Juergen Vigna  <jug@sad.it>
15623
15624         * tabular-old.C (ReadOld): below variable changes reflected.
15625
15626         * tabular.[Ch]: added ltType struct for longtable header/footer
15627         defines and changed all instances where they are used. Added
15628         future support for double top/bottom rows.
15629
15630 2001-10-24  José Matos  <jamatos@fep.up.pt>
15631
15632         * buffer.h (docbookHandleCaption):
15633         * buffer.C (docbookHandleCaption): removed unused function.
15634         (makeDocBookFile): moved docbook supported version to v4.1.
15635
15636 2001-10-24  José Matos  <jamatos@fep.up.pt>
15637
15638         * tabular.h:
15639         * tabular.C (docbookRow): new function to export docbook code of a row.
15640         (DocBook): now honors the longtable flags.
15641
15642 2001-10-23  José Matos  <jamatos@fep.up.pt>
15643
15644         * LaTeXFeatures.h:
15645         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15646         of the lyx defined sgml entities used in a docbook/linuxdoc document.
15647
15648         * buffer.C (makeLinuxDocFile):
15649         (makeDocBookFile): reworked the preamble, more clean, and with
15650         support for lyx defined entities. Changed the document declaration
15651         to be more XML friendly.
15652
15653         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15654         if we need to output XML that should be done with a filter.
15655
15656 2001-10-22  Juergen Vigna  <jug@sad.it>
15657
15658         * sp_pspell.h (class PSpell): add alive function needed in the
15659         controller to see if the spellchecker could be started.
15660
15661 2001-10-22  Juergen Vigna  <jug@sad.it>
15662
15663         * buffer.C (insertStringAsLines): modify the font for inserting
15664         chars in certain conditions by calling checkInsertChar(font).
15665
15666 2001-10-19  Juergen Vigna  <jug@sad.it>
15667
15668         * text.C (workWidth): use getRow instead of wrong algorithm.
15669         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15670
15671 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
15672
15673         * lyxserver.h:
15674         * lyxserver.C:
15675         * lyx_main.h:
15676         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15677
15678 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15679
15680         * text.C (workWidth): do not search for the exact row when
15681         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15682         optimization for big documents.
15683
15684 2001-10-18  Juergen Vigna  <jug@sad.it>
15685
15686         * text.C (workWidth): new function with added Inset * parameter.
15687
15688 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15689
15690         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15691
15692         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15693         change return type of getColumnNearX.
15694
15695
15696         * text.C (changeRegionCase): use uppercase/lowercase instead of
15697         toupper/tolower.
15698         (leftMargin):
15699         (rightMargin): simplify code by factoring out the uses of
15700         textclasslist.
15701         (labelFill):
15702         (numberOfHfills):
15703         (setHeightOfRow):
15704         (appendParagraph): use Paragraph::size_type
15705
15706 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15707
15708         * vspace.C (asLatexString): add a missing break
15709
15710 2001-10-15  Herbert Voss  <voss@perce.de>
15711
15712         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15713
15714 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15715
15716         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15717         is not available.
15718
15719 2001-10-10  André Pönitz <poenitz@gmx.net>
15720
15721         * lyxfunc.C: removed greek_kb_flag.
15722
15723 2001-10-10  Herbert Voss  <voss@perce.de>
15724
15725         * lyx_main.C: delete global string help_lyxdir.
15726
15727 2001-10-09  Herbert Voss  <voss@perce.de>
15728
15729         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15730
15731         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15732
15733         * lyx_main.C: added global string help_lyxdir.
15734
15735         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15736
15737 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15738
15739         * lyxrc.C (set_font_norm_type): support iso8859-4
15740
15741 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
15742
15743         * LaTeX.C (deplog): add another regex for MikTeX
15744
15745 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15746
15747         * lyxrc.C (set_font_norm_type): support iso8859-3
15748
15749 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15750
15751         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15752
15753         * LaTeXFeatures.C: remove special case of french and index
15754
15755         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15756         before \begin{document}). This solves several incompatibilities.
15757
15758 2001-10-03  Garst Reese  <reese@isn.net>
15759
15760         * lyx_cb.C: change CheckTex error msg.
15761
15762 2001-10-03  José Matos  <jamatos@fep.up.pt>
15763
15764         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15765
15766 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15767
15768         * .cvsignore: update
15769
15770         * lyx_main.C (commandLineVersionInfo): use new style version info.
15771
15772         * buffer.C (writeFile):
15773         (makeLaTeXFile):
15774         (makeLinuxDocFile):
15775         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15776
15777         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15778
15779         * version.h: update to use stuff in version.C
15780
15781         * version.C.in: new file. Contains version information determined
15782         at compile time. This is a merging of version.h and
15783         version_info.h.in.
15784
15785 2001-10-03  Juergen Vigna  <jug@sad.it>
15786
15787         * BufferView_pimpl.C (update): don't change "dirty" status in
15788         updateInset call.
15789
15790 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
15791
15792         * WorkArea.C (c-tor): re-position version string slightly.
15793
15794 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
15795
15796         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15797         revert to previous code.
15798
15799         WorkArea.[Ch]: (show, destroySplash): methods removed.
15800
15801         WorkArea.C: rework code so that it's an amalgam of the codes before and
15802         after the splash screen was moved to WorkArea.
15803
15804 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15805
15806         * lyxrc.C (read):
15807         * vspace.C (inPixels):
15808         (lyx_advance):
15809         * kbmap.C (bind):
15810         * buffer.C (insertStringAsLines):
15811         (asciiParagraph): fix types to be large enough
15812
15813         * lyxlex_pimpl.h: change member status from short to int
15814
15815         * layout.h: fix type of endlabeltype
15816
15817         * kbmap.C (bind):
15818         * kbsequence.C (parse): change return type to string::size_type
15819
15820         * LaTeX.C (updateBibtexDependencies): comment out unneeded
15821         variable
15822
15823         * Bullet.C (bulletSize):
15824         (bulletEntry): do not use short ints as parameters
15825
15826         * BufferView2.C (insertLyXFile): change a char to an int.
15827
15828         * WorkArea.C (WorkArea): remove unneeded floats in computation
15829
15830 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
15831
15832         * buffer.C (asciiParagraph): Treat '\\' as other chars.
15833
15834         * paragraph.C (asString): Do not ignore newline/hfill chars when
15835         copying to the clipboard.
15836
15837 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
15838
15839         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15840         after a multi-line inset.
15841
15842 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
15843
15844         * paragraph.C (validate): Set NeedLyXFootnoteCode
15845
15846 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15847
15848         * lyxfont.C (LyXSizeNames): changed increase-error to increase
15849         and decrease-error to decrease.
15850
15851 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15852
15853         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15854         it more readable (should be equivalent)
15855
15856 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15857
15858         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15859
15860 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15861
15862         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15863         of a cursor (row, etc.) after a character has been deleted
15864         (deleteEmptyParagraphMechanism): call the method above on _all_
15865         cursors held by the LyXText when a double space has been
15866         detected/deleted.
15867
15868 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15869
15870         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15871         pixmap.
15872         (resizeCurrentBuff): remove code to destroy the old splash dialog.
15873
15874         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15875         background. Use greyOut() and the new show() methods to toggle between
15876         the foreground and background. Add code to remove the splash after
15877         its initial showing.
15878
15879         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15880         (create_forms): no longer call Dialogs::showSplash.
15881
15882 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15883
15884         * .cvsignore: add version_info.h
15885
15886 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15887
15888         * version_info.h.in: new file
15889
15890         * Makefile.am: add version_info.h.in
15891
15892         * lyx_main.C (commandLineVersionInfo): use version_info defined in
15893         version_info.h instead of VERSION_INFO
15894
15895 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
15896
15897         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15898         The ERT inset now returns string().
15899
15900 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
15901
15902         * lyxtext.h, text.C (selectNextWord): renamed as
15903         selectNextWordToSpellcheck.
15904
15905         * text.C (selectNextWordToSpellcheck): Modified to not select
15906         words inside an ERT inset.
15907
15908 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15909
15910         * lyx_cb.C (MenuLayoutSave): change a bit the question
15911
15912         * sp_base.h: include <sys/types.h>
15913
15914 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
15915
15916         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15917
15918 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
15919
15920         * several files: fix typos in user-visible strings
15921
15922 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15923
15924         * text2.C (pasteSelection): do not set the selection, since it
15925         will be cleared later. Actually, the intent was to fix the way the
15926         selection was set, but I figured rmoving the code was just as good.
15927
15928 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
15929
15930         * FontLoader.C (available): Check if font is available without
15931         loading the font.
15932
15933 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
15934
15935         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15936
15937 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
15938
15939         * lyxrc.[Ch]: added display_graphics variable and associated code.
15940
15941 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15942
15943         * bufferparams.C (hasClassDefaults): new method. Returns true if
15944         the buffer parameters correspond to known class defaults
15945
15946 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
15947
15948         * XFormsView.C (show): set minimum size to the main window.
15949
15950 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15951
15952         * text2.C (copySelection):
15953         (cutSelection):
15954         * lyxfind.C (LyXReplace):
15955         * BufferView_pimpl.C (Dispatch): pass the correct flag to
15956         LyXText::selectionAsString.
15957
15958         * paragraph.C (asString): add "label" argument to the second form
15959
15960         * text2.C (selectionAsString): add "label" argument and pass it to
15961         Paragraph::asString.
15962
15963 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15964
15965         * lyx_main.C (commandLineHelp): remove version information
15966
15967 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
15968
15969         * lyx_main.C: add -version commandline option
15970
15971 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15972
15973         * paragraph.h: make the optional constructor arg required instead.
15974         some modifications to other files because of this.
15975
15976         * minibuffer.C (C_MiniBuffer_peek_event): make it static
15977
15978         * lyxserver.C (C_LyXComm_callback): make it static
15979
15980         * lyx_main.C (error_handler): make it static
15981
15982         * lyx_gui.C (LyX_XErrHandler): make it static
15983
15984         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15985
15986         * WorkArea.C: make the extern "C" methods static.
15987
15988         * Makefile.am (lyx_LDADD): simplify
15989
15990 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15991
15992         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15993         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15994
15995         * LyXAction.C (init):
15996         * lyxfunc.C (dispatch): associated code removal.
15997
15998 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15999
16000         * lyxfont.h (isSymbolFont): shut off warning
16001
16002         * text.C (setHeightOfRow):
16003         (getVisibleRow): fix crash with empty paragraphs which have a
16004         bottom line
16005
16006 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
16007
16008         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
16009         code.
16010
16011 2001-09-04  José Matos  <jamatos@fep.up.pt>
16012         * buffer.C
16013         * buffer.h
16014         * tabular.C (docbook): rename docBook method to docbook.
16015
16016 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
16017
16018         * Makefile.am: add dependencies to main.o.
16019
16020 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
16021
16022         * FontLoader.C (available): Return false if !lyxrc.use_gui
16023
16024 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
16025
16026         * FontInfo.C (query):
16027         * converter.C (view):
16028         * importer.C (Import):
16029         * exporter.C (Export): Can not -> cannot.
16030
16031 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
16032
16033         * BufferView_pimpl.C: allow to create index inset even if
16034           string is empty
16035
16036 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
16037
16038         * buffer.C (getLists): replace boost::tie code with an explicit pair
16039         as boost::tie can break some compilers.
16040
16041         * iterators.h: Added a std:: declaration to the return type of
16042         ParIterator::size.
16043
16044 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
16045
16046         * lyxrc.C: add help for view_dvi_paper_option, default to safe
16047           case.
16048
16049 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
16050
16051         * iterators.[Ch]: New files. Provide paragraph iterators.
16052
16053         * buffer.C (changeLanguage): Use paragraph iterators.
16054         (isMultiLingual): ditto
16055
16056         * BufferView2.C (ChangeInsets): Use paragraph iterators.
16057
16058 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
16059
16060         * FontLoader.C: Support for cmr font.
16061
16062 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
16063
16064         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
16065         (available): New method.
16066
16067         * FontInfo.C (getFontname): Use scalable fonts even when
16068         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
16069         found.
16070
16071 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
16072
16073         * converter.C (Formats::view): reverted! Incorrect fix.
16074
16075 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
16076
16077         * converter.C (Formats::view): only output the -paper option
16078         if the dvi viewer is xdvi, thereby fixing bug #233429.
16079
16080 2001-08-23  Herbert Voss  <voss@perce>
16081
16082         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
16083
16084 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
16085
16086         * Spacing.h (Spacing): Set space to Default on in the default
16087         constructor.
16088
16089 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16090
16091         * vc-backend.h (RCS::versionString): add RCS to version
16092         (CVS::versionString): add CVS to version
16093
16094         * vc-backend.C (scanMaster): do not add CVS to version.
16095         (scanMaster): do not add RCS to version
16096
16097         * lyxvc.C (versionString): new method
16098
16099         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
16100
16101 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16102
16103         * Spacing.C (set): initialize fval
16104
16105 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
16106
16107         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
16108         " or \.
16109
16110 2001-08-16  Juergen Vigna  <jug@sad.it>
16111
16112         * lyxfunc.C (dispatch): implemented the new FINISHED states.
16113
16114 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
16115
16116         * BufferView_pimpl.C:
16117         * figureForm.C:
16118         * lyxtext.h:
16119         * text2.C: setParagraph takes linespacing now
16120
16121 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
16122
16123         * LyxAction.C: add internal LFUN_CITATION_INSERT
16124
16125         * LyXView.C: actually apply fix
16126
16127         * bufferlist.C: fix open non-existent file
16128
16129         * lyxfind.C: fix indentation
16130
16131         * lyxfunc.C: remove unneeded assert, fix typo
16132
16133 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
16134
16135         * MenuBackend.C: use "Floatname List"
16136
16137 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
16138
16139         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
16140         when converting LaTeX layout to insetERT.
16141         Generate a non-collapsed float when reading old float
16142
16143 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
16144
16145         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
16146         ERT insets.
16147
16148 2001-08-13  Juergen Vigna  <jug@sad.it>
16149
16150         * text.C (fill): return 0 instead of 20 as this seems to be the more
16151         correct value.
16152
16153 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
16154
16155         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
16156         lyxrc.font_norm.
16157
16158 2001-08-13  Juergen Vigna  <jug@sad.it>
16159
16160         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
16161         casesensitive off.
16162         (SearchBackward): comment out the unlocking of the inset_owner this
16163         should not be needed!
16164
16165 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
16166
16167         * Many files: Remove inherit_language, and add latex_language
16168
16169         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
16170         collapsible insets.
16171
16172 2001-08-10  Juergen Vigna  <jug@sad.it>
16173
16174         * text.C (prepareToPrint): fixed hfill-width in draw!
16175
16176         * BufferView2.C (selectLastWord): save the selection cursor as this
16177         now is cleared in the function LyXText::clearSelection!
16178
16179 2001-08-08  Juergen Vigna  <jug@sad.it>
16180
16181         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
16182         BACKSPACE type functions.
16183
16184         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
16185         is only cutted from the document but not put in the cut-buffer, where
16186         still the old stuff should be.
16187
16188         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
16189
16190         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
16191
16192         * tabular.C (SetWidthOfCell): fixed special case where the width
16193         was not updated!
16194         (LeftLine): handle '|' in align_special.
16195         (RightLine): ditto
16196         (LeftAlreadyDrawed): ditto
16197         (SetWidthOfCell): ditto
16198
16199 2001-08-07  Juergen Vigna  <jug@sad.it>
16200
16201         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
16202
16203 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16204
16205         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
16206         * lyxlex.[hC]: ditto
16207
16208 2001-08-06  Juergen Vigna  <jug@sad.it>
16209
16210         * text.C (getVisibleRow): fix up row clearing a bit.
16211
16212 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16213
16214         * minibuffer.C: make sure the X server sees the changes in the input.
16215
16216 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16217
16218         * paragraph.C (getFont): split into...
16219         (getLabelFont): this
16220         (getLayoutFont): and this
16221         * paragraph_pimpl.C (realizeFont): calling this
16222
16223         * text2.C (getFont): split into...
16224         (getLayoutFont): this
16225         (getLabelFont): and this
16226         (realizeFont): all three calling this
16227
16228         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
16229         files where used.
16230
16231 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16232
16233         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
16234
16235 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
16236
16237         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
16238         layouts from the Quote inset insertion.
16239
16240 2001-08-03  Juergen Vigna  <jug@sad.it>
16241
16242         * BufferView_pimpl.C (update): do the fitCursor only at the end!
16243
16244         * screen.C (drawFromTo): don't call fitcursor here and do the loop
16245         only if status not is already CHANGED_IN_DRAW (second level).
16246
16247         * text.C (draw): don't set the need_break_row when inside an
16248         InsetText LyXText.
16249
16250 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16251
16252         * buffer.C (parseSingleLyXformat2Token): handle more latex
16253         conversion cases.
16254
16255         * bufferview_funcs.[hC]: change function names to
16256         begin with small char, adjust other files.
16257
16258 2001-08-02  André Pönitz <poenitz@gmx.net>
16259
16260         * lyxfunc.C:
16261         BufferView_pimpl.C: remove broken special code for math-greek
16262
16263 2001-08-02  Juergen Vigna  <jug@sad.it>
16264
16265         * BufferView_pimpl.C (update): redone this function so that we
16266         update the text again if there was a CHANGE_IN_DRAW.
16267
16268         * screen.C (cursorToggle): removed LyXText parameter and recoded.
16269         (drawFromTo): added a new internal bool which is used by draw() and
16270         redraw() function.
16271         (general): some cursor drawing problems fixed.
16272
16273 2001-08-01  Juergen Vigna  <jug@sad.it>
16274
16275         * lyxfind.C (LyXFind): fixed
16276         (SearchForward): ditto
16277         (SearchBackward): ditto
16278
16279         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
16280         spurius drawing of the cursor in the main area.
16281
16282         * text2.C (status): small fix which could lead to a segfault!
16283         (clearSelection): remove unneeded BufferView param.
16284
16285 2001-08-01  André Pönitz <poenitz@gmx.net>
16286
16287         * lyxfunc.C: small change due to changed mathed interface
16288
16289 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16290
16291         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
16292
16293 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
16294
16295         * lyxfunc.c: fail gracefully if file doesn't exist
16296
16297         * LyXSendto.C:
16298         * buffer.C:
16299         * lyxfunc.C:
16300         * BufferView_pimpl.C: IsDirWriteable() proto changed
16301
16302         * LyXView.C: fix updateWindowTitle() to store the last title
16303
16304 2001-07-31  Juergen Vigna  <jug@sad.it>
16305
16306         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
16307         the font (wrong since using of Paragraph::highestFontInRange).
16308
16309         * paragraph.C (highestFontInRange): added a default_size parameter.
16310
16311         * text.C (getVisibleRow): minor clear row changes (still not perfect).
16312         (setHeightOfRow): reformat
16313
16314 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16315
16316         * converter.[hC] + affected files: move to (inital-char)lowercase
16317         function names.
16318
16319         * ParagraphParameters.C (ParagraphParameters): remove commented code
16320
16321         * PainterBase.[Ch]: remove commented code
16322
16323         * LaTeXFeatures.h: add "bool floats" for float.sty
16324
16325         * LaTeXFeatures.C (LaTeXFeatures): init floats
16326         (require): handle float
16327         (getPackages): do it with floats
16328
16329 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16330
16331         * BufferView_pimpl.C (Dispatch): improve handling of
16332         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
16333
16334         * commandtags.h: #include lyxfont.h here temporarily to avoid
16335         keybinding bug.
16336
16337         * bufferlist.h: include LString.h here.
16338
16339 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16340
16341         * text2.C (getStringToIndex): new method.
16342
16343 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
16344
16345         * *: Reduced header file dependencies all over.
16346
16347 2001-07-30  Baruch Even  <baruch@lyx.org>
16348
16349         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
16350
16351 2001-07-29  Baruch Even  <baruch@lyx.org>
16352
16353         * buffer.C (readInset): Changed GRAPHICS to Graphics.
16354
16355 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16356
16357         * ParameterStruct.h (endif): add a default constructor to make
16358         sure that all variables is initialized.
16359
16360         * ParagraphParameters.C (ParagraphParameters): adjust
16361
16362 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16363
16364         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
16365         index; also, check that there is something to index, and that it
16366         does not span over several paragraphs.
16367         (doubleClick): use WHOLE_WORD_STRICT for double click.
16368
16369         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
16370
16371         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
16372         scheme.
16373
16374 2001-07-26  Baruch Even  <baruch@lyx.org>
16375
16376         * buffer.C (readInset): Changed to call up InsetGraphics when reading
16377         an InsetFig figure, backwards compatible reading of old figure code.
16378
16379 2001-07-27  Juergen Vigna  <jug@sad.it>
16380
16381         * text2.C: font.realize function adaption.
16382
16383         * text.C (draw): add a warnings lyxerr text if needed.
16384
16385         * layout.C: font.realize function adaption.
16386
16387         * language.C: add inherit_language and implement it's handlings
16388
16389         * bufferview_funcs.C (StyleReset): remove language parameter from
16390         font creation (should be language_inherit now).
16391
16392         * bufferparams.C (writeFile): handle ignore_language.
16393
16394         * paragraph.C (getFontSettings): the language has to be resolved
16395         otherwise we have problems in LyXFont!
16396
16397         * lyxfont.C (lyxWriteChanges): added document_language parameter
16398         (update): removed unneeded language parameter
16399
16400         * paragraph.C (validate): fixed wrong output of color-package when
16401         using interface colors for certain fonts in certain environments,
16402         which should not seen as that on the final output.
16403
16404 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
16405
16406         * BufferView_pimpl.C:
16407         * Thesaurus.h:
16408         * Thesaurus.C:
16409         * Makefile.am:
16410         * commandtags.h:
16411         * LyXAction.C: add thesaurus support
16412
16413         * lyxfind.h:
16414         * lyxfind.C: add "once" parameter, for thesaurus, to not
16415           move to the next match
16416
16417 2001-07-26  Juergen Vigna  <jug@sad.it>
16418
16419         * lyxfont.C (realize): honor ignore_language too!
16420         (resolved): ditto.
16421
16422         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
16423
16424         * text.C (draw): one place more for ignore_language to not draw
16425         itself!
16426
16427 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
16428
16429         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
16430
16431 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16432
16433         * buffer.C (parseSingleLyXformat2Token): a more general fix for
16434         the minipage conversion problem.
16435
16436 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16437
16438         * buffer.C (parseSingleLyXformat2Token): check minipage if we
16439         insert an inset.
16440
16441 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16442
16443         * BufferView.h: don't forward declare WorkArea
16444
16445         * BufferView.C: don't include WorkArea.h
16446
16447 2001-07-25  André Pönitz <poenitz@gmx.net>
16448
16449         * commandtags.h:
16450         * LyXAction.C:
16451         * lyxfunc.C:  new LFUN 'math-space'
16452
16453         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
16454
16455 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16456
16457         * text2.C (toggleInset): call open/close
16458
16459 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16460
16461         * lyxfunc.C (dispatch): add debug for the disabled case
16462
16463         * font.C (buttonText): make similar to rectText
16464
16465         * buffer.C (readInset): comment out parsing of insetlist and
16466         insttheorem
16467
16468         * PainterBase.C (rectText): small correction
16469
16470         * BufferView_pimpl.C: comment out insettheorem and insetlist
16471         * LyXAction.C: ditto
16472         * commandtags.h: ditto
16473
16474 2001-07-24  Juergen Vigna  <jug@sad.it>
16475
16476         * text.C (draw): honor the ignore_language.
16477
16478         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16479
16480 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16481
16482         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16483         char inset.
16484
16485 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16486
16487         * lyxtext.h: remove unused (and unimplemented) methods
16488
16489 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16490
16491         * text.C (getVisibleRow): honor background color
16492
16493         * PainterBase.h:
16494         * Painter.h: remove default color argument for fillRectangle
16495
16496         * text.C (backgroundColor): new method
16497
16498 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16499
16500         * text.C (getVisibleRow): adjust
16501
16502         * font.[Ch] (rectText): new method, metrics
16503         (buttonText): new method, metrics
16504
16505         * PainterBase.[hC]: make rectText and buttonText always draw and take
16506         fewer paramteres.
16507
16508 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16509
16510         * ToolbarDefaults.C (read):
16511         * MenuBackend.C (read): allow escaping in all strings
16512
16513         * BufferView_pimpl.C (insertAndEditInset): new method.
16514         (Dispatch): use insertAndEditInset whenever appropriate.
16515
16516         * BufferView_pimpl.C (insertNote): removed
16517
16518         * BufferView_pimpl.C (smartQuote): new method, moved from
16519         BufferView; if an insetquote cannot be inserted, insert a '"'
16520         character instead.
16521
16522         * BufferView2.C: remove insertCorrectQuote();
16523
16524         * lyxfunc.C (getStatus): Add support for all remaingin
16525         inset-insert lfuns.
16526
16527         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16528
16529         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16530         command (necessary to pass " as parameter of self-insert.
16531
16532         * text.C (selectWordWhenUnderCursor):
16533         (selectWord): add word_location parameter
16534         (selectWordWhenUnderCursor): same + remove special code for word
16535         boundary.
16536         (selectNextWord): use kind() to guess type of insetspecialchar,
16537         not latex().
16538
16539         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16540         (insertErtContents): create ert insets as collapsed.
16541         (readInset): better compatibility code for Info inset.
16542
16543 2001-07-20  Juergen Vigna  <jug@sad.it>
16544
16545         * lyxfunc.C (dispatch): use always LyXFind now!
16546
16547         * text2.C (init): add a reinit flag so that the LyXText can be
16548         reinited instead of deleted and reallocated (used in InsetText).
16549
16550         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16551
16552         * text.C: ditto
16553
16554         * text2.C: ditto
16555
16556 2001-07-18  Juergen Vigna  <jug@sad.it>
16557
16558         * text.C (selectNextWord): handle insets inside inset by calling
16559         always the bv->text functions so that we can go up the_locking_inset!
16560
16561         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16562         in strange locations when inside an inset!
16563
16564         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16565         handling to include insets.
16566
16567         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16568
16569 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16570
16571         * LyXAction.C (init):
16572         * commandtags.h:
16573         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16574         LIGATURE_BREAK, since the name is so stupid.
16575
16576 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16577
16578         * buffer.C (readInset): enable reading of new InsetNotes as well as old
16579         InsetInfos.
16580
16581         * FontLoader.C: remove FORMS_H_LOCATION cruft.
16582
16583         * sp_form.[Ch]: remove.
16584
16585         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16586
16587         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16588         InsetInfo.
16589
16590         * src/buffer.C (readInset): ditto.
16591
16592 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16593
16594         * BufferView_pimpl.C (specialChar): new method. Obsoletes
16595         menuSeparator(), endOfSentenceDot(), ldots() and
16596         hyphenationPoint(), which are therefore removed.
16597         (Dispatch): handle LFUN_HYPHENATION_BREAK.
16598
16599         * LyXAction.C (init):
16600         * commandtags.h: add LFUN_HYPHENATION_BREAK.
16601
16602         * paragraph.C (getWord): removed.
16603
16604         * BufferView_pimpl.C (Dispatch): use last word or selection for
16605         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16606
16607         * lyx_main.C (queryUserLyXDir): do not ask before creating
16608         user_dir, except if it has been named explicitely.
16609
16610 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16611
16612         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16613         a document of zero size.
16614
16615 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
16616
16617         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16618         approriately in the c-tor and in require().
16619         (getPackages): output the appropriate LaTeX for natbib support.
16620
16621         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16622         variables "use_natbib" and "use_numerical_citations" when reading the
16623         LyX file.
16624         (readInset): read the various natbib cite commands.
16625         (validate): white-space change.
16626
16627         * bufferparams.[Ch]: new variables "bool use_natbib" and
16628         "bool use_numerical_citations".
16629         (writeFile): output them in the LyX file.
16630
16631 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16632
16633         * lyxfunc.C (getStatus): add support for all the inset insertion
16634         commands.
16635
16636         * text2.C (insertInset):
16637         * paragraph.C (insetAllowed):
16638         * BufferView_pimpl.C (insertInset): update to take in account the
16639         renaming of insertInsetAllowed
16640
16641         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16642
16643         * text2.C (getInset): new method. returns inset at cursor position.
16644
16645         * BufferView_pimpl.C (Dispatch): changes because of this.
16646
16647         * LyXAction.C (init): rename open-stuff to inset-toggle.
16648
16649         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16650
16651         * text2.C (toggleInset): renamed from openStuff; use
16652         Inset::open().
16653
16654 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
16655
16656         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16657
16658         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16659
16660 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
16661
16662         * buffer.C (readLyXformat2): Add filename to the error dialog
16663
16664 2001-07-18  Juergen Vigna  <jug@sad.it>
16665
16666         * tabular.C (GetCellNumber): put an assert here instead of the check!
16667
16668 2001-07-17  Juergen Vigna  <jug@sad.it>
16669
16670         * BufferView_pimpl.C (toggleSelection): adapted too.
16671
16672         * text.C (selectNextWord): adapted for use with insets.
16673         (selectSelectedWord): ditto
16674
16675 2001-07-17  Juergen Vigna  <jug@sad.it>
16676
16677         * sp_spell.C (PSpell): fix initialitation order.
16678
16679 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16680
16681         * paragraph.C: spacing
16682
16683 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
16684
16685         * sp_spell.C: repair language selection for pspell
16686
16687 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16688
16689         * lyxfunc.h: change more methods to begin with lower char.
16690
16691 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
16692
16693         * buffer.C (parseSingleLyXformat2Token): Generate error insets
16694         for unknown layouts.
16695
16696 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
16697
16698         * buffer.C (readLyXformat2): Generate an error dialog if there are
16699         unknown layouts.
16700
16701 2001-07-16  Juergen Vigna  <jug@sad.it>
16702
16703         * sp_spell.C: always compile ISpell part.
16704
16705         * lyxrc.C: added use_pspell entry and it's handling.
16706
16707 2001-07-13  Juergen Vigna  <jug@sad.it>
16708
16709         * sp_spell.C: removed double includes.
16710
16711 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
16712
16713         Consistent use of Lsstream.h:
16714         * Lsstream.h: added using std::stringstream for consistencies sake.
16715
16716         * buffer.C: removed using std::stringstream
16717
16718         * lyxfont.C (stateText):
16719         * paragraph.C (asString):
16720         * text.C (selectNextWord, selectSelectedWord):
16721         * text2.C (setCounter):
16722         * vspace.C (asString, asLatexString):
16723         std::ostringstream -> ostringstream.
16724
16725 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16726
16727         * LyXAction.C: add LFUN_HELP_ABOUTLYX
16728         * commandtags.h: add LFUN_HELP_ABOUTLYX
16729         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16730
16731 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16732
16733         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16734         cursorToggle()
16735         * lyx_gui_misc.C: remove spellchecker
16736         * lyxfunc.C: showSpellchecker
16737         * sp_base.h: added
16738         * sp_ispell.h: added
16739         * sp_pspell.h: added
16740         * sp_spell.C: added
16741         * sp_form.[Ch]: removed
16742         * spellchecker.[Ch]: removed
16743
16744 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
16745
16746         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16747         is set.
16748         (simpleTeXSpecialChars): Simply print the input character without
16749         any special translation if pass_thru is set.
16750
16751         * layout.h: Added bool pass_thru to layout class for being able to
16752         implement pass through of a paragraph for Literate Programming.
16753
16754         * layout.C: add LT_PASS_THRU to LayoutTags enum.
16755         * layout.C (LyXLayout): set pass_thru to flase in constructor.
16756         * layout.C (Read): add "passthru" to list of layout tags and add
16757         code to set the pass_thru boolean when it is read.
16758
16759 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16760
16761         * trans_decl.h: remove allowed from KmodInfo
16762
16763         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16764         remove allowed code
16765         (Load): adjust
16766
16767         * paragraph_pimpl.C (erase): use boost::prior
16768
16769         * Painter.C (text): use data() instead of c_str() when length is
16770         also provided.
16771         * WorkArea.C (putClipboard): ditto
16772         * font.h (width): ditto
16773
16774         * BufferView2.C: use it-> instead of (*it). for iterators
16775         * texrow.C: ditto
16776         * paragraph_pimpl.C: ditto
16777         * paragraph.C: ditto
16778         * minibuffer.C: ditto
16779         * language.C: ditto
16780         * kbmap.C: ditto
16781         * encoding.C: ditto
16782         * counters.C: ditto
16783         * converter.C: ditto
16784         * chset.C: ditto
16785         * Variables.C: ditto
16786         * TextCache.C: ditto
16787         * MenuBackend.C: ditto
16788         * LyXAction.C: ditto
16789         * LColor.C: ditto
16790         * FloatList.C: ditto
16791         * DepTable.C: ditto
16792         * ColorHandler.C (LyXColorHandler): ditto
16793
16794 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16795
16796         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16797
16798         * text2.C (openStuff): reintroduce this method (which had been
16799         nuked in NEW_INSETS frenzy).
16800
16801         * lyxfunc.C (Dispatch): when an action has not been handled, use
16802         its name in the error message, not its number.
16803
16804         * paragraph.C (inInset): change method name to begin with lowercase.
16805
16806         * undo_funcs.C:
16807         * text2.C: updates because of this.
16808
16809 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16810
16811         * ToolbarDefaults.C (add): add spaces in error message
16812
16813 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16814
16815         * buffer.C (readLyXformat2): initialize the ert comp. variables.
16816         (readLyXformat2): rename return_par to first_par, use lyxlex's
16817         pushToken and remove the manual push handling.
16818         (parseSingleLyXformat2Token): add another ert comp. variable:
16819         in_tabular, rename return_par to first_par. handle newlines better
16820
16821 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16822
16823         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16824
16825 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16826
16827         * text2.C (getParFromID): removed
16828
16829         * buffer.C (getParFromID): new method moved form lyxtext.
16830         * BufferView2.C (insertErrors): adjust
16831         (setCursorFromRow): adjust
16832         * BufferView_pimpl.C (restorePosition): adjust
16833         * lyxfunc.C (Dispatch): adjust
16834         * undo_funcs.C (textUndo): adjust
16835         (textRedo): adjust
16836         (textHandleUndo): adjust
16837         (textHandleUndo): adjust
16838
16839 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16840
16841         * buffer.C: up' the LYX_FORMAT
16842
16843         * lyxfont.h: turn NO_LATEX on as default
16844
16845         * buffer.C (insertErtContents): new methods of tex style compability.
16846         (parseSingleLyXformat2Token): use it several places.
16847         * tabular.C (OldFormatRead): and here
16848
16849 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16850
16851         * text2.C: remove some commented code.
16852         reindent file.
16853
16854         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16855         * trans.C: changes because of the above.
16856
16857 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
16858
16859         * text2.C (setCounter): Fix counters bug with bibliography layout.
16860
16861 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16862
16863         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16864         own member functions
16865         (simpleTeXSpecialChars): ditto
16866
16867 2001-07-06  Juergen Vigna  <jug@sad.it>
16868
16869         * a lot of files: changed the access to LyXText::status and the
16870         call of undo-functions.
16871
16872         * undo.[Ch]: added a inset_id to the undo informations.
16873
16874         * undo_funcs.[Ch]: added and moved here all undo functions.
16875
16876         * lyxtext.h: give the status enum a weight, made status_ a private
16877         variable and made accessor functions for it, removed the whole bunch
16878         of undo-functions as they are now in their own file, make some
16879         functions publically available. Added function ownerParagraph with
16880         int parameter.
16881
16882         * paragraph.[Ch]: added "bool same_ids" to the constructor,
16883         made InInset() a const function, added getParFromID() function.
16884
16885         * buffer.[Ch]: added const version for inset_iterator functions,
16886         added getInsetFromID() function.
16887
16888         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16889         changed undo functions for new version.
16890
16891 2001-07-05  Juergen Vigna  <jug@sad.it>
16892
16893         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16894         unknow mechanism does not call the proper constructor but only this
16895         one also if I request the other!?
16896
16897 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16898
16899         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16900
16901         * text2.C (LyXText): use initialization lists.
16902
16903         * lyxtext.h (Selection): initialize set_ and mark_
16904         (init): remove method
16905
16906 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
16907
16908         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16909
16910 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16911
16912         * screen.[Ch]: change method names to begin with lowercase
16913
16914         * BufferView_pimpl.C (updateScrollbar): simplify further and
16915         hopefully make it a bit faster.
16916
16917 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16918
16919         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16920         calling directly xforms functions.
16921
16922         * Painter.C (Painter):
16923         * lyx_cb.C (MenuWrite):
16924         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16925         fl_display.
16926
16927         * lyx_gui.C: remove bogus guiruntime extern declaration.
16928
16929 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16930
16931         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16932         in NEW_INSETS
16933         (redoDrawingOfParagraph): ditto
16934         (redoParagraphs): ditto
16935         (cutSelection): don't create a object for CutAndPaste use the
16936         static method directly
16937         (pasteSelection): ditto
16938
16939         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16940         LyXview (+ rename)
16941
16942 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16943
16944         * modifications to some other files because of this.
16945
16946         * Makefile.am (lyx_SOURCES): add XFormsView
16947
16948         * XFormsView.[Ch]: new files
16949
16950         * LyXView.[Ch]: make LyXView a base class for the gui handling for
16951         the main window. Move the gui dependent stuff to XFormsView
16952
16953 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16954
16955         * tabular.C (GetCellInset): update cur_cell also in the row/col
16956         version of this function.
16957
16958         * lyxfunc.C: no need to include figure_form.h here.
16959
16960         * FontLoader.h:
16961         * lyxfunc.h:
16962         * lyxscreen.h:
16963         * text2.C:
16964         * lyxvc.C: no need to include forms.h here.
16965
16966 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16967
16968         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16969
16970         * lyxfunc.C (Dispatch):
16971         * Spacing.C (set):
16972         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16973         constructor argument.
16974
16975 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16976
16977         * paragraph.C (Paragraph): dont't clear, and just set layout.
16978         (makeSameLayout): use params's copy contructor.
16979
16980         * ParagraphParameters.[Ch] (makeSame): delete method
16981
16982 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
16983
16984         * Variables.[Ch]: fix indentation, rename set to isSet
16985
16986 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16987
16988         * lyxfunc.C (Dispatch): fix typo
16989
16990 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16991
16992         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16993         upper_bound.
16994
16995         * bufferlist.C: include assert.h for emergencyWrite().
16996
16997 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16998
16999         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
17000           give up at last (bug #425202) !
17001
17002 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
17003
17004         * lyx_gui_misc.C:
17005         * sp_form.h:
17006         * sp_form.C:
17007         * spellchecker.h:
17008         * spellchecker.C: strip spellchecker options and bring up
17009           preferences tab instead
17010
17011 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17012
17013         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
17014         the istringstream constructor
17015
17016 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17017
17018         * paragraph.C (getLayout): fix return value
17019
17020         * paragraph.h: do not declare getLayout as inline.
17021
17022         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
17023
17024 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17025
17026         * lyxcursor.h (operator<): new func
17027         (operator>): new func
17028         (operator>=): new func
17029         (operator<=): new func
17030
17031         * text.C (changeCase): use selection.start and selection.end
17032         (changeRegionCase): require from to be <= to. Require par to be a
17033         valid paragraph.
17034
17035         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
17036
17037 2001-06-27  Juergen Vigna  <jug@sad.it>
17038
17039         * text.C (cursorLeftOneWord): changed to return the cursor and added
17040         overlay with BufferView * parameter which calls this one.
17041         (getWord): added
17042         (selectWord): use new getWord function.
17043         (changeCase): renamed from changeWordCase as and extended to work
17044         also on selections.
17045
17046         * lyxtext.h: added enum word_location
17047
17048         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
17049         changeCase as this operates now also on selections.
17050
17051 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
17052
17053         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
17054
17055         * many files: send debug output to Debug::INFO instead of
17056         Debug::ANY.
17057
17058         * converter.C (View):
17059         (Convert):
17060         (Move): send debug output to Debug::FILES instead of console.
17061
17062 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
17063
17064         * lyxfunc.C (getStatus): use func_status
17065
17066         * func_status.h: new header, describing the results of
17067         LyXFunc::getStatus;
17068
17069         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
17070         LFUN_MATH_HALIGN.
17071
17072 2001-06-25  The LyX Project  <jug@sad.it>
17073
17074         * buffer.C (sgmlOpenTag):
17075         (sgmlCloseTag):
17076         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
17077
17078 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17079
17080         * text2.C: remove some dead code
17081
17082         * tabular.C (GetCellInset): store the last cell checked (gotten)
17083
17084         * tabular.h: add the helper for the speedup
17085
17086         * lyxtext.h: remove some dead code
17087
17088 2001-06-26  The LyX Project  <Asger>
17089
17090         * paragraph.C: Change export to LaTeX of alignment to
17091         \begin{center} and family for better roundtrip work with reLyX.
17092
17093         * Tune the math drawing a bit.
17094
17095 2001-06-25  The LyX Project  <Asger>
17096
17097         * LColor.C (LColor): New color for math background. New color
17098         for buttons.
17099
17100 2001-06-25  The LyX Project  <jug@sad.it>
17101
17102         * lyxfunc.C (MenuNew): remove extra check for .lyx file
17103
17104         * lyxfunc.C (Open):
17105         * bufferlist.C (newFile): do not restrict to files ending with
17106         .lyx
17107
17108         * BufferView_pimpl.C (MenuInsertLyXFile):
17109
17110 2001-06-24  The LyX Project  <jug@sad.it>
17111
17112         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
17113         of compare_no_case
17114
17115 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17116
17117         * lyxtext.h: rename most methods to begin with a small char.
17118         Lots of changes because of this.
17119
17120         * paragraph.C (Paragraph): do not call fitToSize
17121         (erase): call Pimpl::erase
17122         (insertChar): call Pimpl::insertChar
17123         (insertInset): call Pipl::insertInset
17124         (breakParagraph): do not call fitToSize
17125         (breakParagraphConservative): do not call fitToSize
17126         (fitToSize): remove method
17127
17128         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
17129
17130 2001-06-24  The LyX Project  <Asger>
17131
17132         * Fix Qt compilation^2
17133
17134 2001-06-24  The LyX Project  <jug@sad.it>
17135
17136         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
17137         depthHook(getDepth()-1).
17138
17139         * paragraph.h:
17140         * ParagraphParameters.h:
17141         * ParameterStruct.h: change type of depth to unsigned int ==
17142         depth_type. Many adaptations to other files before of that.
17143
17144 2001-06-24  The LyX Project  <Asger>
17145
17146         * Fix Qt compilation.
17147
17148 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17149
17150         * paragraph.h: renamed several methods to begin with small letter.
17151         several changes to many parts of the code because of this.
17152
17153 2001-06-23  The LyX Project  <jug@sad.it>
17154
17155         * text2.C (InsertStringAsLines): renamed from InsertStringA;
17156         rewritten to discard all double spaces when KeepEmpty is off
17157         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
17158         to only handle newlines but not fiddle with spaces and friends.
17159
17160         * lyxfunc.C (MenuNew): when doing 'new from template', use
17161         template_path as default directory
17162
17163 2001-06-23  The LyX Project  <Asger>
17164
17165         * Clean-up of header file includes all over
17166         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
17167
17168 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17169
17170         * paragraph.h: renamed from lyxparagraph.h
17171
17172 2001-06-23  Asger  <lyx@violet.home.sad.it>
17173
17174         * Buffer.h: Removed Buffer::resize
17175         * BufferList.h: Removed BufferList::resize
17176         * LyXView.h: Added LyXView::resize. This way, we will only reflow
17177         the document lazily when we change the width, or the font settings.
17178
17179 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
17180
17181         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
17182
17183 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
17184
17185         * buffer.h: remove out of date comment
17186
17187 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
17188
17189         * lyxscreen.h:
17190         * screen.C: fix "theoretical" GC leak
17191
17192 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17193
17194         * LaTeX.C (scanAuxFile):
17195         (deplog): remove trailing \r when reading stream (useful under
17196         win32)
17197
17198 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
17199
17200         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
17201         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
17202         and BufferView::theLockingInset(Inset*), so should use them and not
17203         access bv_->text->the_locking_inset directly.
17204
17205         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
17206
17207 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
17208
17209         * Makefile.am:
17210         * tex-defs.h: remove old unused file
17211
17212 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
17213
17214         * BufferView_pimpl.C: fix typo, remove minibuffer message
17215           when buffer has loaded
17216
17217 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17218
17219         * lyxfunc.C (Dispatch): use stringstream
17220         (MenuNew): use stringstream
17221         (Open): use stringstream
17222
17223         * importer.C (Import): use stringstream
17224
17225         * bufferview_funcs.C (CurrentState): use stringstream
17226
17227         * LaTeX.C (run): use stringstream
17228
17229         * BufferView_pimpl.C (savePosition): use stringstream
17230         (restorePosition): use stringstream
17231         (MenuInsertLyXFile): use stringstream
17232
17233 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
17234
17235         * BufferView.C:
17236         * Bullet.C:
17237         * ColorHandler.C:
17238         * FontInfo.C:
17239         * FontLoader.C:
17240         * LColor.C:
17241         * LaTeXFeatures.C:
17242         * Painter.C:
17243         * gettext.C:
17244         * lyx_gui_misc.C:
17245         * lyxserver.C:
17246         * vspace.C: removed // -*- C++ -*- as first line.
17247
17248         * lyxfind.h:
17249         * version.h: added // -*- C++ -*- as first line.
17250
17251 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17252
17253         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
17254
17255         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
17256         of string
17257
17258 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17259
17260         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
17261         of floats.
17262
17263 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17264
17265         * gettext.C: include LString.h even when --disable-nls is on.
17266
17267 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
17268
17269         * converter.h (Get): changed argument type from int to
17270         FormatList::size_type to avoid unnecessary conversion.
17271
17272         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
17273         before using it.
17274
17275 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17276
17277         * gettext.h: include LString.h even when --disable-nls is on.
17278
17279 2001-06-07  Juergen Vigna  <jug@sad.it>
17280
17281         * text.C (BreakAgain): subst spaces with tabs.
17282
17283         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
17284         (resizeInsetsLyXText): set force on resizeLyXText.
17285
17286 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17287
17288         * gettext.h (gettext_init):
17289         (locale_init): use a real definition instead of a macro
17290
17291 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
17292
17293         * Bufferview_pimpl.C:
17294         * LColor.h:
17295         * LColor.C: further lcolor tidies
17296
17297 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17298
17299         * BufferView_pimpl.C (updateScrollbar): simplify.
17300
17301         * BufferView2.C: don't include insets/insetinfo.h, change
17302         prototype for insertInset and call the Pimpl version. let
17303         updateInset call Pimpl version.
17304
17305         * BufferView.h: move inset_slept to BufferView::Pimpl, move
17306         gotoInset to BufferView::Pimpl
17307
17308 2001-06-01  Juergen Vigna  <jug@sad.it>
17309
17310         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
17311         inside a LockingInset (is the update needed at all?).
17312
17313 2001-05-31  Juergen Vigna  <jug@sad.it>
17314
17315         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
17316         here not the old one otherwise how should we compare it afterwards
17317         if it's the same!
17318
17319 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17320
17321         * lyxfont.C:
17322         * tabular.C:
17323         * tabular-old.C:
17324         * FontInfo.C: bring C functions into global namespace when
17325         necessary
17326
17327 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17328
17329         * LString.h: make sure config.h has been loaded before LString.h.
17330
17331         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
17332         (one for each char read by EatLine!).
17333
17334         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
17335         variables.
17336
17337 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17338
17339         * paragraph.C (BreakParagraph): set the inset_owner in the new par
17340         to the same as the par we break from
17341
17342 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17343
17344         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
17345
17346         * MenuBackend.C (expand): also create menu entries for wide
17347         versions of the floats.
17348
17349         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
17350
17351         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
17352
17353         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
17354         frontends/Makefile.am
17355
17356         * text2.C: adjust
17357         * text.C: adjust
17358
17359
17360         * tabular.C (getTokenValue): add std::
17361
17362         * tabular-old.C (getTokenValue): add std::
17363         (getTokenValue): ditto
17364         (getTokenValue): ditto
17365
17366         * screen.C (ToggleSelection): adjust
17367
17368         * lyxtext.h: put selection cursors inside a Selection struct.
17369
17370         * lyxfunc.C (moveCursorUpdate): adjust
17371
17372         * lyxfont.C (latexWriteStartChanges): add std::
17373
17374         * lyxfind.C: adjust
17375
17376         * font.h: delete with(char const *, LyXFont const &)
17377
17378         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
17379
17380         * FontInfo.C (getFontname): add std::
17381
17382         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
17383         (workAreaButtonPress): adjust
17384         (tripleClick): adjust
17385         (update): adjust
17386         (moveCursorUpdate): adjust
17387         (Dispatch): adjust
17388
17389         * BufferView2.C (gotoInset): adjust
17390
17391 2001-05-30  Juergen Vigna  <jug@sad.it>
17392
17393         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
17394         to check pspell I add this as default as I now have new pspell
17395         libraries and they seem to use this.
17396
17397 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17398
17399         * text2.C (CutSelection): make the cursor valid before the call to
17400         ClearSelection.
17401
17402 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17403
17404         * kbsequence.C (parse): de-uglify a bit the parsing code, which
17405         relied on 0 terminated strings and other horrors. Bug found due to
17406         the new assert in lyxstring!
17407
17408         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
17409         KP_ keys.
17410
17411 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17412
17413         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
17414         to latinkeys.bind.
17415
17416         * lyxfunc.C (processKeySym): change method of getting to the
17417         self-insert char.
17418
17419         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
17420         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
17421         * BufferView_pimpl.[Ch]: here as private methods.
17422
17423 2001-05-28  Juergen Vigna  <jug@sad.it>
17424
17425         * text.C (SetHeightOfRow): added the update() call again as it is
17426         needed to initialize inset dimensions!
17427
17428 2001-05-16  Juergen Vigna  <jug@sad.it>
17429
17430         * text2.C (SetCharFont): Add new function with BufferView * and
17431         bool toggleall parameters for setting insets internal fonts.
17432         (SetFont): Freeze the undo as we may change fonts in Insets and
17433         all this change should be inside only one Undo!
17434
17435         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
17436         setting font's in insets as for them we have the SetFont function!
17437
17438 2001-05-15  Juergen Vigna  <jug@sad.it>
17439
17440         * text2.C (ClearSelection): to be sure we REALLY don't have any
17441         selection anymore!
17442
17443         * tabular.C (TeXCellPreamble): fixed the left border problem for
17444         multicolumn cells.
17445
17446 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
17447
17448         * LaTeX.C (deplog): Make sure that the main .tex file is in the
17449         dependancy file
17450
17451 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17452
17453         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
17454         LFUN_BREAKPARAGRAPH.
17455
17456         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
17457         help test to "internal only", similar for LFUN_INSERT_URL
17458
17459         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
17460         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
17461         auto_region_delete and deadkeys.
17462
17463 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
17464
17465         * LColor.h:
17466         * LColor.C: remove some dead entries, tidy a little
17467
17468 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17469
17470         * lyxfunc.C (processKeySym): comment the Escape handling, remove
17471         commented code.
17472         (Dispatch): implement LFUN_ESCAPE
17473
17474         * commandtags.h: add LFUN_ESCAPE
17475
17476         * LyXAction.C (init): add entry for LFUN_ESCAPE
17477
17478         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17479         Remove commented code.
17480         (insertNote): moved here
17481         (open_new_inset): moved here
17482
17483         * BufferView[2].[Ch]: move insertNote and open_new_inset to
17484         BufferView_pimpl
17485
17486 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17487
17488         * kbmap.C (findbinding): clean it up and make it work correctly.
17489
17490         * lyx_main.C (init): do not pass argc and argv as parameters
17491
17492 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
17493
17494         * buffer.C: fix path for OS/2 & Win32
17495
17496         * lyx_gui.C:
17497         * lyx_main:
17498         * lyx_main.C: Added os:: class.
17499
17500         * os2_defines.h: update
17501
17502 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17503
17504         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17505         better by trying again with reduced state.
17506
17507 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17508
17509         * lyxrc.C (read): print error about invalid key sequence only when
17510         debugging (because not all latinX keysyms are known to some X
17511         servers)
17512
17513         * kbsequence.C (getiso): add a few std:: qualifiers
17514         (getiso): comment out extra return statement.
17515
17516 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17517
17518         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17519         handling.
17520         (Dispatch): enhance the accent inset a bit. (not perfect)
17521
17522 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17523
17524         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17525
17526 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17527
17528         * bufferlist.C (emergencyWrite): fix assert() call
17529
17530 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
17531
17532         * text.C (InsertChar): Added trivial patch to only send the "you
17533         can not do multiple spaces this way" message once during a
17534         session.
17535
17536 2001-05-08  Baruch Even  <baruch@lyx.org>
17537
17538         * Makefile.am: Changed order of libraries to get LyX to link properly
17539         with the gnome frontend.
17540
17541 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17542
17543         * LaTeXFeatures.h: add a std:: qualifier
17544
17545 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17546
17547         * paragraph.C (String): use stringstream
17548
17549 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17550
17551         * paragraph.C (writeFile): remove footflag arg
17552
17553         * buffer.C (makeLaTeXFile): use stringstream
17554         (latexParagraphs): remove footnot gurba
17555
17556         * LaTeXFeatures.C (getPackages): use stringstream
17557         (getMacros): likewise
17558         (getTClassPreamble): likewise
17559         (getFloatDefinitions): new method
17560
17561         * paragraph.C (writeFile): reindent
17562         (Erase): reindent
17563
17564         * WorkArea.h: revert the xpos + etc changes.
17565
17566         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17567
17568         * lyxparagraph.[Ch]: add copy constructor, remove Clone
17569
17570         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17571         (pasteSelection): likewise
17572         * text2.C (CreateUndo): likewise
17573
17574 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17575
17576         * minibuffer.C (peek_event): temporarily reduce the functionality
17577         of the minibuffer (to allow args on lfuns)
17578
17579         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17580         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17581
17582         * buffer.C (readInset): add compability reading of old float
17583         lists, add reading of new style float list.
17584         (readInset): avoid reevaluation of inscmd.getCmdName()
17585         (getLists): reindent
17586
17587         * MenuBackend.C (MenuItem): implement parsing of
17588         md_floatlistinsert and md_floatinsert.
17589         (expand::LastFiles): move initalizaton of iterators out of loop,
17590         avoid reevaluation.
17591         (expand::Documents): introduce typdedef vector<string> Strings,
17592         and use it.
17593         (expand::ExportFormats): introduce typedef vector<Format const *>
17594         Formats, and use it.
17595         (expand): implement FloatListInsert and FloatInsert.
17596
17597         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17598         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17599         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17600
17601         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17602         handling.
17603         (Dispatch::LFUN_FLOAT_LIST): implement
17604
17605 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
17606
17607         * LaTeX.C (run): Fix problem with --export code.
17608
17609 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17610
17611         * BufferView.[Ch] (workarea): removed.
17612         (getClipboard) new method; wrapper for workarea()->getClipboard()
17613
17614         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17615         bug.
17616
17617         * WorkArea.h (width, height, xpos, ypos): These methods all
17618         returned the dimensions of the work_area sub-area of WorkArea,
17619         resulting in a position error if the WorkArea were resized. Now
17620         return the dimensions of the entire WorkArea.
17621
17622         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17623
17624 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17625
17626         * LaTeX.C (deplog): correct the syntax of regex reg1
17627
17628 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17629
17630         * undo.C: remove !NEW_INSETS cruft
17631
17632 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17633
17634         * text2.C: remove !NEW_INSETS cruft
17635
17636         * text.C: remove !NEW_INSETS cruft
17637
17638         * tabular.C: remove !NEW_INSETS cruft
17639
17640         * spellchecker.C: remove !NEW_INSETS cruft
17641
17642         * lyxtext.h: remove !NEW_INSETS cruft
17643
17644         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17645
17646         * lyxfunc.C: remove !NEW_INSETS cruft
17647
17648         * lyxfind.C: remove !NEW_INSETS cruft
17649
17650         * lyx_cb.C: remove !NEW_INSETS cruft
17651
17652         * figureForm.C: remove  !NEW_INSETS cruft
17653
17654         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17655
17656         * buffer.[Ch]: remove !NEW_INSETS cruft
17657
17658         * ToolbarDefaults.C: remove !NEW_INSETS cruft
17659
17660         * CutAndPaste.C: remove !NEW_INSETS cruft
17661
17662         * BufferView_pimpl.C: remove !NEW_INSETS cruft
17663
17664         * BufferView2.C: remove !NEW_INSETS cruft
17665
17666         * BufferView.h: remove !NEW_INSETS cruft
17667
17668 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17669
17670         * Lsstream.h: include LString.h before the sstream headers to
17671         fix problem with gcc 2.95.3 and lyxstring
17672
17673 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17674
17675         * lyx_main.C: add using directives when needed for C functions
17676         declared in std:: namespace.
17677
17678 2001-04-27  Juergen Vigna  <jug@sad.it>
17679
17680         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17681         (SetHeightOfRow): comment out the update call should not be needed!
17682
17683 2001-04-13  Juergen Vigna  <jug@sad.it>
17684
17685         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17686         (LyXTabular): tried to minimize operator= operations (and realized
17687         hopfully Lars wish).
17688
17689 2001-04-27  Juergen Vigna  <jug@sad.it>
17690
17691         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17692
17693 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17694
17695         * lyxfunc.C (Dispatch): hack to make listof algorithm work
17696
17697         * buffer.C (readInset): hack to make listof algorithm work
17698
17699         * BufferView_pimpl.C: hack to make listof algorithm work
17700
17701 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17702
17703         * LyXAction.C: removed all !NEW_INSETS cruft
17704         (init): moved lfun_item in method
17705
17706         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17707
17708 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17709
17710         * BufferView2.C (theLockingInset): white space.
17711
17712 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17713
17714         * minibuffer.C: include <iostream>
17715
17716         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17717
17718         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17719
17720         * commandtags.h: add LFUN_TRANSPOSE_CHARS
17721
17722         * text.[Ch] (TransposeChars): new method
17723
17724 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17725
17726         * call message directly through LyXView instead of through LyXFunc
17727         * BufferView2.C: adjust
17728         * BufferView_pimpl.C: adjust
17729         * FontLoader.C: adjust
17730         * buffer.C: adjust
17731         * bufferview_funcs.C: adjust
17732         * converter.C: adjust
17733         * figureForm.C: adjust
17734         * importer.C: adjust
17735         * lyx_cb.C: adjust
17736         * lyx_gui_misc.C: adjust
17737         * lyxfunc.C: adjust
17738         * lyxvc.C: adjust
17739         * text2.C: adjust
17740         + more files in subdirs
17741
17742         * lyxparagraph.h (size): move up int file
17743         (GetLayout): ditto
17744
17745         * adjust all uses of Assert to lyx::Assert.
17746
17747         * BufferView2.C (ChangeCitationsIfUnique): adjust for
17748         lyxfunctional in namespace lyx
17749         * layout.C (hasLayout): ditto
17750         (GetLayout): ditto
17751         (GetLayout): ditto
17752         (delete_layout): ditto
17753         (NumberOfClass): ditto
17754         * converter.C (GetFormat): ditto
17755         (GetNumber): ditto
17756         (Add): ditto
17757         (Delete): ditto
17758         (SetViewer): ditto
17759         * bufferlist.C (getFileNames): ditto
17760         (emergencyWriteAll): ditto
17761         (exists): ditto
17762         (getBuffer): ditto
17763         * MenuBackend.C (hasSubmenu): ditto
17764         (hasMenu): ditto
17765         (getMenu): ditto
17766         * BufferView_pimpl.C (getInsetByCode): ditto
17767
17768 2001-04-18  Juergen Vigna  <jug@sad.it>
17769
17770         * vspace.C (asLatexString): fixed the 100% problem.
17771
17772 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17773
17774         * lyxfunc.C (Dispatch):
17775         * minibuffer.C:
17776         * minibuffer.h: add a few std:: qualifiers
17777
17778 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17779
17780         * minibuffer.[Ch]: reimplement so that commands is initiated and
17781         run from lyxfunc, simplified som handling, and made the completion
17782         and history code for complete. wip.
17783
17784         * lyxfunc.C (processKeySym): call message
17785         (miniDispatch): new temporary method
17786         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17787         (LFUN_MESSAGE): implement
17788         (LFUN_MESSAGE_PUSH): implement
17789         (LFUN_MESSAGE_POP): implement
17790         (initMiniBuffer): the initial/defualt minibuffer message.
17791
17792         * lyxfont.[Ch]: inline some more getters
17793
17794         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17795
17796         * lyx_gui_misc.[Ch] (WriteStatus): remove method
17797
17798         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17799         (AutoSave): use LFUN_MESSAGE
17800         (Reconfigure): ditto
17801
17802         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17803
17804         * figureForm.C: use LFUN_MESSAGE
17805
17806         * converter.C (runLaTeX): use LFUN_MESSAGE
17807
17808         * bufferview_funcs.C: use LFUN_MESSAGE
17809         (Melt): ditto
17810         (changeDepth): ditto
17811
17812         * bufferparams.h: use boost::
17813
17814         * bufferlist.h: inherit privately from noncopyable
17815
17816         * bufferlist.C (loadLyXFile): remove some commented code.
17817
17818         * buffer.C (runChktex): use LFUN_MESSAGE
17819
17820         * ShareContainer.h: inherit privately from noncopyable
17821
17822         * ParagraphParameters.[hC] (depth): inline it.
17823
17824         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17825         methods.
17826         (message): new method
17827         (messagePush): ditto
17828         (messagePop): ditto
17829         (show): init minibuffer
17830         (showState): direct call
17831
17832         * LaTeX.[Ch]: inherit privately from noncopyable
17833         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17834         instead of WriteStatus.
17835
17836         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17837
17838         * BufferView_pimpl.C (buffer): don't init minibuffer
17839         (workAreaButtonPress): use LFUN_MESSAGE
17840         (workAreaButtonRelease): ditto
17841         (savePosition): ditto
17842         (restorePosition): ditto
17843         (MenuInsertLyXFile): ditto
17844         (workAreaExpose): don't init minibuffer
17845         (update): remove commented code, simplify
17846
17847         * BufferView2.C (openStuff): use LFUN_MESSAGE
17848         (toggleFloat): ditto
17849         (menuUndo): ditto
17850         (menuRedo): ditto
17851         (copyEnvironment): ditto
17852         (pasteEnvironment): ditto
17853         (copy): ditto
17854         (cut): ditto
17855         (paste): ditto
17856         (gotoInset): ditto
17857         (updateInset): remove some commented code
17858
17859         * lastfiles.h: inherit privately from noncopyable
17860         * layout.h: ditto
17861         * lyx_gui.h: ditto
17862         * lyx_main.h: ditto
17863         * lyxlex.h: ditto
17864         * lyxlex_pimpl.h: ditto
17865
17866         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17867         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17868         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17869
17870         * LyXAction.h: inherit privately from noncopyable, add methods
17871         func_begin, func_end, returning iterators to the func map.
17872
17873         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17874         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17875         (func_begin): new method
17876         (func_end): new method
17877
17878         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17879         and not)
17880         (copySelection): ditto
17881         (pasteSelection): ditto
17882
17883         * BufferView.C: whitespace change
17884         * BufferView.h: inherit privately from noncopyable
17885
17886 2001-04-16  Allan Rae  <rae@lyx.org>
17887
17888         * tabular-old.C (l_getline):
17889         * spellchecker.C (sc_check_word):
17890         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17891         an unrecognised preprocessor directive.  So ensure they're wrapped.
17892
17893 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
17894
17895         * src/exporter.C (Export): Give an error message when path to file
17896         contains spaces.
17897
17898 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
17899
17900         * LaTeX.C (deplog): Always check that foundfile exists.
17901
17902 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17903
17904         * lyx_main.h:
17905         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17906
17907 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17908
17909         * tabular.[Ch] (getLabelList): implement new method
17910
17911         * minibuffer.h: comment ouf setTiimer
17912
17913         * minibuffer.C (ExecutingCB): constify res
17914         (peek_event): constify s
17915         (Set): constify ntext
17916         (Init): constify nicename
17917
17918         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17919
17920         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17921         (savePosition): use two params to Minibuffer::Set
17922         (restorePosition): ditto
17923
17924 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17925
17926         * lyx_main.C: include language.h
17927
17928         * Makefile.am (lyx_main.o): add language.h
17929
17930 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17931
17932         * exporter.C:
17933         * paragraph.C:
17934         * screen.C:
17935         * tabular.C:
17936         * CutAndPaste.C: include gettext.h
17937
17938         * lyxfont.h: remove old hack with ON and OFF.
17939
17940         * lyxparagraph.h:
17941         * lyxfont.h: do not include language.h...
17942
17943         * BufferView2.C:
17944         * LaTeXFeatures.C:
17945         * Painter.C:
17946         * bufferview_funcs.C:
17947         * font.C:
17948         * lyxfont.C:
17949         * text.C:
17950         * text2.C:
17951         * trans_mgr.C:
17952         * paragraph.C: ... but do it here instead
17953
17954 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17955
17956         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17957
17958         * tabular.C: small reformat
17959
17960         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17961         NEW_INSETS version
17962         (GetChar): ditto
17963         (BreakParagraph): ditto
17964         (SetOnlyLayout): ditto
17965         (SetLayout): ditto
17966
17967         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17968         with one arg less.
17969
17970         * lastfiles.C: removed most using decl, add std:: where needed
17971
17972         * buffer.C: ws changes
17973
17974         * MenuBackend.C (class compare_format): put into anon namespace
17975         (expand): constify label, names, action, action2
17976         (expand):
17977
17978         * text.C (SingleWidth): constify font
17979         (IsBoundary): constify rtl2
17980         (GetVisibleRow): constify ww
17981
17982         * LaTeX.C (deplog): constify logfile
17983
17984         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17985         start_x, end_x
17986         (workAreaExpose): constify widthChange, heightChange
17987
17988         * lyxrow.C (par): moved
17989         (height): moved
17990         (next): moved
17991         * lyxrow.h: as inlines here
17992
17993         * lyxfont.h (shape): moved from lyxfont.C
17994         (emph): moved from lyxfont.C
17995
17996         * lyxfont.C (LyXFont): use initialization list for all
17997         constructors
17998         (shape): move to lyxfont.h as inline
17999         (emph): move to lyxfont.h as inline
18000
18001
18002 2001-04-04  Juergen Vigna  <jug@sad.it>
18003
18004         * vspace.C: had to include stdio.h for use of sscanf
18005
18006 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
18007
18008         * BufferView.h:
18009         * BufferView_pimpl.h: remove xforms cruft. Both classes are
18010         independent of xforms.
18011
18012 2001-04-02  Juergen Vigna  <jug@sad.it>
18013
18014         * spellchecker.C: fixed namespace placing!
18015
18016 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
18017
18018         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
18019         the LyXParagraph * is 0.
18020
18021 2001-03-29  Juergen Vigna  <jug@sad.it>
18022
18023         * vspace.C: added support for %, c%, p%, l%.
18024         (stringFromUnit): added helper function.
18025         (asLatexString): changed to give right results for the %-values.
18026
18027         * buffer.C: convert the widthp in a width%.
18028
18029 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
18030
18031         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
18032         figureForm.[Ch].
18033
18034         * figureForm.[Ch]: stripped the FD_from_figure manipulation
18035         code out of lux_cb.[Ch], ready for its (imminent?) removal.
18036
18037         * lyx_cb.[Ch]: see above.
18038
18039         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
18040         form1.[Ch].
18041
18042         * form1.[Ch]:
18043         * lyx.[Ch]: replaced by figure_form.[Ch].
18044
18045         * lyx_gui.C:
18046         * lyx_gui_misc.C:
18047         * lyxfunc.C: changed headers associated with above changes.
18048
18049 2001-03-27  Juergen Vigna  <jug@sad.it>
18050
18051         * BufferView_pimpl.C: set the temporary cursor right!
18052
18053 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
18054
18055         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
18056
18057 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
18058
18059         * LString.h: removed "using std::getline"!
18060
18061         * BufferView_pimpl.C (Dispatch): changes due to changes in
18062         InsetInclude::Params.
18063
18064         * buffer.C (tag_name): removed redundant break statements as they were
18065         producing lots of warnings with my compiler.
18066
18067 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18068
18069         * LString.h: add "using std::getline" when using the real <string>.
18070
18071 2001-03-23  Jos�Ab�io Matos  <jamatos@fep.up.pt>
18072
18073         * buffer.C: removed bitset usage.
18074         PAR_TAG moved to an anonymous name space.
18075         (tag_name): new funtion, also in the anonymous namespace.
18076         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
18077         (makeDocBookFile): clean code. Completed transition from string arrays
18078         to string vectors.
18079         (SimpleDocBookOnePar): code clean.
18080
18081 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18082
18083         * tabular.C: add some comments.
18084
18085 2001-03-22  Juergen Vigna  <jug@sad.it>
18086
18087         * buffer.C (parseSingleLyXformat2Token): redone the minipage
18088         compatibility read a bit and fixed bug with minipage in different
18089         depth.
18090
18091 2001-03-21  Jos�Ab�io Matos  <jamatos@fep.up.pt>
18092
18093         * buffer.C (pop_tag): removed.
18094         (push_tag): removed.
18095         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
18096         array replaced with vector. Added support for CDATA sections.
18097         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
18098         at any nest level.
18099         (makeDocBookFile): XML conformant declaration of CDATA section,
18100         fixed bug related to <emphasis> in the first paragraph char.
18101         (sgmlOpenTag): exclude empty tags.
18102         (sgmlCloseTag): ditto.
18103
18104         * buffer.h (pop_tag): removed.
18105         (push_tag): removed.
18106
18107 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
18108
18109         * language.h (Languages): added size_type and size().
18110
18111 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18112
18113         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
18114         response on compability reading of minipages. One probliem is that
18115         the old usage of minipages was flertydig
18116
18117         * several files here and in subdirs: don't use static at file
18118         scope use anon namespaces instead.
18119
18120 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
18121
18122         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
18123         LaTeX output. This is necessary for Literate document
18124         processing.
18125
18126 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18127
18128         * buffer.C: insert hfill when needed.
18129
18130         * tabular.C (l_getline): use string::erase, small whitespace change.
18131
18132         * BufferView_pimpl.C: try the anon namespace.
18133         * WorkArea.C: ditto
18134
18135 2001-03-16  Juergen Vigna  <jug@sad.it>
18136
18137         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
18138         otherwise it won't open options-dialogs.
18139
18140         * buffer.C: honor pextraWidth(p) on converting minipages.
18141
18142         * tabular.C (l_getline): changed the functions to strip trailing \r.
18143
18144 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
18145
18146         * BufferView_pimpl.C:
18147         * minibuffer..C: added "using SigC::slot" declaration.
18148
18149 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18150
18151         * lyxlex_pimpl.h: noncopyable is in namespace boost.
18152
18153         * text2.C: ditto
18154
18155         * text.C: ditto
18156
18157         * paragraph.C: ditto
18158
18159         * lyxtext.h: NO_PEXTRA
18160
18161         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
18162
18163         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
18164         * ParameterStruct.h: ditto
18165         * ParagraphParameters.h: ditto
18166         * lyxparagraph.h: ditto
18167
18168 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18169
18170         * buffer.C: add compability for minipage alignment.
18171         (latexParagraphs): remove unwanted pextra check.
18172
18173         * several files: remove CXX_WORKING_NAMESPACES
18174
18175         * buffer.C (pop_tag): tie is in namespace boost
18176
18177         * BufferView.h: noncopyable is in namespace boost
18178         * lyxlex.h: ditto
18179         * lyx_main.h: ditto
18180         * lyx_gui.h: ditto
18181         * layout.h: ditto
18182         * lastfiles.h: ditto
18183         * bufferlist.h: ditto
18184         * ShareContainer.h: ditto
18185         * LyXView.h: ditto
18186         * LyXAction.h: ditto
18187         * LaTeX.h: ditto
18188
18189 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
18190
18191         * Merging changes from BRANCH_MVC back into HEAD.
18192
18193         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
18194
18195 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
18196
18197         * BufferView_pimpl.C: change from intl.C
18198
18199         * combox.h:
18200         * combox.C:
18201         * Makefile.am: move combox.*
18202
18203         * form1.h:
18204         * form1.C:
18205         * lyx_gui.C:
18206         * intl.h:
18207         * intl.C: remove dialog (covered by prefs)
18208
18209 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
18210
18211         * lyxfunc.C (Dispatch): removed redundant break statement.
18212
18213 2001-03-14  Juergen Vigna  <jug@sad.it>
18214
18215         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
18216
18217 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18218
18219         * buffer.C: add hack to fix compability reading of minipages.
18220
18221 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
18222
18223         * buffer.C (getLists): Cleanup.
18224
18225 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18226
18227         * lyxfont.C (update): don't honor toggleall on font size.
18228
18229 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
18230
18231         * bmtable.c:
18232         * bmtable.h:
18233         * Makefile.am: moved to frontends/xforms/
18234
18235         * lyx_gui_misc.C:
18236         * lyxfunc.C:
18237         * BufferView_pimpl.C: changes for moved mathpanel
18238
18239 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
18240
18241         * gettext.h: fix gettext_init() in --disable-nls
18242
18243 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18244
18245         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
18246
18247 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
18248
18249         * lyx.C:
18250         * lyx.h: strip external form
18251
18252 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
18253
18254         * BufferView_pimpl.C: add comment, destroySplash()
18255
18256 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
18257
18258         * BufferView_pimpl.C:
18259         * LyXAction.C:
18260         * buffer.C:
18261         * commandtags.h:
18262         * lyxfunc.C: use re-worked insetinclude
18263
18264 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18265
18266         * buffer.C: add using std::stringstream.
18267
18268         * lyx_cb.C: readd using std::ios.
18269
18270         * buffer.C: add using std::map.
18271
18272         * BufferView_pimpl.C: add using std::vector.
18273
18274         * ShareContainer.h: add std:: to swap.
18275
18276         * buffer.h: add some typedefs
18277         * buffer.C (getLists): use them
18278         (getLists): renamed from getTocList.
18279         add a counter for the different float types and use it in the
18280         generated string.
18281         (getLists): use the same counter for the NEW_INSETS and the "non"
18282         NEW_INSETS
18283
18284         * lyx_cb.h: remove unused items, includes, using etc.
18285
18286         * ShareContainer.h: remove some commented code, add more comments
18287         and "documentation".
18288
18289 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18290
18291         * buffer.C (getTocList): make the list also when NEW_INSETS is
18292         defined.
18293
18294         * buffer.h: remove TocType
18295
18296         * buffer.C (getTocList): change to return a map<string,
18297         vector<TocItem> >, implement for dynamic number of list.
18298
18299         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
18300         * text2.C (PasteSelection): adjust
18301         * CutAndPaste.C (pasteSelection): adjust
18302
18303         * FloatList.C (FloatList): update from the new_insets branch.
18304         * Floating.[Ch]: ditto
18305         * LaTeXFeatures.C: ditto
18306         * buffer.C: ditto
18307         * lyxlex_pimpl.C: ditto
18308
18309         * paragraph.C (Last): remove when NEW_INSETS is defined.
18310
18311         * other file: changes because of the above.
18312
18313 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18314
18315         * lyxparagraph.h: rename next to next_, previous to previous_,
18316         make them private for NEW_INSETS. Rename Next() to next(),
18317         Previous() to previous().
18318
18319         * other files: changes because of the above.
18320
18321 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
18322
18323         * BufferView.h:
18324         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
18325         problem.
18326
18327 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18328
18329         * main.C (main): pass lyx_localedir to gettext_init().
18330
18331         * gettext.h: remove locale_init and gettext_init macros
18332
18333         * gettext.C (locale_init): new function
18334         (gettext_init): new function
18335
18336         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
18337         setlocale().
18338
18339 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
18340
18341         * Moved credits to frontends:
18342         * credits.[Ch]: removed
18343         * credits_form.[Ch]: removed
18344         * lyx_gui_misc.C: remove credits stuff
18345         * Makefile.am:
18346
18347 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18348
18349         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
18350
18351         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
18352         unneeded destructor.
18353
18354         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
18355         a standalone pointer again.
18356
18357         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
18358
18359 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
18360
18361         * Makefile.am:
18362         * filedlg.h:
18363         * filedlg.C:
18364         * LyXAction.C:
18365         * ToolbarDefaults.C:
18366         * bufferlist.C:
18367         * commandtags.h:
18368         * form1.C:
18369         * form1.h:
18370         * lyx_cb.C:
18371         * lyx_cb.h:
18372         * lyxfunc.h:
18373         * lyxfunc.C:
18374         * BufferView_pimpl.C: use new file dialog in GUII
18375
18376         * lyx_cb.h:
18377         * lyx_cb.C: remove LayoutsCB to Toolbar
18378
18379 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18380
18381         * ShareContainer.h (get): add std:: qualifier
18382
18383 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18384
18385         * ShareContainer.h: define a proper ShareContainer::value_type
18386         type (and use typename to please compaq cxx)
18387
18388 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18389
18390         * lyxparagraph.h: move serveral local vars to
18391         ParameterStruct/ParagraphParameters., use ShareContainer in
18392         FontTable., make vars in FontTable private and add getter and
18393         setter.
18394
18395         * paragraph.C: changes because of the above.
18396
18397         * lyxfont.h: remove copy constructor and copy assignment. (the
18398         default ones is ok), move number inside FontBits. move inlines to
18399         lyxfont.C
18400
18401         * lyxfont.C: add number to initializaton of statics, move several
18402         inlines here. constify several local vars. some whitespace
18403         cleanup. Dont hide outerscope variables.
18404
18405         * Spacing.h: add two new constructors to match the set methods.
18406
18407         * ShareContainer.h: new file, will perhaps be moved to support
18408
18409         * ParameterStruct.h: new file
18410
18411         * ParagraphParameters.h: new file
18412
18413         * ParagraphParameters.C: new file
18414
18415         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
18416         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
18417
18418         * BufferView_pimpl.C: ParagraphParameter changes.
18419         * buffer.C: Likewise.
18420         * bufferview_funcs.C: Likewise.
18421         * text.C: Likewise.
18422         * text2.C: Likewise.
18423
18424 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18425
18426         * lyxfind.C (LyXReplace): do not redefine default argument in
18427         implementation.
18428         (IsStringInText): ditto
18429         (SearchForward): ditto
18430         (SearchBackward): ditto
18431
18432 2001-03-06  Juergen Vigna  <jug@sad.it>
18433
18434         * lyxfind.C (IsStringInText): put parentes around expressions.
18435
18436 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
18437
18438         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
18439
18440 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
18441
18442         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
18443
18444         * stl_string_fwd.h: add comment
18445
18446         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
18447
18448         * tabular.h:
18449         * tabular.C: remove unused DocBook methods
18450
18451         * intl.C:
18452         * language.C:
18453         * paragraph.C:
18454         * buffer.C:
18455         killed DO_USE_DEFAULT_LANGUAGE
18456
18457 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18458
18459         * lyx_gui.C: do not include language.h.
18460
18461         * bufferview_funcs.C (ToggleAndShow): do not provide optional
18462         arguments in function implementation.
18463
18464 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18465
18466         * BufferView_pimpl.C: add <ctime>
18467
18468 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18469
18470         * BufferView_pimpl.C: add using std::find_if
18471
18472 2001-02-27  José Matos  <jamatos@fep.up.pt>
18473
18474         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18475         by OnlyPath.
18476
18477 2001-02-11  José Matos  <jamatos@fep.up.pt>
18478
18479         * buffer.C (makeDocBookFile): command styles now have a parameter as
18480         "title" by default.
18481
18482 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
18483
18484         * layout_forms.[Ch]: removed
18485         * lyx_cb.[Ch]: out character
18486         * lyx_gui.C: out character
18487         * lyx_gui_misc.C: out character
18488         * bufferview_funcs.C: : out character,
18489         added toggleall as parameter in ToggleAndShow
18490
18491 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
18492
18493         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18494
18495         * text2.C (SetCurrentFont): Disable number property at boundary.
18496
18497 2001-02-26  Juergen Vigna  <jug@sad.it>
18498
18499         * lyxfunc.C (getStatus): added a string argument override function so
18500         that this is correctly called from LyXFunc::Dispatch if it contains a
18501         do_not_use_argument which is used!
18502         (Dispatch): added check for "custom" export and call appropriate func.
18503
18504 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
18505
18506         * lyxrc.C: Add language_command_local, language_use_babel and
18507         language_global_options.
18508
18509         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18510
18511         * buffer.C (makeLaTeXFile): Use language_use_babel and
18512         language_global_options.
18513
18514 2001-02-23  Juergen Vigna  <jug@sad.it>
18515
18516         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18517         which works with LyXText and putted it inside BufferView. Here now we
18518         only call for that part the BufferView::Dispatch() function.
18519
18520         * BufferView.C (Dispatch): added.
18521
18522         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18523         functions which needs to use a LyXText over from LyXFunc.
18524         (MenuInsertLyXFile): added
18525         (getInsetByCode): added
18526         (moveCursorUpdate): added
18527         (static TEXT): added
18528
18529 2001-02-22  Juergen Vigna  <jug@sad.it>
18530
18531         * BufferView_pimpl.C (update): call a status update to see if LyXText
18532         needs it.
18533
18534 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18535
18536         * vc-backend.C (revert): implement for CVS
18537         (getLog): implement for CVS
18538
18539 2001-02-20  Juergen Vigna  <jug@sad.it>
18540
18541         * text2.C (ClearSelection): added BufferView param for inset_owner call
18542
18543         * lyxfunc.C (TEXT): added this function and use it instead of
18544         directly owner->view()-text of getLyXText().
18545
18546 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
18547
18548         * src/layout_forms.C: out preamble
18549         * src/layout_forms.h: out preamble
18550         * src/lyx_cb.C: out preamble
18551         * src/lyx_cb.h: out preamble
18552         * src/lyx_gui.C: out preamble
18553         * src/lyx_gui_misc.C: out preamble
18554         * src/lyxfunc.C: connect with guii preamble
18555
18556 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
18557
18558         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18559
18560 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
18561
18562         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18563         whether to run bibtex.
18564
18565 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
18566
18567         * Makefile.am (lyx_SOURCES): Remove BackStack.h
18568
18569 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
18570
18571         * Makefile.am (lyx_SOURCES): removed bibforms.h
18572
18573         * vspace.h: doxygen
18574
18575         * text.C (GetVisibleRow): make several local vars const
18576
18577         * tabular.C: small cleanup.
18578
18579         * lyxserver.C (callback): use compare instead of strncmp
18580
18581         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18582         inlines to after class or to paragraph.C
18583
18584         * lyxfont.h: remove friend operator!=
18585
18586         * converter.h: move friend bool operator< to non friend and after
18587         class def.
18588
18589         * combox.h: small cleanup
18590
18591         * buffer.h: doxygen, remove unused constructor, move inclas inlies
18592         to inlines after class def.
18593
18594         * buffer.C (pop_tag): use string operations instead of strcmp
18595
18596         * bmtable.c: doxygen, small cleanup
18597
18598         * LaTeX.h: remove friend operator==
18599
18600 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
18601
18602         * screen.C:
18603         * lyxrc.[Ch]:
18604         * lyxfunc.C:
18605         * lyxfont.[Ch]:
18606         * lyx_cb.C:
18607         * intl.[Ch]:
18608         * commandtags.h:
18609         * buffer.C:
18610         * WorkArea.[Ch]:
18611         * LyXAction.C:
18612         * BufferView_pimpl.C:
18613         * BufferView.[Ch]: remove cruft
18614
18615 2001-02-14  Juergen Vigna  <jug@sad.it>
18616
18617         * lyxfunc.C: removed #if 0 unused code
18618
18619         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18620
18621         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18622
18623         * text2.C (SetSelection): added a BufferView * parameter
18624
18625 2001-02-13  Juergen Vigna  <jug@sad.it>
18626
18627         * lyxfunc.C (Dispatch): fixed protected blank problem.
18628         * BufferView2.C (protectedBlank): added LyxText * parameter.
18629
18630         * tabular.C (AppendRow): forgot to set row_info of newly added row.
18631         (AppendColumn): same as above for column_info.
18632
18633         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18634         (moveCursorUpdate): use a LyXText param for support of InsetText.
18635
18636         * BufferView_pimpl.C (doubleClick): added support for InsetText.
18637         (tripleClick): ditto
18638
18639         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18640
18641         * BufferView_pimpl.C (update): added LyXText param to honor insets.
18642
18643         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18644
18645         * text2.C (SetSelection): set correct update status if inset_owner
18646         (ToggleFree): ditto
18647
18648 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
18649
18650         * tabular.C: remove some commented code.
18651
18652 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
18653
18654         * BufferView_pimpl.C: call hideSplash()
18655
18656         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18657
18658         * include_form.h:
18659         * bibforms.h: remove
18660
18661         * lyxfunc.C:
18662         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18663           add LFUN_CHILD_CREATE
18664
18665         * counters.h: fix tiny typo
18666
18667         * lyx_cb.C:
18668         * lyx.h:
18669         * lyx_gui.C:
18670         * lyx.C: move splash to frontends/xforms/
18671
18672         * lyx_gui_misc.C: move Include and Bibform to frontends
18673
18674         * lyxvc.h: clarify comment
18675
18676         * vspace.C: tiny housekeeping
18677
18678 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
18679
18680         * text.C (PrepareToPrint): RTL Fix.
18681
18682         * paragraph.C (GetUChar): New method.
18683         (String):  Use GetUChar.
18684
18685         * buffer.C (asciiParagraph): Use GetUChar.
18686
18687 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
18688
18689         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18690
18691 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
18692
18693         * buffer.h:
18694         * buffer.C: rename to getLogName(), handle
18695           build log / latex log nicely
18696
18697 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18698
18699         * MenuBackend.C:
18700         * MenuBackend.h: remove support for reference menuitem type.
18701
18702 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
18703
18704         * BufferView_pimpl.C: housekeeping
18705         * BufferView_pimpl.h:
18706         * LyXView.h:
18707         * Makefile.am:
18708         * Timeout.C:
18709         * Timeout.h:
18710         * minibuffer.h: move Timeout GUI-I
18711
18712 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
18713
18714         * lyxrc.C (read): Update converters data-structures.
18715
18716 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
18717
18718         * LaTeX.h (operator!=): add operator != for Aux_Info
18719
18720 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
18721
18722         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18723
18724         * LaTeXLog.C: deleted, useful code moved to Buffer
18725
18726         * buffer.h:
18727         * buffer.C: new function getLatexLogName()
18728
18729         * lyx_gui_misc.C:
18730         * lyx_gui.C:
18731         * lyxvc.C:
18732         * lyxvc.h:
18733         * lyxfunc.C: use frontends for LaTeX and VC logs
18734
18735 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18736
18737         * LaTeX.h: yet another std:: that Allan forgot.
18738
18739         * Variables.C (set): renamed from isset(), because this clashes
18740         with some HP-UX macros (grr).
18741
18742 2001-02-06  Allan Rae  <rae@lyx.org>
18743
18744         * LaTeX.h: Another bug fix.  Missing std:: this time.
18745
18746 2001-02-04  Allan Rae  <rae@lyx.org>
18747
18748         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18749         floats problem. I've left it commented out because it's not quite
18750         correct.  It should also test that the current object is a table or
18751         figure inset.  But I haven't gotten around to figuring out how to do
18752         that.  I *think* it'll be something like: "table" == inset.type()
18753
18754         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18755         bool.
18756
18757 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
18758
18759         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18760         all the citation/databases/styles in the auxilary file.
18761         (run): Rerun latex if there was a babel language error.
18762
18763 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
18764
18765         * text.C (Backspace): Preserve the font when changing newline char
18766         with a space.
18767         (BreakParagraph): If the cursor is before a space, delete the space.
18768
18769         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18770
18771 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
18772
18773         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18774         new argument (code).
18775         (ChangeCitationsIfUnique): New method.
18776
18777         * paragraph.C (GetPositionOfInset): Handle bibkey.
18778
18779 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18780
18781         * BufferView_pimpl.h: change type of Position::par_pos to
18782         LyXParagraph::size_type.
18783
18784 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
18785
18786         * BufferView_pimpl.C (savePosition, restorePosition): Write
18787         messages to minibuffer.
18788
18789 2001-01-28  José Matos  <jamatos@fep.up.pt>
18790
18791         * buffer.C (makeDocBookFile): adds support for document language.
18792         A silly restriction on the name of LatexCommand types where removed.
18793         Added support for CDATA sections, allows to chars unescaped, used
18794         among others in code, to avoid escape < and >.
18795
18796 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18797
18798         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18799         saved positions instrad of a stack. Furthermore, a position is
18800         stored using paragraph id/paragraph position.
18801
18802         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18803         Remove LFUN_REF_BACK.
18804
18805 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18806
18807         * converter.C (dvipdfm_options): New method.
18808
18809 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
18810
18811         * vspace.C (isValidLength): Fix for empty input string.
18812
18813 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18814
18815         * LyXAction.C (init): change description of LFUN_FIGURE to
18816         "Insert Graphics"
18817
18818 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18819
18820         * LaTeX.C: add using directive
18821
18822 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18823
18824         * MenuBackend.C (expand): Fix the sorting of the formats.
18825
18826 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
18827
18828         * lyx_main.C: tiny error message fix
18829
18830 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18831
18832         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18833         calling fl_initialize(). This fixes the problem with ',' as
18834         decimal separator in text files.
18835
18836 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18837
18838         * trans.C (process): Fix the keymap bug.
18839
18840 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
18841
18842         * LaTeX.C (scanAuxFiles): New method. Provides support for
18843         multiple bibliographies (when using the bibtopic/bibunits pacakges).
18844         (scanLogFile) Scan for "run BibTeX" messages.
18845
18846         * buffer.C (makeLaTeXFile): Do not load the ae package when using
18847         OT1 font encoding. Also, load the aecompl package if the ae
18848         package is loaded.
18849
18850         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18851
18852 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18853
18854         * texrow.C (increasePos): turn two error messages into debug
18855         messages.
18856
18857 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
18858
18859         * LaTeX.C (scanAux): Handle the \@input macro.
18860         (runBibTeX): Use scanAux().
18861
18862         * language.C (latex_options_): New field.
18863
18864         * LaTeXFeatures.C (getMacros): Add language macros.
18865
18866         * buffer.C (makeLaTeXFile): Small fix.
18867
18868 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18869
18870         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18871
18872         * text2.C: add a using directive.
18873
18874 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
18875
18876         * BufferView2.C:
18877         * lyx_gui_misc.h:
18878         * lyxfr1.C:
18879         * lyxfunc.C: kill LyXBell.
18880
18881 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
18882
18883         * text.C (IsBoundary): Remove the error message
18884
18885         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18886
18887         * lyxrc.C (setDefaults): Correct initialization value for
18888         font_norm_type.
18889
18890 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
18891
18892         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18893         gotoError().
18894
18895         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18896         and GotoNextNote().
18897
18898         * src/LyXAction.C: Added reference-next.
18899
18900         * text.C (InsertChar): Use contains instead of strchr.
18901
18902         * lyx_cb.C (MenuInsertLabel): Enable default value code.
18903
18904 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
18905
18906         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18907         alignment commands (when needed).
18908
18909         * text.C (InsertChar): Add ':' to number separator chars.