]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
9f9f42cc3b8b7ed889379fe58d2a612a16f948de
[lyx.git] / src / ChangeLog
1 2006-03-13  Martin Vermeer  <martin.vermeer@hut.fi>
2
3         * rowpainter.C (paintChangeBar): fix painting of change bar with
4         only paragraph break changed
5
6 2006-03-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
7
8         * lyx_cb.C (Reconfigure): run lib/configure.py, not lib/configure
9         * lyx_main.C (reconfigureUserLyXDir): run ditto
10
11 2006-03-12  Martin Vermeer  <martin.vermeer@hut.fi>
12
13         * lyxtext.h: doxygen documentation fix
14
15 2006-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
16
17         * paragraph.[Ch] (write, lookupChange, lookupChangeFull;
18         added setChangeFull):
19         * paragraph_pimpl.[Ch] (trackChanges, cleanChanges, acceptChange,
20         rejectChange, erase; added setChangeFull):
21         * CutAndPaste.C (eraseSelectionHelper):
22         * lyxtext.h:
23         * text.C (readParToken, readParagraph, breakParagraph,
24         acceptChange, rejectChange, backspace, currentState; 
25         added backspacePos0):
26         * paragraph_funcs.C (breakParagraphConservative, mergeParagraph):
27         * lyxfind.C (findChange, findNextChange): fix bug 880: Change
28         tracked paragraphs should still allow a paragraph split (and related
29         things, i.e., multi-paragraph change tracking)
30
31 2006-03-10  Martin Vermeer  <martin.vermeer@hut.fi>
32
33         * BufferView_pimpl.C: fix bug 2212: First change is skipped is
34         "Merge changes..." dialog
35
36 2006-03-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
37
38         * bufferparams.C (writeLaTeX): define \labelitemi with \def. Fixes LaTeX 
39         error if the class has not defined them yet (bug 2053).
40
41 2006-03-10  Martin Vermeer  <martin.vermeer@hut.fi>
42
43         * BufferView.[Ch]:
44         * BufferView_pimpl.[Ch]: 
45         * LyXAction.C:
46         * debug.[Ch]:
47         * rowpainter.C:
48         * text3.C: Inside-inset speedup, esp. for the Mac (bug 2195)
49
50 2006-03-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
51
52         * pch.h: fix nullstream.hpp location for boost 1.33.0
53
54 2006-03-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
55
56         * pch.h:
57         * support/pch.h:
58         * support/debugstream.h: Use the correct nullstream.
59
60 2006-02-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
61
62         * text3.C (mathDispatch): fix math inset creation from string (bug 2315)
63
64 2006-02-28  Martin Vermeer  <martin.vermeer@hut.fi>
65
66         * cursor.C (niceInsert): fix (properly) insertion of
67         fonts/decorations around selection
68
69 2006-02-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
70
71         * lyxfont.C (lyxWriteChanges): Don't write \lang latex
72
73 2006-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
74
75         * text3.C (mathDispatch): fix crash when selection is not empty
76         but selectionAsString is empty (bug 2321).
77
78 2006-02-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
79
80         * text.C (changeCase): avoid crash in empty paragraph or on last
81         word of the paragraph. (buf 2323)
82         (cursorRightOneWord): fix the logic to stop at a beginning of a word.
83
84 2006-02-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
85
86         * buffer.C (readHeader): also erase params.preamble in advance
87         so that an empty preamble is actually recognized (bug 2317).
88
89         * rowpainter.C (paintFromPos): ditch applyOuterFont (bug 2308).
90
91 2006-02-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
92
93         * text2.C (deleteEmptyParagraphMechanism): 64bit compile fix
94
95 2006-02-05  Martin Vermeer  <martin.vermeer@hut.fi>
96
97         * buffer.C:
98         * bufferparams.[Ch]:
99         * lyxtext.h:
100         * paragraph.[Ch]:
101         * paragraph_funcs.C
102         * rowpainter.C:
103         * text.C:
104         * text2.C:
105         * text3.C: Fix bug 2115: blue language lines (for default font)
106         popping up when the documnent font is different. This includes work
107         by Georg Baum.
108
109 2006-02-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
110
111         * exporter.C (Backends): Add "lyx" backend
112         * exporter.C (Export): Handle "lyx" backend
113         * graph.C (getReachable): Don't exclude "lyx"
114         * MenuBackend.C (expandFormats): exclude "lyx" from export menu
115
116 2006-02-03  Martin Vermeer  <martin.vermeer@hut.fi>
117
118         * cursor.C (bruteFind2): convert relative to absolute co-ordinates
119         for correct in-mathed positioning
120
121 2006-02-03  Martin Vermeer  <martin.vermeer@hut.fi>
122
123         * rowpainter.C (paintForeignMark): fix foreign blue line under
124         insets
125
126 2006-01-30  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
127
128         * * text2.C (deleteEmptyParagraphMechanism): fix off-by-one error of the start 
129         pit of the uno range (bug 2022).
130
131 2006-01-28  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
132
133         * messages.C (get): Only warn once if setlocale fails (bug 2177)
134
135 2006-01-28  Martin Vermeer  <martin.vermeer@hut.fi>
136
137         * text2.C (setCharFont): take inset's own font settings into account
138         when defining the font to reduce to, fixes 2019
139
140 2006-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
141
142         * bufferview_funcs.C (coordOffset): remove the check for
143         collapsed collapsables (fix for bug 2094). This is now done
144         on a more general level (cursor.C).
145
146         * dociterator.[Ch] (forwardPos): add an optional argument
147         bool "ignorecollapsed" (default false), which lets forwardPos
148         skip collapsed insets.
149
150         * cursor.C (bruteFind): use forwardPos(ignorecollapsed = true)
151         (fixes bug 2241 and 2094).
152
153 2006-01-26  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
154
155         * buffer.C: change tracking (dvipost) doesn't require
156         color.sty anymore.
157
158         * LaTeXFeatures.C (getPackages): no need for the color
159         option "usenames" (bug 2169).
160
161 2006-01-23  Helge Hafting <helge.hafting@aitel.hist.no>
162         * buffer_funcs.C: Trivial fix - added {} around
163         the statements to be affected by a if-test. Now
164         label in a minipage in a float looks ok on screen again.
165
166 2006-01-23  Martin Vermeer  <martin.vermeer@hut.fi>
167
168         * text2.C: fix bug 2015: on screen fonts in nested environments 
169         can be wrong
170
171 2006-01-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
172
173         * converter.C (convert): handle unknown formats
174
175 2006-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
176
177         * cursor.C (goUpDown): comment out some debug messages.
178
179         * counters.C (newCounter): make error messages more explicit
180         (these appear with some textclasses like beamer)
181
182 2006-01-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
183
184         * kbmap.C (defkey): 
185         * lyxfunc.C (processKeySym): make sure new FuncRequest objects
186         have origin set to KEYBOARD. (bug 2221)
187
188 2006-01-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
189
190         * rowpainter.C (isCursorOnRow): do not exclude endpos().
191
192 2006-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
193
194         * cursor.C (macroModeClose): returns true if an inset actually got
195         inserted; revert faulty fix to bug 2034.
196
197 2006-01-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
198
199         * tabular.C (getLabelList): remove (not used anymore).
200
201 2006-01-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
202
203         * outputparams.[Ch]: add new flag inComment
204
205 2006-01-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
206
207         * text2.C (deleteEmptyParagraphMechanism): since we delete a
208         paragraph, recordUndo should span two paragraphs (bug 2155).
209
210 2006-01-01  Martin Vermeer  <martin.vermeer@hut.fi>
211
212         * rowpainter.C (paintPar): always repaint the row with the
213         cursor in it
214
215 2006-01-01  Lars Gullik Bjønnes <larsbj@gullik.net>
216
217         * MenuBackend.h: 
218         * bufferlist.h: 
219         * lyxtext.h: 
220         * paragraph.h:
221         * vspace.h: fix syntax error
222
223 2005-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
224
225         * text3.C (dispatch): Force refresh if typing into inset changes its
226                               metrics
227
228 2005-12-30  Martin Vermeer  <martin.vermeer@hut.fi>
229
230         * RowList_fwd.h:
231         * paragraph.C:
232         * paragraph.h:
233         * rowpainter.C: Speed up rendering by only re-painting rows that
234         have changed. When selection or whole-screen update active, all rows
235         are repainted, as are all rows within insets.
236
237 2005-12-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
238
239         * version.C.in: Use PACKAGE_VERSION instead of VERSION
240
241 2005-12-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
242
243         * tabular.C (toggleFixedWidth): Use default layout of text class
244         instead of hardcoded "Standard"
245
246 2005-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
247
248         * lyxfunc.C (dispatch): do not call getStatus again to determine
249         whether a lfun is disabled (bug 2172).
250
251 2005-12-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
252
253         * cursor.C (macroModeClose): set the cursor inside the new math
254         atom if relevant (think \frac{}{}) (bug 2034)
255
256 2005-12-19  Martin Vermeer  <martin.vermeer@hut.fi>
257
258         * lyxtext.h:
259         * text.C:
260         * text3.C (Delete, backspace): force update when merging paragraphs
261
262 2005-12-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
263
264         * BufferView.C (mouseSetCursor): clear the selection properly (bug
265         2163). 
266
267 2005-12-08  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
268
269         * text.C (redoParagraph): honor inset->noFontChange()
270         * rowpainter.C (paintInset): ditto
271
272 2005-12-15  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
273
274         * lyx_main.C (priv_exec): don't initialize Math on startup 
275         (initMath() has been moved to math_hullinset).
276
277 2005-12-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
278
279         * lyxrc.C: set default_papersize to PAPER_DEFAULT;
280         handle PAPER_DEFAULT in LyXRC::read and LyXRC::write (bug 2148).
281         * paper.h: dispose dead PAPER_PACKAGES enum.
282
283 2005-12-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
284
285         * Makefile.am (OTHERLIBS): add SOCKET_LIBS in case we compile
286         without X support.
287
288 2005-12-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
289
290         * exporter.C (Export): Don't try to copy a file if it does not exist
291         (bug 1888)
292
293 2005-12-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
294
295         * text2.C (makeFontEntriesLayoutSpecific): remove.
296         (setLayout): adapt.
297
298         * text.C (insertChar): remove bogus caching of fonts (did not do
299         anything). 
300
301         * text2.C (LyXText): initialize current_font to ALL_INHERIT (was
302         ALL_SANE). (bug 2146)
303
304 2005-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
305
306         * rowpainter.C (paintFirst): fix centering of
307         LABEL_CENTERED_TOP_ENVIRONMENT. 
308
309 2005-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
310
311         * BufferView.C (mouseSetCursor): new method. Calls
312         deleteEmptyParagraphMechanism if necessary.
313
314         * lyxtext.h: make deleteEmptyParagraphMechanism public.
315
316         * text3.C (dispatch/LFUN_MOUSE_PRESS): use
317         BufferView::mouseSetCursor (bug 2109).
318         (dispatch/LFUN_PASTE): remove #warning that is now irrelevant.
319
320 2005-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>  
321
322         * text3.C (dispatch/LFUN_INDEX_INSERT): when a selection is set,
323         do not remove it (this inset behaves differently from the others).
324
325 2005-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
326
327         Fix bug 2096.
328         
329         * BufferView_pimpl.C (getStatus): it is only possible to insert a
330         file in a text inset.
331
332         * buffer.C (readDocument): remove pit argument and code releated
333         to it; set the inset owner correctly (unrelated, but useful).
334         (readFile): get rid of pit argument.
335
336         * CutAndPaste.C (pasteSelectionHelper): use a ParagraphList and a
337         textclass instead of a selection index.
338         (pasteParagraphList): new function.
339         (pasteSelection): make it a wrapper around pasteParagraphList.
340
341         * BufferView_pimpl.C (MenuInsertLyXFile): use
342         cap::pasteParagraphList to insert a file.
343
344 2005-11-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
345
346         * buffer_funcs.C (bufferErrors): prevent endless loop (bug 2121)
347
348 2005-11-17  Michael Gerz  <michael.gerz@teststep.org>
349
350         * exporter.C: fix typo in text message
351
352 2005-11-28  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
353
354         * text2.C (setLayout): move recUndo call to other setLayout method
355         * tabular.C (toggleFixedWidth): new, handle cell width changes
356         * tabular.C (setColumnPWidth): move some code from insettabular.C here
357         and use toggleFixedWidth
358         * tabular.C (setMColumnPWidth): ditto
359
360 2005-11-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
361
362         * paragraph.C (asString): use new inset->textString method (fix
363         bug 2089) 
364
365 2005-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
366
367         * CutAndPaste.C (numberOfSelections): new helper function.
368
369         * lyxfunc.C (getStatus): remove support for LFUN_COPY and LFUN_CUT.
370
371         * text3.C (getStatus): move code for LFUN_CUT and LFUN_COPY from
372         LyXFunc::getStatus; implement LFUN_PASTE.
373
374 2005-11-17  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
375
376         * dociterator.[Ch]: new member realInset() that returns the cell
377         for tabulars and the inset for the rest (bug 1952).
378         * undo.C (textUndoOrRedo): use realInset when resetting insetOwner
379         (bug 1952).
380
381 2005-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
382
383         * text.C (leftMargin): honor the NextNoIndent tag in layouts.
384
385 2005-11-17  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
386
387         * lyxfunc.C:
388         * paragraph.C:
389         * text3.C: InsetBase::forceDefaultParagraphs now takes a cell as
390         argument.
391
392 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
393
394         * text.C (redoParagraph): Fix bug 1966: cursor doesn't go to next
395         line after typing ctrl-enter
396
397 2005-11-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
398
399         * bufferview_funcs.C (coordOffset): fix the fix for bug 2094, as
400         math insets do not return a proper editable() state yet (bug 2124).
401
402 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
403
404         * BufferView_pimpl.[Ch]: Fix bug 1814: better scroll behaviour for 
405         docs containing very large paragraphs.
406
407 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
408
409         * cursor.C (selectionBegin, selectionEnd):
410         * text.C (drawSelection): Fix bug 2115: assertion when anchor and 
411         cursor at different depths.
412
413 2005-11-03  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
414
415         * bufferview_funcs.C (coordOffset): do not call cursorPos
416         for collapsed collapsables (fix bug 2094).
417
418 2005-11-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
419
420         * paragraph.C (fontSpan): make sure that the FontSpan does not
421         span across beginOfBody (bug 1947).
422
423 2005-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
424
425         * lyxlength.h: undefine macros that clash with solaris/x86 (bug 992)
426
427 2005-11-03  Michael Gerz  <michael.gerz@teststep.org>
428
429         * messages.C: fix crash and localization on MinGW/Windows platform
430
431 2005-11-02  Angus Leeming  <leeming@lyx.org>
432
433         * Bidi.C:
434         * lyxtextclass.C: trivial fixes to some MSVS warnings.
435
436 2005-10-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
437
438         * text3.C (getStatus): re-enable disabled code. (bug 2081)
439
440         * BranchList.h (empty): constify.
441
442 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
443
444         * text3.C (getStatus): 
445         * MenuBackend.C (expandBranches): take the branch list from the
446         master document (bug 2092).
447         
448         * MenuBackend.C (expandBranches): 
449         * bufferparams.C (writeFile): use BranchList type.
450
451 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
452
453         * text3.C (dispatch, getStatus): 
454         * LyXAction.C (init): 
455         * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
456
457 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
458
459         * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
460
461 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
462
463         * text.C (insertChar): do not reset boundary (bug 2061)
464
465 2005-10-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
466
467         * dociterator.C (updateInsets): new method. Updates the inset_
468         cache of all the slices of the iterator.
469
470         * text2.C (deleteEmptyParagraphMechanism): compare also containing
471         insets when comparing pit/pos; pass the right cursor to
472         recordUndo; when a paragraph has been deleted, compare `old.top()' to
473         the right cursor slice of `cur'; use updateInsets on cur to make
474         sure that the inset caches are correct; general cleanup.
475
476 2005-10-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
477
478         * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
479         dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
480         containg inset. If this does not work, the same command will be
481         sent to other insets down the queue by LCursor::dispatch. (bug 2066)
482
483         * lyxfunc.C (dispatch): make sure the cursor is correct when doing
484         a dispatch.
485
486 2005-10-20  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
487
488         * lyxtextclass.C (Read): convert layout file if the format is wrong
489         * lyxtextclass.C (layout2layout): new, needed for the above
490
491 2005-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
492
493         * messages.C: do not forget to include <cerrno>.
494
495 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
496
497         * dociterator.h (StableDocIterator): add access to pos().
498         * undo.C (samePar): new method to check if two
499         iterators are in the same paragraph
500         * undo.C (recordUndo): check for samePar instead of cell identity
501         (which includes pos() and is too strict) (fixes bug 2097)
502
503 2005-10-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
504
505         * text.C (setCursorFromCoordinates): return a bool telling whether
506         dEPM triggered.
507
508         * text3.C (cursorPrevious): update if needed after
509         setCursorFromCoordinates (when dEPM triggered).
510
511         * text2.C (cursorDown, cursorUp): make sure to reset the anchor
512         (otherwise the anchor may be completely wrong and make dEPM assert).
513
514 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
515
516         * buffer.C: version upgrade to 245.
517         * bufferparams.C: remove \quotes_times (bug 2090).
518         * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
519         quotation marks as default.
520
521 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
522
523         * CutAndPaste.C (nrOfParagraphs): remove (unused)
524         * CutAndPaste.C (cutSelection): Remove debug message
525         * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
526         undo information and only copy if this is a real cut
527         * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
528         call
529         * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
530         (bug 2059)
531         * CutAndPaste.C (eraseSelection): prevent cursor corruption
532         * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
533         superflous cur.selection() setting
534         * CutAndPaste.[Ch] (grabSelection): take a const cursor
535         * cursor.C (selectionAsString): implement mathed case ((bug 2059)
536
537 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
538
539         * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
540         change anything.
541
542 2005-10-11  Martin Vermeer  <martin.vermeer@hut.fi>
543
544         * BufferView_pimpl.C: comment layout change
545
546 2005-10-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
547
548         * LyXAction.C:
549         * lfuns.h:
550         * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
551         by bibliography managers (bug 2071).
552
553 2005-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
554
555         * BufferView_pimpl.C (update): choose arguments to update call so
556         that single-par update works most times
557         * text3.C (dispatch): carefully tune updating separately for
558         whole-screen and current-paragraph
559         * rowpainter.C (paintText): 1) replace painting by caching for
560         the two extra paragraphs, because we can;
561         2) suppress greying out of areas below/above drawn area in case of
562         single-par refresh
563         * lyxfunc.C (dispatch): remove superfluous update
564         * LyXAction.[Ch]: introduce SingleParUpdate
565
566 2005-10-05  Angus Leeming  <leeming@lyx.org>
567
568         * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
569         always initialised before use.
570
571         * text.C (setHeightOfRow): squash warning about comparison
572         of signed and unsigned types.
573
574 2005-10-03  Martin Vermeer  <martin.vermeer@hut.fi>
575
576         * text.C (cursorX): two fixes involving RtL text drawing
577
578 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
579
580         * cursor.C (erase): fix 'clever' UI hack. It was activated for all
581         items, not only large ones (part of bug 2057)
582
583 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
584
585         * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
586         argument, use "newcommand".
587
588 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
589
590         * cursor.C (setSelection): do not open collapsable insets;
591         the insets do by themselves now (autoopen).
592
593 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
594
595         * buffer.C: format is up to 244.
596
597 2005-09-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
598
599         * text.C (redoParagraph): fix calcultation of inset width wrt 
600         leftMargin (bug 1957).
601
602         * text3.C (dispatch): leave inset to the right when hitting ESC 
603         (bug 2034).
604
605 2005-09-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
606
607         * text2.C: 
608         * text.C: 
609         * factory.C:
610         * messages.C: include <boost/current_function.hpp> 
611
612 2005-09-12  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
613
614         * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
615         when command is internal. (bug 1941)
616
617 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
618
619         * text2.C (cursorRight): do not honor boundary when at the end of
620         a paragraph. (bug 2010 again)
621
622 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
623
624         * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
625
626 2005-09-19  Martin Vermeer  <martin.vermeer@hut.fi>
627
628         * rowpainter.C (paintText): fix RtL space width display bug (2029)
629
630 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
631
632         * text2.C (setCursor): remove the unused 'boundary' parameter for
633         the CursorSlice version; adapt the LCursor version.
634
635         * lyxrc.C (write): 
636         * paragraph_pimpl.C (markErased): 
637         * cursor.C (bruteFind2, bruteFond3): fix warnings.
638
639 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
640
641         * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
642         as is already done for "chapter".
643
644 2005-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
645
646         * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
647         textclass; do not record undo if nothing is changed.
648
649 2005-09-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
650
651         * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
652
653 2005-09-14  Michael Gerz  <michael.gerz@teststep.org>
654
655         * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
656
657 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
658
659         * BufferView_pimpl.C (setBuffer): when one wants to set the layout
660         combox, it is necessary to search for the topmost paragraph in the
661         cursor stack (bug 1926)
662
663 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
664
665         * text2.C (cursorEnd, cursorRight): do not set boundary to true at
666         end of paragraph. (bug 2010)
667
668 2005-09-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
669
670         * text.C (leftMargin): check for inInset == 0
671
672 2005-09-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
673
674         * text.C (leftMargin): test for insetbase's new neverIndent()
675         bool instead of listing each and every inset that does not
676         wish par indendation.
677
678 2005-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
679
680         * buffer_funcs.C (setCounter): put the code to compute enum label
681         here (where it belongs).
682
683         * counters.C (enumLabel): move code to buffer_funcs.C.
684
685 2005-09-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
686
687         * outputparams.[Ch]: store local_font instead of local_language
688         * paragraph.C (simpleTeXOnePar): adapt to the change above
689
690 2005-09-08  Martin Vermeer  <martin.vermeer@hut.fi>
691
692         * buffer_funcs.C:
693         * counters.[Ch]: clean up special code for Hebrew.
694
695 2005-09-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
696
697         * lyxfunc.C (lookupChange): fix code when cursor depth is greater
698         than 2.
699
700 2005-09-08  Angus Leeming  <leeming@lyx.org>
701
702         * ispell.C:
703         * lyxrc.C: correct grammar describing invocation of the
704         spellchecker.
705
706 2005-08-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
707
708         * text.C (read): remove unused variable.
709         (readParToken): remove static Change variable (never good in
710         recursive settings...); add it as a parameter instead.
711
712         * paragraph_pimpl.C (acceptChange): make debug info conditional.
713
714         * metricsinfo.C (PainterInfo): add new member erased_.
715
716         * rowpainter.C (RowPainter): add erased_ member, initialized from
717         PainterInfo. 
718         (paintInset): pass erased_ to Inset::draw.
719
720         * lyxfunc.C (lookupChange): new function. Tells whether change 
721         tracking is disabled at a given postion.
722         (getStatus): disable some actions when in deleted text with change
723         tracking. 
724
725 2005-08-03  John Levon  <levon@movementarian.org>
726         
727         * tabular.C (appendColumn, setMultiColumn): adapt to change to
728         InsetText::clear().
729
730         * paragraph_pimpl.C (markErased): add bool argument and handle it.
731         Also make sure to mark insets recursively.
732         (rejectChange, erase): be recursive
733
734         * paragraph.C (markErased): add bool argument.
735 2005-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
736
737         * lyxfind.C (findNextChange): tiny cleanup.
738
739         * BufferView_pimpl.C (trackChanges): avoid crash when stopping
740         change tracking with the cursor in an inset; make sure the first
741         change is not skipped.
742
743 2005-09-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
744
745         * CutAndPaste.[Ch]: new methods dirtyTabularStack and 
746         tabularStackDirty to work around bug 1919 (tabular needs
747         to know whether its own cell paste buffer or the one of 
748         texted is newer.
749         * CutAndPaste.C: mark tabular_stack_ clean after copy.
750
751 2005-08-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
752
753         * text2.C (cursorEnd): check for empty text (fixes bug 1998)
754
755 2005-08-19  Lars Gullik Bjønnes  <larsbj@gullik.net>
756
757         * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
758         use old deleteion algorithm when changetracking is on.
759
760 2005-08-18  Martin Vermeer  <martin.vermeer@hut.fi>
761
762         * messages.C (get): add debug output.
763
764 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
765
766         * text.C (cursorX): fix bug 1965: cursor movement at
767         line end broken in RtL.
768         (drawSelection): fix bug 1970: drawing of single-line 
769         selection broken for RtL.
770
771 2005-07-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
772
773         bug 465.
774
775         * dociterator.h (clear, push_back, pop_back): change from
776         protected to public.
777
778         * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
779         and changed to just return the value of the item depth; take a
780         ParIterator as argument; take the itemdepth at outer nesting level
781         in account if necessary; cleanup and comment the code.
782         (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
783         and changed to just return true if reset is needed; take a
784         ParIterator as argument; cleanup and comment the code.
785         (setCounter): adapt to above changes.
786
787 2005-07-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
788
789         * text3.C (dispatch): make debug message optional
790
791 2005-08-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
792
793         * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
794         inset. (bug 1963)
795
796 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
797
798         * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
799
800 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
801
802         * text.C (insertChar):
803         * text2.C (deleteEmptyParagraphMechanism): take care whether 
804         a blank has been deleted (in change tracking mode) (bug 1254).
805
806 2005-07-20  John Levon  <levon@movementarian.org>
807
808         * text2.C (insertStringAsLines): remove old dubious code,
809         fixing bug 1939.
810
811 2005-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
812
813         * MenuBackend.C (expandToc): use Floating::listName() as title of
814         the floats submenus.
815
816 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
817
818         * toc.[Ch]: Do not use translatable strings (bug 1870).
819
820 2005-07-20  John Levon  <levon@movementarian.org>
821
822         * tabular.C: fix 1748 - setting multicolumn adds
823           left line to the first cell
824
825 2005-07-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
826
827         bug 1920
828         * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
829         pars in one go.
830
831 2005-07-18  Lars Gullik Bjønnes  <larsbj@lyx.org>
832
833         * messages.C: supress some lyxerr messages
834
835 2005-07-18  Juergen Vigna  <jug@lyx.org>
836
837         * text.C (drawSelection): honor boundary when asking for cursorX.
838
839 2005-07-17  José Matos  <jamatos@fc.up.pt>
840
841         * tabular.C (recalculateMulticolumns): fix handling of one column
842         tables.
843
844 2005-07-17  Juergen Vigna  <jug@lyx.org>
845
846         * text.C (Delete, backspace): fixed so that paragraph with the
847         same layout can be merged by Delete/Backspace.
848
849 2005-07-17  Michael Schmitt  <michael.schmitt@teststep.org>
850
851         * text.C (readParToken): fix spelling.
852
853 2005-07-17  Martin Vermeer  <martin.vermeer@hut.fi>
854
855         * text2.C: fix counter update for DEPM problem reported by
856         Georg Baum
857
858 2005-07-17  Juergen Vigna  <jug@lyx.org>
859
860         * BufferView_pimpl.C (setBuffer): save/restore the
861         cursor/selection when switching buffers
862
863         * buffer.h: 
864         * buffer.C (saveCursor): add saveDocumentIterators to save the
865         cursor when switching buffer.
866
867 2005-07-17  Michael Schmitt  <michqel.schmitt@teststep.org>
868
869         * debug.C: fix typo
870         * buffer.C: clarify message
871         
872 2005-07-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
873
874         * dociterator.C (DocIterator): fix initialization order
875
876 2005-07-17  Juergen Vigna  <jug@lyx.org>
877
878         * text2.C (cursorHome): 
879         * text.C (drawSelection, cursorX): 
880         * dociterator.C (textRow): add boundary to getRow() call
881
882         * paragraph.C (getRow): implementation of below
883
884         * paragraph.h: add parameter boundary for getRow() function
885
886 2005-07-17  José Matos  <jamatos@fc.up.pt>
887
888         * buffer.C:
889         * bufferparams.[Ch]:
890         * tex-strings.[Ch]: new file format, remove support for a4.sty,
891         a4wide.sty and a4widemargins.
892
893 2005-07-17  Juergen Vigna  <jug@lyx.org>
894
895         * text2.C (cursorLeft): fix one of error
896
897 2005-07-17  Juergen Vigna  <jug@lyx.org>
898
899         * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
900                    cursorEnd):
901         more fixes for boundary handling
902
903         * text3.C (dispatch): don't reset cursor if boundary has changed
904         on cursor movement.
905
906 2005-07-16  Juergen Vigna  <jug@lyx.org>
907
908         * text2.C (getColumnNearX): hopefully got it right now,
909         check if we are on column 0 for special case.
910
911 2005-07-16  Juergen Vigna  <jug@lyx.org>
912
913         * text2.C (getColumnNearX): handle special case Newline Inset
914
915         * text.C (singleWidth): Just remove bogus check
916
917 2005-07-16  Michael Schmitt  <michael.schmitt@teststep.org>
918
919         * funcrequest.C (split): avoid reading uninitialized char c
920
921 2005-07-16  José Matos  <jamatos@fc.up.pt>
922
923         * buffer.C:
924         * converter.C:
925         * lyxrc.C:
926         * paper.h:
927         * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
928         single papersize variable.
929
930 2005-07-16  Juergen Vigna  <jug@lyx.org>
931
932         * text3.C (dispatch): honor boundary when checking if a cursor
933         movement has been done
934
935         * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown) 
936         (setCursor, setCursorIntern): fix cursor movement with boundary
937
938 2005-07-16  Juergen Vigna  <jug@lyx.org>
939
940         * text.C (currentState): output the actual Boundary
941
942 2005-07-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
943
944         * factory.C (createInset): fix bad logic for tabular creation
945
946 2005-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
947
948         * lyx_main.C (init): change some reLyX reference to tex2lyx
949
950 2005-07-16  Juergen Vigna  <jug@lyx.org>
951
952         * dociterator.C (DocIterator): initialize boundary
953
954 2005-07-16  Juergen Vigna  <jug@lyx.org>
955
956         * text2.C (getColumnNearX): Consider rows without trailing blank.  
957
958 2005-07-16  André Pönitz  <poenitz@gmx.net>
959
960         * lyxfont.h: Change order of declarations to give the compiler
961         a better chance to inline things
962
963         * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
964         questions on unsaved docs for better scritability
965
966 2005-07-16  André Pönitz  <poenitz@gmx.net>
967
968         * paragraph.h (getChar): remove asserts as the same kind of security
969         can be achieved by using a suitable standard library implementation
970         and the function was in the critical path (25.9% in profiler)
971
972 2005-07-16  Juergen Vigna  <jug@lyx.org>
973
974         * cursor.C (bruteFind2):
975         * bufferview_funcs.C (coordOffset): 
976         * text.C (cursorX,cursorY): Handle cursor position after last char
977         in row before a inset which uses a whole row.
978
979 2005-07-15  José Matos <jamatos@lyx.org>
980
981         * output_plaintext.[Ch] (writeFileAscii): control reference title
982         printing.
983         (asciiParagraph): noparbreak was already deal and was incorrectly
984         used.
985
986 2005-07-15  Juergen Vigna <jug@lyx.org>
987
988         * lyxfunc.C (dispatch): save and restore the cursor after a
989         textclass switch.
990
991 2005-07-15  Lars Gullik Bjønnes <lgb@tandberg.net>
992
993         * text.C (backspace): bug 806 for empty keepempty paragraphs we
994         change the layout to default before letting DEPM do its thing.
995
996         * paragraph_funcs.C (breakParagraph): dont reset the layout on
997         keepEmpty paragraphs
998
999         * text.C (setCursorFromCoordinates): add a debug statement
1000
1001         * text2.C (getColumnNearX): bug 1825 make sure that we don't
1002         return a pos that is not on the row
1003
1004         * output_latex.C (TeXDeeper): get rid of potential dereferencing
1005         of past the end iterator
1006
1007 2005-07-14  André Pönitz  <poenitz@gmx.net>
1008
1009         * undo.C (recordUndoFullBuffer): implement undo for
1010         textclass switches
1011
1012 2005-07-14  André Pönitz  <poenitz@gmx.net>
1013
1014         * cursor.C (setSelection): open insets when selection is set there
1015         to avoid crashs with cold coord cache
1016
1017 2005-07-14  André Pönitz  <poenitz@gmx.net>
1018
1019         * trans_mgr.C (insert): move cursor to the right after inserting
1020         a char.
1021
1022 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
1023
1024         * BufferView_pimpl.C (update): dampen some of the debug blabbering
1025         * factory.C (readInset): ditto
1026         * text.C, text2.C: ditto
1027
1028 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1029
1030         * buffer.C: format incremented to 242. There is no file format per
1031         se, but the "frenchb" language has been removed from lib/language
1032         and has to be translated to "french" by lyx2lyx.
1033
1034 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1035
1036         * cursor_slice.h, dociterator.h: add some documentation
1037         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
1038
1039 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1040
1041         * text.C (leftMargin): do not add identation to display() style
1042         insets, because they are always centered (bug 1293).
1043
1044 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1045
1046         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
1047         formatted_time methods in support/lyxtime.
1048
1049 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1050
1051         * toc.[Ch]: new method getGuiName, which is used by the frontends 
1052         to set the toc combo (fixes bug 1870). Make TOC string translatable.
1053
1054 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1055
1056         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
1057         StableDocIterator const &)
1058         * undo.C (recordUndo): use the above instead of cell.size() comparison
1059         (fixes bug 1808; instructed by Andr�.
1060
1061 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
1062
1063         * cursor_slice.h: 
1064         * dociterator.h: Fix the assert when copying rows/cols in math
1065
1066 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1067
1068         * BufferView_pimpl.C:
1069         * LyXAction.C:
1070         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
1071
1072         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
1073         (findInset): new functions, refactored from goto Inset that return 
1074         the position of a certain inset without setting the buffer's cursor
1075         (by Jean-Marc); 
1076         (gotoInset): rewrite to call findInset and then set the cursor
1077         (by Jean-Marc).
1078
1079 2005-06-16  Angus Leeming  <leeming@lyx.org>
1080
1081         * lyxrc.C (output, read): wrap all input and output of paths with
1082         calls to os::internal_path and os::external_path, respectively.
1083         (output): wrap bind_file inside quotes.
1084
1085         * format.C (view): enable the viewer to use the '$$s' placeholder.
1086
1087 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1088
1089         * LColor.[Ch] (getFromLaTeXName): new
1090
1091 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
1092
1093         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
1094
1095 2005-06-14  Angus Leeming  <leeming@lyx.org>
1096
1097         * lyx_main.C (init): ensure that the LyX binary dir is the first
1098         element in the PATH on non-POSIX builds.
1099
1100 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1101
1102         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
1103
1104 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1105
1106         * rowpainter.C (paintInset, paintHebrewComposeChar)
1107         (paintArabicComposeChar, paintChars): add a LyXFont argument.
1108         (paintChars): use getFontSpan to reduce calls to getFont to a
1109         minimum; use Paragraph::lookupChange instead of isXXXText.
1110         (paintForeignMark): rename LyXFont argument.
1111         (paintFromPos): pass a LyXFont object to the various paintXXX
1112         methods.
1113
1114         * FontIterator.C (FontIterator, operator++): use
1115         Paragraph::getFontSpan
1116
1117         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
1118         version that returns the font span as a pair.
1119
1120 2005-06-09  Angus Leeming  <leeming@lyx.org>
1121
1122         * converter.C (convert): Don't forget "outfile = real_outfile" as
1123         the final step in a conversion where the input and output file names
1124         are the same. Otherwise, future conversion steps won't work...
1125
1126 2005-06-09  Angus Leeming  <leeming@lyx.org>
1127
1128         * lyxsocket.C: remove stub code as it isn't needed by
1129         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
1130
1131 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1132
1133         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
1134         effectively disabled -x
1135
1136 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1137
1138         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
1139         when it actually makes sense.
1140
1141 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
1142
1143         * BufferView_pimpl.C: revert to showCursor in connection with
1144         Lars's front-end stack
1145
1146 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1147
1148         * text.C (redoParagraph): move cursor right after a bibitem
1149         has been inserted.
1150
1151         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
1152
1153 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1154
1155         * buffer_funcs.C (bufferErrors): fix computation of the end of an
1156         error range.
1157
1158 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
1159
1160         * BufferView.[Ch] (update):
1161         * BufferView_pimpl.[Ch] (update, metrics):
1162         * dimension.h (operator==):
1163         * lyxfunc.C (dispatch):
1164         * metricsinfo.h (ViewMetricsInfo):
1165         * rowpainter.C (paintText):
1166         * lyxtext.h:
1167         * text.C (redoParagraph):
1168         * text3.C (dispatch): Make LyX only repaint current paragraph in
1169         case of character insert --> speedup. Also fix cursor draw
1170         artifacts
1171
1172 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1173
1174         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
1175         avoid a crash (bug 1891)
1176
1177 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1178
1179         Fix bug 1892:
1180
1181         * text2.C (getStringToIndex): constify cur argument.
1182
1183         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
1184         argument has been given
1185         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
1186         try to invoke LFUN_INSET_APPLY).
1187
1188         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
1189         if no inset was created by doInsertInset
1190         (doInsertInset): return true if an inset has been inserted.
1191
1192 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1193
1194         * vspace.C (asGUIName): new method. A version of the space
1195         suitable for showing on screen.
1196
1197 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
1198
1199         * MenuBackend.C:
1200         * lyxrc.C: rename "ASCII" to "Plain Text"
1201
1202 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1203
1204         * buffer_funcs.C (expandLabel): take a Buffer as argument;
1205         translate the labelstring.
1206         (setCounter): translate labelstring as needed.
1207
1208         * output_docbook.C (makeCommand): fix expandLabel invokation
1209
1210 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
1211
1212         * BufferView.C: fix dialog title
1213
1214 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1215
1216         * lyx_main.C (priv_exec): fix logic error with help from Angus
1217         * lyx_main.C (parse_execute): set is_gui = false and remove now
1218         obsolete comment about a segfault
1219
1220 2005-05-18  Angus Leeming  <leeming@lyx.org>
1221
1222         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
1223
1224 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
1225
1226         * tabular.[hC]: added setCellInset to fix tabular paste.
1227
1228 2005-05-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1229
1230         * buffer.C (save): check if destination is writable before trying
1231         to copy a file
1232
1233 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
1234
1235         * BufferView_pimpl.C (update): fix processEvents -caused update
1236         recursion bug
1237
1238 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1239
1240         * buffer_funcs.C (setCounter): fix test for numbering of
1241         environments.
1242
1243         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
1244         depth correctly; use optional argument when it exists
1245
1246         * lyxtextclass.C: remove unused MaxCounterTags enum
1247         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
1248         (max_toclevel, min_toclevel): new methods.
1249
1250         * MenuBackend.C (expandToc2): fix case where depth is smaller than
1251         the smallest depth in toc.
1252
1253         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
1254         layouts that should not appear in a table of contents.
1255
1256 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1257
1258         * cursor.h (undispatched, noUpdate): add comments from Andr�
1259 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
1260
1261         * lfuns.h:
1262         * LyXAction.C:
1263         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
1264
1265 2005-05-07  André Pönitz  <poenitz@gmx.net>
1266
1267         * cursor.[Ch] (leaveInset): new function
1268
1269 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1270
1271         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
1272
1273 2005-05-04  Angus Leeming  <leeming@lyx.org>
1274
1275         * lyxfunc.C (getStatus): disable the spell checker dialog if
1276         none of USE_[AIP]SPELL are defined.
1277
1278 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
1279
1280         * tabular.C (setWidthOfCell): remove obsolete comment
1281
1282 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
1283
1284         * paragraph.C (bibitem):
1285         * buffer_funcs.C (setCounter):
1286         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
1287
1288 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1289
1290         * text3.C (getStatus): immediately return after setOnOff
1291
1292         * rowpainter.C: fix drawing of appendix start
1293
1294 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1295
1296         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
1297         SwitchBetweenClasses and remove the unused return value.
1298         Handle character styles, too
1299
1300 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
1301
1302         * factory.C (createInset): handle undefined character styles
1303
1304 2005-05-02  Angus Leeming  <leeming@lyx.org>
1305
1306         * buffer.C: protect the #include of utime.h with a preprocessor
1307         guard.
1308
1309 2005-05-02  Angus Leeming  <leeming@lyx.org>
1310
1311         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
1312         function so that auto-saving works, albeit in a blocking manner.
1313
1314         * Makefile.am: make compilation of the client sub directory, of
1315         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
1316         on conditionals set at configure time.
1317
1318         * SpellBase.[Ch]: no longer an abstract base class. Instead,
1319         it can be compiled in its own right but has no-op functionality.
1320
1321         * aspell.C, pspell.C: remove preprocessor guards. The files should
1322         be compiled only if the necessary functionality exists.
1323
1324         * lyxserver.C, lyxsocket.C: disable on Windows.
1325
1326 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
1327
1328         * text.C (leftMargin): Fix the parindent use bug (1764)
1329         by dirty trick
1330
1331 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
1332
1333         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
1334         argument.
1335
1336 2005-04-25  Angus Leeming  <leeming@lyx.org>
1337
1338         * Bidi.[Ch]:
1339         * coordcache.[Ch]:
1340         * ispell.C:
1341         * lyxserver.C:
1342         * mover.C:
1343         * pch.h:
1344         include <config.h> in .C files, not .h ones.
1345         add licence blurb.
1346         protect headers inside preprocessor guards.
1347
1348 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1349
1350         * FuncStatus.h (StatusCodes): document
1351
1352 2005-04-21  André Pönitz  <poenitz@gmx.net>
1353
1354         * FuncStatus.h (enabled, onoff): document
1355
1356 2005-04-19  Angus Leeming  <leeming@lyx.org>
1357
1358         * BufferView_pimpl.C (cursorToggle): no longer test whether
1359         any child processes have been reaped before calling
1360         handleCompletedProcesses().
1361
1362 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
1363
1364         * text3.C (dispatch): fix, finally fix, the language problem in
1365         new lyxtexts, without disabling on-the-fly font changes (Helge's
1366         bug report)
1367
1368 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1369
1370         * text3.C (dispatch): set cursor on double/triple click events
1371         (bug 1811)
1372
1373 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1374
1375         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
1376         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
1377
1378         * rowpainter.C (paintFirst): simplify the code a little bit. In
1379         particular, remove the test for secnumdepth.
1380         * text.C (setHeightOfRow): only allocate space for chapter number
1381         when updateCounters provided an actual label, instead of looking
1382         at secnumdepth directly.
1383
1384         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
1385
1386         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
1387         paragraphs when secnumdepth is large enough or, for environments,
1388         when they are not the first in a sequence.
1389
1390 2005-04-17  Angus Leeming  <leeming@lyx.org>
1391
1392         * buffer.C (makeLaTeXFile): replace code to manipulate a path
1393         containing space and '~' characters with a call to latex_path().
1394
1395 2005-04-17  Angus Leeming  <leeming@lyx.org>
1396
1397         * converter.C (convert): protect all args of convertDefault.sh
1398         script with quotes.
1399
1400 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1401
1402         * text3.C (dispatch): change the layout to "Caption" after inserting
1403         a float.
1404
1405 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1406
1407         * text3.C (dispatch): fix language problem in newly created
1408         textinsets (and main text) in non-english docs
1409
1410 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1411
1412         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
1413         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
1414         * text3.C (getStatus): disable LFUN_INSET_MODIFY
1415
1416 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1417
1418         * lyxtext.h:
1419         * text.C (metrics):
1420         * text2.C (getFont):
1421         * rowpainter.C (getFont): Fix metrics bug introduced by inset
1422         fonts fix
1423
1424 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1425
1426         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
1427         output of \item arguments without trailing text.
1428
1429 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1430
1431         * FontIterator.C (operator*): avoid a copy of the font.
1432
1433 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1434
1435         * rowpainter.C (getFont): fix language bug from previous fix
1436
1437 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1438
1439         * rowpainter.C (RowPainter, getFont): fix font inside inset
1440         (bugs 1766, 1809)
1441
1442 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
1443
1444         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1445         preventing inserted font, deco, delim insets jumping to start of
1446         surrounding inset.
1447
1448 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1449
1450         * lyxfunc.C (dispatch): translate message before sending it to the
1451         minibuffer.
1452
1453 2005-03-29  Angus Leeming  <leeming@lyx.org>
1454
1455         * lyx_main.C (priv_exec): call os::internal_path on each file passed
1456         to LyX on the command line.
1457
1458 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
1459
1460         * vc-backend.C: use QuoteName to protect file names wherever
1461         necessary.
1462
1463 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
1464
1465         * buffer.[Ch]:
1466         * BranchList.h: fix bugs 1844,1845: document settings don't
1467         stick
1468
1469 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1470
1471         * lyxrc.C (setDefaults, read, output, getDescription): add support
1472         for tex_allows_spaces.
1473
1474         * exporter.C (Export): allows files in directory containing spaces
1475         if tex_allows_spaces is true.
1476
1477         * buffer.C (makeLaTeXFile): if the document path contains spaces,
1478         output it in double quotes.
1479
1480 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1481
1482         * rowpainter.C: use default text height for drawing change tracker
1483         strikeout lines.
1484
1485 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1486
1487         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1488
1489 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1490
1491         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1492         directory is missing.
1493
1494 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
1495
1496         * text2.C: fixed the fix, extended to other case.
1497
1498 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
1499
1500         * text2.C: fix for cursor up/down stuck in math [bug 1792]
1501
1502 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
1503
1504         * text2.C (cursorUp): get rid of a crash
1505         * text.C (x2pos): add an assert
1506
1507 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1508
1509         * lyxfunc.C (getStatus): fix warning when assertions are disabled
1510
1511         * text3.C:
1512         * lyxfunc.C:
1513         * dociterator.C: include <boost/current_function.hpp>, which is
1514         needed when assertions are disabled.
1515
1516 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1517
1518         * text2.C: fix for stuck cursor when traversing two
1519         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1520
1521 2005-02-25  Andreas Vox  <avox@arcor.de>
1522
1523         * output_docbook.C (makeParagraph): suppress trailing newline
1524         after a run of paragraphs
1525
1526 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1527
1528         * paragraph.C: fix for confused change tracker when pasting
1529         text that begins with a lineseparator. [bug 1827]
1530         (setChange(0, Change::INSERTED);)
1531
1532         * paragraph_funcs.C: fix for lost changes on triple-paste
1533         in change tracking mode [bug 1827] (par.setChange()).
1534
1535 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1536
1537         * text2.C (updateCounters, setCounter, expandLabel): move to
1538         buffer_funcs.
1539
1540         * buffer_funcs.C (updateCounters): turn into a free standing
1541         function and add a buffer parameter. Remove dead code for tracking
1542         labelstring change.
1543         (setCounter): change into a free-standing function which gets a
1544         dociterator as argument. Use this iterator to fix captions in a
1545         simple way. When no float is found above the caption, use the
1546         labelstring of the caption layout as default.
1547
1548         * text.C (breakParagraph, backspace):
1549         * text2.C (init, setLayout, changeDepth):
1550         * text3.C (dispatch):
1551         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1552         updateCounters.
1553
1554         * dociterator.C (forwardPar): make it much faster by calling
1555         forwardPos() only when really necessary.
1556
1557         * output_docbook.C (makeCommand): adapt to expandLabel move.
1558
1559         * cursor.C: remove unused variable
1560
1561 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1562
1563         * paragraph_funcs.C: fix crash when pasting insets in change
1564         tracking mode [bug 1277] (honour change type in moveItem).
1565
1566 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1567
1568         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1569
1570 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1571
1572         * BufferView.C (setCursor): change to use a DocIterator.
1573         (gotoLabel): use BufferView::setCursor (other part of bug 781).
1574         (putSelectionAt): adapt to BufferView::setCursor change.
1575
1576         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1577         moved here from LyXText and rewritten to use proper cursor
1578         methods. Fixes bug 1787, 616 and 835.
1579
1580         * BufferView_pimpl.C (restorePosition): set the cursor correctly
1581         when inside an inset (part of bug 781).
1582         (dispatch): adapt to change of BufferView::setCursor.
1583         (getStatus, dispatch): handle LFUN_GOTOERROR,
1584         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1585
1586         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1587         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1588         * text3.C (gotoNextInset, gotoInset): removed.
1589
1590 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1591
1592         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1593
1594 2005-02-15  Angus Leeming  <leeming@lyx.org>
1595
1596         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1597         can be used meaningfully in a comparison.
1598
1599 2005-02-13  André Pönitz  <poenitz@gmx.net>
1600
1601         * bufferview_funcs.C (coordOffset): improve cursor drawing
1602
1603 2005-02-13  André Pönitz  <poenitz@gmx.net>
1604
1605         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1606         * Cursor.C (dispatch): use fixIfBroken
1607         * lyxfunc.C (getStatus): use fixIfBroken
1608
1609 2005-02-15  Angus Leeming  <leeming@lyx.org>
1610
1611         * lyx_main.C (error_handler):
1612         * lyxfunc.C:
1613         * lyxrc.C (setDefaults):
1614         s/GetEnv/getEnv/.
1615         #include "environment.h".
1616
1617         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1618
1619 2005-02-15  Angus Leeming  <leeming@lyx.org>
1620
1621         * lyxserver.C (startPipe): squash MSVC warning "local variable
1622         'fd' used without having been initialized".
1623
1624 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1625
1626         * BufferView_pimpl.C: revert accidental commit.
1627
1628 2005-02-14  André Pönitz  <poenitz@gmx.net>
1629
1630         * dociterator.[Ch]: new member forwardPosNoDescent(),
1631         which doesn't enter nested insets.
1632         * text2.C (setFont): use forwardPosNoDescent() instead
1633         of ForwardPos() (fixes crash on font change).
1634
1635 2005-02-13  Angus Leeming  <leeming@lyx.org>
1636
1637         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1638         only if lyxrc.path_prefix is not empty.
1639
1640 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1641
1642         * bufferparams.C (readGraphicsDriver): prevent crash
1643
1644 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1645
1646         * text2.C (setCounter): check for inInset() == 0
1647
1648 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1649
1650         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1651         but use update() to get correct screen display; use convert
1652         instead of istringstream.
1653         (getStatus): handle LFUN_GOTO_PARAGRAPH
1654
1655         * lyxfunc.C (dispatch, getStatus): do not handle
1656         LFUN_GOTO_PARAGRAPH here.
1657
1658 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1659
1660         * text3.C (dispatch): size() -> depth()
1661
1662         * text2.C: remove some debug output
1663
1664         * paragraph.C: ws changes only
1665
1666         * lyxfunc.C (getStatus): size() -> depth()
1667
1668         * dociterator.h (clear, push_back, pop_back, internalData,
1669         operator[], resize, empty): new functions
1670         Make StableDocIterator and operator== be friends. Don't inherit
1671         from std::vector use a privat class variable slices_ instead.
1672         Modify to fit.
1673
1674         * dociterator.C: update because of not inheriting from std::vector
1675         anymore. Call explictly to slices_ instead. Use depth() instead of
1676         size() and top() instead of back()
1677
1678         * cursor.C: chagne size() -> depth and back() -> top(). Also
1679         remove some direct operator[](i) calls in favour of foo[i]
1680         (getFont): remove some dead code
1681
1682         * bufferview_funcs.C (coordOffset): size() -> depth()
1683
1684         * buffer.C: ws changes only
1685
1686         * CutAndPaste.C (eraseSelection): back() -> top()
1687
1688         * BufferView_pimpl.C (selectionRequested): back() -> top()
1689
1690         * BufferView.C (setCursor): size() -> depth()
1691
1692 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1693
1694         * text3.C (cursorPrevious): return true if depm changed something
1695         (cursorNext): ditto
1696         (dispatch): rename sl to oldTopSlice, remove moving use the new
1697         NoUpdate func attrib instead. Make sure that needsUpdate is set
1698         for function that have NoUpdate, but where depm might have changed
1699         the buffer anyway.
1700
1701         * text2.C (cursorLeft): make us return true if depm changed
1702         something
1703         (cursorRight): ditto
1704         (cursorUpParagraph): ditto
1705         (curosrDownParagraph): ditto
1706         (cursorUp, cursorDown): ditto, make sure to read comments in code
1707         (deleteEmptyParagraphMechanism): remove an assert, also return
1708         true if just a single char was deleted.
1709
1710         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1711         cursor that we modify, to avoid modifying an active cursor before
1712         we call setCursor. This allows depm to run. Also return true if
1713         depm deleted something.
1714
1715         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1716         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1717         cursorDownParagraph, cursorPrevious and cursorNext, return true if
1718         something was changed in the buffer because of them (ie. depm run)
1719
1720         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1721         debug messages. Make update by default be false. Make sure that
1722         the result of update is retained throught several calls down to
1723         dispatch.
1724
1725         * LyXAction.h: add a new func_attrib: NoUpdate
1726
1727         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1728         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1729         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1730         and LFUN_WORDLEFT
1731         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1732
1733 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1734
1735         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1736         bv_->owner(), bv_->buffer() by direct references to the private
1737         members.
1738         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1739         (getStatus): isSavedPosition() is in BufferView::Pimpl.
1740         (fitCursor): center() is in BufferView::Pimpl.
1741         (getStatus, trackChanges, dispatch): no need for a temporary buf
1742         variable
1743         (fitCursor, workAreaDispatch): use workarea().workheight()
1744
1745 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1746
1747         * CutAndPaste.C (pasteSelectionHelper): fix a crash
1748
1749 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1750
1751         * buffer.C: format up to 241.
1752         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1753         break if pasting into ERT
1754         * lyxfunc.C (getStatus): suppress mathpanel and
1755         LFUN_DIALOG_SHOW_NEW_INSET in ERT
1756
1757 2005-02-01  Angus Leeming  <leeming@lyx.org>
1758
1759         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1760
1761 2005-02-01  Angus Leeming  <leeming@lyx.org>
1762
1763         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1764         calling fs::is_directory().
1765
1766 2005-01-31  Angus Leeming  <leeming@lyx.org>
1767
1768         * lyx_main.C (priv_exec): specify explicitly the relative location
1769         of the top level build directory when run in-place.
1770
1771 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1772
1773         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1774         LyXText containing the cursor, not the top-level one.
1775
1776         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1777         true.
1778         (insertStringAsLines): rename par to pit; use temporary variable
1779         par to hold a Paragraph; do not store par.layout() in a variable,
1780         since the pointer may die when breaking paragraphs; pass pars to
1781         breakParagraph() instead of Buffer::paragraphs().
1782
1783 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1784
1785         * lyxlex_pimpl.h: #include <fstream>.
1786
1787         * BufferView.[Ch] (getLyXText): add a const version.
1788
1789         * BufferView_pimpl.C: add debug aids.
1790
1791         * RowList_fwd.h:
1792         * buffer.h:
1793         * lyxrow.h:
1794         * paragraph_funcs.h: add commentary explaining what the class does.
1795
1796
1797         * coordcache.[Ch]: add lots of commentary.
1798         (startUpdating, doneUpdating): debug aids.
1799         (arrays, insets, parPos, getParPos): accessors to private data.
1800
1801         * cursor_slice.[Ch] (text): add a const version.
1802         * dociterator.[Ch] (text, innerText): add const versions.
1803
1804         * lyxtext.h (breakParagraph): change the keep_layout arg to a
1805         bool.
1806
1807         * paragraph.C (getRow, pos2ros): add asserts.
1808
1809         * paragraph.h: add commentary. Lots of.
1810
1811         * paragraph.[Ch] (metrucs, draw): removed.
1812
1813         * cursor.C:
1814         * rowpainter.[Ch]: const-correct changes.
1815
1816         * text.C: various obvious clean-ups. Removal of ancient cruft.
1817         Bug fixes, even.
1818
1819 2005-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
1820
1821         * vc-backend.C (find_file): rewrite to use boost.filesystem
1822         (scanMaster): ditto
1823
1824         * main.C (main): set default name check for boost.filesystem to
1825         no check
1826
1827         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1828         (open): ditto
1829         (doImport): ditto
1830         (actOnUpdatedPrefs): ditto
1831
1832         * lyx_main.C (init): rewrite to use boost.filesystem
1833         (queryUserLyXDir): ditto
1834
1835         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1836         (getContentsOfAsciiFile): ditto
1837
1838         * lastfiles.C (readFile): rewrite to use boost.filesystem
1839
1840         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1841
1842         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1843         (loadLyXFile): ditto
1844
1845         * buffer.C (Buffer): adjust for destroydir
1846         (getLogName): rewrite to use boost.filesystem
1847         (setFileName): ditto
1848         (save): use fs::copy_file (from fs_extras)
1849
1850         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1851
1852         * LaTeX.C (run): rewrite to use boost.filesystem
1853         (scanAuxFiles): ditto
1854         (handleFoundFile): ditto
1855
1856 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1857
1858         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1859
1860         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1861
1862 2005-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1863
1864         * lyxlayout.[Ch]: change some vars from float to double
1865
1866         * buffer.C (readFile): make a local var const
1867
1868         * Several files: use convert<> instead of atoi,strToXXX and friends
1869
1870 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1871
1872         * LaTeXFeatures.[Ch]: Add a static list packages_ that
1873         holds the contents of packages.lst. New functions getAvailable
1874         and isAvailable to parse and check that list, resp.
1875
1876         * LyXAction.C:
1877         * lfuns.h:
1878         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1879
1880         * bufferparams.[Ch]: new param output_changes.
1881
1882         * Buffer.C: increase file format to 240.
1883         Use output_changes and isVailable.
1884
1885         * changes.[Ch]:
1886         * paragraph.C:
1887         * paragraph_pimpl.C: Use output_changes and isVailable.
1888
1889 2005-01-23  Angus Leeming  <leeming@lyx.org>
1890
1891         * output_latex.C: #include "insetbibitem.h", rather than
1892         forward declare function bibitemWidest.
1893
1894 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
1895
1896         * lyx_main.C (init): make it compile on the Mac.
1897
1898 2005-01-20  Angus Leeming  <leeming@lyx.org>
1899
1900         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1901         (setLyXMisc): (char string literal) != (char string literal) is
1902         performing a comparison on the addresses. Convert one operand
1903         explicitly to string to guarantee expected behaviour.
1904         From MSVC warning.
1905
1906 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1907
1908         * buffer.C:
1909         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1910
1911         * output_plaintext.C: remove unneeded #include gzstream.h.
1912
1913 2005-01-20  Angus Leeming  <leeming@lyx.org>
1914
1915         * SpellBase.h: rename some of the elements of the Result enum.
1916
1917         * aspell_local.h:
1918         * ispell.h:
1919         * pspell.h:
1920         * aspell.C (check):
1921         * ispell.C (check):
1922         * pspell.C (check): ditto
1923
1924 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1925
1926         * buffer.C: add #include <fstream>.
1927
1928         * lyx_main.C (init): Compile fix.
1929
1930         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1931
1932 2005-01-20  Angus Leeming  <leeming@lyx.org>
1933
1934         * mover.h: change commentary to reflect the changed meaning of
1935         the $$s placeholder.
1936
1937 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1938
1939         * output_linuxdoc.C (linuxdocParagraphs): silence warning
1940
1941         * lyxfind.C (MatchString::operator()): remove bogus semicolon
1942
1943 2005-01-20  Angus Leeming  <leeming@lyx.org>
1944
1945         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1946         printing diagnostic data by not dereferecing an iterator past the
1947         end.
1948
1949 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1950
1951         * buffer.C (readHeader): use "&&" rather than "and".
1952
1953         * lyxserver.h (inPipeName, outPipeName): make these const.
1954
1955 2005-01-19  Angus Leeming  <leeming@lyx.org>
1956
1957         * lyx_main.C (error_handler, init): protect SIGHUP with
1958         #ifdef SIGHUP guards.
1959
1960 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1961
1962         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1963
1964 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1965
1966         * text.C (setHeightOfRow): add a margin at the top and bottom of
1967         the document (bug 1761)
1968
1969 2005-01-17  Angus Leeming  <leeming@lyx.org>
1970
1971         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1972         with "python ". Workaround for a brain-dead Windows.
1973
1974 2005-01-16  Angus Leeming  <leeming@lyx.org>
1975
1976         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1977         for MacOSX and Windows to use prependEnvPath.
1978         Strip out the hard-coded block to add elements to the PATH for
1979         MacOSX and replace it with a call to prependEnvPath using the
1980         contents of LyXRC::path_prefix.
1981         (queryUserLyXDir): strip out the code to run reconfigure, instead
1982         returning a boolean indicating the necessity to do so.
1983         (reconfigureUserLyXDir): contains the code to reconfigure the
1984         user support directory. Is now called after the various LyXRC data
1985         files have been read.
1986
1987         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1988
1989 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1990
1991         * converter.[Ch] (convert): take a new parameter try_default. Use
1992         a default converter (imagemagick) if try_default is true.
1993
1994 2005-01-13  Angus Leeming  <leeming@lyx.org>
1995
1996         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1997         os::cygwin_path_fix.
1998         (write): output LyXRC::cygwin_path_fix as necessary.
1999
2000 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
2001
2002         * lyxrc.h:
2003         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
2004
2005 2005-01-12  Angus Leeming  <leeming@lyx.org>
2006
2007         * lyx_main.C (init): set the PATH variable to include the
2008         directory containing the LyX binary when running on Mac or Windows.
2009
2010 2005-01-12  Angus Leeming  <leeming@lyx.org>
2011
2012         * lyx_main.C (init): remove cruft that purports to set the locale
2013         dir. It doesn't and is not needed anyway.
2014
2015 2005-01-10  Angus Leeming  <leeming@lyx.org>
2016
2017         * Makefile.am: remove the lyx_main.C special casing.
2018
2019         * BufferView_pimpl.C:
2020         * bufferlist.C:
2021         * exporter.C:
2022         * lyx_cb.C:
2023         * lyx_main.C:
2024         * lyxfunc.C:
2025         * messages.C: use support/package.h to provide the paths to the
2026         various directories used by LyX.
2027
2028 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2029
2030         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
2031         layout if pasting into an empty paragraph)
2032
2033 2005-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2034
2035         * tex-accent.C: add <string>
2036
2037 2005-01-06  José Matos  <jamatos@lyx.org>
2038
2039         * ParagraphParameters.C (write): put every parameter in its own line.
2040         * paragraph.C (write): reduce number of consecutive empty lines exported.
2041         * buffer.C (LYX_FORMAT): increase file format to 239.
2042
2043 2005-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2044
2045         * everywhere: change support/tostr.h -> support/convert.h
2046
2047         * tabular.C: make all write_attributes templates, tostr -> convert
2048
2049         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
2050         (emptyTag): and -> &&, and fix type for ret from getChar
2051         (getFirstWord): fix type for ret from getChar
2052         (onlyText): and -> &&
2053         (simpleDocBookOnePar): and not -> && !, fix type for ret from
2054         getChar
2055
2056         * toc.C (goTo, action):
2057         * text3.C (dispatch):
2058         * text.C (currentState):
2059         * tex-accent.C (DoAccent):
2060         * sgml.C:
2061         * lyxrc.C:
2062         * lyxfunc.C (menuNew):
2063         * lyxfinc.C (replace):
2064         * counters.C (laberItem):
2065         * bufferview_funcs.C (font2string):
2066         * bufferparams.C (writeFile):
2067         * buffer.C (readFile):
2068         * Spacing.C (set):
2069         * MenuBackend.C: tostr -> convert
2070
2071         * LaTeX.C (runMessage): fix format
2072         (scanAuxFiles): tostr -> convert
2073
2074         * BufferView_pimpl.C (savePosition): fix format
2075         (restorePosition): ditto
2076         (dispatch): ditto
2077
2078 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2079
2080         * Spacing.[Ch]: New method getValueAsString().
2081
2082         * Spacing.[Ch]:
2083         * bufferparams.C:
2084         * ParagraphParameters.C:
2085         * lyxlayout.C:
2086         * text.C:
2087         * text3.C: store/read spacing value as string.
2088
2089         * rowpainter.C: change float value (spacing_val) to double.
2090
2091         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
2092         broken custom document spacing).
2093
2094 2005-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
2095
2096         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
2097         namespace, also more use of temp references and const
2098
2099         * cursor.[Ch] (getStatus): move to lyxfunc.C
2100
2101         * bufferparams.C: reformat slightly
2102
2103         * bufferview_funcs.C (font2string): constify arg
2104
2105         * changes.C:
2106         * converter.C:
2107         * counters.C:
2108         * bufferlist.C:
2109         * buffer_funcs.C: (many funcs): constify arg on function
2110         definitions, also make more local vars const, also add ASSERTS on
2111         pointer args.
2112
2113         * buffer.C (LYX_FORMAT): put const in correct place
2114         (many funcs): constify arg on function definitions, also make
2115         more local vars const
2116
2117         * aspell_local.h: remove "struct" from typdef setup
2118
2119         * aspell.C (check): make word_ok const
2120         (nextMiss): simplify slightly
2121         (error): ditto
2122
2123 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2124
2125         * lyxrc.[Ch]: store all float values as strings.
2126         use int (not float) for lyxrc.dpi.
2127
2128 2005-01-04  Angus Leeming  <leeming@lyx.org>
2129
2130         * lyx_cb.C (Reconfigure):
2131         * lyx_main.C (queryUserLyXDir):
2132         to run the <system_lyxdir>/configure correctly on Windows, prefix
2133         the path to the script with "sh " when generating the string that
2134         is passed to system().
2135
2136 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2137
2138         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
2139
2140 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2141
2142         * lyxlength.C (asLatexString): get rid of setprecision
2143
2144 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2145
2146         * text2.C (setLayout): remove unused variable endpit.
2147         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
2148
2149         * paragraph.C (onlyText): remove unused variable style.
2150
2151         * cursor.C (bruteFind): remove unused variables beg and end.
2152
2153         * Makefile.am (dist_noinset_DATA): not needed anymore
2154
2155         * cheaders/*: remove.
2156
2157 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2158
2159         * text3.C: fix LFUN_MATH_MODE.
2160
2161 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2162
2163         * buffer_funcs.C (countWords): new function. Counts words between
2164         two iterators.
2165
2166         * BufferView_pimpl.C (getStatus, dispatch): handle
2167         LFUN_WORDS_COUNT.
2168
2169         * LyXAction.C (init):
2170         * lfuns.h: add LFUN_WORDS_COUNT.
2171
2172 2004-12-19  Angus Leeming  <leeming@lyx.org>
2173
2174         * buffer.C (save): s/slashify_path/internal_path/.
2175
2176 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2177
2178         * lyxfind.C (findChange): do not search for end of pars, because
2179         the change tracker cannot handle this (fixes bug 1719).
2180
2181 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2182
2183         * paragraph.[Ch] (autoBreakRows): remove
2184
2185         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
2186
2187         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
2188         avoid using the paragraph one
2189
2190         * text2.C (LyXText, insertStringAsLines): adjust
2191
2192 2004-12-16  Angus Leeming  <leeming@lyx.org>
2193
2194         * bufferlist.C:
2195         * lyx_main.C:
2196         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
2197
2198 2004-12-14  Angus Leeming  <leeming@lyx.org>
2199
2200         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
2201
2202         * bufferlist.C (emergencyWrite):
2203         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
2204         GetEnvPath("HOME").
2205
2206 2004-12-14  Angus Leeming  <leeming@lyx.org>
2207
2208         * main.C: (main): no longer pass pointers to os::init.
2209
2210 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
2211
2212         * undo.C (textUndoOrRedo): simplify logic, fix a crash
2213         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
2214
2215 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
2216
2217         * lyxfunc.C:
2218         * text3.C: remove selection_possible global flag
2219
2220 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
2221
2222         * text2.C (getSelectionSpan): remove
2223         (changeDepth, changeDepthAllowed): adjust
2224
2225 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
2226
2227         * Makefile.am (BOOST_LIBS): use boost variables
2228
2229 2004-12-03  José Matos  <jamatos@lyx.org>
2230
2231         * buffer.C: format up to 238.
2232
2233 2004-12-03  José Matos  <jamatos@lyx.org>
2234
2235         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
2236
2237 2004-12-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2238
2239         * cursor.C (goUpDown): remove call to idxUpDown2
2240
2241 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2242
2243         * tabular.[Ch]: use size_t-like types for cell, row and column
2244         indices
2245
2246 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2247
2248         * lyxfunc.C (getStatus): do not lose previous information when
2249         calling BufferView::getStatus; do not set a default "Command
2250         disabled" message at the beginning, but just before returning.
2251
2252 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2253
2254         * cursor.h (getStatus): add better comment from src/cursor.C
2255
2256 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2257
2258         * text3.C (getStatus): return false when the lfun is not handled
2259
2260 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2261
2262         * broken_headers.h: remove
2263
2264         * Makefile.am (lyx_SOURCES): remove broken_headers.h
2265
2266 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2267
2268         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
2269         offset_ref accessors
2270
2271         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
2272         top_y_, merge fitcursor with update
2273         (updateScrollbar, scrollDocView, fitCursor, center, update): new
2274         coord scheme
2275         (metrics): introduce
2276         (workAreaDispatch): adapt to new coord scheme
2277         (redoCurrentBuffer): remove
2278
2279         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
2280
2281         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
2282         CurStatus enum.
2283
2284         * coordcache.[Ch]: add paragraph cache and helpers
2285
2286         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
2287         adjust everywhere
2288
2289         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
2290         (targetX, setTargetX): introduce
2291
2292         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
2293         baseline -> ascent, as the rest of lyx
2294
2295         * lyxtext.h: remove redoParagraphs, updateParPositions,
2296         fullRebreak, redoParagraphInternal. move dist to anon namespace in
2297         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
2298         have ascent/descent (ascent is ascent of first par)
2299
2300         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
2301         step of BufferView
2302
2303         * paragraph.[Ch]: unify dimension handling with the rest of lyx
2304
2305         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
2306
2307         * pariterator.C: fix infinite loop introduced in par->pit renaming
2308
2309         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
2310         in insets and LyXText, draw two off-screen paragraphs using
2311         NullPainter, and adapt to new coord scheme
2312
2313         * text.C:
2314         * text2.C:
2315         * text3.C: adapt lfun handlers to the new coord scheme, which
2316         means: there's only guaranteed coord information for onscreen pars
2317         plus one above and one below. This implies that one can do search
2318         from y coordinates in the range [-1,workHeight]
2319
2320 2004-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2321
2322         * rename a lot of InsetOld to InsetBase
2323
2324 2004-11-25  Angus Leeming  <leeming@lyx.org>
2325
2326         * BufferView_pimpl.C:
2327         * lyx_cb.C:
2328         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
2329
2330 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2331
2332         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
2333         call BufferView::getStatus if LCursor::getStatus did nothing
2334         (setStatusMessage, getStatusMessage): removed.
2335
2336         * FuncStatus.C (message): new methods. Used to provide an error
2337         message indicating why a command is disabled.
2338         (clear, |=, FuncStatus): update for message.
2339
2340 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2341
2342         * lyxfunc.C (dispatch): always call sendDispatchMessage
2343
2344 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2345
2346         * BufferView.C:
2347         * BufferView_pimpl.C:
2348         * CutAndPaste.C:
2349         * FontIterator.C:
2350         * buffer.C:
2351         * cursor.C:
2352         * cursor_slice.[Ch]:
2353         * dociterator.[Ch]:
2354         * lyxfind.C:
2355         * paragraph_funcs.C:
2356         * pariterator.C:
2357         * rowpainter.C:
2358         * text.C:
2359         * text2.C:
2360         * text3.C:
2361         * undo.C: par->pit renaming
2362
2363 2004-11-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2364
2365         * tabular.C (cellstruct): use initialization, store a shared_ptr
2366         to insettext instead of the insettext directly, adjust to fit.
2367         (operator=):  new function
2368         (swap): new function
2369         (rowstruct): use initialization
2370         (columnstruct): use initialization
2371         (ltType): use initialization
2372
2373
2374         * lyxlength.h (swap): new function
2375
2376         * LColor.[Ch] (operator=): use the common semantics
2377
2378 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2379
2380         * lyxfind.C (findNextChange): update the bufferview after setting
2381         the selection.
2382
2383 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2384
2385         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
2386         number of InsetOptArgs has already been inserted.
2387
2388         * output_latex.C (latexOptArgInsets): new method. This outputs all
2389         the optarg insets, up to the limit defined in the layout file.
2390         (optArgInset): removed
2391         (TeXOnePar): call latexOptArgInsets; correctly update texrow
2392
2393 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2394
2395         * paragraph.C (isLetter): remove special spellchecker-related
2396         code; return true also for digits
2397         (isWord, isKomma): remove
2398
2399         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
2400         * lyxfind.C (MatchString()): use isLetter instead of isWord
2401
2402 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2403
2404         * pariterator.h (operatir=): comment out un-implemented member
2405         function.
2406
2407         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
2408         static cast.
2409
2410 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2411
2412         * lyxfont.h: include LColor.h to satisfy concept checks.
2413
2414 2004-11-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2415
2416         * pariterator.h: add typdefs for value_type, difference_type,
2417         pointer and reference to satisfy concept checks. Also add default
2418         constructor for same reason.
2419
2420         * pariterator.C (operator++): add post-increment operator to
2421         satisfy concept checks.
2422
2423         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
2424         checks.
2425
2426         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
2427
2428         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
2429         checks. Also rename base_type to BaseType to follow naming
2430         standard better.
2431
2432         * FloatList.h: include Floating.h to satisfy concept checks.
2433
2434 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2435
2436         * lyxfunc.C (getStatus): when the origin of the request is menu or
2437         toolbar, and the LyXView does not have focus, do as if there was
2438         no buffer (bug 1720)
2439
2440         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2441         FuncRequest to individual entries of LFUN_SEQUENCE
2442
2443 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2444
2445         * output_latex.C (TeXOnePar): override runparams.moving_arg
2446         according to the needprotect value of the current paragraph (bug
2447         1739)
2448
2449         * paragraph.C (simpleTeXOnePar): no need to override
2450         runparams.moving_args here
2451
2452 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
2453
2454         * vspace.C: fix off-by-one-error, related to fix #1682
2455
2456 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2457
2458         * lengthcommon.C: a more general fix for bug 1682
2459
2460 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2461
2462         * text.C (backspace): fix crash
2463
2464 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2465
2466         * format.[Ch] (getFormatFromFile): new method
2467         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2468
2469 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2470
2471         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2472
2473 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2474
2475         * lyxfunc.C (dispatch): remove the verbose argument
2476         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2477         instead
2478
2479         * kbmap.C (defkey): set the origin of func to KEYBOARD
2480
2481         * MenuBackend.C (MenuItem):
2482         * ToolbarBackend.C (add): set the origin of func to UI
2483
2484         * funcrequest.[Ch]: add origin member, which indicates which part
2485         of LyX requests an action
2486
2487 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2488
2489         * converter.C (move): don't lie in the error message
2490         * converter.h (isReachable, move): document
2491
2492 2004-11-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2493
2494         * buffer.C: remove unused using lyx::support::atoi
2495         * paragraph_funcs.C: ditto
2496
2497 2004-11-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2498
2499         * bufferlist.C (exists): use bind and equal_to instead of
2500         compare_memfun
2501         (getBuffer): ditto
2502         * lyxtextclasslist.C (NumberOfClass): ditto
2503
2504         * cursor.C (insert): use for_each instead of explicit for loop
2505
2506         * bufferlist.C (getFileNames): use std::transform and
2507         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2508
2509         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2510         for loop
2511
2512         * buffer.C (changeLanguage): use for_each instead of explicit for
2513         loop
2514         (hasParWithID): implement using getParFromID
2515
2516         * LaTeXFeatures.C: ws change only
2517
2518         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2519         to cleanup a bit.
2520
2521         * BufferView_pimpl.C (trackChanges): use for_each instead of
2522         expilicit for loop
2523
2524 2004-11-04  André Pönitz  <poenitz@gmx.net>
2525
2526         * undo.h:
2527         * undo.C (textUndoOrRedo): fix crash when creating undo information.
2528
2529         * dociterator.C (asDocIterator): use hard assert again.
2530
2531 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2532
2533         * lyxlength.C (asLatexString): rewrite so that it does not use
2534         snprintf anymore
2535
2536 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2537
2538         * text3.C (specialChar, dispatch): make sure cursor moves to the
2539         right after inserting an inset
2540
2541 2004-11-02  José Matos  <jamatos@lyx.org>
2542
2543         * output_docbook.C (docbook):
2544         * paragraph.C (getID):
2545         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2546         garantee that the output is always legal.
2547
2548         * tabular.C (docbook):
2549         * outputprams.[Ch]: remove mixed contents.
2550
2551 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2552
2553         * text2.C (setCounter): prevent endless loop
2554
2555 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2556
2557         * exporter.C (copyFile): use the mover instead of support::copy()
2558         * exporter.C (Export): pass format and latex name to copyFile()
2559         * exporter.h (addExternalFile): document
2560         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2561
2562 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2563
2564         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2565
2566 2004-10-30  José Matos  <jamatos@lyx.org>
2567
2568         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2569         text and no inset or font change. This allows to use CDATA
2570         sections just for the whole paragraph.
2571
2572 2004-10-30  José Matos  <jamatos@lyx.org>
2573
2574         * paragraph.C (getFirstWord): remove unused variable.
2575
2576 2004-10-30  José Matos  <jamatos@lyx.org>
2577
2578         * paragraph.C (getFirstWord): the content should always be escaped
2579         there.
2580         (simpleDocBookOnePar):
2581         * output_docbook.C (makeEnvironment): replace reference to CDATA
2582         to style pass_thru.
2583
2584 2004-10-30  José Matos  <jamatos@lyx.org>
2585
2586         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2587
2588 2004-10-30  José Matos  <jamatos@lyx.org>
2589
2590         * output_docbook.C (makeParagraphs):
2591         * paragraph.[Ch] (emptyTag): for docbook and company, if the
2592         standard paragraph has only a given type of content drop the wrapper.
2593
2594 2004-10-29  José Matos  <jamatos@lyx.org>
2595
2596         * output_docbook.C (makeEnvironment):
2597         * sgml.C (openTag):
2598         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2599
2600 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
2601
2602         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2603         (cleanID): sanitize any id.
2604
2605 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2606
2607         * buffer.C, lyxlex_pimpl.C:
2608         * lyxlex_pimpl.C (setFile):
2609         s/getExtFromContents/getFormatFromContents/
2610
2611 2004-10-28  José Matos  <jamatos@lyx.org>
2612
2613         * output_docbook.C (makeEnvironment): move id to broadest possible
2614         scope.
2615
2616         * sgml.C (openTag): apply substitution of <> for all attributes.
2617
2618 2004-10-28  José Matos  <jamatos@lyx.org>
2619
2620         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2621         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2622         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2623
2624         * sgml.[Ch]: new version for open and closeTag for paragraph and
2625         for strings. Now they handle the ids of paragraphs.
2626
2627 2004-10-26  Angus Leeming  <leeming@lyx.org>
2628
2629         * Makefile.am: add mover.[Ch].
2630
2631         * converter.C (convert, move): use the new Movers to move external
2632         files to the temp directory.
2633
2634         * lyx_main.C (init): ensure that the global system_movers data
2635         is initialised.
2636
2637         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2638         preferences file.
2639
2640         * mover.[Ch]: new files, defining a Mover as a utility to move an
2641         external file between directories and, if necessary, manipulate this
2642         file using a helper script.
2643
2644 2004-10-25  José Matos  <jamatos@lyx.org>
2645
2646         * output_docbook.C (makeCommand): merge two if's that tested the
2647         same condition.
2648
2649 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2650
2651         * sgml.C (escapeString): fix warning in a better way
2652
2653 2004-10-25  José Matos  <jamatos@lyx.org>
2654
2655         * sgml.C (escapeString): import the require boosts header file for
2656         tie, and avoid a signed unsigned comparison.
2657
2658 2004-10-25  José Matos  <jamatos@lyx.org>
2659
2660         * sgml.h: add #include <string>
2661
2662 2004-10-25  José Matos  <jamatos@lyx.org>
2663
2664         * sgml.[Ch] (escapeString): new function to escape all the string.
2665
2666 2004-10-24  José Matos  <jamatos@lyx.org>
2667
2668         * paragraph.[Ch] (getFirstWord): new function to get the first
2669         word. Useful for description.
2670         (simpleDocBookOnePar): remove depth argument, add another that
2671         says where to start the paragraph.
2672
2673         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2674         use the new functions to fix cleanly the support for descriptions.
2675
2676 2004-10-24  José Matos  <jamatos@lyx.org>
2677
2678         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2679         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2680         * output_linuxdoc.C (linuxdocParagraphs):
2681         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2682         add buffer as argument.
2683
2684 2004-10-24  José Matos  <jamatos@lyx.org>
2685
2686         * output_docbook.C (makeEnvironment, searchEnvironment): place
2687         CDATA inside paragraphs and fix scope for listitems.
2688
2689 2004-10-24  José Matos  <jamatos@lyx.org>
2690
2691         * output_docbook.C: remove using statement for stack.
2692
2693 2004-10-23  José Matos  <jamatos@lyx.org>
2694
2695         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2696         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2697         docbook. The new scheme is recursive and makes use of iterators, the
2698         same as latex export works.
2699         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2700         directly with the paragraph contents. This code was moved up to
2701         output_docbook.C (docbookParagraphs).
2702         * sgml.C (openTag, closeTag): removed unneeded newlines.
2703         (closeEnvTags) removed.
2704
2705 2004-10-23  André Pönitz  <poenitz@gmx.net>
2706
2707         * undo.C (textUndoOrRedo):
2708         * dociterator.C (asDocIterator): work around crash
2709
2710         * cursor.C (getStatus): replace ASSERT by more verbose error message
2711           and manual correction of the problem. Should increase stability
2712           while providing more sensible information.
2713
2714 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2715
2716         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2717
2718         * bufferlist.C (previous, next): new methods
2719
2720         * lfuns.h:
2721         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2722
2723 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
2724
2725         * buffer.C (makeDocBookFile): add dsssl stylesheet control
2726         entities to preamble.
2727
2728 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2729
2730         * messages.C (Pimpl): strip off translation context information
2731
2732 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2733
2734         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2735         the cursor is correct (bug 1694)
2736
2737 2004-10-13  José Matos  <jamatos@lyx.org>
2738
2739         * output_docbook.C (docbookParagraphs): fix closing tags in the
2740         end of the document.
2741
2742 2004-10-09  José Matos  <jamatos@lyx.org>
2743
2744         * buffer.C: format up to 237.
2745         * bufferparams.C (write): use tostr to convert booleans to strings.
2746
2747 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
2748
2749         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2750
2751 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
2752
2753         * LaTeX.C: implement use of babel language in xindy.
2754
2755 2004-10-05  José Matos  <jamatos@lyx.org>
2756
2757         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2758         Add new translators to help reading and writing the lyx file.
2759
2760 2004-10-05  José Matos  <jamatos@lyx.org>
2761
2762         * ParagraphParameters.C (read):
2763         * text.C (readParToken): replace nexToken by more appropriate lex
2764         methods.
2765
2766 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
2767
2768         * LaTeX.C (runMakeIndex):
2769         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2770         (usually 'makeindex') configurable.
2771
2772         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2773         with a variable rather than with a number.
2774
2775 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2776
2777         * output_latex.C (TeXOnePar): make sure font setting is the first
2778         thing that gets output (and the last at the end). Should fix bug
2779         1404.
2780
2781 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2782
2783         * pch.h: use proper signal include
2784
2785         * LaTeX.h: Use preferred calling of Boost.Signal
2786         * buffer.h: ditto
2787
2788 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2789
2790         * pch.h: dont include <boost/function/function0.hpp>
2791
2792         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2793
2794         * paragraph_pimpl.h: remove usage of ShareContainer
2795
2796         * paragraph_pimpl.C: remove initialization of ShareContainer.
2797
2798 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2799
2800         Fix bug #1666
2801
2802         * BufferView.C (putSelectionAt): change the semantics when
2803         backwards == true: now, this just swaps cursor and anchor wrt the
2804         forward case
2805
2806         * BufferView.h (putSelectionAt): add some documentation
2807
2808         * lyxfind.C (findBackwards): rewrite using while(). In particular,
2809         make sure backwardChar is done at least once (to avoid getting
2810         stuck)
2811         (findNextChange): use putSelectionAt in the forward direction
2812         (operator()): use Paragraph::isWord
2813
2814 2004-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2815
2816         * Spacing.C (set): c_str fix
2817
2818 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2819
2820         * lyx_cb.C (Reconfigure): quote the name of configure script in
2821         case it contains spaces
2822
2823 2004-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2824
2825         * client: new dir
2826
2827         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2828         (BOOST_LIBS): use top_buildir when looking for the file
2829
2830 2004-08-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2831
2832         * pch.h: do not use include boost/format.hpp, multiple symbols
2833                 will result (gcc bug)
2834
2835
2836 2004-08-23  José Matos  <jamatos@lyx.org>
2837
2838         * bufferparams.C (readToken): fix reading of the author field.
2839
2840 2004-08-20  José Matos  <jamatos@lyx.org>
2841
2842         * lyxrc.C: remove support/translator.h inclusion since it is not used.
2843
2844 2004-08-20  José Matos  <jamatos@lyx.org>
2845
2846         * lyxlex.[Ch] (findToken): remove function.
2847
2848         * ParagraphParameters.C (findToken):
2849         * bufferparams.C (findToken): replace call for previous function
2850         with local copy. This local function has one more argument, the
2851         read string argument.
2852
2853 2004-08-16  José Matos  <jamatos@lyx.org>
2854
2855         * ParagraphParameters.C (write):
2856         * Spacing.C (writeFile):
2857         * bufferparams.C (writeLaTeX):
2858         * lyx_cb.C (Reconfigure):
2859         * paragraph.C (write):
2860         * tabular.C (write): remove unnecessary space at end of line.
2861
2862
2863 2004-08-16  José Matos  <jamatos@lyx.org>
2864
2865         * text.C (readParagraph): remove debug message.
2866
2867 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2868
2869         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2870         crash
2871
2872         * output_plaintext.C (asciiParagraph): set depth correctly
2873
2874         * outputparams.h: add member depth
2875
2876         * paragraph_funcs.C (ownerPar): remove.
2877
2878         * text2.C (setCounter): remove first_pit; comment out some
2879         non-working code that uses ownerPar
2880
2881         * BufferView.C (getParentLanguage): remove. Not used anymore, and
2882         uses ownerPar
2883
2884 2004-08-16  José Matos  <jamatos@lyx.org>
2885
2886         * text.C (readParToken, readParagraph, read): report all unknown tokens.
2887         For the same level of importance use the same chanel to report problems.
2888         (read): add code to deal with \begin_body and \end_body.
2889
2890
2891 2004-08-15  José Matos  <jamatos@lyx.org>
2892
2893         * lyxlex.C (getString): fix comment, buffer::readBody is now
2894         buffer:readDocument.
2895
2896         * tex-strings.C (string_papersize): Default -> default,
2897         Custom -> custom, for consistency with other options.
2898
2899 2004-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2900
2901         * pch.h: new file
2902
2903         * Makefile.am: support pch
2904
2905 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2906
2907         * text.C (readParToken): remove the static LyXFont variable and
2908         pass it as a parameter instead. This fixes a nasty bug where an
2909         inset will be inserted with a bad font in some situations
2910         (readParagraph): adapt
2911
2912         * text2.C (setCounter): reduce number of calls to pars_[pit]
2913
2914         * text.C (singleWidth): add an assert, fix a test
2915
2916         * rowpainter.C (paintText): reduce number of calls to singleWidth
2917
2918         * paragraph.C (isHfill):
2919         (isNewline): ws only
2920
2921 2004-08-14  André Pönitz  <poenitz@gmx.net>
2922
2923         * text.C:
2924         * text2.C:
2925         * rowpainter.C:
2926         * lyxtext.h (several functions): use a Paragraph & argument
2927         instead of par_type
2928
2929 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2930
2931         * metricsinfo.h: add a new field ltr_pos to PainterInfo
2932
2933         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2934
2935         * text.C (singleWidth): remove useless test
2936
2937 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2938
2939         * tabular.h: remove bogus comments
2940
2941         * tabular.C (getDescentOfRow):
2942         (isPartOfMultiColumn): add assertions
2943
2944         * lyxlength.C (inPixels): remove #warning
2945
2946 2004-08-14  André Pönitz  <poenitz@gmx.net>
2947
2948         * paragraph.h: inline getChar()
2949
2950         * BufferView.h: remove unused declarations
2951
2952 2004-08-14  José Matos  <jamatos@lyx.org>
2953
2954         * Buffer.[Ch] (readDocument): new name for old readBody.
2955         * Buffer.C: new file format, new keywords: \begin_document,
2956         \begin_header, \begin_body, \end_body.
2957
2958         * bufferparams.C (readToken): replace all calls to lex.nextToken
2959         by lex.next(). Do the same to eatLine except where really needed.
2960
2961         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2962         line when writing to the lyx file.
2963
2964         * output_plaintext.C (asciiParagraph): fix Bibliography style
2965         handling.
2966
2967         * text.C (read): fix end of file handling.
2968
2969 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2970
2971         * MenuBackend.C (Menu::operator[]): new method to access
2972         individual menu items
2973         (Menu::hasFunc): new method. search for an item that corresponds
2974         to a given func
2975         (MenuBackend::specialMenu): new method
2976         (MenuBackend::expand): if a special menu has been set, skip
2977         entries whose func() appears in this menu
2978
2979 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2980
2981         * text3.C: use Debug::DEBUG a bit more
2982
2983         * text.C (leftMargin): try to simplify a tiny bit change var x to
2984         l_margin. Dont output the wide margins always.
2985         (rightMargin): no margin in inner texts
2986
2987         * rowpainter.h (nestMargin): new func
2988         (changebarMargin): new func
2989         (rightMargin): new func
2990
2991         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2992         now functions.
2993         (paintLast): ditto
2994
2995         * factory.C (createInset): modify setDrawFrame
2996
2997         * cursor.C: use Debug::DEBUG a bit more
2998
2999 2004-08-14  André Pönitz  <poenitz@gmx.net>
3000
3001         * coordcache.[Ch]:
3002         * Makefile.am: new files to accomodate an 'external' (x,y)-position
3003         cache for all insets in (at least partially) visible (top-level)
3004         paragraphs.
3005
3006         * BufferView_pimpl.C: reset external coord cache before every update.
3007         This means the coord cache only contains valid entries.
3008
3009 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
3010
3011         bug 1096
3012         * BufferView_pimpl.C (getInsetByCode): move function out of class
3013         and change in to a template in anon namespace. Also fix to do what
3014         suits us better.
3015
3016 2004-08-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
3017
3018         bug 1305
3019         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
3020         of char
3021         (breakParagraph): rename par to par_offset and use a local
3022         reference. Add code to keep the language over a rebreak.
3023         (breakParagraphConservative): rename par to par_offset, use a
3024         local reference
3025         (mergeParagraph): ditto
3026         (outerHook): ditto
3027         (isFirstInSequence): ditto
3028         (outerFont): rename pit to par_offset
3029
3030         * paragraph.C: ws change
3031         * paragraph.h: ditto
3032         * text3.C: ditto
3033         * text.C: ditto
3034
3035 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3036
3037         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
3038         treatment for ']'
3039
3040         * paragraph.C (simpleTeXOnePar): when we have a \item with
3041         optional argument, enclose the argument with curly brackets (in
3042         case it contains a closing square bracket)
3043
3044         * text2.C (editXY):
3045         * text2.C (editXY):
3046         * text3.C (checkInsetHit): constify
3047
3048 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3049
3050         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
3051         documents (bug 1629)
3052
3053 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3054
3055         Fix toggling of collapsable insets with the mouse (bug 1558)
3056
3057         * lyxfunc.C (dispatch): adapt to LCursor changes
3058
3059         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
3060         make sure that dispatch is not invoked twice
3061
3062         * cursor.C (needsUpdate): new method
3063         (dispatch): return void
3064         (result): new method, to access the DispatchResult of the cursor.
3065
3066 2004-08-13  José Matos  <jamatos@lyx.org>
3067
3068         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
3069
3070 2004-08-13  André Pönitz  <poenitz@gmx.net>
3071
3072         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
3073
3074         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
3075           multiple cells
3076
3077 2004-08-12  André Pönitz  <poenitz@gmx.net>
3078
3079         * text3.C: take out the 'cursor right' form insertInset and only
3080         do it in those places when it is really needed. Fixes crash on
3081         C-m...
3082
3083 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3084
3085         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
3086
3087         * BufferView_pimpl.C (setBuffer): initialize the current font of
3088         the underlying LyXText
3089
3090 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3091
3092         * kbsequence.C (print): use UI native formatting for menu
3093         shortcuts
3094
3095         * text.C (insertChar): call Paragraph::insertChar with a font
3096         argument (cosmetic)
3097
3098         * paragraph.C (insertInset, insertChar): the version that takes a
3099         LyXFont argument is now a wrapper around the other one (the
3100         opposite used to be true).
3101
3102         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
3103         argument. Font setting is done in Paragraph now.
3104
3105 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3106
3107         * outputparams.h: add new members intitle and lang.
3108
3109         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
3110         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
3111
3112 2004-08-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3113
3114         * text3.C (dispatch): remove special handling of button 4 and 5,
3115         it is now taken care of in the frontend code.
3116
3117 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3118
3119         * Spacing.h: add <string> (STLPort compile fix)
3120
3121 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3122
3123         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
3124
3125 2004-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3126
3127         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
3128         to bool.
3129
3130         * converter.C (showMessage): inherit from unary_function, make
3131         operator() const.
3132
3133         * buffer.C (writeFile): initialize retval
3134
3135         * InsetList.h: rename private variable list to list_
3136         * InsetList.[Ch]: adjust accordingly.
3137
3138 2004-07-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3139
3140         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
3141         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
3142         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
3143         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
3144         * ParagraphParameters.C, LaTeXFeatures.C: replace
3145         "support/std_sstream.h" with <sstream>
3146
3147 2004-07-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3148
3149         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
3150         * lyxsocket.C (LyXServerSocket): ditto
3151         (serverCallback): ditto
3152
3153 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3154
3155         * LaTeXFeatures.C: check release date when loading jurabib.
3156
3157 2004-07-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3158
3159         * lyxserver.C (startPipe): call register_socket_callback
3160         (endPipe): call unregister_socket_callback
3161
3162 2004-07-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3163
3164         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
3165         (LyXServerSocket): register the callback
3166         (LyXServerSocket): unregister the callback
3167         (fd): delete function
3168         (serverCallback): improve error checking and setup the callbacks.
3169         (dataCallback): change arg to fd.
3170         (writeln): new func (copied fro the client socket) used for server
3171         write to client.
3172         (LyXDataSocket): simplify
3173         (~LyXDataSocket): close ann unregiser callback
3174         (server): delete function
3175         (fd): delete function
3176         (readln): small changes, improve some std::string usage
3177         (writeln): constify a bit
3178
3179 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3180
3181         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
3182         Qt frontend
3183
3184 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3185
3186         * BufferView_pimpl.C (setBuffer): set the layout combox value only
3187         after it has been populated
3188
3189 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3190
3191         * text2.C (insertInset): move cursor when inserting inset.
3192
3193 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3194
3195         * kbmap.C (findbindings): a couple of new methods. returns a
3196         container of kb_sequence objects. The real work is done by the
3197         private recursive version
3198         (printbindings): uses findbindings to print out a bracketed list
3199         of bindings (renamed from findbinding).
3200
3201         * MenuBackend.C (binding): use kb_keymap::findbindings
3202
3203         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
3204
3205 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3206
3207         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
3208
3209 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3210
3211         * paragraph.C (isWord): return true on insets that report
3212         isLetter().
3213
3214         * text.C (getWord): use Paragraph::isWord to decide what is in a
3215         word and what is not; fix bug 1609.
3216
3217 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3218
3219         * tex-strings.C: add "none" to string_paperpackages[], fixes
3220         off-by-one-error in the paperpackage selection.
3221
3222         * lyxlex.[Ch]:
3223         * tex-strings.[Ch]: char const * string[n]
3224         -> char const * const string[]
3225
3226 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3227
3228         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
3229         command, return early.
3230
3231 2004-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3232
3233         * debug.h: add DEBUG to enum and fix size of ANY.
3234
3235         * debug.C: add support for Debug::DEBUG
3236         (showTags): cast errorTags.level to unsigned int
3237
3238         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
3239         (redoCurrentBuffer): ditto
3240         (updateScrollbar): ditto
3241         * cursor.C (dispatch): ditto
3242         * text2.C (setLayout): ditto
3243         (setFont): ditto
3244         (updateCounters): ditto
3245         (editXY): ditto
3246         (deleteEmptyParagraphMechanism): ditto
3247
3248 2004-06-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3249
3250         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
3251         annotations to cleanup the Makefile slightly.
3252
3253 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3254
3255         * lyxrc.C: do not set user_email to a default value but use empty
3256         instead. The entry used to be translated, which does not work
3257         since at the point where lyxrc is constructed there is no
3258         translation service available
3259
3260         * messages.C (getLocaleDir): remove and use directly
3261         lyx_localedir() instead
3262
3263 2004-06-02  Angus Leeming  <leeming@lyx.org>
3264
3265         Fix crash caused by dereferencing null pointer 'exportdata' in
3266         OutputParams by creating a new ExportData variable on the heap,
3267         storing it in a boost::shared_ptr.
3268         The crash was triggered when generating an Instant Preview
3269         of an external inset.
3270
3271         * Makefile.am: add outputparams.C
3272
3273         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
3274         (c-tor): allocate memory to it.
3275
3276         * exporter.C (c-tor): associated changes.
3277
3278 2004-06-01  Angus Leeming  <leeming@lyx.org>
3279
3280         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
3281         contains data before calling isInset(0). (Bug 1513.)
3282
3283 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3284
3285         * exporter.C (checkOverwrite): new method
3286         * exporter.C (copyFile): new method
3287         * exporter.C (Export): copy referenced files to the document dir
3288         * exporter.[Ch]: new class ExportedFile
3289         * exporter.[Ch]: new class ExportData. Contains currently the
3290         names of referenced external files
3291         * outputparams.h: add exportdata member.
3292
3293 2004-05-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3294
3295         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
3296         version.C-tmp
3297
3298 2004-05-19  Angus Leeming  <leeming@lyx.org>
3299
3300         * LaTeXFeatures.C:
3301         * ToolbarBackend.C:
3302         * bufferparams.C:
3303         * lyxfunc.C: small changes due to the introduction of namespace
3304         lyx::frontend and the moving of namespace biblio to lyx::biblio.
3305
3306 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
3307
3308         * text3.C (dispatch): supress update when only moving the cursor
3309         * cursor.C (selHandle): remove commented code
3310
3311 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3312
3313         * paragraph.C (startTeXParParams): correct column count
3314         * CutAndPaste.C (pasteSelection): remove const_cast
3315         * output_docbook.C (docbookParagraphs): remove const_cast
3316         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
3317         const_cast and return ParagraphList::const_iterator
3318         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
3319         * output_plaintext.C (writeFileAscii): remove const_cast
3320         * paragraph.[Ch] (simpleTeXOnePar): make const
3321         * paragraph_funcs.C (outerPar): use const iterators
3322         * paragraph_pimpl.C (validate): use const iterators
3323         * text.C (setHeightOfRow): use const iterators
3324
3325 2004-05-17  Angus Leeming  <leeming@lyx.org>
3326
3327         * lfuns.h:
3328         * LyXAction.C (init): new LFUN_INSET_REFRESH.
3329
3330         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
3331         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
3332         if the citation engine has changed.
3333
3334 2004-05-14  José Matos  <jamatos@lyx.org>
3335
3336         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
3337         if the textclass does not provide it. Have it different for sgml and
3338         xml.
3339         support the language of document.
3340         * output_docbook.C (docbookParagraphs):
3341         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
3342         first anchor as the id of the paragraph, remove special case code.
3343         * sgml.C (escapeChar): escape only < & >.
3344
3345 2004-05-14  Angus Leeming  <leeming@lyx.org>
3346
3347         * bufferparams.h: move biblio::CiteEngine enum here to minimize
3348         dependencies on src/frontends/controllers/biblio.h. Define a
3349         CiteEngine_enum wrapper class to enable the enum to be forward
3350         declared.
3351
3352 2004-05-12  Angus Leeming  <leeming@lyx.org>
3353
3354         * buffer.C: up LYX_FORMAT to 234.
3355         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
3356         use_numerical_citations with a single biblio::CiteEngine cite_engine
3357         variable.
3358         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
3359
3360 2004-05-13  José Matos  <jamatos@lyx.org>
3361
3362         * converter.h:
3363         * converter.C (Converter, readFlags): add xml member.
3364         * outputparams.h: add XML flavor.
3365         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
3366
3367 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3368
3369         * lyxfunc.C (dispatch):
3370         (getStatus): fix handling of LFUN_SEQUENCE
3371
3372 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3373
3374         * debug.C (showLevel): do not forget the end-of-line marker
3375
3376 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3377
3378         * kbmap.C (read): do not stop parsing a bind file when an error
3379         occurs (bug 1575)
3380
3381 2004-04-29  Angus Leeming  <leeming@lyx.org>
3382
3383         * cursor.C:
3384         * factory.C:
3385         * pariterator.C:
3386         * text2.C: wrap a bunch of #warning statements
3387         inside #ifdef WITH_WARNINGS blocks.
3388
3389 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3390
3391         * buffer.C: increment format to 233.
3392
3393 2004-04-28  Angus Leeming  <leeming@lyx.org>
3394
3395         * BufferView_pimpl.C:
3396         * lyxfunc.C:
3397         * text3.C:
3398         s/updateToolbar()/updateToolbars()/
3399         s/Toolbar.h/Toolbars.h/
3400
3401 2004-04-28  Angus Leeming  <leeming@lyx.org>
3402
3403         * BufferView.[Ch] (c-tor):
3404         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
3405         No longer passes these data to the WorkArea generator.
3406
3407 2004-04-28  Angus Leeming  <leeming@lyx.org>
3408
3409         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
3410
3411 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3412
3413         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
3414
3415 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3416
3417         * output_latex.C (TeXEnvironment): make sure that there is a line
3418         break before \end{foo} for the last paragraph of a document
3419         (TeXOnePar): if the paragraph is at the end of the document (or
3420         inset) and the language has to be reset, then make sure that the
3421         line break is _before_ the language command, not after (fixes bug
3422         1225); also make sure that the language reset command is the first
3423         thing after the paragraph (to ensure proper nesting of
3424         environments and thus fix bug 1404)
3425
3426 2004-04-21  John Levon  <levon@movementarian.org>
3427
3428         * ToolbarBackend.h:
3429         * ToolbarBackend.C: make "name" be a programmatic name
3430         and a gui_name field.
3431
3432         * lyxfunc.C: display the minibuffer on M-x
3433
3434 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3435
3436         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3437         (bug 1526)
3438
3439 2004-04-19  Angus Leeming  <leeming@lyx.org>
3440
3441         * BufferView_pimpl.C (setBuffer): changed preview interface.
3442
3443         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3444         possible values.
3445
3446 2004-04-19  John Levon  <levon@movementarian.org>
3447
3448         * BufferView_pimpl.C:
3449         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3450
3451 2004-04-05  Angus Leeming  <leeming@lyx.org>
3452
3453         * text.C (redoParagraphs): add call to updateCounters(), thereby
3454         fixing the missing "Figure #:" label from the caption of a
3455         figure float.
3456
3457 2004-04-13  Angus Leeming  <leeming@lyx.org>
3458
3459         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3460         cursor is clicked out of an inset.
3461
3462 2004-04-13  Angus Leeming  <leeming@lyx.org>
3463
3464         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3465         than an InsetOld one.
3466
3467 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3468
3469         * format.[Ch]: add editor to Format
3470         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3471         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3472
3473 2004-04-08  André Pönitz  <poenitz@gmx.net>
3474
3475         * metricsinfo.h: remove PainterInfo::width member
3476
3477 2004-04-08  Angus Leeming  <leeming@lyx.org>
3478
3479         * lyx_sty.C (boldsymbol_def): modify so that it outputs
3480         "\providecommand" rather than "\newcommand", thereby preventing
3481         clashes with packages that define "\boldsymbol" themselves.
3482         Eg, beamer.
3483
3484 2004-04-08  Angus Leeming  <leeming@lyx.org>
3485
3486         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3487         thereby squashing an unnecessary warning.
3488
3489 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3490
3491         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3492         setBuffer()
3493
3494 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
3495
3496         * BufferView.C (setCursor): call redoParagraph (some insets could
3497         have been opened)
3498         (putSelectionAt): remove the 'double update' trick
3499
3500         * BufferView_pimpl.C (fitCursor): call refreshPar
3501         (workAreaDispatch): remove an uneeded update call
3502         (dispatch): remove some manual update calls
3503
3504         * cursor.[Ch]: remove cached_y_, updatePos
3505         (selHandle): set noUpdate when appropriate
3506
3507         * lyxfunc.C (dispatch): track if we need an update
3508
3509         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3510
3511         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3512         (paintSelection): cheap optimization, do not call cursorX when not
3513         needed
3514         (paintPars): change signature
3515         (refreshPar): add
3516         (paintText): adjust
3517         (paintTextInset): adjust
3518
3519         * text.C: adjust
3520
3521 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3522
3523         * lengthcommon.C: compilation fix: remove explicit array size from
3524         unit_name[] and friends
3525
3526 2004-04-05  Angus Leeming  <leeming@lyx.org>
3527
3528         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3529
3530         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3531         present only for the preferences dialog.
3532         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3533
3534 2004-04-05  Angus Leeming  <leeming@lyx.org>
3535
3536         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3537         to enable the frontends to export changes to lyxrc correctly.
3538
3539         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3540
3541 2004-04-07  André Pönitz  <poenitz@gmx.net>
3542
3543         * cursor.[Ch] (selClear, adjust): remove math
3544
3545         * cursor_slice.C: more agressive assert
3546
3547         * lyxfunc.C:
3548         * BufferView_pimpl.C: rework mouse event dispatch
3549
3550         * dociterator.C:
3551         * paragraph.C:
3552         * text2.C:
3553         * text3.C: adjust
3554
3555 2004-04-05  André Pönitz  <poenitz@gmx.net>
3556
3557         * cursor.[Ch] (valign, halign...): remove unneeded functions
3558
3559 2004-04-05  Angus Leeming  <leeming@lyx.org>
3560
3561         * lyxlength.[Ch] (unit_name et al.): const-correct.
3562
3563 2004-04-05  Angus Leeming  <leeming@lyx.org>
3564
3565         * BufferView_pimpl.C:
3566         * buffer.C:
3567         * counters.C:
3568         * cursor.C:
3569         * lyxfunc.C
3570         * paragraph.C:
3571         * pariterator.C:
3572         * text.C:
3573         * text2.C:
3574         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3575
3576 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3577
3578         * text3.C (getStatus): add LFUN_BEGINNINGBUF
3579
3580 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3581
3582         * lyxfind.C: add a couple of inTexted() tests + other small fixes
3583         * BufferView_pimpl.[Ch] (getStatus)
3584         * BufferView.[Ch] (getStatus): add
3585         * lyxfunc.C (getStatus): move lfuns handled in
3586         BufferView::dispatch to te function above
3587         * Cursor.C (setSelection): set selection() = true
3588
3589 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3590
3591         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3592
3593 2004-03-31  Angus Leeming  <leeming@lyx.org>
3594
3595         * lyxfunc.C (dispatch): Fall through to the generic
3596         Dialogs::show("preamble").
3597
3598 2004-03-31  Angus Leeming  <leeming@lyx.org>
3599
3600         * lyxfunc.C (dispatch): Fall through to the generic
3601         Dialogs::show("spellchecker").
3602
3603 2004-03-31  Angus Leeming  <leeming@lyx.org>
3604
3605         * lyxfunc.C (getStatus, dispatch): changed invocation of the
3606         preferences dialog.
3607
3608 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3609
3610         * BufferView.C
3611         * cursor.[Ch]
3612         * dociterator.[Ch]:
3613         * insetiterator.[Ch]:
3614         * lyxfind.C:
3615         * lyxfunc.C:
3616         * pariterator.[Ch]:
3617         * text2.C:
3618         * undo.[Ch]: s/DocumentIterator/DocIterator/g
3619
3620 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3621
3622         * BufferView.C (setCursor, putSelectionAt): call edit to open the
3623         insets where we are putting the cursor.
3624
3625 2004-03-31  Angus Leeming  <leeming@lyx.org>
3626
3627         * lfuns.h:
3628         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3629
3630         * lyxrc.[Ch] (read, write): overloaded member functions taking
3631         a std::[io]stream arguments.
3632
3633         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3634
3635 2004-03-31  Angus Leeming  <leeming@lyx.org>
3636
3637         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3638         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3639
3640         * lyxtextclass.C (load): if the text class couldn't be loaded, then
3641         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3642
3643 2004-03-31  Angus Leeming  <leeming@lyx.org>
3644
3645         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3646         the LFUN_ALL_INSETS_TOGGLE code.
3647
3648 2004-03-30  Angus Leeming  <leeming@lyx.org>
3649
3650         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3651         has died. Fall through to the generic Dialogs::show("document").
3652
3653 2004-03-30  Angus Leeming  <leeming@lyx.org>
3654
3655         * lfuns.h:
3656         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3657         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3658
3659         * lyxfunc.C (getStatus, dispatch): define the actions for these
3660         lfuns. Little more than a cut and pste job from ControlDocument.C
3661
3662         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3663
3664 2004-03-30  Angus Leeming  <leeming@lyx.org>
3665
3666         * lfuns.h:
3667         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3668         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3669
3670         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3671         open/closed state of ollapsable insets. Usage:
3672
3673         all-inset-toggle <state> <name>, where
3674         <state> == "open" || "closed" || "toggle" and
3675         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3676
3677         * lyxtext.h, text2.C (toggleInset): removed.
3678
3679         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3680         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3681         now passes LFUN_INSET_TOGGLE to the found inset.
3682
3683         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3684         is now invoked as "all-insets-toggle toggle branch".
3685
3686 2004-03-30  Angus Leeming  <leeming@lyx.org>
3687
3688         * dociterator.C:
3689         * insetiterator.C:
3690         * pariterator.[Ch]: added/corrected header blurb.
3691
3692 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
3693
3694         * dociterator.[Ch]: add an inset_ member
3695         (backwardPos): implemented
3696         (backwardPos, forwardPos): use inset_ when the stack is empty.
3697         (doc_iterator_begin, doc_iterator_end): implemented
3698         * pariterator.[Ch]: adjust, add begin, end
3699         * insetiterator.[Ch]: adjust, add begin, end
3700         * cursor.C:
3701         * document.C:
3702         * BufferView.C:
3703         * BufferView_pimpl.C:
3704         * CutAndPaste.C: adjust
3705
3706 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3707
3708         * buffer.C: increment file format to 232.
3709         * LaTeXFeatures.C: add bibtopic package.
3710         * bufferparams.[Ch]: param \use_bibtopic.
3711
3712         * lyxrc.[Ch]: add lyxrc bibtex_command
3713         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3714
3715         * buffer.C: increment file format to 231.
3716
3717 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3718
3719         * dociterator.C: implement forwardPar
3720         * iterators.[Ch]: remove, replaced by
3721         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3722         * BufferView.C:
3723         * BufferView_pimpl.C:
3724         * CutAndPaste.C:
3725         * buffer.C:
3726         * bufferview_funcs.C:
3727         * cursor.C:
3728         * lyxfind.C
3729         * lyxfunc.C
3730         * paragraph_funcs.C
3731         * toc.C:
3732         * Makefile.am: adjust
3733
3734 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3735
3736         * CutAndPaste.C (pasteSelection): fix 2 crashes
3737         (eraseSelection): fix a crash
3738         * paragraph_funcs.C: remove a warning
3739
3740 2004-03-28  Angus Leeming  <leeming@lyx.org>
3741
3742         * lfuns.h:
3743         * LyXAction.C (init): new LFUN_PRINT.
3744
3745         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3746
3747 2004-03-27  Angus Leeming  <leeming@lyx.org>
3748
3749         * lfuns.h:
3750         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3751
3752         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3753
3754 2004-03-27  Angus Leeming  <leeming@lyx.org>
3755
3756         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3757         insetlist always contains non-null pointers to insets.
3758
3759 2004-03-26  Angus Leeming  <leeming@lyx.org>
3760
3761         * src/BufferView_pimpl.C:
3762         * src/CutAndPaste.C:
3763         * src/buffer.C:
3764         * src/iterators.C:
3765         * src/output_plaintext.C:
3766         * src/outputparams.h:
3767         * src/paragraph_funcs.C:
3768         * src/rowpainter.C:
3769         * src/text.C:
3770         * src/text2.C:
3771         * src/frontends/controllers/ControlErrorList.C:
3772         * src/frontends/gtk/FileDialogPrivate.C:
3773         * src/frontends/gtk/GPainter.C:
3774         * src/frontends/gtk/GToolbar.C:
3775         * src/frontends/qt2/QRef.C:
3776         * src/mathed/math_scriptinset.C: squash compiler warnings.
3777
3778 2004-03-26  Angus Leeming  <leeming@lyx.org>
3779
3780         * ispell.C (LaunchIspell::start):
3781         * lyx_cb.C (AutoSaveBuffer::start):
3782         invoke run(DontWait) rather than runNonBlocking().
3783
3784 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
3785
3786         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3787
3788 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3789
3790         * kbsequence.C (print): adjust
3791
3792         * kbmap.C (printKeySym): rename and change signature
3793         (printKey): use LyXKeySym::print()
3794
3795 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
3796
3797         * undo.C: add using std::advance to compile for stlport
3798
3799 2004-03-24  Angus Leeming  <leeming@lyx.org>
3800
3801         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3802         it leads to a crash when no buffer is present.
3803
3804 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3805             Martin Vermeer  <martin.vermeer@hut.fi>
3806
3807         * lyxfunc.C (dispatch):
3808         * bufferparams.C (readToken): use the new LColor::setColor
3809
3810         * LColor.[Ch] (setColor): new version that takes two strings as
3811         argument and creates a new color entry if necessary
3812
3813 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3814
3815         * buffer.C (makeLaTeXFile): if the main latex file that is
3816         processed is usually a subdocument of some master, then pretend
3817         for a while that it is actually the master
3818
3819 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3820
3821         * buffer.C (getLabelList):
3822         (getBibkeyList): use getMasterBuffer()
3823         (getMasterBuffer): new method. Returns the main document in the
3824         case where one is using included documents.
3825
3826 2004-03-25  André Pönitz  <poenitz@gmx.net>
3827
3828         * Makefile.am:
3829         * iterators.[Ch]:
3830         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3831
3832         * ParagraphList_fwd.h: change ParagraphList to a std::vector
3833
3834         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3835         text*.C over here. Rename namespace CutAndPaste to lyx::cap
3836
3837         * ParameterStruct.h: merge with ParagraphParameters
3838
3839         * lyxtext.h: remove LyXText::parOffset() and getPar()
3840
3841         * text3.C: Remove all 'manual' update calls. We do now one per user
3842         interaction which is completely sufficient.
3843
3844         * Bidi.C:
3845         * BufferView.[Ch]:
3846         * BufferView_pimpl.C:
3847         * FontIterator.[Ch]:
3848         * MenuBackend.C:
3849         * ParagraphParameters.[Ch]:
3850         * buffer.C:
3851         * buffer.h:
3852         * bufferlist.C:
3853         * cursor.[Ch]:
3854         * cursor_slice.[Ch]:
3855         * dociterator.[Ch]:
3856         * errorlist.[Ch]:
3857         * factory.C:
3858         * lfuns.h:
3859         * lyxfind.C:
3860         * lyxfunc.C:
3861         * output_docbook.[Ch]:
3862         * output_latex.[Ch]:
3863         * output_linuxdoc.[Ch]:
3864         * output_plaintext.[Ch]:
3865         * paragraph.[Ch]:
3866         * paragraph_funcs.[Ch]:
3867         * paragraph_pimpl.[Ch]:
3868         * rowpainter.C:
3869         * tabular.[Ch]:
3870         * text.C:
3871         * text2.C:
3872         * toc.C:
3873         * undo.[Ch]: adjust
3874
3875         * frontends/controllers/ControlDocument.C:
3876         * frontends/controllers/ControlErrorList.C:
3877         * frontends/controllers/ControlSpellchecker.C:
3878         * insets/inset.C:
3879         * insets/inset.h:
3880         * insets/insetbase.h:
3881         * insets/insetbibitem.C:
3882         * insets/insetbox.C:
3883         * insets/insetbranch.C:
3884         * insets/insetcaption.C:
3885         * insets/insetcharstyle.C:
3886         * insets/insetcharstyle.h:
3887         * insets/insetcollapsable.C:
3888         * insets/insetcollapsable.h:
3889         * insets/insetert.C:
3890         * insets/insetfloat.C:
3891         * insets/insetfoot.C:
3892         * insets/insetmarginal.C:
3893         * insets/insetnote.C:
3894         * insets/insetoptarg.C:
3895         * insets/insettabular.C:
3896         * insets/insettext.C:
3897         * insets/insettext.h:
3898         * insets/insetwrap.C:
3899         * mathed/math_mboxinset.C:
3900         * mathed/math_nestinset.C:
3901         * mathed/math_scriptinset.C:
3902         * mathed/math_scriptinset.h:
3903         * support/types.h:
3904
3905 2004-03-24  Angus Leeming  <leeming@lyx.org>
3906
3907         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3908         deal with any child processes that have finished but are waiting to
3909         communicate this fact to the rest of LyX.
3910
3911 2004-03-24  Angus Leeming  <leeming@lyx.org>
3912
3913         64-bit compile fixes.
3914
3915         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3916         (c-tor): pass lyx::pos_types rather than ints.
3917
3918         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3919         lyx::pos_type.
3920
3921         * text.C (Delete): compile fix.
3922         (getPar): ensure that function declaration is the same as that in
3923         the header file.
3924
3925 2004-03-23  Angus Leeming  <leeming@lyx.org>
3926
3927         * ispell.C (LaunchIspell):
3928         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3929         a boost::shred_ptr rather than a std::auto_ptr.
3930
3931 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3932
3933         * lyxfunc.C (getStatus): handle read-only buffers correctly;
3934         handle LFUN_FILE_INSERT_*
3935
3936         * lyxrc.C (setDefaults, getDescription, output, read):
3937         * lyxrc.h: remove ps_command
3938
3939 2004-03-22  Angus Leeming  <leeming@lyx.org>
3940
3941         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3942         Ensure that error_handler is processed once only and that all data
3943         is saved before attempting to output any warning messages.
3944
3945         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3946
3947 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
3948
3949         * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3950
3951 2004-03-19  André Pönitz  <poenitz@gmx.net>
3952
3953         * cursor.[Ch] (reset): take main text inset as argument
3954
3955         * BufferView: adjust
3956         * BufferView_pimpl.C: adjust
3957
3958         * paragraph.[Ch]: fix completely broken operator=()
3959
3960 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3961
3962         * LColor.C (getFromLyXName): make sure that the color name is used
3963         as lowercase.
3964
3965 2004-03-17  Angus Leeming  <leeming@lyx.org>
3966
3967         * lfuns.h:
3968         * LyXAction.C (init): remove LFUN_FORKS_KILL.
3969
3970         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3971         dialog and to kill a forked process.
3972
3973 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3974
3975         * text2.C (setCursorFromCoordinates): fix font problem
3976
3977 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3978
3979         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3980         bogus "rebuild cursor" code
3981
3982 2004-03-11  André Pönitz  <poenitz@gmx.net>
3983
3984         * buffer.[Ch]: use InsetText instead of LyXText as container for
3985         the main lyx text.
3986
3987         * dociterator.[Ch]: drop the BufferView * member which is not needed
3988         anymore after the change to buffer.C
3989
3990         * paragraph_funcs.C:
3991         * text.C:
3992         * text2.C:
3993         * BufferView.[Ch]:
3994         * BufferView_pimpl.[Ch]:
3995         * cursor.[Ch]:
3996         * cursor_slice.[Ch]: adjust
3997
3998         * text3.C: fix bug in mathDispatch
3999
4000 2004-03-08  André Pönitz  <poenitz@gmx.net>
4001
4002         * undo.[Ch]: use 'StableDocumentIterator' as base for
4003         the Undo struct.
4004
4005 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4006
4007         * LaTeXFeatures.C:
4008         * bufferparams.[Ch]: add jurabib support and param.
4009
4010         * LaTeX.C: add FIXME/comment.
4011
4012 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4013
4014         * buffer.C: increment file format to 230.
4015
4016 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
4017
4018         * cursor.C (dispatch): avoid infinite loops
4019
4020 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
4021
4022         * rowpainter.C (paintSelection): fix x coordinates
4023
4024 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
4025
4026         * text.C (rowBreakPoint): fix breaking before displayed insets
4027
4028 2004-03-01  André Pönitz  <poenitz@gmx.net>
4029
4030         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
4031
4032         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
4033
4034         * Makefile.am:
4035         * BufferView.C:
4036         * BufferView_pimpl.C:
4037         * buffer.C:
4038         * lyxfind.C:
4039         * lyxfunc.C:
4040         * text.C:
4041         * text2.C:
4042         * text3.C: adjust
4043
4044 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
4045
4046         * lyxtext.h:
4047         * text.C:
4048         * text2.C:
4049         * rowpainter.C:
4050         * BufferView_pimpl.C: rename textwidth -> maxwidth,
4051         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
4052
4053 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
4054
4055         * Bidi.[Ch] (computeTables): const correctness
4056         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
4057         fill_hfill, fill_label_hfill and x from Row
4058         * lyxtext.h: prepareToPrint returns a RowMetrics
4059         * rowPainter.C: adjust
4060         * text.C (prepareToPrint): use width, not textWidth. adjust
4061         (redoParagraphInternal, cursorX): adjust
4062         * text2.C (getColumnNearX): adjust
4063         (init): put a default value to the top LyXText::width
4064
4065 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
4066
4067         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
4068
4069 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
4070
4071         * lyxtext.h: add FontIterator class
4072
4073         * text.C (FontIterator, operator*, operator->, operator++): add
4074         (rowBreakPoint, setRowWidth): adjust (fixing a
4075         rebreaking bug)
4076
4077 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4078
4079         * BufferView_pimpl.C (workAreaDispatch): allow also
4080         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
4081
4082 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
4083
4084         * text.C (rowBreakPoint): fix a bug showing with very large insets
4085
4086 2004-02-25  André Pönitz  <poenitz@gmx.net>
4087
4088         * text3.C:
4089         * cursor.[Ch]: move some mathed specific code to mathed
4090
4091 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4092
4093         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
4094         use_tempdir in preferences
4095         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
4096         tempfile creation
4097         * lyx_main.C: ensure that tempdir is valid
4098         * lyxlex.h: correct typo
4099         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
4100         * paragraph.[Ch] (isMultiLingual): make const
4101         * cursor.[Ch] (openable): make const
4102
4103 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4104
4105         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
4106
4107 2004-02-20  André Pönitz  <poenitz@gmx.net>
4108
4109         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
4110
4111         * cursor.[Ch]: prepare for localized getStatus()
4112
4113         * lyxtext.h:
4114         * tabular.C:
4115         * text.C:
4116         * text2.C:
4117         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
4118
4119 2004-02-20  André Pönitz  <poenitz@gmx.net>
4120
4121         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
4122
4123 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
4124
4125         * text2.C (setCursorFromCoordinates): switch to absolute coords
4126         (cursorUp): adjust
4127         (cursorDown): adjust
4128         * text3.C (dispatch): adjust
4129
4130 2004-02-16  André Pönitz  <poenitz@gmx.net>
4131
4132         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
4133           insets/ChangeLog)
4134
4135         * cursor_slice.[Ch]: remove unneeded acessor function
4136
4137         * lyxtext.h: rename rtl() to isRTL()
4138
4139         * rowpainter.C:
4140         * tabular.C:
4141         * text.C:
4142         * text2.C:
4143         * text3.C: adjust
4144
4145 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
4146
4147         * rowpainter.C (paintSelection): coord fix
4148
4149 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
4150
4151         * Spacing.C: compile fix
4152
4153 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
4154
4155         * cursor.C (dispatch): restore current_ before returning
4156
4157 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
4158
4159         * text2.C (cursorUp, cursorDown): fix coords
4160         (moveUp): fix crash
4161
4162 2004-02-12  André Pönitz  <poenitz@gmx.net>
4163
4164         * lyxtext.h:
4165         * text.C:
4166         * text2.C:
4167         * text3.C: add LCursor & parameter to most cursor movement functions
4168           remove usage of LyXText::cursorRow() and cursorPar()
4169
4170         * cursor.[Ch]: add textRow() needed members
4171
4172         * BufferView.C:
4173         * BufferView_pimpl.C:
4174         * paragraph.[Ch]:
4175         * BufferView.C:
4176         * BufferView_pimpl.C: adjust
4177
4178 2004-02-11  André Pönitz  <poenitz@gmx.net>
4179
4180         * lyxfunc.C:
4181         * BufferView.[Ch]:
4182         * BufferView_pimpl.C: shift undo/redo handling
4183
4184         * cursor.[Ch]: fix mathed crash
4185
4186         * lyxfind.C:
4187         * lyxtext.h: move selectionAsText to LCursor
4188
4189         * output_latex.C:
4190         * paragraph.C:
4191         * text.C:
4192         * text2.C:
4193         * text3.C: adjust
4194
4195         * rowpainter.C: fix excessive drawing
4196
4197 2004-02-06  André Pönitz  <poenitz@gmx.net>
4198
4199         * BufferView.[Ch]:
4200         * BufferView_pimpl.[Ch]:
4201         * text3.C: move some text specific LFUN handling
4202
4203 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
4204
4205         * text3.C (checkInsetHit): adjust coords
4206         * text2.C (getColumnNearX): adjust coords
4207         (edit): adjust coords
4208         * text.C (getRowNearY): add two asserts
4209
4210 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
4211
4212         * converter.C:
4213         * format.C: add using std::distance to compile on gcc 2.95/stlport
4214
4215 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
4216
4217         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
4218
4219 2004-02-04  André Pönitz  <poenitz@gmx.net>
4220
4221         * BufferView.[Ch] (insertInset):
4222         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
4223
4224         * text2.C:
4225         * text3.C: adjust
4226
4227 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
4228
4229         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
4230         on the default clause of the switch
4231         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
4232         wasn't catched by LCursor::dispatch
4233
4234 2004-02-03  André Pönitz  <poenitz@gmx.net>
4235
4236         * BufferView.C:
4237         * cursor.[Ch]: some additional asserts
4238
4239         * undo.[Ch]: remove LyXText dependency in interface
4240
4241         * lyxfunc.C: adjust
4242
4243         * lyxtext.h (firstPar, lastPar): remove dead functions
4244
4245         * text.C:
4246         * text2.C:
4247         * text3.C:
4248         * paragraph.[Ch]: adjust
4249
4250 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
4251
4252         * lyxfind.C (find): fix argument order in call to ::find
4253
4254 2004-02-02  André Pönitz  <poenitz@gmx.net>
4255
4256         * cursor.[Ch]: remove direct access to anchor
4257
4258         * text.C: remove findText() hack
4259
4260 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
4261
4262         * iterators.[Ch] (lockPath): remove in favour of...
4263         * BufferView.[Ch] (setCursor): this addition
4264         * BufferView.C (putSelectionAt): adjust
4265         * undo.C (performUndoOrRedo): adjust
4266         * lyxfunc.C (dispatch): adjust
4267
4268 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
4269
4270         * iterators.C (lockPath): add a missing slice
4271         * undo.C (performUndoOrRedo): remove redundant positioning code
4272
4273 2004-02-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4274
4275         * vc-backend.C (scanMaster): ";" -> ';'
4276
4277 2004-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4278
4279         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
4280         std::binary_function
4281
4282         * lyxtextclass.C (compare_name): rename to...
4283         (LayoutNamesEqual): ...this
4284
4285         * lyxlex_pimpl.C (compare_tags): inherit from
4286         std::binary_function, put back into anon namespace
4287
4288         * lyxfind.C (MatchString): inherig from std::binary_function
4289         (findChange): use empty() istead of !size()
4290
4291         * format.C (FormatNamesEqual): new functor
4292         (getFormat): use it
4293         (getNumber): use it
4294         (add): use it
4295         (erase): use it
4296         (setViewer): use it
4297
4298         * converter.C (compare_Converter): rename to...
4299         (ConverterEqual): ...this, and fixup a bit.
4300         (getConverter): use it, and make function const
4301         (getNumber): use it, and make function const
4302         (add): use it
4303         (erase): use it:
4304
4305         * bufferlist.C: add using boost::bind
4306
4307         * MenuBackend.C (MenuNamesEqual): new functor
4308         (hasMenu): use it, and make function const
4309         (hasSubmenu): use nested bind to get rid of compare_memfun.
4310
4311 2004-01-30  André Pönitz  <poenitz@gmx.net>
4312
4313         * BufferView_pimpl.C:
4314         * cursor.C:
4315         * cursor.h:
4316         * cursor_slice.[Ch]:
4317         * lyxfunc.C:
4318         * lyxtext.h:
4319         * paragraph_funcs.C:
4320         * paragraph_funcs.h:
4321         * rowpainter.C:
4322         * text.C:
4323         * text2.C:
4324         * text3.C: move some of the edit(x,y) handling to the insets
4325         some coordinate changes.
4326
4327 2004-01-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4328
4329         * text.C: add using statements for std::advance and std::distance
4330
4331         * paragraph.C: add using statement for std::distance
4332
4333         * lyxfind.C: add using statement for std::advance
4334
4335         * cursor.C (region): remove std:: from swap
4336         (openable): use nucleus in stead of operator->
4337
4338         * BufferView.C: add using statements for std::distance and std::swap
4339
4340 2004-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4341
4342         * iterators.C: Remove the pimple, move the needed structures to
4343         the header file. Create accessor for the positions stack.
4344         (asPosIterator): remove function
4345
4346         * PosIterator.C (PosIterator): move constructors to top of file
4347         (PosIterator): reimplement the constructor taking a ParIterator in
4348         terms of setFrom.
4349         (setFrom): new function
4350         (operator!=): inline it
4351
4352 2004-01-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4353
4354         * lyxfind.C (replaceAll): use std::advance
4355
4356         * iterators.h: inherit from std::iterator.
4357
4358         * PosIterator.C (advance, distance): remove
4359         * PosIterator.h: interit from std::iterator.
4360
4361 2004-01-26  André Pönitz  <poenitz@gmx.net>
4362
4363         * BufferView.[Ch]:
4364         * BufferView_pimpl.[Ch]:
4365         * InsetList.[Ch]:
4366         * PosIterator.[Ch]:
4367         * buffer.h:
4368         * bufferview_funcs.C:
4369         * cursor.[Ch]:
4370         * cursor_slice.h:
4371         * factory.[Ch]:
4372         * iterators.[Ch]:
4373         * lyxfind.C:
4374         * lyxfunc.C:
4375         * lyxtext.h:
4376         * output_docbook.C:
4377         * output_latex.C:
4378         * output_linuxdoc.C:
4379         * output_plaintext.C:
4380         * paragraph.[Ch]:
4381         * paragraph_funcs.[Ch]:
4382         * paragraph_pimpl.[Ch]:
4383         * rowpainter.C:
4384         * tabular.C:
4385         * tabular.h:
4386         * text.C:
4387         * text2.C:
4388         * text3.C: more IU:  dumps most of the rest of the mathcursor
4389     implementation into cursor.[Ch]; "globalize" a bit of it.
4390
4391 2004-01-25  Angus Leeming  <leeming@lyx.org>
4392
4393         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
4394
4395 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4396
4397         * LaTeXFeatures.h: add nice_ and nice() const
4398         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
4399
4400 2004-01-20  André Pönitz  <poenitz@gmx.net>
4401
4402         * BufferView.[Ch]:
4403         * BufferView_pimpl.C:
4404         * PosIterator.C:
4405         * bufferview_funcs.C:
4406         * cursor.[Ch]:
4407         * cursor_slice.[Ch]:
4408         * factory.C:
4409         * iterators.C:
4410         * lyx_cb.C:
4411         * lyxfind.C:
4412         * lyxfunc.C:
4413         * lyxtext.h:
4414         * rowpainter.C:
4415         * text.C:
4416         * text2.C:
4417         * text3.C:
4418         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
4419           LCursor and mathcursor parts to LCursor and InsetBase.
4420
4421 2004-01-15  André Pönitz  <poenitz@gmx.net>
4422
4423         * cursor_slice.[Ch]: add a few covienience functions
4424
4425         * funcrequest.[Ch]: remove BufferView * member
4426
4427         * BufferView_pimpl.C:
4428         * cursor.C:
4429         * factory.[Ch]:
4430         * lyxfind.[Ch]:
4431         * lyxfunc.C:
4432         * lyxtext.h:
4433         * text3.C:
4434         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4435
4436 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
4437
4438         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4439         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4440
4441 2004-01-13  André Pönitz  <poenitz@gmx.net>
4442
4443         * textcursor.[Ch]:
4444         * lyxtext.h: hide cursor and selection anchor behind accessor function
4445
4446         * BufferView.C:
4447         * BufferView_pimpl.[Ch]:
4448         * PosIterator.C:
4449         * bufferview_funcs.C:
4450         * cursor.h:
4451         * lyxfind.C:
4452         * lyxfunc.C:
4453         * text.C:
4454         * text2.C:
4455         * text3.C:
4456         * undo.C: adjust
4457
4458         * cursor.h:
4459         * cursor_slice.[Ch]: some integer type changes for inset unification
4460
4461         * lyxcursor.[hC]: remove, it's CursorSlice now.
4462
4463         * Makefile.am:
4464         * BufferView_pimpl.[Ch]:
4465         * bufferview_funcs.C:
4466         * cursor_slice.C:
4467         * lyxtext.h:
4468         * text.C:
4469         * text2.C:
4470         * text3.C:
4471         * textcursor.[Ch]: adjust
4472
4473 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
4474
4475         * text2.C (undoSpan): add and use
4476         * text.C (breakParagraph): use undoSpan (fix bug 578)
4477         * lyxtext.h: adjust
4478
4479 2004-01-08  Angus Leeming  <leeming@lyx.org>
4480
4481         * BufferView_pimpl.C (MenuInsertLyXFile):
4482         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4483         * lyxfunc.C (menuNew, open, doImport):
4484         FileFilterList change to the FileDialog open and save functions.
4485
4486 2004-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4487
4488         * ShareContainer.h: make isEqual and isUnique adaptable
4489
4490         * CutAndPaste.C: make resetOwnerAndChanges adaptable
4491
4492 2004-01-07  Angus Leeming  <leeming@lyx.org>
4493
4494         * LyXAction.C:
4495         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4496
4497         * BufferView_pimpl.C (dispatch): act on these LFUNs.
4498
4499         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4500         functions replacing find, replace and replaceAll.
4501
4502         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4503         LFUN_WORDFIND(FORWARD|BACKWARD).
4504
4505 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4506
4507         * text.C (breakParagraph): remove an outdated #warning
4508
4509 2004-01-07  André Pönitz  <poenitz@gmx.net>
4510
4511         * lyxfind.C: somewhat clearer logic
4512
4513         * text.C: prevent crash in cursorX on unitialized row cache
4514
4515 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4516
4517         * lyxcursor.[Ch] (operator>): add
4518         * textcursor.C (selStart, selEnd): use std::min and std::max
4519
4520 2004-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4521
4522         * Chktex.C: include boost/format.hpp
4523
4524 2004-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4525
4526         * InsetList.C: replace functor MathcIt with adaptable functor
4527         InsetTablePosLess
4528         (insetIterator): modify accordingly
4529
4530         * BranchList.h: move the BranchNamesEqual functor here from...
4531         * BranchList.C: ... to here
4532
4533         * BranchList.C: new BranchListEqual fuctor, use it. Remove
4534         SameName and match.
4535         (add): replace a finding loop with std::find_if.
4536
4537 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
4538
4539         * output_docbook.C: moving LatexParam functionality into
4540         .layout files
4541
4542 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4543
4544         * buffer.C: increment format to 229.
4545
4546 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
4547
4548         * LaTeXFeatures.C:
4549         * lyx_sty.[Ch]: remove minipageindent_def
4550
4551         * LyXAction.C:
4552         * factory.C:
4553         * lfuns.h:
4554         * lyxfunc.C:
4555         * text3.C: remove LFUN_INSET_MINIPAGE
4556
4557 2003-12-28  Angus Leeming  <leeming@lyx.org>
4558
4559         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4560
4561 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
4562
4563         * text2.C (setParagraph): fix off-by-one crash
4564
4565 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
4566
4567         * output_docbook.C: header stuff for AGU
4568
4569 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
4570
4571         * text2.C (redoCursor): remove
4572         * text.C:
4573         * text3.C:
4574         * BufferView_pimpl.C: remove calls to redoCursor and
4575         setCursor(cursor.par(), cursor.pos()) all around
4576
4577 2003-12-15  Angus Leeming  <leeming@lyx.org>
4578
4579         * buffer.C: up the format to 228.
4580
4581 2003-12-15  André Pönitz  <poenitz@gmx.net>
4582
4583         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4584         slices
4585
4586         * Makefile.am:
4587
4588         * BufferView_pimpl.C:
4589         * cursor.[Ch]:
4590         * lyxcursor.[Ch]:
4591         * rowpainter.[Ch]:
4592         * lyxtext.h:
4593         * text.C:
4594         * text2.C:
4595         * text3.C: adjust
4596
4597 2003-12-15  Angus Leeming  <leeming@lyx.org>
4598
4599         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4600         than getFromGUIName to manipulate the color.
4601
4602 2003-12-14  Angus Leeming  <leeming@lyx.org>
4603
4604         * BranchList.[Ch]: minimize the API.
4605         (Branch::getBranch, getColor): now return a 'const &'.
4606         (Branch::setSelected) now returns a bool set to true if the
4607         selection status changes.
4608         (BranchList::clear, size, getColor, setColor, setSelected,
4609         allBranches, allSelected, separator): removed.
4610         (BranchList::find): new functions, returning the Branch with
4611         the given name.
4612         (BranchList::add, remove): return a bool indicating that
4613         the operation was successful.
4614
4615         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4616         new InsetBranch::isBranchSlected member function.
4617
4618         * LColor.[Ch]: mimimize the API.
4619         (fill): renamed as addColor and made private.
4620         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4621         versions of these functions taking a string arg have been removed.
4622
4623         * bufferparams.C (readToken):
4624         * lyxfunc.C (dispatch):
4625         * lyxrc.C (read): changes due to the altered BranchList and
4626         LColor APIs.
4627
4628         * factory.C (createInset, readInset): changes due to altered
4629         InsetBranch c-tor.
4630
4631 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4632
4633         * factory.C:
4634         * lyxfunc.C: remove insetminipage. "minipage-insert"
4635         now produces a frameless minipage box inset.
4636
4637 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4638
4639         * textcursor.[Ch] (selStart,selEnd): add new methods
4640         remove selection::start, end, use LyXCursor::operator<
4641         * lyxcursor.[Ch] (operator<): add
4642         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4643         * BufferView.[Ch] (unsetXSel): add
4644         * text2.C (clearSelection): use unsetXSel,adjust
4645         * text.C: adjust
4646         * text3.C: adjust
4647         * rowpainter.C: adjust
4648         * bufferview_funcs.C (put_selection_at): adjust
4649
4650 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4651
4652         * BufferView_pimpl.C: small coord. correction
4653
4654 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4655
4656         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4657         dragging over the splash screen.
4658
4659 2003-12-11  Angus Leeming  <leeming@lyx.org>
4660
4661         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4662         as it is now handled in LyXText::dispatch.
4663
4664         * text3.C (doInsertInset): remove a level of nesting.
4665
4666 2003-12-11  Angus Leeming  <leeming@lyx.org>
4667
4668         * factory.C (createInset): changes due to the changed interface to
4669         InsetCommandMailer::string2params.
4670
4671 2003-12-10  Angus Leeming  <leeming@lyx.org>
4672
4673         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4674         'dialog-show-new-inset <inset name>'
4675
4676 2003-12-10  Angus Leeming  <leeming@lyx.org>
4677
4678         * buffer.C: up the format to 227.
4679
4680         * factory.C: the box inset is now identified simply by 'Box'.
4681
4682 2003-12-10  Angus Leeming  <leeming@lyx.org>
4683
4684         * buffer.C: up the format to 226.
4685
4686         * factory.C: the note inset is now identified simply by 'Note'.
4687
4688 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
4689
4690         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4691         when a pit is enough. Standarize a couple of loops.
4692
4693 2003-12-05  Angus Leeming  <leeming@lyx.org>
4694
4695         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4696         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4697         data to the re-worked "log" dialog.
4698
4699 2003-12-03  André Pönitz  <poenitz@gmx.net>
4700
4701         * PosIterator.C:
4702         * iterators.C:
4703         * lyxtext.h:
4704         * output_latex.C:
4705         * paragraph_funcs.C:
4706         * text.C:
4707         * text2.C: use Inset::getText instead of Inset::getParagraph
4708
4709 2003-12-03  André Pönitz  <poenitz@gmx.net>
4710
4711         * buffer.[Ch]:
4712         * lyxtext.h:
4713         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4714         InsetText::read() as LyXText::read()
4715
4716 2003-12-02  Angus Leeming  <leeming@lyx.org>
4717
4718         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4719         type. Add a comment in the implementation that the function uses
4720         the stream's bad() function rather than fail() as the std::streams
4721         would do.
4722
4723 2003-12-02  André Pönitz  <poenitz@gmx.net>
4724
4725         * lyxlex.[Ch]: make interface more similar to std::stream
4726
4727         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4728
4729 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
4730
4731         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4732
4733 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
4734
4735         * vspace.[Ch]: remove VSpace::NONE
4736
4737 2003-12-01  André Pönitz  <poenitz@gmx.net>
4738
4739         * buffer.[Ch]:
4740         * lyxtext.h: move ParagraphList member to LyXText
4741         rename LyXText::ownerParagraphs to LyXText::paragraph
4742
4743         * CutAndPaste.C:
4744         * bufferview_funcs.C:
4745         * iterators.[Ch]:
4746         * lyx_cb.C:
4747         * paragraph.C:
4748         * rowpainter.C:
4749         * tabular.C:
4750         * text.C:
4751         * text2.C:
4752         * text3.C: adjust
4753
4754         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4755
4756         * undo.C: fix cursor positioning
4757
4758 2003-12-01  John Levon  <levon@movementarian.org>
4759
4760         * BufferView_pimpl.C: fix a crash on exit with
4761         a buffer open
4762
4763 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
4764
4765         * BranchList.C: fix setSelected() method.
4766
4767 2003-11-28  André Pönitz  <poenitz@gmx.net>
4768
4769         * ParagraphParameters.[Ch]:
4770         * ParameterStruct.h: remove space above/below from Paragraph to
4771          InsetVSpace
4772
4773         * BufferView_pimpl.C:
4774         * factory.C:
4775         * lyxfunc.C:
4776         * lyxtext.h:
4777         * output_latex.C:
4778         * paragraph.C:
4779         * paragraph_funcs.C:
4780         * rowpainter.[Ch]:
4781         * text.C:
4782         * text2.C:
4783         * text3.C: adjust
4784
4785 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
4786
4787         * factory.C: Syntax change for CharStyles
4788
4789 2003-11-28  André Pönitz  <poenitz@gmx.net>
4790
4791         * BufferView.[Ch]:
4792         * BufferView.[Ch]:
4793         * buffer.[Ch]:
4794         * buffer.[Ch]: move LyXText member
4795
4796 2003-11-28  André Pönitz  <poenitz@gmx.net>
4797
4798         * BufferView.[Ch]: make LyXText * text a private member
4799
4800         * BufferView_pimpl.C:
4801         * cursor.C:
4802         * iterators.C:
4803         * lyx_cb.C:
4804         * lyxfind.C:
4805         * lyxtext.h:
4806         * rowpainter.[Ch]:
4807         * text.C:
4808         * text2.C:
4809         * undo.C: adjust
4810
4811         * output_plaintext.C: cleanup
4812
4813 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4814
4815         * buffer.C:
4816         * lyxtextclass.[Ch]: parametrize SGML document header
4817
4818 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4819
4820         * converter.[Ch]:
4821         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4822         getFlavor().
4823
4824 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
4825
4826         * text2.C (setFont): rework using PosIterator (no more recursive)
4827         (setCharFont): no more needed
4828         (setLayout): no more selection cursors fiddling (done by redoCursor)
4829         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4830         destroy remaining ones)
4831
4832 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
4833
4834         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4835         * lyxtext.h: ditto
4836         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4837         selection cursors
4838         * lyxfunc.C: adjust
4839         * text3.C: adjust + re-allow multi par depth changes
4840         * textcursor.C: simplify a bit
4841
4842 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
4843
4844         * src/buffer.C:
4845         * src/lyxlayout.C:
4846         * src/lyxlayout.h:
4847         * src/lyxtext.h:
4848         * src/output_docbook.C:
4849         * src/output_latex.C:
4850         * src/paragraph.C:
4851         * src/paragraph.h:
4852         * src/sgml.C:
4853         * src/sgml.h:
4854         * src/text2.C: Introducing a number of tags parametrizing various
4855         XML formats that we may want to support
4856
4857 2003-11-25  André Pönitz  <poenitz@gmx.net>
4858
4859         * InsetList.[Ch] (begein, end): inline as suggested by profiler
4860
4861         * lyxtext.h (leftMargin/rightMargin): simplify interface
4862
4863         * rowpainter.C:
4864         * text.C:
4865         * text2.C:
4866         * text3.C: adjust
4867
4868 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4869
4870         * lyxfunc.C (dispatch): propogate the bibtex databases from the
4871         master file to any child files. Fixes bug 546.
4872
4873 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4874
4875         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4876
4877 2003-11-24  André Pönitz  <poenitz@gmx.net>
4878
4879         * rowpainter.C: simplification
4880
4881         * text2.C (updateCounters): remove call to redoParagraph on
4882         changed labels as this is far too expensive.
4883
4884 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4885
4886         * converter.C (convert): fix a crash: this function gets
4887         called with buffer == 0 from importer code.
4888
4889 2003-11-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4890
4891         * text3.C (cursorPrevious): make sure that we do not compare
4892         iterators form different containers.
4893         (cursorNext): ditto
4894
4895         * rowpainter.C (paintSelection): make sure that we do not compare
4896         iterators from different containers.
4897
4898         * text3.C (dispatch): [PRIOR] make sure that we do not compare
4899         iterators from different ParagraphList containers.
4900         [NEXT] ditto
4901
4902         * text2.C (LyXText): change order of initialization slightly
4903         (operator=): new function. copy all variables except cache_par_
4904         (moveUp): make sure that we do not compare iterators from
4905         different ParagraphList constainers.
4906         (moveDown): ditto
4907
4908         * text.C (firstPar): new function
4909         (lastPar): new function
4910         (endPar): new function
4911
4912         * lyxtext.h: move things around and group public functions, public
4913         variables, private functions, private variables
4914
4915 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
4916
4917         * factory.C: change call to InsetERT constructor to avoid
4918         additional invocation of method status
4919         * text2.C (toggleInset): remove redundant update() call
4920         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4921         instead of a Bufferview pointer
4922
4923 2003-11-21  André Pönitz  <poenitz@gmx.net>
4924
4925         * rowpainter.C: simplification
4926
4927 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4928
4929         * text3.C (dispatch): make possible to extend a word/row selection
4930         with the mouse
4931
4932 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4933
4934         * lyxtext.h: x0_,y0_ -> xo_,yo_
4935         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4936         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4937         * rowpainter.C (paintRows): paint full paragraphs
4938
4939 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4940
4941         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4942         screen coordinates)
4943
4944 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4945
4946         * lyxtext.h: add x0_, y0_
4947         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4948         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4949
4950 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
4951
4952         * text2.C (setCursorIntern): move the x_target update here *
4953         * text3.C: change some bv() to true/false in calls to
4954         cursorUp/Down/Right/Left
4955         * cursor.C: use helper function.
4956
4957 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4958
4959         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4960         * paragraph_funcs.[Ch]: correct comment
4961         * rowpainter.C: do not paint selections away from bv->cursor()
4962         Fix a long standing selection painting bug.
4963         * text3.C: generalize mouse-selection code to LyXTexts other that
4964         top one
4965         * textcursor.C: do not use y coords if we can use par offsets
4966
4967 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4968
4969         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4970         cursor position after e.g. inset insert)
4971
4972 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
4973
4974         * lyxfind.C (replace): adjust to locking removal + some
4975         code simplification
4976
4977 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
4978
4979         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4980         of the path
4981
4982 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
4983
4984         * lyxlayout.[Ch]:
4985         * output_docbook.C: XML sanitation: new layout
4986         parameters InnerTag and CommandDepth
4987
4988 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
4989
4990         * BufferView_pimpl.C:
4991         * factory.C:
4992         * text3.C: Fix the insertion and modification of button-style
4993         insets
4994
4995 2003-11-13  André Pönitz  <poenitz@gmx.net>
4996
4997         * InsetList.[Ch]: remove deleteLyXText
4998
4999         * paragraph.[Ch]: cache beginOfBody position
5000
5001         * Bidi.C:
5002         * text.C:
5003         * text2.C:
5004         * text3.C: remove superfluous update() calls
5005
5006         * vspace.C: cleanup
5007
5008 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
5009
5010         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
5011         * BufferView.C (fitLockedInsetCursor): remove
5012         * cursor.[Ch] (getDim): add
5013         * text.C (getRowNearY): add faster version
5014         * text3.C: remove some update calls
5015
5016 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
5017
5018         * LaTeXFeatures.C:
5019         * LyXAction.C:
5020         * MenuBackend.C:
5021         * MenuBackend.h:
5022         * dispatchresult.h:
5023         * factory.C:
5024         * lfuns.h:
5025         * lyxfunc.C:
5026         * lyxtextclass.C:
5027         * lyxtextclass.h:
5028         * text3.C: The Character Style /XML short element patch.
5029
5030 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
5031
5032         * text3.C:
5033         * factory.C: Small step to solving 'unable to insert some insets'
5034         problem
5035
5036 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
5037
5038         * cursor.[Ch] (updatePos): new function for updating the y
5039         position of the tip inset
5040         * bufferview_funcs.C (put_selection_at):
5041         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
5042
5043 2003-11-11  André Pönitz  <poenitz@gmx.net>
5044
5045         * text.C: remove big comment on invalid Paragraph pointers as it is
5046         not valid anymore
5047
5048 2003-11-11  André Pönitz  <poenitz@gmx.net>
5049
5050         * text_funcs.[Ch]: merge with ...
5051
5052         * text.C: ... this
5053
5054         * lyxtext.h:
5055         * text2.C:
5056         * text3.C: adjust
5057
5058         * Makefile.am: remove text_funcs.[Ch]
5059
5060 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
5061
5062         * cursor.C (getPos): return absolute cached y coord
5063
5064         * BufferView_pimpl.C (fitCursor): new simplistic code
5065         (workAreaDispatch): add a fitCursor call
5066
5067 2003-11-10  André Pönitz  <poenitz@gmx.net>
5068
5069         * BufferView.[Ch]:
5070         * BufferView_pimpl.[Ch]: merge update() and updateInset()
5071
5072 2003-11-10  André Pönitz  <poenitz@gmx.net>
5073
5074         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
5075         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
5076         indicate that the cursor needs to leave an inset
5077
5078         * lyxtext.h: remove inset locking
5079
5080         * cursor.[Ch]: re-implement functionality provided by inset locking
5081
5082         * BufferView.[Ch]:
5083         * BufferView_pimpl.[Ch]:
5084         * LyXAction.C:
5085         * bufferview_funcs.[Ch]:
5086         * factory.C:
5087         * funcrequest.[Ch]:
5088         * iterators.C:
5089         * lyx_cb.C:
5090         * lyxfind.C:
5091         * lyxfunc.C:
5092         * text.C:
5093         * text2.C:
5094         * text3.C:
5095         * undo.C: adjust
5096
5097 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
5098
5099         * PosIterator.[Ch]: replace the stack with a vector, add inset
5100         accesor
5101         * iterators.[C]: adjust
5102
5103 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
5104
5105         * lyxfind.C (replaceAll): mark the buffer dirty if something was
5106         replaced
5107         * paragraph_funcs.C (readParToken): put the correct id in the
5108         error item, not the id of the top paragraph
5109
5110 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
5111
5112         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
5113         * bufferview_funcs.C (put_selection_at): use the above
5114
5115 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
5116
5117         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
5118
5119 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5120
5121         * output_linuxdoc.h:
5122         * output_plaintext.h:
5123         * output.h:
5124         * output_docbook.h: add #include statements
5125
5126 2003-11-05  José Matos  <jamatos@lyx.org>
5127
5128         * output_docbook.[Ch]:
5129         * output_latex.[Ch]:
5130         * output_linuxdoc.[Ch]:
5131         * output_plaintext.[Ch]: New files for output formats.
5132         * output.[Ch]: New file for helper functions.
5133
5134         * buffer.[Ch]:
5135         * paragraph_funcs.[Ch]: output functions moved to new files.
5136
5137         * outputparams.h: rename of latexrunparams.h
5138
5139         * LaTeX.[Ch]:
5140         * buffer.[Ch]:
5141         * bufferlist.[Ch]:
5142         * converter.[Ch]:
5143         * exporter.C:
5144         * paragraph.[Ch]:
5145         * paragraph_funcs.[Ch]:
5146         * paragraph_pimpl.[Ch]:
5147         * tabular.[Ch]: rename ascii to plaintext
5148         and LatexRunParams to OutputParams.
5149
5150 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
5151
5152         * iterators.[Ch] (text): require bv argument
5153         * undo.C (recordUndo):
5154         * lyxfunc.C (dispatch):
5155         * bufferview_funcs.C (put_selection_at): adjust
5156
5157 2003-11-05  Jo� Luis M. Assirati  <assirati@fma.if.usp.br>
5158
5159         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
5160
5161 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
5162
5163         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
5164         nestings
5165
5166 2003-11-04  André Pönitz  <poenitz@gmx.net>
5167
5168         * cursor.[Ch]: restructure
5169
5170         * BufferView.[Ch]:
5171         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
5172
5173         * iterators.[Ch] (asCursor): remove
5174
5175         * lfuns.h: remove LFUN_INSET_EDIT
5176
5177         * lyxfunc.C:
5178         * tabular.C:
5179         * text.C:
5180         * text2.C:
5181         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
5182
5183 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5184
5185         * lyxfind.[Ch]: complete overhaul
5186         * BufferView_pimpl.C:
5187         * lyxfunc.C: adjust
5188         * paragraph.[Ch] (insert): add
5189
5190 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5191
5192         * BufferView.[Ch]:
5193         * lyxtext.h:
5194         * text.C: remove dead spellcheck code
5195
5196 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5197
5198         * dispatchresult.h: add a val setter
5199
5200         * cursor.C (dispatch): use a tempvar for data_[i]
5201
5202 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5203
5204         * PosIterator.[Ch]: compile fix
5205
5206 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5207
5208         * text.C (cursorPar): deactivate the cursor cache
5209
5210 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
5211
5212         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
5213
5214 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5215
5216         * text3.C (dispatch): adjust for new DisptchResult semantics.
5217
5218         * lyxfunc.C (dispatch): handle update when return from
5219         Cursor::dispatch, adjust for new DispatchResult semantics.
5220
5221         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
5222         DispatchResult(true) mean to not update. Add class functions for
5223         setting dispatched and update, as well as reading.
5224
5225         * cursor.C (dispatch): don't handle update here
5226
5227 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5228
5229         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
5230         * trans_mgr.C: adjust
5231
5232         * paragraph_funcs.C (readParToken): exception safety
5233
5234         * lyxvc.h: store the vcs pointer in a scoped_ptr
5235         * lyxvc.C: adjust
5236
5237         * lyxsocket.C (serverCallback): exception safety
5238
5239         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
5240
5241         * ispell.C (clone): make it return a auto_ptr
5242
5243         * factory.C (createInset): exception safety
5244         (readInset): exception safety
5245
5246         * bufferlist.C (newBuffer): exception safety
5247
5248         * Thesaurus.C (Thesaurus): use initialization for aik_
5249
5250         * MenuBackend.C (expandToc): exception safety.
5251
5252 2003-11-03  André Pönitz  <poenitz@gmx.net>
5253
5254         * buffer.C:
5255         * buffer.h:
5256         * bufferview_funcs.C: remove getInsetFromId()
5257
5258         * lyxcursor.[Ch]:
5259         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
5260
5261         * lyxfunc.C:
5262         * text2.C:
5263         * text3.C: adjust
5264
5265 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
5266
5267         * PosIterator.C (distance, advance): new
5268         * bufferview_funcs.[Ch] (put_selection_at): new
5269         * iterators.[Ch] (lockPath): new
5270
5271 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
5272
5273         * iterators.[Ch] (asPosIterator): added
5274         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
5275         * PosIterator.[Ch]: added
5276
5277 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5278
5279         * text3.C:
5280         * lyxfunc.C:
5281         * cursor.C (dispatch):
5282         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
5283
5284         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
5285         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
5286         contructor, add a class function dispatched. Remove operator>=
5287
5288 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5289
5290         * debug.C: only use the default constructor for debugstream
5291         (lyxerr) here.
5292
5293         * main.C (main): include debug.h and setup the lyxerr streambuf
5294         here.
5295
5296 2003-10-31  José Matos  <jamatos@lyx.org>
5297
5298         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
5299
5300         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
5301         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
5302         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5303         * paragraph_pimpl.C (simpleTeXSpecialC):
5304         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
5305         add LatexRunParams argument.
5306
5307         * exporter.C (Export): change call accordingly.
5308
5309         * latexrunparams.h: add new member to take care of the other backends.
5310 2003-10-30  José Matos  <jamatos@lyx.org>
5311
5312         * buffer.C (makeLinuxDocFile, makeDocBookFile):
5313         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5314         factorise code for paragraph output.
5315         * buffer.[Ch]:
5316         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
5317         move functions.
5318
5319 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5320
5321         * text3.C (dispatch):
5322         * lyxfunc.C (dispatch):
5323         * cursor.C (dispatch):
5324         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
5325
5326         * dispatchresult.h: make the dispatch_result_t ctor explicit
5327
5328 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
5329
5330         * sgml.[Ch]:
5331         * buffer.C: small refactoring of docbook stuff
5332
5333 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5334
5335         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
5336         meaning.
5337
5338 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5339
5340         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
5341         operator dispatch_result_t, and operators for == != and >=
5342
5343         * cursor.C (dispatch): adjust for operator dispatch_result_t
5344         removal. comment out call to update
5345
5346         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
5347
5348 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5349
5350         * text3.C:
5351         * text2.C:
5352         * text.C:
5353         * lyxtext.h:
5354         * lyxfunc.C:
5355         * cursor.C:
5356         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
5357         (dispatch):
5358
5359         * dispatchresult.h: new file, DispatchResult broken out of
5360         insets/insetbase.h
5361
5362         * Makefile.am (lyx_SOURCES): add dispatchresult.h
5363
5364 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
5365
5366         * text.C (rowBreakPoint): put a hack inside #if 0
5367
5368 2003-10-28  André Pönitz  <poenitz@gmx.net>
5369
5370         * lyxtext.h:
5371         * metricsinfo.C:
5372         * paragraph_funcs.C:
5373         * rowpainter.C:
5374         * text.C:
5375         * text2.C: general cleanup (lots of small stuff)
5376
5377 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
5378
5379         * text2.C (cursorEnd): simple fix to the "end key goes to one
5380         before the end on last row" bug
5381
5382 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5383
5384         * text.C (backspace): fix the "zombie characters"
5385
5386 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5387
5388         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
5389
5390 2003-10-27  André Pönitz  <poenitz@gmx.net>
5391
5392         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
5393
5394         * factory.C: handle new InsetPagebreak, InsetLine
5395
5396         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
5397         and move handling into new InsetPagebreak, InsetLine
5398
5399         * BufferView_pimpl.C:
5400         * LyXAction.C:
5401         * ParagraphParameters.C:
5402         * ParameterStruct.h:
5403         * lyxfunc.C:
5404         * lyxtext.h:
5405         * paragraph.C:
5406         * paragraph.h:
5407         * paragraph_funcs.C:
5408         * paragraph_pimpl.C:
5409         * rowpainter.C:
5410         * text.C:
5411         * text2.C:
5412         * text3.C: adjust
5413
5414 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5415
5416         * text.C:
5417         * lyxrow_funcs.[Ch]:
5418         * Bidi.C:
5419         * paragraph.C:
5420         * lyxtext.h:
5421         * rowpainter.C:
5422         * text2.C:
5423         * text3.C: remove lastPos uses in favour of Row::endpos
5424
5425 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5426
5427         * undo.C (performUndoOrRedo): fix two crashes by setting a
5428         cursor by hand and reordering some calls. Use bv->lockInset instead
5429         of inset->edit because the latter loses cursor information
5430
5431 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
5432
5433         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5434         by Martin
5435         (rowBreakPoint): fix width. change point to point + 1.
5436         Add a missing check.
5437
5438 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
5439
5440         * MenuBackend.C:
5441         * lyxfunc.C: fix (at least partly) the problems
5442         with the Nav menu and headers inside branch insets
5443         reported by Kayvan
5444
5445 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
5446
5447         * paragraph.C (getChar): add strong asserts
5448
5449         * lyxrow_funcs.C (lastPos): remove hideous hack
5450
5451         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5452         (fill): adjust to that (avoid an infinite loop)
5453
5454 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5455
5456         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5457
5458 2003-10-23  André Pönitz  <poenitz@gmx.net>
5459
5460         * RowList_fwd.h: change list<> to vector<> to gain speed
5461         after suggestion from Alfredo
5462
5463 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5464
5465         * lyxtext.h: move the bidi stuff from here...
5466         * text.C: and here
5467         * text2.C: and here
5468         * Bidi.[Ch]: ... to here
5469
5470 2003-10-23  André Pönitz  <poenitz@gmx.net>
5471
5472         * lyxtext.h:
5473         * text.C (isLastRow, isFirstRow): new functions
5474
5475         * paragraph.h: new width cache member
5476
5477         * rowpainter.C: replace RowList::iterator with Row & where possible
5478
5479         * lyxfunc.C: replace several view()->text with a single call
5480
5481         * toc.C: fix 'unused' warning
5482
5483 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5484
5485         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5486         when woring with stream::pos_type
5487         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5488
5489 2003-10-22  André Pönitz  <poenitz@gmx.net>
5490
5491         * lyxtext.h:
5492         * text.C: use Row & instead of RowList::iterator
5493
5494         * lyxrow.h: rename end() to endpos()
5495
5496         * rowpainter.C:
5497         * text.C:
5498         * text2.C: adjust
5499
5500 2003-10-22  Angus Leeming  <leeming@lyx.org>
5501
5502         * buffer.[Ch] (fully_loaded): new member function, returning true
5503         only when the file has been loaded fully.
5504         Used to prevent the premature generation of previews and by the
5505         citation inset to prevent computation of the natbib-style label.
5506
5507         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5508         templates are all set up.
5509
5510         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5511
5512 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
5513
5514         * text.C: fixed an "oops" in the "is a bit silly"
5515         bug fix
5516
5517 2003-10-21  André Pönitz  <poenitz@gmx.net>
5518
5519         * FuncStatus.[Ch]: small stuff, whitespace
5520
5521         * lyxfont.[Ch]: operator<<() for debug reasons
5522
5523         * lyxfunc.C:
5524         * lyxrow_funcs.C:
5525         * lyxtext.h: whitespace, spelling
5526
5527         * paragraph.C: naming of variables
5528
5529         * text.C:
5530         * text2.C: small stuff
5531
5532
5533 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
5534
5535         * text.C: (1) finish off the inset display() work;
5536         (2) fix the "is a bit silly" bug (accessing char
5537         past end of par).
5538
5539 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
5540
5541         * text.C: re-introduce display() for insets, fixing the
5542         various bugs (stretch of line above, math inset
5543         positioning, ...)
5544
5545 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5546
5547         * text.C (rightMargin): remove spurious semicolon
5548
5549         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5550         1415)
5551
5552 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
5553
5554         * text3.C: fix one crash due to wrong cursor def
5555
5556 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5557
5558         * vc-backend.C (scanMaster): make the regex static
5559
5560         * LaTeX.C (scanAuxFile): make the regexs static
5561
5562         * text3.C (doInsertInset, dispatch, dispatch):
5563         * text2.C (cursorUp, cursorDown):
5564         * text.C (selectNextWordToSpellcheck):
5565         * BufferView_pimpl.C (dispatch):
5566         * lyxfunc.C (dispatch):  localDispatch -> dispatch
5567
5568 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5569
5570         * lyxsocket.C: include <cerrno>
5571
5572 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5573
5574         * lyxfunc.C (dispatch): remove textcache stuff
5575
5576         * bufferlist.C (release): remove textcache stuff
5577         (closeAll): ditto
5578
5579         * TextCache.C: delete file
5580         * TextCache.h: delete file
5581
5582         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5583
5584         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5585         delete of the bv_->text.
5586         (resizeCurrentBuffer): remove texcache stuff
5587         (workAreaResize): ditto
5588
5589 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5590
5591         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5592         action.
5593
5594 2003-10-16  André Pönitz  <poenitz@gmx.net>
5595
5596         * lyxrow.[Ch]:
5597         * paragraph.h:
5598         * rowpainter.C:
5599         * text.C:
5600         * text2.C:
5601         * text3.C: speed up by storing y positions per paragraph plus per-row
5602         offset instead of having a 'full' y position in the row.
5603
5604 2003-10-15  André Pönitz  <poenitz@gmx.net>
5605
5606         * iterators.[Ch]:
5607         * iterators.[Ch]:
5608         * undo.[Ch]: make undo aware of inner insets
5609
5610 2003-10-14  Angus Leeming  <leeming@lyx.org>
5611
5612         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5613         static member functions LyX::ref() and LyX::cref.
5614         (lastfiles): new accessor functions for the new lastfiles_ member var.
5615         (addLyXView, views_): add a new LyXView to the list of views_.
5616         (updateInset): loop over all LyXViews to call their own updateInset
5617         member function, returning a pointer to the Buffer owning the inset.
5618
5619         * BufferView_pimpl.C (loadLyXFile):
5620         * MenuBackend.C (expandLastfiles):
5621         * bufferlist.C (MenuWrite, QuitLyX):
5622         lastfiles is no longer a global variable.
5623         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5624
5625         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5626         static function. Access through LyX::cref().emergencyCleanup().
5627
5628 2003-10-14  André Pönitz  <poenitz@gmx.net>
5629
5630         * iterators.[Ch]: new direct access to innermost LyXText and Inset
5631
5632         * undo.[Ch]: restoring part of 'undo in insets'
5633
5634         * Makefile.am:
5635         * undo_funcs.[Ch]: merge with undo.[Ch]
5636
5637         * tabular.C: small cleansing stuff
5638
5639 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
5640
5641         * paragraph_funcs.C (readParToken): report unknown insets as error
5642         boxes. Use the outer paragraph as location (also for unknown
5643         tokens).
5644
5645         * factory.C (readInset): do not abort on reading an unknown inset.
5646         Eat it and return 0.
5647
5648 2003-10-13  Angus Leeming  <leeming@lyx.org>
5649
5650         * lyx_main.C (LyX): remove call to setDisplayTranslator().
5651
5652         * lyxrc.C: displayTranslator is now a function,
5653         declared in GraphicsTypes.h.
5654
5655 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5656
5657         * format.C: new placeholder $$a to pass the socket address.
5658
5659         * bufferlist.[Ch]: new function getBufferFromTmp.
5660
5661         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5662           files in the temporary dir.
5663
5664 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5665
5666         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5667
5668         * Makefile.am: add lyxsocket.[Ch].
5669
5670         * lyx_main.C (error_handler): handle SIGPIPE.
5671
5672 2003-10-13  André Pönitz  <poenitz@gmx.net>
5673
5674         * BufferView_pimpl.C:
5675         * lyxtext.h:
5676         * text.C:
5677         * text2.C:
5678         * text3.C:
5679         * undo_funcs.[Ch]: use paroffset_type instead of
5680           ParagraphList::iterators to prevent multiple conversion
5681           (and get a more robust interface)
5682
5683 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5684
5685         * lyxfunc.C (dispatch): RESULT -> dispatch_result
5686         * lyxtext.h: ditto
5687         * text3.C (dispatch): ditto
5688
5689 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5690
5691         * LaTeX.C (handleFoundFile): move the static to smaller scope,
5692         move the onlyfile, use onlyfile instead of foundfile in a couple
5693         of places.
5694
5695         * DepTable.C (update): flush the error stream a bit more
5696
5697 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5698
5699         * lyxserver.C (callback): adjust
5700
5701         * lyxfunc.C (getStatus): add a missing brace in commented code
5702         (ensureBufferClean): reindent
5703         (dispatch): delete version taking a string
5704
5705 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5706
5707         * LaTeX.C (deplog): move found file handlig from here...
5708         (handleFoundFile): .. to new function here.
5709         (deplog): make sure to discover several files mentioned on the
5710         same log line.
5711
5712 2003-10-10  André Pönitz  <poenitz@gmx.net>
5713
5714         * lyxfunc.C:
5715         * lyxtext.h:
5716         * tabular.C:
5717         * text.C:
5718         * text2.C:
5719         * text3.C: fix some of the tabular crashes
5720
5721 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5722
5723         * MenuBackend.C (binding): put debug message into Debug::KBMAP
5724
5725         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5726
5727 2003-10-09  André Pönitz  <poenitz@gmx.net>
5728
5729         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5730
5731         * BufferView.C:
5732         * BufferView_pimpl.C:
5733         * bufferview_funcs.C:
5734         * lyx_cb.C:
5735         * lyxcursor.C:
5736         * lyxfind.C:
5737         * lyxfunc.C:
5738         * lyxtext.h:
5739         * text.C:
5740         * text2.C:
5741         * text3.C:
5742         * text_funcs.[Ch]:
5743         * textcursor.[Ch]:
5744         * undo_funcs.C: adjust
5745
5746 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5747
5748         * text2.C (incrementItemDepth): new function, use a backtracking
5749         algorithm to discover the correct item depth.
5750         (resetEnumCounterIfNeeded): new function, use a backtracking
5751         algorithm to discover if counter reset is needed.
5752         (setCounter): use them. Simplify a bit. Add different labels for
5753         different item depths for itemize.
5754
5755         * paragraph.C (Paragraph): remove initialization of enumdepth
5756         (operator=): ditto
5757
5758         * paragraph.h: get rid of enumdepth, and use itemdepth both for
5759         enumerate and itemize. Change the type of itemdepth to signed char.
5760
5761 2003-10-08  André Pönitz  <poenitz@gmx.net>
5762
5763         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5764           thing assignable.
5765         * text.C:
5766         * text2.C: adjust
5767
5768         * tabular.[Ch]: fix crash after 'row-insert'
5769
5770 2003-10-08  Angus Leeming  <leeming@lyx.org>
5771
5772         Fix doxygen warnings.
5773
5774         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5775         Remove CutAndPaste:: prefix from header file declaration.
5776
5777         * LColor.h (fill): remove LColor:: prefix from declaration.
5778
5779         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5780         use lyx::depth_type rather than Paragraph::depth_type so that
5781         header file and .C file match.
5782
5783         * converter.h (intToFormat): remove Converters:: prefix from declaration.
5784
5785         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5786         * aspell.C: \file aspell_local.C -> \file aspell.C
5787         * gettext.C: \file gettext.C -> \file src/gettext.C
5788         * gettext.h: \file gettext.h -> \file src/gettext.h
5789         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5790         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5791         * text.C: \file text.C -> \file src/text.C
5792
5793         * toc.C: move comment so that doxygen is not confused.
5794
5795 2003-10-07  Angus Leeming  <leeming@lyx.org>
5796
5797         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5798
5799 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5800
5801         * aspell.C:
5802         * aspell_local.h: add forgotten std::string's.
5803
5804 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5805
5806         * LaTeXFeatures.C:
5807         * LyXAction.C:
5808         * factory.C:
5809         * lfuns.h:
5810         * lyxfunc.C:
5811         * text3.C: The Box patch. Fancybox support, minipage, parbox
5812
5813 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5814
5815         * CutAndPaste.h:
5816         * DepTable.h:
5817         * FloatList.h:
5818         * LaTeXFeatures.h:
5819         * ParagraphParameters.h:
5820         * TextCache.h:
5821         * Thesaurus.h:
5822         * bufferlist.h:
5823         * exporter.h:
5824         * importer.h:
5825         * lastfiles.h:
5826         * lyxfind.h:
5827         * lyxfont.h:
5828         * lyxlex.h:
5829         * lyxtextclasslist.h:
5830         * messages.h:
5831         * paragraph.h:
5832         * paragraph_pimpl.C:
5833         * textcursor.h: add <string> and other small fixes to make Lars'
5834         std::string patch compile with STLport.
5835
5836 2003-10-06  Angus Leeming  <leeming@lyx.org>
5837
5838         * LColor.h: Add missing #include <string>.
5839
5840 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5841
5842         * All most all file in all subdirs: Make <string> be the prefered
5843         way of getting to std::string, add using declarations.
5844
5845 2003-10-06  André Pönitz  <poenitz@gmx.net>
5846
5847         * metricsinfo.C: initialize LyXFont before changing attribute.
5848         (fixes the 'math in \emph is upright' bug)
5849
5850 2003-10-06  André Pönitz  <poenitz@gmx.net>
5851
5852         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5853
5854 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
5855
5856         * graph.C:
5857         * paragraph_pimpl.C: Small fixes to build using STLport
5858
5859 2003-10-02  André Pönitz  <poenitz@gmx.net>
5860
5861         * lyxfunc.C:
5862         * text3.C: move handling of LFUN_DEPTH *; fix #1360
5863
5864 2003-10-01  André Pönitz  <poenitz@gmx.net>
5865
5866         * factory.C: assert early
5867
5868 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5869
5870         * lyx_main.C: remove the global debug object
5871
5872         * debug.h: adjust for new debugstream
5873
5874         * debug.C: adjust for new debugstream and keep the global debug
5875         object here.
5876
5877 2003-09-22  Angus Leeming  <leeming@lyx.org>
5878
5879         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5880         of g++ which otherwise complain that the scoped_ptr destructor can't delete
5881         an incomplete class LyXFont.
5882
5883 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
5884
5885         * factory.C: bug fix in branches
5886
5887 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5888
5889         * lyxfunc.C (processKeySym): adjust
5890         (dispatch): adjust
5891         (dispatch): change arg name from ev to func, adjust
5892         (sendDispatchMessage): ditto
5893
5894         * lyx_main.C (defaultKeyBindings): adjust keybindings
5895         (deadKeyBindings): ditto
5896
5897         * kbsequence.C (addkey): return a FuncRequest
5898
5899         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5900
5901         * kbmap.C (bind): take a FuncRequest as arg, adjust
5902         (read): adjust
5903         (lookup): adjust
5904         (defkey): change to take a FuncRequest as arg, adjust
5905         (findbinding): take a FuncRequest as arg, adjust.
5906
5907         * funcrequest.h (operator=): added
5908
5909         * funcrequest.C (FuncRequest): default kb_action changed from
5910         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5911
5912         * buffer.C (dispatch): simplify
5913         (dispatch): adjust to take a FuncRequest as arg, adjust
5914
5915         * boost.C (assertion_failed): change assertion message slightly
5916
5917         * ToolbarBackend.C (read): simplify
5918
5919         * MenuBackend.C (binding): adjust call to findbinding, add a
5920         message if no binding is found.
5921         (read): simplify
5922         (expandToc): correct by adding a empty FuncRequest
5923
5924         * LyXAction.C: include <boost/assert.hpp>
5925         (isPseudoAction): delete function
5926         (LookupFunc): change name to...
5927         (lookupFunc): this. change return type to FuncRequest.
5928         (getActionName): take kb_action as arg, simplify
5929         (funcHasFlag): add an assert, simplify.
5930
5931 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5932
5933         * toc.C (action): return a FuncRequest, simplify
5934
5935         * lyxfunc.C (processKeySym): adjust
5936         (getStatus): delete version that takes an int.
5937         (getStatus): adjust
5938         (dispatch): delete version that takes action as int
5939         (dispatch): adjust
5940         (sendDispatchMessage): simplify and adjust
5941
5942         * funcrequest.C (getArg): take unsigned int as arg
5943
5944         * ToolbarBackend.C (read): adjust
5945         (add): delete version that takes func as a string.
5946         (getIton): take a FuncRequest as arg
5947
5948         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5949         action.
5950
5951         * MenuBackend.C (MenuItem): add a new construct that only takes a
5952         Kind, simplify the constructor use for submenus.
5953         (add): adjust
5954         (expandLastfiles): adjust
5955         (expandDocuments): adjust
5956         (expandFormats): adjust
5957         (expandFloatListInsert): adjust
5958         (expandFloatInsert): adjust
5959         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5960
5961         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5962         Remove class variables lyx_pseudo_map and lyx_arg_map
5963
5964         * LyXAction.C (searchActionArg): delete function
5965         (getPseudoAction): delete function
5966         (retrieveActionArg): delete function
5967         (LookupFunc): make it return kb_action, simplify.
5968         (getActionName): simplify
5969
5970         * factory.C (createInset): fix new bug
5971
5972 2003-09-19  Angus Leeming  <leeming@lyx.org>
5973
5974         * CutAndPaste.C (pasteSelection): remove fudge used to set the
5975         masterFilename_ parameter in the include inset.
5976
5977         * factory.C (createInset): changes due to the changes to InsetInclude.
5978
5979 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5980
5981         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5982
5983 2003-09-18  Angus Leeming  <leeming@lyx.org>
5984
5985         * buffer.C:
5986         * BufferView.C: pass the buffer when calling Inset::getLabelList,
5987         Inset::fillWithBibKeys.
5988         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5989
5990 2003-09-18  Angus Leeming  <leeming@lyx.org>
5991
5992         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5993         variables.
5994         (ctor): pass and store a 'Buffer const &'
5995         (buffer): new member function.
5996
5997         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5998         '*this' to the LaTeXFeatures ctor.
5999
6000 2003-09-18  Angus Leeming  <leeming@lyx.org>
6001
6002         * LColor.h:
6003         * lyxfont.C:
6004         * lyxfont.h:
6005         * lyxtext.h:
6006         * text.C: rename EnumLColor as LColor_color.
6007
6008 2003-09-18  Angus Leeming  <leeming@lyx.org>
6009
6010         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
6011         remove #include "insets/insetbase.h" from cursor.h.
6012
6013 2003-09-18  Angus Leeming  <leeming@lyx.org>
6014
6015         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
6016         InsetOld_code to remove #include "inset.h".
6017
6018         * iterators.C: add #include "insets/inset.h"
6019
6020 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
6021
6022         * BufferView.C: remove more locking stuff that apparently doesn't
6023         do anything sensible.
6024
6025 2003-09-16  André Pönitz  <poenitz@gmx.net>
6026
6027         * paragraph.[Ch]:
6028         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
6029           performance boost.
6030
6031 2003-09-16  Angus Leeming  <leeming@lyx.org>
6032
6033         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
6034
6035         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
6036         arg/return type.
6037
6038         * paragraph.h: remove #include "lyxfont.h". Forward declare
6039         LyXFont_size.
6040
6041 2003-09-16  Angus Leeming  <leeming@lyx.org>
6042
6043         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
6044         of support/textutils.h.
6045         (isWord): move the contents of support/textutils.h's IsWordChar here.
6046
6047         * buffer.C:
6048         * lyxfind.C:
6049         * rowpainter.C:
6050         * text.C:
6051         * text2.C: add #include "paragraph.h".
6052
6053         * rowpainter.C:
6054         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
6055
6056 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6057
6058         * main.C:
6059         * lyx_main.C:
6060         * lyx_cb.C:
6061         * buffer.C:
6062         * LaTeX.C: use namespace alias for lyx::support::os
6063
6064 2003-09-16  Angus Leeming  <leeming@lyx.org>
6065
6066         * bufferparams.C:
6067         * bufferview_funcs.C:
6068         * factory.C:
6069         * lyxfunc.C:
6070         * paragraph_pimpl.C:
6071         * rowpainter.C:
6072         * text.C: add #include "LColor.h".
6073
6074 2003-09-16  Angus Leeming  <leeming@lyx.org>
6075
6076         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
6077         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
6078         return LyXFont &.
6079         Store the FontBits::color variable as an int rather than as an
6080         LColor::colorso that we can move LColor.h out of the lyxfont.h header
6081         file.
6082
6083         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
6084         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
6085         string calls together.
6086
6087         * lyxrc.C: add #include "LColor.h".
6088
6089 2003-09-15  Angus Leeming  <leeming@lyx.org>
6090
6091         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
6092         a cow_ptr.
6093
6094 2003-09-15  Angus Leeming  <leeming@lyx.org>
6095
6096         * LColor.h: add an EnumLColor wrapper for LColor::color.
6097
6098         * lyxfont.[Ch] (color, setColor, realColor):
6099         * lyxtext.h, text.C (backgroundColor):
6100         pass EnumLColor args to/from the functions, rather than LColor::color
6101         ones.
6102
6103         * lyxfont.h:
6104         * lyxtext.h: forward declare EnumLColor.
6105
6106         * lyx_main.C: add #include "LColor.h".
6107
6108 2003-09-15  Angus Leeming  <leeming@lyx.org>
6109
6110         * .cvsignore: add lyx-gtk.
6111
6112 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6113
6114         * Chktex.C
6115         * LaTeX.C
6116         * LaTeXFeatures.C
6117         * ParagraphParameters.C
6118         * Spacing.C
6119         * buffer.C
6120         * bufferparams.C
6121         * bufferview_funcs.C
6122         * chset.C
6123         * counters.C
6124         * funcrequest.C
6125         * lyxfont.C
6126         * lyxgluelength.C
6127         * lyxlength.C
6128         * paragraph.C
6129         * paragraph_funcs.C
6130         * text3.C
6131         * vc-backend.C: remove usage of STRCONV
6132
6133 2003-09-15  Angus Leeming  <leeming@lyx.org>
6134
6135         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
6136         explicitly define the color passed to the painter.
6137
6138 2003-09-15  Angus Leeming  <leeming@lyx.org>
6139
6140         * bufferparams.C (BufferParams): reorder member initializers to avoid
6141         compiler warning.
6142
6143 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
6144
6145         * CutAndPaste.C (pasteSelection): remove an outdated #warning
6146         * text.C (updateRowPositions): remove an unusual nop
6147
6148 2003-09-12  André Pönitz  <poenitz@gmx.net>
6149
6150         * BufferView_pimpl.C:
6151         * Bullet.C:
6152         * layout.h:
6153         * lyxfunc.C:
6154         * lyxlayout.[Ch]:
6155         * lyxtextclass.C:
6156         * rowpainter.C:
6157         * text.C:
6158         * text2.C:
6159         * Counters.[Ch]: finish the 'automatic counters' job
6160
6161 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6162
6163         * aspell.C: include <boost/assert.cpp> (compile fix)
6164
6165 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
6166
6167         * boost.C (assertion_failed): use lyx::support::abort instead of
6168         assert.
6169
6170 2003-09-10  Angus Leeming  <leeming@lyx.org>
6171
6172         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
6173         with their _fwd progeny.
6174
6175 2003-09-09  Angus Leeming  <leeming@lyx.org>
6176
6177         134 files throughtout the source tree: replace 'using namespace abc;'
6178         directives with the appropriate 'using abc::xyz;' declarations.
6179
6180 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
6181
6182         * boost.C (emergencyCleanup): moved here from LAssert.c
6183         (assertion_failed): new function, called by BOOST_ASSERT
6184
6185         * several files: change Assert to BOOST_ASSERT
6186
6187 2003-09-09  Angus Leeming  <leeming@lyx.org>
6188
6189         * buffer.[Ch]: Add an Impl class and move Buffer's member
6190         variables into it. As a result move several header files out of
6191         buffer.h.
6192
6193         Add header files to lots of .C files all over the tree as a result.
6194
6195 2003-09-09  Angus Leeming  <leeming@lyx.org>
6196
6197         * buffer.[Ch]: make Buffer's member variables private. Add
6198         accessor functions.
6199
6200         Lots of changes all over the tree as a result.
6201
6202 2003-09-08  Angus Leeming  <leeming@lyx.org>
6203
6204         * graph.C: #include <config.h>.
6205
6206 2003-09-08  Angus Leeming  <leeming@lyx.org>
6207
6208         * BranchList.C:
6209         * BufferView.C:
6210         * BufferView_pimpl.C:
6211         * CutAndPaste.C:
6212         * DepTable.C:
6213         * LaTeX.C:
6214         * LaTeXFeatures.C:
6215         * LyXAction.C:
6216         * MenuBackend.C:
6217         * TextCache.C:
6218         * aspell.C:
6219         * buffer.C:
6220         * bufferlist.C:
6221         * changes.C:
6222         * chset.C:
6223         * converter.C:
6224         * counters.C:
6225         * debug.C:
6226         * graph.C:
6227         * ispell.C:
6228         * lyx_cb.C:
6229         * lyxfind.C:
6230         * lyxfunc.C:
6231         * lyxlex_pimpl.C:
6232         * lyxrc.C:
6233         * lyxrow.C:
6234         * paragraph.C:
6235         * rowpainter.C:
6236         * texrow.C:
6237         * text.C:
6238         * text2.C:
6239         * toc.C: remove redundant using directives.
6240
6241 2003-09-07  Angus Leeming  <leeming@lyx.org>
6242
6243         * LaTeXFeatures.h: remove #include "support/types.h".
6244         * ToolbarBackend.h: remove #include <algorithm>.
6245         * changes.h: remove #include <ctime>.
6246         * debug.h: remove #include <iosfwd>.
6247         * graph.h: remove #include "support/std_string.h".
6248         * lyx_main.h: remove #include <csignal>.
6249         * lyxlex_pimpl.h: remove #include <fstream>.
6250         * sgml.h: remove #include <algorithm>, <utility>.
6251         * toc.h: remove #include "support/std_ostream.h".
6252         Add #include <iosfwd>.
6253
6254 2003-09-07  Angus Leeming  <leeming@lyx.org>
6255
6256         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
6257
6258         * converter.h: forward declare LatexRunParams.
6259         * encoding.h: remove #include "lyxrc.h".
6260         * lyxtext.h: remove #include "LColor.h".
6261         * lyxtextclass.h: remove #include "support/types.h".
6262         * trans.h: remove #include "tex-accent.h".
6263         * trans_mgr.h: remove #include "tex-accent.h".
6264         * insets/inset.h: remove #include "support/types.h", <vector>.
6265         * insets/insetcollapsable.h: remove #include "LColor.h".
6266         * insets/insetinclude.h: remove #include "dimension.h".
6267         * insets/insetlatexaccent.h: remove #include "dimension.h".
6268         * insets/insetoptarg.h:: remove #include "insettext.h".
6269         * insets/insettext.h: remove #include "dimension.h",
6270         <boost/shared_ptr.hpp>
6271
6272         * insets/renderers.h: add #include "dimension.h".
6273         * insets/updatableinset.h: add #include "support/types.h".
6274
6275         * many .C files: Associated changes.
6276
6277 2003-09-06  Angus Leeming  <leeming@lyx.org>
6278
6279         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
6280         one, inside testInvariant.
6281
6282         * PrinterParams.C: new file.
6283         * PrinterParams.[Ch]: move the function bodies out of line.
6284
6285 2003-09-06  Angus Leeming  <leeming@lyx.org>
6286
6287         * ParagraphParameters.h: forward declare ParameterStruct rather than
6288         including its header file.
6289         (depth): moved out-of-line.
6290
6291 2003-09-06  Angus Leeming  <leeming@lyx.org>
6292
6293         * BufferView_pimpl.h:
6294         * kbmap.h:
6295         * kbsequence.h:
6296         * lyxfunc.h: forward declare LyXKeySym rather than
6297         #include "frontends/LyXKeySym.h".
6298
6299         * BufferView_pimpl.C:
6300         * kbmap.C:
6301         * kbsequence.C:
6302         * lyxfunc.C: associated changes.
6303
6304 2003-09-06  Angus Leeming  <leeming@lyx.org>
6305
6306         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6307         As a result, can remove the #include "insets/inset.h" from BufferView.h
6308
6309 2003-09-06  Angus Leeming  <leeming@lyx.org>
6310
6311         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6312         As a result, can remove the #include "insets/inset.h" from BufferView.h
6313
6314 2003-09-06  Angus Leeming  <leeming@lyx.org>
6315
6316         * buffer_funcs.C:
6317         * buffer.h:
6318         * bufferlist.C:
6319         * BufferView.C:
6320         * bufferview_funcs.C:
6321         * BufferView_pimpl.C:
6322         * CutAndPaste.C:
6323         * lyx_cb.C:
6324         * lyxfunc.C:
6325         * paragraph.h:
6326         * ParagraphParameters.C:
6327         * tabular.C:
6328         * text3.C:
6329         * toc.C:
6330         * undo_funcs.C:
6331         * frontends/controllers/ControlDocument.C:
6332         * insets/insetcaption.C: rearrange the #includes into some sort of
6333         coherent order.
6334
6335         * buffer.h: remove #includes ErrorList.h, undo.h
6336
6337 2003-09-06  Angus Leeming  <leeming@lyx.org>
6338
6339         * support/types.h: add a 'depth_type' typedef, used to store the
6340         nesting depth of a paragraph.
6341
6342         * paragraph.h:
6343         * ParameterStruct.h: use this lyx::depth_type typedef rather than
6344         defining explicitly.
6345
6346         * buffer.h:
6347         * paragraph_funcs.h:
6348         * ParagraphParameters.h:
6349         * sgml.h: use lyx::depth_type rather than Paragraph or
6350         ParameterStruct's depth_type.
6351
6352         * buffer.h
6353         * paragraph_funcs.h: no need to #include paragraph.h anymore.
6354
6355         * BufferView.C:
6356         * BufferView_pimpl.C:
6357         * CutAndPaste.C:
6358         * ParagraphParameters.C:
6359         * buffer_funcs.C:
6360         * bufferlist.C:
6361         * bufferview_funcs.C:
6362         * lyx_cb.C:
6363         * lyxfunc.C:
6364         * tabular.C:
6365         * text3.C:
6366         * toc.C:
6367         * undo_funcs.C:
6368         * frontends/LyXView.C:
6369         * frontends/controllers/ControlDocument.C:
6370         * frontends/controllers/ControlErrorList.C:
6371         * insets/insetbibitem.C:
6372         * insets/insetbranch.C:
6373         * insets/insetcaption.C:
6374         * insets/insetcollapsable.C:
6375         * insets/insetenv.C:
6376         * insets/insetert.C:
6377         * insets/insetfloat.C:
6378         * insets/insetfoot.C:
6379         * insets/insetfootlike.C:
6380         * insets/insetnewline.C:
6381         * insets/insetquotes.C:
6382         * insets/insettabular.C:
6383         * insets/insettext.C:
6384         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
6385
6386         * frontends/controllers/ControlChanges.C: #include "changes.h".
6387
6388 2003-09-06  Angus Leeming  <leeming@lyx.org>
6389
6390         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
6391         than #including paragraph.h.
6392
6393         * ParagraphList.h:
6394         * RowList.h: deleted. Superfluous.
6395
6396         * CutAndPaste.h:
6397         * iterators.h:
6398         * lyxcursor.h:
6399         * lyxtext.h:
6400         * text_funcs.h:
6401         * undo.h:
6402         * undo_funcs.h:
6403         * insets/inset.h:
6404         * insets/insettext.h: use ParagraphList_fwd.h rather than
6405         ParagraphList.h.
6406
6407         * paragraph.h: don't forward declare ParagraphList.
6408
6409         * buffer.h:
6410         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
6411         rather than ParagraphList.h. paragraph.h is still needed for the
6412         Paragraph::depth_type parameters.
6413
6414         * textcursor.h: enable it to compile stand-alone in light of the
6415         above changes.
6416
6417         * bufferview_funcs.C:
6418         * iterators.C:
6419         * lyxfunc.C:
6420         * lyxrow_funcs.C:
6421         * paragraph.C:
6422         * rowpainter.C:
6423         * text.C:
6424         * text2.C:
6425         * text3.C:
6426         * text_funcs.C:
6427         * textcursor.C:
6428         * undo.C:
6429         * frontends/controllers/ControlParagraph.C:
6430         * frontends/controllers/ControlTabular.C:
6431         * insets/insetmarginal.C:
6432         * insets/insetminipage.C:
6433         * insets/insetnote.C:
6434         * insets/insetoptarg.C: add header files needed to compile again.
6435
6436 2003-09-06  Angus Leeming  <leeming@lyx.org>
6437
6438         * RowList_fwd.h: new file, forward-declaring Row rather than
6439         #including lyxrow.h.
6440
6441         * lyxrow_funcs.h:
6442         * lyxtext.h:
6443         * paragraph.h:
6444         * insets/insettext.h: use it instead of RowList.h
6445
6446         * bufferview_funcs.C:
6447         * lyxfunc.C:
6448         * lyxrow_funcs.C:
6449         * paragraph.C:
6450         * rowpainter.C:
6451         * text.C:
6452         * text2.C:
6453         * text3.C: #include "RowList.h".
6454
6455 2003-09-05  Angus Leeming  <leeming@lyx.org>
6456
6457         * factory.C (createInset):
6458         * vspace.C (c-tor): replace sscanf call with an istringstream.
6459         * ispell.C: re-add missing HP/UX headers.
6460         * lyxserver.C: re-add missing  os2 headers.
6461
6462 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
6463
6464         * BranchList.C:
6465         * graph.C:
6466         * ispell.C:
6467         * lastfiles.C:
6468         * lyx_cb.C:
6469         * lyxserver.C:
6470         * texrow.C:
6471         * text3.C: re-add missing system headers, needed for 2.95.2.
6472
6473 2003-09-05  Angus Leeming  <leeming@lyx.org>
6474
6475         Changes most place everywhere due to the removal of using directives
6476         from support/std_sstream.h.
6477
6478 2003-09-05  Angus Leeming  <leeming@lyx.org>
6479
6480         Replace LString.h with support/std_string.h,
6481         Lsstream.h with support/std_sstream.h,
6482         support/LIstream.h with support/std_istream.h,
6483         support/LOstream.h with support/std_ostream.h.
6484
6485         Changes resulting throughout the tree.
6486
6487 2003-09-05  Angus Leeming  <leeming@lyx.org>
6488
6489         * sgml.h: ensure that the header file can be compiled stand-alone.
6490         * *.C: strip out redundant #includes. (320 in total.)
6491
6492 2003-09-04  Angus Leeming  <leeming@lyx.org>
6493
6494         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6495         here (from getPackages).
6496
6497         * debug.[Ch]: add a new EXTERNAL tag.
6498
6499 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6500
6501         * text2.C (cursorEnd): simplify
6502         (setCursor): adjust
6503         (getColumnNearX): adjust
6504
6505         * text.C (computeBidiTables): adjust
6506         (fill): adjust
6507
6508         * rowpainter.C (paintChars): adjust
6509         (paintSelection): adjust
6510         (paintChangeBar): adjust
6511         (paintText): adjust
6512
6513         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6514         lastPos instead.
6515         (numberOfSeparators): adjust
6516
6517 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6518
6519         * LyXAction.C:
6520         * box.[Ch]:
6521         * lfuns.h:
6522         * lyxfunc.C:
6523         * text3.C: Restricts the mouse click functionality
6524         of insets like bibtex, include, toc and floatlist to the visible
6525         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6526         up the dialogs. Cursor has to be in front of the inset (i.e.
6527         start of row) for this to function.
6528
6529 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6530
6531         * bufferview_funcs.C (currentState): output row information
6532
6533 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6534
6535         * bufferview_funcs.C (currentState): output paragraph position
6536
6537 2003-09-04  Angus Leeming  <leeming@lyx.org>
6538
6539         * FloatList.h: move out #include "Floating.h".
6540         * LaTeX.h: move out #include "DepTable.h".
6541         * LyXAction.h: move out #include "funcrequest.h".
6542         * buffer.h: move out #include "author.h", "iterators.h".
6543         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6544         * lyx_main.h: move out #include "errorlist.h".
6545         * lyxfunc.h: move out #include "FuncStatus.h".
6546         * lyxtext: move out #include "lyxcursor.h".
6547         * paragraph_pimpl.h: move out #include "counters.h".
6548
6549 2003-09-03  Angus Leeming  <leeming@lyx.org>
6550
6551         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6552         preamble_snippets list, enabling us to add snippets to the preamble
6553         only if the snippet was not there already.
6554
6555 2003-09-04  Angus Leeming  <leeming@lyx.org>
6556
6557         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6558
6559 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6560
6561         * lyxfunc.C (dispatch): if fitCursor did something be sure to
6562         update
6563
6564 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6565
6566         * BranchList.C: point fix, earlier forgotten
6567
6568 2003-09-02  Angus Leeming  <leeming@lyx.org>
6569
6570         * box.C (contains): renamed from 'contained' after a fantastic
6571         amount of hot air.
6572
6573 2003-09-02  John Levon  <levon@movementarian.org>
6574
6575         * BufferView.C:
6576         * lyxcursor.h:
6577         * lyxcursor.C:
6578         * lyxfunc.C:
6579         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6580
6581 2003-09-02  John Levon  <levon@movementarian.org>
6582
6583         * text2.C: simplification of cursorEnd(), including partial
6584         fix for bug 1376
6585
6586 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6587
6588         * buffer.C (readFile): add a space
6589
6590 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
6591
6592         * BufferView_pimpl.C (update): remove bogus fitCursor() call
6593
6594 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6595
6596         * buffer.C (readFile): new function, take a filename and a
6597         ParagraphList::iterator
6598         (readFile): adjust
6599         (readFile): adjust, make it private. don't use setStream, make
6600         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6601         always contain the filename.
6602
6603         * BufferView.C (insertLyXFile): simplify and make it work for
6604         gzipped files.
6605
6606 2003-08-30  John Levon  <levon@movementarian.org>
6607
6608         * Makefile.am: fix dist (from Kayvan)
6609
6610 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6611
6612         * most files: change to use const Buffer refs
6613
6614 2003-08-27  André Pönitz  <poenitz@gmx.net>
6615
6616         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6617         on top of ownerPar().
6618
6619 2003-08-27  John Levon  <levon@movementarian.org>
6620
6621         * funcrequest.C: properly initialise POD members
6622
6623 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6624
6625         * lyxtext.h (top_y): move top_y from here
6626         * text.C:
6627         * text2.C:
6628         * text3.C:
6629         * BufferView.[Ch]:
6630         * BufferView_pimpl.[Ch]: to here
6631         * frontends/screen.C:
6632         * insets/insettabular.C:
6633         * insets/insettext.C: adjust
6634         * rowpainter.[Ch] (paintRows): remove LyXText & argument
6635
6636 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6637
6638         * BufferView.[Ch]:
6639         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6640
6641 2003-08-26  André Pönitz  <poenitz@gmx.net>
6642
6643         * paragraph_func.[Ch] (outerPar): new function
6644
6645         * paragraph.C:
6646         * paragraph_funcs.C:
6647         * paragraph_funcs.h:
6648         * paragraph_pimpl.C:
6649         * text2.C: remove Inset::par_owner
6650
6651 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
6652
6653         * lyxrow_funcs.C:
6654         * lyxtext.h:
6655         * text.C:
6656         * text2.C: eliminates the needFullRow/display() stuff
6657         altogether, putting the logic in metrics/draw in the insets.
6658
6659 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
6660
6661         * text2.C (redoParagraphInternal, redoParagraphs):
6662         * text.C (redoParagraph): add a call to updateRowPositions at the
6663         end of each 'metrics-like' call. Remove all others.
6664         (getRow): remove the 'y-computing' version.
6665         (getRowNearY): do not compute nor return the real y. Solve the
6666         'y < 0' problem and simplify.
6667
6668 2003-08-22  Angus Leeming  <leeming@lyx.org>
6669
6670         * *.[Ch]: clean-up of licence and author blurbs.
6671         Also move config.h out of a few .h files and into a few .C files.
6672
6673 2003-08-22  André Pönitz  <poenitz@gmx.net>
6674
6675         * lyxrow.[Ch]: add x_ and *fill_ members
6676
6677         * lyxtext.h:
6678         * text.C:
6679         * rowpainter.C:
6680         * text2.C: adjust/remove prepareToPrint() calls
6681
6682 2003-08-22  André Pönitz  <poenitz@gmx.net>
6683
6684         * lyxrow.[Ch]: add  end_ member
6685
6686         * lyxrow_funcs.C: use LyXRow::end_
6687
6688         * lyxtext.h (singleWidth): add LyXFont parameter
6689
6690         * rowpainter.C:
6691         * text2.C: adjust LyXText::singleWidth() calls
6692
6693         * text.C (redoParagraph): simplify row breaking logic
6694
6695
6696 2003-08-19  André Pönitz  <poenitz@gmx.net>
6697
6698         * funcrequest.C: initialize button_ member
6699
6700         * text3.C:
6701         * rowpainter.[Ch]: interface consolidation
6702
6703 2003-08-18  André Pönitz  <poenitz@gmx.net>
6704
6705         * BufferView.C:
6706         * BufferView_pimpl.C:
6707         * lyxfind.C:
6708         * paragraph_funcs.C:
6709         * rowpainter.C:
6710         * text3.C: remove LyXScreen::draw() and fitCursor calls
6711
6712         * BranchList.h: remove spurious semicolons
6713
6714         * MenuBackend.C: fix branchlist related crash
6715
6716 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
6717
6718         * BranchList.[Ch]:
6719         * InsetList.[Ch]:
6720         * LColor.[Ch]:
6721         * LyXAction.C:
6722         * Makefile.am:
6723         * MenuBackend.[Ch]:
6724         * bufferparams.[Ch]:
6725         * factory.C:
6726         * lfuns.h:
6727         * lyxfunc.C:
6728         * text3.C: implements the 'branch inset'
6729         idea. This allows the output of various versions of a document
6730         from a single source version, selectively outputing or suppressing
6731         output of parts of the text.
6732         This implementation contains a 'branch list editor' in a separate
6733         tab of the document settings dialog. Branches are user definable
6734         and have a "display colour" to distinguish them on-screen.
6735
6736         ColorHandler was somewhat cleaned up.
6737         (1) make possible a dynamically growing LColor list by allowing
6738         the graphic context cache to grow along (vector);
6739         (2) eliminate an IMHO unnecessary step in colour allocation.
6740
6741 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
6742
6743         * BufferView_pimpl.C: compile fix
6744
6745 2003-08-15  André Pönitz  <poenitz@gmx.net>
6746
6747         * rowpainter.C: remove extra metrics calls
6748
6749         * lyxtext.h: merge the two constructors into a single one,
6750           pass reference to owner's par list
6751
6752         * BufferView_pimpl.C:
6753         * text.C:
6754         * text2.C: adjust
6755
6756 2003-08-15  André Pönitz  <poenitz@gmx.net>
6757
6758         * lyxrow_funcs.[Ch]:
6759         * lyxtext.h:
6760         * paragraph.h:
6761         * paragraph_funcs.C:
6762         * rowpainter.C:
6763         * text.C:
6764         * text2.C:
6765         * text3.C:
6766         * text_funcs.C: split LyXText::rowlist_ into individual
6767         Paragraph::rows_ chunks
6768
6769         * BufferView.[Ch]:
6770         * BufferView_pimpl.[Ch]:
6771         * lyxfind.C:
6772         * lyxtext.h:
6773         * text3.C: remove toggleSelection()
6774
6775 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
6776
6777         * bufferlist.C: beautify two alerts (shorter text of buttons)
6778         * buffer.C: Remove redundant ' ' from message
6779         * tabular.h:
6780         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6781         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6782         rename VALIGN_CENTER to VALIGN_MIDDLE
6783
6784 2003-08-11  André Pönitz  <poenitz@gmx.net>
6785
6786         * lyxtext.h (getPar):
6787         * text.C: new function
6788
6789 2003-08-11  André Pönitz  <poenitz@gmx.net>
6790
6791         * Makefile.am:
6792         * tracer.[Ch]: remove unneeded files
6793
6794         * InsetList.[Ch]: remove resizeInsetsLyXText()
6795
6796         * lyxtext.h:
6797         * text.C:
6798         * text2.C:
6799         * text3.C: merge insertParagraphs() and appendParagraph()
6800         remove breakAgain(), update()
6801
6802         * BufferView_pimpl.[Ch]:
6803         * bufferview_funcs.[Ch]:
6804         * lyxfunc.C:
6805         * paragraph.[Ch]:
6806         * rowpainter.C:
6807         * tabular.C: adjust after text & InsetList changes.
6808
6809 2003-08-08  André Pönitz  <poenitz@gmx.net>
6810
6811         * text.C (insertChar, backspace): replace rowlist fiddling
6812         with rebreak of full par
6813
6814         * lyxtext.h:
6815         * text.C (breakAgainOneRow, redoHeightOfParagraph,
6816         checkParagraph, updateInset): removed
6817
6818 2003-08-07  André Pönitz  <poenitz@gmx.net>
6819
6820         * paragraph.C:
6821         * text3.C: merge some LFUN handlers, remove dead code
6822
6823 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6824
6825         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6826
6827 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
6828
6829         * text2.C (DEPM): fix part of bug 1255 and 1256
6830
6831 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6832
6833         * BufferView_pimpl.C (workAreaDispatch): change to use
6834         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6835         that are no mouse related.
6836
6837 2003-08-05  André Pönitz  <poenitz@gmx.net>
6838
6839         * BufferView.[Ch]:
6840         * BufferView_pimpl.[Ch]:
6841         * bufferview_funcs.C:
6842         * text2.C:
6843         * text3.C: rip out "deep update"
6844
6845         * textcursor.[Ch] (last_sel_cursor): remove unused member
6846
6847 2003-08-04  André Pönitz  <poenitz@gmx.net>
6848
6849         * BufferView.[Ch]:
6850         * BufferView_pimpl.[Ch]:
6851         * ParagraphParameters.C:
6852         * bufferview_funcs.C:
6853         * lyx_cb.C:
6854         * lyxfind.C:
6855         * lyxfunc.C:
6856         * text.C:
6857         * text2.C:
6858         * text3.C: replace "complicated" BufferView::update(...) calls with
6859         simpler ones.
6860
6861         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6862
6863 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
6864
6865         * Makefile.am (lyx_SOURCES): add paper.h
6866
6867 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6868
6869         * Makefile.am: move things around so that both lyx-qt and
6870         lyx-xforms can be built (according to --with-frontend). Then lyx
6871         is a symbolic link to lyx-[firstfrontend]
6872
6873 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
6874
6875         * Always use std::endl with lyxerr
6876
6877 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
6878
6879         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6880
6881 2003-08-01  André Pönitz  <poenitz@gmx.net>
6882
6883         * BufferView.[Ch]:
6884         * BufferView_pimpl.[Ch]:
6885         * lyxfunc.C:
6886         * text3.C: merge BufferView::repaint() and BufferView::update()
6887
6888 2003-08-01  José Matos  <jamatos@lyx.org>
6889
6890         * buffer.[Ch]: file_format is no longer a buffer data element.
6891
6892 2003-08-01  André Pönitz  <poenitz@gmx.net>
6893
6894         * BufferView.C:
6895         * lyxtext.h:
6896         * text.C:
6897         * text2.C: make redoParagraph more independent of current cursor
6898
6899         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6900         * text.C:
6901         * text2.C: remove unneeded members
6902
6903 2003-07-30  André Pönitz  <poenitz@gmx.net>
6904
6905         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6906
6907         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6908           create a single function...
6909
6910         * paragraph_funcs.C (moveItem): ... here.
6911
6912         * text.C:
6913           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6914
6915 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
6916
6917         * LColor.[Ch]: Add comment and greyedout logical colors.
6918
6919 2003-07-30  André Pönitz  <poenitz@gmx.net>
6920
6921         * tabular.C: don't use Assert too heavily. This crashes where it
6922           shouldn't
6923
6924 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
6925
6926         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6927         is disabled (bug 1232)
6928
6929 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6930
6931         * factory.C: limited 'arg' scope
6932
6933 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6934
6935         * factory.C: fixed Note submenu issues
6936
6937 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6938
6939         * factory.C: submenu for Note/Comment/Greyedout
6940
6941 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
6942
6943         * lyx_main.C (LyX):
6944         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6945
6946 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
6947
6948         * LaTeXFeatures.C:
6949         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6950         greyedout. Patch provided by Jürgen Spitzmüller.
6951
6952 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6953
6954         * kbmap.C (read): fix error message when reading bind files
6955
6956 2003-07-29  Angus Leeming  <leeming@lyx.org>
6957
6958         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6959         certainly does not do what it purports to do. I am doing it, and
6960         us, a favour by killing it.
6961
6962 2003-07-28  José Matos  <jamatos@lyx.org>
6963
6964         * buffer.C (readBody, do_writeFile):
6965         * paragraph.C(readParagraph): \end_document replaces \the_end.
6966
6967 2003-07-29  André Pönitz  <poenitz@gmx.net>
6968
6969         * BufferView.[Ch]:
6970         * BufferView_pimpl.[Ch]:
6971         * lyxfunc.C:
6972         * text2.C:
6973         * text3.C:
6974         * textcursor.[Ch]: remove toggleToggle & Co
6975
6976 2003-07-28  José Matos  <jamatos@fep.up.pt>
6977
6978         * buffer.C (readParagraph):
6979         * params_func (readParToken, readParagraph):
6980         * paragraph.C (write): \layout -> \begin_layout.
6981
6982 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6983
6984         * lyxlex_pimpl.C (setFile): clean up slightly.
6985
6986         * bufferparams.h: add compressed var
6987
6988         * buffer_funcs.C (readFile): adjust for LyXLex change
6989         (newFile): ditto + simplify
6990
6991         * buffer.C (writeFile): handle writing of compressed files
6992
6993         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6994         Check if the file is compressed and set a bufferparm if so.
6995
6996         * Makefile.am (lyx_LDADD): remove explicit -lz
6997
6998 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6999
7000         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
7001         makeDocBookFile): put the real LyX version in the first line of
7002         the file
7003
7004         * version.h:
7005         * version.C.in: remove lyx_docversion
7006
7007         * tabular.C (write_attribute): add a template-based version to
7008         write enums properly
7009
7010 2003-07-28  André Pönitz  <poenitz@gmx.net>
7011
7012         * lyxtext.h:
7013         * text.C:
7014         * text2.C:
7015         * text3.C: use doubles again for x-coordinates. They are needed.
7016
7017 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7018
7019         * messages.C (getLocaleDir): use lyx_localedir()
7020
7021         * lyxlex_pimpl.C (setFile): compress stuff
7022
7023         * buffer.C (writeFile): add some compression stuff
7024         (do_writeFile): new func, dont call expliti close... will this
7025         breake anything?
7026
7027         * Makefile.am (lyx_LDADD): add -lz
7028
7029 2003-07-28  José Matos  <jamatos@fep.up.pt>
7030
7031         * buffer.C: increment file format.
7032         * paragraph_funcs (readParagraph, readParToken):
7033         * paragraph.C (readParagraph): add \end_layout.
7034
7035 2003-07-27  Angus Leeming  <leeming@lyx.org>
7036
7037         * Makefile.am: remove special casing for configure-time setting of
7038         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
7039
7040         * lyx_main.C (init): remove all Jean-Marc's magic setting of
7041         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
7042
7043 2003-07-26  André Pönitz  <poenitz@gmx.net>
7044
7045         * paragraph_func.[Ch]:
7046         * paragraph.C (realizeFont): inline it whereever it is used
7047
7048         * rowpainter.C:
7049         * text.C:
7050         * text2.C:
7051         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
7052
7053
7054 2003-07-26  André Pönitz  <poenitz@gmx.net>
7055
7056         *       lyxtext.h:
7057         * text.C:
7058         * text2.C: get rid of LyXText::need_break_row
7059
7060 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7061
7062         * toc.[Ch]: put namespace toc inside namespace lyx
7063
7064         * MenuBackend.C (expandToc2): adjust for lyx::toc
7065         (expandToc): ditto
7066
7067         * lyxfunc.C (dispatch): adjust for lyx::find
7068
7069         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
7070         lyx::find instead. Reorganize a bit.
7071         (LyXReplace): rename to replace
7072         (LyXFind): rename to find
7073
7074         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
7075         (dispatch): ditto
7076
7077 2003-07-26  André Pönitz  <poenitz@gmx.net>
7078
7079         * text.C (setHeightOfRow): restrict scope of temporary variable
7080
7081         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
7082           code (never has been used?)
7083
7084 2003-07-27  Asger Alstrup  <alstrup@local>
7085
7086         * text.C (fill): Optimise algorithm to exploit that we can reuse
7087         the LyXFont for many characters.
7088         (setHeightOfRow): Same thing.
7089         (rowBreakPoint): Same thing.
7090
7091 2003-07-26  Asger Alstrup  <alstrup@local>
7092
7093         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
7094
7095         * text.C (singleWidth): Spurious font copying in hot-spot
7096         singleWidth avoided. Reorder tests for arabic for efficiency.
7097
7098         * text.C (fill): handle empty paragraphs better.
7099
7100 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7101
7102         * ispell.C:
7103         * encoding.h: add includes
7104
7105         * lyxrc.C: remove reading of bind files
7106
7107         * lyx_main.C (init): setup bindings and menus only if we have a
7108         gui.
7109
7110         * kbmap.C (read): new method. Do the actual reading of bind
7111         files.
7112
7113         * converter.C (dvipdfm_options):
7114         * bufferparams.C:
7115         * lyxrc.C (read):
7116         (output): adapt PAPER_* enums.
7117
7118         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
7119
7120         * bufferparams.h: remove paper-related enums from there
7121
7122         * paper.h: New file. A trivial header file to hold paper-related
7123         enums. It should later expand to contain many paper-related
7124         horrors access.
7125
7126         * lyxrc.C: declare extern displayTranslator
7127
7128 2003-07-27  José Matos  <jamatos@fep.up.pt>
7129
7130         * tabular.[Ch] (linuxdoc): add support for tables and figures
7131         (linuxdoc).
7132
7133 2003-07-27  José Matos  <jamatos@fep.up.pt>
7134
7135         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
7136         consistency in both functions.
7137         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
7138
7139 2003-07-26  Asger Alstrup  <alstrup@local>
7140
7141         * rowpainter.C (paintRows): Change algorithm to work directly on
7142         the insets rather than asking every character in the document
7143         whether its an inset.
7144
7145 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
7146
7147         * buffer.C (openFileWrite): factorize some code
7148
7149 2003-07-26  Angus Leeming  <leeming@lyx.org>
7150
7151         * lyx_cb.C:
7152         * lyx_main.[Ch]: replace occurances of system_tempdir with
7153         os::getTmpDir().
7154
7155 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7156
7157         * rename Inset to InsetOld
7158
7159 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
7160
7161         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
7162         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
7163         which I think is a bit clearer. EDIT is gone, since it was
7164         premature optimisation, and broken for mathed anyway.
7165         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
7166         with cursor positioning in insets as well (math insets still do not
7167         work, but that's a different story anyway.) It mysteriously
7168         crashes sometimes with undo in the first paragraph, but I'm fairly
7169         confident that this is a compiler bug.
7170
7171 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7172
7173         * paragraph.C (Paragraph): adjust for new clone return type
7174         (operator==): ditto
7175         (copyIntoMinibuffer): ditto
7176
7177 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
7178
7179         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
7180         by not having a special case, and always doing a full rebreak of
7181         the document after undo.
7182
7183 2003-07-23  Angus Leeming  <leeming@lyx.org>
7184
7185         * factory.C (createInset): InsetExternal::setParams now takes a
7186         Buffer const * arg.
7187
7188 2003-07-23  Angus Leeming  <leeming@lyx.org>
7189
7190         * factory.C (createInset): changed interface to the external and
7191         graphics mailers' string2params functions.
7192
7193 2003-07-23  Angus Leeming  <leeming@lyx.org>
7194
7195         * factory.C (createInset): pass a
7196         Buffer const * parameter to InsetExternalMailer's string2params.
7197
7198 2003-07-22  John Levon  <levon@movementarian.org>
7199
7200         * Thesaurus.h: include the right aiksaurus header
7201
7202 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7203
7204         * MenuBackend.C (expand): check menu shortcuts unconditionally
7205
7206 2003-07-21  Angus Leeming  <leeming@lyx.org>
7207
7208         * factory.C (createInset): pass a
7209         buffer_path parameter to InsetGraphicsMailer's string2params.
7210
7211 2003-07-21  Angus Leeming  <leeming@lyx.org>
7212
7213         * BufferView_pimpl.C (buffer):
7214         * buffer.C (d-tor):
7215         * lyx_main.C (LyX):
7216         * lyxfunc.C (dispatch):
7217         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
7218         rather than the grfx shortcut.
7219
7220 2003-07-21  André Pönitz  <poenitz@gmx.net>
7221
7222         * rowpainter.C: remove unused variables
7223
7224         * tabular_funcs.C:
7225         * tabular_funcs.h: move to tabular.C
7226         * Makefile.am: adjust
7227
7228         * tabular.[Ch]: basic optical cleaning
7229
7230         * author.h: pass references, not values
7231
7232 2003-07-18  André Pönitz  <poenitz@gmx.net>
7233
7234         * lyxtext.h:
7235         * metricsinfo.C:
7236         * metricsinfo.h:
7237         * rowpainter.C:
7238         * text.C:
7239         * text2.C:
7240         * text3.C: two-phase drawing for InsetText and InsetTabular
7241         some float -> int changes.
7242
7243 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
7244
7245         * lyx_main.C: fix the fix
7246
7247 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
7248
7249         * lyx_main.C: fix a crash in batch mode if no files specified
7250         * converter.C: ws
7251
7252 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
7253
7254         * format.[Ch] (papersize): moved to BufferParams
7255         * converter.[Ch] (dvips_options): moved to BufferParams
7256         (dvipdfm_options): moved to anon namespace
7257         * bufferparams.[Ch]: added above functions.
7258
7259 2003-07-17  André Pönitz  <poenitz@gmx.net>
7260
7261         * lyxtext.h:
7262         * rowpainter.C:
7263         * text2.C: don't call inset->update() anymore
7264
7265         * metricsinfo.[Ch]: add convenience constructor
7266
7267 2003-07-16  André Pönitz  <poenitz@gmx.net>
7268
7269         * lyxcursor.[Ch]:
7270         * lyxfunc.[Ch]:
7271         * text.C:
7272         * text2.C: replace the LyXCursor::irow_ member with
7273          on-demand computation of the value
7274
7275 2003-07-16  John Levon  <levon@movementarian.org>
7276
7277         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
7278
7279 2003-07-15  André Pönitz  <poenitz@gmx.net>
7280
7281         * text.C:
7282         * text2.C: remove no more needed refresh_row
7283
7284 2003-07-15  André Pönitz  <poenitz@gmx.net>
7285
7286         * lyxtext.h:
7287         * rowpainter.C:
7288         * text2.C:
7289         * text3.C: refresh_status tristate -> need_update bool
7290
7291 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
7292
7293         * lyxtext.h (init): remove reinit argument (act as if always true)
7294         * text2.C: adjust to that
7295
7296 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7297
7298         * bufferview_funcs.[Ch]: introduce function replaceSelection()
7299         * text3.C: use it to delete selections in some cases
7300         (bugs 441, 673, 702, 954).
7301
7302 2003-07-14  André Pönitz  <poenitz@gmx.net>
7303
7304         * rowpainter.[Ch]: reduce interface
7305
7306 2003-07-14  André Pönitz  <poenitz@gmx.net>
7307
7308         * BufferView_pimpl.C:
7309         * text2.C: adjust after removing unused BufferView * argument
7310
7311 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
7312
7313         * text2.C (init): fix a crash fired on resize
7314
7315 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
7316
7317         * buffer.[Ch]: added new closing signal
7318         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
7319         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
7320         BufferView::Pimpl via the closing the signal
7321
7322 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
7323
7324         * buffer.[Ch]: take out all bv-related from buffer
7325         * BufferView.C:
7326         * BufferView_pimpl.[Ch]: connect to new signals
7327         * CutAndPaste.C: removed useless asserts
7328         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
7329         * lyxvc.[Ch]:
7330         * vc-backend.[Ch]:
7331         * lyxfunc.C: moved view-related funciontality from vc here
7332         * paragraph.C: removed outdated comments
7333         * text.C: ws
7334
7335 2003-07-10  André Pönitz  <poenitz@gmx.net>
7336
7337         * BufferView_pimpl.C:
7338         * tabular.h:
7339         * tabular_funcs.C:
7340         * text.C:
7341         * text2.C: remove InsetText::InnerCache, clean up consequences
7342
7343 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
7344
7345         * ispell.C: fix two typos in error messages
7346
7347 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
7348
7349         * Extend Note inset to other forms of annotation like Comment
7350         and Greyedout. Right button click gives dialog.
7351
7352         Files modified or added (+):
7353
7354         * insetnote.[Ch]
7355         * FormNote.[Ch]      +
7356         * ControlNote.[Ch]   +
7357         * form_note.fd       +
7358         * Makefile.am in frontends/xforms, frontends/xforms/forms,
7359         frontends/controllers
7360         * xforms/Dialogs.C
7361         * factory.C
7362
7363 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7364
7365         * aspell.C: add missing namespace lyx::support
7366
7367 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
7368
7369         * BufferView.[Ch] (newFile): Add
7370         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
7371         * LaTeX.[Ch] (message): added this signal and use it
7372         * buffer.[Ch] (busy, message): added these signals and use them
7373         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
7374         * converter.C:
7375         * exporter.C:
7376         * format.C:
7377         * importer.C: use buffer signals instead of direct bv calling
7378         * lyx_cb.[Ch] (ShowMessage): removed
7379         * lyx_main.C:
7380         * lyxfunc.C:
7381         * paragraph_funcs.C:
7382         * text2.C: use buffer signals
7383
7384 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7385
7386         * introduce namespace lyx::graphics
7387
7388 2003-07-02  André Pönitz  <poenitz@gmx.net>
7389
7390         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
7391
7392 2003-07-01  André Pönitz  <poenitz@gmx.net>
7393
7394         * text.C:
7395         * text2.C:
7396         * text3.C:
7397         * text_funcs.[Ch]:
7398         * textcursor.h:
7399         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
7400           text*.C to text_func.C
7401
7402 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7403
7404         * introduce namespace lyx::support
7405
7406 2003-06-30  André Pönitz  <poenitz@gmx.net>
7407
7408         * Chktex.C:
7409         * funcrequest.C:
7410         * lyxtext.h:
7411         * text.C: re-enable --with-included-string
7412
7413 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7414
7415         * textcursor.C: add <config.h>
7416
7417         * text.C (getWord): remove const from word_location arg
7418
7419         * lyxvc.C (getLogFile): fix const type order
7420
7421         * lyxtext.h: remove const from word_location arg, add arg name
7422
7423         * lyxlayout.h: currect type on labeltype.
7424
7425         * importer.C: correct \file
7426
7427         * converter.C (intToFormat): use std:: on ret val, ws changes
7428
7429         * bufferlist.h: correct \file
7430
7431         * buffer.C (makeLinuxDocFile): fix const type order
7432         (makeDocBookFile): ditto
7433         (fillWithBibKeys): use std:: on stdlib args.
7434
7435         * CutAndPaste.C: fix authors.
7436         (availableSelections): use std:: on return vector
7437
7438 2003-06-27  André Pönitz  <poenitz@gmx.net>
7439
7440         * BufferView_pimpl.C:
7441         * bufferview_funcs.C:
7442         * lyxcursor.C:
7443         * lyxcursor.h:
7444         * lyxfunc.C:
7445         * lyxtext.h:
7446         * rowpainter.C:
7447         * text.C:
7448         * text2.C:
7449         * text3.C: remove LyXCursor::row_ member
7450
7451         * lyxtext.h:
7452         * text.C: rename fullRebreak() to partialRebreak() and implement
7453           a fullRebreak() that really bereks fully
7454
7455         * textcursor.h: new struct for cursor-related data
7456
7457 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
7458
7459         * lyx_main.C (LyX): get full path of document loaded on the
7460         command line
7461
7462 2003-06-26  André Pönitz  <poenitz@gmx.net>
7463
7464         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7465           remove unused/broken operator>,<,>=.
7466
7467         *       text.C: remove only use of broken operator<= in an Assert().
7468
7469 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7470
7471         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7472         moved errorlist_.clear to showErrorList
7473
7474 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7475
7476         * converter.C (scanLog, runLaTeX):
7477         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7478         move the bv->showErrorList call to the callers
7479         * lyxfunc.C: i.e. here...
7480         * text2.C: and here
7481         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7482         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7483         namespace, the second to...
7484         * buffer_funcs (BufferFormat, parseErrors): added
7485         * errorlist.C (ErrorList(TeXErrors const &)): removed
7486
7487 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7488
7489         * ToolbarBackend.C (getIcon): complain when icon cannot be found
7490
7491 2003-06-24  "Garst R. Reese" <reese@isn.net>
7492
7493         * debug.C: fix typo
7494
7495 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7496
7497         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7498
7499         * version.C.in: change docversion to 1.4
7500
7501 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
7502
7503         * buffer.C: fix a bug just introduced
7504
7505 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
7506
7507         * buffer.[Ch]: added the parseError signal and use it, removed
7508         sgmlError
7509         * BufferView.[Ch] (addError): moved to ...
7510         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7511         to the Buffer::parseError signal to catch (guess what) parse errors
7512         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7513
7514 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
7515
7516         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7517         ability to create a buffer and to return an existing one from
7518         the list. Moved these functions to...
7519         * buffer_funcs.[Ch]: added
7520         * BufferView.[Ch] (loadLyXFile): added
7521         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7522         job removed from bufferlist::loadLyXFile.
7523         * buffer.C (setReadOnly): make it work without view
7524         (i.e added an if (users))
7525
7526 2003-06-19  Angus Leeming  <leeming@lyx.org>
7527
7528         * lfuns.h:
7529         * LyXAction.C (init):
7530         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7531         with LFUN_DIALOG_SHOW <name> <data>.
7532
7533 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7534
7535         * CutAndPaste.C (availableSelections): small compilation fix for
7536         ancient (gcc 2.9x) compilers
7537
7538 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
7539
7540         * text3.C (cursorNext): add tmp var
7541
7542         * text2.C (updateCounters): for function calling out of for clause
7543         (replaceSelectionWithString): ditto
7544         (insertStringAsParagraphs): ditto
7545         (getColumnNearX): add tmp var
7546         (setCursorFromCoordinates): add tmp var
7547         (cursorDownParagraph): add tmp var
7548         (deleteEmptyParagraphMechanism): add tmp var
7549
7550         * text.C (insertChar): add tmp var
7551
7552         * rowpainter.C (paintDepthBar): add tmp var
7553
7554         * CutAndPaste.C (availableSelections): potentially check all
7555         paragraphs in a cut to fill the shown strings.
7556
7557 2003-06-18  André Pönitz  <poenitz@gmx.net>
7558
7559         * kbmap.[Ch]: use vector<> instead of list<>
7560
7561 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
7562
7563         * text3.C (dispatch): handle arg to LFUN_PASTE, call
7564         pasteSelection with index
7565
7566         * text2.C (pasteSelection): modify, call pasteSelection with index
7567
7568         * paragraph.C (asString): reimplement version with no interval to
7569         call the one with interval.
7570
7571         * lyxtext.h: add index arg to pasteSelection
7572
7573         * MenuBackend.C (MenuItem): handle PasteRecent
7574         (Menu::read::Menutags): add md_pasterecent
7575         (read): handle it
7576         (expandPasteRecent): new function
7577         (expand): use it
7578
7579         * MenuBackend.h: add PasteRecent to MenuItem::Kind
7580
7581         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7582         the limited stack
7583         (availableSelections): new function
7584
7585 2003-06-17  Angus Leeming  <leeming@lyx.org>
7586
7587         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7588
7589 2003-06-17  Angus Leeming  <leeming@lyx.org>
7590
7591         * lfuns.h:
7592         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7593
7594         * lyxfunc.C (dispatch): invoke it.
7595
7596 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7597
7598         * iterators.C (operator++, ParPosition): reintroduce some
7599         const_cast for the benefit of older compilers.
7600
7601 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7602
7603         * text3.C (dispatch): do not modify clipboard when doing
7604         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7605         LFUN_DELETE_SKIP on a selection selection
7606
7607 2003-06-16  André Pönitz  <poenitz@gmx.net>
7608
7609         * BufferView.C:
7610         * buffer.C:
7611         * buffer.h:
7612         * paragraph.C:
7613         * tabular.[Ch]: IU of clone() and getLabelList();
7614
7615 2003-06-13  André Pönitz  <poenitz@gmx.net>
7616
7617         * tabular.h: compactification
7618
7619 2003-06-12  André Pönitz  <poenitz@gmx.net>
7620
7621         * tabular.C:
7622         * tabular.h:
7623         * tabular_funcs.h: some renaming plus whitespace
7624
7625 2003-06-12  André Pönitz  <poenitz@gmx.net>
7626
7627         * BufferView.C:
7628         * BufferView_pimpl.C:
7629         * CutAndPaste.C:
7630         * buffer.C:
7631         * iterators.[Ch]:
7632         * lyxfunc.C:
7633         * text.C:
7634         * toc.C: Return a Paragraph & for ParIterator::operator*()
7635
7636 2003-06-11  John Levon  <levon@movementarian.org>
7637
7638         * lyx_main.C:
7639         * ToolbarBackend.h:
7640         * ToolbarBackend.C: add "Toolbars" section and
7641         put the flags there
7642
7643 2003-06-10  Angus Leeming  <leeming@lyx.org>
7644
7645         * lfuns.h:
7646         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7647
7648         * lyxfunc.C (dispatch): invoke it.
7649
7650 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7651
7652         * main.C: protect <ios> with HAVE_IOS
7653         (main): protect sync_with_stdio with HAVE_IOS
7654
7655 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
7656
7657         * text2.C (cutSelection): adjust
7658         (pasteSelection): adjust
7659
7660         * messages.C: handle get of empty string
7661
7662         * main.C (main): use sync_with_stdio(false)
7663
7664         * lyxfunc.C (dispatch): adjust
7665
7666         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7667         (WriteAs): remove unneeded BufferView arg.
7668
7669         * bufferparams.h: use correct types on papersize, papersize2 and
7670         paperpackage.
7671
7672         * bufferparams.C (readToken): adjust for type
7673         (writeLaTeX): add missing cases to switch.
7674
7675         * bufferlist.C (quitWriteBuffer): adjust
7676         (close): adjust
7677
7678         * buffer.C (asciiParagraph): remove some commented code.
7679
7680         * CutAndPaste.C: remove current_view extern variable.
7681         (cutSelection): add BufferParams arg.
7682         (eraseSelection): add BufferParams arg.
7683         (pasteSelection): add Buffer const & arg
7684
7685 2003-06-07  John Levon  <levon@movementarian.org>
7686
7687         * buffer.C:
7688         * paragraph_funcs.C:
7689         * paragraph_pimpl.C:
7690         * text.C:
7691         * text2.C:
7692         * paragraph.h:
7693         * paragraph.C: allow InsetERT to freely space lines,
7694         and some consolidation of code
7695
7696 2003-06-06  José Matos  <jamatos@fep.up.pt>
7697
7698         * buffer.C (makeDocBookFile): fix bug #821
7699
7700 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
7701
7702         * BufferView_pimpl.C (dispatch): use Dialogs::visible
7703
7704 2003-06-04  Angus Leeming  <leeming@lyx.org>
7705
7706         * buffer.C: bump format to 224.
7707
7708 2003-06-05  André Pönitz  <poenitz@gmx.net>
7709
7710         * text2.C (redoParagraphs): remove two const_cast<>
7711
7712 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
7713
7714         * ParagraphList.h: remove last remnants of NO_STD_LIST
7715
7716 2003-06-03  Angus Leeming  <leeming@lyx.org>
7717
7718         * factory.C (createInset): small change to the way InsetExternal's params
7719         are set.
7720
7721 2003-06-04  André Pönitz  <poenitz@gmx.net>
7722
7723         * buffer.h: use Undo directly instead of shared_ptr<Undo>
7724
7725         * paragraph_pimpl.h:
7726         * paragraph.[Ch]: some Inset -> UpdatableInset changes
7727
7728         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7729
7730         * undo_funcs.C: make some simple cases of undo work again
7731
7732 2003-06-03  John Levon  <levon@movementarian.org>
7733
7734         * ispell.C: HPUX doesn't have sys/select.h
7735         (from Albert Chin)
7736
7737 2003-06-03  John Levon  <levon@movementarian.org>
7738
7739         * CutAndPaste.C: update tabular and include inset
7740         buffer references
7741
7742         * buffer.h:
7743         * paragraph.h:
7744         * paragraph.C: remove owningBuffer(), don't pass Buffer
7745         to clone()
7746
7747         * factory.C: insetGraphicsParams changed
7748
7749 2003-06-02  John Levon  <levon@movementarian.org>
7750
7751         * LyXAction.C:
7752         * factory.C:
7753         * lfuns.h:
7754         * lyxfunc.C:
7755         * text3.C: remove insetparent
7756
7757 2003-06-02  John Levon  <levon@movementarian.org>
7758
7759         * buffer.h:
7760         * buffer.C: fix inset_iterator.end(), move out of line
7761         (bug 1149)
7762
7763 2003-06-01  John Levon  <levon@movementarian.org>
7764
7765         * text3.C: use a proper cut/paste when doing inset
7766         insert (from Jürgen Spitzmüller)
7767
7768 2003-06-01  John Levon  <levon@movementarian.org>
7769
7770         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7771
7772 2003-05-30  André Pönitz  <poenitz@gmx.net>
7773
7774         * rowpainter.C: unify second drawing phase
7775
7776 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7777
7778         * trans_mgr.C: remove one case of current_view
7779
7780         * text2.C (cursorBottom): delete NO_STD_LIST stuff
7781
7782         * paragraph_funcs.h: remove paragraph.h include
7783
7784         * paragraph.h: delete NO_STD_LIST stuff
7785
7786         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7787
7788         * buffer.h: remove paragraph.h include
7789
7790         * ParagraphList.C: delete file
7791
7792         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7793
7794         * toc.C (getTocList): adjust
7795
7796         * paragraph_pimpl.C (validate): adjust
7797
7798         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7799
7800         * paragraph.C (Paragraph): adjust
7801         (getPositionOfInset): use const_iterator, adjust
7802         (bibitem): use const_iterator, adjust
7803         (setInsetOwner): adjust
7804
7805         * iterators.C (operator++): adjust
7806
7807         * InsetList.[Ch]: Replace selfmade iterator with standard
7808         vector::iterator also introduce const_iterator. Remove getPos,
7809         getInset and setInset from InsetTable. Adjust accordingly.
7810
7811         * BufferView.C (lockInset): adjust
7812         (ChangeInsets): adjust
7813
7814         * tabular.[Ch]: delete commented same_id functions
7815
7816 2003-05-28  John Levon  <levon@movementarian.org>
7817
7818         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7819
7820 2003-05-28  André Pönitz  <poenitz@gmx.net>
7821
7822         * metricsinfo.[Ch]: remove 'fullredraw' member
7823
7824 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
7825
7826         * lyxtextclass.C (operator): remove caching.
7827
7828 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7829
7830         * text3.C: adjust
7831
7832         * text2.C (cursorBottom): adjust
7833         (setCounter): use ParagraphList::find, adjust
7834
7835         * text.C (workWidth): use ParagraphList::find, adjust
7836
7837         * lyxcursor.C (LyXCursor): adjust
7838
7839         * buffer.C (inset_iterator): adjust
7840
7841         * ParagraphList.h: make iterator(value_type) private, make
7842         ParagraphList a friend of iterator.
7843
7844         * ParagraphList.C (find): new function
7845
7846         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7847
7848 2003-05-27  André Pönitz  <poenitz@gmx.net>
7849
7850         * dimension.[Ch]: a -> asc, d -> des, w -> wid
7851
7852 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7853
7854         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7855
7856 2003-05-26  John Levon  <levon@movementarian.org>
7857
7858         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7859
7860 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7861
7862         * remove same_id from function signatures, adjust.
7863
7864 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7865
7866         * undo_funcs.C (createUndo): use the id functions directly, adjust.
7867
7868         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7869
7870         * paragraph.C (Paragraph): get rid of same_ids parameter
7871
7872         * ParagraphList.C (insert): adjust
7873         (push_back): adjust
7874
7875 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7876
7877         * paragraph_funcs.C (breakParagraph): adjust
7878         (breakParagraphConservative): adjust
7879
7880         * buffer.C (readParagraph): adjust
7881
7882         * ParagraphList.C (insert): take a reference instead of a pointer
7883         (insert): adjust
7884
7885         * paragraph.[Ch] (id): new function
7886
7887         * bufferlist.C (newFile): adjust
7888
7889         * ParagraphList.C (ParagraphList): adjust
7890         (assign): adjust
7891         (push_back): take a reference instead of a pointer.
7892
7893         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7894
7895         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7896         instead.
7897
7898         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7899         set else use old code.
7900
7901         * ParagraphList.C: remove all NO_NEXT code and only compile this
7902         code of NO_STD_LIST is set.
7903
7904 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7905
7906         * BufferView_pimpl.C:
7907         * TextCache.C:
7908         * TextCache.h:
7909         * bufferlist.C:
7910         * errorlist.h:
7911         * format.C:
7912         * format.h:
7913         * graph.C:
7914         * lyxfunc.C:
7915         * lyxrc.C:
7916         * graphics/GraphicsConverter.C:
7917         * graphics/PreviewLoader.C: header adjustment
7918
7919 2003-05-23  Angus Leeming  <leeming@lyx.org>
7920
7921         * LaTeXFeatures.[Ch] (useBabel): new method.
7922         * bufferparams.C (writeLaTeX): use it.
7923
7924 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7925
7926         * ParagraphList.h (set): remove unused function.
7927
7928 2003-05-23  André Pönitz  <poenitz@gmx.net>
7929
7930         * BufferView.C:
7931         * BufferView_pimpl.C:
7932         * buffer.C:
7933         * buffer.h:
7934         * lyxfunc.C:
7935         * undo_funcs.C: setUndo reworked
7936
7937         * iterators.[Ch]: add access to topmost ParagraphList
7938
7939         * lyxtext.[Ch] (workWidth): add a const
7940
7941 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7942
7943         * texrow.[Ch] (increasePos): remove function
7944         * exporter.C (export): removed unused var and outdated comment
7945
7946 2003-05-23  Angus Leeming  <leeming@lyx.org>
7947
7948         * latexrunparams.h: rename fragile as moving_arg.
7949         * paragraph.C (simpleTeXOnePar): ditto.
7950         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7951
7952 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7953
7954         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7955         (createUndo): ditto
7956         (textUndoOrRedo): comment out a currently unused var.
7957
7958         * paragraph.h (NO_NEXT): enable NO_NEXT
7959
7960         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7961
7962         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7963
7964         * exporter.C (Export): adjust for removeAutoInsets removal.
7965
7966         * buffer.C (runChktex): adjust for removeAutoInsets removal.
7967
7968         * LyXAction.C (init): remove LFUN_REMOVEERRORS
7969
7970         * BufferView.[Ch] (removeAutoInsets): delete function
7971
7972 2003-05-22  Angus Leeming  <leeming@lyx.org>
7973
7974         * latexrunparams.h: add a free_spacing variable.
7975
7976         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7977         to pass moving_arg, as the data is stored in runparams.fragile.
7978
7979         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7980         to Inset::latexOptional or to simpleTeXOnePar.
7981
7982         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7983         free_spacing arg to Inset::latexOptional.
7984
7985         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7986         free_spacing arg.
7987
7988 2003-05-22  Angus Leeming  <leeming@lyx.org>
7989
7990         * latexrunparams.h: add fragile and use_babel variables.
7991
7992         * bufferparams.[Ch] (writeLaTeX): return use_babel.
7993         * buffer.C (makeLaTeXFile): store this returned value in
7994         runparams.use_babel, thus passing it to the inset::latex methods.
7995
7996         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7997         simpleTeXSpecialChars as it is now stored in runparams.fragile.
7998
7999         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
8000         longer has a fragile arg, as it is stored in runparams.fragile.
8001
8002         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
8003         moving_arg parameter as the data is stored in runparams.fragile.
8004
8005         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
8006         a fragile parameter as the data is stored in runparams.fragile.
8007
8008 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8009
8010         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
8011
8012 2003-05-22  Angus Leeming  <leeming@lyx.org>
8013
8014         * latexrunparams.h: add a 'bool nice' which defaults to false.
8015
8016         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
8017         now encapsulated within runparams.
8018
8019         * bufferlist.C (updateIncludedTeXfiles):
8020         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
8021
8022 2003-05-22  Angus Leeming  <leeming@lyx.org>
8023
8024         * latexrunparams.h: new file containing struct LatexRunParams.
8025         * Makefile.am: add new file.
8026
8027         * LaTeX.[Ch] (c-tor, run):
8028         * buffer.[Ch] (makeLaTeXFile):
8029         * bufferlist.[Ch] (updateIncludedTeXfiles):
8030         * converter.C (convert, scanLog):
8031         * converter.[Ch] (runLaTeX):
8032         * exporter.C (Export):
8033         * paragraph.[Ch] (simpleTeXOnePar):
8034         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
8035         * paragraph_funcs.[Ch] (latexParagraphs):
8036         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
8037         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
8038         pass around a LatexRunParams parameter.
8039
8040 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8041
8042         * paragraph.[Ch]: remove unused constructor
8043
8044         * ParagraphList.C (erase): new function, taking two iterators
8045
8046 2003-05-22  André Pönitz  <poenitz@gmx.net>
8047
8048         * undo_funcs.C: remove duplicated code
8049
8050         * iterator.[Ch]: operator=
8051
8052 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8053
8054         * tabular.C (SetMultiColumn): ws changes
8055
8056         * rowpainter.C (paintFirst): get rid of a ->previous
8057
8058         * lyx_cb.C (getPossibleLabel): parlist simplification
8059
8060         * BufferView.C (ChangeInsets): simplify slightly.
8061
8062 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
8063
8064         * LyXAction.C: new lfun space-insert, kill protected-space-insert
8065         * lfuns.h: new LFUN_SPACE
8066         * lyxfunc.C: protected space has a new lfun
8067         * paragraph_funcs.C: read new space insets
8068         * text3.C:
8069         * factory.C: handle new space insets
8070
8071 2003-05-22  André Pönitz  <poenitz@gmx.net>
8072
8073         * BufferView.C:
8074         * BufferView_pimpl.C:
8075         * buffer.[Ch]:
8076         * lyxfunc.C:
8077         * undo_funcs.C: return a ParIterator from getParFromID.
8078
8079         * iterators.[Ch]: add two const's
8080
8081 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
8082
8083         * toc.C (getTocList): adjust
8084
8085         * iterators.[Ch]: rework for parlist
8086
8087         * buffer.C (par_iterator_begin): adjust
8088         (par_iterator_end): adjust
8089
8090         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
8091
8092         * BufferView.C (removeAutoInsets): adjust
8093         (ChangeInsets): adjust
8094
8095 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
8096
8097         * text.C (top_y): fix bug 1110
8098
8099 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
8100
8101         * errorlist.[Ch]: added
8102         * buffer.C:
8103         * BufferView.[Ch]:
8104         * BufferView_pimpl.C:
8105         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
8106         instead
8107
8108 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8109
8110         * Makefile.am: ensure that lyx is relinked upon changes to the
8111         various "convenience" libs.
8112
8113 2003-05-20  Angus Leeming  <leeming@lyx.org>
8114
8115         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
8116         files are compiled in alphabetical order again.
8117
8118         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
8119
8120 2003-05-19  Angus Leeming  <leeming@lyx.org>
8121
8122         * gettext.[Ch]: remove "char const * _(char const *)".
8123
8124 2003-05-19  André Pönitz  <poenitz@gmx.net>
8125
8126         * dimension.[Ch]: promote from mathed/dimension.[Ch]
8127
8128         * Makefile.am:
8129         * BufferView.C:
8130         * DepTable.h:
8131         * LaTeXFeatures.C:
8132         * buffer.C:
8133         * lyxfont.C:
8134         * lyxlex.h:
8135         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
8136
8137 2003-05-19  André Pönitz  <poenitz@gmx.net>
8138
8139         * buffer.C:
8140         * lyxlayout.[Ch]:
8141         * lyxtextclass.[Ch]:
8142         * paragraph.C:
8143         * paragraph_funcs.[Ch]:
8144         * text2.C:
8145         * text3.C: more insetenv work
8146
8147 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
8148
8149         * ParagraphParameters.C (params2string): small bug fixed
8150
8151 2003-05-16  André Pönitz  <poenitz@gmx.net>
8152
8153         * debug.C:
8154         * bufferview_funcs.C: patch from Kornel Benko to prevent
8155           crash when _(...) is called twice in a statement
8156
8157 2003-05-16  André Pönitz  <poenitz@gmx.net>
8158
8159         * BufferView.C:
8160         * lyxfunc.C:
8161         * text.C:
8162         * text2.C:
8163         * text3.C:
8164         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
8165
8166 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
8167
8168         * lyx_main.C (init): remove spurious static_cast
8169
8170 2003-05-14  André Pönitz  <poenitz@gmx.net>
8171
8172         * BufferView.C: fix format string
8173
8174 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
8175
8176         * BufferView.[Ch] (insertErrors): removed
8177         * BufferView.[Ch] (showErrorList): added
8178         * buffer.C (runChkTeX):
8179         * converter.C (scanLog): call showErrorList instead of inserterrors
8180
8181 2003-05-13  André Pönitz  <poenitz@gmx.net>
8182
8183         * BufferView_pimpl.C:
8184         * buffer.C:
8185         * bufferview_func.C:
8186         * MenuBackend.C:
8187         * lyxfunc.C:
8188         * lyxrc.C:
8189         * tex-accent.C:
8190         * text3.C:
8191         * toc.C:
8192         * tabular_funcs.h: tostr() from its own header
8193
8194         * ParagraphParameters.C:
8195         * ToolbarBackend.C:
8196         * bufferparams.C:
8197         * format.C:
8198         * lyxlex_pimpl.C:
8199         * text3.C: STRCONV()
8200
8201 2003-05-12  André Pönitz  <poenitz@gmx.net>
8202
8203         * BufferView.C:
8204         * BufferView_pimpl.C:
8205         * CutAndPaste.C:
8206         * LaTeX.C:
8207         * LaTeXFeatures.C:
8208         * ParagraphParameters.C:
8209         * buffer.C:
8210         * bufferlist.C:
8211         * bufferparams.C:
8212         * bufferview_funcs.C:
8213         * converter.C:
8214         * counters.C:
8215         * debug.C:
8216         * exporter.C:
8217         * format.C:
8218         * importer.C:
8219         * lyx_cb.C:
8220         * lyx_main.C:
8221         * lyxfont.C:
8222         * lyxfunc.C:
8223         * lyxvc.C:
8224         * paragraph.C:
8225         * paragraph_funcs.C:
8226         * tabular.C:
8227         * tabular_funcs.C:
8228         * text2.C:
8229         * text3.C:  boost::format -> bformat  all over the place
8230
8231
8232 2003-05-09  André Pönitz  <poenitz@gmx.net>
8233
8234         * LColor.[Ch]: Pimpl the #include <map> away
8235
8236 2003-05-09  John Levon  <levon@movementarian.org>
8237
8238         * bufferlist.C: never remove emergency saves
8239
8240 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8241
8242         * Makefile.am: better lib building
8243
8244 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
8245
8246         * texrow.[Ch]: remove dependency on Paragraph and just store a id
8247         instead.
8248         * paragraph_pimpl.C (simpleTeXBlanks): adjust
8249         (simpleTeXSpecialChars): adjust
8250         (simpleTeXSpecialChars): adjust
8251         * paragraph.C (simpleTeXOnePar): adjust
8252         * buffer.C (makeLaTeXFile): adjust
8253
8254         * Makefile.am (BOOST_LIBS): allow boost as system lib.
8255
8256         * text2.C (changeDepth): parlist cleanup
8257         (getColumnNearX): ditto
8258
8259         * rowpainter.C (getLabelFont): parlist cleanup
8260
8261         * bufferlist.C (newFile): parlist cleanup
8262
8263         * CutAndPaste.C (eraseSelection): parlist cleanup
8264
8265         * BufferView_pimpl.C (trackChanges): parlist cleanup
8266         (dispatch): ditto
8267
8268         * BufferView.C (lockInset): parlist cleanup.
8269         (ChangeInsets): ditto
8270
8271 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8272
8273         * CutAndPaste.h: Update file header.
8274
8275         * CutAndPaste.C: Update file header.
8276         Store the parts cut out of the Document in a limited_stack.
8277         (copySelection): adjust
8278         (pasteSelection): new function, takes the index in the limited stack.
8279         (nrOfParagraphs): adjust
8280         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
8281         simplify error inset insertion.
8282         (checkPastePossible): adjust
8283
8284 2003-05-06  John Levon  <levon@movementarian.org>
8285
8286         * text2.C: don't cast wrap inset to float
8287
8288 2003-05-05  André Pönitz  <poenitz@gmx.net>
8289
8290         * iterator.C:
8291         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
8292
8293         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
8294           few naked Paragraph *.
8295
8296 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
8297
8298         * bufferparams.C: Output warning if a document with missing
8299         TeX document class is loaded
8300         * exporter.C: Disable TeX exports if the document class is missing
8301         * lyxtextclass.C:
8302         * lyxtextclass.h:
8303         * lyxtextclasslist.C: Handle new textclass.lst format; new method
8304         isTeXClassAvailable()
8305
8306 2003-05-03  John Levon  <levon@movementarian.org>
8307
8308         * BufferView.h:
8309         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
8310         explicit cursor show/hide
8311
8312         * BufferView_pimpl.h:
8313         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
8314         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
8315
8316         * lyxfunc.C: hide cursor before dispatching.
8317
8318         * lyx_cb.C:
8319         * lyxfind.C:
8320         * text.C:
8321         * text3.C: remove explicit cursor hides
8322
8323 2003-05-02  André Pönitz  <poenitz@gmx.net>
8324
8325         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
8326
8327         * undo_funcs.C:
8328         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
8329           linked lists
8330
8331         * text2.C: tiny whitespace
8332
8333 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8334
8335         * undo_funcs.C: almost only ws changes.
8336
8337         * ParagraphList.C (splice): just return if pl is empty.
8338
8339 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8340
8341         * ParagraphList.C (splice): new function.
8342
8343         * CutAndPaste.C (pasteSelection): use it
8344
8345 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8346
8347         * CutAndPaste.C (pasteSelection): remove the last next and
8348         previous from this file.
8349
8350 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8351
8352         * CutAndPaste.C (pasteSelection): more clean up, user proper
8353         ParagraphList functions for pasteing.
8354
8355         * ParagraphList.C (insert): new function, three arg insert
8356
8357 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8358
8359         * ParagraphList.C (insert): new function, three arg insert
8360
8361         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
8362         not on paragraphs.
8363
8364 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8365
8366         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
8367
8368 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8369
8370         * CutAndPaste.C (pasteSelection): remove some unneeded code.
8371
8372 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8373
8374         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
8375         (copySelection): clean up a bit.
8376         (pasteSelection): use make_pair
8377
8378         * ParagraphList.C (ParagraphList): implement copy constructor
8379         (operator=): implement, base on copy constructor.
8380         (assign): new func
8381
8382         * paragraph.C (erase): return a bool
8383
8384         * paragraph_pimpl.C (erasePos): remove function, move contents...
8385         (erase): ... here. Return a bool.
8386         (erase): call erase instead of erasePos.
8387
8388 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
8389
8390         * ParagraphList.h: define PitPosPair
8391         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
8392         ParagraphList, fix a bug on pasting multiple pars
8393         * text2.C: change interface to C&P
8394
8395 2003-04-30  André Pönitz  <poenitz@gmx.net>
8396
8397         * undo_func.C: revert part of yesterday's patch 2
8398
8399 2003-04-30  John Levon  <levon@movementarian.org>
8400
8401         * LColor.C: s/tabular/table/
8402
8403 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8404
8405         * text3.C (dispatch): do not convert iterator -> pointer
8406         * undo_funcs.C (setCursorParUndo): ditto
8407         * text_funcs.C (transposeChars): ditto
8408
8409         * text2.C (setLayout): ws changes only
8410
8411         * text.C (breakParagraph): do not convert iterator -> pointer
8412         (insertChar): ditto
8413         (acceptChange): ditto
8414         (rejectChange): ditto
8415         (changeCase): ditto
8416         (Delete): ditto
8417         (backspace): ditto
8418
8419         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
8420         pointer
8421
8422 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8423
8424         * text3.C (gotoInset): YABG (yet another bad getChar)
8425
8426 2003-04-29  André Pönitz  <poenitz@gmx.net>
8427
8428         * paragraph.h: make operator= private unimplemented as long as
8429           it is unusable
8430
8431         * ParagraphList.C: whitespace
8432
8433         * paragraph.[Ch]:
8434         * paragraph_pimpl.[Ch]:
8435         * paragraph_funcs.C:
8436         * CutAndPaste.C:
8437         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
8438
8439         * text2.C:
8440           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8441
8442 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8443
8444         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8445         * paragraph.[Ch] (erase):
8446         * paragraph_pimpl.[Ch] (erase): change return type and value
8447         * text2.C (cutSelection): some rework
8448
8449 2003-04-28  John Levon  <levon@movementarian.org>
8450
8451         * bufferlist.C: changes for unsaved changes dialog
8452
8453 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8454
8455         * bufferlist.C (newFile): set language (messages_) for new
8456         documents also.
8457
8458         * buffer.C (readFile): ws changes only.
8459
8460 2003-04-28  André Pönitz  <poenitz@gmx.net>
8461
8462         * undo_funcs.C:
8463         * lyxfunc.C:
8464         * buffer.[Ch]:
8465         * BufferView_pimpl.C:
8466         * BufferView.C: getParFromID related ParagraphList::iterator changes
8467
8468 2003-04-28  André Pönitz  <poenitz@gmx.net>
8469
8470         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8471           Changes
8472
8473 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8474
8475         * messages.C: remove one more localedir class variable.
8476
8477 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8478
8479         * messages.C (getLocaleDir): singleton generation function
8480         (Pimpl): use it.
8481         (Messages): add a default constructor.
8482
8483         * main.C (main): do not setup localedir here, do not call
8484         gettext_init.
8485
8486         * gettext.C (_): use it.
8487         (gettext_init): delete funciton
8488
8489 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8490
8491         * gettext.C (getLyXMessages): new singleton generating function.
8492
8493         * buffer.C (updateDocLang): adjust
8494
8495         * Makefile.am (messages.o): add target
8496         (main.o): remove target
8497
8498 2003-04-27  John Levon  <levon@movementarian.org>
8499
8500         * bufferlist.C:
8501         * lyx_cb.C:
8502         * lyxfunc.C:
8503         * lyxvc.C: specify cancel button in Alert::prompt
8504
8505 2003-04-26  John Levon  <levon@movementarian.org>
8506
8507         * text3.C:
8508         * lyxfunc.C:
8509         * lfuns.h:
8510         * LyXAction.C: add LFUN_INSET_SETTINGS
8511
8512         * lyxfunc.C: don't enable tabular-feature when there's
8513         just any locking inset
8514
8515 2003-04-26  John Levon  <levon@movementarian.org>
8516
8517         * bufferlist.C: re-add Cancel to buffer close question
8518
8519         * lyxfunc.C: fix import UI a bit
8520
8521 2003-04-25  John Levon  <levon@movementarian.org>
8522
8523         * gettext.C: remove the broken asserts for now
8524
8525 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8526
8527         * messages.C: make case where setlocale cannot comply work better.
8528
8529         * buffer.C (updateDocLang): new function
8530         (changeLanguage): use it
8531         (readFile): use it
8532
8533         * text2.C (setCounter): use B_ a bit.
8534
8535         * lyxlayout.C (Read): be sure to trim the label strings.
8536
8537         * messages.C (Messages): fix typo in comment
8538
8539         * buffer.C (readFile): set message_ after file is loaded.
8540         (makeDocBookFile): remove double return
8541         (changeLanguage): reset message_ upon language change.
8542         (B_): new func, use this to get translated buffer strings.
8543
8544         * main.C: add myself and Jean Marc as authors.
8545
8546 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8547
8548         * messages.[hC]: pimplify Messages, and three different pimpls to be
8549         used in different circumstances.
8550
8551         * gettext.[Ch]: change for use with new message code.
8552
8553 2003-04-24 André Pönitz <poenitz@gmx.net>
8554
8555         * factory.C: support for eqref
8556
8557 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
8558
8559         * messages.[Ch]: add missing char
8560
8561         * Makefile.am (lyx_SOURCES): add messages.[Ch]
8562
8563         * messages.[Ch]: New files
8564
8565 2003-04-18  John Levon  <levon@movementarian.org>
8566
8567         * BufferView.h:
8568         * BufferView.C:
8569         * BufferView_pimpl.C:
8570         * lfuns.h:
8571         * LyXAction.C:
8572         * lyxtext.h:
8573         * text2.C: remove layout-copy/paste (bug 778)
8574
8575 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8576
8577         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8578
8579 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8580
8581         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8582         if they succeed. Act accordingly.
8583
8584 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8585
8586         * text2.C (setCharFont): adjust
8587         (setCounter): adjust
8588         (insertStringAsLines): adjust
8589
8590         * text.C (leftMargin): adjust
8591         (setHeightOfRow): adjust
8592
8593         * rowpainter.C (paintFirst): adjust
8594         (paintLast): adjust
8595
8596         * paragraph_funcs.C (depthHook): ParagraphList::iterators
8597         (outerHook): ditto
8598         (isFirstInSequence): ditto
8599         (getEndLabel): ditto
8600         (outerFont): adjust
8601
8602         * paragraph.C (getParLanguage): comment out some hard stuff.
8603
8604         * buffer.C (insertStringAsLines): take a ParagraphList as arg
8605         (sgmlError): ditto
8606         (simpleDocBookOnePar): ditto
8607         (makeDocBookFile): use ParagraphList::iterator
8608
8609         * CutAndPaste.C (pasteSelection): adjust
8610
8611 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8612
8613         * text2.C (getFont): adjust
8614         (getLayoutFont): adjust
8615         (getLabelFont): adjust
8616
8617         * paragraph_funcs.C (TeXOnePar): adjust
8618
8619         * buffer.C (simpleLinuxDocOnePar): adjust
8620         (simpleDocBookOnePar): adjust
8621
8622         * CutAndPaste.C (pasteSelection): adjust
8623
8624         * BufferView.C (getEncoding): adjust
8625
8626         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8627
8628 2003-04-16  John Levon  <levon@movementarian.org>
8629
8630         * lyxfind.C: use parlist stuff for search/changes
8631
8632 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8633
8634         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8635
8636         * text2.C (deleteEmptyParagraphMechanism): adjust
8637
8638         * text2.[Ch] (ownerParagraph): delete func (both of them
8639
8640 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8641
8642         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8643
8644 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8645
8646         * ParagraphList.C: prepare for NO_NEXT
8647
8648 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8649
8650         * text2.C (getFont): adjust
8651         (getLayoutFont): adjust
8652         (getLabelFont): adjust
8653
8654         * paragraph.C (getFont): adjust
8655         (getLabelFont): adjust
8656         (getLayoutFont): adjust
8657
8658         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8659
8660 2003-04-15  John Levon  <levon@movementarian.org>
8661
8662         From Angus Leeming
8663
8664         * lyx_main.C: handle Include in .ui files
8665
8666 2003-04-15  John Levon  <levon@movementarian.org>
8667
8668         * MenuBackend.C: make the doc files length shorter
8669
8670         * ToolbarBackend.h:
8671         * ToolbarBackend.C: handle toolbar placement flags,
8672         Minibuffer
8673
8674 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8675
8676         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8677         adjust
8678
8679         * paragraph_funcs.C (TeXOnePar): adjust
8680
8681         * paragraph.C (getLabelFont): add outerfont arg, adjust
8682         (getLayoutFont): ditto
8683         (simpleTeXOnePar): adjust
8684
8685         * paragraph_pimpl.C (realizeFont): delete func
8686
8687 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
8688
8689         * text2.C (beforeFullRowInset): added a bad getchar check, removed
8690         row argument, constify cur argument.
8691
8692 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8693
8694         * text2.C (getFont): adjust
8695         (getLayoutFont): adjust
8696         (getLabelFont): adjust
8697
8698         * paragraph_funcs.C (TeXOnePar): adjust
8699         (outerFont): new func...
8700         (realizeFont): ...moved out from here, changed this to facilitate
8701         transition
8702
8703         * paragraph.C (getFont): take outerfont as arg, adjust
8704         (simpleTeXOnePar): add outerfont arg, adjust
8705
8706         * buffer.C (simpleLinuxDocOnePar): adjust
8707         (simpleDocBookOnePar): adjust
8708
8709         * CutAndPaste.C (pasteSelection): adjust
8710
8711         * BufferView.C (getEncoding): adjust
8712
8713 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8714
8715         * text2.C (setCharFont): adjust
8716         (setCounter): adjust
8717
8718         * text.C (leftMargin): adjust
8719         (setHeightOfRow): adjust
8720
8721         * rowpainter.C (paintFirst): adjust
8722         (paintLast): adjust
8723
8724         * paragraph_pimpl.C (realizeFont): adjust
8725
8726         * paragraph.C (isFirstInSequence): move from here...
8727         * paragraph_funcs.C (isFirstInSequence): ...to here
8728
8729         * paragraph.C (outerHook): move from here...
8730         * paragraph_funcs.C (outerHook): ...to here
8731
8732         * paragraph.C (depthHook): move from here...
8733         * paragraph_funcs.C (depthHook): ...to here
8734
8735         * paragraph.C (getEndLabel): move from here...
8736         * paragraph_funcs.C (getEndLabel): ...to here
8737
8738         * text2.C (realizeFont): move from here...
8739         * paragraph_funcs.C (realizeFont): ...to here
8740
8741 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8742
8743         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8744
8745 2003-04-14  Angus Leeming  <leeming@lyx.org>
8746
8747         * LColor.[Ch]: scrap LColor mathcursor.
8748
8749 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8750
8751         * lyxlex.[Ch] (text): delete function
8752         * trans.C (Load): adjust
8753         * paragraph_funcs.C (readParToken): adjust
8754
8755 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8756
8757         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8758         vector<char> instead of a char[].
8759
8760         * lyxlex_pimpl.C (getString): adjust
8761         (next): adjust
8762         (lex): use getString
8763         (eatLine): adjust
8764         (nextToken): adjust
8765
8766         * lyxlex.C (text): use pimpl_->getString()
8767         (getBool): ditto
8768         (findToken): ditto
8769
8770 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8771
8772         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8773         (makeFontEntriesLayoutSpecific): temp var for par.size()
8774         (setLayout): temp var for ownerParagraphs().end()
8775         (fullRebreak): temp var for rows().end()
8776         (selectionAsString): temp var for boost::next(startpit), realize
8777         that the while really is a regular for loop.
8778         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8779         setCursor in one place.
8780         (setParagraph): temp vr for ownerParagraphs().end()
8781         (updateCounters): make the while loop a for loop
8782         (cutSelection): temp var for ownerParagraphs().end()
8783         (updateInset): make the do {} while() a regular for loop
8784         (getCursorX): use temp vars
8785         (setCurrentFont): use temp vars
8786         (getColumnNearX): use temp vars
8787
8788 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8789
8790         * text.C (transformChar): use temp var for getChar
8791         (computeBidiTables): use temp var for row->par()
8792         (fill): move temp vars for row->par() and pit->layout() earlier in
8793         the function.
8794         (labelFill): use temp var for row->par()
8795         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8796         asc and desc, realize that pit never changes and that firstpit is
8797         just a duplicate and not needed. Exchange rit->par() with pit in a
8798         lot of places.
8799         (breakAgain): use a temp var for boost::next(rit)
8800         (breakAgainOneRow): ditto
8801         (breakParagraph): use a temp var for rows().begin()
8802         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8803         (cursorRightOneWord): use temp var for cursor.par() and
8804         cursor.pos(), remove usage of tmpcursor.
8805         (cursorLeftOneWord): use temp var for cursor.par() and
8806         cursor.pos() only set cur at end of function.
8807
8808 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8809
8810         * text.C, text2.C: exchange all usage of Paragraph::next with
8811         boost::next(ParagraphList::iterator)
8812
8813         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8814
8815         * text2.C (cursorTop): simplify implementation
8816         (cursorBottom): ditto
8817         (setParagraph): use ParagraphList::iterator
8818         (setCurrentFont): adjust
8819         (getColumnNearX): adjust
8820         (cursorRight): adjust
8821         (cursorLeft): remove usage of Paragraph::previous
8822         (cursorUpParagraph): ditto
8823         (deleteEmptyParagraphMechanism): slight cleanup
8824
8825         * text.C (isBoundary): take a Paragraph const & instead of a
8826         pointer as arg.
8827         (addressBreakPoint): ditto
8828         (leftMargin): remove usage of Paragraph::previous.
8829         (setHeightOfRow): ditto
8830         (cursorLeftOneWord): ditto
8831         (selectNextWordToSpellcheck): ditto
8832         (Delete): ditto
8833         (backspace): ditto
8834         (breakParagraph): remove one usage of Paragraph::next
8835         (redoParagraph): ditto
8836         (acceptChange): ditto
8837         (insertChar): adjust
8838         (rowBreakPoint): adjust
8839
8840         * bufferview_funcs.C (toggleAndShow): adjust
8841
8842 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
8843
8844         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8845         methods to access it.
8846         * lyxtext.h:
8847         * text.C: Added updateRowPositions to compute all row positions.
8848         Make top_y and getRowNearY() to use the cached y position
8849
8850 2003-04-11  John Levon  <levon@movementarian.org>
8851
8852         * text.C (rowBreakPoint): reintroduce the labelEnd
8853         checks, code copied from the row fill stuff. Deep voodoo.
8854
8855         * text.C (fill): add a comment and debugging for the
8856         next poor soul.
8857
8858 2003-04-11  John Levon  <levon@movementarian.org>
8859
8860         * text.C: make sure fullrow insets get wrapped to the next line,
8861         even when they're in a manual label
8862
8863 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8864
8865         * text2.C (insertParagraph): make it take ParagraphList::iterator
8866         as arg.
8867         (setLayout): make it return ParagraphList::iterator
8868         (redoParagraphs): ditto
8869         (setCounter): ditto
8870         (checkParagraph): ditto
8871
8872         * text.C (getRow): make getrow take ParagraphList::iterator as arg
8873
8874         * text2.C: adjust several funcs.
8875         (realizeFont): take a ParagraphList::iterator as arg.
8876         (getLayoutFont): ditto
8877         (getLabelFont): ditto
8878         (setCharFont): ditto
8879
8880         * text.C: adjust several funcs.
8881
8882 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8883
8884         * text.C (selectNextWordToSpellcheck): don't accidentally
8885         skip insets
8886
8887 2003-04-10  John Levon  <levon@movementarian.org>
8888
8889         * ToolbarBackend.C (getIcon): special handling for
8890         LFUN_MATH_DELIM
8891
8892 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8893
8894         * text2.C (cursorRight): a getChar assert fixed
8895
8896 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8897
8898         * text2.C (getFont): change to take a ParagraphList::iterator
8899         instead of Paragraph*
8900         Adjust several functions.
8901
8902         * text.C (transformChar): change to take a ParagraphList::iterator
8903         instead of Paragraph*
8904         (singleWidth): ditto
8905         Adjust several functions.
8906
8907         * rowpainter.C: adjust several functions
8908         * rowpainter.h:store a ParagraphList::iterator and not a
8909         Paragraph&.
8910
8911
8912 2003-04-09  John Levon  <levon@movementarian.org>
8913
8914         * lyxfunc.C:
8915         * lfuns.h:
8916         * LyXAction.h:
8917         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8918         and the "help" bits as well
8919
8920 2003-04-09  John Levon  <levon@movementarian.org>
8921
8922         * ToolbarBackend.h:
8923         * ToolbarBackend.C: allow multiple toolbars
8924
8925 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8926
8927         * undo_funcs.C (setCursorParUndo): adjust
8928
8929         * text_funcs.C (transposeChars): adjust
8930
8931         * text3.C (gotoNextInset): adjust
8932         (dispatch): adjust
8933
8934         * text2.C (setLayout): adjust
8935         (changeDepth): adjust
8936         (setFont): adjust
8937         (redoParagraphs): adjust
8938         (selectionAsString): adjust
8939         (setParagraph): adjust
8940         (insertInset): adjust
8941         (cutSelection): adjust
8942         (copySelection): adjust
8943         (pasteSelection): adjust
8944         (insertStringAsLines): adjust
8945         (updateInset): adjust
8946         (setCursor): change to take a ParagraphList::iterator parameter
8947         (setCursorIntern): change to take a ParagraphList::iterator parameter
8948         (setCurrentFont): adjust
8949         (cursorLeft): adjust
8950         (cursorRight): adjust
8951         (deleteEmptyParagraphMechanism): adjust
8952
8953         * text.C (breakParagraph): adjust
8954         (insertChar): adjust
8955         (acceptChange): adjust
8956         (rejectChange): adjust
8957         (selectNextWordToSpellcheck): adjust
8958         (changeCase): adjust
8959         (Delete): adjust
8960         (backspace): adjust
8961
8962         * lyxfind.C (SearchForward): adjust
8963         (SearchBackward): adjust
8964         (nextChange): adjust
8965
8966         * lyxcursor.C (par): adjust
8967
8968         * lyxcursor.h: store a ParagraphList::iterator instead of a
8969         Paragraph*
8970
8971         * lyx_cb.C (getPossibleLabel): adjust
8972
8973         * bufferview_funcs.C (toggleAndShow): adjust
8974
8975         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8976         (dispatch): adjust
8977
8978         * BufferView.C (removeAutoInsets): adjust
8979         (lockedInsetStoreUndo): adjust
8980
8981 2003-04-09  John Levon  <levon@movementarian.org>
8982
8983         * ToolbarBackend.C: try icon without argument
8984         if with argument fails
8985
8986 2003-04-08  John Levon  <levon@movementarian.org>
8987
8988         * ToolbarBackend.h:
8989         * ToolbarBackend.C: add getIcon(), handle tooltip,
8990         and change from "Icon" to "Item".
8991
8992 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8993
8994         * BufferView.C (lockInset): another bad getchar crunched
8995
8996 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8997
8998         * text2.C (changeDepth): do not setUndo on test_only (make undo work
8999         again)
9000
9001 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
9002
9003         * lyxfind.C (searchForward, searchBackwards): bug 782
9004
9005 2003-04-07  John Levon  <levon@movementarian.org>
9006
9007         * paragraph.C: remove dead comment
9008
9009         * text.C: remove troublesome depth-fiddling code
9010         in leftMargin() and rightMargin() (bug 1017)
9011
9012         * text.C: fix breaking of rows in nested lists
9013         (bug 1004)
9014
9015         * text2.C (updateCounters): fix up depth values
9016         (bug 1013)
9017
9018 2003-04-07  John Levon  <levon@movementarian.org>
9019
9020         * BufferView_pimpl.C: clear message when doc finishes resizing,
9021         and after a mouse event
9022
9023         * lyxfunc.C: clear message after exiting inset
9024
9025 2003-04-07  John Levon  <levon@movementarian.org>
9026
9027         * bufferview_funcs.C: show math status not outside
9028         status in the statusbar
9029
9030 2003-04-07  John Levon  <levon@movementarian.org>
9031
9032         * lyxfunc.C: note status changed after a depth change
9033
9034 2003-04-04  Angus Leeming  <leeming@lyx.org>
9035
9036         * LaTeX.h: move AuxInfo operator==, != out of line.
9037         Remove LaTeX virtual destructor; nothing derives from it.
9038         Move operator()() out of public area and rename it startscript().
9039         Change protected for private.
9040
9041 2003-04-04  Angus Leeming  <leeming@lyx.org>
9042
9043         * lyxfunc.C:
9044         * text2.C: remove unneeded #includes.
9045
9046 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
9047
9048         * text2.C (dEPM): fix the heigth of the next row
9049
9050 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
9051
9052         * text.C: squashed an invalid getChar requester + some ws changes
9053
9054 2003-04-03  John Levon  <levon@movementarian.org>
9055
9056         * bufferview_funcs.h:
9057         * bufferview_funcs.C:
9058         * lyxfunc.C:
9059         * lyxtext.h:
9060         * text2.C: make getStatus work for the env depth lfuns
9061
9062 2003-04-03  John Levon  <levon@movementarian.org>
9063
9064         * bufferview_funcs.h:
9065         * bufferview_funcs.C:
9066         * lyxfunc.C:
9067         * lyxtext.h:
9068         * text2.C: parlistize decDepth(), by merging it with incDepth()
9069
9070 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9071
9072         * lyxrow.h: store a ParagraphList::iterator instead of a
9073         Paragraph* and adjust other class functions to suit.
9074
9075         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
9076         above.
9077
9078 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
9079
9080         * text2.C (setCursor): do not anchor to cursor row for the time being
9081
9082 2003-04-02  John Levon  <levon@movementarian.org>
9083
9084         * LyXAction.C:
9085         * lfuns.h:
9086         * lyx_main.C:
9087         * lyxtext.h:
9088         * text.C:
9089         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
9090
9091 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9092
9093         * paragraph.h: make ParagraphList and ParagraphList::iterator
9094         friends of Paragraph.
9095
9096         * buffer.C (makeLinuxDocFile): move towards ParagraphList
9097
9098         * ParagraphList.C: Use the private next_ and previous_ from
9099         Paragraph.
9100
9101 2003-04-01  John Levon  <levon@movementarian.org>
9102
9103         * ToolbarBackend.h:
9104         * ToolbarBackend.C:
9105         * Makefile.am: rename, remove defaults gunk
9106
9107         * MenuBackend.h:
9108         * MenuBackend.C: remove defaults gunk
9109
9110         * Languages.h:
9111         * Languages.C: remove defaults gunk
9112
9113         * lyx_main.h:
9114         * lyx_main.C: error out if files couldn't be found.
9115
9116 2003-04-02  John Levon  <levon@movementarian.org>
9117
9118         * text2.C: make incDepth() use parlist
9119
9120 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9121
9122         * undo_funcs.C (firstUndoParagraph): adjust
9123
9124         * text3.C (gotoInset): adjust
9125         (dispatch): adjust, and rewrite loop.
9126
9127         * text2.C (init): adjust, and rewrite loop.
9128         (redoParagraphs): adjust
9129         (updateInset): adjust, and rewrite loop.
9130         (deleteEmptyParagraphMechanism): adjust
9131
9132         * tabular.C (LyXTabular): adjust
9133         (SetMultiColumn): adjust
9134         (TeXRow): adjust
9135
9136         * lyxtext.[Ch] (ownerParagraph): delete function
9137         (ownerParagraphs): new function returns a ParagraphList.
9138
9139         * BufferView.C (removeAutoInsets): adjust
9140         (insertErrors): adjust
9141         (setCursorFromRow): adjust
9142
9143 2003-04-01  Angus Leeming  <leeming@lyx.org>
9144
9145         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
9146         in the frontends.
9147
9148 2003-04-02  John Levon  <levon@movementarian.org>
9149
9150         * lyxtext.h:
9151         * text.C:
9152         * Makefile.am:
9153         * text_funcs.h:
9154         * text_funcs.C: make transposeChars a free function
9155
9156         * lyxrow_funcs.C: remove wrong comment
9157
9158 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9159
9160         * lyxtext.h: adjust
9161         * rowpainter.C: adjust
9162         * text.C: adjust
9163         * text2.C: adjust
9164         * text3.C: adjust
9165
9166         * lyxrow_funcs. [Ch]: new files
9167
9168         * lyxrow.[Ch]: remove next and previous pointers
9169         (next,previous): remove accessor functions
9170         (isParEnd): move to lyxrow_funcs
9171         (lastPos): move to lyxrow_funcs
9172         (nextRowIsAllInset): move to lyxrow_funcs
9173         (lastPrintablePos): move to lyxrow_funcs
9174         (numberOfSeparators): move to lyxrow_funcs
9175         (numberOfHfills): move to lyxrow_funcs
9176         (numberOfLabelHfills): move to lyxrow_funcs
9177         (hfillExpansion): move to lyxrow_funcs
9178
9179         * lyxfunc.C: adjust
9180
9181         * bufferview_funcs.C (toggleAndShow): adjust
9182
9183         * RowList.h: Remove class RowList from file leave just a
9184         std::list<Row>.
9185
9186         * RowList.C: delete file
9187
9188         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
9189         and lyxrow_funcs.h
9190
9191 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9192
9193         * text3.C (cursorPrevious): adjust
9194         (cursorNext): adjust
9195         (dispatch): adjust
9196
9197         * text2.C (redoHeightOfParagraph): adjust
9198         (redoDrawingOfParagraph): adjust
9199         (setCursor): adjust
9200
9201         * text.C (breakParagraph): adjust
9202         (insertChar): adjust
9203         (backspace): adjust
9204
9205         * rowpainter.C (RowPainter): adjust
9206         (leftMargin): simplify and adjust
9207         (most rowpainter functions): adjust.
9208
9209         * rowpainter.h: store the row as RowList::iterator not as Row*
9210
9211         * lyxcursor.C (row): taka RowList::iterator as arg
9212         (irow): ditto
9213
9214         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
9215         of Row*.
9216
9217 2003-04-01  Angus Leeming  <leeming@lyx.org>
9218
9219         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
9220         stuff like bool Bool.
9221
9222 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
9223
9224         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
9225         rewrite a loop
9226
9227 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9228
9229         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
9230         RowList::iterator.
9231
9232         * lyxtext.h (rows): drop one version and leve a const variant that
9233         returns a RowList::iterator.
9234
9235 2003-03-31  Angus Leeming  <leeming@lyx.org>
9236
9237         * text.C (fill): ensure that the signature is the same as that in the
9238         header file.
9239
9240 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
9241
9242         * text2.C (redoParagraphs): adjust
9243         (updateCounters): adjust
9244         (checkParagraph): adjust
9245         (getColumnNearX): adjust and reformat a bit.
9246
9247         * text.C (top_y): adjust
9248         (workWidth): adjust
9249         (leftMargin): adjust
9250         (prepareToPrint): adjust
9251         (getRow): adjust
9252         (getRowNearY): adjust
9253
9254         * lyxtext.h: make rowlist_ mutable.
9255
9256         * RowList.h: add const_iterator
9257         * RowList.C: adjust for RowList::const_iterator.
9258
9259         * text2.C (getCursorX): make it take a RowList::iterator as arg,
9260         adjust.
9261
9262 2003-03-31  John Levon  <levon@movementarian.org>
9263
9264         * lyxrc.h:
9265         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
9266
9267         * lyx_main.C: set default fonts from using lyx_gui funcs
9268
9269         * exporter.C: pdf_mode moved from lyxrc
9270
9271         * lyx_cb.C:
9272         * lyxfunc.C: changes from above
9273
9274 2003-03-31  John Levon  <levon@movementarian.org>
9275
9276         * lyx_main.C: fix to the last fix
9277
9278 2003-03-31  John Levon  <levon@movementarian.org>
9279
9280         * bufferlist.C: "Load original" -> "Load Original"
9281
9282         * converter.C:
9283         * exporter.C:
9284         * importer.C:
9285         * lyx_main.C:
9286         * format.C: more Alert cleanups
9287
9288 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
9289
9290         * text2.C (removeParagraph): make it take a RowList::iterator as
9291         arg, adjust.
9292         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
9293         (postRowPaint): make it take a RowList::iterator as arg, adjust.
9294
9295         * text.C (anchor_row): make it take a RowList::iterator as arg,
9296         adjust.
9297         (computeBidiTables): make it take a const reference to Row instead
9298         of Row pointer, adjust.
9299         (leftMargin): make it take a RowList::iterator as arg, adjust.
9300         (rowBreakPoint): adjust
9301         (breakAgainOneRow): make it take a RowList::iterator as arg,
9302         adjust.
9303         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
9304
9305         * bufferview_funcs.C (toggleAndShow): adjust
9306
9307 2003-03-30  John Levon  <levon@movementarian.org>
9308
9309         * Makefile.am:
9310         * BoostFormat.h:
9311         * boost-inst.C: moved to support
9312
9313         * several files: changes as a result
9314
9315 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
9316
9317         * text2.C (LyXText): adjust.
9318         (init): adjust
9319         (removeRow): make it take a RowList::iterator as arg, adjust.
9320         (fullRebreak): adjust
9321         (deleteEmptyParagraphMechanism): adjust
9322         (clearPaint): adjust
9323         (postPaint): adjust
9324
9325         * text.C (top_y): adjust
9326         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
9327         (breakAgain): make it take a RowList::iterator as arg, adjust.
9328         (breakParagraph): adjust
9329         (insertChar): adjust
9330         (backspace): adjust
9331
9332         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
9333         need_break_row, and refresh_row.
9334
9335         * text3.C (dispatch): adjust
9336
9337         * text2.C (checkParagraph): adjust
9338         (setCursor): adjust
9339         (setCursorFromCoordinates): adjust
9340
9341         * text.C (top_y): adjust
9342         (workWidth): adjust
9343         (getRow): make it return a RowList::iterator, adjust
9344         (getRowNearY): make it return a RowList::iterator, adjust
9345
9346         * text2.C (init): adjust
9347         (insertRow): remove function
9348         (insertParagraph): adjust
9349         (redoParagraphs): adjust
9350         (fullRebreak): adjust
9351         (updateCounters): adjust
9352
9353         * text.C (top_y): rewrite to use RowList iterators.
9354         (top_y): adjust
9355         (setHeightOfRow): rewrite to sue RowList iterators.
9356         (appendParagraph): adjust
9357         (breakAgain): adjust
9358         (breakAgainOneRow): adjust
9359         (breakParagraph): adjust
9360         (getRow): adjust
9361         (getRowNearY): adjust, and remove commented code.
9362
9363         * lyxtext.h (firstRow): delete function
9364         (lastRow): delete function
9365         (rows): new function (const and non-const versions.)
9366         (insertRow): delete function
9367
9368         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
9369
9370 2003-03-29  John Levon  <levon@movementarian.org>
9371
9372         * BufferView_pimpl.C: always update scrollbar top
9373         because pasting text when we're anchored could mean we
9374         miss an update altogether
9375
9376 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9377
9378         * text2.C (init): use rowlist_.end() and not 0.
9379         (insertRow): change to take a RowList::iterator as arg, adjust
9380         for this.
9381         (insertParagraph): change to take a RowList::iterator as arg,
9382         adjust for this.
9383         (redoParagraphs): remove some debug msgs.
9384
9385         * text.C (appendParagraph): change to take a RowList::iterator
9386         arg, adjust for this.
9387         (breakAgain): add an assert
9388         (breakAgainOneRow): ditto
9389
9390 2003-03-29  John Levon  <levon@movementarian.org>
9391
9392         * text2.C: do not clear selection after inc/decDepth
9393         (bug 550)
9394
9395 2003-03-29  John Levon  <levon@movementarian.org>
9396
9397         * BufferView.C:
9398         * buffer.C: fix broken strerrors according to Lars
9399
9400 2003-03-29  John Levon  <levon@movementarian.org>
9401
9402         * converters.C: more Alert cleanups
9403
9404 2003-03-29  John Levon  <levon@movementarian.org>
9405
9406         * bufferview_funcs.C: remove pointless Alert
9407
9408         * buffer.C: fix confusing error message when
9409         a template is chmoded 000
9410
9411 2003-03-29  John Levon  <levon@movementarian.org>
9412
9413         * BufferView.C:
9414         * BufferView.h:
9415         * BufferView_pimpl.C: Alert fixes
9416
9417         * Makefile.am:
9418         * tabular.C:
9419         * tabular-old.C: remove unused table compat reading
9420
9421 2003-03-29  John Levon  <levon@movementarian.org>
9422
9423         * BufferView.C:
9424         * buffer.C:
9425         * lyx_cb.h:
9426         * lyx_cb.C: more Alert cleanups
9427
9428         * lyxfunc.C: don't allow chktex if not latex document
9429
9430 2003-03-29  John Levon  <levon@movementarian.org>
9431
9432         * lyx_cb.C:
9433         * BufferView.C:
9434         * buffer.C: warnings pushed down from support/,
9435         kill err_alert
9436
9437 2003-03-29  John Levon  <levon@movementarian.org>
9438
9439         * lyxfunc.C: safety check for C-r (revert)
9440
9441 2003-03-29  John Levon  <levon@movementarian.org>
9442
9443         * bufferlist.h:
9444         * bufferlist.C: several UI fixes using Alert::prompt.
9445         Fix the pointless looping quit code. Fix stupid revert
9446         behaviour (bug 938)
9447
9448         * lyxvc.h:
9449         * lyxvc.C:
9450         * lyx_cb.C: use Alert::prompt
9451
9452         * lyx_main.C: remove a silly question
9453
9454         * lyxfunc.C: remove a couple of silly questions,
9455         use Alert::prompt
9456
9457 2003-03-28  John Levon  <levon@movementarian.org>
9458
9459         * text2.C: fix bug 974 (End on empty par)
9460
9461 2003-03-28  John Levon  <levon@movementarian.org>
9462
9463         * BufferView_pimpl.C:
9464         * LyXAction.C:
9465         * lfuns.h: remove do-nothing math greek lfuns
9466
9467 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9468
9469         * lyxgluelength.h (isValidGlueLength): add default arg on
9470         parameter 2. Remove default arg from friend in class.
9471
9472         * lyxlength.h (isValidLength): add default arg on parameter 2.
9473         Remove default arg from friend in class.
9474
9475         * text2.C (LyXText): adjust, initialize refresh_row.
9476         (init): adjust
9477         (removeRow): adjust
9478         (insertRow): adjust
9479         (insertParagraph): adjst
9480         (redoParagraphs): adjust
9481         (fullRebreak): adjust
9482         (updateCounters): adjust
9483         (deleteEmptyParagraphMechanism): first attempt at fixing a
9484         crashing bug.
9485
9486         * text.C (top_y): adjust
9487         (setHeightOfRow): adjust
9488         (getRow): adjust
9489         (getRowNearY): adjust
9490
9491         * lyxtext.h: include RowList.h
9492         (~LyXText): not needed anymore, deleted.
9493         (firstRow): modify for RowList
9494         (lastRow): new function
9495         Delete firstrow and lastrow class variables, add a Rowlist
9496         rowlist_ class variable.
9497
9498         * lyxrow.C (lastPos): use empty() and not !size() to check if a
9499         paragraph is empty.
9500
9501         * RowList.C (insert): fix case where it == begin().
9502
9503 2003-03-26  Angus Leeming  <leeming@lyx.org>
9504
9505         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9506         the thesaurus dialog.
9507
9508 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
9509
9510         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9511
9512         * RowList.[Ch]: new files
9513
9514         * ParagraphList.C (erase): handle the case where it == begin
9515         correctly.
9516
9517 2003-03-25  John Levon  <levon@movementarian.org>
9518
9519         * Makefile.am:
9520         * aspell_local.h:
9521         * aspell.C: add new aspell support
9522
9523         * lyxrc.h:
9524         * lyxrc.C: Make use_pspell be use_spell_lib. Always
9525         have it accessible.
9526
9527 2003-03-25  Angus Leeming  <leeming@lyx.org>
9528
9529         * lfuns.h:
9530         * LyXAction.C (init): new LFUN_INSET_INSERT.
9531
9532         * BufferView_pimpl.C (dispatch): split out part of the
9533         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9534
9535         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9536         LFUN_INSET_APPLY.
9537
9538 2003-03-25  Angus Leeming  <leeming@lyx.org>
9539
9540         * lyxfunc.C (dispatch): changes to the Dialogs interface.
9541
9542 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
9543
9544         * text2.C:
9545         * text3.C: remove useless row->height(0)
9546
9547 2003-03-25  John Levon  <levon@movementarian.org>
9548
9549         * lyxtext.h:
9550         * text2.C:
9551         * text3.C: rename the refreshing stuff to better names
9552
9553 2003-03-24  John Levon  <levon@movementarian.org>
9554
9555         * BufferView_pimpl.h:
9556         * BufferView_pimpl.C: update layout choice on a mouse
9557         press/release
9558
9559 2003-03-23  John Levon  <levon@movementarian.org>
9560
9561         * Makefile.am: fix commandtags.h reference
9562
9563 2003-03-22  John Levon  <levon@movementarian.org>
9564
9565         * BufferView_pimpl.C:
9566         * lyxtext.h:
9567         * rowpainter.C:
9568         * rowpainter.h:
9569         * text.C:
9570         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9571
9572 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
9573
9574         * lyxtext.h:
9575         * text.C: take the rtl methods out of line
9576
9577 2003-03-21 André Pönitz <poenitz@gmx.net>
9578
9579         * metricsinfo.[Ch]: new files containing structures to be passed around
9580         during the two-phase-drawing...
9581
9582 2003-03-21 André Pönitz <poenitz@gmx.net>
9583
9584         * lyxtextclass.C: read 'environment' tag.
9585
9586 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
9587
9588         * text2.C (removeRow): fix bug 964
9589
9590 2003-03-20  John Levon  <levon@movementarian.org>
9591
9592         * rowpainter.C:
9593         * text.C:
9594         * text2.C: paint cleanups. Inset::update() dropped font
9595         parameter
9596
9597 2003-03-19  John Levon  <levon@movementarian.org>
9598
9599         * lyxfunc.C: only fitcursor/markDirty if available()
9600
9601 2003-03-19  John Levon  <levon@movementarian.org>
9602
9603         * commandtags.h: rename to ...
9604
9605         * lfuns.h: ... this, and renumber / cleanup
9606
9607 2003-03-19  John Levon  <levon@movementarian.org>
9608
9609         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9610         fit the cursor after an lfun
9611
9612         * BufferView.h:
9613         * BufferView.C:
9614         * BufferView_pimpl.h:
9615         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9616
9617         * LyXAction.C: layout-character should have ReadOnly
9618
9619         * ParagraphParameters.C:
9620         * buffer.C:
9621         * bufferview_funcs.C:
9622         * lyx_cb.C:
9623         * lyxfind.C:
9624         * lyxtext.h:
9625         * text.C:
9626         * text2.C:
9627         * text3.C:
9628         * undo_funcs.C: changes from above
9629
9630 2003-03-18  John Levon  <levon@movementarian.org>
9631
9632         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9633         remove it from update()
9634
9635         * lyxfunc.C: update layout choice after an lfun
9636
9637         * text3.C: remove extra updateLayoutChoice()s
9638
9639 2003-03-18  John Levon  <levon@movementarian.org>
9640
9641         * text.C: top_y change means full repaint, fix
9642         a drawing bug with cursor movement
9643
9644 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9645
9646         * lyxtext.h:
9647         * text.C:
9648         * text2.C: anchor row on setCursor
9649
9650 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9651
9652         * lyxtext.h: remove almost all mutable keywords
9653         * text.C:
9654         * text2.C:
9655         * text3.C: remove const keywords accordingly
9656
9657 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9658
9659         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9660         anon namespace
9661         (TeXEnvironment): ditto
9662         (TeXOnePar): ditto
9663
9664 2003-03-17  John Levon  <levon@movementarian.org>
9665
9666         * text.C (rowBreakPoint): remove attempt to fix displayed
9667         math insets inside a manual label
9668
9669 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9670
9671         * lyxtext.h: remove BufferView* as first arg from almost all class
9672         functions.
9673         * other files: adjust.
9674
9675 2003-03-17  John Levon  <levon@movementarian.org>
9676
9677         * lyxtext.h:
9678         * undo_funcs.C:
9679         * text2.C: more paint cleanups
9680
9681         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9682
9683         * rowpainter.h:
9684         * rowpainter.C: remove "smart" background painting code
9685
9686 2003-03-16  John Levon  <levon@movementarian.org>
9687
9688         * lyxtext.h:
9689         * text.C:
9690         * text2.C:
9691         * text3.C: add helper functions for setting refresh_row/y
9692
9693 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
9694
9695         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9696         newline inset which *can* get inserted in the pass_thru layouts.
9697         This is primarily for literate documents.
9698
9699 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
9700
9701         * buffer.C: increment LYX_FORMAT to 223
9702
9703 2003-03-14 André Pönitz <poenitz@gmx.net>
9704
9705         * textclass.h: prepare for environment handling, ws changes
9706         * lyxlayout.C: read latexheader and latexfooter tags
9707
9708 2003-03-14  John Levon  <levon@movementarian.org>
9709
9710         * text2.C: rewrite ::status() a bit
9711
9712 2003-03-13  John Levon  <levon@movementarian.org>
9713
9714         * lyxtext.h: add some docs
9715
9716 2003-03-13  John Levon  <levon@movementarian.org>
9717
9718         * lyxtext.h:
9719         * text.C:
9720         * text2.C:
9721         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9722
9723 2003-03-13  John Levon  <levon@movementarian.org>
9724
9725         * text3.C: fix appendix redrawing
9726
9727 2003-03-13  John Levon  <levon@movementarian.org>
9728
9729         * text.C (setHeightOfRow):
9730         * rowpainter.h:
9731         * rowpainter.C: make appendix mark have the text
9732           "Appendix" so the user knows what it is
9733
9734         * LColor.h:
9735         * LColor.C: s/appendixline/appendix/ from above
9736
9737 2003-03-13  John Levon  <levon@movementarian.org>
9738
9739         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9740
9741         * text.C: fix a getChar(pos) bug properly
9742
9743 2003-03-13  Angus Leeming  <leeming@lyx.org>
9744
9745         * commandtags.h:
9746         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9747         Probably only temporary. Let's see how things pan out.
9748
9749         * BufferView.C (unlockInset):
9750         * BufferView_pimpl.C (fitCursor):
9751         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9752
9753         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9754         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9755
9756         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9757         new functions that convert ParagraphParameters to and from a string.
9758
9759         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9760         BufferView::Pimpl's dispatch.
9761         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9762
9763 2003-03-13 André Pönitz <poenitz@gmx.net>
9764
9765         * lyxfunc.C:
9766         * text3.C:
9767         * factory.C: make it aware of InsetEnv
9768
9769 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
9770
9771         * text2.C (setCursor): never ask for one past last
9772         (setCursor): add some debugging messages.
9773
9774         * text.C (singleWidth): never ask for one past last
9775         (singleWidth): ditto
9776         (leftMargin): ditto
9777         (rightMargin): ditto
9778         (rowBreakPoint): ditto
9779         (setHeightOfRow): ditto
9780         (prepareToPrint): ditto
9781
9782         * rowpainter.C (paintBackground): never ask for one past last
9783         (paintText): never ask for one past last
9784
9785         * paragraph_pimpl.C (getChar): make the assert stricter, never
9786         allow the one past last pos to be taken
9787
9788         * paragraph.C (getChar): ws changes only
9789
9790         * lyxrow.C (nextRowIsAllInset): never ask for one past last
9791         (numberOfSeparators): ditto
9792         (numberOfHfills): ditto
9793
9794 2003-03-12  John Levon  <levon@movementarian.org>
9795
9796         * author.h:
9797         * author.C:
9798         * bufferparams.h:
9799         * bufferparams.C:
9800         * paragraph_funcs.C: fix per-buffer authorlists
9801
9802 2003-03-12  John Levon  <levon@movementarian.org>
9803
9804         * text.C: fix newline in right address
9805
9806 2003-03-12  Angus Leeming  <leeming@lyx.org>
9807
9808         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9809         duplicate those in LyXFunc::dispatch.
9810
9811         * commandtags.h:
9812         * LyXAction.C:
9813         * ToolbarDefaults.C:
9814         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9815         Add LFUN_FONTFREE_UPDATE.
9816
9817         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9818         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9819
9820         * bufferview_func.[Ch]: several new functions to facilliate
9821         transfer of data to and from the character dialog.
9822
9823 2003-03-12  John Levon  <levon@movementarian.org>
9824
9825         * buffer.C:
9826         * paragraph.h:
9827         * paragraph.C:
9828         * paragraph_funcs.C:
9829         * paragraph_pimpl.C:
9830         * sgml.C:
9831         * tabular.C:
9832         * text.C:
9833         * text3.C: remove META_NEWLINE in favour of an inset
9834
9835         * rowpainter.h:
9836         * rowpainter.C: remove paintNewline (done by inset)
9837
9838 2003-03-12  John Levon  <levon@movementarian.org>
9839
9840         * paragraph_pimpl.C: complain about bad getChar()s
9841         for a while at least
9842
9843 2003-03-12  John Levon  <levon@movementarian.org>
9844
9845         * buffer.h:
9846         * buffer.C: move paragraph read into a separate function,
9847         a little renaming to reflect that.
9848
9849         * bufferparams.h:
9850         * bufferparams.C: remove the author_ids map, not necessary now
9851
9852         * factory.h:
9853         * factory.C: moved Buffer::readInset to here
9854
9855         * paragraph_funcs.h:
9856         * paragraph_funcs.C: readParagraph free function moved from
9857         buffer.C
9858
9859         * tabular.C: name change
9860
9861 2003-03-12  John Levon  <levon@movementarian.org>
9862
9863         * buffer.C:
9864         * ParagraphParameters.C: move par params input to
9865         a read() method
9866
9867         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9868         behave like a normal read from the stream wrt reading
9869         a line vs. a \\token
9870
9871 2003-03-12  John Levon  <levon@movementarian.org>
9872
9873         * paragraph.C:
9874         * ParagraphParameters.h:
9875         * ParagraphParameters.C: move output code to a
9876         ::write() method
9877
9878 2003-03-12  John Levon  <levon@movementarian.org>
9879
9880         * BufferView.C (insertLyXFile):
9881         * buffer.h:
9882         * buffer.C:
9883         * tabular.C: use a parlist iterator for creating the
9884           document.
9885
9886 2003-03-12  John Levon  <levon@movementarian.org>
9887
9888         * buffer.C: make current_change static local not
9889           static file-scope
9890
9891 2003-03-12  John Levon  <levon@movementarian.org>
9892
9893         * buffer.C: fix insertStringAsLines for change tracking
9894
9895 2003-03-12  John Levon  <levon@movementarian.org>
9896
9897         * BufferView.C:
9898         * tabular.C:
9899         * buffer.h:
9900         * buffer.C:
9901         * bufferparams.h:
9902         * bufferparams.C: move author list into params. Rename some
9903           functions. Move the header reading into a separate token
9904           loop. Move the header token reading into BufferParams.
9905
9906 2003-03-12  John Levon  <levon@movementarian.org>
9907
9908         * changes.C: put debug inside lyxerr.debugging() checks
9909
9910 2003-03-11 André Pönitz <poenitz@gmx.net>
9911
9912         * factory.C: make it aware of InsetHFill
9913
9914 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9915
9916         * buffer.C (latexParagraphs): move function from here...
9917         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9918         args.
9919
9920 2003-03-10  Angus Leeming  <leeming@lyx.org>
9921
9922         * LyXAction.C (init): fix bug in poplating array with multiple entries
9923         with the same LFUN (spotted by JMarc).
9924
9925 2003-03-10  John Levon  <levon@movementarian.org>
9926
9927         * text.C:
9928         * text2.C: move getColumnNearX() near its
9929         only call site
9930
9931 2003-03-10  John Levon  <levon@movementarian.org>
9932
9933         * text.C: fix break before a minipage
9934
9935 2003-03-10  John Levon  <levon@movementarian.org>
9936
9937         * text.C: fix the last commit
9938
9939 2003-03-09  John Levon  <levon@movementarian.org>
9940
9941         * lyxtext.h:
9942         * text.C:
9943         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9944         bug 365 (don't break before insets unless needed). Don't
9945         return a value > last under any circumstances.
9946
9947 2003-03-09  Angus Leeming  <leeming@lyx.org>
9948
9949         * BufferView_pimpl.C (trackChanges, dispatch): call
9950         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9951
9952 2003-03-09  Angus Leeming  <leeming@lyx.org>
9953
9954         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9955         than Dialogs::showAboutlyx().
9956
9957 2003-03-09  Angus Leeming  <leeming@lyx.org>
9958
9959         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9960         than Dialogs::showTabularCreate().
9961
9962 2003-03-09  John Levon  <levon@movementarian.org>
9963
9964         * lyxtext.h:
9965         * text.C:
9966         * text2.C: 3rd arg to nextBreakPoint was always the same.
9967           Use references.
9968
9969 2003-03-08  John Levon  <levon@movementarian.org>
9970
9971         * lyxrow.C:
9972         * paragraph.C:
9973         * paragraph.h:
9974         * rowpainter.C:
9975         * text.C:
9976         * text2.C: Remove the "main" bit from the "main body"
9977           notion.
9978
9979 2003-03-08  John Levon  <levon@movementarian.org>
9980
9981         * text.C (leftMargin): The left margin of an empty
9982         manual label paragraph should not include the label width
9983         string length.
9984
9985         * text.C (prepareToPrint): don't attempt to measure hfills
9986         for empty manual label paragraphs - the answer should be 0
9987
9988 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9989
9990         * CutAndPaste.C: remove commented code and reindent.
9991
9992 2003-03-08  John Levon  <levon@movementarian.org>
9993
9994         * lyxfunc.h:
9995         * lyxfunc.C: move reloadBuffer()
9996
9997         * BufferView.h:
9998         * BufferView.C: to here
9999
10000         * lyxvc.C: add comment
10001
10002         * vc-backend.h:
10003         * vc-backend.C: call bv->reload() to avoid
10004           getStatus() check on MENURELOAD
10005
10006 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
10007
10008         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
10009         to an old format .dep file.
10010
10011 2003-03-07  Angus Leeming  <leeming@lyx.org>
10012
10013         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
10014         when the LFUN_MOUSE_RELEASE should have been handled by
10015         inset->localDispatch.
10016
10017 2003-03-07  Angus Leeming  <leeming@lyx.org>
10018
10019         * BufferView_pimpl.C (dispatch):
10020         * LyXAction.C (init):
10021         * ToolbarDefaults.C (init):
10022         * commandtags.h:
10023         * lyxfunc.C (getStatus):
10024         remove LFUN_INSET_GRAPHICS.
10025
10026         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
10027
10028 2003-03-07  Angus Leeming  <leeming@lyx.org>
10029
10030         * commandtags.h:
10031         * LyXAction.C (init):
10032         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
10033
10034         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
10035
10036         * commandtags.h:
10037         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
10038
10039         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
10040         localDispatch method LFUN_INSET_DIALOG_UPDATE.
10041
10042 2003-03-07  Angus Leeming  <leeming@lyx.org>
10043
10044         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
10045         remove "ert".
10046
10047 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10048
10049         * ParagraphList.C (front): new function
10050         (back): implement
10051
10052 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
10053
10054         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
10055         and top_row_offset_. removed var first_y.
10056         * text.C (top_y):
10057         * text2.C (LyXText, removeRow):
10058         * text3.C:
10059         * BufferView_pimpl.C:
10060         use these methods instead of using first_y
10061
10062 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10063
10064         * text2.C (pasteSelection): adjust for checkPastePossible
10065
10066         * CutAndPaste.C: remove Paragraph * buf and replace with
10067         ParagraphList paragraphs.
10068         (DeleteBuffer): delete
10069         (cutSelection): change the tc type to textclass_type
10070         (copySelection): change the tc type to textclass_type
10071         (copySelection): adjust for ParagraphList
10072         (pasteSelection): change the tc type to textclass_type
10073         (pasteSelection): adjust for Paragraphlist
10074         (nrOfParagraphs): simplify for ParagraphList
10075         (checkPastePossible): simplify for ParagraphList
10076         (checkPastePossible): remove unused arg
10077
10078         * ParagraphList.C (insert): handle the case where there are no
10079         paragraphs yet.
10080
10081         * CutAndPaste.h: make CutAndPaste a namespace.
10082
10083         * text3.C (dispatch): adjust
10084
10085         * text.C (breakParagraph): add a ParagraphList as arg
10086
10087         * paragraph_funcs.C (breakParagraph): change to take a
10088         BufferParams and a ParagraphList as args.
10089         (breakParagraphConservative): ditto
10090         (mergeParagraph): ditto
10091         (TeXDeeper): add a ParagraphList arg
10092         (TeXEnvironment): ditto
10093         (TeXOnePar): ditto
10094
10095         * buffer.C (readLyXformat2): adjust
10096         (insertStringAsLines): adjust
10097         (latexParagraphs): adjust
10098
10099         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
10100         (cutSelection): adjust
10101         (pasteSelection): adjust
10102
10103         * BufferView_pimpl.C (insertInset): adjust
10104
10105 2003-03-05  Angus Leeming  <leeming@lyx.org>
10106
10107         * commandtags.h:
10108         * LyXAction.C (init):
10109         * BufferView_pimpl.C (dispatch):
10110         * lyxfunc.C (getStatus):
10111         remove LFUN_CHILD_INSERT.
10112
10113         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
10114
10115 2003-03-05  Angus Leeming  <leeming@lyx.org>
10116
10117         * commandtags.h:
10118         * LyXAction.C (init):
10119         * src/factory.C (createInset):
10120         * lyxfunc.C (getStatus):
10121         * text3.C (dispatch):
10122         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
10123
10124         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
10125
10126 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10127
10128         * ParagraphList.C (insert): handle insert right before end()
10129         (erase): fix cases where it can be first or last paragraph.
10130
10131 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10132
10133         * paragraph_funcs.C (TeXEnvironment): remove all usage of
10134         Paragraph::next and Paragraph::previous
10135         (TeXOnePar): ditto
10136
10137         * text.C (breakParagraph): adjust
10138
10139         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
10140         BufferParams& as arg.
10141         (breakParagraph): use ParagraphList::insert
10142         (breakParagraphConservative): take a Buffer* instead of a
10143         BufferParams& as arg.
10144         (breakParagraphConservative): use ParagraphList::insert.
10145
10146         * buffer.C (insertStringAsLines): un-const it
10147         (insertStringAsLines): adjust
10148
10149         * ParagraphList.C (insert): new function
10150
10151         * CutAndPaste.C (pasteSelection): adjust
10152
10153         * text.C (backspace): adjust
10154
10155         * tabular.C (SetMultiColumn): adjust
10156
10157         * CutAndPaste.C (cutSelection): adjust
10158         (pasteSelection): adjust
10159
10160         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
10161         Buffer const * as arg
10162
10163         * ParagraphList.C (erase): new function
10164         * paragraph_funcs.C (mergeParagraph): use it
10165         (mergeParagraph): make it take a Buffer* instead of a
10166         BufferParams* as arg
10167
10168         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
10169         as arg
10170         (breakParagraphConservative): ditto
10171
10172         * paragraph.h: remove the breakParagraph friend
10173
10174         * paragraph.C (eraseIntern): new function
10175         (setChange): new function
10176
10177         * paragraph_funcs.C (mergeParagraph): make it take a
10178         ParagraphList::iterator instead of a Paragraph *, adjust
10179         accordingly.
10180
10181         * paragraph.h: move an #endif so that the change tracking stuff
10182         also works in the NO_NEXT case.
10183
10184 2003-03-04  Angus Leeming  <leeming@lyx.org>
10185
10186         * commandtags.h:
10187         * LyXAction.C: new LFUN_INSET_MODIFY.
10188
10189         * BufferView_pimpl.C (dispatch): if an inset is found to be open
10190         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
10191
10192 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10193
10194         * several files: ws changes only
10195
10196         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
10197         (TeXEnvironment): ditto
10198         (TeXDeeper): ditto
10199
10200         * buffer.C (makeLaTeXFile): adjust
10201         (latexParagraphs): make it take ParagraphList::iterator as args
10202
10203 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
10204
10205         * buffer.C (latexParagraphs): adjust
10206
10207         * paragraph.C (TeXOnePar): move function...
10208         (optArgInset): move function...
10209         (TeXEnvironment): move function...
10210         * paragraph_pimpl.C (TeXDeeper): move function...
10211         * paragraph_funcs.C: ...here
10212
10213         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
10214
10215 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10216
10217         * buffer.C (readInset): remove compability code for old Figure and
10218         InsetInfo insets
10219
10220 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10221
10222         * buffer.C: ws changes
10223         (readInset):
10224
10225         * BufferView_pimpl.C: ditto
10226         * author.C: ditto
10227         * buffer.h: ditto
10228         * bufferlist.h: ditto
10229         * changes.h: ditto
10230         * lyxfunc.C: ditto
10231
10232 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
10233
10234         * converter.[Ch]: split into itself +
10235         * graph.[Ch]
10236         * format.[Ch]
10237         * Makefile.am: += graph.[Ch] + format.[Ch]
10238         * MenuBackend.C
10239         * buffer.C
10240         * exporter.C
10241         * importer.C
10242         * lyx_main.C
10243         * lyxfunc.C
10244         * lyxrc.C: added #include "format.h"
10245
10246 2003-02-27  Angus Leeming  <leeming@lyx.org>
10247
10248         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
10249           a label.
10250
10251         * factory.C (createInset): add "label" to the factory.
10252
10253         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
10254           string and do no more.
10255
10256 2003-02-27  Angus Leeming  <leeming@lyx.org>
10257
10258         * commandtags.h:
10259         * LyXAction.C (init):
10260         * factory.C (createInset):
10261         * BufferView_pimpl.C (dispatch):
10262           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
10263
10264         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
10265
10266         * lyxfunc.C (dispatch):
10267         * text3.C (dispatch): pass name to params2string.
10268
10269 2003-02-26  Angus Leeming  <leeming@lyx.org>
10270
10271         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
10272           blocks together.
10273           Rearrange the ~includes. Strip out the unnecessary ones.
10274
10275         * factory.C (createInset): reformat.
10276           create new insets for the various LFUN_XYZ_APPLY lfuns.
10277
10278 2003-02-26  John Levon  <levon@movementarian.org>
10279
10280         * lyxrow.h:
10281         * lyxrow.C: add isParStart,isParEnd helpers
10282
10283         * paragraph.h: make isInserted/DeletedText take refs
10284
10285         * paragraph_funcs.h:
10286         * paragraph_funcs.C: remove #if 0'd code
10287
10288         * lyxtext.h:
10289         * text3.C:
10290         * text2.C:
10291         * text.C: use lyxrow helpers above.
10292           Move draw and paint routines to RowPainter.
10293           Make several methods use refs not pointers.
10294           Make backgroundColor() const.
10295           Add markChangeInDraw(), isInInset().
10296           Merge changeRegionCase into changeCase.
10297           Make workWidth() shouldn't-happen code into an Assert.
10298
10299         * rowpainter.h:
10300         * rowpainter.C: new class for painting a row.
10301
10302         * vspace.h:
10303         * vspace.C: make inPixels take a ref
10304
10305 2003-02-26  Angus Leeming  <leeming@lyx.org>
10306
10307         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
10308         LFUN_REF_APPLY.
10309
10310 2003-02-25  John Levon  <levon@movementarian.org>
10311
10312         * ispell.C: give the forked command a more accurate name
10313
10314 2003-02-22  John Levon  <levon@movementarian.org>
10315
10316         * toc.h:
10317         * toc.C: make TocItem store an id not a Paragraph *
10318           (bug #913)
10319
10320 2003-02-21  Angus Leeming  <leeming@lyx.org>
10321
10322         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
10323           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
10324           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
10325           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
10326           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
10327           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
10328
10329         * BufferView_pimpl.C (dispatch):
10330         * LyXAction.C (init):
10331         * factory.C (createInset):
10332         * lyxfunc.C (getStatus, dispatch):
10333         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
10334
10335 2003-02-21  Angus Leeming  <leeming@lyx.org>
10336
10337         * BufferView_pimpl.C (MenuInsertLyXFile):
10338         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
10339         * lyxfunc.C (menuNew, open, doImport):
10340           no longer pass a LyXView & to fileDlg.
10341
10342 2003-02-21  Angus Leeming  <leeming@lyx.org>
10343
10344         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
10345         * LyXAction.C: change, BIBKEY to BIBITEM.
10346         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
10347         Change InsetBibKey to InsetBibitem.
10348         Change BIBKEY_CODE to BIBITEM_CODE.
10349         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10350         * factory.C: replace insetbib.h with insetbibitem.h.
10351         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10352         * paragraph.C: replace insetbib.h with insetbibitem.h.
10353         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
10354         Change bibkey() to bibitem().
10355         * text.C: remove insetbib.h.
10356         * text2.C: replace insetbib.h with insetbibitem.h.
10357         change bibkey() to bibitem().
10358         * text3.C: remove insetbib.h.
10359         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10360
10361 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10362
10363         * lyxrc.C (output): enclose user email in quotes (in case there are
10364         several words)
10365
10366 2003-02-18  John Levon  <levon@movementarian.org>
10367
10368         * buffer.h: add std::
10369
10370 2003-02-17  John Levon  <levon@movementarian.org>
10371
10372         * SpellBase.h:
10373         * ispell.h:
10374         * ispell.C:
10375         * pspell.h:
10376         * pspell.C: reworking. Especially in ispell, a large
10377           number of clean ups and bug fixes.
10378
10379         * lyxfunc.C: fix revert to behave sensibly
10380
10381 2003-02-17 André Pönitz <poenitz@gmx.net>
10382
10383         * LyXAction.C:
10384         * commandtags.h: new LFUN_INSERT_BIBKEY
10385
10386         * layout.h:
10387         * lyxlayout.C:
10388         * buffer.C:
10389         * factory.C:
10390         * text.C:
10391         * text2.C:
10392         * text3.C:
10393         * paragraph.[Ch]:
10394         * paragraph_func.C: remove special bibkey handling
10395
10396 2003-02-17  John Levon  <levon@movementarian.org>
10397
10398         * text.C (Delete): fix case where delete at the end of
10399           the very first paragraph would not merge the pars
10400
10401 2003-02-17  John Levon  <levon@movementarian.org>
10402
10403         * lyxrow.C: fix lastPrintablePos()
10404
10405 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10406
10407         * bufferparams.C (writeLaTeX): add a std:here
10408
10409         * buffer.C: and remove a using directive there
10410
10411 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10412
10413         * buffer.C (makeLaTeXFile): move the code that generates the
10414           preamble...
10415
10416         * bufferparams.C (writeLaTeX): ... in this new method
10417
10418         * LaTeXFeatures.C (getEncodingSet): make const
10419           (getLanguages): make const
10420
10421         * MenuBackend.C (binding): returns the binding associated to this
10422           action
10423           (add): sets the status of each item by calling getStatus. Adds
10424           some intelligence.
10425           (read): add support for OptSubMenu
10426           (expand): remove extra separator at the end of expanded menu
10427
10428 2003-02-15  John Levon  <levon@movementarian.org>
10429
10430         * BufferView.C:
10431         * BufferView_pimpl.C:
10432         * bufferlist.h:
10433         * bufferlist.C: remove pointless BufferStorage bloat. Remove
10434           inset code that had no actual effect. Remove unneeded status
10435           code.
10436
10437 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10438
10439         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10440           in preamble
10441
10442 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
10443
10444         * text.C (drawLengthMarker): also draw an arrow marker for
10445           symbolic lengths (medskip...)
10446
10447 2003-02-14  John Levon  <levon@movementarian.org>
10448
10449         * tabular.h:
10450         * tabular.C: better method names
10451
10452 2003-02-14  John Levon  <levon@movementarian.org>
10453
10454         * BufferView_pimpl.C:
10455         * bufferlist.C:
10456         * buffer.C:
10457         * converter.C:
10458         * lyx_cb.C:
10459         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10460           it's a more accurate name. Remove some pointless uses.
10461
10462 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10463
10464         * text2.C (LyXText): change order of initilizers to shut off
10465           warnings
10466
10467 2003-02-14  John Levon  <levon@movementarian.org>
10468
10469         * buffer.C: use ParIterator for getParFromID()
10470
10471         * paragraph.h:
10472         * paragraph.C:
10473         * paragraph_pimpl.h:
10474         * paragraph_pimpl.C: remove unused getParFromID()
10475
10476 2003-02-14  John Levon  <levon@movementarian.org>
10477
10478         * buffer.C: remove some very old #if 0'd parse code
10479
10480 2003-02-13  John Levon  <levon@movementarian.org>
10481
10482         * text.h:
10483         * text.C:
10484         * text2.C: move hfillExpansion(), numberOfSeparators(),
10485           rowLast(), rowLastPrintable(), numberofHfills(),
10486           numberOfLabelHfills() ...
10487
10488         * lyxrow.h:
10489         * lyxrow.C: ... to member functions here.
10490
10491         * paragraph.h:
10492         * paragraph.C:
10493         * lyxtext.h:
10494         * text.C: remove LyXText::beginningOfMainBody(), and call
10495           p->beginningOfMainBody() directly. Move the check for
10496           LABEL_MANUAL into the latter.
10497
10498         * text.h:
10499         * text.C:
10500         * text2.C:
10501         * vspace.C:
10502         * BufferView.h:
10503         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10504
10505         * text.h:
10506         * text.C:
10507         * text2.C:
10508         * text3.C:
10509         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10510           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10511
10512 2003-02-13  John Levon  <levon@movementarian.org>
10513
10514         * CutAndPaste.C: remove debug
10515
10516 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10517
10518         * paragraph.C (asString): remove two unused variables
10519
10520         * lyxtextclass.C (readTitleType):
10521           (Read):
10522           (LyXTextClass): handle new members titletype_ and titlename_
10523
10524         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10525
10526 2003-02-09  John Levon  <levon@movementarian.org>
10527
10528         * buffer.h:
10529         * buffer.C: replace hand-coded list with a map for the dep clean
10530
10531 2003-02-08  John Levon  <levon@movementarian.org>
10532
10533         * LaTeX.C: consolidate code into showRunMessage() helper
10534
10535 2003-02-08  John Levon  <levon@movementarian.org>
10536
10537         * lyxfind.C:
10538         * lyxtext.h:
10539         * text2.C:
10540         * BufferView.C: change setSelectionOverString() to setSelectionRange()
10541           and pass the size in explicitly
10542
10543         * BufferView_pimpl.h:
10544         * BufferView_pimpl.C:
10545         * BufferView.h:
10546         * BufferView.C: add getCurrentChange()
10547
10548         * BufferView_pimpl.h:
10549         * BufferView_pimpl.C: handle change lfuns
10550
10551         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10552           for changes. Mark pasted paragraphs as new.
10553
10554         * support/lyxtime.h:
10555         * support/lyxtime.C:
10556         * DepTable.C: abstract time_t as lyx::time_type
10557
10558         * LColor.h:
10559         * LColor.C: add colours for new text, deleted text, changebars
10560
10561         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10562           package use "usenames" option.
10563
10564         * commandtags.h:
10565         * lyxfunc.C:
10566         * LyXAction.C: add change lfuns
10567
10568         * Makefile.am:
10569         * author.h:
10570         * author.C: author handling
10571
10572         * buffer.h:
10573         * buffer.C: add a per-buffer author list, with first entry as
10574           current author. Handle new .lyx tokens for change tracking. Output
10575           author list to .lyx file. Output dvipost stuff to .tex preamble.
10576           Bump lyx format to 222.
10577
10578         * bufferlist.h:
10579         * bufferlist.C: add setCurrentAuthor() to reset current author details
10580           in all buffers.
10581
10582         * bufferparams.h:
10583         * bufferparams.C: add param for tracking
10584
10585         * bufferview_funcs.C: output change info in minibuffer
10586
10587         * Makefile.am:
10588         * changes.h:
10589         * changes.C: add change-tracking structure
10590
10591         * debug.h:
10592         * debug.C: add CHANGES debug flag
10593
10594         * lyxfind.h:
10595         * lyxfind.C: add code for finding the next change piece
10596
10597         * lyxrc.h:
10598         * lyxrc.C: add user_name and user_email
10599
10600         * lyxrow.h:
10601         * lyxrow.C: add a metric for the top of the text line
10602
10603         * lyxtext.h:
10604         * text.C: implement accept/rejectChange()
10605
10606         * lyxtext.h:
10607         * text.C: paint changebars. Paint new/deleted text in the chosen
10608         colours. Strike through deleted text.
10609
10610         * paragraph.h:
10611         * paragraph.C:
10612         * paragraph_pimpl.h:
10613         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10614           in the current change to the insert functions. Rework erase to
10615           mark text as deleted, adding an eraseIntern() and a range-based
10616           erase(). Implement per-paragraph change lookup and
10617           accept/reject.
10618
10619         * paragraph_funcs.C: Fixup paste for change tracking.
10620
10621         * tabular.C: mark added row/columns as new.
10622
10623         * text.C: fix rowLast() to never return -1. Don't allow
10624           spellchecking of deleted text. Track transpose changes. Don't
10625           allow paragraph break or merge where appropriate.
10626
10627         * text2.C: leave cursor at end of selection after a cut.
10628
10629 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10630
10631         * text.C (getLengthMarkerHeight):
10632         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10633         visible on screen too.
10634
10635 2003-02-07  John Levon  <levon@movementarian.org>
10636
10637         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10638
10639 2003-02-05  Angus Leeming  <leeming@lyx.org>
10640
10641         * lyxserver.C (read_ready): revert my patch of 11 September last year
10642         as it sends PC cpu through the roof. Presumably this means that
10643         the lyxserver will no longer run on an Alpha...
10644
10645 2003-01-30  Angus Leeming  <leeming@lyx.org>
10646
10647         * factory.C (createInset): create an InsetCommandParam of type "index"
10648         and use it to 'do the right thing'.
10649
10650         * text2.C (getStringToIndex): ensure that cursor position is always
10651         reset to the reset_cursor position.
10652
10653 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10654
10655         * lyxfunc.C (getStatus): "buffer-export custom" should never be
10656         disabled.
10657
10658 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
10659
10660         * bufferview.C:
10661         * lyxcb.C:
10662         * lyxfunc.C: Output messages with identical spelling, punctuation,
10663         and spaces
10664
10665 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
10666
10667         * MenuBackend.C (expandFormats): List only viewable export formats
10668         in "View" menu
10669
10670         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10671         message
10672
10673         * lyxfunc.C (getStatus): Make sure that formats other than
10674         "fax" can also be disabled
10675
10676 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10677
10678         * text3.C (dispatch): put the lfuns that insert insets in 3
10679         groups, and call doInsertInset with appropriate arguments.
10680         (doInsertInset): new function, that creates an inset and inserts
10681         it according to some boolean parameters.
10682
10683 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
10684
10685         * buffer.C (readFile): remember to pass on 'par' when calling
10686         readFile recursively.
10687
10688 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10689
10690         * MenuBackend.C (expandFormats): add "..." to import formats.
10691
10692 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
10693
10694         * paragraph.C (asString): Remove XForms RTL hacks.
10695
10696 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
10697         * buffer.C: fix typo
10698
10699 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10700
10701         * Makefile.am (LIBS): delete var
10702         (lyx_LDADD): add @LIBS@ here instead.
10703
10704 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
10705
10706         * Clarify the meaning of "wheel mouse jump"
10707
10708 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10709
10710         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10711         tabular in a float
10712
10713 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10714
10715         * importer.C (Loaders): do not preallocate 3 elements in the
10716         vector, since one ends up with 6 elements otherwise
10717
10718 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10719
10720         * DepTable.C (write): write the file name as last element of the
10721         .dep file (because it may contain spaces)
10722         (read): read info in the right order
10723
10724 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10725
10726         * paragraph_pimpl.C (simpleTeXBlanks):
10727         (simpleTeXSpecialChars):
10728         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10729
10730         * tabular.C (latex): add some missing case statements. Reindent.
10731
10732         * MenuBackend.C (expandToc): remove unused variable.
10733
10734 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
10735
10736         * LColor.C:
10737         * LaTeX.C:
10738         * LyXAction.C:
10739         * MenuBackend.C:
10740         * buffer.C:
10741         * exporter.C:
10742         * lyxfunc.C:
10743         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10744         and the like.
10745
10746 2003-01-05  John Levon  <levon@movementarian.org>
10747
10748         * BufferView.h:
10749         * BufferView.C: add getEncoding()
10750
10751         * kbsequence.h:
10752         * kbsequence.C: do not store last keypress
10753
10754         * lyxfunc.h:
10755         * lyxfunc.C: store last keypress here instead. Pass encoding
10756           to getISOEncoded()
10757
10758 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10759
10760         * lyx_main.C (init): remove annoying error message when following
10761         symbolic links (bug #780)
10762
10763 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10764
10765         * text.C (insertChar):
10766         * lyxrc.C (getDescription): remove extra spaces
10767
10768 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10769
10770         * lyxrc.C (getDescription): remove extra spaces
10771
10772 2002-12-20  John Levon  <levon@movementarian.org>
10773
10774         * text3.C: hack fix for page up/down across tall rows
10775
10776 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10777
10778         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10779         not been invoked
10780
10781 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10782
10783         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10784         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10785         thesaurus is not compiled in
10786
10787 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
10788
10789         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
10790
10791 2002-12-16  Angus Leeming  <leeming@lyx.org>
10792
10793         * lyxrc.[Ch]:
10794         * lyx_main.C (init): remove override_x_deadkeys stuff.
10795
10796 2002-12-12  John Levon  <levon@movementarian.org>
10797
10798         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10799           insert. Only remove shift modifier under strict
10800           circumstances.
10801
10802 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
10803
10804         * MenuBackend.C (expandToc): fix crash.
10805
10806 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
10807
10808         * MenuBackend.C (expandToc): gettext on float names.
10809
10810 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
10811
10812         * lyxlength.[Ch]: set default unit to UNIT_NONE,
10813         implement bool empty() [bug 490]
10814
10815 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10816
10817         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10818
10819 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10820
10821         * several files: ws changes
10822
10823 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10824
10825         * text2.C (setCounter): clean up a bit, use boost.format.
10826         (updateCounters): initialize par upon declaration.
10827
10828         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10829         if the layout exists. We do not just store the layout any more.
10830         (SwitchLayoutsBetweenClasses): use boost.format
10831
10832 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10833
10834         * converter.C (convert): if from and to files are the same, use a
10835         temporary files as intermediary
10836
10837 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10838
10839         * commandtags.h:
10840         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10841
10842 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10843
10844         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10845
10846 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
10847
10848         * tabular.C (asciiPrintCell): use string(size, char) instead of
10849         explicit loop.
10850
10851         * sgml.C (openTag): fix order of arguments to string constructor
10852         (closeTag): ditto
10853
10854         * lyxfunc.C (dispatch): use boost.format
10855
10856         * lots of files: change "c" -> 'c'
10857
10858 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10859
10860         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10861
10862 2002-11-25  Angus Leeming  <leeming@lyx.org>
10863
10864         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10865
10866         * lyx_main.C (init): compile fix.
10867
10868 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
10869
10870         * lyx_cb.C (start): boost.formatify
10871         do not include <iostream>
10872
10873         * lengthcommon.C: ws only
10874
10875         * boost-inst.C,BoostFormat.h: add more explict instantations
10876
10877 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
10878
10879         * lots of files: handle USE_BOOST_FORMAT
10880
10881 2002-11-21  John Levon  <levon@movementarian.org>
10882
10883         * pspell.C: fix compile
10884
10885 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10886
10887         * lyxfunc.C (dispatch): use boost::format
10888         (open): ditto
10889         (doImport): ditto
10890
10891         * lyxfont.C (stateText): use boost::format
10892
10893         * lyx_main.C (LyX): use boost::format
10894         (init): ditto
10895         (queryUserLyXDir): ditto
10896         (readRcFile): ditto
10897         (parse_dbg): ditto
10898         (typedef boost::function): use the recommened syntax.
10899
10900         * importer.C (Import): use boost::format
10901
10902         * debug.C (showLevel): use boost::format
10903
10904         * converter.C (view): use boost::format
10905         (convert): ditto
10906         (move): ditto
10907         (scanLog): ditto
10908
10909         * bufferview_funcs.C (currentState): use boost::format
10910
10911         * bufferlist.C (emergencyWrite): use boost::format
10912
10913         * buffer.C (readLyXformat2): use boost::format
10914         (parseSingleLyXformat2Token): ditto
10915
10916         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10917
10918         * LaTeX.C (run): use boost::format
10919
10920         * Chktex.C (scanLogFile): use boost::format
10921
10922         * BufferView_pimpl.C (savePosition): use boost::format
10923         (restorePosition): ditto
10924         (MenuInsertLyXFile): ditto
10925
10926         * BoostFormat.h: help file for explicit instation.
10927
10928 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
10929
10930         * tabular.C (latex): Support for block alignment in fixed width
10931         columns.
10932
10933 2002-11-17  John Levon  <levon@movementarian.org>
10934
10935         * BufferView_pimpl.C:
10936         * lyx_cb.C:
10937         * lyxfunc.C: split filedialog into open/save
10938
10939 2002-11-08  Juergen Vigna  <jug@sad.it>
10940
10941         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10942         by my last patch (hopefully).
10943
10944 2002-11-08  John Levon  <levon@movementarian.org>
10945
10946         * iterators.h:
10947         * iterators.C:
10948         * buffer.h:
10949         * buffer.C:
10950         * paragraph.h:
10951         * paragraph.C:
10952         * toc.h:
10953         * toc.C: ParConstIterator, and use it (from Lars)
10954
10955 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
10956
10957         * lyxtextclass.[Ch]: revise and add doxygen comments
10958
10959 2002-11-07  John Levon  <levon@movementarian.org>
10960
10961         * text.C: fix progress value for spellchecker
10962
10963         * toc.C: fix navigate menu for insetwrap inside minipage
10964
10965         * paragraph_funcs.C: added FIXME for suspect code
10966
10967 2002-11-07  John Levon  <levon@movementarian.org>
10968
10969         * BufferView_pimpl.C: fix redrawing of insets
10970           on buffer switch
10971
10972 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10973
10974         * text2.C (updateCounters): fix bug 668
10975
10976 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
10977
10978         * text3.C (dispatch): Do not make the buffer dirty when moving the
10979         cursor.
10980
10981 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10982
10983         * vc-backend.C: STRCONV
10984         (scanMaster): ditto
10985
10986         * text2.C (setCounter): STRCONV
10987
10988         * paragraph.C (asString): STRCONV
10989
10990         * lyxlength.C (asString): STRCONV
10991         (asLatexString): ditto
10992
10993         * lyxgluelength.C (asString): STRCONV
10994         (asLatexString): ditto
10995
10996         * lyxfunc.C (dispatch): STRCONV
10997         (open): ditto
10998
10999         * lyxfont.C (stateText): STRCONV
11000
11001         * importer.C (Import): STRCONV
11002
11003         * counters.C (labelItem): STRCONV
11004         (numberLabel): ditto
11005         (numberLabel): remove unused ostringstream o
11006
11007         * chset.C: STRCONV
11008         (loadFile): ditto
11009
11010         * bufferview_funcs.C (currentState): STRCONV
11011
11012         * buffer.C (readFile): STRCONV
11013         (asciiParagraph): ditto
11014         (makeLaTeXFile): ditto
11015
11016         * Spacing.C (writeEnvirBegin): STRCONV
11017
11018         * LaTeXFeatures.C (getLanguages): STRCONV
11019         (getPackages): ditto
11020         (getMacros): ditto
11021         (getBabelOptions): ditto
11022         (getTClassPreamble): ditto
11023         (getLyXSGMLEntities): ditto
11024         (getIncludedFiles): ditto
11025
11026         * LaTeX.C: STRCONV
11027         (run): ditto
11028         (scanAuxFile): ditto
11029         (deplog): ditto
11030
11031         * LString.h: add the STRCONV macros
11032
11033         * BufferView_pimpl.C (savePosition): STRCONV
11034         (restorePosition): ditto
11035         (MenuInsertLyXFile): ditto
11036
11037         * vc-backend.C (scanMaster): change from submatch[...] to
11038         submatch.str(...)
11039
11040         * funcrequest.C: include config.h
11041
11042         * factory.C: include config.h
11043
11044         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
11045
11046         * box.C: include config.h
11047
11048         * LaTeX.C (scanAuxFile): change from submatch[...] to
11049         submatch.str(...)
11050         (deplog): ditto
11051
11052 2002-10-25  Angus Leeming  <leeming@lyx.org>
11053
11054         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
11055
11056         * ispell.[Ch] (setError): new method.
11057         * ispell.C (c-tor): move out child process into new class LaunchIspell.
11058         Use setError() insetead of goto END.
11059
11060         * lyx_cb.C (AutoSave): move out child process into new class
11061         AutoSaveBuffer.
11062
11063 2002-10-30  John Levon  <levon@movementarian.org>
11064
11065         * text3.C: make start appendix undoable
11066
11067 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
11068
11069         * lyxlength.C (inPixels): Fix returned value.
11070
11071         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
11072         environment.
11073
11074 2002-10-24  Angus Leeming  <leeming@lyx.org>
11075
11076         * lyxgluelength.h: no need to forward declare BufferParams
11077         or BufferView, so don't.
11078
11079 2002-10-21  John Levon  <levon@movementarian.org>
11080
11081         * BufferView.C: menuUndo ->undo, redo
11082
11083         * BufferView.h: document, remove dead, make some methods private
11084
11085         * paragraph_funcs.h:
11086         * paragraph_funcs.C:
11087         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
11088
11089         * buffer.h:
11090         * buffer.C:
11091         * sgml.h:
11092         * sgml.C: move sgml open/close tag into sgml.C
11093
11094         * bufferview_funcs.h: unused prototype
11095
11096         * lyxfunc.h:
11097         * lyxfunc.C: remove unused
11098
11099         * lyxtext.h:
11100         * text.C: remove unused
11101
11102 2002-10-21  John Levon  <levon@movementarian.org>
11103
11104         * BufferView.h:
11105         * BufferView.C:
11106         * BufferView_pimpl.h:
11107         * BufferView_pimpl.C: fix mouse wheel handling based on
11108           patch from Darren Freeman
11109
11110 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
11111
11112         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
11113
11114 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
11115
11116         * lyxlength.C (inPixels): Fix hanfling of negative length.
11117         Fix LyXLength::MU case.
11118
11119 2002-10-16  John Levon  <levon@movementarian.org>
11120
11121         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
11122
11123 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11124
11125         * converter.C (view): add support for $$i (file name) and $$p
11126         (file path) for the viewer command. If $$i is not specified, then
11127         it is appended to the command (for compatibility with old syntax)
11128
11129 2002-10-14  Juergen Vigna  <jug@sad.it>
11130
11131         * undo_funcs.C (textHandleUndo): alter the order in which the
11132         new undopar is added to the LyXText, as we have to set first
11133         the right prev/next and then add it as otherwise the rebuild of
11134         LyXText is not correct. Also reset the cursor to the right paragraph,
11135         with this IMO we could remove the hack in "redoParagraphs()".
11136
11137 2002-10-09  Angus Leeming  <leeming@lyx.org>
11138
11139         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
11140         to turn off an optimisation if a new inset is to be inserted.
11141
11142 2002-10-11 André Pönitz <poenitz@gmx.net>
11143
11144         * lyxtext.h: make some functions public to allow access
11145         from inset/lyxtext for handling LFUN_PRIOR/NEXT
11146
11147 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11148
11149         * text3.C (dispatch): when changing layout, avoid an infinite loop
11150         [bug #652]
11151
11152 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11153
11154         * lyxrc.C (read): treat a viewer or converter command of "none" as
11155         if it were empty.
11156
11157         * MenuBackend.C (expandFormats): for an update, also allow the
11158         formats that are not viewable
11159
11160         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
11161         script if it is newer than the lyxrc.defaults in user directory
11162
11163 2002-10-07 André Pönitz <poenitz@gmx.net>
11164
11165         * text.C: Vitaly Lipatov's small i18n fix
11166
11167 2002-09-25  Angus Leeming  <leeming@lyx.org>
11168
11169         * ispell.h: doxygen fix.
11170
11171 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
11172
11173         * buffer.h (readFile): Add a new argument to the method, to allow
11174         reading of old-format templates.
11175
11176 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
11177
11178         * toc.C (getTocList): Get TOC from InsetWrap.
11179
11180 2002-09-16  John Levon  <levon@movementarian.org>
11181
11182         * lyxfunc.C: check tabular for cut/copy too
11183
11184 2002-09-12  John Levon  <levon@movementarian.org>
11185
11186         * LyXAction.C: tidy
11187
11188         * factory.h:
11189         * factory.C: add header
11190
11191         * paragraph_funcs.h:
11192         * paragraph_funcs.C: cleanup
11193
11194 2002-09-11  John Levon  <levon@movementarian.org>
11195
11196         * PrinterParams.h: odd/even default to true
11197
11198 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
11199
11200         * PrinterParams.h: update printer parameters for new xforms dialog
11201
11202 2002-09-11  Angus Leeming  <leeming@lyx.org>
11203
11204         * lyxserver.C (read_ready): re-write to make it more transparent
11205         and to make it work in coherent fashion under Tru64 Unix.
11206
11207 2002-09-11  André Pönitz <poenitz@gmx.net>
11208
11209         * commandtags.h:
11210         * LyXAction.C:
11211         * text3.C: implement LFUN_WORDSEL
11212
11213 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11214
11215         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
11216         make floatlist_ a boost::shared_ptr<FloatList>
11217
11218         * lyxtextclass.C: include FloatList.h
11219         (LyXTextClass): initialize floatlist_
11220         (TextClassTags): add TC_NOFLOAT
11221         (Read): match "nofloat" to TC_NOFLOAT and use it.
11222         (readFloat): modify call to floatlist_
11223         (floats): ditto
11224         (floats): ditto
11225
11226         * FloatList.[Ch] (FloatList): remove commented out float
11227         initialization.
11228         (erase): new function
11229
11230 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11231
11232         * MenuBackend.C (expandToc): fix crash when there is no document
11233         open
11234
11235 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
11236
11237         * many files: Add insetwrap.
11238
11239 2002-09-09  John Levon  <levon@movementarian.org>
11240
11241         * text2.C: remove confusing and awkward depth wraparound
11242
11243 2002-09-09  John Levon  <levon@movementarian.org>
11244
11245         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
11246
11247         * buffer.h:
11248         * buffer.C: remove getIncludeonlyList()
11249
11250         * paragraph.C:
11251         * lyxfunc.C: remove headers
11252
11253 2002-09-09  Juergen Vigna  <jug@sad.it>
11254
11255         * text.C (getColumnNearX): fix form Michael this is most
11256         probably a cut&paste bug.
11257
11258 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
11259
11260         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
11261
11262         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
11263         references, ws changes.
11264
11265         * text2.C (init): update counters after init
11266         (insertParagraph): no need to set counter on idividual paragraphs.
11267         (setCounter): access the counters object in the textclass object
11268         on in the buffer object.
11269         (updateCounters): ditto
11270
11271         * lyxtextclass.C: include counters.h, add variable ctrs_ as
11272         shared_ptr<Counters> to avoid loading counters.h in all
11273         compilation units.
11274         (LyXTextClass): initialize ctrs_
11275         (TextClassTags): add TC_COUNTER, and ...
11276         (Read): use it here.
11277         (CounterTags): new tags
11278         (readCounter): new function
11279         (counters): new funtion
11280         (defaultLayoutName): return a const reference
11281
11282         * counters.C (Counters): remove contructor
11283         (newCounter): remove a couple of unneeded statements.
11284         (newCounter): simplify a bit.
11285         (numberLabel): some small formatting changes.
11286
11287         * buffer.[Ch]: remove all traces of counters, move the Counters
11288         object to the LyXTextClass.
11289
11290 2002-09-06  Alain Castera  <castera@in2p3.fr>
11291
11292         * tabular.C: uses \tabularnewline; uses >{...} construct from array
11293         package to set the horizontal alignment on fixed width columns.
11294
11295         * lyx_sty.C:
11296         * lyx_sty.h: added tabularnewline macro def.
11297
11298         * LaTeXFeatures.C: added NeedTabularnewline macro feature
11299
11300 2002-09-06  John Levon  <levon@movementarian.org>
11301
11302         * LyXAction.C: tooltips for sub/superscript
11303
11304         * MenuBackend.C: a bit more verbose
11305
11306         * lyxfunc.C: tiny clean
11307
11308         * undo_funcs.C: document undo_frozen
11309
11310 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
11311
11312         * counters.C (Counters): add missing algorithm counter.
11313
11314         * text2.C (setCounter): lookup the counter with layouts latexname
11315         instead of by section number.
11316         (setCounter): use a hackish way to lookup the correct enum
11317         counter.
11318         a float name->type change
11319         reset enum couners with counter name directly instead of depth value.
11320
11321         * counters.C (Counters): remove the push_backs, change to use the
11322         float type not the float name.
11323         (labelItem): remove unused string, float name->type change
11324
11325         * counters.h: don't include vector, loose the enums and sects vectors
11326
11327 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
11328
11329         * lyxtextclass.C (TextClassTags): add TC_FLOAT
11330         (Read): add float->TC_FLOAT to textclassTags
11331         (Read): and handle it in the switch
11332         (readFloat): new function
11333
11334         * FloatList.C (FloatList): comment out the hardcoded float
11335         definitions.
11336
11337         * lyxlayout.h: ws change.
11338
11339 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
11340
11341         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
11342
11343 2002-09-03  Angus Leeming  <leeming@lyx.org>
11344
11345         * BufferView_pimpl.h: qualified name is not allowed in member
11346         declaration: WorkArea & Pimpl::workarea() const;
11347
11348         * factory.C: added using std::endl directive.
11349
11350         * text3.C: added using std::find and std::vector directives.
11351
11352 2002-08-29  André Pönitz <poenitz@gmx.net>
11353
11354         * lyxtext.h:
11355         * text2.C: remove unused member number_of_rows
11356
11357         * Makefile.am:
11358         * BufferView2.C: remove file, move contents to...
11359         * BufferView.C: ... here
11360
11361         * BufferView_pimpl.C:
11362         * factory.C: move more inset creation to factory
11363
11364         * vspace.C: avoid direct usage of LyXText, ws changes
11365
11366         * BufferView.[Ch]:
11367                 don't provide direct access to WorkArea, use two simple
11368                 acessors haveSelction() and workHeight() instead
11369
11370
11371 2002-08-29  John Levon  <levon@movementarian.org>
11372
11373         * BufferView_pimpl.C (dispatch): do not continue when
11374           no buffer
11375
11376 2002-08-28  André Pönitz <poenitz@gmx.net>
11377
11378         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
11379
11380         * BufferView.h:
11381         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
11382
11383 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
11384
11385         * buffer.C: increment LYX_FORMAT to 221
11386
11387         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
11388         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
11389
11390         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
11391
11392         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
11393
11394 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11395
11396         * factory.C (createInset): use LyXTextClass::floats
11397
11398         * MenuBackend.C (expandFloatListInsert):
11399         (expandFloatInsert):
11400         (expandToc):
11401
11402         * text2.C (setCounter):
11403
11404         * LaTeXFeatures.C (useFloat):
11405         (getFloatDefinitions):
11406
11407         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
11408
11409         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
11410         floatlist_, with accessor floats().
11411
11412         * FloatList.h: remove global FloatList
11413
11414 2002-08-26  André Pönitz <poenitz@gmx.net>
11415
11416         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
11417
11418         * BufferView.h:
11419         * BufferView2.C:
11420         * BufferView_pimpl.C:
11421         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
11422
11423 2002-08-25  John Levon  <levon@movementarian.org>
11424
11425         * LyXAction.C: fix margin note description
11426
11427 2002-08-24  John Levon  <levon@movementarian.org>
11428
11429         * buffer.C:
11430         * bufferlist.C:
11431         * bufferview_funcs.C:
11432         * lyxfont.C:
11433         * undo_funcs.C: cleanups
11434
11435         * lyxfunc.C: disable CUT/COPY when no selection
11436
11437 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
11438
11439         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11440         in "enum UNIT"; e.g. PTW for Percent of TextWidth
11441
11442         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11443         Add backward compatibility to "mono", "gray" and "no".
11444
11445 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
11446
11447         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11448         (and file_format >= 200).
11449
11450 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11451
11452         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11453
11454 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11455
11456         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11457
11458 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
11459
11460         * BufferView_pimpl.C:
11461         * LyXAction.C:
11462         * buffer.C:
11463         * commandtags.h:
11464         * lyxfunc.C:
11465         * paragraph.[Ch]:
11466         * text2.C:
11467         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11468         inset and code to make it  work with the paragraph code. The inset
11469         can be anywhere in the paragraph, but will only do the expected
11470         thing in LaTeX if the layout file contains the parameter line
11471                         OptionalArgs    1
11472         (or more generally, a nonzero value) for that layout.
11473
11474 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
11475
11476         * paragraph.h: remove the declaration of undefined counters class
11477         function.
11478
11479 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
11480
11481         * text2.C (setCounter):  fixed enumeration mis-count as reported by
11482         Dr. Richard Hawkins.
11483
11484 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11485
11486         * paragraph_funcs.h: remove some unneeded includes
11487
11488         * text.C (backspace): pasteParagraph now in global scipe
11489
11490         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11491         (pasteSelection): ditto
11492
11493         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11494         * paragraph_funcs.C (pasteParagraph): ... here
11495
11496 2002-08-20  André Pönitz <poenitz@gmx.net>
11497
11498         * commandtags.h: new LFUNs for swapping/copying table row/colums
11499
11500         * LyXAction.C:
11501         * lyxfunc.C: support for new lfuns
11502
11503 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
11504
11505         * tabular.C:
11506         * buffer.[Ch]: remove NO_COMPABILITY stuff
11507
11508 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
11509
11510         * boost.C (throw_exception): new file, with helper function for
11511         boost compiled without exceptions.
11512
11513         * paragraph.h:
11514         * lyxlength.C:
11515         * buffer.C:
11516         * ParameterStruct.h:
11517         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11518
11519         * bufferlist.C (emergencyWriteAll): use boost bind
11520
11521         * BufferView_pimpl.C (moveCursorUpdate): remove inline
11522
11523         * text.C: include paragraph_funcs.h
11524         (breakParagraph): breakParagraph is now in global scope
11525
11526         * paragraph_funcs.[Ch]: new files
11527
11528         * paragraph.C (breakParagraph,breakParagraphConservative): move to
11529         global scope
11530
11531         * buffer.C: include paragraph_funcs.h
11532         (insertStringAsLines): breakParagraph is now in global scope
11533
11534         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11535         paragraph_funcs.C
11536
11537         * CutAndPaste.C: include paragraph_funcs.h
11538         (cutSelection): breakParagraphConservative is now in global scope
11539         (pasteSelection): ditto
11540
11541         * buffer.h: declare oprator== and operator!= for
11542         Buffer::inset_iterator
11543
11544         * bufferlist.C (emergencyWrite): don't use fmt(...)
11545
11546         * text3.C: add using std::endl
11547
11548         * BufferView.C (moveCursorUpdate): remove default arg
11549
11550 2002-08-20  André Pönitz <poenitz@gmx.net>
11551
11552         * buffer.[Ch]: move inline functions to .C
11553
11554         * BufferView2.C:
11555         * BufferView_pimpl.C:
11556         * text.C:
11557         * buffer.[Ch]: use improved inset_iterator
11558
11559         * buffer.C:
11560         * paragraph.[Ch]: write one paragraph at a time
11561
11562 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11563
11564         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11565         style if style is not specified.
11566
11567 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11568
11569         * text2.C (setCounter): when searching for right label for a
11570         caption, make sure to recurse to parent insets (so that a caption
11571         in a minipage in a figure float works) (bug #568)
11572
11573 2002-08-20  André Pönitz <poenitz@gmx.net>
11574
11575         * text3.C: new file for LyXText::dispatch() and helpers
11576
11577         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11578
11579         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11580
11581 2002-08-19  André Pönitz <poenitz@gmx.net>
11582
11583         * lyxtext.h:
11584         * text.C: new LyXText::dispatch()
11585
11586         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11587
11588 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
11589
11590         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11591
11592         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11593         Hebrew text.
11594
11595 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11596
11597         * Makefile.am: use $(variables) instead of @substitutions@
11598
11599 2002-08-15  André Pönitz <poenitz@gmx.net>
11600
11601         * lyxfunc.C:
11602         * BufferView_pimpl.C: streamlining mathed <-> outer world
11603         interaction
11604
11605         * commandtags.h:
11606         * LyXAction.C: remove unused LFUN_MATH
11607
11608 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11609
11610         * paragraph.[Ch]: add some NO_NEXT ifdefs.
11611
11612 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11613
11614         * paragraph.C (Paragraph): reformat a bit
11615         (cutIntoMinibuffer): use builtin InsetList function instad of
11616         doing it manually.
11617         (getInset): ditto
11618
11619         * buffer.C: include boost/bind.hpp, add using std::for_each
11620         (writeFileAscii): use ParagraphList iterators
11621         (validate): use for_each for validate traversal of paragraphs
11622         (getBibkeyList): use ParagraphList iterators
11623         (resizeInsets): use for_each to resizeInsetsLyXText for all
11624         paragraphs.
11625         (getParFromID): use ParagraphList iterators
11626
11627         * BufferView2.C (lockInset): use paragraph list and iterators
11628
11629 2002-08-14  John Levon  <levon@movementarian.org>
11630
11631         * lyxserver.C: remove spurious xforms include
11632
11633 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11634
11635         * lyxfunc.C (getStatus): disable math-extern outside of math mode
11636
11637 2002-08-13  André Pönitz <poenitz@gmx.net>
11638
11639         * LyXAction.[Ch]:
11640         * lyxfunc.C: further cleaning
11641
11642 2002-08-13  André Pönitz <poenitz@gmx.net>
11643
11644         * funcrequest.h: new constructor
11645
11646         * funcrequest.C: move stuff here from .h
11647
11648         * Makefile.am:
11649         * BufferView_pimpl.C:
11650         * LyXAction.C:
11651         * toc.C:
11652         * lyxfunc.C: subsequent changes
11653
11654         * lyxfunc.h: new view() member function
11655
11656         * lyxfunc.C: subsequent changes
11657
11658 2002-08-13  Angus Leeming  <leeming@lyx.org>
11659
11660         * BufferView2.C:
11661         * BufferView_pimpl.C:
11662         * buffer.C:
11663         * converter.C:
11664         * importer.C:
11665         * lyxfunc.C:
11666         * lyxvc.C:
11667         * toc.C:
11668         * vc-backend.C:
11669         changes due to the changed LyXView interface that now returns references
11670         to member variables not pointers.
11671
11672 2002-08-13  Angus Leeming  <leeming@lyx.org>
11673
11674         * WordLangTuple (word, lang_code): return references to strings,
11675         not strings.
11676
11677         * BufferView.h:
11678         * SpellBase.h:
11679         * lyxtext.h: forward-declare WordLangTuple.
11680
11681         * BufferView2.C:
11682         * ispell.C:
11683         * pspell.C:
11684         * text.C: #include "WordLangTuple.h".
11685
11686         * lyxtext.h:
11687         * text.C: (selectNextWordToSpellcheck): constify return type.
11688
11689 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
11690
11691         * buffer.C:
11692         * buffer.h:
11693         * lyxtext.h:
11694         * paragraph.C:
11695         * paragraph_pimpl.h:
11696         * text.C:
11697         * text2.C:
11698         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11699         suggested by Angus.
11700         Made updateCounter always count from start of buffer, and removed
11701         second argument (par).
11702         Reverted floats number display to '#'. Perhaps I'll try again when the
11703         code base is sanitized a bit.
11704
11705 2002-08-12  Angus Leeming  <leeming@lyx.org>
11706
11707         * buffer.[Ch] (getLabelList): constify.
11708
11709 2002-08-07  André Pönitz <poenitz@gmx.net>
11710
11711         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11712
11713         * funcrequest.h: extension to keep mouse (x,y) position
11714
11715 2002-08-12  Juergen Vigna  <jug@sad.it>
11716
11717         * BufferView2.C (insertErrors): forbid undo when inserting error
11718         insets.
11719
11720         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11721
11722 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
11723
11724         * ParagraphList.[Ch]: new files
11725
11726         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11727
11728         * BufferView2.C (lockInset): ParagraphList changes
11729         * toc.C: ditto
11730         * text2.C: ditto
11731         * bufferlist.C: ditto
11732         * buffer.h: ditto
11733         * buffer.C: ditto
11734
11735 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11736
11737         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11738         unused class variable counter_,
11739
11740         * paragraph.[Ch] (getFirstCounter): delete unused function
11741
11742         * counters.C: include LAssert.h
11743         (reset): add a new function with no arg, change other version to
11744         not have def. arg and to not allow empty arg.
11745
11746         * text2.C (setCounter): remove empty arg from call to Counters::reset
11747
11748 2002-08-11  John Levon  <levon@movementarian.org>
11749
11750         * Makefile.am: add WordLangTuple.h
11751
11752 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11753
11754         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11755         lyxfunc.C lyxlex_pimpl.C: ws changes only.
11756
11757         * insets/insettext.C: InsetList changes
11758
11759         * graphics/GraphicsSupport.C (operator()): InsetList changes
11760
11761         * toc.C (getTocList): InsetList changes
11762
11763         * paragraph_pimpl.[Ch]: InsetList changes
11764
11765         * paragraph.[Ch]: InsetList changes
11766
11767         * buffer.C (inset_iterator): InsetList changes
11768         (setParagraph): ditto
11769         * buffer.h (inset_iterator): ditto
11770         * iterators.C (operator++): ditto
11771         * iterators.h: ditto
11772
11773         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11774
11775         * InsetList.[Ch]: new files, most InsetList handling moved out of
11776         paragraph.C.
11777
11778         * BufferView2.C (removeAutoInsets): InsetList changes
11779         (lockInset): ditto
11780         (ChangeInsets): ditto
11781
11782 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
11783
11784         * paragraph_pimpl.h (empty): new function
11785
11786         * paragraph.[Ch] (empty): new function
11787
11788         * other files: use the new Paragraph::empty function
11789
11790 2002-08-09  John Levon  <levon@movementarian.org>
11791
11792         * lyxtext.h: remove unused refresh_height
11793
11794 2002-08-09  John Levon  <levon@movementarian.org>
11795
11796         * Makefile.am:
11797         * sgml.h:
11798         * sgml.C:
11799         * buffer.C:
11800         * paragraph.h:
11801         * paragraph.C: move sgml char escaping out of paragraph
11802
11803         * paragraph.h:
11804         * paragraph.C: remove id setter
11805
11806         * buffer.C:
11807         * paragraph.C:
11808         * paragraph_pimpl.C: remove dead tex_code_break_column
11809
11810         * bufferview_funcs.C: small cleanup
11811
11812         * lyxfunc.C: remove dead proto
11813
11814         * lyxtext.h: make some stuff private. Remove some dead stuff.
11815
11816         * lyxgluelength.C: make as[LyX]String() readable
11817
11818 2002-08-08  John Levon  <levon@movementarian.org>
11819
11820         * LyXAction.h:
11821         * LyXAction.C:
11822         * MenuBackend.C:
11823         * ToolbarDefaults.C:
11824         * lyxfunc.C:
11825         * lyxrc.C:
11826         * toc.C: lyxaction cleanup
11827
11828 2002-08-08  John Levon  <levon@movementarian.org>
11829
11830         * BufferView2.C: small cleanup
11831
11832         * lyxfind.h:
11833         * lyxfind.C: move unnecessary header into the .C
11834
11835 2002-08-08  John Levon  <levon@movementarian.org>
11836
11837         * funcrequest.h: just tedious nonsense
11838
11839         * lyx_main.h:
11840         * lyx_main.C: cleanups
11841
11842         * buffer.C:
11843         * vspace.C: remove dead header lyx_main.h
11844
11845 2002-08-07  Angus Leeming  <leeming@lyx.org>
11846
11847         * Paragraph.[Ch]:
11848         * paragraph_pimpl.h:
11849         Forward declare class Counters in paragraph.h by moving the ctrs member
11850         variable into Paragraph::Pimpl.
11851         (counters): new method, returning a reference to pimpl_->ctrs.
11852
11853         * text2.C: ensuing changes.
11854
11855 2002-08-07  John Levon  <levon@movementarian.org>
11856
11857         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11858
11859         * BufferView_pimpl.C: announce X selection on double/triple
11860           click
11861
11862         * lyx_main.C: use correct bool in batch dispatch
11863
11864         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11865
11866 2002-08-07  André Pönitz <poenitz@gmx.net>
11867
11868         * funcrequest.h: new class to wrap a kb_action and its argument
11869
11870         * BufferView.[Ch]:
11871         * BufferView_pimpl[Ch]:
11872         * LaTeX.C:
11873         * LyXAction.[Ch]:
11874         * lyxfunc.[Ch]:
11875         * lyxrc.C: subsequent changes
11876
11877
11878 2002-08-07  John Levon  <levon@movementarian.org>
11879
11880         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11881           document options change.
11882
11883 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
11884
11885         * counters.[Ch]
11886         * text2.C
11887         * paragraph.[Ch]
11888         * makefile.am: move counters functionality over from
11889         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11890
11891 2002-08-06  John Levon  <levon@movementarian.org>
11892
11893         * WordLangTuple.h: new file for word + language code tuple
11894
11895         * SpellBase.h:
11896         * pspell.h:
11897         * pspell.C:
11898         * ispell.h:
11899         * ispell.C:
11900         * lyxtext.h:
11901         * text.C:
11902         * text2.C:
11903         * BufferView.h:
11904         * BufferView2.C: use WordLangTuple
11905
11906         * layout.h:
11907         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11908
11909 2002-08-06  John Levon  <levon@movementarian.org>
11910
11911         * lyx_main.C: fix cmdline batch handling
11912
11913 2002-08-06  André Pönitz <poenitz@gmx.net>
11914
11915         * lyxrc.C: set default for show_banner to true
11916
11917 2002-08-06  John Levon  <levon@movementarian.org>
11918
11919         * pspell.C: fix a crash, and allow new aspell to work
11920
11921 2002-08-06  John Levon  <levon@movementarian.org>
11922
11923         * lyxfunc.C:
11924         * kbmap.C: small cleanup
11925
11926         * vspace.h:
11927         * vspace.C: add const
11928
11929 2002-08-05  John Levon  <levon@movementarian.org>
11930
11931         * LyXAction.C: back to tabular-insert
11932
11933 2002-08-04  John Levon  <levon@movementarian.org>
11934
11935         * BufferView.h:
11936         * BufferView.C: cosmetic change
11937
11938         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11939
11940         * bufferlist.C:
11941         * buffer.h:
11942         * buffer.C:
11943         * lyxcb.h:
11944         * lyxcb.C:
11945         * lyxserver.C:
11946         * lyxvc.C:
11947         * vc-backend.C:
11948         * BufferView2.C: purge all "Lyx" not "LyX" strings
11949
11950         * lyxcursor.h:
11951         * lyxcursor.C: attempt to add some documentation
11952
11953         * lyxfunc.C:
11954         * commandtags.h:
11955         * LyXAction.C:
11956         * ToolbarDefaults.C:
11957         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11958           merge with LFUN_TABULAR_INSERT
11959
11960         * Makefile.am:
11961         * SpellBase.h:
11962         * ispell.h:
11963         * ispell.C:
11964         * pspell.h:
11965         * pspell.C: split up i/pspell implementations into separate
11966           files, many cleanups
11967
11968         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11969
11970         * text2.C: some cleanup
11971
11972         * lyxfunc.C: don't check for isp_command == "none" any more, it
11973           didn't make any sense
11974
11975 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
11976
11977         * counters.[Ch]
11978         * text2.C
11979         * paragraph.[Ch]
11980         * makefile.am: move counters functionality over
11981         from text2.C/paragraph.[Ch] to counters.[Ch], and
11982         make proper C++.
11983 2002-08-02  John Levon  <levon@movementarian.org>
11984
11985         * buffer.C: s/lyxconvert/lyx2lyx/
11986
11987 2002-08-02  Angus Leeming  <leeming@lyx.org>
11988
11989         * lyxlex.C: revert John's change as it breaks reading of the user
11990         preamble.
11991
11992 2002-08-02  Angus Leeming  <leeming@lyx.org>
11993
11994         * importer.C (Import):
11995         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11996         changes due to LyXView::view() now returning a boost::shared_ptr.
11997
11998 2002-08-02  John Levon  <levon@movementarian.org>
11999
12000         * lyxlex.C: small cleanup
12001
12002 2002-08-02  John Levon  <levon@movementarian.org>
12003
12004         * text2.C (status): small cleanup, no logic change
12005
12006 2002-08-01  John Levon  <levon@movementarian.org>
12007
12008         * buffer.h:
12009         * buffer.C (writeFile): don't output alerts, caller
12010           handles this
12011
12012         * bufferlist.C:
12013         * lyx_cb.C: from above
12014
12015         * lyxfunc.C: allow to open non-existent files
12016
12017 2002-07-31  John Levon  <levon@movementarian.org>
12018
12019         * lyxserver.C: don't let incidental errors get
12020           in the way (errno)
12021
12022 2002-07-30  John Levon  <levon@movementarian.org>
12023
12024         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
12025
12026 2002-07-30  John Levon  <levon@movementarian.org>
12027
12028         * lyxserver.h:
12029         * lyxserver.C: remove I/O callback too
12030
12031 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12032
12033         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
12034         log.
12035
12036 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
12037
12038         * many files: strip,frontStrip -> trim,ltrim,rtrim
12039
12040 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
12041
12042         * PrinterParams.h: remove extern containsOnly, and include
12043         support/lstrings.h instead.
12044
12045         * LaTeX.C (scanAuxFile): modify because of strip changes
12046         (deplog): ditto
12047         * buffer.C (makeLaTeXFile): ditto
12048         * bufferparams.C (writeFile): ditt
12049         * lyxfont.C (stateText): ditto
12050         * lyxserver.C (read_ready): ditto
12051         * vc-backend.C (scanMaster): ditto
12052
12053         * BufferView_pimpl.h: ws changes
12054
12055         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
12056
12057 2002-07-26  André Pönitz <poenitz@gmx.net>
12058
12059         * kb_sequence.C: remove unnedred usings
12060
12061 2002-07-26  Juergen Vigna  <jug@sad.it>
12062
12063         * lyxfind.C (LyXReplace): we have to check better if the returned
12064         text is not of theLockingInset()->getLockingInset().
12065
12066 2002-07-25  Juergen Vigna  <jug@sad.it>
12067
12068         * lyxfind.C (LyXReplace): don't replace if we don't get the
12069         right LyXText.
12070
12071         * undo_funcs.C (createUndo): remove debugging code.
12072
12073 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
12074
12075         * buffer.C (parseSingleLyXformat2Token): Use default placement
12076         when reading old floats.
12077
12078         * FloatList.C (FloatList): Change the default placement of figure
12079         and tables to "tbp".
12080
12081 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
12082
12083         * MenuBackend.C: using std::max
12084
12085 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12086
12087         * MenuBackend.C (expandToc):
12088         (expandToc2): code moved from xforms menu frontend. It is now
12089         generic and TOCs are transparent to menu frontends.
12090
12091 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12092
12093         * toc.C (getTocList): protect against buf=0
12094
12095         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
12096         Menu as first parameter. Now, this calls itself recursively to
12097         expand a whole tree (this will be useful for TOC handling)
12098         (expandFloatInsert): remove 'wide' version of floats
12099
12100         * MenuBackend.h (submenuname): returns the name of the submenu.
12101         (submenu): returns the submenu itself, provided it has been
12102         created by MenuBackend::expand
12103
12104 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12105
12106         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
12107         insets which have noFontChange == true. (bug #172)
12108
12109 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12110
12111         * BufferView_pimpl.C: add connection objects and use them...
12112         (Pimpl): here.
12113
12114 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12115
12116         * MenuBackend.C (expandLastfiles):
12117         (expandDocuments):
12118         (expandFormats):
12119         (expandFloatListInsert):
12120         (expandFloatInsert):
12121         (expand): split expand in parts
12122
12123 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
12124
12125         * lyx_gui.C: use lyx_gui::exit()
12126
12127 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
12128
12129         * LyXAction.C: show the failing pseudo action
12130
12131 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
12132
12133         * buffer.C (readFile): Run the lyxconvert script in order to read
12134         old files.
12135
12136 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
12137
12138         * LyXAction.C:
12139         * commandtags.h:
12140         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
12141
12142 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
12143
12144         * LyXAction.C:
12145         * commandtags.h:
12146         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
12147
12148 2002-07-22  Herbert Voss  <voss@lyx.org>
12149
12150         * lengthcommon.C:
12151         * lyxlength.[Ch]: add support for the vertical lengths
12152
12153 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
12154
12155         * toc.[Ch]: std:: fixes
12156
12157 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12158
12159         * lyxrc.C: do not include lyx_main.h
12160
12161         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
12162         for layouts
12163
12164         * lyxrc.C:
12165         * encoding.C:
12166         * bufferlist.C:
12167         * BufferView2.C: include "lyxlex.h"
12168
12169         * tabular.h:
12170         * bufferparams.h: do not #include "lyxlex.h"
12171
12172         * lyxtextclasslist.C (Add): remove method
12173         (classlist): renamed to classlist_
12174
12175         * paragraph_pimpl.C:
12176         * paragraph.C:
12177         * text2.C:
12178         * CutAndPaste.C:
12179         * bufferview_funcs.C:
12180         * bufferlist.C:
12181         * text.C:
12182         * LaTeXFeatures.C:
12183         * buffer.C:
12184         * toc.C (getTocList): use BufferParams::getLyXTextClass
12185
12186         * toc.C (getTocList): use InsetFloat::addToToc
12187
12188         * toc.[Ch]: new files, containing helper functions to handle table
12189         of contents
12190
12191         * lyxfunc.C (dispatch): no need to remove spaces around command
12192         given as a string
12193         (getStatus): handle LFUN_SEQUENCE by returning the status of the
12194         first command of the sequence; it is not very clever, but I do not
12195         have a better idea, actually
12196
12197         * LyXAction.C (LookupFunc): make sure to remove space at the
12198         beginning and end of the command
12199
12200 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12201
12202         * MenuBackend.C (getMenubar): new method: return the menubar of
12203         this menu set
12204         (read): treat differently reading of menu and menubar (in
12205         particular, the menubar has no name now)
12206         (Menu::menubar): remove
12207
12208         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
12209         saving is finished
12210
12211 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
12212
12213         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
12214         a bibitem inset in a RTL paragraph.
12215
12216 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
12217
12218         * paragraph_pimpl.C: constify
12219
12220         * BufferView_pimpl.C:
12221         * LaTeX.C:
12222         * lyxfunc.C: fix dispatch in a nicer way
12223
12224 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12225
12226         * lyxfunc.C (dispatch):
12227         * BufferView_pimpl.C:
12228         * BufferView_pimpl.h:
12229         * BufferView.C:
12230         * BufferView.h: rename Dispatch() to dispatch()
12231
12232         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
12233
12234         * lyxlayout.C (Read): honor DependsOn tag
12235
12236         * lyxlayout.[Ch] (depends_on): new method
12237
12238         * version.C.in: update lyx_docversion
12239
12240         * LaTeXFeatures.C (getMacros): only define \LyX when needed
12241
12242         * paragraph.C (validate): remove from here...
12243         * paragraph_pimpl.C (validate): ... and move here
12244         (isTextAt): make it const
12245
12246         * buffer.C (getLists): ws cleanup
12247
12248 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
12249
12250         * language.C (read): Use iso8859-1 encoding in latex_lang
12251         (this prevents LyX from crashing when using iso10646-1 encoding).
12252
12253 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12254
12255         * text2.C (toggleInset): if cursor is inside an inset, close the
12256         inset and leave cursor _after_ it
12257
12258 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
12259
12260         * lyxfunc.C: move minibuffer completion handling out of here
12261
12262 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
12263
12264         * BufferView_pimpl.C:
12265         * LaTeX.C: fix dispatch calls
12266
12267 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
12268
12269         * text.C (drawChars): Fix Arabic text rendering.
12270
12271 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
12272
12273         * LyXAction.C:
12274         * commandtags.h:
12275         * lyxfunc.C: remove message-push/pop
12276
12277         * lyxserver.C:
12278         * lyxfunc.h:
12279         * lyxfunc.C: rationalise some code by removing verboseDispatch
12280           in favour of a bool argument to dispatch()
12281
12282 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12283
12284         * lyx_main.C (init): make sure to read symlinks as absolute paths
12285
12286 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12287
12288         * lyxfunc.h:
12289         * lyxfunc.C: no need for commandshortcut to be a member
12290
12291 2002-07-15  André Pönitz <poenitz@gmx.net>
12292
12293         * converter.C: add support for $$s (scripts from lib/scripts dir)
12294         * lyx_main.C: white space
12295
12296 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12297
12298         * bufferlist.C:
12299         * lyxrc.h:
12300         * lyxrc.C: remove second exit confirmation
12301
12302 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12303
12304         * BufferView.h:
12305         * BufferView.C:
12306         * BufferView2.C:
12307         * BufferView_pimpl.h:
12308         * BufferView_pimpl.C:
12309         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
12310
12311 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12312
12313         * MenuBackend.C (expand): add numeric shortcuts to document menu
12314
12315         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
12316
12317 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12318
12319         * lyxfont.C (setLyXFamily):
12320         (setLyXSeries):
12321         (setLyXShape):
12322         (setLyXSize):
12323         (setLyXMisc):
12324         (lyxRead):
12325         * debug.C (value):
12326         * buffer.C (asciiParagraph): use ascii_lowercase
12327
12328 2002-07-15  Mike Fabian  <mfabian@suse.de>
12329
12330         * lyxlex_pimpl.C (search_kw):
12331         * lyxlex.C (getLongString):
12332         * converter.h (operator<):
12333         * converter.C (operator<):
12334         * buffer.C (parseSingleLyXformat2Token):
12335         (asciiParagraph):
12336         * ToolbarDefaults.C (read):
12337         * MenuBackend.C (checkShortcuts):
12338         (read):
12339         * LColor.C (getFromGUIName):
12340         (getFromLyXName): use the compare_ascii_no_case instead of
12341         compare_no_case, because in turkish, 'i' is not the lowercase
12342         version of 'I', and thus turkish locale breaks parsing of tags.
12343
12344 2002-07-16  Angus Leeming  <leeming@lyx.org>
12345
12346         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
12347         now takes a Buffer const & argument.
12348
12349 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
12350
12351         * BufferView.C (resize): check there's a buffer to resize
12352
12353 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
12354
12355         * lyxfunc.C: remove dead code
12356
12357         * lyxserver.h:
12358         * lyxserver.C: use lyx_guii::set_read_callback
12359
12360 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12361
12362         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
12363         an inset in a RTL paragraph.
12364
12365 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12366
12367         * lyxfunc.C: repaint after a font size update
12368
12369 2002-07-15  André Pönitz <poenitz@gmx.net>
12370
12371         * lyxlength.C: inBP should be able to return negative values
12372
12373 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12374
12375         * lyxfunc.C: use lyx_gui::update_fonts()
12376
12377 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12378
12379         * lyxfunc.C: use lyx_gui::update_color()
12380
12381 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
12382
12383         * bufferlist.C:
12384         * lyxfunc.h:
12385         * lyxfunc.C:
12386         * lyxrc.h:
12387         * lyxrc.C: remove file->new asks for name option, and let
12388           buffer-new take an argument
12389
12390 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
12391
12392         * BufferView_pimpl.C: remove unneeded extra repaint()
12393
12394 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
12395
12396         * LyXAction.C: allow command-sequence with NoBuffer
12397
12398         * lyxfunc.C: don't insist on trailing ';' for command-sequence
12399
12400 2002-07-10  Angus Leeming  <leeming@lyx.org>
12401
12402         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
12403
12404 2002-07-09  Angus Leeming  <leeming@lyx.org>
12405
12406         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
12407
12408 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12409
12410         * lengthcommon.h: whitespace
12411
12412         * lyxfunc.C: update scrollbar after goto paragraph
12413
12414         * lyxtext.h: factor out page break drawing, and fix it so
12415           page break/added space paints as selected nicely
12416
12417 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12418
12419         * BufferView_pimpl.C: add FIXMEs, clean up a little
12420
12421 2002-07-09  André Pönitz <poenitz@gmx.net>
12422
12423         * lyxfont.[Ch]: support for wasy symbols
12424
12425 2002-07-08  André Pönitz <poenitz@gmx.net>
12426
12427         * BufferView_pimpl.C: apply John's patch for #93.
12428
12429 2002-07-05  Angus Leeming  <leeming@lyx.org>
12430
12431         * BufferView_pimpl.C (buffer): generate previews if desired.
12432
12433         * LColor.h: add "preview" to the color enum.
12434
12435         * LColor.C (LColor): add a corresponding entry to the items array.
12436
12437         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12438         with this buffer.
12439
12440 2002-07-05  Angus Leeming  <leeming@lyx.org>
12441
12442         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12443         The body of the code is now in the method that is passed an ostream &
12444         rather than a file name.
12445         Pass an additional only_preamble parameter, useful for the forthcoming
12446         preview stuff.
12447
12448 2002-07-03  André Pönitz <poenitz@gmx.net>
12449
12450         * lyxfunc.C: simplify getStatus() a bit for math stuff
12451
12452 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12453
12454         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12455
12456 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12457
12458         * text.C (changeRegionCase): do not change case of all the
12459         document when region ends at paragraph end (bug #461)
12460
12461 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12462
12463         * paragraph.C (startTeXParParams):
12464         (endTeXParParams): add \protect when necessary
12465
12466 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12467
12468         * BufferView_pimpl.C (workAreaExpose): remove warning
12469
12470 2002-06-27  Angus Leeming  <leeming@lyx.org>
12471
12472         * Makefile.am: add lyxlayout_ptr_fwd.h.
12473
12474 2002-06-26  André Pönitz <poenitz@gmx.net>
12475
12476         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12477
12478 2002-06-25  Angus Leeming  <leeming@lyx.org>
12479
12480         * lyxfunc.C (dispatch): Comment out the call to
12481         grfx::GCache::changeDisplay. The method no longer exists now that the
12482         pixmap generation part of the graphics loader has been moved into
12483         InsetGraphics.
12484
12485 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12486
12487         * text2.C: layout as layout
12488
12489         * text.C: layout as layout
12490
12491         * tabular.C (OldFormatRead): layout as layout
12492
12493         * paragraph_pimpl.C (TeXDeeper): layout as layout
12494         (realizeFont): layout as layout
12495
12496         * paragraph.C (writeFile): layout as layout
12497         (validate): layout as layout
12498         (getFont): layout as layout
12499         (getLabelFont): layout as layout
12500         (getLayoutFont): layout as layout
12501         (breakParagraph): layout as layout
12502         (stripLeadingSpaces): layout as layout
12503         (getEndLabel): layout as layout
12504         (getMaxDepthAfter): layout as layout
12505         (applyLayout): layout as layout
12506         (TeXOnePar): layout as layout
12507         (simpleTeXOnePar): layout as layout
12508         (TeXEnvironment): layout as layout
12509         (layout): layout as layout
12510         (layout): layout as layout
12511
12512         * lyxtextclass.C (compare_name): new functor to work with
12513         shared_ptr, layout as layout
12514         (Read): layout as layout
12515         (hasLayout): layout as layout
12516         (operator): layout as layout
12517         (delete_layout): layout as layout
12518         (defaultLayout): layout as layout
12519
12520         * lyxlayout_ptr_fwd.h: new file
12521
12522         * lyxlayout.C (Read): layout as layout
12523
12524         * lyx_cb.C (MenuInsertLabel): layout as layout
12525
12526         * bufferlist.C (newFile): layout as layout
12527
12528         * buffer.C (readLyXformat2): layout as layout
12529         (parseSingleLyXformat2Token): layout as layout
12530         (insertStringAsLines): layout as layout
12531         (asciiParagraph): layout as layout
12532         (latexParagraphs): layout as layout
12533         (makeLinuxDocFile): layout as layout
12534         (simpleLinuxDocOnePar): layout as layout
12535         (makeDocBookFile): layout as layout
12536         (simpleDocBookOnePar): layout as layout
12537         (getLists): layout as layout
12538
12539         * LaTeXFeatures.C (getTClassPreamble): layout as layout
12540
12541         * CutAndPaste.C (cutSelection): layout as layout
12542         (pasteSelection): layout as layout
12543         (SwitchLayoutsBetweenClasses): layout as layout
12544
12545         * BufferView_pimpl.C (Dispatch): layout as layout
12546         (smartQuote): layout as layout
12547
12548         * BufferView2.C (unlockInset): layout as layout
12549
12550 2002-06-24  André Pönitz <poenitz@gmx.net>
12551
12552         * lyxfunc.C: fix #487
12553
12554 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12555
12556         * lyxrc.h:
12557         * lyxrc.C:
12558         * lyxfunc.C: remove display_shortcuts, show_banner
12559
12560 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12561
12562         * Buffer_pimpl.C: oops, update on resize
12563
12564 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12565
12566         * buffer.C:
12567         * converter.C:
12568         * exporter.C:
12569         * lyxfunc.C:
12570         * BufferView.h:
12571         * BufferView.C: use repaint()
12572
12573         * BufferView_pimpl.h:
12574         * BufferView_pimpl.C: s/updateScreen()/repaint()/
12575           as it's a clearer description. Remove superfluous
12576           redraws.
12577
12578 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12579
12580         * text.C: fix bug 488. Not ideal, but getting
12581           getWord() to work properly for the insets that
12582           matter is more difficult ...
12583
12584 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12585
12586         * BufferView_pimpl.C:
12587         * LyXAction.C:
12588         * commandtags.h:
12589         * lyxfunc.C: remove the six million index lyxfuncs to just
12590           one, and DTRT (bug 458)
12591
12592 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12593
12594         * BufferView.h:
12595         * BufferView.C:
12596         * BufferView_pimpl.h:
12597         * BufferView_pimpl.C: clean up resize() stuff,
12598           and unnecessary updateScreen()s
12599
12600 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12601
12602         * BufferView.h:
12603         * BufferView.C:
12604         * BufferView_pimpl.h:
12605         * BufferView_pimpl.C:
12606         * lyxfind.h:
12607         * lyxfind.C:
12608         * minibuffer.C: remove focus management of workarea,
12609           not needed. Use screen's greyOut()
12610
12611 2002-06-17  Herbert Voss  <voss@lyx.org>
12612
12613         * converter.C: (convert) do not post a message, when converting
12614         fails, let the calling function decide what to do in this case
12615
12616 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
12617
12618         * lyxfunc.C: tidy up a little
12619
12620 2002-06-16    <alstrup@diku.dk>
12621
12622         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12623         Got rid of FORMS_H_LOCATION include. Now we are
12624         GUII.
12625
12626 2002-06-15  LyX Development team  <lyx@rilke>
12627
12628         * buffer.[Ch] (sgmlOpenTag):
12629         (sgmlCloseTag): Added support for avoiding pernicious mixed
12630         content. Return number of lines written.
12631
12632         (makeLinuxDocFile):
12633         (makeDocBookFile): Fixed calls to sgml*Tag.
12634         Simple white space clean.
12635
12636         (simpleDocBookOnePar): Simple white space clean.
12637
12638         * tabular.[Ch] (docBook): Renamed to docbook and got another
12639         argument to related with the pernicious mixed content.
12640
12641         (docbookRow): Fixed calls for docbook inset method.
12642
12643 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
12644
12645         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12646         so it's X11 independent.
12647
12648         * kb*.[Ch]: ditto.
12649
12650         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12651
12652 2002-06-15  Lyx Development team  <lyx@electronia>
12653
12654         * intl.h: Renamed getTrans to getTransManager.
12655
12656 2002-06-14  Angus Leeming  <leeming@lyx.org>
12657
12658         * Makefile.am: nuke forgotten stl_string_fwd.h.
12659
12660 2002-06-12  Angus Leeming  <leeming@lyx.org>
12661
12662         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12663
12664 2002-06-13  Angus Leeming  <leeming@lyx.org>
12665
12666         * LaTeX.C:
12667         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12668
12669 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
12670
12671         * kbmap.C (getiso): add support for cyrillic and greek
12672
12673 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12674
12675         * BufferView.h:
12676         * BufferView.C:
12677         * BufferView_pimpl.h:
12678         * BufferView_pimpl.C: move bogus scrolling logic
12679           to xforms
12680
12681 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12682
12683         * lyxfunc.C:
12684         * BufferView_pimpl.C: view->resize() change
12685
12686 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12687
12688         * BufferView_pimpl.C: topCursorVisible
12689           prototype change
12690
12691 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12692
12693         * Makefile.am:
12694         * lyx_gui.h:
12695         * lyx_gui.C: move to frontends/
12696
12697         * main.C:
12698         * lyx_main.h:
12699         * lyx_main.C: changes from above
12700
12701 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12702
12703         * intl.C:
12704         * intl.h:
12705         * kbmap.C:
12706         * kbsequence.C:
12707         * lyx_cb.C:
12708         * lyx_main.C: minor tidy
12709
12710 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12711
12712         * BufferView_pimpl.h:
12713         * BufferView_pimpl.C:
12714         * BufferView.h:
12715         * BufferView.C: make painter() const,
12716           remove dead code
12717
12718         * BufferView2.C: use screen() accessor
12719
12720         * lyx_main.h:
12721         * lyx_main.C: some minor cleanup
12722
12723 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12724
12725         * BufferView_pimpl.h:
12726         * BufferView_pimpl.C: remove enter/leaveView,
12727           use workHeight()
12728
12729 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12730
12731         * BufferView.h:
12732         * BufferView.C:
12733         * BufferView2.C:
12734         * BufferView_pimpl.h:
12735         * BufferView_pimpl.C: only construct screen once,
12736           rename
12737
12738         * lyxrc.C: remove pointless comment
12739
12740 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12741
12742         * BufferView.h:
12743         * BufferView.C: remove active() and belowMouse()
12744
12745         * BufferView_pimpl.h:
12746         * BufferView_pimpl.C: use workarea() not workarea_,
12747           and make it use a scoped_ptr instead
12748
12749 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12750
12751         * lyx_gui.C: add debug message on BadWindow
12752
12753 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12754
12755         * sp_spell.C: fdopen is not part of the C++ standard.
12756
12757         * paragraph.C (InsetIterator): use >= instead of ==
12758
12759 2002-06-07  Angus Leeming  <leeming@lyx.org>
12760
12761         Fixes needed to compile with Compaq cxx 6.5.
12762         * BufferView_pimpl.C:
12763         * DepTable.C:
12764         * buffer.C:
12765         * converter.C:
12766         * encoding.C:
12767         * lyx_gui.C:
12768         * lyx_main.C:
12769         * lyxtextclasslist.C:
12770         * minibuffer.C:
12771         * sp_spell.C:
12772         * tabular_funcs.C:
12773         * vc-backend.C:
12774         all c-library variables have been moved into namespace std. Wrap
12775         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12776
12777         * lyxlength.C:
12778         * tabular-old.C:
12779         * tabular.C:
12780         Add a using std::abs declaration.
12781
12782         * kbmap.h (modifier_pair):
12783         * paragraph.h (InsetTable, InsetList):
12784         * lyxfont.h (FontBits):
12785         type definition made public.
12786
12787         * bufferlist.C (emergencyWriteAll): the compiler complains that
12788         there is more than one possible lyx::class_fun template to choose from.
12789         I re-named the void specialisation as lyx::void_class_fun.
12790
12791         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12792
12793         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12794         the compiler is is unable to find tostr in write_attribute.
12795
12796 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12797
12798         * buffer.C (sgmlError): hide #warning
12799
12800 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12801
12802         * xtl/*: get rid of xtl, which is not in use anyway
12803
12804         * LyXAction.C (init):
12805         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12806         were unimplemented xtl experimentation
12807
12808 2002-06-04  André Pönitz <poenitz@gmx.net>
12809
12810         * lyxfunc.C: disable array operation on simple formulae
12811
12812 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
12813
12814         * converter.C: constify a bit
12815
12816 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
12817
12818         * lyx_gui.C: check xforms version correctly
12819
12820 2002-04-30  Herbert Voss  <voss@lyx.org>
12821
12822         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12823         "keep" option
12824
12825 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
12826
12827         * lyxvc.C: fix bug 416 (make sure buffer is saved before
12828           attempt to register it with a VCS)
12829
12830 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12831
12832         * lyx_main.C (init): honor variables LYX_DIR_13x and
12833         LYX_USERDIR_13x
12834
12835 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12836
12837         * buffer.h:
12838         * buffer.C:
12839         * lyx_main.C: fix a crash on bad command line,
12840           and give a useful exit status on error
12841
12842         * lyxfunc.C (doImport): allow -i lyx to work
12843
12844 2002-03-30  André Pönitz <poenitz@gmx.net>
12845
12846         * lyxfunc.C: mathed font changes
12847
12848 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12849
12850         * LaTeX.C:
12851         * importer.h:
12852         * importer.C:
12853         * lyx_sty.h:
12854         * lyx_sty.C:
12855         * lyxlex.C:
12856         * lyxrow.h:
12857         * lyxtext.h:
12858         * paragraph.h:
12859         * paragraph.C:
12860         * texrow.h:
12861         * texrow.C:
12862         * text.C:
12863         * trans_mgr.h: srcdocs, and some minor cleanups
12864
12865 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12866
12867         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12868         call getFont all the time)
12869
12870 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12871
12872         * switch from SigC signals to boost::signals
12873
12874 2002-05-29  André Pönitz <poenitz@gmx.net>
12875
12876         * paragraph_pimpl.C (getChar): don't call size() too often...
12877
12878 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12879
12880         * paragraph_pimpl.C (insertChar): do not try to update tables when
12881         appending (pos == size())
12882
12883         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12884         in order to reduce drastically the number of comparisons needed to
12885         parse a large document
12886
12887 2002-05-29  André Pönitz <poenitz@gmx.net>
12888
12889         * text.C:
12890         * text2.C:
12891         * lyxtextclass.C:
12892         * sp_pspell.h:
12893         * textclasslist.[Ch]:
12894         * sp_ispell.h: whitespace change
12895
12896 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12897
12898         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12899         lyxaction directly now.
12900
12901 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
12902
12903         * trans.C:
12904         * lyxfont.C:
12905         * lyxvc.C: remove unused headers
12906
12907 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12908
12909         * Makefile.am:
12910         * buffer.h:
12911         * undostack.h:
12912         * undostack.C:
12913         * undo_funcs.h:
12914         * undo_funcs.C: some cleanups. Use shared_ptr
12915           and a template for the undo stacks.
12916
12917 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12918
12919         * BufferView_pimpl.h:
12920         * BufferView_pimpl.C:
12921         * kbmap.h:
12922         * kbmap.C:
12923         * kbsequence.h:
12924         * kbsequence.C:
12925         * lyxfunc.h:
12926         * lyxfunc.C:
12927         * text2.C: use key_state/mouse_state
12928
12929 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12930
12931         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12932         and LSubstring
12933
12934         * chset.C: change include order
12935         (loadFile): use boost regex and get rid of LRegex and LSubstring
12936
12937         * Makefile.am (BOOST_LIBS): new variable
12938         (lyx_LDADD): use it
12939
12940         * LaTeX.C: change include order.
12941         (scanAuxFile): use boost regex and get rid of LRegex and
12942         LSubstring
12943         (deplog): ditto
12944
12945 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12946
12947         * ColorHandler.h:
12948         * ColorHandler.C:
12949         * FontInfo.h:
12950         * FontInfo.C: moved to frontends/xforms/
12951
12952         * FontLoader.h:
12953         * FontLoader.C: moved into frontends for GUIIzation
12954
12955         * Makefile.am:
12956         * lyx_gui.C:
12957         * lyxfont.C:
12958         * lyxfunc.C: changes from above
12959
12960 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12961
12962         * LColor.C: remove spurious X include
12963
12964         * BufferView_pimpl.C:
12965         * Makefile.am:
12966         * font.h:
12967         * font.C:
12968         * text.C:
12969         * text2.C: move font metrics to frontends/
12970
12971 2002-05-24  Juergen Vigna  <jug@sad.it>
12972
12973         * undo_funcs.C (textHandleUndo): fix the cursor selection after
12974         setting the undo_cursor.
12975
12976         * ParagraphParameters.h: include local includes first.
12977
12978 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12979
12980         * BufferView_pimpl.C:
12981         * BufferView_pimpl.h:
12982         * Makefile.am:
12983         * WorkArea.h:
12984         * WorkArea.C:
12985         * screen.C: move WorkArea into frontends/
12986
12987         * lyxscreen.h:
12988         * screen.C:
12989         * text.C:
12990         * BufferView.C:
12991         * BufferView2.C: move LyXScreen into frontends/
12992
12993         * lyxlookup.h:
12994         * lyxlookup.C:
12995         * lyx_gui.C: move lyxlookup into frontends/xforms/
12996
12997 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12998
12999         * BufferView2.C:
13000         * BufferView_pimpl.C:
13001         * FontLoader.C:
13002         * LyXView.h:
13003         * LyXView.C:
13004         * Makefile.am:
13005         * WorkArea.C:
13006         * XFormsView.h:
13007         * XFormsView.C:
13008         * buffer.C:
13009         * bufferlist.C:
13010         * bufferview_funcs.C:
13011         * converter.C:
13012         * importer.C:
13013         * lyx_cb.C:
13014         * lyx_gui.C:
13015         * lyx_main.C:
13016         * lyx_find.C:
13017         * lyxfunc.C:
13018         * lyxvc.C:
13019         * minibuffer.C:
13020         * text.C:
13021         * text2.C:
13022         * trans.C:
13023         * vc-backend.C: move LyX/XFormsView into frontends/
13024
13025 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
13026
13027         * Makefile.am:
13028         * PainterBase.C:
13029         * PainterBase.h:
13030         * Painter.C:
13031         * Painter.h:
13032         * WorkArea.C:
13033         * WorkArea.h:
13034         * screen.C:
13035         * tabular.C:
13036         * text.C:
13037         * text2.C: move Painter to frontends/
13038
13039 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13040
13041         * buffer.C: comment out some some code that depend upon lyx_format
13042         < 220
13043
13044         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
13045         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
13046
13047         * buffer.h (NO_COMPABILITY): turn off compability
13048
13049         * ColorHandler.C: include scoped_array.hpp
13050
13051         * font.C: Use more specific smart_ptr header.
13052         * Painter.C: ditto
13053         * gettext.C: ditto
13054         * ShareContainer.h: ditto
13055         * lyx_main.h: ditto
13056         * kbmap.h: ditto
13057         * FontInfo.h: ditto
13058         * BufferView_pimpl.h: ditto
13059         * ColorHandler.h: ditto
13060
13061         * kbmap.C (defkey): change call to shared_ptr::reset
13062
13063 2002-05-21  Juergen Vigna  <jug@sad.it>
13064
13065         * buffer.C (insertErtContents): fix to insert ert asis if it is
13066         non empty. Skip it completely if it contains only whitespaces.
13067
13068 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
13069
13070         * BufferView_pimpl.C:
13071         * BufferView2.C: clear selection on paste (bug 393)
13072
13073 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13074
13075         * DepTable.C: include ctime
13076
13077 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
13078
13079         * buffer.C (latexParagraphs): Add new argument (moving_arg).
13080
13081 2002-05-14  Juergen Vigna  <jug@sad.it>
13082
13083         * text.C (breakParagraph): fixed function to honor the keepempty
13084         layout in the right maner and also to permit the right breaking
13085         algorithm on empty or non empyt keepempty paragraphs.
13086
13087         * paragraph.C (breakParagraph): we have to check also if the par
13088         is really empty (!size()) for isempty otherwise we do the wrong
13089         paragraph break.
13090
13091 2002-05-10  Juergen Vigna  <jug@sad.it>
13092
13093         * buffer.[Ch] : The following are only changes to the ert
13094         compatibility read reading old LaTeX layout and font stuff and
13095         convert it to ERTInsets.
13096
13097         * buffer.h: added isErtInset().
13098
13099         * buffer.C (struct ErtComp): add a fromlayout bool to check
13100         if we're inside a LaTeX layout.
13101         (isErtInset): new helper function.
13102         (insertErtContents): look for other ert insets before this one
13103         and insert the contents there, so that we don't have subsequent
13104         ERT insets with nothing between them. This way we create only one
13105         inset with multiple paragraphs. Also check if we don't insert only
13106         spaces ' ' as they are ignored anyway afterwards in the .tex file
13107         so if we have only spaces we will ignore this latex part in the
13108         new file.
13109         (parseSingleLyXformat2Token \\layout): better compatibility when
13110         reading layout-latex stuff.
13111         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
13112         language tag.
13113         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
13114         stuff after reading the inset only get the information back from
13115         the stack.
13116
13117 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
13118
13119         * buffer.C (makeLaTeXFile): Put language options after loading babel.
13120
13121         * LaTeXFeatures.C (getBabelOptions): New method.
13122
13123 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13124
13125         * BufferView_pimpl.C (Dispatch): work around missing argument for
13126         'layout'
13127
13128 2002-05-08  Juergen Vigna  <jug@sad.it>
13129
13130         * text.C (leftMargin): handle paragraph leftindent.
13131
13132         * paragraph.C (writeFile): write the new \\leftindent tag.
13133         (validate): handle leftindent code.
13134         (TeXEnvironment): handle paragraphleftindent code again.
13135
13136         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
13137
13138         * buffer.C (parseSingleLyXformat2Token): added compatibility code
13139         for paragrap_extra indent code and new token \\leftindent.
13140         (latexParagraphs): handle the leftindent as environment.
13141
13142         * ParameterStruct.h: added leftindent support.
13143
13144         * ParagraphParameters.C (leftIndent): added support functions for
13145         the paragraph left indent.
13146
13147         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
13148         more appropriate.
13149
13150 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
13151
13152         * paragraph.C (isRightToLeftPar): Return false for a paragraph
13153         inside insetERT.
13154
13155         * text.C (computeBidiTables): No bidi in insetERT.
13156
13157         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
13158         in RTL documents.
13159
13160 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13161
13162         * version.C.in: pre 5
13163
13164 2002-05-02  José Matos  <jamatos@fep.up.pt>
13165         * buffer.C (makeDocBookFile): white space changes, add newline to
13166         command styles.
13167         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
13168
13169         * tabular.C (docBook): fix typo.
13170
13171 2002-05-03  Juergen Vigna  <jug@sad.it>
13172
13173         * screen.C (drawFromTo): recalculate the rowpointer if we had a
13174         change in LyXText as we can not be sure it was not freed.
13175         (drawOneRow): remove unused code.
13176
13177         * text.C (drawInset): redo the calculation of the need_break_row as
13178         it could have a row which was already freed.
13179         (draw): look at the return value of drawInset and return false if
13180         it also returned false.
13181         (paintRowText): look at the return value of draw and return false if
13182         it also returned false.
13183
13184         * lyxtext.h: added bool return type to drawInset() and draw() so that
13185         if we have a change in the row so that the rowbreak has to be redone
13186         we abort drawing as it will be called again.
13187
13188 2002-05-02  Juergen Vigna  <jug@sad.it>
13189
13190         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
13191         a change in the maintext also if we're inside an inset.
13192         (Dispatch): set the cursor again after a break line and after the
13193         screen has been updated as it could be we're in a different row.
13194
13195         * text2.C (fixCursorAfterDelete): check to make sure we don't request
13196         to set the cursor behind the pargraph with > size().
13197         (setCursor): check also for the same paragraph when checking where
13198         to put the cursor if we have a NFR inset.
13199
13200         * buffer.C (parseSingleLyXformat2Token): move the compatibility
13201         parts of layout read further up as it still was in the wrong
13202         position.
13203
13204 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13205
13206         * screen.C (drawFromTo): change sine fullRebreak always return
13207         true.
13208
13209         * buffer.C (parseSingleLyXformat2Token): reindent some
13210
13211         * BufferView_pimpl.C (update): change since fullRebreak always
13212         return true.
13213         (Dispatch): git rid of the last hardcoded "Standard"s.
13214
13215 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13216
13217         * text2.[Ch] (fullRebreak): make it return void now that we always
13218         returned true.
13219
13220 2002-04-30  Juergen Vigna  <jug@sad.it>
13221
13222         * buffer.C (parseSingleLyXformat2Token): reset the font before the
13223         ert compatibility check for "latex" layout.
13224
13225 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
13226
13227         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
13228         minipages: use col% instead of p%, and also use the current font.
13229         (makeLaTeXFile): Fix use babel condition.
13230         (parseSingleLyXformat2Token): Correct font when reading old floats.
13231
13232 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
13233
13234         * BufferView_pimpl.C (Dispatch): Check that float type exists when
13235         inserting list of floats.
13236
13237 2002-04-25  Herbert Voss  <voss@lyx.org>
13238
13239         * MenuBackend.C (expand): don't add the graphics extensions to the
13240         export menu
13241
13242 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13243
13244         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
13245         non-existing layout, do not complain if it was the default layout
13246         of the original class (bug #342)
13247
13248 2002-04-24  Juergen Vigna  <jug@sad.it>
13249
13250         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
13251         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
13252
13253 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
13254
13255         * buffer.C (getBibkeyList): If using \bibliography, return the
13256         option field with the reference itself. Enables us to provide natbib
13257         support when using \bibliography.
13258
13259 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
13260
13261         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
13262
13263         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
13264         natbib is provided by the LaTeX class.
13265
13266 2002-04-23  Juergen Vigna  <jug@sad.it>
13267
13268         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
13269         Wakeup functions.
13270
13271         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
13272
13273 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13274
13275         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
13276
13277         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
13278         ensuremath around textordmasculine, textordfeminine and
13279         textdegree.
13280
13281 2002-04-19  Juergen Vigna  <jug@sad.it>
13282
13283         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
13284         reinitializing the buffer otherwise row-dimensions may be wrong.
13285         (update): reset also the selection cursors if they do exits otherwise
13286         their x/y positions may be wrong.
13287
13288         * text2.C (cursorDown): don't enter the inset if we came from a row
13289         above and are one row over the inset.
13290
13291         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
13292         really leaving an inset.
13293
13294 2002-04-18  Juergen Vigna  <jug@sad.it>
13295
13296         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
13297         of the selected paragraph does not have the selected layout also if
13298         the last one had!
13299
13300         * text2.C (setLayout): fixed bug which did not change last selected
13301         paragraph.
13302
13303         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
13304         changed the read and substituted \\end_float with \\end_inset!
13305
13306         * BufferView_pimpl.C (cursorPrevious):
13307         (cursorNext): fixed to make it work with rows heigher than the work
13308         area without moving the cursor only the draw of the row.
13309         (workAreaMotionNotify): fix jumping over high rows.
13310
13311 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13312
13313         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
13314         Ressler.
13315
13316 2002-04-16  Juergen Vigna  <jug@sad.it>
13317
13318         * text2.C (setCursor): set also the irow().
13319         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
13320         (cursorUp):
13321         (cursorDown): support for locking an inset if the x_fix value goes
13322         inside it. That way I can transverse insets too with cursor up/down.
13323
13324         * lyxrow.h: added irow helper function same as other (i) functions.
13325
13326         * BufferView_pimpl.C (cursorPrevious):
13327         (cursorNext): fixed for insets!
13328
13329 2002-04-15  Juergen Vigna  <jug@sad.it>
13330
13331         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
13332         position otherwise it is wrong in some cases.
13333
13334         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
13335         inside the inset before the call.
13336
13337 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
13338
13339         * buffer.[Ch] (getBibkeyList): make it const.
13340
13341 2002-04-12  Juergen Vigna  <jug@sad.it>
13342
13343         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
13344
13345         * text2.C (getCursorX): new helper function
13346         (setCursor): compute also ix_
13347         (setCursorFromCoordinates): set also ix.
13348
13349         * lyxcursor.h: added ix_ and helper functions.
13350
13351         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
13352
13353         * buffer.C (insertStringAsLines): dont break paragraph if the this
13354         paragraph is inside an inset which does not permit it!
13355
13356         * text.C (breakParagraph): honor keepempty flag and break the paragraph
13357         also with no chars on this paragraph.
13358         (paintRowText): only paint stuff if it's inside the workarea!
13359
13360         * paragraph.C (breakParagraph): honor keepempty flag and break the
13361         paragraph always below not above.
13362
13363         * BufferView2.C (unlockInset): update the paragraph layout on inset
13364         unlock as we changed paragraph in such a case.
13365
13366         * lyxfind.C (LyXFind): clear the former selection if not found!
13367
13368         * text2.C (insertInset): freeze Undo after setUndo so that it is not
13369         again called in insertChar().
13370
13371         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
13372         an inset which uses the whole row!
13373         (rightMargin): ditto.
13374         (insertChar): force a rebreak if we inserted an inset!
13375
13376 2002-03-28  Herbert Voss  <voss@lyx.org>
13377
13378         * lyxlength.[Ch]: add inBP() to get the right PS-point
13379         units (BigPoint). With inPixels we have rounding errors
13380
13381 2002-04-11  Juergen Vigna  <jug@sad.it>
13382
13383         * text2.C (setCursorFromCoordinates): set iy to the right value.
13384         (setCursor): add check if row->previous exists!
13385
13386         * buffer.C (parseSingleLyXformat2Token): reset font after read of
13387         an old float_type as this was the case in the old code!
13388
13389         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
13390
13391         * BufferView2.C (showLockedInsetCursor): use iy
13392         (fitLockedInsetCursor): ditto
13393
13394         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
13395         locked insets as there we have the right value now.
13396
13397         * lyxcursor.C: added iy_ variable and iy functions to set to the
13398         baseline of cursor-y of the locked inset.
13399
13400         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
13401         (setCursor): fixed for insets which need a full row.
13402
13403         * text.C (rowLastPrintable): don't ignore the last space when before
13404         an inset which needs a full row.
13405         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
13406         as last character of a row when before a inset which needs a full row.
13407
13408 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13409
13410         * version.C.in: update date
13411
13412         * text2.C (fullRebreak): try to always return true and see what
13413         happens...
13414
13415 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13416
13417         * MenuBackend.C (expand): use Floating::listName
13418
13419         * FloatList.C (FloatList): add listName argument to the built-in
13420         floats
13421
13422         * Floating.[Ch]: add listName member, which is the 'List of XXX'
13423         text associated with the float.
13424
13425 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13426
13427         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
13428
13429 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13430
13431         * ShareContainer.h: add a couple of missing typenames.
13432
13433 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
13434
13435         * lyxrc.C (getDescription): use _() correctly rather than N_().
13436
13437 2002-03-28  Herbert Voss  <voss@lyx.org>
13438
13439         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13440         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13441
13442 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13443
13444         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13445         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13446
13447 2002-03-29  Juergen Vigna  <jug@sad.it>
13448
13449         * lyxfunc.C (dispatch): add a missing fitCursor call.
13450
13451         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13452         it was scrolled by a cursor move, so return the bool status.
13453
13454         * BufferView.C (fitCursor): return the bool flag also to the outside
13455         world as this is needed.
13456
13457         * screen.C (toggleToggle): don't subtract the offset if it's positive.
13458
13459         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13460         call the edit() as it is not needed (and wrong) IMO.
13461         (workAreaButtonPress): set the screen_first variable before evt.
13462         unlock the inset as this may change screen_first and then we have
13463         a wrong y position for the click!
13464
13465 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13466
13467         * MenuBackend.C (expand): another translation that I missed
13468
13469 2002-03-28  Juergen Vigna  <jug@sad.it>
13470
13471         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13472
13473         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13474
13475 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13476
13477         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13478
13479         * MenuBackend.C (expand): fix export/view/update when there is no
13480         document open.
13481
13482 2002-03-27  Herbert Voss  <voss@lyx.org>
13483
13484         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13485         and text%
13486
13487 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13488
13489         * bufferview_funcs.C (currentState): only show paragraph number
13490         for is DEVEL_VERSION is set.
13491
13492         * lyxfunc.C (dispatch): put warning in INFO channel
13493
13494         * MenuBackend.C (expand): translate the name of floats
13495
13496         * FloatList.C (FloatList): mark the float names for translation
13497
13498         * converter.C (convert): use LibScriptSearch
13499
13500 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13501
13502         * MenuBackend.C (defaults): fix default menu (we might as well get
13503         rid of it...)
13504
13505 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13506
13507         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13508         directory.
13509
13510 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13511
13512         * lyxvc.C: reorder includes.
13513
13514 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
13515
13516         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13517           properly
13518
13519 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
13520
13521         * CutAndPaste.C: change layouts earlier on paste
13522           to avoid crashing when calling getFont()
13523
13524 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
13525
13526         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13527         irritating #error.
13528
13529 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13530
13531         * WorkArea.C: remove 'Pending' debug message.
13532
13533         * most files: ws cleanup
13534
13535         * buffer.[Ch]: ws changes
13536
13537         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13538
13539 2002-03-21  Juergen Vigna  <jug@sad.it>
13540
13541         * tabular.C (SetMultiColumn): collapse also the contents of the
13542         cells and set the last border right. Added a Buffer const * param.
13543
13544 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13545
13546         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13547         linking or not.
13548
13549 2002-03-19  Juergen Vigna  <jug@sad.it>
13550
13551         * text2.C (clearSelection): reset also xsel_cache.
13552
13553         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13554         where it needs to be called (John tells us to do so too :)
13555         (selectionLost): reset sel_cache.
13556
13557         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13558
13559 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13560
13561         * text2.C (setCursorIntern): put debuging code in INSETS channel
13562
13563 2002-03-19  André Pönitz <poenitz@gmx.net>
13564
13565         * lyxfunc.C: tiny whitespace change
13566
13567 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13568
13569         * ToolbarDefaults.C (init):
13570         * LyXAction.C (init):
13571         * commandtags.h:
13572         * BufferView_pimpl.C (Dispatch):
13573         * lyxfunc.C (dispatch): remove LFUN_DEPTH
13574
13575 2002-03-19  Allan Rae  <rae@lyx.org>
13576
13577         * exporter.C (Export): removeAutoInsets before doing anything else.
13578         While I've just introduced a dependency on BufferView this really is
13579         the best place to clean the buffer otherwise you need to cleanup in
13580         a dozen places before calling export or cleanup in a dozen functions
13581         that export calls.
13582
13583         * converter.C (runLaTeX):
13584         (scanLog): Better handling of removeAutoInsets and screen updates.
13585
13586         * lyxfunc.C (dispatch): small whitespace changes
13587
13588 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13589
13590         * WorkArea.C (C_WorkAreaEvent): return a value.
13591         (event_cb): return 1 if we handled the event, 0 otherwise.
13592
13593         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13594
13595 2002-03-18  Juergen Vigna  <jug@sad.it>
13596
13597         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13598         (GetAdditionalWidth): ditto.
13599         (RightLine): ditto.
13600         (LeftLine): ditto.
13601
13602         * BufferView2.C (copy): use getLyXText() so that we do it inside an
13603         inset if we're there actually (probably not used right now but this
13604         is the direction to go for unifying code).
13605         (paste): disable code to clear the selection.
13606
13607         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13608         inside an InsetText and move the check further up as it is in the
13609         wrong place.
13610
13611         * text2.C (pasteSelection): set a selection over the pasted text.
13612
13613 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
13614
13615         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13616         and libgraphics to build on Cygwin.
13617
13618 2002-03-15  Juergen Vigna  <jug@sad.it>
13619
13620         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13621         inserting an Inset into the paragraph. I know this is not the best
13622         fix but we already use current_view in CutAndPaste so we will remove
13623         all of it's using at the same time.
13624
13625         * buffer.C (sgmlError): deactivated function till it is rewritten in
13626         the right mode, now it can create problems.
13627
13628         * paragraph.C (isLineSeparator): check if getInset returns != 0,
13629         before accessing it.
13630
13631 2002-03-14  Juergen Vigna  <jug@sad.it>
13632
13633         * undo_funcs.C (textHandleUndo): do the right thing when updating
13634         the inset after the undo/redo.
13635
13636         * text2.C (setCursor): just some testcode for #44 not ready yet.
13637
13638         * undo_funcs.C (textHandleUndo): set the next() and previous()
13639         pointers of the paragraph to 0 before deleting otherwise we have
13640         problems with the Paragraph::[destructor].
13641
13642         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13643         on a paragraph insertion.
13644
13645 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13646
13647         * buffer.C (asciiParagraph): use += operator for char append to
13648         string.
13649
13650         * paragraph.C (getFontSettings): compare >= not just >
13651         (highestFontInRange): ditto
13652         (setFont): ditto
13653
13654 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13655
13656         * paragraph.C: change several algorithm to be more appripriate for
13657         the problem domain. This is lookip in FontList and in the InsetList.
13658
13659 2002-03-13  André Pönitz <poenitz@gmx.net>
13660
13661         * commandtags.h:
13662         * LyXAction.C: remove unused LFUN_MATH_MACROARG
13663
13664 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
13665
13666         * commandtags.h:
13667         * LyXAction.C:
13668         * lyxfunc.C:
13669         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13670
13671 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13672
13673         * Painter.C (display): anon helper function, adjust code for this
13674         change.
13675         (pixmap): remove function.
13676
13677         * Painter.h: remove private display variable.
13678
13679         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13680
13681 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
13682
13683         * WorkArea.[Ch]: remove figinset_canvas cruft.
13684
13685 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13686
13687         * lyxtextclass.C (operator): add one item cache optimization.
13688
13689         * bufferlist.h: doxy changes
13690
13691         * bufferlist.C: ws changes
13692
13693         * DepTable.[Ch] (ext_exist): place const in the right spot.
13694
13695         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13696         call resizeInsets.
13697         (workAreaExpose): call resizeInsets when the with BufferView changes.
13698         (Dispatch): adjust for protectedBlank removal
13699         (specialChar): call updateInset if the insert went ok.
13700
13701         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13702         specialChar instead.
13703
13704         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13705
13706         * BufferView.h: doxy change
13707
13708         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13709
13710         * lyxtextclass.C (operator[]): remove non-const version
13711         (defaultLayout): remove non-const version
13712
13713 2002-03-12  Juergen Vigna  <jug@sad.it>
13714
13715         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13716         did resize the LyXText too.
13717
13718         * buffer.C (readLyXformat2): set layout information on newly allocated
13719         paragraphs.
13720
13721         * tabular.C (OldFormatRead): set layout information on the paragraph.
13722
13723 2002-03-12  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13724
13725         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13726
13727 2002-03-11  Juergen Vigna  <jug@sad.it>
13728
13729         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13730         plainly wrong.
13731         (resizeCurrentBuffer): force also the insets to resize themselfes.
13732         (moveCursorUpdate): fixed up for InsetText.
13733
13734 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
13735
13736         * commandtags.h:
13737         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13738         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13739         value of Dialogs::tooltipsEnabled().
13740         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13741
13742 2002-03-08  Juergen Vigna  <jug@sad.it>
13743
13744         * BufferView_pimpl.C (updateInset): update inset inside inset also
13745         if it isn't inside theLockingInset().
13746
13747 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13748
13749         * buffer.C (asciiParagraph): redo some of the word and line length
13750         handling.
13751         (getLists): look for Caption instead of caption.
13752
13753 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13754
13755         * buffer.C (Buffer): initialize niceFile to true
13756         (makeLaTeXFile):
13757         (makeLinuxDocFile):
13758         (makeDocBookFile): make sure niceFile is true on exit
13759
13760 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13761
13762         * buffer.C (makeLaTeXFile): escape ~ in \input@path
13763
13764 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
13765
13766         * LyXSendto.C: remove.
13767         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13768         * lyx_gui.C: remove now-redundant comment.
13769         * ColorHandler.h: remove forward declaration of class WorkArea.
13770         * lyxfunc.C: remove #include "WorkArea.h".
13771
13772 2002-03-07  Juergen Vigna  <jug@sad.it>
13773
13774         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13775         got moved away with the DEPM and also set the inset_owner always
13776         right which before could have been omitted.
13777
13778 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13779
13780         * buffer.C (parseSingleLyXformat2Token): use default layout is the
13781         wanted layout is not found.
13782
13783 2002-03-07  Juergen Vigna  <jug@sad.it>
13784
13785         * CutAndPaste.C (cutSelection): another layout settings forgotten.
13786
13787 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13788
13789         * paragraph.C (breakParagraph): use default layout not layout of
13790         prev paragraph.
13791         (Paragraph): clear ParagraphParameters.
13792
13793 2002-03-06  Juergen Vigna  <jug@sad.it>
13794
13795         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13796         otherwise it would not be a valid lenght. Fixed a special case in
13797         the minipage compatibility read where we end the document with a
13798         minipage.
13799
13800         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13801         was set as it could be 0 for InsetTexts first entry.
13802
13803 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13804
13805         * paragraph.C (writeFile): if layout is empty write out
13806         defaultLayoutName().
13807
13808         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13809         file without named layout we set layout to defaultLayoutName().
13810
13811 2002-03-06  Juergen Vigna  <jug@sad.it>
13812
13813         * CutAndPaste.C (copySelection): set layout for new paragraph.
13814
13815         * text.C (prepareToPrint): leave ERT inset left aligned
13816         (leftMargin): don't indent paragraphs inside ERT insets
13817
13818 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13819
13820         * paragraph.C (breakParagraph): dont call clear do the work manually
13821
13822         * paragraph.[Ch] (clear): remove function
13823
13824 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13825
13826         * paragraph.C (Paragraph): dont call clear, the work has already
13827         been done.
13828
13829         * lyxtextclass.C (operator): assert if n is empty
13830
13831         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13832         work manually instead.
13833
13834 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13835
13836         * BufferView_pimpl.C: protect selectionLost against text == 0
13837
13838 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13839
13840         * text.C (breakParagraph): fix a setting layout to '0' problem.
13841
13842 2002-03-05  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13843
13844         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13845         final location of file, for the included files, and graphics.
13846
13847 2002-03-05  Juergen Vigna  <jug@sad.it>
13848
13849         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13850
13851 2002-03-04  Juergen Vigna  <jug@sad.it>
13852
13853         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13854
13855         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13856         last column of multicolumn cells.
13857         (SetWidthOfMulticolCell): recalculate NMC and real columns.
13858
13859 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
13860
13861         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13862         file if it doesn't go to a temporary file.
13863
13864         * buffer.C (sgmlOpenTag):
13865         (sgmlCloseTag):  remove extra newline insertion.
13866
13867 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13868
13869         * text.C (getRowNearY): comment out debug msg
13870
13871 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13872
13873         * text2.C: first -> first_y
13874
13875         * text.C (getRowNearY): add some attemts at a possible
13876         optimization, not working.
13877
13878         * tabular.[Ch]: add BufferParams to several function so that newly
13879         created paragraph can be initialized to he default layotu for the
13880         buffers textclass.
13881
13882         * tabular-old.C (ReadOld): add buf->params to call of Init
13883
13884         * screen.C: rename text->first to text->first_y
13885
13886         * paragraph.C (breakParagraph): always set layout in the broken
13887         paragraph
13888
13889         * lyxtextclass.C (Read): remove lowercase
13890         (hasLayout): ditto
13891         (operator): ditto
13892         (delete_layout): ditto
13893
13894         * lyxtext.h: rename first -> first_y
13895
13896         * lyxlayout.C (Read): remove lowercase
13897         (name): ditto
13898         (setName): ditto
13899         (obsoleted_by): ditto
13900
13901         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13902
13903         * buffer.C (insertErtContents): add params are to InsetERT
13904         (parseSingleLyXformat2Token): add code to check if a paragraphs
13905         layout really exist.
13906         (parseSingleLyXformat2Token): add params to several inset
13907         constructors
13908         (asciiParagraph): remove lowercase, do the layout comparisons with
13909         no_case
13910
13911         * BufferView_pimpl.C (cursorNext): first -> first_y
13912         (resizeCurrentBuffer): first -> first_y
13913         (updateScrollbar): first -> first_y
13914         (scrollCB): first -> first_y
13915         (workAreaMotionNotify): first -> first_y
13916         (workAreaButtonPress): first -> first_y
13917         (checkInsetHit): first -> first_y
13918         (cursorPrevious): first -> first_y
13919         (cursorNext): first -> first_y
13920         (Dispatch): add buffer_->params to severl inset contructors
13921
13922 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13923
13924         * lyxlayout.C (Read): remove some debug info that I forgot.
13925
13926         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13927         clean up the code slightly.
13928         (makeLinuxDocFile): ditto
13929         (makeDocBookFile): ditto
13930
13931         * text2.C: layout as string
13932
13933         * text.C: layout as string
13934
13935         * paragraph_pimpl.C: layout as string
13936
13937         * paragraph.[Ch]: layout as string
13938
13939         * lyxtextclasslist.[Ch]: layout as string
13940
13941         * lyxtextclass.[Ch]: layout as string
13942
13943         * lyxtext.h: layout as string
13944
13945         * lyxlayout.[Ch]: layout as string
13946
13947         * lyx_cb.C: layout as string
13948
13949         * bufferview_funcs.C: layout as string
13950
13951         * bufferparams.C: layout as string
13952
13953         * buffer.C: layout as string
13954
13955         * LyXView.[Ch]: layout as string
13956
13957         * LaTeXFeatures.[Ch]: layout as string
13958
13959         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13960
13961         * BufferView_pimpl.C: change current_layout to string, remove
13962         lyx::layout_type.
13963         (Dispatch):
13964         (smartQuote):
13965         (insertInset):
13966         (workAreaButtonRelease): layout as string
13967
13968         * BufferView2.C (unlockInset): adjust
13969
13970         * vspace.C (asLatexCommand): use an explict temp variable.
13971
13972 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13973
13974         * Makefile.am: use FRONTEND_*
13975
13976 2002-03-01  Juergen Vigna  <jug@sad.it>
13977
13978         * tabular.C (SetWidthOfMulticolCell): changed to something better
13979         I hope but still work in progress.
13980         (recalculateMulticolumnsOfColumn): renamed function from
13981         recalculateMulticolCells as it is more appropriate now.
13982         (SetWidthOfCell): calculate multicols better.
13983
13984 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13985
13986         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13987
13988         * lyxfunc.C (processKeySym): print sequence also if it is
13989         `deleted' (complete)
13990
13991         * kbsequence.C (print): print sequence even if it is deleted
13992         (complete would be a better word, actually).
13993
13994         * lyxfunc.C (dispatch): print complete options after a prefix key
13995
13996         * vspace.C (asLatexCommand): rewrite in a slightly different form.
13997
13998 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
13999
14000         * text2.C (setCharFont): eliminate setCharFont code duplication.
14001
14002 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14003
14004         * BufferView_pimpl.C (Dispatch): remove bogus handling of
14005         LFUN_TABULAR_FEATURE (bug #177)
14006
14007 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
14008
14009         * Makefile.am: remove figure.h
14010
14011 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
14012
14013         * Bufferview_pimpl.C:
14014         * CutAndPasteC:
14015         * LaTeX.C:
14016         * LyXSendto.C:
14017         * buffer.C:
14018         * bufferlist.C:
14019         * converter.C:
14020         * language.C:
14021         * lyxfunc.C:
14022         * lyxvc.C:
14023         * paragraph.C:
14024         * text.C:
14025         * text2.C: remove #include "lyx_gui_misc.h".
14026
14027         * LaTeX.C: added #include <cstdio>
14028
14029 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14030
14031         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
14032         that the paragraph following this one can have.
14033
14034         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
14035
14036         * vspace.C (asLatexCommand): fix bogus gcc warning
14037
14038         * Makefile.am (lyx_SOURCES): remove vms_defines.h
14039
14040 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
14041
14042         * text2.C (setLayout): get rid of redundant code
14043
14044 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
14045
14046         * text2.C (incDepth): make sure depth cannot be increased beyond
14047         reasonable values.
14048
14049 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
14050
14051         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
14052         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
14053
14054         * PainterBase.h (image):
14055         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
14056         a LyXImage const *.
14057
14058 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
14059
14060         * BufferView.C:
14061         * BufferView.h:
14062         * BufferView_pimpl.C:
14063         * BufferView_pimpl.h:
14064         * LaTeXFeatures.C:
14065         * LyXAction.C:
14066         * LyXView.C:
14067         * Makefile.am:
14068         * UpdateList.h:
14069         * UpdateList.C:
14070         * buffer.C:
14071         * figure.h:
14072         * figureForm.C:
14073         * figureForm.h:
14074         * figure_form.C:
14075         * figure_form.h:
14076         * lyx_cb.C:
14077         * lyx_gui.C:
14078         * lyx_gui_misc.C:
14079         * lyxfunc.C:
14080         * sp_base.h:
14081         * sp_ispell.h:
14082         * sp_pspell.h:
14083         * sp_spell.C: remove fig inset, and the crap house of
14084           cards that follows it
14085
14086 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
14087
14088         * Makefile.am:
14089         * lyxserver.C:
14090         * os2_defines.h:
14091         * os2_errortable.h:
14092         * nt_defines.h: move .h into support/
14093
14094         * vms_defines.h: remove
14095
14096         * WorkArea.C: add space in debug output
14097
14098         * text2.C:
14099         * paragraph.C:
14100         * buffer.C: add WITH_WARNINGS
14101
14102         * vc-backend.h:
14103         * vc-backend.C:
14104         * bufferlist.C: s/retrive/retrieve/, add docs
14105
14106         * vspace.h:
14107         * vspace.C:
14108         * kbmap.h:
14109         * lyxlength.h:
14110         * lyxgluelength.h:
14111         * length_common.h:
14112         * chset.h:
14113         * chset.C: add docs
14114
14115         * lyxgui.C: add ID to X error handler
14116
14117         * lyxtestclass.c: fix typo
14118
14119 2002-02-26  Juergen Vigna  <jug@sad.it>
14120
14121         * tabular_funcs.C (write_attribute): changed so that some default
14122         attributes are not written at all.
14123         (getTokenValue): set default values before trying to read the
14124         value so we have the return value always set as default if we don't
14125         find the token we search for.
14126
14127         * tabular.C (Write): write bools as bools not as strings!
14128
14129 2002-02-22  Juergen Vigna  <jug@sad.it>
14130
14131         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
14132         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
14133
14134         * text.C (leftMargin): don't add an indent for paragraphs inside
14135         tabular cells (fix #208).
14136
14137 2002-02-21  José Matos  <jamatos@fep.up.pt>
14138
14139         * tabular.C (docBook): fixed support for long tables.
14140
14141 2002-02-20  Juergen Vigna  <jug@sad.it>
14142
14143         * text2.C (getFont): get the drawing font of the Inset if this
14144         paragraph is inside an inset (only important for InsetERT for now).
14145
14146         * buffer.C (insertErtContents): use new lanugage params in ERT
14147         constructor.
14148
14149         * CutAndPaste.C: commenting out seemingly uneeded code.
14150
14151 2002-02-19  Allan Rae  <rae@lyx.org>
14152
14153         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
14154         Iterators might be simple to use but they also get invalidated.
14155         (removeAutoInsets): renamed saved cursor tracking variables and added
14156         some comments to clarify what everything does.
14157
14158 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
14159
14160         * Chktex.C:
14161         * LaTeX.C:
14162         * LyXSendto.C:
14163         * converter.C:
14164         * lyx_cb.C:
14165         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
14166         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
14167
14168         * lyxfunc.C:
14169         * vc-backend.h: remove #include "support/syscall.h"
14170
14171         * LaTeX.C:
14172         * LyXSendto.C:
14173         * converter.C: rearrange #includes in Lars' approved fashion.
14174
14175         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
14176         forward declare class Timeout in the header file.
14177
14178         * XFormsView.C: changes due to the above.
14179
14180         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
14181         similar to LyXView.
14182
14183         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
14184         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
14185
14186 2002-02-18  José Matos  <jamatos@fep.up.pt>
14187
14188         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
14189         insets contents.
14190
14191 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14192
14193         * a lot of small ws changes
14194         * add a lot of using std::XXX
14195         * use std construcs some places where approp.
14196         * use some exisint stuff from lyxfunctional where approp.
14197         * Make file changes to use partial linking (lets test this now...)
14198
14199 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
14200
14201         * Chktex.C:
14202         * buffer.C:
14203         remove #include "support/syscontr.h" as it's redundant. Always has been.
14204
14205         * Chktex.C:
14206         * LaTeX.C:
14207         * LyXSendto.C:
14208         * converter.C:
14209         * lyx_cb.C:
14210         * vc-backend.C:
14211         change Systemcalls::System to Systemcalls::Wait and
14212         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
14213         No change of functionality, just reflects the stripped down Systemcalls
14214         class.
14215
14216 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
14217
14218         * debug.[Ch]: add a GRAPHICS type to the enum.
14219
14220 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14221
14222         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
14223
14224         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
14225         there is an inset.
14226
14227 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14228
14229         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
14230         match the changes below.
14231
14232         * text2.C (toggleInset): if there is not editable inset at cursor
14233         position, try to see if cursor is _inside_ a collapsable inset
14234         and close it.
14235
14236 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14237
14238         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
14239         document menu has a nice checkbox
14240
14241 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14242
14243         * lyxlength.C (asLatexString): change PW to output as percent of
14244         \textwidth.
14245
14246         * lengthcommon.C: change '%' to 't%'
14247
14248         * lyxfunc.C (dispatch): a few comments from Martin
14249
14250 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
14251
14252         * WorkArea.h:
14253         * WorkArea.C:
14254         * BufferView_pimpl.h:
14255         * BufferView_pimpl.C: clear our selection when X tells us we've lost
14256           the X selection.
14257
14258 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14259
14260         * vspace.C (inPixels): fix compiler warning
14261
14262 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14263
14264         * lyxfunc.C (getStatus): fix status message for disabled commands.
14265
14266 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
14267
14268         * BufferView_pimpl.C: fix crash on close buffer
14269         during selection (#227)
14270
14271 2002-01-27  Herbert Voss  <voss@lyx.org>
14272
14273         * buffer.C: link old Figure to new graphic inset
14274
14275 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14276
14277         * FontLoader.C (getFontinfo): Change the latex font names in order
14278         to match the names of type1inst.
14279
14280 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14281
14282         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
14283
14284         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
14285         (extchanged): ditto
14286         (ext_exist): ditto
14287         (remove_files_with_extension): ditto
14288         (remove_file): ditto
14289         (write): ditto
14290
14291         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
14292         document is smaller than the work area height. Do not initialize
14293         static variables to 0.
14294
14295 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14296
14297         * lyx_gui.C (init): give the toolbar tooltips a normal font.
14298
14299         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
14300         LFUN_LAYOUT_PARAGRAPHS.
14301
14302         * tabular.C (GetCellFromInset): new method. Finds an inset in a
14303         tabular. It is possible to provide a possible cell, which will
14304         typically be the actcell from the corresponding insettabular
14305
14306         * lyxfunc.C (getStatus): small cleanup; disable
14307         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
14308         true
14309
14310 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14311
14312         * tabular.C (Validate): remove broken optimization (fixes bug #201)
14313
14314         * paragraph.C (startTeXParParams):
14315         (endTeXParParams): new methods. The LaTeX code to
14316         start/end paragraph formatting
14317         (simpleTeXOnePar): call startTeXParParams also when paragraph is
14318         empty (fixes bug #200)
14319
14320         * vspace.C (inPixels): adapt to the change below
14321         (inPixels): [later] more cleanups (remove unused variables)
14322
14323         * lyxlength.C (inPixels): change to use a width and a height as
14324         parameter.
14325
14326 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14327
14328         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
14329         Replaced with \paperwidth
14330
14331         * DepTable.C (insert): add std:: qualifier
14332
14333 2002-01-18  Allan Rae  <rae@lyx.org>
14334
14335         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
14336         updated also?
14337
14338         * text.C (drawInset): Turned out I didn't know enough about how
14339         rebreaking worked.  This fixes most of the redraw problems.  I see
14340         an occasional cursor trail when a line is broken now and the cursor
14341         placement can seem out by a few pixels also after a rebreak.
14342
14343 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14344
14345         * buffer.C (parseSingleLyXformat2Token): update because minipage
14346         width is now a LyXLength
14347
14348         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
14349
14350         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
14351         math insets
14352
14353 2002-01-17  Juergen Vigna  <jug@sad.it>
14354
14355         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
14356
14357         * BufferView2.C (lockInset): call edit() so that theLockingInset()
14358         is set correctly and the inset is updated correctly.
14359
14360 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14361
14362         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
14363         the beginning of the loop.
14364
14365 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
14366
14367         * lyxrc.C: improve help for use_scalable_fonts
14368
14369 2002-01-17  Allan Rae  <rae@lyx.org>
14370
14371         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
14372
14373 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14374
14375         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
14376         make sure to set their inset_owner to the right value (bug #171)
14377
14378 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
14379
14380         * DepTable.h
14381         * DepTable.C: Implement mtime checking to reduce time spent doing
14382         CRCs.
14383
14384 2002-01-16  Juergen Vigna  <jug@sad.it>
14385
14386         * tabular.C (GetAdditionalHeight): one of error fixed.
14387
14388         * lyxrc.C (output): small fix in writing use_pspell.
14389
14390 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
14391
14392         * sp_base.h: #include LString.h
14393
14394 2002-01-16  Allan Rae  <rae@lyx.org>
14395
14396         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
14397         Can someone check this please?
14398
14399         * text.C (drawInset): It was possible that p.row would be removed by
14400         breakAgainOneRow upsetting a few other settings.  There may be another
14401         small tweak possible by setting need_break_row = 0 when p.row has been
14402         removed but I don't know enough about the logic here.
14403
14404 2002-01-15  Allan Rae  <rae@lyx.org>
14405
14406         * text.C (insertChar): removed conditional truism.
14407
14408         * BufferView2.C (removeAutoInsets): More tweaks.
14409         cur_par_prev could be a stray pointer.  Check for trailing empty line
14410         in case last line was cur_par and only had an error inset on it.
14411
14412 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14413
14414         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
14415         absolute
14416
14417         * vc-backend.C (most methods):
14418         * exporter.C (Export):
14419         * converter.C (convert):
14420         (runLaTeX):
14421         * LyXSendto.C (SendtoApplyCB):
14422         * lyxfunc.C (dispatch):
14423         (menuNew):
14424         (open):
14425         (doImport):
14426         * lyx_cb.C (AutoSave):
14427         (InsertAsciiFile):
14428         * BufferView_pimpl.C (MenuInsertLyXFile):
14429         * buffer.C (runChktex): use Buffer::filePath().
14430
14431         * buffer.h: rename filename to filename_; rename filepath to
14432         filepath_ and make it private
14433         (filePath): new method
14434
14435         * buffer.C (writeFile): use fileName()
14436         (getLatexName):
14437
14438         * lyx_main.C (init): fix starting  of LyX when the binary is a
14439         link from so,ewhere else.
14440
14441         * minibuffer.C: include <cctype> for isprint
14442
14443 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14444
14445         * buffer.C (parseSingleLyXformat2Token): changes associated with the
14446         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14447         name clash with InsetCollapsable's width function.
14448
14449 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14450
14451         * lastfiles.C: include <iterator>
14452
14453 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14454
14455         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14456         std::count.
14457
14458         * buffer.C (makeLaTeXFile): ditto.
14459         Also make loop operation more transparent.
14460
14461 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14462
14463         * ToolbarDefaults.C: remove trailing comma closing namespace.
14464
14465         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14466
14467         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14468         as in WorkArea.
14469
14470         * trans.C (Load): comment out unused variable, allowed.
14471
14472 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14473
14474         * minibuffer.[Ch] (append_char): new method to recieve input from the
14475         drop-down completion browser. If a key was pressed, then recieve this
14476         char and append it to the existing string.
14477         (peek_event): modify the positioning data passed to the completion
14478         browser so that it can be placed above the minibuffer rather than below.
14479 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14480
14481         * LyXAction.C (init): alloe error-next for readonly documents.
14482
14483         * BufferView2.C (ChangeRefsIfUnique): use standard version of
14484         count.
14485
14486 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14487
14488         * bufferlist.C (readFile): create the buffer _after_ checking that
14489         the file exists.
14490
14491         * lyxfunc.C (verboseDispatch): fix handling of arguments
14492
14493         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14494
14495         * lyxrc.C: use string::erase() instead of initializing to "".
14496
14497
14498 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14499
14500         * BufferView_pimpl.h:
14501         * BufferView_pimpl.C:
14502         * WorkArea.h:
14503         * WorkArea.C:
14504         * text2.C: tell X when we have made a selection for copying
14505
14506 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14507
14508         * BufferView_pimpl.C (MenuInsertLyXFile):
14509         * lyxfunc.C (menuNew):
14510         (open):
14511         (doImport): add shortcuts to directory buttons
14512
14513         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14514         open a float)
14515
14516         * lyxfunc.C (setStatusMessage):
14517         (getStatusMessage): new methods
14518         (getStatus):use setStatusMessage instead of setErrorMessage
14519         (dispatch): when function is disabled, set error message here
14520         [instead of in getStatus previously]
14521
14522         * BufferView_pimpl.C (workAreaButtonRelease): update
14523         toolbar/menubar here too.
14524
14525 2002-01-13  Allan Rae  <rae@lyx.org>
14526
14527         * BufferView2.C (removeAutoInsets): finished off earlier fix.
14528         Now seems indestructible.  Remaining task is to audit all other
14529         code affected by deleteEmptyParagraphMechanism.  One small quirk
14530         left is that an empty document with an error in the preamble can
14531         be made to report an error but no error box appears.  I don't know
14532         where it goes.
14533         (removeAutoInsets): Improved comments.
14534
14535 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
14536
14537         * Thesaurus.h:
14538         * Thesaurus.C: update for Aiksaurus 0.14
14539
14540 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14541
14542         * text2.C (firstParagraph): removed member function, all uses
14543         replaces with ownerParagraph
14544         (redoParagraphs): here
14545         (updateInset): here
14546         (toggleAppendix): here
14547         * BufferView2.C (insertErrors): here
14548         (setCursorFromRow): here
14549
14550 2002-01-13  Allan Rae  <rae@lyx.org>
14551
14552         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14553         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14554         There is still a way to segfault this although you may have to do this
14555         multiple times: Have an InsetERT with an unknown command in it.
14556         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14557         <down-arrow>, <Enter> again, View->DVI, BANG!
14558
14559         * text2.C (setCursor):
14560         (deleteEmptyParagraphMechanism):
14561         * lyxtext.h (setCursor):
14562         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14563         Making use of the return value may help fix other bugs.
14564
14565 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14566
14567         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14568
14569         * LyXView.C (updateMenubar): call MenuBar::update here
14570         (updateToolbar): but not here
14571         (showState): do not update toolbar/menubar
14572
14573         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14574         should need to care about that.
14575
14576         * lyxfunc.C (verboseDispatch): simplify a bit
14577         (getStatus): have a version which takes a pseudoaction, and
14578         another which requires a (kb_action,string).
14579
14580         * LyXAction.C (retrieveActionArg): make it work also when action
14581         is not a pseudo-action.
14582         (getActionName): simplify a bit
14583         (helpText):
14584
14585 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14586
14587         * lyxfunc.C (verboseDispatch): new families of methods with
14588         several ways to specify a command and a bool to indicate whether
14589         the command name and shortcut should be displayed in minibuffer
14590         (eventually, we could extend that to a finer bitmask like
14591         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14592         (dispatch): the pristine dispatch command which just, well,
14593         dispatchs! Note it still sets its result to minibuffer; I'm not
14594         sure we want that.
14595
14596         * lyxfunc.h: remove setHintMessage
14597
14598         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14599
14600 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14601
14602         * BufferView_pimpl.C (specialChar): delete new inset if we have
14603         not been able to insert it.
14604
14605         * kbmap.C: revert to using int instead of kb_action, since all we
14606         are dealing with is pseudo-actions.
14607
14608         * LyXAction.C (searchActionArg): change to return int instead of
14609         kb_action, since the result is a pseudoaction.
14610
14611 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
14612
14613         * buffer.C (insertErtContents): Fix (partially) the font bug.
14614
14615 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14616
14617         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14618         as the other one is broken on my machine!
14619
14620 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
14621
14622         * commandtags.h:
14623         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14624
14625 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
14626
14627         * lyxrc.[Ch]: change names and descriptions of popup font variables to
14628         reflect their actual use. Provide compatibility code for older lyxrc
14629         files.
14630
14631         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14632         FL_NORMAL_STYLE.
14633         change names of popup font variables in line with the changes to lyxrc.C
14634
14635 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14636
14637         * buffer.C (asciiParagraph): avoid outputing a word twice after
14638         an inset.
14639
14640         * lyxrc.C (getDescription): document that document_path and
14641         template_path can be empty.
14642
14643 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14644
14645         * LaTeXFeatures.C (getMacros):
14646         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14647
14648         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14649
14650         * LaTeXFeatures.C (useFloat): require "float" here instead of in
14651         getPackages.
14652         (getPackages): rename feature "floats" to "float". Use an array to
14653         iterate over 'simple' features (i.e. just a \usepackage). Add
14654         handling of "amsmath" (renamed from "amsstyle").
14655
14656 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
14657
14658         * LaTeXFeatures.C (require): Prevent duplicate entries in the
14659         features list.
14660
14661 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
14662
14663         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14664         FuncStaus::FuncStatus & FuncStaus::some_method().
14665
14666 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
14667
14668         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14669         of the func_satus stuff. Edited and massaged in various ways by
14670         JMarc.
14671
14672         * lyxfunc.C (getStatus): use FuncStatus
14673
14674 2002-01-08  Juergen Vigna  <jug@sad.it>
14675
14676         * text.C (nextBreakPoint): use function Inset::isChar().
14677
14678         * paragraph.C (TeXOnePar): use function
14679         Inset::forceDefaultParagraphs.
14680
14681         * buffer.C (latexParagraphs): use function
14682         Inset::forceDefaultParagraphs.
14683
14684 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14685
14686         * lyx_gui.C (init): set the style of the menu popups to
14687         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14688
14689 2002-01-07  Juergen Vigna  <jug@sad.it>
14690
14691         * text.C (setHeightOfRow): small fix
14692         (prepareToPrint): don't look at alignment if we don't have the place
14693         for doing it.
14694
14695 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14696
14697         * box.C: New file. Move the Box methods and functions out of box.h,
14698         following Lars' suggestion.
14699
14700 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14701
14702         * box.h: #include "support/LOstream.h", needed for inlined function.
14703
14704         * lyxtextclass.C:
14705         * lyxtextclasslist.C: added some using std declarations.
14706
14707 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
14708
14709         * box.h: make signed dimensions to allow insets wider than
14710           the screen (bug #162)
14711
14712         * BufferView_pimpl.C: add some insetHit debug
14713
14714 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
14715
14716         * vc-backend.C: add FIXME
14717
14718 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14719
14720         * lyxfunc.C (getStatus): enable code for showing math font status
14721         in toolbar/menu.
14722
14723 2002-01-07  Juergen Vigna  <jug@sad.it>
14724
14725         * text.C (nextBreakPoint): removed debug output not needed anymore.
14726
14727 2002-01-06  Juergen Vigna  <jug@sad.it>
14728
14729         * text.C (nextBreakPoint): fixed up this function we had this bug
14730         since ever but now hopefully we break row better.
14731         (insertChar): we have to check if an inset is the next char as it
14732         could now happen that a large inset is causing a break.
14733
14734 2002-01-05  Juergen Vigna  <jug@sad.it>
14735
14736         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14737         if it doesn't like to be drawed.
14738
14739 2002-01-04  Juergen Vigna  <jug@sad.it>
14740
14741         * BufferView2.C (lockInset): forgot to set a cursor.
14742
14743         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14744
14745 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
14746
14747         * FormMathsPanel.C:
14748         * FormMathsPanel.h
14749         * MathsSymbols.C:
14750         * form_maths_panel.C:
14751         * form_maths_panel.h:
14752         * form_maths_panel.fd: implemented sub- and super- buttons in math
14753         panel.
14754
14755         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14756         (or ^ space) to be used as in TeX (req'd by Andr�.
14757
14758         * lyxfunc.C: Allow ^ and _ again to be used both as
14759         super/subscript (mathed) and as themselves (in text).
14760
14761 2002-01-03  Allan Rae  <rae@lyx.org>
14762
14763         * LyXView.C (updateWindowTitle): Setup a short icon title of either
14764         "LyX" or the filename of the current buffer if it has one.  This is a
14765         modified form of John Levon's patch.
14766
14767         * XFormsView.C (setWindowTitle): also set icon title.
14768
14769         * LyXView.h (setWindowTitle): signature changed.
14770         * XFormsView.h (setWindowTitle): ditto.
14771
14772 2002-01-02  Juergen Vigna  <jug@sad.it>
14773
14774         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14775
14776 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14777
14778         * screen.C (topCursorVisible): introduce a temp var for
14779         text->cursor.row(), handle the case where this row is null. (kindo
14780         hachish)
14781
14782         * text2.C (setCursor): add a couple of asserts.
14783
14784         * paragraph.h (inset_iterator): add -> operator
14785
14786         * paragraph.[Ch] (autoDeleteInsets): remove member function
14787
14788         * BufferView2.C (removeAutoInsets): rewrite to handle the old
14789         cursor pos correctly and handle inset deletion by itself.
14790         (insertErrors): move iterator declaration out of for expression
14791
14792         * lyxtextclass.C: add <algorithm>
14793
14794         * Makefile.am: added the new files to sources, removed layout.C
14795
14796         * layout.C: removed file
14797
14798         * layout.h: remove LYX_DUMMY_LAYOUT
14799
14800         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14801         layout.
14802
14803         * lyxlayout.[Ch]:
14804         * lyxtextclass.[Ch]:
14805         * lyxtextclasslist.[Ch]: new files
14806
14807         * include order changes to a lot of files, also changes because of
14808         the six new files.
14809
14810 2001-12-27  Juergen Vigna  <jug@sad.it>
14811
14812         * buffer.C (asciiParagraph): more fixes.
14813
14814         * tabular.C (ascii): make ascii export support export of only the
14815         data separated by a column-delimiter.
14816         (ascii): better support for ascii export.
14817
14818         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14819
14820 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14821
14822         * tabular_funcs.C: use a "using std::getline" instead of the
14823         previous fix from Angus (necessary for cxx + lyxstring)
14824
14825 2001-12-24  Juergen Vigna  <jug@sad.it>
14826
14827         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14828
14829         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14830         problems. First check a minipage also if we have some ert-contents
14831         (not only on par->size(), second set the right depth of the paragraph
14832         on the relink to the root-paragraph-list!
14833
14834         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14835         which then did not anymore update the main paragraphs on undo/redo!
14836
14837 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14838
14839         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14840         code. Support all font-changing funcs (even those which are not in
14841         menu currently). Support for reporting font settings in
14842         mathed (disabled until Andre provides a function on mathed's side).
14843
14844         * func_status.h (toggle): small helper function to set toggle
14845         state on a flag.
14846
14847 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
14848
14849         * tabular_funcs.C: getline -> std::getline
14850
14851 2001-12-21  Juergen Vigna  <jug@sad.it>
14852
14853         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14854         accessed and could be 0 (I couldn't generate this but it seems
14855         Michael could!).
14856
14857 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14858
14859         * tabular_funcs.C: add LIstream.h, move write_attribute to..
14860         * tabular_funcs.h: here and include iosfwd
14861
14862 2001-12-20  Juergen Vigna  <jug@sad.it>
14863
14864         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14865         inside inset but undo_par was.
14866
14867 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14868
14869         * Thesaurus.C: always include <config.h> in sources.
14870
14871         * Painter.h:
14872         * lyxlookup.h:
14873         * box.h: do not include <config.h> in header files
14874
14875         * text.C (paintLastRow): remove unused variable
14876
14877         * text.C (transformChar):
14878         (insertChar):
14879         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14880
14881         * Painter.C (text):
14882         * font.C (width): rewrite to use uppercase() instead of
14883         islower/toupper.
14884
14885         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14886
14887 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
14888
14889         * lyxfind.C: clean up of find failure position change
14890
14891 2001-12-20  Juergen Vigna  <jug@sad.it>
14892
14893         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14894
14895         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14896         (TeXRow): added to LaTeX a single tabular row.
14897         (TeXLongtableHeaderFooter): added to output LT-h/f data.
14898         (Latex): simplified and finally good LT-h/f support.
14899         (various_functions): just small adaptions for LT-h/f support.
14900
14901         * tabular_funcs.[hC]: added and moved here all not classfunctions
14902         of LyXTabular.
14903
14904 2001-12-19  Juergen Vigna  <jug@sad.it>
14905
14906         * tabular.[Ch]: better support for longtabular options (not finished
14907         yet!)
14908
14909 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14910
14911         * text.C (paintLastRow): use the label font instead of the font of
14912         the last character to compute the size of *_BOX. This makes more
14913         sense and avoids a crash with empty paragraphs.
14914         Use Painter::rectangle to draw EMPTY_BOX.
14915
14916 2001-12-19  Juergen Vigna  <jug@sad.it>
14917
14918         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14919         the paragraphs if the replaced paragraph is not the first one!
14920         Tried to delete not used paragraphs but does not work yet so for
14921         now it's inside #ifdef's and by default off!
14922
14923 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14924
14925         * MenuBackend.C: include "lyx_main.h" instead of declaring
14926         lastfiles (actually was declared as LastFiles* instead of a
14927         scoped_ptr).
14928
14929 2001-12-17  Juergen Vigna  <jug@sad.it>
14930
14931         * tabular.C (AppendColumn): applied John's fix
14932
14933 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
14934
14935         * BufferView.h:
14936         * BufferView.C:
14937         * BufferView_pimpl.h:
14938         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14939
14940         * Makefile.am:
14941         * box.h: new start of class for above
14942
14943         * lyxfunc.C: ignore space-only minibuffer dispatches.
14944           Show the command name when it doesn't exist
14945
14946         * minibuffer.C: don't add empty lines to the history
14947
14948         * minibuffer.C: add a space on dropdown completion
14949
14950 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
14951
14952         * text.C: fix line above/below drawing in insets
14953
14954 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14955
14956         * lyxlength.C (LyXLength): Initialize private variables.
14957
14958 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
14959
14960         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14961         when inserting error insets.
14962
14963 2001-12-13  Juergen Vigna  <jug@sad.it>
14964
14965         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14966         actually sometimes the before-paragraph.
14967         (setUndo): don't clear the redostack if we're not actually undoing!
14968
14969 2001-12-06  Juergen Vigna  <jug@sad.it>
14970
14971         * undo_funcs.C (textHandleUndo): well after John's hint I got here
14972         and fixed redoing of main paragraph, so we can use it now ;)
14973
14974         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14975
14976 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14977
14978         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14979         Juergen's request
14980
14981 2001-12-13  André Pönitz <poenitz@gmx.net>
14982
14983         * undostack.[Ch]:
14984         * undo_func.C: minor cleanup
14985
14986 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14987
14988         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14989         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14990         font in urw-fonts package which is marked as -urw-fontspecific and
14991         does not work (incidentally, changing the encoding in the
14992         fonts.dir of this package to -adobe-fontspecific fixes the
14993         problem).
14994
14995         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14996         is a crash when undoing first paragraph (Juergen, please take a
14997         look). THis does not mean the undo fix is wrong, just that it
14998         uncovers problems.
14999
15000         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
15001         the (Paragraph*) version when needed instead of duplicating the
15002         code.
15003
15004         * text.C (workWidth): use Inset::parOwner to find out where the
15005         inset has been inserted. This is a huge performance gain for large
15006         documents with lots of insets. If Inset::parOwner is not set, fall
15007         back on the brute force method
15008
15009         * paragraph_pimpl.C (insertInset):
15010         * paragraph.C (Paragraph):
15011         (cutIntoMinibuffer): set parOwner of insets when
15012         inserting/removing them
15013
15014         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
15015
15016 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
15017
15018         * commandtags.h:
15019         * LyXAction.C:
15020         * lyx_main.C:
15021         * lyxfunc.C:
15022         * mathed/formulabase.C:
15023         * mathed/math_cursor.[Ch]:
15024         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
15025
15026
15027 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15028
15029         * lyxlength.[Ch] (operator!=): new function
15030
15031 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
15032
15033         * text.C (workWidth): use Inset::parOwner to find out where the
15034         inset has been inserted. This is a huge performance gain for large
15035         documents with lots of insets. If Inset::parOwner is not set, fall
15036         back on the brute force method
15037
15038         * paragraph_pimpl.C (insertInset):
15039         * paragraph.C (Paragraph):
15040         (cutIntoMinibuffer): set parOwner of insets when
15041         inserting/removing them
15042
15043         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
15044
15045 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
15046
15047         * tabular-old.C (getTokenValue):
15048         * tabular.C (getTokenValue):
15049         (write_attribute): new versions for LyXLength
15050         (everywhere): adjust the use of widths
15051
15052         * tabular.h: change the type of widths from string to LyXLength
15053
15054 2001-12-11  Ben Stanley <bds02@uow.edu.au>
15055
15056         * paragraph.C: fixed missing line number count when exporting
15057         Environments to LaTeX file
15058
15059         * buffer.C: added informational message for checking line numbers.
15060
15061 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
15062
15063         * text2.C (deleteEmptyParagraphMechanism): if there is only one
15064         paragraph, do the 'double space' part, but not the 'empty
15065         paragraph' one.
15066
15067         * text.C (workWidth): small optimization
15068         (getLengthMarkerHeight): use minimal size for negative lengths.
15069
15070 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
15071
15072         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
15073
15074         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
15075
15076 2001-12-11  André Pönitz <poenitz@gmx.net>
15077
15078         * FontLoader.C:
15079         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
15080
15081 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
15082
15083         * text2.C: keep selection on a setFont()
15084
15085 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
15086
15087         * lyx_cb.C: another bv->text misuse, from insert label
15088
15089 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
15090
15091         * kbsequence.h:
15092         * kbsequence.C: re-instate nmodifier mask
15093
15094 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
15095
15096         * lyx_main.h: make lyxGUI private.
15097
15098 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
15099
15100         * lyxfind.C: place the cursor correctly on failed search
15101
15102 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
15103
15104         * text.C (getLengthMarkerHeight): for small heights, the arrows
15105         are not always on top/bottom of the text
15106         (drawLengthMarker): smaller arrows; take the left margin in
15107         account; draw also vfills.
15108         (paintFirstRow):
15109         (paintLastRow): remove special code for vfill and standard spaces,
15110         since everything is handled in drawLengthMarker now.
15111
15112 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15113
15114         * buffer.C (insertErtContents): try to handle font and language
15115         interaction a bit better.g
15116
15117         * ColorHandler.C (updateColor): change the hash to cover the whole
15118         LColor enum, ws cleanup
15119         (getGCLinepars): ditto
15120         (getGCLinepars): only lookup in the linecache once.
15121
15122 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
15123
15124         * iterators.C (operator++): Make the iterator more robust
15125
15126         * BufferView2.C (removeAutoInsets): Use paragraph iterators
15127         (John's patch)
15128         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
15129
15130 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15131
15132         * lyxtext.h:
15133         * text.C: better added space drawing
15134
15135 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15136
15137         * LyXView.C:
15138         * BufferView2.C: fix layout combo update on inset unlock
15139
15140 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15141
15142         * Makefile.am: don't compile unused files
15143
15144 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15145
15146         * lyxfunc.C:
15147         * commandtags.h:
15148         * LyXAction.C: remove old LFUN_LAYOUTNO
15149
15150 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15151
15152         * paragraph_pimpl.h:
15153         * paragraph_pimpl.C: isTextAt() doesn't need font param
15154
15155 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15156
15157         * lyxlex.h:
15158         * lyxlex.C: little cleanup
15159
15160 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15161
15162         * BufferView_pimpl.C: fix insertAscii for insets
15163
15164 2001-12-05  Juergen Vigna  <jug@sad.it>
15165
15166         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
15167         set the right font on the "multi" paragraph paste!
15168
15169 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15170
15171         * trans_decl.h:
15172         * trans_mgr.[Ch]:
15173         * trans.[Ch]:
15174         * lyxgluelength.C:
15175         * lyxlength.C: remove out-commented code.
15176
15177         * BufferView_pimpl:
15178         * CutAndPaste.C:
15179         * DepTable.C:
15180         * buffer.C:
15181         * chset.C:
15182         * lastfiles.C:
15183         * lyxlex.C:
15184         * lyxlex_pimpl.C:
15185         * lyxserver.C:
15186         * screen.C:
15187         * tabular-old.C:
15188         * tabular.C:
15189         * text.C:
15190         * trans_mgr.C:
15191         * vc-backend.C: change "while(" to "while ("
15192
15193         * lyxlength.[Ch]: add zero function to check if length is zero or
15194         not
15195         * lyxgluelength.C: use it
15196
15197 2001-12-05  Allan Rae  <rae@lyx.org>
15198
15199         * lyxlength.C: Attempted a fix for the abs(int) header selection.
15200         Works for 2.95.3, from what I understand of Garst's reports this should
15201         work for other g++ versions.  We're screwed if the abs(int) definition
15202         changed between bugfix releases of gcc.
15203
15204 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
15205
15206         * text.C: fix chapter label offset !
15207
15208 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
15209
15210         * lyxtext.h:
15211         * text.C: fix hfill at end of line, clean up
15212
15213 2001-12-04  Juergen Vigna  <jug@sad.it>
15214
15215         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
15216         that we force an update of the inset and it's owners if neccessary.
15217
15218 2001-12-03  Juergen Vigna  <jug@sad.it>
15219
15220         * text.C (rowLast): simplified code
15221
15222 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
15223
15224         * lyxfunc.C: fix show options on timeout
15225
15226 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15227
15228         * screen.C (topCursorVisible): scroll half a page when the cursor
15229         reached top of bottom of screen
15230
15231 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
15232
15233         * minibuffer.C: deactivate on loss of focus
15234
15235 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15236
15237         * vspace.[Ch] (operator!=): add operator.
15238
15239 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
15240
15241         * BufferView_pimpl.C: refuse to open an inset when
15242         there's a selection.
15243
15244 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
15245
15246         * BufferView_pimpl.C: allow to click on RHS of full row insets
15247
15248 2001-11-30  Juergen Vigna  <jug@sad.it>
15249
15250         * tabular.C (LyXTabular): add a same_id to set the same id's in the
15251         insets for undo reasons.
15252
15253 2001-11-28  André Pönitz <poenitz@gmx.net>
15254
15255         * vspace.[Ch]: cosmetical changes
15256
15257 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15258
15259         * LyXAction.h:
15260         * LyXAction.C:
15261         * lyxfunc.h:
15262         * lyxfunc.C:
15263         * kbmap.h:
15264         * kbmap.C:
15265         * lyxrc.C:
15266         * kbsequence.h:
15267         * kbsequence.C: part re-write of old kb code
15268
15269         * Painter.C:
15270         * WorkArea.C: remove Lgb_bug_find_hack
15271
15272 2001-11-30  José Matos <jamatos@fep.up.pt>
15273
15274         * buffer.C (makeDocBookFile): add a comment to point a hack.
15275         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
15276         Fixed a double write of labels.
15277
15278 2001-11-29 Ben Stanley <bds02@uow.edu.au>
15279
15280         * LaTeX.C:
15281         * LaTeX.h Fixed bug in LaTeX class where it would not
15282         re-run latex if no depfiles were changed, but the .dvi was removed.
15283
15284 2001-11-28  André Pönitz <poenitz@gmx.net>
15285
15286         * all the files from the change on 2001/11/26:
15287         use lyx::layout_type instead of LyXTextClass::size_type
15288         use lyx::textclass_type instead of LyXTextClassList::size_type
15289
15290 2001-11-29  Juergen Vigna  <jug@sad.it>
15291
15292         * text.C: added support for paragraph::isFreeSpacing()
15293
15294         * buffer.C: same as above
15295
15296         * paragraph.h: inserted isFreeSpacing() function to enable
15297         FreeSpacing inside InsetERT.
15298
15299         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
15300         of the paragraph's in the cut/copy buffer to 0!
15301
15302         * text2.C (removeRow): remove the assert as it can!
15303
15304         * lyxtext.h: added helper function firstRow returning firstrow and
15305         made firstrow private again.
15306
15307         * BufferView2.C (lockInset): don't relock if we're already locked!
15308
15309         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
15310         the only paragraph.
15311         (removeRow): added Assert::(firstrow)
15312
15313         * debug.C: forgot to add INSETTEXT here.
15314
15315 2001-11-28  Juergen Vigna  <jug@sad.it>
15316
15317         * sp_spell.C (initialize): changed error text to more general
15318         spellchecker command use (not only ispell!)
15319
15320         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
15321
15322         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
15323
15324 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15325
15326         * vspace.C: initialise lyxgluelength on failure
15327
15328 2001-11-28  Allan Rae  <rae@lyx.org>
15329
15330         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
15331         declaration & definition that looks like a function declaration.
15332
15333 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15334
15335         * BufferView2.C (copy):
15336         (copyEnvironment): do not clear the selection when doing a copy.
15337
15338         * text.C (paintFirstRow): compilation fix
15339
15340 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
15341
15342         * tabular.C (Latex): correct line count when writing latex.
15343
15344 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
15345
15346         * paragraph_pimpl.h:
15347         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
15348           bug a bit
15349
15350 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15351
15352         * text.C:
15353         * LColor.h:
15354         * LColor.C: change vfillline->added_space
15355
15356         * text.C: add markers and text for added space
15357
15358         * vspace.C: fix comment
15359
15360 2001-11-28  André Pönitz <poenitz@gmx.net>
15361
15362         * paragraph.C: whitespace changes
15363         * all the other files from the change on 2001/11/26:
15364         change *::pos_type into lyx::pos_type
15365
15366 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
15367
15368         * buffer.C (parseSingleLyXformat2Token): Set the language to the
15369         language of the document when inserting error insets.
15370
15371 2001-11-26  André Pönitz <poenitz@gmx.net>
15372
15373         * BufferView_pimpl.[Ch]:
15374         *       CutAndPaste.C:
15375         * buffer.[Ch]:
15376         * lyxcursor.[Ch]:
15377         * lyxfind.C:
15378         * lyxfunc.C:
15379         * lyxrow.[Ch]:
15380         * paragraph.[Ch]:
15381         * paragraph_pimpl.[Ch]:
15382         * sp_spell.C:
15383         * text.C:
15384         * text2.C: reduce header dependencies, introduce type for positions
15385
15386 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15387
15388         * <various>: change to use Alert.h
15389
15390 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
15391
15392         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
15393         when encountering an unknown token.
15394         (readLyXformat2): Show an error message if there were unknown tokens.
15395
15396 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
15397
15398         * BufferView2.C:
15399         * BufferView_pimpl.C:
15400         * buffer.C:
15401         * paragraph.h:
15402         * text.C:
15403         * text2.C: use par->isInset()
15404
15405 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15406
15407         * paragraph_pimpl.h:
15408         * paragraph_pimpl.C: cleanup
15409
15410 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15411
15412         * text2.C (removeRow):
15413         * text.C (setHeightOfRow): remove useless (and costly) call to
15414         getRow.
15415
15416 2001-11-20  Allan Rae  <rae@lyx.org>
15417
15418         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
15419         Now need Inset*::checkInsertChar() to return true for appropriate
15420         cases so that the characters in the minibuffer will actually be
15421         inserted.
15422
15423 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15424
15425         * text.C: change the order of the includes.
15426         (workWidth): initialize it at once.
15427         (workWidth): make maxw unsigned
15428         (setHeightOfRow): remove unused variable (inset)
15429         (selectSelectedWord): remove unused variable (inset)
15430         (paintRowText): fix drawing of hfill characters, and clean up a bit.
15431
15432 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15433
15434         * lyxserver.C (emergencyCleanup): do not try to close pipes if
15435         server is not running.
15436         (openConnection):
15437         (closeConnection): add debug info when server is disabled.
15438
15439         * ColorHandler.C (getGCForeground): send debug message to GUI
15440         channel.
15441
15442         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15443
15444         * kbmap.C (bind): modify because return conventions of
15445         kb_sequence::parse have changed.
15446
15447         * kbsequence.C (parse): only ignore spaces and not any stupid
15448         control character. This avoids tests like s[i] <= ' ', which are
15449         guaranteed to fail with 8bit characters and signed chars.
15450         Change return code to string::npos when there have been no error
15451         (0 was a bad idea when error is at first character)
15452
15453 2001-11-14  José Matos  <jamatos@fep.up.pt>
15454
15455         * buffer.h:
15456         * buffer.C (simpleDocBookOnePar): removed unused argument.
15457
15458 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15459
15460         * text.C (selectNextWordToSpellcheck): do not test explicitely for
15461         insets which are part of a word. Paragraph::isLetter takes care of
15462         that now. Use Paragraph::isInset to identify insets.
15463         (selectSelectedWord): do not test for hyphenation break.
15464
15465         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15466         that protected spaces are considered as spaces.
15467
15468         * paragraph.C (isLetter): cleanup the code for ispell extras; use
15469         Inset::isLetter.
15470
15471 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
15472
15473         * lyxserver.h:
15474         * lyxserver.C: fix it. and small cleanup.
15475
15476 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15477
15478         * BufferView_pimpl.C: use inline helpers
15479
15480         * LaTeXFeatures.h:
15481         * LaTeXFeatures.C: fix typos
15482
15483         * Spacing.h:
15484         * Spacing.C: move spacing_string into class
15485
15486         * ToolbarDefaults.C: move stuff into namespace anon
15487
15488         * layout.h: update enum
15489
15490         * lyxfunc.C: use better debug
15491
15492         * minibuffer.h: fix typo
15493
15494         * debug.h:
15495         * debug.C:
15496         * WorkArea.C: add and use Debug::WORKAREA
15497
15498         * lyxtext.h:
15499         * text.C:
15500         * text2.C: code re-organisation, inline helpers
15501
15502 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
15503
15504         * Layout.C: replaced a few cases of std::vector.size() == 0 with
15505         std::vector.empty().
15506
15507 2001-11-09  Allan Rae  <rae@lyx.org>
15508
15509         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15510         '\n's after tables.  Tabular and ERT inset work now makes this no
15511         longer necessary.
15512
15513 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15514
15515         * minibuffer.h:
15516         * minibuffer.C: fix crash, improve drop-down completion
15517
15518 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
15519
15520         * lyxserver.h:
15521         * lyxserver.C: invalidate fd's when doing endPipe()
15522
15523 2001-11-08  José Matos  <jamatos@fep.up.pt>
15524
15525         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15526         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15527
15528         * paragraph.h:
15529         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15530
15531 2001-11-07  José Matos  <jamatos@fep.up.pt>
15532
15533         * buffer.h:
15534         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15535         const qualifier.
15536
15537         * buffer.C (sgmlOpenTag):
15538         * buffer.C (sgmlCloseTag): removed debug info.
15539
15540         * buffer.h (sgmlOpenTag):
15541         * buffer.h (sgmlCloseTag): made public.
15542
15543 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15544
15545         * buffer.C (saveParamsAsDefaults):
15546         * lyx_cb.C (MenuLayoutSave): remove
15547
15548         * LyXAction.C (init):
15549         * commandtags.h:
15550         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15551
15552 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15553
15554         * buffer.C (setPaperStuff): removed from here...
15555
15556         * bufferparams.C (setPaperStuff): ... and moved there.
15557
15558 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
15559
15560         * minibuffer.h:
15561         * minibuffer.C:
15562         * XFormsView.C: add support for drop-down completion
15563
15564 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
15565
15566         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15567         commands.
15568
15569 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15570
15571         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15572         disabled.
15573
15574 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
15575
15576         * lyx_main.C: change ref to known bugs
15577
15578 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
15579
15580         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15581         to work around older babel problems.
15582
15583 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15584
15585         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15586
15587 2001-10-24  Juergen Vigna  <jug@sad.it>
15588
15589         * tabular-old.C (ReadOld): below variable changes reflected.
15590
15591         * tabular.[Ch]: added ltType struct for longtable header/footer
15592         defines and changed all instances where they are used. Added
15593         future support for double top/bottom rows.
15594
15595 2001-10-24  José Matos  <jamatos@fep.up.pt>
15596
15597         * buffer.h (docbookHandleCaption):
15598         * buffer.C (docbookHandleCaption): removed unused function.
15599         (makeDocBookFile): moved docbook supported version to v4.1.
15600
15601 2001-10-24  José Matos  <jamatos@fep.up.pt>
15602
15603         * tabular.h:
15604         * tabular.C (docbookRow): new function to export docbook code of a row.
15605         (DocBook): now honors the longtable flags.
15606
15607 2001-10-23  José Matos  <jamatos@fep.up.pt>
15608
15609         * LaTeXFeatures.h:
15610         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15611         of the lyx defined sgml entities used in a docbook/linuxdoc document.
15612
15613         * buffer.C (makeLinuxDocFile):
15614         (makeDocBookFile): reworked the preamble, more clean, and with
15615         support for lyx defined entities. Changed the document declaration
15616         to be more XML friendly.
15617
15618         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15619         if we need to output XML that should be done with a filter.
15620
15621 2001-10-22  Juergen Vigna  <jug@sad.it>
15622
15623         * sp_pspell.h (class PSpell): add alive function needed in the
15624         controller to see if the spellchecker could be started.
15625
15626 2001-10-22  Juergen Vigna  <jug@sad.it>
15627
15628         * buffer.C (insertStringAsLines): modify the font for inserting
15629         chars in certain conditions by calling checkInsertChar(font).
15630
15631 2001-10-19  Juergen Vigna  <jug@sad.it>
15632
15633         * text.C (workWidth): use getRow instead of wrong algorithm.
15634         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15635
15636 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
15637
15638         * lyxserver.h:
15639         * lyxserver.C:
15640         * lyx_main.h:
15641         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15642
15643 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15644
15645         * text.C (workWidth): do not search for the exact row when
15646         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15647         optimization for big documents.
15648
15649 2001-10-18  Juergen Vigna  <jug@sad.it>
15650
15651         * text.C (workWidth): new function with added Inset * parameter.
15652
15653 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15654
15655         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15656
15657         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15658         change return type of getColumnNearX.
15659
15660
15661         * text.C (changeRegionCase): use uppercase/lowercase instead of
15662         toupper/tolower.
15663         (leftMargin):
15664         (rightMargin): simplify code by factoring out the uses of
15665         textclasslist.
15666         (labelFill):
15667         (numberOfHfills):
15668         (setHeightOfRow):
15669         (appendParagraph): use Paragraph::size_type
15670
15671 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15672
15673         * vspace.C (asLatexString): add a missing break
15674
15675 2001-10-15  Herbert Voss  <voss@perce.de>
15676
15677         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15678
15679 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15680
15681         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15682         is not available.
15683
15684 2001-10-10  André Pönitz <poenitz@gmx.net>
15685
15686         * lyxfunc.C: removed greek_kb_flag.
15687
15688 2001-10-10  Herbert Voss  <voss@perce.de>
15689
15690         * lyx_main.C: delete global string help_lyxdir.
15691
15692 2001-10-09  Herbert Voss  <voss@perce.de>
15693
15694         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15695
15696         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15697
15698         * lyx_main.C: added global string help_lyxdir.
15699
15700         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15701
15702 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15703
15704         * lyxrc.C (set_font_norm_type): support iso8859-4
15705
15706 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
15707
15708         * LaTeX.C (deplog): add another regex for MikTeX
15709
15710 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15711
15712         * lyxrc.C (set_font_norm_type): support iso8859-3
15713
15714 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15715
15716         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15717
15718         * LaTeXFeatures.C: remove special case of french and index
15719
15720         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15721         before \begin{document}). This solves several incompatibilities.
15722
15723 2001-10-03  Garst Reese  <reese@isn.net>
15724
15725         * lyx_cb.C: change CheckTex error msg.
15726
15727 2001-10-03  José Matos  <jamatos@fep.up.pt>
15728
15729         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15730
15731 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15732
15733         * .cvsignore: update
15734
15735         * lyx_main.C (commandLineVersionInfo): use new style version info.
15736
15737         * buffer.C (writeFile):
15738         (makeLaTeXFile):
15739         (makeLinuxDocFile):
15740         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15741
15742         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15743
15744         * version.h: update to use stuff in version.C
15745
15746         * version.C.in: new file. Contains version information determined
15747         at compile time. This is a merging of version.h and
15748         version_info.h.in.
15749
15750 2001-10-03  Juergen Vigna  <jug@sad.it>
15751
15752         * BufferView_pimpl.C (update): don't change "dirty" status in
15753         updateInset call.
15754
15755 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
15756
15757         * WorkArea.C (c-tor): re-position version string slightly.
15758
15759 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
15760
15761         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15762         revert to previous code.
15763
15764         WorkArea.[Ch]: (show, destroySplash): methods removed.
15765
15766         WorkArea.C: rework code so that it's an amalgam of the codes before and
15767         after the splash screen was moved to WorkArea.
15768
15769 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15770
15771         * lyxrc.C (read):
15772         * vspace.C (inPixels):
15773         (lyx_advance):
15774         * kbmap.C (bind):
15775         * buffer.C (insertStringAsLines):
15776         (asciiParagraph): fix types to be large enough
15777
15778         * lyxlex_pimpl.h: change member status from short to int
15779
15780         * layout.h: fix type of endlabeltype
15781
15782         * kbmap.C (bind):
15783         * kbsequence.C (parse): change return type to string::size_type
15784
15785         * LaTeX.C (updateBibtexDependencies): comment out unneeded
15786         variable
15787
15788         * Bullet.C (bulletSize):
15789         (bulletEntry): do not use short ints as parameters
15790
15791         * BufferView2.C (insertLyXFile): change a char to an int.
15792
15793         * WorkArea.C (WorkArea): remove unneeded floats in computation
15794
15795 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
15796
15797         * buffer.C (asciiParagraph): Treat '\\' as other chars.
15798
15799         * paragraph.C (asString): Do not ignore newline/hfill chars when
15800         copying to the clipboard.
15801
15802 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
15803
15804         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15805         after a multi-line inset.
15806
15807 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
15808
15809         * paragraph.C (validate): Set NeedLyXFootnoteCode
15810
15811 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15812
15813         * lyxfont.C (LyXSizeNames): changed increase-error to increase
15814         and decrease-error to decrease.
15815
15816 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15817
15818         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15819         it more readable (should be equivalent)
15820
15821 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15822
15823         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15824
15825 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15826
15827         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15828         of a cursor (row, etc.) after a character has been deleted
15829         (deleteEmptyParagraphMechanism): call the method above on _all_
15830         cursors held by the LyXText when a double space has been
15831         detected/deleted.
15832
15833 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15834
15835         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15836         pixmap.
15837         (resizeCurrentBuff): remove code to destroy the old splash dialog.
15838
15839         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15840         background. Use greyOut() and the new show() methods to toggle between
15841         the foreground and background. Add code to remove the splash after
15842         its initial showing.
15843
15844         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15845         (create_forms): no longer call Dialogs::showSplash.
15846
15847 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15848
15849         * .cvsignore: add version_info.h
15850
15851 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15852
15853         * version_info.h.in: new file
15854
15855         * Makefile.am: add version_info.h.in
15856
15857         * lyx_main.C (commandLineVersionInfo): use version_info defined in
15858         version_info.h instead of VERSION_INFO
15859
15860 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
15861
15862         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15863         The ERT inset now returns string().
15864
15865 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
15866
15867         * lyxtext.h, text.C (selectNextWord): renamed as
15868         selectNextWordToSpellcheck.
15869
15870         * text.C (selectNextWordToSpellcheck): Modified to not select
15871         words inside an ERT inset.
15872
15873 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15874
15875         * lyx_cb.C (MenuLayoutSave): change a bit the question
15876
15877         * sp_base.h: include <sys/types.h>
15878
15879 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
15880
15881         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15882
15883 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
15884
15885         * several files: fix typos in user-visible strings
15886
15887 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15888
15889         * text2.C (pasteSelection): do not set the selection, since it
15890         will be cleared later. Actually, the intent was to fix the way the
15891         selection was set, but I figured rmoving the code was just as good.
15892
15893 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
15894
15895         * FontLoader.C (available): Check if font is available without
15896         loading the font.
15897
15898 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
15899
15900         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15901
15902 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
15903
15904         * lyxrc.[Ch]: added display_graphics variable and associated code.
15905
15906 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15907
15908         * bufferparams.C (hasClassDefaults): new method. Returns true if
15909         the buffer parameters correspond to known class defaults
15910
15911 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
15912
15913         * XFormsView.C (show): set minimum size to the main window.
15914
15915 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15916
15917         * text2.C (copySelection):
15918         (cutSelection):
15919         * lyxfind.C (LyXReplace):
15920         * BufferView_pimpl.C (Dispatch): pass the correct flag to
15921         LyXText::selectionAsString.
15922
15923         * paragraph.C (asString): add "label" argument to the second form
15924
15925         * text2.C (selectionAsString): add "label" argument and pass it to
15926         Paragraph::asString.
15927
15928 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15929
15930         * lyx_main.C (commandLineHelp): remove version information
15931
15932 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
15933
15934         * lyx_main.C: add -version commandline option
15935
15936 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15937
15938         * paragraph.h: make the optional constructor arg required instead.
15939         some modifications to other files because of this.
15940
15941         * minibuffer.C (C_MiniBuffer_peek_event): make it static
15942
15943         * lyxserver.C (C_LyXComm_callback): make it static
15944
15945         * lyx_main.C (error_handler): make it static
15946
15947         * lyx_gui.C (LyX_XErrHandler): make it static
15948
15949         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15950
15951         * WorkArea.C: make the extern "C" methods static.
15952
15953         * Makefile.am (lyx_LDADD): simplify
15954
15955 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15956
15957         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15958         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15959
15960         * LyXAction.C (init):
15961         * lyxfunc.C (dispatch): associated code removal.
15962
15963 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15964
15965         * lyxfont.h (isSymbolFont): shut off warning
15966
15967         * text.C (setHeightOfRow):
15968         (getVisibleRow): fix crash with empty paragraphs which have a
15969         bottom line
15970
15971 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
15972
15973         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15974         code.
15975
15976 2001-09-04  José Matos  <jamatos@fep.up.pt>
15977         * buffer.C
15978         * buffer.h
15979         * tabular.C (docbook): rename docBook method to docbook.
15980
15981 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15982
15983         * Makefile.am: add dependencies to main.o.
15984
15985 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
15986
15987         * FontLoader.C (available): Return false if !lyxrc.use_gui
15988
15989 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
15990
15991         * FontInfo.C (query):
15992         * converter.C (view):
15993         * importer.C (Import):
15994         * exporter.C (Export): Can not -> cannot.
15995
15996 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
15997
15998         * BufferView_pimpl.C: allow to create index inset even if
15999           string is empty
16000
16001 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
16002
16003         * buffer.C (getLists): replace boost::tie code with an explicit pair
16004         as boost::tie can break some compilers.
16005
16006         * iterators.h: Added a std:: declaration to the return type of
16007         ParIterator::size.
16008
16009 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
16010
16011         * lyxrc.C: add help for view_dvi_paper_option, default to safe
16012           case.
16013
16014 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
16015
16016         * iterators.[Ch]: New files. Provide paragraph iterators.
16017
16018         * buffer.C (changeLanguage): Use paragraph iterators.
16019         (isMultiLingual): ditto
16020
16021         * BufferView2.C (ChangeInsets): Use paragraph iterators.
16022
16023 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
16024
16025         * FontLoader.C: Support for cmr font.
16026
16027 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
16028
16029         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
16030         (available): New method.
16031
16032         * FontInfo.C (getFontname): Use scalable fonts even when
16033         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
16034         found.
16035
16036 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
16037
16038         * converter.C (Formats::view): reverted! Incorrect fix.
16039
16040 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
16041
16042         * converter.C (Formats::view): only output the -paper option
16043         if the dvi viewer is xdvi, thereby fixing bug #233429.
16044
16045 2001-08-23  Herbert Voss  <voss@perce>
16046
16047         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
16048
16049 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
16050
16051         * Spacing.h (Spacing): Set space to Default on in the default
16052         constructor.
16053
16054 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16055
16056         * vc-backend.h (RCS::versionString): add RCS to version
16057         (CVS::versionString): add CVS to version
16058
16059         * vc-backend.C (scanMaster): do not add CVS to version.
16060         (scanMaster): do not add RCS to version
16061
16062         * lyxvc.C (versionString): new method
16063
16064         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
16065
16066 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16067
16068         * Spacing.C (set): initialize fval
16069
16070 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
16071
16072         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
16073         " or \.
16074
16075 2001-08-16  Juergen Vigna  <jug@sad.it>
16076
16077         * lyxfunc.C (dispatch): implemented the new FINISHED states.
16078
16079 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
16080
16081         * BufferView_pimpl.C:
16082         * figureForm.C:
16083         * lyxtext.h:
16084         * text2.C: setParagraph takes linespacing now
16085
16086 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
16087
16088         * LyxAction.C: add internal LFUN_CITATION_INSERT
16089
16090         * LyXView.C: actually apply fix
16091
16092         * bufferlist.C: fix open non-existent file
16093
16094         * lyxfind.C: fix indentation
16095
16096         * lyxfunc.C: remove unneeded assert, fix typo
16097
16098 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
16099
16100         * MenuBackend.C: use "Floatname List"
16101
16102 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
16103
16104         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
16105         when converting LaTeX layout to insetERT.
16106         Generate a non-collapsed float when reading old float
16107
16108 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
16109
16110         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
16111         ERT insets.
16112
16113 2001-08-13  Juergen Vigna  <jug@sad.it>
16114
16115         * text.C (fill): return 0 instead of 20 as this seems to be the more
16116         correct value.
16117
16118 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
16119
16120         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
16121         lyxrc.font_norm.
16122
16123 2001-08-13  Juergen Vigna  <jug@sad.it>
16124
16125         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
16126         casesensitive off.
16127         (SearchBackward): comment out the unlocking of the inset_owner this
16128         should not be needed!
16129
16130 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
16131
16132         * Many files: Remove inherit_language, and add latex_language
16133
16134         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
16135         collapsible insets.
16136
16137 2001-08-10  Juergen Vigna  <jug@sad.it>
16138
16139         * text.C (prepareToPrint): fixed hfill-width in draw!
16140
16141         * BufferView2.C (selectLastWord): save the selection cursor as this
16142         now is cleared in the function LyXText::clearSelection!
16143
16144 2001-08-08  Juergen Vigna  <jug@sad.it>
16145
16146         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
16147         BACKSPACE type functions.
16148
16149         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
16150         is only cutted from the document but not put in the cut-buffer, where
16151         still the old stuff should be.
16152
16153         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
16154
16155         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
16156
16157         * tabular.C (SetWidthOfCell): fixed special case where the width
16158         was not updated!
16159         (LeftLine): handle '|' in align_special.
16160         (RightLine): ditto
16161         (LeftAlreadyDrawed): ditto
16162         (SetWidthOfCell): ditto
16163
16164 2001-08-07  Juergen Vigna  <jug@sad.it>
16165
16166         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
16167
16168 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16169
16170         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
16171         * lyxlex.[hC]: ditto
16172
16173 2001-08-06  Juergen Vigna  <jug@sad.it>
16174
16175         * text.C (getVisibleRow): fix up row clearing a bit.
16176
16177 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16178
16179         * minibuffer.C: make sure the X server sees the changes in the input.
16180
16181 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16182
16183         * paragraph.C (getFont): split into...
16184         (getLabelFont): this
16185         (getLayoutFont): and this
16186         * paragraph_pimpl.C (realizeFont): calling this
16187
16188         * text2.C (getFont): split into...
16189         (getLayoutFont): this
16190         (getLabelFont): and this
16191         (realizeFont): all three calling this
16192
16193         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
16194         files where used.
16195
16196 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16197
16198         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
16199
16200 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
16201
16202         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
16203         layouts from the Quote inset insertion.
16204
16205 2001-08-03  Juergen Vigna  <jug@sad.it>
16206
16207         * BufferView_pimpl.C (update): do the fitCursor only at the end!
16208
16209         * screen.C (drawFromTo): don't call fitcursor here and do the loop
16210         only if status not is already CHANGED_IN_DRAW (second level).
16211
16212         * text.C (draw): don't set the need_break_row when inside an
16213         InsetText LyXText.
16214
16215 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16216
16217         * buffer.C (parseSingleLyXformat2Token): handle more latex
16218         conversion cases.
16219
16220         * bufferview_funcs.[hC]: change function names to
16221         begin with small char, adjust other files.
16222
16223 2001-08-02  André Pönitz <poenitz@gmx.net>
16224
16225         * lyxfunc.C:
16226         BufferView_pimpl.C: remove broken special code for math-greek
16227
16228 2001-08-02  Juergen Vigna  <jug@sad.it>
16229
16230         * BufferView_pimpl.C (update): redone this function so that we
16231         update the text again if there was a CHANGE_IN_DRAW.
16232
16233         * screen.C (cursorToggle): removed LyXText parameter and recoded.
16234         (drawFromTo): added a new internal bool which is used by draw() and
16235         redraw() function.
16236         (general): some cursor drawing problems fixed.
16237
16238 2001-08-01  Juergen Vigna  <jug@sad.it>
16239
16240         * lyxfind.C (LyXFind): fixed
16241         (SearchForward): ditto
16242         (SearchBackward): ditto
16243
16244         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
16245         spurius drawing of the cursor in the main area.
16246
16247         * text2.C (status): small fix which could lead to a segfault!
16248         (clearSelection): remove unneeded BufferView param.
16249
16250 2001-08-01  André Pönitz <poenitz@gmx.net>
16251
16252         * lyxfunc.C: small change due to changed mathed interface
16253
16254 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16255
16256         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
16257
16258 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
16259
16260         * lyxfunc.c: fail gracefully if file doesn't exist
16261
16262         * LyXSendto.C:
16263         * buffer.C:
16264         * lyxfunc.C:
16265         * BufferView_pimpl.C: IsDirWriteable() proto changed
16266
16267         * LyXView.C: fix updateWindowTitle() to store the last title
16268
16269 2001-07-31  Juergen Vigna  <jug@sad.it>
16270
16271         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
16272         the font (wrong since using of Paragraph::highestFontInRange).
16273
16274         * paragraph.C (highestFontInRange): added a default_size parameter.
16275
16276         * text.C (getVisibleRow): minor clear row changes (still not perfect).
16277         (setHeightOfRow): reformat
16278
16279 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16280
16281         * converter.[hC] + affected files: move to (inital-char)lowercase
16282         function names.
16283
16284         * ParagraphParameters.C (ParagraphParameters): remove commented code
16285
16286         * PainterBase.[Ch]: remove commented code
16287
16288         * LaTeXFeatures.h: add "bool floats" for float.sty
16289
16290         * LaTeXFeatures.C (LaTeXFeatures): init floats
16291         (require): handle float
16292         (getPackages): do it with floats
16293
16294 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16295
16296         * BufferView_pimpl.C (Dispatch): improve handling of
16297         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
16298
16299         * commandtags.h: #include lyxfont.h here temporarily to avoid
16300         keybinding bug.
16301
16302         * bufferlist.h: include LString.h here.
16303
16304 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16305
16306         * text2.C (getStringToIndex): new method.
16307
16308 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
16309
16310         * *: Reduced header file dependencies all over.
16311
16312 2001-07-30  Baruch Even  <baruch@lyx.org>
16313
16314         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
16315
16316 2001-07-29  Baruch Even  <baruch@lyx.org>
16317
16318         * buffer.C (readInset): Changed GRAPHICS to Graphics.
16319
16320 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16321
16322         * ParameterStruct.h (endif): add a default constructor to make
16323         sure that all variables is initialized.
16324
16325         * ParagraphParameters.C (ParagraphParameters): adjust
16326
16327 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16328
16329         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
16330         index; also, check that there is something to index, and that it
16331         does not span over several paragraphs.
16332         (doubleClick): use WHOLE_WORD_STRICT for double click.
16333
16334         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
16335
16336         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
16337         scheme.
16338
16339 2001-07-26  Baruch Even  <baruch@lyx.org>
16340
16341         * buffer.C (readInset): Changed to call up InsetGraphics when reading
16342         an InsetFig figure, backwards compatible reading of old figure code.
16343
16344 2001-07-27  Juergen Vigna  <jug@sad.it>
16345
16346         * text2.C: font.realize function adaption.
16347
16348         * text.C (draw): add a warnings lyxerr text if needed.
16349
16350         * layout.C: font.realize function adaption.
16351
16352         * language.C: add inherit_language and implement it's handlings
16353
16354         * bufferview_funcs.C (StyleReset): remove language parameter from
16355         font creation (should be language_inherit now).
16356
16357         * bufferparams.C (writeFile): handle ignore_language.
16358
16359         * paragraph.C (getFontSettings): the language has to be resolved
16360         otherwise we have problems in LyXFont!
16361
16362         * lyxfont.C (lyxWriteChanges): added document_language parameter
16363         (update): removed unneeded language parameter
16364
16365         * paragraph.C (validate): fixed wrong output of color-package when
16366         using interface colors for certain fonts in certain environments,
16367         which should not seen as that on the final output.
16368
16369 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
16370
16371         * BufferView_pimpl.C:
16372         * Thesaurus.h:
16373         * Thesaurus.C:
16374         * Makefile.am:
16375         * commandtags.h:
16376         * LyXAction.C: add thesaurus support
16377
16378         * lyxfind.h:
16379         * lyxfind.C: add "once" parameter, for thesaurus, to not
16380           move to the next match
16381
16382 2001-07-26  Juergen Vigna  <jug@sad.it>
16383
16384         * lyxfont.C (realize): honor ignore_language too!
16385         (resolved): ditto.
16386
16387         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
16388
16389         * text.C (draw): one place more for ignore_language to not draw
16390         itself!
16391
16392 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
16393
16394         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
16395
16396 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16397
16398         * buffer.C (parseSingleLyXformat2Token): a more general fix for
16399         the minipage conversion problem.
16400
16401 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16402
16403         * buffer.C (parseSingleLyXformat2Token): check minipage if we
16404         insert an inset.
16405
16406 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16407
16408         * BufferView.h: don't forward declare WorkArea
16409
16410         * BufferView.C: don't include WorkArea.h
16411
16412 2001-07-25  André Pönitz <poenitz@gmx.net>
16413
16414         * commandtags.h:
16415         * LyXAction.C:
16416         * lyxfunc.C:  new LFUN 'math-space'
16417
16418         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
16419
16420 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16421
16422         * text2.C (toggleInset): call open/close
16423
16424 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16425
16426         * lyxfunc.C (dispatch): add debug for the disabled case
16427
16428         * font.C (buttonText): make similar to rectText
16429
16430         * buffer.C (readInset): comment out parsing of insetlist and
16431         insttheorem
16432
16433         * PainterBase.C (rectText): small correction
16434
16435         * BufferView_pimpl.C: comment out insettheorem and insetlist
16436         * LyXAction.C: ditto
16437         * commandtags.h: ditto
16438
16439 2001-07-24  Juergen Vigna  <jug@sad.it>
16440
16441         * text.C (draw): honor the ignore_language.
16442
16443         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16444
16445 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16446
16447         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16448         char inset.
16449
16450 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16451
16452         * lyxtext.h: remove unused (and unimplemented) methods
16453
16454 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16455
16456         * text.C (getVisibleRow): honor background color
16457
16458         * PainterBase.h:
16459         * Painter.h: remove default color argument for fillRectangle
16460
16461         * text.C (backgroundColor): new method
16462
16463 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16464
16465         * text.C (getVisibleRow): adjust
16466
16467         * font.[Ch] (rectText): new method, metrics
16468         (buttonText): new method, metrics
16469
16470         * PainterBase.[hC]: make rectText and buttonText always draw and take
16471         fewer paramteres.
16472
16473 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16474
16475         * ToolbarDefaults.C (read):
16476         * MenuBackend.C (read): allow escaping in all strings
16477
16478         * BufferView_pimpl.C (insertAndEditInset): new method.
16479         (Dispatch): use insertAndEditInset whenever appropriate.
16480
16481         * BufferView_pimpl.C (insertNote): removed
16482
16483         * BufferView_pimpl.C (smartQuote): new method, moved from
16484         BufferView; if an insetquote cannot be inserted, insert a '"'
16485         character instead.
16486
16487         * BufferView2.C: remove insertCorrectQuote();
16488
16489         * lyxfunc.C (getStatus): Add support for all remaingin
16490         inset-insert lfuns.
16491
16492         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16493
16494         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16495         command (necessary to pass " as parameter of self-insert.
16496
16497         * text.C (selectWordWhenUnderCursor):
16498         (selectWord): add word_location parameter
16499         (selectWordWhenUnderCursor): same + remove special code for word
16500         boundary.
16501         (selectNextWord): use kind() to guess type of insetspecialchar,
16502         not latex().
16503
16504         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16505         (insertErtContents): create ert insets as collapsed.
16506         (readInset): better compatibility code for Info inset.
16507
16508 2001-07-20  Juergen Vigna  <jug@sad.it>
16509
16510         * lyxfunc.C (dispatch): use always LyXFind now!
16511
16512         * text2.C (init): add a reinit flag so that the LyXText can be
16513         reinited instead of deleted and reallocated (used in InsetText).
16514
16515         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16516
16517         * text.C: ditto
16518
16519         * text2.C: ditto
16520
16521 2001-07-18  Juergen Vigna  <jug@sad.it>
16522
16523         * text.C (selectNextWord): handle insets inside inset by calling
16524         always the bv->text functions so that we can go up the_locking_inset!
16525
16526         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16527         in strange locations when inside an inset!
16528
16529         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16530         handling to include insets.
16531
16532         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16533
16534 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16535
16536         * LyXAction.C (init):
16537         * commandtags.h:
16538         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16539         LIGATURE_BREAK, since the name is so stupid.
16540
16541 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16542
16543         * buffer.C (readInset): enable reading of new InsetNotes as well as old
16544         InsetInfos.
16545
16546         * FontLoader.C: remove FORMS_H_LOCATION cruft.
16547
16548         * sp_form.[Ch]: remove.
16549
16550         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16551
16552         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16553         InsetInfo.
16554
16555         * src/buffer.C (readInset): ditto.
16556
16557 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16558
16559         * BufferView_pimpl.C (specialChar): new method. Obsoletes
16560         menuSeparator(), endOfSentenceDot(), ldots() and
16561         hyphenationPoint(), which are therefore removed.
16562         (Dispatch): handle LFUN_HYPHENATION_BREAK.
16563
16564         * LyXAction.C (init):
16565         * commandtags.h: add LFUN_HYPHENATION_BREAK.
16566
16567         * paragraph.C (getWord): removed.
16568
16569         * BufferView_pimpl.C (Dispatch): use last word or selection for
16570         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16571
16572         * lyx_main.C (queryUserLyXDir): do not ask before creating
16573         user_dir, except if it has been named explicitely.
16574
16575 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16576
16577         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16578         a document of zero size.
16579
16580 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
16581
16582         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16583         approriately in the c-tor and in require().
16584         (getPackages): output the appropriate LaTeX for natbib support.
16585
16586         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16587         variables "use_natbib" and "use_numerical_citations" when reading the
16588         LyX file.
16589         (readInset): read the various natbib cite commands.
16590         (validate): white-space change.
16591
16592         * bufferparams.[Ch]: new variables "bool use_natbib" and
16593         "bool use_numerical_citations".
16594         (writeFile): output them in the LyX file.
16595
16596 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16597
16598         * lyxfunc.C (getStatus): add support for all the inset insertion
16599         commands.
16600
16601         * text2.C (insertInset):
16602         * paragraph.C (insetAllowed):
16603         * BufferView_pimpl.C (insertInset): update to take in account the
16604         renaming of insertInsetAllowed
16605
16606         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16607
16608         * text2.C (getInset): new method. returns inset at cursor position.
16609
16610         * BufferView_pimpl.C (Dispatch): changes because of this.
16611
16612         * LyXAction.C (init): rename open-stuff to inset-toggle.
16613
16614         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16615
16616         * text2.C (toggleInset): renamed from openStuff; use
16617         Inset::open().
16618
16619 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
16620
16621         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16622
16623         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16624
16625 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
16626
16627         * buffer.C (readLyXformat2): Add filename to the error dialog
16628
16629 2001-07-18  Juergen Vigna  <jug@sad.it>
16630
16631         * tabular.C (GetCellNumber): put an assert here instead of the check!
16632
16633 2001-07-17  Juergen Vigna  <jug@sad.it>
16634
16635         * BufferView_pimpl.C (toggleSelection): adapted too.
16636
16637         * text.C (selectNextWord): adapted for use with insets.
16638         (selectSelectedWord): ditto
16639
16640 2001-07-17  Juergen Vigna  <jug@sad.it>
16641
16642         * sp_spell.C (PSpell): fix initialitation order.
16643
16644 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16645
16646         * paragraph.C: spacing
16647
16648 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
16649
16650         * sp_spell.C: repair language selection for pspell
16651
16652 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16653
16654         * lyxfunc.h: change more methods to begin with lower char.
16655
16656 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
16657
16658         * buffer.C (parseSingleLyXformat2Token): Generate error insets
16659         for unknown layouts.
16660
16661 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
16662
16663         * buffer.C (readLyXformat2): Generate an error dialog if there are
16664         unknown layouts.
16665
16666 2001-07-16  Juergen Vigna  <jug@sad.it>
16667
16668         * sp_spell.C: always compile ISpell part.
16669
16670         * lyxrc.C: added use_pspell entry and it's handling.
16671
16672 2001-07-13  Juergen Vigna  <jug@sad.it>
16673
16674         * sp_spell.C: removed double includes.
16675
16676 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
16677
16678         Consistent use of Lsstream.h:
16679         * Lsstream.h: added using std::stringstream for consistencies sake.
16680
16681         * buffer.C: removed using std::stringstream
16682
16683         * lyxfont.C (stateText):
16684         * paragraph.C (asString):
16685         * text.C (selectNextWord, selectSelectedWord):
16686         * text2.C (setCounter):
16687         * vspace.C (asString, asLatexString):
16688         std::ostringstream -> ostringstream.
16689
16690 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16691
16692         * LyXAction.C: add LFUN_HELP_ABOUTLYX
16693         * commandtags.h: add LFUN_HELP_ABOUTLYX
16694         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16695
16696 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16697
16698         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16699         cursorToggle()
16700         * lyx_gui_misc.C: remove spellchecker
16701         * lyxfunc.C: showSpellchecker
16702         * sp_base.h: added
16703         * sp_ispell.h: added
16704         * sp_pspell.h: added
16705         * sp_spell.C: added
16706         * sp_form.[Ch]: removed
16707         * spellchecker.[Ch]: removed
16708
16709 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
16710
16711         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16712         is set.
16713         (simpleTeXSpecialChars): Simply print the input character without
16714         any special translation if pass_thru is set.
16715
16716         * layout.h: Added bool pass_thru to layout class for being able to
16717         implement pass through of a paragraph for Literate Programming.
16718
16719         * layout.C: add LT_PASS_THRU to LayoutTags enum.
16720         * layout.C (LyXLayout): set pass_thru to flase in constructor.
16721         * layout.C (Read): add "passthru" to list of layout tags and add
16722         code to set the pass_thru boolean when it is read.
16723
16724 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16725
16726         * trans_decl.h: remove allowed from KmodInfo
16727
16728         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16729         remove allowed code
16730         (Load): adjust
16731
16732         * paragraph_pimpl.C (erase): use boost::prior
16733
16734         * Painter.C (text): use data() instead of c_str() when length is
16735         also provided.
16736         * WorkArea.C (putClipboard): ditto
16737         * font.h (width): ditto
16738
16739         * BufferView2.C: use it-> instead of (*it). for iterators
16740         * texrow.C: ditto
16741         * paragraph_pimpl.C: ditto
16742         * paragraph.C: ditto
16743         * minibuffer.C: ditto
16744         * language.C: ditto
16745         * kbmap.C: ditto
16746         * encoding.C: ditto
16747         * counters.C: ditto
16748         * converter.C: ditto
16749         * chset.C: ditto
16750         * Variables.C: ditto
16751         * TextCache.C: ditto
16752         * MenuBackend.C: ditto
16753         * LyXAction.C: ditto
16754         * LColor.C: ditto
16755         * FloatList.C: ditto
16756         * DepTable.C: ditto
16757         * ColorHandler.C (LyXColorHandler): ditto
16758
16759 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16760
16761         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16762
16763         * text2.C (openStuff): reintroduce this method (which had been
16764         nuked in NEW_INSETS frenzy).
16765
16766         * lyxfunc.C (Dispatch): when an action has not been handled, use
16767         its name in the error message, not its number.
16768
16769         * paragraph.C (inInset): change method name to begin with lowercase.
16770
16771         * undo_funcs.C:
16772         * text2.C: updates because of this.
16773
16774 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16775
16776         * ToolbarDefaults.C (add): add spaces in error message
16777
16778 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16779
16780         * buffer.C (readLyXformat2): initialize the ert comp. variables.
16781         (readLyXformat2): rename return_par to first_par, use lyxlex's
16782         pushToken and remove the manual push handling.
16783         (parseSingleLyXformat2Token): add another ert comp. variable:
16784         in_tabular, rename return_par to first_par. handle newlines better
16785
16786 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16787
16788         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16789
16790 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16791
16792         * text2.C (getParFromID): removed
16793
16794         * buffer.C (getParFromID): new method moved form lyxtext.
16795         * BufferView2.C (insertErrors): adjust
16796         (setCursorFromRow): adjust
16797         * BufferView_pimpl.C (restorePosition): adjust
16798         * lyxfunc.C (Dispatch): adjust
16799         * undo_funcs.C (textUndo): adjust
16800         (textRedo): adjust
16801         (textHandleUndo): adjust
16802         (textHandleUndo): adjust
16803
16804 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16805
16806         * buffer.C: up' the LYX_FORMAT
16807
16808         * lyxfont.h: turn NO_LATEX on as default
16809
16810         * buffer.C (insertErtContents): new methods of tex style compability.
16811         (parseSingleLyXformat2Token): use it several places.
16812         * tabular.C (OldFormatRead): and here
16813
16814 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16815
16816         * text2.C: remove some commented code.
16817         reindent file.
16818
16819         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16820         * trans.C: changes because of the above.
16821
16822 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
16823
16824         * text2.C (setCounter): Fix counters bug with bibliography layout.
16825
16826 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16827
16828         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16829         own member functions
16830         (simpleTeXSpecialChars): ditto
16831
16832 2001-07-06  Juergen Vigna  <jug@sad.it>
16833
16834         * a lot of files: changed the access to LyXText::status and the
16835         call of undo-functions.
16836
16837         * undo.[Ch]: added a inset_id to the undo informations.
16838
16839         * undo_funcs.[Ch]: added and moved here all undo functions.
16840
16841         * lyxtext.h: give the status enum a weight, made status_ a private
16842         variable and made accessor functions for it, removed the whole bunch
16843         of undo-functions as they are now in their own file, make some
16844         functions publically available. Added function ownerParagraph with
16845         int parameter.
16846
16847         * paragraph.[Ch]: added "bool same_ids" to the constructor,
16848         made InInset() a const function, added getParFromID() function.
16849
16850         * buffer.[Ch]: added const version for inset_iterator functions,
16851         added getInsetFromID() function.
16852
16853         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16854         changed undo functions for new version.
16855
16856 2001-07-05  Juergen Vigna  <jug@sad.it>
16857
16858         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16859         unknow mechanism does not call the proper constructor but only this
16860         one also if I request the other!?
16861
16862 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16863
16864         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16865
16866         * text2.C (LyXText): use initialization lists.
16867
16868         * lyxtext.h (Selection): initialize set_ and mark_
16869         (init): remove method
16870
16871 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
16872
16873         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16874
16875 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16876
16877         * screen.[Ch]: change method names to begin with lowercase
16878
16879         * BufferView_pimpl.C (updateScrollbar): simplify further and
16880         hopefully make it a bit faster.
16881
16882 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16883
16884         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16885         calling directly xforms functions.
16886
16887         * Painter.C (Painter):
16888         * lyx_cb.C (MenuWrite):
16889         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16890         fl_display.
16891
16892         * lyx_gui.C: remove bogus guiruntime extern declaration.
16893
16894 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16895
16896         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16897         in NEW_INSETS
16898         (redoDrawingOfParagraph): ditto
16899         (redoParagraphs): ditto
16900         (cutSelection): don't create a object for CutAndPaste use the
16901         static method directly
16902         (pasteSelection): ditto
16903
16904         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16905         LyXview (+ rename)
16906
16907 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16908
16909         * modifications to some other files because of this.
16910
16911         * Makefile.am (lyx_SOURCES): add XFormsView
16912
16913         * XFormsView.[Ch]: new files
16914
16915         * LyXView.[Ch]: make LyXView a base class for the gui handling for
16916         the main window. Move the gui dependent stuff to XFormsView
16917
16918 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16919
16920         * tabular.C (GetCellInset): update cur_cell also in the row/col
16921         version of this function.
16922
16923         * lyxfunc.C: no need to include figure_form.h here.
16924
16925         * FontLoader.h:
16926         * lyxfunc.h:
16927         * lyxscreen.h:
16928         * text2.C:
16929         * lyxvc.C: no need to include forms.h here.
16930
16931 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16932
16933         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16934
16935         * lyxfunc.C (Dispatch):
16936         * Spacing.C (set):
16937         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16938         constructor argument.
16939
16940 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16941
16942         * paragraph.C (Paragraph): dont't clear, and just set layout.
16943         (makeSameLayout): use params's copy contructor.
16944
16945         * ParagraphParameters.[Ch] (makeSame): delete method
16946
16947 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
16948
16949         * Variables.[Ch]: fix indentation, rename set to isSet
16950
16951 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16952
16953         * lyxfunc.C (Dispatch): fix typo
16954
16955 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16956
16957         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16958         upper_bound.
16959
16960         * bufferlist.C: include assert.h for emergencyWrite().
16961
16962 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16963
16964         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16965           give up at last (bug #425202) !
16966
16967 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
16968
16969         * lyx_gui_misc.C:
16970         * sp_form.h:
16971         * sp_form.C:
16972         * spellchecker.h:
16973         * spellchecker.C: strip spellchecker options and bring up
16974           preferences tab instead
16975
16976 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16977
16978         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16979         the istringstream constructor
16980
16981 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16982
16983         * paragraph.C (getLayout): fix return value
16984
16985         * paragraph.h: do not declare getLayout as inline.
16986
16987         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16988
16989 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16990
16991         * lyxcursor.h (operator<): new func
16992         (operator>): new func
16993         (operator>=): new func
16994         (operator<=): new func
16995
16996         * text.C (changeCase): use selection.start and selection.end
16997         (changeRegionCase): require from to be <= to. Require par to be a
16998         valid paragraph.
16999
17000         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
17001
17002 2001-06-27  Juergen Vigna  <jug@sad.it>
17003
17004         * text.C (cursorLeftOneWord): changed to return the cursor and added
17005         overlay with BufferView * parameter which calls this one.
17006         (getWord): added
17007         (selectWord): use new getWord function.
17008         (changeCase): renamed from changeWordCase as and extended to work
17009         also on selections.
17010
17011         * lyxtext.h: added enum word_location
17012
17013         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
17014         changeCase as this operates now also on selections.
17015
17016 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
17017
17018         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
17019
17020         * many files: send debug output to Debug::INFO instead of
17021         Debug::ANY.
17022
17023         * converter.C (View):
17024         (Convert):
17025         (Move): send debug output to Debug::FILES instead of console.
17026
17027 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
17028
17029         * lyxfunc.C (getStatus): use func_status
17030
17031         * func_status.h: new header, describing the results of
17032         LyXFunc::getStatus;
17033
17034         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
17035         LFUN_MATH_HALIGN.
17036
17037 2001-06-25  The LyX Project  <jug@sad.it>
17038
17039         * buffer.C (sgmlOpenTag):
17040         (sgmlCloseTag):
17041         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
17042
17043 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17044
17045         * text2.C: remove some dead code
17046
17047         * tabular.C (GetCellInset): store the last cell checked (gotten)
17048
17049         * tabular.h: add the helper for the speedup
17050
17051         * lyxtext.h: remove some dead code
17052
17053 2001-06-26  The LyX Project  <Asger>
17054
17055         * paragraph.C: Change export to LaTeX of alignment to
17056         \begin{center} and family for better roundtrip work with reLyX.
17057
17058         * Tune the math drawing a bit.
17059
17060 2001-06-25  The LyX Project  <Asger>
17061
17062         * LColor.C (LColor): New color for math background. New color
17063         for buttons.
17064
17065 2001-06-25  The LyX Project  <jug@sad.it>
17066
17067         * lyxfunc.C (MenuNew): remove extra check for .lyx file
17068
17069         * lyxfunc.C (Open):
17070         * bufferlist.C (newFile): do not restrict to files ending with
17071         .lyx
17072
17073         * BufferView_pimpl.C (MenuInsertLyXFile):
17074
17075 2001-06-24  The LyX Project  <jug@sad.it>
17076
17077         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
17078         of compare_no_case
17079
17080 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17081
17082         * lyxtext.h: rename most methods to begin with a small char.
17083         Lots of changes because of this.
17084
17085         * paragraph.C (Paragraph): do not call fitToSize
17086         (erase): call Pimpl::erase
17087         (insertChar): call Pimpl::insertChar
17088         (insertInset): call Pipl::insertInset
17089         (breakParagraph): do not call fitToSize
17090         (breakParagraphConservative): do not call fitToSize
17091         (fitToSize): remove method
17092
17093         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
17094
17095 2001-06-24  The LyX Project  <Asger>
17096
17097         * Fix Qt compilation^2
17098
17099 2001-06-24  The LyX Project  <jug@sad.it>
17100
17101         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
17102         depthHook(getDepth()-1).
17103
17104         * paragraph.h:
17105         * ParagraphParameters.h:
17106         * ParameterStruct.h: change type of depth to unsigned int ==
17107         depth_type. Many adaptations to other files before of that.
17108
17109 2001-06-24  The LyX Project  <Asger>
17110
17111         * Fix Qt compilation.
17112
17113 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17114
17115         * paragraph.h: renamed several methods to begin with small letter.
17116         several changes to many parts of the code because of this.
17117
17118 2001-06-23  The LyX Project  <jug@sad.it>
17119
17120         * text2.C (InsertStringAsLines): renamed from InsertStringA;
17121         rewritten to discard all double spaces when KeepEmpty is off
17122         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
17123         to only handle newlines but not fiddle with spaces and friends.
17124
17125         * lyxfunc.C (MenuNew): when doing 'new from template', use
17126         template_path as default directory
17127
17128 2001-06-23  The LyX Project  <Asger>
17129
17130         * Clean-up of header file includes all over
17131         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
17132
17133 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17134
17135         * paragraph.h: renamed from lyxparagraph.h
17136
17137 2001-06-23  Asger  <lyx@violet.home.sad.it>
17138
17139         * Buffer.h: Removed Buffer::resize
17140         * BufferList.h: Removed BufferList::resize
17141         * LyXView.h: Added LyXView::resize. This way, we will only reflow
17142         the document lazily when we change the width, or the font settings.
17143
17144 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
17145
17146         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
17147
17148 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
17149
17150         * buffer.h: remove out of date comment
17151
17152 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
17153
17154         * lyxscreen.h:
17155         * screen.C: fix "theoretical" GC leak
17156
17157 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17158
17159         * LaTeX.C (scanAuxFile):
17160         (deplog): remove trailing \r when reading stream (useful under
17161         win32)
17162
17163 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
17164
17165         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
17166         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
17167         and BufferView::theLockingInset(Inset*), so should use them and not
17168         access bv_->text->the_locking_inset directly.
17169
17170         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
17171
17172 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
17173
17174         * Makefile.am:
17175         * tex-defs.h: remove old unused file
17176
17177 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
17178
17179         * BufferView_pimpl.C: fix typo, remove minibuffer message
17180           when buffer has loaded
17181
17182 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17183
17184         * lyxfunc.C (Dispatch): use stringstream
17185         (MenuNew): use stringstream
17186         (Open): use stringstream
17187
17188         * importer.C (Import): use stringstream
17189
17190         * bufferview_funcs.C (CurrentState): use stringstream
17191
17192         * LaTeX.C (run): use stringstream
17193
17194         * BufferView_pimpl.C (savePosition): use stringstream
17195         (restorePosition): use stringstream
17196         (MenuInsertLyXFile): use stringstream
17197
17198 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
17199
17200         * BufferView.C:
17201         * Bullet.C:
17202         * ColorHandler.C:
17203         * FontInfo.C:
17204         * FontLoader.C:
17205         * LColor.C:
17206         * LaTeXFeatures.C:
17207         * Painter.C:
17208         * gettext.C:
17209         * lyx_gui_misc.C:
17210         * lyxserver.C:
17211         * vspace.C: removed // -*- C++ -*- as first line.
17212
17213         * lyxfind.h:
17214         * version.h: added // -*- C++ -*- as first line.
17215
17216 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17217
17218         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
17219
17220         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
17221         of string
17222
17223 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17224
17225         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
17226         of floats.
17227
17228 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17229
17230         * gettext.C: include LString.h even when --disable-nls is on.
17231
17232 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
17233
17234         * converter.h (Get): changed argument type from int to
17235         FormatList::size_type to avoid unnecessary conversion.
17236
17237         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
17238         before using it.
17239
17240 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17241
17242         * gettext.h: include LString.h even when --disable-nls is on.
17243
17244 2001-06-07  Juergen Vigna  <jug@sad.it>
17245
17246         * text.C (BreakAgain): subst spaces with tabs.
17247
17248         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
17249         (resizeInsetsLyXText): set force on resizeLyXText.
17250
17251 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17252
17253         * gettext.h (gettext_init):
17254         (locale_init): use a real definition instead of a macro
17255
17256 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
17257
17258         * Bufferview_pimpl.C:
17259         * LColor.h:
17260         * LColor.C: further lcolor tidies
17261
17262 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17263
17264         * BufferView_pimpl.C (updateScrollbar): simplify.
17265
17266         * BufferView2.C: don't include insets/insetinfo.h, change
17267         prototype for insertInset and call the Pimpl version. let
17268         updateInset call Pimpl version.
17269
17270         * BufferView.h: move inset_slept to BufferView::Pimpl, move
17271         gotoInset to BufferView::Pimpl
17272
17273 2001-06-01  Juergen Vigna  <jug@sad.it>
17274
17275         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
17276         inside a LockingInset (is the update needed at all?).
17277
17278 2001-05-31  Juergen Vigna  <jug@sad.it>
17279
17280         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
17281         here not the old one otherwise how should we compare it afterwards
17282         if it's the same!
17283
17284 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17285
17286         * lyxfont.C:
17287         * tabular.C:
17288         * tabular-old.C:
17289         * FontInfo.C: bring C functions into global namespace when
17290         necessary
17291
17292 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17293
17294         * LString.h: make sure config.h has been loaded before LString.h.
17295
17296         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
17297         (one for each char read by EatLine!).
17298
17299         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
17300         variables.
17301
17302 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17303
17304         * paragraph.C (BreakParagraph): set the inset_owner in the new par
17305         to the same as the par we break from
17306
17307 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17308
17309         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
17310
17311         * MenuBackend.C (expand): also create menu entries for wide
17312         versions of the floats.
17313
17314         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
17315
17316         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
17317
17318         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
17319         frontends/Makefile.am
17320
17321         * text2.C: adjust
17322         * text.C: adjust
17323
17324
17325         * tabular.C (getTokenValue): add std::
17326
17327         * tabular-old.C (getTokenValue): add std::
17328         (getTokenValue): ditto
17329         (getTokenValue): ditto
17330
17331         * screen.C (ToggleSelection): adjust
17332
17333         * lyxtext.h: put selection cursors inside a Selection struct.
17334
17335         * lyxfunc.C (moveCursorUpdate): adjust
17336
17337         * lyxfont.C (latexWriteStartChanges): add std::
17338
17339         * lyxfind.C: adjust
17340
17341         * font.h: delete with(char const *, LyXFont const &)
17342
17343         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
17344
17345         * FontInfo.C (getFontname): add std::
17346
17347         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
17348         (workAreaButtonPress): adjust
17349         (tripleClick): adjust
17350         (update): adjust
17351         (moveCursorUpdate): adjust
17352         (Dispatch): adjust
17353
17354         * BufferView2.C (gotoInset): adjust
17355
17356 2001-05-30  Juergen Vigna  <jug@sad.it>
17357
17358         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
17359         to check pspell I add this as default as I now have new pspell
17360         libraries and they seem to use this.
17361
17362 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17363
17364         * text2.C (CutSelection): make the cursor valid before the call to
17365         ClearSelection.
17366
17367 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17368
17369         * kbsequence.C (parse): de-uglify a bit the parsing code, which
17370         relied on 0 terminated strings and other horrors. Bug found due to
17371         the new assert in lyxstring!
17372
17373         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
17374         KP_ keys.
17375
17376 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17377
17378         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
17379         to latinkeys.bind.
17380
17381         * lyxfunc.C (processKeySym): change method of getting to the
17382         self-insert char.
17383
17384         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
17385         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
17386         * BufferView_pimpl.[Ch]: here as private methods.
17387
17388 2001-05-28  Juergen Vigna  <jug@sad.it>
17389
17390         * text.C (SetHeightOfRow): added the update() call again as it is
17391         needed to initialize inset dimensions!
17392
17393 2001-05-16  Juergen Vigna  <jug@sad.it>
17394
17395         * text2.C (SetCharFont): Add new function with BufferView * and
17396         bool toggleall parameters for setting insets internal fonts.
17397         (SetFont): Freeze the undo as we may change fonts in Insets and
17398         all this change should be inside only one Undo!
17399
17400         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
17401         setting font's in insets as for them we have the SetFont function!
17402
17403 2001-05-15  Juergen Vigna  <jug@sad.it>
17404
17405         * text2.C (ClearSelection): to be sure we REALLY don't have any
17406         selection anymore!
17407
17408         * tabular.C (TeXCellPreamble): fixed the left border problem for
17409         multicolumn cells.
17410
17411 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
17412
17413         * LaTeX.C (deplog): Make sure that the main .tex file is in the
17414         dependancy file
17415
17416 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17417
17418         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
17419         LFUN_BREAKPARAGRAPH.
17420
17421         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
17422         help test to "internal only", similar for LFUN_INSERT_URL
17423
17424         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
17425         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
17426         auto_region_delete and deadkeys.
17427
17428 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
17429
17430         * LColor.h:
17431         * LColor.C: remove some dead entries, tidy a little
17432
17433 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17434
17435         * lyxfunc.C (processKeySym): comment the Escape handling, remove
17436         commented code.
17437         (Dispatch): implement LFUN_ESCAPE
17438
17439         * commandtags.h: add LFUN_ESCAPE
17440
17441         * LyXAction.C (init): add entry for LFUN_ESCAPE
17442
17443         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17444         Remove commented code.
17445         (insertNote): moved here
17446         (open_new_inset): moved here
17447
17448         * BufferView[2].[Ch]: move insertNote and open_new_inset to
17449         BufferView_pimpl
17450
17451 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17452
17453         * kbmap.C (findbinding): clean it up and make it work correctly.
17454
17455         * lyx_main.C (init): do not pass argc and argv as parameters
17456
17457 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
17458
17459         * buffer.C: fix path for OS/2 & Win32
17460
17461         * lyx_gui.C:
17462         * lyx_main:
17463         * lyx_main.C: Added os:: class.
17464
17465         * os2_defines.h: update
17466
17467 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17468
17469         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17470         better by trying again with reduced state.
17471
17472 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17473
17474         * lyxrc.C (read): print error about invalid key sequence only when
17475         debugging (because not all latinX keysyms are known to some X
17476         servers)
17477
17478         * kbsequence.C (getiso): add a few std:: qualifiers
17479         (getiso): comment out extra return statement.
17480
17481 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17482
17483         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17484         handling.
17485         (Dispatch): enhance the accent inset a bit. (not perfect)
17486
17487 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17488
17489         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17490
17491 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17492
17493         * bufferlist.C (emergencyWrite): fix assert() call
17494
17495 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
17496
17497         * text.C (InsertChar): Added trivial patch to only send the "you
17498         can not do multiple spaces this way" message once during a
17499         session.
17500
17501 2001-05-08  Baruch Even  <baruch@lyx.org>
17502
17503         * Makefile.am: Changed order of libraries to get LyX to link properly
17504         with the gnome frontend.
17505
17506 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17507
17508         * LaTeXFeatures.h: add a std:: qualifier
17509
17510 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17511
17512         * paragraph.C (String): use stringstream
17513
17514 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17515
17516         * paragraph.C (writeFile): remove footflag arg
17517
17518         * buffer.C (makeLaTeXFile): use stringstream
17519         (latexParagraphs): remove footnot gurba
17520
17521         * LaTeXFeatures.C (getPackages): use stringstream
17522         (getMacros): likewise
17523         (getTClassPreamble): likewise
17524         (getFloatDefinitions): new method
17525
17526         * paragraph.C (writeFile): reindent
17527         (Erase): reindent
17528
17529         * WorkArea.h: revert the xpos + etc changes.
17530
17531         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17532
17533         * lyxparagraph.[Ch]: add copy constructor, remove Clone
17534
17535         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17536         (pasteSelection): likewise
17537         * text2.C (CreateUndo): likewise
17538
17539 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17540
17541         * minibuffer.C (peek_event): temporarily reduce the functionality
17542         of the minibuffer (to allow args on lfuns)
17543
17544         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17545         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17546
17547         * buffer.C (readInset): add compability reading of old float
17548         lists, add reading of new style float list.
17549         (readInset): avoid reevaluation of inscmd.getCmdName()
17550         (getLists): reindent
17551
17552         * MenuBackend.C (MenuItem): implement parsing of
17553         md_floatlistinsert and md_floatinsert.
17554         (expand::LastFiles): move initalizaton of iterators out of loop,
17555         avoid reevaluation.
17556         (expand::Documents): introduce typdedef vector<string> Strings,
17557         and use it.
17558         (expand::ExportFormats): introduce typedef vector<Format const *>
17559         Formats, and use it.
17560         (expand): implement FloatListInsert and FloatInsert.
17561
17562         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17563         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17564         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17565
17566         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17567         handling.
17568         (Dispatch::LFUN_FLOAT_LIST): implement
17569
17570 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
17571
17572         * LaTeX.C (run): Fix problem with --export code.
17573
17574 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17575
17576         * BufferView.[Ch] (workarea): removed.
17577         (getClipboard) new method; wrapper for workarea()->getClipboard()
17578
17579         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17580         bug.
17581
17582         * WorkArea.h (width, height, xpos, ypos): These methods all
17583         returned the dimensions of the work_area sub-area of WorkArea,
17584         resulting in a position error if the WorkArea were resized. Now
17585         return the dimensions of the entire WorkArea.
17586
17587         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17588
17589 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17590
17591         * LaTeX.C (deplog): correct the syntax of regex reg1
17592
17593 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17594
17595         * undo.C: remove !NEW_INSETS cruft
17596
17597 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17598
17599         * text2.C: remove !NEW_INSETS cruft
17600
17601         * text.C: remove !NEW_INSETS cruft
17602
17603         * tabular.C: remove !NEW_INSETS cruft
17604
17605         * spellchecker.C: remove !NEW_INSETS cruft
17606
17607         * lyxtext.h: remove !NEW_INSETS cruft
17608
17609         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17610
17611         * lyxfunc.C: remove !NEW_INSETS cruft
17612
17613         * lyxfind.C: remove !NEW_INSETS cruft
17614
17615         * lyx_cb.C: remove !NEW_INSETS cruft
17616
17617         * figureForm.C: remove  !NEW_INSETS cruft
17618
17619         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17620
17621         * buffer.[Ch]: remove !NEW_INSETS cruft
17622
17623         * ToolbarDefaults.C: remove !NEW_INSETS cruft
17624
17625         * CutAndPaste.C: remove !NEW_INSETS cruft
17626
17627         * BufferView_pimpl.C: remove !NEW_INSETS cruft
17628
17629         * BufferView2.C: remove !NEW_INSETS cruft
17630
17631         * BufferView.h: remove !NEW_INSETS cruft
17632
17633 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17634
17635         * Lsstream.h: include LString.h before the sstream headers to
17636         fix problem with gcc 2.95.3 and lyxstring
17637
17638 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17639
17640         * lyx_main.C: add using directives when needed for C functions
17641         declared in std:: namespace.
17642
17643 2001-04-27  Juergen Vigna  <jug@sad.it>
17644
17645         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17646         (SetHeightOfRow): comment out the update call should not be needed!
17647
17648 2001-04-13  Juergen Vigna  <jug@sad.it>
17649
17650         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17651         (LyXTabular): tried to minimize operator= operations (and realized
17652         hopfully Lars wish).
17653
17654 2001-04-27  Juergen Vigna  <jug@sad.it>
17655
17656         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17657
17658 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17659
17660         * lyxfunc.C (Dispatch): hack to make listof algorithm work
17661
17662         * buffer.C (readInset): hack to make listof algorithm work
17663
17664         * BufferView_pimpl.C: hack to make listof algorithm work
17665
17666 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17667
17668         * LyXAction.C: removed all !NEW_INSETS cruft
17669         (init): moved lfun_item in method
17670
17671         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17672
17673 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17674
17675         * BufferView2.C (theLockingInset): white space.
17676
17677 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17678
17679         * minibuffer.C: include <iostream>
17680
17681         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17682
17683         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17684
17685         * commandtags.h: add LFUN_TRANSPOSE_CHARS
17686
17687         * text.[Ch] (TransposeChars): new method
17688
17689 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17690
17691         * call message directly through LyXView instead of through LyXFunc
17692         * BufferView2.C: adjust
17693         * BufferView_pimpl.C: adjust
17694         * FontLoader.C: adjust
17695         * buffer.C: adjust
17696         * bufferview_funcs.C: adjust
17697         * converter.C: adjust
17698         * figureForm.C: adjust
17699         * importer.C: adjust
17700         * lyx_cb.C: adjust
17701         * lyx_gui_misc.C: adjust
17702         * lyxfunc.C: adjust
17703         * lyxvc.C: adjust
17704         * text2.C: adjust
17705         + more files in subdirs
17706
17707         * lyxparagraph.h (size): move up int file
17708         (GetLayout): ditto
17709
17710         * adjust all uses of Assert to lyx::Assert.
17711
17712         * BufferView2.C (ChangeCitationsIfUnique): adjust for
17713         lyxfunctional in namespace lyx
17714         * layout.C (hasLayout): ditto
17715         (GetLayout): ditto
17716         (GetLayout): ditto
17717         (delete_layout): ditto
17718         (NumberOfClass): ditto
17719         * converter.C (GetFormat): ditto
17720         (GetNumber): ditto
17721         (Add): ditto
17722         (Delete): ditto
17723         (SetViewer): ditto
17724         * bufferlist.C (getFileNames): ditto
17725         (emergencyWriteAll): ditto
17726         (exists): ditto
17727         (getBuffer): ditto
17728         * MenuBackend.C (hasSubmenu): ditto
17729         (hasMenu): ditto
17730         (getMenu): ditto
17731         * BufferView_pimpl.C (getInsetByCode): ditto
17732
17733 2001-04-18  Juergen Vigna  <jug@sad.it>
17734
17735         * vspace.C (asLatexString): fixed the 100% problem.
17736
17737 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17738
17739         * lyxfunc.C (Dispatch):
17740         * minibuffer.C:
17741         * minibuffer.h: add a few std:: qualifiers
17742
17743 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17744
17745         * minibuffer.[Ch]: reimplement so that commands is initiated and
17746         run from lyxfunc, simplified som handling, and made the completion
17747         and history code for complete. wip.
17748
17749         * lyxfunc.C (processKeySym): call message
17750         (miniDispatch): new temporary method
17751         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17752         (LFUN_MESSAGE): implement
17753         (LFUN_MESSAGE_PUSH): implement
17754         (LFUN_MESSAGE_POP): implement
17755         (initMiniBuffer): the initial/defualt minibuffer message.
17756
17757         * lyxfont.[Ch]: inline some more getters
17758
17759         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17760
17761         * lyx_gui_misc.[Ch] (WriteStatus): remove method
17762
17763         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17764         (AutoSave): use LFUN_MESSAGE
17765         (Reconfigure): ditto
17766
17767         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17768
17769         * figureForm.C: use LFUN_MESSAGE
17770
17771         * converter.C (runLaTeX): use LFUN_MESSAGE
17772
17773         * bufferview_funcs.C: use LFUN_MESSAGE
17774         (Melt): ditto
17775         (changeDepth): ditto
17776
17777         * bufferparams.h: use boost::
17778
17779         * bufferlist.h: inherit privately from noncopyable
17780
17781         * bufferlist.C (loadLyXFile): remove some commented code.
17782
17783         * buffer.C (runChktex): use LFUN_MESSAGE
17784
17785         * ShareContainer.h: inherit privately from noncopyable
17786
17787         * ParagraphParameters.[hC] (depth): inline it.
17788
17789         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17790         methods.
17791         (message): new method
17792         (messagePush): ditto
17793         (messagePop): ditto
17794         (show): init minibuffer
17795         (showState): direct call
17796
17797         * LaTeX.[Ch]: inherit privately from noncopyable
17798         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17799         instead of WriteStatus.
17800
17801         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17802
17803         * BufferView_pimpl.C (buffer): don't init minibuffer
17804         (workAreaButtonPress): use LFUN_MESSAGE
17805         (workAreaButtonRelease): ditto
17806         (savePosition): ditto
17807         (restorePosition): ditto
17808         (MenuInsertLyXFile): ditto
17809         (workAreaExpose): don't init minibuffer
17810         (update): remove commented code, simplify
17811
17812         * BufferView2.C (openStuff): use LFUN_MESSAGE
17813         (toggleFloat): ditto
17814         (menuUndo): ditto
17815         (menuRedo): ditto
17816         (copyEnvironment): ditto
17817         (pasteEnvironment): ditto
17818         (copy): ditto
17819         (cut): ditto
17820         (paste): ditto
17821         (gotoInset): ditto
17822         (updateInset): remove some commented code
17823
17824         * lastfiles.h: inherit privately from noncopyable
17825         * layout.h: ditto
17826         * lyx_gui.h: ditto
17827         * lyx_main.h: ditto
17828         * lyxlex.h: ditto
17829         * lyxlex_pimpl.h: ditto
17830
17831         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17832         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17833         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17834
17835         * LyXAction.h: inherit privately from noncopyable, add methods
17836         func_begin, func_end, returning iterators to the func map.
17837
17838         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17839         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17840         (func_begin): new method
17841         (func_end): new method
17842
17843         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17844         and not)
17845         (copySelection): ditto
17846         (pasteSelection): ditto
17847
17848         * BufferView.C: whitespace change
17849         * BufferView.h: inherit privately from noncopyable
17850
17851 2001-04-16  Allan Rae  <rae@lyx.org>
17852
17853         * tabular-old.C (l_getline):
17854         * spellchecker.C (sc_check_word):
17855         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17856         an unrecognised preprocessor directive.  So ensure they're wrapped.
17857
17858 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
17859
17860         * src/exporter.C (Export): Give an error message when path to file
17861         contains spaces.
17862
17863 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
17864
17865         * LaTeX.C (deplog): Always check that foundfile exists.
17866
17867 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17868
17869         * lyx_main.h:
17870         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17871
17872 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17873
17874         * tabular.[Ch] (getLabelList): implement new method
17875
17876         * minibuffer.h: comment ouf setTiimer
17877
17878         * minibuffer.C (ExecutingCB): constify res
17879         (peek_event): constify s
17880         (Set): constify ntext
17881         (Init): constify nicename
17882
17883         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17884
17885         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17886         (savePosition): use two params to Minibuffer::Set
17887         (restorePosition): ditto
17888
17889 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17890
17891         * lyx_main.C: include language.h
17892
17893         * Makefile.am (lyx_main.o): add language.h
17894
17895 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17896
17897         * exporter.C:
17898         * paragraph.C:
17899         * screen.C:
17900         * tabular.C:
17901         * CutAndPaste.C: include gettext.h
17902
17903         * lyxfont.h: remove old hack with ON and OFF.
17904
17905         * lyxparagraph.h:
17906         * lyxfont.h: do not include language.h...
17907
17908         * BufferView2.C:
17909         * LaTeXFeatures.C:
17910         * Painter.C:
17911         * bufferview_funcs.C:
17912         * font.C:
17913         * lyxfont.C:
17914         * text.C:
17915         * text2.C:
17916         * trans_mgr.C:
17917         * paragraph.C: ... but do it here instead
17918
17919 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17920
17921         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17922
17923         * tabular.C: small reformat
17924
17925         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17926         NEW_INSETS version
17927         (GetChar): ditto
17928         (BreakParagraph): ditto
17929         (SetOnlyLayout): ditto
17930         (SetLayout): ditto
17931
17932         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17933         with one arg less.
17934
17935         * lastfiles.C: removed most using decl, add std:: where needed
17936
17937         * buffer.C: ws changes
17938
17939         * MenuBackend.C (class compare_format): put into anon namespace
17940         (expand): constify label, names, action, action2
17941         (expand):
17942
17943         * text.C (SingleWidth): constify font
17944         (IsBoundary): constify rtl2
17945         (GetVisibleRow): constify ww
17946
17947         * LaTeX.C (deplog): constify logfile
17948
17949         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17950         start_x, end_x
17951         (workAreaExpose): constify widthChange, heightChange
17952
17953         * lyxrow.C (par): moved
17954         (height): moved
17955         (next): moved
17956         * lyxrow.h: as inlines here
17957
17958         * lyxfont.h (shape): moved from lyxfont.C
17959         (emph): moved from lyxfont.C
17960
17961         * lyxfont.C (LyXFont): use initialization list for all
17962         constructors
17963         (shape): move to lyxfont.h as inline
17964         (emph): move to lyxfont.h as inline
17965
17966
17967 2001-04-04  Juergen Vigna  <jug@sad.it>
17968
17969         * vspace.C: had to include stdio.h for use of sscanf
17970
17971 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
17972
17973         * BufferView.h:
17974         * BufferView_pimpl.h: remove xforms cruft. Both classes are
17975         independent of xforms.
17976
17977 2001-04-02  Juergen Vigna  <jug@sad.it>
17978
17979         * spellchecker.C: fixed namespace placing!
17980
17981 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
17982
17983         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17984         the LyXParagraph * is 0.
17985
17986 2001-03-29  Juergen Vigna  <jug@sad.it>
17987
17988         * vspace.C: added support for %, c%, p%, l%.
17989         (stringFromUnit): added helper function.
17990         (asLatexString): changed to give right results for the %-values.
17991
17992         * buffer.C: convert the widthp in a width%.
17993
17994 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
17995
17996         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17997         figureForm.[Ch].
17998
17999         * figureForm.[Ch]: stripped the FD_from_figure manipulation
18000         code out of lux_cb.[Ch], ready for its (imminent?) removal.
18001
18002         * lyx_cb.[Ch]: see above.
18003
18004         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
18005         form1.[Ch].
18006
18007         * form1.[Ch]:
18008         * lyx.[Ch]: replaced by figure_form.[Ch].
18009
18010         * lyx_gui.C:
18011         * lyx_gui_misc.C:
18012         * lyxfunc.C: changed headers associated with above changes.
18013
18014 2001-03-27  Juergen Vigna  <jug@sad.it>
18015
18016         * BufferView_pimpl.C: set the temporary cursor right!
18017
18018 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
18019
18020         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
18021
18022 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
18023
18024         * LString.h: removed "using std::getline"!
18025
18026         * BufferView_pimpl.C (Dispatch): changes due to changes in
18027         InsetInclude::Params.
18028
18029         * buffer.C (tag_name): removed redundant break statements as they were
18030         producing lots of warnings with my compiler.
18031
18032 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18033
18034         * LString.h: add "using std::getline" when using the real <string>.
18035
18036 2001-03-23  Jos�Ab�io Matos  <jamatos@fep.up.pt>
18037
18038         * buffer.C: removed bitset usage.
18039         PAR_TAG moved to an anonymous name space.
18040         (tag_name): new funtion, also in the anonymous namespace.
18041         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
18042         (makeDocBookFile): clean code. Completed transition from string arrays
18043         to string vectors.
18044         (SimpleDocBookOnePar): code clean.
18045
18046 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18047
18048         * tabular.C: add some comments.
18049
18050 2001-03-22  Juergen Vigna  <jug@sad.it>
18051
18052         * buffer.C (parseSingleLyXformat2Token): redone the minipage
18053         compatibility read a bit and fixed bug with minipage in different
18054         depth.
18055
18056 2001-03-21  Jos�Ab�io Matos  <jamatos@fep.up.pt>
18057
18058         * buffer.C (pop_tag): removed.
18059         (push_tag): removed.
18060         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
18061         array replaced with vector. Added support for CDATA sections.
18062         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
18063         at any nest level.
18064         (makeDocBookFile): XML conformant declaration of CDATA section,
18065         fixed bug related to <emphasis> in the first paragraph char.
18066         (sgmlOpenTag): exclude empty tags.
18067         (sgmlCloseTag): ditto.
18068
18069         * buffer.h (pop_tag): removed.
18070         (push_tag): removed.
18071
18072 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
18073
18074         * language.h (Languages): added size_type and size().
18075
18076 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18077
18078         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
18079         response on compability reading of minipages. One probliem is that
18080         the old usage of minipages was flertydig
18081
18082         * several files here and in subdirs: don't use static at file
18083         scope use anon namespaces instead.
18084
18085 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
18086
18087         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
18088         LaTeX output. This is necessary for Literate document
18089         processing.
18090
18091 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18092
18093         * buffer.C: insert hfill when needed.
18094
18095         * tabular.C (l_getline): use string::erase, small whitespace change.
18096
18097         * BufferView_pimpl.C: try the anon namespace.
18098         * WorkArea.C: ditto
18099
18100 2001-03-16  Juergen Vigna  <jug@sad.it>
18101
18102         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
18103         otherwise it won't open options-dialogs.
18104
18105         * buffer.C: honor pextraWidth(p) on converting minipages.
18106
18107         * tabular.C (l_getline): changed the functions to strip trailing \r.
18108
18109 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
18110
18111         * BufferView_pimpl.C:
18112         * minibuffer..C: added "using SigC::slot" declaration.
18113
18114 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18115
18116         * lyxlex_pimpl.h: noncopyable is in namespace boost.
18117
18118         * text2.C: ditto
18119
18120         * text.C: ditto
18121
18122         * paragraph.C: ditto
18123
18124         * lyxtext.h: NO_PEXTRA
18125
18126         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
18127
18128         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
18129         * ParameterStruct.h: ditto
18130         * ParagraphParameters.h: ditto
18131         * lyxparagraph.h: ditto
18132
18133 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18134
18135         * buffer.C: add compability for minipage alignment.
18136         (latexParagraphs): remove unwanted pextra check.
18137
18138         * several files: remove CXX_WORKING_NAMESPACES
18139
18140         * buffer.C (pop_tag): tie is in namespace boost
18141
18142         * BufferView.h: noncopyable is in namespace boost
18143         * lyxlex.h: ditto
18144         * lyx_main.h: ditto
18145         * lyx_gui.h: ditto
18146         * layout.h: ditto
18147         * lastfiles.h: ditto
18148         * bufferlist.h: ditto
18149         * ShareContainer.h: ditto
18150         * LyXView.h: ditto
18151         * LyXAction.h: ditto
18152         * LaTeX.h: ditto
18153
18154 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
18155
18156         * Merging changes from BRANCH_MVC back into HEAD.
18157
18158         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
18159
18160 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
18161
18162         * BufferView_pimpl.C: change from intl.C
18163
18164         * combox.h:
18165         * combox.C:
18166         * Makefile.am: move combox.*
18167
18168         * form1.h:
18169         * form1.C:
18170         * lyx_gui.C:
18171         * intl.h:
18172         * intl.C: remove dialog (covered by prefs)
18173
18174 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
18175
18176         * lyxfunc.C (Dispatch): removed redundant break statement.
18177
18178 2001-03-14  Juergen Vigna  <jug@sad.it>
18179
18180         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
18181
18182 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18183
18184         * buffer.C: add hack to fix compability reading of minipages.
18185
18186 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
18187
18188         * buffer.C (getLists): Cleanup.
18189
18190 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18191
18192         * lyxfont.C (update): don't honor toggleall on font size.
18193
18194 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
18195
18196         * bmtable.c:
18197         * bmtable.h:
18198         * Makefile.am: moved to frontends/xforms/
18199
18200         * lyx_gui_misc.C:
18201         * lyxfunc.C:
18202         * BufferView_pimpl.C: changes for moved mathpanel
18203
18204 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
18205
18206         * gettext.h: fix gettext_init() in --disable-nls
18207
18208 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18209
18210         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
18211
18212 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
18213
18214         * lyx.C:
18215         * lyx.h: strip external form
18216
18217 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
18218
18219         * BufferView_pimpl.C: add comment, destroySplash()
18220
18221 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
18222
18223         * BufferView_pimpl.C:
18224         * LyXAction.C:
18225         * buffer.C:
18226         * commandtags.h:
18227         * lyxfunc.C: use re-worked insetinclude
18228
18229 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18230
18231         * buffer.C: add using std::stringstream.
18232
18233         * lyx_cb.C: readd using std::ios.
18234
18235         * buffer.C: add using std::map.
18236
18237         * BufferView_pimpl.C: add using std::vector.
18238
18239         * ShareContainer.h: add std:: to swap.
18240
18241         * buffer.h: add some typedefs
18242         * buffer.C (getLists): use them
18243         (getLists): renamed from getTocList.
18244         add a counter for the different float types and use it in the
18245         generated string.
18246         (getLists): use the same counter for the NEW_INSETS and the "non"
18247         NEW_INSETS
18248
18249         * lyx_cb.h: remove unused items, includes, using etc.
18250
18251         * ShareContainer.h: remove some commented code, add more comments
18252         and "documentation".
18253
18254 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18255
18256         * buffer.C (getTocList): make the list also when NEW_INSETS is
18257         defined.
18258
18259         * buffer.h: remove TocType
18260
18261         * buffer.C (getTocList): change to return a map<string,
18262         vector<TocItem> >, implement for dynamic number of list.
18263
18264         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
18265         * text2.C (PasteSelection): adjust
18266         * CutAndPaste.C (pasteSelection): adjust
18267
18268         * FloatList.C (FloatList): update from the new_insets branch.
18269         * Floating.[Ch]: ditto
18270         * LaTeXFeatures.C: ditto
18271         * buffer.C: ditto
18272         * lyxlex_pimpl.C: ditto
18273
18274         * paragraph.C (Last): remove when NEW_INSETS is defined.
18275
18276         * other file: changes because of the above.
18277
18278 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18279
18280         * lyxparagraph.h: rename next to next_, previous to previous_,
18281         make them private for NEW_INSETS. Rename Next() to next(),
18282         Previous() to previous().
18283
18284         * other files: changes because of the above.
18285
18286 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
18287
18288         * BufferView.h:
18289         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
18290         problem.
18291
18292 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18293
18294         * main.C (main): pass lyx_localedir to gettext_init().
18295
18296         * gettext.h: remove locale_init and gettext_init macros
18297
18298         * gettext.C (locale_init): new function
18299         (gettext_init): new function
18300
18301         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
18302         setlocale().
18303
18304 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
18305
18306         * Moved credits to frontends:
18307         * credits.[Ch]: removed
18308         * credits_form.[Ch]: removed
18309         * lyx_gui_misc.C: remove credits stuff
18310         * Makefile.am:
18311
18312 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18313
18314         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
18315
18316         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
18317         unneeded destructor.
18318
18319         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
18320         a standalone pointer again.
18321
18322         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
18323
18324 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
18325
18326         * Makefile.am:
18327         * filedlg.h:
18328         * filedlg.C:
18329         * LyXAction.C:
18330         * ToolbarDefaults.C:
18331         * bufferlist.C:
18332         * commandtags.h:
18333         * form1.C:
18334         * form1.h:
18335         * lyx_cb.C:
18336         * lyx_cb.h:
18337         * lyxfunc.h:
18338         * lyxfunc.C:
18339         * BufferView_pimpl.C: use new file dialog in GUII
18340
18341         * lyx_cb.h:
18342         * lyx_cb.C: remove LayoutsCB to Toolbar
18343
18344 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18345
18346         * ShareContainer.h (get): add std:: qualifier
18347
18348 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18349
18350         * ShareContainer.h: define a proper ShareContainer::value_type
18351         type (and use typename to please compaq cxx)
18352
18353 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18354
18355         * lyxparagraph.h: move serveral local vars to
18356         ParameterStruct/ParagraphParameters., use ShareContainer in
18357         FontTable., make vars in FontTable private and add getter and
18358         setter.
18359
18360         * paragraph.C: changes because of the above.
18361
18362         * lyxfont.h: remove copy constructor and copy assignment. (the
18363         default ones is ok), move number inside FontBits. move inlines to
18364         lyxfont.C
18365
18366         * lyxfont.C: add number to initializaton of statics, move several
18367         inlines here. constify several local vars. some whitespace
18368         cleanup. Dont hide outerscope variables.
18369
18370         * Spacing.h: add two new constructors to match the set methods.
18371
18372         * ShareContainer.h: new file, will perhaps be moved to support
18373
18374         * ParameterStruct.h: new file
18375
18376         * ParagraphParameters.h: new file
18377
18378         * ParagraphParameters.C: new file
18379
18380         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
18381         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
18382
18383         * BufferView_pimpl.C: ParagraphParameter changes.
18384         * buffer.C: Likewise.
18385         * bufferview_funcs.C: Likewise.
18386         * text.C: Likewise.
18387         * text2.C: Likewise.
18388
18389 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18390
18391         * lyxfind.C (LyXReplace): do not redefine default argument in
18392         implementation.
18393         (IsStringInText): ditto
18394         (SearchForward): ditto
18395         (SearchBackward): ditto
18396
18397 2001-03-06  Juergen Vigna  <jug@sad.it>
18398
18399         * lyxfind.C (IsStringInText): put parentes around expressions.
18400
18401 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
18402
18403         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
18404
18405 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
18406
18407         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
18408
18409         * stl_string_fwd.h: add comment
18410
18411         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
18412
18413         * tabular.h:
18414         * tabular.C: remove unused DocBook methods
18415
18416         * intl.C:
18417         * language.C:
18418         * paragraph.C:
18419         * buffer.C:
18420         killed DO_USE_DEFAULT_LANGUAGE
18421
18422 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18423
18424         * lyx_gui.C: do not include language.h.
18425
18426         * bufferview_funcs.C (ToggleAndShow): do not provide optional
18427         arguments in function implementation.
18428
18429 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18430
18431         * BufferView_pimpl.C: add <ctime>
18432
18433 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18434
18435         * BufferView_pimpl.C: add using std::find_if
18436
18437 2001-02-27  José Matos  <jamatos@fep.up.pt>
18438
18439         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18440         by OnlyPath.
18441
18442 2001-02-11  José Matos  <jamatos@fep.up.pt>
18443
18444         * buffer.C (makeDocBookFile): command styles now have a parameter as
18445         "title" by default.
18446
18447 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
18448
18449         * layout_forms.[Ch]: removed
18450         * lyx_cb.[Ch]: out character
18451         * lyx_gui.C: out character
18452         * lyx_gui_misc.C: out character
18453         * bufferview_funcs.C: : out character,
18454         added toggleall as parameter in ToggleAndShow
18455
18456 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
18457
18458         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18459
18460         * text2.C (SetCurrentFont): Disable number property at boundary.
18461
18462 2001-02-26  Juergen Vigna  <jug@sad.it>
18463
18464         * lyxfunc.C (getStatus): added a string argument override function so
18465         that this is correctly called from LyXFunc::Dispatch if it contains a
18466         do_not_use_argument which is used!
18467         (Dispatch): added check for "custom" export and call appropriate func.
18468
18469 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
18470
18471         * lyxrc.C: Add language_command_local, language_use_babel and
18472         language_global_options.
18473
18474         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18475
18476         * buffer.C (makeLaTeXFile): Use language_use_babel and
18477         language_global_options.
18478
18479 2001-02-23  Juergen Vigna  <jug@sad.it>
18480
18481         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18482         which works with LyXText and putted it inside BufferView. Here now we
18483         only call for that part the BufferView::Dispatch() function.
18484
18485         * BufferView.C (Dispatch): added.
18486
18487         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18488         functions which needs to use a LyXText over from LyXFunc.
18489         (MenuInsertLyXFile): added
18490         (getInsetByCode): added
18491         (moveCursorUpdate): added
18492         (static TEXT): added
18493
18494 2001-02-22  Juergen Vigna  <jug@sad.it>
18495
18496         * BufferView_pimpl.C (update): call a status update to see if LyXText
18497         needs it.
18498
18499 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18500
18501         * vc-backend.C (revert): implement for CVS
18502         (getLog): implement for CVS
18503
18504 2001-02-20  Juergen Vigna  <jug@sad.it>
18505
18506         * text2.C (ClearSelection): added BufferView param for inset_owner call
18507
18508         * lyxfunc.C (TEXT): added this function and use it instead of
18509         directly owner->view()-text of getLyXText().
18510
18511 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
18512
18513         * src/layout_forms.C: out preamble
18514         * src/layout_forms.h: out preamble
18515         * src/lyx_cb.C: out preamble
18516         * src/lyx_cb.h: out preamble
18517         * src/lyx_gui.C: out preamble
18518         * src/lyx_gui_misc.C: out preamble
18519         * src/lyxfunc.C: connect with guii preamble
18520
18521 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
18522
18523         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18524
18525 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
18526
18527         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18528         whether to run bibtex.
18529
18530 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
18531
18532         * Makefile.am (lyx_SOURCES): Remove BackStack.h
18533
18534 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
18535
18536         * Makefile.am (lyx_SOURCES): removed bibforms.h
18537
18538         * vspace.h: doxygen
18539
18540         * text.C (GetVisibleRow): make several local vars const
18541
18542         * tabular.C: small cleanup.
18543
18544         * lyxserver.C (callback): use compare instead of strncmp
18545
18546         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18547         inlines to after class or to paragraph.C
18548
18549         * lyxfont.h: remove friend operator!=
18550
18551         * converter.h: move friend bool operator< to non friend and after
18552         class def.
18553
18554         * combox.h: small cleanup
18555
18556         * buffer.h: doxygen, remove unused constructor, move inclas inlies
18557         to inlines after class def.
18558
18559         * buffer.C (pop_tag): use string operations instead of strcmp
18560
18561         * bmtable.c: doxygen, small cleanup
18562
18563         * LaTeX.h: remove friend operator==
18564
18565 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
18566
18567         * screen.C:
18568         * lyxrc.[Ch]:
18569         * lyxfunc.C:
18570         * lyxfont.[Ch]:
18571         * lyx_cb.C:
18572         * intl.[Ch]:
18573         * commandtags.h:
18574         * buffer.C:
18575         * WorkArea.[Ch]:
18576         * LyXAction.C:
18577         * BufferView_pimpl.C:
18578         * BufferView.[Ch]: remove cruft
18579
18580 2001-02-14  Juergen Vigna  <jug@sad.it>
18581
18582         * lyxfunc.C: removed #if 0 unused code
18583
18584         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18585
18586         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18587
18588         * text2.C (SetSelection): added a BufferView * parameter
18589
18590 2001-02-13  Juergen Vigna  <jug@sad.it>
18591
18592         * lyxfunc.C (Dispatch): fixed protected blank problem.
18593         * BufferView2.C (protectedBlank): added LyxText * parameter.
18594
18595         * tabular.C (AppendRow): forgot to set row_info of newly added row.
18596         (AppendColumn): same as above for column_info.
18597
18598         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18599         (moveCursorUpdate): use a LyXText param for support of InsetText.
18600
18601         * BufferView_pimpl.C (doubleClick): added support for InsetText.
18602         (tripleClick): ditto
18603
18604         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18605
18606         * BufferView_pimpl.C (update): added LyXText param to honor insets.
18607
18608         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18609
18610         * text2.C (SetSelection): set correct update status if inset_owner
18611         (ToggleFree): ditto
18612
18613 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
18614
18615         * tabular.C: remove some commented code.
18616
18617 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
18618
18619         * BufferView_pimpl.C: call hideSplash()
18620
18621         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18622
18623         * include_form.h:
18624         * bibforms.h: remove
18625
18626         * lyxfunc.C:
18627         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18628           add LFUN_CHILD_CREATE
18629
18630         * counters.h: fix tiny typo
18631
18632         * lyx_cb.C:
18633         * lyx.h:
18634         * lyx_gui.C:
18635         * lyx.C: move splash to frontends/xforms/
18636
18637         * lyx_gui_misc.C: move Include and Bibform to frontends
18638
18639         * lyxvc.h: clarify comment
18640
18641         * vspace.C: tiny housekeeping
18642
18643 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
18644
18645         * text.C (PrepareToPrint): RTL Fix.
18646
18647         * paragraph.C (GetUChar): New method.
18648         (String):  Use GetUChar.
18649
18650         * buffer.C (asciiParagraph): Use GetUChar.
18651
18652 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
18653
18654         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18655
18656 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
18657
18658         * buffer.h:
18659         * buffer.C: rename to getLogName(), handle
18660           build log / latex log nicely
18661
18662 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18663
18664         * MenuBackend.C:
18665         * MenuBackend.h: remove support for reference menuitem type.
18666
18667 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
18668
18669         * BufferView_pimpl.C: housekeeping
18670         * BufferView_pimpl.h:
18671         * LyXView.h:
18672         * Makefile.am:
18673         * Timeout.C:
18674         * Timeout.h:
18675         * minibuffer.h: move Timeout GUI-I
18676
18677 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
18678
18679         * lyxrc.C (read): Update converters data-structures.
18680
18681 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
18682
18683         * LaTeX.h (operator!=): add operator != for Aux_Info
18684
18685 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
18686
18687         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18688
18689         * LaTeXLog.C: deleted, useful code moved to Buffer
18690
18691         * buffer.h:
18692         * buffer.C: new function getLatexLogName()
18693
18694         * lyx_gui_misc.C:
18695         * lyx_gui.C:
18696         * lyxvc.C:
18697         * lyxvc.h:
18698         * lyxfunc.C: use frontends for LaTeX and VC logs
18699
18700 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18701
18702         * LaTeX.h: yet another std:: that Allan forgot.
18703
18704         * Variables.C (set): renamed from isset(), because this clashes
18705         with some HP-UX macros (grr).
18706
18707 2001-02-06  Allan Rae  <rae@lyx.org>
18708
18709         * LaTeX.h: Another bug fix.  Missing std:: this time.
18710
18711 2001-02-04  Allan Rae  <rae@lyx.org>
18712
18713         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18714         floats problem. I've left it commented out because it's not quite
18715         correct.  It should also test that the current object is a table or
18716         figure inset.  But I haven't gotten around to figuring out how to do
18717         that.  I *think* it'll be something like: "table" == inset.type()
18718
18719         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18720         bool.
18721
18722 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
18723
18724         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18725         all the citation/databases/styles in the auxilary file.
18726         (run): Rerun latex if there was a babel language error.
18727
18728 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
18729
18730         * text.C (Backspace): Preserve the font when changing newline char
18731         with a space.
18732         (BreakParagraph): If the cursor is before a space, delete the space.
18733
18734         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18735
18736 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
18737
18738         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18739         new argument (code).
18740         (ChangeCitationsIfUnique): New method.
18741
18742         * paragraph.C (GetPositionOfInset): Handle bibkey.
18743
18744 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18745
18746         * BufferView_pimpl.h: change type of Position::par_pos to
18747         LyXParagraph::size_type.
18748
18749 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
18750
18751         * BufferView_pimpl.C (savePosition, restorePosition): Write
18752         messages to minibuffer.
18753
18754 2001-01-28  José Matos  <jamatos@fep.up.pt>
18755
18756         * buffer.C (makeDocBookFile): adds support for document language.
18757         A silly restriction on the name of LatexCommand types where removed.
18758         Added support for CDATA sections, allows to chars unescaped, used
18759         among others in code, to avoid escape < and >.
18760
18761 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18762
18763         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18764         saved positions instrad of a stack. Furthermore, a position is
18765         stored using paragraph id/paragraph position.
18766
18767         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18768         Remove LFUN_REF_BACK.
18769
18770 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18771
18772         * converter.C (dvipdfm_options): New method.
18773
18774 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
18775
18776         * vspace.C (isValidLength): Fix for empty input string.
18777
18778 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18779
18780         * LyXAction.C (init): change description of LFUN_FIGURE to
18781         "Insert Graphics"
18782
18783 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18784
18785         * LaTeX.C: add using directive
18786
18787 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18788
18789         * MenuBackend.C (expand): Fix the sorting of the formats.
18790
18791 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
18792
18793         * lyx_main.C: tiny error message fix
18794
18795 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18796
18797         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18798         calling fl_initialize(). This fixes the problem with ',' as
18799         decimal separator in text files.
18800
18801 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18802
18803         * trans.C (process): Fix the keymap bug.
18804
18805 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
18806
18807         * LaTeX.C (scanAuxFiles): New method. Provides support for
18808         multiple bibliographies (when using the bibtopic/bibunits pacakges).
18809         (scanLogFile) Scan for "run BibTeX" messages.
18810
18811         * buffer.C (makeLaTeXFile): Do not load the ae package when using
18812         OT1 font encoding. Also, load the aecompl package if the ae
18813         package is loaded.
18814
18815         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18816
18817 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18818
18819         * texrow.C (increasePos): turn two error messages into debug
18820         messages.
18821
18822 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
18823
18824         * LaTeX.C (scanAux): Handle the \@input macro.
18825         (runBibTeX): Use scanAux().
18826
18827         * language.C (latex_options_): New field.
18828
18829         * LaTeXFeatures.C (getMacros): Add language macros.
18830
18831         * buffer.C (makeLaTeXFile): Small fix.
18832
18833 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18834
18835         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18836
18837         * text2.C: add a using directive.
18838
18839 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
18840
18841         * BufferView2.C:
18842         * lyx_gui_misc.h:
18843         * lyxfr1.C:
18844         * lyxfunc.C: kill LyXBell.
18845
18846 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
18847
18848         * text.C (IsBoundary): Remove the error message
18849
18850         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18851
18852         * lyxrc.C (setDefaults): Correct initialization value for
18853         font_norm_type.
18854
18855 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
18856
18857         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18858         gotoError().
18859
18860         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18861         and GotoNextNote().
18862
18863         * src/LyXAction.C: Added reference-next.
18864
18865         * text.C (InsertChar): Use contains instead of strchr.
18866
18867         * lyx_cb.C (MenuInsertLabel): Enable default value code.
18868
18869 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
18870
18871         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18872         alignment commands (when needed).
18873
18874         * text.C (InsertChar): Add ':' to number separator chars.